@everymatrix/casino-mystery-chest-container 1.98.30 → 1.99.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- "use strict";var Rr=Object.defineProperty,Ur=Object.defineProperties;var Fr=Object.getOwnPropertyDescriptors;var he=Object.getOwnPropertySymbols;var ft=Object.prototype.hasOwnProperty,ct=Object.prototype.propertyIsEnumerable;var Te=(e,t,r)=>t in e?Rr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,pt=(e,t)=>{for(var r in t||(t={}))ft.call(t,r)&&Te(e,r,t[r]);if(he)for(var r of he(t))ct.call(t,r)&&Te(e,r,t[r]);return e},mt=(e,t)=>Ur(e,Fr(t));var dt=(e,t)=>{var r={};for(var n in e)ft.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&he)for(var n of he(e))t.indexOf(n)<0&&ct.call(e,n)&&(r[n]=e[n]);return r};var H=(e,t,r)=>(Te(e,typeof t!="symbol"?t+"":t,r),r);var bt=(e,t,r)=>new Promise((n,i)=>{var s=u=>{try{a(r.next(u))}catch(A){i(A)}},o=u=>{try{a(r.throw(u))}catch(A){i(A)}},a=u=>u.done?n(u.value):Promise.resolve(u.value).then(s,o);a((r=r.apply(e,t)).next())});function B(){}const jr=e=>e;function Qr(e,t){for(const r in t)e[r]=t[r];return e}function Xt(e){return e()}function gt(){return Object.create(null)}function K(e){e.forEach(Xt)}function rt(e){return typeof e=="function"}function nt(e,t){return e!=e?t==t:e!==t||e&&typeof e=="object"||typeof e=="function"}let fe;function Ue(e,t){return e===t?!0:(fe||(fe=document.createElement("a")),fe.href=t,e===fe.href)}function Gr(e){return Object.keys(e).length===0}function zt(e,...t){if(e==null){for(const n of t)n(void 0);return B}const r=e.subscribe(...t);return r.unsubscribe?()=>r.unsubscribe():r}function Zt(e,t,r){e.$$.on_destroy.push(zt(t,r))}const Wt=typeof window!="undefined";let Vr=Wt?()=>window.performance.now():()=>Date.now(),_t=Wt?e=>requestAnimationFrame(e):B;const z=new Set;function Jt(e){z.forEach(t=>{t.c(e)||(z.delete(t),t.f())}),z.size!==0&&_t(Jt)}function kr(e){let t;return z.size===0&&_t(Jt),{promise:new Promise(r=>{z.add(t={c:e,f:r})}),abort(){z.delete(t)}}}function re(e,t){e.appendChild(t)}function Yt(e,t,r){const n=Xr(e);if(!n.getElementById(t)){const i=I("style");i.id=t,i.textContent=r,zr(n,i)}}function Xr(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function zr(e,t){return re(e.head||e,t),t.sheet}function F(e,t,r){e.insertBefore(t,r||null)}function L(e){e.parentNode&&e.parentNode.removeChild(e)}function Zr(e,t){for(let r=0;r<e.length;r+=1)e[r]&&e[r].d(t)}function I(e){return document.createElement(e)}function it(e){return document.createTextNode(e)}function st(){return it(" ")}function Kt(){return it("")}function qt(e,t,r,n){return e.addEventListener(t,r,n),()=>e.removeEventListener(t,r,n)}function C(e,t,r){r==null?e.removeAttribute(t):e.getAttribute(t)!==r&&e.setAttribute(t,r)}function c(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:C(e,t,r)}function Wr(e){return Array.from(e.childNodes)}function _r(e,t){t=""+t,e.data!==t&&(e.data=t)}function Jr(e,t,r,n){r==null?e.style.removeProperty(t):e.style.setProperty(t,r,"")}function Yr(e,t,r){e.classList.toggle(t,!!r)}function Kr(e){const t={};return e.childNodes.forEach(r=>{t[r.slot||"default"]=!0}),t}let ie;function ne(e){ie=e}function qr(){if(!ie)throw new Error("Function called outside component initialization");return ie}function ot(e){qr().$$.on_mount.push(e)}const X=[],Fe=[];let Z=[];const yt=[],$r=Promise.resolve();let je=!1;function en(){je||(je=!0,$r.then(T))}function Qe(e){Z.push(e)}const Ce=new Set;let V=0;function T(){if(V!==0)return;const e=ie;do{try{for(;V<X.length;){const t=X[V];V++,ne(t),tn(t.$$)}}catch(t){throw X.length=0,V=0,t}for(ne(null),X.length=0,V=0;Fe.length;)Fe.pop()();for(let t=0;t<Z.length;t+=1){const r=Z[t];Ce.has(r)||(Ce.add(r),r())}Z.length=0}while(X.length);for(;yt.length;)yt.pop()();je=!1,Ce.clear(),ne(e)}function tn(e){if(e.fragment!==null){e.update(),K(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(Qe)}}function rn(e){const t=[],r=[];Z.forEach(n=>e.indexOf(n)===-1?t.push(n):r.push(n)),r.forEach(n=>n()),Z=t}const nn=new Set;function sn(e,t){e&&e.i&&(nn.delete(e),e.i(t))}function on(e){return(e==null?void 0:e.length)!==void 0?e:Array.from(e)}function an(e,t,r){const{fragment:n,after_update:i}=e.$$;n&&n.m(t,r),Qe(()=>{const s=e.$$.on_mount.map(Xt).filter(rt);e.$$.on_destroy?e.$$.on_destroy.push(...s):K(s),e.$$.on_mount=[]}),i.forEach(Qe)}function un(e,t){const r=e.$$;r.fragment!==null&&(rn(r.after_update),K(r.on_destroy),r.fragment&&r.fragment.d(t),r.on_destroy=r.fragment=null,r.ctx=[])}function An(e,t){e.$$.dirty[0]===-1&&(X.push(e),en(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function $t(e,t,r,n,i,s,o=null,a=[-1]){const u=ie;ne(e);const A=e.$$={fragment:null,ctx:[],props:s,update:B,not_equal:i,bound:gt(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(u?u.$$.context:[])),callbacks:gt(),dirty:a,skip_bound:!1,root:t.target||u.$$.root};o&&o(A.root);let l=!1;if(A.ctx=r?r(e,t.props||{},(h,f,...p)=>{const y=p.length?p[0]:f;return A.ctx&&i(A.ctx[h],A.ctx[h]=y)&&(!A.skip_bound&&A.bound[h]&&A.bound[h](y),l&&An(e,h)),f}):[],A.update(),l=!0,K(A.before_update),A.fragment=n?n(A.ctx):!1,t.target){if(t.hydrate){const h=Wr(t.target);A.fragment&&A.fragment.l(h),h.forEach(L)}else A.fragment&&A.fragment.c();t.intro&&sn(e.$$.fragment),an(e,t.target,t.anchor),T()}ne(u)}let er;typeof HTMLElement=="function"&&(er=class extends HTMLElement{constructor(t,r,n){super();H(this,"$$ctor");H(this,"$$s");H(this,"$$c");H(this,"$$cn",!1);H(this,"$$d",{});H(this,"$$r",!1);H(this,"$$p_d",{});H(this,"$$l",{});H(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 i=this.$$c.$on(t,r);this.$$l_u.set(r,i)}super.addEventListener(t,r,n)}removeEventListener(t,r,n){if(super.removeEventListener(t,r,n),this.$$c){const i=this.$$l_u.get(r);i&&(i(),this.$$l_u.delete(r))}}connectedCallback(){return bt(this,null,function*(){if(this.$$cn=!0,!this.$$c){let t=function(s){return()=>{let o;return{c:function(){o=I("slot"),s!=="default"&&C(o,"name",s)},m:function(A,l){F(A,o,l)},d:function(A){A&&L(o)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const r={},n=Kr(this);for(const s of this.$$s)s in n&&(r[s]=[t(s)]);for(const s of this.attributes){const o=this.$$g_p(s.name);o in this.$$d||(this.$$d[o]=me(o,s.value,this.$$p_d,"toProp"))}for(const s in this.$$p_d)!(s in this.$$d)&&this[s]!==void 0&&(this.$$d[s]=this[s],delete this[s]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:mt(pt({},this.$$d),{$$slots:r,$$scope:{ctx:[]}})});const i=()=>{this.$$r=!0;for(const s in this.$$p_d)if(this.$$d[s]=this.$$c.$$.ctx[this.$$c.$$.props[s]],this.$$p_d[s].reflect){const o=me(s,this.$$d[s],this.$$p_d,"toAttribute");o==null?this.removeAttribute(this.$$p_d[s].attribute||s):this.setAttribute(this.$$p_d[s].attribute||s,o)}this.$$r=!1};this.$$c.$$.after_update.push(i),i();for(const s in this.$$l)for(const o of this.$$l[s]){const a=this.$$c.$on(s,o);this.$$l_u.set(o,a)}this.$$l={}}})}attributeChangedCallback(t,r,n){var i;this.$$r||(t=this.$$g_p(t),this.$$d[t]=me(t,n,this.$$p_d,"toProp"),(i=this.$$c)==null||i.$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 me(e,t,r,n){var s;const i=(s=r[e])==null?void 0:s.type;if(t=i==="Boolean"&&typeof t!="boolean"?t!=null:t,!n||!r[e])return t;if(n==="toAttribute")switch(i){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(i){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function tr(e,t,r,n,i,s){let o=class extends er{constructor(){super(e,r,i),this.$$p_d=t}static get observedAttributes(){return Object.keys(t).map(a=>(t[a].attribute||a).toLowerCase())}};return Object.keys(t).forEach(a=>{Object.defineProperty(o.prototype,a,{get(){return this.$$c&&a in this.$$c?this.$$c[a]:this.$$d[a]},set(u){var A;u=me(a,u,t),this.$$d[a]=u,(A=this.$$c)==null||A.$set({[a]:u})}})}),n.forEach(a=>{Object.defineProperty(o.prototype,a,{get(){var u;return(u=this.$$c)==null?void 0:u[a]}})}),e.element=o,o}class rr{constructor(){H(this,"$$");H(this,"$$set")}$destroy(){un(this,1),this.$destroy=B}$on(t,r){if(!rt(r))return B;const n=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return n.push(r),()=>{const i=n.indexOf(r);i!==-1&&n.splice(i,1)}}$set(t){this.$$set&&!Gr(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const ln="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(ln);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("./CasinoMysteryChestsList-vII7DrCx.cjs")).then(({default:t})=>{!customElements.get("casino-mystery-chests-list")&&customElements.define("casino-mystery-chests-list",t.element)})}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("./CasinoMysteryChestDetails-CWs6OI2r.cjs")).then(({default:t})=>{!customElements.get("casino-mystery-chest-details")&&customElements.define("casino-mystery-chest-details",t.element)})}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("./CasinoMysteryChestModal-D9MfibRU.cjs")).then(({default:t})=>{!customElements.get("casino-mystery-chest-modal")&&customElements.define("casino-mystery-chest-modal",t.element)})}/*! *****************************************************************************
1
+ "use strict";var Rr=Object.defineProperty,Ur=Object.defineProperties;var Fr=Object.getOwnPropertyDescriptors;var he=Object.getOwnPropertySymbols;var ft=Object.prototype.hasOwnProperty,ct=Object.prototype.propertyIsEnumerable;var Te=(e,t,r)=>t in e?Rr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,pt=(e,t)=>{for(var r in t||(t={}))ft.call(t,r)&&Te(e,r,t[r]);if(he)for(var r of he(t))ct.call(t,r)&&Te(e,r,t[r]);return e},mt=(e,t)=>Ur(e,Fr(t));var dt=(e,t)=>{var r={};for(var n in e)ft.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&he)for(var n of he(e))t.indexOf(n)<0&&ct.call(e,n)&&(r[n]=e[n]);return r};var H=(e,t,r)=>(Te(e,typeof t!="symbol"?t+"":t,r),r);var bt=(e,t,r)=>new Promise((n,i)=>{var s=u=>{try{a(r.next(u))}catch(A){i(A)}},o=u=>{try{a(r.throw(u))}catch(A){i(A)}},a=u=>u.done?n(u.value):Promise.resolve(u.value).then(s,o);a((r=r.apply(e,t)).next())});function B(){}const jr=e=>e;function Qr(e,t){for(const r in t)e[r]=t[r];return e}function Xt(e){return e()}function gt(){return Object.create(null)}function K(e){e.forEach(Xt)}function rt(e){return typeof e=="function"}function nt(e,t){return e!=e?t==t:e!==t||e&&typeof e=="object"||typeof e=="function"}let fe;function Ue(e,t){return e===t?!0:(fe||(fe=document.createElement("a")),fe.href=t,e===fe.href)}function Gr(e){return Object.keys(e).length===0}function zt(e,...t){if(e==null){for(const n of t)n(void 0);return B}const r=e.subscribe(...t);return r.unsubscribe?()=>r.unsubscribe():r}function Zt(e,t,r){e.$$.on_destroy.push(zt(t,r))}const Wt=typeof window!="undefined";let Vr=Wt?()=>window.performance.now():()=>Date.now(),_t=Wt?e=>requestAnimationFrame(e):B;const z=new Set;function Jt(e){z.forEach(t=>{t.c(e)||(z.delete(t),t.f())}),z.size!==0&&_t(Jt)}function kr(e){let t;return z.size===0&&_t(Jt),{promise:new Promise(r=>{z.add(t={c:e,f:r})}),abort(){z.delete(t)}}}function re(e,t){e.appendChild(t)}function Yt(e,t,r){const n=Xr(e);if(!n.getElementById(t)){const i=I("style");i.id=t,i.textContent=r,zr(n,i)}}function Xr(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function zr(e,t){return re(e.head||e,t),t.sheet}function F(e,t,r){e.insertBefore(t,r||null)}function L(e){e.parentNode&&e.parentNode.removeChild(e)}function Zr(e,t){for(let r=0;r<e.length;r+=1)e[r]&&e[r].d(t)}function I(e){return document.createElement(e)}function it(e){return document.createTextNode(e)}function st(){return it(" ")}function Kt(){return it("")}function qt(e,t,r,n){return e.addEventListener(t,r,n),()=>e.removeEventListener(t,r,n)}function C(e,t,r){r==null?e.removeAttribute(t):e.getAttribute(t)!==r&&e.setAttribute(t,r)}function c(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:C(e,t,r)}function Wr(e){return Array.from(e.childNodes)}function _r(e,t){t=""+t,e.data!==t&&(e.data=t)}function Jr(e,t,r,n){r==null?e.style.removeProperty(t):e.style.setProperty(t,r,"")}function Yr(e,t,r){e.classList.toggle(t,!!r)}function Kr(e){const t={};return e.childNodes.forEach(r=>{t[r.slot||"default"]=!0}),t}let ie;function ne(e){ie=e}function qr(){if(!ie)throw new Error("Function called outside component initialization");return ie}function ot(e){qr().$$.on_mount.push(e)}const X=[],Fe=[];let Z=[];const yt=[],$r=Promise.resolve();let je=!1;function en(){je||(je=!0,$r.then(T))}function Qe(e){Z.push(e)}const Ce=new Set;let V=0;function T(){if(V!==0)return;const e=ie;do{try{for(;V<X.length;){const t=X[V];V++,ne(t),tn(t.$$)}}catch(t){throw X.length=0,V=0,t}for(ne(null),X.length=0,V=0;Fe.length;)Fe.pop()();for(let t=0;t<Z.length;t+=1){const r=Z[t];Ce.has(r)||(Ce.add(r),r())}Z.length=0}while(X.length);for(;yt.length;)yt.pop()();je=!1,Ce.clear(),ne(e)}function tn(e){if(e.fragment!==null){e.update(),K(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(Qe)}}function rn(e){const t=[],r=[];Z.forEach(n=>e.indexOf(n)===-1?t.push(n):r.push(n)),r.forEach(n=>n()),Z=t}const nn=new Set;function sn(e,t){e&&e.i&&(nn.delete(e),e.i(t))}function on(e){return(e==null?void 0:e.length)!==void 0?e:Array.from(e)}function an(e,t,r){const{fragment:n,after_update:i}=e.$$;n&&n.m(t,r),Qe(()=>{const s=e.$$.on_mount.map(Xt).filter(rt);e.$$.on_destroy?e.$$.on_destroy.push(...s):K(s),e.$$.on_mount=[]}),i.forEach(Qe)}function un(e,t){const r=e.$$;r.fragment!==null&&(rn(r.after_update),K(r.on_destroy),r.fragment&&r.fragment.d(t),r.on_destroy=r.fragment=null,r.ctx=[])}function An(e,t){e.$$.dirty[0]===-1&&(X.push(e),en(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function $t(e,t,r,n,i,s,o=null,a=[-1]){const u=ie;ne(e);const A=e.$$={fragment:null,ctx:[],props:s,update:B,not_equal:i,bound:gt(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(u?u.$$.context:[])),callbacks:gt(),dirty:a,skip_bound:!1,root:t.target||u.$$.root};o&&o(A.root);let l=!1;if(A.ctx=r?r(e,t.props||{},(h,f,...p)=>{const y=p.length?p[0]:f;return A.ctx&&i(A.ctx[h],A.ctx[h]=y)&&(!A.skip_bound&&A.bound[h]&&A.bound[h](y),l&&An(e,h)),f}):[],A.update(),l=!0,K(A.before_update),A.fragment=n?n(A.ctx):!1,t.target){if(t.hydrate){const h=Wr(t.target);A.fragment&&A.fragment.l(h),h.forEach(L)}else A.fragment&&A.fragment.c();t.intro&&sn(e.$$.fragment),an(e,t.target,t.anchor),T()}ne(u)}let er;typeof HTMLElement=="function"&&(er=class extends HTMLElement{constructor(t,r,n){super();H(this,"$$ctor");H(this,"$$s");H(this,"$$c");H(this,"$$cn",!1);H(this,"$$d",{});H(this,"$$r",!1);H(this,"$$p_d",{});H(this,"$$l",{});H(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 i=this.$$c.$on(t,r);this.$$l_u.set(r,i)}super.addEventListener(t,r,n)}removeEventListener(t,r,n){if(super.removeEventListener(t,r,n),this.$$c){const i=this.$$l_u.get(r);i&&(i(),this.$$l_u.delete(r))}}connectedCallback(){return bt(this,null,function*(){if(this.$$cn=!0,!this.$$c){let t=function(s){return()=>{let o;return{c:function(){o=I("slot"),s!=="default"&&C(o,"name",s)},m:function(A,l){F(A,o,l)},d:function(A){A&&L(o)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const r={},n=Kr(this);for(const s of this.$$s)s in n&&(r[s]=[t(s)]);for(const s of this.attributes){const o=this.$$g_p(s.name);o in this.$$d||(this.$$d[o]=me(o,s.value,this.$$p_d,"toProp"))}for(const s in this.$$p_d)!(s in this.$$d)&&this[s]!==void 0&&(this.$$d[s]=this[s],delete this[s]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:mt(pt({},this.$$d),{$$slots:r,$$scope:{ctx:[]}})});const i=()=>{this.$$r=!0;for(const s in this.$$p_d)if(this.$$d[s]=this.$$c.$$.ctx[this.$$c.$$.props[s]],this.$$p_d[s].reflect){const o=me(s,this.$$d[s],this.$$p_d,"toAttribute");o==null?this.removeAttribute(this.$$p_d[s].attribute||s):this.setAttribute(this.$$p_d[s].attribute||s,o)}this.$$r=!1};this.$$c.$$.after_update.push(i),i();for(const s in this.$$l)for(const o of this.$$l[s]){const a=this.$$c.$on(s,o);this.$$l_u.set(o,a)}this.$$l={}}})}attributeChangedCallback(t,r,n){var i;this.$$r||(t=this.$$g_p(t),this.$$d[t]=me(t,n,this.$$p_d,"toProp"),(i=this.$$c)==null||i.$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 me(e,t,r,n){var s;const i=(s=r[e])==null?void 0:s.type;if(t=i==="Boolean"&&typeof t!="boolean"?t!=null:t,!n||!r[e])return t;if(n==="toAttribute")switch(i){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(i){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function tr(e,t,r,n,i,s){let o=class extends er{constructor(){super(e,r,i),this.$$p_d=t}static get observedAttributes(){return Object.keys(t).map(a=>(t[a].attribute||a).toLowerCase())}};return Object.keys(t).forEach(a=>{Object.defineProperty(o.prototype,a,{get(){return this.$$c&&a in this.$$c?this.$$c[a]:this.$$d[a]},set(u){var A;u=me(a,u,t),this.$$d[a]=u,(A=this.$$c)==null||A.$set({[a]:u})}})}),n.forEach(a=>{Object.defineProperty(o.prototype,a,{get(){var u;return(u=this.$$c)==null?void 0:u[a]}})}),e.element=o,o}class rr{constructor(){H(this,"$$");H(this,"$$set")}$destroy(){un(this,1),this.$destroy=B}$on(t,r){if(!rt(r))return B;const n=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return n.push(r),()=>{const i=n.indexOf(r);i!==-1&&n.splice(i,1)}}$set(t){this.$$set&&!Gr(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const ln="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(ln);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("./CasinoMysteryChestsList-C0F8hrfx.cjs")).then(({default:t})=>{!customElements.get("casino-mystery-chests-list")&&customElements.define("casino-mystery-chests-list",t.element)})}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("./CasinoMysteryChestDetails-Cpzu9ano.cjs")).then(({default:t})=>{!customElements.get("casino-mystery-chest-details")&&customElements.define("casino-mystery-chest-details",t.element)})}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("./CasinoMysteryChestModal-C84cm5n0.cjs")).then(({default:t})=>{!customElements.get("casino-mystery-chest-modal")&&customElements.define("casino-mystery-chest-modal",t.element)})}/*! *****************************************************************************
2
2
  Copyright (c) Microsoft Corporation.
3
3
 
4
4
  Permission to use, copy, modify, and/or distribute this software for any
@@ -497,7 +497,7 @@ if (typeof window < "u") {
497
497
  }
498
498
  };
499
499
  };
500
- customElements.define = e(customElements.define), import("./CasinoMysteryChestsList-BcEzFhkt.js").then(({ default: t }) => {
500
+ customElements.define = e(customElements.define), import("./CasinoMysteryChestsList-0DoE_wzq.js").then(({ default: t }) => {
501
501
  !customElements.get("casino-mystery-chests-list") && customElements.define("casino-mystery-chests-list", t.element);
502
502
  });
503
503
  }
@@ -513,7 +513,7 @@ if (typeof window < "u") {
513
513
  }
514
514
  };
515
515
  };
516
- customElements.define = e(customElements.define), import("./CasinoMysteryChestDetails-DWirL-z8.js").then(({ default: t }) => {
516
+ customElements.define = e(customElements.define), import("./CasinoMysteryChestDetails-DdASEHa4.js").then(({ default: t }) => {
517
517
  !customElements.get("casino-mystery-chest-details") && customElements.define("casino-mystery-chest-details", t.element);
518
518
  });
519
519
  }
@@ -529,7 +529,7 @@ if (typeof window < "u") {
529
529
  }
530
530
  };
531
531
  };
532
- customElements.define = e(customElements.define), import("./CasinoMysteryChestModal-oUXBcxrX.js").then(({ default: t }) => {
532
+ customElements.define = e(customElements.define), import("./CasinoMysteryChestModal-e67-f7kF.js").then(({ default: t }) => {
533
533
  !customElements.get("casino-mystery-chest-modal") && customElements.define("casino-mystery-chest-modal", t.element);
534
534
  });
535
535
  }
@@ -543,7 +543,7 @@ if (typeof window != "undefined") {
543
543
  }
544
544
  };
545
545
  };
546
- customElements.define = e(customElements.define), import("./CasinoMysteryChestsList-D4obe4tH.js").then(({ default: t }) => {
546
+ customElements.define = e(customElements.define), import("./CasinoMysteryChestsList-z5-MCWxE.js").then(({ default: t }) => {
547
547
  !customElements.get("casino-mystery-chests-list") && customElements.define("casino-mystery-chests-list", t.element);
548
548
  });
549
549
  }
@@ -559,7 +559,7 @@ if (typeof window != "undefined") {
559
559
  }
560
560
  };
561
561
  };
562
- customElements.define = e(customElements.define), import("./CasinoMysteryChestDetails-BIAhgiQt.js").then(({ default: t }) => {
562
+ customElements.define = e(customElements.define), import("./CasinoMysteryChestDetails-D1fLhc--.js").then(({ default: t }) => {
563
563
  !customElements.get("casino-mystery-chest-details") && customElements.define("casino-mystery-chest-details", t.element);
564
564
  });
565
565
  }
@@ -575,7 +575,7 @@ if (typeof window != "undefined") {
575
575
  }
576
576
  };
577
577
  };
578
- customElements.define = e(customElements.define), import("./CasinoMysteryChestModal-DZJfjKTl.js").then(({ default: t }) => {
578
+ customElements.define = e(customElements.define), import("./CasinoMysteryChestModal-DSEacvay.js").then(({ default: t }) => {
579
579
  !customElements.get("casino-mystery-chest-modal") && customElements.define("casino-mystery-chest-modal", t.element);
580
580
  });
581
581
  }