@everymatrix/casino-my-games-nd 1.87.26 → 1.87.27

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.
Files changed (46) hide show
  1. package/components/CasinoFavoritesSectionNd-B2O5ZJ7U.js +465 -0
  2. package/components/CasinoFavoritesSectionNd-C_IhNI6X.js +465 -0
  3. package/components/CasinoFavoritesSectionNd-Cdy5njPd.cjs +1 -0
  4. package/components/CasinoFilter-BHp-ceif.js +644 -0
  5. package/components/CasinoFilter-BxbOeQca.cjs +1 -0
  6. package/components/CasinoFilter-CZ5MibUb.js +645 -0
  7. package/components/CasinoGameThumbnailNd-CvwOiPVg.cjs +30 -0
  8. package/components/CasinoGameThumbnailNd-DF51S3O0.js +1825 -0
  9. package/components/CasinoGameThumbnailNd-DoWO2XT4.js +1841 -0
  10. package/components/CasinoGamesCategorySectionNd-BCRe5jM4.cjs +1 -0
  11. package/components/CasinoGamesCategorySectionNd-COK29j6T.js +4644 -0
  12. package/components/CasinoGamesCategorySectionNd-o6TspFsQ.js +4611 -0
  13. package/components/{CasinoLastPlayedSectionNd-BNqrgb0a.js → CasinoLastPlayedSectionNd-7Wrhf-Cs.js} +71 -72
  14. package/components/{CasinoLastPlayedSectionNd-BlqDt6rh.js → CasinoLastPlayedSectionNd-DLZwmT_F.js} +71 -72
  15. package/components/CasinoLastPlayedSectionNd-DZ6Cs4tA.cjs +1 -0
  16. package/components/CasinoMostPlayedSectionNd-D3f36lEH.cjs +1 -0
  17. package/components/{CasinoMostPlayedSectionNd-BBa-HSUH.js → CasinoMostPlayedSectionNd-DTY09L5X.js} +92 -93
  18. package/components/{CasinoMostPlayedSectionNd-cnY_XdFa.js → CasinoMostPlayedSectionNd-EUGxyFvb.js} +92 -93
  19. package/components/CasinoMyGamesNd-BpPfnub_.cjs +18 -0
  20. package/components/CasinoMyGamesNd-DXMMIiZf.js +5854 -0
  21. package/components/CasinoMyGamesNd-L5aDat7v.js +5811 -0
  22. package/components/{CasinoSort-1CGgZmtY.js → CasinoSort-Bt1yZsWS.js} +103 -103
  23. package/components/{CasinoSort-DnexQ1Yk.js → CasinoSort-CivOK-Iv.js} +102 -102
  24. package/components/CasinoSort-CxMfIVPn.cjs +1 -0
  25. package/es2015/casino-my-games-nd.cjs +1 -1
  26. package/es2015/casino-my-games-nd.js +7 -7
  27. package/esnext/casino-my-games-nd.js +1 -1
  28. package/package.json +1 -1
  29. package/components/CasinoFavoritesSectionNd-BeNK2H3t.cjs +0 -3
  30. package/components/CasinoFavoritesSectionNd-CW_9L0KX.js +0 -4402
  31. package/components/CasinoFavoritesSectionNd-Df7AsFyl.js +0 -4365
  32. package/components/CasinoFilter-B5ctcxIi.js +0 -1185
  33. package/components/CasinoFilter-BAF26Qks.cjs +0 -16
  34. package/components/CasinoFilter-CkDqcbsE.js +0 -1184
  35. package/components/CasinoGameThumbnailNd-BC4qO6Wv.cjs +0 -30
  36. package/components/CasinoGameThumbnailNd-Cf0yYAlm.js +0 -3122
  37. package/components/CasinoGameThumbnailNd-krS0hcHc.js +0 -3106
  38. package/components/CasinoGamesCategorySectionNd--26wgDSA.js +0 -3371
  39. package/components/CasinoGamesCategorySectionNd-CAPj_mei.cjs +0 -1
  40. package/components/CasinoGamesCategorySectionNd-CcHVOCjP.js +0 -3338
  41. package/components/CasinoLastPlayedSectionNd-BiN-eLjS.cjs +0 -1
  42. package/components/CasinoMostPlayedSectionNd-xhyYFecB.cjs +0 -1
  43. package/components/CasinoMyGamesNd-BuINvDGu.js +0 -1351
  44. package/components/CasinoMyGamesNd-CteUrSBV.js +0 -1350
  45. package/components/CasinoMyGamesNd-DOYU176c.cjs +0 -1
  46. package/components/CasinoSort-ChRHQzFr.cjs +0 -1
@@ -1,16 +0,0 @@
1
- "use strict";const n=require("./CasinoFavoritesSectionNd-BeNK2H3t.cjs");/*! *****************************************************************************
2
- Copyright (c) Microsoft Corporation.
3
-
4
- Permission to use, copy, modify, and/or distribute this software for any
5
- purpose with or without fee is hereby granted.
6
-
7
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
8
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
9
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
10
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
11
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
12
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
13
- PERFORMANCE OF THIS SOFTWARE.
14
- ***************************************************************************** */var Q=function(r,t){return Q=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,i){e.__proto__=i}||function(e,i){for(var l in i)Object.prototype.hasOwnProperty.call(i,l)&&(e[l]=i[l])},Q(r,t)};function R(r,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");Q(r,t);function e(){this.constructor=r}r.prototype=t===null?Object.create(t):(e.prototype=t.prototype,new e)}function $(r){var t=typeof Symbol=="function"&&Symbol.iterator,e=t&&r[t],i=0;if(e)return e.call(r);if(r&&typeof r.length=="number")return{next:function(){return r&&i>=r.length&&(r=void 0),{value:r&&r[i++],done:!r}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function ee(r,t){var e=typeof Symbol=="function"&&r[Symbol.iterator];if(!e)return r;var i=e.call(r),l,o=[],s;try{for(;(t===void 0||t-- >0)&&!(l=i.next()).done;)o.push(l.value)}catch(u){s={error:u}}finally{try{l&&!l.done&&(e=i.return)&&e.call(i)}finally{if(s)throw s.error}}return o}function te(r,t,e){if(arguments.length===2)for(var i=0,l=t.length,o;i<l;i++)(o||!(i in t))&&(o||(o=Array.prototype.slice.call(t,0,i)),o[i]=t[i]);return r.concat(o||t)}function O(r){return typeof r=="function"}function ge(r){var t=function(i){Error.call(i),i.stack=new Error().stack},e=r(t);return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}var X=ge(function(r){return function(e){r(this),this.message=e?e.length+` errors occurred during unsubscription:
15
- `+e.map(function(i,l){return l+1+") "+i.toString()}).join(`
16
- `):"",this.name="UnsubscriptionError",this.errors=e}});function re(r,t){if(r){var e=r.indexOf(t);0<=e&&r.splice(e,1)}}var K=function(){function r(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}return r.prototype.unsubscribe=function(){var t,e,i,l,o;if(!this.closed){this.closed=!0;var s=this._parentage;if(s)if(this._parentage=null,Array.isArray(s))try{for(var u=$(s),p=u.next();!p.done;p=u.next()){var m=p.value;m.remove(this)}}catch(g){t={error:g}}finally{try{p&&!p.done&&(e=u.return)&&e.call(u)}finally{if(t)throw t.error}}else s.remove(this);var f=this.initialTeardown;if(O(f))try{f()}catch(g){o=g instanceof X?g.errors:[g]}var _=this._finalizers;if(_){this._finalizers=null;try{for(var b=$(_),x=b.next();!x.done;x=b.next()){var C=x.value;try{le(C)}catch(g){o=o!=null?o:[],g instanceof X?o=te(te([],ee(o)),ee(g.errors)):o.push(g)}}}catch(g){i={error:g}}finally{try{x&&!x.done&&(l=b.return)&&l.call(b)}finally{if(i)throw i.error}}}if(o)throw new X(o)}},r.prototype.add=function(t){var e;if(t&&t!==this)if(this.closed)le(t);else{if(t instanceof r){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(e=this._finalizers)!==null&&e!==void 0?e:[]).push(t)}},r.prototype._hasParent=function(t){var e=this._parentage;return e===t||Array.isArray(e)&&e.includes(t)},r.prototype._addParent=function(t){var e=this._parentage;this._parentage=Array.isArray(e)?(e.push(t),e):e?[e,t]:t},r.prototype._removeParent=function(t){var e=this._parentage;e===t?this._parentage=null:Array.isArray(e)&&re(e,t)},r.prototype.remove=function(t){var e=this._finalizers;e&&re(e,t),t instanceof r&&t._removeParent(this)},r.EMPTY=function(){var t=new r;return t.closed=!0,t}(),r}(),be=K.EMPTY;function ve(r){return r instanceof K||r&&"closed"in r&&O(r.remove)&&O(r.add)&&O(r.unsubscribe)}function le(r){O(r)?r():r.unsubscribe()}var ke={Promise:void 0},Pe={setTimeout:function(r,t){for(var e=[],i=2;i<arguments.length;i++)e[i-2]=arguments[i];return setTimeout.apply(void 0,te([r,t],ee(e)))},clearTimeout:function(r){return clearTimeout(r)},delegate:void 0};function Ee(r){Pe.setTimeout(function(){throw r})}function oe(){}function Z(r){r()}var ye=function(r){R(t,r);function t(e){var i=r.call(this)||this;return i.isStopped=!1,e?(i.destination=e,ve(e)&&e.add(i)):i.destination=Le,i}return t.create=function(e,i,l){return new ie(e,i,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,r.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}(K),Oe=function(){function r(t){this.partialObserver=t}return r.prototype.next=function(t){var e=this.partialObserver;if(e.next)try{e.next(t)}catch(i){G(i)}},r.prototype.error=function(t){var e=this.partialObserver;if(e.error)try{e.error(t)}catch(i){G(i)}else G(t)},r.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(e){G(e)}},r}(),ie=function(r){R(t,r);function t(e,i,l){var o=r.call(this)||this,s;return O(e)||!e?s={next:e!=null?e:void 0,error:i!=null?i:void 0,complete:l!=null?l:void 0}:s=e,o.destination=new Oe(s),o}return t}(ye);function G(r){Ee(r)}function Ie(r){throw r}var Le={closed:!0,next:oe,error:Ie,complete:oe},Te=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function Ae(r){return r}function je(r){return r.length===0?Ae:r.length===1?r[0]:function(e){return r.reduce(function(i,l){return l(i)},e)}}var ae=function(){function r(t){t&&(this._subscribe=t)}return r.prototype.lift=function(t){var e=new r;return e.source=this,e.operator=t,e},r.prototype.subscribe=function(t,e,i){var l=this,o=Be(t)?t:new ie(t,e,i);return Z(function(){var s=l,u=s.operator,p=s.source;o.add(u?u.call(o,p):p?l._subscribe(o):l._trySubscribe(o))}),o},r.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},r.prototype.forEach=function(t,e){var i=this;return e=se(e),new e(function(l,o){var s=new ie({next:function(u){try{t(u)}catch(p){o(p),s.unsubscribe()}},error:o,complete:l});i.subscribe(s)})},r.prototype._subscribe=function(t){var e;return(e=this.source)===null||e===void 0?void 0:e.subscribe(t)},r.prototype[Te]=function(){return this},r.prototype.pipe=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return je(t)(this)},r.prototype.toPromise=function(t){var e=this;return t=se(t),new t(function(i,l){var o;e.subscribe(function(s){return o=s},function(s){return l(s)},function(){return i(o)})})},r.create=function(t){return new r(t)},r}();function se(r){var t;return(t=r!=null?r:ke.Promise)!==null&&t!==void 0?t:Promise}function Me(r){return r&&O(r.next)&&O(r.error)&&O(r.complete)}function Be(r){return r&&r instanceof ye||Me(r)&&ve(r)}var We=ge(function(r){return function(){r(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),_e=function(r){R(t,r);function t(){var e=r.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 i=new ce(this,this);return i.operator=e,i},t.prototype._throwIfClosed=function(){if(this.closed)throw new We},t.prototype.next=function(e){var i=this;Z(function(){var l,o;if(i._throwIfClosed(),!i.isStopped){i.currentObservers||(i.currentObservers=Array.from(i.observers));try{for(var s=$(i.currentObservers),u=s.next();!u.done;u=s.next()){var p=u.value;p.next(e)}}catch(m){l={error:m}}finally{try{u&&!u.done&&(o=s.return)&&o.call(s)}finally{if(l)throw l.error}}}})},t.prototype.error=function(e){var i=this;Z(function(){if(i._throwIfClosed(),!i.isStopped){i.hasError=i.isStopped=!0,i.thrownError=e;for(var l=i.observers;l.length;)l.shift().error(e)}})},t.prototype.complete=function(){var e=this;Z(function(){if(e._throwIfClosed(),!e.isStopped){e.isStopped=!0;for(var i=e.observers;i.length;)i.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(),r.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 i=this,l=this,o=l.hasError,s=l.isStopped,u=l.observers;return o||s?be:(this.currentObservers=null,u.push(e),new K(function(){i.currentObservers=null,re(u,e)}))},t.prototype._checkFinalizedStatuses=function(e){var i=this,l=i.hasError,o=i.thrownError,s=i.isStopped;l?e.error(o):s&&e.complete()},t.prototype.asObservable=function(){var e=new ae;return e.source=this,e},t.create=function(e,i){return new ce(e,i)},t}(ae),ce=function(r){R(t,r);function t(e,i){var l=r.call(this)||this;return l.destination=e,l.source=i,l}return t.prototype.next=function(e){var i,l;(l=(i=this.destination)===null||i===void 0?void 0:i.next)===null||l===void 0||l.call(i,e)},t.prototype.error=function(e){var i,l;(l=(i=this.destination)===null||i===void 0?void 0:i.error)===null||l===void 0||l.call(i,e)},t.prototype.complete=function(){var e,i;(i=(e=this.destination)===null||e===void 0?void 0:e.complete)===null||i===void 0||i.call(e)},t.prototype._subscribe=function(e){var i,l;return(l=(i=this.source)===null||i===void 0?void 0:i.subscribe(e))!==null&&l!==void 0?l:be},t}(_e),we={now:function(){return(we.delegate||Date).now()},delegate:void 0},ze=function(r){R(t,r);function t(e,i,l){e===void 0&&(e=1/0),i===void 0&&(i=1/0),l===void 0&&(l=we);var o=r.call(this)||this;return o._bufferSize=e,o._windowTime=i,o._timestampProvider=l,o._buffer=[],o._infiniteTimeWindow=!0,o._infiniteTimeWindow=i===1/0,o._bufferSize=Math.max(1,e),o._windowTime=Math.max(1,i),o}return t.prototype.next=function(e){var i=this,l=i.isStopped,o=i._buffer,s=i._infiniteTimeWindow,u=i._timestampProvider,p=i._windowTime;l||(o.push(e),!s&&o.push(u.now()+p)),this._trimBuffer(),r.prototype.next.call(this,e)},t.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var i=this._innerSubscribe(e),l=this,o=l._infiniteTimeWindow,s=l._buffer,u=s.slice(),p=0;p<u.length&&!e.closed;p+=o?1:2)e.next(u[p]);return this._checkFinalizedStatuses(e),i},t.prototype._trimBuffer=function(){var e=this,i=e._bufferSize,l=e._timestampProvider,o=e._buffer,s=e._infiniteTimeWindow,u=(s?1:2)*i;if(i<1/0&&u<o.length&&o.splice(0,o.length-u),!s){for(var p=l.now(),m=0,f=1;f<o.length&&o[f]<=p;f+=2)m=f;m&&o.splice(0,m+1)}},t}(_e);const ue=[],pe={},De=(r,t=0)=>{if(ue.indexOf(r)==-1){const e=new ze(t);pe[r]=e,ue.push(r)}return pe[r]};window.emWidgets={topic:De};const Fe=r=>!!(r.toLowerCase().match(/android/i)||r.toLowerCase().match(/blackberry|bb/i)||r.toLowerCase().match(/iphone|ipad|ipod/i)||r.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)),Se=r=>r.toLowerCase().match(/android/i)?"Android":r.toLowerCase().match(/iphone/i)?"iPhone":r.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC";function Ne(r,t){const e=window.navigator.userAgent;return Fe(e)?t=r.filter(i=>{if(i.gameModel&&(i.gameModel.platform.includes("iPad")||i.gameModel.platform.includes("iPhone")||i.gameModel.platform.includes("Android")))return i}):t=r.filter(i=>{if(i.gameModel&&i.gameModel.platform.includes("PC"))return i}),t}String(Number.MAX_SAFE_INTEGER).length;function Ue({withLocale:r,translations:t}){n.$locale.subscribe(e=>{e==null&&(n.$dictionary.set(t),n.$locale.set(r))})}function de(r,t){n.addMessages(r,t)}const fe={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 Ve(r){n.append_styles(r,"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 he(r,t,e){const i=r.slice();return i[37]=t[e],i[38]=t,i[39]=e,i}function Re(r){let t,e,i,l,o,s,u,p,m=r[11]("filterby")+"",f,_,b,x,C=r[11]("providers")+"",g,S,w,v,h,P,I,A,W,F,L,H,E,j=r[11]("clear")+"",z,M,D,B,N,J;function q(c,y){return c[7]?qe:Je}let U=q(r),k=U(r),T=n.ensure_array_like(r[5]),a=[];for(let c=0;c<T.length;c+=1)a[c]=me(he(r,T,c));return{c(){t=n.element("div"),e=n.element("div"),i=n.element("div"),l=n.svg_element("svg"),o=n.svg_element("path"),s=n.space(),u=n.element("div"),p=n.element("span"),f=n.text(m),_=n.space(),b=n.element("div"),x=n.element("span"),g=n.text(C),S=n.space(),k.c(),w=n.space(),v=n.element("span"),h=n.svg_element("svg"),P=n.svg_element("path"),W=n.space(),F=n.element("div"),L=n.element("ul");for(let c=0;c<a.length;c+=1)a[c].c();H=n.space(),E=n.element("button"),z=n.text(j),n.attr(o,"id","noun_filter_736223"),n.attr(o,"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"),n.attr(o,"transform","translate(-5 -6.2)"),n.attr(o,"fill","#fff"),n.attr(l,"xmlns","http://www.w3.org/2000/svg"),n.attr(l,"width","16"),n.attr(l,"height","16"),n.attr(l,"viewBox","0 0 16 16"),n.attr(p,"class","FilterName"),n.attr(b,"class","FilterValueContainer"),n.attr(u,"class","FilterTextContainer"),n.attr(i,"class","FilterMainArea"),n.attr(P,"id","arrow"),n.attr(P,"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"),n.attr(P,"transform","translate(-274.511 -441.088)"),n.attr(P,"fill","#d1d1d1"),n.attr(h,"xmlns","http://www.w3.org/2000/svg"),n.attr(h,"width","14"),n.attr(h,"height","6.835"),n.attr(h,"viewBox","0 0 14 6.835"),n.attr(v,"class",I="TriangleInactive "+(r[4]?"TriangleActive":"")),n.attr(e,"class",A="FilterSelector "+(r[4]?"FilterSelectorOpen":"")),n.attr(L,"class","FilterDropdown"),n.attr(E,"class","ClearFilters"),E.disabled=M=r[7]&&r[6].length!=r[5].length,n.attr(F,"class",D="FilterDropdownContainer "+(r[4]?"FilterOpen":"")),n.attr(t,"class",B="FilterContainer "+(r[0]=="true"&&r[1]=="true"?"FilerContainerSplit":""))},m(c,y){n.insert(c,t,y),n.append(t,e),n.append(e,i),n.append(i,l),n.append(l,o),n.append(i,s),n.append(i,u),n.append(u,p),n.append(p,f),n.append(u,_),n.append(u,b),n.append(b,x),n.append(x,g),n.append(b,S),k.m(b,null),n.append(e,w),n.append(e,v),n.append(v,h),n.append(h,P),n.append(t,W),n.append(t,F),n.append(F,L);for(let d=0;d<a.length;d+=1)a[d]&&a[d].m(L,null);n.append(F,H),n.append(F,E),n.append(E,z),N||(J=[n.listen(e,"click",r[24]),n.listen(E,"click",r[27])],N=!0)},p(c,y){if(y[0]&2048&&m!==(m=c[11]("filterby")+"")&&n.set_data(f,m),y[0]&2048&&C!==(C=c[11]("providers")+"")&&n.set_data(g,C),U===(U=q(c))&&k?k.p(c,y):(k.d(1),k=U(c),k&&(k.c(),k.m(b,null))),y[0]&16&&I!==(I="TriangleInactive "+(c[4]?"TriangleActive":""))&&n.attr(v,"class",I),y[0]&16&&A!==(A="FilterSelector "+(c[4]?"FilterSelectorOpen":""))&&n.attr(e,"class",A),y[0]&8228){T=n.ensure_array_like(c[5]);let d;for(d=0;d<T.length;d+=1){const V=he(c,T,d);a[d]?a[d].p(V,y):(a[d]=me(V),a[d].c(),a[d].m(L,null))}for(;d<a.length;d+=1)a[d].d(1);a.length=T.length}y[0]&2048&&j!==(j=c[11]("clear")+"")&&n.set_data(z,j),y[0]&224&&M!==(M=c[7]&&c[6].length!=c[5].length)&&(E.disabled=M),y[0]&16&&D!==(D="FilterDropdownContainer "+(c[4]?"FilterOpen":""))&&n.attr(F,"class",D),y[0]&3&&B!==(B="FilterContainer "+(c[0]=="true"&&c[1]=="true"?"FilerContainerSplit":""))&&n.attr(t,"class",B)},d(c){c&&n.detach(t),k.d(),n.destroy_each(a,c),N=!1,n.run_all(J)}}}function He(r){let t,e=r[11]("500")+"";return{c(){t=n.element("p"),n.attr(t,"class","SearchLoading")},m(i,l){n.insert(i,t,l),t.innerHTML=e},p(i,l){l[0]&2048&&e!==(e=i[11]("500")+"")&&(t.innerHTML=e)},d(i){i&&n.detach(t)}}}function Je(r){let t,e;return{c(){t=n.element("span"),e=n.text(r[8]),n.attr(t,"class","FilterCounter")},m(i,l){n.insert(i,t,l),n.append(t,e)},p(i,l){l[0]&256&&n.set_data(e,i[8])},d(i){i&&n.detach(t)}}}function qe(r){let t,e=r[11]("all")+"",i;return{c(){t=n.element("span"),i=n.text(e),n.attr(t,"class","FilterCounter")},m(l,o){n.insert(l,t,o),n.append(t,i)},p(l,o){o[0]&2048&&e!==(e=l[11]("all")+"")&&n.set_data(i,e)},d(l){l&&n.detach(t)}}}function Ye(r){let t,e;return{c(){t=n.element("img"),n.src_url_equal(t.src,e=r[37].logo)||n.attr(t,"src",e),n.attr(t,"alt","vendor logo")},m(i,l){n.insert(i,t,l)},p(i,l){l[0]&32&&!n.src_url_equal(t.src,e=i[37].logo)&&n.attr(t,"src",e)},d(i){i&&n.detach(t)}}}function Ge(r){let t,e,i=r[37].name+"",l,o,s,u,p=r[37].games.total+"",m,f;return{c(){t=n.element("div"),e=n.element("span"),l=n.text(i),o=n.space(),s=n.element("span"),u=n.text("("),m=n.text(p),f=n.text(")"),n.attr(e,"class","VendorName"),n.attr(t,"class","FilterItemLabel")},m(_,b){n.insert(_,t,b),n.append(t,e),n.append(e,l),n.append(t,o),n.append(t,s),n.append(s,u),n.append(s,m),n.append(s,f)},p(_,b){b[0]&32&&i!==(i=_[37].name+"")&&n.set_data(l,i),b[0]&32&&p!==(p=_[37].games.total+"")&&n.set_data(m,p)},d(_){_&&n.detach(t)}}}function me(r){let t,e,i,l,o,s,u,p,m,f,_,b;function x(){r[25].call(i,r[38],r[39])}function C(){return r[26](r[37])}function g(v,h){if(v[2]==="false")return Ge;if(v[2]==="true")return Ye}let S=g(r),w=S&&S(r);return{c(){t=n.element("li"),e=n.element("label"),i=n.element("input"),o=n.space(),s=n.element("span"),u=n.space(),w&&w.c(),p=n.space(),n.attr(i,"type","checkbox"),n.attr(i,"name","checkbox"),i.__value=l=r[37].name,n.set_input_value(i,i.__value),n.attr(s,"class","FiltersCheckmark"),n.attr(e,"class","FilterLabel"),n.attr(t,"class",m="FilterItem "+(r[2]==="true"?"FilterItemWithLogos":"")),t.value=f=r[37].name},m(v,h){n.insert(v,t,h),n.append(t,e),n.append(e,i),i.checked=r[37].isFilterSelected,n.append(e,o),n.append(e,s),n.append(e,u),w&&w.m(e,null),n.append(t,p),_||(b=[n.listen(i,"change",x),n.listen(i,"click",C)],_=!0)},p(v,h){r=v,h[0]&32&&l!==(l=r[37].name)&&(i.__value=l,n.set_input_value(i,i.__value)),h[0]&32&&(i.checked=r[37].isFilterSelected),S===(S=g(r))&&w?w.p(r,h):(w&&w.d(1),w=S&&S(r),w&&(w.c(),w.m(e,null))),h[0]&4&&m!==(m="FilterItem "+(r[2]==="true"?"FilterItemWithLogos":""))&&n.attr(t,"class",m),h[0]&32&&f!==(f=r[37].name)&&(t.value=f)},d(v){v&&n.detach(t),w&&w.d(),_=!1,n.run_all(b)}}}function Ze(r){let t;function e(o,s){if(o[10])return He;if(!o[9])return Re}let i=e(r),l=i&&i(r);return{c(){t=n.element("div"),l&&l.c()},m(o,s){n.insert(o,t,s),l&&l.m(t,null),r[28](t)},p(o,s){i===(i=e(o))&&l?l.p(o,s):(l&&l.d(1),l=i&&i(o),l&&(l.c(),l.m(t,null)))},i:n.noop,o:n.noop,d(o){o&&n.detach(t),l&&l.d(),r[28](null)}}}function Ke(r,t,e){let i;n.component_subscribe(r,n.$format,a=>e(11,i=a));let{endpoint:l=""}=t,{datasource:o=""}=t,{lang:s=""}=t,{translationurl:u=""}=t,{clientstyling:p=""}=t,{clientstylingurl:m=""}=t,{categoryid:f=""}=t,{addfilterselector:_="false"}=t,{addsortingselector:b="false"}=t,{filterbylogo:x="false"}=t,{mbsource:C}=t,{usesinglevendorfilter:g="false"}=t,S=!1,w=window.navigator.userAgent,v=[],h=[],P={},I=!1,A=0,W=!0,F,L=!1;Ue({withLocale:"en",translations:{}});const H=()=>{fetch(u).then(c=>c.json()).then(c=>{Object.keys(c).forEach(y=>{de(y,c[y])})}).catch(c=>{console.log(c)})};Object.keys(fe).forEach(a=>{de(a,fe[a])}),P[f]&&(P={[f]:[]});const E=()=>{e(4,S=!S),window.postMessage({type:"FilterOpened"},window.location.href)},j=a=>(e(9,W=!0),new Promise((c,y)=>{fetch(a).then(d=>d.json()).then(d=>{d=d.items,c(d.items),e(6,h=[]);let V=JSON.parse(localStorage.getItem("vendorFiltersByCategory"));const Ce=g==="true"?"*":f;d.forEach(Y=>{var ne;V||(V={currentCategoryId:[]}),((ne=V[Ce])==null?void 0:ne.indexOf(Y.id))>=0?(Y.isFilterSelected=!0,h.push(Y)):Y.isFilterSelected=!1}),e(5,v=d),M()}).catch(d=>{console.error(d),e(10,L=!0),y(d)}).finally(()=>{e(9,W=!1)})})),z=a=>{let c=localStorage.getItem("vendorFiltersByCategory");a.isFilterSelected=!a.isFilterSelected,!h.length||h.filter(d=>d.name===a.name).length==0?h.push(a):e(6,h=h.filter(d=>d.name!==a.name));const y=g==="true"?"*":f;c==null?localStorage.setItem("vendorFiltersByCategory",JSON.stringify(P={[y]:h.map(d=>d.id)})):(c=JSON.parse(c),c[y]=h.map(d=>d.id),localStorage.setItem("vendorFiltersByCategory",JSON.stringify(c))),window.postMessage({type:"ApplyFilters",origin:"filters"},window.location.href),M()},M=()=>{e(7,I=h.length===v.length||h.length==0),e(8,A=h.length)},D=()=>{if(v.length&&g==="true")return;const a=new URL(`${l}/v1/casino/vendors`);e(4,S=!1),a.searchParams.append("fields","id,name,logo,subVendors,games"),a.searchParams.append("language",s),a.searchParams.append("datasource",o),a.searchParams.append("platform",Se(w)),g==="true"||((f.match(/\$/g)||[]).length>1?(a.searchParams.append("filter",`games(subGroups=${f})`),a.searchParams.append("subVendors",`games(subGroups=${f})`)):a.searchParams.append("filter",`games(groups=${f})`)),j(a)},B=()=>{e(6,h=[]),localStorage.setItem("vendorFiltersByCategory",JSON.stringify(P={[g==="true"?"*":f]:h.map(a=>a.id)})),v.forEach(a=>a.isFilterSelected=!1),e(5,v),window.postMessage({type:"ApplyFilters"},window.location.href),e(7,I=!0),e(4,S=!1)},N=a=>{a.data.type=="SortingOpened"&&e(4,S=!1)};n.onMount(()=>(window.addEventListener("message",N,!1),()=>{window.removeEventListener("message",N)}));const J=()=>E();function q(a,c){a[c].isFilterSelected=this.checked,e(5,v)}const U=a=>z(a),k=()=>B();function T(a){n.binding_callbacks[a?"unshift":"push"](()=>{F=a,e(3,F)})}return r.$$set=a=>{"endpoint"in a&&e(15,l=a.endpoint),"datasource"in a&&e(16,o=a.datasource),"lang"in a&&e(17,s=a.lang),"translationurl"in a&&e(18,u=a.translationurl),"clientstyling"in a&&e(19,p=a.clientstyling),"clientstylingurl"in a&&e(20,m=a.clientstylingurl),"categoryid"in a&&e(21,f=a.categoryid),"addfilterselector"in a&&e(0,_=a.addfilterselector),"addsortingselector"in a&&e(1,b=a.addsortingselector),"filterbylogo"in a&&e(2,x=a.filterbylogo),"mbsource"in a&&e(22,C=a.mbsource),"usesinglevendorfilter"in a&&e(23,g=a.usesinglevendorfilter)},r.$$.update=()=>{r.$$.dirty[0]&2195460&&l&&o&&f&&x&&D(),r.$$.dirty[0]&524296&&p&&F&&n.setClientStyling(F,p),r.$$.dirty[0]&1048584&&m&&F&&n.setClientStylingURL(F,m),r.$$.dirty[0]&4194312&&F&&n.setStreamStyling(F,`${C}.Style`),r.$$.dirty[0]&262144&&u&&H()},[_,b,x,F,S,v,h,I,A,W,L,i,E,z,B,l,o,s,u,p,m,f,C,g,J,q,U,k,T]}class xe extends n.SvelteComponent{constructor(t){super(),n.init(this,t,Ke,Ze,n.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},Ve,[-1,-1])}get endpoint(){return this.$$.ctx[15]}set endpoint(t){this.$$set({endpoint:t}),n.flush()}get datasource(){return this.$$.ctx[16]}set datasource(t){this.$$set({datasource:t}),n.flush()}get lang(){return this.$$.ctx[17]}set lang(t){this.$$set({lang:t}),n.flush()}get translationurl(){return this.$$.ctx[18]}set translationurl(t){this.$$set({translationurl:t}),n.flush()}get clientstyling(){return this.$$.ctx[19]}set clientstyling(t){this.$$set({clientstyling:t}),n.flush()}get clientstylingurl(){return this.$$.ctx[20]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),n.flush()}get categoryid(){return this.$$.ctx[21]}set categoryid(t){this.$$set({categoryid:t}),n.flush()}get addfilterselector(){return this.$$.ctx[0]}set addfilterselector(t){this.$$set({addfilterselector:t}),n.flush()}get addsortingselector(){return this.$$.ctx[1]}set addsortingselector(t){this.$$set({addsortingselector:t}),n.flush()}get filterbylogo(){return this.$$.ctx[2]}set filterbylogo(t){this.$$set({filterbylogo:t}),n.flush()}get mbsource(){return this.$$.ctx[22]}set mbsource(t){this.$$set({mbsource:t}),n.flush()}get usesinglevendorfilter(){return this.$$.ctx[23]}set usesinglevendorfilter(t){this.$$set({usesinglevendorfilter:t}),n.flush()}}n.create_custom_element(xe,{endpoint:{},datasource:{},lang:{},translationurl:{},clientstyling:{},clientstylingurl:{},categoryid:{},addfilterselector:{},addsortingselector:{},filterbylogo:{},mbsource:{},usesinglevendorfilter:{}},[],[],!0);const Xe=Object.freeze(Object.defineProperty({__proto__:null,default:xe},Symbol.toStringTag,{value:"Module"}));exports.CasinoFilter_ce=Xe;exports.getDevice=Se;exports.isMobile=Fe;exports.platformFavorite=Ne;