@everymatrix/casino-game-overlay 1.70.1 → 1.71.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.
- package/components/{CasinoCoinroyaleContainer-DtpSh_fd.js → CasinoCoinroyaleContainer-CHUkfGAj.js} +746 -767
- package/components/{CasinoCoinroyaleContainer-D9k7i57b.js → CasinoCoinroyaleContainer-Cfhery4H.js} +702 -723
- package/components/CasinoCoinroyaleContainer-D6JqAXyu.cjs +18 -0
- package/components/{CasinoCoinroyaleDetails-DnKN1CLM.cjs → CasinoCoinroyaleDetails-CMEpQgL9.cjs} +1 -1
- package/components/{CasinoCoinroyaleDetails-GDRjYHPf.js → CasinoCoinroyaleDetails-Cb9KU-DR.js} +20 -20
- package/components/{CasinoCoinroyaleDetails-CChe_Ht0.js → CasinoCoinroyaleDetails-bpbc2gGZ.js} +20 -20
- package/components/CasinoCoinroyaleList-CKLLthnr.cjs +1 -0
- package/components/{CasinoCoinroyaleList-CRcT0rBz.js → CasinoCoinroyaleList-CRpHk1RP.js} +398 -396
- package/components/{CasinoCoinroyaleList-TWLzYA-s.js → CasinoCoinroyaleList-CmFDpwGG.js} +388 -386
- package/components/{CasinoGameOverlay-CqmQdqll.cjs → CasinoGameOverlay-DHpHLWso.cjs} +1 -1
- package/components/{CasinoGameOverlay-DgaM5fTp.js → CasinoGameOverlay-DJbCpB4d.js} +17 -17
- package/components/{CasinoGameOverlay-BAWGOpb1.js → CasinoGameOverlay-TA5BfuGV.js} +15 -15
- package/components/{CasinoMysteryChestContainer-SYxzIj7Y.js → CasinoMysteryChestContainer-BQFluiBD.js} +17 -17
- package/components/{CasinoMysteryChestContainer-D9g9lN7U.cjs → CasinoMysteryChestContainer-D-QnkPv-.cjs} +1 -1
- package/components/{CasinoMysteryChestContainer-poX1US08.js → CasinoMysteryChestContainer-gtVixhqN.js} +15 -15
- package/components/{CasinoMysteryChestDetails-BOgwf3A3.js → CasinoMysteryChestDetails-C8Boho7u.js} +23 -23
- package/components/{CasinoMysteryChestDetails-AyBcarTM.js → CasinoMysteryChestDetails-C92dsrOU.js} +23 -23
- package/components/{CasinoMysteryChestDetails-EZZHFTGo.cjs → CasinoMysteryChestDetails-b90thevI.cjs} +1 -1
- package/components/{CasinoMysteryChestModal-DdMeTnKH.cjs → CasinoMysteryChestModal-BY61uFml.cjs} +1 -1
- package/components/{CasinoMysteryChestModal-BT9M8GwH.js → CasinoMysteryChestModal-DCtUHGiw.js} +13 -13
- package/components/{CasinoMysteryChestModal-Dw9N73cZ.js → CasinoMysteryChestModal-Dlo6fevh.js} +13 -13
- package/components/{CasinoMysteryChestsList-Bx8TJAxU.cjs → CasinoMysteryChestsList-AIvuaALM.cjs} +1 -1
- package/components/{CasinoMysteryChestsList-Coc0hV94.js → CasinoMysteryChestsList-CNWq47H4.js} +72 -72
- package/components/{CasinoMysteryChestsList-CRKuUNe0.js → CasinoMysteryChestsList-CZUOi9vx.js} +72 -72
- package/components/{GeneralAnimationLoading-CT8Vfpo8.js → GeneralAnimationLoading-B4AAxQA_.js} +16 -16
- package/components/{GeneralAnimationLoading-CY1sZFSS.js → GeneralAnimationLoading-COUykK_7.js} +16 -16
- package/components/{GeneralAnimationLoading-CtSXYOM9.cjs → GeneralAnimationLoading-Dz5Jkp_J.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/stencil/index-b2193545-BtPvM93e.js +519 -0
- package/stencil/index-b2193545-CgelUAhE.cjs +1 -0
- package/stencil/index-b2193545-D_KBbaD-.js +503 -0
- package/stencil/{ui-skeleton-BL4789dS.cjs → ui-skeleton-BPqjm-YB.cjs} +1 -1
- package/stencil/{ui-skeleton-Ca5rz3Hv.js → ui-skeleton-CWuMYFGQ.js} +2 -2
- package/stencil/{ui-skeleton-hI4GeaLk.js → ui-skeleton-NZtdK490.js} +2 -2
- package/stencil/{ui-skeleton-ae35c6f2-xLf3HyeB.cjs → ui-skeleton-ae35c6f2-CKJgMm_5.cjs} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-BDBUiN3S.js → ui-skeleton-ae35c6f2-CW3z59Qf.js} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-Cn0ZM_hs.js → ui-skeleton-ae35c6f2-DlexSQlT.js} +1 -1
- package/components/CasinoCoinroyaleContainer-BgtHuBp9.cjs +0 -18
- package/components/CasinoCoinroyaleList-BEdmTcEU.cjs +0 -1
- package/stencil/index-b2193545-BeKKnKhR.js +0 -519
- package/stencil/index-b2193545-HC0t7mHa.js +0 -503
- package/stencil/index-b2193545-YW9b062G.cjs +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var He=Object.defineProperty,Be=Object.defineProperties;var je=Object.getOwnPropertyDescriptors;var fe=Object.getOwnPropertySymbols;var Ae=Object.prototype.hasOwnProperty,Ie=Object.prototype.propertyIsEnumerable;var pe=(a,e,n)=>e in a?He(a,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):a[e]=n,de=(a,e)=>{for(var n in e||(e={}))Ae.call(e,n)&&pe(a,n,e[n]);if(fe)for(var n of fe(e))Ie.call(e,n)&&pe(a,n,e[n]);return a},he=(a,e)=>Be(a,je(e));var H=(a,e,n)=>new Promise((r,i)=>{var o=c=>{try{l(n.next(c))}catch(u){i(u)}},s=c=>{try{l(n.throw(c))}catch(u){i(u)}},l=c=>c.done?r(c.value):Promise.resolve(c.value).then(o,s);l((n=n.apply(a,e)).next())});const t=require("./CasinoCoinroyaleContainer-BgtHuBp9.cjs"),ce=require("./CasinoCoinroyaleDetails-DnKN1CLM.cjs");require("../stencil/ui-skeleton-BL4789dS.cjs");function oe(a){"@babel/helpers - typeof";return oe=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},oe(a)}function K(a){if(a===null||a===!0||a===!1)return NaN;var e=Number(a);return isNaN(e)?e:e<0?Math.ceil(e):Math.floor(e)}function L(a,e){if(e.length<a)throw new TypeError(a+" argument"+(a>1?"s":"")+" required, but only "+e.length+" present")}function B(a){L(1,arguments);var e=Object.prototype.toString.call(a);return a instanceof Date||oe(a)==="object"&&e==="[object Date]"?new Date(a.getTime()):typeof a=="number"||e==="[object Number]"?new Date(a):((typeof a=="string"||e==="[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 Ge(a,e){L(2,arguments);var n=B(a).getTime(),r=K(e);return new Date(n+r)}var Qe={};function ue(){return Qe}function Xe(a){var e=new Date(Date.UTC(a.getFullYear(),a.getMonth(),a.getDate(),a.getHours(),a.getMinutes(),a.getSeconds(),a.getMilliseconds()));return e.setUTCFullYear(a.getFullYear()),a.getTime()-e.getTime()}function Ve(a){return L(1,arguments),a instanceof Date||oe(a)==="object"&&Object.prototype.toString.call(a)==="[object Date]"}function Ze(a){if(L(1,arguments),!Ve(a)&&typeof a!="number")return!1;var e=B(a);return!isNaN(Number(e))}function Je(a,e){L(2,arguments);var n=K(e);return Ge(a,-n)}var Ke=864e5;function $e(a){L(1,arguments);var e=B(a),n=e.getTime();e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0);var r=e.getTime(),i=n-r;return Math.floor(i/Ke)+1}function se(a){L(1,arguments);var e=1,n=B(a),r=n.getUTCDay(),i=(r<e?7:0)+r-e;return n.setUTCDate(n.getUTCDate()-i),n.setUTCHours(0,0,0,0),n}function Le(a){L(1,arguments);var e=B(a),n=e.getUTCFullYear(),r=new Date(0);r.setUTCFullYear(n+1,0,4),r.setUTCHours(0,0,0,0);var i=se(r),o=new Date(0);o.setUTCFullYear(n,0,4),o.setUTCHours(0,0,0,0);var s=se(o);return e.getTime()>=i.getTime()?n+1:e.getTime()>=s.getTime()?n:n-1}function et(a){L(1,arguments);var e=Le(a),n=new Date(0);n.setUTCFullYear(e,0,4),n.setUTCHours(0,0,0,0);var r=se(n);return r}var tt=6048e5;function nt(a){L(1,arguments);var e=B(a),n=se(e).getTime()-et(e).getTime();return Math.round(n/tt)+1}function le(a,e){var n,r,i,o,s,l,c,u;L(1,arguments);var f=ue(),p=K((n=(r=(i=(o=e==null?void 0:e.weekStartsOn)!==null&&o!==void 0?o:e==null||(s=e.locale)===null||s===void 0||(l=s.options)===null||l===void 0?void 0:l.weekStartsOn)!==null&&i!==void 0?i:f.weekStartsOn)!==null&&r!==void 0?r:(c=f.locale)===null||c===void 0||(u=c.options)===null||u===void 0?void 0:u.weekStartsOn)!==null&&n!==void 0?n:0);if(!(p>=0&&p<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var m=B(a),g=m.getUTCDay(),h=(g<p?7:0)+g-p;return m.setUTCDate(m.getUTCDate()-h),m.setUTCHours(0,0,0,0),m}function Fe(a,e){var n,r,i,o,s,l,c,u;L(1,arguments);var f=B(a),p=f.getUTCFullYear(),m=ue(),g=K((n=(r=(i=(o=e==null?void 0:e.firstWeekContainsDate)!==null&&o!==void 0?o:e==null||(s=e.locale)===null||s===void 0||(l=s.options)===null||l===void 0?void 0:l.firstWeekContainsDate)!==null&&i!==void 0?i:m.firstWeekContainsDate)!==null&&r!==void 0?r:(c=m.locale)===null||c===void 0||(u=c.options)===null||u===void 0?void 0:u.firstWeekContainsDate)!==null&&n!==void 0?n:1);if(!(g>=1&&g<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var h=new Date(0);h.setUTCFullYear(p+1,0,g),h.setUTCHours(0,0,0,0);var b=le(h,e),v=new Date(0);v.setUTCFullYear(p,0,g),v.setUTCHours(0,0,0,0);var _=le(v,e);return f.getTime()>=b.getTime()?p+1:f.getTime()>=_.getTime()?p:p-1}function at(a,e){var n,r,i,o,s,l,c,u;L(1,arguments);var f=ue(),p=K((n=(r=(i=(o=e==null?void 0:e.firstWeekContainsDate)!==null&&o!==void 0?o:e==null||(s=e.locale)===null||s===void 0||(l=s.options)===null||l===void 0?void 0:l.firstWeekContainsDate)!==null&&i!==void 0?i:f.firstWeekContainsDate)!==null&&r!==void 0?r:(c=f.locale)===null||c===void 0||(u=c.options)===null||u===void 0?void 0:u.firstWeekContainsDate)!==null&&n!==void 0?n:1),m=Fe(a,e),g=new Date(0);g.setUTCFullYear(m,0,p),g.setUTCHours(0,0,0,0);var h=le(g,e);return h}var rt=6048e5;function it(a,e){L(1,arguments);var n=B(a),r=le(n,e).getTime()-at(n,e).getTime();return Math.round(r/rt)+1}function y(a,e){for(var n=a<0?"-":"",r=Math.abs(a).toString();r.length<e;)r="0"+r;return n+r}var Q={y:function(e,n){var r=e.getUTCFullYear(),i=r>0?r:1-r;return y(n==="yy"?i%100:i,n.length)},M:function(e,n){var r=e.getUTCMonth();return n==="M"?String(r+1):y(r+1,2)},d:function(e,n){return y(e.getUTCDate(),n.length)},a:function(e,n){var r=e.getUTCHours()/12>=1?"pm":"am";switch(n){case"a":case"aa":return r.toUpperCase();case"aaa":return r;case"aaaaa":return r[0];case"aaaa":default:return r==="am"?"a.m.":"p.m."}},h:function(e,n){return y(e.getUTCHours()%12||12,n.length)},H:function(e,n){return y(e.getUTCHours(),n.length)},m:function(e,n){return y(e.getUTCMinutes(),n.length)},s:function(e,n){return y(e.getUTCSeconds(),n.length)},S:function(e,n){var r=n.length,i=e.getUTCMilliseconds(),o=Math.floor(i*Math.pow(10,r-3));return y(o,n.length)}},$={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},ot={G:function(e,n,r){var i=e.getUTCFullYear()>0?1:0;switch(n){case"G":case"GG":case"GGG":return r.era(i,{width:"abbreviated"});case"GGGGG":return r.era(i,{width:"narrow"});case"GGGG":default:return r.era(i,{width:"wide"})}},y:function(e,n,r){if(n==="yo"){var i=e.getUTCFullYear(),o=i>0?i:1-i;return r.ordinalNumber(o,{unit:"year"})}return Q.y(e,n)},Y:function(e,n,r,i){var o=Fe(e,i),s=o>0?o:1-o;if(n==="YY"){var l=s%100;return y(l,2)}return n==="Yo"?r.ordinalNumber(s,{unit:"year"}):y(s,n.length)},R:function(e,n){var r=Le(e);return y(r,n.length)},u:function(e,n){var r=e.getUTCFullYear();return y(r,n.length)},Q:function(e,n,r){var i=Math.ceil((e.getUTCMonth()+1)/3);switch(n){case"Q":return String(i);case"QQ":return y(i,2);case"Qo":return r.ordinalNumber(i,{unit:"quarter"});case"QQQ":return r.quarter(i,{width:"abbreviated",context:"formatting"});case"QQQQQ":return r.quarter(i,{width:"narrow",context:"formatting"});case"QQQQ":default:return r.quarter(i,{width:"wide",context:"formatting"})}},q:function(e,n,r){var i=Math.ceil((e.getUTCMonth()+1)/3);switch(n){case"q":return String(i);case"qq":return y(i,2);case"qo":return r.ordinalNumber(i,{unit:"quarter"});case"qqq":return r.quarter(i,{width:"abbreviated",context:"standalone"});case"qqqqq":return r.quarter(i,{width:"narrow",context:"standalone"});case"qqqq":default:return r.quarter(i,{width:"wide",context:"standalone"})}},M:function(e,n,r){var i=e.getUTCMonth();switch(n){case"M":case"MM":return Q.M(e,n);case"Mo":return r.ordinalNumber(i+1,{unit:"month"});case"MMM":return r.month(i,{width:"abbreviated",context:"formatting"});case"MMMMM":return r.month(i,{width:"narrow",context:"formatting"});case"MMMM":default:return r.month(i,{width:"wide",context:"formatting"})}},L:function(e,n,r){var i=e.getUTCMonth();switch(n){case"L":return String(i+1);case"LL":return y(i+1,2);case"Lo":return r.ordinalNumber(i+1,{unit:"month"});case"LLL":return r.month(i,{width:"abbreviated",context:"standalone"});case"LLLLL":return r.month(i,{width:"narrow",context:"standalone"});case"LLLL":default:return r.month(i,{width:"wide",context:"standalone"})}},w:function(e,n,r,i){var o=it(e,i);return n==="wo"?r.ordinalNumber(o,{unit:"week"}):y(o,n.length)},I:function(e,n,r){var i=nt(e);return n==="Io"?r.ordinalNumber(i,{unit:"week"}):y(i,n.length)},d:function(e,n,r){return n==="do"?r.ordinalNumber(e.getUTCDate(),{unit:"date"}):Q.d(e,n)},D:function(e,n,r){var i=$e(e);return n==="Do"?r.ordinalNumber(i,{unit:"dayOfYear"}):y(i,n.length)},E:function(e,n,r){var i=e.getUTCDay();switch(n){case"E":case"EE":case"EEE":return r.day(i,{width:"abbreviated",context:"formatting"});case"EEEEE":return r.day(i,{width:"narrow",context:"formatting"});case"EEEEEE":return r.day(i,{width:"short",context:"formatting"});case"EEEE":default:return r.day(i,{width:"wide",context:"formatting"})}},e:function(e,n,r,i){var o=e.getUTCDay(),s=(o-i.weekStartsOn+8)%7||7;switch(n){case"e":return String(s);case"ee":return y(s,2);case"eo":return r.ordinalNumber(s,{unit:"day"});case"eee":return r.day(o,{width:"abbreviated",context:"formatting"});case"eeeee":return r.day(o,{width:"narrow",context:"formatting"});case"eeeeee":return r.day(o,{width:"short",context:"formatting"});case"eeee":default:return r.day(o,{width:"wide",context:"formatting"})}},c:function(e,n,r,i){var o=e.getUTCDay(),s=(o-i.weekStartsOn+8)%7||7;switch(n){case"c":return String(s);case"cc":return y(s,n.length);case"co":return r.ordinalNumber(s,{unit:"day"});case"ccc":return r.day(o,{width:"abbreviated",context:"standalone"});case"ccccc":return r.day(o,{width:"narrow",context:"standalone"});case"cccccc":return r.day(o,{width:"short",context:"standalone"});case"cccc":default:return r.day(o,{width:"wide",context:"standalone"})}},i:function(e,n,r){var i=e.getUTCDay(),o=i===0?7:i;switch(n){case"i":return String(o);case"ii":return y(o,n.length);case"io":return r.ordinalNumber(o,{unit:"day"});case"iii":return r.day(i,{width:"abbreviated",context:"formatting"});case"iiiii":return r.day(i,{width:"narrow",context:"formatting"});case"iiiiii":return r.day(i,{width:"short",context:"formatting"});case"iiii":default:return r.day(i,{width:"wide",context:"formatting"})}},a:function(e,n,r){var i=e.getUTCHours(),o=i/12>=1?"pm":"am";switch(n){case"a":case"aa":return r.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"aaa":return r.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return r.dayPeriod(o,{width:"narrow",context:"formatting"});case"aaaa":default:return r.dayPeriod(o,{width:"wide",context:"formatting"})}},b:function(e,n,r){var i=e.getUTCHours(),o;switch(i===12?o=$.noon:i===0?o=$.midnight:o=i/12>=1?"pm":"am",n){case"b":case"bb":return r.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"bbb":return r.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return r.dayPeriod(o,{width:"narrow",context:"formatting"});case"bbbb":default:return r.dayPeriod(o,{width:"wide",context:"formatting"})}},B:function(e,n,r){var i=e.getUTCHours(),o;switch(i>=17?o=$.evening:i>=12?o=$.afternoon:i>=4?o=$.morning:o=$.night,n){case"B":case"BB":case"BBB":return r.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"BBBBB":return r.dayPeriod(o,{width:"narrow",context:"formatting"});case"BBBB":default:return r.dayPeriod(o,{width:"wide",context:"formatting"})}},h:function(e,n,r){if(n==="ho"){var i=e.getUTCHours()%12;return i===0&&(i=12),r.ordinalNumber(i,{unit:"hour"})}return Q.h(e,n)},H:function(e,n,r){return n==="Ho"?r.ordinalNumber(e.getUTCHours(),{unit:"hour"}):Q.H(e,n)},K:function(e,n,r){var i=e.getUTCHours()%12;return n==="Ko"?r.ordinalNumber(i,{unit:"hour"}):y(i,n.length)},k:function(e,n,r){var i=e.getUTCHours();return i===0&&(i=24),n==="ko"?r.ordinalNumber(i,{unit:"hour"}):y(i,n.length)},m:function(e,n,r){return n==="mo"?r.ordinalNumber(e.getUTCMinutes(),{unit:"minute"}):Q.m(e,n)},s:function(e,n,r){return n==="so"?r.ordinalNumber(e.getUTCSeconds(),{unit:"second"}):Q.s(e,n)},S:function(e,n){return Q.S(e,n)},X:function(e,n,r,i){var o=i._originalDate||e,s=o.getTimezoneOffset();if(s===0)return"Z";switch(n){case"X":return ve(s);case"XXXX":case"XX":return J(s);case"XXXXX":case"XXX":default:return J(s,":")}},x:function(e,n,r,i){var o=i._originalDate||e,s=o.getTimezoneOffset();switch(n){case"x":return ve(s);case"xxxx":case"xx":return J(s);case"xxxxx":case"xxx":default:return J(s,":")}},O:function(e,n,r,i){var o=i._originalDate||e,s=o.getTimezoneOffset();switch(n){case"O":case"OO":case"OOO":return"GMT"+ge(s,":");case"OOOO":default:return"GMT"+J(s,":")}},z:function(e,n,r,i){var o=i._originalDate||e,s=o.getTimezoneOffset();switch(n){case"z":case"zz":case"zzz":return"GMT"+ge(s,":");case"zzzz":default:return"GMT"+J(s,":")}},t:function(e,n,r,i){var o=i._originalDate||e,s=Math.floor(o.getTime()/1e3);return y(s,n.length)},T:function(e,n,r,i){var o=i._originalDate||e,s=o.getTime();return y(s,n.length)}};function ge(a,e){var n=a>0?"-":"+",r=Math.abs(a),i=Math.floor(r/60),o=r%60;if(o===0)return n+String(i);var s=e;return n+String(i)+s+y(o,2)}function ve(a,e){if(a%60===0){var n=a>0?"-":"+";return n+y(Math.abs(a)/60,2)}return J(a,e)}function J(a,e){var n=e||"",r=a>0?"-":"+",i=Math.abs(a),o=y(Math.floor(i/60),2),s=y(i%60,2);return r+o+n+s}var be=function(e,n){switch(e){case"P":return n.date({width:"short"});case"PP":return n.date({width:"medium"});case"PPP":return n.date({width:"long"});case"PPPP":default:return n.date({width:"full"})}},Ne=function(e,n){switch(e){case"p":return n.time({width:"short"});case"pp":return n.time({width:"medium"});case"ppp":return n.time({width:"long"});case"pppp":default:return n.time({width:"full"})}},st=function(e,n){var r=e.match(/(P+)(p+)?/)||[],i=r[1],o=r[2];if(!o)return be(e,n);var s;switch(i){case"P":s=n.dateTime({width:"short"});break;case"PP":s=n.dateTime({width:"medium"});break;case"PPP":s=n.dateTime({width:"long"});break;case"PPPP":default:s=n.dateTime({width:"full"});break}return s.replace("{{date}}",be(i,n)).replace("{{time}}",Ne(o,n))},lt={p:Ne,P:st},ut=["D","DD"],dt=["YY","YYYY"];function ct(a){return ut.indexOf(a)!==-1}function mt(a){return dt.indexOf(a)!==-1}function we(a,e,n){if(a==="YYYY")throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(e,"`) for formatting years to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(a==="YY")throw new RangeError("Use `yy` instead of `YY` (in `".concat(e,"`) for formatting years to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(a==="D")throw new RangeError("Use `d` instead of `D` (in `".concat(e,"`) for formatting days of the month to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(a==="DD")throw new RangeError("Use `dd` instead of `DD` (in `".concat(e,"`) for formatting days of the month to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}var ft={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"}},pt=function(e,n,r){var i,o=ft[e];return typeof o=="string"?i=o:n===1?i=o.one:i=o.other.replace("{{count}}",n.toString()),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"in "+i:i+" ago":i};function me(a){return function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=e.width?String(e.width):a.defaultWidth,r=a.formats[n]||a.formats[a.defaultWidth];return r}}var ht={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},gt={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},vt={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},bt={date:me({formats:ht,defaultWidth:"full"}),time:me({formats:gt,defaultWidth:"full"}),dateTime:me({formats:vt,defaultWidth:"full"})},wt={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},_t=function(e,n,r,i){return wt[e]};function ne(a){return function(e,n){var r=n!=null&&n.context?String(n.context):"standalone",i;if(r==="formatting"&&a.formattingValues){var o=a.defaultFormattingWidth||a.defaultWidth,s=n!=null&&n.width?String(n.width):o;i=a.formattingValues[s]||a.formattingValues[o]}else{var l=a.defaultWidth,c=n!=null&&n.width?String(n.width):a.defaultWidth;i=a.values[c]||a.values[l]}var u=a.argumentCallback?a.argumentCallback(e):e;return i[u]}}var yt={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},xt={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},kt={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"]},Ct={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"]},Tt={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"}},Mt={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"}},Ot=function(e,n){var r=Number(e),i=r%100;if(i>20||i<10)switch(i%10){case 1:return r+"st";case 2:return r+"nd";case 3:return r+"rd"}return r+"th"},Pt={ordinalNumber:Ot,era:ne({values:yt,defaultWidth:"wide"}),quarter:ne({values:xt,defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:ne({values:kt,defaultWidth:"wide"}),day:ne({values:Ct,defaultWidth:"wide"}),dayPeriod:ne({values:Tt,defaultWidth:"wide",formattingValues:Mt,defaultFormattingWidth:"wide"})};function ae(a){return function(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=n.width,i=r&&a.matchPatterns[r]||a.matchPatterns[a.defaultMatchWidth],o=e.match(i);if(!o)return null;var s=o[0],l=r&&a.parsePatterns[r]||a.parsePatterns[a.defaultParseWidth],c=Array.isArray(l)?St(l,function(p){return p.test(s)}):Dt(l,function(p){return p.test(s)}),u;u=a.valueCallback?a.valueCallback(c):c,u=n.valueCallback?n.valueCallback(u):u;var f=e.slice(s.length);return{value:u,rest:f}}}function Dt(a,e){for(var n in a)if(a.hasOwnProperty(n)&&e(a[n]))return n}function St(a,e){for(var n=0;n<a.length;n++)if(e(a[n]))return n}function Wt(a){return function(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=e.match(a.matchPattern);if(!r)return null;var i=r[0],o=e.match(a.parsePattern);if(!o)return null;var s=a.valueCallback?a.valueCallback(o[0]):o[0];s=n.valueCallback?n.valueCallback(s):s;var l=e.slice(i.length);return{value:s,rest:l}}}var Ut=/^(\d+)(th|st|nd|rd)?/i,Yt=/\d+/i,zt={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},Et={any:[/^b/i,/^(a|c)/i]},Lt={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},Ft={any:[/1/i,/2/i,/3/i,/4/i]},Nt={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},Rt={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]},qt={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},Ht={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]},Bt={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},jt={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}},At={ordinalNumber:Wt({matchPattern:Ut,parsePattern:Yt,valueCallback:function(e){return parseInt(e,10)}}),era:ae({matchPatterns:zt,defaultMatchWidth:"wide",parsePatterns:Et,defaultParseWidth:"any"}),quarter:ae({matchPatterns:Lt,defaultMatchWidth:"wide",parsePatterns:Ft,defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:ae({matchPatterns:Nt,defaultMatchWidth:"wide",parsePatterns:Rt,defaultParseWidth:"any"}),day:ae({matchPatterns:qt,defaultMatchWidth:"wide",parsePatterns:Ht,defaultParseWidth:"any"}),dayPeriod:ae({matchPatterns:Bt,defaultMatchWidth:"any",parsePatterns:jt,defaultParseWidth:"any"})},It={code:"en-US",formatDistance:pt,formatLong:bt,formatRelative:_t,localize:Pt,match:At,options:{weekStartsOn:0,firstWeekContainsDate:1}},Gt=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Qt=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Xt=/^'([^]*?)'?$/,Vt=/''/g,Zt=/[a-zA-Z]/;function Re(a,e,n){var r,i,o,s,l,c,u,f,p,m,g,h,b,v;L(2,arguments);var _=String(e),x=ue(),C=(r=(i=void 0)!==null&&i!==void 0?i:x.locale)!==null&&r!==void 0?r:It,P=K((o=(s=(l=(c=void 0)!==null&&c!==void 0?c:void 0)!==null&&l!==void 0?l:x.firstWeekContainsDate)!==null&&s!==void 0?s:(u=x.locale)===null||u===void 0||(f=u.options)===null||f===void 0?void 0:f.firstWeekContainsDate)!==null&&o!==void 0?o:1);if(!(P>=1&&P<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var k=K((p=(m=(g=(h=void 0)!==null&&h!==void 0?h:void 0)!==null&&g!==void 0?g:x.weekStartsOn)!==null&&m!==void 0?m:(b=x.locale)===null||b===void 0||(v=b.options)===null||v===void 0?void 0:v.weekStartsOn)!==null&&p!==void 0?p:0);if(!(k>=0&&k<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!C.localize)throw new RangeError("locale must contain localize property");if(!C.formatLong)throw new RangeError("locale must contain formatLong property");var W=B(a);if(!Ze(W))throw new RangeError("Invalid time value");var R=Xe(W),j=Je(W,R),D={firstWeekContainsDate:P,weekStartsOn:k,locale:C,_originalDate:W},F=_.match(Qt).map(function(T){var U=T[0];if(U==="p"||U==="P"){var E=lt[U];return E(T,C.formatLong)}return T}).join("").match(Gt).map(function(T){if(T==="''")return"'";var U=T[0];if(U==="'")return Jt(T);var E=ot[U];if(E)return mt(T)&&we(T,e,String(a)),ct(T)&&we(T,e,String(a)),E(j,T,C.localize,D);if(U.match(Zt))throw new RangeError("Format string contains an unescaped latin alphabet character `"+U+"`");return T}).join("");return F}function Jt(a){var e=a.match(Xt);return e?e[1].replace(Vt,"'"):a}const _e=a=>window.postMessage(a,window.location.href),Kt="data:image/svg+xml,%3csvg%20width='18'%20height='18'%20viewBox='0%200%2018%2018'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M16.5384%203.18261L14.3222%200.9673C13.3202%20-0.0332963%2011.7009%20-0.26734%209.75715%200.310586C7.83938%200.880634%205.79092%202.18711%203.98901%203.98902C2.18711%205.79092%200.88063%207.83939%200.310582%209.75716C-0.26688%2011.7%20-0.0337635%2013.3211%200.965442%2014.3194C0.980736%2014.3361%200.99742%2014.3491%201.01967%2014.362L3.1826%2016.5384C3.83422%2017.1891%204.73749%2017.4996%205.78675%2017.4996C8.0382%2017.4996%2010.9621%2016.0703%2013.5167%2013.5167C17.2605%209.77199%2018.5878%205.23292%2016.5384%203.18261ZM13.2979%205.31681C12.764%206.90692%2011.6378%208.61521%2010.127%2010.1261C8.6152%2011.6369%206.90738%2012.764%205.31681%2013.2979C3.8991%2013.7744%202.71173%2013.7188%202.14169%2013.1469C1.57118%2012.5768%201.5151%2011.3904%201.99153%209.9722C2.52589%208.38209%203.65254%206.67426%205.1634%205.16341C6.67426%203.65209%208.38255%202.52589%209.97312%201.99153C10.6118%201.77649%2011.2031%201.67036%2011.7129%201.67036C12.3349%201.67036%2012.8345%201.8284%2013.1478%202.14169C13.7178%202.7122%2013.7744%203.89911%2013.2979%205.31681ZM12.3423%2012.3414C9.09859%2015.5846%205.53231%2016.5375%204.35699%2015.3622L4.23696%2015.2426C6.4481%2014.9914%209.06753%2013.5343%2011.3014%2011.3014C13.5343%209.06754%2014.9914%206.4481%2015.2426%204.23696L15.3622%204.357C16.5365%205.53093%2015.5846%209.09859%2012.3423%2012.3414Z'%20fill='url(%23paint0_linear_875_137)'/%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_875_137'%20x1='0'%20y1='8.7498'%20x2='17.5'%20y2='8.7498'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%2375FFE9'/%3e%3cstop%20offset='1'%20stop-color='%23B2FF6D'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",ye="data:image/svg+xml,%3csvg%20width='18'%20height='18'%20viewBox='0%200%2018%2018'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3.96967%203.96967C4.26256%203.67678%204.73744%203.67678%205.03033%203.96967L9%207.93934L12.9697%203.96967C13.2626%203.67678%2013.7374%203.67678%2014.0303%203.96967C14.3232%204.26256%2014.3232%204.73744%2014.0303%205.03033L10.0607%209L14.0303%2012.9697C14.3232%2013.2626%2014.3232%2013.7374%2014.0303%2014.0303C13.7374%2014.3232%2013.2626%2014.3232%2012.9697%2014.0303L9%2010.0607L5.03033%2014.0303C4.73744%2014.3232%204.26256%2014.3232%203.96967%2014.0303C3.67678%2013.7374%203.67678%2013.2626%203.96967%2012.9697L7.93934%209L3.96967%205.03033C3.67678%204.73744%203.67678%204.26256%203.96967%203.96967Z'%20fill='%23FF9B59'/%3e%3c/svg%3e",xe="data:image/svg+xml,%3csvg%20width='18'%20height='18'%20viewBox='0%200%2018%2018'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M15.1724%204.72381C15.4708%205.02223%2015.4708%205.50607%2015.1724%205.80449L7.70071%2013.2762C7.40229%2013.5746%206.91846%2013.5746%206.62004%2013.2762L3.22381%209.87996C2.9254%209.58154%202.9254%209.09771%203.22381%208.79929C3.52223%208.50087%204.00607%208.50087%204.30449%208.79929L7.16038%2011.6552L14.0917%204.72381C14.3902%204.4254%2014.874%204.4254%2015.1724%204.72381Z'%20fill='%2358DB4A'/%3e%3c/svg%3e",$t="data:image/svg+xml,%3csvg%20width='14'%20height='14'%20viewBox='0%200%2014%2014'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M10.9124%204.83736C11.1402%205.06516%2011.1402%205.43451%2010.9124%205.66232L7.41243%209.16232C7.18462%209.39012%206.81528%209.39012%206.58747%209.16232L3.08747%205.66232C2.85966%205.43451%202.85966%205.06516%203.08747%204.83736C3.31528%204.60955%203.68462%204.60955%203.91243%204.83736L6.99995%207.92488L10.0875%204.83736C10.3153%204.60955%2010.6846%204.60955%2010.9124%204.83736Z'%20fill='url(%23paint0_linear_738_1669)'/%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_738_1669'%20x1='6.99995'%20y1='4.6665'%20x2='6.99995'%20y2='9.33317'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%2375FFE9'/%3e%3cstop%20offset='1'%20stop-color='%23B2FF6D'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e";var re=(a=>(a.lotteries="lotteries",a.outcome="outcome",a.draw="draw",a))(re||{}),ee=(a=>(a.en="en",a.default="*",a))(ee||{});const en=a=>H(exports,null,function*(){const{path:e,params:n={},options:r={}}=a,i=new URL(e);return Object.keys(n).map(o=>{i.searchParams.append(o,n[o])}),yield tn(i,r)}),tn=(n,...r)=>H(exports,[n,...r],function*(a,e={}){let i;try{i=yield fetch(a,e),i=yield i.text(),i=JSON.parse(i)}catch(o){throw new Error(o.message)}return i}),ke=(a,e,n)=>H(exports,null,function*(){const{session:r}=n,i={headers:de({"Content-Type":"application/json",accept:"text/plain"},r?{"x-SessionId":r}:{})},s={[re.lotteries]:()=>({path:"/wof/lotteries",params:{filter:"Types[]=flipCoin"},options:i}),[re.outcome]:()=>{const{id:l}=n;return{path:`/wof/outcome/${l}`,params:{filter:"Types[]=flipCoin"},options:i}}}[a]();return s.path=e+"/v1"+s.path,yield en(s)}),Ce={lotteries:(a,e)=>H(exports,null,function*(){const n=yield ke(re.lotteries,a,{session:e});return(n==null?void 0:n.items)||[]}),outcome:(a,e,n)=>H(exports,null,function*(){return yield ke(re.outcome,a,{session:e,id:n})})},nn=a=>{var e;return((e=a==null?void 0:a.current)==null?void 0:e.remainingTimes)>0&&(a==null?void 0:a.next)};function Te(a,e){t.addMessages(a,e)}function an(a){t.$locale.set(a)}const Me={en:{headerTitle:"Coin Royales",infoTooltip:"Flip a virtual coin and take a chance to win!",play:"Play",history:"History",rules:"Rules",noCoinYet:"There are no available Coin Royale",noHistoryYet:"There is no history yet",more:"More",rulesDescription:"Coin Royale is a particularly interesting game, will bring you a lot of surprises; When you obtained the Coin Royale, means you got a chance to flip the Coin, and if you are lucky, you can get the surprise prize.",terms:"Terms&Conditions link",prizeAgenda:"Prize agenda",tournamentTicket:"Tournament ticket",freeSpins:"Free spins",bonusMoney:"Bonus Money",loyaltyPoints:"Loyalty Points&Coins",luckyWheel:"LuckyWheel",mysteryChest:"Mystery Chest",coinRoyale:"Coin Royale",customRewards:"Custom Rewards"}};function rn(a){t.append_styles(a,"svelte-rd1kop",`.main::-webkit-scrollbar{width:0.25rem}.main::-webkit-scrollbar-track{background:#1e1e24}.main::-webkit-scrollbar-thumb{color:#93CAED}.mobile.drawer{width:100%;height:100%;border-top-left-radius:28px;border-top-right-radius:28px;padding:20px 28px}.mobile .tooltip-backdrop{padding:60px 20px 0;border-top-left-radius:28px;border-top-right-radius:28px}.mobile .tooltip-backdrop .tooltip{padding:20px;font-size:var(--emw--font-size-x-small, 12px)}.mobile .icon-button{width:24px;height:24px}.mobile .coins-header__title{font-size:var(--emw--font-size-medium, 16px);font-weight:var(--emw--font-weight-medium, 500);line-height:14px}.mobile .coins-tabs{margin:20px 0}.mobile .coins-tabs__container{border-bottom:1px solid var(--emw--color-secondary, #729787)}.mobile .coins-tabs__tab{font-size:var(--emw--font-size-x-small, 12px);line-height:15px}.mobile .coins-tabs__tab.active{border-bottom:1px solid}.mobile .coins-list{gap:16px}.mobile .coins-list__item{font-weight:var(--emw--font-weight-normal, 400);padding:20px;font-size:var(--emw--font-size-x-small, 12px);line-height:15px;border-radius:var(--emw--border-radius-large, 16px);height:56px}.mobile .coins-list__item__keys{gap:5px;font-size:var(--emw--font-size-medium, 16px)}.mobile .coins-rules{gap:24px}.mobile .coins-rules__description{font-size:var(--emw--font-size-x-small, 12px);line-height:24px}.mobile .coins-rules__terms{font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-x-small, 12px)}.mobile .coins-rules__prize-title{font-size:var(--emw--font-size-x-small, 12px);line-height:24px}.mobile .coins-rules__list{padding-inline-start:15px;margin:5px 0 0}.mobile .coins-rules__list__item{margin-bottom:5px;font-size:var(--emw--font-size-x-small, 12px);line-height:24px}.mobile .coins-empty{margin-top:50px;font-size:var(--emw--font-size-x-small, 12px)}.mobile .coins-history__title{font-size:var(--emw--font-size-x-small, 12px);line-height:14px;margin-bottom:12px}.mobile .coins-history__list{margin-bottom:32px}.mobile .coins-history__list__item{font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-x-small, 12px);line-height:14px;margin-bottom:12px}.mobile .coins-history__list__item .name img{width:14px;height:14px}.drawer{position:fixed;left:50%;transform:translateX(-50%);background:linear-gradient(180deg, var(--emw--color-background, #213841) 0%, var(--emw--color-background-secondary, #0c1a1c) 100%);box-sizing:border-box;z-index:100;bottom:0;width:60%;height:90%;border-top-left-radius:72px;border-top-right-radius:72px;padding:40px 80px}.overlay{border:none;position:fixed;top:0;left:0;width:100%;height:100%;background-color:var(--emw--color-gray-transparency-20, rgba(21, 43, 48, 0.5019607843));z-index:0;bottom:0;opacity:1;transition:opacity 0.5s ease-in-out}.icon-button{width:30px;height:30px;border:0px;cursor:pointer}.icon-button.help{background:center/100% no-repeat;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>')}.icon-button.close{background:center/100% no-repeat;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>')}.tooltip-backdrop{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}.tooltip-backdrop .tooltip{border:1px solid var(--emw--button-border-color, #75ffe9);background:var(--emw--color-background, #213841);border-radius:var(--emw--border-radius-large, 8px);line-height:24px;color:var(--emw--color-secondary, #bbb9c3);position:relative;padding:32px;font-size:var(--emw--font-size-medium, 16px)}.tooltip-backdrop .tooltip .icon-button{top:12px;right:12px;position:absolute}.coins-header{display:flex;justify-content:space-between;align-items:center;padding:12px 8px 8px}.coins-header__title{color:var(--emw--color-primary, #d3ffed);font-size:var(--emw--font-size-large, 22px);font-weight:var(--emw--font-weight-bold, 700);line-height:25px}.coins-loader{border-radius:var(--emw--border-radius-large, 16px);overflow:hidden}.coins-tabs{margin:28px 0}.coins-tabs__container{display:flex;position:relative;border-bottom:2px solid var(--emw--color-secondary, #729787)}.coins-tabs__tab{padding:8px 10px;font-weight:var(--emw--font-weight-bold, 700);color:var(--emw--color-gray-300, #729787);cursor:pointer;flex-grow:1;text-align:center;background:transparent;border:none;font-size:var(--emw--font-size-medium, 16px);line-height:18px}.coins-tabs__tab.active{color:var(--emw--color-typography, #fff);border-image-source:linear-gradient(90deg, var(--emw--button-border-color, #75ffe9) 0%, var(--emw--button-border-color-secondary, #b2ff6d) 100%);border-image-slice:1;margin-bottom:-2px;border-bottom:2px solid}.coins-list{max-height:85%;overflow:auto;gap:24px;display:flex;flex-wrap:wrap}.coins-list__item{font-weight:var(--emw--font-weight-bold, 700);font-size:var(--emw--font-size-large, 22px);line-height:25px;padding:35px 48px;border-radius:var(--emw--border-radius-large, 28px);height:110px;color:var(--emw--color-primary, #d3ffed);width:100%;display:flex;justify-content:space-between;align-items:center;box-sizing:border-box;background:var(--emw--color-background-secondary, #233e42);border:1px solid var(--emw--button-border-color-secondary, #244346);cursor:pointer}.coins-list__item__keys{display:flex;align-items:center;font-weight:var(--emw--font-weight-bold, 700);background:linear-gradient(90deg, var(--emw--button-border-color, #75ffe9) 0%, var(--emw--button-border-color-secondary, #b2ff6d) 100%);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;font-size:var(--emw--font-size-large, 22px);gap:7px}.coins-rules{display:flex;flex-flow:column;gap:40px;color:var(--emw--color-primary-variant, #a9ccbe)}.coins-rules__description{font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-medium, 16px);line-height:32px}.coins-rules__terms{display:flex;gap:5px;font-weight:var(--emw--font-weight-semibold, 500);font-size:var(--emw--font-size-medium, 16px);border:none;padding:0;cursor:pointer;background:linear-gradient(90deg, var(--emw--button-border-color, #75ffe9) 0%, var(--emw--button-border-color-secondary, #b2ff6d) 100%);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}.coins-rules__terms .arrow-icon{width:14px;height:14px;background:center/100% no-repeat;background-image:url('data:image/svg+xml,<svg width="20" height="20" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M4.41 7.744a.833.833 0 0 0 0 1.179l5 5a.833.833 0 0 0 1.18 0l5-5a.833.833 0 1 0-1.18-1.179L10 12.154l-4.41-4.41a.833.833 0 0 0-1.18 0Z" fill="url(%23a)"/><defs><linearGradient id="a" x1="10" y1="7.5" x2="10" y2="14.167" gradientUnits="userSpaceOnUse"><stop stop-color="%2375FFE9"/><stop offset="1" stop-color="%23B2FF6D"/></linearGradient></defs></svg>') no-repeat}.coins-rules__prize-title{color:#ffffff;font-weight:var(--emw--font-weight-bold, 700);font-size:var(--emw--font-size-medium, 16px);line-height:18px}.coins-rules__list{padding-inline-start:25px;margin:15px 0 0}.coins-rules__list__item{font-weight:var(--emw--font-weight-normal, 400);margin-bottom:12px;font-size:var(--emw--font-size-medium, 16px);line-height:32px}.coins-empty{text-align:center;color:var(--emw--color-primary-variant, #a9ccbe);font-weight:var(--emw--font-weight-normal, 400);line-height:24px;margin-top:75px;font-size:var(--emw--font-size-medium, 16px)}.coins-history__title{font-weight:var(--emw--font-weight-bold, 700);color:#ffffff;font-size:var(--emw--font-size-medium, 16px);line-height:18px;margin-bottom:16px}.coins-history__more{border:none;display:flex;gap:4px;padding:0;background:linear-gradient(90deg, var(--emw--button-border-color, #75ffe9) 0%, var(--emw--button-border-color-secondary, #b2ff6d) 100%);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;cursor:pointer;font-weight:var(--emw--font-weight-medium, 500);font-size:var(--emw--font-size-medium, 16px);line-height:18px}.coins-history__list{margin-bottom:40px;overflow:auto;max-height:215px}.coins-history__list__item{display:flex;color:var(--emw--color-primary-variant, #a9ccbe);font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-medium, 16px);line-height:16px;margin-bottom:16px}.coins-history__list__item .index{margin-right:20px}.coins-history__list__item .name{flex-grow:1;margin:0;display:flex;gap:6px}.coins-history__list__item .name img{width:18px;height:18px}`)}function Oe(a,e,n){const r=a.slice();return r[36]=e[n],r}function Pe(a,e,n){const r=a.slice();return r[39]=e[n],r[41]=n,r}function De(a,e,n){const r=a.slice();return r[33]=e[n],r[35]=n,r}function Se(a){let e,n,r,i,o,s=a[10]("infoTooltip")+"",l,c,u;return{c(){e=t.element("div"),n=t.element("div"),r=t.element("button"),i=t.space(),o=t.element("span"),l=t.text(s),t.attr(r,"class","icon-button close"),t.attr(n,"class","tooltip"),t.attr(e,"class","tooltip-backdrop")},m(f,p){t.insert(f,e,p),t.append(e,n),t.append(n,r),t.append(n,i),t.append(n,o),t.append(o,l),c||(u=t.listen(r,"click",a[13]),c=!0)},p(f,p){p[0]&1024&&s!==(s=f[10]("infoTooltip")+"")&&t.set_data(l,s)},d(f){f&&t.detach(e),c=!1,u()}}}function on(a){let e,n,r=a[10]("rulesDescription")+"",i,o,s,l,c,u=a[10]("prizeAgenda")+"",f,p,m,g,h=a[10]("tournamentTicket")+"",b,v,_,x=a[10]("freeSpins")+"",C,P,k,W=a[10]("bonusMoney")+"",R,j,D,F=a[10]("loyaltyPoints")+"",T,U,E,A=a[10]("luckyWheel")+"",M,X,q,S=a[10]("mysteryChest")+"",d,w,Y,I=a[10]("coinRoyale")+"",ie,V,G,Z=a[10]("customRewards")+"",te,z=a[8]&&We(a);return{c(){e=t.element("div"),n=t.element("span"),i=t.text(r),o=t.space(),z&&z.c(),s=t.space(),l=t.element("section"),c=t.element("span"),f=t.text(u),p=t.space(),m=t.element("ul"),g=t.element("li"),b=t.text(h),v=t.space(),_=t.element("li"),C=t.text(x),P=t.space(),k=t.element("li"),R=t.text(W),j=t.space(),D=t.element("li"),T=t.text(F),U=t.space(),E=t.element("li"),M=t.text(A),X=t.space(),q=t.element("li"),d=t.text(S),w=t.space(),Y=t.element("li"),ie=t.text(I),V=t.space(),G=t.element("li"),te=t.text(Z),t.attr(n,"class","coins-rules__description"),t.attr(c,"class","coins-rules__prize-title"),t.attr(g,"class","coins-rules__list__item"),t.attr(_,"class","coins-rules__list__item"),t.attr(k,"class","coins-rules__list__item"),t.attr(D,"class","coins-rules__list__item"),t.attr(E,"class","coins-rules__list__item"),t.attr(q,"class","coins-rules__list__item"),t.attr(Y,"class","coins-rules__list__item"),t.attr(G,"class","coins-rules__list__item"),t.attr(m,"class","coins-rules__list"),t.attr(e,"class","coins-rules")},m(O,N){t.insert(O,e,N),t.append(e,n),t.append(n,i),t.append(e,o),z&&z.m(e,null),t.append(e,s),t.append(e,l),t.append(l,c),t.append(c,f),t.append(l,p),t.append(l,m),t.append(m,g),t.append(g,b),t.append(m,v),t.append(m,_),t.append(_,C),t.append(m,P),t.append(m,k),t.append(k,R),t.append(m,j),t.append(m,D),t.append(D,T),t.append(m,U),t.append(m,E),t.append(E,M),t.append(m,X),t.append(m,q),t.append(q,d),t.append(m,w),t.append(m,Y),t.append(Y,ie),t.append(m,V),t.append(m,G),t.append(G,te)},p(O,N){N[0]&1024&&r!==(r=O[10]("rulesDescription")+"")&&t.set_data(i,r),O[8]?z?z.p(O,N):(z=We(O),z.c(),z.m(e,s)):z&&(z.d(1),z=null),N[0]&1024&&u!==(u=O[10]("prizeAgenda")+"")&&t.set_data(f,u),N[0]&1024&&h!==(h=O[10]("tournamentTicket")+"")&&t.set_data(b,h),N[0]&1024&&x!==(x=O[10]("freeSpins")+"")&&t.set_data(C,x),N[0]&1024&&W!==(W=O[10]("bonusMoney")+"")&&t.set_data(R,W),N[0]&1024&&F!==(F=O[10]("loyaltyPoints")+"")&&t.set_data(T,F),N[0]&1024&&A!==(A=O[10]("luckyWheel")+"")&&t.set_data(M,A),N[0]&1024&&S!==(S=O[10]("mysteryChest")+"")&&t.set_data(d,S),N[0]&1024&&I!==(I=O[10]("coinRoyale")+"")&&t.set_data(ie,I),N[0]&1024&&Z!==(Z=O[10]("customRewards")+"")&&t.set_data(te,Z)},d(O){O&&t.detach(e),z&&z.d()}}}function sn(a){let e;function n(o,s){return o[9].length>0?cn:dn}let r=n(a),i=r(a);return{c(){i.c(),e=t.empty()},m(o,s){i.m(o,s),t.insert(o,e,s)},p(o,s){r===(r=n(o))&&i?i.p(o,s):(i.d(1),i=r(o),i&&(i.c(),i.m(e.parentNode,e)))},d(o){o&&t.detach(e),i.d(o)}}}function ln(a){let e;function n(o,s){return o[6].length>0?fn:mn}let r=n(a),i=r(a);return{c(){i.c(),e=t.empty()},m(o,s){i.m(o,s),t.insert(o,e,s)},p(o,s){r===(r=n(o))&&i?i.p(o,s):(i.d(1),i=r(o),i&&(i.c(),i.m(e.parentNode,e)))},d(o){o&&t.detach(e),i.d(o)}}}function un(a){let e;return{c(){e=t.element("div"),e.innerHTML='<ui-skeleton structure="rectangle" width="100%" height="110px"></ui-skeleton>',t.attr(e,"class","coins-loader")},m(n,r){t.insert(n,e,r)},p:t.noop,d(n){n&&t.detach(e)}}}function We(a){let e,n,r=a[10]("terms")+"",i,o,s;return{c(){e=t.element("a"),n=t.element("span"),i=t.text(r),o=t.space(),s=t.element("span"),t.attr(s,"class","arrow-icon"),t.attr(e,"class","coins-rules__terms"),t.attr(e,"href",a[0]),t.attr(e,"target","_blank")},m(l,c){t.insert(l,e,c),t.append(e,n),t.append(n,i),t.append(e,o),t.append(e,s)},p(l,c){c[0]&1024&&r!==(r=l[10]("terms")+"")&&t.set_data(i,r),c[0]&1&&t.attr(e,"href",l[0])},d(l){l&&t.detach(e)}}}function dn(a){let e,n=a[10]("noHistoryYet")+"",r;return{c(){e=t.element("div"),r=t.text(n),t.attr(e,"class","coins-empty")},m(i,o){t.insert(i,e,o),t.append(e,r)},p(i,o){o[0]&1024&&n!==(n=i[10]("noHistoryYet")+"")&&t.set_data(r,n)},d(i){i&&t.detach(e)}}}function cn(a){let e,n=t.ensure_array_like(a[9]),r=[];for(let i=0;i<n.length;i+=1)r[i]=ze(Oe(a,n,i));return{c(){for(let i=0;i<r.length;i+=1)r[i].c();e=t.empty()},m(i,o){for(let s=0;s<r.length;s+=1)r[s]&&r[s].m(i,o);t.insert(i,e,o)},p(i,o){if(o[0]&17920){n=t.ensure_array_like(i[9]);let s;for(s=0;s<n.length;s+=1){const l=Oe(i,n,s);r[s]?r[s].p(l,o):(r[s]=ze(l),r[s].c(),r[s].m(e.parentNode,e))}for(;s<r.length;s+=1)r[s].d(1);r.length=n.length}},d(i){i&&t.detach(e),t.destroy_each(r,i)}}}function Ue(a){var h,b;let e,n,r,i,o=((h=a[39])==null?void 0:h.name)+"",s,l,c,u,f,p,m=((b=a[39])==null?void 0:b.date)+"",g;return{c(){var v;e=t.element("div"),n=t.element("span"),n.textContent=`${a[41]+1}`,r=t.space(),i=t.element("p"),s=t.text(o),l=t.space(),c=t.element("img"),f=t.space(),p=t.element("span"),g=t.text(m),t.attr(n,"class","index"),t.src_url_equal(c.src,u=(v=a[39])!=null&&v.state?xe:ye)||t.attr(c,"src",u),t.attr(c,"alt",""),t.attr(i,"class","name"),t.attr(p,"class","time"),t.attr(e,"class","coins-history__list__item")},m(v,_){t.insert(v,e,_),t.append(e,n),t.append(e,r),t.append(e,i),t.append(i,s),t.append(i,l),t.append(i,c),t.append(e,f),t.append(e,p),t.append(p,g)},p(v,_){var x,C,P;_[0]&512&&o!==(o=((x=v[39])==null?void 0:x.name)+"")&&t.set_data(s,o),_[0]&512&&!t.src_url_equal(c.src,u=(C=v[39])!=null&&C.state?xe:ye)&&t.attr(c,"src",u),_[0]&512&&m!==(m=((P=v[39])==null?void 0:P.date)+"")&&t.set_data(g,m)},d(v){v&&t.detach(e)}}}function Ye(a){let e,n=a[10]("more")+"",r,i,o,s,l,c;function u(){return a[24](a[36])}return{c(){e=t.element("button"),r=t.text(n),i=t.space(),o=t.element("img"),t.src_url_equal(o.src,s=$t)||t.attr(o,"src",s),t.attr(o,"alt","More"),t.attr(e,"class","coins-history__more")},m(f,p){t.insert(f,e,p),t.append(e,r),t.append(e,i),t.append(e,o),l||(c=t.listen(e,"click",u),l=!0)},p(f,p){a=f,p[0]&1024&&n!==(n=a[10]("more")+"")&&t.set_data(r,n)},d(f){f&&t.detach(e),l=!1,c()}}}function ze(a){var p;let e,n,r=a[36].name+"",i,o,s,l,c=t.ensure_array_like(a[36].outcomes.slice(0,a[36].endPos)),u=[];for(let m=0;m<c.length;m+=1)u[m]=Ue(Pe(a,c,m));let f=((p=a[36].outcomes)==null?void 0:p.length)>3&&a[36].endPos===3&&Ye(a);return{c(){e=t.element("div"),n=t.element("div"),i=t.text(r),o=t.space();for(let m=0;m<u.length;m+=1)u[m].c();s=t.space(),f&&f.c(),l=t.space(),t.attr(n,"class","coins-history__title"),t.attr(e,"class","coins-history__list")},m(m,g){t.insert(m,e,g),t.append(e,n),t.append(n,i),t.append(e,o);for(let h=0;h<u.length;h+=1)u[h]&&u[h].m(e,null);t.append(e,s),f&&f.m(e,null),t.append(e,l)},p(m,g){var h;if(g[0]&512&&r!==(r=m[36].name+"")&&t.set_data(i,r),g[0]&512){c=t.ensure_array_like(m[36].outcomes.slice(0,m[36].endPos));let b;for(b=0;b<c.length;b+=1){const v=Pe(m,c,b);u[b]?u[b].p(v,g):(u[b]=Ue(v),u[b].c(),u[b].m(e,s))}for(;b<u.length;b+=1)u[b].d(1);u.length=c.length}((h=m[36].outcomes)==null?void 0:h.length)>3&&m[36].endPos===3?f?f.p(m,g):(f=Ye(m),f.c(),f.m(e,l)):f&&(f.d(1),f=null)},d(m){m&&t.detach(e),t.destroy_each(u,m),f&&f.d()}}}function mn(a){let e,n=a[10]("noCoinYet")+"",r;return{c(){e=t.element("div"),r=t.text(n),t.attr(e,"class","coins-empty")},m(i,o){t.insert(i,e,o),t.append(e,r)},p(i,o){o[0]&1024&&n!==(n=i[10]("noCoinYet")+"")&&t.set_data(r,n)},d(i){i&&t.detach(e)}}}function fn(a){let e,n=t.ensure_array_like(a[6]),r=[];for(let i=0;i<n.length;i+=1)r[i]=Ee(De(a,n,i));return{c(){e=t.element("div");for(let i=0;i<r.length;i+=1)r[i].c();t.attr(e,"class","coins-list")},m(i,o){t.insert(i,e,o);for(let s=0;s<r.length;s+=1)r[s]&&r[s].m(e,null)},p(i,o){if(o[0]&65602){n=t.ensure_array_like(i[6]);let s;for(s=0;s<n.length;s+=1){const l=De(i,n,s);r[s]?r[s].p(l,o):(r[s]=Ee(l),r[s].c(),r[s].m(e,null))}for(;s<r.length;s+=1)r[s].d(1);r.length=n.length}},d(i){i&&t.detach(e),t.destroy_each(r,i)}}}function Ee(a){var v,_;let e,n=(a[33].program.name[a[1]]||a[33].program.name[ee.default])+"",r,i,o,s,l,c,u,f=((_=(v=a[33])==null?void 0:v.current)==null?void 0:_.remainingTimes)+"",p,m,g,h;function b(){return a[23](a[33])}return{c(){e=t.element("button"),r=t.text(n),i=t.space(),o=t.element("div"),s=t.element("img"),c=t.space(),u=t.element("span"),p=t.text(f),m=t.space(),t.src_url_equal(s.src,l=Kt)||t.attr(s,"src",l),t.attr(s,"alt","Key"),t.attr(o,"class","coins-list__item__keys"),t.attr(e,"class","coins-list__item")},m(x,C){t.insert(x,e,C),t.append(e,r),t.append(e,i),t.append(e,o),t.append(o,s),t.append(o,c),t.append(o,u),t.append(u,p),t.append(e,m),g||(h=t.listen(e,"click",b),g=!0)},p(x,C){var P,k;a=x,C[0]&66&&n!==(n=(a[33].program.name[a[1]]||a[33].program.name[ee.default])+"")&&t.set_data(r,n),C[0]&64&&f!==(f=((k=(P=a[33])==null?void 0:P.current)==null?void 0:k.remainingTimes)+"")&&t.set_data(p,f)},d(x){x&&t.detach(e),g=!1,h()}}}function pn(a){let e,n,r,i,o,s,l,c,u,f=a[10]("headerTitle")+"",p,m,g,h,b,v,_,x=a[10]("play")+"",C,P,k,W=a[10]("history")+"",R,j,D,F=a[10]("rules")+"",T,U,E,A,M=a[7]&&Se(a);function X(d,w){return d[5]||d[4]?un:d[3]===1?ln:d[3]===2?sn:on}let q=X(a),S=q(a);return{c(){e=t.element("div"),n=t.element("button"),r=t.space(),i=t.element("div"),M&&M.c(),o=t.space(),s=t.element("div"),l=t.element("button"),c=t.space(),u=t.element("div"),p=t.text(f),m=t.space(),g=t.element("button"),h=t.space(),b=t.element("div"),v=t.element("div"),_=t.element("button"),C=t.text(x),P=t.space(),k=t.element("button"),R=t.text(W),j=t.space(),D=t.element("button"),T=t.text(F),U=t.space(),S.c(),t.attr(n,"class","overlay"),t.attr(l,"class","icon-button help"),t.attr(u,"class","coins-header__title"),t.attr(g,"class","icon-button close"),t.attr(s,"class","coins-header"),t.attr(_,"data-index","1"),t.attr(_,"class","coins-tabs__tab"),t.toggle_class(_,"active",a[3]===1),t.attr(k,"data-index","2"),t.attr(k,"class","coins-tabs__tab"),t.toggle_class(k,"active",a[3]===2),t.attr(D,"data-index","3"),t.attr(D,"class","coins-tabs__tab"),t.toggle_class(D,"active",a[3]===3),t.attr(v,"class","coins-tabs__container"),t.attr(b,"class","coins-tabs"),t.attr(i,"class","drawer "+(a[11]?"mobile":"")),t.attr(e,"part","CustomStylingContainer")},m(d,w){t.insert(d,e,w),t.append(e,n),t.append(e,r),t.append(e,i),M&&M.m(i,null),t.append(i,o),t.append(i,s),t.append(s,l),t.append(s,c),t.append(s,u),t.append(u,p),t.append(s,m),t.append(s,g),t.append(i,h),t.append(i,b),t.append(b,v),t.append(v,_),t.append(_,C),t.append(v,P),t.append(v,k),t.append(k,R),t.append(v,j),t.append(v,D),t.append(D,T),t.append(i,U),S.m(i,null),a[25](e),E||(A=[t.listen(n,"click",a[12]),t.listen(l,"click",a[13]),t.listen(g,"click",a[12]),t.listen(_,"click",a[15]),t.listen(k,"click",a[15]),t.listen(D,"click",a[15])],E=!0)},p(d,w){d[7]?M?M.p(d,w):(M=Se(d),M.c(),M.m(i,o)):M&&(M.d(1),M=null),w[0]&1024&&f!==(f=d[10]("headerTitle")+"")&&t.set_data(p,f),w[0]&1024&&x!==(x=d[10]("play")+"")&&t.set_data(C,x),w[0]&8&&t.toggle_class(_,"active",d[3]===1),w[0]&1024&&W!==(W=d[10]("history")+"")&&t.set_data(R,W),w[0]&8&&t.toggle_class(k,"active",d[3]===2),w[0]&1024&&F!==(F=d[10]("rules")+"")&&t.set_data(T,F),w[0]&8&&t.toggle_class(D,"active",d[3]===3),q===(q=X(d))&&S?S.p(d,w):(S.d(1),S=q(d),S&&(S.c(),S.m(i,null)))},i:t.noop,o:t.noop,d(d){d&&t.detach(e),M&&M.d(),S.d(),a[25](null),E=!1,t.run_all(A)}}}function hn(a,e,n){let r;t.component_subscribe(a,t.$format,d=>n(10,r=d));let{terms:i=""}=e,{lang:o=ee.en}=e,{endpoint:s=""}=e,{session:l=""}=e,{clientstyling:c=""}=e,{clientstylingurl:u=""}=e,{translationurl:f=""}=e,{mbsource:p}=e,m=window.navigator.userAgent,g=t.isMobile(m),h,b=1,v=!1,_=!1,x=[],C=!1,P=!1,k;const W=d=>/(https?:\/\/[^\s]+)/g.test(d),R=()=>{_e({type:"CloseCoinRoyaleDrawer"})},j=()=>{n(7,C=!C)},D=()=>H(this,null,function*(){n(4,v=!0);let d=x.map(w=>({id:w.program.id,name:w.program.name[o]||w.program.name[ee.default],partitions:w.program.wheelOfFortune.partitions,endPos:0,outcomes:[]}));if(d.length>0){const w=d.map((Y,I)=>H(this,null,function*(){const V=(yield Ce.outcome(s,l,Y==null?void 0:Y.id)).items||[];if(V.length===0){d[I]=null;return}d[I]=he(de({},Y),{endPos:V.length>3?3:V.length,outcomes:V.map(G=>{var O;const Z=((O=Y.partitions[G.draw.result.wheelOfFortunePartitionIndex])==null?void 0:O.name)||{},te=G.draw.state==="fulfilled",z=Re(new Date(G.draw.time),"LLL d, yyyy HH:mm:ss");return{name:Z[o]||Z[ee.default],state:te,date:z}})})}));yield Promise.all(w)}n(9,k=d.filter(w=>!!w)),n(4,v=!1)}),F=()=>H(this,null,function*(){n(5,_=!0);const d=yield Ce.lotteries(s,l);n(6,x=d.filter(w=>nn(w))),n(5,_=!1)}),T=d=>{var Y;const w=k.findIndex(I=>I.id===d);n(9,k[w].endPos=(Y=k[w].outcomes)==null?void 0:Y.length,k)},U=d=>H(this,null,function*(){n(3,b=+d.target.getAttribute("data-index")),b===2&&(yield D())}),E=()=>{fetch(f).then(w=>w.json()).then(w=>{Object.keys(w).forEach(Y=>{Te(Y,w[Y])})})};Object.keys(Me).forEach(d=>{Te(d,Me[d])});const A=()=>{an(o)},M=d=>{_e({type:"OpenCoinRoyaleDetails",data:d})};t.onMount(()=>{n(8,P=W(i)),F()});const X=d=>{M(d)},q=d=>T(d.id);function S(d){t.binding_callbacks[d?"unshift":"push"](()=>{h=d,n(2,h)})}return a.$$set=d=>{"terms"in d&&n(0,i=d.terms),"lang"in d&&n(1,o=d.lang),"endpoint"in d&&n(17,s=d.endpoint),"session"in d&&n(18,l=d.session),"clientstyling"in d&&n(19,c=d.clientstyling),"clientstylingurl"in d&&n(20,u=d.clientstylingurl),"translationurl"in d&&n(21,f=d.translationurl),"mbsource"in d&&n(22,p=d.mbsource)},a.$$.update=()=>{a.$$.dirty[0]&2&&o&&A(),a.$$.dirty[0]&524292&&c&&h&&ce.setClientStyling(h,c),a.$$.dirty[0]&1048580&&u&&h&&ce.setClientStylingURL(h,u),a.$$.dirty[0]&2097152&&f&&E(),a.$$.dirty[0]&4194308&&p&&h&&ce.setStreamStyling(h,`${p}.Style`)},[i,o,h,b,v,_,x,C,P,k,r,g,R,j,T,U,M,s,l,c,u,f,p,X,q,S]}class qe extends t.SvelteComponent{constructor(e){super(),t.init(this,e,hn,pn,t.safe_not_equal,{terms:0,lang:1,endpoint:17,session:18,clientstyling:19,clientstylingurl:20,translationurl:21,mbsource:22},rn,[-1,-1])}get terms(){return this.$$.ctx[0]}set terms(e){this.$$set({terms:e}),t.flush()}get lang(){return this.$$.ctx[1]}set lang(e){this.$$set({lang:e}),t.flush()}get endpoint(){return this.$$.ctx[17]}set endpoint(e){this.$$set({endpoint:e}),t.flush()}get session(){return this.$$.ctx[18]}set session(e){this.$$set({session:e}),t.flush()}get clientstyling(){return this.$$.ctx[19]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[20]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get translationurl(){return this.$$.ctx[21]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get mbsource(){return this.$$.ctx[22]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}}t.create_custom_element(qe,{terms:{},lang:{},endpoint:{},session:{},clientstyling:{},clientstylingurl:{},translationurl:{},mbsource:{}},[],[],!0);const gn=Object.freeze(Object.defineProperty({__proto__:null,default:qe},Symbol.toStringTag,{value:"Module"}));exports.CasinoCoinroyaleList_ce=gn;exports.format=Re;
|
|
@@ -1,519 +0,0 @@
|
|
|
1
|
-
var x = (e, t, s) => new Promise((r, n) => {
|
|
2
|
-
var a = (i) => {
|
|
3
|
-
try {
|
|
4
|
-
o(s.next(i));
|
|
5
|
-
} catch ($) {
|
|
6
|
-
n($);
|
|
7
|
-
}
|
|
8
|
-
}, l = (i) => {
|
|
9
|
-
try {
|
|
10
|
-
o(s.throw(i));
|
|
11
|
-
} catch ($) {
|
|
12
|
-
n($);
|
|
13
|
-
}
|
|
14
|
-
}, o = (i) => i.done ? r(i.value) : Promise.resolve(i.value).then(a, l);
|
|
15
|
-
o((s = s.apply(e, t)).next());
|
|
16
|
-
});
|
|
17
|
-
const oe = "ui-skeleton", $e = (
|
|
18
|
-
/* ui-skeleton */
|
|
19
|
-
{ hydratedSelectorName: "hydrated" }
|
|
20
|
-
);
|
|
21
|
-
var ce = Object.defineProperty, ue = (e, t) => {
|
|
22
|
-
for (var s in t)
|
|
23
|
-
ce(e, s, { get: t[s], enumerable: !0 });
|
|
24
|
-
}, U = /* @__PURE__ */ new WeakMap(), b = (e) => U.get(e), Qe = (e, t) => U.set(t.$lazyInstance$ = e, t), fe = (e, t) => {
|
|
25
|
-
const s = {
|
|
26
|
-
$flags$: 0,
|
|
27
|
-
$hostElement$: e,
|
|
28
|
-
$cmpMeta$: t,
|
|
29
|
-
$instanceValues$: /* @__PURE__ */ new Map()
|
|
30
|
-
};
|
|
31
|
-
return s.$onReadyPromise$ = new Promise((r) => s.$onReadyResolve$ = r), e["s-p"] = [], e["s-rc"] = [], U.set(e, s);
|
|
32
|
-
}, E = (e, t) => (0, console.error)(e, t), O = /* @__PURE__ */ new Map(), de = (e, t, s) => {
|
|
33
|
-
const r = e.$tagName$.replace(/-/g, "_"), n = e.$lazyBundleId$;
|
|
34
|
-
if (!n)
|
|
35
|
-
return;
|
|
36
|
-
const a = O.get(n);
|
|
37
|
-
if (a)
|
|
38
|
-
return a[r];
|
|
39
|
-
{
|
|
40
|
-
const l = (o) => (O.set(n, o), o[r]);
|
|
41
|
-
switch (n) {
|
|
42
|
-
case "ui-skeleton":
|
|
43
|
-
return import(
|
|
44
|
-
/* webpackMode: "lazy" */
|
|
45
|
-
"./ui-skeleton-Ca5rz3Hv.js"
|
|
46
|
-
).then(l, E);
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
return import(
|
|
50
|
-
/* @vite-ignore */
|
|
51
|
-
/* webpackInclude: /\.entry\.js$/ */
|
|
52
|
-
/* webpackExclude: /\.system\.entry\.js$/ */
|
|
53
|
-
/* webpackMode: "lazy" */
|
|
54
|
-
`./${n}.entry.js`
|
|
55
|
-
).then((l) => (O.set(n, l), l[r]), E);
|
|
56
|
-
}, _ = /* @__PURE__ */ new Map(), me = "{visibility:hidden}.hydrated{visibility:inherit}", J = "slot-fb{display:contents}slot-fb[hidden]{display:none}", B = typeof window != "undefined" ? window : {}, y = B.document || { head: {} }, g = {
|
|
57
|
-
$flags$: 0,
|
|
58
|
-
$resourcesUrl$: "",
|
|
59
|
-
jmp: (e) => e(),
|
|
60
|
-
raf: (e) => requestAnimationFrame(e),
|
|
61
|
-
ael: (e, t, s, r) => e.addEventListener(t, s, r),
|
|
62
|
-
rel: (e, t, s, r) => e.removeEventListener(t, s, r),
|
|
63
|
-
ce: (e, t) => new CustomEvent(e, t)
|
|
64
|
-
}, ve = (e) => Promise.resolve(e), ge = /* @__PURE__ */ (() => {
|
|
65
|
-
try {
|
|
66
|
-
return new CSSStyleSheet(), typeof new CSSStyleSheet().replaceSync == "function";
|
|
67
|
-
} catch (e) {
|
|
68
|
-
}
|
|
69
|
-
return !1;
|
|
70
|
-
})(), A = !1, C = [], K = [], he = (e, t) => (s) => {
|
|
71
|
-
e.push(s), A || (A = !0, g.$flags$ & 4 ? z(H) : g.raf(H));
|
|
72
|
-
}, D = (e) => {
|
|
73
|
-
for (let t = 0; t < e.length; t++)
|
|
74
|
-
try {
|
|
75
|
-
e[t](performance.now());
|
|
76
|
-
} catch (s) {
|
|
77
|
-
E(s);
|
|
78
|
-
}
|
|
79
|
-
e.length = 0;
|
|
80
|
-
}, H = () => {
|
|
81
|
-
D(C), D(K), (A = C.length > 0) && g.raf(H);
|
|
82
|
-
}, z = (e) => ve().then(e), pe = /* @__PURE__ */ he(K), F = {}, Q = (e) => (e = typeof e, e === "object" || e === "function");
|
|
83
|
-
function X(e) {
|
|
84
|
-
var t, s, r;
|
|
85
|
-
return (r = (s = (t = e.head) == null ? void 0 : t.querySelector('meta[name="csp-nonce"]')) == null ? void 0 : s.getAttribute("content")) != null ? r : void 0;
|
|
86
|
-
}
|
|
87
|
-
var ye = {};
|
|
88
|
-
ue(ye, {
|
|
89
|
-
err: () => Z,
|
|
90
|
-
map: () => Se,
|
|
91
|
-
ok: () => I,
|
|
92
|
-
unwrap: () => be,
|
|
93
|
-
unwrapErr: () => ke
|
|
94
|
-
});
|
|
95
|
-
var I = (e) => ({
|
|
96
|
-
isOk: !0,
|
|
97
|
-
isErr: !1,
|
|
98
|
-
value: e
|
|
99
|
-
}), Z = (e) => ({
|
|
100
|
-
isOk: !1,
|
|
101
|
-
isErr: !0,
|
|
102
|
-
value: e
|
|
103
|
-
});
|
|
104
|
-
function Se(e, t) {
|
|
105
|
-
if (e.isOk) {
|
|
106
|
-
const s = t(e.value);
|
|
107
|
-
return s instanceof Promise ? s.then((r) => I(r)) : I(s);
|
|
108
|
-
}
|
|
109
|
-
if (e.isErr) {
|
|
110
|
-
const s = e.value;
|
|
111
|
-
return Z(s);
|
|
112
|
-
}
|
|
113
|
-
throw "should never get here";
|
|
114
|
-
}
|
|
115
|
-
var be = (e) => {
|
|
116
|
-
if (e.isOk)
|
|
117
|
-
return e.value;
|
|
118
|
-
throw e.value;
|
|
119
|
-
}, ke = (e) => {
|
|
120
|
-
if (e.isErr)
|
|
121
|
-
return e.value;
|
|
122
|
-
throw e.value;
|
|
123
|
-
}, S = (e, t = "") => () => {
|
|
124
|
-
}, Ee = (e, t) => () => {
|
|
125
|
-
}, we = (e, t, ...s) => {
|
|
126
|
-
let r = null, n = null, a = !1, l = !1;
|
|
127
|
-
const o = [], i = (c) => {
|
|
128
|
-
for (let u = 0; u < c.length; u++)
|
|
129
|
-
r = c[u], Array.isArray(r) ? i(r) : r != null && typeof r != "boolean" && ((a = typeof e != "function" && !Q(r)) && (r = String(r)), a && l ? o[o.length - 1].$text$ += r : o.push(a ? N(null, r) : r), l = a);
|
|
130
|
-
};
|
|
131
|
-
if (i(s), t) {
|
|
132
|
-
t.key && (n = t.key);
|
|
133
|
-
{
|
|
134
|
-
const c = t.className || t.class;
|
|
135
|
-
c && (t.class = typeof c != "object" ? c : Object.keys(c).filter((u) => c[u]).join(" "));
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
const $ = N(e, null);
|
|
139
|
-
return $.$attrs$ = t, o.length > 0 && ($.$children$ = o), $.$key$ = n, $;
|
|
140
|
-
}, N = (e, t) => {
|
|
141
|
-
const s = {
|
|
142
|
-
$flags$: 0,
|
|
143
|
-
$tag$: e,
|
|
144
|
-
$text$: t,
|
|
145
|
-
$elm$: null,
|
|
146
|
-
$children$: null
|
|
147
|
-
};
|
|
148
|
-
return s.$attrs$ = null, s.$key$ = null, s;
|
|
149
|
-
}, xe = {}, Pe = (e) => e && e.$tag$ === xe, Te = (e, t) => e != null && !Q(e) ? t & 4 ? e === "false" ? !1 : e === "" || !!e : t & 2 ? parseFloat(e) : t & 1 ? String(e) : e : e, _e = (e, t, s) => {
|
|
150
|
-
const r = g.ce(t, s);
|
|
151
|
-
return e.dispatchEvent(r), r;
|
|
152
|
-
}, M = /* @__PURE__ */ new WeakMap(), je = (e, t, s) => {
|
|
153
|
-
let r = _.get(e);
|
|
154
|
-
ge && s ? (r = r || new CSSStyleSheet(), typeof r == "string" ? r = t : r.replaceSync(t)) : r = t, _.set(e, r);
|
|
155
|
-
}, Le = (e, t, s) => {
|
|
156
|
-
var r;
|
|
157
|
-
const n = R(t), a = _.get(n);
|
|
158
|
-
if (e = e.nodeType === 11 ? e : y, a)
|
|
159
|
-
if (typeof a == "string") {
|
|
160
|
-
e = e.head || e;
|
|
161
|
-
let l = M.get(e), o;
|
|
162
|
-
if (l || M.set(e, l = /* @__PURE__ */ new Set()), !l.has(n)) {
|
|
163
|
-
{
|
|
164
|
-
o = y.createElement("style"), o.innerHTML = a;
|
|
165
|
-
const i = (r = g.$nonce$) != null ? r : X(y);
|
|
166
|
-
i != null && o.setAttribute("nonce", i), e.insertBefore(o, e.querySelector("link"));
|
|
167
|
-
}
|
|
168
|
-
t.$flags$ & 4 && (o.innerHTML += J), l && l.add(n);
|
|
169
|
-
}
|
|
170
|
-
} else
|
|
171
|
-
e.adoptedStyleSheets.includes(a) || (e.adoptedStyleSheets = [...e.adoptedStyleSheets, a]);
|
|
172
|
-
return n;
|
|
173
|
-
}, Oe = (e) => {
|
|
174
|
-
const t = e.$cmpMeta$, s = e.$hostElement$, r = S("attachStyles", t.$tagName$);
|
|
175
|
-
Le(
|
|
176
|
-
s.getRootNode(),
|
|
177
|
-
t
|
|
178
|
-
), r();
|
|
179
|
-
}, R = (e, t) => "sc-" + e.$tagName$, W = (e, t, s, r, n, a) => {
|
|
180
|
-
if (s !== r && (t.toLowerCase(), t === "class")) {
|
|
181
|
-
const l = e.classList, o = Y(s), i = Y(r);
|
|
182
|
-
l.remove(...o.filter(($) => $ && !i.includes($))), l.add(...i.filter(($) => $ && !o.includes($)));
|
|
183
|
-
}
|
|
184
|
-
}, Ae = /\s/, Y = (e) => e ? e.split(Ae) : [], V = (e, t, s) => {
|
|
185
|
-
const r = t.$elm$.nodeType === 11 && t.$elm$.host ? t.$elm$.host : t.$elm$, n = e && e.$attrs$ || F, a = t.$attrs$ || F;
|
|
186
|
-
for (const l of G(Object.keys(n)))
|
|
187
|
-
l in a || W(r, l, n[l], void 0);
|
|
188
|
-
for (const l of G(Object.keys(a)))
|
|
189
|
-
W(r, l, n[l], a[l]);
|
|
190
|
-
};
|
|
191
|
-
function G(e) {
|
|
192
|
-
return e.includes("ref") ? (
|
|
193
|
-
// we need to sort these to ensure that `'ref'` is the last attr
|
|
194
|
-
[...e.filter((t) => t !== "ref"), "ref"]
|
|
195
|
-
) : (
|
|
196
|
-
// no need to sort, return the original array
|
|
197
|
-
e
|
|
198
|
-
);
|
|
199
|
-
}
|
|
200
|
-
var ee, j = (e, t, s, r) => {
|
|
201
|
-
const n = t.$children$[s];
|
|
202
|
-
let a = 0, l, o;
|
|
203
|
-
if (n.$text$ !== null)
|
|
204
|
-
l = n.$elm$ = y.createTextNode(n.$text$);
|
|
205
|
-
else if (l = n.$elm$ = y.createElement(
|
|
206
|
-
n.$tag$
|
|
207
|
-
), V(null, n), n.$children$)
|
|
208
|
-
for (a = 0; a < n.$children$.length; ++a)
|
|
209
|
-
o = j(e, n, a), o && l.appendChild(o);
|
|
210
|
-
return l["s-hn"] = ee, l;
|
|
211
|
-
}, te = (e, t, s, r, n, a) => {
|
|
212
|
-
let l = e, o;
|
|
213
|
-
for (; n <= a; ++n)
|
|
214
|
-
r[n] && (o = j(null, s, n), o && (r[n].$elm$ = o, T(l, o, t)));
|
|
215
|
-
}, ne = (e, t, s) => {
|
|
216
|
-
for (let r = t; r <= s; ++r) {
|
|
217
|
-
const n = e[r];
|
|
218
|
-
if (n) {
|
|
219
|
-
const a = n.$elm$;
|
|
220
|
-
a && a.remove();
|
|
221
|
-
}
|
|
222
|
-
}
|
|
223
|
-
}, He = (e, t, s, r, n = !1) => {
|
|
224
|
-
let a = 0, l = 0, o = 0, i = 0, $ = t.length - 1, c = t[0], u = t[$], f = r.length - 1, d = r[0], m = r[f], v, h;
|
|
225
|
-
for (; a <= $ && l <= f; )
|
|
226
|
-
if (c == null)
|
|
227
|
-
c = t[++a];
|
|
228
|
-
else if (u == null)
|
|
229
|
-
u = t[--$];
|
|
230
|
-
else if (d == null)
|
|
231
|
-
d = r[++l];
|
|
232
|
-
else if (m == null)
|
|
233
|
-
m = r[--f];
|
|
234
|
-
else if (P(c, d, n))
|
|
235
|
-
k(c, d, n), c = t[++a], d = r[++l];
|
|
236
|
-
else if (P(u, m, n))
|
|
237
|
-
k(u, m, n), u = t[--$], m = r[--f];
|
|
238
|
-
else if (P(c, m, n))
|
|
239
|
-
k(c, m, n), T(e, c.$elm$, u.$elm$.nextSibling), c = t[++a], m = r[--f];
|
|
240
|
-
else if (P(u, d, n))
|
|
241
|
-
k(u, d, n), T(e, u.$elm$, c.$elm$), u = t[--$], d = r[++l];
|
|
242
|
-
else {
|
|
243
|
-
for (o = -1, i = a; i <= $; ++i)
|
|
244
|
-
if (t[i] && t[i].$key$ !== null && t[i].$key$ === d.$key$) {
|
|
245
|
-
o = i;
|
|
246
|
-
break;
|
|
247
|
-
}
|
|
248
|
-
o >= 0 ? (h = t[o], h.$tag$ !== d.$tag$ ? v = j(t && t[l], s, o) : (k(h, d, n), t[o] = void 0, v = h.$elm$), d = r[++l]) : (v = j(t && t[l], s, l), d = r[++l]), v && T(c.$elm$.parentNode, v, c.$elm$);
|
|
249
|
-
}
|
|
250
|
-
a > $ ? te(
|
|
251
|
-
e,
|
|
252
|
-
r[f + 1] == null ? null : r[f + 1].$elm$,
|
|
253
|
-
s,
|
|
254
|
-
r,
|
|
255
|
-
l,
|
|
256
|
-
f
|
|
257
|
-
) : l > f && ne(t, a, $);
|
|
258
|
-
}, P = (e, t, s = !1) => e.$tag$ === t.$tag$ ? s ? !0 : e.$key$ === t.$key$ : !1, k = (e, t, s = !1) => {
|
|
259
|
-
const r = t.$elm$ = e.$elm$, n = e.$children$, a = t.$children$, l = t.$text$;
|
|
260
|
-
l === null ? (V(e, t), n !== null && a !== null ? He(r, n, t, a, s) : a !== null ? (e.$text$ !== null && (r.textContent = ""), te(r, null, t, a, 0, a.length - 1)) : n !== null && ne(n, 0, n.length - 1)) : e.$text$ !== l && (r.data = l);
|
|
261
|
-
}, T = (e, t, s) => e == null ? void 0 : e.insertBefore(t, s), Ie = (e, t, s = !1) => {
|
|
262
|
-
const r = e.$hostElement$, n = e.$vnode$ || N(null, null), a = Pe(t) ? t : we(null, null, t);
|
|
263
|
-
if (ee = r.tagName, s && a.$attrs$)
|
|
264
|
-
for (const l of Object.keys(a.$attrs$))
|
|
265
|
-
r.hasAttribute(l) && !["key", "ref", "style", "class"].includes(l) && (a.$attrs$[l] = r[l]);
|
|
266
|
-
a.$tag$ = null, a.$flags$ |= 4, e.$vnode$ = a, a.$elm$ = n.$elm$ = r, k(n, a, s);
|
|
267
|
-
}, se = (e, t) => {
|
|
268
|
-
t && !e.$onRenderResolve$ && t["s-p"] && t["s-p"].push(new Promise((s) => e.$onRenderResolve$ = s));
|
|
269
|
-
}, q = (e, t) => {
|
|
270
|
-
if (e.$flags$ |= 16, e.$flags$ & 4) {
|
|
271
|
-
e.$flags$ |= 512;
|
|
272
|
-
return;
|
|
273
|
-
}
|
|
274
|
-
return se(e, e.$ancestorComponent$), pe(() => Ne(e, t));
|
|
275
|
-
}, Ne = (e, t) => {
|
|
276
|
-
const s = e.$hostElement$, r = S("scheduleUpdate", e.$cmpMeta$.$tagName$), n = e.$lazyInstance$;
|
|
277
|
-
if (!n)
|
|
278
|
-
throw new Error(
|
|
279
|
-
`Can't render component <${s.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`
|
|
280
|
-
);
|
|
281
|
-
let a;
|
|
282
|
-
return r(), Ue(a, () => ze(e, n, t));
|
|
283
|
-
}, Ue = (e, t) => Be(e) ? e.then(t).catch((s) => {
|
|
284
|
-
console.error(s), t();
|
|
285
|
-
}) : t(), Be = (e) => e instanceof Promise || e && e.then && typeof e.then == "function", ze = (e, t, s) => x(void 0, null, function* () {
|
|
286
|
-
var r;
|
|
287
|
-
const n = e.$hostElement$, a = S("update", e.$cmpMeta$.$tagName$), l = n["s-rc"];
|
|
288
|
-
s && Oe(e);
|
|
289
|
-
const o = S("render", e.$cmpMeta$.$tagName$);
|
|
290
|
-
qe(e, t, n, s), l && (l.map((i) => i()), n["s-rc"] = void 0), o(), a();
|
|
291
|
-
{
|
|
292
|
-
const i = (r = n["s-p"]) != null ? r : [], $ = () => Ce(e);
|
|
293
|
-
i.length === 0 ? $() : (Promise.all(i).then($), e.$flags$ |= 4, i.length = 0);
|
|
294
|
-
}
|
|
295
|
-
}), qe = (e, t, s, r) => {
|
|
296
|
-
try {
|
|
297
|
-
t = t.render(), e.$flags$ &= -17, e.$flags$ |= 2, Ie(e, t, r);
|
|
298
|
-
} catch (n) {
|
|
299
|
-
E(n, e.$hostElement$);
|
|
300
|
-
}
|
|
301
|
-
return null;
|
|
302
|
-
}, Ce = (e) => {
|
|
303
|
-
const t = e.$cmpMeta$.$tagName$, s = e.$hostElement$, r = S("postUpdate", t), n = e.$ancestorComponent$;
|
|
304
|
-
e.$flags$ & 64 ? r() : (e.$flags$ |= 64, le(s), r(), e.$onReadyResolve$(s), n || re()), e.$onRenderResolve$ && (e.$onRenderResolve$(), e.$onRenderResolve$ = void 0), e.$flags$ & 512 && z(() => q(e, !1)), e.$flags$ &= -517;
|
|
305
|
-
}, re = (e) => {
|
|
306
|
-
le(y.documentElement), z(() => _e(B, "appload", { detail: { namespace: oe } }));
|
|
307
|
-
}, le = (e) => {
|
|
308
|
-
var t;
|
|
309
|
-
return e.classList.add((t = $e.hydratedSelectorName) != null ? t : "hydrated");
|
|
310
|
-
}, De = (e, t) => b(e).$instanceValues$.get(t), Fe = (e, t, s, r) => {
|
|
311
|
-
const n = b(e);
|
|
312
|
-
if (!n)
|
|
313
|
-
throw new Error(
|
|
314
|
-
`Couldn't find host element for "${r.$tagName$}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`
|
|
315
|
-
);
|
|
316
|
-
const a = n.$hostElement$, l = n.$instanceValues$.get(t), o = n.$flags$, i = n.$lazyInstance$;
|
|
317
|
-
s = Te(s, r.$members$[t][0]);
|
|
318
|
-
const $ = Number.isNaN(l) && Number.isNaN(s), c = s !== l && !$;
|
|
319
|
-
if ((!(o & 8) || l === void 0) && c && (n.$instanceValues$.set(t, s), i)) {
|
|
320
|
-
if (r.$watchers$ && o & 128) {
|
|
321
|
-
const u = r.$watchers$[t];
|
|
322
|
-
u && u.map((f) => {
|
|
323
|
-
try {
|
|
324
|
-
i[f](s, l, t);
|
|
325
|
-
} catch (d) {
|
|
326
|
-
E(d, a);
|
|
327
|
-
}
|
|
328
|
-
});
|
|
329
|
-
}
|
|
330
|
-
(o & 18) === 2 && q(n, !1);
|
|
331
|
-
}
|
|
332
|
-
}, ae = (e, t, s) => {
|
|
333
|
-
var r, n;
|
|
334
|
-
const a = e.prototype;
|
|
335
|
-
if (t.$members$ || t.$watchers$ || e.watchers) {
|
|
336
|
-
e.watchers && !t.$watchers$ && (t.$watchers$ = e.watchers);
|
|
337
|
-
const l = Object.entries((r = t.$members$) != null ? r : {});
|
|
338
|
-
if (l.map(([o, [i]]) => {
|
|
339
|
-
(i & 31 || s & 2 && i & 32) && Object.defineProperty(a, o, {
|
|
340
|
-
get() {
|
|
341
|
-
return De(this, o);
|
|
342
|
-
},
|
|
343
|
-
set($) {
|
|
344
|
-
Fe(this, o, $, t);
|
|
345
|
-
},
|
|
346
|
-
configurable: !0,
|
|
347
|
-
enumerable: !0
|
|
348
|
-
});
|
|
349
|
-
}), s & 1) {
|
|
350
|
-
const o = /* @__PURE__ */ new Map();
|
|
351
|
-
a.attributeChangedCallback = function(i, $, c) {
|
|
352
|
-
g.jmp(() => {
|
|
353
|
-
var u;
|
|
354
|
-
const f = o.get(i);
|
|
355
|
-
if (this.hasOwnProperty(f))
|
|
356
|
-
c = this[f], delete this[f];
|
|
357
|
-
else {
|
|
358
|
-
if (a.hasOwnProperty(f) && typeof this[f] == "number" && this[f] == c)
|
|
359
|
-
return;
|
|
360
|
-
if (f == null) {
|
|
361
|
-
const d = b(this), m = d == null ? void 0 : d.$flags$;
|
|
362
|
-
if (m && !(m & 8) && m & 128 && c !== $) {
|
|
363
|
-
const v = d.$lazyInstance$, h = (u = t.$watchers$) == null ? void 0 : u[i];
|
|
364
|
-
h == null || h.forEach((p) => {
|
|
365
|
-
v[p] != null && v[p].call(v, c, $, i);
|
|
366
|
-
});
|
|
367
|
-
}
|
|
368
|
-
return;
|
|
369
|
-
}
|
|
370
|
-
}
|
|
371
|
-
this[f] = c === null && typeof this[f] == "boolean" ? !1 : c;
|
|
372
|
-
});
|
|
373
|
-
}, e.observedAttributes = Array.from(
|
|
374
|
-
/* @__PURE__ */ new Set([
|
|
375
|
-
...Object.keys((n = t.$watchers$) != null ? n : {}),
|
|
376
|
-
...l.filter(
|
|
377
|
-
([i, $]) => $[0] & 15
|
|
378
|
-
/* HasAttribute */
|
|
379
|
-
).map(([i, $]) => {
|
|
380
|
-
const c = $[1] || i;
|
|
381
|
-
return o.set(c, i), c;
|
|
382
|
-
})
|
|
383
|
-
])
|
|
384
|
-
);
|
|
385
|
-
}
|
|
386
|
-
}
|
|
387
|
-
return e;
|
|
388
|
-
}, Me = (e, t, s, r) => x(void 0, null, function* () {
|
|
389
|
-
let n;
|
|
390
|
-
if (!(t.$flags$ & 32)) {
|
|
391
|
-
if (t.$flags$ |= 32, s.$lazyBundleId$) {
|
|
392
|
-
const i = de(s);
|
|
393
|
-
if (i && "then" in i) {
|
|
394
|
-
const c = Ee();
|
|
395
|
-
n = yield i, c();
|
|
396
|
-
} else
|
|
397
|
-
n = i;
|
|
398
|
-
if (!n)
|
|
399
|
-
throw new Error(`Constructor for "${s.$tagName$}#${t.$modeName$}" was not found`);
|
|
400
|
-
n.isProxied || (s.$watchers$ = n.watchers, ae(
|
|
401
|
-
n,
|
|
402
|
-
s,
|
|
403
|
-
2
|
|
404
|
-
/* proxyState */
|
|
405
|
-
), n.isProxied = !0);
|
|
406
|
-
const $ = S("createInstance", s.$tagName$);
|
|
407
|
-
t.$flags$ |= 8;
|
|
408
|
-
try {
|
|
409
|
-
new n(t);
|
|
410
|
-
} catch (c) {
|
|
411
|
-
E(c);
|
|
412
|
-
}
|
|
413
|
-
t.$flags$ &= -9, t.$flags$ |= 128, $();
|
|
414
|
-
} else {
|
|
415
|
-
n = e.constructor;
|
|
416
|
-
const i = e.localName;
|
|
417
|
-
customElements.whenDefined(i).then(
|
|
418
|
-
() => t.$flags$ |= 128
|
|
419
|
-
/* isWatchReady */
|
|
420
|
-
);
|
|
421
|
-
}
|
|
422
|
-
if (n && n.style) {
|
|
423
|
-
let i;
|
|
424
|
-
typeof n.style == "string" && (i = n.style);
|
|
425
|
-
const $ = R(s);
|
|
426
|
-
if (!_.has($)) {
|
|
427
|
-
const c = S("registerStyles", s.$tagName$);
|
|
428
|
-
je($, i, !!(s.$flags$ & 1)), c();
|
|
429
|
-
}
|
|
430
|
-
}
|
|
431
|
-
}
|
|
432
|
-
const a = t.$ancestorComponent$, l = () => q(t, !0);
|
|
433
|
-
a && a["s-rc"] ? a["s-rc"].push(l) : l();
|
|
434
|
-
}), We = (e) => {
|
|
435
|
-
}, Ye = (e) => {
|
|
436
|
-
if (!(g.$flags$ & 1)) {
|
|
437
|
-
const t = b(e), s = t.$cmpMeta$, r = S("connectedCallback", s.$tagName$);
|
|
438
|
-
if (t.$flags$ & 1)
|
|
439
|
-
t != null && t.$lazyInstance$ || t != null && t.$onReadyPromise$ && t.$onReadyPromise$.then(() => We());
|
|
440
|
-
else {
|
|
441
|
-
t.$flags$ |= 1;
|
|
442
|
-
{
|
|
443
|
-
let n = e;
|
|
444
|
-
for (; n = n.parentNode || n.host; )
|
|
445
|
-
if (n["s-p"]) {
|
|
446
|
-
se(t, t.$ancestorComponent$ = n);
|
|
447
|
-
break;
|
|
448
|
-
}
|
|
449
|
-
}
|
|
450
|
-
s.$members$ && Object.entries(s.$members$).map(([n, [a]]) => {
|
|
451
|
-
if (a & 31 && e.hasOwnProperty(n)) {
|
|
452
|
-
const l = e[n];
|
|
453
|
-
delete e[n], e[n] = l;
|
|
454
|
-
}
|
|
455
|
-
}), Me(e, t, s);
|
|
456
|
-
}
|
|
457
|
-
r();
|
|
458
|
-
}
|
|
459
|
-
}, Ge = (e) => {
|
|
460
|
-
}, Je = (e) => x(void 0, null, function* () {
|
|
461
|
-
if (!(g.$flags$ & 1)) {
|
|
462
|
-
const t = b(e);
|
|
463
|
-
t != null && t.$lazyInstance$ || t != null && t.$onReadyPromise$ && t.$onReadyPromise$.then(() => Ge());
|
|
464
|
-
}
|
|
465
|
-
}), Xe = (e, t = {}) => {
|
|
466
|
-
var s;
|
|
467
|
-
const r = S(), n = [], a = t.exclude || [], l = B.customElements, o = y.head, i = /* @__PURE__ */ o.querySelector("meta[charset]"), $ = /* @__PURE__ */ y.createElement("style"), c = [];
|
|
468
|
-
let u, f = !0;
|
|
469
|
-
Object.assign(g, t), g.$resourcesUrl$ = new URL(t.resourcesUrl || "./", y.baseURI).href;
|
|
470
|
-
let d = !1;
|
|
471
|
-
if (e.map((m) => {
|
|
472
|
-
m[1].map((v) => {
|
|
473
|
-
var h;
|
|
474
|
-
const p = {
|
|
475
|
-
$flags$: v[0],
|
|
476
|
-
$tagName$: v[1],
|
|
477
|
-
$members$: v[2],
|
|
478
|
-
$listeners$: v[3]
|
|
479
|
-
};
|
|
480
|
-
p.$flags$ & 4 && (d = !0), p.$members$ = v[2], p.$watchers$ = (h = v[4]) != null ? h : {};
|
|
481
|
-
const w = p.$tagName$, ie = class extends HTMLElement {
|
|
482
|
-
// StencilLazyHost
|
|
483
|
-
constructor(L) {
|
|
484
|
-
super(L), this.hasRegisteredEventListeners = !1, L = this, fe(L, p);
|
|
485
|
-
}
|
|
486
|
-
connectedCallback() {
|
|
487
|
-
b(this), this.hasRegisteredEventListeners || (this.hasRegisteredEventListeners = !0), u && (clearTimeout(u), u = null), f ? c.push(this) : g.jmp(() => Ye(this));
|
|
488
|
-
}
|
|
489
|
-
disconnectedCallback() {
|
|
490
|
-
g.jmp(() => Je(this));
|
|
491
|
-
}
|
|
492
|
-
componentOnReady() {
|
|
493
|
-
return b(this).$onReadyPromise$;
|
|
494
|
-
}
|
|
495
|
-
};
|
|
496
|
-
p.$lazyBundleId$ = m[0], !a.includes(w) && !l.get(w) && (n.push(w), l.define(
|
|
497
|
-
w,
|
|
498
|
-
ae(
|
|
499
|
-
ie,
|
|
500
|
-
p,
|
|
501
|
-
1
|
|
502
|
-
/* isElementConstructor */
|
|
503
|
-
)
|
|
504
|
-
));
|
|
505
|
-
});
|
|
506
|
-
}), n.length > 0 && (d && ($.textContent += J), $.textContent += n.sort() + me, $.innerHTML.length)) {
|
|
507
|
-
$.setAttribute("data-styles", "");
|
|
508
|
-
const m = (s = g.$nonce$) != null ? s : X(y);
|
|
509
|
-
m != null && $.setAttribute("nonce", m), o.insertBefore($, i ? i.nextSibling : o.firstChild);
|
|
510
|
-
}
|
|
511
|
-
f = !1, c.length ? c.map((m) => m.connectedCallback()) : g.jmp(() => u = setTimeout(re, 30)), r();
|
|
512
|
-
};
|
|
513
|
-
export {
|
|
514
|
-
xe as H,
|
|
515
|
-
Xe as b,
|
|
516
|
-
we as h,
|
|
517
|
-
ve as p,
|
|
518
|
-
Qe as r
|
|
519
|
-
};
|