@everymatrix/casino-search 1.99.79 → 1.99.80
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{CasinoGameThumbnail-INZJxz5S.cjs → CasinoGameThumbnail-BMSzY5eT.cjs} +1 -1
- package/components/{CasinoGameThumbnail-DCyUWKaV.js → CasinoGameThumbnail-Ct-VcAw1.js} +2 -2
- package/components/{CasinoGameThumbnail-DnMIBzY9.js → CasinoGameThumbnail-MJ0ReTRN.js} +2 -2
- package/components/{CasinoSearch-fMYk--6J.cjs → CasinoSearch-BS09EnFS.cjs} +1 -1
- package/components/{CasinoSearch-BZs30n64.js → CasinoSearch-BmWU9C18.js} +1 -1
- package/components/{CasinoSearch-kzL8V5hx.js → CasinoSearch-C91p9o5K.js} +1 -1
- package/es2015/casino-search.cjs +1 -1
- package/es2015/casino-search.js +1 -1
- package/esnext/casino-search.js +1 -1
- package/package.json +1 -1
- package/stencil/{index-97d17652-zTl06Vn9.cjs → index-97d17652-BUsT0tgW.cjs} +1 -1
- package/stencil/{index-97d17652-B7kuyr7B.js → index-97d17652-CZxi3kOG.js} +1 -1
- package/stencil/{index-97d17652-Cylnizw0.js → index-97d17652-DyrHar7l.js} +1 -1
- package/stencil/{ui-image-z7WRgMwb.js → ui-image-C-ZG34G7.js} +1 -1
- package/stencil/{ui-image-BX-FBhad.cjs → ui-image-Dv5PFK6e.cjs} +1 -1
- package/stencil/{ui-image-b7b48fe5-C1j5WYU1.js → ui-image-b7b48fe5-ByC46-jC.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-Yz-NwCB5.js → ui-image-b7b48fe5-DLvoe1rm.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-MC0x5ZQd.cjs → ui-image-b7b48fe5-uBpJv1IJ.cjs} +1 -1
- package/stencil/{ui-image-CBZB9VGk.js → ui-image-cUOCTKUC.js} +1 -1
- package/stencil/{ui-image_2-B6hxNvK2.js → ui-image_2-C_hQX-mP.js} +2 -2
- package/stencil/{ui-image_2-CyqE6j_W.cjs → ui-image_2-CtHmFuNz.cjs} +1 -1
- package/stencil/{ui-image_2-CeEpO7fa.js → ui-image_2-Dmh_l69D.js} +2 -2
|
@@ -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-
|
|
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-BS09EnFS.cjs");require("../stencil/ui-image-Dv5PFK6e.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
|
|
@@ -1,5 +1,5 @@
|
|
|
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-
|
|
2
|
-
import "../stencil/ui-image-
|
|
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-BmWU9C18.js";
|
|
2
|
+
import "../stencil/ui-image-cUOCTKUC.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.');
|
|
5
5
|
}
|
|
@@ -14,8 +14,8 @@ 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-
|
|
18
|
-
import "../stencil/ui-image-
|
|
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-C91p9o5K.js";
|
|
18
|
+
import "../stencil/ui-image-C-ZG34G7.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.');
|
|
21
21
|
}
|
|
@@ -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=>{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-INZJxz5S.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"&>ag("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-BMSzY5eT.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"&>ag("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;
|
|
@@ -4551,7 +4551,7 @@ if (typeof window < "u") {
|
|
|
4551
4551
|
}
|
|
4552
4552
|
};
|
|
4553
4553
|
};
|
|
4554
|
-
customElements.define = e(customElements.define), import("./CasinoGameThumbnail-
|
|
4554
|
+
customElements.define = e(customElements.define), import("./CasinoGameThumbnail-Ct-VcAw1.js").then(({ default: t }) => {
|
|
4555
4555
|
!customElements.get("casino-game-thumbnail") && customElements.define("casino-game-thumbnail", t.element);
|
|
4556
4556
|
});
|
|
4557
4557
|
}
|
|
@@ -4588,7 +4588,7 @@ if (typeof window != "undefined") {
|
|
|
4588
4588
|
}
|
|
4589
4589
|
};
|
|
4590
4590
|
};
|
|
4591
|
-
customElements.define = e(customElements.define), import("./CasinoGameThumbnail-
|
|
4591
|
+
customElements.define = e(customElements.define), import("./CasinoGameThumbnail-MJ0ReTRN.js").then(({ default: t }) => {
|
|
4592
4592
|
!customElements.get("casino-game-thumbnail") && customElements.define("casino-game-thumbnail", t.element);
|
|
4593
4593
|
});
|
|
4594
4594
|
}
|
package/es2015/casino-search.cjs
CHANGED
|
@@ -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-
|
|
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-BS09EnFS.cjs")).then(e=>e.CasinoSearch_ce).then(({default:e})=>{!customElements.get("casino-search")&&customElements.define("casino-search",e.element)})}
|
package/es2015/casino-search.js
CHANGED
|
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
|
|
|
10
10
|
}
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
|
-
customElements.define = n(customElements.define), import("../components/CasinoSearch-
|
|
13
|
+
customElements.define = n(customElements.define), import("../components/CasinoSearch-C91p9o5K.js").then((e) => e.I).then(({ default: e }) => {
|
|
14
14
|
!customElements.get("casino-search") && customElements.define("casino-search", e.element);
|
|
15
15
|
});
|
|
16
16
|
}
|
package/esnext/casino-search.js
CHANGED
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var x=(e,t,n)=>new Promise((s,r)=>{var i=a=>{try{$(n.next(a))}catch(o){r(o)}},l=a=>{try{$(n.throw(a))}catch(o){r(o)}},$=a=>a.done?s(a.value):Promise.resolve(a.value).then(i,l);$((n=n.apply(e,t)).next())});const ge="ui-image",he={hydratedSelectorName:"hydrated"};var pe=Object.defineProperty,ye=(e,t)=>{for(var n in t)pe(e,n,{get:t[n],enumerable:!0})},B=new WeakMap,E=e=>B.get(e),me=(e,t)=>B.set(t.$lazyInstance$=e,t),Se=(e,t)=>{const n={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};return n.$onReadyPromise$=new Promise(s=>n.$onReadyResolve$=s),e["s-p"]=[],e["s-rc"]=[],B.set(e,n)},D=(e,t)=>t in e,k=(e,t)=>(0,console.error)(e,t),w=new Map,Ee=(e,t,n)=>{const s=e.$tagName$.replace(/-/g,"_"),r=e.$lazyBundleId$;if(!r)return;const i=w.get(r);if(i)return i[s];{const l=$=>(w.set(r,$),$[s]);switch(r){case"ui-image_2":return Promise.resolve().then(()=>require("./ui-image_2-CyqE6j_W.cjs")).then(l,k)}}return import(`./${r}.entry.js`).then(l=>(w.set(r,l),l[s]),k)},A=new Map,ke="{visibility:hidden}.hydrated{visibility:inherit}",Q="slot-fb{display:contents}slot-fb[hidden]{display:none}",j=typeof window!="undefined"?window:{},m=j.document||{head:{}},h={$flags$:0,$resourcesUrl$:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,s)=>e.addEventListener(t,n,s),rel:(e,t,n,s)=>e.removeEventListener(t,n,s),ce:(e,t)=>new CustomEvent(e,t)},Z=e=>Promise.resolve(e),be=(()=>{try{return new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function"}catch(e){}return!1})(),I=!1,W=[],R=[],Pe=(e,t)=>n=>{e.push(n),I||(I=!0,h.$flags$&4?C(U):h.raf(U))},M=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(n){k(n)}e.length=0},U=()=>{M(W),M(R),(I=W.length>0)&&h.raf(U)},C=e=>Z().then(e),xe=Pe(R),G={},q=e=>(e=typeof e,e==="object"||e==="function");function N(e){var t,n,s;return(s=(n=(t=e.head)==null?void 0:t.querySelector('meta[name="csp-nonce"]'))==null?void 0:n.getAttribute("content"))!=null?s:void 0}var Te={};ye(Te,{err:()=>V,map:()=>_e,ok:()=>H,unwrap:()=>Ae,unwrapErr:()=>Le});var H=e=>({isOk:!0,isErr:!1,value:e}),V=e=>({isOk:!1,isErr:!0,value:e});function _e(e,t){if(e.isOk){const n=t(e.value);return n instanceof Promise?n.then(s=>H(s)):H(n)}if(e.isErr){const n=e.value;return V(n)}throw"should never get here"}var Ae=e=>{if(e.isOk)return e.value;throw e.value},Le=e=>{if(e.isErr)return e.value;throw e.value},S=(e,t="")=>()=>{},je=(e,t)=>()=>{},ee=(e,t,...n)=>{let s=null,r=null,i=!1,l=!1;const $=[],a=c=>{for(let f=0;f<c.length;f++)s=c[f],Array.isArray(s)?a(s):s!=null&&typeof s!="boolean"&&((i=typeof e!="function"&&!q(s))&&(s=String(s)),i&&l?$[$.length-1].$text$+=s:$.push(i?z(null,s):s),l=i)};if(a(n),t){t.key&&(r=t.key);{const c=t.className||t.class;c&&(t.class=typeof c!="object"?c:Object.keys(c).filter(f=>c[f]).join(" "))}}const o=z(e,null);return o.$attrs$=t,$.length>0&&(o.$children$=$),o.$key$=r,o},z=(e,t)=>{const n={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};return n.$attrs$=null,n.$key$=null,n},te={},Oe=e=>e&&e.$tag$===te,we=(e,t)=>e!=null&&!q(e)?t&4?e==="false"?!1:e===""||!!e:t&2?parseFloat(e):t&1?String(e):e:e,Ie=e=>E(e).$hostElement$,Ue=(e,t,n)=>{const s=h.ce(t,n);return e.dispatchEvent(s),s},X=new WeakMap,He=(e,t,n)=>{let s=A.get(e);be&&n?(s=s||new CSSStyleSheet,typeof s=="string"?s=t:s.replaceSync(t)):s=t,A.set(e,s)},ze=(e,t,n)=>{var s;const r=se(t),i=A.get(r);if(e=e.nodeType===11?e:m,i)if(typeof i=="string"){e=e.head||e;let l=X.get(e),$;if(l||X.set(e,l=new Set),!l.has(r)){{$=m.createElement("style"),$.innerHTML=i;const a=(s=h.$nonce$)!=null?s:N(m);a!=null&&$.setAttribute("nonce",a),e.insertBefore($,e.querySelector("link"))}t.$flags$&4&&($.innerHTML+=Q),l&&l.add(r)}}else e.adoptedStyleSheets.includes(i)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,i]);return r},Be=e=>{const t=e.$cmpMeta$,n=e.$hostElement$,s=S("attachStyles",t.$tagName$);ze(n.getRootNode(),t),s()},se=(e,t)=>"sc-"+e.$tagName$,Y=(e,t,n,s,r,i)=>{if(n!==s){let l=D(e,t),$=t.toLowerCase();if(t==="class"){const a=e.classList,o=J(n),c=J(s);a.remove(...o.filter(f=>f&&!c.includes(f))),a.add(...c.filter(f=>f&&!o.includes(f)))}else if(t==="style"){for(const a in n)(!s||s[a]==null)&&(a.includes("-")?e.style.removeProperty(a):e.style[a]="");for(const a in s)(!n||s[a]!==n[a])&&(a.includes("-")?e.style.setProperty(a,s[a]):e.style[a]=s[a])}else if(t!=="key")if(t==="ref")s&&s(e);else if(!l&&t[0]==="o"&&t[1]==="n"){if(t[2]==="-"?t=t.slice(3):D(j,$)?t=$.slice(2):t=$[2]+t.slice(3),n||s){const a=t.endsWith(ne);t=t.replace(qe,""),n&&h.rel(e,t,n,a),s&&h.ael(e,t,s,a)}}else{const a=q(s);if((l||a&&s!==null)&&!r)try{if(e.tagName.includes("-"))e[t]=s;else{const o=s==null?"":s;t==="list"?l=!1:(n==null||e[t]!=o)&&(e[t]=o)}}catch(o){}s==null||s===!1?(s!==!1||e.getAttribute(t)==="")&&e.removeAttribute(t):(!l||i&4||r)&&!a&&(s=s===!0?"":s,e.setAttribute(t,s))}}},Ce=/\s/,J=e=>e?e.split(Ce):[],ne="Capture",qe=new RegExp(ne+"$"),re=(e,t,n)=>{const s=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$,r=e&&e.$attrs$||G,i=t.$attrs$||G;for(const l of K(Object.keys(r)))l in i||Y(s,l,r[l],void 0,n,t.$flags$);for(const l of K(Object.keys(i)))Y(s,l,r[l],i[l],n,t.$flags$)};function K(e){return e.includes("ref")?[...e.filter(t=>t!=="ref"),"ref"]:e}var le,ae=!1,L=(e,t,n,s)=>{const r=t.$children$[n];let i=0,l,$;if(r.$text$!==null)l=r.$elm$=m.createTextNode(r.$text$);else if(l=r.$elm$=m.createElement(r.$tag$),re(null,r,ae),r.$children$)for(i=0;i<r.$children$.length;++i)$=L(e,r,i),$&&l.appendChild($);return l["s-hn"]=le,l},ie=(e,t,n,s,r,i)=>{let l=e,$;for(;r<=i;++r)s[r]&&($=L(null,n,r),$&&(s[r].$elm$=$,_(l,$,t)))},$e=(e,t,n)=>{for(let s=t;s<=n;++s){const r=e[s];if(r){const i=r.$elm$;oe(r),i&&i.remove()}}},Fe=(e,t,n,s,r=!1)=>{let i=0,l=0,$=0,a=0,o=t.length-1,c=t[0],f=t[o],u=s.length-1,d=s[0],v=s[u],g,p;for(;i<=o&&l<=u;)if(c==null)c=t[++i];else if(f==null)f=t[--o];else if(d==null)d=s[++l];else if(v==null)v=s[--u];else if(T(c,d,r))b(c,d,r),c=t[++i],d=s[++l];else if(T(f,v,r))b(f,v,r),f=t[--o],v=s[--u];else if(T(c,v,r))b(c,v,r),_(e,c.$elm$,f.$elm$.nextSibling),c=t[++i],v=s[--u];else if(T(f,d,r))b(f,d,r),_(e,f.$elm$,c.$elm$),f=t[--o],d=s[++l];else{for($=-1,a=i;a<=o;++a)if(t[a]&&t[a].$key$!==null&&t[a].$key$===d.$key$){$=a;break}$>=0?(p=t[$],p.$tag$!==d.$tag$?g=L(t&&t[l],n,$):(b(p,d,r),t[$]=void 0,g=p.$elm$),d=s[++l]):(g=L(t&&t[l],n,l),d=s[++l]),g&&_(c.$elm$.parentNode,g,c.$elm$)}i>o?ie(e,s[u+1]==null?null:s[u+1].$elm$,n,s,l,u):l>u&&$e(t,i,o)},T=(e,t,n=!1)=>e.$tag$===t.$tag$?n?!0:e.$key$===t.$key$:!1,b=(e,t,n=!1)=>{const s=t.$elm$=e.$elm$,r=e.$children$,i=t.$children$,l=t.$text$;l===null?(re(e,t,ae),r!==null&&i!==null?Fe(s,r,t,i,n):i!==null?(e.$text$!==null&&(s.textContent=""),ie(s,null,t,i,0,i.length-1)):r!==null&&$e(r,0,r.length-1)):e.$text$!==l&&(s.data=l)},oe=e=>{e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null),e.$children$&&e.$children$.map(oe)},_=(e,t,n)=>e==null?void 0:e.insertBefore(t,n),De=(e,t,n=!1)=>{const s=e.$hostElement$,r=e.$vnode$||z(null,null),i=Oe(t)?t:ee(null,null,t);if(le=s.tagName,n&&i.$attrs$)for(const l of Object.keys(i.$attrs$))s.hasAttribute(l)&&!["key","ref","style","class"].includes(l)&&(i.$attrs$[l]=s[l]);i.$tag$=null,i.$flags$|=4,e.$vnode$=i,i.$elm$=r.$elm$=s,b(r,i,n)},ce=(e,t)=>{t&&!e.$onRenderResolve$&&t["s-p"]&&t["s-p"].push(new Promise(n=>e.$onRenderResolve$=n))},F=(e,t)=>{if(e.$flags$|=16,e.$flags$&4){e.$flags$|=512;return}return ce(e,e.$ancestorComponent$),xe(()=>We(e,t))},We=(e,t)=>{const n=e.$hostElement$,s=S("scheduleUpdate",e.$cmpMeta$.$tagName$),r=e.$lazyInstance$;if(!r)throw new Error(`Can't render component <${n.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let i;return s(),Me(i,()=>Xe(e,r,t))},Me=(e,t)=>Ge(e)?e.then(t).catch(n=>{console.error(n),t()}):t(),Ge=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",Xe=(e,t,n)=>x(exports,null,function*(){var s;const r=e.$hostElement$,i=S("update",e.$cmpMeta$.$tagName$),l=r["s-rc"];n&&Be(e);const $=S("render",e.$cmpMeta$.$tagName$);Ye(e,t,r,n),l&&(l.map(a=>a()),r["s-rc"]=void 0),$(),i();{const a=(s=r["s-p"])!=null?s:[],o=()=>Je(e);a.length===0?o():(Promise.all(a).then(o),e.$flags$|=4,a.length=0)}}),Ye=(e,t,n,s)=>{try{t=t.render(),e.$flags$&=-17,e.$flags$|=2,De(e,t,s)}catch(r){k(r,e.$hostElement$)}return null},Je=e=>{const t=e.$cmpMeta$.$tagName$,n=e.$hostElement$,s=S("postUpdate",t),r=e.$lazyInstance$,i=e.$ancestorComponent$;e.$flags$&64?s():(e.$flags$|=64,ue(n),Ke(r,"componentDidLoad"),s(),e.$onReadyResolve$(n),i||fe()),e.$onRenderResolve$&&(e.$onRenderResolve$(),e.$onRenderResolve$=void 0),e.$flags$&512&&C(()=>F(e,!1)),e.$flags$&=-517},fe=e=>{ue(m.documentElement),C(()=>Ue(j,"appload",{detail:{namespace:ge}}))},Ke=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(s){k(s)}},ue=e=>{var t;return e.classList.add((t=he.hydratedSelectorName)!=null?t:"hydrated")},Qe=(e,t)=>E(e).$instanceValues$.get(t),Ze=(e,t,n,s)=>{const r=E(e);if(!r)throw new Error(`Couldn't find host element for "${s.$tagName$}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`);const i=r.$hostElement$,l=r.$instanceValues$.get(t),$=r.$flags$,a=r.$lazyInstance$;n=we(n,s.$members$[t][0]);const o=Number.isNaN(l)&&Number.isNaN(n),c=n!==l&&!o;if((!($&8)||l===void 0)&&c&&(r.$instanceValues$.set(t,n),a)){if(s.$watchers$&&$&128){const f=s.$watchers$[t];f&&f.map(u=>{try{a[u](n,l,t)}catch(d){k(d,i)}})}($&18)===2&&F(r,!1)}},de=(e,t,n)=>{var s,r;const i=e.prototype;if(t.$members$||t.$watchers$||e.watchers){e.watchers&&!t.$watchers$&&(t.$watchers$=e.watchers);const l=Object.entries((s=t.$members$)!=null?s:{});if(l.map(([$,[a]])=>{(a&31||n&2&&a&32)&&Object.defineProperty(i,$,{get(){return Qe(this,$)},set(o){Ze(this,$,o,t)},configurable:!0,enumerable:!0})}),n&1){const $=new Map;i.attributeChangedCallback=function(a,o,c){h.jmp(()=>{var f;const u=$.get(a);if(this.hasOwnProperty(u))c=this[u],delete this[u];else{if(i.hasOwnProperty(u)&&typeof this[u]=="number"&&this[u]==c)return;if(u==null){const d=E(this),v=d==null?void 0:d.$flags$;if(v&&!(v&8)&&v&128&&c!==o){const g=d.$lazyInstance$,p=(f=t.$watchers$)==null?void 0:f[a];p==null||p.forEach(y=>{g[y]!=null&&g[y].call(g,c,o,a)})}return}}this[u]=c===null&&typeof this[u]=="boolean"?!1:c})},e.observedAttributes=Array.from(new Set([...Object.keys((r=t.$watchers$)!=null?r:{}),...l.filter(([a,o])=>o[0]&15).map(([a,o])=>{const c=o[1]||a;return $.set(c,a),c})]))}}return e},Re=(e,t,n,s)=>x(exports,null,function*(){let r;if(!(t.$flags$&32)){if(t.$flags$|=32,n.$lazyBundleId$){const a=Ee(n);if(a&&"then"in a){const c=je();r=yield a,c()}else r=a;if(!r)throw new Error(`Constructor for "${n.$tagName$}#${t.$modeName$}" was not found`);r.isProxied||(n.$watchers$=r.watchers,de(r,n,2),r.isProxied=!0);const o=S("createInstance",n.$tagName$);t.$flags$|=8;try{new r(t)}catch(c){k(c)}t.$flags$&=-9,t.$flags$|=128,o()}else{r=e.constructor;const a=e.localName;customElements.whenDefined(a).then(()=>t.$flags$|=128)}if(r&&r.style){let a;typeof r.style=="string"&&(a=r.style);const o=se(n);if(!A.has(o)){const c=S("registerStyles",n.$tagName$);He(o,a,!!(n.$flags$&1)),c()}}}const i=t.$ancestorComponent$,l=()=>F(t,!0);i&&i["s-rc"]?i["s-rc"].push(l):l()}),Ne=e=>{},Ve=e=>{if(!(h.$flags$&1)){const t=E(e),n=t.$cmpMeta$,s=S("connectedCallback",n.$tagName$);if(t.$flags$&1)t!=null&&t.$lazyInstance$||t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>Ne());else{t.$flags$|=1;{let r=e;for(;r=r.parentNode||r.host;)if(r["s-p"]){ce(t,t.$ancestorComponent$=r);break}}n.$members$&&Object.entries(n.$members$).map(([r,[i]])=>{if(i&31&&e.hasOwnProperty(r)){const l=e[r];delete e[r],e[r]=l}}),Re(e,t,n)}s()}},et=e=>{},tt=e=>x(exports,null,function*(){if(!(h.$flags$&1)){const t=E(e);t!=null&&t.$lazyInstance$||t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>et())}}),st=(e,t={})=>{var n;const s=S(),r=[],i=t.exclude||[],l=j.customElements,$=m.head,a=$.querySelector("meta[charset]"),o=m.createElement("style"),c=[];let f,u=!0;Object.assign(h,t),h.$resourcesUrl$=new URL(t.resourcesUrl||"./",m.baseURI).href;let d=!1;if(e.map(v=>{v[1].map(g=>{var p;const y={$flags$:g[0],$tagName$:g[1],$members$:g[2],$listeners$:g[3]};y.$flags$&4&&(d=!0),y.$members$=g[2],y.$watchers$=(p=g[4])!=null?p:{};const P=y.$tagName$,ve=class extends HTMLElement{constructor(O){super(O),this.hasRegisteredEventListeners=!1,O=this,Se(O,y)}connectedCallback(){E(this),this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0),f&&(clearTimeout(f),f=null),u?c.push(this):h.jmp(()=>Ve(this))}disconnectedCallback(){h.jmp(()=>tt(this))}componentOnReady(){return E(this).$onReadyPromise$}};y.$lazyBundleId$=v[0],!i.includes(P)&&!l.get(P)&&(r.push(P),l.define(P,de(ve,y,1)))})}),r.length>0&&(d&&(o.textContent+=Q),o.textContent+=r.sort()+ke,o.innerHTML.length)){o.setAttribute("data-styles","");const v=(n=h.$nonce$)!=null?n:N(m);v!=null&&o.setAttribute("nonce",v),$.insertBefore(o,a?a.nextSibling:$.firstChild)}u=!1,c.length?c.map(v=>v.connectedCallback()):h.jmp(()=>f=setTimeout(fe,30)),s()};exports.Host=te;exports.bootstrapLazy=st;exports.getElement=Ie;exports.h=ee;exports.promiseResolve=Z;exports.registerInstance=me;
|
|
1
|
+
"use strict";var x=(e,t,n)=>new Promise((s,r)=>{var i=a=>{try{$(n.next(a))}catch(o){r(o)}},l=a=>{try{$(n.throw(a))}catch(o){r(o)}},$=a=>a.done?s(a.value):Promise.resolve(a.value).then(i,l);$((n=n.apply(e,t)).next())});const ge="ui-image",he={hydratedSelectorName:"hydrated"};var pe=Object.defineProperty,ye=(e,t)=>{for(var n in t)pe(e,n,{get:t[n],enumerable:!0})},B=new WeakMap,E=e=>B.get(e),me=(e,t)=>B.set(t.$lazyInstance$=e,t),Se=(e,t)=>{const n={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};return n.$onReadyPromise$=new Promise(s=>n.$onReadyResolve$=s),e["s-p"]=[],e["s-rc"]=[],B.set(e,n)},D=(e,t)=>t in e,k=(e,t)=>(0,console.error)(e,t),w=new Map,Ee=(e,t,n)=>{const s=e.$tagName$.replace(/-/g,"_"),r=e.$lazyBundleId$;if(!r)return;const i=w.get(r);if(i)return i[s];{const l=$=>(w.set(r,$),$[s]);switch(r){case"ui-image_2":return Promise.resolve().then(()=>require("./ui-image_2-CtHmFuNz.cjs")).then(l,k)}}return import(`./${r}.entry.js`).then(l=>(w.set(r,l),l[s]),k)},A=new Map,ke="{visibility:hidden}.hydrated{visibility:inherit}",Q="slot-fb{display:contents}slot-fb[hidden]{display:none}",j=typeof window!="undefined"?window:{},m=j.document||{head:{}},h={$flags$:0,$resourcesUrl$:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,s)=>e.addEventListener(t,n,s),rel:(e,t,n,s)=>e.removeEventListener(t,n,s),ce:(e,t)=>new CustomEvent(e,t)},Z=e=>Promise.resolve(e),be=(()=>{try{return new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function"}catch(e){}return!1})(),I=!1,W=[],R=[],Pe=(e,t)=>n=>{e.push(n),I||(I=!0,h.$flags$&4?C(U):h.raf(U))},M=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(n){k(n)}e.length=0},U=()=>{M(W),M(R),(I=W.length>0)&&h.raf(U)},C=e=>Z().then(e),xe=Pe(R),G={},q=e=>(e=typeof e,e==="object"||e==="function");function N(e){var t,n,s;return(s=(n=(t=e.head)==null?void 0:t.querySelector('meta[name="csp-nonce"]'))==null?void 0:n.getAttribute("content"))!=null?s:void 0}var Te={};ye(Te,{err:()=>V,map:()=>_e,ok:()=>H,unwrap:()=>Ae,unwrapErr:()=>Le});var H=e=>({isOk:!0,isErr:!1,value:e}),V=e=>({isOk:!1,isErr:!0,value:e});function _e(e,t){if(e.isOk){const n=t(e.value);return n instanceof Promise?n.then(s=>H(s)):H(n)}if(e.isErr){const n=e.value;return V(n)}throw"should never get here"}var Ae=e=>{if(e.isOk)return e.value;throw e.value},Le=e=>{if(e.isErr)return e.value;throw e.value},S=(e,t="")=>()=>{},je=(e,t)=>()=>{},ee=(e,t,...n)=>{let s=null,r=null,i=!1,l=!1;const $=[],a=c=>{for(let f=0;f<c.length;f++)s=c[f],Array.isArray(s)?a(s):s!=null&&typeof s!="boolean"&&((i=typeof e!="function"&&!q(s))&&(s=String(s)),i&&l?$[$.length-1].$text$+=s:$.push(i?z(null,s):s),l=i)};if(a(n),t){t.key&&(r=t.key);{const c=t.className||t.class;c&&(t.class=typeof c!="object"?c:Object.keys(c).filter(f=>c[f]).join(" "))}}const o=z(e,null);return o.$attrs$=t,$.length>0&&(o.$children$=$),o.$key$=r,o},z=(e,t)=>{const n={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};return n.$attrs$=null,n.$key$=null,n},te={},Oe=e=>e&&e.$tag$===te,we=(e,t)=>e!=null&&!q(e)?t&4?e==="false"?!1:e===""||!!e:t&2?parseFloat(e):t&1?String(e):e:e,Ie=e=>E(e).$hostElement$,Ue=(e,t,n)=>{const s=h.ce(t,n);return e.dispatchEvent(s),s},X=new WeakMap,He=(e,t,n)=>{let s=A.get(e);be&&n?(s=s||new CSSStyleSheet,typeof s=="string"?s=t:s.replaceSync(t)):s=t,A.set(e,s)},ze=(e,t,n)=>{var s;const r=se(t),i=A.get(r);if(e=e.nodeType===11?e:m,i)if(typeof i=="string"){e=e.head||e;let l=X.get(e),$;if(l||X.set(e,l=new Set),!l.has(r)){{$=m.createElement("style"),$.innerHTML=i;const a=(s=h.$nonce$)!=null?s:N(m);a!=null&&$.setAttribute("nonce",a),e.insertBefore($,e.querySelector("link"))}t.$flags$&4&&($.innerHTML+=Q),l&&l.add(r)}}else e.adoptedStyleSheets.includes(i)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,i]);return r},Be=e=>{const t=e.$cmpMeta$,n=e.$hostElement$,s=S("attachStyles",t.$tagName$);ze(n.getRootNode(),t),s()},se=(e,t)=>"sc-"+e.$tagName$,Y=(e,t,n,s,r,i)=>{if(n!==s){let l=D(e,t),$=t.toLowerCase();if(t==="class"){const a=e.classList,o=J(n),c=J(s);a.remove(...o.filter(f=>f&&!c.includes(f))),a.add(...c.filter(f=>f&&!o.includes(f)))}else if(t==="style"){for(const a in n)(!s||s[a]==null)&&(a.includes("-")?e.style.removeProperty(a):e.style[a]="");for(const a in s)(!n||s[a]!==n[a])&&(a.includes("-")?e.style.setProperty(a,s[a]):e.style[a]=s[a])}else if(t!=="key")if(t==="ref")s&&s(e);else if(!l&&t[0]==="o"&&t[1]==="n"){if(t[2]==="-"?t=t.slice(3):D(j,$)?t=$.slice(2):t=$[2]+t.slice(3),n||s){const a=t.endsWith(ne);t=t.replace(qe,""),n&&h.rel(e,t,n,a),s&&h.ael(e,t,s,a)}}else{const a=q(s);if((l||a&&s!==null)&&!r)try{if(e.tagName.includes("-"))e[t]=s;else{const o=s==null?"":s;t==="list"?l=!1:(n==null||e[t]!=o)&&(e[t]=o)}}catch(o){}s==null||s===!1?(s!==!1||e.getAttribute(t)==="")&&e.removeAttribute(t):(!l||i&4||r)&&!a&&(s=s===!0?"":s,e.setAttribute(t,s))}}},Ce=/\s/,J=e=>e?e.split(Ce):[],ne="Capture",qe=new RegExp(ne+"$"),re=(e,t,n)=>{const s=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$,r=e&&e.$attrs$||G,i=t.$attrs$||G;for(const l of K(Object.keys(r)))l in i||Y(s,l,r[l],void 0,n,t.$flags$);for(const l of K(Object.keys(i)))Y(s,l,r[l],i[l],n,t.$flags$)};function K(e){return e.includes("ref")?[...e.filter(t=>t!=="ref"),"ref"]:e}var le,ae=!1,L=(e,t,n,s)=>{const r=t.$children$[n];let i=0,l,$;if(r.$text$!==null)l=r.$elm$=m.createTextNode(r.$text$);else if(l=r.$elm$=m.createElement(r.$tag$),re(null,r,ae),r.$children$)for(i=0;i<r.$children$.length;++i)$=L(e,r,i),$&&l.appendChild($);return l["s-hn"]=le,l},ie=(e,t,n,s,r,i)=>{let l=e,$;for(;r<=i;++r)s[r]&&($=L(null,n,r),$&&(s[r].$elm$=$,_(l,$,t)))},$e=(e,t,n)=>{for(let s=t;s<=n;++s){const r=e[s];if(r){const i=r.$elm$;oe(r),i&&i.remove()}}},Fe=(e,t,n,s,r=!1)=>{let i=0,l=0,$=0,a=0,o=t.length-1,c=t[0],f=t[o],u=s.length-1,d=s[0],v=s[u],g,p;for(;i<=o&&l<=u;)if(c==null)c=t[++i];else if(f==null)f=t[--o];else if(d==null)d=s[++l];else if(v==null)v=s[--u];else if(T(c,d,r))b(c,d,r),c=t[++i],d=s[++l];else if(T(f,v,r))b(f,v,r),f=t[--o],v=s[--u];else if(T(c,v,r))b(c,v,r),_(e,c.$elm$,f.$elm$.nextSibling),c=t[++i],v=s[--u];else if(T(f,d,r))b(f,d,r),_(e,f.$elm$,c.$elm$),f=t[--o],d=s[++l];else{for($=-1,a=i;a<=o;++a)if(t[a]&&t[a].$key$!==null&&t[a].$key$===d.$key$){$=a;break}$>=0?(p=t[$],p.$tag$!==d.$tag$?g=L(t&&t[l],n,$):(b(p,d,r),t[$]=void 0,g=p.$elm$),d=s[++l]):(g=L(t&&t[l],n,l),d=s[++l]),g&&_(c.$elm$.parentNode,g,c.$elm$)}i>o?ie(e,s[u+1]==null?null:s[u+1].$elm$,n,s,l,u):l>u&&$e(t,i,o)},T=(e,t,n=!1)=>e.$tag$===t.$tag$?n?!0:e.$key$===t.$key$:!1,b=(e,t,n=!1)=>{const s=t.$elm$=e.$elm$,r=e.$children$,i=t.$children$,l=t.$text$;l===null?(re(e,t,ae),r!==null&&i!==null?Fe(s,r,t,i,n):i!==null?(e.$text$!==null&&(s.textContent=""),ie(s,null,t,i,0,i.length-1)):r!==null&&$e(r,0,r.length-1)):e.$text$!==l&&(s.data=l)},oe=e=>{e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null),e.$children$&&e.$children$.map(oe)},_=(e,t,n)=>e==null?void 0:e.insertBefore(t,n),De=(e,t,n=!1)=>{const s=e.$hostElement$,r=e.$vnode$||z(null,null),i=Oe(t)?t:ee(null,null,t);if(le=s.tagName,n&&i.$attrs$)for(const l of Object.keys(i.$attrs$))s.hasAttribute(l)&&!["key","ref","style","class"].includes(l)&&(i.$attrs$[l]=s[l]);i.$tag$=null,i.$flags$|=4,e.$vnode$=i,i.$elm$=r.$elm$=s,b(r,i,n)},ce=(e,t)=>{t&&!e.$onRenderResolve$&&t["s-p"]&&t["s-p"].push(new Promise(n=>e.$onRenderResolve$=n))},F=(e,t)=>{if(e.$flags$|=16,e.$flags$&4){e.$flags$|=512;return}return ce(e,e.$ancestorComponent$),xe(()=>We(e,t))},We=(e,t)=>{const n=e.$hostElement$,s=S("scheduleUpdate",e.$cmpMeta$.$tagName$),r=e.$lazyInstance$;if(!r)throw new Error(`Can't render component <${n.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let i;return s(),Me(i,()=>Xe(e,r,t))},Me=(e,t)=>Ge(e)?e.then(t).catch(n=>{console.error(n),t()}):t(),Ge=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",Xe=(e,t,n)=>x(exports,null,function*(){var s;const r=e.$hostElement$,i=S("update",e.$cmpMeta$.$tagName$),l=r["s-rc"];n&&Be(e);const $=S("render",e.$cmpMeta$.$tagName$);Ye(e,t,r,n),l&&(l.map(a=>a()),r["s-rc"]=void 0),$(),i();{const a=(s=r["s-p"])!=null?s:[],o=()=>Je(e);a.length===0?o():(Promise.all(a).then(o),e.$flags$|=4,a.length=0)}}),Ye=(e,t,n,s)=>{try{t=t.render(),e.$flags$&=-17,e.$flags$|=2,De(e,t,s)}catch(r){k(r,e.$hostElement$)}return null},Je=e=>{const t=e.$cmpMeta$.$tagName$,n=e.$hostElement$,s=S("postUpdate",t),r=e.$lazyInstance$,i=e.$ancestorComponent$;e.$flags$&64?s():(e.$flags$|=64,ue(n),Ke(r,"componentDidLoad"),s(),e.$onReadyResolve$(n),i||fe()),e.$onRenderResolve$&&(e.$onRenderResolve$(),e.$onRenderResolve$=void 0),e.$flags$&512&&C(()=>F(e,!1)),e.$flags$&=-517},fe=e=>{ue(m.documentElement),C(()=>Ue(j,"appload",{detail:{namespace:ge}}))},Ke=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(s){k(s)}},ue=e=>{var t;return e.classList.add((t=he.hydratedSelectorName)!=null?t:"hydrated")},Qe=(e,t)=>E(e).$instanceValues$.get(t),Ze=(e,t,n,s)=>{const r=E(e);if(!r)throw new Error(`Couldn't find host element for "${s.$tagName$}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`);const i=r.$hostElement$,l=r.$instanceValues$.get(t),$=r.$flags$,a=r.$lazyInstance$;n=we(n,s.$members$[t][0]);const o=Number.isNaN(l)&&Number.isNaN(n),c=n!==l&&!o;if((!($&8)||l===void 0)&&c&&(r.$instanceValues$.set(t,n),a)){if(s.$watchers$&&$&128){const f=s.$watchers$[t];f&&f.map(u=>{try{a[u](n,l,t)}catch(d){k(d,i)}})}($&18)===2&&F(r,!1)}},de=(e,t,n)=>{var s,r;const i=e.prototype;if(t.$members$||t.$watchers$||e.watchers){e.watchers&&!t.$watchers$&&(t.$watchers$=e.watchers);const l=Object.entries((s=t.$members$)!=null?s:{});if(l.map(([$,[a]])=>{(a&31||n&2&&a&32)&&Object.defineProperty(i,$,{get(){return Qe(this,$)},set(o){Ze(this,$,o,t)},configurable:!0,enumerable:!0})}),n&1){const $=new Map;i.attributeChangedCallback=function(a,o,c){h.jmp(()=>{var f;const u=$.get(a);if(this.hasOwnProperty(u))c=this[u],delete this[u];else{if(i.hasOwnProperty(u)&&typeof this[u]=="number"&&this[u]==c)return;if(u==null){const d=E(this),v=d==null?void 0:d.$flags$;if(v&&!(v&8)&&v&128&&c!==o){const g=d.$lazyInstance$,p=(f=t.$watchers$)==null?void 0:f[a];p==null||p.forEach(y=>{g[y]!=null&&g[y].call(g,c,o,a)})}return}}this[u]=c===null&&typeof this[u]=="boolean"?!1:c})},e.observedAttributes=Array.from(new Set([...Object.keys((r=t.$watchers$)!=null?r:{}),...l.filter(([a,o])=>o[0]&15).map(([a,o])=>{const c=o[1]||a;return $.set(c,a),c})]))}}return e},Re=(e,t,n,s)=>x(exports,null,function*(){let r;if(!(t.$flags$&32)){if(t.$flags$|=32,n.$lazyBundleId$){const a=Ee(n);if(a&&"then"in a){const c=je();r=yield a,c()}else r=a;if(!r)throw new Error(`Constructor for "${n.$tagName$}#${t.$modeName$}" was not found`);r.isProxied||(n.$watchers$=r.watchers,de(r,n,2),r.isProxied=!0);const o=S("createInstance",n.$tagName$);t.$flags$|=8;try{new r(t)}catch(c){k(c)}t.$flags$&=-9,t.$flags$|=128,o()}else{r=e.constructor;const a=e.localName;customElements.whenDefined(a).then(()=>t.$flags$|=128)}if(r&&r.style){let a;typeof r.style=="string"&&(a=r.style);const o=se(n);if(!A.has(o)){const c=S("registerStyles",n.$tagName$);He(o,a,!!(n.$flags$&1)),c()}}}const i=t.$ancestorComponent$,l=()=>F(t,!0);i&&i["s-rc"]?i["s-rc"].push(l):l()}),Ne=e=>{},Ve=e=>{if(!(h.$flags$&1)){const t=E(e),n=t.$cmpMeta$,s=S("connectedCallback",n.$tagName$);if(t.$flags$&1)t!=null&&t.$lazyInstance$||t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>Ne());else{t.$flags$|=1;{let r=e;for(;r=r.parentNode||r.host;)if(r["s-p"]){ce(t,t.$ancestorComponent$=r);break}}n.$members$&&Object.entries(n.$members$).map(([r,[i]])=>{if(i&31&&e.hasOwnProperty(r)){const l=e[r];delete e[r],e[r]=l}}),Re(e,t,n)}s()}},et=e=>{},tt=e=>x(exports,null,function*(){if(!(h.$flags$&1)){const t=E(e);t!=null&&t.$lazyInstance$||t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>et())}}),st=(e,t={})=>{var n;const s=S(),r=[],i=t.exclude||[],l=j.customElements,$=m.head,a=$.querySelector("meta[charset]"),o=m.createElement("style"),c=[];let f,u=!0;Object.assign(h,t),h.$resourcesUrl$=new URL(t.resourcesUrl||"./",m.baseURI).href;let d=!1;if(e.map(v=>{v[1].map(g=>{var p;const y={$flags$:g[0],$tagName$:g[1],$members$:g[2],$listeners$:g[3]};y.$flags$&4&&(d=!0),y.$members$=g[2],y.$watchers$=(p=g[4])!=null?p:{};const P=y.$tagName$,ve=class extends HTMLElement{constructor(O){super(O),this.hasRegisteredEventListeners=!1,O=this,Se(O,y)}connectedCallback(){E(this),this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0),f&&(clearTimeout(f),f=null),u?c.push(this):h.jmp(()=>Ve(this))}disconnectedCallback(){h.jmp(()=>tt(this))}componentOnReady(){return E(this).$onReadyPromise$}};y.$lazyBundleId$=v[0],!i.includes(P)&&!l.get(P)&&(r.push(P),l.define(P,de(ve,y,1)))})}),r.length>0&&(d&&(o.textContent+=Q),o.textContent+=r.sort()+ke,o.innerHTML.length)){o.setAttribute("data-styles","");const v=(n=h.$nonce$)!=null?n:N(m);v!=null&&o.setAttribute("nonce",v),$.insertBefore(o,a?a.nextSibling:$.firstChild)}u=!1,c.length?c.map(v=>v.connectedCallback()):h.jmp(()=>f=setTimeout(fe,30)),s()};exports.Host=te;exports.bootstrapLazy=st;exports.getElement=Ie;exports.h=ee;exports.promiseResolve=Z;exports.registerInstance=me;
|
|
@@ -14,7 +14,7 @@ var n = (r, e, a) => new Promise((m, s) => {
|
|
|
14
14
|
}, i = (t) => t.done ? m(t.value) : Promise.resolve(t.value).then(g, u);
|
|
15
15
|
i((a = a.apply(r, e)).next());
|
|
16
16
|
});
|
|
17
|
-
import { b as c, p as l } from "./index-97d17652-
|
|
17
|
+
import { b as c, p as l } from "./index-97d17652-DyrHar7l.js";
|
|
18
18
|
import { g as d } from "./app-globals-0f993ce5-D-kw1sls.js";
|
|
19
19
|
var h = () => {
|
|
20
20
|
const r = import.meta.url, e = {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var c=(t,r,i)=>new Promise((d,s)=>{var l=e=>{try{n(i.next(e))}catch(a){s(a)}},m=e=>{try{n(i.throw(e))}catch(a){s(a)}},n=e=>e.done?d(e.value):Promise.resolve(e.value).then(l,m);n((i=i.apply(t,r)).next())});const u=require("./index-97d17652-
|
|
1
|
+
"use strict";var c=(t,r,i)=>new Promise((d,s)=>{var l=e=>{try{n(i.next(e))}catch(a){s(a)}},m=e=>{try{n(i.throw(e))}catch(a){s(a)}},n=e=>e.done?d(e.value):Promise.resolve(e.value).then(l,m);n((i=i.apply(t,r)).next())});const u=require("./index-97d17652-BUsT0tgW.cjs"),g=require("./app-globals-0f993ce5-sCt45RkC.cjs");var o=typeof document!="undefined"?document.currentScript:null,h=()=>{const t=typeof document=="undefined"?require("url").pathToFileURL(__filename).href:o&&o.tagName.toUpperCase()==="SCRIPT"&&o.src||new URL("stencil/ui-image-Dv5PFK6e.cjs",document.baseURI).href,r={};return t!==""&&(r.resourcesUrl=new URL(".",t).href),u.promiseResolve(r)};h().then(t=>c(exports,null,function*(){return yield g.globalScripts(),u.bootstrapLazy([["ui-image_2",[[0,"ui-image",{src:[1],width:[1],height:[1],alt:[1],styles:[8],detectDistance:[1,"detect-distance"],imgLoaded:[32],shouldLoad:[32]},null,{src:["handleSrc"]}],[0,"ui-skeleton",{structure:[1],width:[1],height:[1],borderRadius:[8,"border-radius"],marginBottom:[8,"margin-bottom"],marginTop:[8,"margin-top"],marginLeft:[8,"margin-left"],marginRight:[8,"margin-right"],animation:[4],rows:[2],size:[1]},null,{structure:["handleStructureChange"]}]]]],t)}));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r, h as s, H as n, g as a } from "./index-97d17652-
|
|
1
|
+
import { r, h as s, H as n, g as a } from "./index-97d17652-CZxi3kOG.js";
|
|
2
2
|
const d = ".HostContainer{display:block}.UiContainer{height:100%;width:100%;border-radius:inherit;object-fit:inherit}.UiContainer .Image{border-radius:inherit}.Hidden{opacity:0;transition:opacity 0.5s ease-in-out}.Visible{opacity:1;border-radius:var(--emw--border-radius-medium, 10px);transition:opacity 0.5s ease-in-out}", o = d, h = class {
|
|
3
3
|
constructor(e) {
|
|
4
4
|
r(this, e), this.src = void 0, this.width = void 0, this.height = void 0, this.alt = void 0, this.styles = void 0, this.detectDistance = "200px", this.imgLoaded = !1, this.shouldLoad = !1;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r, h as s, H as n, g as a } from "./index-97d17652-
|
|
1
|
+
import { r, h as s, H as n, g as a } from "./index-97d17652-DyrHar7l.js";
|
|
2
2
|
const d = ".HostContainer{display:block}.UiContainer{height:100%;width:100%;border-radius:inherit;object-fit:inherit}.UiContainer .Image{border-radius:inherit}.Hidden{opacity:0;transition:opacity 0.5s ease-in-out}.Visible{opacity:1;border-radius:var(--emw--border-radius-medium, 10px);transition:opacity 0.5s ease-in-out}", o = d, h = class {
|
|
3
3
|
constructor(e) {
|
|
4
4
|
r(this, e), this.src = void 0, this.width = void 0, this.height = void 0, this.alt = void 0, this.styles = void 0, this.detectDistance = "200px", this.imgLoaded = !1, this.shouldLoad = !1;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const i=require("./index-97d17652-
|
|
1
|
+
"use strict";const i=require("./index-97d17652-BUsT0tgW.cjs"),r=".HostContainer{display:block}.UiContainer{height:100%;width:100%;border-radius:inherit;object-fit:inherit}.UiContainer .Image{border-radius:inherit}.Hidden{opacity:0;transition:opacity 0.5s ease-in-out}.Visible{opacity:1;border-radius:var(--emw--border-radius-medium, 10px);transition:opacity 0.5s ease-in-out}",d=r,n=class{constructor(e){i.registerInstance(this,e),this.src=void 0,this.width=void 0,this.height=void 0,this.alt=void 0,this.styles=void 0,this.detectDistance="200px",this.imgLoaded=!1,this.shouldLoad=!1}handleSrc(){if(!this.shouldLoad)return;const e=new Image;e.onload=()=>{this.image&&(this.image.src=this.src,this.imgLoaded=!0,e.onload=null)},e.src=this.src}componentDidLoad(){"IntersectionObserver"in window?(this.el.__uxComponent=this,window.EMUxObserver||(window.EMUxObserver=new IntersectionObserver(e=>{e.forEach(t=>{if(t.isIntersecting){const s=t.target.__uxComponent;s&&(s.shouldLoad=!0,s.handleSrc()),window.EMUxObserver.unobserve(t.target)}})},{rootMargin:this.detectDistance})),window.EMUxObserver.observe(this.el)):(this.shouldLoad=!0,this.handleSrc())}render(){return i.h(i.Host,{key:"f506ba73852f257ad80bf59ca177d2065a5f365e",class:"HostContainer"},!this.imgLoaded&&i.h("ui-skeleton",{key:"564ebfab701f827ddc2debccb7615926dbc9e876",class:"UiContainer",structure:"image",width:"100%",height:"100%"}),i.h("img",{key:"2188ca4494c10587f064acc5459ffc468948f497",ref:e=>this.image=e,src:this.shouldLoad?this.src:void 0,onLoad:()=>this.imgLoaded=!0,style:this.styles,class:`UiContainer ${this.imgLoaded?"Visible":"Hidden"}`,alt:this.alt,width:this.width,height:this.height,loading:"lazy"}))}get el(){return i.getElement(this)}static get watchers(){return{src:["handleSrc"]}}};n.style=d;exports.UiImage=n;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { U as m } from "./ui-image-b7b48fe5-
|
|
2
|
-
import { r as n, h as t, H as r } from "./index-97d17652-
|
|
1
|
+
import { U as m } from "./ui-image-b7b48fe5-DLvoe1rm.js";
|
|
2
|
+
import { r as n, h as t, H as r } from "./index-97d17652-DyrHar7l.js";
|
|
3
3
|
const s = ":host{display:block}.Skeleton{animation:skeleton-loading 1s linear infinite alternate}.SkeletonRectangle{background-color:var(--emw-skeleton-rectangle-background, #c2c2c2);width:var(--emw-skeleton-rectangle-width, 400px);height:var(--emw-skeleton-rectangle-height, 200px);border-radius:var(--emw-skeleton-rectangle-border-radius, 10px)}.SkeletonCircle{background-color:var(--emw-skeleton-circle-background, #c2c2c2);width:var(--emw-skeleton-circle-size, 400px);height:var(--emw-skeleton-circle-size, 400px);border-radius:50%}.SkeletonText{background-color:var(--emw-skeleton-text-background, #c2c2c2);width:var(--emw-skeleton-text-width, 500px);height:var(--emw-skeleton-text-height, 20px);border-radius:var(--emw-skeleton-text-border-radius, 10px);margin-bottom:var(--emw-skeleton-text-margin-bottom, 5px)}.SkeletonText:last-child{width:calc(var(--emw-skeleton-text-width, 400px) - 100px)}.SkeletonTitle{background-color:var(--emw-skeleton-title-background, #c2c2c2);width:var(--emw-skeleton-title-width, 300px);height:var(--emw-skeleton-title-height, 30px);border-radius:var(--emw-skeleton-title-border-radius, 10px);margin-bottom:var(--emw-skeleton-title-margin-bottom, 5px)}.SkeletonImage{background-color:var(--emw-skeleton-image-background, #c2c2c2);width:var(--emw-skeleton-image-width, 100%);height:var(--emw-skeleton-image-height, 100%);border-radius:var(--emw-skeleton-image-border-radius, unset)}.SkeletonLogo{background-color:var(--emw-skeleton-logo-background, #c2c2c2);width:var(--emw-skeleton-logo-width, 120px);height:var(--emw-skeleton-logo-height, 75px);border-radius:var(--emw-skeleton-logo-border-radius, 10px)}@keyframes skeleton-loading{0%{background-color:var(--emw-skeleton-primary-color, #e0e0e0)}100%{background-color:var(--emw-skeleton-secondary-color, #f0f0f0)}}", l = s, a = class {
|
|
4
4
|
constructor(e) {
|
|
5
5
|
n(this, e), this.stylingValue = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./ui-image-b7b48fe5-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./ui-image-b7b48fe5-uBpJv1IJ.cjs"),t=require("./index-97d17652-BUsT0tgW.cjs"),s=":host{display:block}.Skeleton{animation:skeleton-loading 1s linear infinite alternate}.SkeletonRectangle{background-color:var(--emw-skeleton-rectangle-background, #c2c2c2);width:var(--emw-skeleton-rectangle-width, 400px);height:var(--emw-skeleton-rectangle-height, 200px);border-radius:var(--emw-skeleton-rectangle-border-radius, 10px)}.SkeletonCircle{background-color:var(--emw-skeleton-circle-background, #c2c2c2);width:var(--emw-skeleton-circle-size, 400px);height:var(--emw-skeleton-circle-size, 400px);border-radius:50%}.SkeletonText{background-color:var(--emw-skeleton-text-background, #c2c2c2);width:var(--emw-skeleton-text-width, 500px);height:var(--emw-skeleton-text-height, 20px);border-radius:var(--emw-skeleton-text-border-radius, 10px);margin-bottom:var(--emw-skeleton-text-margin-bottom, 5px)}.SkeletonText:last-child{width:calc(var(--emw-skeleton-text-width, 400px) - 100px)}.SkeletonTitle{background-color:var(--emw-skeleton-title-background, #c2c2c2);width:var(--emw-skeleton-title-width, 300px);height:var(--emw-skeleton-title-height, 30px);border-radius:var(--emw-skeleton-title-border-radius, 10px);margin-bottom:var(--emw-skeleton-title-margin-bottom, 5px)}.SkeletonImage{background-color:var(--emw-skeleton-image-background, #c2c2c2);width:var(--emw-skeleton-image-width, 100%);height:var(--emw-skeleton-image-height, 100%);border-radius:var(--emw-skeleton-image-border-radius, unset)}.SkeletonLogo{background-color:var(--emw-skeleton-logo-background, #c2c2c2);width:var(--emw-skeleton-logo-width, 120px);height:var(--emw-skeleton-logo-height, 75px);border-radius:var(--emw-skeleton-logo-border-radius, 10px)}@keyframes skeleton-loading{0%{background-color:var(--emw-skeleton-primary-color, #e0e0e0)}100%{background-color:var(--emw-skeleton-secondary-color, #f0f0f0)}}",l=s,n=class{constructor(e){t.registerInstance(this,e),this.stylingValue={width:this.handleStylingProps(this.width),height:this.handleStylingProps(this.height),borderRadius:this.handleStylingProps(this.borderRadius),marginBottom:this.handleStylingProps(this.marginBottom),marginTop:this.handleStylingProps(this.marginTop),marginLeft:this.handleStylingProps(this.marginLeft),marginRight:this.handleStylingProps(this.marginRight),size:this.handleStylingProps(this.size)},this.structure=void 0,this.width="unset",this.height="unset",this.borderRadius="unset",this.marginBottom="unset",this.marginTop="unset",this.marginLeft="unset",this.marginRight="unset",this.animation=!0,this.rows=0,this.size="100%"}handleStructureChange(e,i){i!==e&&this.handleStructure(e)}handleStylingProps(e){switch(typeof e){case"number":return e===0?0:`${e}px`;case"undefined":return"unset";case"string":return["auto","unset","none","inherit","initial"].includes(e)||e.endsWith("px")||e.endsWith("%")?e:"unset";default:return"unset"}}handleStructure(e){switch(e){case"logo":return this.renderLogo();case"image":return this.renderImage();case"title":return this.renderTitle();case"text":return this.renderText();case"rectangle":return this.renderRectangle();case"circle":return this.renderCircle();default:return null}}renderLogo(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"SkeletonLogo "+(this.animation?"Skeleton":"")}))}renderImage(){return t.h("div",{class:"SkeletonImage "+(this.animation?"Skeleton":"")})}renderTitle(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"SkeletonTitle "+(this.animation?"Skeleton":"")}))}renderText(){return t.h("div",{class:"SkeletonContainer"},Array.from({length:this.rows>0?this.rows:1}).map((e,i)=>t.h("div",{key:i,class:"SkeletonText "+(this.animation?"Skeleton":"")})))}renderRectangle(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"SkeletonRectangle "+(this.animation?"Skeleton":"")}))}renderCircle(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"SkeletonCircle "+(this.animation?"Skeleton":"")}))}render(){let e="";switch(this.structure){case"logo":e=`
|
|
2
2
|
:host {
|
|
3
3
|
--emw-skeleton-logo-width: ${this.stylingValue.width};
|
|
4
4
|
--emw-skeleton-logo-height: ${this.stylingValue.height};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { U as m } from "./ui-image-b7b48fe5-
|
|
2
|
-
import { r as n, h as t, H as r } from "./index-97d17652-
|
|
1
|
+
import { U as m } from "./ui-image-b7b48fe5-ByC46-jC.js";
|
|
2
|
+
import { r as n, h as t, H as r } from "./index-97d17652-CZxi3kOG.js";
|
|
3
3
|
const s = ":host{display:block}.Skeleton{animation:skeleton-loading 1s linear infinite alternate}.SkeletonRectangle{background-color:var(--emw-skeleton-rectangle-background, #c2c2c2);width:var(--emw-skeleton-rectangle-width, 400px);height:var(--emw-skeleton-rectangle-height, 200px);border-radius:var(--emw-skeleton-rectangle-border-radius, 10px)}.SkeletonCircle{background-color:var(--emw-skeleton-circle-background, #c2c2c2);width:var(--emw-skeleton-circle-size, 400px);height:var(--emw-skeleton-circle-size, 400px);border-radius:50%}.SkeletonText{background-color:var(--emw-skeleton-text-background, #c2c2c2);width:var(--emw-skeleton-text-width, 500px);height:var(--emw-skeleton-text-height, 20px);border-radius:var(--emw-skeleton-text-border-radius, 10px);margin-bottom:var(--emw-skeleton-text-margin-bottom, 5px)}.SkeletonText:last-child{width:calc(var(--emw-skeleton-text-width, 400px) - 100px)}.SkeletonTitle{background-color:var(--emw-skeleton-title-background, #c2c2c2);width:var(--emw-skeleton-title-width, 300px);height:var(--emw-skeleton-title-height, 30px);border-radius:var(--emw-skeleton-title-border-radius, 10px);margin-bottom:var(--emw-skeleton-title-margin-bottom, 5px)}.SkeletonImage{background-color:var(--emw-skeleton-image-background, #c2c2c2);width:var(--emw-skeleton-image-width, 100%);height:var(--emw-skeleton-image-height, 100%);border-radius:var(--emw-skeleton-image-border-radius, unset)}.SkeletonLogo{background-color:var(--emw-skeleton-logo-background, #c2c2c2);width:var(--emw-skeleton-logo-width, 120px);height:var(--emw-skeleton-logo-height, 75px);border-radius:var(--emw-skeleton-logo-border-radius, 10px)}@keyframes skeleton-loading{0%{background-color:var(--emw-skeleton-primary-color, #e0e0e0)}100%{background-color:var(--emw-skeleton-secondary-color, #f0f0f0)}}", l = s, a = class {
|
|
4
4
|
constructor(e) {
|
|
5
5
|
n(this, e), this.stylingValue = {
|