@everymatrix/casino-game-overlay 1.92.0 → 1.92.2
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/{CasinoCoinroyaleContainer-DHTzWkTJ.cjs → CasinoCoinroyaleContainer-B6wbsPdK.cjs} +1 -1
- package/components/{CasinoCoinroyaleContainer-CLLpK1Ed.js → CasinoCoinroyaleContainer-CrybPu4T.js} +4 -4
- package/components/{CasinoCoinroyaleContainer-DqnKbBE7.js → CasinoCoinroyaleContainer-D6xDTfst.js} +4 -4
- package/components/{CasinoCoinroyaleDetails-Em4xQoca.cjs → CasinoCoinroyaleDetails-BZ_WCvfy.cjs} +1 -1
- package/components/{CasinoCoinroyaleDetails-X9TUrtj4.js → CasinoCoinroyaleDetails-BrHolmjt.js} +2 -2
- package/components/{CasinoCoinroyaleDetails-BdVDEPTm.js → CasinoCoinroyaleDetails-BzsNEQvn.js} +2 -2
- package/components/{CasinoCoinroyaleList-DVSWGc29.js → CasinoCoinroyaleList-BJt-xLxA.js} +3 -3
- package/components/{CasinoCoinroyaleList-IplknfV1.js → CasinoCoinroyaleList-BsE7E11H.js} +3 -3
- package/components/{CasinoCoinroyaleList-C6hKfOYw.cjs → CasinoCoinroyaleList-DusBLc66.cjs} +1 -1
- package/components/{CasinoGameOverlay-V7LdfRMk.js → CasinoGameOverlay-DUEK-4c8.js} +336 -327
- package/components/{CasinoGameOverlay-BtzBFnKd.js → CasinoGameOverlay-Dk_e7S5S.js} +385 -376
- package/components/CasinoGameOverlay-DxVFecV1.cjs +4 -0
- package/components/{CasinoMysteryChestContainer-BckJ8kSf.cjs → CasinoMysteryChestContainer-BcbLPo0Z.cjs} +1 -1
- package/components/{CasinoMysteryChestContainer-2q39nbfp.js → CasinoMysteryChestContainer-DeILjbeG.js} +4 -4
- package/components/{CasinoMysteryChestContainer-Bu5soH27.js → CasinoMysteryChestContainer-DlHO957g.js} +4 -4
- package/components/{CasinoMysteryChestDetails-DJ6gz5xx.cjs → CasinoMysteryChestDetails-B92naIHC.cjs} +1 -1
- package/components/{CasinoMysteryChestDetails-B29xnOYi.js → CasinoMysteryChestDetails-LmsHymHc.js} +3 -3
- package/components/{CasinoMysteryChestDetails-Dd_ZCPFZ.js → CasinoMysteryChestDetails-zh82UlHz.js} +3 -3
- package/components/{CasinoMysteryChestModal-liWPvZLw.js → CasinoMysteryChestModal-7NOlJhOA.js} +1 -1
- package/components/{CasinoMysteryChestModal-CPrsQruR.cjs → CasinoMysteryChestModal-G7V3hPTw.cjs} +1 -1
- package/components/{CasinoMysteryChestModal-D8hCr0GS.js → CasinoMysteryChestModal-mavYFXxw.js} +1 -1
- package/components/{CasinoMysteryChestsList-Bn1f7GtL.js → CasinoMysteryChestsList-BlwtQ2Oi.js} +2 -2
- package/components/{CasinoMysteryChestsList-CV29Ly-U.js → CasinoMysteryChestsList-CZmqS9RH.js} +2 -2
- package/components/{CasinoMysteryChestsList-ZlpUP-_c.cjs → CasinoMysteryChestsList-D7Ei_zWb.cjs} +1 -1
- package/components/{LotteryProgramWof-BXO9ySHI.cjs → LotteryProgramWof-CYN4QdNW.cjs} +1 -1
- package/components/{LotteryProgramWof-BKlE0kKR.js → LotteryProgramWof-CYsXhvmg.js} +2 -2
- package/components/{LotteryProgramWof-CONWAs8w.js → LotteryProgramWof-vN_-5rCj.js} +2 -2
- package/components/{PrizeEngineChest-DQ2V6oL0.js → PrizeEngineChest-D-1AzkWP.js} +4 -4
- package/components/{PrizeEngineChest-D-GSJmRs.js → PrizeEngineChest-D9x8mDNy.js} +4 -4
- package/components/{PrizeEngineChest-BpgJBZ-Y.cjs → PrizeEngineChest-ZtbR30GF.cjs} +1 -1
- package/components/{PrizeEngineCoin-DMf_jPUy.cjs → PrizeEngineCoin-DHoWaMXY.cjs} +1 -1
- package/components/{PrizeEngineCoin-C7AvFwNL.js → PrizeEngineCoin-DTs1myVC.js} +2 -2
- package/components/{PrizeEngineCoin-jRTdpoLr.js → PrizeEngineCoin-DbFl_eCf.js} +2 -2
- package/components/{PrizeEngineDetails-Bok3RJt0.js → PrizeEngineDetails-Bi94BkB1.js} +200 -190
- package/components/{PrizeEngineDetails-BwwbWZIV.js → PrizeEngineDetails-C7LLHM3M.js} +276 -265
- package/components/{PrizeEngineDetails-B32Oyuua.cjs → PrizeEngineDetails-CjTT3Hyz.cjs} +1 -1
- package/components/{PrizeEngineHistory--7ch2ibC.js → PrizeEngineHistory-ANnDH8E1.js} +4 -4
- package/components/{PrizeEngineHistory-CT4oW3nn.js → PrizeEngineHistory-CyE8rjCd.js} +4 -4
- package/components/{PrizeEngineHistory-BS2YDAR_.cjs → PrizeEngineHistory-DY_OdvA7.cjs} +1 -1
- package/components/{PrizeEngineList-BtST-Ok-.js → PrizeEngineList-BQEAk_AP.js} +123 -123
- package/components/{PrizeEngineList-C8K3okMV.js → PrizeEngineList-DlEj5e0E.js} +98 -98
- package/components/PrizeEngineList-DrZtvkgK.cjs +1 -0
- package/components/{PrizeEngineLuckywheel-CDAcodqf.js → PrizeEngineLuckywheel-B4E2aj2l.js} +3 -3
- package/components/{PrizeEngineLuckywheel-sIZh84m_.js → PrizeEngineLuckywheel-BUfIMpmo.js} +3 -3
- package/components/{PrizeEngineLuckywheel-B_dOeIeL.cjs → PrizeEngineLuckywheel-C8w1Ot_M.cjs} +1 -1
- package/components/{PrizeEngineSuite-MfBz9bMX.js → PrizeEngineSuite-D7TII_gi.js} +263 -255
- package/components/{PrizeEngineSuite-SzG6RFWp.js → PrizeEngineSuite-DCaGWMFT.js} +263 -255
- package/components/PrizeEngineSuite-DLimogfH.cjs +1 -0
- package/components/{WheelSVG-BKSG01DQ.js → WheelSVG-CUwIGmaM.js} +2 -2
- package/components/{WheelSVG-ClHiUv-P.js → WheelSVG-CqaqxytJ.js} +2 -2
- package/components/{WheelSVG-BVu6Gymg.cjs → WheelSVG-DlM6XfJR.cjs} +1 -1
- package/es2015/casino-game-overlay.cjs +1 -1
- package/es2015/casino-game-overlay.js +1 -1
- package/esnext/casino-game-overlay.js +1 -1
- package/package.json +1 -1
- package/components/CasinoGameOverlay-DcfvouvT.cjs +0 -4
- package/components/PrizeEngineList-CzJMqs2M.cjs +0 -1
- package/components/PrizeEngineSuite-CZAGeW2x.cjs +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoGameOverlay-DxVFecV1.cjs"),P=require("./LotteryProgramWof-CYN4QdNW.cjs"),v=require("./CasinoMysteryChestContainer-BcbLPo0Z.cjs"),B={en:{History:"History",Play:"Play",CoinRoyale:"CoinRoyale",MysteryChest:"MysteryChest",LuckyWheels:"LuckyWheels",InfoTooltipCoin:"Flip a virtual coin and take a chance to win!",InfoTooltipChest:"Open Mystery Chest and find your reward!",InfoTooltipLuckywheel:"Spin a lucky wheel and take a chance to win!"}};function X({withLocale:n,translations:t}){v.$locale.subscribe(i=>{i==null&&(v.$dictionary.set(t),v.$locale.set(n))})}function q(n,t){v.addMessages(n,t)}function J(n){v.$locale.set(n)}const Q=()=>{X({withLocale:"en",translations:{}}),Object.keys(B).forEach(n=>{q(n,B[n])})};if(typeof window!="undefined"){let n=function(t){return function(...i){try{return t.apply(this,i)}catch(s){if(s instanceof DOMException&&s.message.includes("has already been used with this registry")||s.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw s}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("./PrizeEngineHistory-DY_OdvA7.cjs")).then(({default:t})=>{!customElements.get("prize-engine-history")&&customElements.define("prize-engine-history",t.element)})}if(typeof window!="undefined"){let n=function(t){return function(...i){try{return t.apply(this,i)}catch(s){if(s instanceof DOMException&&s.message.includes("has already been used with this registry")||s.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw s}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("./PrizeEngineDetails-CjTT3Hyz.cjs")).then(({default:t})=>{!customElements.get("prize-engine-details")&&customElements.define("prize-engine-details",t.element)})}if(typeof window!="undefined"){let n=function(t){return function(...i){try{return t.apply(this,i)}catch(s){if(s instanceof DOMException&&s.message.includes("has already been used with this registry")||s.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw s}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("./PrizeEngineList-DrZtvkgK.cjs")).then(({default:t})=>{!customElements.get("prize-engine-list")&&customElements.define("prize-engine-list",t.element)})}function $(n){e.append_styles(n,"svelte-iscrfi",`.PrizeSuiteContainer.svelte-iscrfi.svelte-iscrfi{width:100%;height:100%;position:relative;font-family:var(--emw--font-family-primary, "Ubuntu", sans-serif)}.PrizeSuiteContainer.Mobile.svelte-iscrfi .MainDrawer.Drawer.svelte-iscrfi{width:100%;height:100%;border-top-left-radius:28px;border-top-right-radius:28px;padding:20px 28px}.PrizeSuiteContainer.Mobile.svelte-iscrfi .MainDrawer.Drawer.full-width.svelte-iscrfi{padding:0}.PrizeSuiteContainer.Mobile.svelte-iscrfi .MainDrawer.Drawer .HeaderTitle.svelte-iscrfi{font-size:var(--emw--font-size-medium, 16px);font-weight:500}.PrizeSuiteContainer.Mobile.svelte-iscrfi .IconButton.svelte-iscrfi{width:24px;height:24px}.PrizeSuiteContainer.Mobile.svelte-iscrfi .TooltipBackdrop.svelte-iscrfi{padding:60px 20px 0;border-top-left-radius:28px;border-top-right-radius:28px}.PrizeSuiteContainer.Mobile.svelte-iscrfi .TooltipBackdrop .Tooltip.svelte-iscrfi{padding:20px;font-size:var(--emw--font-size-x-small, 12px)}.PrizeSuiteContainer.Mobile.svelte-iscrfi .TabItem.svelte-iscrfi{font-size:var(--emw--font-size-xs, 10px);font-weight:700}.Overlay.svelte-iscrfi.svelte-iscrfi{border:none;position:fixed;top:0;left:0;width:100%;height:100%;z-index:99;background-color:var(--emw--color-gray-transparency-20, rgba(21, 43, 48, 0.5));padding:0;cursor:default}.MainDrawer.svelte-iscrfi.svelte-iscrfi{width:100%;height:100%;display:flex;flex-direction:column;box-sizing:border-box;position:relative;overflow:hidden}.MainDrawer.Drawer.svelte-iscrfi.svelte-iscrfi{position:fixed;left:50%;transform:translateX(-50%);bottom:0px;z-index:100;width:60%;height:90%;border-top-left-radius:72px;border-top-right-radius:72px;padding:40px 80px;background:linear-gradient(180deg, var(--emw--color-background, #213841) 0%, var(--emw--color-background-secondary, #0c1a1c) 100%)}.MainDrawer.Drawer.full-width.svelte-iscrfi.svelte-iscrfi{padding:0}.Header.svelte-iscrfi.svelte-iscrfi{display:flex;justify-content:space-between;align-items:center;padding:12px 8px 24px;flex-shrink:0}.Header.svelte-iscrfi .HeaderTitle.svelte-iscrfi{color:var(--emw--color-primary, #d3ffed);font-size:var(--emw--font-size-large, 22px);font-weight:700;text-align:center;flex-grow:1}.IconButton.svelte-iscrfi.svelte-iscrfi{width:30px;height:30px;border:0;cursor:pointer;background-color:transparent;background-size:100%;background-repeat:no-repeat;padding:0}.IconButton.Close.svelte-iscrfi.svelte-iscrfi{background-image:url('data:image/svg+xml,<svg width="24" height="24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M18 6 6 18M6 6l12 12" stroke="%23729787" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>')}.IconButton.Help.svelte-iscrfi.svelte-iscrfi{background-image:url('data:image/svg+xml,<svg width="24" height="24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M11.708 4.583a7.125 7.125 0 1 0 0 14.25 7.125 7.125 0 0 0 0-14.25ZM3 11.708a8.708 8.708 0 1 1 17.417 0 8.708 8.708 0 0 1-17.417 0Zm8.913-3.147a1.583 1.583 0 0 0-1.762 1.035.792.792 0 0 1-1.493-.525 3.167 3.167 0 0 1 6.154 1.055c0 1.211-.899 2.011-1.54 2.439a6.37 6.37 0 0 1-1.335.672l-.028.01-.008.002-.003.001h-.002l-.251-.75.25.751a.792.792 0 0 1-.5-1.502l.011-.004.06-.022a4.778 4.778 0 0 0 .928-.476c.545-.363.834-.75.834-1.122v-.001a1.583 1.583 0 0 0-1.315-1.563Zm-.996 7.106c0-.438.354-.792.791-.792h.008a.792.792 0 1 1 0 1.583h-.008a.792.792 0 0 1-.791-.791Z" fill="%23729787"/></svg>')}.TooltipBackdrop.svelte-iscrfi.svelte-iscrfi{box-sizing:border-box;z-index:200;position:absolute;width:100%;height:100%;inset:0;background-color:rgba(0, 0, 0, 0.5);padding:90px 30px 0;border-top-left-radius:72px;border-top-right-radius:72px}.TooltipBackdrop.svelte-iscrfi .Tooltip.svelte-iscrfi{border:1px solid var(--emw--button-border-color, #75ffe9);background:var(--emw--color-background, #213841);border-radius:8px;line-height:24px;color:var(--emw--color-secondary, #bbb9c3);position:relative;padding:32px;font-size:var(--emw--font-size-medium, 16px)}.TooltipBackdrop.svelte-iscrfi .Tooltip .IconButton.Close.svelte-iscrfi{top:12px;right:12px;position:absolute}.TabBar.svelte-iscrfi.svelte-iscrfi{display:flex;border-bottom:2px solid var(--emw--color-secondary, #729787);margin:0 0 20px;flex-shrink:0}.TabBar.svelte-iscrfi .TabItem.svelte-iscrfi{flex:1;padding:12px;background:transparent;border:none;color:var(--emw--color-gray-300, #729787);font-weight:700;cursor:pointer;font-size:var(--emw--font-size-medium, 16px);transition:all 0.2s}.TabBar.svelte-iscrfi .TabItem.active.svelte-iscrfi{color:var(--emw--color-white, #ffffff);border-bottom:2px solid var(--emw--button-border-color, #75ffe9);margin-bottom:-2px}.ViewContent.svelte-iscrfi.svelte-iscrfi{flex-grow:1;overflow:hidden;display:flex;flex-direction:column}.TransitionWrapper.svelte-iscrfi.svelte-iscrfi{height:100%;width:100%;display:flex;flex-direction:column;flex-grow:1}`)}function O(n){let t,i,s,l,o,r,u,p=n[0]==="true"&&H(n),g=n[9]&&A(n),c=n[0]==="true"&&n[5]==="LIST"&&W(n),a=n[5]==="LIST"&&Y(n);function h(f,b){if(f[6]==="PLAY")return te;if(f[5]==="LIST")return ee}let w=h(n),m=w&&w(n);return{c(){t=e.element("div"),p&&p.c(),i=e.space(),s=e.element("div"),g&&g.c(),l=e.space(),c&&c.c(),o=e.space(),a&&a.c(),r=e.space(),u=e.element("div"),m&&m.c(),e.attr(u,"class","ViewContent svelte-iscrfi"),e.attr(s,"class","MainDrawer svelte-iscrfi"),e.toggle_class(s,"Drawer",n[0]==="true"),e.toggle_class(s,"full-width",n[5]==="DETAILS"),e.attr(t,"class","PrizeSuiteContainer svelte-iscrfi"),e.toggle_class(t,"is-drawer",n[0]==="true"),e.toggle_class(t,"Mobile",n[13])},m(f,b){e.insert(f,t,b),p&&p.m(t,null),e.append(t,i),e.append(t,s),g&&g.m(s,null),e.append(s,l),c&&c.m(s,null),e.append(s,o),a&&a.m(s,null),e.append(s,r),e.append(s,u),m&&m.m(u,null),n[29](t)},p(f,b){f[0]==="true"?p?p.p(f,b):(p=H(f),p.c(),p.m(t,i)):p&&(p.d(1),p=null),f[9]?g?g.p(f,b):(g=A(f),g.c(),g.m(s,l)):g&&(g.d(1),g=null),f[0]==="true"&&f[5]==="LIST"?c?c.p(f,b):(c=W(f),c.c(),c.m(s,o)):c&&(c.d(1),c=null),f[5]==="LIST"?a?a.p(f,b):(a=Y(f),a.c(),a.m(s,r)):a&&(a.d(1),a=null),w===(w=h(f))&&m?m.p(f,b):(m&&m.d(1),m=w&&w(f),m&&(m.c(),e.transition_in(m,1),m.m(u,null))),b[0]&1&&e.toggle_class(s,"Drawer",f[0]==="true"),b[0]&32&&e.toggle_class(s,"full-width",f[5]==="DETAILS"),b[0]&1&&e.toggle_class(t,"is-drawer",f[0]==="true")},d(f){f&&e.detach(t),p&&p.d(),g&&g.d(),c&&c.d(),a&&a.d(),m&&m.d(),n[29](null)}}}function H(n){let t,i,s;return{c(){t=e.element("button"),e.attr(t,"type","button"),e.attr(t,"class","Overlay svelte-iscrfi")},m(l,o){e.insert(l,t,o),i||(s=e.listen(t,"click",n[14]),i=!0)},p:e.noop,d(l){l&&e.detach(t),i=!1,s()}}}function A(n){let t,i,s,l,o,r=n[3](n[11])+"",u,p,g;return{c(){t=e.element("div"),i=e.element("div"),s=e.element("button"),l=e.space(),o=e.element("span"),u=e.text(r),e.attr(s,"type","button"),e.attr(s,"class","IconButton Close svelte-iscrfi"),e.attr(i,"class","Tooltip svelte-iscrfi"),e.attr(t,"class","TooltipBackdrop svelte-iscrfi")},m(c,a){e.insert(c,t,a),e.append(t,i),e.append(i,s),e.append(i,l),e.append(i,o),e.append(o,u),p||(g=e.listen(s,"click",n[15]),p=!0)},p(c,a){a[0]&2056&&r!==(r=c[3](c[11])+"")&&e.set_data(u,r)},d(c){c&&e.detach(t),p=!1,g()}}}function W(n){let t,i,s,l,o,r,u,p,g;return{c(){t=e.element("div"),i=e.element("button"),s=e.space(),l=e.element("div"),o=e.text(n[12]),r=e.space(),u=e.element("button"),e.attr(i,"type","button"),e.attr(i,"class","IconButton Help svelte-iscrfi"),e.attr(l,"class","HeaderTitle svelte-iscrfi"),e.attr(u,"type","button"),e.attr(u,"class","IconButton Close svelte-iscrfi"),e.attr(t,"class","Header svelte-iscrfi")},m(c,a){e.insert(c,t,a),e.append(t,i),e.append(t,s),e.append(t,l),e.append(l,o),e.append(t,r),e.append(t,u),p||(g=[e.listen(i,"click",n[15]),e.listen(u,"click",n[14])],p=!0)},p(c,a){a[0]&4096&&e.set_data(o,c[12])},d(c){c&&e.detach(t),p=!1,e.run_all(g)}}}function Y(n){let t,i,s=n[3]("Play")+"",l,o,r,u=n[3]("History")+"",p,g,c;return{c(){t=e.element("div"),i=e.element("button"),l=e.text(s),o=e.space(),r=e.element("button"),p=e.text(u),e.attr(i,"type","button"),e.attr(i,"class","TabItem svelte-iscrfi"),e.toggle_class(i,"active",n[6]==="PLAY"),e.attr(r,"type","button"),e.attr(r,"class","TabItem svelte-iscrfi"),e.toggle_class(r,"active",n[6]==="HISTORY"),e.attr(t,"class","TabBar svelte-iscrfi")},m(a,h){e.insert(a,t,h),e.append(t,i),e.append(i,l),e.append(t,o),e.append(t,r),e.append(r,p),g||(c=[e.listen(i,"click",n[27]),e.listen(r,"click",n[28])],g=!0)},p(a,h){h[0]&8&&s!==(s=a[3]("Play")+"")&&e.set_data(l,s),h[0]&64&&e.toggle_class(i,"active",a[6]==="PLAY"),h[0]&8&&u!==(u=a[3]("History")+"")&&e.set_data(p,u),h[0]&64&&e.toggle_class(r,"active",a[6]==="HISTORY")},d(a){a&&e.detach(t),g=!1,e.run_all(c)}}}function ee(n){let t,i,s,l=[n[10]],o={};for(let r=0;r<l.length;r+=1)o=e.assign(o,l[r]);return{c(){t=e.element("div"),i=e.element("prize-engine-history"),e.set_attributes(i,o),e.toggle_class(i,"svelte-iscrfi",!0),e.attr(t,"class","TransitionWrapper svelte-iscrfi")},m(r,u){e.insert(r,t,u),e.append(t,i)},p(r,u){e.set_attributes(i,o=e.get_spread_update(l,[u[0]&1024&&r[10]])),e.toggle_class(i,"svelte-iscrfi",!0)},i(r){r&&(s||e.add_render_callback(()=>{s=e.create_in_transition(t,P.fade,{duration:250}),s.start()}))},o:e.noop,d(r){r&&e.detach(t)}}}function te(n){let t;function i(o,r){if(o[5]==="LIST")return se;if(o[5]==="DETAILS")return ie}let s=i(n),l=s&&s(n);return{c(){l&&l.c(),t=e.empty()},m(o,r){l&&l.m(o,r),e.insert(o,t,r)},p(o,r){s===(s=i(o))&&l?l.p(o,r):(l&&l.d(1),l=s&&s(o),l&&(l.c(),e.transition_in(l,1),l.m(t.parentNode,t)))},i(o){e.transition_in(l)},o:e.noop,d(o){o&&e.detach(t),l&&l.d(o)}}}function ie(n){let t,i,s=n[7]&&R(n);return{c(){t=e.element("div"),s&&s.c(),e.attr(t,"class","TransitionWrapper svelte-iscrfi")},m(l,o){e.insert(l,t,o),s&&s.m(t,null)},p(l,o){l[7]?s?s.p(l,o):(s=R(l),s.c(),s.m(t,null)):s&&(s.d(1),s=null)},i(l){l&&(i||e.add_render_callback(()=>{i=e.create_in_transition(t,P.fade,{duration:250}),i.start()}))},o:e.noop,d(l){l&&e.detach(t),s&&s.d()}}}function se(n){let t,i,s,l=[n[10]],o={};for(let r=0;r<l.length;r+=1)o=e.assign(o,l[r]);return{c(){t=e.element("div"),i=e.element("prize-engine-list"),e.set_attributes(i,o),e.toggle_class(i,"svelte-iscrfi",!0),e.attr(t,"class","TransitionWrapper svelte-iscrfi")},m(r,u){e.insert(r,t,u),e.append(t,i)},p(r,u){e.set_attributes(i,o=e.get_spread_update(l,[u[0]&1024&&r[10]])),e.toggle_class(i,"svelte-iscrfi",!0)},i(r){r&&(s||e.add_render_callback(()=>{s=e.create_in_transition(t,P.fade,{duration:250}),s.start()}))},o:e.noop,d(r){r&&e.detach(t)}}}function R(n){let t,i=[n[10],{data:n[7]},{programs:n[8]},{twostepdraw:n[1]}],s={};for(let l=0;l<i.length;l+=1)s=e.assign(s,i[l]);return{c(){t=e.element("prize-engine-details"),e.set_attributes(t,s),e.toggle_class(t,"svelte-iscrfi",!0)},m(l,o){e.insert(l,t,o)},p(l,o){e.set_attributes(t,s=e.get_spread_update(i,[o[0]&1024&&l[10],o[0]&128&&{data:l[7]},o[0]&256&&{programs:l[8]},o[0]&2&&{twostepdraw:l[1]}])),e.toggle_class(t,"svelte-iscrfi",!0)},d(l){l&&e.detach(t)}}}function ne(n){let t,i=(n[4]||n[0]==="false")&&O(n);return{c(){i&&i.c(),t=e.empty()},m(s,l){i&&i.m(s,l),e.insert(s,t,l)},p(s,l){s[4]||s[0]==="false"?i?i.p(s,l):(i=O(s),i.c(),i.m(t.parentNode,t)):i&&(i.d(1),i=null)},i:e.noop,o:e.noop,d(s){s&&e.detach(t),i&&i.d(s)}}}let le=null;function re(n,t,i){let s,l,o,r;e.component_subscribe(n,v.$format,d=>i(3,r=d));let{endpoint:u=""}=t,{session:p=""}=t,{lang:g="en"}=t,{clientstyling:c=""}=t,{clientstylingurl:a=""}=t,{translationurl:h=""}=t,{mbsource:w=""}=t,{isdrawer:m="true"}=t,{type:f="wheelOfFortune"}=t,{luckywheelsize:b=324}=t,{luckywheelmobilesize:L=240}=t,{opened:z="false"}=t,{twostepdraw:x="false"}=t,_;const N=v.isMobile(window.navigator.userAgent);let T=z==="true";Q();const V=()=>{fetch(h).then(y=>y.json()).then(y=>{Object.keys(y).forEach(k=>{q(k,y[k])})})};let C="LIST",I="PLAY",S=null,E=[],M=!1;const D=d=>{const{type:y,data:k}=d.data;y==="OpenPrizeGame"?(i(7,S=k),i(5,C="DETAILS")):y==="BackToList"?(i(5,C="LIST"),i(7,S=null)):y==="ClosePrizeEngineDrawer"?i(4,T=!1):y==="PrizeProgramsLoaded"&&i(8,E=k)},Z=()=>{i(4,T=!1),window.postMessage({type:"ClosePrizeEngineDrawer"},"*")},G=()=>{i(9,M=!M)};e.onMount(()=>(window.addEventListener("message",D),()=>{window.removeEventListener("message",D)}));const U=()=>i(6,I="PLAY"),F=()=>i(6,I="HISTORY");function K(d){e.binding_callbacks[d?"unshift":"push"](()=>{_=d,i(2,_)})}return n.$$set=d=>{"endpoint"in d&&i(16,u=d.endpoint),"session"in d&&i(17,p=d.session),"lang"in d&&i(18,g=d.lang),"clientstyling"in d&&i(19,c=d.clientstyling),"clientstylingurl"in d&&i(20,a=d.clientstylingurl),"translationurl"in d&&i(21,h=d.translationurl),"mbsource"in d&&i(22,w=d.mbsource),"isdrawer"in d&&i(0,m=d.isdrawer),"type"in d&&i(23,f=d.type),"luckywheelsize"in d&&i(24,b=d.luckywheelsize),"luckywheelmobilesize"in d&&i(25,L=d.luckywheelmobilesize),"opened"in d&&i(26,z=d.opened),"twostepdraw"in d&&i(1,x=d.twostepdraw)},n.$$.update=()=>{n.$$.dirty[0]&67108864&&i(4,T=z==="true"),n.$$.dirty[0]&262144&&g&&J(g),n.$$.dirty[0]&2097152&&h&&V(),n.$$.dirty[0]&8388608&&f&&(i(5,C="LIST"),i(7,S=null),i(6,I="PLAY")),n.$$.dirty[0]&8388616&&i(12,s=r(f==="flipCoin"?"CoinRoyale":f==="mysteryChest"?"MysteryChest":"LuckyWheels")),n.$$.dirty[0]&8388608&&i(11,l=f==="flipCoin"?"InfoTooltipCoin":f==="mysteryChest"?"InfoTooltipChest":"InfoTooltipLuckywheel"),n.$$.dirty[0]&524292&&c&&_&&e.setClientStyling(_,c),n.$$.dirty[0]&1048580&&a&&_&&e.setClientStylingURL(_,a),n.$$.dirty[0]&4194308&&w&&_&&e.setStreamStyling(_,`${w}.Style`,le),n.$$.dirty[0]&67043328&&i(10,o={endpoint:u,session:p,lang:g,clientstyling:c,clientstylingurl:a,translationurl:h,mbsource:w,type:f,luckywheelsize:b,luckywheelmobilesize:L})},[m,x,_,r,T,C,I,S,E,M,o,l,s,N,Z,G,u,p,g,c,a,h,w,f,b,L,z,U,F,K]}class j extends e.SvelteComponent{constructor(t){super(),e.init(this,t,re,ne,e.safe_not_equal,{endpoint:16,session:17,lang:18,clientstyling:19,clientstylingurl:20,translationurl:21,mbsource:22,isdrawer:0,type:23,luckywheelsize:24,luckywheelmobilesize:25,opened:26,twostepdraw:1},$,[-1,-1])}get endpoint(){return this.$$.ctx[16]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get session(){return this.$$.ctx[17]}set session(t){this.$$set({session:t}),e.flush()}get lang(){return this.$$.ctx[18]}set lang(t){this.$$set({lang:t}),e.flush()}get clientstyling(){return this.$$.ctx[19]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[20]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[21]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get mbsource(){return this.$$.ctx[22]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get isdrawer(){return this.$$.ctx[0]}set isdrawer(t){this.$$set({isdrawer:t}),e.flush()}get type(){return this.$$.ctx[23]}set type(t){this.$$set({type:t}),e.flush()}get luckywheelsize(){return this.$$.ctx[24]}set luckywheelsize(t){this.$$set({luckywheelsize:t}),e.flush()}get luckywheelmobilesize(){return this.$$.ctx[25]}set luckywheelmobilesize(t){this.$$set({luckywheelmobilesize:t}),e.flush()}get opened(){return this.$$.ctx[26]}set opened(t){this.$$set({opened:t}),e.flush()}get twostepdraw(){return this.$$.ctx[1]}set twostepdraw(t){this.$$set({twostepdraw:t}),e.flush()}}customElements.define("prize-engine-suite",e.create_custom_element(j,{endpoint:{},session:{},lang:{},clientstyling:{},clientstylingurl:{},translationurl:{},mbsource:{},isdrawer:{},type:{},luckywheelsize:{},luckywheelmobilesize:{},opened:{},twostepdraw:{}},[],[],!0));exports.default=j;
|
|
@@ -26,8 +26,8 @@ var t0 = (e, t, o) => new Promise((r, i) => {
|
|
|
26
26
|
}, f = (d) => d.done ? r(d.value) : Promise.resolve(d.value).then(l, g);
|
|
27
27
|
f((o = o.apply(e, t)).next());
|
|
28
28
|
});
|
|
29
|
-
import { $ as w0, b as A2, a as u2, i as m2, c as C2 } from "./CasinoMysteryChestContainer-
|
|
30
|
-
import { S as B2, b as w2, s as v2, f as o0, c as k2, n as d0, d as J, E as r2, l as s, N as R, e as U, m, k as L, F as s2, g as a2, w as F2, a1 as y2, L as Z, M as i0, r as I2, Y as g0, p as m0, Z as B, A as x0, T as a0, X as n0, h as M0, a2 as S2, t as E2 } from "./CasinoGameOverlay-
|
|
29
|
+
import { $ as w0, b as A2, a as u2, i as m2, c as C2 } from "./CasinoMysteryChestContainer-DeILjbeG.js";
|
|
30
|
+
import { S as B2, b as w2, s as v2, f as o0, c as k2, n as d0, d as J, E as r2, l as s, N as R, e as U, m, k as L, F as s2, g as a2, w as F2, a1 as y2, L as Z, M as i0, r as I2, Y as g0, p as m0, Z as B, A as x0, T as a0, X as n0, h as M0, a2 as S2, t as E2 } from "./CasinoGameOverlay-Dk_e7S5S.js";
|
|
31
31
|
const b0 = {
|
|
32
32
|
en: {
|
|
33
33
|
RemainingTimes: "Remaining Times",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { $ as u0, b as e2, a as t2, i as o2, c as i2 } from "./CasinoMysteryChestContainer-
|
|
2
|
-
import { S as r2, b as s2, s as a2, f as _, d as n2, n as c0, e as J, E as W0, m as s, N as R, g as U, p as u, l as L, F as N0, h as V0, w as l2, a1 as c2, L as Z, M as $, r as f2, Y as f0, q as p0, Z as B, A as C0, T as r0, X as s0, j as B0, a2 as d2, c as g2 } from "./CasinoGameOverlay-
|
|
1
|
+
import { $ as u0, b as e2, a as t2, i as o2, c as i2 } from "./CasinoMysteryChestContainer-DlHO957g.js";
|
|
2
|
+
import { S as r2, b as s2, s as a2, f as _, d as n2, n as c0, e as J, E as W0, m as s, N as R, g as U, p as u, l as L, F as N0, h as V0, w as l2, a1 as c2, L as Z, M as $, r as f2, Y as f0, q as p0, Z as B, A as C0, T as r0, X as s0, j as B0, a2 as d2, c as g2 } from "./CasinoGameOverlay-DUEK-4c8.js";
|
|
3
3
|
const w0 = {
|
|
4
4
|
en: {
|
|
5
5
|
RemainingTimes: "Remaining Times",
|