@everymatrix/casino-my-games-nd 1.86.2 → 1.86.3
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.
- package/components/CasinoFavoritesSectionNd-BFcC7upG.cjs +16 -0
- package/components/{CasinoFavoritesSectionNd-IjBGIAKV.js → CasinoFavoritesSectionNd-Ct7-yK1Y.js} +1035 -1003
- package/components/{CasinoFavoritesSectionNd-DnjMMxPF.js → CasinoFavoritesSectionNd-DAk9Rz5y.js} +1076 -1044
- package/components/CasinoFilter-CdSKknn8.cjs +3 -0
- package/components/{CasinoFilter-BiUAGzYo.js → CasinoFilter-Di7-lhYG.js} +398 -446
- package/components/{CasinoFilter-BIQiqdaS.js → CasinoFilter-thaqa7s1.js} +373 -423
- package/components/CasinoGameThumbnailNd-6zQ8cacB.cjs +30 -0
- package/components/{CasinoGameThumbnailNd-UlnMygo7.js → CasinoGameThumbnailNd-CJbI5Vnp.js} +66 -64
- package/components/{CasinoGameThumbnailNd-BQGhUZqf.js → CasinoGameThumbnailNd-v6BFSSx8.js} +66 -64
- package/components/{CasinoGamesCategorySectionNd-7O2PEJfi.js → CasinoGamesCategorySectionNd-1u77-OEV.js} +190 -190
- package/components/{CasinoGamesCategorySectionNd-sCQdekDn.cjs → CasinoGamesCategorySectionNd-CQmI83_8.cjs} +1 -1
- package/components/{CasinoGamesCategorySectionNd-BTcRtShM.js → CasinoGamesCategorySectionNd-PMFkdFPJ.js} +258 -258
- package/components/{CasinoLastPlayedSectionNd-DsyJ1YyQ.js → CasinoLastPlayedSectionNd-CKUoApgO.js} +46 -46
- package/components/{CasinoLastPlayedSectionNd-BkEol2F9.cjs → CasinoLastPlayedSectionNd-DGHqUI7n.cjs} +1 -1
- package/components/{CasinoLastPlayedSectionNd-ugG0QJz8.js → CasinoLastPlayedSectionNd-tIciGarW.js} +46 -46
- package/components/{CasinoMostPlayedSectionNd-9SnZTf2U.js → CasinoMostPlayedSectionNd-B0WFqlQl.js} +39 -39
- package/components/{CasinoMostPlayedSectionNd-BSjNU0qA.cjs → CasinoMostPlayedSectionNd-DExw2cHb.cjs} +1 -1
- package/components/{CasinoMostPlayedSectionNd-v4PUECqD.js → CasinoMostPlayedSectionNd-Pcx-G5nM.js} +39 -39
- package/components/{CasinoMyGamesNd-4ljZ9iaH.js → CasinoMyGamesNd-59jwfIW0.js} +52 -52
- package/components/{CasinoMyGamesNd-CfI4-Ywh.js → CasinoMyGamesNd-C6tSORAg.js} +55 -55
- package/components/{CasinoMyGamesNd-2mxQS8Zr.cjs → CasinoMyGamesNd-Dt79TB3B.cjs} +1 -1
- package/components/{CasinoSort-DPbziH-d.cjs → CasinoSort-BCyCciHd.cjs} +1 -1
- package/components/{CasinoSort-WLSmCHwf.js → CasinoSort-DUQ8fN-8.js} +117 -116
- package/components/{CasinoSort-DR4XC8kH.js → CasinoSort-Dc3_bYWo.js} +108 -109
- package/es2015/casino-my-games-nd.cjs +1 -1
- package/es2015/casino-my-games-nd.js +1 -1
- package/esnext/casino-my-games-nd.js +1 -1
- package/package.json +1 -1
- package/stencil/index-97d17652-DvplcHtm.js +558 -0
- package/stencil/index-97d17652-ILzgTtTR.cjs +1 -0
- package/stencil/index-97d17652-p-iQtjus.js +542 -0
- package/stencil/{ui-image-BX-FBhad.cjs → ui-image-BDXyFHck.cjs} +1 -1
- package/stencil/{ui-image-CP8Lp7fB.js → ui-image-Cc8wLmDe.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-BKRtoUuG.js → ui-image-b7b48fe5-CBB2FKRZ.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-MC0x5ZQd.cjs → ui-image-b7b48fe5-DjCO-ZF4.cjs} +1 -1
- package/stencil/{ui-image-b7b48fe5-HA45CrsG.js → ui-image-b7b48fe5-rCWcyktd.js} +1 -1
- package/stencil/{ui-image-Ch-GHki1.js → ui-image-wH6lu7wS.js} +1 -1
- package/stencil/{ui-image_2-Daq38JGa.js → ui-image_2-BESQEo1l.js} +2 -2
- package/stencil/{ui-image_2-CmVho0dS.js → ui-image_2-BfZmduAK.js} +2 -2
- package/stencil/{ui-image_2-CyqE6j_W.cjs → ui-image_2-ZFidgTXM.cjs} +1 -1
- package/components/CasinoFavoritesSectionNd-VfWjc6cO.cjs +0 -3
- package/components/CasinoFilter-yG2Ssg_Z.cjs +0 -16
- package/components/CasinoGameThumbnailNd-BsrshKrT.cjs +0 -30
- package/stencil/index-97d17652-B6BYeRne.js +0 -542
- package/stencil/index-97d17652-BOr4KAqq.js +0 -558
- package/stencil/index-97d17652-zTl06Vn9.cjs +0 -1
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
"use strict";const r=require("./CasinoFavoritesSectionNd-BFcC7upG.cjs");function L(i){return typeof i=="function"}function fe(i){var t=function(n){Error.call(n),n.stack=new Error().stack},e=i(t);return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}var X=fe(function(i){return function(e){i(this),this.message=e?e.length+` errors occurred during unsubscription:
|
|
2
|
+
`+e.map(function(n,l){return l+1+") "+n.toString()}).join(`
|
|
3
|
+
`):"",this.name="UnsubscriptionError",this.errors=e}});function $(i,t){if(i){var e=i.indexOf(t);0<=e&&i.splice(e,1)}}var Z=function(){function i(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}return i.prototype.unsubscribe=function(){var t,e,n,l,a;if(!this.closed){this.closed=!0;var s=this._parentage;if(s)if(this._parentage=null,Array.isArray(s))try{for(var c=r.__values(s),u=c.next();!u.done;u=c.next()){var h=u.value;h.remove(this)}}catch(m){t={error:m}}finally{try{u&&!u.done&&(e=c.return)&&e.call(c)}finally{if(t)throw t.error}}else s.remove(this);var d=this.initialTeardown;if(L(d))try{d()}catch(m){a=m instanceof X?m.errors:[m]}var _=this._finalizers;if(_){this._finalizers=null;try{for(var g=r.__values(_),C=g.next();!C.done;C=g.next()){var k=C.value;try{re(k)}catch(m){a=a!=null?a:[],m instanceof X?a=r.__spreadArray(r.__spreadArray([],r.__read(a)),r.__read(m.errors)):a.push(m)}}}catch(m){n={error:m}}finally{try{C&&!C.done&&(l=g.return)&&l.call(g)}finally{if(n)throw n.error}}}if(a)throw new X(a)}},i.prototype.add=function(t){var e;if(t&&t!==this)if(this.closed)re(t);else{if(t instanceof i){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(e=this._finalizers)!==null&&e!==void 0?e:[]).push(t)}},i.prototype._hasParent=function(t){var e=this._parentage;return e===t||Array.isArray(e)&&e.includes(t)},i.prototype._addParent=function(t){var e=this._parentage;this._parentage=Array.isArray(e)?(e.push(t),e):e?[e,t]:t},i.prototype._removeParent=function(t){var e=this._parentage;e===t?this._parentage=null:Array.isArray(e)&&$(e,t)},i.prototype.remove=function(t){var e=this._finalizers;e&&$(e,t),t instanceof i&&t._removeParent(this)},i.EMPTY=function(){var t=new i;return t.closed=!0,t}(),i}(),he=Z.EMPTY;function me(i){return i instanceof Z||i&&"closed"in i&&L(i.remove)&&L(i.add)&&L(i.unsubscribe)}function re(i){L(i)?i():i.unsubscribe()}var be={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},xe={setTimeout:function(i,t){for(var e=[],n=2;n<arguments.length;n++)e[n-2]=arguments[n];return setTimeout.apply(void 0,r.__spreadArray([i,t],r.__read(e)))},clearTimeout:function(i){return clearTimeout(i)},delegate:void 0};function Ce(i){xe.setTimeout(function(){throw i})}function ie(){}function G(i){i()}var ge=function(i){r.__extends(t,i);function t(e){var n=i.call(this)||this;return n.isStopped=!1,e?(n.destination=e,me(e)&&e.add(n)):n.destination=Ie,n}return t.create=function(e,n,l){return new ee(e,n,l)},t.prototype.next=function(e){this.isStopped||this._next(e)},t.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,i.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(e){this.destination.next(e)},t.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(Z),ke=Function.prototype.bind;function Q(i,t){return ke.call(i,t)}var Pe=function(){function i(t){this.partialObserver=t}return i.prototype.next=function(t){var e=this.partialObserver;if(e.next)try{e.next(t)}catch(n){Y(n)}},i.prototype.error=function(t){var e=this.partialObserver;if(e.error)try{e.error(t)}catch(n){Y(n)}else Y(t)},i.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(e){Y(e)}},i}(),ee=function(i){r.__extends(t,i);function t(e,n,l){var a=i.call(this)||this,s;if(L(e)||!e)s={next:e!=null?e:void 0,error:n!=null?n:void 0,complete:l!=null?l:void 0};else{var c;a&&be.useDeprecatedNextContext?(c=Object.create(e),c.unsubscribe=function(){return a.unsubscribe()},s={next:e.next&&Q(e.next,c),error:e.error&&Q(e.error,c),complete:e.complete&&Q(e.complete,c)}):s=e}return a.destination=new Pe(s),a}return t}(ge);function Y(i){Ce(i)}function Ee(i){throw i}var Ie={closed:!0,next:ie,error:Ee,complete:ie},Le=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function Te(i){return i}function Oe(i){return i.length===0?Te:i.length===1?i[0]:function(e){return i.reduce(function(n,l){return l(n)},e)}}var ne=function(){function i(t){t&&(this._subscribe=t)}return i.prototype.lift=function(t){var e=new i;return e.source=this,e.operator=t,e},i.prototype.subscribe=function(t,e,n){var l=this,a=Me(t)?t:new ee(t,e,n);return G(function(){var s=l,c=s.operator,u=s.source;a.add(c?c.call(a,u):u?l._subscribe(a):l._trySubscribe(a))}),a},i.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},i.prototype.forEach=function(t,e){var n=this;return e=le(e),new e(function(l,a){var s=new ee({next:function(c){try{t(c)}catch(u){a(u),s.unsubscribe()}},error:a,complete:l});n.subscribe(s)})},i.prototype._subscribe=function(t){var e;return(e=this.source)===null||e===void 0?void 0:e.subscribe(t)},i.prototype[Le]=function(){return this},i.prototype.pipe=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return Oe(t)(this)},i.prototype.toPromise=function(t){var e=this;return t=le(t),new t(function(n,l){var a;e.subscribe(function(s){return a=s},function(s){return l(s)},function(){return n(a)})})},i.create=function(t){return new i(t)},i}();function le(i){var t;return(t=i!=null?i:be.Promise)!==null&&t!==void 0?t:Promise}function Ae(i){return i&&L(i.next)&&L(i.error)&&L(i.complete)}function Me(i){return i&&i instanceof ge||Ae(i)&&me(i)}var je=fe(function(i){return function(){i(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),ve=function(i){r.__extends(t,i);function t(){var e=i.call(this)||this;return e.closed=!1,e.currentObservers=null,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}return t.prototype.lift=function(e){var n=new oe(this,this);return n.operator=e,n},t.prototype._throwIfClosed=function(){if(this.closed)throw new je},t.prototype.next=function(e){var n=this;G(function(){var l,a;if(n._throwIfClosed(),!n.isStopped){n.currentObservers||(n.currentObservers=Array.from(n.observers));try{for(var s=r.__values(n.currentObservers),c=s.next();!c.done;c=s.next()){var u=c.value;u.next(e)}}catch(h){l={error:h}}finally{try{c&&!c.done&&(a=s.return)&&a.call(s)}finally{if(l)throw l.error}}}})},t.prototype.error=function(e){var n=this;G(function(){if(n._throwIfClosed(),!n.isStopped){n.hasError=n.isStopped=!0,n.thrownError=e;for(var l=n.observers;l.length;)l.shift().error(e)}})},t.prototype.complete=function(){var e=this;G(function(){if(e._throwIfClosed(),!e.isStopped){e.isStopped=!0;for(var n=e.observers;n.length;)n.shift().complete()}})},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var e;return((e=this.observers)===null||e===void 0?void 0:e.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(e){return this._throwIfClosed(),i.prototype._trySubscribe.call(this,e)},t.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},t.prototype._innerSubscribe=function(e){var n=this,l=this,a=l.hasError,s=l.isStopped,c=l.observers;return a||s?he:(this.currentObservers=null,c.push(e),new Z(function(){n.currentObservers=null,$(c,e)}))},t.prototype._checkFinalizedStatuses=function(e){var n=this,l=n.hasError,a=n.thrownError,s=n.isStopped;l?e.error(a):s&&e.complete()},t.prototype.asObservable=function(){var e=new ne;return e.source=this,e},t.create=function(e,n){return new oe(e,n)},t}(ne),oe=function(i){r.__extends(t,i);function t(e,n){var l=i.call(this)||this;return l.destination=e,l.source=n,l}return t.prototype.next=function(e){var n,l;(l=(n=this.destination)===null||n===void 0?void 0:n.next)===null||l===void 0||l.call(n,e)},t.prototype.error=function(e){var n,l;(l=(n=this.destination)===null||n===void 0?void 0:n.error)===null||l===void 0||l.call(n,e)},t.prototype.complete=function(){var e,n;(n=(e=this.destination)===null||e===void 0?void 0:e.complete)===null||n===void 0||n.call(e)},t.prototype._subscribe=function(e){var n,l;return(l=(n=this.source)===null||n===void 0?void 0:n.subscribe(e))!==null&&l!==void 0?l:he},t}(ve),ye={now:function(){return(ye.delegate||Date).now()},delegate:void 0},Be=function(i){r.__extends(t,i);function t(e,n,l){e===void 0&&(e=1/0),n===void 0&&(n=1/0),l===void 0&&(l=ye);var a=i.call(this)||this;return a._bufferSize=e,a._windowTime=n,a._timestampProvider=l,a._buffer=[],a._infiniteTimeWindow=!0,a._infiniteTimeWindow=n===1/0,a._bufferSize=Math.max(1,e),a._windowTime=Math.max(1,n),a}return t.prototype.next=function(e){var n=this,l=n.isStopped,a=n._buffer,s=n._infiniteTimeWindow,c=n._timestampProvider,u=n._windowTime;l||(a.push(e),!s&&a.push(c.now()+u)),this._trimBuffer(),i.prototype.next.call(this,e)},t.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var n=this._innerSubscribe(e),l=this,a=l._infiniteTimeWindow,s=l._buffer,c=s.slice(),u=0;u<c.length&&!e.closed;u+=a?1:2)e.next(c[u]);return this._checkFinalizedStatuses(e),n},t.prototype._trimBuffer=function(){var e=this,n=e._bufferSize,l=e._timestampProvider,a=e._buffer,s=e._infiniteTimeWindow,c=(s?1:2)*n;if(n<1/0&&c<a.length&&a.splice(0,a.length-c),!s){for(var u=l.now(),h=0,d=1;d<a.length&&a[d]<=u;d+=2)h=d;h&&a.splice(0,h+1)}},t}(ve);const ae=[],se={},De=(i,t=0)=>{if(ae.indexOf(i)==-1){const e=new Be(t);se[i]=e,ae.push(i)}return se[i]};window.emWidgets={topic:De};const _e=i=>!!(i.toLowerCase().match(/android/i)||i.toLowerCase().match(/blackberry|bb/i)||i.toLowerCase().match(/iphone|ipad|ipod/i)||i.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)),Fe=i=>i.toLowerCase().match(/android/i)?"Android":i.toLowerCase().match(/iphone/i)?"iPhone":i.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC";function We(i,t){const e=window.navigator.userAgent;return _e(e)?t=i.filter(n=>{if(n.gameModel&&(n.gameModel.platform.includes("iPad")||n.gameModel.platform.includes("iPhone")||n.gameModel.platform.includes("Android")))return n}):t=i.filter(n=>{if(n.gameModel&&n.gameModel.platform.includes("PC"))return n}),t}String(Number.MAX_SAFE_INTEGER).length;function ze({withLocale:i,translations:t}){r.$locale.subscribe(e=>{e==null&&(r.$dictionary.set(t),r.$locale.set(i))})}function ce(i,t){r.addMessages(i,t)}const ue={en:{providers:"Providers:",filterby:"Filter by:",all:"All",clear:"Clear all"},zh:{providers:"Providers:",filterby:"Filter by",all:"all",clear:"Clear all"},de:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},it:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},fr:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},es:{providers:"Proveedores:",filterby:"Filtrar Por:",all:"Todos",clear:"Limpiar todos"},tr:{providers:"Sağlayıcılar:",filterby:"Filtrele:",all:"Hepsi",clear:"Tümünü Temizle"},ru:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},ro:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},hr:{providers:"Brendovi igara",filterby:"Filtrirati po:",all:"Sve",clear:"Očisti sve"},hu:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},pl:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},pt:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},sl:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},sr:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},"pt-br":{providers:"Provedores:",filterby:"Filtrar por",all:"Tudo",clear:"Apagar tudo"},"es-mx":{providers:"Proveedores:",filterby:"Filtrar por",all:"Todo",clear:"Borrar todo"},"en-us":{providers:"Providers:",filterby:"Filter by:",all:"All",clear:"Clear all"}};function Ue(i){r.append_styles(i,"svelte-14m0j7n",':root{--min-height:50px}.SearchLoading{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.FilterContainer{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));position:relative;z-index:17}.FilterSelector{background-color:var(--emw--color-gray-300, #58586B);display:flex;position:relative;padding:10px 16px;border-radius:5px;justify-content:space-between;align-items:center;max-width:fit-content;cursor:pointer}.FilterSelector.FilterSelectorOpen{border-radius:5px 5px 0 0}.FilterMainArea{display:flex;align-items:center}.FilterMainArea svg{margin-right:16px}.FilterName{font-size:11px;line-height:12px;color:var(--emw--color-gray-100, #E6E6E6);text-transform:uppercase}.FilterTextContainer{display:flex;flex-direction:column}.FilterValueContainer{font-size:14px;line-height:16px;font-weight:300}.TriangleInactive{display:block;color:currentColor;margin:0 0 0 15px;transition:all 0.5s}.TriangleActive{transform:rotate(180deg);position:relative;top:2px}.FilterDropdownContainer{padding:0;background:rgb(88, 88, 107);background:linear-gradient(180deg, rgba(88, 88, 107, 0.9) 0%, rgba(7, 7, 42, 0.9) 95%);display:flex;flex-direction:column;align-items:center;transition:max-height 0.15s ease-out;max-height:0;border-radius:0 0 5px 5px;position:absolute;top:48px;margin-bottom:40px;overflow:hidden;margin:0}.FilterDropdownContainer.FilterOpen{width:100%;max-height:fit-content;transition:max-height 0.25s ease-in;padding-top:20px}.FilterDropdown{width:100%;max-height:300px;display:flex;flex-direction:column;gap:10px;margin:0;padding-inline-start:0;overflow:scroll;list-style:none;-ms-overflow-style:none;scrollbar-width:none}.FilterDropdown::-webkit-scrollbar{display:none}.FilterItem label{font-size:14px;font-weight:300;cursor:pointer;display:flex;align-items:center;justify-content:flex-start;padding:0 15px;-webkit-user-select:none;-ms-user-select:none;user-select:none}.FilterItem input{cursor:pointer;margin-right:10px}.FilterItem:hover input~.FiltersCheckmark{background-color:transparent;border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))}.FilterItem input:checked~.FiltersCheckmark{background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))}.FilterItem .FiltersCheckmark{transition:all 0.05s ease-in;margin-right:15px}.FilterItem .FiltersCheckmark:after{content:"";position:absolute;left:9px;display:none}.FilterItem input:checked~.FiltersCheckmark:after{display:block}.FilterItem .FiltersCheckmark:after{left:8px;top:4px;width:5px;height:10px;border:1px solid var(--emw--color-white, #FFFFFF);border-width:0 2px 2px 0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.FilerContainerSplit .FilterItemWithLogos .FiltersCheckmark{margin:0}.FilterLabel input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.FilterLabel .FiltersCheckmark{border-radius:8px;position:relative;height:22px;width:22px;min-width:22px;background-color:transparent;border:1px solid var(--emw--color-white, #FFFFFF)}.FilterLabel .FilterItemLabel{width:100%;display:flex;justify-content:space-between;overflow:hidden}.FilterLabel .FilterItemLabel span.VendorName{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.FilterItemWithLogos label{height:70px;display:flex;justify-content:space-evenly;align-items:center}.FilterItemWithLogos label img{width:70px}.FilterLabel input:checked+span{font-weight:600}.FilterCounter{display:inline-flex;margin-left:10px;min-width:17px}.ClearFilters{margin:20px auto;border:0;color:#fff;background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));font-size:18px;padding:10px 50px;border-radius:5px;cursor:pointer;transition:all 0.1s ease-in;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ClearFilters:disabled{background:var(--emw--color-gray-100, #E6E6E6);border:1px solid var(--emw--color-gray-150, #828282);pointer-events:none;cursor:not-allowed}@media only screen and (max-width: 768px){.FilterSelector{max-width:initial}.FilterDropdownContainer{width:100%;margin-bottom:20px}.FilterDropdown{margin-block-start:0;gap:14px}.FilterItemWithLogos label{justify-content:center}.FilerContainerSplit .FilterSelector{padding:7px}.FilerContainerSplit .FilterSelector .FilterCounter{margin-left:0}.FilerContainerSplit .FilterMainArea svg{margin:0 10px}.FilerContainerSplit .FilterDropdown{padding:0 5px;box-sizing:border-box}.FilerContainerSplit .FilterDropdownContainer{top:42px}.FilerContainerSplit .ClearFilters{padding:8px 20px;font-size:15px}.FilterLabel .FiltersCheckmark{margin-right:15px}.FilterItem.FilterItemWithLogos{display:flex;align-items:center;justify-content:center}.FilerContainerSplit .FilterItemWithLogos .FiltersCheckmark{margin:0 20px 0 0}.FilerContainerSplit .FilterItem label{padding:0;width:calc(100% - 10px);font-size:12px}.FilterItem label>*{pointer-events:none}}@media(max-width: 480px){.FilerContainerSplit .FilterSelector{min-height:var(--min-height)}.FilerContainerSplit .FilterDropdownContainer{top:var(--min-height)}.FilterName,.FilterValueContainer{overflow:hidden;max-width:100%;font-size:12px;text-overflow:ellipsis;width:fit-content}.FilterLabel .FiltersCheckmark{margin-right:5px}.FilterItem label{padding:0;font-size:11px;overflow:hidden;text-overflow:ellipsis;width:unset}.FilterItemLabel span:first-child{display:inline-block;overflow:hidden;text-overflow:ellipsis;max-width:60%}}')}function de(i,t,e){const n=i.slice();return n[37]=t[e],n[38]=t,n[39]=e,n}function Ve(i){let t,e,n,l,a,s,c,u,h=i[11]("filterby")+"",d,_,g,C,k=i[11]("providers")+"",m,x,F,v,p,E,T,M,W,w,O,H,I,j=i[11]("clear")+"",z,B,D,U,V,N;function J(o,f){return o[7]?Ne:He}let R=J(i),P=R(i),A=r.ensure_array_like(i[5]),S=[];for(let o=0;o<A.length;o+=1)S[o]=pe(de(i,A,o));return{c(){t=r.element("div"),e=r.element("div"),n=r.element("div"),l=r.svg_element("svg"),a=r.svg_element("path"),s=r.space(),c=r.element("div"),u=r.element("span"),d=r.text(h),_=r.space(),g=r.element("div"),C=r.element("span"),m=r.text(k),x=r.space(),P.c(),F=r.space(),v=r.element("span"),p=r.svg_element("svg"),E=r.svg_element("path"),W=r.space(),w=r.element("div"),O=r.element("ul");for(let o=0;o<S.length;o+=1)S[o].c();H=r.space(),I=r.element("button"),z=r.text(j),r.attr(a,"id","noun_filter_736223"),r.attr(a,"d","M12.2,22.2a1.018,1.018,0,0,1-.391-.091.939.939,0,0,1-.533-.857v-6.2L5.267,8.9A.95.95,0,0,1,5,8.225V7.149A.93.93,0,0,1,5.924,6.2H20.076A.93.93,0,0,1,21,7.149V8.225a.95.95,0,0,1-.267.675l-6.009,6.148V19.81a.981.981,0,0,1-.32.712l-1.6,1.423A.9.9,0,0,1,12.2,22.2ZM6,8.189,12,14.355a.95.95,0,0,1,.267.675v6.039l1.44-1.277v-4.78a.95.95,0,0,1,.267-.675L19.987,8.17V7.2H6Z"),r.attr(a,"transform","translate(-5 -6.2)"),r.attr(a,"fill","#fff"),r.attr(l,"xmlns","http://www.w3.org/2000/svg"),r.attr(l,"width","16"),r.attr(l,"height","16"),r.attr(l,"viewBox","0 0 16 16"),r.attr(u,"class","FilterName"),r.attr(g,"class","FilterValueContainer"),r.attr(c,"class","FilterTextContainer"),r.attr(n,"class","FilterMainArea"),r.attr(E,"id","arrow"),r.attr(E,"d","M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"),r.attr(E,"transform","translate(-274.511 -441.088)"),r.attr(E,"fill","#d1d1d1"),r.attr(p,"xmlns","http://www.w3.org/2000/svg"),r.attr(p,"width","14"),r.attr(p,"height","6.835"),r.attr(p,"viewBox","0 0 14 6.835"),r.attr(v,"class",T="TriangleInactive "+(i[4]?"TriangleActive":"")),r.attr(e,"class",M="FilterSelector "+(i[4]?"FilterSelectorOpen":"")),r.attr(O,"class","FilterDropdown"),r.attr(I,"class","ClearFilters"),I.disabled=B=i[7]&&i[6].length!=i[5].length,r.attr(w,"class",D="FilterDropdownContainer "+(i[4]?"FilterOpen":"")),r.attr(t,"class",U="FilterContainer "+(i[0]=="true"&&i[1]=="true"?"FilerContainerSplit":""))},m(o,f){r.insert(o,t,f),r.append(t,e),r.append(e,n),r.append(n,l),r.append(l,a),r.append(n,s),r.append(n,c),r.append(c,u),r.append(u,d),r.append(c,_),r.append(c,g),r.append(g,C),r.append(C,m),r.append(g,x),P.m(g,null),r.append(e,F),r.append(e,v),r.append(v,p),r.append(p,E),r.append(t,W),r.append(t,w),r.append(w,O);for(let b=0;b<S.length;b+=1)S[b]&&S[b].m(O,null);r.append(w,H),r.append(w,I),r.append(I,z),V||(N=[r.listen(e,"click",i[24]),r.listen(I,"click",i[27])],V=!0)},p(o,f){if(f[0]&2048&&h!==(h=o[11]("filterby")+"")&&r.set_data(d,h),f[0]&2048&&k!==(k=o[11]("providers")+"")&&r.set_data(m,k),R===(R=J(o))&&P?P.p(o,f):(P.d(1),P=R(o),P&&(P.c(),P.m(g,null))),f[0]&16&&T!==(T="TriangleInactive "+(o[4]?"TriangleActive":""))&&r.attr(v,"class",T),f[0]&16&&M!==(M="FilterSelector "+(o[4]?"FilterSelectorOpen":""))&&r.attr(e,"class",M),f[0]&8228){A=r.ensure_array_like(o[5]);let b;for(b=0;b<A.length;b+=1){const y=de(o,A,b);S[b]?S[b].p(y,f):(S[b]=pe(y),S[b].c(),S[b].m(O,null))}for(;b<S.length;b+=1)S[b].d(1);S.length=A.length}f[0]&2048&&j!==(j=o[11]("clear")+"")&&r.set_data(z,j),f[0]&224&&B!==(B=o[7]&&o[6].length!=o[5].length)&&(I.disabled=B),f[0]&16&&D!==(D="FilterDropdownContainer "+(o[4]?"FilterOpen":""))&&r.attr(w,"class",D),f[0]&3&&U!==(U="FilterContainer "+(o[0]=="true"&&o[1]=="true"?"FilerContainerSplit":""))&&r.attr(t,"class",U)},d(o){o&&r.detach(t),P.d(),r.destroy_each(S,o),V=!1,r.run_all(N)}}}function Re(i){let t,e=i[11]("500")+"";return{c(){t=r.element("p"),r.attr(t,"class","SearchLoading")},m(n,l){r.insert(n,t,l),t.innerHTML=e},p(n,l){l[0]&2048&&e!==(e=n[11]("500")+"")&&(t.innerHTML=e)},d(n){n&&r.detach(t)}}}function He(i){let t,e;return{c(){t=r.element("span"),e=r.text(i[8]),r.attr(t,"class","FilterCounter")},m(n,l){r.insert(n,t,l),r.append(t,e)},p(n,l){l[0]&256&&r.set_data(e,n[8])},d(n){n&&r.detach(t)}}}function Ne(i){let t,e=i[11]("all")+"",n;return{c(){t=r.element("span"),n=r.text(e),r.attr(t,"class","FilterCounter")},m(l,a){r.insert(l,t,a),r.append(t,n)},p(l,a){a[0]&2048&&e!==(e=l[11]("all")+"")&&r.set_data(n,e)},d(l){l&&r.detach(t)}}}function Je(i){let t,e;return{c(){t=r.element("img"),r.src_url_equal(t.src,e=i[37].logo)||r.attr(t,"src",e),r.attr(t,"alt","vendor logo")},m(n,l){r.insert(n,t,l)},p(n,l){l[0]&32&&!r.src_url_equal(t.src,e=n[37].logo)&&r.attr(t,"src",e)},d(n){n&&r.detach(t)}}}function qe(i){let t,e,n=i[37].name+"",l,a,s,c,u=i[37].games.total+"",h,d;return{c(){t=r.element("div"),e=r.element("span"),l=r.text(n),a=r.space(),s=r.element("span"),c=r.text("("),h=r.text(u),d=r.text(")"),r.attr(e,"class","VendorName"),r.attr(t,"class","FilterItemLabel")},m(_,g){r.insert(_,t,g),r.append(t,e),r.append(e,l),r.append(t,a),r.append(t,s),r.append(s,c),r.append(s,h),r.append(s,d)},p(_,g){g[0]&32&&n!==(n=_[37].name+"")&&r.set_data(l,n),g[0]&32&&u!==(u=_[37].games.total+"")&&r.set_data(h,u)},d(_){_&&r.detach(t)}}}function pe(i){let t,e,n,l,a,s,c,u,h,d,_,g;function C(){i[25].call(n,i[38],i[39])}function k(){return i[26](i[37])}function m(v,p){if(v[2]==="false")return qe;if(v[2]==="true")return Je}let x=m(i),F=x&&x(i);return{c(){t=r.element("li"),e=r.element("label"),n=r.element("input"),a=r.space(),s=r.element("span"),c=r.space(),F&&F.c(),u=r.space(),r.attr(n,"type","checkbox"),r.attr(n,"name","checkbox"),n.__value=l=i[37].name,r.set_input_value(n,n.__value),r.attr(s,"class","FiltersCheckmark"),r.attr(e,"class","FilterLabel"),r.attr(t,"class",h="FilterItem "+(i[2]==="true"?"FilterItemWithLogos":"")),t.value=d=i[37].name},m(v,p){r.insert(v,t,p),r.append(t,e),r.append(e,n),n.checked=i[37].isFilterSelected,r.append(e,a),r.append(e,s),r.append(e,c),F&&F.m(e,null),r.append(t,u),_||(g=[r.listen(n,"change",C),r.listen(n,"click",k)],_=!0)},p(v,p){i=v,p[0]&32&&l!==(l=i[37].name)&&(n.__value=l,r.set_input_value(n,n.__value)),p[0]&32&&(n.checked=i[37].isFilterSelected),x===(x=m(i))&&F?F.p(i,p):(F&&F.d(1),F=x&&x(i),F&&(F.c(),F.m(e,null))),p[0]&4&&h!==(h="FilterItem "+(i[2]==="true"?"FilterItemWithLogos":""))&&r.attr(t,"class",h),p[0]&32&&d!==(d=i[37].name)&&(t.value=d)},d(v){v&&r.detach(t),F&&F.d(),_=!1,r.run_all(g)}}}function Ye(i){let t;function e(a,s){if(a[10])return Re;if(!a[9])return Ve}let n=e(i),l=n&&n(i);return{c(){t=r.element("div"),l&&l.c()},m(a,s){r.insert(a,t,s),l&&l.m(t,null),i[28](t)},p(a,s){n===(n=e(a))&&l?l.p(a,s):(l&&l.d(1),l=n&&n(a),l&&(l.c(),l.m(t,null)))},i:r.noop,o:r.noop,d(a){a&&r.detach(t),l&&l.d(),i[28](null)}}}function Ge(i,t,e){let n;r.component_subscribe(i,r.$format,o=>e(11,n=o));let{endpoint:l=""}=t,{datasource:a=""}=t,{lang:s=""}=t,{translationurl:c=""}=t,{clientstyling:u=""}=t,{clientstylingurl:h=""}=t,{categoryid:d=""}=t,{addfilterselector:_="false"}=t,{addsortingselector:g="false"}=t,{filterbylogo:C="false"}=t,{mbsource:k}=t,{usesinglevendorfilter:m="false"}=t,x=!1,F=window.navigator.userAgent,v=[],p=[],E={},T=!1,M=0,W=!0,w,O=!1,H;ze({withLocale:"en",translations:{}});const I=()=>{fetch(c).then(f=>f.json()).then(f=>{Object.keys(f).forEach(b=>{ce(b,f[b])})}).catch(f=>{console.log(f)})};Object.keys(ue).forEach(o=>{ce(o,ue[o])}),E[d]&&(E={[d]:[]});const j=()=>{e(4,x=!x),window.postMessage({type:"FilterOpened"},window.location.href)},z=o=>(e(9,W=!0),new Promise((f,b)=>{fetch(o).then(y=>y.json()).then(y=>{y=y.items,f(y.items),e(6,p=[]);let K=JSON.parse(localStorage.getItem("vendorFiltersByCategory"));const Se=m==="true"?"*":d;y.forEach(q=>{var te;K||(K={currentCategoryId:[]}),((te=K[Se])==null?void 0:te.indexOf(q.id))>=0?(q.isFilterSelected=!0,p.push(q)):q.isFilterSelected=!1}),e(5,v=y),D()}).catch(y=>{console.error(y),e(10,O=!0),b(y)}).finally(()=>{e(9,W=!1)})})),B=o=>{let f=localStorage.getItem("vendorFiltersByCategory");o.isFilterSelected=!o.isFilterSelected,!p.length||p.filter(y=>y.name===o.name).length==0?p.push(o):e(6,p=p.filter(y=>y.name!==o.name));const b=m==="true"?"*":d;f==null?localStorage.setItem("vendorFiltersByCategory",JSON.stringify(E={[b]:p.map(y=>y.id)})):(f=JSON.parse(f),f[b]=p.map(y=>y.id),localStorage.setItem("vendorFiltersByCategory",JSON.stringify(f))),window.postMessage({type:"ApplyFilters",origin:"filters"},window.location.href),D()},D=()=>{e(7,T=p.length===v.length||p.length==0),e(8,M=p.length)},U=()=>{if(v.length&&m==="true")return;const o=new URL(`${l}/v1/casino/vendors`);e(4,x=!1),o.searchParams.append("fields","id,name,logo,subVendors,games"),o.searchParams.append("language",s),o.searchParams.append("datasource",a),o.searchParams.append("platform",Fe(F)),m==="true"||((d.match(/\$/g)||[]).length>1?(o.searchParams.append("filter",`games(subGroups=${d})`),o.searchParams.append("subVendors",`games(subGroups=${d})`)):o.searchParams.append("filter",`games(groups=${d})`)),z(o)},V=()=>{e(6,p=[]),localStorage.setItem("vendorFiltersByCategory",JSON.stringify(E={[m==="true"?"*":d]:p.map(o=>o.id)})),v.forEach(o=>o.isFilterSelected=!1),e(5,v),window.postMessage({type:"ApplyFilters"},window.location.href),e(7,T=!0),e(4,x=!1)},N=o=>{o.data.type=="SortingOpened"&&e(4,x=!1)};r.onMount(()=>(window.addEventListener("message",N,!1),()=>{window.emMessageBus!=null&&H&&H.unsubscribe(),window.removeEventListener("message",N)}));const J=()=>j();function R(o,f){o[f].isFilterSelected=this.checked,e(5,v)}const P=o=>B(o),A=()=>V();function S(o){r.binding_callbacks[o?"unshift":"push"](()=>{w=o,e(3,w)})}return i.$$set=o=>{"endpoint"in o&&e(15,l=o.endpoint),"datasource"in o&&e(16,a=o.datasource),"lang"in o&&e(17,s=o.lang),"translationurl"in o&&e(18,c=o.translationurl),"clientstyling"in o&&e(19,u=o.clientstyling),"clientstylingurl"in o&&e(20,h=o.clientstylingurl),"categoryid"in o&&e(21,d=o.categoryid),"addfilterselector"in o&&e(0,_=o.addfilterselector),"addsortingselector"in o&&e(1,g=o.addsortingselector),"filterbylogo"in o&&e(2,C=o.filterbylogo),"mbsource"in o&&e(22,k=o.mbsource),"usesinglevendorfilter"in o&&e(23,m=o.usesinglevendorfilter)},i.$$.update=()=>{i.$$.dirty[0]&2195460&&l&&a&&d&&C&&U(),i.$$.dirty[0]&524296&&u&&w&&r.setClientStyling(w,u),i.$$.dirty[0]&1048584&&h&&w&&r.setClientStylingURL(w,h),i.$$.dirty[0]&4194312&&w&&r.setStreamStyling(w,`${k}.Style`),i.$$.dirty[0]&262144&&c&&I()},[_,g,C,w,x,v,p,T,M,W,O,n,j,B,V,l,a,s,c,u,h,d,k,m,J,R,P,A,S]}class we extends r.SvelteComponent{constructor(t){super(),r.init(this,t,Ge,Ye,r.safe_not_equal,{endpoint:15,datasource:16,lang:17,translationurl:18,clientstyling:19,clientstylingurl:20,categoryid:21,addfilterselector:0,addsortingselector:1,filterbylogo:2,mbsource:22,usesinglevendorfilter:23},Ue,[-1,-1])}get endpoint(){return this.$$.ctx[15]}set endpoint(t){this.$$set({endpoint:t}),r.flush()}get datasource(){return this.$$.ctx[16]}set datasource(t){this.$$set({datasource:t}),r.flush()}get lang(){return this.$$.ctx[17]}set lang(t){this.$$set({lang:t}),r.flush()}get translationurl(){return this.$$.ctx[18]}set translationurl(t){this.$$set({translationurl:t}),r.flush()}get clientstyling(){return this.$$.ctx[19]}set clientstyling(t){this.$$set({clientstyling:t}),r.flush()}get clientstylingurl(){return this.$$.ctx[20]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),r.flush()}get categoryid(){return this.$$.ctx[21]}set categoryid(t){this.$$set({categoryid:t}),r.flush()}get addfilterselector(){return this.$$.ctx[0]}set addfilterselector(t){this.$$set({addfilterselector:t}),r.flush()}get addsortingselector(){return this.$$.ctx[1]}set addsortingselector(t){this.$$set({addsortingselector:t}),r.flush()}get filterbylogo(){return this.$$.ctx[2]}set filterbylogo(t){this.$$set({filterbylogo:t}),r.flush()}get mbsource(){return this.$$.ctx[22]}set mbsource(t){this.$$set({mbsource:t}),r.flush()}get usesinglevendorfilter(){return this.$$.ctx[23]}set usesinglevendorfilter(t){this.$$set({usesinglevendorfilter:t}),r.flush()}}r.create_custom_element(we,{endpoint:{},datasource:{},lang:{},translationurl:{},clientstyling:{},clientstylingurl:{},categoryid:{},addfilterselector:{},addsortingselector:{},filterbylogo:{},mbsource:{},usesinglevendorfilter:{}},[],[],!0);const Ze=Object.freeze(Object.defineProperty({__proto__:null,default:we},Symbol.toStringTag,{value:"Module"}));exports.CasinoFilter_ce=Ze;exports.getDevice=Fe;exports.isMobile=_e;exports.platformFavorite=We;
|