@everymatrix/casino-search 1.88.5 → 1.88.7

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.
@@ -1,4 +1,4 @@
1
- "use strict";var Ka=(e,t,a)=>new Promise((n,r)=>{var i=d=>{try{l(a.next(d))}catch(m){r(m)}},o=d=>{try{l(a.throw(d))}catch(m){r(m)}},l=d=>d.done?n(d.value):Promise.resolve(d.value).then(i,o);l((a=a.apply(e,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./CasinoSearch-wy-jATkm.cjs");require("../stencil/ui-image-BX-FBhad.cjs");function Or(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}//! moment.js
1
+ "use strict";var Ka=(e,t,a)=>new Promise((n,r)=>{var i=d=>{try{l(a.next(d))}catch(m){r(m)}},o=d=>{try{l(a.throw(d))}catch(m){r(m)}},l=d=>d.done?n(d.value):Promise.resolve(d.value).then(i,o);l((a=a.apply(e,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./CasinoSearch-DPcvWdoQ.cjs");require("../stencil/ui-image-BX-FBhad.cjs");function Or(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}//! moment.js
2
2
  //! version : 2.29.4
3
3
  //! authors : Tim Wood, Iskren Chernev, Moment.js contributors
4
4
  //! license : MIT
@@ -14,7 +14,7 @@ var hn = (e, t, a) => new Promise((n, r) => {
14
14
  }, o = (u) => u.done ? n(u.value) : Promise.resolve(u.value).then(i, s);
15
15
  o((a = a.apply(e, t)).next());
16
16
  });
17
- import { a as Jr, $ as qr, S as Xr, i as Qr, s as $r, f as L, b as ei, n as yt, d as H, c as mn, e as tt, g as Te, h as S, t as gn, j as B, k as b, l as T, m as V, o as Re, p as ti, q as ai, r as Ia, u as kt, v as fe, w as ni, x as pa, H as xe, y as Pt, z as Nn, A as ht, B as _a, C as ri, D as ii, E as si, F as oi, G as li } from "./CasinoSearch-D9sRQX9E.js";
17
+ import { a as Jr, $ as qr, S as Xr, i as Qr, s as $r, f as L, b as ei, n as yt, d as H, c as mn, e as tt, g as Te, h as S, t as gn, j as B, k as b, l as T, m as V, o as Re, p as ti, q as ai, r as Ia, u as kt, v as fe, w as ni, x as pa, H as xe, y as Pt, z as Nn, A as ht, B as _a, C as ri, D as ii, E as si, F as oi, G as li } from "./CasinoSearch-CCHaKGsz.js";
18
18
  import "../stencil/ui-image-CP8Lp7fB.js";
19
19
  function ui(e) {
20
20
  throw new Error('Could not dynamically require "' + e + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
@@ -1,4 +1,4 @@
1
- import { a as Kr, $ as Jr, S as qr, i as Xr, f as L, s as Qr, c as $r, b as ei, n as yt, d as H, e as hn, g as tt, h as Te, j as S, t as mn, k as B, l as b, m as T, o as V, p as Re, q as ti, r as ai, u as Ia, v as kt, w as fe, x as ni, y as pa, H as xe, z as Pt, A as xn, B as ht, C as _a, D as ri, E as ii, F as si, G as oi } from "./CasinoSearch-B3CJn6Nd.js";
1
+ import { a as Kr, $ as Jr, S as qr, i as Xr, f as L, s as Qr, c as $r, b as ei, n as yt, d as H, e as hn, g as tt, h as Te, j as S, t as mn, k as B, l as b, m as T, o as V, p as Re, q as ti, r as ai, u as Ia, v as kt, w as fe, x as ni, y as pa, H as xe, z as Pt, A as xn, B as ht, C as _a, D as ri, E as ii, F as si, G as oi } from "./CasinoSearch-BNm3Msnp.js";
2
2
  import "../stencil/ui-image-Ch-GHki1.js";
3
3
  function li(e) {
4
4
  throw new Error('Could not dynamically require "' + e + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
@@ -4549,7 +4549,7 @@ function Vo(e, t) {
4549
4549
  if (!e)
4550
4550
  return;
4551
4551
  const n = e.getRootNode(), i = window[ae];
4552
- let o = i[t]?.sheet;
4552
+ let o = i[t] && i[t].sheet;
4553
4553
  o ? i[t].refCount = i[t].refCount + 1 : (o = new CSSStyleSheet(), o.replaceSync(r), i[t] = {
4554
4554
  sheet: o,
4555
4555
  refCount: 1
@@ -4575,7 +4575,7 @@ if (typeof window < "u") {
4575
4575
  }
4576
4576
  };
4577
4577
  };
4578
- customElements.define = e(customElements.define), import("./CasinoGameThumbnail-Bdu36uJx.js").then(({ default: t }) => {
4578
+ customElements.define = e(customElements.define), import("./CasinoGameThumbnail-Bi5AHHzj.js").then(({ default: t }) => {
4579
4579
  !customElements.get("casino-game-thumbnail") && customElements.define("casino-game-thumbnail", t.element);
4580
4580
  });
4581
4581
  }
@@ -4583,11 +4583,10 @@ function ta(e, t) {
4583
4583
  }
4584
4584
  function ra(e, t) {
4585
4585
  return window.emMessageBus.subscribe(t, (r) => {
4586
- var s;
4587
4586
  if (!e)
4588
4587
  return;
4589
4588
  const n = e.getRootNode(), i = window[se];
4590
- let o = (s = i[t]) == null ? void 0 : s.sheet;
4589
+ let o = i[t] && i[t].sheet;
4591
4590
  o ? i[t].refCount = i[t].refCount + 1 : (o = new CSSStyleSheet(), o.replaceSync(r), i[t] = {
4592
4591
  sheet: o,
4593
4592
  refCount: 1
@@ -4613,7 +4612,7 @@ if (typeof window != "undefined") {
4613
4612
  }
4614
4613
  };
4615
4614
  };
4616
- customElements.define = e(customElements.define), import("./CasinoGameThumbnail-vQF-xaHk.js").then(({ default: t }) => {
4615
+ customElements.define = e(customElements.define), import("./CasinoGameThumbnail-Be9Kkkrr.js").then(({ default: t }) => {
4617
4616
  !customElements.get("casino-game-thumbnail") && customElements.define("casino-game-thumbnail", t.element);
4618
4617
  });
4619
4618
  }
@@ -15,4 +15,4 @@ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
15
15
  PERFORMANCE OF THIS SOFTWARE.
16
16
  ***************************************************************************** */var _t=function(e,t){return _t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(r[i]=n[i])},_t(e,t)};function Ae(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");_t(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}function St(e){var t=typeof Symbol=="function"&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function Et(e,t){var r=typeof Symbol=="function"&&e[Symbol.iterator];if(!r)return e;var n=r.call(e),i,o=[],a;try{for(;(t===void 0||t-- >0)&&!(i=n.next()).done;)o.push(i.value)}catch(s){a={error:s}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(a)throw a.error}}return o}function xt(e,t,r){if(arguments.length===2)for(var n=0,i=t.length,o;n<i;n++)(o||!(n in t))&&(o||(o=Array.prototype.slice.call(t,0,n)),o[n]=t[n]);return e.concat(o||t)}function Q(e){return typeof e=="function"}function an(e){var t=function(n){Error.call(n),n.stack=new Error().stack},r=e(t);return r.prototype=Object.create(Error.prototype),r.prototype.constructor=r,r}var st=an(function(e){return function(r){e(this),this.message=r?r.length+` errors occurred during unsubscription:
17
17
  `+r.map(function(n,i){return i+1+") "+n.toString()}).join(`
18
- `):"",this.name="UnsubscriptionError",this.errors=r}});function wt(e,t){if(e){var r=e.indexOf(t);0<=r&&e.splice(r,1)}}var Ze=function(){function e(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}return e.prototype.unsubscribe=function(){var t,r,n,i,o;if(!this.closed){this.closed=!0;var a=this._parentage;if(a)if(this._parentage=null,Array.isArray(a))try{for(var s=St(a),u=s.next();!u.done;u=s.next()){var l=u.value;l.remove(this)}}catch(y){t={error:y}}finally{try{u&&!u.done&&(r=s.return)&&r.call(s)}finally{if(t)throw t.error}}else a.remove(this);var h=this.initialTeardown;if(Q(h))try{h()}catch(y){o=y instanceof st?y.errors:[y]}var c=this._finalizers;if(c){this._finalizers=null;try{for(var d=St(c),m=d.next();!m.done;m=d.next()){var p=m.value;try{ar(p)}catch(y){o=o!=null?o:[],y instanceof st?o=xt(xt([],Et(o)),Et(y.errors)):o.push(y)}}}catch(y){n={error:y}}finally{try{m&&!m.done&&(i=d.return)&&i.call(d)}finally{if(n)throw n.error}}}if(o)throw new st(o)}},e.prototype.add=function(t){var r;if(t&&t!==this)if(this.closed)ar(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(r=this._finalizers)!==null&&r!==void 0?r:[]).push(t)}},e.prototype._hasParent=function(t){var r=this._parentage;return r===t||Array.isArray(r)&&r.includes(t)},e.prototype._addParent=function(t){var r=this._parentage;this._parentage=Array.isArray(r)?(r.push(t),r):r?[r,t]:t},e.prototype._removeParent=function(t){var r=this._parentage;r===t?this._parentage=null:Array.isArray(r)&&wt(r,t)},e.prototype.remove=function(t){var r=this._finalizers;r&&wt(r,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}(),sn=Ze.EMPTY;function un(e){return e instanceof Ze||e&&"closed"in e&&Q(e.remove)&&Q(e.add)&&Q(e.unsubscribe)}function ar(e){Q(e)?e():e.unsubscribe()}var zo={Promise:void 0},Wo={setTimeout:function(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];return setTimeout.apply(void 0,xt([e,t],Et(r)))},clearTimeout:function(e){return clearTimeout(e)},delegate:void 0};function Xo(e){Wo.setTimeout(function(){throw e})}function sr(){}function Ge(e){e()}var ln=function(e){Ae(t,e);function t(r){var n=e.call(this)||this;return n.isStopped=!1,r?(n.destination=r,un(r)&&r.add(n)):n.destination=Jo,n}return t.create=function(r,n,i){return new Tt(r,n,i)},t.prototype.next=function(r){this.isStopped||this._next(r)},t.prototype.error=function(r){this.isStopped||(this.isStopped=!0,this._error(r))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(r){this.destination.next(r)},t.prototype._error=function(r){try{this.destination.error(r)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(Ze),qo=function(){function e(t){this.partialObserver=t}return e.prototype.next=function(t){var r=this.partialObserver;if(r.next)try{r.next(t)}catch(n){Ne(n)}},e.prototype.error=function(t){var r=this.partialObserver;if(r.error)try{r.error(t)}catch(n){Ne(n)}else Ne(t)},e.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(r){Ne(r)}},e}(),Tt=function(e){Ae(t,e);function t(r,n,i){var o=e.call(this)||this,a;return Q(r)||!r?a={next:r!=null?r:void 0,error:n!=null?n:void 0,complete:i!=null?i:void 0}:a=r,o.destination=new qo(a),o}return t}(ln);function Ne(e){Xo(e)}function Zo(e){throw e}var Jo={closed:!0,next:sr,error:Zo,complete:sr},Yo=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function Qo(e){return e}function Ko(e){return e.length===0?Qo:e.length===1?e[0]:function(r){return e.reduce(function(n,i){return i(n)},r)}}var ur=function(){function e(t){t&&(this._subscribe=t)}return e.prototype.lift=function(t){var r=new e;return r.source=this,r.operator=t,r},e.prototype.subscribe=function(t,r,n){var i=this,o=ta(t)?t:new Tt(t,r,n);return Ge(function(){var a=i,s=a.operator,u=a.source;o.add(s?s.call(o,u):u?i._subscribe(o):i._trySubscribe(o))}),o},e.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(r){t.error(r)}},e.prototype.forEach=function(t,r){var n=this;return r=lr(r),new r(function(i,o){var a=new Tt({next:function(s){try{t(s)}catch(u){o(u),a.unsubscribe()}},error:o,complete:i});n.subscribe(a)})},e.prototype._subscribe=function(t){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(t)},e.prototype[Yo]=function(){return this},e.prototype.pipe=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return Ko(t)(this)},e.prototype.toPromise=function(t){var r=this;return t=lr(t),new t(function(n,i){var o;r.subscribe(function(a){return o=a},function(a){return i(a)},function(){return n(o)})})},e.create=function(t){return new e(t)},e}();function lr(e){var t;return(t=e!=null?e:zo.Promise)!==null&&t!==void 0?t:Promise}function ea(e){return e&&Q(e.next)&&Q(e.error)&&Q(e.complete)}function ta(e){return e&&e instanceof ln||ea(e)&&un(e)}var ra=an(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),hn=function(e){Ae(t,e);function t(){var r=e.call(this)||this;return r.closed=!1,r.currentObservers=null,r.observers=[],r.isStopped=!1,r.hasError=!1,r.thrownError=null,r}return t.prototype.lift=function(r){var n=new hr(this,this);return n.operator=r,n},t.prototype._throwIfClosed=function(){if(this.closed)throw new ra},t.prototype.next=function(r){var n=this;Ge(function(){var i,o;if(n._throwIfClosed(),!n.isStopped){n.currentObservers||(n.currentObservers=Array.from(n.observers));try{for(var a=St(n.currentObservers),s=a.next();!s.done;s=a.next()){var u=s.value;u.next(r)}}catch(l){i={error:l}}finally{try{s&&!s.done&&(o=a.return)&&o.call(a)}finally{if(i)throw i.error}}}})},t.prototype.error=function(r){var n=this;Ge(function(){if(n._throwIfClosed(),!n.isStopped){n.hasError=n.isStopped=!0,n.thrownError=r;for(var i=n.observers;i.length;)i.shift().error(r)}})},t.prototype.complete=function(){var r=this;Ge(function(){if(r._throwIfClosed(),!r.isStopped){r.isStopped=!0;for(var n=r.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 r;return((r=this.observers)===null||r===void 0?void 0:r.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(r){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,r)},t.prototype._subscribe=function(r){return this._throwIfClosed(),this._checkFinalizedStatuses(r),this._innerSubscribe(r)},t.prototype._innerSubscribe=function(r){var n=this,i=this,o=i.hasError,a=i.isStopped,s=i.observers;return o||a?sn:(this.currentObservers=null,s.push(r),new Ze(function(){n.currentObservers=null,wt(s,r)}))},t.prototype._checkFinalizedStatuses=function(r){var n=this,i=n.hasError,o=n.thrownError,a=n.isStopped;i?r.error(o):a&&r.complete()},t.prototype.asObservable=function(){var r=new ur;return r.source=this,r},t.create=function(r,n){return new hr(r,n)},t}(ur),hr=function(e){Ae(t,e);function t(r,n){var i=e.call(this)||this;return i.destination=r,i.source=n,i}return t.prototype.next=function(r){var n,i;(i=(n=this.destination)===null||n===void 0?void 0:n.next)===null||i===void 0||i.call(n,r)},t.prototype.error=function(r){var n,i;(i=(n=this.destination)===null||n===void 0?void 0:n.error)===null||i===void 0||i.call(n,r)},t.prototype.complete=function(){var r,n;(n=(r=this.destination)===null||r===void 0?void 0:r.complete)===null||n===void 0||n.call(r)},t.prototype._subscribe=function(r){var n,i;return(i=(n=this.source)===null||n===void 0?void 0:n.subscribe(r))!==null&&i!==void 0?i:sn},t}(hn),cn={now:function(){return(cn.delegate||Date).now()},delegate:void 0},na=function(e){Ae(t,e);function t(r,n,i){r===void 0&&(r=1/0),n===void 0&&(n=1/0),i===void 0&&(i=cn);var o=e.call(this)||this;return o._bufferSize=r,o._windowTime=n,o._timestampProvider=i,o._buffer=[],o._infiniteTimeWindow=!0,o._infiniteTimeWindow=n===1/0,o._bufferSize=Math.max(1,r),o._windowTime=Math.max(1,n),o}return t.prototype.next=function(r){var n=this,i=n.isStopped,o=n._buffer,a=n._infiniteTimeWindow,s=n._timestampProvider,u=n._windowTime;i||(o.push(r),!a&&o.push(s.now()+u)),this._trimBuffer(),e.prototype.next.call(this,r)},t.prototype._subscribe=function(r){this._throwIfClosed(),this._trimBuffer();for(var n=this._innerSubscribe(r),i=this,o=i._infiniteTimeWindow,a=i._buffer,s=a.slice(),u=0;u<s.length&&!r.closed;u+=o?1:2)r.next(s[u]);return this._checkFinalizedStatuses(r),n},t.prototype._trimBuffer=function(){var r=this,n=r._bufferSize,i=r._timestampProvider,o=r._buffer,a=r._infiniteTimeWindow,s=(a?1:2)*n;if(n<1/0&&s<o.length&&o.splice(0,o.length-s),!a){for(var u=i.now(),l=0,h=1;h<o.length&&o[h]<=u;h+=2)l=h;l&&o.splice(0,l+1)}},t}(hn);const cr=[],fr={},ia=(e,t=0)=>{if(cr.indexOf(e)==-1){const r=new na(t);fr[e]=r,cr.push(e)}return fr[e]};window.emWidgets={topic:ia};const oa=e=>!!(e.toLowerCase().match(/android/i)||e.toLowerCase().match(/blackberry|bb/i)||e.toLowerCase().match(/iphone|ipad|ipod/i)||e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)),$e=e=>e.toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC";String(Number.MAX_SAFE_INTEGER).length;const ue="__WIDGET_GLOBAL_STYLE_CACHE__";function fn(e,t){if(e){const r=document.createElement("style");r.innerHTML=t,e.appendChild(r)}}function dn(e,t){if(!e||!t)return;const r=new URL(t);fetch(r.href).then(n=>n.text()).then(n=>{const i=document.createElement("style");i.innerHTML=n,e&&e.appendChild(i)}).catch(n=>{console.error("There was an error while trying to load client styling from URL",n)})}function mn(e,t,r,n=!1){if(!window.emMessageBus)return;if(!("adoptedStyleSheets"in Document.prototype)||!n)return r=aa(e,t),r;window[ue]||(window[ue]={}),r=sa(e,t);const o=r.unsubscribe.bind(r),a=()=>{if(window[ue][t]){const s=window[ue][t];s.refCount>1?s.refCount=s.refCount-1:delete window[ue][t]}o()};return r.unsubscribe=a,r}function aa(e,t){const r=document.createElement("style");return window.emMessageBus.subscribe(t,n=>{e&&(r.innerHTML=n,e.appendChild(r))})}function sa(e,t){return window.emMessageBus.subscribe(t,r=>{var s;if(!e)return;const n=e.getRootNode(),i=window[ue];let o=(s=i[t])==null?void 0:s.sheet;o?i[t].refCount=i[t].refCount+1:(o=new CSSStyleSheet,o.replaceSync(r),i[t]={sheet:o,refCount:1});const a=n.adoptedStyleSheets||[];a.includes(o)||(n.adoptedStyleSheets=[...a,o])})}const ua=(e,t)=>function(...r){clearTimeout(this.debounceTimer),this.debounceTimer=setTimeout(()=>{e.apply(this,r)},t)};if(typeof window!="undefined"){let e=function(t){return function(...r){try{return t.apply(this,r)}catch(n){if(n instanceof DOMException&&n.message.includes("has already been used with this registry")||n.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw n}}};customElements.define=e(customElements.define),Promise.resolve().then(()=>require("./CasinoGameThumbnail-DmTTT2z8.cjs")).then(({default:t})=>{!customElements.get("casino-game-thumbnail")&&customElements.define("casino-game-thumbnail",t.element)})}function Ht(e){"@babel/helpers - typeof";return Ht=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ht(e)}function Je(e,t){if(t.length<e)throw new TypeError(e+" argument"+(e>1?"s":"")+" required, but only "+t.length+" present")}function me(e){Je(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||Ht(e)==="object"&&t==="[object Date]"?new Date(e.getTime()):typeof e=="number"||t==="[object Number]"?new Date(e):((typeof e=="string"||t==="[object String]")&&typeof console!="undefined"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn(new Error().stack)),new Date(NaN))}function dr(e,t){return Je(2,arguments),me(e).getTime()-me(t).getTime()}function la(e,t){Je(2,arguments);var r=me(e),n=me(t);return r.getTime()>n.getTime()}function ha(e,t){Je(2,arguments);var r=me(e),n=me(t);return r.getTime()<n.getTime()}function ca(e){Hr(e,"svelte-nijkoq","*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}:host{font-family:inherit}input,textarea,button{font-family:inherit}.CasinoSearch{margin:10px 16px;position:relative}.SearchWrap{width:100%;margin:auto}.OverlayCancel{width:100%;height:100vh;position:absolute;translate:0 -100px;z-index:2}.LoadingContent{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.Search{display:flex;align-items:center;position:relative;z-index:5}.SearchIcon{position:absolute;left:15px;top:50%;z-index:1;transform:translateY(-50%)}.SearchIcon svg{height:14px;width:13px}.SearchInput{border-radius:4px;border:1px solid var(--emw--color-gray-300, #58586B);color:var(--emw--color-gray-100, #E6E6E6);display:block;font-size:16px;font-weight:300;padding:14px 5px 14px 46px;width:100%;padding-right:28px}.SearchInput::placeholder{color:var(--emw--color-gray-150, #828282);font-size:16px;font-weight:300}.SearchInput:focus{outline:1px solid var(--emw--color-gray-300, #58586B)}.SearchInput::-webkit-search-decoration,.SearchInput::-webkit-search-cancel-button,.SearchInput::-webkit-search-results-button,.SearchInput::-webkit-search-results-decoration{-webkit-appearance:none}.SearchClearButton{position:absolute;top:30%;right:65px;cursor:pointer}.SearchClearButton.WithoutCancel{right:18px}.SearchCancelButton{color:var(--emw--color-contrast, #E6E6E6);font-weight:300;margin-left:8px;cursor:pointer}.SearchMessage{font-size:18px;font-weight:600;margin:24px 0;color:var(--emw--color-contrast, #000000)}.SearchErrorIcon{height:170px;filter:drop-shadow(1px 5px 5px rgba(0, 0, 0, 0.1))}.SearchResultsContainer{display:grid;gap:28px;grid-template-columns:repeat(auto-fill, minmax(min(192px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 192px);grid-auto-rows:192px;grid-auto-columns:192px;grid-auto-flow:row dense}@media screen and (max-width: 480px){.SearchResultsContainer{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(122px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 122px);grid-auto-rows:122px;grid-auto-columns:122px}}@media screen and (max-width: 385px){.SearchResultsContainer{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(110px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 110px);grid-auto-rows:110px;grid-auto-columns:110px}}@media screen and (min-width: 1100px){.SearchResultsContainer{grid-template-rows:repeat(auto-fill, 142px);grid-auto-rows:142px}}@media screen and (max-width: 1300px){.SearchResultsContainer{padding:0 2.4%}}.ResultsContainerError{text-align:center;width:300px;color:var(--emw--color-contrast, #828282);font-weight:300;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);z-index:1;margin-top:120px}casino-game-thumbnail-nd{z-index:5}.NotVisible{display:none}.Desktop .NotVisible{opacity:0;visibility:hidden;display:inline}.Desktop .SearchWrap{width:50%;margin:auto}.Desktop.CasinoSearch{margin:10px auto;position:relative}.Desktop .ResultsContainerError{text-align:center;width:300px;color:var(--emw--color-contrast, #828282);font-weight:300;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);z-index:1;margin-top:120px}.Desktop .ResultsContainerError.WithIcon{top:60%}.Desktop .Search{display:flex;align-items:center;justify-content:center;transition:all 0.2s cubic-bezier(1, 0, 0.46, 1.03)}.Desktop .SearchIcon{position:relative;top:0;left:0;transform:translateY(0);margin-right:-28px}.Desktop .SearchClearButton{position:relative;top:0;right:0;margin-left:-23px}.Desktop .SearchCancelButton{margin-left:20px}.Desktop .SearchAnimation{transform:scaleX(110%)}.Desktop .SearchAnimation Input{outline:none;box-shadow:0 5px 7px rgba(0, 0, 0, 0.25);background-color:rgba(255, 255, 255, 0.2)}.Desktop .SearchMessage{font-size:18px;font-weight:600;margin:24px 0;margin-top:90px}.Desktop .SearchErrorIcon{height:190px;margin-bottom:-70px}.Desktop .OverlayCancel{height:90vh;z-index:2}")}function mr(e,t,r){const n=e.slice();return n[55]=t[r],n}function pr(e){let t,r=e[21]("cancel")+"",n,i,o,a;return{c(){t=H("small"),n=J(r),b(t,"class",i="SearchCancelButton "+(e[16]?"NotVisible":""))},m(s,u){R(s,t,u),x(t,n),o||(a=re(t,"click",e[37]),o=!0)},p(s,u){u[0]&2097152&&r!==(r=s[21]("cancel")+"")&&ee(n,r),u[0]&65536&&i!==(i="SearchCancelButton "+(s[16]?"NotVisible":""))&&b(t,"class",i)},d(s){s&&I(t),o=!1,a()}}}function fa(e){let t,r,n,i;function o(h,c){if(h[17]==!0&&h[14].length<2)return pa;if(h[13].length!=0)return ma}let a=o(e),s=a&&a(e),u=e[16]===!1&&vr(e),l=e[14].length>=2&&e[13].length==0&&Sr(e);return{c(){s&&s.c(),t=z(),r=H("div"),u&&u.c(),n=z(),l&&l.c(),b(r,"class",i="SearchResultsContainer "+(e[17]==!0?"":"NotVisible"))},m(h,c){s&&s.m(h,c),R(h,t,c),R(h,r,c),u&&u.m(r,null),x(r,n),l&&l.m(r,null)},p(h,c){a===(a=o(h))&&s?s.p(h,c):(s&&s.d(1),s=a&&a(h),s&&(s.c(),s.m(t.parentNode,t))),h[16]===!1?u?u.p(h,c):(u=vr(h),u.c(),u.m(r,n)):u&&(u.d(1),u=null),h[14].length>=2&&h[13].length==0?l?l.p(h,c):(l=Sr(h),l.c(),l.m(r,null)):l&&(l.d(1),l=null),c[0]&131072&&i!==(i="SearchResultsContainer "+(h[17]==!0?"":"NotVisible"))&&b(r,"class",i)},d(h){h&&(I(t),I(r)),s&&s.d(h),u&&u.d(),l&&l.d()}}}function da(e){let t,r=e[21]("loading")+"",n;return{c(){t=H("p"),n=J(r),b(t,"class","LoadingContent")},m(i,o){R(i,t,o),x(t,n)},p(i,o){o[0]&2097152&&r!==(r=i[21]("loading")+"")&&ee(n,r)},d(i){i&&I(t)}}}function ma(e){let t,r=e[21]("searchResult")+"",n;return{c(){t=H("p"),n=J(r),b(t,"class","SearchMessage")},m(i,o){R(i,t,o),x(t,n)},p(i,o){o[0]&2097152&&r!==(r=i[21]("searchResult")+"")&&ee(n,r)},d(i){i&&I(t)}}}function pa(e){let t,r,n=e[13].length!==0&&gr(e),i=e[13].length==0&&br(e);return{c(){n&&n.c(),t=z(),i&&i.c(),r=Bt()},m(o,a){n&&n.m(o,a),R(o,t,a),i&&i.m(o,a),R(o,r,a)},p(o,a){o[13].length!==0?n?n.p(o,a):(n=gr(o),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null),o[13].length==0?i?i.p(o,a):(i=br(o),i.c(),i.m(r.parentNode,r)):i&&(i.d(1),i=null)},d(o){o&&(I(t),I(r)),n&&n.d(o),i&&i.d(o)}}}function gr(e){let t,r=e[21]("recentSearch")+"",n;return{c(){t=H("p"),n=J(r),b(t,"class","SearchMessage")},m(i,o){R(i,t,o),x(t,n)},p(i,o){o[0]&2097152&&r!==(r=i[21]("recentSearch")+"")&&ee(n,r)},d(i){i&&I(t)}}}function br(e){let t,r,n,i=e[21]("noRecentSearches")+"",o,a,s=e[10]==="true"&&yr();return{c(){t=H("div"),s&&s.c(),r=z(),n=H("p"),o=J(i),b(n,"class","SearchMessage"),b(t,"class",a="ResultsContainerError "+(e[10]=="true"?"WithIcon":""))},m(u,l){R(u,t,l),s&&s.m(t,null),x(t,r),x(t,n),x(n,o)},p(u,l){u[10]==="true"?s||(s=yr(),s.c(),s.m(t,r)):s&&(s.d(1),s=null),l[0]&2097152&&i!==(i=u[21]("noRecentSearches")+"")&&ee(o,i),l[0]&1024&&a!==(a="ResultsContainerError "+(u[10]=="true"?"WithIcon":""))&&b(t,"class",a)},d(u){u&&I(t),s&&s.d()}}}function yr(e){let t;return{c(){t=H("div"),t.innerHTML='<svg width="" height="" viewBox="0 0 240 160" fill="none" xmlns="http://www.w3.org/2000/svg"><rect x="40" width="160" height="160" rx="80" fill="var(--emw--color-contrast, #E6E6E6)" fill-opacity="0.6"></rect><path d="M152 112L136 96" stroke="var(--emw--color-contrast, #131313)" stroke-width="3" stroke-linecap="square" stroke-linejoin="round"></path><path d="M116 104C131.464 104 144 91.464 144 76C144 60.536 131.464 48 116 48C100.536 48 88 60.536 88 76C88 91.464 100.536 104 116 104Z" stroke="var(--emw--color-contrast, #131313)" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M116.001 78.1221L121.88 84.0009L124.001 81.8796L118.122 76.0008L124.002 70.1214L121.88 68L116.001 73.8795L110.121 68L108 70.1214L113.879 76.0008L108.001 81.8796L110.122 84.0009L116.001 78.1221Z" fill="var(--emw--color-contrast, #131313)"></path></svg>',b(t,"class","SearchErrorIcon")},m(r,n){R(r,t,n)},d(r){r&&I(t)}}}function vr(e){let t,r=ht(e[13]),n=[];for(let i=0;i<r.length;i+=1)n[i]=_r(mr(e,r,i));return{c(){for(let i=0;i<n.length;i+=1)n[i].c();t=Bt()},m(i,o){for(let a=0;a<n.length;a+=1)n[a]&&n[a].m(i,o);R(i,t,o)},p(i,o){if(o[0]&35138047){r=ht(i[13]);let a;for(a=0;a<r.length;a+=1){const s=mr(i,r,a);n[a]?n[a].p(s,o):(n[a]=_r(s),n[a].c(),n[a].m(t.parentNode,t))}for(;a<n.length;a+=1)n[a].d(1);n.length=r.length}},d(i){i&&I(t),Ar(n,i)}}}function _r(e){let t,r,n,i,o,a,s,u,l,h,c,d;return{c(){var m;t=H("casino-game-thumbnail"),g(t,"endpoint",e[0]),g(t,"session",e[19]),g(t,"userid",e[20]),g(t,"favorites",e[8]),g(t,"lang",e[1]),g(t,"gamethumbnail",r=e[55].thumbnail),g(t,"gamename",n=e[55].name),g(t,"gamevendor",i=e[55].vendor.displayName),g(t,"gameLaunchUrl",o=e[55].launchUrl),g(t,"gameisnew",a=e[55].isNew),g(t,"gametag",s=((m=e[55].advancedTags)==null?void 0:m.length)>0&&e[25](e[55].advancedTags)),g(t,"gamecellsize",u=e[55].cellSize),g(t,"gameid",l=e[55].id),g(t,"showgamename",e[6]),g(t,"gamefunmode",h=e[55].hasFunMode),g(t,"gamefavorite",c=e[55].isFavorite),g(t,"livelobbyendpoint",d=e[55].details?e[55].launchUrl:""),g(t,"integratedgameframedesktop",e[4]),g(t,"mbsource",e[11]),g(t,"integratedgameframemobile",e[5]),g(t,"clientstyling",e[2]),g(t,"clientstylingurl",e[3]),g(t,"gamepagemodalurl",e[7])},m(m,p){R(m,t,p)},p(m,p){var y;p[0]&1&&g(t,"endpoint",m[0]),p[0]&524288&&g(t,"session",m[19]),p[0]&1048576&&g(t,"userid",m[20]),p[0]&256&&g(t,"favorites",m[8]),p[0]&2&&g(t,"lang",m[1]),p[0]&8192&&r!==(r=m[55].thumbnail)&&g(t,"gamethumbnail",r),p[0]&8192&&n!==(n=m[55].name)&&g(t,"gamename",n),p[0]&8192&&i!==(i=m[55].vendor.displayName)&&g(t,"gamevendor",i),p[0]&8192&&o!==(o=m[55].launchUrl)&&g(t,"gameLaunchUrl",o),p[0]&8192&&a!==(a=m[55].isNew)&&g(t,"gameisnew",a),p[0]&8192&&s!==(s=((y=m[55].advancedTags)==null?void 0:y.length)>0&&m[25](m[55].advancedTags))&&g(t,"gametag",s),p[0]&8192&&u!==(u=m[55].cellSize)&&g(t,"gamecellsize",u),p[0]&8192&&l!==(l=m[55].id)&&g(t,"gameid",l),p[0]&64&&g(t,"showgamename",m[6]),p[0]&8192&&h!==(h=m[55].hasFunMode)&&g(t,"gamefunmode",h),p[0]&8192&&c!==(c=m[55].isFavorite)&&g(t,"gamefavorite",c),p[0]&8192&&d!==(d=m[55].details?m[55].launchUrl:"")&&g(t,"livelobbyendpoint",d),p[0]&16&&g(t,"integratedgameframedesktop",m[4]),p[0]&2048&&g(t,"mbsource",m[11]),p[0]&32&&g(t,"integratedgameframemobile",m[5]),p[0]&4&&g(t,"clientstyling",m[2]),p[0]&8&&g(t,"clientstylingurl",m[3]),p[0]&128&&g(t,"gamepagemodalurl",m[7])},d(m){m&&I(t)}}}function Sr(e){let t,r,n,i=e[21]("notFound")+"",o,a,s,u=e[21]("notFoundText")+"",l,h,c=e[10]==="true"&&Er();return{c(){t=H("div"),c&&c.c(),r=z(),n=H("p"),o=J(i),a=z(),s=H("p"),l=J(u),b(n,"class","SearchMessage"),b(t,"class",h="ResultsContainerError "+(e[10]=="true"?"WithIcon":""))},m(d,m){R(d,t,m),c&&c.m(t,null),x(t,r),x(t,n),x(n,o),x(t,a),x(t,s),x(s,l)},p(d,m){d[10]==="true"?c||(c=Er(),c.c(),c.m(t,r)):c&&(c.d(1),c=null),m[0]&2097152&&i!==(i=d[21]("notFound")+"")&&ee(o,i),m[0]&2097152&&u!==(u=d[21]("notFoundText")+"")&&ee(l,u),m[0]&1024&&h!==(h="ResultsContainerError "+(d[10]=="true"?"WithIcon":""))&&b(t,"class",h)},d(d){d&&I(t),c&&c.d()}}}function Er(e){let t;return{c(){t=H("div"),t.innerHTML='<svg width="" height="" viewBox="0 0 240 160" fill="none" xmlns="http://www.w3.org/2000/svg"><rect x="40" width="160" height="160" rx="80" fill="var(--emw--color-contrast, #E6E6E6)" fill-opacity="0.6"></rect><path d="M152 112L136 96" stroke="var(--emw--color-contrast, #131313)" stroke-width="3" stroke-linecap="square" stroke-linejoin="round"></path><path d="M116 104C131.464 104 144 91.464 144 76C144 60.536 131.464 48 116 48C100.536 48 88 60.536 88 76C88 91.464 100.536 104 116 104Z" stroke="var(--emw--color-contrast, #131313)" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M116.001 78.1221L121.88 84.0009L124.001 81.8796L118.122 76.0008L124.002 70.1214L121.88 68L116.001 73.8795L110.121 68L108 70.1214L113.879 76.0008L108.001 81.8796L110.122 84.0009L116.001 78.1221Z" fill="var(--emw--color-contrast, #131313)"></path></svg>',b(t,"class","SearchErrorIcon")},m(r,n){R(r,t,n)},d(r){r&&I(t)}}}function ga(e){let t,r,n,i,o,a,s,u,l,h,c,d,m,p,y,B,k,j,N,$,E=e[9]==="true"&&pr(e);function G(w,F){return w[18]?da:fa}let X=G(e),C=X(e);return{c(){t=H("div"),r=H("div"),n=H("div"),i=H("div"),i.innerHTML='<svg width="14" height="15" fill="none" xmlns="http://www.w3.org/2000/svg"><path stroke="#212121" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" d="m10.48 10.985 2.21 2.373"></path><circle cx="6.5" cy="6.5" r="5.75" stroke="#212121" stroke-width="1.5"></circle></svg>',o=z(),a=H("input"),u=z(),l=H("span"),h=Fe("svg"),c=Fe("path"),m=z(),E&&E.c(),y=z(),B=H("div"),j=z(),C.c(),b(i,"class","SearchIcon"),b(a,"class","SearchInput"),b(a,"type","search"),b(a,"placeholder",s=e[21]("placeHolderSearchGames")),b(a,"maxlength",ba),b(c,"d","m1.45 1.5 8.1 8M1.45 9.5l8.1-8"),b(c,"stroke","#717171"),b(c,"stroke-width","2"),b(c,"stroke-linecap","round"),b(c,"stroke-linejoin","round"),b(h,"width","11"),b(h,"height","11"),b(h,"fill","none"),b(h,"xmlns","http://www.w3.org/2000/svg"),b(l,"class",d="SearchClearButton "+(e[9]!="true"?"WithoutCancel":"")+" "+(e[14].length!=0?"":"NotVisible")),b(n,"class",p="Search "+(e[16]?"":"SearchAnimation")),b(r,"class","SearchWrap"),b(B,"class",k=e[9]!="true"?"OverlayCancel":""),b(t,"class",($e(e[22])!=="PC"?"":"Desktop")+" CasinoSearch")},m(w,F){R(w,t,F),x(t,r),x(r,n),x(n,i),x(n,o),x(n,a),$t(a,e[14]),e[35](a),x(n,u),x(n,l),x(l,h),x(h,c),x(n,m),E&&E.m(n,null),x(t,y),x(t,B),x(t,j),C.m(t,null),e[38](t),N||($=[re(a,"input",e[34]),re(a,"focus",e[23]),re(a,"input",e[28]),re(l,"click",e[36]),re(B,"click",e[24])],N=!0)},p(w,F){F[0]&2097152&&s!==(s=w[21]("placeHolderSearchGames"))&&b(a,"placeholder",s),F[0]&16384&&a.value!==w[14]&&$t(a,w[14]),F[0]&16896&&d!==(d="SearchClearButton "+(w[9]!="true"?"WithoutCancel":"")+" "+(w[14].length!=0?"":"NotVisible"))&&b(l,"class",d),w[9]==="true"?E?E.p(w,F):(E=pr(w),E.c(),E.m(n,null)):E&&(E.d(1),E=null),F[0]&65536&&p!==(p="Search "+(w[16]?"":"SearchAnimation"))&&b(n,"class",p),F[0]&512&&k!==(k=w[9]!="true"?"OverlayCancel":"")&&b(B,"class",k),X===(X=G(w))&&C?C.p(w,F):(C.d(1),C=X(w),C&&(C.c(),C.m(t,null)))},i:W,o:W,d(w){w&&I(t),e[35](null),E&&E.d(),C.d(),e[38](null),N=!1,pe($)}}}let ba=50;function ya(e,t,r){let n;Tr(e,on,f=>r(21,n=f));let{endpoint:i=""}=t,{datasource:o=""}=t,{session:a=""}=t,{userid:s=""}=t,{lang:u="en"}=t,{clientstyling:l=""}=t,{clientstylingurl:h=""}=t,{integratedgameframedesktop:c="false"}=t,{integratedgameframemobile:d="false"}=t,{showgamename:m=""}=t,{gamepagemodalurl:p="true"}=t,{translationurl:y=""}=t,{showfavorites:B=""}=t,{cancelbutton:k="true"}=t,{notfoundicon:j="false"}=t,{mbsource:N}=t,$=window.navigator.userAgent,E=[],G=[],X={},C="",w,F=!0,ye=!1,q=!1,Y,Pe=!1,Be,Ce,It=[],gn;const bn=()=>{fetch(y).then(S=>S.json()).then(S=>{Object.keys(S).forEach(P=>{ir(P,S[P])})}).catch(S=>{console.log(S)})};Object.keys(or).forEach(f=>{ir(f,or[f])});const Nt=f=>{f.data&&f.data.type=="SearchedItemClicked"&&wn(f.data.gameId),f.data.type=="UserSessionID"&&(r(19,Be=f.data.session),r(20,Ce=f.data.userid),r(33,Pe=!0)),f.data.type=="CategoryChange"&&Oe()},Rt=()=>{if(r(16,F=!1),r(17,ye=!0),i&&o&&u&&C.length<2){r(13,E=[]);let f=localStorage.getItem("searchedGamesWds_casino"),S=[];f&&(S=f.split(","));let P=[],O=0,M=S.length;if(M>0){for(O=0;O<M;O++){let V=new URL(`${i}/v1/casino/games/${S[O]}`);V.searchParams.append("language",u),V.searchParams.append("datasource",o),V.searchParams.append("platform",$e($)),P.push(_n(V,S[O]))}Promise.all(P).then(V=>{V=V.filter(function(te){return!!te}),r(13,E=V.map(te=>(te.isFavorite=Mt(te.id),te))),E.length?ve("searchSuccess","SearchWidget"):ve("searchFail","SearchWidget")}).catch(V=>{ve("searchError","SearchWidget")})}}Gt(ye),ve("searchAttempt","SearchWidget"),ve("SearchInitialized","SearchWidget")},ve=(f,S)=>{typeof gtag=="function"&&gtag("event",f,{context:S})},yn=()=>{k!="true"&&Oe()},vn=f=>new Promise((S,P)=>{r(18,q=!0),fetch(f.href).then(O=>O.json()).then(O=>{r(18,q=!1),S(O)}).catch(O=>{r(18,q=!1),console.error(O),P(O)})}),_n=(f,S)=>new Promise((P,O)=>{r(18,q=!0),S&&Object.keys(X).indexOf(S)>=0?(r(18,q=!1),P(X[S])):fetch(f).then(M=>M.json()).then(M=>{r(18,q=!1),M.error||(X[M[0].gameId]=M[0]),P(M[0])}).catch(M=>{r(18,q=!1),console.error(M),O(M)})}),Sn=()=>{const f=new URL(`${i}/v1/player/${Ce}/favorites/`);r(18,q=!0);let S={method:"GET",headers:{"X-SessionID":Be}};fetch(f.href,S).then(P=>P.json()).then(P=>{r(18,q=!1),It=P.items.map(O=>O.id)})},En=()=>{r(33,Pe=!0),r(19,Be=a),r(20,Ce=s)},Mt=f=>It.findIndex(S=>S==f)!==-1,xn=f=>{if((f==null?void 0:f.length)===0)return"";let S,P=99999999999,O;const M=new Date(Date.now());return f.forEach((V,te)=>{const Ln=new Date(V.schedules[0].startTime),Ye=new Date(V.schedules[0].endTime);dr(new Date(Ye),new Date(M))<P&&(P=dr(new Date(Ye),new Date(M)),O=te),la(new Date(M),new Date(Ln))&&ha(new Date(M),new Date(Ye))&&(S=f[O].name)}),S},wn=f=>{if(G=localStorage.getItem("searchedGamesWds_casino"),G?G=G.split(","):G=[],G.indexOf(f)===-1){let S;G.unshift(f),S=G.join(","),localStorage.setItem("searchedGamesWds_casino",S)}},Oe=()=>{r(14,C=""),r(16,F=!0),r(18,q=!1),r(13,E=[]),r(17,ye=!1),Gt(ye)},Dt=()=>{r(14,C=""),w.focus()},Gt=f=>{window.postMessage({type:f===!0?"searchActive":"searchCancelled",searchStatus:f},window.location.href)},Tn=()=>{Vo(u)},Hn=ua(()=>Ke(this,null,function*(){if(C.length>=2){const f=new URL(`${i}/v1/casino/games`);f.searchParams.append("datasource",o),f.searchParams.append("expand","vendor"),f.searchParams.append("platform",$e($)),f.searchParams.append("language",u),f.searchParams.append("pagination","offset=0,limit=30"),f.searchParams.append("filter",`name=${C}`),vn(f).then(S=>{r(13,E=S.items.map(P=>(P.isFavorite=Mt(P.id),P)))})}else F||Rt()}),500);Pr(()=>(window.addEventListener("message",Nt,!1),()=>{window.removeEventListener("message",Nt)}));function An(){C=this.value,r(14,C)}function Pn(f){xe[f?"unshift":"push"](()=>{w=f,r(15,w)})}const Bn=()=>Dt(),Cn=()=>Oe();function On(f){xe[f?"unshift":"push"](()=>{Y=f,r(12,Y)})}return e.$$set=f=>{"endpoint"in f&&r(0,i=f.endpoint),"datasource"in f&&r(29,o=f.datasource),"session"in f&&r(30,a=f.session),"userid"in f&&r(31,s=f.userid),"lang"in f&&r(1,u=f.lang),"clientstyling"in f&&r(2,l=f.clientstyling),"clientstylingurl"in f&&r(3,h=f.clientstylingurl),"integratedgameframedesktop"in f&&r(4,c=f.integratedgameframedesktop),"integratedgameframemobile"in f&&r(5,d=f.integratedgameframemobile),"showgamename"in f&&r(6,m=f.showgamename),"gamepagemodalurl"in f&&r(7,p=f.gamepagemodalurl),"translationurl"in f&&r(32,y=f.translationurl),"showfavorites"in f&&r(8,B=f.showfavorites),"cancelbutton"in f&&r(9,k=f.cancelbutton),"notfoundicon"in f&&r(10,j=f.notfoundicon),"mbsource"in f&&r(11,N=f.mbsource)},e.$$.update=()=>{e.$$.dirty[0]&2&&u&&Tn(),e.$$.dirty[1]&2&&y&&bn(),e.$$.dirty[0]&1073741824|e.$$.dirty[1]&1&&a&&s&&En(),e.$$.dirty[0]&256|e.$$.dirty[1]&4&&B&&Pe&&Sn(),e.$$.dirty[0]&4100&&l&&Y&&fn(Y,l),e.$$.dirty[0]&4104&&h&&Y&&dn(Y,h),e.$$.dirty[0]&6144&&Y&&mn(Y,`${N}.Style`,gn)},[i,u,l,h,c,d,m,p,B,k,j,N,Y,E,C,w,F,ye,q,Be,Ce,n,$,Rt,yn,xn,Oe,Dt,Hn,o,a,s,y,Pe,An,Pn,Bn,Cn,On]}class pn extends Nr{constructor(t){super(),Or(this,t,ya,ga,Pt,{endpoint:0,datasource:29,session:30,userid:31,lang:1,clientstyling:2,clientstylingurl:3,integratedgameframedesktop:4,integratedgameframemobile:5,showgamename:6,gamepagemodalurl:7,translationurl:32,showfavorites:8,cancelbutton:9,notfoundicon:10,mbsource:11},ca,[-1,-1])}get endpoint(){return this.$$.ctx[0]}set endpoint(t){this.$$set({endpoint:t}),L()}get datasource(){return this.$$.ctx[29]}set datasource(t){this.$$set({datasource:t}),L()}get session(){return this.$$.ctx[30]}set session(t){this.$$set({session:t}),L()}get userid(){return this.$$.ctx[31]}set userid(t){this.$$set({userid:t}),L()}get lang(){return this.$$.ctx[1]}set lang(t){this.$$set({lang:t}),L()}get clientstyling(){return this.$$.ctx[2]}set clientstyling(t){this.$$set({clientstyling:t}),L()}get clientstylingurl(){return this.$$.ctx[3]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),L()}get integratedgameframedesktop(){return this.$$.ctx[4]}set integratedgameframedesktop(t){this.$$set({integratedgameframedesktop:t}),L()}get integratedgameframemobile(){return this.$$.ctx[5]}set integratedgameframemobile(t){this.$$set({integratedgameframemobile:t}),L()}get showgamename(){return this.$$.ctx[6]}set showgamename(t){this.$$set({showgamename:t}),L()}get gamepagemodalurl(){return this.$$.ctx[7]}set gamepagemodalurl(t){this.$$set({gamepagemodalurl:t}),L()}get translationurl(){return this.$$.ctx[32]}set translationurl(t){this.$$set({translationurl:t}),L()}get showfavorites(){return this.$$.ctx[8]}set showfavorites(t){this.$$set({showfavorites:t}),L()}get cancelbutton(){return this.$$.ctx[9]}set cancelbutton(t){this.$$set({cancelbutton:t}),L()}get notfoundicon(){return this.$$.ctx[10]}set notfoundicon(t){this.$$set({notfoundicon:t}),L()}get mbsource(){return this.$$.ctx[11]}set mbsource(t){this.$$set({mbsource:t}),L()}}Ir(pn,{endpoint:{},datasource:{},session:{},userid:{},lang:{},clientstyling:{},clientstylingurl:{},integratedgameframedesktop:{},integratedgameframemobile:{},showgamename:{},gamepagemodalurl:{},translationurl:{},showfavorites:{},cancelbutton:{},notfoundicon:{},mbsource:{}},[],[],!0);const va=Object.freeze(Object.defineProperty({__proto__:null,default:pn},Symbol.toStringTag,{value:"Module"}));exports.$format=on;exports.$locale=ie;exports.CasinoSearch_ce=va;exports.HtmlTag=Vn;exports.SvelteComponent=Nr;exports.addMessages=Ot;exports.append=x;exports.append_styles=Hr;exports.attr=b;exports.binding_callbacks=xe;exports.component_subscribe=Tr;exports.create_custom_element=Ir;exports.destroy_each=Ar;exports.detach=I;exports.element=H;exports.empty=Bt;exports.ensure_array_like=ht;exports.flush=L;exports.getDevice=$e;exports.init=Or;exports.insert=R;exports.isMobile=oa;exports.listen=re;exports.noop=W;exports.onMount=Pr;exports.safe_not_equal=Pt;exports.setClientStyling=fn;exports.setClientStylingURL=dn;exports.setStreamStyling=mn;exports.set_custom_element_data=g;exports.set_data=ee;exports.space=z;exports.src_url_equal=Gn;exports.svg_element=Fe;exports.text=J;exports.tick=Xn;exports.toggle_class=$n;
18
+ `):"",this.name="UnsubscriptionError",this.errors=r}});function wt(e,t){if(e){var r=e.indexOf(t);0<=r&&e.splice(r,1)}}var Ze=function(){function e(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}return e.prototype.unsubscribe=function(){var t,r,n,i,o;if(!this.closed){this.closed=!0;var a=this._parentage;if(a)if(this._parentage=null,Array.isArray(a))try{for(var s=St(a),u=s.next();!u.done;u=s.next()){var l=u.value;l.remove(this)}}catch(y){t={error:y}}finally{try{u&&!u.done&&(r=s.return)&&r.call(s)}finally{if(t)throw t.error}}else a.remove(this);var h=this.initialTeardown;if(Q(h))try{h()}catch(y){o=y instanceof st?y.errors:[y]}var c=this._finalizers;if(c){this._finalizers=null;try{for(var d=St(c),m=d.next();!m.done;m=d.next()){var p=m.value;try{ar(p)}catch(y){o=o!=null?o:[],y instanceof st?o=xt(xt([],Et(o)),Et(y.errors)):o.push(y)}}}catch(y){n={error:y}}finally{try{m&&!m.done&&(i=d.return)&&i.call(d)}finally{if(n)throw n.error}}}if(o)throw new st(o)}},e.prototype.add=function(t){var r;if(t&&t!==this)if(this.closed)ar(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(r=this._finalizers)!==null&&r!==void 0?r:[]).push(t)}},e.prototype._hasParent=function(t){var r=this._parentage;return r===t||Array.isArray(r)&&r.includes(t)},e.prototype._addParent=function(t){var r=this._parentage;this._parentage=Array.isArray(r)?(r.push(t),r):r?[r,t]:t},e.prototype._removeParent=function(t){var r=this._parentage;r===t?this._parentage=null:Array.isArray(r)&&wt(r,t)},e.prototype.remove=function(t){var r=this._finalizers;r&&wt(r,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}(),sn=Ze.EMPTY;function un(e){return e instanceof Ze||e&&"closed"in e&&Q(e.remove)&&Q(e.add)&&Q(e.unsubscribe)}function ar(e){Q(e)?e():e.unsubscribe()}var zo={Promise:void 0},Wo={setTimeout:function(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];return setTimeout.apply(void 0,xt([e,t],Et(r)))},clearTimeout:function(e){return clearTimeout(e)},delegate:void 0};function Xo(e){Wo.setTimeout(function(){throw e})}function sr(){}function Ge(e){e()}var ln=function(e){Ae(t,e);function t(r){var n=e.call(this)||this;return n.isStopped=!1,r?(n.destination=r,un(r)&&r.add(n)):n.destination=Jo,n}return t.create=function(r,n,i){return new Tt(r,n,i)},t.prototype.next=function(r){this.isStopped||this._next(r)},t.prototype.error=function(r){this.isStopped||(this.isStopped=!0,this._error(r))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(r){this.destination.next(r)},t.prototype._error=function(r){try{this.destination.error(r)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(Ze),qo=function(){function e(t){this.partialObserver=t}return e.prototype.next=function(t){var r=this.partialObserver;if(r.next)try{r.next(t)}catch(n){Ne(n)}},e.prototype.error=function(t){var r=this.partialObserver;if(r.error)try{r.error(t)}catch(n){Ne(n)}else Ne(t)},e.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(r){Ne(r)}},e}(),Tt=function(e){Ae(t,e);function t(r,n,i){var o=e.call(this)||this,a;return Q(r)||!r?a={next:r!=null?r:void 0,error:n!=null?n:void 0,complete:i!=null?i:void 0}:a=r,o.destination=new qo(a),o}return t}(ln);function Ne(e){Xo(e)}function Zo(e){throw e}var Jo={closed:!0,next:sr,error:Zo,complete:sr},Yo=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function Qo(e){return e}function Ko(e){return e.length===0?Qo:e.length===1?e[0]:function(r){return e.reduce(function(n,i){return i(n)},r)}}var ur=function(){function e(t){t&&(this._subscribe=t)}return e.prototype.lift=function(t){var r=new e;return r.source=this,r.operator=t,r},e.prototype.subscribe=function(t,r,n){var i=this,o=ta(t)?t:new Tt(t,r,n);return Ge(function(){var a=i,s=a.operator,u=a.source;o.add(s?s.call(o,u):u?i._subscribe(o):i._trySubscribe(o))}),o},e.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(r){t.error(r)}},e.prototype.forEach=function(t,r){var n=this;return r=lr(r),new r(function(i,o){var a=new Tt({next:function(s){try{t(s)}catch(u){o(u),a.unsubscribe()}},error:o,complete:i});n.subscribe(a)})},e.prototype._subscribe=function(t){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(t)},e.prototype[Yo]=function(){return this},e.prototype.pipe=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return Ko(t)(this)},e.prototype.toPromise=function(t){var r=this;return t=lr(t),new t(function(n,i){var o;r.subscribe(function(a){return o=a},function(a){return i(a)},function(){return n(o)})})},e.create=function(t){return new e(t)},e}();function lr(e){var t;return(t=e!=null?e:zo.Promise)!==null&&t!==void 0?t:Promise}function ea(e){return e&&Q(e.next)&&Q(e.error)&&Q(e.complete)}function ta(e){return e&&e instanceof ln||ea(e)&&un(e)}var ra=an(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),hn=function(e){Ae(t,e);function t(){var r=e.call(this)||this;return r.closed=!1,r.currentObservers=null,r.observers=[],r.isStopped=!1,r.hasError=!1,r.thrownError=null,r}return t.prototype.lift=function(r){var n=new hr(this,this);return n.operator=r,n},t.prototype._throwIfClosed=function(){if(this.closed)throw new ra},t.prototype.next=function(r){var n=this;Ge(function(){var i,o;if(n._throwIfClosed(),!n.isStopped){n.currentObservers||(n.currentObservers=Array.from(n.observers));try{for(var a=St(n.currentObservers),s=a.next();!s.done;s=a.next()){var u=s.value;u.next(r)}}catch(l){i={error:l}}finally{try{s&&!s.done&&(o=a.return)&&o.call(a)}finally{if(i)throw i.error}}}})},t.prototype.error=function(r){var n=this;Ge(function(){if(n._throwIfClosed(),!n.isStopped){n.hasError=n.isStopped=!0,n.thrownError=r;for(var i=n.observers;i.length;)i.shift().error(r)}})},t.prototype.complete=function(){var r=this;Ge(function(){if(r._throwIfClosed(),!r.isStopped){r.isStopped=!0;for(var n=r.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 r;return((r=this.observers)===null||r===void 0?void 0:r.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(r){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,r)},t.prototype._subscribe=function(r){return this._throwIfClosed(),this._checkFinalizedStatuses(r),this._innerSubscribe(r)},t.prototype._innerSubscribe=function(r){var n=this,i=this,o=i.hasError,a=i.isStopped,s=i.observers;return o||a?sn:(this.currentObservers=null,s.push(r),new Ze(function(){n.currentObservers=null,wt(s,r)}))},t.prototype._checkFinalizedStatuses=function(r){var n=this,i=n.hasError,o=n.thrownError,a=n.isStopped;i?r.error(o):a&&r.complete()},t.prototype.asObservable=function(){var r=new ur;return r.source=this,r},t.create=function(r,n){return new hr(r,n)},t}(ur),hr=function(e){Ae(t,e);function t(r,n){var i=e.call(this)||this;return i.destination=r,i.source=n,i}return t.prototype.next=function(r){var n,i;(i=(n=this.destination)===null||n===void 0?void 0:n.next)===null||i===void 0||i.call(n,r)},t.prototype.error=function(r){var n,i;(i=(n=this.destination)===null||n===void 0?void 0:n.error)===null||i===void 0||i.call(n,r)},t.prototype.complete=function(){var r,n;(n=(r=this.destination)===null||r===void 0?void 0:r.complete)===null||n===void 0||n.call(r)},t.prototype._subscribe=function(r){var n,i;return(i=(n=this.source)===null||n===void 0?void 0:n.subscribe(r))!==null&&i!==void 0?i:sn},t}(hn),cn={now:function(){return(cn.delegate||Date).now()},delegate:void 0},na=function(e){Ae(t,e);function t(r,n,i){r===void 0&&(r=1/0),n===void 0&&(n=1/0),i===void 0&&(i=cn);var o=e.call(this)||this;return o._bufferSize=r,o._windowTime=n,o._timestampProvider=i,o._buffer=[],o._infiniteTimeWindow=!0,o._infiniteTimeWindow=n===1/0,o._bufferSize=Math.max(1,r),o._windowTime=Math.max(1,n),o}return t.prototype.next=function(r){var n=this,i=n.isStopped,o=n._buffer,a=n._infiniteTimeWindow,s=n._timestampProvider,u=n._windowTime;i||(o.push(r),!a&&o.push(s.now()+u)),this._trimBuffer(),e.prototype.next.call(this,r)},t.prototype._subscribe=function(r){this._throwIfClosed(),this._trimBuffer();for(var n=this._innerSubscribe(r),i=this,o=i._infiniteTimeWindow,a=i._buffer,s=a.slice(),u=0;u<s.length&&!r.closed;u+=o?1:2)r.next(s[u]);return this._checkFinalizedStatuses(r),n},t.prototype._trimBuffer=function(){var r=this,n=r._bufferSize,i=r._timestampProvider,o=r._buffer,a=r._infiniteTimeWindow,s=(a?1:2)*n;if(n<1/0&&s<o.length&&o.splice(0,o.length-s),!a){for(var u=i.now(),l=0,h=1;h<o.length&&o[h]<=u;h+=2)l=h;l&&o.splice(0,l+1)}},t}(hn);const cr=[],fr={},ia=(e,t=0)=>{if(cr.indexOf(e)==-1){const r=new na(t);fr[e]=r,cr.push(e)}return fr[e]};window.emWidgets={topic:ia};const oa=e=>!!(e.toLowerCase().match(/android/i)||e.toLowerCase().match(/blackberry|bb/i)||e.toLowerCase().match(/iphone|ipad|ipod/i)||e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)),$e=e=>e.toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC";String(Number.MAX_SAFE_INTEGER).length;const ue="__WIDGET_GLOBAL_STYLE_CACHE__";function fn(e,t){if(e){const r=document.createElement("style");r.innerHTML=t,e.appendChild(r)}}function dn(e,t){if(!e||!t)return;const r=new URL(t);fetch(r.href).then(n=>n.text()).then(n=>{const i=document.createElement("style");i.innerHTML=n,e&&e.appendChild(i)}).catch(n=>{console.error("There was an error while trying to load client styling from URL",n)})}function mn(e,t,r,n=!1){if(!window.emMessageBus)return;if(!("adoptedStyleSheets"in Document.prototype)||!n)return r=aa(e,t),r;window[ue]||(window[ue]={}),r=sa(e,t);const o=r.unsubscribe.bind(r),a=()=>{if(window[ue][t]){const s=window[ue][t];s.refCount>1?s.refCount=s.refCount-1:delete window[ue][t]}o()};return r.unsubscribe=a,r}function aa(e,t){const r=document.createElement("style");return window.emMessageBus.subscribe(t,n=>{e&&(r.innerHTML=n,e.appendChild(r))})}function sa(e,t){return window.emMessageBus.subscribe(t,r=>{if(!e)return;const n=e.getRootNode(),i=window[ue];let o=i[t]&&i[t].sheet;o?i[t].refCount=i[t].refCount+1:(o=new CSSStyleSheet,o.replaceSync(r),i[t]={sheet:o,refCount:1});const a=n.adoptedStyleSheets||[];a.includes(o)||(n.adoptedStyleSheets=[...a,o])})}const ua=(e,t)=>function(...r){clearTimeout(this.debounceTimer),this.debounceTimer=setTimeout(()=>{e.apply(this,r)},t)};if(typeof window!="undefined"){let e=function(t){return function(...r){try{return t.apply(this,r)}catch(n){if(n instanceof DOMException&&n.message.includes("has already been used with this registry")||n.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw n}}};customElements.define=e(customElements.define),Promise.resolve().then(()=>require("./CasinoGameThumbnail-0cPu_cTV.cjs")).then(({default:t})=>{!customElements.get("casino-game-thumbnail")&&customElements.define("casino-game-thumbnail",t.element)})}function Ht(e){"@babel/helpers - typeof";return Ht=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ht(e)}function Je(e,t){if(t.length<e)throw new TypeError(e+" argument"+(e>1?"s":"")+" required, but only "+t.length+" present")}function me(e){Je(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||Ht(e)==="object"&&t==="[object Date]"?new Date(e.getTime()):typeof e=="number"||t==="[object Number]"?new Date(e):((typeof e=="string"||t==="[object String]")&&typeof console!="undefined"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn(new Error().stack)),new Date(NaN))}function dr(e,t){return Je(2,arguments),me(e).getTime()-me(t).getTime()}function la(e,t){Je(2,arguments);var r=me(e),n=me(t);return r.getTime()>n.getTime()}function ha(e,t){Je(2,arguments);var r=me(e),n=me(t);return r.getTime()<n.getTime()}function ca(e){Hr(e,"svelte-nijkoq","*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}:host{font-family:inherit}input,textarea,button{font-family:inherit}.CasinoSearch{margin:10px 16px;position:relative}.SearchWrap{width:100%;margin:auto}.OverlayCancel{width:100%;height:100vh;position:absolute;translate:0 -100px;z-index:2}.LoadingContent{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.Search{display:flex;align-items:center;position:relative;z-index:5}.SearchIcon{position:absolute;left:15px;top:50%;z-index:1;transform:translateY(-50%)}.SearchIcon svg{height:14px;width:13px}.SearchInput{border-radius:4px;border:1px solid var(--emw--color-gray-300, #58586B);color:var(--emw--color-gray-100, #E6E6E6);display:block;font-size:16px;font-weight:300;padding:14px 5px 14px 46px;width:100%;padding-right:28px}.SearchInput::placeholder{color:var(--emw--color-gray-150, #828282);font-size:16px;font-weight:300}.SearchInput:focus{outline:1px solid var(--emw--color-gray-300, #58586B)}.SearchInput::-webkit-search-decoration,.SearchInput::-webkit-search-cancel-button,.SearchInput::-webkit-search-results-button,.SearchInput::-webkit-search-results-decoration{-webkit-appearance:none}.SearchClearButton{position:absolute;top:30%;right:65px;cursor:pointer}.SearchClearButton.WithoutCancel{right:18px}.SearchCancelButton{color:var(--emw--color-contrast, #E6E6E6);font-weight:300;margin-left:8px;cursor:pointer}.SearchMessage{font-size:18px;font-weight:600;margin:24px 0;color:var(--emw--color-contrast, #000000)}.SearchErrorIcon{height:170px;filter:drop-shadow(1px 5px 5px rgba(0, 0, 0, 0.1))}.SearchResultsContainer{display:grid;gap:28px;grid-template-columns:repeat(auto-fill, minmax(min(192px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 192px);grid-auto-rows:192px;grid-auto-columns:192px;grid-auto-flow:row dense}@media screen and (max-width: 480px){.SearchResultsContainer{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(122px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 122px);grid-auto-rows:122px;grid-auto-columns:122px}}@media screen and (max-width: 385px){.SearchResultsContainer{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(110px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 110px);grid-auto-rows:110px;grid-auto-columns:110px}}@media screen and (min-width: 1100px){.SearchResultsContainer{grid-template-rows:repeat(auto-fill, 142px);grid-auto-rows:142px}}@media screen and (max-width: 1300px){.SearchResultsContainer{padding:0 2.4%}}.ResultsContainerError{text-align:center;width:300px;color:var(--emw--color-contrast, #828282);font-weight:300;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);z-index:1;margin-top:120px}casino-game-thumbnail-nd{z-index:5}.NotVisible{display:none}.Desktop .NotVisible{opacity:0;visibility:hidden;display:inline}.Desktop .SearchWrap{width:50%;margin:auto}.Desktop.CasinoSearch{margin:10px auto;position:relative}.Desktop .ResultsContainerError{text-align:center;width:300px;color:var(--emw--color-contrast, #828282);font-weight:300;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);z-index:1;margin-top:120px}.Desktop .ResultsContainerError.WithIcon{top:60%}.Desktop .Search{display:flex;align-items:center;justify-content:center;transition:all 0.2s cubic-bezier(1, 0, 0.46, 1.03)}.Desktop .SearchIcon{position:relative;top:0;left:0;transform:translateY(0);margin-right:-28px}.Desktop .SearchClearButton{position:relative;top:0;right:0;margin-left:-23px}.Desktop .SearchCancelButton{margin-left:20px}.Desktop .SearchAnimation{transform:scaleX(110%)}.Desktop .SearchAnimation Input{outline:none;box-shadow:0 5px 7px rgba(0, 0, 0, 0.25);background-color:rgba(255, 255, 255, 0.2)}.Desktop .SearchMessage{font-size:18px;font-weight:600;margin:24px 0;margin-top:90px}.Desktop .SearchErrorIcon{height:190px;margin-bottom:-70px}.Desktop .OverlayCancel{height:90vh;z-index:2}")}function mr(e,t,r){const n=e.slice();return n[55]=t[r],n}function pr(e){let t,r=e[21]("cancel")+"",n,i,o,a;return{c(){t=H("small"),n=J(r),b(t,"class",i="SearchCancelButton "+(e[16]?"NotVisible":""))},m(s,u){R(s,t,u),x(t,n),o||(a=re(t,"click",e[37]),o=!0)},p(s,u){u[0]&2097152&&r!==(r=s[21]("cancel")+"")&&ee(n,r),u[0]&65536&&i!==(i="SearchCancelButton "+(s[16]?"NotVisible":""))&&b(t,"class",i)},d(s){s&&I(t),o=!1,a()}}}function fa(e){let t,r,n,i;function o(h,c){if(h[17]==!0&&h[14].length<2)return pa;if(h[13].length!=0)return ma}let a=o(e),s=a&&a(e),u=e[16]===!1&&vr(e),l=e[14].length>=2&&e[13].length==0&&Sr(e);return{c(){s&&s.c(),t=z(),r=H("div"),u&&u.c(),n=z(),l&&l.c(),b(r,"class",i="SearchResultsContainer "+(e[17]==!0?"":"NotVisible"))},m(h,c){s&&s.m(h,c),R(h,t,c),R(h,r,c),u&&u.m(r,null),x(r,n),l&&l.m(r,null)},p(h,c){a===(a=o(h))&&s?s.p(h,c):(s&&s.d(1),s=a&&a(h),s&&(s.c(),s.m(t.parentNode,t))),h[16]===!1?u?u.p(h,c):(u=vr(h),u.c(),u.m(r,n)):u&&(u.d(1),u=null),h[14].length>=2&&h[13].length==0?l?l.p(h,c):(l=Sr(h),l.c(),l.m(r,null)):l&&(l.d(1),l=null),c[0]&131072&&i!==(i="SearchResultsContainer "+(h[17]==!0?"":"NotVisible"))&&b(r,"class",i)},d(h){h&&(I(t),I(r)),s&&s.d(h),u&&u.d(),l&&l.d()}}}function da(e){let t,r=e[21]("loading")+"",n;return{c(){t=H("p"),n=J(r),b(t,"class","LoadingContent")},m(i,o){R(i,t,o),x(t,n)},p(i,o){o[0]&2097152&&r!==(r=i[21]("loading")+"")&&ee(n,r)},d(i){i&&I(t)}}}function ma(e){let t,r=e[21]("searchResult")+"",n;return{c(){t=H("p"),n=J(r),b(t,"class","SearchMessage")},m(i,o){R(i,t,o),x(t,n)},p(i,o){o[0]&2097152&&r!==(r=i[21]("searchResult")+"")&&ee(n,r)},d(i){i&&I(t)}}}function pa(e){let t,r,n=e[13].length!==0&&gr(e),i=e[13].length==0&&br(e);return{c(){n&&n.c(),t=z(),i&&i.c(),r=Bt()},m(o,a){n&&n.m(o,a),R(o,t,a),i&&i.m(o,a),R(o,r,a)},p(o,a){o[13].length!==0?n?n.p(o,a):(n=gr(o),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null),o[13].length==0?i?i.p(o,a):(i=br(o),i.c(),i.m(r.parentNode,r)):i&&(i.d(1),i=null)},d(o){o&&(I(t),I(r)),n&&n.d(o),i&&i.d(o)}}}function gr(e){let t,r=e[21]("recentSearch")+"",n;return{c(){t=H("p"),n=J(r),b(t,"class","SearchMessage")},m(i,o){R(i,t,o),x(t,n)},p(i,o){o[0]&2097152&&r!==(r=i[21]("recentSearch")+"")&&ee(n,r)},d(i){i&&I(t)}}}function br(e){let t,r,n,i=e[21]("noRecentSearches")+"",o,a,s=e[10]==="true"&&yr();return{c(){t=H("div"),s&&s.c(),r=z(),n=H("p"),o=J(i),b(n,"class","SearchMessage"),b(t,"class",a="ResultsContainerError "+(e[10]=="true"?"WithIcon":""))},m(u,l){R(u,t,l),s&&s.m(t,null),x(t,r),x(t,n),x(n,o)},p(u,l){u[10]==="true"?s||(s=yr(),s.c(),s.m(t,r)):s&&(s.d(1),s=null),l[0]&2097152&&i!==(i=u[21]("noRecentSearches")+"")&&ee(o,i),l[0]&1024&&a!==(a="ResultsContainerError "+(u[10]=="true"?"WithIcon":""))&&b(t,"class",a)},d(u){u&&I(t),s&&s.d()}}}function yr(e){let t;return{c(){t=H("div"),t.innerHTML='<svg width="" height="" viewBox="0 0 240 160" fill="none" xmlns="http://www.w3.org/2000/svg"><rect x="40" width="160" height="160" rx="80" fill="var(--emw--color-contrast, #E6E6E6)" fill-opacity="0.6"></rect><path d="M152 112L136 96" stroke="var(--emw--color-contrast, #131313)" stroke-width="3" stroke-linecap="square" stroke-linejoin="round"></path><path d="M116 104C131.464 104 144 91.464 144 76C144 60.536 131.464 48 116 48C100.536 48 88 60.536 88 76C88 91.464 100.536 104 116 104Z" stroke="var(--emw--color-contrast, #131313)" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M116.001 78.1221L121.88 84.0009L124.001 81.8796L118.122 76.0008L124.002 70.1214L121.88 68L116.001 73.8795L110.121 68L108 70.1214L113.879 76.0008L108.001 81.8796L110.122 84.0009L116.001 78.1221Z" fill="var(--emw--color-contrast, #131313)"></path></svg>',b(t,"class","SearchErrorIcon")},m(r,n){R(r,t,n)},d(r){r&&I(t)}}}function vr(e){let t,r=ht(e[13]),n=[];for(let i=0;i<r.length;i+=1)n[i]=_r(mr(e,r,i));return{c(){for(let i=0;i<n.length;i+=1)n[i].c();t=Bt()},m(i,o){for(let a=0;a<n.length;a+=1)n[a]&&n[a].m(i,o);R(i,t,o)},p(i,o){if(o[0]&35138047){r=ht(i[13]);let a;for(a=0;a<r.length;a+=1){const s=mr(i,r,a);n[a]?n[a].p(s,o):(n[a]=_r(s),n[a].c(),n[a].m(t.parentNode,t))}for(;a<n.length;a+=1)n[a].d(1);n.length=r.length}},d(i){i&&I(t),Ar(n,i)}}}function _r(e){let t,r,n,i,o,a,s,u,l,h,c,d;return{c(){var m;t=H("casino-game-thumbnail"),g(t,"endpoint",e[0]),g(t,"session",e[19]),g(t,"userid",e[20]),g(t,"favorites",e[8]),g(t,"lang",e[1]),g(t,"gamethumbnail",r=e[55].thumbnail),g(t,"gamename",n=e[55].name),g(t,"gamevendor",i=e[55].vendor.displayName),g(t,"gameLaunchUrl",o=e[55].launchUrl),g(t,"gameisnew",a=e[55].isNew),g(t,"gametag",s=((m=e[55].advancedTags)==null?void 0:m.length)>0&&e[25](e[55].advancedTags)),g(t,"gamecellsize",u=e[55].cellSize),g(t,"gameid",l=e[55].id),g(t,"showgamename",e[6]),g(t,"gamefunmode",h=e[55].hasFunMode),g(t,"gamefavorite",c=e[55].isFavorite),g(t,"livelobbyendpoint",d=e[55].details?e[55].launchUrl:""),g(t,"integratedgameframedesktop",e[4]),g(t,"mbsource",e[11]),g(t,"integratedgameframemobile",e[5]),g(t,"clientstyling",e[2]),g(t,"clientstylingurl",e[3]),g(t,"gamepagemodalurl",e[7])},m(m,p){R(m,t,p)},p(m,p){var y;p[0]&1&&g(t,"endpoint",m[0]),p[0]&524288&&g(t,"session",m[19]),p[0]&1048576&&g(t,"userid",m[20]),p[0]&256&&g(t,"favorites",m[8]),p[0]&2&&g(t,"lang",m[1]),p[0]&8192&&r!==(r=m[55].thumbnail)&&g(t,"gamethumbnail",r),p[0]&8192&&n!==(n=m[55].name)&&g(t,"gamename",n),p[0]&8192&&i!==(i=m[55].vendor.displayName)&&g(t,"gamevendor",i),p[0]&8192&&o!==(o=m[55].launchUrl)&&g(t,"gameLaunchUrl",o),p[0]&8192&&a!==(a=m[55].isNew)&&g(t,"gameisnew",a),p[0]&8192&&s!==(s=((y=m[55].advancedTags)==null?void 0:y.length)>0&&m[25](m[55].advancedTags))&&g(t,"gametag",s),p[0]&8192&&u!==(u=m[55].cellSize)&&g(t,"gamecellsize",u),p[0]&8192&&l!==(l=m[55].id)&&g(t,"gameid",l),p[0]&64&&g(t,"showgamename",m[6]),p[0]&8192&&h!==(h=m[55].hasFunMode)&&g(t,"gamefunmode",h),p[0]&8192&&c!==(c=m[55].isFavorite)&&g(t,"gamefavorite",c),p[0]&8192&&d!==(d=m[55].details?m[55].launchUrl:"")&&g(t,"livelobbyendpoint",d),p[0]&16&&g(t,"integratedgameframedesktop",m[4]),p[0]&2048&&g(t,"mbsource",m[11]),p[0]&32&&g(t,"integratedgameframemobile",m[5]),p[0]&4&&g(t,"clientstyling",m[2]),p[0]&8&&g(t,"clientstylingurl",m[3]),p[0]&128&&g(t,"gamepagemodalurl",m[7])},d(m){m&&I(t)}}}function Sr(e){let t,r,n,i=e[21]("notFound")+"",o,a,s,u=e[21]("notFoundText")+"",l,h,c=e[10]==="true"&&Er();return{c(){t=H("div"),c&&c.c(),r=z(),n=H("p"),o=J(i),a=z(),s=H("p"),l=J(u),b(n,"class","SearchMessage"),b(t,"class",h="ResultsContainerError "+(e[10]=="true"?"WithIcon":""))},m(d,m){R(d,t,m),c&&c.m(t,null),x(t,r),x(t,n),x(n,o),x(t,a),x(t,s),x(s,l)},p(d,m){d[10]==="true"?c||(c=Er(),c.c(),c.m(t,r)):c&&(c.d(1),c=null),m[0]&2097152&&i!==(i=d[21]("notFound")+"")&&ee(o,i),m[0]&2097152&&u!==(u=d[21]("notFoundText")+"")&&ee(l,u),m[0]&1024&&h!==(h="ResultsContainerError "+(d[10]=="true"?"WithIcon":""))&&b(t,"class",h)},d(d){d&&I(t),c&&c.d()}}}function Er(e){let t;return{c(){t=H("div"),t.innerHTML='<svg width="" height="" viewBox="0 0 240 160" fill="none" xmlns="http://www.w3.org/2000/svg"><rect x="40" width="160" height="160" rx="80" fill="var(--emw--color-contrast, #E6E6E6)" fill-opacity="0.6"></rect><path d="M152 112L136 96" stroke="var(--emw--color-contrast, #131313)" stroke-width="3" stroke-linecap="square" stroke-linejoin="round"></path><path d="M116 104C131.464 104 144 91.464 144 76C144 60.536 131.464 48 116 48C100.536 48 88 60.536 88 76C88 91.464 100.536 104 116 104Z" stroke="var(--emw--color-contrast, #131313)" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M116.001 78.1221L121.88 84.0009L124.001 81.8796L118.122 76.0008L124.002 70.1214L121.88 68L116.001 73.8795L110.121 68L108 70.1214L113.879 76.0008L108.001 81.8796L110.122 84.0009L116.001 78.1221Z" fill="var(--emw--color-contrast, #131313)"></path></svg>',b(t,"class","SearchErrorIcon")},m(r,n){R(r,t,n)},d(r){r&&I(t)}}}function ga(e){let t,r,n,i,o,a,s,u,l,h,c,d,m,p,y,B,k,j,N,$,E=e[9]==="true"&&pr(e);function G(w,F){return w[18]?da:fa}let X=G(e),C=X(e);return{c(){t=H("div"),r=H("div"),n=H("div"),i=H("div"),i.innerHTML='<svg width="14" height="15" fill="none" xmlns="http://www.w3.org/2000/svg"><path stroke="#212121" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" d="m10.48 10.985 2.21 2.373"></path><circle cx="6.5" cy="6.5" r="5.75" stroke="#212121" stroke-width="1.5"></circle></svg>',o=z(),a=H("input"),u=z(),l=H("span"),h=Fe("svg"),c=Fe("path"),m=z(),E&&E.c(),y=z(),B=H("div"),j=z(),C.c(),b(i,"class","SearchIcon"),b(a,"class","SearchInput"),b(a,"type","search"),b(a,"placeholder",s=e[21]("placeHolderSearchGames")),b(a,"maxlength",ba),b(c,"d","m1.45 1.5 8.1 8M1.45 9.5l8.1-8"),b(c,"stroke","#717171"),b(c,"stroke-width","2"),b(c,"stroke-linecap","round"),b(c,"stroke-linejoin","round"),b(h,"width","11"),b(h,"height","11"),b(h,"fill","none"),b(h,"xmlns","http://www.w3.org/2000/svg"),b(l,"class",d="SearchClearButton "+(e[9]!="true"?"WithoutCancel":"")+" "+(e[14].length!=0?"":"NotVisible")),b(n,"class",p="Search "+(e[16]?"":"SearchAnimation")),b(r,"class","SearchWrap"),b(B,"class",k=e[9]!="true"?"OverlayCancel":""),b(t,"class",($e(e[22])!=="PC"?"":"Desktop")+" CasinoSearch")},m(w,F){R(w,t,F),x(t,r),x(r,n),x(n,i),x(n,o),x(n,a),$t(a,e[14]),e[35](a),x(n,u),x(n,l),x(l,h),x(h,c),x(n,m),E&&E.m(n,null),x(t,y),x(t,B),x(t,j),C.m(t,null),e[38](t),N||($=[re(a,"input",e[34]),re(a,"focus",e[23]),re(a,"input",e[28]),re(l,"click",e[36]),re(B,"click",e[24])],N=!0)},p(w,F){F[0]&2097152&&s!==(s=w[21]("placeHolderSearchGames"))&&b(a,"placeholder",s),F[0]&16384&&a.value!==w[14]&&$t(a,w[14]),F[0]&16896&&d!==(d="SearchClearButton "+(w[9]!="true"?"WithoutCancel":"")+" "+(w[14].length!=0?"":"NotVisible"))&&b(l,"class",d),w[9]==="true"?E?E.p(w,F):(E=pr(w),E.c(),E.m(n,null)):E&&(E.d(1),E=null),F[0]&65536&&p!==(p="Search "+(w[16]?"":"SearchAnimation"))&&b(n,"class",p),F[0]&512&&k!==(k=w[9]!="true"?"OverlayCancel":"")&&b(B,"class",k),X===(X=G(w))&&C?C.p(w,F):(C.d(1),C=X(w),C&&(C.c(),C.m(t,null)))},i:W,o:W,d(w){w&&I(t),e[35](null),E&&E.d(),C.d(),e[38](null),N=!1,pe($)}}}let ba=50;function ya(e,t,r){let n;Tr(e,on,f=>r(21,n=f));let{endpoint:i=""}=t,{datasource:o=""}=t,{session:a=""}=t,{userid:s=""}=t,{lang:u="en"}=t,{clientstyling:l=""}=t,{clientstylingurl:h=""}=t,{integratedgameframedesktop:c="false"}=t,{integratedgameframemobile:d="false"}=t,{showgamename:m=""}=t,{gamepagemodalurl:p="true"}=t,{translationurl:y=""}=t,{showfavorites:B=""}=t,{cancelbutton:k="true"}=t,{notfoundicon:j="false"}=t,{mbsource:N}=t,$=window.navigator.userAgent,E=[],G=[],X={},C="",w,F=!0,ye=!1,q=!1,Y,Pe=!1,Be,Ce,It=[],gn;const bn=()=>{fetch(y).then(S=>S.json()).then(S=>{Object.keys(S).forEach(P=>{ir(P,S[P])})}).catch(S=>{console.log(S)})};Object.keys(or).forEach(f=>{ir(f,or[f])});const Nt=f=>{f.data&&f.data.type=="SearchedItemClicked"&&wn(f.data.gameId),f.data.type=="UserSessionID"&&(r(19,Be=f.data.session),r(20,Ce=f.data.userid),r(33,Pe=!0)),f.data.type=="CategoryChange"&&Oe()},Rt=()=>{if(r(16,F=!1),r(17,ye=!0),i&&o&&u&&C.length<2){r(13,E=[]);let f=localStorage.getItem("searchedGamesWds_casino"),S=[];f&&(S=f.split(","));let P=[],O=0,M=S.length;if(M>0){for(O=0;O<M;O++){let V=new URL(`${i}/v1/casino/games/${S[O]}`);V.searchParams.append("language",u),V.searchParams.append("datasource",o),V.searchParams.append("platform",$e($)),P.push(_n(V,S[O]))}Promise.all(P).then(V=>{V=V.filter(function(te){return!!te}),r(13,E=V.map(te=>(te.isFavorite=Mt(te.id),te))),E.length?ve("searchSuccess","SearchWidget"):ve("searchFail","SearchWidget")}).catch(V=>{ve("searchError","SearchWidget")})}}Gt(ye),ve("searchAttempt","SearchWidget"),ve("SearchInitialized","SearchWidget")},ve=(f,S)=>{typeof gtag=="function"&&gtag("event",f,{context:S})},yn=()=>{k!="true"&&Oe()},vn=f=>new Promise((S,P)=>{r(18,q=!0),fetch(f.href).then(O=>O.json()).then(O=>{r(18,q=!1),S(O)}).catch(O=>{r(18,q=!1),console.error(O),P(O)})}),_n=(f,S)=>new Promise((P,O)=>{r(18,q=!0),S&&Object.keys(X).indexOf(S)>=0?(r(18,q=!1),P(X[S])):fetch(f).then(M=>M.json()).then(M=>{r(18,q=!1),M.error||(X[M[0].gameId]=M[0]),P(M[0])}).catch(M=>{r(18,q=!1),console.error(M),O(M)})}),Sn=()=>{const f=new URL(`${i}/v1/player/${Ce}/favorites/`);r(18,q=!0);let S={method:"GET",headers:{"X-SessionID":Be}};fetch(f.href,S).then(P=>P.json()).then(P=>{r(18,q=!1),It=P.items.map(O=>O.id)})},En=()=>{r(33,Pe=!0),r(19,Be=a),r(20,Ce=s)},Mt=f=>It.findIndex(S=>S==f)!==-1,xn=f=>{if((f==null?void 0:f.length)===0)return"";let S,P=99999999999,O;const M=new Date(Date.now());return f.forEach((V,te)=>{const Ln=new Date(V.schedules[0].startTime),Ye=new Date(V.schedules[0].endTime);dr(new Date(Ye),new Date(M))<P&&(P=dr(new Date(Ye),new Date(M)),O=te),la(new Date(M),new Date(Ln))&&ha(new Date(M),new Date(Ye))&&(S=f[O].name)}),S},wn=f=>{if(G=localStorage.getItem("searchedGamesWds_casino"),G?G=G.split(","):G=[],G.indexOf(f)===-1){let S;G.unshift(f),S=G.join(","),localStorage.setItem("searchedGamesWds_casino",S)}},Oe=()=>{r(14,C=""),r(16,F=!0),r(18,q=!1),r(13,E=[]),r(17,ye=!1),Gt(ye)},Dt=()=>{r(14,C=""),w.focus()},Gt=f=>{window.postMessage({type:f===!0?"searchActive":"searchCancelled",searchStatus:f},window.location.href)},Tn=()=>{Vo(u)},Hn=ua(()=>Ke(this,null,function*(){if(C.length>=2){const f=new URL(`${i}/v1/casino/games`);f.searchParams.append("datasource",o),f.searchParams.append("expand","vendor"),f.searchParams.append("platform",$e($)),f.searchParams.append("language",u),f.searchParams.append("pagination","offset=0,limit=30"),f.searchParams.append("filter",`name=${C}`),vn(f).then(S=>{r(13,E=S.items.map(P=>(P.isFavorite=Mt(P.id),P)))})}else F||Rt()}),500);Pr(()=>(window.addEventListener("message",Nt,!1),()=>{window.removeEventListener("message",Nt)}));function An(){C=this.value,r(14,C)}function Pn(f){xe[f?"unshift":"push"](()=>{w=f,r(15,w)})}const Bn=()=>Dt(),Cn=()=>Oe();function On(f){xe[f?"unshift":"push"](()=>{Y=f,r(12,Y)})}return e.$$set=f=>{"endpoint"in f&&r(0,i=f.endpoint),"datasource"in f&&r(29,o=f.datasource),"session"in f&&r(30,a=f.session),"userid"in f&&r(31,s=f.userid),"lang"in f&&r(1,u=f.lang),"clientstyling"in f&&r(2,l=f.clientstyling),"clientstylingurl"in f&&r(3,h=f.clientstylingurl),"integratedgameframedesktop"in f&&r(4,c=f.integratedgameframedesktop),"integratedgameframemobile"in f&&r(5,d=f.integratedgameframemobile),"showgamename"in f&&r(6,m=f.showgamename),"gamepagemodalurl"in f&&r(7,p=f.gamepagemodalurl),"translationurl"in f&&r(32,y=f.translationurl),"showfavorites"in f&&r(8,B=f.showfavorites),"cancelbutton"in f&&r(9,k=f.cancelbutton),"notfoundicon"in f&&r(10,j=f.notfoundicon),"mbsource"in f&&r(11,N=f.mbsource)},e.$$.update=()=>{e.$$.dirty[0]&2&&u&&Tn(),e.$$.dirty[1]&2&&y&&bn(),e.$$.dirty[0]&1073741824|e.$$.dirty[1]&1&&a&&s&&En(),e.$$.dirty[0]&256|e.$$.dirty[1]&4&&B&&Pe&&Sn(),e.$$.dirty[0]&4100&&l&&Y&&fn(Y,l),e.$$.dirty[0]&4104&&h&&Y&&dn(Y,h),e.$$.dirty[0]&6144&&Y&&mn(Y,`${N}.Style`,gn)},[i,u,l,h,c,d,m,p,B,k,j,N,Y,E,C,w,F,ye,q,Be,Ce,n,$,Rt,yn,xn,Oe,Dt,Hn,o,a,s,y,Pe,An,Pn,Bn,Cn,On]}class pn extends Nr{constructor(t){super(),Or(this,t,ya,ga,Pt,{endpoint:0,datasource:29,session:30,userid:31,lang:1,clientstyling:2,clientstylingurl:3,integratedgameframedesktop:4,integratedgameframemobile:5,showgamename:6,gamepagemodalurl:7,translationurl:32,showfavorites:8,cancelbutton:9,notfoundicon:10,mbsource:11},ca,[-1,-1])}get endpoint(){return this.$$.ctx[0]}set endpoint(t){this.$$set({endpoint:t}),L()}get datasource(){return this.$$.ctx[29]}set datasource(t){this.$$set({datasource:t}),L()}get session(){return this.$$.ctx[30]}set session(t){this.$$set({session:t}),L()}get userid(){return this.$$.ctx[31]}set userid(t){this.$$set({userid:t}),L()}get lang(){return this.$$.ctx[1]}set lang(t){this.$$set({lang:t}),L()}get clientstyling(){return this.$$.ctx[2]}set clientstyling(t){this.$$set({clientstyling:t}),L()}get clientstylingurl(){return this.$$.ctx[3]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),L()}get integratedgameframedesktop(){return this.$$.ctx[4]}set integratedgameframedesktop(t){this.$$set({integratedgameframedesktop:t}),L()}get integratedgameframemobile(){return this.$$.ctx[5]}set integratedgameframemobile(t){this.$$set({integratedgameframemobile:t}),L()}get showgamename(){return this.$$.ctx[6]}set showgamename(t){this.$$set({showgamename:t}),L()}get gamepagemodalurl(){return this.$$.ctx[7]}set gamepagemodalurl(t){this.$$set({gamepagemodalurl:t}),L()}get translationurl(){return this.$$.ctx[32]}set translationurl(t){this.$$set({translationurl:t}),L()}get showfavorites(){return this.$$.ctx[8]}set showfavorites(t){this.$$set({showfavorites:t}),L()}get cancelbutton(){return this.$$.ctx[9]}set cancelbutton(t){this.$$set({cancelbutton:t}),L()}get notfoundicon(){return this.$$.ctx[10]}set notfoundicon(t){this.$$set({notfoundicon:t}),L()}get mbsource(){return this.$$.ctx[11]}set mbsource(t){this.$$set({mbsource:t}),L()}}Ir(pn,{endpoint:{},datasource:{},session:{},userid:{},lang:{},clientstyling:{},clientstylingurl:{},integratedgameframedesktop:{},integratedgameframemobile:{},showgamename:{},gamepagemodalurl:{},translationurl:{},showfavorites:{},cancelbutton:{},notfoundicon:{},mbsource:{}},[],[],!0);const va=Object.freeze(Object.defineProperty({__proto__:null,default:pn},Symbol.toStringTag,{value:"Module"}));exports.$format=on;exports.$locale=ie;exports.CasinoSearch_ce=va;exports.HtmlTag=Vn;exports.SvelteComponent=Nr;exports.addMessages=Ot;exports.append=x;exports.append_styles=Hr;exports.attr=b;exports.binding_callbacks=xe;exports.component_subscribe=Tr;exports.create_custom_element=Ir;exports.destroy_each=Ar;exports.detach=I;exports.element=H;exports.empty=Bt;exports.ensure_array_like=ht;exports.flush=L;exports.getDevice=$e;exports.init=Or;exports.insert=R;exports.isMobile=oa;exports.listen=re;exports.noop=W;exports.onMount=Pr;exports.safe_not_equal=Pt;exports.setClientStyling=fn;exports.setClientStylingURL=dn;exports.setStreamStyling=mn;exports.set_custom_element_data=g;exports.set_data=ee;exports.space=z;exports.src_url_equal=Gn;exports.svg_element=Fe;exports.text=J;exports.tick=Xn;exports.toggle_class=$n;
@@ -1 +1 @@
1
- "use strict";if(typeof window!="undefined"){let n=function(e){return function(...s){try{return e.apply(this,s)}catch(t){if(t instanceof DOMException&&t.message.includes("has already been used with this registry")||t.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw t}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CasinoSearch-wy-jATkm.cjs")).then(e=>e.CasinoSearch_ce).then(({default:e})=>{!customElements.get("casino-search")&&customElements.define("casino-search",e.element)})}
1
+ "use strict";if(typeof window!="undefined"){let n=function(e){return function(...s){try{return e.apply(this,s)}catch(t){if(t instanceof DOMException&&t.message.includes("has already been used with this registry")||t.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw t}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CasinoSearch-DPcvWdoQ.cjs")).then(e=>e.CasinoSearch_ce).then(({default:e})=>{!customElements.get("casino-search")&&customElements.define("casino-search",e.element)})}
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
10
10
  }
11
11
  };
12
12
  };
13
- customElements.define = n(customElements.define), import("../components/CasinoSearch-D9sRQX9E.js").then((e) => e.I).then(({ default: e }) => {
13
+ customElements.define = n(customElements.define), import("../components/CasinoSearch-CCHaKGsz.js").then((e) => e.I).then(({ default: e }) => {
14
14
  !customElements.get("casino-search") && customElements.define("casino-search", e.element);
15
15
  });
16
16
  }
@@ -1,4 +1,4 @@
1
- import { I as n } from "../components/CasinoSearch-B3CJn6Nd.js";
1
+ import { I as n } from "../components/CasinoSearch-BNm3Msnp.js";
2
2
  function a(t) {
3
3
  return function(...s) {
4
4
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/casino-search",
3
- "version": "1.88.5",
3
+ "version": "1.88.7",
4
4
  "type": "module",
5
5
  "main": "es2015/casino-search.cjs",
6
6
  "module": "esnext/casino-search.js",