@everymatrix/casino-search-nd 1.94.113 → 1.94.115
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/{CasinoGameThumbnailNd-C5asPdU6.cjs → CasinoGameThumbnailNd-CRyykpBF.cjs} +1 -1
- package/components/{CasinoGameThumbnailNd-BD8y_MWa.js → CasinoGameThumbnailNd-FeDfDEzy.js} +2 -2
- package/components/{CasinoGameThumbnailNd-Nbxhn0ZX.js → CasinoGameThumbnailNd-RdZ-tZ3Z.js} +2 -2
- package/components/{CasinoSearchNd-DBI7J_hw.js → CasinoSearchNd-C2FtElTh.js} +1416 -1393
- package/components/{CasinoSearchNd-X1yAXD7J.js → CasinoSearchNd-DtiVLKlD.js} +1456 -1433
- package/components/CasinoSearchNd-lkJNx7nv.cjs +18 -0
- package/es2015/casino-search-nd.cjs +1 -1
- package/es2015/casino-search-nd.js +1 -1
- package/esnext/casino-search-nd.js +1 -1
- package/package.json +1 -1
- package/stencil/{index-97d17652-Ce2P8K1l.js → index-97d17652-B6BYeRne.js} +170 -176
- package/stencil/index-97d17652-BOr4KAqq.js +558 -0
- package/stencil/index-97d17652-zTl06Vn9.cjs +1 -0
- package/stencil/{ui-image-DYxxHglY.cjs → ui-image-BX-FBhad.cjs} +1 -1
- package/stencil/{ui-image-Kp-i1Epn.js → ui-image-CP8Lp7fB.js} +1 -1
- package/stencil/{ui-image-Du28hUkG.js → ui-image-Ch-GHki1.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-CEPR_2Zl.js → ui-image-b7b48fe5-BKRtoUuG.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-DdUCzkcr.js → ui-image-b7b48fe5-HA45CrsG.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-CynWE8qT.cjs → ui-image-b7b48fe5-MC0x5ZQd.cjs} +1 -1
- package/stencil/{ui-image_2-Do1rIyeJ.js → ui-image_2-CmVho0dS.js} +2 -2
- package/stencil/{ui-image_2-C0sJC5CL.cjs → ui-image_2-CyqE6j_W.cjs} +1 -1
- package/stencil/{ui-image_2-N1zHirfP.js → ui-image_2-Daq38JGa.js} +2 -2
- package/components/CasinoSearchNd-B9l6GKdq.cjs +0 -18
- package/stencil/index-97d17652-BeQGJyxy.js +0 -532
- package/stencil/index-97d17652-QrAXVnlo.cjs +0 -1
|
@@ -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-MC0x5ZQd.cjs"),t=require("./index-97d17652-zTl06Vn9.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-BKRtoUuG.js";
|
|
2
|
+
import { r as n, h as t, H as r } from "./index-97d17652-B6BYeRne.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,18 +0,0 @@
|
|
|
1
|
-
"use strict";var ha=Object.defineProperty,fa=Object.defineProperties;var da=Object.getOwnPropertyDescriptors;var ur=Object.getOwnPropertySymbols;var ma=Object.prototype.hasOwnProperty,ga=Object.prototype.propertyIsEnumerable;var yt=(e,t,r)=>t in e?ha(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,_t=(e,t)=>{for(var r in t||(t={}))ma.call(t,r)&&yt(e,r,t[r]);if(ur)for(var r of ur(t))ga.call(t,r)&&yt(e,r,t[r]);return e},lr=(e,t)=>fa(e,da(t));var Y=(e,t,r)=>(yt(e,typeof t!="symbol"?t+"":t,r),r);var wt=(e,t,r)=>new Promise((n,a)=>{var i=u=>{try{s(r.next(u))}catch(l){a(l)}},o=u=>{try{s(r.throw(u))}catch(l){a(l)}},s=u=>u.done?n(u.value):Promise.resolve(u.value).then(i,o);s((r=r.apply(e,t)).next())});function K(){}function Xr(e){return e()}function cr(){return Object.create(null)}function me(e){e.forEach(Xr)}function zt(e){return typeof e=="function"}function Qt(e,t){return e!=e?t==t:e!==t||e&&typeof e=="object"||typeof e=="function"}let Xe;function pa(e,t){return e===t?!0:(Xe||(Xe=document.createElement("a")),Xe.href=t,e===Xe.href)}function va(e){return Object.keys(e).length===0}function qr(e,...t){if(e==null){for(const n of t)n(void 0);return K}const r=e.subscribe(...t);return r.unsubscribe?()=>r.unsubscribe():r}function zr(e,t,r){e.$$.on_destroy.push(qr(t,r))}function P(e,t){e.appendChild(t)}function Qr(e,t,r){const n=ba(e);if(!n.getElementById(t)){const a=N("style");a.id=t,a.textContent=r,ya(n,a)}}function ba(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function ya(e,t){return P(e.head||e,t),t.sheet}function $(e,t,r){e.insertBefore(t,r||null)}function W(e){e.parentNode&&e.parentNode.removeChild(e)}function _a(e,t){for(let r=0;r<e.length;r+=1)e[r]&&e[r].d(t)}function N(e){return document.createElement(e)}function et(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function re(e){return document.createTextNode(e)}function J(){return re(" ")}function Zt(){return re("")}function fe(e,t,r,n){return e.addEventListener(t,r,n),()=>e.removeEventListener(t,r,n)}function _(e,t,r){r==null?e.removeAttribute(t):e.getAttribute(t)!==r&&e.setAttribute(t,r)}function b(e,t,r){const n=t.toLowerCase();n in e?e[n]=typeof e[n]=="boolean"&&r===""?!0:r:t in e?e[t]=typeof e[t]=="boolean"&&r===""?!0:r:_(e,t,r)}function wa(e){return Array.from(e.childNodes)}function ue(e,t){t=""+t,e.data!==t&&(e.data=t)}function hr(e,t){e.value=t==null?"":t}function Sa(e,t,r){e.classList.toggle(t,!!r)}class Ea{constructor(t=!1){Y(this,"is_svg",!1);Y(this,"e");Y(this,"n");Y(this,"t");Y(this,"a");this.is_svg=t,this.e=this.n=null}c(t){this.h(t)}m(t,r,n=null){this.e||(this.is_svg?this.e=et(r.nodeName):this.e=N(r.nodeType===11?"TEMPLATE":r.nodeName),this.t=r.tagName!=="TEMPLATE"?r:r.content,this.c(t)),this.i(n)}h(t){this.e.innerHTML=t,this.n=Array.from(this.e.nodeName==="TEMPLATE"?this.e.content.childNodes:this.e.childNodes)}i(t){for(let r=0;r<this.n.length;r+=1)$(this.t,this.n[r],t)}p(t){this.d(),this.h(t),this.i(this.a)}d(){this.n.forEach(W)}}function xa(e){const t={};return e.childNodes.forEach(r=>{t[r.slot||"default"]=!0}),t}let De;function Re(e){De=e}function Ta(){if(!De)throw new Error("Function called outside component initialization");return De}function Zr(e){Ta().$$.on_mount.push(e)}const we=[],ke=[];let Ee=[];const fr=[],Jr=Promise.resolve();let At=!1;function Kr(){At||(At=!0,Jr.then(D))}function Ca(){return Kr(),Jr}function Bt(e){Ee.push(e)}const St=new Set;let be=0;function D(){if(be!==0)return;const e=De;do{try{for(;be<we.length;){const t=we[be];be++,Re(t),Pa(t.$$)}}catch(t){throw we.length=0,be=0,t}for(Re(null),we.length=0,be=0;ke.length;)ke.pop()();for(let t=0;t<Ee.length;t+=1){const r=Ee[t];St.has(r)||(St.add(r),r())}Ee.length=0}while(we.length);for(;fr.length;)fr.pop()();At=!1,St.clear(),Re(e)}function Pa(e){if(e.fragment!==null){e.update(),me(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(Bt)}}function Oa(e){const t=[],r=[];Ee.forEach(n=>e.indexOf(n)===-1?t.push(n):r.push(n)),r.forEach(n=>n()),Ee=t}const Ha=new Set;function en(e,t){e&&e.i&&(Ha.delete(e),e.i(t))}function Lt(e){return(e==null?void 0:e.length)!==void 0?e:Array.from(e)}function Ma(e,t){e.d(1),t.delete(e.key)}function Aa(e,t,r,n,a,i,o,s,u,l,c,h){let d=e.length,m=i.length,p=d;const v={};for(;p--;)v[e[p].key]=p;const g=[],A=new Map,O=new Map,H=[];for(p=m;p--;){const T=h(a,i,p),B=r(T);let w=o.get(B);w?H.push(()=>w.p(T,t)):(w=l(B,T),w.c()),A.set(B,g[p]=w),B in v&&O.set(B,Math.abs(p-v[B]))}const F=new Set,x=new Set;function G(T){en(T,1),T.m(s,c),o.set(T.key,T),c=T.first,m--}for(;d&&m;){const T=g[m-1],B=e[d-1],w=T.key,M=B.key;T===B?(c=T.first,d--,m--):A.has(M)?!o.has(w)||F.has(w)?G(T):x.has(M)?d--:O.get(w)>O.get(M)?(x.add(w),G(T)):(F.add(M),d--):(u(B,o),d--)}for(;d--;){const T=e[d];A.has(T.key)||u(T,o)}for(;m;)G(g[m-1]);return me(H),g}function Ba(e,t,r){const{fragment:n,after_update:a}=e.$$;n&&n.m(t,r),Bt(()=>{const i=e.$$.on_mount.map(Xr).filter(zt);e.$$.on_destroy?e.$$.on_destroy.push(...i):me(i),e.$$.on_mount=[]}),a.forEach(Bt)}function La(e,t){const r=e.$$;r.fragment!==null&&(Oa(r.after_update),me(r.on_destroy),r.fragment&&r.fragment.d(t),r.on_destroy=r.fragment=null,r.ctx=[])}function Na(e,t){e.$$.dirty[0]===-1&&(we.push(e),Kr(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function tn(e,t,r,n,a,i,o=null,s=[-1]){const u=De;Re(e);const l=e.$$={fragment:null,ctx:[],props:i,update:K,not_equal:a,bound:cr(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(u?u.$$.context:[])),callbacks:cr(),dirty:s,skip_bound:!1,root:t.target||u.$$.root};o&&o(l.root);let c=!1;if(l.ctx=r?r(e,t.props||{},(h,d,...m)=>{const p=m.length?m[0]:d;return l.ctx&&a(l.ctx[h],l.ctx[h]=p)&&(!l.skip_bound&&l.bound[h]&&l.bound[h](p),c&&Na(e,h)),d}):[],l.update(),c=!0,me(l.before_update),l.fragment=n?n(l.ctx):!1,t.target){if(t.hydrate){const h=wa(t.target);l.fragment&&l.fragment.l(h),h.forEach(W)}else l.fragment&&l.fragment.c();t.intro&&en(e.$$.fragment),Ba(e,t.target,t.anchor),D()}Re(u)}let rn;typeof HTMLElement=="function"&&(rn=class extends HTMLElement{constructor(t,r,n){super();Y(this,"$$ctor");Y(this,"$$s");Y(this,"$$c");Y(this,"$$cn",!1);Y(this,"$$d",{});Y(this,"$$r",!1);Y(this,"$$p_d",{});Y(this,"$$l",{});Y(this,"$$l_u",new Map);this.$$ctor=t,this.$$s=r,n&&this.attachShadow({mode:"open"})}addEventListener(t,r,n){if(this.$$l[t]=this.$$l[t]||[],this.$$l[t].push(r),this.$$c){const a=this.$$c.$on(t,r);this.$$l_u.set(r,a)}super.addEventListener(t,r,n)}removeEventListener(t,r,n){if(super.removeEventListener(t,r,n),this.$$c){const a=this.$$l_u.get(r);a&&(a(),this.$$l_u.delete(r))}}connectedCallback(){return wt(this,null,function*(){if(this.$$cn=!0,!this.$$c){let t=function(i){return()=>{let o;return{c:function(){o=N("slot"),i!=="default"&&_(o,"name",i)},m:function(l,c){$(l,o,c)},d:function(l){l&&W(o)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const r={},n=xa(this);for(const i of this.$$s)i in n&&(r[i]=[t(i)]);for(const i of this.attributes){const o=this.$$g_p(i.name);o in this.$$d||(this.$$d[o]=Qe(o,i.value,this.$$p_d,"toProp"))}for(const i in this.$$p_d)!(i in this.$$d)&&this[i]!==void 0&&(this.$$d[i]=this[i],delete this[i]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:lr(_t({},this.$$d),{$$slots:r,$$scope:{ctx:[]}})});const a=()=>{this.$$r=!0;for(const i in this.$$p_d)if(this.$$d[i]=this.$$c.$$.ctx[this.$$c.$$.props[i]],this.$$p_d[i].reflect){const o=Qe(i,this.$$d[i],this.$$p_d,"toAttribute");o==null?this.removeAttribute(this.$$p_d[i].attribute||i):this.setAttribute(this.$$p_d[i].attribute||i,o)}this.$$r=!1};this.$$c.$$.after_update.push(a),a();for(const i in this.$$l)for(const o of this.$$l[i]){const s=this.$$c.$on(i,o);this.$$l_u.set(o,s)}this.$$l={}}})}attributeChangedCallback(t,r,n){var a;this.$$r||(t=this.$$g_p(t),this.$$d[t]=Qe(t,n,this.$$p_d,"toProp"),(a=this.$$c)==null||a.$set({[t]:this.$$d[t]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$c=void 0)})}$$g_p(t){return Object.keys(this.$$p_d).find(r=>this.$$p_d[r].attribute===t||!this.$$p_d[r].attribute&&r.toLowerCase()===t)||t}});function Qe(e,t,r,n){var i;const a=(i=r[e])==null?void 0:i.type;if(t=a==="Boolean"&&typeof t!="boolean"?t!=null:t,!n||!r[e])return t;if(n==="toAttribute")switch(a){case"Object":case"Array":return t==null?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return t==null?null:t;default:return t}else switch(a){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function nn(e,t,r,n,a,i){let o=class extends rn{constructor(){super(e,r,a),this.$$p_d=t}static get observedAttributes(){return Object.keys(t).map(s=>(t[s].attribute||s).toLowerCase())}};return Object.keys(t).forEach(s=>{Object.defineProperty(o.prototype,s,{get(){return this.$$c&&s in this.$$c?this.$$c[s]:this.$$d[s]},set(u){var l;u=Qe(s,u,t),this.$$d[s]=u,(l=this.$$c)==null||l.$set({[s]:u})}})}),n.forEach(s=>{Object.defineProperty(o.prototype,s,{get(){var u;return(u=this.$$c)==null?void 0:u[s]}})}),e.element=o,o}class an{constructor(){Y(this,"$$");Y(this,"$$set")}$destroy(){La(this,1),this.$destroy=K}$on(t,r){if(!zt(r))return K;const n=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return n.push(r),()=>{const a=n.indexOf(r);a!==-1&&n.splice(a,1)}}$set(t){this.$$set&&!va(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const Ia="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(Ia);const ye=[];function Ra(e,t){return{subscribe:ut(e,t).subscribe}}function ut(e,t=K){let r;const n=new Set;function a(s){if(Qt(e,s)&&(e=s,r)){const u=!ye.length;for(const l of n)l[1](),ye.push(l,e);if(u){for(let l=0;l<ye.length;l+=2)ye[l][0](ye[l+1]);ye.length=0}}}function i(s){a(s(e))}function o(s,u=K){const l=[s,u];return n.add(l),n.size===1&&(r=t(a,i)||K),s(e),()=>{n.delete(l),n.size===0&&r&&(r(),r=null)}}return{set:a,update:i,subscribe:o}}function Oe(e,t,r){const n=!Array.isArray(e),a=n?[e]:e;if(!a.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const i=t.length<2;return Ra(r,(o,s)=>{let u=!1;const l=[];let c=0,h=K;const d=()=>{if(c)return;h();const p=t(n?l[0]:l,o,s);i?o(p):h=zt(p)?p:K},m=a.map((p,v)=>qr(p,g=>{l[v]=g,c&=~(1<<v),u&&d()},()=>{c|=1<<v}));return u=!0,d(),function(){me(m),h(),u=!1}})}function Da(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var ka=function(t){return Ua(t)&&!Fa(t)};function Ua(e){return!!e&&typeof e=="object"}function Fa(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||Wa(e)}var Ga=typeof Symbol=="function"&&Symbol.for,ja=Ga?Symbol.for("react.element"):60103;function Wa(e){return e.$$typeof===ja}function $a(e){return Array.isArray(e)?[]:{}}function Ue(e,t){return t.clone!==!1&&t.isMergeableObject(e)?xe($a(e),e,t):e}function Va(e,t,r){return e.concat(t).map(function(n){return Ue(n,r)})}function Ya(e,t){if(!t.customMerge)return xe;var r=t.customMerge(e);return typeof r=="function"?r:xe}function Xa(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}function dr(e){return Object.keys(e).concat(Xa(e))}function on(e,t){try{return t in e}catch(r){return!1}}function qa(e,t){return on(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function za(e,t,r){var n={};return r.isMergeableObject(e)&&dr(e).forEach(function(a){n[a]=Ue(e[a],r)}),dr(t).forEach(function(a){qa(e,a)||(on(e,a)&&r.isMergeableObject(t[a])?n[a]=Ya(a,r)(e[a],t[a],r):n[a]=Ue(t[a],r))}),n}function xe(e,t,r){r=r||{},r.arrayMerge=r.arrayMerge||Va,r.isMergeableObject=r.isMergeableObject||ka,r.cloneUnlessOtherwiseSpecified=Ue;var n=Array.isArray(t),a=Array.isArray(e),i=n===a;return i?n?r.arrayMerge(e,t,r):za(e,t,r):Ue(t,r)}xe.all=function(t,r){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(n,a){return xe(n,a,r)},{})};var Qa=xe,Za=Qa;const Ja=Da(Za);var Nt=function(e,t){return Nt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(r[a]=n[a])},Nt(e,t)};function lt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");Nt(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var te=function(){return te=Object.assign||function(t){for(var r,n=1,a=arguments.length;n<a;n++){r=arguments[n];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i])}return t},te.apply(this,arguments)};function Ka(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,n=Object.getOwnPropertySymbols(e);a<n.length;a++)t.indexOf(n[a])<0&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]]);return r}function Et(e,t,r){if(r||arguments.length===2)for(var n=0,a=t.length,i;n<a;n++)(i||!(n in t))&&(i||(i=Array.prototype.slice.call(t,0,n)),i[n]=t[n]);return e.concat(i||Array.prototype.slice.call(t))}function xt(e,t){var r=t&&t.cache?t.cache:oi,n=t&&t.serializer?t.serializer:ai,a=t&&t.strategy?t.strategy:ri;return a(e,{cache:r,serializer:n})}function ei(e){return e==null||typeof e=="number"||typeof e=="boolean"}function ti(e,t,r,n){var a=ei(n)?n:r(n),i=t.get(a);return typeof i=="undefined"&&(i=e.call(this,n),t.set(a,i)),i}function sn(e,t,r){var n=Array.prototype.slice.call(arguments,3),a=r(n),i=t.get(a);return typeof i=="undefined"&&(i=e.apply(this,n),t.set(a,i)),i}function un(e,t,r,n,a){return r.bind(t,e,n,a)}function ri(e,t){var r=e.length===1?ti:sn;return un(e,this,r,t.cache.create(),t.serializer)}function ni(e,t){return un(e,this,sn,t.cache.create(),t.serializer)}var ai=function(){return JSON.stringify(arguments)},ii=function(){function e(){this.cache=Object.create(null)}return e.prototype.get=function(t){return this.cache[t]},e.prototype.set=function(t,r){this.cache[t]=r},e}(),oi={create:function(){return new ii}},Tt={variadic:ni},tt=function(){return tt=Object.assign||function(t){for(var r,n=1,a=arguments.length;n<a;n++){r=arguments[n];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i])}return t},tt.apply(this,arguments)};var S;(function(e){e[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG"})(S||(S={}));var L;(function(e){e[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag"})(L||(L={}));var Te;(function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"})(Te||(Te={}));function mr(e){return e.type===L.literal}function si(e){return e.type===L.argument}function ln(e){return e.type===L.number}function cn(e){return e.type===L.date}function hn(e){return e.type===L.time}function fn(e){return e.type===L.select}function dn(e){return e.type===L.plural}function ui(e){return e.type===L.pound}function mn(e){return e.type===L.tag}function gn(e){return!!(e&&typeof e=="object"&&e.type===Te.number)}function It(e){return!!(e&&typeof e=="object"&&e.type===Te.dateTime)}var pn=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,li=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function ci(e){var t={};return e.replace(li,function(r){var n=r.length;switch(r[0]){case"G":t.era=n===4?"long":n===5?"narrow":"short";break;case"y":t.year=n===2?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":t.month=["numeric","2-digit","short","long","narrow"][n-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][n-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=n===4?"long":n===5?"narrow":"short";break;case"e":if(n<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-4];break;case"c":if(n<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][n-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][n-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][n-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][n-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":t.minute=["numeric","2-digit"][n-1];break;case"s":t.second=["numeric","2-digit"][n-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=n<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),t}var U=function(){return U=Object.assign||function(t){for(var r,n=1,a=arguments.length;n<a;n++){r=arguments[n];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i])}return t},U.apply(this,arguments)};var hi=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function fi(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");for(var t=e.split(hi).filter(function(d){return d.length>0}),r=[],n=0,a=t;n<a.length;n++){var i=a[n],o=i.split("/");if(o.length===0)throw new Error("Invalid number skeleton");for(var s=o[0],u=o.slice(1),l=0,c=u;l<c.length;l++){var h=c[l];if(h.length===0)throw new Error("Invalid number skeleton")}r.push({stem:s,options:u})}return r}function di(e){return e.replace(/^(.*?)-/,"")}var gr=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,vn=/^(@+)?(\+|#+)?[rs]?$/g,mi=/(\*)(0+)|(#+)(0+)|(0+)/g,bn=/^(0+)$/;function pr(e){var t={};return e[e.length-1]==="r"?t.roundingPriority="morePrecision":e[e.length-1]==="s"&&(t.roundingPriority="lessPrecision"),e.replace(vn,function(r,n,a){return typeof a!="string"?(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length):a==="+"?t.minimumSignificantDigits=n.length:n[0]==="#"?t.maximumSignificantDigits=n.length:(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length+(typeof a=="string"?a.length:0)),""}),t}function yn(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function gi(e){var t;if(e[0]==="E"&&e[1]==="E"?(t={notation:"engineering"},e=e.slice(2)):e[0]==="E"&&(t={notation:"scientific"},e=e.slice(1)),t){var r=e.slice(0,2);if(r==="+!"?(t.signDisplay="always",e=e.slice(2)):r==="+?"&&(t.signDisplay="exceptZero",e=e.slice(2)),!bn.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function vr(e){var t={},r=yn(e);return r||t}function pi(e){for(var t={},r=0,n=e;r<n.length;r++){var a=n[r];switch(a.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=a.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=di(a.options[0]);continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=U(U(U({},t),{notation:"scientific"}),a.options.reduce(function(u,l){return U(U({},u),vr(l))},{}));continue;case"engineering":t=U(U(U({},t),{notation:"engineering"}),a.options.reduce(function(u,l){return U(U({},u),vr(l))},{}));continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(a.options[0]);continue;case"rounding-mode-floor":t.roundingMode="floor";continue;case"rounding-mode-ceiling":t.roundingMode="ceil";continue;case"rounding-mode-down":t.roundingMode="trunc";continue;case"rounding-mode-up":t.roundingMode="expand";continue;case"rounding-mode-half-even":t.roundingMode="halfEven";continue;case"rounding-mode-half-down":t.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":t.roundingMode="halfExpand";continue;case"integer-width":if(a.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");a.options[0].replace(mi,function(u,l,c,h,d,m){if(l)t.minimumIntegerDigits=c.length;else{if(h&&d)throw new Error("We currently do not support maximum integer digits");if(m)throw new Error("We currently do not support exact integer digits")}return""});continue}if(bn.test(a.stem)){t.minimumIntegerDigits=a.stem.length;continue}if(gr.test(a.stem)){if(a.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");a.stem.replace(gr,function(u,l,c,h,d,m){return c==="*"?t.minimumFractionDigits=l.length:h&&h[0]==="#"?t.maximumFractionDigits=h.length:d&&m?(t.minimumFractionDigits=d.length,t.maximumFractionDigits=d.length+m.length):(t.minimumFractionDigits=l.length,t.maximumFractionDigits=l.length),""});var i=a.options[0];i==="w"?t=U(U({},t),{trailingZeroDisplay:"stripIfInteger"}):i&&(t=U(U({},t),pr(i)));continue}if(vn.test(a.stem)){t=U(U({},t),pr(a.stem));continue}var o=yn(a.stem);o&&(t=U(U({},t),o));var s=gi(a.stem);s&&(t=U(U({},t),s))}return t}var qe={"001":["H","h"],419:["h","H","hB","hb"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["h","H","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["h","H","hB","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["h","H","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["h","H","hB","hb"],CU:["h","H","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["h","H","hB","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["h","H","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["h","H","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["h","H","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["h","H","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["h","H","hB","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["h","H","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["h","H","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["h","H","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"en-HK":["h","hb","H","hB"],"en-IL":["H","h","hb","hB"],"en-MY":["h","hb","H","hB"],"es-BR":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]};function vi(e,t){for(var r="",n=0;n<e.length;n++){var a=e.charAt(n);if(a==="j"){for(var i=0;n+1<e.length&&e.charAt(n+1)===a;)i++,n++;var o=1+(i&1),s=i<2?1:3+(i>>1),u="a",l=bi(t);for((l=="H"||l=="k")&&(s=0);s-- >0;)r+=u;for(;o-- >0;)r=l+r}else a==="J"?r+="H":r+=a}return r}function bi(e){var t=e.hourCycle;if(t===void 0&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var r=e.language,n;r!=="root"&&(n=e.maximize().region);var a=qe[n||""]||qe[r||""]||qe["".concat(r,"-001")]||qe["001"];return a[0]}var Ct,yi=new RegExp("^".concat(pn.source,"*")),_i=new RegExp("".concat(pn.source,"*$"));function E(e,t){return{start:e,end:t}}var wi=!!String.prototype.startsWith&&"_a".startsWith("a",1),Si=!!String.fromCodePoint,Ei=!!Object.fromEntries,xi=!!String.prototype.codePointAt,Ti=!!String.prototype.trimStart,Ci=!!String.prototype.trimEnd,Pi=!!Number.isSafeInteger,Oi=Pi?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Rt=!0;try{var Hi=wn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Rt=((Ct=Hi.exec("a"))===null||Ct===void 0?void 0:Ct[0])==="a"}catch(e){Rt=!1}var br=wi?function(t,r,n){return t.startsWith(r,n)}:function(t,r,n){return t.slice(n,n+r.length)===r},Dt=Si?String.fromCodePoint:function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];for(var n="",a=t.length,i=0,o;a>i;){if(o=t[i++],o>1114111)throw RangeError(o+" is not a valid code point");n+=o<65536?String.fromCharCode(o):String.fromCharCode(((o-=65536)>>10)+55296,o%1024+56320)}return n},yr=Ei?Object.fromEntries:function(t){for(var r={},n=0,a=t;n<a.length;n++){var i=a[n],o=i[0],s=i[1];r[o]=s}return r},_n=xi?function(t,r){return t.codePointAt(r)}:function(t,r){var n=t.length;if(!(r<0||r>=n)){var a=t.charCodeAt(r),i;return a<55296||a>56319||r+1===n||(i=t.charCodeAt(r+1))<56320||i>57343?a:(a-55296<<10)+(i-56320)+65536}},Mi=Ti?function(t){return t.trimStart()}:function(t){return t.replace(yi,"")},Ai=Ci?function(t){return t.trimEnd()}:function(t){return t.replace(_i,"")};function wn(e,t){return new RegExp(e,t)}var kt;if(Rt){var _r=wn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");kt=function(t,r){var n;_r.lastIndex=r;var a=_r.exec(t);return(n=a[1])!==null&&n!==void 0?n:""}}else kt=function(t,r){for(var n=[];;){var a=_n(t,r);if(a===void 0||Sn(a)||Ii(a))break;n.push(a),r+=a>=65536?2:1}return Dt.apply(void 0,n)};var Bi=function(){function e(t,r){r===void 0&&(r={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!r.ignoreTag,this.locale=r.locale,this.requiresOtherClause=!!r.requiresOtherClause,this.shouldParseSkeletons=!!r.shouldParseSkeletons}return e.prototype.parse=function(){if(this.offset()!==0)throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(t,r,n){for(var a=[];!this.isEOF();){var i=this.char();if(i===123){var o=this.parseArgument(t,n);if(o.err)return o;a.push(o.val)}else{if(i===125&&t>0)break;if(i===35&&(r==="plural"||r==="selectordinal")){var s=this.clonePosition();this.bump(),a.push({type:L.pound,location:E(s,this.clonePosition())})}else if(i===60&&!this.ignoreTag&&this.peek()===47){if(n)break;return this.error(S.UNMATCHED_CLOSING_TAG,E(this.clonePosition(),this.clonePosition()))}else if(i===60&&!this.ignoreTag&&Ut(this.peek()||0)){var o=this.parseTag(t,r);if(o.err)return o;a.push(o.val)}else{var o=this.parseLiteral(t,r);if(o.err)return o;a.push(o.val)}}}return{val:a,err:null}},e.prototype.parseTag=function(t,r){var n=this.clonePosition();this.bump();var a=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:L.literal,value:"<".concat(a,"/>"),location:E(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var i=this.parseMessage(t+1,r,!0);if(i.err)return i;var o=i.val,s=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!Ut(this.char()))return this.error(S.INVALID_TAG,E(s,this.clonePosition()));var u=this.clonePosition(),l=this.parseTagName();return a!==l?this.error(S.UNMATCHED_CLOSING_TAG,E(u,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:L.tag,value:a,children:o,location:E(n,this.clonePosition())},err:null}:this.error(S.INVALID_TAG,E(s,this.clonePosition())))}else return this.error(S.UNCLOSED_TAG,E(n,this.clonePosition()))}else return this.error(S.INVALID_TAG,E(n,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&Ni(this.char());)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(t,r){for(var n=this.clonePosition(),a="";;){var i=this.tryParseQuote(r);if(i){a+=i;continue}var o=this.tryParseUnquoted(t,r);if(o){a+=o;continue}var s=this.tryParseLeftAngleBracket();if(s){a+=s;continue}break}var u=E(n,this.clonePosition());return{val:{type:L.literal,value:a,location:u},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!Li(this.peek()||0))?(this.bump(),"<"):null},e.prototype.tryParseQuote=function(t){if(this.isEOF()||this.char()!==39)return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if(t==="plural"||t==="selectordinal")break;return null;default:return null}this.bump();var r=[this.char()];for(this.bump();!this.isEOF();){var n=this.char();if(n===39)if(this.peek()===39)r.push(39),this.bump();else{this.bump();break}else r.push(n);this.bump()}return Dt.apply(void 0,r)},e.prototype.tryParseUnquoted=function(t,r){if(this.isEOF())return null;var n=this.char();return n===60||n===123||n===35&&(r==="plural"||r==="selectordinal")||n===125&&t>0?null:(this.bump(),Dt(n))},e.prototype.parseArgument=function(t,r){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(S.EXPECT_ARGUMENT_CLOSING_BRACE,E(n,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(S.EMPTY_ARGUMENT,E(n,this.clonePosition()));var a=this.parseIdentifierIfPossible().value;if(!a)return this.error(S.MALFORMED_ARGUMENT,E(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(S.EXPECT_ARGUMENT_CLOSING_BRACE,E(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:L.argument,value:a,location:E(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(S.EXPECT_ARGUMENT_CLOSING_BRACE,E(n,this.clonePosition())):this.parseArgumentOptions(t,r,a,n);default:return this.error(S.MALFORMED_ARGUMENT,E(n,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),r=this.offset(),n=kt(this.message,r),a=r+n.length;this.bumpTo(a);var i=this.clonePosition(),o=E(t,i);return{value:n,location:o}},e.prototype.parseArgumentOptions=function(t,r,n,a){var i,o=this.clonePosition(),s=this.parseIdentifierIfPossible().value,u=this.clonePosition();switch(s){case"":return this.error(S.EXPECT_ARGUMENT_TYPE,E(o,u));case"number":case"date":case"time":{this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition(),h=this.parseSimpleArgStyleIfPossible();if(h.err)return h;var d=Ai(h.val);if(d.length===0)return this.error(S.EXPECT_ARGUMENT_STYLE,E(this.clonePosition(),this.clonePosition()));var m=E(c,this.clonePosition());l={style:d,styleLocation:m}}var p=this.tryParseArgumentClose(a);if(p.err)return p;var v=E(a,this.clonePosition());if(l&&br(l==null?void 0:l.style,"::",0)){var g=Mi(l.style.slice(2));if(s==="number"){var h=this.parseNumberSkeletonFromString(g,l.styleLocation);return h.err?h:{val:{type:L.number,value:n,location:v,style:h.val},err:null}}else{if(g.length===0)return this.error(S.EXPECT_DATE_TIME_SKELETON,v);var A=g;this.locale&&(A=vi(g,this.locale));var d={type:Te.dateTime,pattern:A,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?ci(A):{}},O=s==="date"?L.date:L.time;return{val:{type:O,value:n,location:v,style:d},err:null}}}return{val:{type:s==="number"?L.number:s==="date"?L.date:L.time,value:n,location:v,style:(i=l==null?void 0:l.style)!==null&&i!==void 0?i:null},err:null}}case"plural":case"selectordinal":case"select":{var H=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(S.EXPECT_SELECT_ARGUMENT_OPTIONS,E(H,tt({},H)));this.bumpSpace();var F=this.parseIdentifierIfPossible(),x=0;if(s!=="select"&&F.value==="offset"){if(!this.bumpIf(":"))return this.error(S.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,E(this.clonePosition(),this.clonePosition()));this.bumpSpace();var h=this.tryParseDecimalInteger(S.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,S.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(h.err)return h;this.bumpSpace(),F=this.parseIdentifierIfPossible(),x=h.val}var G=this.tryParsePluralOrSelectOptions(t,s,r,F);if(G.err)return G;var p=this.tryParseArgumentClose(a);if(p.err)return p;var T=E(a,this.clonePosition());return s==="select"?{val:{type:L.select,value:n,options:yr(G.val),location:T},err:null}:{val:{type:L.plural,value:n,options:yr(G.val),offset:x,pluralType:s==="plural"?"cardinal":"ordinal",location:T},err:null}}default:return this.error(S.INVALID_ARGUMENT_TYPE,E(o,u))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(S.EXPECT_ARGUMENT_CLOSING_BRACE,E(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,r=this.clonePosition();!this.isEOF();){var n=this.char();switch(n){case 39:{this.bump();var a=this.clonePosition();if(!this.bumpUntil("'"))return this.error(S.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,E(a,this.clonePosition()));this.bump();break}case 123:{t+=1,this.bump();break}case 125:{if(t>0)t-=1;else return{val:this.message.slice(r.offset,this.offset()),err:null};break}default:this.bump();break}}return{val:this.message.slice(r.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(t,r){var n=[];try{n=fi(t)}catch(a){return this.error(S.INVALID_NUMBER_SKELETON,r)}return{val:{type:Te.number,tokens:n,location:r,parsedOptions:this.shouldParseSkeletons?pi(n):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(t,r,n,a){for(var i,o=!1,s=[],u=new Set,l=a.value,c=a.location;;){if(l.length===0){var h=this.clonePosition();if(r!=="select"&&this.bumpIf("=")){var d=this.tryParseDecimalInteger(S.EXPECT_PLURAL_ARGUMENT_SELECTOR,S.INVALID_PLURAL_ARGUMENT_SELECTOR);if(d.err)return d;c=E(h,this.clonePosition()),l=this.message.slice(h.offset,this.offset())}else break}if(u.has(l))return this.error(r==="select"?S.DUPLICATE_SELECT_ARGUMENT_SELECTOR:S.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,c);l==="other"&&(o=!0),this.bumpSpace();var m=this.clonePosition();if(!this.bumpIf("{"))return this.error(r==="select"?S.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:S.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,E(this.clonePosition(),this.clonePosition()));var p=this.parseMessage(t+1,r,n);if(p.err)return p;var v=this.tryParseArgumentClose(m);if(v.err)return v;s.push([l,{value:p.val,location:E(m,this.clonePosition())}]),u.add(l),this.bumpSpace(),i=this.parseIdentifierIfPossible(),l=i.value,c=i.location}return s.length===0?this.error(r==="select"?S.EXPECT_SELECT_ARGUMENT_SELECTOR:S.EXPECT_PLURAL_ARGUMENT_SELECTOR,E(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!o?this.error(S.MISSING_OTHER_CLAUSE,E(this.clonePosition(),this.clonePosition())):{val:s,err:null}},e.prototype.tryParseDecimalInteger=function(t,r){var n=1,a=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var i=!1,o=0;!this.isEOF();){var s=this.char();if(s>=48&&s<=57)i=!0,o=o*10+(s-48),this.bump();else break}var u=E(a,this.clonePosition());return i?(o*=n,Oi(o)?{val:o,err:null}:this.error(r,u)):this.error(t,u)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");var r=_n(this.message,t);if(r===void 0)throw Error("Offset ".concat(t," is at invalid UTF-16 code unit boundary"));return r},e.prototype.error=function(t,r){return{val:null,err:{kind:t,message:this.message,location:r}}},e.prototype.bump=function(){if(!this.isEOF()){var t=this.char();t===10?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=t<65536?1:2)}},e.prototype.bumpIf=function(t){if(br(this.message,t,this.offset())){for(var r=0;r<t.length;r++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(t){var r=this.offset(),n=this.message.indexOf(t,r);return n>=0?(this.bumpTo(n),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(t){if(this.offset()>t)throw Error("targetOffset ".concat(t," must be greater than or equal to the current offset ").concat(this.offset()));for(t=Math.min(t,this.message.length);;){var r=this.offset();if(r===t)break;if(r>t)throw Error("targetOffset ".concat(t," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&Sn(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),r=this.offset(),n=this.message.charCodeAt(r+(t>=65536?2:1));return n!=null?n:null},e}();function Ut(e){return e>=97&&e<=122||e>=65&&e<=90}function Li(e){return Ut(e)||e===47}function Ni(e){return e===45||e===46||e>=48&&e<=57||e===95||e>=97&&e<=122||e>=65&&e<=90||e==183||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}function Sn(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function Ii(e){return e>=33&&e<=35||e===36||e>=37&&e<=39||e===40||e===41||e===42||e===43||e===44||e===45||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||e===91||e===92||e===93||e===94||e===96||e===123||e===124||e===125||e===126||e===161||e>=162&&e<=165||e===166||e===167||e===169||e===171||e===172||e===174||e===176||e===177||e===182||e===187||e===191||e===215||e===247||e>=8208&&e<=8213||e>=8214&&e<=8215||e===8216||e===8217||e===8218||e>=8219&&e<=8220||e===8221||e===8222||e===8223||e>=8224&&e<=8231||e>=8240&&e<=8248||e===8249||e===8250||e>=8251&&e<=8254||e>=8257&&e<=8259||e===8260||e===8261||e===8262||e>=8263&&e<=8273||e===8274||e===8275||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||e===8608||e>=8609&&e<=8610||e===8611||e>=8612&&e<=8613||e===8614||e>=8615&&e<=8621||e===8622||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||e===8658||e===8659||e===8660||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||e===8968||e===8969||e===8970||e===8971||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||e===9001||e===9002||e>=9003&&e<=9083||e===9084||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||e===9655||e>=9656&&e<=9664||e===9665||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||e===9839||e>=9840&&e<=10087||e===10088||e===10089||e===10090||e===10091||e===10092||e===10093||e===10094||e===10095||e===10096||e===10097||e===10098||e===10099||e===10100||e===10101||e>=10132&&e<=10175||e>=10176&&e<=10180||e===10181||e===10182||e>=10183&&e<=10213||e===10214||e===10215||e===10216||e===10217||e===10218||e===10219||e===10220||e===10221||e===10222||e===10223||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||e===10627||e===10628||e===10629||e===10630||e===10631||e===10632||e===10633||e===10634||e===10635||e===10636||e===10637||e===10638||e===10639||e===10640||e===10641||e===10642||e===10643||e===10644||e===10645||e===10646||e===10647||e===10648||e>=10649&&e<=10711||e===10712||e===10713||e===10714||e===10715||e>=10716&&e<=10747||e===10748||e===10749||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||e===11158||e>=11159&&e<=11263||e>=11776&&e<=11777||e===11778||e===11779||e===11780||e===11781||e>=11782&&e<=11784||e===11785||e===11786||e===11787||e===11788||e===11789||e>=11790&&e<=11798||e===11799||e>=11800&&e<=11801||e===11802||e===11803||e===11804||e===11805||e>=11806&&e<=11807||e===11808||e===11809||e===11810||e===11811||e===11812||e===11813||e===11814||e===11815||e===11816||e===11817||e>=11818&&e<=11822||e===11823||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||e===11840||e===11841||e===11842||e>=11843&&e<=11855||e>=11856&&e<=11857||e===11858||e>=11859&&e<=11903||e>=12289&&e<=12291||e===12296||e===12297||e===12298||e===12299||e===12300||e===12301||e===12302||e===12303||e===12304||e===12305||e>=12306&&e<=12307||e===12308||e===12309||e===12310||e===12311||e===12312||e===12313||e===12314||e===12315||e===12316||e===12317||e>=12318&&e<=12319||e===12320||e===12336||e===64830||e===64831||e>=65093&&e<=65094}function Ft(e){e.forEach(function(t){if(delete t.location,fn(t)||dn(t))for(var r in t.options)delete t.options[r].location,Ft(t.options[r].value);else ln(t)&&gn(t.style)||(cn(t)||hn(t))&&It(t.style)?delete t.style.location:mn(t)&&Ft(t.children)})}function Ri(e,t){t===void 0&&(t={}),t=tt({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var r=new Bi(e,t).parse();if(r.err){var n=SyntaxError(S[r.err.kind]);throw n.location=r.err.location,n.originalMessage=r.err.message,n}return t!=null&&t.captureLocation||Ft(r.val),r.val}var Ce;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(Ce||(Ce={}));var ct=function(e){lt(t,e);function t(r,n,a){var i=e.call(this,r)||this;return i.code=n,i.originalMessage=a,i}return t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),wr=function(e){lt(t,e);function t(r,n,a,i){return e.call(this,'Invalid values for "'.concat(r,'": "').concat(n,'". Options are "').concat(Object.keys(a).join('", "'),'"'),Ce.INVALID_VALUE,i)||this}return t}(ct),Di=function(e){lt(t,e);function t(r,n,a){return e.call(this,'Value for "'.concat(r,'" must be of type ').concat(n),Ce.INVALID_VALUE,a)||this}return t}(ct),ki=function(e){lt(t,e);function t(r,n){return e.call(this,'The intl string context variable "'.concat(r,'" was not provided to the string "').concat(n,'"'),Ce.MISSING_VALUE,n)||this}return t}(ct),q;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(q||(q={}));function Ui(e){return e.length<2?e:e.reduce(function(t,r){var n=t[t.length-1];return!n||n.type!==q.literal||r.type!==q.literal?t.push(r):n.value+=r.value,t},[])}function Fi(e){return typeof e=="function"}function Ze(e,t,r,n,a,i,o){if(e.length===1&&mr(e[0]))return[{type:q.literal,value:e[0].value}];for(var s=[],u=0,l=e;u<l.length;u++){var c=l[u];if(mr(c)){s.push({type:q.literal,value:c.value});continue}if(ui(c)){typeof i=="number"&&s.push({type:q.literal,value:r.getNumberFormat(t).format(i)});continue}var h=c.value;if(!(a&&h in a))throw new ki(h,o);var d=a[h];if(si(c)){(!d||typeof d=="string"||typeof d=="number")&&(d=typeof d=="string"||typeof d=="number"?String(d):""),s.push({type:typeof d=="string"?q.literal:q.object,value:d});continue}if(cn(c)){var m=typeof c.style=="string"?n.date[c.style]:It(c.style)?c.style.parsedOptions:void 0;s.push({type:q.literal,value:r.getDateTimeFormat(t,m).format(d)});continue}if(hn(c)){var m=typeof c.style=="string"?n.time[c.style]:It(c.style)?c.style.parsedOptions:n.time.medium;s.push({type:q.literal,value:r.getDateTimeFormat(t,m).format(d)});continue}if(ln(c)){var m=typeof c.style=="string"?n.number[c.style]:gn(c.style)?c.style.parsedOptions:void 0;m&&m.scale&&(d=d*(m.scale||1)),s.push({type:q.literal,value:r.getNumberFormat(t,m).format(d)});continue}if(mn(c)){var p=c.children,v=c.value,g=a[v];if(!Fi(g))throw new Di(v,"function",o);var A=Ze(p,t,r,n,a,i),O=g(A.map(function(x){return x.value}));Array.isArray(O)||(O=[O]),s.push.apply(s,O.map(function(x){return{type:typeof x=="string"?q.literal:q.object,value:x}}))}if(fn(c)){var H=c.options[d]||c.options.other;if(!H)throw new wr(c.value,d,Object.keys(c.options),o);s.push.apply(s,Ze(H.value,t,r,n,a));continue}if(dn(c)){var H=c.options["=".concat(d)];if(!H){if(!Intl.PluralRules)throw new ct(`Intl.PluralRules is not available in this environment.
|
|
2
|
-
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3
|
-
`,Ce.MISSING_INTL_API,o);var F=r.getPluralRules(t,{type:c.pluralType}).select(d-(c.offset||0));H=c.options[F]||c.options.other}if(!H)throw new wr(c.value,d,Object.keys(c.options),o);s.push.apply(s,Ze(H.value,t,r,n,a,d-(c.offset||0)));continue}}return Ui(s)}function Gi(e,t){return t?te(te(te({},e||{}),t||{}),Object.keys(e).reduce(function(r,n){return r[n]=te(te({},e[n]),t[n]||{}),r},{})):e}function ji(e,t){return t?Object.keys(e).reduce(function(r,n){return r[n]=Gi(e[n],t[n]),r},te({},e)):e}function Pt(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,r){e[t]=r}}}}}function Wi(e){return e===void 0&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:xt(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.NumberFormat).bind.apply(t,Et([void 0],r,!1)))},{cache:Pt(e.number),strategy:Tt.variadic}),getDateTimeFormat:xt(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.DateTimeFormat).bind.apply(t,Et([void 0],r,!1)))},{cache:Pt(e.dateTime),strategy:Tt.variadic}),getPluralRules:xt(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.PluralRules).bind.apply(t,Et([void 0],r,!1)))},{cache:Pt(e.pluralRules),strategy:Tt.variadic})}}var $i=function(){function e(t,r,n,a){r===void 0&&(r=e.defaultLocale);var i=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(u){var l=i.formatToParts(u);if(l.length===1)return l[0].value;var c=l.reduce(function(h,d){return!h.length||d.type!==q.literal||typeof h[h.length-1]!="string"?h.push(d.value):h[h.length-1]+=d.value,h},[]);return c.length<=1?c[0]||"":c},this.formatToParts=function(u){return Ze(i.ast,i.locales,i.formatters,i.formats,u,void 0,i.message)},this.resolvedOptions=function(){var u;return{locale:((u=i.resolvedLocale)===null||u===void 0?void 0:u.toString())||Intl.NumberFormat.supportedLocalesOf(i.locales)[0]}},this.getAst=function(){return i.ast},this.locales=r,this.resolvedLocale=e.resolveLocale(r),typeof t=="string"){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var o=a||{};o.formatters;var s=Ka(o,["formatters"]);this.ast=e.__parse(t,te(te({},s),{locale:this.resolvedLocale}))}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=ji(e.formats,n),this.formatters=a&&a.formatters||Wi(this.formatterCache)}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=new Intl.NumberFormat().resolvedOptions().locale),e.memoizedDefaultLocale},enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.resolveLocale=function(t){if(typeof Intl.Locale!="undefined"){var r=Intl.NumberFormat.supportedLocalesOf(t);return r.length>0?new Intl.Locale(r[0]):new Intl.Locale(typeof t=="string"?t:t[0])}},e.__parse=Ri,e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}();function Vi(e,t){if(t==null)return;if(t in e)return e[t];const r=t.split(".");let n=e;for(let a=0;a<r.length;a++)if(typeof n=="object"){if(a>0){const i=r.slice(a,r.length).join(".");if(i in n){n=n[i];break}}n=n[r[a]]}else n=void 0;return n}const se={},Yi=(e,t,r)=>r&&(t in se||(se[t]={}),e in se[t]||(se[t][e]=r),r),En=(e,t)=>{if(t==null)return;if(t in se&&e in se[t])return se[t][e];const r=ht(t);for(let n=0;n<r.length;n++){const a=r[n],i=qi(a,e);if(i)return Yi(e,t,i)}};let Jt;const Ge=ut({});function Xi(e){return Jt[e]||null}function xn(e){return e in Jt}function qi(e,t){if(!xn(e))return null;const r=Xi(e);return Vi(r,t)}function zi(e){if(e==null)return;const t=ht(e);for(let r=0;r<t.length;r++){const n=t[r];if(xn(n))return n}}function Kt(e,...t){delete se[e],Ge.update(r=>(r[e]=Ja.all([r[e]||{},...t]),r))}Oe([Ge],([e])=>Object.keys(e));Ge.subscribe(e=>Jt=e);const Je={};function Qi(e,t){Je[e].delete(t),Je[e].size===0&&delete Je[e]}function Tn(e){return Je[e]}function Zi(e){return ht(e).map(t=>{const r=Tn(t);return[t,r?[...r]:[]]}).filter(([,t])=>t.length>0)}function Gt(e){return e==null?!1:ht(e).some(t=>{var r;return(r=Tn(t))==null?void 0:r.size})}function Ji(e,t){return Promise.all(t.map(n=>(Qi(e,n),n().then(a=>a.default||a)))).then(n=>Kt(e,...n))}const Le={};function Cn(e){if(!Gt(e))return e in Le?Le[e]:Promise.resolve();const t=Zi(e);return Le[e]=Promise.all(t.map(([r,n])=>Ji(r,n))).then(()=>{if(Gt(e))return Cn(e);delete Le[e]}),Le[e]}const Ki={number:{scientific:{notation:"scientific"},engineering:{notation:"engineering"},compactLong:{notation:"compact",compactDisplay:"long"},compactShort:{notation:"compact",compactDisplay:"short"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},eo={fallbackLocale:null,loadingDelay:200,formats:Ki,warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0},to=eo;function Pe(){return to}const Ot=ut(!1);var ro=Object.defineProperty,no=Object.defineProperties,ao=Object.getOwnPropertyDescriptors,Sr=Object.getOwnPropertySymbols,io=Object.prototype.hasOwnProperty,oo=Object.prototype.propertyIsEnumerable,Er=(e,t,r)=>t in e?ro(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,so=(e,t)=>{for(var r in t||(t={}))io.call(t,r)&&Er(e,r,t[r]);if(Sr)for(var r of Sr(t))oo.call(t,r)&&Er(e,r,t[r]);return e},uo=(e,t)=>no(e,ao(t));let jt;const rt=ut(null);function xr(e){return e.split("-").map((t,r,n)=>n.slice(0,r+1).join("-")).reverse()}function ht(e,t=Pe().fallbackLocale){const r=xr(e);return t?[...new Set([...r,...xr(t)])]:r}function ge(){return jt!=null?jt:void 0}rt.subscribe(e=>{jt=e!=null?e:void 0,typeof window!="undefined"&&e!=null&&document.documentElement.setAttribute("lang",e)});const lo=e=>{if(e&&zi(e)&&Gt(e)){const{loadingDelay:t}=Pe();let r;return typeof window!="undefined"&&ge()!=null&&t?r=window.setTimeout(()=>Ot.set(!0),t):Ot.set(!0),Cn(e).then(()=>{rt.set(e)}).finally(()=>{clearTimeout(r),Ot.set(!1)})}return rt.set(e)},pe=uo(so({},rt),{set:lo}),ft=e=>{const t=Object.create(null);return n=>{const a=JSON.stringify(n);return a in t?t[a]:t[a]=e(n)}};var co=Object.defineProperty,nt=Object.getOwnPropertySymbols,Pn=Object.prototype.hasOwnProperty,On=Object.prototype.propertyIsEnumerable,Tr=(e,t,r)=>t in e?co(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,er=(e,t)=>{for(var r in t||(t={}))Pn.call(t,r)&&Tr(e,r,t[r]);if(nt)for(var r of nt(t))On.call(t,r)&&Tr(e,r,t[r]);return e},He=(e,t)=>{var r={};for(var n in e)Pn.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&nt)for(var n of nt(e))t.indexOf(n)<0&&On.call(e,n)&&(r[n]=e[n]);return r};const Fe=(e,t)=>{const{formats:r}=Pe();if(e in r&&t in r[e])return r[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},ho=ft(e=>{var t=e,{locale:r,format:n}=t,a=He(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(a=Fe("number",n)),new Intl.NumberFormat(r,a)}),fo=ft(e=>{var t=e,{locale:r,format:n}=t,a=He(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?a=Fe("date",n):Object.keys(a).length===0&&(a=Fe("date","short")),new Intl.DateTimeFormat(r,a)}),mo=ft(e=>{var t=e,{locale:r,format:n}=t,a=He(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?a=Fe("time",n):Object.keys(a).length===0&&(a=Fe("time","short")),new Intl.DateTimeFormat(r,a)}),go=(e={})=>{var t=e,{locale:r=ge()}=t,n=He(t,["locale"]);return ho(er({locale:r},n))},po=(e={})=>{var t=e,{locale:r=ge()}=t,n=He(t,["locale"]);return fo(er({locale:r},n))},vo=(e={})=>{var t=e,{locale:r=ge()}=t,n=He(t,["locale"]);return mo(er({locale:r},n))},bo=ft((e,t=ge())=>new $i(e,t,Pe().formats,{ignoreTag:Pe().ignoreTag})),yo=(e,t={})=>{var r,n,a,i;let o=t;typeof e=="object"&&(o=e,e=o.id);const{values:s,locale:u=ge(),default:l}=o;if(u==null)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let c=En(e,u);if(!c)c=(i=(a=(n=(r=Pe()).handleMissingMessage)==null?void 0:n.call(r,{locale:u,id:e,defaultValue:l}))!=null?a:l)!=null?i:e;else if(typeof c!="string")return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof c}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),c;if(!s)return c;let h=c;try{h=bo(c,u).format(s)}catch(d){d instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,d.message)}return h},_o=(e,t)=>vo(t).format(e),wo=(e,t)=>po(t).format(e),So=(e,t)=>go(t).format(e),Eo=(e,t=ge())=>En(e,t),Hn=Oe([pe,Ge],()=>yo);Oe([pe],()=>_o);Oe([pe],()=>wo);Oe([pe],()=>So);Oe([pe,Ge],()=>Eo);function xo(e,t){Kt(e,t)}function To(e){pe.set(e)}const Co={en:{recentSearch:"Recent search",placeHolderSearchGames:"Search for Games",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},"zh-hk":{recentSearch:"最近的搜索",loading:"加载请稍候",searchResult:"搜索结果",cancel:"取消",notFound:"找不到游戏!",notFoundText:"请输入正确的游戏名称开始玩。",noRecentSearches:"还没有最近的搜索。 搜索我们的任何游戏。"},de:{recentSearch:"Letzte Suche",placeHolderSearchGames:"Hier nach Spielen suchen",loading:"Es lädt, bitte warten...",searchResult:"Ergebnis suchen",cancel:"Abbrechen",notFound:"Spiel wurde nicht gefunden!",notFoundText:"Spiel nicht gefunden! Bitte verwende den richtigen Spielnamen um es zu starten.",noRecentSearches:"Keine vorherige Suche vorhanden! Suche nach einem beliebigen Spiel"},it:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},fr:{recentSearch:"Recherche récente",placeHolderSearchGames:"Recherche de jeux de casino",loading:"Chargement, veuillez patienter",searchResult:"Résultat de la recherche",cancel:"Annuler",notFound:"Jeu non trouvé!",notFoundText:"Veuillez saisir le nom correct du jeu pour commencer à jouer.",noRecentSearches:"Pas encore de recherches récentes. Recherchez l'un de nos jeux."},es:{recentSearch:"Busqueda reciente",placeHolderSearchGames:"Buscar juegos",loading:"Cargando",searchResult:"Resultado de busqueda",cancel:"Cancelar",notFound:"Juego no encontrado!",notFoundText:"Por favor escriba el nombre correcto del juego para empezar a jugar.",noRecentSearches:"No hay búsquedas recientes. Busca cualquiera de nuestros juegos"},gr:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},tr:{recentSearch:"Henüz son aramalar yok. Herhangi bir oyunu arayın.",loading:"Kayıt olmak",searchResult:"PARA YATIR",cancel:"İptal:",notFound:"Hepsi",notFoundText:"A-Z",noRecentSearches:"En Yeni",placeHolderSearchGames:"Oyun ara ..."},ru:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play."},ro:{recentSearch:"Cautari recente",loading:"Se incarca, te rugam asteapta…",searchResult:"Rezultat cautare",cancel:"Anuleaza",notFound:"Nu am gasit niciun rezultat!",notFoundText:"Te rugam sa introduci corect numele jocului.",noRecentSearches:"Nu sunt cautari recente. Cauta oricare din jocurile noastre.",placeHolderSearchGames:"Căutați Jocuri"},hr:{recentSearch:"Nedavna pretraga",loading:"Učitavanje",searchResult:"Rezultat pretrage",cancel:"Otkaži",notFound:"Igra nije pronađena!",notFoundText:"Molimo upišite točan naziv igre kako biste započeli igrati.",noRecentSearches:"Još nema nedavnih pretraživanja. Potražite bilo koju od naših igara.",placeHolderSearchGames:"Traži igre"},hu:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},pl:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},pt:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",placeHolderSearchGames:"Pesquisar jogos",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},sl:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},sr:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},"es-mx":{recentSearch:"Búsqueda reciente",loading:"Cargando, por favor espera",searchResult:"Resultado de la búsqueda",placeHolderSearchGames:"Buscar juegos",cancel:"Cancelar",notFound:"¡Juego no encontrado!",notFoundText:"Por favor, escribe el nombre correcto del juego para comenzar a jugar.",noRecentSearches:"Aún no hay búsquedas recientes. Busca cualquiera de nuestros juegos."},"pt-br":{recentSearch:"Pesquisa recente",loading:"Carregando, por favor aguarde",searchResult:"Resultado da pesquisa",placeHolderSearchGames:"Buscar jogos",cancel:"Cancelar",notFound:"Jogo não encontrado!",notFoundText:"Por favor, digite o nome correto do jogo para começar a jogar.",noRecentSearches:"Ainda não há pesquisas recentes. Busque por qualquer um dos nossos jogos."},"en-us":{recentSearch:"Recent search",placeHolderSearchGames:"Search for Games",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."}},Se="__WIDGET_GLOBAL_STYLE_CACHE__";function Mn(e,t){if(e){const r=document.createElement("style");r.innerHTML=t,e.appendChild(r)}}function An(e,t){if(!e||!t)return;const r=new URL(t);fetch(r.href).then(n=>n.text()).then(n=>{const a=document.createElement("style");a.innerHTML=n,e&&e.appendChild(a)}).catch(n=>{console.error("There was an error while trying to load client styling from URL",n)})}function Bn(e,t,r,n=!1){if(!window.emMessageBus)return;if(!("adoptedStyleSheets"in Document.prototype)||!n)return r=Po(e,t),r;window[Se]||(window[Se]={}),r=Oo(e,t);const i=r.unsubscribe.bind(r),o=()=>{if(window[Se][t]){const s=window[Se][t];s.refCount>1?s.refCount=s.refCount-1:delete window[Se][t]}i()};return r.unsubscribe=o,r}function Po(e,t){const r=document.createElement("style");return window.emMessageBus.subscribe(t,n=>{e&&(r.innerHTML=n,e.appendChild(r))})}function Oo(e,t){return window.emMessageBus.subscribe(t,r=>{if(!e)return;const n=e.getRootNode(),a=window[Se];let i=a[t]&&a[t].sheet;i?a[t].refCount=a[t].refCount+1:(i=new CSSStyleSheet,i.replaceSync(r),a[t]={sheet:i,refCount:1});const o=n.adoptedStyleSheets||[];o.includes(i)||(n.adoptedStyleSheets=[...o,i])})}/*! *****************************************************************************
|
|
4
|
-
Copyright (c) Microsoft Corporation.
|
|
5
|
-
|
|
6
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
|
7
|
-
purpose with or without fee is hereby granted.
|
|
8
|
-
|
|
9
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
10
|
-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
11
|
-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
12
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
13
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
14
|
-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
15
|
-
PERFORMANCE OF THIS SOFTWARE.
|
|
16
|
-
***************************************************************************** */var Wt=function(e,t){return Wt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(r[a]=n[a])},Wt(e,t)};function je(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");Wt(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}function $t(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 Vt(e,t){var r=typeof Symbol=="function"&&e[Symbol.iterator];if(!r)return e;var n=r.call(e),a,i=[],o;try{for(;(t===void 0||t-- >0)&&!(a=n.next()).done;)i.push(a.value)}catch(s){o={error:s}}finally{try{a&&!a.done&&(r=n.return)&&r.call(n)}finally{if(o)throw o.error}}return i}function Yt(e,t,r){if(arguments.length===2)for(var n=0,a=t.length,i;n<a;n++)(i||!(n in t))&&(i||(i=Array.prototype.slice.call(t,0,n)),i[n]=t[n]);return e.concat(i||t)}function ie(e){return typeof e=="function"}function Ln(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 Ht=Ln(function(e){return function(r){e(this),this.message=r?r.length+` errors occurred during unsubscription:
|
|
17
|
-
`+r.map(function(n,a){return a+1+") "+n.toString()}).join(`
|
|
18
|
-
`):"",this.name="UnsubscriptionError",this.errors=r}});function Xt(e,t){if(e){var r=e.indexOf(t);0<=r&&e.splice(r,1)}}var dt=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,a,i;if(!this.closed){this.closed=!0;var o=this._parentage;if(o)if(this._parentage=null,Array.isArray(o))try{for(var s=$t(o),u=s.next();!u.done;u=s.next()){var l=u.value;l.remove(this)}}catch(v){t={error:v}}finally{try{u&&!u.done&&(r=s.return)&&r.call(s)}finally{if(t)throw t.error}}else o.remove(this);var c=this.initialTeardown;if(ie(c))try{c()}catch(v){i=v instanceof Ht?v.errors:[v]}var h=this._finalizers;if(h){this._finalizers=null;try{for(var d=$t(h),m=d.next();!m.done;m=d.next()){var p=m.value;try{Cr(p)}catch(v){i=i!=null?i:[],v instanceof Ht?i=Yt(Yt([],Vt(i)),Vt(v.errors)):i.push(v)}}}catch(v){n={error:v}}finally{try{m&&!m.done&&(a=d.return)&&a.call(d)}finally{if(n)throw n.error}}}if(i)throw new Ht(i)}},e.prototype.add=function(t){var r;if(t&&t!==this)if(this.closed)Cr(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)&&Xt(r,t)},e.prototype.remove=function(t){var r=this._finalizers;r&&Xt(r,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}(),Nn=dt.EMPTY;function In(e){return e instanceof dt||e&&"closed"in e&&ie(e.remove)&&ie(e.add)&&ie(e.unsubscribe)}function Cr(e){ie(e)?e():e.unsubscribe()}var Ho={Promise:void 0},Mo={setTimeout:function(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];return setTimeout.apply(void 0,Yt([e,t],Vt(r)))},clearTimeout:function(e){return clearTimeout(e)},delegate:void 0};function Ao(e){Mo.setTimeout(function(){throw e})}function Pr(){}function Ke(e){e()}var Rn=function(e){je(t,e);function t(r){var n=e.call(this)||this;return n.isStopped=!1,r?(n.destination=r,In(r)&&r.add(n)):n.destination=No,n}return t.create=function(r,n,a){return new qt(r,n,a)},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}(dt),Bo=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){ze(n)}},e.prototype.error=function(t){var r=this.partialObserver;if(r.error)try{r.error(t)}catch(n){ze(n)}else ze(t)},e.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(r){ze(r)}},e}(),qt=function(e){je(t,e);function t(r,n,a){var i=e.call(this)||this,o;return ie(r)||!r?o={next:r!=null?r:void 0,error:n!=null?n:void 0,complete:a!=null?a:void 0}:o=r,i.destination=new Bo(o),i}return t}(Rn);function ze(e){Ao(e)}function Lo(e){throw e}var No={closed:!0,next:Pr,error:Lo,complete:Pr},Io=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function Ro(e){return e}function Do(e){return e.length===0?Ro:e.length===1?e[0]:function(r){return e.reduce(function(n,a){return a(n)},r)}}var Or=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 a=this,i=Uo(t)?t:new qt(t,r,n);return Ke(function(){var o=a,s=o.operator,u=o.source;i.add(s?s.call(i,u):u?a._subscribe(i):a._trySubscribe(i))}),i},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=Hr(r),new r(function(a,i){var o=new qt({next:function(s){try{t(s)}catch(u){i(u),o.unsubscribe()}},error:i,complete:a});n.subscribe(o)})},e.prototype._subscribe=function(t){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(t)},e.prototype[Io]=function(){return this},e.prototype.pipe=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return Do(t)(this)},e.prototype.toPromise=function(t){var r=this;return t=Hr(t),new t(function(n,a){var i;r.subscribe(function(o){return i=o},function(o){return a(o)},function(){return n(i)})})},e.create=function(t){return new e(t)},e}();function Hr(e){var t;return(t=e!=null?e:Ho.Promise)!==null&&t!==void 0?t:Promise}function ko(e){return e&&ie(e.next)&&ie(e.error)&&ie(e.complete)}function Uo(e){return e&&e instanceof Rn||ko(e)&&In(e)}var Fo=Ln(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),Dn=function(e){je(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 Mr(this,this);return n.operator=r,n},t.prototype._throwIfClosed=function(){if(this.closed)throw new Fo},t.prototype.next=function(r){var n=this;Ke(function(){var a,i;if(n._throwIfClosed(),!n.isStopped){n.currentObservers||(n.currentObservers=Array.from(n.observers));try{for(var o=$t(n.currentObservers),s=o.next();!s.done;s=o.next()){var u=s.value;u.next(r)}}catch(l){a={error:l}}finally{try{s&&!s.done&&(i=o.return)&&i.call(o)}finally{if(a)throw a.error}}}})},t.prototype.error=function(r){var n=this;Ke(function(){if(n._throwIfClosed(),!n.isStopped){n.hasError=n.isStopped=!0,n.thrownError=r;for(var a=n.observers;a.length;)a.shift().error(r)}})},t.prototype.complete=function(){var r=this;Ke(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,a=this,i=a.hasError,o=a.isStopped,s=a.observers;return i||o?Nn:(this.currentObservers=null,s.push(r),new dt(function(){n.currentObservers=null,Xt(s,r)}))},t.prototype._checkFinalizedStatuses=function(r){var n=this,a=n.hasError,i=n.thrownError,o=n.isStopped;a?r.error(i):o&&r.complete()},t.prototype.asObservable=function(){var r=new Or;return r.source=this,r},t.create=function(r,n){return new Mr(r,n)},t}(Or),Mr=function(e){je(t,e);function t(r,n){var a=e.call(this)||this;return a.destination=r,a.source=n,a}return t.prototype.next=function(r){var n,a;(a=(n=this.destination)===null||n===void 0?void 0:n.next)===null||a===void 0||a.call(n,r)},t.prototype.error=function(r){var n,a;(a=(n=this.destination)===null||n===void 0?void 0:n.error)===null||a===void 0||a.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,a;return(a=(n=this.source)===null||n===void 0?void 0:n.subscribe(r))!==null&&a!==void 0?a:Nn},t}(Dn),kn={now:function(){return(kn.delegate||Date).now()},delegate:void 0},Go=function(e){je(t,e);function t(r,n,a){r===void 0&&(r=1/0),n===void 0&&(n=1/0),a===void 0&&(a=kn);var i=e.call(this)||this;return i._bufferSize=r,i._windowTime=n,i._timestampProvider=a,i._buffer=[],i._infiniteTimeWindow=!0,i._infiniteTimeWindow=n===1/0,i._bufferSize=Math.max(1,r),i._windowTime=Math.max(1,n),i}return t.prototype.next=function(r){var n=this,a=n.isStopped,i=n._buffer,o=n._infiniteTimeWindow,s=n._timestampProvider,u=n._windowTime;a||(i.push(r),!o&&i.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),a=this,i=a._infiniteTimeWindow,o=a._buffer,s=o.slice(),u=0;u<s.length&&!r.closed;u+=i?1:2)r.next(s[u]);return this._checkFinalizedStatuses(r),n},t.prototype._trimBuffer=function(){var r=this,n=r._bufferSize,a=r._timestampProvider,i=r._buffer,o=r._infiniteTimeWindow,s=(o?1:2)*n;if(n<1/0&&s<i.length&&i.splice(0,i.length-s),!o){for(var u=a.now(),l=0,c=1;c<i.length&&i[c]<=u;c+=2)l=c;l&&i.splice(0,l+1)}},t}(Dn);const Ar=[],Br={},jo=(e,t=0)=>{if(Ar.indexOf(e)==-1){const r=new Go(t);Br[e]=r,Ar.push(e)}return Br[e]};window.emWidgets={topic:jo};const Wo=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)),at=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 $o=(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("./CasinoGameThumbnailNd-C5asPdU6.cjs")).then(({default:t})=>{!customElements.get("casino-game-thumbnail-nd")&&customElements.define("casino-game-thumbnail-nd",t.element)})}function it(e){"@babel/helpers - typeof";return it=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},it(e)}function de(e){if(e===null||e===!0||e===!1)return NaN;var t=Number(e);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}function V(e,t){if(t.length<e)throw new TypeError(e+" argument"+(e>1?"s":"")+" required, but only "+t.length+" present")}function X(e){V(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||it(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 Vo(e,t){V(2,arguments);var r=X(e).getTime(),n=de(t);return new Date(r+n)}var Yo={};function mt(){return Yo}function Xo(e){var t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),e.getTime()-t.getTime()}function qo(e){return V(1,arguments),e instanceof Date||it(e)==="object"&&Object.prototype.toString.call(e)==="[object Date]"}function zo(e){if(V(1,arguments),!qo(e)&&typeof e!="number")return!1;var t=X(e);return!isNaN(Number(t))}function Lr(e,t){return V(2,arguments),X(e).getTime()-X(t).getTime()}function Qo(e,t){V(2,arguments);var r=de(t);return Vo(e,-r)}var Zo=864e5;function Jo(e){V(1,arguments);var t=X(e),r=t.getTime();t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0);var n=t.getTime(),a=r-n;return Math.floor(a/Zo)+1}function ot(e){V(1,arguments);var t=1,r=X(e),n=r.getUTCDay(),a=(n<t?7:0)+n-t;return r.setUTCDate(r.getUTCDate()-a),r.setUTCHours(0,0,0,0),r}function Un(e){V(1,arguments);var t=X(e),r=t.getUTCFullYear(),n=new Date(0);n.setUTCFullYear(r+1,0,4),n.setUTCHours(0,0,0,0);var a=ot(n),i=new Date(0);i.setUTCFullYear(r,0,4),i.setUTCHours(0,0,0,0);var o=ot(i);return t.getTime()>=a.getTime()?r+1:t.getTime()>=o.getTime()?r:r-1}function Ko(e){V(1,arguments);var t=Un(e),r=new Date(0);r.setUTCFullYear(t,0,4),r.setUTCHours(0,0,0,0);var n=ot(r);return n}var es=6048e5;function ts(e){V(1,arguments);var t=X(e),r=ot(t).getTime()-Ko(t).getTime();return Math.round(r/es)+1}function st(e,t){var r,n,a,i,o,s,u,l;V(1,arguments);var c=mt(),h=de((r=(n=(a=(i=t==null?void 0:t.weekStartsOn)!==null&&i!==void 0?i:t==null||(o=t.locale)===null||o===void 0||(s=o.options)===null||s===void 0?void 0:s.weekStartsOn)!==null&&a!==void 0?a:c.weekStartsOn)!==null&&n!==void 0?n:(u=c.locale)===null||u===void 0||(l=u.options)===null||l===void 0?void 0:l.weekStartsOn)!==null&&r!==void 0?r:0);if(!(h>=0&&h<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var d=X(e),m=d.getUTCDay(),p=(m<h?7:0)+m-h;return d.setUTCDate(d.getUTCDate()-p),d.setUTCHours(0,0,0,0),d}function Fn(e,t){var r,n,a,i,o,s,u,l;V(1,arguments);var c=X(e),h=c.getUTCFullYear(),d=mt(),m=de((r=(n=(a=(i=t==null?void 0:t.firstWeekContainsDate)!==null&&i!==void 0?i:t==null||(o=t.locale)===null||o===void 0||(s=o.options)===null||s===void 0?void 0:s.firstWeekContainsDate)!==null&&a!==void 0?a:d.firstWeekContainsDate)!==null&&n!==void 0?n:(u=d.locale)===null||u===void 0||(l=u.options)===null||l===void 0?void 0:l.firstWeekContainsDate)!==null&&r!==void 0?r:1);if(!(m>=1&&m<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var p=new Date(0);p.setUTCFullYear(h+1,0,m),p.setUTCHours(0,0,0,0);var v=st(p,t),g=new Date(0);g.setUTCFullYear(h,0,m),g.setUTCHours(0,0,0,0);var A=st(g,t);return c.getTime()>=v.getTime()?h+1:c.getTime()>=A.getTime()?h:h-1}function rs(e,t){var r,n,a,i,o,s,u,l;V(1,arguments);var c=mt(),h=de((r=(n=(a=(i=t==null?void 0:t.firstWeekContainsDate)!==null&&i!==void 0?i:t==null||(o=t.locale)===null||o===void 0||(s=o.options)===null||s===void 0?void 0:s.firstWeekContainsDate)!==null&&a!==void 0?a:c.firstWeekContainsDate)!==null&&n!==void 0?n:(u=c.locale)===null||u===void 0||(l=u.options)===null||l===void 0?void 0:l.firstWeekContainsDate)!==null&&r!==void 0?r:1),d=Fn(e,t),m=new Date(0);m.setUTCFullYear(d,0,h),m.setUTCHours(0,0,0,0);var p=st(m,t);return p}var ns=6048e5;function as(e,t){V(1,arguments);var r=X(e),n=st(r,t).getTime()-rs(r,t).getTime();return Math.round(n/ns)+1}function C(e,t){for(var r=e<0?"-":"",n=Math.abs(e).toString();n.length<t;)n="0"+n;return r+n}var oe={y:function(t,r){var n=t.getUTCFullYear(),a=n>0?n:1-n;return C(r==="yy"?a%100:a,r.length)},M:function(t,r){var n=t.getUTCMonth();return r==="M"?String(n+1):C(n+1,2)},d:function(t,r){return C(t.getUTCDate(),r.length)},a:function(t,r){var n=t.getUTCHours()/12>=1?"pm":"am";switch(r){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];case"aaaa":default:return n==="am"?"a.m.":"p.m."}},h:function(t,r){return C(t.getUTCHours()%12||12,r.length)},H:function(t,r){return C(t.getUTCHours(),r.length)},m:function(t,r){return C(t.getUTCMinutes(),r.length)},s:function(t,r){return C(t.getUTCSeconds(),r.length)},S:function(t,r){var n=r.length,a=t.getUTCMilliseconds(),i=Math.floor(a*Math.pow(10,n-3));return C(i,r.length)}},_e={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},is={G:function(t,r,n){var a=t.getUTCFullYear()>0?1:0;switch(r){case"G":case"GG":case"GGG":return n.era(a,{width:"abbreviated"});case"GGGGG":return n.era(a,{width:"narrow"});case"GGGG":default:return n.era(a,{width:"wide"})}},y:function(t,r,n){if(r==="yo"){var a=t.getUTCFullYear(),i=a>0?a:1-a;return n.ordinalNumber(i,{unit:"year"})}return oe.y(t,r)},Y:function(t,r,n,a){var i=Fn(t,a),o=i>0?i:1-i;if(r==="YY"){var s=o%100;return C(s,2)}return r==="Yo"?n.ordinalNumber(o,{unit:"year"}):C(o,r.length)},R:function(t,r){var n=Un(t);return C(n,r.length)},u:function(t,r){var n=t.getUTCFullYear();return C(n,r.length)},Q:function(t,r,n){var a=Math.ceil((t.getUTCMonth()+1)/3);switch(r){case"Q":return String(a);case"QQ":return C(a,2);case"Qo":return n.ordinalNumber(a,{unit:"quarter"});case"QQQ":return n.quarter(a,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(a,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(a,{width:"wide",context:"formatting"})}},q:function(t,r,n){var a=Math.ceil((t.getUTCMonth()+1)/3);switch(r){case"q":return String(a);case"qq":return C(a,2);case"qo":return n.ordinalNumber(a,{unit:"quarter"});case"qqq":return n.quarter(a,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(a,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(a,{width:"wide",context:"standalone"})}},M:function(t,r,n){var a=t.getUTCMonth();switch(r){case"M":case"MM":return oe.M(t,r);case"Mo":return n.ordinalNumber(a+1,{unit:"month"});case"MMM":return n.month(a,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(a,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(a,{width:"wide",context:"formatting"})}},L:function(t,r,n){var a=t.getUTCMonth();switch(r){case"L":return String(a+1);case"LL":return C(a+1,2);case"Lo":return n.ordinalNumber(a+1,{unit:"month"});case"LLL":return n.month(a,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(a,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(a,{width:"wide",context:"standalone"})}},w:function(t,r,n,a){var i=as(t,a);return r==="wo"?n.ordinalNumber(i,{unit:"week"}):C(i,r.length)},I:function(t,r,n){var a=ts(t);return r==="Io"?n.ordinalNumber(a,{unit:"week"}):C(a,r.length)},d:function(t,r,n){return r==="do"?n.ordinalNumber(t.getUTCDate(),{unit:"date"}):oe.d(t,r)},D:function(t,r,n){var a=Jo(t);return r==="Do"?n.ordinalNumber(a,{unit:"dayOfYear"}):C(a,r.length)},E:function(t,r,n){var a=t.getUTCDay();switch(r){case"E":case"EE":case"EEE":return n.day(a,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(a,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(a,{width:"short",context:"formatting"});case"EEEE":default:return n.day(a,{width:"wide",context:"formatting"})}},e:function(t,r,n,a){var i=t.getUTCDay(),o=(i-a.weekStartsOn+8)%7||7;switch(r){case"e":return String(o);case"ee":return C(o,2);case"eo":return n.ordinalNumber(o,{unit:"day"});case"eee":return n.day(i,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(i,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(i,{width:"short",context:"formatting"});case"eeee":default:return n.day(i,{width:"wide",context:"formatting"})}},c:function(t,r,n,a){var i=t.getUTCDay(),o=(i-a.weekStartsOn+8)%7||7;switch(r){case"c":return String(o);case"cc":return C(o,r.length);case"co":return n.ordinalNumber(o,{unit:"day"});case"ccc":return n.day(i,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(i,{width:"narrow",context:"standalone"});case"cccccc":return n.day(i,{width:"short",context:"standalone"});case"cccc":default:return n.day(i,{width:"wide",context:"standalone"})}},i:function(t,r,n){var a=t.getUTCDay(),i=a===0?7:a;switch(r){case"i":return String(i);case"ii":return C(i,r.length);case"io":return n.ordinalNumber(i,{unit:"day"});case"iii":return n.day(a,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(a,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(a,{width:"short",context:"formatting"});case"iiii":default:return n.day(a,{width:"wide",context:"formatting"})}},a:function(t,r,n){var a=t.getUTCHours(),i=a/12>=1?"pm":"am";switch(r){case"a":case"aa":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(i,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},b:function(t,r,n){var a=t.getUTCHours(),i;switch(a===12?i=_e.noon:a===0?i=_e.midnight:i=a/12>=1?"pm":"am",r){case"b":case"bb":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(i,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},B:function(t,r,n){var a=t.getUTCHours(),i;switch(a>=17?i=_e.evening:a>=12?i=_e.afternoon:a>=4?i=_e.morning:i=_e.night,r){case"B":case"BB":case"BBB":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(i,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},h:function(t,r,n){if(r==="ho"){var a=t.getUTCHours()%12;return a===0&&(a=12),n.ordinalNumber(a,{unit:"hour"})}return oe.h(t,r)},H:function(t,r,n){return r==="Ho"?n.ordinalNumber(t.getUTCHours(),{unit:"hour"}):oe.H(t,r)},K:function(t,r,n){var a=t.getUTCHours()%12;return r==="Ko"?n.ordinalNumber(a,{unit:"hour"}):C(a,r.length)},k:function(t,r,n){var a=t.getUTCHours();return a===0&&(a=24),r==="ko"?n.ordinalNumber(a,{unit:"hour"}):C(a,r.length)},m:function(t,r,n){return r==="mo"?n.ordinalNumber(t.getUTCMinutes(),{unit:"minute"}):oe.m(t,r)},s:function(t,r,n){return r==="so"?n.ordinalNumber(t.getUTCSeconds(),{unit:"second"}):oe.s(t,r)},S:function(t,r){return oe.S(t,r)},X:function(t,r,n,a){var i=a._originalDate||t,o=i.getTimezoneOffset();if(o===0)return"Z";switch(r){case"X":return Ir(o);case"XXXX":case"XX":return he(o);case"XXXXX":case"XXX":default:return he(o,":")}},x:function(t,r,n,a){var i=a._originalDate||t,o=i.getTimezoneOffset();switch(r){case"x":return Ir(o);case"xxxx":case"xx":return he(o);case"xxxxx":case"xxx":default:return he(o,":")}},O:function(t,r,n,a){var i=a._originalDate||t,o=i.getTimezoneOffset();switch(r){case"O":case"OO":case"OOO":return"GMT"+Nr(o,":");case"OOOO":default:return"GMT"+he(o,":")}},z:function(t,r,n,a){var i=a._originalDate||t,o=i.getTimezoneOffset();switch(r){case"z":case"zz":case"zzz":return"GMT"+Nr(o,":");case"zzzz":default:return"GMT"+he(o,":")}},t:function(t,r,n,a){var i=a._originalDate||t,o=Math.floor(i.getTime()/1e3);return C(o,r.length)},T:function(t,r,n,a){var i=a._originalDate||t,o=i.getTime();return C(o,r.length)}};function Nr(e,t){var r=e>0?"-":"+",n=Math.abs(e),a=Math.floor(n/60),i=n%60;if(i===0)return r+String(a);var o=t;return r+String(a)+o+C(i,2)}function Ir(e,t){if(e%60===0){var r=e>0?"-":"+";return r+C(Math.abs(e)/60,2)}return he(e,t)}function he(e,t){var r=t||"",n=e>0?"-":"+",a=Math.abs(e),i=C(Math.floor(a/60),2),o=C(a%60,2);return n+i+r+o}var Rr=function(t,r){switch(t){case"P":return r.date({width:"short"});case"PP":return r.date({width:"medium"});case"PPP":return r.date({width:"long"});case"PPPP":default:return r.date({width:"full"})}},Gn=function(t,r){switch(t){case"p":return r.time({width:"short"});case"pp":return r.time({width:"medium"});case"ppp":return r.time({width:"long"});case"pppp":default:return r.time({width:"full"})}},os=function(t,r){var n=t.match(/(P+)(p+)?/)||[],a=n[1],i=n[2];if(!i)return Rr(t,r);var o;switch(a){case"P":o=r.dateTime({width:"short"});break;case"PP":o=r.dateTime({width:"medium"});break;case"PPP":o=r.dateTime({width:"long"});break;case"PPPP":default:o=r.dateTime({width:"full"});break}return o.replace("{{date}}",Rr(a,r)).replace("{{time}}",Gn(i,r))},ss={p:Gn,P:os},us=["D","DD"],ls=["YY","YYYY"];function cs(e){return us.indexOf(e)!==-1}function hs(e){return ls.indexOf(e)!==-1}function Dr(e,t,r){if(e==="YYYY")throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(t,"`) for formatting years to the input `").concat(r,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(e==="YY")throw new RangeError("Use `yy` instead of `YY` (in `".concat(t,"`) for formatting years to the input `").concat(r,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(e==="D")throw new RangeError("Use `d` instead of `D` (in `".concat(t,"`) for formatting days of the month to the input `").concat(r,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(e==="DD")throw new RangeError("Use `dd` instead of `DD` (in `".concat(t,"`) for formatting days of the month to the input `").concat(r,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}var fs={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},ds=function(t,r,n){var a,i=fs[t];return typeof i=="string"?a=i:r===1?a=i.one:a=i.other.replace("{{count}}",r.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"in "+a:a+" ago":a};function Mt(e){return function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=t.width?String(t.width):e.defaultWidth,n=e.formats[r]||e.formats[e.defaultWidth];return n}}var ms={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},gs={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},ps={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},vs={date:Mt({formats:ms,defaultWidth:"full"}),time:Mt({formats:gs,defaultWidth:"full"}),dateTime:Mt({formats:ps,defaultWidth:"full"})},bs={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},ys=function(t,r,n,a){return bs[t]};function Ne(e){return function(t,r){var n=r!=null&&r.context?String(r.context):"standalone",a;if(n==="formatting"&&e.formattingValues){var i=e.defaultFormattingWidth||e.defaultWidth,o=r!=null&&r.width?String(r.width):i;a=e.formattingValues[o]||e.formattingValues[i]}else{var s=e.defaultWidth,u=r!=null&&r.width?String(r.width):e.defaultWidth;a=e.values[u]||e.values[s]}var l=e.argumentCallback?e.argumentCallback(t):t;return a[l]}}var _s={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},ws={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},Ss={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},Es={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},xs={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},Ts={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},Cs=function(t,r){var n=Number(t),a=n%100;if(a>20||a<10)switch(a%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},Ps={ordinalNumber:Cs,era:Ne({values:_s,defaultWidth:"wide"}),quarter:Ne({values:ws,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:Ne({values:Ss,defaultWidth:"wide"}),day:Ne({values:Es,defaultWidth:"wide"}),dayPeriod:Ne({values:xs,defaultWidth:"wide",formattingValues:Ts,defaultFormattingWidth:"wide"})};function Ie(e){return function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=r.width,a=n&&e.matchPatterns[n]||e.matchPatterns[e.defaultMatchWidth],i=t.match(a);if(!i)return null;var o=i[0],s=n&&e.parsePatterns[n]||e.parsePatterns[e.defaultParseWidth],u=Array.isArray(s)?Hs(s,function(h){return h.test(o)}):Os(s,function(h){return h.test(o)}),l;l=e.valueCallback?e.valueCallback(u):u,l=r.valueCallback?r.valueCallback(l):l;var c=t.slice(o.length);return{value:l,rest:c}}}function Os(e,t){for(var r in e)if(e.hasOwnProperty(r)&&t(e[r]))return r}function Hs(e,t){for(var r=0;r<e.length;r++)if(t(e[r]))return r}function Ms(e){return function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.match(e.matchPattern);if(!n)return null;var a=n[0],i=t.match(e.parsePattern);if(!i)return null;var o=e.valueCallback?e.valueCallback(i[0]):i[0];o=r.valueCallback?r.valueCallback(o):o;var s=t.slice(a.length);return{value:o,rest:s}}}var As=/^(\d+)(th|st|nd|rd)?/i,Bs=/\d+/i,Ls={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},Ns={any:[/^b/i,/^(a|c)/i]},Is={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},Rs={any:[/1/i,/2/i,/3/i,/4/i]},Ds={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},ks={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},Us={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},Fs={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},Gs={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},js={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},Ws={ordinalNumber:Ms({matchPattern:As,parsePattern:Bs,valueCallback:function(t){return parseInt(t,10)}}),era:Ie({matchPatterns:Ls,defaultMatchWidth:"wide",parsePatterns:Ns,defaultParseWidth:"any"}),quarter:Ie({matchPatterns:Is,defaultMatchWidth:"wide",parsePatterns:Rs,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:Ie({matchPatterns:Ds,defaultMatchWidth:"wide",parsePatterns:ks,defaultParseWidth:"any"}),day:Ie({matchPatterns:Us,defaultMatchWidth:"wide",parsePatterns:Fs,defaultParseWidth:"any"}),dayPeriod:Ie({matchPatterns:Gs,defaultMatchWidth:"any",parsePatterns:js,defaultParseWidth:"any"})},$s={code:"en-US",formatDistance:ds,formatLong:vs,formatRelative:ys,localize:Ps,match:Ws,options:{weekStartsOn:0,firstWeekContainsDate:1}},Vs=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Ys=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Xs=/^'([^]*?)'?$/,qs=/''/g,zs=/[a-zA-Z]/;function Qs(e,t,r){var n,a,i,o,s,u,l,c,h,d,m,p,v,g;V(2,arguments);var A=String(t),O=mt(),H=(n=(a=void 0)!==null&&a!==void 0?a:O.locale)!==null&&n!==void 0?n:$s,F=de((i=(o=(s=(u=void 0)!==null&&u!==void 0?u:void 0)!==null&&s!==void 0?s:O.firstWeekContainsDate)!==null&&o!==void 0?o:(l=O.locale)===null||l===void 0||(c=l.options)===null||c===void 0?void 0:c.firstWeekContainsDate)!==null&&i!==void 0?i:1);if(!(F>=1&&F<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var x=de((h=(d=(m=(p=void 0)!==null&&p!==void 0?p:void 0)!==null&&m!==void 0?m:O.weekStartsOn)!==null&&d!==void 0?d:(v=O.locale)===null||v===void 0||(g=v.options)===null||g===void 0?void 0:g.weekStartsOn)!==null&&h!==void 0?h:0);if(!(x>=0&&x<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!H.localize)throw new RangeError("locale must contain localize property");if(!H.formatLong)throw new RangeError("locale must contain formatLong property");var G=X(e);if(!zo(G))throw new RangeError("Invalid time value");var T=Xo(G),B=Qo(G,T),w={firstWeekContainsDate:F,weekStartsOn:x,locale:H,_originalDate:G},M=A.match(Ys).map(function(k){var Z=k[0];if(Z==="p"||Z==="P"){var z=ss[Z];return z(k,H.formatLong)}return k}).join("").match(Vs).map(function(k){if(k==="''")return"'";var Z=k[0];if(Z==="'")return Zs(k);var z=is[Z];if(z)return hs(k)&&Dr(k,t,String(e)),cs(k)&&Dr(k,t,String(e)),z(B,k,H.localize,w);if(Z.match(zs))throw new RangeError("Format string contains an unescaped latin alphabet character `"+Z+"`");return k}).join("");return M}function Zs(e){var t=e.match(Xs);return t?t[1].replace(qs,"'"):e}function Js(e,t){V(2,arguments);var r=X(e),n=X(t);return r.getTime()>n.getTime()}function Ks(e,t){V(2,arguments);var r=X(e),n=X(t);return r.getTime()<n.getTime()}function jn(e,t,r){return window.emMessageBus&&(t=window.emMessageBus.subscribe(e,r)),t}function eu(e){Qr(e,"svelte-1vt65d9","*,*::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 10px;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;color:var(--emw--color-gray-100, #E6E6E6);border:none;background:var(--emw--color-secondary, #194127);border-radius:var(--emw--border-radius-medium, 10px);display:block;font-size:16px;font-weight:300;padding:14px 30px 14px 46px;width:100%;transition:3s}.SearchInput::placeholder{color:var(--emw--color-white, #FFF);font-size:16px;font-weight:300}.SearchInput:focus{background:var(--emw--color-primary, #194127)}.SearchInput:focus-visible{outline-width:0}.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{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 .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 kr(e,t,r){const n=e.slice();return n[68]=t[r],n}function Ur(e){let t,r=e[22]("cancel")+"",n,a,i,o;return{c(){t=N("small"),n=re(r),_(t,"class",a="SearchCancelButton "+(e[17]?"NotVisible":""))},m(s,u){$(s,t,u),P(t,n),i||(o=fe(t,"click",e[43]),i=!0)},p(s,u){u[0]&4194304&&r!==(r=s[22]("cancel")+"")&&ue(n,r),u[0]&131072&&a!==(a="SearchCancelButton "+(s[17]?"NotVisible":""))&&_(t,"class",a)},d(s){s&&W(t),i=!1,o()}}}function tu(e){let t,r,n,a;function i(c,h){if(c[18]==!0&&c[15].length<2)return au;if(c[14].length!=0)return nu}let o=i(e),s=o&&o(e),u=e[17]===!1&&Wr(e),l=e[15].length>=2&&e[14].length==0&&Vr(e);return{c(){s&&s.c(),t=J(),r=N("div"),u&&u.c(),n=J(),l&&l.c(),_(r,"class",a="SearchResultsContainer "+(e[18]==!0?"":"NotVisible"))},m(c,h){s&&s.m(c,h),$(c,t,h),$(c,r,h),u&&u.m(r,null),P(r,n),l&&l.m(r,null)},p(c,h){o===(o=i(c))&&s?s.p(c,h):(s&&s.d(1),s=o&&o(c),s&&(s.c(),s.m(t.parentNode,t))),c[17]===!1?u?u.p(c,h):(u=Wr(c),u.c(),u.m(r,n)):u&&(u.d(1),u=null),c[15].length>=2&&c[14].length==0?l?l.p(c,h):(l=Vr(c),l.c(),l.m(r,null)):l&&(l.d(1),l=null),h[0]&262144&&a!==(a="SearchResultsContainer "+(c[18]==!0?"":"NotVisible"))&&_(r,"class",a)},d(c){c&&(W(t),W(r)),s&&s.d(c),u&&u.d(),l&&l.d()}}}function ru(e){let t,r=e[22]("loading")+"",n;return{c(){t=N("p"),n=re(r),_(t,"class","LoadingContent")},m(a,i){$(a,t,i),P(t,n)},p(a,i){i[0]&4194304&&r!==(r=a[22]("loading")+"")&&ue(n,r)},d(a){a&&W(t)}}}function nu(e){let t,r=e[22]("searchResult")+"",n;return{c(){t=N("p"),n=re(r),_(t,"class","SearchMessage")},m(a,i){$(a,t,i),P(t,n)},p(a,i){i[0]&4194304&&r!==(r=a[22]("searchResult")+"")&&ue(n,r)},d(a){a&&W(t)}}}function au(e){let t,r,n=e[14].length!==0&&Fr(e),a=e[14].length==0&&Gr(e);return{c(){n&&n.c(),t=J(),a&&a.c(),r=Zt()},m(i,o){n&&n.m(i,o),$(i,t,o),a&&a.m(i,o),$(i,r,o)},p(i,o){i[14].length!==0?n?n.p(i,o):(n=Fr(i),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null),i[14].length==0?a?a.p(i,o):(a=Gr(i),a.c(),a.m(r.parentNode,r)):a&&(a.d(1),a=null)},d(i){i&&(W(t),W(r)),n&&n.d(i),a&&a.d(i)}}}function Fr(e){let t,r=e[22]("recentSearch")+"",n;return{c(){t=N("p"),n=re(r),_(t,"class","SearchMessage")},m(a,i){$(a,t,i),P(t,n)},p(a,i){i[0]&4194304&&r!==(r=a[22]("recentSearch")+"")&&ue(n,r)},d(a){a&&W(t)}}}function Gr(e){let t,r,n,a=e[22]("noRecentSearches")+"",i,o,s=e[11]==="true"&&jr();return{c(){t=N("div"),s&&s.c(),r=J(),n=N("p"),i=re(a),_(n,"class","SearchMessage"),_(t,"class",o="ResultsContainerError "+(e[11]=="true"?"WithIcon":""))},m(u,l){$(u,t,l),s&&s.m(t,null),P(t,r),P(t,n),P(n,i)},p(u,l){u[11]==="true"?s||(s=jr(),s.c(),s.m(t,r)):s&&(s.d(1),s=null),l[0]&4194304&&a!==(a=u[22]("noRecentSearches")+"")&&ue(i,a),l[0]&2048&&o!==(o="ResultsContainerError "+(u[11]=="true"?"WithIcon":""))&&_(t,"class",o)},d(u){u&&W(t),s&&s.d()}}}function jr(e){let t;return{c(){t=N("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>',_(t,"class","SearchErrorIcon")},m(r,n){$(r,t,n)},d(r){r&&W(t)}}}function Wr(e){let t=[],r=new Map,n,a=Lt(e[14]);const i=o=>o[68].id;for(let o=0;o<a.length;o+=1){let s=kr(e,a,o),u=i(s);r.set(u,t[o]=$r(u,s))}return{c(){for(let o=0;o<t.length;o+=1)t[o].c();n=Zt()},m(o,s){for(let u=0;u<t.length;u+=1)t[u]&&t[u].m(o,s);$(o,n,s)},p(o,s){s[0]&154162175&&(a=Lt(o[14]),t=Aa(t,s,i,1,o,a,r,n.parentNode,Ma,$r,n,kr))},d(o){o&&W(n);for(let s=0;s<t.length;s+=1)t[s].d(o)}}}function $r(e,t){let r,n,a,i,o,s,u,l,c,h,d,m,p;return{key:e,first:null,c(){var v,g;r=N("casino-game-thumbnail-nd"),b(r,"endpoint",t[0]),b(r,"session",t[20]),b(r,"userid",t[21]),b(r,"favorites",t[9]),b(r,"lang",t[1]),b(r,"gamethumbnail",n=t[68].thumbnail),b(r,"icon",a=t[24]((v=t[68])==null?void 0:v.icons)),b(r,"gamename",i=t[68].name),b(r,"gamevendor",o=t[68].vendor.name),b(r,"gameLaunchUrl",s=t[68].launchUrl),b(r,"gameisnew",u=t[68].isNew),b(r,"gametag",l=((g=t[68].advancedTags)==null?void 0:g.length)>0&&t[27](t[68].advancedTags)),b(r,"gamecellsize",c=t[68].cellSize),b(r,"gameid",h=t[68].id),b(r,"showgamename",t[7]),b(r,"gamefunmode",d=t[68].hasFunMode),b(r,"gamefavorite",m=t[68].isFavorite),b(r,"livelobbyendpoint",p=t[68].details?t[68].launchUrl:""),b(r,"integratedgameframedesktop",t[5]),b(r,"integratedgameframemobile",t[6]),b(r,"clientstyling",t[3]),b(r,"clientstylingurl",t[4]),b(r,"gamepagemodalurl",t[8]),b(r,"mbsource",t[2]),b(r,"allowsingleclickgameentry",t[12]),this.first=r},m(v,g){$(v,r,g)},p(v,g){var A,O;t=v,g[0]&1&&b(r,"endpoint",t[0]),g[0]&1048576&&b(r,"session",t[20]),g[0]&2097152&&b(r,"userid",t[21]),g[0]&512&&b(r,"favorites",t[9]),g[0]&2&&b(r,"lang",t[1]),g[0]&16384&&n!==(n=t[68].thumbnail)&&b(r,"gamethumbnail",n),g[0]&16384&&a!==(a=t[24]((A=t[68])==null?void 0:A.icons))&&b(r,"icon",a),g[0]&16384&&i!==(i=t[68].name)&&b(r,"gamename",i),g[0]&16384&&o!==(o=t[68].vendor.name)&&b(r,"gamevendor",o),g[0]&16384&&s!==(s=t[68].launchUrl)&&b(r,"gameLaunchUrl",s),g[0]&16384&&u!==(u=t[68].isNew)&&b(r,"gameisnew",u),g[0]&16384&&l!==(l=((O=t[68].advancedTags)==null?void 0:O.length)>0&&t[27](t[68].advancedTags))&&b(r,"gametag",l),g[0]&16384&&c!==(c=t[68].cellSize)&&b(r,"gamecellsize",c),g[0]&16384&&h!==(h=t[68].id)&&b(r,"gameid",h),g[0]&128&&b(r,"showgamename",t[7]),g[0]&16384&&d!==(d=t[68].hasFunMode)&&b(r,"gamefunmode",d),g[0]&16384&&m!==(m=t[68].isFavorite)&&b(r,"gamefavorite",m),g[0]&16384&&p!==(p=t[68].details?t[68].launchUrl:"")&&b(r,"livelobbyendpoint",p),g[0]&32&&b(r,"integratedgameframedesktop",t[5]),g[0]&64&&b(r,"integratedgameframemobile",t[6]),g[0]&8&&b(r,"clientstyling",t[3]),g[0]&16&&b(r,"clientstylingurl",t[4]),g[0]&256&&b(r,"gamepagemodalurl",t[8]),g[0]&4&&b(r,"mbsource",t[2]),g[0]&4096&&b(r,"allowsingleclickgameentry",t[12])},d(v){v&&W(r)}}}function Vr(e){let t,r,n,a=e[22]("notFound")+"",i,o,s,u=e[22]("notFoundText")+"",l,c,h=e[11]==="true"&&Yr();return{c(){t=N("div"),h&&h.c(),r=J(),n=N("p"),i=re(a),o=J(),s=N("p"),l=re(u),_(n,"class","SearchMessage"),_(t,"class",c="ResultsContainerError "+(e[11]=="true"?"WithIcon":""))},m(d,m){$(d,t,m),h&&h.m(t,null),P(t,r),P(t,n),P(n,i),P(t,o),P(t,s),P(s,l)},p(d,m){d[11]==="true"?h||(h=Yr(),h.c(),h.m(t,r)):h&&(h.d(1),h=null),m[0]&4194304&&a!==(a=d[22]("notFound")+"")&&ue(i,a),m[0]&4194304&&u!==(u=d[22]("notFoundText")+"")&&ue(l,u),m[0]&2048&&c!==(c="ResultsContainerError "+(d[11]=="true"?"WithIcon":""))&&_(t,"class",c)},d(d){d&&W(t),h&&h.d()}}}function Yr(e){let t;return{c(){t=N("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>',_(t,"class","SearchErrorIcon")},m(r,n){$(r,t,n)},d(r){r&&W(t)}}}function iu(e){let t,r,n,a,i,o,s,u,l,c,h,d,m,p,v,g,A,O,H,F,x=e[10]==="true"&&Ur(e);function G(w,M){return w[19]?ru:tu}let T=G(e),B=T(e);return{c(){t=N("div"),r=N("div"),n=N("div"),a=N("div"),a.innerHTML='<svg width="14" height="15" fill="none" xmlns="http://www.w3.org/2000/svg"><path stroke="#FFF" 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="#FFF" stroke-width="1.5"></circle></svg>',i=J(),o=N("input"),u=J(),l=N("span"),c=et("svg"),h=et("path"),m=J(),x&&x.c(),v=J(),g=N("div"),O=J(),B.c(),_(a,"class","SearchIcon"),_(o,"class","SearchInput"),_(o,"type","search"),_(o,"placeholder",s=e[22]("placeHolderSearchGames")),_(o,"maxlength",Wn),_(h,"d","m1.45 1.5 8.1 8M1.45 9.5l8.1-8"),_(h,"stroke","#717171"),_(h,"stroke-width","2"),_(h,"stroke-linecap","round"),_(h,"stroke-linejoin","round"),_(c,"width","11"),_(c,"height","11"),_(c,"fill","none"),_(c,"xmlns","http://www.w3.org/2000/svg"),_(l,"class",d="SearchClearButton "+(e[10]!="true"?"WithoutCancel":"")+" "+(e[15].length!=0?"":"NotVisible")),_(n,"class",p="Search "+(e[17]?"":"SearchAnimation")),_(r,"class","SearchWrap"),_(g,"class",A=e[10]!="true"?"OverlayCancel":""),_(t,"class",(at(e[23])!=="PC"?"":"Desktop")+" CasinoSearch")},m(w,M){$(w,t,M),P(t,r),P(r,n),P(n,a),P(n,i),P(n,o),hr(o,e[15]),e[41](o),P(n,u),P(n,l),P(l,c),P(c,h),P(n,m),x&&x.m(n,null),P(t,v),P(t,g),P(t,O),B.m(t,null),e[44](t),H||(F=[fe(o,"input",e[40]),fe(o,"focus",e[25]),fe(o,"input",e[30]),fe(l,"click",e[42]),fe(g,"click",e[26])],H=!0)},p(w,M){M[0]&4194304&&s!==(s=w[22]("placeHolderSearchGames"))&&_(o,"placeholder",s),M[0]&32768&&o.value!==w[15]&&hr(o,w[15]),M[0]&33792&&d!==(d="SearchClearButton "+(w[10]!="true"?"WithoutCancel":"")+" "+(w[15].length!=0?"":"NotVisible"))&&_(l,"class",d),w[10]==="true"?x?x.p(w,M):(x=Ur(w),x.c(),x.m(n,null)):x&&(x.d(1),x=null),M[0]&131072&&p!==(p="Search "+(w[17]?"":"SearchAnimation"))&&_(n,"class",p),M[0]&1024&&A!==(A=w[10]!="true"?"OverlayCancel":"")&&_(g,"class",A),T===(T=G(w))&&B?B.p(w,M):(B.d(1),B=T(w),B&&(B.c(),B.m(t,null)))},i:K,o:K,d(w){w&&W(t),e[41](null),x&&x.d(),B.d(),e[44](null),H=!1,me(F)}}}let Wn=50;function ou(e,t,r){let n;zr(e,Hn,f=>r(22,n=f));let{endpoint:a=""}=t,{datasource:i=""}=t,{session:o=""}=t,{userid:s=""}=t,{lang:u="en"}=t,{mbsource:l}=t,{clientstyling:c=""}=t,{clientstylingurl:h=""}=t,{integratedgameframedesktop:d="false"}=t,{integratedgameframemobile:m="false"}=t,{showgamename:p=""}=t,{gamepagemodalurl:v="true"}=t,{translationurl:g=""}=t,{showfavorites:A=""}=t,{cancelbutton:O="true"}=t,{notfoundicon:H="false"}=t,{controlchannel:F="casino-search"}=t,{allowedorigins:x=window.location.origin}=t,{requiredicon:G="false"}=t,{allowsingleclickgameentry:T="false"}=t;const B=()=>(x||"").split(",").map(f=>f.trim()).filter(Boolean);let w=window.navigator.userAgent,M=[],k=[],Z={},z="",le,We=!0,ne=!1,ee=!1,ae,Me,Vn,$e=!1,Ve,Ye,tr=[];const gt=f=>{Object.keys(f).forEach(y=>{xo(y,f[y])})},Yn=()=>{fetch(g).then(y=>y.json()).then(y=>{gt(y)}).catch(y=>{console.log(y)})};gt(Co);const rr=f=>{var y;f.data&&f.data.type=="SearchedItemClicked"&&ra(f.data.gameId),f.data.type=="UserSessionID"&&(r(20,Ve=f.data.session),r(21,Ye=f.data.userid),r(39,$e=!0)),f.data.type=="CategoryChange"&&Be();try{const I=f.origin===window.location.origin,R=B();if(!(I||R.length>0&&R.includes(f.origin))||!f.data||f.data.channel!==F)return;switch(f.data.type){case"OpenSearch":vt();break;case"CloseSearch":nr();break;case"ToggleSearch":qn();break;case"SetSearchQuery":zn(String((y=f.data.value)!=null?y:""));break}}catch(I){}},Xn=f=>G!=="true"?void 0:Object.values(f!=null?f:{}).pop(),pt=()=>{if(r(17,We=!1),r(18,ne=!0),a&&i&&u&&z.length<2){r(14,M=[]);let f=localStorage.getItem("searchedGamesWds_casino"),y=[];f&&(y=f.split(","));let I=[],R=0,j=y.length;if(j>0){for(R=0;R<j;R++){let Q=new URL(`${a}/v1/casino/games/${y[R]}`);Q.searchParams.append("language",u),Q.searchParams.append("datasource",i),Q.searchParams.append("platform",at(w)),I.push(Jn(Q,y[R]))}Promise.all(I).then(Q=>{Q=Q.filter(function(ce){return!!ce}),r(14,M=Q.map(ce=>(ce.isFavorite=ar(ce.id),ce))),M.length?Ae("searchSuccess","SearchWidget"):Ae("searchFail","SearchWidget")}).catch(Q=>{Ae("searchError","SearchWidget")})}}or(ne),Ae("searchAttempt","SearchWidget"),Ae("SearchInitialized","SearchWidget")};function vt(){ne||(pt(),requestAnimationFrame(()=>le==null?void 0:le.focus()),ve({type:"SearchOpen"}))}function nr(){ne&&(Be(),ve({type:"SearchClose"}))}function qn(){ne?nr():vt()}function zn(f){r(15,z=(f!=null?f:"").slice(0,Wn)),ne||vt(),sr()}const Ae=(f,y)=>{typeof gtag=="function"&>ag("event",f,{context:y})},Qn=()=>{O!="true"&&Be()},Zn=f=>new Promise((y,I)=>{r(19,ee=!0),fetch(f.href).then(R=>R.json()).then(R=>{r(19,ee=!1),y(R)}).catch(R=>{r(19,ee=!1),console.error(R);try{ve({type:"SearchError",message:String(R)})}catch(j){}I(R)})}),Jn=(f,y)=>new Promise((I,R)=>{r(19,ee=!0),y&&Object.keys(Z).indexOf(y)>=0?(r(19,ee=!1),I(Z[y])):fetch(f).then(j=>j.json()).then(j=>{r(19,ee=!1),j.error||(Z[j[0].gameId]=j[0]),I(j[0])}).catch(j=>{r(19,ee=!1),console.error(j);try{ve({type:"SearchError",message:String(j)})}catch(Q){}R(j)})}),Kn=()=>{const f=new URL(`${a}/v1/player/${Ye}/favorites/`);r(19,ee=!0);let y={method:"GET",headers:{"X-SessionID":Ve}};fetch(f.href,y).then(I=>I.json()).then(I=>{r(19,ee=!1),tr=I.items.map(R=>R.id)})},ea=()=>{r(39,$e=!0),r(20,Ve=o),r(21,Ye=s)},ar=f=>tr.findIndex(y=>y==f)!==-1,ta=f=>{if((f==null?void 0:f.length)===0)return"";let y,I=99999999999,R;const j=new Date(Date.now());return f.forEach((Q,ce)=>{const ca=new Date(Q.schedules[0].startTime),bt=new Date(Q.schedules[0].endTime);Lr(new Date(bt),new Date(j))<I&&(I=Lr(new Date(bt),new Date(j)),R=ce),Js(new Date(j),new Date(ca))&&Ks(new Date(j),new Date(bt))&&(y=f[R].name)}),y},ra=f=>{if(k=localStorage.getItem("searchedGamesWds_casino"),k?k=k.split(","):k=[],k.indexOf(f)===-1){let y;k.unshift(f),y=k.join(","),localStorage.setItem("searchedGamesWds_casino",y)}},Be=()=>{r(15,z=""),r(17,We=!0),r(19,ee=!1),r(14,M=[]),r(18,ne=!1),or(ne)},ir=()=>{r(15,z=""),le.focus()},or=f=>{window.postMessage({type:f===!0?"searchActive":"searchCancelled",searchStatus:f},window.location.href),ve({type:f?"SearchOpen":"SearchClose"})};function ve(f){try{const y=_t({channel:F},f);window.postMessage(y,window.location.href)}catch(y){}}const na=()=>{To(u)},sr=()=>wt(this,null,function*(){if(z.length>=2){const f=new URL(`${a}/v1/casino/games`);f.searchParams.append("datasource",i),f.searchParams.append("expand","vendor"),f.searchParams.append("platform",at(w)),f.searchParams.append("language",u),f.searchParams.append("pagination","offset=0,limit=30"),f.searchParams.append("filter",`name=${z}`),Zn(f).then(y=>{if(y.error)throw y.error;r(14,M=y.items.map(I=>(I.isFavorite=ar(I.id),I)));try{ve({type:"SearchResults",count:M.length})}catch(I){}}).catch(y=>{console.error(y),r(14,M=[])})}else We||pt()}),aa=$o(sr,500);Zr(()=>(window.addEventListener("message",rr,!1),()=>{Me&&Me.unsubscribe(),window.removeEventListener("message",rr)}));function ia(){z=this.value,r(15,z)}function oa(f){ke[f?"unshift":"push"](()=>{le=f,r(16,le)})}const sa=()=>ir(),ua=()=>Be();function la(f){ke[f?"unshift":"push"](()=>{ae=f,r(13,ae)})}return e.$$set=f=>{"endpoint"in f&&r(0,a=f.endpoint),"datasource"in f&&r(31,i=f.datasource),"session"in f&&r(32,o=f.session),"userid"in f&&r(33,s=f.userid),"lang"in f&&r(1,u=f.lang),"mbsource"in f&&r(2,l=f.mbsource),"clientstyling"in f&&r(3,c=f.clientstyling),"clientstylingurl"in f&&r(4,h=f.clientstylingurl),"integratedgameframedesktop"in f&&r(5,d=f.integratedgameframedesktop),"integratedgameframemobile"in f&&r(6,m=f.integratedgameframemobile),"showgamename"in f&&r(7,p=f.showgamename),"gamepagemodalurl"in f&&r(8,v=f.gamepagemodalurl),"translationurl"in f&&r(34,g=f.translationurl),"showfavorites"in f&&r(9,A=f.showfavorites),"cancelbutton"in f&&r(10,O=f.cancelbutton),"notfoundicon"in f&&r(11,H=f.notfoundicon),"controlchannel"in f&&r(35,F=f.controlchannel),"allowedorigins"in f&&r(36,x=f.allowedorigins),"requiredicon"in f&&r(37,G=f.requiredicon),"allowsingleclickgameentry"in f&&r(12,T=f.allowsingleclickgameentry)},e.$$.update=()=>{e.$$.dirty[0]&2&&u&&na(),e.$$.dirty[1]&8&&g&&Yn(),e.$$.dirty[1]&6&&o&&s&&ea(),e.$$.dirty[0]&512|e.$$.dirty[1]&256&&A&&$e&&Kn(),e.$$.dirty[0]&8200&&c&&ae&&Mn(ae,c),e.$$.dirty[0]&8208&&h&&ae&&An(ae,h),e.$$.dirty[0]&8196|e.$$.dirty[1]&128&&l&&ae&&r(38,Me=Bn(ae,`${l}.Style`,Me,!0)),e.$$.dirty[0]&4|e.$$.dirty[1]&8&&l&&!g&&jn(`${l}.Translation`,Vn,gt)},[a,u,l,c,h,d,m,p,v,A,O,H,T,ae,M,z,le,We,ne,ee,Ve,Ye,n,w,Xn,pt,Qn,ta,Be,ir,aa,i,o,s,g,F,x,G,Me,$e,ia,oa,sa,ua,la]}class $n extends an{constructor(t){super(),tn(this,t,ou,iu,Qt,{endpoint:0,datasource:31,session:32,userid:33,lang:1,mbsource:2,clientstyling:3,clientstylingurl:4,integratedgameframedesktop:5,integratedgameframemobile:6,showgamename:7,gamepagemodalurl:8,translationurl:34,showfavorites:9,cancelbutton:10,notfoundicon:11,controlchannel:35,allowedorigins:36,requiredicon:37,allowsingleclickgameentry:12},eu,[-1,-1,-1])}get endpoint(){return this.$$.ctx[0]}set endpoint(t){this.$$set({endpoint:t}),D()}get datasource(){return this.$$.ctx[31]}set datasource(t){this.$$set({datasource:t}),D()}get session(){return this.$$.ctx[32]}set session(t){this.$$set({session:t}),D()}get userid(){return this.$$.ctx[33]}set userid(t){this.$$set({userid:t}),D()}get lang(){return this.$$.ctx[1]}set lang(t){this.$$set({lang:t}),D()}get mbsource(){return this.$$.ctx[2]}set mbsource(t){this.$$set({mbsource:t}),D()}get clientstyling(){return this.$$.ctx[3]}set clientstyling(t){this.$$set({clientstyling:t}),D()}get clientstylingurl(){return this.$$.ctx[4]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),D()}get integratedgameframedesktop(){return this.$$.ctx[5]}set integratedgameframedesktop(t){this.$$set({integratedgameframedesktop:t}),D()}get integratedgameframemobile(){return this.$$.ctx[6]}set integratedgameframemobile(t){this.$$set({integratedgameframemobile:t}),D()}get showgamename(){return this.$$.ctx[7]}set showgamename(t){this.$$set({showgamename:t}),D()}get gamepagemodalurl(){return this.$$.ctx[8]}set gamepagemodalurl(t){this.$$set({gamepagemodalurl:t}),D()}get translationurl(){return this.$$.ctx[34]}set translationurl(t){this.$$set({translationurl:t}),D()}get showfavorites(){return this.$$.ctx[9]}set showfavorites(t){this.$$set({showfavorites:t}),D()}get cancelbutton(){return this.$$.ctx[10]}set cancelbutton(t){this.$$set({cancelbutton:t}),D()}get notfoundicon(){return this.$$.ctx[11]}set notfoundicon(t){this.$$set({notfoundicon:t}),D()}get controlchannel(){return this.$$.ctx[35]}set controlchannel(t){this.$$set({controlchannel:t}),D()}get allowedorigins(){return this.$$.ctx[36]}set allowedorigins(t){this.$$set({allowedorigins:t}),D()}get requiredicon(){return this.$$.ctx[37]}set requiredicon(t){this.$$set({requiredicon:t}),D()}get allowsingleclickgameentry(){return this.$$.ctx[12]}set allowsingleclickgameentry(t){this.$$set({allowsingleclickgameentry:t}),D()}}nn($n,{endpoint:{},datasource:{},session:{},userid:{},lang:{},mbsource:{},clientstyling:{},clientstylingurl:{},integratedgameframedesktop:{},integratedgameframemobile:{},showgamename:{},gamepagemodalurl:{},translationurl:{},showfavorites:{},cancelbutton:{},notfoundicon:{},controlchannel:{},allowedorigins:{},requiredicon:{},allowsingleclickgameentry:{}},[],[],!0);const su=Object.freeze(Object.defineProperty({__proto__:null,default:$n},Symbol.toStringTag,{value:"Module"}));exports.$format=Hn;exports.$locale=pe;exports.CasinoSearchNd_ce=su;exports.HtmlTag=Ea;exports.SvelteComponent=an;exports.addMessages=Kt;exports.append=P;exports.append_styles=Qr;exports.attr=_;exports.binding_callbacks=ke;exports.component_subscribe=zr;exports.create_custom_element=nn;exports.destroy_each=_a;exports.detach=W;exports.element=N;exports.empty=Zt;exports.ensure_array_like=Lt;exports.flush=D;exports.format=Qs;exports.getDevice=at;exports.getStreamTranslations=jn;exports.init=tn;exports.insert=$;exports.isMobile=Wo;exports.listen=fe;exports.noop=K;exports.onMount=Zr;exports.safe_not_equal=Qt;exports.setClientStyling=Mn;exports.setClientStylingURL=An;exports.setStreamStyling=Bn;exports.set_custom_element_data=b;exports.set_data=ue;exports.space=J;exports.src_url_equal=pa;exports.svg_element=et;exports.text=re;exports.tick=Ca;exports.toggle_class=Sa;
|