@everymatrix/casino-collections-providers 1.2.0 → 1.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -27,7 +27,7 @@ for(;I<A.length;){const t=A[I];I++,T(t),R(t.$$)}for(T(null),A.length=0,I=0;B.len
|
|
27
27
|
// subsequent updates...
|
28
28
|
for(let t=0;t<S.length;t+=1){const e=S[t];L.has(e)||(
|
29
29
|
// ...so guard against infinite loops
|
30
|
-
L.add(e),e())}S.length=0}while(A.length);for(;H.length;)H.pop()();C=!1,L.clear(),T(t)}function R(t){if(null!==t.fragment){t.update(),n(t.before_update);const e=t.dirty;t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(O)}}const M=new Set;function U(t,e){-1===t.$$.dirty[0]&&(A.push(t),C||(C=!0,P.then(N)),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<<e%31}function
|
30
|
+
L.add(e),e())}S.length=0}while(A.length);for(;H.length;)H.pop()();C=!1,L.clear(),T(t)}function R(t){if(null!==t.fragment){t.update(),n(t.before_update);const e=t.dirty;t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(O)}}const M=new Set;function U(t,e){-1===t.$$.dirty[0]&&(A.push(t),C||(C=!0,P.then(N)),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<<e%31}function G(i,s,l,c,u,h,p,d=[-1]){const m=a;T(i);const y=i.$$={fragment:null,ctx:null,
|
31
31
|
// state
|
32
32
|
props:h,update:t,not_equal:u,bound:r(),
|
33
33
|
// lifecycle
|
@@ -44,7 +44,7 @@ y.fragment&&y.fragment.c();s.intro&&((g=i.$$.fragment)&&g.i&&(M.delete(g),g.i(v)
|
|
44
44
|
O((()=>{const r=l.map(e).filter(o);c?c.push(...r):
|
45
45
|
// Edge case - component was destroyed immediately,
|
46
46
|
// most likely as a result of a binding initialising
|
47
|
-
n(r),t.$$.on_mount=[]})),u.forEach(O)}(i,s.target,s.anchor,s.customElement),N()}var g,v;T(m)}let
|
47
|
+
n(r),t.$$.on_mount=[]})),u.forEach(O)}(i,s.target,s.anchor,s.customElement),N()}var g,v;T(m)}let x;"function"==typeof HTMLElement&&(x=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:t}=this.$$;this.$$.on_disconnect=t.map(e).filter(o);
|
48
48
|
// @ts-ignore todo: improve typings
|
49
49
|
for(const t in this.$$.slotted)
|
50
50
|
// @ts-ignore todo: improve typings
|
@@ -272,7 +272,7 @@ e=t.hourCycles[0]),e)switch(e){case"h24":return"k";case"h23":return"H";case"h12"
|
|
272
272
|
var r,n=t.language;return"root"!==n&&(r=t.maximize().region),(Ct[r||""]||Ct[n||""]||Ct["".concat(n,"-001")]||Ct["001"])[0]}var Lt=new RegExp("^".concat(mt.source,"*")),It=new RegExp("".concat(mt.source,"*$"));function Nt(t,e){return{start:t,end:e}}
|
273
273
|
// #region Ponyfills
|
274
274
|
// Consolidate these variables up top for easier toggling during debugging
|
275
|
-
var Rt=!!String.prototype.startsWith,Mt=!!String.fromCodePoint,Ut=!!Object.fromEntries,
|
275
|
+
var Rt=!!String.prototype.startsWith,Mt=!!String.fromCodePoint,Ut=!!Object.fromEntries,Gt=!!String.prototype.codePointAt,xt=!!String.prototype.trimStart,Dt=!!String.prototype.trimEnd,Ft=!!Number.isSafeInteger?Number.isSafeInteger:function(t){return"number"==typeof t&&isFinite(t)&&Math.floor(t)===t&&Math.abs(t)<=9007199254740991},$t=!0;try{
|
276
276
|
/**
|
277
277
|
* legacy Edge or Xbox One browser
|
278
278
|
* Unicode flag support: supported
|
@@ -285,9 +285,9 @@ function(t,e,r){return t.slice(r,r+e.length)===e},Vt=Mt?String.fromCodePoint://
|
|
285
285
|
function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];for(var r,n="",o=t.length,i=0;o>i;){if((r=t[i++])>1114111)throw RangeError(r+" is not a valid code point");n+=r<65536?String.fromCharCode(r):String.fromCharCode(55296+((r-=65536)>>10),r%1024+56320)}return n},Xt=
|
286
286
|
// native
|
287
287
|
Ut?Object.fromEntries:// Ponyfill
|
288
|
-
function(t){for(var e={},r=0,n=t;r<n.length;r++){var o=n[r],i=o[0],s=o[1];e[i]=s}return e},zt=
|
288
|
+
function(t){for(var e={},r=0,n=t;r<n.length;r++){var o=n[r],i=o[0],s=o[1];e[i]=s}return e},zt=Gt?// Native
|
289
289
|
function(t,e){return t.codePointAt(e)}:// IE 11
|
290
|
-
function(t,e){var r=t.length;if(!(e<0||e>=r)){var n,o=t.charCodeAt(e);return o<55296||o>56319||e+1===r||(n=t.charCodeAt(e+1))<56320||n>57343?o:n-56320+(o-55296<<10)+65536}},Kt=
|
290
|
+
function(t,e){var r=t.length;if(!(e<0||e>=r)){var n,o=t.charCodeAt(e);return o<55296||o>56319||e+1===r||(n=t.charCodeAt(e+1))<56320||n>57343?o:n-56320+(o-55296<<10)+65536}},Kt=xt?// Native
|
291
291
|
function(t){return t.trimStart()}:// Ponyfill
|
292
292
|
function(t){return t.replace(Lt,"")},Yt=Dt?// Native
|
293
293
|
function(t){return t.trimEnd()}:// Ponyfill
|
@@ -553,7 +553,7 @@ t.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"}
|
|
553
553
|
Copyright (c) 2014, Yahoo! Inc. All rights reserved.
|
554
554
|
Copyrights licensed under the New BSD License.
|
555
555
|
See the accompanying LICENSE file for terms.
|
556
|
-
*/const Be={},Se=(t,e,r)=>r?(e in Be||(Be[e]={}),t in Be[e]||(Be[e][t]=r),r):r,He=(t,e)=>{if(null==e)return;if(e in Be&&t in Be[e])return Be[e][t];const r=Xe(e);for(let n=0;n<r.length;n++){const o=Le(r[n],t);if(o)return Se(t,e,o)}};let Pe;const Ce=F({});function Oe(t){return t in Pe}function Le(t,e){if(!Oe(t))return null;const r=function(t){return Pe[t]||null}(t);return function(t,e){if(null==e)return;if(e in t)return t[e];const r=e.split(".");let n=t;for(let t=0;t<r.length;t++)if("object"==typeof n){if(t>0){const e=r.slice(t,r.length).join(".");if(e in n){n=n[e];break}}n=n[r[t]]}else n=void 0;return n}(r,e)}function Ie(t,...e){delete Be[t],Ce.update((r=>(r[t]=W.all([r[t]||{},...e]),r)))}$([Ce],(([t])=>Object.keys(t))),Ce.subscribe((t=>Pe=t));const Ne={};function Re(t){return Ne[t]}function Me(t){return null!=t&&Xe(t).some((t=>{var e;return null===(e=Re(t))||void 0===e?void 0:e.size}))}const Ue={};function
|
556
|
+
*/const Be={},Se=(t,e,r)=>r?(e in Be||(Be[e]={}),t in Be[e]||(Be[e][t]=r),r):r,He=(t,e)=>{if(null==e)return;if(e in Be&&t in Be[e])return Be[e][t];const r=Xe(e);for(let n=0;n<r.length;n++){const o=Le(r[n],t);if(o)return Se(t,e,o)}};let Pe;const Ce=F({});function Oe(t){return t in Pe}function Le(t,e){if(!Oe(t))return null;const r=function(t){return Pe[t]||null}(t);return function(t,e){if(null==e)return;if(e in t)return t[e];const r=e.split(".");let n=t;for(let t=0;t<r.length;t++)if("object"==typeof n){if(t>0){const e=r.slice(t,r.length).join(".");if(e in n){n=n[e];break}}n=n[r[t]]}else n=void 0;return n}(r,e)}function Ie(t,...e){delete Be[t],Ce.update((r=>(r[t]=W.all([r[t]||{},...e]),r)))}$([Ce],(([t])=>Object.keys(t))),Ce.subscribe((t=>Pe=t));const Ne={};function Re(t){return Ne[t]}function Me(t){return null!=t&&Xe(t).some((t=>{var e;return null===(e=Re(t))||void 0===e?void 0:e.size}))}const Ue={};function Ge(t){if(!Me(t))return t in Ue?Ue[t]:Promise.resolve();const e=function(t){return Xe(t).map((t=>{const e=Re(t);return[t,e?[...e]:[]]})).filter((([,t])=>t.length>0))}(t);return Ue[t]=Promise.all(e.map((([t,e])=>function(t,e){const r=Promise.all(e.map((e=>(function(t,e){Ne[t].delete(e),0===Ne[t].size&&delete Ne[t]}(t,e),e().then((t=>t.default||t))))));return r.then((e=>Ie(t,...e)))}(t,e)))).then((()=>{if(Me(t))return Ge(t);delete Ue[t]})),Ue[t]}
|
557
557
|
/*! *****************************************************************************
|
558
558
|
Copyright (c) Microsoft Corporation.
|
559
559
|
|
@@ -567,7 +567,7 @@ t.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"}
|
|
567
567
|
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
568
568
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
569
569
|
PERFORMANCE OF THIS SOFTWARE.
|
570
|
-
***************************************************************************** */function
|
570
|
+
***************************************************************************** */function xe(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(t);o<n.length;o++)e.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(t,n[o])&&(r[n[o]]=t[n[o]])}return r}const De={fallbackLocale:null,loadingDelay:200,formats:{number:{scientific:{notation:"scientific"},engineering:{notation:"engineering"},compactLong:{notation:"compact",compactDisplay:"long"},compactShort:{notation:"compact",compactDisplay:"short"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0};function Fe(){return De}const $e=F(!1);let ke;const je=F(null);function Ve(t){return t.split("-").map(((t,e,r)=>r.slice(0,e+1).join("-"))).reverse()}function Xe(t,e=Fe().fallbackLocale){const r=Ve(t);return e?[...new Set([...r,...Ve(e)])]:r}function ze(){return null!=ke?ke:void 0}je.subscribe((t=>{ke=null!=t?t:void 0,"undefined"!=typeof window&&null!=t&&document.documentElement.setAttribute("lang",t)}));const Ke=Object.assign(Object.assign({},je),{set:t=>{if(t&&function(t){if(null==t)return;const e=Xe(t);for(let t=0;t<e.length;t++){const r=e[t];if(Oe(r))return r}}(t)&&Me(t)){const{loadingDelay:e}=Fe();let r;return"undefined"!=typeof window&&null!=ze()&&e?r=window.setTimeout((()=>$e.set(!0)),e):$e.set(!0),Ge(t).then((()=>{je.set(t)})).finally((()=>{clearTimeout(r),$e.set(!1)}))}return je.set(t)}}),Ye=t=>{const e=Object.create(null);return r=>{const n=JSON.stringify(r);return n in e?e[n]:e[n]=t(r)}},Ze=(t,e)=>{const{formats:r}=Fe();if(t in r&&e in r[t])return r[t][e];throw new Error(`[svelte-i18n] Unknown "${e}" ${t} format.`)},We=Ye((t=>{var{locale:e,format:r}=t,n=xe(t,["locale","format"]);if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return r&&(n=Ze("number",r)),new Intl.NumberFormat(e,n)})),qe=Ye((t=>{var{locale:e,format:r}=t,n=xe(t,["locale","format"]);if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return r?n=Ze("date",r):0===Object.keys(n).length&&(n=Ze("date","short")),new Intl.DateTimeFormat(e,n)})),Je=Ye((t=>{var{locale:e,format:r}=t,n=xe(t,["locale","format"]);if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return r?n=Ze("time",r):0===Object.keys(n).length&&(n=Ze("time","short")),new Intl.DateTimeFormat(e,n)})),Qe=Ye(((t,e=ze())=>new Ae(t,e,Fe().formats,{ignoreTag:Fe().ignoreTag}))),tr=(t,e={})=>{var r,n,o,i;let s=e;"object"==typeof t&&(s=t,t=s.id);const{values:a,locale:l=ze(),default:c}=s;if(null==l)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let u=He(t,l);if(u){if("string"!=typeof u)return console.warn(`[svelte-i18n] Message with id "${t}" must be of type "string", found: "${typeof u}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),u}else u=null!==(i=null!==(o=null===(n=(r=Fe()).handleMissingMessage)||void 0===n?void 0:n.call(r,{locale:l,id:t,defaultValue:c}))&&void 0!==o?o:c)&&void 0!==i?i:t;if(!a)return u;let h=u;try{h=Qe(u,l).format(a)}catch(e){console.warn(`[svelte-i18n] Message "${t}" has syntax error:`,e.message)}return h},er=(t,e)=>((t={})=>{var{locale:e=ze()}=t,r=xe(t,["locale"]);return Je(Object.assign({locale:e},r))})(e).format(t),rr=(t,e)=>((t={})=>{var{locale:e=ze()}=t,r=xe(t,["locale"]);return qe(Object.assign({locale:e},r))})(e).format(t),nr=(t,e)=>((t={})=>{var{locale:e=ze()}=t,r=xe(t,["locale"]);return We(Object.assign({locale:e},r))})(e).format(t),or=(t,e=ze())=>He(t,e),ir=$([Ke,Ce],(()=>tr));function sr(t,e){Ie(t,e)}$([Ke],(()=>er)),$([Ke],(()=>rr)),$([Ke],(()=>nr)),$([Ke,Ce],(()=>or));const ar={en:{Translations:{collections:"Game Collections",providers:"Game Providers"}},zh:{Translations:{collections:"Game Collections",providers:"Game Providers"}},de:{Translations:{collections:"Game Collections",providers:"Game Providers"}},it:{Translations:{collections:"Game Collections",providers:"Game Providers"}},fr:{Translations:{collections:"Game Collections",providers:"Game Providers"}},es:{Translations:{collections:"Game Collections",providers:"Game Providers"}},el:{Translations:{collections:"Game Collections",providers:"Game Providers"}},tr:{Translations:{collections:"Game Collections",providers:"Game Providers"}},ru:{Translations:{collections:"Game Collections",providers:"Game Providers"}},ro:{Translations:{collections:"Game Collections",providers:"Game Providers"}},hr:{Translations:{collections:"Game Collections",providers:"Game Providers"}},hu:{Translations:{collections:"Game Collections",providers:"Game Providers"}},pl:{Translations:{collections:"Game Collections",providers:"Game Providers"}},pt:{Translations:{collections:"Game Collections",providers:"Game Providers"}},sl:{Translations:{collections:"Game Collections",providers:"Game Providers"}},sr:{Translations:{collections:"Game Collections",providers:"Game Providers"}}};var lr="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==lr&&lr,cr="URLSearchParams"in lr,ur="Symbol"in lr&&"iterator"in Symbol,hr="FileReader"in lr&&"Blob"in lr&&function(){try{return new Blob,!0}catch(t){return!1}}(),fr="FormData"in lr,pr="ArrayBuffer"in lr;if(pr)var dr=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],mr=ArrayBuffer.isView||function(t){return t&&dr.indexOf(Object.prototype.toString.call(t))>-1};function yr(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(t)||""===t)throw new TypeError('Invalid character in header field name: "'+t+'"');return t.toLowerCase()}function br(t){return"string"!=typeof t&&(t=String(t)),t}
|
571
571
|
// Build a destructive iterator for the value list
|
572
572
|
function gr(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return ur&&(e[Symbol.iterator]=function(){return e}),e}function vr(t){this.map={},t instanceof vr?t.forEach((function(t,e){this.append(e,t)}),this):Array.isArray(t)?t.forEach((function(t){this.append(t[0],t[1])}),this):t&&Object.getOwnPropertyNames(t).forEach((function(e){this.append(e,t[e])}),this)}function Er(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function _r(t){return new Promise((function(e,r){t.onload=function(){e(t.result)},t.onerror=function(){r(t.error)}}))}function Tr(t){var e=new FileReader,r=_r(e);return e.readAsArrayBuffer(t),r}function wr(t){if(t.slice)return t.slice(0);var e=new Uint8Array(t.byteLength);return e.set(new Uint8Array(t)),e.buffer}function Ar(){return this.bodyUsed=!1,this._initBody=function(t){var e;
|
573
573
|
/*
|
@@ -614,13 +614,13 @@ self.fetch.bind(self);
|
|
614
614
|
PERFORMANCE OF THIS SOFTWARE.
|
615
615
|
***************************************************************************** */
|
616
616
|
/* global Reflect, Promise */
|
617
|
-
var Ir=function(t,e){return Ir=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])},Ir(t,e)};function Nr(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=t}Ir(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}function Rr(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function Mr(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,o,i=r.call(t),s=[];try{for(;(void 0===e||e-- >0)&&!(n=i.next()).done;)s.push(n.value)}catch(t){o={error:t}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return s}function Ur(t,e,r){if(r||2===arguments.length)for(var n,o=0,i=e.length;o<i;o++)!n&&o in e||(n||(n=Array.prototype.slice.call(e,0,o)),n[o]=e[o]);return t.concat(n||Array.prototype.slice.call(e))}function xr(t){return"function"==typeof t}function Gr(t){var e=t((function(t){Error.call(t),t.stack=(new Error).stack}));return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}var Dr=Gr((function(t){return function(e){t(this),this.message=e?e.length+" errors occurred during unsubscription:\n"+e.map((function(t,e){return e+1+") "+t.toString()})).join("\n "):"",this.name="UnsubscriptionError",this.errors=e}}));function Fr(t,e){if(t){var r=t.indexOf(e);0<=r&&t.splice(r,1)}}var $r=function(){function t(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}var e;return t.prototype.unsubscribe=function(){var t,e,r,n,o;if(!this.closed){this.closed=!0;var i=this._parentage;if(i)if(this._parentage=null,Array.isArray(i))try{for(var s=Rr(i),a=s.next();!a.done;a=s.next()){a.value.remove(this)}}catch(e){t={error:e}}finally{try{a&&!a.done&&(e=s.return)&&e.call(s)}finally{if(t)throw t.error}}else i.remove(this);var l=this.initialTeardown;if(xr(l))try{l()}catch(t){o=t instanceof Dr?t.errors:[t]}var c=this._finalizers;if(c){this._finalizers=null;try{for(var u=Rr(c),h=u.next();!h.done;h=u.next()){var f=h.value;try{Vr(f)}catch(t){o=null!=o?o:[],t instanceof Dr?o=Ur(Ur([],Mr(o)),Mr(t.errors)):o.push(t)}}}catch(t){r={error:t}}finally{try{h&&!h.done&&(n=u.return)&&n.call(u)}finally{if(r)throw r.error}}}if(o)throw new Dr(o)}},t.prototype.add=function(e){var r;if(e&&e!==this)if(this.closed)Vr(e);else{if(e instanceof t){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=null!==(r=this._finalizers)&&void 0!==r?r:[]).push(e)}},t.prototype._hasParent=function(t){var e=this._parentage;return e===t||Array.isArray(e)&&e.includes(t)},t.prototype._addParent=function(t){var e=this._parentage;this._parentage=Array.isArray(e)?(e.push(t),e):e?[e,t]:t},t.prototype._removeParent=function(t){var e=this._parentage;e===t?this._parentage=null:Array.isArray(e)&&Fr(e,t)},t.prototype.remove=function(e){var r=this._finalizers;r&&Fr(r,e),e instanceof t&&e._removeParent(this)},t.EMPTY=((e=new t).closed=!0,e),t}(),kr=$r.EMPTY;function jr(t){return t instanceof $r||t&&"closed"in t&&xr(t.remove)&&xr(t.add)&&xr(t.unsubscribe)}function Vr(t){xr(t)?t():t.unsubscribe()}var Xr={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},zr={setTimeout:function(t,e){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var o=zr.delegate;return(null==o?void 0:o.setTimeout)?o.setTimeout.apply(o,Ur([t,e],Mr(r))):setTimeout.apply(void 0,Ur([t,e],Mr(r)))},clearTimeout:function(t){var e=zr.delegate;return((null==e?void 0:e.clearTimeout)||clearTimeout)(t)},delegate:void 0};function Kr(){}var Yr=null;function Zr(t){if(Xr.useDeprecatedSynchronousErrorHandling){var e=!Yr;if(e&&(Yr={errorThrown:!1,error:null}),t(),e){var r=Yr,n=r.errorThrown,o=r.error;if(Yr=null,n)throw o}}else t()}var Wr=function(t){function e(e){var r=t.call(this)||this;return r.isStopped=!1,e?(r.destination=e,jr(e)&&e.add(r)):r.destination=rn,r}return Nr(e,t),e.create=function(t,e,r){return new tn(t,e,r)},e.prototype.next=function(t){this.isStopped||this._next(t)},e.prototype.error=function(t){this.isStopped||(this.isStopped=!0,this._error(t))},e.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},e.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,t.prototype.unsubscribe.call(this),this.destination=null)},e.prototype._next=function(t){this.destination.next(t)},e.prototype._error=function(t){try{this.destination.error(t)}finally{this.unsubscribe()}},e.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},e}($r),qr=Function.prototype.bind;function Jr(t,e){return qr.call(t,e)}var Qr=function(){function t(t){this.partialObserver=t}return t.prototype.next=function(t){var e=this.partialObserver;if(e.next)try{e.next(t)}catch(t){en(t)}},t.prototype.error=function(t){var e=this.partialObserver;if(e.error)try{e.error(t)}catch(t){en(t)}else en(t)},t.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(t){en(t)}},t}(),tn=function(t){function e(e,r,n){var o,i,s=t.call(this)||this;xr(e)||!e?o={next:null!=e?e:void 0,error:null!=r?r:void 0,complete:null!=n?n:void 0}:s&&Xr.useDeprecatedNextContext?((i=Object.create(e)).unsubscribe=function(){return s.unsubscribe()},o={next:e.next&&Jr(e.next,i),error:e.error&&Jr(e.error,i),complete:e.complete&&Jr(e.complete,i)}):o=e;return s.destination=new Qr(o),s}return Nr(e,t),e}(Wr);function en(t){var e;e=t,zr.setTimeout((function(){throw e}))}var rn={closed:!0,next:Kr,error:function(t){throw t},complete:Kr},nn="function"==typeof Symbol&&Symbol.observable||"@@observable";function on(t){return t}function sn(t){return 0===t.length?on:1===t.length?t[0]:function(e){return t.reduce((function(t,e){return e(t)}),e)}}var an=function(){function t(t){t&&(this._subscribe=t)}return t.prototype.lift=function(e){var r=new t;return r.source=this,r.operator=e,r},t.prototype.subscribe=function(t,e,r){var n,o=this,i=(n=t)&&n instanceof Wr||function(t){return t&&xr(t.next)&&xr(t.error)&&xr(t.complete)}(n)&&jr(n)?t:new tn(t,e,r);return Zr((function(){var t=o,e=t.operator,r=t.source;i.add(e?e.call(i,r):r?o._subscribe(i):o._trySubscribe(i))})),i},t.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},t.prototype.forEach=function(t,e){var r=this;return new(e=ln(e))((function(e,n){var o=new tn({next:function(e){try{t(e)}catch(t){n(t),o.unsubscribe()}},error:n,complete:e});r.subscribe(o)}))},t.prototype._subscribe=function(t){var e;return null===(e=this.source)||void 0===e?void 0:e.subscribe(t)},t.prototype[nn]=function(){return this},t.prototype.pipe=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return sn(t)(this)},t.prototype.toPromise=function(t){var e=this;return new(t=ln(t))((function(t,r){var n;e.subscribe((function(t){return n=t}),(function(t){return r(t)}),(function(){return t(n)}))}))},t.create=function(e){return new t(e)},t}();function ln(t){var e;return null!==(e=null!=t?t:Xr.Promise)&&void 0!==e?e:Promise}var cn=Gr((function(t){return function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}})),un=function(t){function e(){var e=t.call(this)||this;return e.closed=!1,e.currentObservers=null,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}return Nr(e,t),e.prototype.lift=function(t){var e=new hn(this,this);return e.operator=t,e},e.prototype._throwIfClosed=function(){if(this.closed)throw new cn},e.prototype.next=function(t){var e=this;Zr((function(){var r,n;if(e._throwIfClosed(),!e.isStopped){e.currentObservers||(e.currentObservers=Array.from(e.observers));try{for(var o=Rr(e.currentObservers),i=o.next();!i.done;i=o.next()){i.value.next(t)}}catch(t){r={error:t}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}}}))},e.prototype.error=function(t){var e=this;Zr((function(){if(e._throwIfClosed(),!e.isStopped){e.hasError=e.isStopped=!0,e.thrownError=t;for(var r=e.observers;r.length;)r.shift().error(t)}}))},e.prototype.complete=function(){var t=this;Zr((function(){if(t._throwIfClosed(),!t.isStopped){t.isStopped=!0;for(var e=t.observers;e.length;)e.shift().complete()}}))},e.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(e.prototype,"observed",{get:function(){var t;return(null===(t=this.observers)||void 0===t?void 0:t.length)>0},enumerable:!1,configurable:!0}),e.prototype._trySubscribe=function(e){return this._throwIfClosed(),t.prototype._trySubscribe.call(this,e)},e.prototype._subscribe=function(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)},e.prototype._innerSubscribe=function(t){var e=this,r=this,n=r.hasError,o=r.isStopped,i=r.observers;return n||o?kr:(this.currentObservers=null,i.push(t),new $r((function(){e.currentObservers=null,Fr(i,t)})))},e.prototype._checkFinalizedStatuses=function(t){var e=this,r=e.hasError,n=e.thrownError,o=e.isStopped;r?t.error(n):o&&t.complete()},e.prototype.asObservable=function(){var t=new an;return t.source=this,t},e.create=function(t,e){return new hn(t,e)},e}(an),hn=function(t){function e(e,r){var n=t.call(this)||this;return n.destination=e,n.source=r,n}return Nr(e,t),e.prototype.next=function(t){var e,r;null===(r=null===(e=this.destination)||void 0===e?void 0:e.next)||void 0===r||r.call(e,t)},e.prototype.error=function(t){var e,r;null===(r=null===(e=this.destination)||void 0===e?void 0:e.error)||void 0===r||r.call(e,t)},e.prototype.complete=function(){var t,e;null===(e=null===(t=this.destination)||void 0===t?void 0:t.complete)||void 0===e||e.call(t)},e.prototype._subscribe=function(t){var e,r;return null!==(r=null===(e=this.source)||void 0===e?void 0:e.subscribe(t))&&void 0!==r?r:kr},e}(un),fn={now:function(){return(fn.delegate||Date).now()},delegate:void 0},pn=function(t){function e(e,r,n){void 0===e&&(e=1/0),void 0===r&&(r=1/0),void 0===n&&(n=fn);var o=t.call(this)||this;return o._bufferSize=e,o._windowTime=r,o._timestampProvider=n,o._buffer=[],o._infiniteTimeWindow=!0,o._infiniteTimeWindow=r===1/0,o._bufferSize=Math.max(1,e),o._windowTime=Math.max(1,r),o}return Nr(e,t),e.prototype.next=function(e){var r=this,n=r.isStopped,o=r._buffer,i=r._infiniteTimeWindow,s=r._timestampProvider,a=r._windowTime;n||(o.push(e),!i&&o.push(s.now()+a)),this._trimBuffer(),t.prototype.next.call(this,e)},e.prototype._subscribe=function(t){this._throwIfClosed(),this._trimBuffer();for(var e=this._innerSubscribe(t),r=this._infiniteTimeWindow,n=this._buffer.slice(),o=0;o<n.length&&!t.closed;o+=r?1:2)t.next(n[o]);return this._checkFinalizedStatuses(t),e},e.prototype._trimBuffer=function(){var t=this,e=t._bufferSize,r=t._timestampProvider,n=t._buffer,o=t._infiniteTimeWindow,i=(o?1:2)*e;if(e<1/0&&i<n.length&&n.splice(0,n.length-i),!o){for(var s=r.now(),a=0,l=1;l<n.length&&n[l]<=s;l+=2)a=l;a&&n.splice(0,a+1)}},e}(un);let dn=[],mn={};window.emWidgets={topic:(t,e=0)=>{if(-1==dn.indexOf(t)){let r=new pn(e);mn[t]=r,dn.push(t)}return mn[t]}};
|
617
|
+
var Ir=function(t,e){return Ir=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])},Ir(t,e)};function Nr(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=t}Ir(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}function Rr(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function Mr(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,o,i=r.call(t),s=[];try{for(;(void 0===e||e-- >0)&&!(n=i.next()).done;)s.push(n.value)}catch(t){o={error:t}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return s}function Ur(t,e,r){if(r||2===arguments.length)for(var n,o=0,i=e.length;o<i;o++)!n&&o in e||(n||(n=Array.prototype.slice.call(e,0,o)),n[o]=e[o]);return t.concat(n||Array.prototype.slice.call(e))}function Gr(t){return"function"==typeof t}function xr(t){var e=t((function(t){Error.call(t),t.stack=(new Error).stack}));return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}var Dr=xr((function(t){return function(e){t(this),this.message=e?e.length+" errors occurred during unsubscription:\n"+e.map((function(t,e){return e+1+") "+t.toString()})).join("\n "):"",this.name="UnsubscriptionError",this.errors=e}}));function Fr(t,e){if(t){var r=t.indexOf(e);0<=r&&t.splice(r,1)}}var $r=function(){function t(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}var e;return t.prototype.unsubscribe=function(){var t,e,r,n,o;if(!this.closed){this.closed=!0;var i=this._parentage;if(i)if(this._parentage=null,Array.isArray(i))try{for(var s=Rr(i),a=s.next();!a.done;a=s.next()){a.value.remove(this)}}catch(e){t={error:e}}finally{try{a&&!a.done&&(e=s.return)&&e.call(s)}finally{if(t)throw t.error}}else i.remove(this);var l=this.initialTeardown;if(Gr(l))try{l()}catch(t){o=t instanceof Dr?t.errors:[t]}var c=this._finalizers;if(c){this._finalizers=null;try{for(var u=Rr(c),h=u.next();!h.done;h=u.next()){var f=h.value;try{Vr(f)}catch(t){o=null!=o?o:[],t instanceof Dr?o=Ur(Ur([],Mr(o)),Mr(t.errors)):o.push(t)}}}catch(t){r={error:t}}finally{try{h&&!h.done&&(n=u.return)&&n.call(u)}finally{if(r)throw r.error}}}if(o)throw new Dr(o)}},t.prototype.add=function(e){var r;if(e&&e!==this)if(this.closed)Vr(e);else{if(e instanceof t){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=null!==(r=this._finalizers)&&void 0!==r?r:[]).push(e)}},t.prototype._hasParent=function(t){var e=this._parentage;return e===t||Array.isArray(e)&&e.includes(t)},t.prototype._addParent=function(t){var e=this._parentage;this._parentage=Array.isArray(e)?(e.push(t),e):e?[e,t]:t},t.prototype._removeParent=function(t){var e=this._parentage;e===t?this._parentage=null:Array.isArray(e)&&Fr(e,t)},t.prototype.remove=function(e){var r=this._finalizers;r&&Fr(r,e),e instanceof t&&e._removeParent(this)},t.EMPTY=((e=new t).closed=!0,e),t}(),kr=$r.EMPTY;function jr(t){return t instanceof $r||t&&"closed"in t&&Gr(t.remove)&&Gr(t.add)&&Gr(t.unsubscribe)}function Vr(t){Gr(t)?t():t.unsubscribe()}var Xr={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},zr={setTimeout:function(t,e){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var o=zr.delegate;return(null==o?void 0:o.setTimeout)?o.setTimeout.apply(o,Ur([t,e],Mr(r))):setTimeout.apply(void 0,Ur([t,e],Mr(r)))},clearTimeout:function(t){var e=zr.delegate;return((null==e?void 0:e.clearTimeout)||clearTimeout)(t)},delegate:void 0};function Kr(){}var Yr=null;function Zr(t){if(Xr.useDeprecatedSynchronousErrorHandling){var e=!Yr;if(e&&(Yr={errorThrown:!1,error:null}),t(),e){var r=Yr,n=r.errorThrown,o=r.error;if(Yr=null,n)throw o}}else t()}var Wr=function(t){function e(e){var r=t.call(this)||this;return r.isStopped=!1,e?(r.destination=e,jr(e)&&e.add(r)):r.destination=rn,r}return Nr(e,t),e.create=function(t,e,r){return new tn(t,e,r)},e.prototype.next=function(t){this.isStopped||this._next(t)},e.prototype.error=function(t){this.isStopped||(this.isStopped=!0,this._error(t))},e.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},e.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,t.prototype.unsubscribe.call(this),this.destination=null)},e.prototype._next=function(t){this.destination.next(t)},e.prototype._error=function(t){try{this.destination.error(t)}finally{this.unsubscribe()}},e.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},e}($r),qr=Function.prototype.bind;function Jr(t,e){return qr.call(t,e)}var Qr=function(){function t(t){this.partialObserver=t}return t.prototype.next=function(t){var e=this.partialObserver;if(e.next)try{e.next(t)}catch(t){en(t)}},t.prototype.error=function(t){var e=this.partialObserver;if(e.error)try{e.error(t)}catch(t){en(t)}else en(t)},t.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(t){en(t)}},t}(),tn=function(t){function e(e,r,n){var o,i,s=t.call(this)||this;Gr(e)||!e?o={next:null!=e?e:void 0,error:null!=r?r:void 0,complete:null!=n?n:void 0}:s&&Xr.useDeprecatedNextContext?((i=Object.create(e)).unsubscribe=function(){return s.unsubscribe()},o={next:e.next&&Jr(e.next,i),error:e.error&&Jr(e.error,i),complete:e.complete&&Jr(e.complete,i)}):o=e;return s.destination=new Qr(o),s}return Nr(e,t),e}(Wr);function en(t){var e;e=t,zr.setTimeout((function(){throw e}))}var rn={closed:!0,next:Kr,error:function(t){throw t},complete:Kr},nn="function"==typeof Symbol&&Symbol.observable||"@@observable";function on(t){return t}function sn(t){return 0===t.length?on:1===t.length?t[0]:function(e){return t.reduce((function(t,e){return e(t)}),e)}}var an=function(){function t(t){t&&(this._subscribe=t)}return t.prototype.lift=function(e){var r=new t;return r.source=this,r.operator=e,r},t.prototype.subscribe=function(t,e,r){var n,o=this,i=(n=t)&&n instanceof Wr||function(t){return t&&Gr(t.next)&&Gr(t.error)&&Gr(t.complete)}(n)&&jr(n)?t:new tn(t,e,r);return Zr((function(){var t=o,e=t.operator,r=t.source;i.add(e?e.call(i,r):r?o._subscribe(i):o._trySubscribe(i))})),i},t.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},t.prototype.forEach=function(t,e){var r=this;return new(e=ln(e))((function(e,n){var o=new tn({next:function(e){try{t(e)}catch(t){n(t),o.unsubscribe()}},error:n,complete:e});r.subscribe(o)}))},t.prototype._subscribe=function(t){var e;return null===(e=this.source)||void 0===e?void 0:e.subscribe(t)},t.prototype[nn]=function(){return this},t.prototype.pipe=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return sn(t)(this)},t.prototype.toPromise=function(t){var e=this;return new(t=ln(t))((function(t,r){var n;e.subscribe((function(t){return n=t}),(function(t){return r(t)}),(function(){return t(n)}))}))},t.create=function(e){return new t(e)},t}();function ln(t){var e;return null!==(e=null!=t?t:Xr.Promise)&&void 0!==e?e:Promise}var cn=xr((function(t){return function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}})),un=function(t){function e(){var e=t.call(this)||this;return e.closed=!1,e.currentObservers=null,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}return Nr(e,t),e.prototype.lift=function(t){var e=new hn(this,this);return e.operator=t,e},e.prototype._throwIfClosed=function(){if(this.closed)throw new cn},e.prototype.next=function(t){var e=this;Zr((function(){var r,n;if(e._throwIfClosed(),!e.isStopped){e.currentObservers||(e.currentObservers=Array.from(e.observers));try{for(var o=Rr(e.currentObservers),i=o.next();!i.done;i=o.next()){i.value.next(t)}}catch(t){r={error:t}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}}}))},e.prototype.error=function(t){var e=this;Zr((function(){if(e._throwIfClosed(),!e.isStopped){e.hasError=e.isStopped=!0,e.thrownError=t;for(var r=e.observers;r.length;)r.shift().error(t)}}))},e.prototype.complete=function(){var t=this;Zr((function(){if(t._throwIfClosed(),!t.isStopped){t.isStopped=!0;for(var e=t.observers;e.length;)e.shift().complete()}}))},e.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(e.prototype,"observed",{get:function(){var t;return(null===(t=this.observers)||void 0===t?void 0:t.length)>0},enumerable:!1,configurable:!0}),e.prototype._trySubscribe=function(e){return this._throwIfClosed(),t.prototype._trySubscribe.call(this,e)},e.prototype._subscribe=function(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)},e.prototype._innerSubscribe=function(t){var e=this,r=this,n=r.hasError,o=r.isStopped,i=r.observers;return n||o?kr:(this.currentObservers=null,i.push(t),new $r((function(){e.currentObservers=null,Fr(i,t)})))},e.prototype._checkFinalizedStatuses=function(t){var e=this,r=e.hasError,n=e.thrownError,o=e.isStopped;r?t.error(n):o&&t.complete()},e.prototype.asObservable=function(){var t=new an;return t.source=this,t},e.create=function(t,e){return new hn(t,e)},e}(an),hn=function(t){function e(e,r){var n=t.call(this)||this;return n.destination=e,n.source=r,n}return Nr(e,t),e.prototype.next=function(t){var e,r;null===(r=null===(e=this.destination)||void 0===e?void 0:e.next)||void 0===r||r.call(e,t)},e.prototype.error=function(t){var e,r;null===(r=null===(e=this.destination)||void 0===e?void 0:e.error)||void 0===r||r.call(e,t)},e.prototype.complete=function(){var t,e;null===(e=null===(t=this.destination)||void 0===t?void 0:t.complete)||void 0===e||e.call(t)},e.prototype._subscribe=function(t){var e,r;return null!==(r=null===(e=this.source)||void 0===e?void 0:e.subscribe(t))&&void 0!==r?r:kr},e}(un),fn={now:function(){return(fn.delegate||Date).now()},delegate:void 0},pn=function(t){function e(e,r,n){void 0===e&&(e=1/0),void 0===r&&(r=1/0),void 0===n&&(n=fn);var o=t.call(this)||this;return o._bufferSize=e,o._windowTime=r,o._timestampProvider=n,o._buffer=[],o._infiniteTimeWindow=!0,o._infiniteTimeWindow=r===1/0,o._bufferSize=Math.max(1,e),o._windowTime=Math.max(1,r),o}return Nr(e,t),e.prototype.next=function(e){var r=this,n=r.isStopped,o=r._buffer,i=r._infiniteTimeWindow,s=r._timestampProvider,a=r._windowTime;n||(o.push(e),!i&&o.push(s.now()+a)),this._trimBuffer(),t.prototype.next.call(this,e)},e.prototype._subscribe=function(t){this._throwIfClosed(),this._trimBuffer();for(var e=this._innerSubscribe(t),r=this._infiniteTimeWindow,n=this._buffer.slice(),o=0;o<n.length&&!t.closed;o+=r?1:2)t.next(n[o]);return this._checkFinalizedStatuses(t),e},e.prototype._trimBuffer=function(){var t=this,e=t._bufferSize,r=t._timestampProvider,n=t._buffer,o=t._infiniteTimeWindow,i=(o?1:2)*e;if(e<1/0&&i<n.length&&n.splice(0,n.length-i),!o){for(var s=r.now(),a=0,l=1;l<n.length&&n[l]<=s;l+=2)a=l;a&&n.splice(0,a+1)}},e}(un);let dn=[],mn={};window.emWidgets={topic:(t,e=0)=>{if(-1==dn.indexOf(t)){let r=new pn(e);mn[t]=r,dn.push(t)}return mn[t]}};
|
618
618
|
/* src/CasinoCollectionsProviders.svelte generated by Svelte v3.48.0 */
|
619
619
|
function yn(t,e,r){const n=t.slice();return n[39]=e[r],n}function bn(t,e,r){const n=t.slice();return n[42]=e[r],n}
|
620
620
|
// (157:4) {:else}
|
621
|
-
function gn(t){let e,r,o,i,s,a,l,c,E,_,T,w,A,B,S
|
622
|
-
/*div2_binding*/t[22](
|
623
|
-
/*div2_binding*/t[22](null),
|
621
|
+
function gn(t){let e,r,o,i,s,a,l,c,E,_,T,w,A,B,S=/*type*/("vendor"==t[0]?/*$_*/t[7]("Translations.providers"):/*$_*/t[7]("Translations.collections"))+"",H=/*gameCategories*/t[2],P=[];for(let e=0;e<H.length;e+=1)P[e]=wn(yn(t,H,e));return{c(){e=d("div"),r=d("div"),o=d("p"),i=m(S),s=y(),a=d("div"),l=d("button"),l.innerHTML='<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(14.656 0) rotate(90)" fill="#fff"></path></svg>',c=y(),E=d("button"),E.innerHTML='<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(0 24.656) rotate(-90)" fill="#fff"></path></svg>',_=y(),T=d("div");for(let t=0;t<P.length;t+=1)P[t].c();g(o,"class","Title"),g(a,"class","ButtonsContainer"),g(r,"class","CategoriesHeader"),g(T,"class","CategoriesSlider"),g(e,"class",w="CasinoCollectionsProviders "+(/*mobile*/t[6]?"Mobile":""))},m(n,f){h(n,e,f),u(e,r),u(r,o),u(o,i),u(r,s),u(r,a),u(a,l),u(a,c),u(a,E),u(e,_),u(e,T);for(let t=0;t<P.length;t+=1)P[t].m(T,null);
|
622
|
+
/*div2_binding*/t[22](T),A||(B=[b(l,"click",/*click_handler*/t[18]),b(E,"click",/*click_handler_1*/t[19])],A=!0)},p(t,r){if(/*type, $_*/129&r[0]&&S!==(S=/*type*/("vendor"==t[0]?/*$_*/t[7]("Translations.providers"):/*$_*/t[7]("Translations.collections"))+"")&&v(i,S),/*gameCategories, openCategory, openGame, titletype*/3078&r[0]){let e;for(H=/*gameCategories*/t[2],e=0;e<H.length;e+=1){const n=yn(t,H,e);P[e]?P[e].p(n,r):(P[e]=wn(n),P[e].c(),P[e].m(T,null))}for(;e<P.length;e+=1)P[e].d(1);P.length=H.length}/*mobile*/64&r[0]&&w!==(w="CasinoCollectionsProviders "+(/*mobile*/t[6]?"Mobile":""))&&g(e,"class",w)},d(r){r&&f(e),p(P,r),
|
623
|
+
/*div2_binding*/t[22](null),A=!1,n(B)}}}
|
624
624
|
// (155:4) {#if isLoading}
|
625
625
|
function vn(e){let r;return{c(){r=d("p"),r.textContent="Loading, please wait ..."},m(t,e){h(t,r,e)},p:t,d(t){t&&f(r)}}}
|
626
626
|
// (182:47)
|
@@ -650,5 +650,5 @@ P(T)},L=()=>{S>=A||(0===T?T=A-S:T-S<-1?T=0:T--,O())},I=()=>{S>=A||(T===A-S?T=0:A
|
|
650
650
|
//Analytics event
|
651
651
|
"function"==typeof gtag&>ag("event","OpenGame",{context:"CollectionsProviders",gameName:`${r}`})},R=t=>{window.postMessage({type:"OpenCollectionsProvidersCategory",categoryId:t},window.location.href)},M=()=>{var t;t=d,Ke.set(t)};w((()=>{r(6,h=(t=>!!(t.toLowerCase().match(/android/i)||t.toLowerCase().match(/blackberry|bb/i)||t.toLowerCase().match(/iphone|ipad|ipod/i)||t.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)))(H))}));return t.$$set=t=>{"endpoint"in t&&r(12,f=t.endpoint),"datasource"in t&&r(13,p=t.datasource),"lang"in t&&r(14,d=t.lang),"type"in t&&r(0,m=t.type),"titletype"in t&&r(1,y=t.titletype),"clientstyling"in t&&r(15,b=t.clientstyling),"clientstylingurl"in t&&r(16,g=t.clientstylingurl),"translationUrl"in t&&r(17,v=t.translationUrl)},t.$$.update=()=>{/*endpoint, datasource, lang*/28672&t.$$.dirty[0]&&f&&p&&d&&(()=>{const t=new URL(`${f}/v2/casino/groups/${p}`);t.searchParams.append("language",d),t.searchParams.append("expand","games"),fetch(t.href).then((t=>t.json())).then((t=>{r(5,_=!1);let e=t.items.filter((t=>t.flags==m));r(2,E=e.map((t=>({id:t.id,name:t.name,icon:t.icon,games:t.games.items.slice(0,4).map((t=>t)),background:t.background,flag:t.flags})))),A=E.length}))})(),/*gameCategories, categoriesSlider*/12&t.$$.dirty[0]&&
|
652
652
|
//making sure we have something to position, before trying to
|
653
|
-
E&&s&&P(),/*lang*/16384&t.$$.dirty[0]&&d&&M(),/*clientstyling, customStylingContainer*/32784&t.$$.dirty[0]&&b&&u&&(()=>{let t=document.createElement("style");t.innerHTML=b,u.appendChild(t)})(),/*clientstylingurl, customStylingContainer*/65552&t.$$.dirty[0]&&g&&u&&(()=>{let t=new URL(g),e=document.createElement("style");fetch(t.href).then((t=>t.text())).then((t=>{e.innerHTML=t,setTimeout((()=>{u.appendChild(e)}),1),setTimeout((()=>{}),500)}))})(),/*translationUrl*/131072&t.$$.dirty[0]&&v&&fetch(v).then((t=>t.json())).then((t=>{Object.keys(t).forEach((e=>{sr(e,t[e])}))})).catch((t=>{console.log(t)}))},[m,y,E,s,u,_,h,n,L,I,N,R,f,p,d,b,g,v,()=>L(),()=>I(),t=>N(t.gameId,t.launchUrl,t.name),t=>R(t.id),function(t){B[t?"unshift":"push"]((()=>{s=t,r(3,s)}))},function(t){B[t?"unshift":"push"]((()=>{u=t,r(4,u)}))}]}class Sn extends
|
653
|
+
E&&s&&P(),/*lang*/16384&t.$$.dirty[0]&&d&&M(),/*clientstyling, customStylingContainer*/32784&t.$$.dirty[0]&&b&&u&&(()=>{let t=document.createElement("style");t.innerHTML=b,u.appendChild(t)})(),/*clientstylingurl, customStylingContainer*/65552&t.$$.dirty[0]&&g&&u&&(()=>{let t=new URL(g),e=document.createElement("style");fetch(t.href).then((t=>t.text())).then((t=>{e.innerHTML=t,setTimeout((()=>{u.appendChild(e)}),1),setTimeout((()=>{}),500)}))})(),/*translationUrl*/131072&t.$$.dirty[0]&&v&&fetch(v).then((t=>t.json())).then((t=>{Object.keys(t).forEach((e=>{sr(e,t[e])}))})).catch((t=>{console.log(t)}))},[m,y,E,s,u,_,h,n,L,I,N,R,f,p,d,b,g,v,()=>L(),()=>I(),t=>N(t.gameId,t.launchUrl,t.name),t=>R(t.id),function(t){B[t?"unshift":"push"]((()=>{s=t,r(3,s)}))},function(t){B[t?"unshift":"push"]((()=>{u=t,r(4,u)}))}]}class Sn extends x{constructor(t){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.CasinoCollectionsProviders{background:var(--emfe-w-color-contrast, #07072A);width:100%;height:330px;margin:0 auto;margin-top:24px}.CategoriesHeader{display:flex;justify-content:space-between;height:70px}.CategoriesHeader .Title{color:var(--emfe-w-color-white, #FFFFFF);font-size:22px;font-weight:500}.CategoriesHeader .ButtonsContainer button{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);height:40px;width:40px;cursor:pointer}.CategoriesHeader .ButtonsContainer button:active{opacity:0.7}.CategoriesSlider{position:relative;height:230px;overflow:hidden}.CategoriesSliderWrapper{position:absolute;top:0;left:0}.CategoriesSlider .Animation{transition:transform 0.8s}.CategoriesSlider .CategorySlide{border-radius:10px;display:flex;flex-direction:column;align-items:center;justify-content:space-evenly;height:200px;width:400px;margin-right:15px;background-size:cover}.CategoriesSlider .CategorySlide:not(.CategorySlideNoHighlight){background-color:#808080;background-blend-mode:multiply}.CategoriesSlider .CategorySlideTopContainer{height:100px;display:flex;align-items:center}.CategoriesSlider .CategorySlideLogo{max-height:100px}.CategoriesSlider .CategorySlideTitle{color:var(--emfe-w-color-white, #FFFFFF);font-size:18px;letter-spacing:1px}.CategoriesSlider .CategorySlideGameContainer{display:flex;justify-content:center;gap:3%;min-height:70px}.CategoriesSlider .CategorySlideGameImage{border-radius:10px;width:22%;height:55px;object-fit:cover}.Mobile.CasinoCollectionsProviders{padding:25px 10px}.Mobile .CategoriesSlider{overflow:auto;scroll-snap-type:x mandatory;-ms-overflow-style:none;scrollbar-width:none}.Mobile .CategoriesSlider::-webkit-scrollbar{display:none}.Mobile .CategorySlide{width:85vw;scroll-snap-align:start}.Mobile .ButtonsContainer{display:none}</style>",G(this,{target:this.shadowRoot,props:_(this.attributes),customElement:!0},Bn,An,i,{endpoint:12,datasource:13,lang:14,type:0,titletype:1,clientstyling:15,clientstylingurl:16,translationUrl:17},null,[-1,-1]),t&&(t.target&&h(t.target,this,t.anchor),t.props&&(this.$set(t.props),N()))}static get observedAttributes(){return["endpoint","datasource","lang","type","titletype","clientstyling","clientstylingurl","translationUrl"]}get endpoint(){return this.$$.ctx[12]}set endpoint(t){this.$$set({endpoint:t}),N()}get datasource(){return this.$$.ctx[13]}set datasource(t){this.$$set({datasource:t}),N()}get lang(){return this.$$.ctx[14]}set lang(t){this.$$set({lang:t}),N()}get type(){return this.$$.ctx[0]}set type(t){this.$$set({type:t}),N()}get titletype(){return this.$$.ctx[1]}set titletype(t){this.$$set({titletype:t}),N()}get clientstyling(){return this.$$.ctx[15]}set clientstyling(t){this.$$set({clientstyling:t}),N()}get clientstylingurl(){return this.$$.ctx[16]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),N()}get translationUrl(){return this.$$.ctx[17]}set translationUrl(t){this.$$set({translationUrl:t}),N()}}return!customElements.get("casino-collections-providers")&&customElements.define("casino-collections-providers",Sn),Sn}));
|
654
654
|
//# sourceMappingURL=casino-collections-providers.js.map
|