@everymatrix/casino-favorites-section 1.43.1 → 1.43.3
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.
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
*
|
|
9
9
|
* https://svelte.dev/docs#run-time-svelte-onmount
|
|
10
10
|
*/
|
|
11
|
-
function T(e){(function(){if(!l)throw new Error("Function called outside component initialization");return l})().$$.on_mount.push(e)}const M=[]
|
|
11
|
+
function T(e){(function(){if(!l)throw new Error("Function called outside component initialization");return l})().$$.on_mount.push(e)}const M=[],$=[];let L=[];const I=[],A=Promise.resolve();let D=!1;function O(){D||(D=!0,A.then(B))}function P(){return O(),A}function N(e){L.push(e)}
|
|
12
12
|
// flush() calls callbacks in this order:
|
|
13
13
|
// 1. All beforeUpdate callbacks, in order: parents before children
|
|
14
14
|
// 2. All bind:this callbacks, in reverse order: children before parents.
|
|
@@ -37,16 +37,16 @@ if(0!==H)return;const e=l;do{
|
|
|
37
37
|
// and update components
|
|
38
38
|
try{for(;H<M.length;){const e=M[H];H++,G(e),U(e.$$)}}catch(e){
|
|
39
39
|
// reset dirty state to not end up in a deadlocked state and then rethrow
|
|
40
|
-
throw M.length=0,H=0,e}for(G(null),M.length=0,H=0
|
|
40
|
+
throw M.length=0,H=0,e}for(G(null),M.length=0,H=0;$.length;)$.pop()();
|
|
41
41
|
// then, once components are updated, call
|
|
42
42
|
// afterUpdate functions. This may cause
|
|
43
43
|
// subsequent updates...
|
|
44
|
-
for(let e=0;e
|
|
44
|
+
for(let e=0;e<L.length;e+=1){const t=L[e];R.has(t)||(
|
|
45
45
|
// ...so guard against infinite loops
|
|
46
|
-
R.add(t),t())}
|
|
46
|
+
R.add(t),t())}L.length=0}while(M.length);for(;I.length;)I.pop()();D=!1,R.clear(),G(e)}function U(e){if(null!==e.fragment){e.update(),i(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(N)}}
|
|
47
47
|
/**
|
|
48
48
|
* Useful for example to execute remaining `afterUpdate` callbacks before executing `destroy`.
|
|
49
|
-
*/const Y=new Set;function z(e,t){const n=e.$$;null!==n.fragment&&(!function(e){const t=[],n=[]
|
|
49
|
+
*/const Y=new Set;function z(e,t){const n=e.$$;null!==n.fragment&&(!function(e){const t=[],n=[];L.forEach((r=>-1===e.indexOf(r)?t.push(r):n.push(r))),n.forEach((e=>e())),L=t}(n.after_update),i(n.on_destroy),n.fragment&&n.fragment.d(t),
|
|
50
50
|
// TODO null out other refs, including component.$$ (but need to
|
|
51
51
|
// preserve final state?)
|
|
52
52
|
n.on_destroy=n.fragment=null,n.ctx=[])}function j(e,o,s,c,u,d,h,m=[-1]){const p=l;G(e);const g=e.$$={fragment:null,ctx:[],
|
|
@@ -249,11 +249,11 @@ case"X":// 1, 2, 3, 4: The ISO8601 varios formats
|
|
|
249
249
|
case"x":// 1, 2, 3, 4: The ISO8601 varios formats
|
|
250
250
|
throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""})),t}
|
|
251
251
|
// @generated from regex-gen.ts
|
|
252
|
-
var Ce=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;var Ee=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Ge=/^(@+)?(\+|#+)?[rs]?$/g,Te=/(\*)(0+)|(#+)(0+)|(0+)/g,Me=/^(0+)$/;function
|
|
252
|
+
var Ce=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;var Ee=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Ge=/^(@+)?(\+|#+)?[rs]?$/g,Te=/(\*)(0+)|(#+)(0+)|(0+)/g,Me=/^(0+)$/;function $e(e){var t={};return"r"===e[e.length-1]?t.roundingPriority="morePrecision":"s"===e[e.length-1]&&(t.roundingPriority="lessPrecision"),e.replace(Ge,(function(e,n,r){
|
|
253
253
|
// @@@ case
|
|
254
|
-
return"string"!=typeof r?(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length):"+"===r?t.minimumSignificantDigits=n.length:"#"===n[0]?t.maximumSignificantDigits=n.length:(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length+("string"==typeof r?r.length:0)),""})),t}function
|
|
254
|
+
return"string"!=typeof r?(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length):"+"===r?t.minimumSignificantDigits=n.length:"#"===n[0]?t.maximumSignificantDigits=n.length:(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length+("string"==typeof r?r.length:0)),""})),t}function Le(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function Ie(e){
|
|
255
255
|
// Engineering
|
|
256
|
-
var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var n=e.slice(0,2);if("+!"===n?(t.signDisplay="always",e=e.slice(2)):"+?"===n&&(t.signDisplay="exceptZero",e=e.slice(2)),!Me.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function Ae(e){var t
|
|
256
|
+
var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var n=e.slice(0,2);if("+!"===n?(t.signDisplay="always",e=e.slice(2)):"+?"===n&&(t.signDisplay="exceptZero",e=e.slice(2)),!Me.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function Ae(e){var t=Le(e);return t||{}}
|
|
257
257
|
/**
|
|
258
258
|
* https://github.com/unicode-org/icu/blob/master/docs/userguide/format_parse/numbers/skeletons.md#skeleton-stems-and-options
|
|
259
259
|
*/function De(e){for(var t={},n=0,r=e;n<r.length;n++){var i=r[n];switch(i.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=i.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=i.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=ue(ue(ue({},t),{notation:"scientific"}),i.options.reduce((function(e,t){return ue(ue({},e),Ae(t))}),{}));continue;case"engineering":t=ue(ue(ue({},t),{notation:"engineering"}),i.options.reduce((function(e,t){return ue(ue({},e),Ae(t))}),{}));continue;case"notation-simple":t.notation="standard";continue;
|
|
@@ -270,9 +270,9 @@ if(i.options.length>1)throw new RangeError("Fraction-precision stems only accept
|
|
|
270
270
|
// .000* case (before ICU67 it was .000+)
|
|
271
271
|
return"*"===r?t.minimumFractionDigits=n.length:i&&"#"===i[0]?t.maximumFractionDigits=i.length:a&&o?(t.minimumFractionDigits=a.length,t.maximumFractionDigits=a.length+o.length):(t.minimumFractionDigits=n.length,t.maximumFractionDigits=n.length),""}));var a=i.options[0];
|
|
272
272
|
// https://unicode-org.github.io/icu/userguide/format_parse/numbers/skeletons.html#trailing-zero-display
|
|
273
|
-
"w"===a?t=ue(ue({},t),{trailingZeroDisplay:"stripIfInteger"}):a&&(t=ue(ue({},t)
|
|
273
|
+
"w"===a?t=ue(ue({},t),{trailingZeroDisplay:"stripIfInteger"}):a&&(t=ue(ue({},t),$e(a)))}
|
|
274
274
|
// https://unicode-org.github.io/icu/userguide/format_parse/numbers/skeletons.html#significant-digits-precision
|
|
275
|
-
else if(Ge.test(i.stem))t=ue(ue({},t)
|
|
275
|
+
else if(Ge.test(i.stem))t=ue(ue({},t),$e(i.stem));else{var o=Le(i.stem);o&&(t=ue(ue({},t),o));var s=Ie(i.stem);s&&(t=ue(ue({},t),s))}}return t}
|
|
276
276
|
// @generated from time-data-gen.ts
|
|
277
277
|
// prettier-ignore
|
|
278
278
|
var Oe,Pe={AX:["H"],BQ:["H"],CP:["H"],CZ:["H"],DK:["H"],FI:["H"],ID:["H"],IS:["H"],ML:["H"],NE:["H"],RU:["H"],SE:["H"],SJ:["H"],SK:["H"],AS:["h","H"],BT:["h","H"],DJ:["h","H"],ER:["h","H"],GH:["h","H"],IN:["h","H"],LS:["h","H"],PG:["h","H"],PW:["h","H"],SO:["h","H"],TO:["h","H"],VU:["h","H"],WS:["h","H"],"001":["H","h"],AL:["h","H","hB"],TD:["h","H","hB"],"ca-ES":["H","h","hB"],CF:["H","h","hB"],CM:["H","h","hB"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],LU:["H","h","hB"],NP:["H","h","hB"],PF:["H","h","hB"],SC:["H","h","hB"],SM:["H","h","hB"],SN:["H","h","hB"],TF:["H","h","hB"],VA:["H","h","hB"],CY:["h","H","hb","hB"],GR:["h","H","hb","hB"],CO:["h","H","hB","hb"],DO:["h","H","hB","hb"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],NA:["h","H","hB","hb"],PA:["h","H","hB","hb"],PR:["h","H","hB","hb"],VE:["h","H","hB","hb"],AC:["H","h","hb","hB"],AI:["H","h","hb","hB"],BW:["H","h","hb","hB"],BZ:["H","h","hb","hB"],CC:["H","h","hb","hB"],CK:["H","h","hb","hB"],CX:["H","h","hb","hB"],DG:["H","h","hb","hB"],FK:["H","h","hb","hB"],GB:["H","h","hb","hB"],GG:["H","h","hb","hB"],GI:["H","h","hb","hB"],IE:["H","h","hb","hB"],IM:["H","h","hb","hB"],IO:["H","h","hb","hB"],JE:["H","h","hb","hB"],LT:["H","h","hb","hB"],MK:["H","h","hb","hB"],MN:["H","h","hb","hB"],MS:["H","h","hb","hB"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],PN:["H","h","hb","hB"],SH:["H","h","hb","hB"],SX:["H","h","hb","hB"],TA:["H","h","hb","hB"],ZA:["H","h","hb","hB"],"af-ZA":["H","h","hB","hb"],AR:["H","h","hB","hb"],CL:["H","h","hB","hb"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],EA:["H","h","hB","hb"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],GT:["H","h","hB","hb"],HN:["H","h","hB","hb"],IC:["H","h","hB","hb"],KG:["H","h","hB","hb"],KM:["H","h","hB","hb"],LK:["H","h","hB","hb"],MA:["H","h","hB","hb"],MX:["H","h","hB","hb"],NI:["H","h","hB","hb"],PY:["H","h","hB","hb"],SV:["H","h","hB","hb"],UY:["H","h","hB","hb"],JP:["H","h","K"],AD:["H","hB"],AM:["H","hB"],AO:["H","hB"],AT:["H","hB"],AW:["H","hB"],BE:["H","hB"],BF:["H","hB"],BJ:["H","hB"],BL:["H","hB"],BR:["H","hB"],CG:["H","hB"],CI:["H","hB"],CV:["H","hB"],DE:["H","hB"],EE:["H","hB"],FR:["H","hB"],GA:["H","hB"],GF:["H","hB"],GN:["H","hB"],GP:["H","hB"],GW:["H","hB"],HR:["H","hB"],IL:["H","hB"],IT:["H","hB"],KZ:["H","hB"],MC:["H","hB"],MD:["H","hB"],MF:["H","hB"],MQ:["H","hB"],MZ:["H","hB"],NC:["H","hB"],NL:["H","hB"],PM:["H","hB"],PT:["H","hB"],RE:["H","hB"],RO:["H","hB"],SI:["H","hB"],SR:["H","hB"],ST:["H","hB"],TG:["H","hB"],TR:["H","hB"],WF:["H","hB"],YT:["H","hB"],BD:["h","hB","H"],PK:["h","hB","H"],AZ:["H","hB","h"],BA:["H","hB","h"],BG:["H","hB","h"],CH:["H","hB","h"],GE:["H","hB","h"],LI:["H","hB","h"],ME:["H","hB","h"],RS:["H","hB","h"],UA:["H","hB","h"],UZ:["H","hB","h"],XK:["H","hB","h"],AG:["h","hb","H","hB"],AU:["h","hb","H","hB"],BB:["h","hb","H","hB"],BM:["h","hb","H","hB"],BS:["h","hb","H","hB"],CA:["h","hb","H","hB"],DM:["h","hb","H","hB"],"en-001":["h","hb","H","hB"],FJ:["h","hb","H","hB"],FM:["h","hb","H","hB"],GD:["h","hb","H","hB"],GM:["h","hb","H","hB"],GU:["h","hb","H","hB"],GY:["h","hb","H","hB"],JM:["h","hb","H","hB"],KI:["h","hb","H","hB"],KN:["h","hb","H","hB"],KY:["h","hb","H","hB"],LC:["h","hb","H","hB"],LR:["h","hb","H","hB"],MH:["h","hb","H","hB"],MP:["h","hb","H","hB"],MW:["h","hb","H","hB"],NZ:["h","hb","H","hB"],SB:["h","hb","H","hB"],SG:["h","hb","H","hB"],SL:["h","hb","H","hB"],SS:["h","hb","H","hB"],SZ:["h","hb","H","hB"],TC:["h","hb","H","hB"],TT:["h","hb","H","hB"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],VC:["h","hb","H","hB"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],ZM:["h","hb","H","hB"],BO:["H","hB","h","hb"],EC:["H","hB","h","hb"],ES:["H","hB","h","hb"],GQ:["H","hB","h","hb"],PE:["H","hB","h","hb"],AE:["h","hB","hb","H"],"ar-001":["h","hB","hb","H"],BH:["h","hB","hb","H"],DZ:["h","hB","hb","H"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],HK:["h","hB","hb","H"],IQ:["h","hB","hb","H"],JO:["h","hB","hb","H"],KW:["h","hB","hb","H"],LB:["h","hB","hb","H"],LY:["h","hB","hb","H"],MO:["h","hB","hb","H"],MR:["h","hB","hb","H"],OM:["h","hB","hb","H"],PH:["h","hB","hb","H"],PS:["h","hB","hb","H"],QA:["h","hB","hb","H"],SA:["h","hB","hb","H"],SD:["h","hB","hb","H"],SY:["h","hB","hb","H"],TN:["h","hB","hb","H"],YE:["h","hB","hb","H"],AF:["H","hb","hB","h"],LA:["H","hb","hB","h"],CN:["H","hB","hb","h"],LV:["H","hB","hb","h"],TL:["H","hB","hb","h"],"zu-ZA":["H","hB","hb","h"],CD:["hB","H"],IR:["hB","H"],"hi-IN":["hB","h","H"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"te-IN":["hB","h","H"],KH:["hB","h","H","hb"],"ta-IN":["hB","h","hb","H"],BN:["hb","hB","h","H"],MY:["hb","hB","h","H"],ET:["hB","hb","h","H"],"gu-IN":["hB","hb","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],TW:["hB","hb","h","H"],KE:["hB","hb","H","h"],MM:["hB","hb","H","h"],TZ:["hB","hb","H","h"],UG:["hB","hb","H","h"]};
|
|
@@ -576,13 +576,13 @@ this.formats=Gt(e.formats,r),this.formatters=i&&i.formatters||(void 0===(a=this.
|
|
|
576
576
|
// Default format options used as the prototype of the `formats` provided to the
|
|
577
577
|
// constructor. These are used when constructing the internal Intl.NumberFormat
|
|
578
578
|
// and Intl.DateTimeFormat instances.
|
|
579
|
-
e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}();const
|
|
579
|
+
e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}();const $t={},Lt=(e,t,n)=>n?(t in $t||($t[t]={}),e in $t[t]||($t[t][e]=n),n):n,It=(e,t)=>{if(null==t)return;if(t in $t&&e in $t[t])return $t[t][e];const n=an(t);for(let r=0;r<n.length;r++){const i=Pt(n[r],e);if(i)return Lt(e,t,i)}};let At;const Dt=Z({});function Ot(e){return e in At}function Pt(e,t){if(!Ot(e))return null;const n=function(e){return At[e]||null}(e);return function(e,t){if(null==t)return;if(t in e)return e[t];const n=t.split(".");let r=e;for(let e=0;e<n.length;e++)if("object"==typeof r){if(e>0){const t=n.slice(e,n.length).join(".");if(t in r){r=r[t];break}}r=r[n[e]]}else r=void 0;return r}(n,t)}function Nt(e,...t){delete $t[e],Dt.update((n=>(n[e]=ie.all([n[e]||{},...t]),n)))}K([Dt],(([e])=>Object.keys(e))),Dt.subscribe((e=>At=e));const Rt={};function Ht(e){return Rt[e]}function Bt(e){return null!=e&&an(e).some((e=>{var t;return null==(t=Ht(e))?void 0:t.size}))}function Ut(e,t){const n=Promise.all(t.map((t=>(function(e,t){Rt[e].delete(t),0===Rt[e].size&&delete Rt[e]}(e,t),t().then((e=>e.default||e))))));return n.then((t=>Nt(e,...t)))}const Yt={};function zt(e){if(!Bt(e))return e in Yt?Yt[e]:Promise.resolve();const t=function(e){return an(e).map((e=>{const t=Ht(e);return[e,t?[...t]:[]]})).filter((([,e])=>e.length>0))}(e);return Yt[e]=Promise.all(t.map((([e,t])=>Ut(e,t)))).then((()=>{if(Bt(e))return zt(e);delete Yt[e]})),Yt[e]}const jt={fallbackLocale:null,loadingDelay:200,formats:{number:{scientific:{notation:"scientific"},engineering:{notation:"engineering"},compactLong:{notation:"compact",compactDisplay:"long"},compactShort:{notation:"compact",compactDisplay:"short"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0};function Wt(){return jt}const Vt=Z(!1);var Zt=Object.defineProperty,Kt=Object.defineProperties,Xt=Object.getOwnPropertyDescriptors,Jt=Object.getOwnPropertySymbols,qt=Object.prototype.hasOwnProperty,Qt=Object.prototype.propertyIsEnumerable,en=(e,t,n)=>t in e?Zt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;let tn;const nn=Z(null);function rn(e){return e.split("-").map(((e,t,n)=>n.slice(0,t+1).join("-"))).reverse()}function an(e,t=Wt().fallbackLocale){const n=rn(e);return t?[...new Set([...n,...rn(t)])]:n}function on(){return null!=tn?tn:void 0}nn.subscribe((e=>{tn=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)}));const sn=(ln=((e,t)=>{for(var n in t||(t={}))qt.call(t,n)&&en(e,n,t[n]);if(Jt)for(var n of Jt(t))Qt.call(t,n)&&en(e,n,t[n]);return e})({},nn),Kt(ln,Xt({set:e=>{if(e&&function(e){if(null==e)return;const t=an(e);for(let e=0;e<t.length;e++){const n=t[e];if(Ot(n))return n}}(e)&&Bt(e)){const{loadingDelay:t}=Wt();let n;return"undefined"!=typeof window&&null!=on()&&t?n=window.setTimeout((()=>Vt.set(!0)),t):Vt.set(!0),zt(e).then((()=>{nn.set(e)})).finally((()=>{clearTimeout(n),Vt.set(!1)}))}return nn.set(e)}})));var ln;const cn=e=>{const t=Object.create(null);return n=>{const r=JSON.stringify(n);return r in t?t[r]:t[r]=e(n)}};var un=Object.defineProperty,dn=Object.getOwnPropertySymbols,hn=Object.prototype.hasOwnProperty,mn=Object.prototype.propertyIsEnumerable,fn=(e,t,n)=>t in e?un(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,pn=(e,t)=>{for(var n in t||(t={}))hn.call(t,n)&&fn(e,n,t[n]);if(dn)for(var n of dn(t))mn.call(t,n)&&fn(e,n,t[n]);return e},gn=(e,t)=>{var n={};for(var r in e)hn.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&dn)for(var r of dn(e))t.indexOf(r)<0&&mn.call(e,r)&&(n[r]=e[r]);return n};const yn=(e,t)=>{const{formats:n}=Wt();if(e in n&&t in n[e])return n[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},vn=cn((e=>{var t=e,{locale:n,format:r}=t,i=gn(t,["locale","format"]);if(null==n)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return r&&(i=yn("number",r)),new Intl.NumberFormat(n,i)})),bn=cn((e=>{var t=e,{locale:n,format:r}=t,i=gn(t,["locale","format"]);if(null==n)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return r?i=yn("date",r):0===Object.keys(i).length&&(i=yn("date","short")),new Intl.DateTimeFormat(n,i)})),wn=cn((e=>{var t=e,{locale:n,format:r}=t,i=gn(t,["locale","format"]);if(null==n)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return r?i=yn("time",r):0===Object.keys(i).length&&(i=yn("time","short")),new Intl.DateTimeFormat(n,i)})),_n=cn((
|
|
580
580
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
581
581
|
(e,t=on())=>new Mt(e,t,Wt().formats,{ignoreTag:Wt().ignoreTag}))),xn=(e,t={})=>{var n,r,i,a;let o=t;"object"==typeof e&&(o=e,e=o.id);const{values:s,locale:l=on(),default:c}=o;if(null==l)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let u=It(e,l);if(u){if("string"!=typeof u)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof u}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),u}else u=null!=(a=null!=(i=null==(r=(n=Wt()).handleMissingMessage)?void 0:r.call(n,{locale:l,id:e,defaultValue:c}))?i:c)?a:e;if(!s)return u;let d=u;try{d=_n(u,l).format(s)}catch(t){t instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return d},Sn=(e,t)=>((e={})=>{var t=e,{locale:n=on()}=t,r=gn(t,["locale"]);return wn(pn({locale:n},r))})(t).format(e),Fn=(e,t)=>((e={})=>{var t=e,{locale:n=on()}=t,r=gn(t,["locale"]);return bn(pn({locale:n},r))})(t).format(e),kn=(e,t)=>((e={})=>{var t=e,{locale:n=on()}=t,r=gn(t,["locale"]);return vn(pn({locale:n},r))})(t).format(e),Cn=(e,t=on())=>It(e,t),En=K([sn,Dt],(()=>xn));K([sn],(()=>Sn)),K([sn],(()=>Fn)),K([sn],(()=>kn)),K([sn,Dt],(()=>Cn));
|
|
582
582
|
/* eslint-disable no-prototype-builtins */
|
|
583
583
|
var Gn="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||
|
|
584
584
|
// eslint-disable-next-line no-undef
|
|
585
|
-
"undefined"!=typeof global&&global||{},Tn="URLSearchParams"in Gn,Mn="Symbol"in Gn&&"iterator"in Symbol
|
|
585
|
+
"undefined"!=typeof global&&global||{},Tn="URLSearchParams"in Gn,Mn="Symbol"in Gn&&"iterator"in Symbol,$n="FileReader"in Gn&&"Blob"in Gn&&function(){try{return new Blob,!0}catch(e){return!1}}(),Ln="FormData"in Gn,In="ArrayBuffer"in Gn;if(In)var An=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],Dn=ArrayBuffer.isView||function(e){return e&&An.indexOf(Object.prototype.toString.call(e))>-1};function On(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e)||""===e)throw new TypeError('Invalid character in header field name: "'+e+'"');return e.toLowerCase()}function Pn(e){return"string"!=typeof e&&(e=String(e)),e}
|
|
586
586
|
// Build a destructive iterator for the value list
|
|
587
587
|
function Nn(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return Mn&&(t[Symbol.iterator]=function(){return t}),t}function Rn(e){this.map={},e instanceof Rn?e.forEach((function(e,t){this.append(t,e)}),this):Array.isArray(e)?e.forEach((function(e){if(2!=e.length)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+e.length);this.append(e[0],e[1])}),this):e&&Object.getOwnPropertyNames(e).forEach((function(t){this.append(t,e[t])}),this)}function Hn(e){if(!e._noBody)return e.bodyUsed?Promise.reject(new TypeError("Already read")):void(e.bodyUsed=!0)}function Bn(e){return new Promise((function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}}))}function Un(e){var t=new FileReader,n=Bn(t);return t.readAsArrayBuffer(e),n}function Yn(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function zn(){return this.bodyUsed=!1,this._initBody=function(e){var t;
|
|
588
588
|
/*
|
|
@@ -596,9 +596,9 @@ function Nn(e){var t={next:function(){var t=e.shift();return{done:void 0===t,val
|
|
|
596
596
|
_initBody is called.
|
|
597
597
|
*/
|
|
598
598
|
// eslint-disable-next-line no-self-assign
|
|
599
|
-
this.bodyUsed=this.bodyUsed,this._bodyInit=e,e?"string"==typeof e?this._bodyText=e
|
|
599
|
+
this.bodyUsed=this.bodyUsed,this._bodyInit=e,e?"string"==typeof e?this._bodyText=e:$n&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:Ln&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:Tn&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():In&&$n&&((t=e)&&DataView.prototype.isPrototypeOf(t))?(this._bodyArrayBuffer=Yn(e.buffer),
|
|
600
600
|
// IE 10-11 can't handle a DataView body.
|
|
601
|
-
this._bodyInit=new Blob([this._bodyArrayBuffer])):In&&(ArrayBuffer.prototype.isPrototypeOf(e)||Dn(e))?this._bodyArrayBuffer=Yn(e):this._bodyText=e=Object.prototype.toString.call(e):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):Tn&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))}
|
|
601
|
+
this._bodyInit=new Blob([this._bodyArrayBuffer])):In&&(ArrayBuffer.prototype.isPrototypeOf(e)||Dn(e))?this._bodyArrayBuffer=Yn(e):this._bodyText=e=Object.prototype.toString.call(e):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):Tn&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},$n&&(this.blob=function(){var e=Hn(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))}),this.arrayBuffer=function(){if(this._bodyArrayBuffer){var e=Hn(this);return e||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}if($n)return this.blob().then(Un);throw new Error("could not read as ArrayBuffer")},this.text=function(){var e,t,n,r,i,a=Hn(this);if(a)return a;if(this._bodyBlob)return e=this._bodyBlob,t=new FileReader,n=Bn(t),r=/charset=([A-Za-z0-9_-]+)/.exec(e.type),i=r?r[1]:"utf-8",t.readAsText(e,i),n;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),n=new Array(t.length),r=0;r<t.length;r++)n[r]=String.fromCharCode(t[r]);return n.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},Ln&&(this.formData=function(){return this.text().then(Vn)}),this.json=function(){return this.text().then(JSON.parse)},this}
|
|
602
602
|
// HTTP methods whose capitalization should be normalized
|
|
603
603
|
Rn.prototype.append=function(e,t){e=On(e),t=Pn(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},Rn.prototype.delete=function(e){delete this.map[On(e)]},Rn.prototype.get=function(e){return e=On(e),this.has(e)?this.map[e]:null},Rn.prototype.has=function(e){return this.map.hasOwnProperty(On(e))},Rn.prototype.set=function(e,t){this.map[On(e)]=Pn(t)},Rn.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},Rn.prototype.keys=function(){var e=[];return this.forEach((function(t,n){e.push(n)})),Nn(e)},Rn.prototype.values=function(){var e=[];return this.forEach((function(t){e.push(t)})),Nn(e)},Rn.prototype.entries=function(){var e=[];return this.forEach((function(t,n){e.push([n,t])})),Nn(e)},Mn&&(Rn.prototype[Symbol.iterator]=Rn.prototype.entries);var jn=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function Wn(e,t){if(!(this instanceof Wn))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var n,r,i=(t=t||{}).body;if(e instanceof Wn){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new Rn(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,i||null==e._bodyInit||(i=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new Rn(t.headers)),this.method=(n=t.method||this.method||"GET",r=n.toUpperCase(),jn.indexOf(r)>-1?r:n),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal||function(){if("AbortController"in Gn)return(new AbortController).signal}(),this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&i)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(i),!("GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache)){
|
|
604
604
|
// Search for a '_' parameter in the query string
|
|
@@ -611,7 +611,7 @@ this.url=this.url.replace(a,"$1_="+(new Date).getTime());else{this.url+=(/\?/.te
|
|
|
611
611
|
e.replace(/\r?\n[\t ]+/g," ").split("\r").map((function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e})).forEach((function(e){var n=e.split(":"),r=n.shift().trim();if(r){var i=n.join(":").trim();try{t.append(r,i)}catch(e){console.warn("Response "+e.message)}}})),t)};
|
|
612
612
|
// This check if specifically for when a user fetches a file locally from the file system
|
|
613
613
|
// Only if the status is out of a normal range
|
|
614
|
-
0===i.url.indexOf("file://")&&(a.status<200||a.status>599)?r.status=200:r.status=a.status,r.url="responseURL"in a?a.responseURL:r.headers.get("X-Request-URL");var o="response"in a?a.response:a.responseText;setTimeout((function(){n(new Zn(o,r))}),0)},a.onerror=function(){setTimeout((function(){r(new TypeError("Network request failed"))}),0)},a.ontimeout=function(){setTimeout((function(){r(new TypeError("Network request timed out"))}),0)},a.onabort=function(){setTimeout((function(){r(new Xn("Aborted","AbortError"))}),0)},a.open(i.method,function(e){try{return""===e&&Gn.location.href?Gn.location.href:e}catch(t){return e}}(i.url),!0),"include"===i.credentials?a.withCredentials=!0:"omit"===i.credentials&&(a.withCredentials=!1),"responseType"in a&&(
|
|
614
|
+
0===i.url.indexOf("file://")&&(a.status<200||a.status>599)?r.status=200:r.status=a.status,r.url="responseURL"in a?a.responseURL:r.headers.get("X-Request-URL");var o="response"in a?a.response:a.responseText;setTimeout((function(){n(new Zn(o,r))}),0)},a.onerror=function(){setTimeout((function(){r(new TypeError("Network request failed"))}),0)},a.ontimeout=function(){setTimeout((function(){r(new TypeError("Network request timed out"))}),0)},a.onabort=function(){setTimeout((function(){r(new Xn("Aborted","AbortError"))}),0)},a.open(i.method,function(e){try{return""===e&&Gn.location.href?Gn.location.href:e}catch(t){return e}}(i.url),!0),"include"===i.credentials?a.withCredentials=!0:"omit"===i.credentials&&(a.withCredentials=!1),"responseType"in a&&($n?a.responseType="blob":In&&(a.responseType="arraybuffer")),t&&"object"==typeof t.headers&&!(t.headers instanceof Rn||Gn.Headers&&t.headers instanceof Gn.Headers)){var s=[];Object.getOwnPropertyNames(t.headers).forEach((function(e){s.push(On(e)),a.setRequestHeader(e,Pn(t.headers[e]))})),i.headers.forEach((function(e,t){-1===s.indexOf(t)&&a.setRequestHeader(t,e)}))}else i.headers.forEach((function(e,t){a.setRequestHeader(t,e)}));i.signal&&(i.signal.addEventListener("abort",o),a.onreadystatechange=function(){
|
|
615
615
|
// DONE (success or failure)
|
|
616
616
|
4===a.readyState&&i.signal.removeEventListener("abort",o)}),a.send(void 0===i._bodyInit?null:i._bodyInit)}))}Jn.polyfill=!0,Gn.fetch||(Gn.fetch=Jn,Gn.Headers=Rn,Gn.Request=Wn,Gn.Response=Zn);"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self&&self;function qn(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}
|
|
617
617
|
// the whatwg-fetch polyfill installs the fetch() function
|
|
@@ -634,7 +634,7 @@ self.fetch.bind(self);
|
|
|
634
634
|
PERFORMANCE OF THIS SOFTWARE.
|
|
635
635
|
***************************************************************************** */
|
|
636
636
|
/* global Reflect, Promise, SuppressedError, Symbol, Iterator */
|
|
637
|
-
var Qn=function(e,t){return Qn=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},Qn(e,t)};function er(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}Qn(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function tr(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function nr(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,a=n.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(r=a.next()).done;)o.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=a.return)&&n.call(a)}finally{if(i)throw i.error}}return o}function rr(e,t,n){if(n||2===arguments.length)for(var r,i=0,a=t.length;i<a;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}function ir(e){return"function"==typeof e}function ar(e){var t=e((function(e){Error.call(e),e.stack=(new Error).stack}));return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}"function"==typeof SuppressedError&&SuppressedError;var or=ar((function(e){return function(t){e(this),this.message=t?t.length+" errors occurred during unsubscription:\n"+t.map((function(e,t){return t+1+") "+e.toString()})).join("\n "):"",this.name="UnsubscriptionError",this.errors=t}}));function sr(e,t){if(e){var n=e.indexOf(t);0<=n&&e.splice(n,1)}}var lr=function(){function e(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}return e.prototype.unsubscribe=function(){var e,t,n,r,i;if(!this.closed){this.closed=!0;var a=this._parentage;if(a)if(this._parentage=null,Array.isArray(a))try{for(var o=tr(a),s=o.next();!s.done;s=o.next()){s.value.remove(this)}}catch(t){e={error:t}}finally{try{s&&!s.done&&(t=o.return)&&t.call(o)}finally{if(e)throw e.error}}else a.remove(this);var l=this.initialTeardown;if(ir(l))try{l()}catch(e){i=e instanceof or?e.errors:[e]}var c=this._finalizers;if(c){this._finalizers=null;try{for(var u=tr(c),d=u.next();!d.done;d=u.next()){var h=d.value;try{dr(h)}catch(e){i=null!=i?i:[],e instanceof or?i=rr(rr([],nr(i)),nr(e.errors)):i.push(e)}}}catch(e){n={error:e}}finally{try{d&&!d.done&&(r=u.return)&&r.call(u)}finally{if(n)throw n.error}}}if(i)throw new or(i)}},e.prototype.add=function(t){var n;if(t&&t!==this)if(this.closed)dr(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(n=this._finalizers)&&void 0!==n?n:[]).push(t)}},e.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},e.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},e.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&sr(t,e)},e.prototype.remove=function(t){var n=this._finalizers;n&&sr(n,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}(),cr=lr.EMPTY;function ur(e){return e instanceof lr||e&&"closed"in e&&ir(e.remove)&&ir(e.add)&&ir(e.unsubscribe)}function dr(e){ir(e)?e():e.unsubscribe()}var hr={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},mr={setTimeout:function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i=mr.delegate;return(null==i?void 0:i.setTimeout)?i.setTimeout.apply(i,rr([e,t],nr(n))):setTimeout.apply(void 0,rr([e,t],nr(n)))},clearTimeout:function(e){var t=mr.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function fr(){}var pr=null;function gr(e){if(hr.useDeprecatedSynchronousErrorHandling){var t=!pr;if(t&&(pr={errorThrown:!1,error:null}),e(),t){var n=pr,r=n.errorThrown,i=n.error;if(pr=null,r)throw i}}else e()}var yr=function(e){function t(t){var n=e.call(this)||this;return n.isStopped=!1,t?(n.destination=t,ur(t)&&t.add(n)):n.destination=Sr,n}return er(t,e),t.create=function(e,t,n){return new _r(e,t,n)},t.prototype.next=function(e){this.isStopped||this._next(e)},t.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(e){this.destination.next(e)},t.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(lr),vr=Function.prototype.bind;function br(e,t){return vr.call(e,t)}var wr=function(){function e(e){this.partialObserver=e}return e.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(e){xr(e)}},e.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){xr(e)}else xr(e)},e.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){xr(e)}},e}(),_r=function(e){function t(t,n,r){var i,a,o=e.call(this)||this;ir(t)||!t?i={next:null!=t?t:void 0,error:null!=n?n:void 0,complete:null!=r?r:void 0}:o&&hr.useDeprecatedNextContext?((a=Object.create(t)).unsubscribe=function(){return o.unsubscribe()},i={next:t.next&&br(t.next,a),error:t.error&&br(t.error,a),complete:t.complete&&br(t.complete,a)}):i=t;return o.destination=new wr(i),o}return er(t,e),t}(yr);function xr(e){var t;t=e,mr.setTimeout((function(){throw t}))}var Sr={closed:!0,next:fr,error:function(e){throw e},complete:fr},Fr="function"==typeof Symbol&&Symbol.observable||"@@observable";function kr(e){return e}var Cr=function(){function e(e){e&&(this._subscribe=e)}return e.prototype.lift=function(t){var n=new e;return n.source=this,n.operator=t,n},e.prototype.subscribe=function(e,t,n){var r,i=this,a=(r=e)&&r instanceof yr||function(e){return e&&ir(e.next)&&ir(e.error)&&ir(e.complete)}(r)&&ur(r)?e:new _r(e,t,n);return gr((function(){var e=i,t=e.operator,n=e.source;a.add(t?t.call(a,n):n?i._subscribe(a):i._trySubscribe(a))})),a},e.prototype._trySubscribe=function(e){try{return this._subscribe(e)}catch(t){e.error(t)}},e.prototype.forEach=function(e,t){var n=this;return new(t=Er(t))((function(t,r){var i=new _r({next:function(t){try{e(t)}catch(e){r(e),i.unsubscribe()}},error:r,complete:t});n.subscribe(i)}))},e.prototype._subscribe=function(e){var t;return null===(t=this.source)||void 0===t?void 0:t.subscribe(e)},e.prototype[Fr]=function(){return this},e.prototype.pipe=function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return(0===(e=t).length?kr:1===e.length?e[0]:function(t){return e.reduce((function(e,t){return t(e)}),t)})(this)},e.prototype.toPromise=function(e){var t=this;return new(e=Er(e))((function(e,n){var r;t.subscribe((function(e){return r=e}),(function(e){return n(e)}),(function(){return e(r)}))}))},e.create=function(t){return new e(t)},e}();function Er(e){var t;return null!==(t=null!=e?e:hr.Promise)&&void 0!==t?t:Promise}var Gr=ar((function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}})),Tr=function(e){function t(){var t=e.call(this)||this;return t.closed=!1,t.currentObservers=null,t.observers=[],t.isStopped=!1,t.hasError=!1,t.thrownError=null,t}return er(t,e),t.prototype.lift=function(e){var t=new Mr(this,this);return t.operator=e,t},t.prototype._throwIfClosed=function(){if(this.closed)throw new Gr},t.prototype.next=function(e){var t=this;gr((function(){var n,r;if(t._throwIfClosed(),!t.isStopped){t.currentObservers||(t.currentObservers=Array.from(t.observers));try{for(var i=tr(t.currentObservers),a=i.next();!a.done;a=i.next()){a.value.next(e)}}catch(e){n={error:e}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}}}))},t.prototype.error=function(e){var t=this;gr((function(){if(t._throwIfClosed(),!t.isStopped){t.hasError=t.isStopped=!0,t.thrownError=e;for(var n=t.observers;n.length;)n.shift().error(e)}}))},t.prototype.complete=function(){var e=this;gr((function(){if(e._throwIfClosed(),!e.isStopped){e.isStopped=!0;for(var t=e.observers;t.length;)t.shift().complete()}}))},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var e;return(null===(e=this.observers)||void 0===e?void 0:e.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(t){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,t)},t.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},t.prototype._innerSubscribe=function(e){var t=this,n=this,r=n.hasError,i=n.isStopped,a=n.observers;return r||i?cr:(this.currentObservers=null,a.push(e),new lr((function(){t.currentObservers=null,sr(a,e)})))},t.prototype._checkFinalizedStatuses=function(e){var t=this,n=t.hasError,r=t.thrownError,i=t.isStopped;n?e.error(r):i&&e.complete()},t.prototype.asObservable=function(){var e=new Cr;return e.source=this,e},t.create=function(e,t){return new Mr(e,t)},t}(Cr),Mr=function(e){function t(t,n){var r=e.call(this)||this;return r.destination=t,r.source=n,r}return er(t,e),t.prototype.next=function(e){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===n||n.call(t,e)},t.prototype.error=function(e){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===n||n.call(t,e)},t.prototype.complete=function(){var e,t;null===(t=null===(e=this.destination)||void 0===e?void 0:e.complete)||void 0===t||t.call(e)},t.prototype._subscribe=function(e){var t,n;return null!==(n=null===(t=this.source)||void 0===t?void 0:t.subscribe(e))&&void 0!==n?n:cr},t}(Tr),Lr={now:function(){return(Lr.delegate||Date).now()},delegate:void 0},$r=function(e){function t(t,n,r){void 0===t&&(t=1/0),void 0===n&&(n=1/0),void 0===r&&(r=Lr);var i=e.call(this)||this;return i._bufferSize=t,i._windowTime=n,i._timestampProvider=r,i._buffer=[],i._infiniteTimeWindow=!0,i._infiniteTimeWindow=n===1/0,i._bufferSize=Math.max(1,t),i._windowTime=Math.max(1,n),i}return er(t,e),t.prototype.next=function(t){var n=this,r=n.isStopped,i=n._buffer,a=n._infiniteTimeWindow,o=n._timestampProvider,s=n._windowTime;r||(i.push(t),!a&&i.push(o.now()+s)),this._trimBuffer(),e.prototype.next.call(this,t)},t.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),n=this._infiniteTimeWindow,r=this._buffer.slice(),i=0;i<r.length&&!e.closed;i+=n?1:2)e.next(r[i]);return this._checkFinalizedStatuses(e),t},t.prototype._trimBuffer=function(){var e=this,t=e._bufferSize,n=e._timestampProvider,r=e._buffer,i=e._infiniteTimeWindow,a=(i?1:2)*t;if(t<1/0&&a<r.length&&r.splice(0,r.length-a),!i){for(var o=n.now(),s=0,l=1;l<r.length&&r[l]<=o;l+=2)s=l;s&&r.splice(0,s+1)}},t}(Tr);let Ir=[],Ar={};window.emWidgets={topic:(e,t=0)=>{if(-1==Ir.indexOf(e)){let n=new $r(t);Ar[e]=n,Ir.push(e)}return Ar[e]}};
|
|
637
|
+
var Qn=function(e,t){return Qn=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},Qn(e,t)};function er(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}Qn(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function tr(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function nr(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,a=n.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(r=a.next()).done;)o.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=a.return)&&n.call(a)}finally{if(i)throw i.error}}return o}function rr(e,t,n){if(n||2===arguments.length)for(var r,i=0,a=t.length;i<a;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}function ir(e){return"function"==typeof e}function ar(e){var t=e((function(e){Error.call(e),e.stack=(new Error).stack}));return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}"function"==typeof SuppressedError&&SuppressedError;var or=ar((function(e){return function(t){e(this),this.message=t?t.length+" errors occurred during unsubscription:\n"+t.map((function(e,t){return t+1+") "+e.toString()})).join("\n "):"",this.name="UnsubscriptionError",this.errors=t}}));function sr(e,t){if(e){var n=e.indexOf(t);0<=n&&e.splice(n,1)}}var lr=function(){function e(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}return e.prototype.unsubscribe=function(){var e,t,n,r,i;if(!this.closed){this.closed=!0;var a=this._parentage;if(a)if(this._parentage=null,Array.isArray(a))try{for(var o=tr(a),s=o.next();!s.done;s=o.next()){s.value.remove(this)}}catch(t){e={error:t}}finally{try{s&&!s.done&&(t=o.return)&&t.call(o)}finally{if(e)throw e.error}}else a.remove(this);var l=this.initialTeardown;if(ir(l))try{l()}catch(e){i=e instanceof or?e.errors:[e]}var c=this._finalizers;if(c){this._finalizers=null;try{for(var u=tr(c),d=u.next();!d.done;d=u.next()){var h=d.value;try{dr(h)}catch(e){i=null!=i?i:[],e instanceof or?i=rr(rr([],nr(i)),nr(e.errors)):i.push(e)}}}catch(e){n={error:e}}finally{try{d&&!d.done&&(r=u.return)&&r.call(u)}finally{if(n)throw n.error}}}if(i)throw new or(i)}},e.prototype.add=function(t){var n;if(t&&t!==this)if(this.closed)dr(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(n=this._finalizers)&&void 0!==n?n:[]).push(t)}},e.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},e.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},e.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&sr(t,e)},e.prototype.remove=function(t){var n=this._finalizers;n&&sr(n,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}(),cr=lr.EMPTY;function ur(e){return e instanceof lr||e&&"closed"in e&&ir(e.remove)&&ir(e.add)&&ir(e.unsubscribe)}function dr(e){ir(e)?e():e.unsubscribe()}var hr={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},mr={setTimeout:function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i=mr.delegate;return(null==i?void 0:i.setTimeout)?i.setTimeout.apply(i,rr([e,t],nr(n))):setTimeout.apply(void 0,rr([e,t],nr(n)))},clearTimeout:function(e){var t=mr.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function fr(){}var pr=null;function gr(e){if(hr.useDeprecatedSynchronousErrorHandling){var t=!pr;if(t&&(pr={errorThrown:!1,error:null}),e(),t){var n=pr,r=n.errorThrown,i=n.error;if(pr=null,r)throw i}}else e()}var yr=function(e){function t(t){var n=e.call(this)||this;return n.isStopped=!1,t?(n.destination=t,ur(t)&&t.add(n)):n.destination=Sr,n}return er(t,e),t.create=function(e,t,n){return new _r(e,t,n)},t.prototype.next=function(e){this.isStopped||this._next(e)},t.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(e){this.destination.next(e)},t.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(lr),vr=Function.prototype.bind;function br(e,t){return vr.call(e,t)}var wr=function(){function e(e){this.partialObserver=e}return e.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(e){xr(e)}},e.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){xr(e)}else xr(e)},e.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){xr(e)}},e}(),_r=function(e){function t(t,n,r){var i,a,o=e.call(this)||this;ir(t)||!t?i={next:null!=t?t:void 0,error:null!=n?n:void 0,complete:null!=r?r:void 0}:o&&hr.useDeprecatedNextContext?((a=Object.create(t)).unsubscribe=function(){return o.unsubscribe()},i={next:t.next&&br(t.next,a),error:t.error&&br(t.error,a),complete:t.complete&&br(t.complete,a)}):i=t;return o.destination=new wr(i),o}return er(t,e),t}(yr);function xr(e){var t;t=e,mr.setTimeout((function(){throw t}))}var Sr={closed:!0,next:fr,error:function(e){throw e},complete:fr},Fr="function"==typeof Symbol&&Symbol.observable||"@@observable";function kr(e){return e}var Cr=function(){function e(e){e&&(this._subscribe=e)}return e.prototype.lift=function(t){var n=new e;return n.source=this,n.operator=t,n},e.prototype.subscribe=function(e,t,n){var r,i=this,a=(r=e)&&r instanceof yr||function(e){return e&&ir(e.next)&&ir(e.error)&&ir(e.complete)}(r)&&ur(r)?e:new _r(e,t,n);return gr((function(){var e=i,t=e.operator,n=e.source;a.add(t?t.call(a,n):n?i._subscribe(a):i._trySubscribe(a))})),a},e.prototype._trySubscribe=function(e){try{return this._subscribe(e)}catch(t){e.error(t)}},e.prototype.forEach=function(e,t){var n=this;return new(t=Er(t))((function(t,r){var i=new _r({next:function(t){try{e(t)}catch(e){r(e),i.unsubscribe()}},error:r,complete:t});n.subscribe(i)}))},e.prototype._subscribe=function(e){var t;return null===(t=this.source)||void 0===t?void 0:t.subscribe(e)},e.prototype[Fr]=function(){return this},e.prototype.pipe=function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return(0===(e=t).length?kr:1===e.length?e[0]:function(t){return e.reduce((function(e,t){return t(e)}),t)})(this)},e.prototype.toPromise=function(e){var t=this;return new(e=Er(e))((function(e,n){var r;t.subscribe((function(e){return r=e}),(function(e){return n(e)}),(function(){return e(r)}))}))},e.create=function(t){return new e(t)},e}();function Er(e){var t;return null!==(t=null!=e?e:hr.Promise)&&void 0!==t?t:Promise}var Gr=ar((function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}})),Tr=function(e){function t(){var t=e.call(this)||this;return t.closed=!1,t.currentObservers=null,t.observers=[],t.isStopped=!1,t.hasError=!1,t.thrownError=null,t}return er(t,e),t.prototype.lift=function(e){var t=new Mr(this,this);return t.operator=e,t},t.prototype._throwIfClosed=function(){if(this.closed)throw new Gr},t.prototype.next=function(e){var t=this;gr((function(){var n,r;if(t._throwIfClosed(),!t.isStopped){t.currentObservers||(t.currentObservers=Array.from(t.observers));try{for(var i=tr(t.currentObservers),a=i.next();!a.done;a=i.next()){a.value.next(e)}}catch(e){n={error:e}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}}}))},t.prototype.error=function(e){var t=this;gr((function(){if(t._throwIfClosed(),!t.isStopped){t.hasError=t.isStopped=!0,t.thrownError=e;for(var n=t.observers;n.length;)n.shift().error(e)}}))},t.prototype.complete=function(){var e=this;gr((function(){if(e._throwIfClosed(),!e.isStopped){e.isStopped=!0;for(var t=e.observers;t.length;)t.shift().complete()}}))},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var e;return(null===(e=this.observers)||void 0===e?void 0:e.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(t){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,t)},t.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},t.prototype._innerSubscribe=function(e){var t=this,n=this,r=n.hasError,i=n.isStopped,a=n.observers;return r||i?cr:(this.currentObservers=null,a.push(e),new lr((function(){t.currentObservers=null,sr(a,e)})))},t.prototype._checkFinalizedStatuses=function(e){var t=this,n=t.hasError,r=t.thrownError,i=t.isStopped;n?e.error(r):i&&e.complete()},t.prototype.asObservable=function(){var e=new Cr;return e.source=this,e},t.create=function(e,t){return new Mr(e,t)},t}(Cr),Mr=function(e){function t(t,n){var r=e.call(this)||this;return r.destination=t,r.source=n,r}return er(t,e),t.prototype.next=function(e){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===n||n.call(t,e)},t.prototype.error=function(e){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===n||n.call(t,e)},t.prototype.complete=function(){var e,t;null===(t=null===(e=this.destination)||void 0===e?void 0:e.complete)||void 0===t||t.call(e)},t.prototype._subscribe=function(e){var t,n;return null!==(n=null===(t=this.source)||void 0===t?void 0:t.subscribe(e))&&void 0!==n?n:cr},t}(Tr),$r={now:function(){return($r.delegate||Date).now()},delegate:void 0},Lr=function(e){function t(t,n,r){void 0===t&&(t=1/0),void 0===n&&(n=1/0),void 0===r&&(r=$r);var i=e.call(this)||this;return i._bufferSize=t,i._windowTime=n,i._timestampProvider=r,i._buffer=[],i._infiniteTimeWindow=!0,i._infiniteTimeWindow=n===1/0,i._bufferSize=Math.max(1,t),i._windowTime=Math.max(1,n),i}return er(t,e),t.prototype.next=function(t){var n=this,r=n.isStopped,i=n._buffer,a=n._infiniteTimeWindow,o=n._timestampProvider,s=n._windowTime;r||(i.push(t),!a&&i.push(o.now()+s)),this._trimBuffer(),e.prototype.next.call(this,t)},t.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),n=this._infiniteTimeWindow,r=this._buffer.slice(),i=0;i<r.length&&!e.closed;i+=n?1:2)e.next(r[i]);return this._checkFinalizedStatuses(e),t},t.prototype._trimBuffer=function(){var e=this,t=e._bufferSize,n=e._timestampProvider,r=e._buffer,i=e._infiniteTimeWindow,a=(i?1:2)*t;if(t<1/0&&a<r.length&&r.splice(0,r.length-a),!i){for(var o=n.now(),s=0,l=1;l<r.length&&r[l]<=o;l+=2)s=l;s&&r.splice(0,s+1)}},t}(Tr);let Ir=[],Ar={};window.emWidgets={topic:(e,t=0)=>{if(-1==Ir.indexOf(e)){let n=new Lr(t);Ar[e]=n,Ir.push(e)}return Ar[e]}};
|
|
638
638
|
/**
|
|
639
639
|
* @name isMobile
|
|
640
640
|
* @description A method that returns if the browser used to access the app is from a mobile device or not
|
|
@@ -667,9 +667,9 @@ function x(e){_(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isV
|
|
|
667
667
|
// Lenient ordinal parsing accepts just a number in addition to
|
|
668
668
|
// number + (possibly) stuff coming from _dayOfMonthOrdinalParse.
|
|
669
669
|
// TODO: Remove "ordinalParse" fallback in next major release.
|
|
670
|
-
this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function
|
|
670
|
+
this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function $(e,t){var n,r=m({},e);for(n in t)s(t,n)&&(o(e[n])&&o(t[n])?(r[n]={},m(r[n],e[n]),m(r[n],t[n])):null!=t[n]?r[n]=t[n]:delete r[n]);for(n in e)s(e,n)&&!s(t,n)&&o(e[n])&&(
|
|
671
671
|
// make sure changes to properties don't modify parent config
|
|
672
|
-
r[n]=m({},r[n]));return r}function
|
|
672
|
+
r[n]=m({},r[n]));return r}function L(e){null!=e&&this.set(e)}r.suppressDeprecationWarnings=!1,r.deprecationHandler=null,C=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)s(e,t)&&n.push(t);return n};var I={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function A(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return T(r)?r.call(t,n):r}function D(e,t,n){var r=""+Math.abs(e),i=t-r.length;return(e>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+r}var O=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,P=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,N={},R={};
|
|
673
673
|
// token: 'M'
|
|
674
674
|
// padded: ['MM', 2]
|
|
675
675
|
// ordinal: 'Mo'
|
|
@@ -698,14 +698,14 @@ xe=/[+-]?\d+(\.\d{1,3})?/,// 123456789 123456789.123
|
|
|
698
698
|
Se=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,Fe=/^[1-9]\d?/,// 1-99
|
|
699
699
|
ke=/^([1-9]\d|\d)/;function Ce(e,t,n){oe[e]=T(t)?t:function(e,r){return e&&n?n:t}}function Ee(e,t){return s(oe,e)?oe[e](t._strict,t._locale):new RegExp(Ge(e))}
|
|
700
700
|
// Code from http://stackoverflow.com/questions/3561493/is-there-a-regexp-escape-function-in-javascript
|
|
701
|
-
function Ge(e){return Te(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,n,r,i){return t||n||r||i})))}function Te(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function Me(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function
|
|
701
|
+
function Ge(e){return Te(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,n,r,i){return t||n||r||i})))}function Te(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function Me(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function $e(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=Me(t)),n}oe={};var Le={};function Ie(e,t){var n,r,i=t;for("string"==typeof e&&(e=[e]),u(t)&&(i=function(e,n){n[t]=$e(e)}),r=e.length,n=0;n<r;n++)Le[e[n]]=i}function Ae(e,t){Ie(e,(function(e,n,r,i){r._w=r._w||{},t(e,r._w,r,i)}))}function De(e,t,n){null!=t&&s(Le,e)&&Le[e](t,n._a,n,e)}function Oe(e){return e%4==0&&e%100!=0||e%400==0}var Pe=0,Ne=1,Re=2,He=3,Be=4,Ue=5,Ye=6,ze=7,je=8;
|
|
702
702
|
// FORMATTING
|
|
703
703
|
// HELPERS
|
|
704
704
|
function We(e){return Oe(e)?366:365}
|
|
705
705
|
// HOOKS
|
|
706
706
|
H("Y",0,0,(function(){var e=this.year();return e<=9999?D(e,4):"+"+e})),H(0,["YY",2],0,(function(){return this.year()%100})),H(0,["YYYY",4],0,"year"),H(0,["YYYYY",5],0,"year"),H(0,["YYYYYY",6,!0],0,"year"),
|
|
707
707
|
// PARSING
|
|
708
|
-
Ce("Y",be),Ce("YY",he,le),Ce("YYYY",ge,ue),Ce("YYYYY",ye,de),Ce("YYYYYY",ye,de),Ie(["YYYYY","YYYYYY"],Pe),Ie("YYYY",(function(e,t){t[Pe]=2===e.length?r.parseTwoDigitYear(e)
|
|
708
|
+
Ce("Y",be),Ce("YY",he,le),Ce("YYYY",ge,ue),Ce("YYYYY",ye,de),Ce("YYYYYY",ye,de),Ie(["YYYYY","YYYYYY"],Pe),Ie("YYYY",(function(e,t){t[Pe]=2===e.length?r.parseTwoDigitYear(e):$e(e)})),Ie("YY",(function(e,t){t[Pe]=r.parseTwoDigitYear(e)})),Ie("Y",(function(e,t){t[Pe]=parseInt(e,10)})),r.parseTwoDigitYear=function(e){return $e(e)+($e(e)>68?1900:2e3)};
|
|
709
709
|
// MOMENTS
|
|
710
710
|
var Ve,Ze=Xe("FullYear",!0);function Ke(){return Oe(this.year())}function Xe(e,t){return function(n){return null!=n?(qe(this,e,n),r.updateOffset(this,t),this):Je(this,e)}}function Je(e,t){if(!e.isValid())return NaN;var n=e._d,r=e._isUTC;switch(t){case"Milliseconds":return r?n.getUTCMilliseconds():n.getMilliseconds();case"Seconds":return r?n.getUTCSeconds():n.getSeconds();case"Minutes":return r?n.getUTCMinutes():n.getMinutes();case"Hours":return r?n.getUTCHours():n.getHours();case"Date":return r?n.getUTCDate():n.getDate();case"Day":return r?n.getUTCDay():n.getDay();case"Month":return r?n.getUTCMonth():n.getMonth();case"FullYear":return r?n.getUTCFullYear():n.getFullYear();default:return NaN;// Just in case
|
|
711
711
|
}}function qe(e,t,n){var r,i,a,o,s;if(e.isValid()&&!isNaN(n)){switch(r=e._d,i=e._isUTC,t){case"Milliseconds":return void(i?r.setUTCMilliseconds(n):r.setMilliseconds(n));case"Seconds":return void(i?r.setUTCSeconds(n):r.setSeconds(n));case"Minutes":return void(i?r.setUTCMinutes(n):r.setMinutes(n));case"Hours":return void(i?r.setUTCHours(n):r.setHours(n));case"Date":return void(i?r.setUTCDate(n):r.setDate(n));
|
|
@@ -723,7 +723,7 @@ Ve=Array.prototype.indexOf?Array.prototype.indexOf:function(e){
|
|
|
723
723
|
// I know
|
|
724
724
|
var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1},H("M",["MM",2],"Mo",(function(){return this.month()+1})),H("MMM",0,0,(function(e){return this.localeData().monthsShort(this,e)})),H("MMMM",0,0,(function(e){return this.localeData().months(this,e)})),
|
|
725
725
|
// PARSING
|
|
726
|
-
Ce("M",he,Fe),Ce("MM",he,le),Ce("MMM",(function(e,t){return t.monthsShortRegex(e)})),Ce("MMMM",(function(e,t){return t.monthsRegex(e)})),Ie(["M","MM"],(function(e,t){t[Ne]
|
|
726
|
+
Ce("M",he,Fe),Ce("MM",he,le),Ce("MMM",(function(e,t){return t.monthsShortRegex(e)})),Ce("MMMM",(function(e,t){return t.monthsRegex(e)})),Ie(["M","MM"],(function(e,t){t[Ne]=$e(e)-1})),Ie(["MMM","MMMM"],(function(e,t,n,r){var i=n._locale.monthsParse(e,r,n._strict);
|
|
727
727
|
// if we didn't find a month name, mark the date as invalid.
|
|
728
728
|
null!=i?t[Ne]=i:g(n).invalidMonth=e}));
|
|
729
729
|
// LOCALES
|
|
@@ -741,7 +741,7 @@ i=f([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp(
|
|
|
741
741
|
// MOMENTS
|
|
742
742
|
function ht(e,t){if(!e.isValid())
|
|
743
743
|
// No op
|
|
744
|
-
return e;if("string"==typeof t)if(/^\d+$/.test(t))t
|
|
744
|
+
return e;if("string"==typeof t)if(/^\d+$/.test(t))t=$e(t);else
|
|
745
745
|
// TODO: Another silent failure?
|
|
746
746
|
if(!u(t=e.localeData().monthsParse(t)))return e;var n=t,r=e.date();return r=r<29?r:Math.min(r,nt(e.year(),n)),e._isUTC?e._d.setUTCMonth(n,r):e._d.setMonth(n,r),e}function mt(e){return null!=e?(ht(this,e),r.updateOffset(this,!0),this):Je(this,"Month")}function ft(){return nt(this.year(),this.month())}function pt(e){return this._monthsParseExact?(s(this,"_monthsRegex")||yt.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(s(this,"_monthsShortRegex")||(this._monthsShortRegex=ot),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function gt(e){return this._monthsParseExact?(s(this,"_monthsRegex")||yt.call(this),e?this._monthsStrictRegex:this._monthsRegex):(s(this,"_monthsRegex")||(this._monthsRegex=st),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function yt(){function e(e,t){return t.length-e.length}var t,n,r,i,a=[],o=[],s=[];for(t=0;t<12;t++)
|
|
747
747
|
// make the regex if we don't have it already
|
|
@@ -770,19 +770,19 @@ function _t(e,t,n,r,i){var a,o,s=1+7*(t-1)+(7+n-r)%7+wt(e,r,i);return s<=0?o=We(
|
|
|
770
770
|
// LOCALES
|
|
771
771
|
function Ft(e){return xt(e,this._week.dow,this._week.doy).week}H("w",["ww",2],"wo","week"),H("W",["WW",2],"Wo","isoWeek"),
|
|
772
772
|
// PARSING
|
|
773
|
-
Ce("w",he,Fe),Ce("ww",he,le),Ce("W",he,Fe),Ce("WW",he,le),Ae(["w","ww","W","WW"],(function(e,t,n,r){t[r.substr(0,1)]
|
|
773
|
+
Ce("w",he,Fe),Ce("ww",he,le),Ce("W",he,Fe),Ce("WW",he,le),Ae(["w","ww","W","WW"],(function(e,t,n,r){t[r.substr(0,1)]=$e(e)}));var kt={dow:0,// Sunday is the first day of the week.
|
|
774
774
|
doy:6};function Ct(){return this._week.dow}function Et(){return this._week.doy}
|
|
775
775
|
// MOMENTS
|
|
776
776
|
function Gt(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function Tt(e){var t=xt(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}
|
|
777
777
|
// FORMATTING
|
|
778
778
|
// HELPERS
|
|
779
|
-
function Mt(e,t){return"string"!=typeof e?e:isNaN(e)?"number"==typeof(e=t.weekdaysParse(e))?e:null:parseInt(e,10)}function
|
|
779
|
+
function Mt(e,t){return"string"!=typeof e?e:isNaN(e)?"number"==typeof(e=t.weekdaysParse(e))?e:null:parseInt(e,10)}function $t(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}
|
|
780
780
|
// LOCALES
|
|
781
|
-
function
|
|
781
|
+
function Lt(e,t){return e.slice(t,7).concat(e.slice(0,t))}H("d",0,"do","day"),H("dd",0,0,(function(e){return this.localeData().weekdaysMin(this,e)})),H("ddd",0,0,(function(e){return this.localeData().weekdaysShort(this,e)})),H("dddd",0,0,(function(e){return this.localeData().weekdays(this,e)})),H("e",0,0,"weekday"),H("E",0,0,"isoWeekday"),
|
|
782
782
|
// PARSING
|
|
783
783
|
Ce("d",he),Ce("e",he),Ce("E",he),Ce("dd",(function(e,t){return t.weekdaysMinRegex(e)})),Ce("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),Ce("dddd",(function(e,t){return t.weekdaysRegex(e)})),Ae(["dd","ddd","dddd"],(function(e,t,n,r){var i=n._locale.weekdaysParse(e,r,n._strict);
|
|
784
784
|
// if we didn't get a weekday name, mark the date as invalid
|
|
785
|
-
null!=i?t.d=i:g(n).invalidWeekday=e})),Ae(["d","e","E"],(function(e,t,n,r){t[r]
|
|
785
|
+
null!=i?t.d=i:g(n).invalidWeekday=e})),Ae(["d","e","E"],(function(e,t,n,r){t[r]=$e(e)}));var It="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),At="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Dt="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Ot=Se,Pt=Se,Nt=Se;function Rt(e,t){var n=a(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?Lt(n,this._week.dow):e?n[e.day()]:n}function Ht(e){return!0===e?Lt(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Bt(e){return!0===e?Lt(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Ut(e,t,n){var r,i,a,o=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)a=f([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(a,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(a,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(a,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(i=Ve.call(this._weekdaysParse,o))?i:null:"ddd"===t?-1!==(i=Ve.call(this._shortWeekdaysParse,o))?i:null:-1!==(i=Ve.call(this._minWeekdaysParse,o))?i:null:"dddd"===t?-1!==(i=Ve.call(this._weekdaysParse,o))||-1!==(i=Ve.call(this._shortWeekdaysParse,o))||-1!==(i=Ve.call(this._minWeekdaysParse,o))?i:null:"ddd"===t?-1!==(i=Ve.call(this._shortWeekdaysParse,o))||-1!==(i=Ve.call(this._weekdaysParse,o))||-1!==(i=Ve.call(this._minWeekdaysParse,o))?i:null:-1!==(i=Ve.call(this._minWeekdaysParse,o))||-1!==(i=Ve.call(this._weekdaysParse,o))||-1!==(i=Ve.call(this._shortWeekdaysParse,o))?i:null}function Yt(e,t,n){var r,i,a;if(this._weekdaysParseExact)return Ut.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){
|
|
786
786
|
// test the regex
|
|
787
787
|
if(
|
|
788
788
|
// make the regex if we don't have it already
|
|
@@ -792,7 +792,7 @@ function zt(e){if(!this.isValid())return null!=e?this:NaN;var t=Je(this,"Day");r
|
|
|
792
792
|
// behaves the same as moment#day except
|
|
793
793
|
// as a getter, returns 7 instead of 0 (1-7 range instead of 0-6)
|
|
794
794
|
// as a setter, sunday should belong to the previous week.
|
|
795
|
-
if(null!=e){var t
|
|
795
|
+
if(null!=e){var t=$t(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}function Vt(e){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||Xt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(s(this,"_weekdaysRegex")||(this._weekdaysRegex=Ot),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function Zt(e){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||Xt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(s(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Pt),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Kt(e){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||Xt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(s(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Nt),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Xt(){function e(e,t){return t.length-e.length}var t,n,r,i,a,o=[],s=[],l=[],c=[];for(t=0;t<7;t++)
|
|
796
796
|
// make the regex if we don't have it already
|
|
797
797
|
n=f([2e3,1]).day(t),r=Te(this.weekdaysMin(n,"")),i=Te(this.weekdaysShort(n,"")),a=Te(this.weekdays(n,"")),o.push(r),s.push(i),l.push(a),c.push(r),c.push(i),c.push(a);
|
|
798
798
|
// Sorting makes sure if one weekday (or abbr) is a prefix of another it
|
|
@@ -806,7 +806,7 @@ function en(e,t){return t._meridiemParse}
|
|
|
806
806
|
function tn(e){
|
|
807
807
|
// IE8 Quirks Mode & IE7 Standards Mode do not allow accessing strings like arrays
|
|
808
808
|
// Using charAt should be more compatible.
|
|
809
|
-
return"p"===(e+"").toLowerCase().charAt(0)}H("H",["HH",2],0,"hour"),H("h",["hh",2],0,Jt),H("k",["kk",2],0,qt),H("hmm",0,0,(function(){return""+Jt.apply(this)+D(this.minutes(),2)})),H("hmmss",0,0,(function(){return""+Jt.apply(this)+D(this.minutes(),2)+D(this.seconds(),2)})),H("Hmm",0,0,(function(){return""+this.hours()+D(this.minutes(),2)})),H("Hmmss",0,0,(function(){return""+this.hours()+D(this.minutes(),2)+D(this.seconds(),2)})),Qt("a",!0),Qt("A",!1),Ce("a",en),Ce("A",en),Ce("H",he,ke),Ce("h",he,Fe),Ce("k",he,Fe),Ce("HH",he,le),Ce("hh",he,le),Ce("kk",he,le),Ce("hmm",me),Ce("hmmss",fe),Ce("Hmm",me),Ce("Hmmss",fe),Ie(["H","HH"],He),Ie(["k","kk"],(function(e,t,n){var r
|
|
809
|
+
return"p"===(e+"").toLowerCase().charAt(0)}H("H",["HH",2],0,"hour"),H("h",["hh",2],0,Jt),H("k",["kk",2],0,qt),H("hmm",0,0,(function(){return""+Jt.apply(this)+D(this.minutes(),2)})),H("hmmss",0,0,(function(){return""+Jt.apply(this)+D(this.minutes(),2)+D(this.seconds(),2)})),H("Hmm",0,0,(function(){return""+this.hours()+D(this.minutes(),2)})),H("Hmmss",0,0,(function(){return""+this.hours()+D(this.minutes(),2)+D(this.seconds(),2)})),Qt("a",!0),Qt("A",!1),Ce("a",en),Ce("A",en),Ce("H",he,ke),Ce("h",he,Fe),Ce("k",he,Fe),Ce("HH",he,le),Ce("hh",he,le),Ce("kk",he,le),Ce("hmm",me),Ce("hmmss",fe),Ce("Hmm",me),Ce("Hmmss",fe),Ie(["H","HH"],He),Ie(["k","kk"],(function(e,t,n){var r=$e(e);t[He]=24===r?0:r})),Ie(["a","A"],(function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e})),Ie(["h","hh"],(function(e,t,n){t[He]=$e(e),g(n).bigHour=!0})),Ie("hmm",(function(e,t,n){var r=e.length-2;t[He]=$e(e.substr(0,r)),t[Be]=$e(e.substr(r)),g(n).bigHour=!0})),Ie("hmmss",(function(e,t,n){var r=e.length-4,i=e.length-2;t[He]=$e(e.substr(0,r)),t[Be]=$e(e.substr(r,2)),t[Ue]=$e(e.substr(i)),g(n).bigHour=!0})),Ie("Hmm",(function(e,t,n){var r=e.length-2;t[He]=$e(e.substr(0,r)),t[Be]=$e(e.substr(r))})),Ie("Hmmss",(function(e,t,n){var r=e.length-4,i=e.length-2;t[He]=$e(e.substr(0,r)),t[Be]=$e(e.substr(r,2)),t[Ue]=$e(e.substr(i))}));var nn=/[ap]\.?m?\.?/i,
|
|
810
810
|
// Setting the hour should keep the time, because the user explicitly
|
|
811
811
|
// specified which hour they want. So trying to maintain the same hour (in
|
|
812
812
|
// a new timezone) makes sense. Adding/subtracting hours does not follow
|
|
@@ -836,7 +836,7 @@ function pn(e,t){var n;return e&&((n=c(t)?vn(e):gn(e,t))?
|
|
|
836
836
|
// moment.duration._locale = moment._locale = data;
|
|
837
837
|
on=n:"undefined"!=typeof console&&console.warn&&
|
|
838
838
|
//warn user if arguments are passed but the locale could not be set
|
|
839
|
-
console.warn("Locale "+e+" not found. Did you forget to load it?")),on._abbr}function gn(e,t){if(null!==t){var n,r=sn;if(t.abbr=e,null!=ln[e])G("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=ln[e]._config;else if(null!=t.parentLocale)if(null!=ln[t.parentLocale])r=ln[t.parentLocale]._config;else{if(null==(n=fn(t.parentLocale)))return cn[t.parentLocale]||(cn[t.parentLocale]=[]),cn[t.parentLocale].push({name:e,config:t}),null;r=n._config}return ln[e]=new $(
|
|
839
|
+
console.warn("Locale "+e+" not found. Did you forget to load it?")),on._abbr}function gn(e,t){if(null!==t){var n,r=sn;if(t.abbr=e,null!=ln[e])G("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=ln[e]._config;else if(null!=t.parentLocale)if(null!=ln[t.parentLocale])r=ln[t.parentLocale]._config;else{if(null==(n=fn(t.parentLocale)))return cn[t.parentLocale]||(cn[t.parentLocale]=[]),cn[t.parentLocale].push({name:e,config:t}),null;r=n._config}return ln[e]=new L($(r,t)),cn[e]&&cn[e].forEach((function(e){gn(e.name,e.config)})),
|
|
840
840
|
// backwards compat for now: also set the locale
|
|
841
841
|
// make sure we set the locale AFTER all child locales have been
|
|
842
842
|
// created, so we won't end up with the child locale set.
|
|
@@ -844,13 +844,13 @@ pn(e),ln[e]}
|
|
|
844
844
|
// useful for testing
|
|
845
845
|
return delete ln[e],null}function yn(e,t){if(null!=t){var n,r,i=sn;null!=ln[e]&&null!=ln[e].parentLocale?
|
|
846
846
|
// Update existing child locale in-place to avoid memory-leaks
|
|
847
|
-
ln[e].set(
|
|
847
|
+
ln[e].set($(ln[e]._config,t)):(
|
|
848
848
|
// MERGE
|
|
849
|
-
null!=(r=fn(e))&&(i=r._config),t
|
|
849
|
+
null!=(r=fn(e))&&(i=r._config),t=$(i,t),null==r&&(
|
|
850
850
|
// updateLocale is called for creating a new locale
|
|
851
851
|
// Set abbr so it will have a name (getters return
|
|
852
852
|
// undefined otherwise).
|
|
853
|
-
t.abbr=e),(n=new
|
|
853
|
+
t.abbr=e),(n=new L(t)).parentLocale=ln[e],ln[e]=n),
|
|
854
854
|
// backwards compat for now: also set the locale
|
|
855
855
|
pn(e)}else
|
|
856
856
|
// pass null for config to unupdate, useful for tests
|
|
@@ -869,13 +869,13 @@ En=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|J
|
|
|
869
869
|
// date from iso format
|
|
870
870
|
function Tn(e){var t,n,r,i,a,o,s=e._i,l=_n.exec(s)||xn.exec(s),c=Fn.length,u=kn.length;if(l){for(g(e).iso=!0,t=0,n=c;t<n;t++)if(Fn[t][1].exec(l[1])){i=Fn[t][0],r=!1!==Fn[t][2];break}if(null==i)return void(e._isValid=!1);if(l[3]){for(t=0,n=u;t<n;t++)if(kn[t][1].exec(l[3])){
|
|
871
871
|
// match[2] should be 'T' or space
|
|
872
|
-
a=(l[2]||" ")+kn[t][0];break}if(null==a)return void(e._isValid=!1)}if(!r&&null!=a)return void(e._isValid=!1);if(l[4]){if(!Sn.exec(l[4]))return void(e._isValid=!1);o="Z"}e._f=i+(a||"")+(o||""),Bn(e)}else e._isValid=!1}function Mn(e,t,n,r,i,a){var o=[
|
|
872
|
+
a=(l[2]||" ")+kn[t][0];break}if(null==a)return void(e._isValid=!1)}if(!r&&null!=a)return void(e._isValid=!1);if(l[4]){if(!Sn.exec(l[4]))return void(e._isValid=!1);o="Z"}e._f=i+(a||"")+(o||""),Bn(e)}else e._isValid=!1}function Mn(e,t,n,r,i,a){var o=[$n(e),it.indexOf(t),parseInt(n,10),parseInt(r,10),parseInt(i,10)];return a&&o.push(parseInt(a,10)),o}function $n(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function Ln(e){
|
|
873
873
|
// Remove comments and folding whitespace and replace multiple-spaces with a single space
|
|
874
874
|
return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function In(e,t,n){return!e||At.indexOf(e)===new Date(t[0],t[1],t[2]).getDay()||(g(n).weekdayMismatch=!0,n._isValid=!1,!1)}function An(e,t,n){if(e)return Gn[e];if(t)
|
|
875
875
|
// the only allowed military tz is Z
|
|
876
876
|
return 0;var r=parseInt(n,10),i=r%100;return(r-i)/100*60+i}
|
|
877
877
|
// date and time from ref 2822 format
|
|
878
|
-
function Dn(e){var t,n=En.exec(
|
|
878
|
+
function Dn(e){var t,n=En.exec(Ln(e._i));if(n){if(t=Mn(n[4],n[3],n[2],n[5],n[6],n[7]),!In(n[1],t,e))return;e._a=t,e._tzm=An(n[8],n[9],n[10]),e._d=bt.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),g(e).rfc2822=!0}else e._isValid=!1}
|
|
879
879
|
// date from 1) ASP.NET, 2) ISO, 3) RFC 2822 formats, or 4) optional fallback if parsing isn't strict
|
|
880
880
|
function On(e){var t=Cn.exec(e._i);null===t?(Tn(e),!1===e._isValid&&(delete e._isValid,Dn(e),!1===e._isValid&&(delete e._isValid,e._strict?e._isValid=!1:
|
|
881
881
|
// Final attempt, use Input Fallback
|
|
@@ -963,7 +963,7 @@ r.RFC_2822=function(){};var Xn=k("moment().min is deprecated, use moment.max ins
|
|
|
963
963
|
function Qn(e,t){var n,r;if(1===t.length&&a(t[0])&&(t=t[0]),!t.length)return Kn();for(n=t[0],r=1;r<t.length;++r)t[r].isValid()&&!t[r][e](n)||(n=t[r]);return n}
|
|
964
964
|
// TODO: Use [].sort instead?
|
|
965
965
|
function er(){return Qn("isBefore",[].slice.call(arguments,0))}function tr(){return Qn("isAfter",[].slice.call(arguments,0))}var nr=function(){return Date.now?Date.now():+new Date},rr=["year","quarter","month","week","day","hour","minute","second","millisecond"];function ir(e){var t,n,r=!1,i=rr.length;for(t in e)if(s(e,t)&&(-1===Ve.call(rr,t)||null!=e[t]&&isNaN(e[t])))return!1;for(n=0;n<i;++n)if(e[rr[n]]){if(r)return!1;// only allow non-integers for smallest unit
|
|
966
|
-
parseFloat(e[rr[n]])
|
|
966
|
+
parseFloat(e[rr[n]])!==$e(e[rr[n]])&&(r=!0)}return!0}function ar(){return this._isValid}function or(){return Tr(NaN)}function sr(e){var t=re(e),n=t.year||0,r=t.quarter||0,i=t.month||0,a=t.week||t.isoWeek||0,o=t.day||0,s=t.hour||0,l=t.minute||0,c=t.second||0,u=t.millisecond||0;this._isValid=ir(t),
|
|
967
967
|
// representation for dateAddRemove
|
|
968
968
|
this._milliseconds=+u+1e3*c+// 1000
|
|
969
969
|
6e4*l+// 1000 * 60
|
|
@@ -976,7 +976,7 @@ this._days=+o+7*a,
|
|
|
976
976
|
// it separately.
|
|
977
977
|
this._months=+i+3*r+12*n,this._data={},this._locale=vn(),this._bubble()}function lr(e){return e instanceof sr}function cr(e){return e<0?-1*Math.round(-1*e):Math.round(e)}
|
|
978
978
|
// compare two arrays, return the number of differences
|
|
979
|
-
function ur(e,t,n){var r,i=Math.min(e.length,t.length),a=Math.abs(e.length-t.length),o=0;for(r=0;r<i;r++)(n&&e[r]!==t[r]||!n
|
|
979
|
+
function ur(e,t,n){var r,i=Math.min(e.length,t.length),a=Math.abs(e.length-t.length),o=0;for(r=0;r<i;r++)(n&&e[r]!==t[r]||!n&&$e(e[r])!==$e(t[r]))&&o++;return o+a}
|
|
980
980
|
// FORMATTING
|
|
981
981
|
function dr(e,t){H(e,0,0,(function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+D(~~(e/60),2)+t+D(~~e%60,2)}))}dr("Z",":"),dr("ZZ",""),
|
|
982
982
|
// PARSING
|
|
@@ -985,7 +985,7 @@ Ce("Z",_e),Ce("ZZ",_e),Ie(["Z","ZZ"],(function(e,t,n){n._useUTC=!0,n._tzm=mr(_e,
|
|
|
985
985
|
// timezone chunker
|
|
986
986
|
// '+10:00' > ['10', '00']
|
|
987
987
|
// '-1530' > ['-15', '30']
|
|
988
|
-
var hr=/([\+\-]|\d\d)/gi;function mr(e,t){var n,r,i=(t||"").match(e);return null===i?null:0===(r=60*(n=((i[i.length-1]||[])+"").match(hr)||["-",0,0])[1]
|
|
988
|
+
var hr=/([\+\-]|\d\d)/gi;function mr(e,t){var n,r,i=(t||"").match(e);return null===i?null:0===(r=60*(n=((i[i.length-1]||[])+"").match(hr)||["-",0,0])[1]+$e(n[2]))?0:"+"===n[0]?r:-r}
|
|
989
989
|
// Return a moment from input, that is local/utc/zone equivalent to model.
|
|
990
990
|
function fr(e,t){var n,i;return t._isUTC?(n=t.clone(),i=(S(e)||d(e)?e.valueOf():Kn(e).valueOf())-n.valueOf(),
|
|
991
991
|
// Use low-level api, because this fn is low-level api.
|
|
@@ -1014,15 +1014,15 @@ r.updateOffset=function(){};var Er=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\
|
|
|
1014
1014
|
// and further modified to allow for strings containing both week and day
|
|
1015
1015
|
Gr=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Tr(e,t){var n,r,i,a=e,
|
|
1016
1016
|
// matching against regexp is expensive, do it on demand
|
|
1017
|
-
o=null;return lr(e)?a={ms:e._milliseconds,d:e._days,M:e._months}:u(e)||!isNaN(+e)?(a={},t?a[t]=+e:a.milliseconds=+e):(o=Er.exec(e))?(n="-"===o[1]?-1:1,a={y:0,d
|
|
1017
|
+
o=null;return lr(e)?a={ms:e._milliseconds,d:e._days,M:e._months}:u(e)||!isNaN(+e)?(a={},t?a[t]=+e:a.milliseconds=+e):(o=Er.exec(e))?(n="-"===o[1]?-1:1,a={y:0,d:$e(o[Re])*n,h:$e(o[He])*n,m:$e(o[Be])*n,s:$e(o[Ue])*n,ms:$e(cr(1e3*o[Ye]))*n}):(o=Gr.exec(e))?(n="-"===o[1]?-1:1,a={y:Mr(o[2],n),M:Mr(o[3],n),w:Mr(o[4],n),d:Mr(o[5],n),h:Mr(o[6],n),m:Mr(o[7],n),s:Mr(o[8],n)}):null==a?
|
|
1018
1018
|
// checks for null or undefined
|
|
1019
|
-
a={}:"object"==typeof a&&("from"in a||"to"in a)&&(i
|
|
1019
|
+
a={}:"object"==typeof a&&("from"in a||"to"in a)&&(i=Lr(Kn(a.from),Kn(a.to)),(a={}).ms=i.milliseconds,a.M=i.months),r=new sr(a),lr(e)&&s(e,"_locale")&&(r._locale=e._locale),lr(e)&&s(e,"_isValid")&&(r._isValid=e._isValid),r}function Mr(e,t){
|
|
1020
1020
|
// We'd normally use ~~inp for this, but unfortunately it also
|
|
1021
1021
|
// converts floats to ints.
|
|
1022
1022
|
// inp may be undefined, so careful calling replace on it.
|
|
1023
1023
|
var n=e&&parseFloat(e.replace(",","."));
|
|
1024
1024
|
// apply sign while we're at it
|
|
1025
|
-
return(isNaN(n)?0:n)*t}function
|
|
1025
|
+
return(isNaN(n)?0:n)*t}function $r(e,t){var n={};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function Lr(e,t){var n;return e.isValid()&&t.isValid()?(t=fr(t,e),e.isBefore(t)?n=$r(e,t):((n=$r(t,e)).milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}
|
|
1026
1026
|
// TODO: remove 'name' arg after deprecation is removed
|
|
1027
1027
|
function Ir(e,t){return function(n,r){var i;
|
|
1028
1028
|
//invert the arguments, but complain about it
|
|
@@ -1071,7 +1071,7 @@ return this.isValid()?this.toISOString():null}function ki(){return y(this)}funct
|
|
|
1071
1071
|
// truncate time
|
|
1072
1072
|
a=r(o[n].since).startOf("day"),o[n].since=a.valueOf()),typeof o[n].until){case"undefined":o[n].until=1/0;break;case"string":
|
|
1073
1073
|
// truncate time
|
|
1074
|
-
a=r(o[n].until).startOf("day").valueOf(),o[n].until=a.valueOf()}return o}function Mi(e,t,n){var r,i,a,o,s,l=this.eras();for(e=e.toUpperCase(),r=0,i=l.length;r<i;++r)if(a=l[r].name.toUpperCase(),o=l[r].abbr.toUpperCase(),s=l[r].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(o===e)return l[r];break;case"NNNN":if(a===e)return l[r];break;case"NNNNN":if(s===e)return l[r]}else if([a,o,s].indexOf(e)>=0)return l[r]}function
|
|
1074
|
+
a=r(o[n].until).startOf("day").valueOf(),o[n].until=a.valueOf()}return o}function Mi(e,t,n){var r,i,a,o,s,l=this.eras();for(e=e.toUpperCase(),r=0,i=l.length;r<i;++r)if(a=l[r].name.toUpperCase(),o=l[r].abbr.toUpperCase(),s=l[r].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(o===e)return l[r];break;case"NNNN":if(a===e)return l[r];break;case"NNNNN":if(s===e)return l[r]}else if([a,o,s].indexOf(e)>=0)return l[r]}function $i(e,t){var n=e.since<=e.until?1:-1;return void 0===t?r(e.since).year():r(e.since).year()+(t-e.offset)*n}function Li(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){if(
|
|
1075
1075
|
// truncate time
|
|
1076
1076
|
n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e].name;if(r[e].until<=n&&n<=r[e].since)return r[e].name}return""}function Ii(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){if(
|
|
1077
1077
|
// truncate time
|
|
@@ -1091,13 +1091,13 @@ function Qi(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+t
|
|
|
1091
1091
|
H("N",0,0,"eraAbbr"),H("NN",0,0,"eraAbbr"),H("NNN",0,0,"eraAbbr"),H("NNNN",0,0,"eraName"),H("NNNNN",0,0,"eraNarrow"),H("y",["y",1],"yo","eraYear"),H("y",["yy",2],0,"eraYear"),H("y",["yyy",3],0,"eraYear"),H("y",["yyyy",4],0,"eraYear"),Ce("N",Ri),Ce("NN",Ri),Ce("NNN",Ri),Ce("NNNN",Hi),Ce("NNNNN",Bi),Ie(["N","NN","NNN","NNNN","NNNNN"],(function(e,t,n,r){var i=n._locale.erasParse(e,r,n._strict);i?g(n).era=i:g(n).invalidEra=e})),Ce("y",ve),Ce("yy",ve),Ce("yyy",ve),Ce("yyyy",ve),Ce("yo",Ui),Ie(["y","yy","yyy","yyyy"],Pe),Ie(["yo"],(function(e,t,n,r){var i;n._locale._eraYearOrdinalRegex&&(i=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[Pe]=n._locale.eraYearOrdinalParse(e,i):t[Pe]=parseInt(e,10)})),H(0,["gg",2],0,(function(){return this.weekYear()%100})),H(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),zi("gggg","weekYear"),zi("ggggg","weekYear"),zi("GGGG","isoWeekYear"),zi("GGGGG","isoWeekYear"),
|
|
1092
1092
|
// ALIASES
|
|
1093
1093
|
// PARSING
|
|
1094
|
-
Ce("G",be),Ce("g",be),Ce("GG",he,le),Ce("gg",he,le),Ce("GGGG",ge,ue),Ce("gggg",ge,ue),Ce("GGGGG",ye,de),Ce("ggggg",ye,de),Ae(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,n,r){t[r.substr(0,2)]
|
|
1094
|
+
Ce("G",be),Ce("g",be),Ce("GG",he,le),Ce("gg",he,le),Ce("GGGG",ge,ue),Ce("gggg",ge,ue),Ce("GGGGG",ye,de),Ce("ggggg",ye,de),Ae(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,n,r){t[r.substr(0,2)]=$e(e)})),Ae(["gg","GG"],(function(e,t,n,i){t[i]=r.parseTwoDigitYear(e)})),H("Q",0,"Qo","quarter"),
|
|
1095
1095
|
// PARSING
|
|
1096
|
-
Ce("Q",se),Ie("Q",(function(e,t){t[Ne]=3*(
|
|
1096
|
+
Ce("Q",se),Ie("Q",(function(e,t){t[Ne]=3*($e(e)-1)})),H("D",["DD",2],"Do","date"),
|
|
1097
1097
|
// PARSING
|
|
1098
1098
|
Ce("D",he,Fe),Ce("DD",he,le),Ce("Do",(function(e,t){
|
|
1099
1099
|
// TODO: Remove "ordinalParse" fallback in next major release.
|
|
1100
|
-
return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient})),Ie(["D","DD"],Re),Ie("Do",(function(e,t){t[Re]
|
|
1100
|
+
return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient})),Ie(["D","DD"],Re),Ie("Do",(function(e,t){t[Re]=$e(e.match(he)[0])}));
|
|
1101
1101
|
// MOMENTS
|
|
1102
1102
|
var ea=Xe("Date",!0);
|
|
1103
1103
|
// FORMATTING
|
|
@@ -1107,7 +1107,7 @@ function ta(e){var t=Math.round((this.clone().startOf("day")-this.clone().startO
|
|
|
1107
1107
|
// FORMATTING
|
|
1108
1108
|
H("DDD",["DDDD",3],"DDDo","dayOfYear"),
|
|
1109
1109
|
// PARSING
|
|
1110
|
-
Ce("DDD",pe),Ce("DDDD",ce),Ie(["DDD","DDDD"],(function(e,t,n){n._dayOfYear
|
|
1110
|
+
Ce("DDD",pe),Ce("DDDD",ce),Ie(["DDD","DDDD"],(function(e,t,n){n._dayOfYear=$e(e)})),H("m",["mm",2],0,"minute"),
|
|
1111
1111
|
// PARSING
|
|
1112
1112
|
Ce("m",he,ke),Ce("mm",he,le),Ie(["m","mm"],Be);
|
|
1113
1113
|
// MOMENTS
|
|
@@ -1121,11 +1121,11 @@ var ra,ia,aa=Xe("Seconds",!1);
|
|
|
1121
1121
|
// FORMATTING
|
|
1122
1122
|
for(H("S",0,0,(function(){return~~(this.millisecond()/100)})),H(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),H(0,["SSS",3],0,"millisecond"),H(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),H(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),H(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),H(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),H(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),H(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),
|
|
1123
1123
|
// PARSING
|
|
1124
|
-
Ce("S",pe,se),Ce("SS",pe,le),Ce("SSS",pe,ce),ra="SSSS";ra.length<=9;ra+="S")Ce(ra,ve);function oa(e,t){t[Ye]
|
|
1124
|
+
Ce("S",pe,se),Ce("SS",pe,le),Ce("SSS",pe,ce),ra="SSSS";ra.length<=9;ra+="S")Ce(ra,ve);function oa(e,t){t[Ye]=$e(1e3*("0."+e))}for(ra="S";ra.length<=9;ra+="S")Ie(ra,oa);
|
|
1125
1125
|
// MOMENTS
|
|
1126
1126
|
function sa(){return this._isUTC?"UTC":""}function la(){return this._isUTC?"Coordinated Universal Time":""}ia=Xe("Milliseconds",!1),
|
|
1127
1127
|
// FORMATTING
|
|
1128
|
-
H("z",0,0,"zoneAbbr"),H("zz",0,0,"zoneName");var ca=x.prototype;function ua(e){return Kn(1e3*e)}function da(){return Kn.apply(null,arguments).parseZone()}function ha(e){return e}ca.add=Dr,ca.calendar=Yr,ca.clone=zr,ca.diff=Jr,ca.endOf=vi,ca.format=ni,ca.from=ri,ca.fromNow=ii,ca.to=ai,ca.toNow=oi,ca.get=Qe,ca.invalidAt=Ei,ca.isAfter=jr,ca.isBefore=Wr,ca.isBetween=Vr,ca.isSame=Zr,ca.isSameOrAfter=Kr,ca.isSameOrBefore=Xr,ca.isValid=ki,ca.lang=li,ca.locale=si,ca.localeData=ci,ca.max=Jn,ca.min=Xn,ca.parsingFlags=Ci,ca.set=et,ca.startOf=yi,ca.subtract=Or,ca.toArray=xi,ca.toObject=Si,ca.toDate=_i,ca.toISOString=ei,ca.inspect=ti,"undefined"!=typeof Symbol&&null!=Symbol.for&&(ca[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),ca.toJSON=Fi,ca.toString=Qr,ca.unix=wi,ca.valueOf=bi,ca.creationData=Gi,ca.eraName
|
|
1128
|
+
H("z",0,0,"zoneAbbr"),H("zz",0,0,"zoneName");var ca=x.prototype;function ua(e){return Kn(1e3*e)}function da(){return Kn.apply(null,arguments).parseZone()}function ha(e){return e}ca.add=Dr,ca.calendar=Yr,ca.clone=zr,ca.diff=Jr,ca.endOf=vi,ca.format=ni,ca.from=ri,ca.fromNow=ii,ca.to=ai,ca.toNow=oi,ca.get=Qe,ca.invalidAt=Ei,ca.isAfter=jr,ca.isBefore=Wr,ca.isBetween=Vr,ca.isSame=Zr,ca.isSameOrAfter=Kr,ca.isSameOrBefore=Xr,ca.isValid=ki,ca.lang=li,ca.locale=si,ca.localeData=ci,ca.max=Jn,ca.min=Xn,ca.parsingFlags=Ci,ca.set=et,ca.startOf=yi,ca.subtract=Or,ca.toArray=xi,ca.toObject=Si,ca.toDate=_i,ca.toISOString=ei,ca.inspect=ti,"undefined"!=typeof Symbol&&null!=Symbol.for&&(ca[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),ca.toJSON=Fi,ca.toString=Qr,ca.unix=wi,ca.valueOf=bi,ca.creationData=Gi,ca.eraName=Li,ca.eraNarrow=Ii,ca.eraAbbr=Ai,ca.eraYear=Di,ca.year=Ze,ca.isLeapYear=Ke,ca.weekYear=ji,ca.isoWeekYear=Wi,ca.quarter=ca.quarters=Qi,ca.month=mt,ca.daysInMonth=ft,ca.week=ca.weeks=Gt,ca.isoWeek=ca.isoWeeks=Tt,ca.weeksInYear=Ki,ca.weeksInWeekYear=Xi,ca.isoWeeksInYear=Vi,ca.isoWeeksInISOWeekYear=Zi,ca.date=ea,ca.day=ca.days=zt,ca.weekday=jt,ca.isoWeekday=Wt,ca.dayOfYear=ta,ca.hour=ca.hours=rn,ca.minute=ca.minutes=na,ca.second=ca.seconds=aa,ca.millisecond=ca.milliseconds=ia,ca.utcOffset=gr,ca.utc=vr,ca.local=br,ca.parseZone=wr,ca.hasAlignedHourOffset=_r,ca.isDST=xr,ca.isLocal=Fr,ca.isUtcOffset=kr,ca.isUtc=Cr,ca.isUTC=Cr,ca.zoneAbbr=sa,ca.zoneName=la,ca.dates=k("dates accessor is deprecated. Use date instead.",ea),ca.months=k("months accessor is deprecated. Use month instead",mt),ca.years=k("years accessor is deprecated. Use year instead",Ze),ca.zone=k("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",yr),ca.isDSTShifted=k("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Sr);var ma=L.prototype;function fa(e,t,n,r){var i=vn(),a=f().set(r,t);return i[n](a,e)}function pa(e,t,n){if(u(e)&&(t=e,e=void 0),e=e||"",null!=t)return fa(e,t,n,"month");var r,i=[];for(r=0;r<12;r++)i[r]=fa(e,r,n,"month");return i}
|
|
1129
1129
|
// ()
|
|
1130
1130
|
// (5)
|
|
1131
1131
|
// (fmt, 5)
|
|
@@ -1134,7 +1134,7 @@ H("z",0,0,"zoneAbbr"),H("zz",0,0,"zoneName");var ca=x.prototype;function ua(e){r
|
|
|
1134
1134
|
// (true, 5)
|
|
1135
1135
|
// (true, fmt, 5)
|
|
1136
1136
|
// (true, fmt)
|
|
1137
|
-
function ga(e,t,n,r){"boolean"==typeof e?(u(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,u(t)&&(n=t,t=void 0),t=t||"");var i,a=vn(),o=e?a._week.dow:0,s=[];if(null!=n)return fa(t,(n+o)%7,r,"day");for(i=0;i<7;i++)s[i]=fa(t,(i+o)%7,r,"day");return s}function ya(e,t){return pa(e,t,"months")}function va(e,t){return pa(e,t,"monthsShort")}function ba(e,t,n){return ga(e,t,n,"weekdays")}function wa(e,t,n){return ga(e,t,n,"weekdaysShort")}function _a(e,t,n){return ga(e,t,n,"weekdaysMin")}ma.calendar=A,ma.longDateFormat=W,ma.invalidDate=Z,ma.ordinal=J,ma.preparse=ha,ma.postformat=ha,ma.relativeTime=Q,ma.pastFuture=ee,ma.set=M,ma.eras=Ti,ma.erasParse=Mi,ma.erasConvertYear
|
|
1137
|
+
function ga(e,t,n,r){"boolean"==typeof e?(u(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,u(t)&&(n=t,t=void 0),t=t||"");var i,a=vn(),o=e?a._week.dow:0,s=[];if(null!=n)return fa(t,(n+o)%7,r,"day");for(i=0;i<7;i++)s[i]=fa(t,(i+o)%7,r,"day");return s}function ya(e,t){return pa(e,t,"months")}function va(e,t){return pa(e,t,"monthsShort")}function ba(e,t,n){return ga(e,t,n,"weekdays")}function wa(e,t,n){return ga(e,t,n,"weekdaysShort")}function _a(e,t,n){return ga(e,t,n,"weekdaysMin")}ma.calendar=A,ma.longDateFormat=W,ma.invalidDate=Z,ma.ordinal=J,ma.preparse=ha,ma.postformat=ha,ma.relativeTime=Q,ma.pastFuture=ee,ma.set=M,ma.eras=Ti,ma.erasParse=Mi,ma.erasConvertYear=$i,ma.erasAbbrRegex=Pi,ma.erasNameRegex=Oi,ma.erasNarrowRegex=Ni,ma.months=lt,ma.monthsShort=ct,ma.monthsParse=dt,ma.monthsRegex=gt,ma.monthsShortRegex=pt,ma.week=Ft,ma.firstDayOfYear=Et,ma.firstDayOfWeek=Ct,ma.weekdays=Rt,ma.weekdaysMin=Bt,ma.weekdaysShort=Ht,ma.weekdaysParse=Yt,ma.weekdaysRegex=Vt,ma.weekdaysShortRegex=Zt,ma.weekdaysMinRegex=Kt,ma.isPM=tn,ma.meridiem=an,pn("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===$e(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),
|
|
1138
1138
|
// Side effect imports
|
|
1139
1139
|
r.lang=k("moment.lang is deprecated. Use moment.locale instead.",pn),r.langData=k("moment.langData is deprecated. Use moment.localeData instead.",vn);var xa=Math.abs;function Sa(){var e=this._data;return this._milliseconds=xa(this._milliseconds),this._days=xa(this._days),this._months=xa(this._months),e.milliseconds=xa(e.milliseconds),e.seconds=xa(e.seconds),e.minutes=xa(e.minutes),e.hours=xa(e.hours),e.months=xa(e.months),e.years=xa(e.years),this}function Fa(e,t,n,r){var i=Tr(t,n);return e._milliseconds+=r*i._milliseconds,e._days+=r*i._days,e._months+=r*i._months,e._bubble()}
|
|
1140
1140
|
// supports only 2.0-style add(1, 's') or add(duration)
|
|
@@ -1155,11 +1155,11 @@ r=Me(s/12),s%=12,l.days=o,l.months=s,l.years=r,this}function Ta(e){
|
|
|
1155
1155
|
// 400 years have 12 months === 4800
|
|
1156
1156
|
return 4800*e/146097}function Ma(e){
|
|
1157
1157
|
// the reverse of daysToMonths
|
|
1158
|
-
return 146097*e/4800}function
|
|
1158
|
+
return 146097*e/4800}function $a(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if("month"===(e=ne(e))||"quarter"===e||"year"===e)switch(t=this._days+r/864e5,n=this._months+Ta(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(
|
|
1159
1159
|
// handle milliseconds separately because of floating point math errors (issue #1867)
|
|
1160
1160
|
t=this._days+Math.round(Ma(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return 24*t+r/36e5;case"minute":return 1440*t+r/6e4;case"second":return 86400*t+r/1e3;
|
|
1161
1161
|
// Math.floor prevents floating point math errors here
|
|
1162
|
-
case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}}function
|
|
1162
|
+
case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}}function La(e){return function(){return this.as(e)}}var Ia=La("ms"),Aa=La("s"),Da=La("m"),Oa=La("h"),Pa=La("d"),Na=La("w"),Ra=La("M"),Ha=La("Q"),Ba=La("y"),Ua=Ia;function Ya(){return Tr(this)}function za(e){return e=ne(e),this.isValid()?this[e+"s"]():NaN}function ja(e){return function(){return this.isValid()?this._data[e]:NaN}}var Wa=ja("milliseconds"),Va=ja("seconds"),Za=ja("minutes"),Ka=ja("hours"),Xa=ja("days"),Ja=ja("months"),qa=ja("years");function Qa(){return Me(this.days()/7)}var eo=Math.round,to={ss:44,// a few seconds to seconds
|
|
1163
1163
|
s:45,// seconds to minute
|
|
1164
1164
|
m:45,// minutes to hour
|
|
1165
1165
|
h:22,// hours to day
|
|
@@ -1185,11 +1185,11 @@ e=Me(l/60),t=Me(e/60),l%=60,e%=60,
|
|
|
1185
1185
|
// 12 months -> 1 year
|
|
1186
1186
|
n=Me(u/12),u%=12,
|
|
1187
1187
|
// inspired by https://github.com/dordille/moment-isoduration/blob/master/moment.isoduration.js
|
|
1188
|
-
r=l?l.toFixed(3).replace(/\.?0+$/,""):"",i=d<0?"-":"",a=lo(this._months)!==lo(d)?"-":"",o=lo(this._days)!==lo(d)?"-":"",s=lo(this._milliseconds)!==lo(d)?"-":"",i+"P"+(n?a+n+"Y":"")+(u?a+u+"M":"")+(c?o+c+"D":"")+(t||e||l?"T":"")+(t?s+t+"H":"")+(e?s+e+"M":"")+(l?s+r+"S":"")):"P0D"}var uo=sr.prototype;return uo.isValid=ar,uo.abs=Sa,uo.add=ka,uo.subtract=Ca,uo.as
|
|
1188
|
+
r=l?l.toFixed(3).replace(/\.?0+$/,""):"",i=d<0?"-":"",a=lo(this._months)!==lo(d)?"-":"",o=lo(this._days)!==lo(d)?"-":"",s=lo(this._milliseconds)!==lo(d)?"-":"",i+"P"+(n?a+n+"Y":"")+(u?a+u+"M":"")+(c?o+c+"D":"")+(t||e||l?"T":"")+(t?s+t+"H":"")+(e?s+e+"M":"")+(l?s+r+"S":"")):"P0D"}var uo=sr.prototype;return uo.isValid=ar,uo.abs=Sa,uo.add=ka,uo.subtract=Ca,uo.as=$a,uo.asMilliseconds=Ia,uo.asSeconds=Aa,uo.asMinutes=Da,uo.asHours=Oa,uo.asDays=Pa,uo.asWeeks=Na,uo.asMonths=Ra,uo.asQuarters=Ha,uo.asYears=Ba,uo.valueOf=Ua,uo._bubble=Ga,uo.clone=Ya,uo.get=za,uo.milliseconds=Wa,uo.seconds=Va,uo.minutes=Za,uo.hours=Ka,uo.days=Xa,uo.weeks=Qa,uo.months=Ja,uo.years=qa,uo.humanize=oo,uo.toISOString=co,uo.toString=co,uo.toJSON=co,uo.locale=si,uo.localeData=ci,uo.toIsoString=k("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",co),uo.lang=li,
|
|
1189
1189
|
// FORMATTING
|
|
1190
1190
|
H("X",0,0,"unix"),H("x",0,0,"valueOf"),
|
|
1191
1191
|
// PARSING
|
|
1192
|
-
Ce("x",be),Ce("X",xe),Ie("X",(function(e,t,n){n._d=new Date(1e3*parseFloat(e))})),Ie("x",(function(e,t,n){n._d=new Date(
|
|
1192
|
+
Ce("x",be),Ce("X",xe),Ie("X",(function(e,t,n){n._d=new Date(1e3*parseFloat(e))})),Ie("x",(function(e,t,n){n._d=new Date($e(e))})),
|
|
1193
1193
|
//! moment.js
|
|
1194
1194
|
r.version="2.30.1",i(Kn),r.fn=ca,r.min=er,r.max=tr,r.now=nr,r.utc=f,r.unix=ua,r.months=ya,r.isDate=d,r.locale=pn,r.invalid=v,r.duration=Tr,r.isMoment=S,r.weekdays=ba,r.parseZone=da,r.localeData=vn,r.isDuration=lr,r.monthsShort=va,r.weekdaysMin=_a,r.defineLocale=gn,r.updateLocale=yn,r.locales=bn,r.weekdaysShort=wa,r.normalizeUnits=ne,r.relativeTimeRounding=io,r.relativeTimeThreshold=ao,r.calendarFormat=Ur,r.prototype=ca,
|
|
1195
1195
|
// currently HTML5 input type only supports 24-hour formats
|
|
@@ -1213,14 +1213,14 @@ function Wr(e){let t,n,r=/*$_*/e[35]("new")+"";return{c(){t=g("span"),n=v(r),x(t
|
|
|
1213
1213
|
function Vr(e){let t,n;return{c(){t=g("span"),n=v(/*gametag*/e[8]),x(t,"class","GameExtraInfoLabel PopularGameTag")},m(e,r){m(e,t,r),h(t,n)},p(e,t){/*gametag*/256&t[0]&&F(n,/*gametag*/e[8])},d(e){e&&f(t)}}}
|
|
1214
1214
|
// (557:8) {#if livegamedata}
|
|
1215
1215
|
function Zr(e){let t,n,r=!/*isopen*/e[22]&&/*starttime*/e[20]&&/*timeformat*/e[21]&&Kr(e);function i(e,t){/*isopen*/
|
|
1216
|
-
return e[22]&&/*displaytype*/e[19]
|
|
1216
|
+
return e[22]&&/*displaytype*/e[19]===ui?Jr:/*isopen*/e[22]&&/*displaytype*/e[19]&&/*displaytype*/e[19]===di?Xr:void 0}let a=i(e),o=a&&a(e);return{c(){r&&r.c(),t=b(),o&&o.c(),n=w()},m(e,i){r&&r.m(e,i),m(e,t,i),o&&o.m(e,i),m(e,n,i)},p(e,s){!/*isopen*/e[22]&&/*starttime*/e[20]&&/*timeformat*/e[21]?r?r.p(e,s):(r=Kr(e),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null),a===(a=i(e))&&o?o.p(e,s):(o&&o.d(1),o=a&&a(e),o&&(o.c(),o.m(n.parentNode,n)))},d(e){r&&r.d(e),e&&f(t),o&&o.d(e),e&&f(n)}}}
|
|
1217
1217
|
// (558:10) {#if !isopen && starttime && timeformat}
|
|
1218
1218
|
function Kr(e){let t,n,r,i,a,o,s,l,c,u,d=/*$_*/e[35]("opens")+"",p=Rr.utc(/*starttime*/e[20]).local().format(/*timeformat*/e[21])+"",y=/*renderDealerName*/e[41](/*dealername*/e[34])+"",w=/*renderBetLimits*/e[40](/*min*/e[26],/*max*/e[27],/*currencySymbol*/e[25])+"";return{c(){t=g("div"),n=g("div"),r=v(d),i=b(),a=g("span"),o=v(p),s=b(),l=new C(!1),c=b(),u=new C(!1),x(n,"class","ClosedGame"),l.a=c,u.a=null,x(t,"class","GameProp LiveProps")},m(e,d){m(e,t,d),h(t,n),h(n,r),h(n,i),h(n,a),h(a,o),h(t,s),l.m(y,t),h(t,c),u.m(w,t)},p(e,t){/*$_*/16&t[1]&&d!==(d=/*$_*/e[35]("opens")+"")&&F(r,d),/*starttime, timeformat*/3145728&t[0]&&p!==(p=Rr.utc(/*starttime*/e[20]).local().format(/*timeformat*/e[21])+"")&&F(o,p),/*dealername*/8&t[1]&&y!==(y=/*renderDealerName*/e[41](/*dealername*/e[34])+"")&&l.p(y),/*min, max, currencySymbol*/234881024&t[0]&&w!==(w=/*renderBetLimits*/e[40](/*min*/e[26],/*max*/e[27],/*currencySymbol*/e[25])+"")&&u.p(w)},d(e){e&&f(t)}}}
|
|
1219
1219
|
// (591:70)
|
|
1220
1220
|
function Xr(e){let t,n,r,i,a,o,s=/*renderDealerName*/e[41](/*dealername*/e[34])+"",l=/*renderBetLimits*/e[40](/*min*/e[26],/*max*/e[27],/*currencySymbol*/e[25])+"",c=new Array(mi),u=[];for(let t=0;t<c.length;t+=1)u[t]=ti(Yr(e,c,t));return{c(){t=g("div"),n=g("div");for(let e=0;e<u.length;e+=1)u[e].c();r=b(),i=new C(!1),a=b(),o=new C(!1),x(n,"class","LiveIcons"),i.a=a,o.a=null,x(t,"class",/*roulettecontainerclassname*/e[30])},m(c,d){m(c,t,d),h(t,n);for(let e=0;e<u.length;e+=1)u[e]&&u[e].m(n,null);
|
|
1221
1221
|
/*div0_binding*/e[64](n),h(t,r),i.m(s,t),h(t,a),o.m(l,t)},p(e,r){if(/*roulleteresults, isdouble*/536887296&r[0]|/*renderSpan, colorsourcearray*/2049&r[1]){let t;for(c=new Array(mi),t=0;t<c.length;t+=1){const i=Yr(e,c,t);u[t]?u[t].p(i,r):(u[t]=ti(i),u[t].c(),u[t].m(n,null))}for(;t<u.length;t+=1)u[t].d(1);u.length=c.length}/*dealername*/8&r[1]&&s!==(s=/*renderDealerName*/e[41](/*dealername*/e[34])+"")&&i.p(s),/*min, max, currencySymbol*/234881024&r[0]&&l!==(l=/*renderBetLimits*/e[40](/*min*/e[26],/*max*/e[27],/*currencySymbol*/e[25])+"")&&o.p(l),/*roulettecontainerclassname*/1073741824&r[0]&&x(t,"class",/*roulettecontainerclassname*/e[30])},d(n){n&&f(t),p(u,n),
|
|
1222
1222
|
/*div0_binding*/e[64](null)}}}
|
|
1223
|
-
// (570:10) {#if isopen && displaytype
|
|
1223
|
+
// (570:10) {#if isopen && displaytype === BLACKJACK}
|
|
1224
1224
|
function Jr(e){let t,n,r,i,a,o,s=/*renderDealerName*/e[41](/*dealername*/e[34])+"",l=/*renderBetLimits*/e[40](/*min*/e[26],/*max*/e[27],/*currencySymbol*/e[25])+"";function c(e,t){/*istablefull*/
|
|
1225
1225
|
return e[32]?ri:ni}let u=c(e),d=u(e);return{c(){t=g("div"),n=g("div"),d.c(),r=b(),i=new C(!1),a=b(),o=new C(!1),x(n,"class","LiveIcons"),i.a=a,o.a=null,x(t,"class","GameProp LiveProps BlackjackDisplay"),x(t,"part","GameProp LiveProps BlackjackDisplay")},m(e,c){m(e,t,c),h(t,n),d.m(n,null),h(t,r),i.m(s,t),h(t,a),o.m(l,t)},p(e,t){u===(u=c(e))&&d?d.p(e,t):(d.d(1),d=u(e),d&&(d.c(),d.m(n,null))),/*dealername*/8&t[1]&&s!==(s=/*renderDealerName*/e[41](/*dealername*/e[34])+"")&&i.p(s),/*min, max, currencySymbol*/234881024&t[0]&&l!==(l=/*renderBetLimits*/e[40](/*min*/e[26],/*max*/e[27],/*currencySymbol*/e[25])+"")&&o.p(l)},d(e){e&&f(t),d.d()}}}
|
|
1226
1226
|
// (595:18) {#if roulleteresults && roulleteresults[i]}
|
|
@@ -1245,12 +1245,12 @@ function oi(e){let n,r,i;return{c(){n=g("div"),n.innerHTML='<svg version="1.1" c
|
|
|
1245
1245
|
// (613:6) {#if !isMobile(userAgent) && gamefavorite && isLoggedIn && favorites}
|
|
1246
1246
|
function si(e){let n,r,i;return{c(){n=g("div"),n.innerHTML='<svg version="1.1" class="FavoredIcon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 19.481 19.481" xmlns:xlink="http://www.w3.org/1999/xlink" enable-background="new 0 0 19.481 19.481"><path style="fill: var(--emfe-w-color-white, #FFFFFF);" d="m10.201,.758l2.478,5.865 6.344,.545c0.44,0.038 0.619,0.587 0.285,0.876l-4.812,4.169 1.442,6.202c0.1,0.431-0.367,0.77-0.745,0.541l-5.452-3.288-5.452,3.288c-0.379,0.228-0.845-0.111-0.745-0.541l1.442-6.202-4.813-4.17c-0.334-0.289-0.156-0.838 0.285-0.876l6.344-.545 2.478-5.864c0.172-0.408 0.749-0.408 0.921,0z"></path></svg>',x(n,"class","FavIconContainer")},m(t,a){m(t,n,a),r||(i=_(n,"click",/*click_handler_1*/e[65]),r=!0)},p:t,d(e){e&&f(n),r=!1,i()}}}
|
|
1247
1247
|
// (641:2) {#if showgamename === 'true'}
|
|
1248
|
-
function li(e){let t,n;return{c(){t=g("p"),n=v(/*gamename*/e[4]),x(t,"class","GameNameBelow"),x(t,"title",/*gamename*/e[4])},m(e,r){m(e,t,r),h(t,n)},p(e,r){/*gamename*/16&r[0]&&F(n,/*gamename*/e[4]),/*gamename*/16&r[0]&&x(t,"title",/*gamename*/e[4])},d(e){e&&f(t)}}}function ci(e){let n,r,i,a,o,s,l,u,d,p,y,w,_,S,C,E,G,T,M,
|
|
1249
|
-
return 65541&t[0]&&(
|
|
1250
|
-
/*img_binding*/e[62](i),h(r,s),h(r,l),h(l,u),h(u,d),h(d,p),h(u,y),R&&R.m(u,null),h(l,w),h(l,_),h(_,S),h(r,C),h(r,E),h(E,G),H&&H.m(G,null),h(G,T),B&&B.m(G,null),h(G,M),U&&U.m(G,null),h(E
|
|
1248
|
+
function li(e){let t,n;return{c(){t=g("p"),n=v(/*gamename*/e[4]),x(t,"class","GameNameBelow"),x(t,"title",/*gamename*/e[4])},m(e,r){m(e,t,r),h(t,n)},p(e,r){/*gamename*/16&r[0]&&F(n,/*gamename*/e[4]),/*gamename*/16&r[0]&&x(t,"title",/*gamename*/e[4])},d(e){e&&f(t)}}}function ci(e){let n,r,i,a,o,s,l,u,d,p,y,w,_,S,C,E,G,T,M,$,L,I,A,D,O,P,N=/*gamevendor*/(e[5]?/*gamevendor*/e[5]:"-")+"",R=/*lang*/e[1]&&jr(e),H=/*gameisnew*/e[7]&&Wr(e),B=/*gametag*/e[8]&&Vr(e),U=/*livegamedata*/e[13]&&Zr(e);function Y(e,t){/*gamefavorite, isLoggedIn, favorites*/
|
|
1249
|
+
return 65541&t[0]&&(L=null),/*gamefavorite, isLoggedIn*/65537&t[0]&&(I=null),/*gamefavorite, isLoggedIn, favorites*/65541&t[0]&&(A=null),null==L&&(L=!(Dr(/*userAgent*/e[36])||/*gamefavorite*/!e[0]||/*isLoggedIn*/!e[16]||/*favorites*/!e[2])),L?si:(null==I&&(I=!(Dr(/*userAgent*/e[36])||/*gamefavorite*/e[0]||/*isLoggedIn*/!e[16])),I?oi:(null==A&&(A=!!(Dr(/*userAgent*/e[36])&&/*gamefavorite*/e[0]&&/*isLoggedIn*/e[16]&&/*favorites*/e[2])),A?ai:void 0))}let z=Y(e,[-1,-1,-1,-1]),j=z&&z(e),W=/*showgamename*/"true"===e[10]&&li(e);return{c(){n=g("div"),r=g("div"),i=g("img"),s=b(),l=g("div"),u=g("div"),d=g("p"),p=v(/*gamename*/e[4]),y=b(),R&&R.c(),w=b(),_=g("span"),S=v(N),C=b(),E=g("div"),G=g("div"),H&&H.c(),T=b(),B&&B.c(),M=b(),U&&U.c(),$=b(),j&&j.c(),O=b(),W&&W.c(),this.c=t,c(i.src,a=/*gamethumbnail*/e[3])||x(i,"src",a),x(i,"class",o=`GameBg GameBg-${/*gamecellsize*/e[9]} ${/*loaded*/e[17]?"Loaded":""}`),x(i,"alt",""),x(i,"loading","lazy"),x(d,"class","GameInfoName"),x(d,"title",/*gamename*/e[4]),x(u,"class","GameInfo"),x(_,"class","GameInfoVendor"),x(l,"class","GameInfoWrapper"),x(G,"class","GameExtraInfo"),x(E,"class","GameExtraInfoContainer"),x(r,"class",D="GameInnerContainer "+(/*livegamedata*/e[13]&&!/*isopen*/e[22]&&/*openhours*/e[23].value||/*livegamedata*/e[13]&&/*istablefull*/e[32]?"GameInnerContainerUnavailable":"")),x(n,"class",P=`GameContainer ${/*extraclassname*/e[33]} ${/*casinogamesgridslider*/"true"==e[11]?"CasinoGamesGridSlider":""}`),k(n,"WithGameName",/*showgamename*/e[10])},m(t,a){m(t,n,a),h(n,r),h(r,i),
|
|
1250
|
+
/*img_binding*/e[62](i),h(r,s),h(r,l),h(l,u),h(u,d),h(d,p),h(u,y),R&&R.m(u,null),h(l,w),h(l,_),h(_,S),h(r,C),h(r,E),h(E,G),H&&H.m(G,null),h(G,T),B&&B.m(G,null),h(G,M),U&&U.m(G,null),h(E,$),j&&j.m(E,null),h(n,O),W&&W.m(n,null)
|
|
1251
1251
|
/*div5_binding*/,e[67](n)},p(e,t){/*gamethumbnail*/8&t[0]&&!c(i.src,a=/*gamethumbnail*/e[3])&&x(i,"src",a),/*gamecellsize, loaded*/131584&t[0]&&o!==(o=`GameBg GameBg-${/*gamecellsize*/e[9]} ${/*loaded*/e[17]?"Loaded":""}`)&&x(i,"class",o),/*gamename*/16&t[0]&&F(p,/*gamename*/e[4]),/*gamename*/16&t[0]&&x(d,"title",/*gamename*/e[4]),/*lang*/e[1]?R?R.p(e,t):(R=jr(e),R.c(),R.m(u,null)):R&&(R.d(1),R=null),/*gamevendor*/32&t[0]&&N!==(N=/*gamevendor*/(e[5]?/*gamevendor*/e[5]:"-")+"")&&F(S,N),/*gameisnew*/e[7]?H?H.p(e,t):(H=Wr(e),H.c(),H.m(G,T)):H&&(H.d(1),H=null),/*gametag*/e[8]?B?B.p(e,t):(B=Vr(e),B.c(),B.m(G,M)):B&&(B.d(1),B=null),/*livegamedata*/e[13]?U?U.p(e,t):(U=Zr(e),U.c(),U.m(G,null)):U&&(U.d(1),U=null),z===(z=Y(e,t))&&j?j.p(e,t):(j&&j.d(1),j=z&&z(e),j&&(j.c(),j.m(E,null))),/*livegamedata, isopen, openhours*/12591104&t[0]|/*istablefull*/2&t[1]&&D!==(D="GameInnerContainer "+(/*livegamedata*/e[13]&&!/*isopen*/e[22]&&/*openhours*/e[23].value||/*livegamedata*/e[13]&&/*istablefull*/e[32]?"GameInnerContainerUnavailable":""))&&x(r,"class",D),/*showgamename*/"true"===e[10]?W?W.p(e,t):(W=li(e),W.c(),W.m(n,null)):W&&(W.d(1),W=null),/*casinogamesgridslider*/2048&t[0]|/*extraclassname*/4&t[1]&&P!==(P=`GameContainer ${/*extraclassname*/e[33]} ${/*casinogamesgridslider*/"true"==e[11]?"CasinoGamesGridSlider":""}`)&&x(n,"class",P),/*casinogamesgridslider, showgamename*/3072&t[0]|/*extraclassname*/4&t[1]&&k(n,"WithGameName",/*showgamename*/e[10])},i:t,o:t,d(t){t&&f(n)
|
|
1252
1252
|
/*img_binding*/,e[62](null),R&&R.d(),H&&H.d(),B&&B.d(),U&&U.d(),j&&j.d(),W&&W.d()
|
|
1253
|
-
/*div5_binding*/,e[67](null)}}}const ui="blackjack",di="roulette",hi="doubleballroulette",mi=5;function fi(e,t,n){let r;d(e,En,(e=>n(35,r=e)));let i,a,o,s,l,c,u,h,m,f,p,g,y,v,b,w,_,x,S,F,k,C,E,G,M,{session
|
|
1253
|
+
/*div5_binding*/,e[67](null)}}}const ui="blackjack",di="roulette",hi="doubleballroulette",mi=5;function fi(e,t,n){let r;d(e,En,(e=>n(35,r=e)));let i,a,o,s,l,c,u,h,m,f,p,g,y,v,b,w,_,x,S,F,k,C,E,G,M,{session:L=""}=t,{userid:I=""}=t,{lang:A="en"}=t,{clientstyling:D=""}=t,{clientstylingurl:O=""}=t,{translationurl:N=""}=t,{favorites:R=""}=t,{gamethumbnail:H=""}=t,{gamename:B=""}=t,{gamevendor:U=""}=t,{gamelaunchurl:Y=""}=t,{gameid:z=""}=t,{gameisnew:j=""}=t,{gametag:W=""}=t,{gamefunmode:V=!1}=t,{gamefavorite:Z=!1}=t,{gamecellsize:K=""}=t,{showfavoredcategory:X=!1}=t,{showgamename:J=""}=t,{currency:q=""}=t,{gamepagemodalurl:Q="false"}=t,{endpoint:ee=""}=t,{categoryid:te=""}=t,{livelobbyendpoint:ne=""}=t,{connectlive:re=""}=t,{visibilityconnect:ie=""}=t,{integratedgameframedesktop:ae="false"}=t,{integratedgameframemobile:oe="false"}=t,{casinogamesgridslider:se="false"}=t,le=!1,ce=!1,ue=window.navigator.userAgent,de="HH:mm",he={},me=[],fe="EUR",pe="";const ge=[ui],ye=[di,hi],ve={"01":"Yellow","02":"Blue",10:"Green",40:"Red","05":"Purple",20:"Orange",X7:"Gold",X2:"Gold"},be={1:"Red",3:"Red",5:"Red",7:"Red",9:"Red",12:"Red",14:"Red",16:"Red",18:"Red",19:"Red",21:"Red",23:"Red",25:"Red",27:"Red",30:"Red",32:"Red",34:"Red",36:"Red",2:"Black",4:"Black",6:"Black",8:"Black",10:"Black",11:"Black",13:"Black",15:"Black",17:"Black",20:"Black",22:"Black",24:"Black",26:"Black",28:"Black",29:"Black",31:"Black",33:"Black",35:"Black",0:"Green","00":"Green"};Object.keys(Br).forEach((e=>{Hr(e,Br[e])}));const we=e=>{e.data.type!==`AddFavoriteThumbnail_${z}`||X||n(0,Z=!0),e.data.type!==`RemoveFavoriteThumbnail_${z}`||X||n(0,Z=!1),"UserSessionID"===e.data.type&&(n(16,le=!0),e.data.session,i=e.data.userID),"CategoryUpdate"===e.data.type&&n(13,s=null)},_e=e=>{window.postMessage({type:"SearchedItemClicked",gameId:e},window.location.href),
|
|
1254
1254
|
//Analytics event -- if game was searched
|
|
1255
1255
|
"function"==typeof gtag&>ag("event","OpenGame",{context:"GameThumbnail--Searched",gameId:`${e}`,userId:`${i||"Not logged in"}`}),
|
|
1256
1256
|
// Case mobile
|
|
@@ -1267,13 +1267,13 @@ a,Open:o}=i;if(e)switch(t){case"SeatsUpdated":a&&Array.isArray(a)&&(n(28,y=a),n(
|
|
|
1267
1267
|
}// } else if (contains(otherLiveGamesCategory, gameTypeToLower)) {
|
|
1268
1268
|
// GameComponent = 'poker';
|
|
1269
1269
|
// }
|
|
1270
|
-
return t})(s)),n(25,fe=Ur[q]),n(26,f=(he.min||{})[q]),n(27,p=(he.max||{})[q]),v=s.currentRouletteNumbers,b=s.currentDoubleBallRouletteNumbers,w=s.vendorCategory,n(29,_=w.toLowerCase()===hi),n(14,x=(_?b:v)||[]),n(30,S="GameProp LiveProps RoulleteProps"),n(30,S+=_?" Double":""),n(31,F=Ge(ye,w.toLowerCase())?be:ve),C=k,n(32,k=Array.isArray(y)&&y.length===g),s.dealer&&n(34,G=s.dealer.DealerName),M=s.numberOfPlayers,n(33,pe="ListGame"),s.isOpen&&s.currentRouletteNumbers&&n(33,pe+=" GameBackdrop"),h&&k&&f&&p&&s.currentOccupiedSeats?n(33,pe+=" GameContainerDimmed"):!1===h&&u&&n(33,pe+=" GameContainerFullyDimmed"),o&&(!C&&k?(n(33,pe+=" PulsatingRedShadow"),n(33,pe=pe.replace(" PulsatingGreenShadow",""))):C&&!k&&(n(33,pe+=" PulsatingGreenShadow"),n(33,pe=pe.replace(" PulsatingRedShadow",""))))}},Me=()=>{let e=new URL(O),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,setTimeout((()=>{o.appendChild(t)}),1)}))};T((()=>(window.addEventListener("message",we,!1),()=>{window.removeEventListener("message",we),l&&l.removeEventListener("message",Ce)})));return e.$$set=e=>{"session"in e&&n(43
|
|
1270
|
+
return t})(s)),n(25,fe=Ur[q]),n(26,f=(he.min||{})[q]),n(27,p=(he.max||{})[q]),v=s.currentRouletteNumbers,b=s.currentDoubleBallRouletteNumbers,w=s.vendorCategory,n(29,_=w.toLowerCase()===hi),n(14,x=(_?b:v)||[]),n(30,S="GameProp LiveProps RoulleteProps"),n(30,S+=_?" Double":""),n(31,F=Ge(ye,w.toLowerCase())?be:ve),C=k,n(32,k=Array.isArray(y)&&y.length===g),s.dealer&&n(34,G=s.dealer.DealerName),M=s.numberOfPlayers,n(33,pe="ListGame"),s.isOpen&&s.currentRouletteNumbers&&n(33,pe+=" GameBackdrop"),h&&k&&f&&p&&s.currentOccupiedSeats?n(33,pe+=" GameContainerDimmed"):!1===h&&u&&n(33,pe+=" GameContainerFullyDimmed"),o&&(!C&&k?(n(33,pe+=" PulsatingRedShadow"),n(33,pe=pe.replace(" PulsatingGreenShadow",""))):C&&!k&&(n(33,pe+=" PulsatingGreenShadow"),n(33,pe=pe.replace(" PulsatingRedShadow",""))))}},Me=()=>{let e=new URL(O),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,setTimeout((()=>{o.appendChild(t)}),1)}))};T((()=>(window.addEventListener("message",we,!1),()=>{window.removeEventListener("message",we),l&&l.removeEventListener("message",Ce)})));return e.$$set=e=>{"session"in e&&n(43,L=e.session),"userid"in e&&n(44,I=e.userid),"lang"in e&&n(1,A=e.lang),"clientstyling"in e&&n(45,D=e.clientstyling),"clientstylingurl"in e&&n(46,O=e.clientstylingurl),"translationurl"in e&&n(47,N=e.translationurl),"favorites"in e&&n(2,R=e.favorites),"gamethumbnail"in e&&n(3,H=e.gamethumbnail),"gamename"in e&&n(4,B=e.gamename),"gamevendor"in e&&n(5,U=e.gamevendor),"gamelaunchurl"in e&&n(48,Y=e.gamelaunchurl),"gameid"in e&&n(6,z=e.gameid),"gameisnew"in e&&n(7,j=e.gameisnew),"gametag"in e&&n(8,W=e.gametag),"gamefunmode"in e&&n(49,V=e.gamefunmode),"gamefavorite"in e&&n(0,Z=e.gamefavorite),"gamecellsize"in e&&n(9,K=e.gamecellsize),"showfavoredcategory"in e&&n(50,X=e.showfavoredcategory),"showgamename"in e&&n(10,J=e.showgamename),"currency"in e&&n(51,q=e.currency),"gamepagemodalurl"in e&&n(52,Q=e.gamepagemodalurl),"endpoint"in e&&n(53,ee=e.endpoint),"categoryid"in e&&n(54,te=e.categoryid),"livelobbyendpoint"in e&&n(55,ne=e.livelobbyendpoint),"connectlive"in e&&n(56,re=e.connectlive),"visibilityconnect"in e&&n(57,ie=e.visibilityconnect),"integratedgameframedesktop"in e&&n(58,ae=e.integratedgameframedesktop),"integratedgameframemobile"in e&&n(59,oe=e.integratedgameframemobile),"casinogamesgridslider"in e&&n(11,se=e.casinogamesgridslider)},e.$$.update=()=>{/*connectlive*/33554432&e.$$.dirty[1]&&re&&("disconnect"===re?ke():"connect"===re&&Fe()),/*visibilityconnect*/67108864&e.$$.dirty[1]&&ie&&("disconnect"===ie?ke():"connect"===ie&&"connect"===re&&Fe()),/*lang*/2&e.$$.dirty[0]&&A&&Se(),/*session, userid, endpoint*/4206592&e.$$.dirty[1]&&L&&I&&ee&&(n(16,le=!0),i=I),/*gamethumbnail*/8&e.$$.dirty[0]&&H&&a&&n(18,a.onload=()=>{n(17,ce=!0)},a),/*customStylingContainer*/4096&e.$$.dirty[0]|/*clientstyling*/16384&e.$$.dirty[1]&&D&&o&&(()=>{let e=document.createElement("style");e.innerHTML=D,o.appendChild(e)})(),/*customStylingContainer*/4096&e.$$.dirty[0]|/*clientstylingurl*/32768&e.$$.dirty[1]&&O&&o&&Me(),e.$$.dirty[0],/*translationurl*/65536&e.$$.dirty[1]&&N&&fetch(N).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{Hr(t,e[t])}))})).catch((e=>{console.log(e)})),/*gamecellsize*/512&e.$$.dirty[0]|/*clientstylingurl*/32768&e.$$.dirty[1]&&K&&O&&Me(),/*endpoint, livelobbyendpoint*/20971520&e.$$.dirty[1]&&ee&&ne&&(()=>{let e=new URL(`${ne.split("?")[0]}`);e.searchParams.append("platform",Or(ue)),e.searchParams.append("language",A),
|
|
1271
1271
|
// let url:URL = new URL(`${endpoint}${livelobbyendpoint}`);
|
|
1272
|
-
fetch(e).then((e=>e.json())).then((e=>{const{details:t}=e[0];n(13,s=t)}))})(),/*livegamedata*/8192&e.$$.dirty[0]&&s&&Te(),/*roulletteref, roulleteresults*/49152&e.$$.dirty[0]&&E&&x&&(()=>{const e="FirstElementAnimated",t=E.getElementsByClassName("First")[0];t&&(t.classList.add(e),setTimeout((()=>{t.classList.remove(e)}),2e3))})()},[Z,A,R,H,B,U,z,j,W,K,J,se,o,s,x,E,le,ce,a,c,u,de,h,m,me,fe,f,p,y,_,S,F,k,pe,G,r,ue,_e,xe,Ge,(e,t,n)=>{let r,i;return null!=e&&null!=t&&(i=`\n <span>\n ${n}\n </span>\n ${Ee(e)}-${Ee(t)}`),M&&(r=`\n <svg fill="var(--emfe-w-color-white, #FFFFFF);" width="13" height="13" viewBox="0 0 13 14" xmlns="http://www.w3.org/2000/svg"><path d="M4 8.2a4.6 4.6 0 0 0 5 0c2.7.8 4 2.6 4 4.8H0c0-2.2 1.3-4 4-4.8zM6.6 8c2 0 3.8-1.7 3.8-4 0-2.1-1.7-4-3.8-4a3.9 3.9 0 0 0-3.8 4c0 2.2 1.7 4 3.8 4z"/></svg>\n <span class="NrOfPlayers">${M}</span>`),r||i?`\n <p class="LiveLimits">\n <span class="BetLimitLeft">\n ${i||""}\n </span>\n <span class="BetLimitRight">\n ${r||""}\n </span>\n </p>`:""},e=>e?`\n <p class="LiveLimits">\n <span class="DealerName">${r("dealer")}: ${e}</span>\n </p>\n `:"",(e,t,n,r="")=>{const i=`${e} ${r}`,a=t.toString().match(/first0|second0|0/g);return 0===t||a&&0!==a.length?`\n <span\n id=${t}\n class="${i}"\n >\n ${n}\n </span>\n `:`\n <span id=${t} class="${i}">\n ${n}\n </span>\n `},$,I,D,O,N,Y,V,X,q,Q,ee,te,ne,re,ie,ae,oe,ve,be,function(e){L[e?"unshift":"push"]((()=>{a=e,n(18,a)}))},()=>_e(z),function(e){L[e?"unshift":"push"]((()=>{E=e,n(15,E)}))},()=>xe(z),()=>xe(z),function(e){L[e?"unshift":"push"]((()=>{o=e,n(12,o)}))}]}function pi(e,t){Nt(e,t)}!customElements.get("casino-game-thumbnail")&&customElements.define("casino-game-thumbnail",class extends W{constructor(e){super();const t=document.createElement("style");t.textContent='*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GameContainer{width:100%;height:100%;position:relative}.GameContainer.WithGameName{padding-bottom:20px}.GameInnerContainer{position:relative;width:100%;height:100%;overflow:hidden;border-radius:5px}.GameInnerContainer .GameBg{width:100%;height:100%;object-fit:unset;transition:all 150ms ease-in-out}.GameInnerContainer .GameBg.GameBg-1x2,.GameInnerContainer .GameBg.GameBg-2x1,.GameInnerContainer .GameBg.GameBg-2x2{object-fit:cover}.GameInnerContainer .GameInfoWrapper{display:none;position:absolute;width:100%;height:100%;top:0;right:0;bottom:0;left:0;background:rgba(0, 0, 0, 0.65);z-index:15;padding:8px 25px}.GameInnerContainer .GameInfoWrapper .GameInfo{display:flex;width:100%;height:100%;flex-direction:column;align-items:center;justify-content:space-evenly}.GameInnerContainer .GameInfoWrapper .GameInfoName{color:white;text-align:center;font-size:14px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;text-overflow:ellipsis}.GameInnerContainer .GameInfoWrapper .GameInfoBtn{appearance:none;padding:6px;background:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));font-size:16px;border:2px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));border-radius:5px;cursor:pointer;transition:border 150ms ease-in-out}.GameInnerContainer .GameInfoWrapper .GameInfoBtn:hover{border:2px solid var(--emfe-w-color-primary-100, #F1BED9)}.GameInnerContainer .GameInfoWrapper .GameInfoVendor{display:flex;justify-content:flex-end;align-items:center;color:white;font-size:12px;font-weight:normal}.GameInnerContainer .GameExtraInfoContainer{position:absolute;top:0;left:0;display:flex;flex-direction:row;justify-content:space-between;align-items:center;width:100%;height:auto;padding:4px}.GameInnerContainer .GameExtraInfo{display:flex;justify-content:flex-start;align-items:center;width:100%;height:100%;z-index:0}.GameInnerContainer .GameExtraInfoLabel{font-size:11px;padding:3px;background-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));font-weight:bold;text-transform:uppercase;border-radius:5px}.GameInnerContainer:hover,.GameInnerContainer:active{cursor:pointer}.GameInnerContainer:hover .GameInfoWrapper,.GameInnerContainer:active .GameInfoWrapper{display:flex;flex-direction:column;justify-content:center}.GameInnerContainer:hover .GameBg,.GameInnerContainer:active .GameBg{filter:blur(5px) grayscale(1)}.GameInnerContainer:hover .UnfavoredIcon,.GameInnerContainer:active .UnfavoredIcon{display:flex}.GameNameBelow{color:var(--emfe-w-color-white, #FFFFFF);position:relative;bottom:-5px;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.FavoredIcon,.UnfavoredIcon{width:20px;height:20px}.UnfavoredIcon{display:none}.FavIconContainer{display:flex;justify-content:center;align-items:center;cursor:pointer;z-index:15}@media(min-width: 1100px){.GamesWrapper .ListGame:hover .GamePlayNowText{z-index:4}}.ListGame:hover .OpenSeat,.ListGame:hover .ClosedSeat,.ListGame:hover .LiveLimits,.ListGame:hover .LatestResult,.ListGame:hover .FullTable,.ListGame:active .OpenSeat,.ListGame:active .ClosedSeat,.ListGame:active .LiveLimits,.ListGame:active .LatestResult,.ListGame:active .FullTable{opacity:0.2}.ListGame.GameBackdrop .GameInnerContainer::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(0deg, rgb(0, 0, 0) 15%, rgba(0, 0, 0, 0) 100%)}.ListGame .GameInnerContainer{z-index:0}.ListGame .GameInnerContainer .GameBg{z-index:5}.ListGame .GameInnerContainer .GameExtraInfo{z-index:10}.ListGame .GameInnerContainer::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0}.ListGame .GameInnerContainer.GameInnerContainerUnavailable::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:rgba(0, 0, 0, 0.9)}.ListGame .GameInnerContainer .ListGame.GameContainerDimmed:before{display:block;content:" ";width:100%;height:100%;position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;background:rgba(0, 0, 0, 0.4);color:var(--emfe-w-color-white, #FFFFFF);fill:var(--emfe-w-color-white, #FFFFFF);opacity:1;border-radius:4px}.ListGame .GameInnerContainer .ListGame.GameContainerFullyDimmed:before{display:block;content:" ";width:100%;height:100%;position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;background:rgba(0, 0, 0, 0.8);color:var(--emfe-w-color-white, #FFFFFF);fill:var(--emfe-w-color-white, #FFFFFF);opacity:1;border-radius:4px}.ListGame .GameInnerContainer .LiveProps{display:flex;flex-direction:column;position:absolute;bottom:8px;left:-8px;right:0;width:100%;padding:0;background:linear-gradient(to top, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0.3) 80%, rgba(0, 0, 0, 0.99) 100%);color:var(--emfe-w-color-white, #FFFFFF);opacity:1;font-size:14px}.ListGame .GameInnerContainer .ListGame:hover .LiveProps,.ListGame .GameInnerContainer .ListGameLink:hover .LiveProps{opacity:0}@keyframes red-pulse{0%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}15%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}30%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}50%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}65%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}80%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}100%{box-shadow:0 0 0 0 rgba(255, 0, 0, 0.75)}}@keyframes green-pulse{0%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}15%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}30%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}50%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}65%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}80%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}100%{box-shadow:0 0 0 0 rgba(86, 168, 10, 0.75)}}@keyframes flip-open{0%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 90deg);transform:perspective(400px) rotate3d(0, 1, 0, 90deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -20deg);transform:perspective(400px) rotate3d(0, 1, 0, -20deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 10deg);transform:perspective(400px) rotate3d(0, 1, 0, 10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -5deg);transform:perspective(400px) rotate3d(0, 1, 0, -5deg)}100%{-webkit-transform:perspective(400px);transform:perspective(400px)}}.ListGame .GameInnerContainer .silde-in-from-left{-webkit-animation-name:silde-in-from-left;animation-name:silde-in-from-left;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}@-webkit-keyframes silde-in-from-left{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%);visibility:visible}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes silde-in-from-left{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%);visibility:visible}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes flip-closed-seat{0%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 90deg);transform:perspective(400px) rotate3d(0, 1, 0, 90deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -20deg);transform:perspective(400px) rotate3d(0, 1, 0, -20deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 10deg);transform:perspective(400px) rotate3d(0, 1, 0, 10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -5deg);transform:perspective(400px) rotate3d(0, 1, 0, -5deg)}100%{-webkit-transform:perspective(400px);transform:perspective(400px)}}.ListGame .GameInnerContainer .ListGame.PulsatingGreenShadow,.ListGame .GameInnerContainer .ListGame.PulsatingRedShadow{overflow:auto}.ListGame .GameInnerContainer .ListGame.PulsatingGreenShadow{animation:green-pulse 2s linear}.ListGame .GameInnerContainer .ListGame.PulsatingRedShadow{animation:red-pulse 2s linear}.ListGame .GameInnerContainer .LiveIcons{position:relative;display:flex;padding:0 16px;box-sizing:border-box;flex-direction:row;align-items:center;justify-content:flex-start;min-height:auto;margin-bottom:5px}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons{min-height:auto}}.ListGame .GameInnerContainer .LiveIcons:first-child{margin-left:0}.ListGame .GameInnerContainer .LiveIcons:last-child{margin-right:0}.ListGame .GameInnerContainer .LiveIcons.Black,.ListGame .GameInnerContainer .LiveIcons.Red,.ListGame .GameInnerContainer .LiveIcons.Green{color:var(--emfe-w-color-white, #FFFFFF);border:1px solid var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .LatestResult{min-width:12px;padding:2px;margin:0 1px;margin-right:6px;font-size:14px;text-align:center}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons .LatestResult{min-width:12px;font-size:14px;margin:0 2px;margin-right:5px;padding:2px}}.ListGame .GameInnerContainer .LiveIcons .LatestResult.FirstElementAnimated{animation:flip-open 2s both;-webkit-animation:flip-open 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First{min-width:24px;padding:4px}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Black,.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Red,.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Green{color:var(--emfe-w-color-white, #FFFFFF);border:1px solid var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Black{background:var(--emfe-w-color-black, #000000)}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Red{background:red}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Green{background:#56A80A}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons .LatestResult.First{padding:4px}}.ListGame .GameInnerContainer .LiveIcons .Double{display:flex;flex-direction:column}.ListGame .GameInnerContainer .LiveIcons .Double .LatestResult:first-child{margin-bottom:10px}.ListGame .GameInnerContainer .LiveIcons .Double:first-child .LatestResult{margin-left:0;margin-bottom:0}.ListGame .GameInnerContainer .LiveIcons .Double:last-child .LatestResult{margin-right:0}.ListGame .GameInnerContainer .LiveIcons .Black,.ListGame .GameInnerContainer .LiveIcons .Red,.ListGame .GameInnerContainer .LiveIcons .Green{background-color:transparent}.ListGame .GameInnerContainer .LiveIcons .Black{color:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .Red{color:red}.ListGame .GameInnerContainer .LiveIcons .Green{color:#56A80A}.ListGame .GameInnerContainer .Blue{color:#4d90a7}.ListGame .GameInnerContainer .Red{background-color:red}.ListGame .GameInnerContainer .Black{background-color:var(--emfe-w-color-black, #000000)}.ListGame .GameInnerContainer .Green{background-color:#56A80A}.ListGame .GameInnerContainer .White{background-color:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .Yellow{background-color:#eeca3d}.ListGame .GameInnerContainer .Gold{background-color:#866d0c}.ListGame .GameInnerContainer .Orange{background-color:#574708}.ListGame .GameInnerContainer .Purple{background-color:#330033}.ListGame .GameInnerContainer .Tie{background-color:var(--emfe-w-color-white, #FFFFFF);background-image:linear-gradient(135deg, var(--emfe-w-color-white, #FFFFFF) 25%, transparent 25%, transparent 50%, #212121 50%, var(--emfe-w-color-white, #FFFFFF) 75%, transparent 75%, var(--emfe-w-color-white, #FFFFFF))}.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{display:inline-block;width:16px;height:16px;margin-right:4px}@media(min-width: 768px){.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{width:16px;height:16px}}@media(min-width: 1100px){.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{width:16px;height:16px}}.ListGame .GameInnerContainer .OpenSeat svg,.ListGame .GameInnerContainer .ClosedSeat svg{width:100%;height:100%}.ListGame .GameInnerContainer .OpenSeat{animation:flip-closed-seat 2s both;-webkit-animation:flip-closed-seat 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .ClosedSeat{animation:flip-open 2s both;-webkit-animation:flip-open 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .OpenSeat svg{fill:transparent;stroke:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .ClosedSeat svg{fill:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .FullTable{display:flex;position:relative;z-index:10;height:20px;padding:1px 4px 1px 0;align-items:center;border-radius:3px;font-size:12px;white-space:normal;text-transform:uppercase;-webkit-animation-name:silde-in-from-left;animation-name:silde-in-from-left;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}.ListGame .GameInnerContainer .FullTable svg{width:100%;height:100%;fill:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .FullTable.ClosedSeat{margin-right:-3px}.ListGame .GameInnerContainer .PlayersDisplay{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;padding:2px 10px;background:linear-gradient(to bottom, rgba(33, 33, 33, 0.9) 0%, rgba(33, 33, 33, 0.1) 100%);color:var(--emfe-w-color-white, #FFFFFF)}@media(min-width: 1100px){.ListGame .GameInnerContainer .PlayersDisplay{padding:2px 16px}}.ListGame .GameInnerContainer .PlayersDisplay .PlayersIcon{width:14px;height:14px;margin-right:4px}.ListGame .GameInnerContainer .PlayersDisplay .PlayersIcon svg{fill:var(--emfe-w-color-white, #FFFFFF);width:100%;height:100%}.ListGame .GameInnerContainer .ClosedGame{opacity:1;z-index:10;padding:8px 10px;color:var(--emfe-w-color-white, #FFFFFF);font-size:18px}@media(min-width: 1100px){.ListGame .GameInnerContainer .ClosedGame{padding:8px 16px}}.ListGame .GameInnerContainer .ClosedGame span{font-size:18px}.ListGame .GameInnerContainer .LiveLimits{opacity:1;display:flex;flex-direction:row;justify-content:space-between;padding:2px 20px 5px 20px;background:var(--emfe-w-color-black, #000000);color:var(--emfe-w-color-white, #FFFFFF);font-weight:normal;font-size:12px}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveLimits{padding:2px 18px 5px 18px}}.ListGame .GameInnerContainer .LiveLimits span{font-size:12px}.ListGame .GameInnerContainer .Players{display:inline-block;width:19px;height:19px}.LoaderRipple{width:80px;height:80px;position:absolute;top:40px;left:-8px}.LoaderRipple div{position:absolute;border:4px solid #fff;opacity:1;border-radius:50%;animation:ripple-effect 1s cubic-bezier(0, 0.2, 0.8, 1) infinite}.LoaderRipple div:nth-child(2){animation-delay:-0.5s}@keyframes ripple-effect{0%{top:36px;left:36px;width:0;height:0;opacity:0}4.9%{top:36px;left:36px;width:0;height:0;opacity:0}5%{top:36px;left:36px;width:0;height:0;opacity:1}100%{top:0px;left:0px;width:72px;height:72px;opacity:0}}@container (max-width: 480px){.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper{gap:0px;padding:8px 10px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName{font-size:12px;margin-top:4px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoBtn{font-size:12px;padding:2px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoVendor{font-size:8px}.CasinoGamesGridSlider .GameInnerContainer .GameExtraInfoContainer .FavoredIcon,.CasinoGamesGridSlider .GameInnerContainer .GameExtraInfoContainer .UnfavoredIcon{width:14px;height:14px}.CasinoGamesGridSlider .GameInnerContainer .GameExtraInfoContainer .GameExtraInfoLabel{font-size:8px}}',this.shadowRoot.appendChild(t),j(this,{target:this.shadowRoot,props:E(this.attributes),customElement:!0},fi,ci,o,{session:43,userid:44,lang:1,clientstyling:45,clientstylingurl:46,translationurl:47,favorites:2,gamethumbnail:3,gamename:4,gamevendor:5,gamelaunchurl:48,gameid:6,gameisnew:7,gametag:8,gamefunmode:49,gamefavorite:0,gamecellsize:9,showfavoredcategory:50,showgamename:10,currency:51,gamepagemodalurl:52,endpoint:53,categoryid:54,livelobbyendpoint:55,connectlive:56,visibilityconnect:57,integratedgameframedesktop:58,integratedgameframemobile:59,casinogamesgridslider:11,MONEY_WHEEL_COLOR_MAP:60,ROULETTE_COLOR_MAP:61},null,[-1,-1,-1,-1]),e&&(e.target&&m(e.target,this,e.anchor),e.props&&(this.$set(e.props),B()))}static get observedAttributes(){return["session","userid","lang","clientstyling","clientstylingurl","translationurl","favorites","gamethumbnail","gamename","gamevendor","gamelaunchurl","gameid","gameisnew","gametag","gamefunmode","gamefavorite","gamecellsize","showfavoredcategory","showgamename","currency","gamepagemodalurl","endpoint","categoryid","livelobbyendpoint","connectlive","visibilityconnect","integratedgameframedesktop","integratedgameframemobile","casinogamesgridslider","MONEY_WHEEL_COLOR_MAP","ROULETTE_COLOR_MAP"]}get session(){return this.$$.ctx[43]}set session(e){this.$$set({session:e}),B()}get userid(){return this.$$.ctx[44]}set userid(e){this.$$set({userid:e}),B()}get lang(){return this.$$.ctx[1]}set lang(e){this.$$set({lang:e}),B()}get clientstyling(){return this.$$.ctx[45]}set clientstyling(e){this.$$set({clientstyling:e}),B()}get clientstylingurl(){return this.$$.ctx[46]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),B()}get translationurl(){return this.$$.ctx[47]}set translationurl(e){this.$$set({translationurl:e}),B()}get favorites(){return this.$$.ctx[2]}set favorites(e){this.$$set({favorites:e}),B()}get gamethumbnail(){return this.$$.ctx[3]}set gamethumbnail(e){this.$$set({gamethumbnail:e}),B()}get gamename(){return this.$$.ctx[4]}set gamename(e){this.$$set({gamename:e}),B()}get gamevendor(){return this.$$.ctx[5]}set gamevendor(e){this.$$set({gamevendor:e}),B()}get gamelaunchurl(){return this.$$.ctx[48]}set gamelaunchurl(e){this.$$set({gamelaunchurl:e}),B()}get gameid(){return this.$$.ctx[6]}set gameid(e){this.$$set({gameid:e}),B()}get gameisnew(){return this.$$.ctx[7]}set gameisnew(e){this.$$set({gameisnew:e}),B()}get gametag(){return this.$$.ctx[8]}set gametag(e){this.$$set({gametag:e}),B()}get gamefunmode(){return this.$$.ctx[49]}set gamefunmode(e){this.$$set({gamefunmode:e}),B()}get gamefavorite(){return this.$$.ctx[0]}set gamefavorite(e){this.$$set({gamefavorite:e}),B()}get gamecellsize(){return this.$$.ctx[9]}set gamecellsize(e){this.$$set({gamecellsize:e}),B()}get showfavoredcategory(){return this.$$.ctx[50]}set showfavoredcategory(e){this.$$set({showfavoredcategory:e}),B()}get showgamename(){return this.$$.ctx[10]}set showgamename(e){this.$$set({showgamename:e}),B()}get currency(){return this.$$.ctx[51]}set currency(e){this.$$set({currency:e}),B()}get gamepagemodalurl(){return this.$$.ctx[52]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),B()}get endpoint(){return this.$$.ctx[53]}set endpoint(e){this.$$set({endpoint:e}),B()}get categoryid(){return this.$$.ctx[54]}set categoryid(e){this.$$set({categoryid:e}),B()}get livelobbyendpoint(){return this.$$.ctx[55]}set livelobbyendpoint(e){this.$$set({livelobbyendpoint:e}),B()}get connectlive(){return this.$$.ctx[56]}set connectlive(e){this.$$set({connectlive:e}),B()}get visibilityconnect(){return this.$$.ctx[57]}set visibilityconnect(e){this.$$set({visibilityconnect:e}),B()}get integratedgameframedesktop(){return this.$$.ctx[58]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),B()}get integratedgameframemobile(){return this.$$.ctx[59]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),B()}get casinogamesgridslider(){return this.$$.ctx[11]}set casinogamesgridslider(e){this.$$set({casinogamesgridslider:e}),B()}get MONEY_WHEEL_COLOR_MAP(){return this.$$.ctx[60]}get ROULETTE_COLOR_MAP(){return this.$$.ctx[61]}});const gi={en:{providers:"Providers:",filterby:"Filter by:",all:"All",clear:"Clear all"},zh:{providers:"Providers:",filterby:"Filter by",all:"all",clear:"Clear all"},de:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},it:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},fr:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},es:{providers:"Proveedores:",filterby:"Filtrar Por:",all:"Todos",clear:"Limpiar todos"},tr:{providers:"Sağlayıcılar:",filterby:"Filtrele:",all:"Hepsi",clear:"Tümünü Temizle"},ru:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},ro:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},hr:{providers:"Brendovi igara",filterby:"Filtrirati po:",all:"Sve",clear:"Očisti sve"},hu:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},pl:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},pt:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},sl:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},sr:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},"pt-br":{providers:"Provedores:",filterby:"Filtrar por",all:"Tudo",clear:"Apagar tudo"},"es-mx":{providers:"Proveedores:",filterby:"Filtrar por",all:"Todo",clear:"Borrar todo"}};
|
|
1272
|
+
fetch(e).then((e=>e.json())).then((e=>{const{details:t}=e[0];n(13,s=t)}))})(),/*livegamedata*/8192&e.$$.dirty[0]&&s&&Te(),/*roulletteref, roulleteresults*/49152&e.$$.dirty[0]&&E&&x&&(()=>{const e="FirstElementAnimated",t=E.getElementsByClassName("First")[0];t&&(t.classList.add(e),setTimeout((()=>{t.classList.remove(e)}),2e3))})()},[Z,A,R,H,B,U,z,j,W,K,J,se,o,s,x,E,le,ce,a,c,u,de,h,m,me,fe,f,p,y,_,S,F,k,pe,G,r,ue,_e,xe,Ge,(e,t,n)=>{let r,i;return null!=e&&null!=t&&(i=`\n <span>\n ${n}\n </span>\n ${Ee(e)}-${Ee(t)}`),M&&(r=`\n <svg fill="var(--emfe-w-color-white, #FFFFFF);" width="13" height="13" viewBox="0 0 13 14" xmlns="http://www.w3.org/2000/svg"><path d="M4 8.2a4.6 4.6 0 0 0 5 0c2.7.8 4 2.6 4 4.8H0c0-2.2 1.3-4 4-4.8zM6.6 8c2 0 3.8-1.7 3.8-4 0-2.1-1.7-4-3.8-4a3.9 3.9 0 0 0-3.8 4c0 2.2 1.7 4 3.8 4z"/></svg>\n <span class="NrOfPlayers">${M}</span>`),r||i?`\n <p class="LiveLimits">\n <span class="BetLimitLeft">\n ${i||""}\n </span>\n <span class="BetLimitRight">\n ${r||""}\n </span>\n </p>`:""},e=>e?`\n <p class="LiveLimits">\n <span class="DealerName">${r("dealer")}: ${e}</span>\n </p>\n `:"",(e,t,n,r="")=>{const i=`${e} ${r}`,a=t.toString().match(/first0|second0|0/g);return 0===t||a&&0!==a.length?`\n <span\n id=${t}\n class="${i}"\n >\n ${n}\n </span>\n `:`\n <span id=${t} class="${i}">\n ${n}\n </span>\n `},L,I,D,O,N,Y,V,X,q,Q,ee,te,ne,re,ie,ae,oe,ve,be,function(e){$[e?"unshift":"push"]((()=>{a=e,n(18,a)}))},()=>_e(z),function(e){$[e?"unshift":"push"]((()=>{E=e,n(15,E)}))},()=>xe(z),()=>xe(z),function(e){$[e?"unshift":"push"]((()=>{o=e,n(12,o)}))}]}function pi(e,t){Nt(e,t)}!customElements.get("casino-game-thumbnail")&&customElements.define("casino-game-thumbnail",class extends W{constructor(e){super();const t=document.createElement("style");t.textContent='*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GameContainer{width:100%;height:100%;position:relative}.GameContainer.WithGameName{padding-bottom:20px}.GameInnerContainer{position:relative;width:100%;height:100%;overflow:hidden;border-radius:5px}.GameInnerContainer .GameBg{width:100%;height:100%;object-fit:unset;transition:all 150ms ease-in-out}.GameInnerContainer .GameBg.GameBg-1x2,.GameInnerContainer .GameBg.GameBg-2x1,.GameInnerContainer .GameBg.GameBg-2x2{object-fit:cover}.GameInnerContainer .GameInfoWrapper{display:none;position:absolute;width:100%;height:100%;top:0;right:0;bottom:0;left:0;background:rgba(0, 0, 0, 0.65);z-index:15;padding:8px 25px}.GameInnerContainer .GameInfoWrapper .GameInfo{display:flex;width:100%;height:100%;flex-direction:column;align-items:center;justify-content:space-evenly}.GameInnerContainer .GameInfoWrapper .GameInfoName{color:white;text-align:center;font-size:14px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;text-overflow:ellipsis}.GameInnerContainer .GameInfoWrapper .GameInfoBtn{appearance:none;padding:6px;background:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));font-size:16px;border:2px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));border-radius:5px;cursor:pointer;transition:border 150ms ease-in-out}.GameInnerContainer .GameInfoWrapper .GameInfoBtn:hover{border:2px solid var(--emfe-w-color-primary-100, #F1BED9)}.GameInnerContainer .GameInfoWrapper .GameInfoVendor{display:flex;justify-content:flex-end;align-items:center;color:white;font-size:12px;font-weight:normal}.GameInnerContainer .GameExtraInfoContainer{display:flex;flex-direction:row;justify-content:space-between;align-items:center;width:100%;height:auto;padding:4px}.GameInnerContainer .GameExtraInfo{display:flex;justify-content:flex-start;align-items:center;width:100%;height:100%;z-index:0}.GameInnerContainer .GameExtraInfoLabel{font-size:11px;padding:3px;background-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));font-weight:bold;text-transform:uppercase;border-radius:5px}.GameInnerContainer:hover,.GameInnerContainer:active{cursor:pointer}.GameInnerContainer:hover .GameInfoWrapper,.GameInnerContainer:active .GameInfoWrapper{display:flex;flex-direction:column;justify-content:center}.GameInnerContainer:hover .GameBg,.GameInnerContainer:active .GameBg{filter:blur(5px) grayscale(1)}.GameInnerContainer:hover .UnfavoredIcon,.GameInnerContainer:active .UnfavoredIcon{display:flex}.GameInnerContainer:hover .GameExtraInfo{opacity:0.3}.GameNameBelow{color:var(--emfe-w-color-white, #FFFFFF);position:relative;bottom:-5px;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.FavoredIcon,.UnfavoredIcon{width:20px;height:20px}.UnfavoredIcon{display:none}.FavIconContainer{display:flex;justify-content:center;align-items:center;cursor:pointer;z-index:15}@media(min-width: 1100px){.GamesWrapper .ListGame:hover .GamePlayNowText{z-index:4}}.ListGame.GameBackdrop .GameInnerContainer::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(0deg, rgb(0, 0, 0) 15%, rgba(0, 0, 0, 0) 100%)}.ListGame .GameInnerContainer{z-index:0}.ListGame .GameInnerContainer .GameBg{z-index:5}.ListGame .GameInnerContainer .GameExtraInfo{z-index:10}.ListGame .GameInnerContainer::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0}.ListGame .GameInnerContainer.GameInnerContainerUnavailable::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:rgba(0, 0, 0, 0.9)}.ListGame .GameInnerContainer .ListGame.GameContainerDimmed:before{display:block;content:" ";width:100%;height:100%;position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;background:rgba(0, 0, 0, 0.4);color:var(--emfe-w-color-white, #FFFFFF);fill:var(--emfe-w-color-white, #FFFFFF);opacity:1;border-radius:4px}.ListGame .GameInnerContainer .ListGame.GameContainerFullyDimmed:before{display:block;content:" ";width:100%;height:100%;position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;background:rgba(0, 0, 0, 0.8);color:var(--emfe-w-color-white, #FFFFFF);fill:var(--emfe-w-color-white, #FFFFFF);opacity:1;border-radius:4px}.ListGame .GameInnerContainer .LiveProps{display:flex;flex-direction:column;position:absolute;bottom:0px;right:0;width:100%;padding:0;background:linear-gradient(to top, var(--emfe-w-color-black, #000000), var(--emfe-w-color-black, #000000), transparent);color:var(--emfe-w-color-white, #FFFFFF);opacity:1;font-size:14px}.ListGame .GameInnerContainer .ListGame:hover .LiveProps,.ListGame .GameInnerContainer .ListGameLink:hover .LiveProps{opacity:0}@keyframes red-pulse{0%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}15%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}30%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}50%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}65%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}80%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}100%{box-shadow:0 0 0 0 rgba(255, 0, 0, 0.75)}}@keyframes green-pulse{0%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}15%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}30%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}50%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}65%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}80%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}100%{box-shadow:0 0 0 0 rgba(86, 168, 10, 0.75)}}@keyframes flip-open{0%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 90deg);transform:perspective(400px) rotate3d(0, 1, 0, 90deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -20deg);transform:perspective(400px) rotate3d(0, 1, 0, -20deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 10deg);transform:perspective(400px) rotate3d(0, 1, 0, 10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -5deg);transform:perspective(400px) rotate3d(0, 1, 0, -5deg)}100%{-webkit-transform:perspective(400px);transform:perspective(400px)}}.ListGame .GameInnerContainer .silde-in-from-left{-webkit-animation-name:silde-in-from-left;animation-name:silde-in-from-left;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}@-webkit-keyframes silde-in-from-left{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%);visibility:visible}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes silde-in-from-left{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%);visibility:visible}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes flip-closed-seat{0%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 90deg);transform:perspective(400px) rotate3d(0, 1, 0, 90deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -20deg);transform:perspective(400px) rotate3d(0, 1, 0, -20deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 10deg);transform:perspective(400px) rotate3d(0, 1, 0, 10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -5deg);transform:perspective(400px) rotate3d(0, 1, 0, -5deg)}100%{-webkit-transform:perspective(400px);transform:perspective(400px)}}.ListGame .GameInnerContainer .ListGame.PulsatingGreenShadow,.ListGame .GameInnerContainer .ListGame.PulsatingRedShadow{overflow:auto}.ListGame .GameInnerContainer .ListGame.PulsatingGreenShadow{animation:green-pulse 2s linear}.ListGame .GameInnerContainer .ListGame.PulsatingRedShadow{animation:red-pulse 2s linear}.ListGame .GameInnerContainer .LiveIcons{position:relative;display:flex;padding:0 16px;box-sizing:border-box;flex-direction:row;align-items:center;justify-content:flex-start;min-height:auto;margin-bottom:5px}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons{min-height:auto}}.ListGame .GameInnerContainer .LiveIcons:first-child{margin-left:0}.ListGame .GameInnerContainer .LiveIcons:last-child{margin-right:0}.ListGame .GameInnerContainer .LiveIcons.Black,.ListGame .GameInnerContainer .LiveIcons.Red,.ListGame .GameInnerContainer .LiveIcons.Green{color:var(--emfe-w-color-white, #FFFFFF);border:1px solid var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .LatestResult{min-width:12px;padding:2px;margin:0 1px;margin-right:6px;font-size:14px;text-align:center}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons .LatestResult{min-width:12px;font-size:14px;margin:0 2px;margin-right:5px;padding:2px}}.ListGame .GameInnerContainer .LiveIcons .LatestResult.FirstElementAnimated{animation:flip-open 2s both;-webkit-animation:flip-open 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First{min-width:24px;padding:4px}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Black,.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Red,.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Green{color:var(--emfe-w-color-white, #FFFFFF);border:1px solid var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Black{background:var(--emfe-w-color-black, #000000)}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Red{background:red}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Green{background:#56A80A}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons .LatestResult.First{padding:4px}}.ListGame .GameInnerContainer .LiveIcons .Double{display:flex;flex-direction:column}.ListGame .GameInnerContainer .LiveIcons .Double .LatestResult:first-child{margin-bottom:10px}.ListGame .GameInnerContainer .LiveIcons .Double:first-child .LatestResult{margin-left:0;margin-bottom:0}.ListGame .GameInnerContainer .LiveIcons .Double:last-child .LatestResult{margin-right:0}.ListGame .GameInnerContainer .LiveIcons .Black,.ListGame .GameInnerContainer .LiveIcons .Red,.ListGame .GameInnerContainer .LiveIcons .Green{background-color:transparent}.ListGame .GameInnerContainer .LiveIcons .Black{color:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .Red{color:red}.ListGame .GameInnerContainer .LiveIcons .Green{color:#56A80A}.ListGame .GameInnerContainer .Blue{color:#4d90a7}.ListGame .GameInnerContainer .Red{background-color:red}.ListGame .GameInnerContainer .Black{background-color:var(--emfe-w-color-black, #000000)}.ListGame .GameInnerContainer .Green{background-color:#56A80A}.ListGame .GameInnerContainer .White{background-color:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .Yellow{background-color:#eeca3d}.ListGame .GameInnerContainer .Gold{background-color:#866d0c}.ListGame .GameInnerContainer .Orange{background-color:#574708}.ListGame .GameInnerContainer .Purple{background-color:#330033}.ListGame .GameInnerContainer .Tie{background-color:var(--emfe-w-color-white, #FFFFFF);background-image:linear-gradient(135deg, var(--emfe-w-color-white, #FFFFFF) 25%, transparent 25%, transparent 50%, #212121 50%, var(--emfe-w-color-white, #FFFFFF) 75%, transparent 75%, var(--emfe-w-color-white, #FFFFFF))}.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{display:inline-block;width:16px;height:16px;margin-right:4px}@media(min-width: 768px){.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{width:16px;height:16px}}@media(min-width: 1100px){.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{width:16px;height:16px}}.ListGame .GameInnerContainer .OpenSeat svg,.ListGame .GameInnerContainer .ClosedSeat svg{width:100%;height:100%}.ListGame .GameInnerContainer .OpenSeat{animation:flip-closed-seat 2s both;-webkit-animation:flip-closed-seat 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .ClosedSeat{animation:flip-open 2s both;-webkit-animation:flip-open 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .OpenSeat svg{fill:transparent;stroke:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .ClosedSeat svg{fill:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .FullTable{display:flex;position:relative;z-index:10;height:20px;padding:1px 4px 1px 0;align-items:center;border-radius:3px;font-size:12px;white-space:normal;text-transform:uppercase;-webkit-animation-name:silde-in-from-left;animation-name:silde-in-from-left;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}.ListGame .GameInnerContainer .FullTable svg{width:100%;height:100%;fill:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .FullTable.ClosedSeat{margin-right:-3px}.ListGame .GameInnerContainer .PlayersDisplay{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;padding:2px 10px;background:linear-gradient(to bottom, rgba(33, 33, 33, 0.9) 0%, rgba(33, 33, 33, 0.1) 100%);color:var(--emfe-w-color-white, #FFFFFF)}@media(min-width: 1100px){.ListGame .GameInnerContainer .PlayersDisplay{padding:2px 16px}}.ListGame .GameInnerContainer .PlayersDisplay .PlayersIcon{width:14px;height:14px;margin-right:4px}.ListGame .GameInnerContainer .PlayersDisplay .PlayersIcon svg{fill:var(--emfe-w-color-white, #FFFFFF);width:100%;height:100%}.ListGame .GameInnerContainer .ClosedGame{opacity:1;z-index:10;padding:8px 10px;color:var(--emfe-w-color-white, #FFFFFF);font-size:18px}@media(min-width: 1100px){.ListGame .GameInnerContainer .ClosedGame{padding:8px 16px}}.ListGame .GameInnerContainer .ClosedGame span{font-size:18px}.ListGame .GameInnerContainer .LiveLimits{opacity:1;display:flex;flex-direction:row;justify-content:space-between;padding:2px 20px 5px 20px;color:var(--emfe-w-color-white, #FFFFFF);font-weight:normal;font-size:12px}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveLimits{padding:2px 18px 5px 18px}}.ListGame .GameInnerContainer .LiveLimits span{font-size:12px}.ListGame .GameInnerContainer .Players{display:inline-block;width:19px;height:19px}.LoaderRipple{width:80px;height:80px;position:absolute;top:40px;left:-8px}.LoaderRipple div{position:absolute;border:4px solid #fff;opacity:1;border-radius:50%;animation:ripple-effect 1s cubic-bezier(0, 0.2, 0.8, 1) infinite}.LoaderRipple div:nth-child(2){animation-delay:-0.5s}@keyframes ripple-effect{0%{top:36px;left:36px;width:0;height:0;opacity:0}4.9%{top:36px;left:36px;width:0;height:0;opacity:0}5%{top:36px;left:36px;width:0;height:0;opacity:1}100%{top:0px;left:0px;width:72px;height:72px;opacity:0}}@container (max-width: 480px){.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper{gap:0px;padding:8px 10px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName{font-size:12px;margin-top:4px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoBtn{font-size:12px;padding:2px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoVendor{font-size:8px}.CasinoGamesGridSlider .GameInnerContainer .GameExtraInfoContainer .FavoredIcon,.CasinoGamesGridSlider .GameInnerContainer .GameExtraInfoContainer .UnfavoredIcon{width:14px;height:14px}.CasinoGamesGridSlider .GameInnerContainer .GameExtraInfoContainer .GameExtraInfoLabel{font-size:8px}}',this.shadowRoot.appendChild(t),j(this,{target:this.shadowRoot,props:E(this.attributes),customElement:!0},fi,ci,o,{session:43,userid:44,lang:1,clientstyling:45,clientstylingurl:46,translationurl:47,favorites:2,gamethumbnail:3,gamename:4,gamevendor:5,gamelaunchurl:48,gameid:6,gameisnew:7,gametag:8,gamefunmode:49,gamefavorite:0,gamecellsize:9,showfavoredcategory:50,showgamename:10,currency:51,gamepagemodalurl:52,endpoint:53,categoryid:54,livelobbyendpoint:55,connectlive:56,visibilityconnect:57,integratedgameframedesktop:58,integratedgameframemobile:59,casinogamesgridslider:11,MONEY_WHEEL_COLOR_MAP:60,ROULETTE_COLOR_MAP:61},null,[-1,-1,-1,-1]),e&&(e.target&&m(e.target,this,e.anchor),e.props&&(this.$set(e.props),B()))}static get observedAttributes(){return["session","userid","lang","clientstyling","clientstylingurl","translationurl","favorites","gamethumbnail","gamename","gamevendor","gamelaunchurl","gameid","gameisnew","gametag","gamefunmode","gamefavorite","gamecellsize","showfavoredcategory","showgamename","currency","gamepagemodalurl","endpoint","categoryid","livelobbyendpoint","connectlive","visibilityconnect","integratedgameframedesktop","integratedgameframemobile","casinogamesgridslider","MONEY_WHEEL_COLOR_MAP","ROULETTE_COLOR_MAP"]}get session(){return this.$$.ctx[43]}set session(e){this.$$set({session:e}),B()}get userid(){return this.$$.ctx[44]}set userid(e){this.$$set({userid:e}),B()}get lang(){return this.$$.ctx[1]}set lang(e){this.$$set({lang:e}),B()}get clientstyling(){return this.$$.ctx[45]}set clientstyling(e){this.$$set({clientstyling:e}),B()}get clientstylingurl(){return this.$$.ctx[46]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),B()}get translationurl(){return this.$$.ctx[47]}set translationurl(e){this.$$set({translationurl:e}),B()}get favorites(){return this.$$.ctx[2]}set favorites(e){this.$$set({favorites:e}),B()}get gamethumbnail(){return this.$$.ctx[3]}set gamethumbnail(e){this.$$set({gamethumbnail:e}),B()}get gamename(){return this.$$.ctx[4]}set gamename(e){this.$$set({gamename:e}),B()}get gamevendor(){return this.$$.ctx[5]}set gamevendor(e){this.$$set({gamevendor:e}),B()}get gamelaunchurl(){return this.$$.ctx[48]}set gamelaunchurl(e){this.$$set({gamelaunchurl:e}),B()}get gameid(){return this.$$.ctx[6]}set gameid(e){this.$$set({gameid:e}),B()}get gameisnew(){return this.$$.ctx[7]}set gameisnew(e){this.$$set({gameisnew:e}),B()}get gametag(){return this.$$.ctx[8]}set gametag(e){this.$$set({gametag:e}),B()}get gamefunmode(){return this.$$.ctx[49]}set gamefunmode(e){this.$$set({gamefunmode:e}),B()}get gamefavorite(){return this.$$.ctx[0]}set gamefavorite(e){this.$$set({gamefavorite:e}),B()}get gamecellsize(){return this.$$.ctx[9]}set gamecellsize(e){this.$$set({gamecellsize:e}),B()}get showfavoredcategory(){return this.$$.ctx[50]}set showfavoredcategory(e){this.$$set({showfavoredcategory:e}),B()}get showgamename(){return this.$$.ctx[10]}set showgamename(e){this.$$set({showgamename:e}),B()}get currency(){return this.$$.ctx[51]}set currency(e){this.$$set({currency:e}),B()}get gamepagemodalurl(){return this.$$.ctx[52]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),B()}get endpoint(){return this.$$.ctx[53]}set endpoint(e){this.$$set({endpoint:e}),B()}get categoryid(){return this.$$.ctx[54]}set categoryid(e){this.$$set({categoryid:e}),B()}get livelobbyendpoint(){return this.$$.ctx[55]}set livelobbyendpoint(e){this.$$set({livelobbyendpoint:e}),B()}get connectlive(){return this.$$.ctx[56]}set connectlive(e){this.$$set({connectlive:e}),B()}get visibilityconnect(){return this.$$.ctx[57]}set visibilityconnect(e){this.$$set({visibilityconnect:e}),B()}get integratedgameframedesktop(){return this.$$.ctx[58]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),B()}get integratedgameframemobile(){return this.$$.ctx[59]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),B()}get casinogamesgridslider(){return this.$$.ctx[11]}set casinogamesgridslider(e){this.$$set({casinogamesgridslider:e}),B()}get MONEY_WHEEL_COLOR_MAP(){return this.$$.ctx[60]}get ROULETTE_COLOR_MAP(){return this.$$.ctx[61]}});const gi={en:{providers:"Providers:",filterby:"Filter by:",all:"All",clear:"Clear all"},zh:{providers:"Providers:",filterby:"Filter by",all:"all",clear:"Clear all"},de:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},it:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},fr:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},es:{providers:"Proveedores:",filterby:"Filtrar Por:",all:"Todos",clear:"Limpiar todos"},tr:{providers:"Sağlayıcılar:",filterby:"Filtrele:",all:"Hepsi",clear:"Tümünü Temizle"},ru:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},ro:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},hr:{providers:"Brendovi igara",filterby:"Filtrirati po:",all:"Sve",clear:"Očisti sve"},hu:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},pl:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},pt:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},sl:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},sr:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},"pt-br":{providers:"Provedores:",filterby:"Filtrar por",all:"Tudo",clear:"Apagar tudo"},"es-mx":{providers:"Proveedores:",filterby:"Filtrar por",all:"Todo",clear:"Borrar todo"}};
|
|
1273
1273
|
/* ../casino-filter/src/CasinoFilter.svelte generated by Svelte v3.59.2 */function yi(e,t,n){const r=e.slice();return r[36]=t[n],r[37]=t,r[38]=n,r}
|
|
1274
1274
|
// (178:4) {#if !isLoading}
|
|
1275
|
-
function vi(e){let t,n,r,a,o,s,l,c,u,d,w,S,k,C,E,G,T,M,
|
|
1276
|
-
return e[7]?_i:wi}let Z=V(e),K=Z(e),X=/*vendorArray*/e[5],J=[];for(let t=0;t<X.length;t+=1)J[t]=Fi(yi(e,X,t));return{c(){t=g("div"),n=g("div"),r=g("div"),a=y("svg"),o=y("path"),s=b(),l=g("div"),c=g("span"),u=v(z),d=b(),w=g("div"),S=g("span"),k=v(j),C=b(),K.c(),E=b(),G=g("span"),T=y("svg"),M=y("path"),I=b(),A=g("div"),D=g("ul");for(let e=0;e<J.length;e+=1)J[e].c();O=b(),P=g("button"),N=v(W),x(o,"id","noun_filter_736223"),x(o,"d","M12.2,22.2a1.018,1.018,0,0,1-.391-.091.939.939,0,0,1-.533-.857v-6.2L5.267,8.9A.95.95,0,0,1,5,8.225V7.149A.93.93,0,0,1,5.924,6.2H20.076A.93.93,0,0,1,21,7.149V8.225a.95.95,0,0,1-.267.675l-6.009,6.148V19.81a.981.981,0,0,1-.32.712l-1.6,1.423A.9.9,0,0,1,12.2,22.2ZM6,8.189,12,14.355a.95.95,0,0,1,.267.675v6.039l1.44-1.277v-4.78a.95.95,0,0,1,.267-.675L19.987,8.17V7.2H6Z"),x(o,"transform","translate(-5 -6.2)"),x(o,"fill","#fff"),x(a,"xmlns","http://www.w3.org/2000/svg"),x(a,"width","16"),x(a,"height","16"),x(a,"viewBox","0 0 16 16"),x(c,"class","FilterName"),x(w,"class","FilterValueContainer"),x(l,"class","FilterTextContainer"),x(r,"class","FilterMainArea"),x(M,"id","arrow"),x(M,"d","M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"),x(M,"transform","translate(-274.511 -441.088)"),x(M,"fill","#d1d1d1"),x(T,"xmlns","http://www.w3.org/2000/svg"),x(T,"width","14"),x(T,"height","6.835"),x(T,"viewBox","0 0 14 6.835"),x(G,"class"
|
|
1275
|
+
function vi(e){let t,n,r,a,o,s,l,c,u,d,w,S,k,C,E,G,T,M,$,L,I,A,D,O,P,N,R,H,B,U,Y,z=/*$_*/e[11]("filterby")+"",j=/*$_*/e[11]("providers")+"",W=/*$_*/e[11]("clear")+"";function V(e,t){/*fullSelection*/
|
|
1276
|
+
return e[7]?_i:wi}let Z=V(e),K=Z(e),X=/*vendorArray*/e[5],J=[];for(let t=0;t<X.length;t+=1)J[t]=Fi(yi(e,X,t));return{c(){t=g("div"),n=g("div"),r=g("div"),a=y("svg"),o=y("path"),s=b(),l=g("div"),c=g("span"),u=v(z),d=b(),w=g("div"),S=g("span"),k=v(j),C=b(),K.c(),E=b(),G=g("span"),T=y("svg"),M=y("path"),I=b(),A=g("div"),D=g("ul");for(let e=0;e<J.length;e+=1)J[e].c();O=b(),P=g("button"),N=v(W),x(o,"id","noun_filter_736223"),x(o,"d","M12.2,22.2a1.018,1.018,0,0,1-.391-.091.939.939,0,0,1-.533-.857v-6.2L5.267,8.9A.95.95,0,0,1,5,8.225V7.149A.93.93,0,0,1,5.924,6.2H20.076A.93.93,0,0,1,21,7.149V8.225a.95.95,0,0,1-.267.675l-6.009,6.148V19.81a.981.981,0,0,1-.32.712l-1.6,1.423A.9.9,0,0,1,12.2,22.2ZM6,8.189,12,14.355a.95.95,0,0,1,.267.675v6.039l1.44-1.277v-4.78a.95.95,0,0,1,.267-.675L19.987,8.17V7.2H6Z"),x(o,"transform","translate(-5 -6.2)"),x(o,"fill","#fff"),x(a,"xmlns","http://www.w3.org/2000/svg"),x(a,"width","16"),x(a,"height","16"),x(a,"viewBox","0 0 16 16"),x(c,"class","FilterName"),x(w,"class","FilterValueContainer"),x(l,"class","FilterTextContainer"),x(r,"class","FilterMainArea"),x(M,"id","arrow"),x(M,"d","M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"),x(M,"transform","translate(-274.511 -441.088)"),x(M,"fill","#d1d1d1"),x(T,"xmlns","http://www.w3.org/2000/svg"),x(T,"width","14"),x(T,"height","6.835"),x(T,"viewBox","0 0 14 6.835"),x(G,"class",$="TriangleInactive "+(/*isFilterActive*/e[4]?"TriangleActive":"")),x(n,"class",L="FilterSelector "+(/*isFilterActive*/e[4]?"FilterSelectorOpen":"")),x(D,"class","FilterDropdown"),x(P,"class","ClearFilters"),P.disabled=R=/*fullSelection*/e[7]&&/*selectedVendorArray*/e[6].length!=/*vendorArray*/e[5].length,x(A,"class",H="FilterDropdownContainer "+(/*isFilterActive*/e[4]?"FilterOpen":"")),x(t,"class",B="FilterContainer "+(/*addfilterselector*/"true"==e[0]&&/*addsortingselector*/"true"==e[1]?"FilerContainerSplit":""))},m(i,f){m(i,t,f),h(t,n),h(n,r),h(r,a),h(a,o),h(r,s),h(r,l),h(l,c),h(c,u),h(l,d),h(l,w),h(w,S),h(S,k),h(w,C),K.m(w,null),h(n,E),h(n,G),h(G,T),h(T,M),h(t,I),h(t,A),h(A,D);for(let e=0;e<J.length;e+=1)J[e]&&J[e].m(D,null);h(A,O),h(A,P),h(P,N),U||(Y=[_(n,"click",/*click_handler*/e[22]),_(P,"click",/*click_handler_2*/e[25])],U=!0)},p(e,r){if(/*$_*/2048&r[0]&&z!==(z=/*$_*/e[11]("filterby")+"")&&F(u,z),/*$_*/2048&r[0]&&j!==(j=/*$_*/e[11]("providers")+"")&&F(k,j),Z===(Z=V(e))&&K?K.p(e,r):(K.d(1),K=Z(e),K&&(K.c(),K.m(w,null))),/*isFilterActive*/16&r[0]&&$!==($="TriangleInactive "+(/*isFilterActive*/e[4]?"TriangleActive":""))&&x(G,"class",$),/*isFilterActive*/16&r[0]&&L!==(L="FilterSelector "+(/*isFilterActive*/e[4]?"FilterSelectorOpen":""))&&x(n,"class",L),/*filterbylogo, vendorArray, filterByVendors*/8228&r[0]){let t;for(X=/*vendorArray*/e[5],t=0;t<X.length;t+=1){const n=yi(e,X,t);J[t]?J[t].p(n,r):(J[t]=Fi(n),J[t].c(),J[t].m(D,null))}for(;t<J.length;t+=1)J[t].d(1);J.length=X.length}/*$_*/2048&r[0]&&W!==(W=/*$_*/e[11]("clear")+"")&&F(N,W),/*fullSelection, selectedVendorArray, vendorArray*/224&r[0]&&R!==(R=/*fullSelection*/e[7]&&/*selectedVendorArray*/e[6].length!=/*vendorArray*/e[5].length)&&(P.disabled=R),/*isFilterActive*/16&r[0]&&H!==(H="FilterDropdownContainer "+(/*isFilterActive*/e[4]?"FilterOpen":""))&&x(A,"class",H),/*addfilterselector, addsortingselector*/3&r[0]&&B!==(B="FilterContainer "+(/*addfilterselector*/"true"==e[0]&&/*addsortingselector*/"true"==e[1]?"FilerContainerSplit":""))&&x(t,"class",B)},d(e){e&&f(t),K.d(),p(J,e),U=!1,i(Y)}}}
|
|
1277
1277
|
// (175:2) {#if hasErrors}
|
|
1278
1278
|
function bi(e){let t,n,r=/*$_*/e[11]("500")+"";return{c(){t=g("p"),n=v(r),x(t,"class","SearchLoading")},m(e,r){m(e,t,r),h(t,n)},p(e,t){/*$_*/2048&t[0]&&r!==(r=/*$_*/e[11]("500")+"")&&F(n,r)},d(e){e&&f(t)}}}
|
|
1279
1279
|
// (191:14) {:else}
|
|
@@ -1303,17 +1303,17 @@ n(7,_=b.length===v.length||0==b.length),n(8,x=b.length)},G=()=>{const e=new URL(
|
|
|
1303
1303
|
// needed to force the update of the filters value
|
|
1304
1304
|
E()})).catch((e=>{console.error(e),n(10,F=!0),r(e)})).finally((()=>{n(9,S=!1)}))}))})(e)},M=()=>{n(6,b=[]),localStorage.setItem("vendorFiltersByCategory",JSON.stringify(w={[h]:b.map((e=>e.id))})),v.forEach((e=>e.isFilterSelected=!1)),
|
|
1305
1305
|
// this reassignation of the pointer value is required in order to have Svelte trigger a re-render
|
|
1306
|
-
n(5,v),window.postMessage({type:"ApplyFilters"},window.location.href),n(7,_=!0),n(4,g=!1)}
|
|
1306
|
+
n(5,v),window.postMessage({type:"ApplyFilters"},window.location.href),n(7,_=!0),n(4,g=!1)},L=e=>{"SortingOpened"==e.data.type&&n(4,g=!1)};T((()=>(window.addEventListener("message",L,!1),()=>{window.removeEventListener("message",L)})));return e.$$set=e=>{"endpoint"in e&&n(15,a=e.endpoint),"datasource"in e&&n(16,o=e.datasource),"lang"in e&&n(17,s=e.lang),"translationurl"in e&&n(18,l=e.translationurl),"clientstyling"in e&&n(19,c=e.clientstyling),"clientstylingurl"in e&&n(20,u=e.clientstylingurl),"categoryid"in e&&n(21,h=e.categoryid),"addfilterselector"in e&&n(0,m=e.addfilterselector),"addsortingselector"in e&&n(1,f=e.addsortingselector),"filterbylogo"in e&&n(2,p=e.filterbylogo)},e.$$.update=()=>{/*endpoint, datasource, categoryid, filterbylogo*/2195460&e.$$.dirty[0]&&a&&o&&h&&p&&G(),/*clientstyling, customStylingContainer*/524296&e.$$.dirty[0]&&c&&i&&(()=>{let e=document.createElement("style");e.innerHTML=c,i.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/1048584&e.$$.dirty[0]&&u&&i&&(()=>{let e=document.createElement("style");fetch(new URL(u)).then((e=>e.text())).then((t=>{e.innerHTML=t,setTimeout((()=>{i.appendChild(e)}),1)}))})(),/*translationurl*/262144&e.$$.dirty[0]&&l&&fetch(l).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{pi(t,e[t])}))})).catch((e=>{console.log(e)}))},[m,f,p,i,g,v,b,_,x,S,F,r,k,C,M,a,o,s,l,c,u,h,()=>k(),function(e,t){e[t].isFilterSelected=this.checked,n(5,v)},e=>C(e),()=>M(),function(e){$[e?"unshift":"push"]((()=>{i=e,n(3,i)}))}]}function Ei(e,t){Nt(e,t)}!customElements.get("casino-filter")&&customElements.define("casino-filter",class extends W{constructor(e){super();const t=document.createElement("style");t.textContent='.SearchLoading{color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}.FilterContainer{color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF));position:relative;z-index:16}.FilterSelector{background-color:var(--emfe-w-color-gray-300, #58586B);display:flex;position:relative;padding:10px 16px;border-radius:5px;justify-content:space-between;align-items:center;max-width:fit-content;cursor:pointer}.FilterSelector.FilterSelectorOpen{border-radius:5px 5px 0 0}.FilterMainArea{display:flex;align-items:center}.FilterMainArea svg{margin-right:16px}.FilterName{font-size:11px;line-height:12px;color:var(--emfe-w-color-gray-100, #E6E6E6);text-transform:uppercase}.FilterTextContainer{display:flex;flex-direction:column}.FilterValueContainer{font-size:14px;line-height:16px;font-weight:300}.TriangleInactive{display:block;color:currentColor;margin:0 0 0 15px;transition:all 0.5s}.TriangleActive{transform:rotate(180deg);position:relative;top:2px}.FilterDropdownContainer{padding:0;background:rgb(88, 88, 107);background:linear-gradient(180deg, rgba(88, 88, 107, 0.9) 0%, rgba(7, 7, 42, 0.9) 95%);display:flex;flex-direction:column;align-items:center;transition:max-height 0.15s ease-out;max-height:0;border-radius:0 0 5px 5px;position:absolute;top:48px;margin-bottom:40px;overflow:hidden;margin:0}.FilterDropdownContainer.FilterOpen{width:100%;max-height:fit-content;transition:max-height 0.25s ease-in;padding-top:20px}.FilterDropdown{width:100%;max-height:300px;display:flex;flex-direction:column;gap:10px;margin:0;padding-inline-start:0;overflow:scroll;list-style:none;-ms-overflow-style:none;scrollbar-width:none}.FilterDropdown::-webkit-scrollbar{display:none}.FilterItem label{font-size:14px;font-weight:300;cursor:pointer;display:flex;align-items:center;justify-content:flex-start;padding:0 15px;-webkit-user-select:none;-ms-user-select:none;user-select:none}.FilterItem input{cursor:pointer;margin-right:10px}.FilterItem:hover input~.FiltersCheckmark{background-color:transparent;border:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))}.FilterItem input:checked~.FiltersCheckmark{background-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));border:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))}.FilterItem .FiltersCheckmark{transition:all 0.05s ease-in;margin-right:15px}.FilterItem .FiltersCheckmark:after{content:"";position:absolute;left:9px;display:none}.FilterItem input:checked~.FiltersCheckmark:after{display:block}.FilterItem .FiltersCheckmark:after{left:8px;top:4px;width:5px;height:10px;border:1px solid solid var(--emfe-w-color-white, #FFFFFF);border-width:0 2px 2px 0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.FilerContainerSplit .FilterItemWithLogos .FiltersCheckmark{margin:0}.FilterLabel input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.FilterLabel .FiltersCheckmark{border-radius:8px;position:relative;height:22px;width:22px;min-width:22px;background-color:transparent;border:1px solid var(--emfe-w-color-white, #FFFFFF)}.FilterLabel .FilterItemLabel{width:100%;display:flex;justify-content:space-between}.FilterItemWithLogos label{height:70px;display:flex;justify-content:space-evenly;align-items:center}.FilterItemWithLogos label img{width:70px}.FilterLabel input:checked+span{font-weight:600}.FilterCounter{display:inline-flex;margin-left:10px;min-width:17px}.ClearFilters{margin:20px auto;border:0;color:#fff;background-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));border:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));font-size:18px;padding:10px 50px;border-radius:5px;cursor:pointer;transition:all 0.1s ease-in;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ClearFilters:disabled{background:var(--emfe-w-color-gray-100, #E6E6E6);border:1px solid var(--emfe-w-color-gray-150, #828282);pointer-events:none;cursor:not-allowed}@media only screen and (max-width: 768px){.FilterSelector{max-width:initial}.FilterDropdownContainer{width:100%;margin-bottom:20px}.FilterDropdown{margin-block-start:0;gap:14px}.FilterItemWithLogos label{justify-content:center}.FilerContainerSplit .FilterSelector{padding:7px}.FilerContainerSplit .FilterSelector .FilterCounter{margin-left:0}.FilerContainerSplit .FilterMainArea svg{margin:0 10px}.FilerContainerSplit .FilterDropdown{padding:0 5px;box-sizing:border-box}.FilerContainerSplit .FilterDropdownContainer{top:42px}.FilerContainerSplit .ClearFilters{padding:8px 20px;font-size:15px}.FilterLabel .FiltersCheckmark{margin-right:15px}.FilterItem.FilterItemWithLogos{display:flex;align-items:center;justify-content:center}.FilerContainerSplit .FilterItemWithLogos .FiltersCheckmark{margin:0 20px 0 0}.FilerContainerSplit .FilterItem label{padding:0;width:calc(100% - 10px);font-size:12px}.FilterItem label>*{pointer-events:none}}',this.shadowRoot.appendChild(t),j(this,{target:this.shadowRoot,props:E(this.attributes),customElement:!0},Ci,ki,o,{endpoint:15,datasource:16,lang:17,translationurl:18,clientstyling:19,clientstylingurl:20,categoryid:21,addfilterselector:0,addsortingselector:1,filterbylogo:2},null,[-1,-1]),e&&(e.target&&m(e.target,this,e.anchor),e.props&&(this.$set(e.props),B()))}static get observedAttributes(){return["endpoint","datasource","lang","translationurl","clientstyling","clientstylingurl","categoryid","addfilterselector","addsortingselector","filterbylogo"]}get endpoint(){return this.$$.ctx[15]}set endpoint(e){this.$$set({endpoint:e}),B()}get datasource(){return this.$$.ctx[16]}set datasource(e){this.$$set({datasource:e}),B()}get lang(){return this.$$.ctx[17]}set lang(e){this.$$set({lang:e}),B()}get translationurl(){return this.$$.ctx[18]}set translationurl(e){this.$$set({translationurl:e}),B()}get clientstyling(){return this.$$.ctx[19]}set clientstyling(e){this.$$set({clientstyling:e}),B()}get clientstylingurl(){return this.$$.ctx[20]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),B()}get categoryid(){return this.$$.ctx[21]}set categoryid(e){this.$$set({categoryid:e}),B()}get addfilterselector(){return this.$$.ctx[0]}set addfilterselector(e){this.$$set({addfilterselector:e}),B()}get addsortingselector(){return this.$$.ctx[1]}set addsortingselector(e){this.$$set({addsortingselector:e}),B()}get filterbylogo(){return this.$$.ctx[2]}set filterbylogo(e){this.$$set({filterbylogo:e}),B()}});const Gi={en:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},zh:{sortby:"Sort by",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},de:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},it:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},fr:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},es:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},tr:{sortby:"Sırala:",all:"Hepsi",az:"A-Z",newest:"En yeni",hottest:"Öne Çıkan"},ru:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},ro:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},hr:{sortby:"Poredaj po:",all:"Sve",az:"A-Z",newest:"Najnovije",hottest:"Hot igre"},hu:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},pl:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},pt:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},sl:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},sr:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},"pt-br":{sortby:"Organizar por:",all:"Todos",az:"A-Z",newest:"Mais recente",hottest:"mais quente"},"es-mx":{sortby:"Ordenar Por:",all:"Todo",az:"A-Z",newest:"Más nuevos",hottest:"Más calientes"}};
|
|
1307
1307
|
/* ../casino-sort/src/CasinoSort.svelte generated by Svelte v3.59.2 */function Ti(e,t,n){const r=e.slice();return r[23]=t[n],r}
|
|
1308
1308
|
// (114:4) {#if !isLoading}
|
|
1309
|
-
function Mi(e){let t,n,r,i,a,o,s,l,c,u,d,w,S,k,C,E,G,T,M,
|
|
1309
|
+
function Mi(e){let t,n,r,i,a,o,s,l,c,u,d,w,S,k,C,E,G,T,M,$,L,I,A,D,O,P,N,R,H=/*$_*/e[4]("sortby")+"",B=/*vendorSortingBy*/(e[3]||/*$_*/e[4]("all"))+"",U=Object.values(/*vendorMap*/e[5]),Y=[];for(let t=0;t<U.length;t+=1)Y[t]=$i(Ti(e,U,t));return{c(){t=g("div"),n=g("div"),r=g("div"),i=y("svg"),a=y("g"),o=y("path"),s=y("path"),l=y("path"),c=b(),u=g("div"),d=g("span"),w=v(H),S=b(),k=g("div"),C=g("span"),E=v(B),G=b(),T=g("span"),M=y("svg"),$=y("path"),A=b(),D=g("div"),O=g("ul");for(let e=0;e<Y.length;e+=1)Y[e].c();x(o,"id","Path_5267"),x(o,"data-name","Path 5267"),x(o,"d","M526.245,343.685a3.45,3.45,0,0,1,0,6.714v13.625a.8.8,0,0,1-1.592,0V350.4a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0Zm-2.653,3.357a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,523.592,347.041Z"),x(o,"transform","translate(-206.448 0)"),x(o,"fill","#fff"),x(s,"id","Path_5268"),x(s,"data-name","Path 5268"),x(s,"d","M310.245,356.421a3.45,3.45,0,0,1,0,6.714v.888a.8.8,0,0,1-1.592,0v-.888a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0Zm-2.653,3.357a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,307.592,359.777Z"),x(s,"transform","translate(0 0)"),x(s,"fill","#fff"),x(l,"id","Path_5269"),x(l,"data-name","Path 5269"),x(l,"d","M742.245,351.645a3.45,3.45,0,0,1,0,6.714v5.665a.8.8,0,1,1-1.592,0v-5.665a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0ZM739.592,355a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,739.592,355Z"),x(l,"transform","translate(-412.896 0)"),x(l,"fill","#fff"),x(a,"id","sortby"),x(a,"transform","translate(-306 -342)"),x(i,"xmlns","http://www.w3.org/2000/svg"),x(i,"width","20"),x(i,"height","20"),x(i,"viewBox","0 0 26.003 22.819"),x(d,"class","SorterName"),x(k,"class","SorterValueContainer"),x(u,"class","SorterTextContainer"),x(r,"class","SorterMainArea"),x($,"id","arrow"),x($,"d","M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"),x($,"transform","translate(-274.511 -441.088)"),x($,"fill","#d1d1d1"),x(M,"xmlns","http://www.w3.org/2000/svg"),x(M,"width","14"),x(M,"height","6.835"),x(M,"viewBox","0 0 14 6.835"),x(T,"class",L="TriangleInactive "+(/*isSorterActive*/e[1]?"TriangleActive":"")),x(n,"class",I="SorterSelector "+(/*isSorterActive*/e[1]?"SorterSelectorOpen":"")),x(O,"class","SorterDropdown"),x(D,"class",P="SorterDropdownContainer "+(/*isSorterActive*/e[1]?"SorterOpen":"")),x(t,"class","SorterContainer")},m(f,p){m(f,t,p),h(t,n),h(n,r),h(r,i),h(i,a),h(a,o),h(a,s),h(a,l),h(r,c),h(r,u),h(u,d),h(d,w),h(u,S),h(u,k),h(k,C),h(C,E),h(n,G),h(n,T),h(T,M),h(M,$),h(t,A),h(t,D),h(D,O);for(let e=0;e<Y.length;e+=1)Y[e]&&Y[e].m(O,null);N||(R=_(n,"click",/*click_handler*/e[13]),N=!0)},p(e,t){if(/*$_*/16&t&&H!==(H=/*$_*/e[4]("sortby")+"")&&F(w,H),/*vendorSortingBy, $_*/24&t&&B!==(B=/*vendorSortingBy*/(e[3]||/*$_*/e[4]("all"))+"")&&F(E,B),/*isSorterActive*/2&t&&L!==(L="TriangleInactive "+(/*isSorterActive*/e[1]?"TriangleActive":""))&&x(T,"class",L),/*isSorterActive*/2&t&&I!==(I="SorterSelector "+(/*isSorterActive*/e[1]?"SorterSelectorOpen":""))&&x(n,"class",I),/*Object, vendorMap, vendorSortingBy, undefined, $_, sortBy*/120&t){let n;for(U=Object.values(/*vendorMap*/e[5]),n=0;n<U.length;n+=1){const r=Ti(e,U,n);Y[n]?Y[n].p(r,t):(Y[n]=$i(r),Y[n].c(),Y[n].m(O,null))}for(;n<Y.length;n+=1)Y[n].d(1);Y.length=U.length}/*isSorterActive*/2&t&&P!==(P="SorterDropdownContainer "+(/*isSorterActive*/e[1]?"SorterOpen":""))&&x(D,"class",P)},d(e){e&&f(t),p(Y,e),N=!1,R()}}}
|
|
1310
1310
|
// (140:10) {#each Object.values(vendorMap) as sort}
|
|
1311
|
-
function
|
|
1312
|
-
return e[14](/*sort*/e[23])}return{c(){t=g("li"),n=g("label"),r=g("input"),a=b(),o=g("span"),s=b(),l=g("span"),c=v(y),u=b(),x(r,"type","radio"),x(r,"name","radio"),r.value=/*sort*/e[23],r.checked=i=/*vendorSortingBy*/e[3]==/*sort*/e[23]||/*vendorSortingBy*/null==e[3]&&/*sort*/e[23]==/*$_*/e[4]("all"),x(o,"class","SortersCheckmark"),x(n,"class","SorterLabel CustomRadioButton"),x(t,"class","SorterItem"),t.value=/*sort*/e[23]},m(e,i){m(e,t,i),h(t,n),h(n,r),h(n,a),h(n,o),h(n,s),h(n,l),h(l,c),h(t,u),d||(p=_(r,"click",w),d=!0)},p(t,n){e=t,/*vendorSortingBy, $_*/24&n&&i!==(i=/*vendorSortingBy*/e[3]==/*sort*/e[23]||/*vendorSortingBy*/null==e[3]&&/*sort*/e[23]==/*$_*/e[4]("all"))&&(r.checked=i)},d(e){e&&f(t),d=!1,p()}}}function
|
|
1311
|
+
function $i(e){let t,n,r,i,a,o,s,l,c,u,d,p,y=/*sort*/e[23]+"";function w(){/*click_handler_1*/
|
|
1312
|
+
return e[14](/*sort*/e[23])}return{c(){t=g("li"),n=g("label"),r=g("input"),a=b(),o=g("span"),s=b(),l=g("span"),c=v(y),u=b(),x(r,"type","radio"),x(r,"name","radio"),r.value=/*sort*/e[23],r.checked=i=/*vendorSortingBy*/e[3]==/*sort*/e[23]||/*vendorSortingBy*/null==e[3]&&/*sort*/e[23]==/*$_*/e[4]("all"),x(o,"class","SortersCheckmark"),x(n,"class","SorterLabel CustomRadioButton"),x(t,"class","SorterItem"),t.value=/*sort*/e[23]},m(e,i){m(e,t,i),h(t,n),h(n,r),h(n,a),h(n,o),h(n,s),h(n,l),h(l,c),h(t,u),d||(p=_(r,"click",w),d=!0)},p(t,n){e=t,/*vendorSortingBy, $_*/24&n&&i!==(i=/*vendorSortingBy*/e[3]==/*sort*/e[23]||/*vendorSortingBy*/null==e[3]&&/*sort*/e[23]==/*$_*/e[4]("all"))&&(r.checked=i)},d(e){e&&f(t),d=!1,p()}}}function Li(e){let n;function r(e,t){if(!/*isLoading*/e[2])return Mi}let i=r(e),a=i&&i(e);return{c(){n=g("div"),a&&a.c(),this.c=t},m(t,r){m(t,n,r),a&&a.m(n,null)
|
|
1313
1313
|
/*div_binding*/,e[15](n)},p(e,[t]){i===(i=r(e))&&a?a.p(e,t):(a&&a.d(1),a=i&&i(e),a&&(a.c(),a.m(n,null)))},i:t,o:t,d(t){t&&f(n),a&&a.d()
|
|
1314
1314
|
/*div_binding*/,e[15](null)}}}function Ii(e,t,n){let r;d(e,En,(e=>n(4,r=e)));let i,{lang:a=""}=t,{translationurl:o=""}=t,{clientstyling:s=""}=t,{clientstylingurl:l=""}=t,{categoryid:c=""}=t,u=!1,h=!0,m="",f="All";!function({withLocale:e,translations:t}){sn.subscribe((n=>{null==n&&(Dt.set(t),sn.set(e))}));// maybe we will need this to make sure that the i18n is set up only once
|
|
1315
1315
|
/*dictionary.set(translations);
|
|
1316
|
-
locale.set(_locale);*/}({withLocale:"en",translations:{}});Object.keys(Gi).forEach((e=>{Ei(e,Gi[e])}));const p={All:r("all"),name:r("az"),isNew:r("newest"),"advancedTags(name(hot))":r("hottest")},g=e=>{n(3,f=e);let t=localStorage.getItem("vendorSortingBy");m=e;for(let t in p)if(p[t]===e){m=t;break}null==t?localStorage.setItem("vendorSortingBy",JSON.stringify({[c]:m})):(t=JSON.parse(t),t[c]=m,localStorage.setItem("vendorSortingBy",JSON.stringify(t))),window.postMessage({type:"ApplySorter",sortBy:m,itemId:c},window.location.href),n(1,u=!u)},y=()=>{n(1,u=!u),window.postMessage({type:"SortingOpened"},window.location.href)},v=e=>{"FilterOpened"==e.data.type&&n(1,u=!1)};T((()=>(window.addEventListener("message",v,!1),()=>{window.removeEventListener("message",v)})));return e.$$set=e=>{"lang"in e&&n(8,a=e.lang),"translationurl"in e&&n(9,o=e.translationurl),"clientstyling"in e&&n(10,s=e.clientstyling),"clientstylingurl"in e&&n(11,l=e.clientstylingurl),"categoryid"in e&&n(12,c=e.categoryid)},e.$$.update=()=>{/*categoryid*/4096&e.$$.dirty&&c&&(()=>{var e;n(3,f="All"),n(2,h=!1),n(1,u=!1);let t=null===(e=JSON.parse(localStorage.getItem("vendorSortingBy")))||void 0===e?void 0:e[c];n(3,f=t||"All"),n(3,f=p[t])})(),/*clientstyling, customStylingContainer*/1025&e.$$.dirty&&s&&i&&(()=>{let e=document.createElement("style");e.innerHTML=s,i.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/2049&e.$$.dirty&&l&&i&&(()=>{let e=document.createElement("style");fetch(new URL(l)).then((e=>e.text())).then((t=>{e.innerHTML=t,setTimeout((()=>{i.appendChild(e)}),1)}))})(),/*translationurl*/512&e.$$.dirty&&o&&fetch(o).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{Ei(t,e[t])}))})).catch((e=>{console.log(e)}))},[i,u,h,f,r,p,g,y,a,o,s,l,c,()=>y(),e=>g(e),function(e){
|
|
1316
|
+
locale.set(_locale);*/}({withLocale:"en",translations:{}});Object.keys(Gi).forEach((e=>{Ei(e,Gi[e])}));const p={All:r("all"),name:r("az"),isNew:r("newest"),"advancedTags(name(hot))":r("hottest")},g=e=>{n(3,f=e);let t=localStorage.getItem("vendorSortingBy");m=e;for(let t in p)if(p[t]===e){m=t;break}null==t?localStorage.setItem("vendorSortingBy",JSON.stringify({[c]:m})):(t=JSON.parse(t),t[c]=m,localStorage.setItem("vendorSortingBy",JSON.stringify(t))),window.postMessage({type:"ApplySorter",sortBy:m,itemId:c},window.location.href),n(1,u=!u)},y=()=>{n(1,u=!u),window.postMessage({type:"SortingOpened"},window.location.href)},v=e=>{"FilterOpened"==e.data.type&&n(1,u=!1)};T((()=>(window.addEventListener("message",v,!1),()=>{window.removeEventListener("message",v)})));return e.$$set=e=>{"lang"in e&&n(8,a=e.lang),"translationurl"in e&&n(9,o=e.translationurl),"clientstyling"in e&&n(10,s=e.clientstyling),"clientstylingurl"in e&&n(11,l=e.clientstylingurl),"categoryid"in e&&n(12,c=e.categoryid)},e.$$.update=()=>{/*categoryid*/4096&e.$$.dirty&&c&&(()=>{var e;n(3,f="All"),n(2,h=!1),n(1,u=!1);let t=null===(e=JSON.parse(localStorage.getItem("vendorSortingBy")))||void 0===e?void 0:e[c];n(3,f=t||"All"),n(3,f=p[t])})(),/*clientstyling, customStylingContainer*/1025&e.$$.dirty&&s&&i&&(()=>{let e=document.createElement("style");e.innerHTML=s,i.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/2049&e.$$.dirty&&l&&i&&(()=>{let e=document.createElement("style");fetch(new URL(l)).then((e=>e.text())).then((t=>{e.innerHTML=t,setTimeout((()=>{i.appendChild(e)}),1)}))})(),/*translationurl*/512&e.$$.dirty&&o&&fetch(o).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{Ei(t,e[t])}))})).catch((e=>{console.log(e)}))},[i,u,h,f,r,p,g,y,a,o,s,l,c,()=>y(),e=>g(e),function(e){$[e?"unshift":"push"]((()=>{i=e,n(0,i)}))}]}
|
|
1317
1317
|
/* ../casino-games-category-section/src/CasinoGamesCategorySection.svelte generated by Svelte v3.59.2 */
|
|
1318
1318
|
function Ai(e,t,n){const r=e.slice();return r[91]=t[n],r[93]=n,r}function Di(e,t,n){const r=e.slice();return r[91]=t[n],r[94]=t,r[93]=n,r}function Oi(e,t,n){const r=e.slice();return r[91]=t[n],r[93]=n,r}
|
|
1319
1319
|
// (757:4) {:else}
|
|
@@ -1409,7 +1409,7 @@ function ya(e){let t;return{c(){t=g("p"),t.textContent="500 Error - Internal Ser
|
|
|
1409
1409
|
function va(e){let t;return{c(){t=g("p"),t.textContent="404 Error - No result found.",x(t,"class","SearchLoading")},m(e,n){m(e,t,n)},d(e){e&&f(t)}}}function ba(e){let n;function r(e,t){/*hasErrors*/
|
|
1410
1410
|
return e[24]?Ri:/*searched*/e[29]?Ni:Pi}let i=r(e),a=i(e);return{c(){n=g("div"),a.c(),this.c=t,x(n,"class","CasinoGamesCategorySectionContainer")},m(t,r){m(t,n,r),a.m(n,null),
|
|
1411
1411
|
/*div_binding*/e[57](n)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a.d(1),a=i(e),a&&(a.c(),a.m(n,null)))},i:t,o:t,d(t){t&&f(n),a.d(),
|
|
1412
|
-
/*div_binding*/e[57](null)}}}!customElements.get("casino-sort")&&customElements.define("casino-sort",class extends W{constructor(e){super();const t=document.createElement("style");t.textContent='*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.SearchLoading{color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}.SorterContainer{color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF));position:relative;z-index:16}.SorterSelector{background-color:var(--emfe-w-color-gray-300, #58586B);display:flex;position:relative;padding:10px 16px;border-radius:5px;justify-content:space-between;align-items:center;cursor:pointer}.SorterSelector.SorterSelectorOpen{border-radius:5px 5px 0 0}.SorterMainArea{display:flex;align-items:center}.SorterMainArea svg{margin-right:16px}.SorterName{font-size:11px;line-height:12px;color:var(--emfe-w-color-gray-100, #E6E6E6);text-transform:uppercase}.SorterTextContainer{display:flex;flex-direction:column}.SorterValueContainer{font-size:14px;line-height:16px;font-weight:300}.TriangleInactive{display:block;color:currentColor;margin:0 0 0 15px;transition:all 0.5s}.TriangleActive{transform:rotate(180deg);position:relative;top:2px}.SorterDropdownContainer{padding:0;background:rgb(88, 88, 107);background:linear-gradient(180deg, rgba(88, 88, 107, 0.9) 0%, rgba(7, 7, 42, 0.9) 95%);display:flex;flex-direction:column;align-items:center;transition:max-height 0.15s ease-out;max-height:0;border-radius:0 0 5px 5px;position:absolute;top:35px;margin-bottom:40px;overflow:hidden;margin:0}.SorterDropdownContainer.SorterOpen{width:100%;max-height:fit-content;transition:max-height 0.25s ease-in;padding-top:10px}.SorterDropdown{width:100%;max-height:300px;display:grid;gap:10px;margin:0;padding-inline-start:0;overflow:scroll;list-style:none;-ms-overflow-style:none;scrollbar-width:none;list-style-type:none;padding:10px;margin:0;box-sizing:border-box}.SorterDropdown::-webkit-scrollbar{display:none}.SorterItem{position:relative}.SorterItem label{font-size:14px;font-weight:300;cursor:pointer;display:flex;align-items:center;justify-content:flex-start;-webkit-user-select:none;-ms-user-select:none;user-select:none}.SorterItem input{cursor:pointer;margin-right:10px}.SorterItem .SortersCheckmark{margin:0 15px}.SorterItem .CustomRadioButton input[type=radio]{position:absolute;left:-9999px}.SorterItem .CustomRadioButton input[type=radio]+span{position:relative;cursor:pointer;width:30px;height:30px;display:flex;justify-content:center;align-items:center}.SorterItem .CustomRadioButton input[type=radio]+span:before{content:"";background:transparent;border:1px solid var(--emfe-w-color-white, #FFFFFF);height:18px;width:18px;border-radius:50%;position:absolute}.SorterItem .CustomRadioButton input[type=radio]+span:after{content:"";background:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));width:14px;height:14px;border-radius:50%;position:absolute;opacity:0;transform:scale(2);transition:transform 0.3s linear, opacity 0.3s linear}.SorterItem .CustomRadioButton input[type=radio]:checked+span:after{opacity:1;transform:scale(1)}.SorterLabel input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.SorterLabel input:checked+span{font-weight:600}@media only screen and (max-width: 768px){.SorterSelector{max-width:initial;padding:7px 16px}.SorterDropdownContainer{width:100%;margin-bottom:20px}.SorterDropdown{display:flex;flex-direction:column;gap:12px;margin-block-start:0}.SorterDropdown .SorterLabel{line-height:24px}.SorterDropdown .SorterLabel>*{pointer-events:none}}',this.shadowRoot.appendChild(t),j(this,{target:this.shadowRoot,props:E(this.attributes),customElement:!0},Ii
|
|
1412
|
+
/*div_binding*/e[57](null)}}}!customElements.get("casino-sort")&&customElements.define("casino-sort",class extends W{constructor(e){super();const t=document.createElement("style");t.textContent='*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.SearchLoading{color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}.SorterContainer{color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF));position:relative;z-index:16}.SorterSelector{background-color:var(--emfe-w-color-gray-300, #58586B);display:flex;position:relative;padding:10px 16px;border-radius:5px;justify-content:space-between;align-items:center;cursor:pointer}.SorterSelector.SorterSelectorOpen{border-radius:5px 5px 0 0}.SorterMainArea{display:flex;align-items:center}.SorterMainArea svg{margin-right:16px}.SorterName{font-size:11px;line-height:12px;color:var(--emfe-w-color-gray-100, #E6E6E6);text-transform:uppercase}.SorterTextContainer{display:flex;flex-direction:column}.SorterValueContainer{font-size:14px;line-height:16px;font-weight:300}.TriangleInactive{display:block;color:currentColor;margin:0 0 0 15px;transition:all 0.5s}.TriangleActive{transform:rotate(180deg);position:relative;top:2px}.SorterDropdownContainer{padding:0;background:rgb(88, 88, 107);background:linear-gradient(180deg, rgba(88, 88, 107, 0.9) 0%, rgba(7, 7, 42, 0.9) 95%);display:flex;flex-direction:column;align-items:center;transition:max-height 0.15s ease-out;max-height:0;border-radius:0 0 5px 5px;position:absolute;top:35px;margin-bottom:40px;overflow:hidden;margin:0}.SorterDropdownContainer.SorterOpen{width:100%;max-height:fit-content;transition:max-height 0.25s ease-in;padding-top:10px}.SorterDropdown{width:100%;max-height:300px;display:grid;gap:10px;margin:0;padding-inline-start:0;overflow:scroll;list-style:none;-ms-overflow-style:none;scrollbar-width:none;list-style-type:none;padding:10px;margin:0;box-sizing:border-box}.SorterDropdown::-webkit-scrollbar{display:none}.SorterItem{position:relative}.SorterItem label{font-size:14px;font-weight:300;cursor:pointer;display:flex;align-items:center;justify-content:flex-start;-webkit-user-select:none;-ms-user-select:none;user-select:none}.SorterItem input{cursor:pointer;margin-right:10px}.SorterItem .SortersCheckmark{margin:0 15px}.SorterItem .CustomRadioButton input[type=radio]{position:absolute;left:-9999px}.SorterItem .CustomRadioButton input[type=radio]+span{position:relative;cursor:pointer;width:30px;height:30px;display:flex;justify-content:center;align-items:center}.SorterItem .CustomRadioButton input[type=radio]+span:before{content:"";background:transparent;border:1px solid var(--emfe-w-color-white, #FFFFFF);height:18px;width:18px;border-radius:50%;position:absolute}.SorterItem .CustomRadioButton input[type=radio]+span:after{content:"";background:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));width:14px;height:14px;border-radius:50%;position:absolute;opacity:0;transform:scale(2);transition:transform 0.3s linear, opacity 0.3s linear}.SorterItem .CustomRadioButton input[type=radio]:checked+span:after{opacity:1;transform:scale(1)}.SorterLabel input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.SorterLabel input:checked+span{font-weight:600}@media only screen and (max-width: 768px){.SorterSelector{max-width:initial;padding:7px 16px}.SorterDropdownContainer{width:100%;margin-bottom:20px}.SorterDropdown{display:flex;flex-direction:column;gap:12px;margin-block-start:0}.SorterDropdown .SorterLabel{line-height:24px}.SorterDropdown .SorterLabel>*{pointer-events:none}}',this.shadowRoot.appendChild(t),j(this,{target:this.shadowRoot,props:E(this.attributes),customElement:!0},Ii,Li,o,{lang:8,translationurl:9,clientstyling:10,clientstylingurl:11,categoryid:12},null),e&&(e.target&&m(e.target,this,e.anchor),e.props&&(this.$set(e.props),B()))}static get observedAttributes(){return["lang","translationurl","clientstyling","clientstylingurl","categoryid"]}get lang(){return this.$$.ctx[8]}set lang(e){this.$$set({lang:e}),B()}get translationurl(){return this.$$.ctx[9]}set translationurl(e){this.$$set({translationurl:e}),B()}get clientstyling(){return this.$$.ctx[10]}set clientstyling(e){this.$$set({clientstyling:e}),B()}get clientstylingurl(){return this.$$.ctx[11]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),B()}get categoryid(){return this.$$.ctx[12]}set categoryid(e){this.$$set({categoryid:e}),B()}});const wa="game-tile-";function _a(t,n,r){let i;d(t,En,(e=>r(41,i=e)));let a,o,s,l,c,u,h,m,f,p,{endpoint:g=""}=n,{datasource:y=""}=n,{lang:v=""}=n,{session:b=""}=n,{userid:w=""}=n,{favorites:_=""}=n,{clientstyling:x=""}=n,{clientstylingurl:S=""}=n,{translationurl:F=""}=n,{currency:k=""}=n,{categoryid:C=""}=n,{showgamename:E=""}=n,{livecasino:G="false"}=n,{gamepagemodalurl:M="true"}=n,{integratedgameframedesktop:L="false"}=n,{integratedgameframemobile:I="false"}=n,{casinomygames:A="false"}=n,{addfilterselector:D="false"}=n,{addsortingselector:O="false"}=n,{filterbylogo:P=""}=n,{casinogamesgridslider:N="false"}=n,{fetchviaevent:R="false"}=n,{showallpage:H="casino"}=n,{actionevent:B="CategoryChange"}=n,{displayedgamecount:U="10"}=n,{showallbuttongamescount:Y="10"}=n,z=!0,j=!1,W=!0,V=window.navigator.userAgent,Z=[],K=!0,X=40,J=!1,q=!1,Q=!1,ee=!1,te=!1,ne=!0,re=!1,ie=!1,ae=!1,oe=new Array(1e4),se={},le="",ce="",ue=[],de=new AbortController,he={items:[],count:0,name:""};Object.keys(Nr).forEach((e=>{Pr(e,Nr[e])})),void 0!==document.hidden?
|
|
1413
1413
|
// Opera 12.10 and Firefox 18 and later support
|
|
1414
1414
|
m="hidden":void 0!==document.msHidden?m="msHidden":void 0!==document.webkitHidden&&(m="webkitHidden");
|
|
1415
1415
|
// IntersectionObserver used for loading more games
|
|
@@ -1438,7 +1438,7 @@ return Dr(t)?e.filter((e=>{if(e.gameModel&&(e.gameModel.platform.includes("iPad"
|
|
|
1438
1438
|
*/
|
|
1439
1439
|
s.games.items.length>Z.length&&(r(27,Z=s.games.items),Z.forEach((e=>{e.isFavorite=ve(e.id)}))),r(34,re=!1)}))},Fe=e=>{window.postMessage({type:`${B}`,itemId:e,showallpage:H},window.location.href)},ke=()=>{var e;e=v,sn.set(e)};
|
|
1440
1440
|
//Fetch fav list and pass to be updated
|
|
1441
|
-
T((()=>(window.addEventListener("visibilitychange",(e=>{document[m]?r(39,le="disconnect"):r(39,le="connect")})),window.addEventListener("message",ge,!1),()=>{window.removeEventListener("message",ge),window.removeEventListener("visibilitychange",ge)})));return t.$$set=e=>{"endpoint"in e&&r(3,g=e.endpoint),"datasource"in e&&r(4,y=e.datasource),"lang"in e&&r(5,v=e.lang),"session"in e&&r(6,b=e.session),"userid"in e&&r(7,w=e.userid),"favorites"in e&&r(8,_=e.favorites),"clientstyling"in e&&r(9,x=e.clientstyling),"clientstylingurl"in e&&r(10,S=e.clientstylingurl),"translationurl"in e&&r(11,F=e.translationurl),"currency"in e&&r(12,k=e.currency),"categoryid"in e&&r(0,C=e.categoryid),"showgamename"in e&&r(13,E=e.showgamename),"livecasino"in e&&r(14,G=e.livecasino),"gamepagemodalurl"in e&&r(15,M=e.gamepagemodalurl),"integratedgameframedesktop"in e&&r(16
|
|
1441
|
+
T((()=>(window.addEventListener("visibilitychange",(e=>{document[m]?r(39,le="disconnect"):r(39,le="connect")})),window.addEventListener("message",ge,!1),()=>{window.removeEventListener("message",ge),window.removeEventListener("visibilitychange",ge)})));return t.$$set=e=>{"endpoint"in e&&r(3,g=e.endpoint),"datasource"in e&&r(4,y=e.datasource),"lang"in e&&r(5,v=e.lang),"session"in e&&r(6,b=e.session),"userid"in e&&r(7,w=e.userid),"favorites"in e&&r(8,_=e.favorites),"clientstyling"in e&&r(9,x=e.clientstyling),"clientstylingurl"in e&&r(10,S=e.clientstylingurl),"translationurl"in e&&r(11,F=e.translationurl),"currency"in e&&r(12,k=e.currency),"categoryid"in e&&r(0,C=e.categoryid),"showgamename"in e&&r(13,E=e.showgamename),"livecasino"in e&&r(14,G=e.livecasino),"gamepagemodalurl"in e&&r(15,M=e.gamepagemodalurl),"integratedgameframedesktop"in e&&r(16,L=e.integratedgameframedesktop),"integratedgameframemobile"in e&&r(17,I=e.integratedgameframemobile),"casinomygames"in e&&r(18,A=e.casinomygames),"addfilterselector"in e&&r(1,D=e.addfilterselector),"addsortingselector"in e&&r(2,O=e.addsortingselector),"filterbylogo"in e&&r(19,P=e.filterbylogo),"casinogamesgridslider"in e&&r(20,N=e.casinogamesgridslider),"fetchviaevent"in e&&r(45,R=e.fetchviaevent),"showallpage"in e&&r(46,H=e.showallpage),"actionevent"in e&&r(47,B=e.actionevent),"displayedgamecount"in e&&r(48,U=e.displayedgamecount),"showallbuttongamescount"in e&&r(49,Y=e.showallbuttongamescount)},t.$$.update=()=>{/*lang*/32&t.$$.dirty[0]&&v&&ke(),/*endpoint, lang, categoryid, datasource*/57&t.$$.dirty[0]|/*fetchviaevent, displayedgamecount, showallbuttongamescount*/409600&t.$$.dirty[1]&&(
|
|
1442
1442
|
//Widget is working as standalone when fetchviaevent isn't set
|
|
1443
1443
|
"false"===R||""===R)&&g&&v&&C&&y&&U&&Y&&((e,t,n)=>{""!==e&&(r(29,J=!1),r(25,W=!0),r(1,D="false"),r(2,O="false"),r(31,ee=!1),ae=!1,r(28,K=+t>+n),pe(e,0,+t).then((e=>{r(26,s=e),r(27,Z=s.games.items),Z&&Z.forEach((e=>{e.isFavorite=ve(e.id)}))})))})(C,U,Y),/*favorites, endpoint, session, userid*/456&t.$$.dirty[0]&&
|
|
1444
1444
|
//Call the fav. list fetch when widget is standalone
|
|
@@ -1447,11 +1447,11 @@ T((()=>(window.addEventListener("visibilitychange",(e=>{document[m]?r(39,le="dis
|
|
|
1447
1447
|
e.elems_index=t,me.observe(e))})),/*lang, categoryid*/33&t.$$.dirty[0]&&v&&C&&(()=>{
|
|
1448
1448
|
// showFavGamesCategory vs categoryData
|
|
1449
1449
|
// favoriteGamesData vs shownCategoryData
|
|
1450
|
-
switch(C){case"FAVORITES":w&&b&&r(37,ie=!0);break;case"MOSTPLAYED":case"LASTPLAYED":"false"===A&&w&&b&&r(37,ie=!1);break;default:ye(C)}})(),/*translationurl*/2048&t.$$.dirty[0]&&F&&fetch(F).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{Pr(t,e[t])}))})).catch((e=>{console.log(e)})),/*clientstyling, customStylingContainer*/2097664&t.$$.dirty[0]&&x&&h&&(()=>{let e=document.createElement("style");e.innerHTML=x,h.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/2098176&t.$$.dirty[0]&&S&&h&&(()=>{let e=new URL(S),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,setTimeout((()=>{h.appendChild(t)}),1)}))})()},[C,D,O,g,y,v,b,w,_,x,S,F,k,E,G,M
|
|
1450
|
+
switch(C){case"FAVORITES":w&&b&&r(37,ie=!0);break;case"MOSTPLAYED":case"LASTPLAYED":"false"===A&&w&&b&&r(37,ie=!1);break;default:ye(C)}})(),/*translationurl*/2048&t.$$.dirty[0]&&F&&fetch(F).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{Pr(t,e[t])}))})).catch((e=>{console.log(e)})),/*clientstyling, customStylingContainer*/2097664&t.$$.dirty[0]&&x&&h&&(()=>{let e=document.createElement("style");e.innerHTML=x,h.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/2098176&t.$$.dirty[0]&&S&&h&&(()=>{let e=new URL(S),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,setTimeout((()=>{h.appendChild(t)}),1)}))})()},[C,D,O,g,y,v,b,w,_,x,S,F,k,E,G,M,L,I,A,P,N,h,oe,z,j,W,s,Z,K,J,q,ee,te,ne,re,l,u,ie,se,le,he,i,V,e=>{if(0===(null==e?void 0:e.length))return"";let t,n="",r=999999999999;const i=new Date(Date.now());return e.forEach(((a,o)=>{const s=new Date(a.schedules[0].startTime),l=new Date(a.schedules[0].endTime);Rr(l).diff(i)<r&&(r=Rr(l).diff(i),t=o),Rr(i).isAfter(s)&&Rr(i).isBefore(l)&&(n=e[t].name)})),n},Fe,R,H,B,U,Y,f,function(e){$[e?"unshift":"push"]((()=>{u=e,r(36,u)}))},e=>Fe(s.id),function(e,t){$[e?"unshift":"push"]((()=>{oe[t]=e,r(22,oe)}))},function(e){$[e?"unshift":"push"]((()=>{l=e,r(35,l)}))},function(e){$[e?"unshift":"push"]((()=>{u=e,r(36,u)}))},function(e){$[e?"unshift":"push"]((()=>{l=e,r(35,l)}))},function(e){$[e?"unshift":"push"]((()=>{h=e,r(21,h)}))}]}
|
|
1451
1451
|
/* src/CasinoFavoritesSection.svelte generated by Svelte v3.59.2 */
|
|
1452
1452
|
function xa(e){let n,r;return{c(){n=g("div"),r=g("casino-games-category-section"),this.c=t,S(r,"session",/*session*/e[4]),S(r,"userid",/*userid*/e[5]),S(r,"endpoint",/*endpoint*/e[0]),S(r,"datasource",/*datasource*/e[1]),S(r,"lang",/*lang*/e[3]),S(r,"currency",/*currency*/e[2]),S(r,"favorites",/*favorites*/e[14]),S(r,"fetchviaevent",/*fetchviaevent*/e[16]),S(r,"categoryid","FAVORITES"),S(r,"class","CategoryContainer"),S(r,"showgamename",/*showgamename*/e[11]),S(r,"clientstyling",/*clientstyling*/e[6]),S(r,"clientstylingurl",/*clientstylingurl*/e[7]),S(r,"livecasino",/*livecasino*/e[8]),S(r,"visiblegames",/*visiblegames*/e[13]),S(r,"gamepagemodalurl",/*gamepagemodalurl*/e[12]),S(r,"integratedgameframedesktop",/*integratedgameframedesktop*/e[10]),S(r,"integratedgameframemobile",/*integratedgameframemobile*/e[9]),S(r,"casinomygames",/*casinomygames*/e[15]),x(n,"class","CasinoFavoritesSectionContainer")},m(t,i){m(t,n,i),h(n,r),
|
|
1453
1453
|
/*div_binding*/e[18](n)},p(e,[t]){/*session*/16&t&&S(r,"session",/*session*/e[4]),/*userid*/32&t&&S(r,"userid",/*userid*/e[5]),/*endpoint*/1&t&&S(r,"endpoint",/*endpoint*/e[0]),/*datasource*/2&t&&S(r,"datasource",/*datasource*/e[1]),/*lang*/8&t&&S(r,"lang",/*lang*/e[3]),/*currency*/4&t&&S(r,"currency",/*currency*/e[2]),/*favorites*/16384&t&&S(r,"favorites",/*favorites*/e[14]),/*fetchviaevent*/65536&t&&S(r,"fetchviaevent",/*fetchviaevent*/e[16]),/*showgamename*/2048&t&&S(r,"showgamename",/*showgamename*/e[11]),/*clientstyling*/64&t&&S(r,"clientstyling",/*clientstyling*/e[6]),/*clientstylingurl*/128&t&&S(r,"clientstylingurl",/*clientstylingurl*/e[7]),/*livecasino*/256&t&&S(r,"livecasino",/*livecasino*/e[8]),/*visiblegames*/8192&t&&S(r,"visiblegames",/*visiblegames*/e[13]),/*gamepagemodalurl*/4096&t&&S(r,"gamepagemodalurl",/*gamepagemodalurl*/e[12]),/*integratedgameframedesktop*/1024&t&&S(r,"integratedgameframedesktop",/*integratedgameframedesktop*/e[10]),/*integratedgameframemobile*/512&t&&S(r,"integratedgameframemobile",/*integratedgameframemobile*/e[9]),/*casinomygames*/32768&t&&S(r,"casinomygames",/*casinomygames*/e[15])},i:t,o:t,d(t){t&&f(n)
|
|
1454
1454
|
/*div_binding*/,e[18](null)}}}function Sa(e,t,n){let r,{endpoint:i=""}=t,{datasource:a=""}=t,{currency:o=""}=t,{lang:s=""}=t,{session:l=""}=t,{userid:c=""}=t,{clientstyling:u=""}=t,{clientstylingurl:d=""}=t,{livecasino:h="false"}=t,{integratedgameframemobile:m="false"}=t,{integratedgameframedesktop:f="false"}=t,{showgamename:p=""}=t,{gamepagemodalurl:g="false"}=t,{visiblegames:y=""}=t,{favorites:v=""}=t,{casinomygames:b="false"}=t,{fetchviaevent:w="true"}=t;!function({withLocale:e,translations:t}){sn.subscribe((n=>{null==n&&(Dt.set(t),sn.set(e))}));// maybe we will need this to make sure that the i18n is set up only once
|
|
1455
1455
|
/*dictionary.set(translations);
|
|
1456
|
-
locale.set(_locale);*/}({withLocale:"en",translations:{}});return e.$$set=e=>{"endpoint"in e&&n(0,i=e.endpoint),"datasource"in e&&n(1,a=e.datasource),"currency"in e&&n(2,o=e.currency),"lang"in e&&n(3,s=e.lang),"session"in e&&n(4,l=e.session),"userid"in e&&n(5,c=e.userid),"clientstyling"in e&&n(6,u=e.clientstyling),"clientstylingurl"in e&&n(7,d=e.clientstylingurl),"livecasino"in e&&n(8,h=e.livecasino),"integratedgameframemobile"in e&&n(9,m=e.integratedgameframemobile),"integratedgameframedesktop"in e&&n(10,f=e.integratedgameframedesktop),"showgamename"in e&&n(11,p=e.showgamename),"gamepagemodalurl"in e&&n(12,g=e.gamepagemodalurl),"visiblegames"in e&&n(13,y=e.visiblegames),"favorites"in e&&n(14,v=e.favorites),"casinomygames"in e&&n(15,b=e.casinomygames),"fetchviaevent"in e&&n(16,w=e.fetchviaevent)},e.$$.update=()=>{/*clientstyling, customStylingContainer*/131136&e.$$.dirty&&u&&r&&(()=>{let e=document.createElement("style");e.innerHTML=u,r.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/131200&e.$$.dirty&&d&&r&&(()=>{let e=document.createElement("style");fetch(new URL(d)).then((e=>e.text())).then((t=>{e.innerHTML=t,setTimeout((()=>{r.appendChild(e)}),1)}))})()},[i,a,o,s,l,c,u,d,h,m,f,p,g,y,v,b,w,r,function(e){L[e?"unshift":"push"]((()=>{r=e,n(17,r)}))}]}!customElements.get("casino-games-category-section")&&customElements.define("casino-games-category-section",class extends W{constructor(e){super();const t=document.createElement("style");t.textContent='*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CasinoGamesCategorySectionContainer{container-type:inline-size}.CustomScroll:-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px rgba(0, 0, 0, 0.3);border-radius:5px;background-color:transparent}.CustomScroll::-webkit-scrollbar{height:5px;background-color:transparent}.CustomScroll::-webkit-scrollbar-thumb{border-radius:5px;height:5px;-webkit-box-shadow:inset 0 0 6px rgba(0, 0, 0, 0.3);background-color:rgba(255, 255, 255, 0.3)}.CategoryName,.StatusText{color:var(--emfe-w-casino-typography, var(--emfe-w-color-contrast, #FFFFFF));font-size:22px;font-weight:500}.CategoryLoadMore{font-size:14px;color:var(--emfe-w-casino-typography, var(--emfe-w-color-contrast, #FFFFFF))}.NoSearchResults{color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF));text-align:center;width:100%;padding-left:5px;font-size:16px}.NoRecentSearches{padding-bottom:30px}.NoRecentSearchesCenter{text-align:center}.NoFavoriteGames{color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF));font-size:16px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:0 20px;height:20vh}.NoFavoriteGames .NoFavoriteText{text-align:center}.NoFavoriteGames .NoFavoriteTextHighlight{font-weight:600;font-size:18px;padding:15px 0}.NoFavoriteGamesMobile{height:50vh}.SearchWaiting{grid-column:1/-1;color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF));font-size:13px;text-align:center}.CasinoGamesHeader{width:100%;display:flex;align-items:center;justify-content:space-between;padding:8px 0 0;margin-bottom:16px}.CasinoGamesHeader .CategoryNameLink{display:block;cursor:pointer}.CasinoGamesHeader .CategoryLoadMore{font-weight:normal}.CasinoGamesHeader.Searched{justify-content:center}.CasinoGamesContainer{width:100%;margin-top:24px;padding-bottom:16px}.CasinoGamesGrid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(192px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 192px);grid-auto-rows:192px;grid-auto-columns:192px;grid-auto-flow:row dense}.CasinoGamesGrid .game-tile-2x1{grid-row:span 2}@container (max-width: 375px){.CasinoGamesGrid .game-tile-2x1{grid-row:span 1}}.CasinoGamesGrid .game-tile-2x2{grid-row:span 2;grid-column:span 2}@container (max-width: 375px){.CasinoGamesGrid .game-tile-2x2{grid-row:span 1;grid-column:span 1}}.CasinoGamesGrid .game-tile-1x2{grid-column:span 2}@container (max-width: 375px){.CasinoGamesGrid .game-tile-1x2{grid-column:span 1}}.CasinoGamesGrid.GamesListIncreasedGap{gap:28px}.CasinoGamesGridSlider{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(182px, 46%), 2fr));grid-template-rows:repeat(auto-fill, 182px);grid-auto-rows:182px;grid-auto-columns:182px;grid-auto-flow:column;overflow-x:auto;overflow-y:hidden;padding-bottom:5px;overscroll-behavior-x:none}.CasinoGamesGridSlider .game-tile-2x1{grid-row:span 2}@container (max-width: 375px){.CasinoGamesGridSlider .game-tile-2x1{grid-row:span 1}}.CasinoGamesGridSlider .game-tile-2x2{grid-row:span 2;grid-column:span 2}@container (max-width: 375px){.CasinoGamesGridSlider .game-tile-2x2{grid-row:span 2;grid-column:span 2}}.CasinoGamesGridSlider .game-tile-1x2{grid-column:span 2}@container (max-width: 375px){.CasinoGamesGridSlider .game-tile-1x2{grid-column:span 1}}.CasinoGamesGridSlider.GamesListIncreasedGap{gap:28px}.CategoryFilterContainer{display:grid;grid-template-columns:1fr 1fr;gap:20px}@container (max-width: 768px){.CasinoGamesHeader{align-items:unset;flex-direction:row;flex-wrap:wrap}.CategoryName{margin-bottom:20px}.CategoryFilterContainer{width:100%}}@container (min-width: 1100px){.CasinoGamesGrid{grid-template-rows:repeat(auto-fill, 142px);grid-auto-rows:142px}}.SearchLoading{display:block;padding:50px;color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}.lds-dual-ring{display:block;width:80px;height:80px;margin:0 auto}.lds-dual-ring:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));border-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C)) transparent var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));animation:lds-dual-ring 1.2s linear infinite}@keyframes lds-dual-ring{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@container (max-width: 385px){.CasinoGamesGrid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(110px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 110px);grid-auto-rows:110px;grid-auto-columns:110px}.CasinoGamesGrid.GamesListIncreasedGap{gap:16px}.CasinoGamesGridSlider{display:grid;gap:16px !important;grid-template-columns:repeat(auto-fill, minmax(min(100px, 46%), 2fr));grid-template-rows:repeat(auto-fill, 100px);grid-auto-rows:100px;grid-auto-columns:100px;grid-auto-flow:column;overflow-x:auto;overflow-y:hidden;padding-bottom:5px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName{font-size:10px !important}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoVendor{font-size:10px !important}}@container (max-width: 410px){.CasinoGamesGridSlider{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(100px, 46%), 2fr));grid-template-rows:repeat(auto-fill, 100px);grid-auto-rows:100px;grid-auto-columns:100px;grid-auto-flow:column;overflow-x:auto;overflow-y:hidden;padding-bottom:5px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName{font-size:10px !important}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoVendor{font-size:10px !important}}@container (max-width: 480px){.CasinoGamesGrid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(122px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 122px);grid-auto-rows:122px;grid-auto-columns:122px}.CasinoGamesGrid.GamesListIncreasedGap{gap:16px}.CasinoGamesGridSlider{display:grid;gap:16px !important;grid-template-columns:repeat(auto-fill, minmax(min(105px, 46%), 2fr));grid-template-rows:repeat(auto-fill, 105px);grid-auto-rows:105px;grid-auto-columns:105px;grid-auto-flow:column;overflow-x:auto;overflow-y:hidden;padding-bottom:5px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName{font-size:10px !important}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoVendor{font-size:10px !important}}',this.shadowRoot.appendChild(t),j(this,{target:this.shadowRoot,props:E(this.attributes),customElement:!0},_a,ba,o,{endpoint:3,datasource:4,lang:5,session:6,userid:7,favorites:8,clientstyling:9,clientstylingurl:10,translationurl:11,currency:12,categoryid:0,showgamename:13,livecasino:14,gamepagemodalurl:15,integratedgameframedesktop:16,integratedgameframemobile:17,casinomygames:18,addfilterselector:1,addsortingselector:2,filterbylogo:19,casinogamesgridslider:20,fetchviaevent:45,showallpage:46,actionevent:47,displayedgamecount:48,showallbuttongamescount:49},null,[-1,-1,-1,-1]),e&&(e.target&&m(e.target,this,e.anchor),e.props&&(this.$set(e.props),B()))}static get observedAttributes(){return["endpoint","datasource","lang","session","userid","favorites","clientstyling","clientstylingurl","translationurl","currency","categoryid","showgamename","livecasino","gamepagemodalurl","integratedgameframedesktop","integratedgameframemobile","casinomygames","addfilterselector","addsortingselector","filterbylogo","casinogamesgridslider","fetchviaevent","showallpage","actionevent","displayedgamecount","showallbuttongamescount"]}get endpoint(){return this.$$.ctx[3]}set endpoint(e){this.$$set({endpoint:e}),B()}get datasource(){return this.$$.ctx[4]}set datasource(e){this.$$set({datasource:e}),B()}get lang(){return this.$$.ctx[5]}set lang(e){this.$$set({lang:e}),B()}get session(){return this.$$.ctx[6]}set session(e){this.$$set({session:e}),B()}get userid(){return this.$$.ctx[7]}set userid(e){this.$$set({userid:e}),B()}get favorites(){return this.$$.ctx[8]}set favorites(e){this.$$set({favorites:e}),B()}get clientstyling(){return this.$$.ctx[9]}set clientstyling(e){this.$$set({clientstyling:e}),B()}get clientstylingurl(){return this.$$.ctx[10]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),B()}get translationurl(){return this.$$.ctx[11]}set translationurl(e){this.$$set({translationurl:e}),B()}get currency(){return this.$$.ctx[12]}set currency(e){this.$$set({currency:e}),B()}get categoryid(){return this.$$.ctx[0]}set categoryid(e){this.$$set({categoryid:e}),B()}get showgamename(){return this.$$.ctx[13]}set showgamename(e){this.$$set({showgamename:e}),B()}get livecasino(){return this.$$.ctx[14]}set livecasino(e){this.$$set({livecasino:e}),B()}get gamepagemodalurl(){return this.$$.ctx[15]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),B()}get integratedgameframedesktop(){return this.$$.ctx[16]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),B()}get integratedgameframemobile(){return this.$$.ctx[17]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),B()}get casinomygames(){return this.$$.ctx[18]}set casinomygames(e){this.$$set({casinomygames:e}),B()}get addfilterselector(){return this.$$.ctx[1]}set addfilterselector(e){this.$$set({addfilterselector:e}),B()}get addsortingselector(){return this.$$.ctx[2]}set addsortingselector(e){this.$$set({addsortingselector:e}),B()}get filterbylogo(){return this.$$.ctx[19]}set filterbylogo(e){this.$$set({filterbylogo:e}),B()}get casinogamesgridslider(){return this.$$.ctx[20]}set casinogamesgridslider(e){this.$$set({casinogamesgridslider:e}),B()}get fetchviaevent(){return this.$$.ctx[45]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),B()}get showallpage(){return this.$$.ctx[46]}set showallpage(e){this.$$set({showallpage:e}),B()}get actionevent(){return this.$$.ctx[47]}set actionevent(e){this.$$set({actionevent:e}),B()}get displayedgamecount(){return this.$$.ctx[48]}set displayedgamecount(e){this.$$set({displayedgamecount:e}),B()}get showallbuttongamescount(){return this.$$.ctx[49]}set showallbuttongamescount(e){this.$$set({showallbuttongamescount:e}),B()}});class Fa extends W{constructor(e){super();const t=document.createElement("style");t.textContent=".CasinoFavoritesSectionContainer{background:var(--emfe-w-casino-color-bg, var(--emfe-w-color-background, #07072A));color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}",this.shadowRoot.appendChild(t),j(this,{target:this.shadowRoot,props:E(this.attributes),customElement:!0},Sa,xa,o,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,clientstyling:6,clientstylingurl:7,livecasino:8,integratedgameframemobile:9,integratedgameframedesktop:10,showgamename:11,gamepagemodalurl:12,visiblegames:13,favorites:14,casinomygames:15,fetchviaevent:16},null),e&&(e.target&&m(e.target,this,e.anchor),e.props&&(this.$set(e.props),B()))}static get observedAttributes(){return["endpoint","datasource","currency","lang","session","userid","clientstyling","clientstylingurl","livecasino","integratedgameframemobile","integratedgameframedesktop","showgamename","gamepagemodalurl","visiblegames","favorites","casinomygames","fetchviaevent"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),B()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),B()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),B()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),B()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),B()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),B()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),B()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),B()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),B()}get integratedgameframemobile(){return this.$$.ctx[9]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),B()}get integratedgameframedesktop(){return this.$$.ctx[10]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),B()}get showgamename(){return this.$$.ctx[11]}set showgamename(e){this.$$set({showgamename:e}),B()}get gamepagemodalurl(){return this.$$.ctx[12]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),B()}get visiblegames(){return this.$$.ctx[13]}set visiblegames(e){this.$$set({visiblegames:e}),B()}get favorites(){return this.$$.ctx[14]}set favorites(e){this.$$set({favorites:e}),B()}get casinomygames(){return this.$$.ctx[15]}set casinomygames(e){this.$$set({casinomygames:e}),B()}get fetchviaevent(){return this.$$.ctx[16]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),B()}}return!customElements.get("casino-favorites-section")&&customElements.define("casino-favorites-section",Fa),Fa}));
|
|
1456
|
+
locale.set(_locale);*/}({withLocale:"en",translations:{}});return e.$$set=e=>{"endpoint"in e&&n(0,i=e.endpoint),"datasource"in e&&n(1,a=e.datasource),"currency"in e&&n(2,o=e.currency),"lang"in e&&n(3,s=e.lang),"session"in e&&n(4,l=e.session),"userid"in e&&n(5,c=e.userid),"clientstyling"in e&&n(6,u=e.clientstyling),"clientstylingurl"in e&&n(7,d=e.clientstylingurl),"livecasino"in e&&n(8,h=e.livecasino),"integratedgameframemobile"in e&&n(9,m=e.integratedgameframemobile),"integratedgameframedesktop"in e&&n(10,f=e.integratedgameframedesktop),"showgamename"in e&&n(11,p=e.showgamename),"gamepagemodalurl"in e&&n(12,g=e.gamepagemodalurl),"visiblegames"in e&&n(13,y=e.visiblegames),"favorites"in e&&n(14,v=e.favorites),"casinomygames"in e&&n(15,b=e.casinomygames),"fetchviaevent"in e&&n(16,w=e.fetchviaevent)},e.$$.update=()=>{/*clientstyling, customStylingContainer*/131136&e.$$.dirty&&u&&r&&(()=>{let e=document.createElement("style");e.innerHTML=u,r.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/131200&e.$$.dirty&&d&&r&&(()=>{let e=document.createElement("style");fetch(new URL(d)).then((e=>e.text())).then((t=>{e.innerHTML=t,setTimeout((()=>{r.appendChild(e)}),1)}))})()},[i,a,o,s,l,c,u,d,h,m,f,p,g,y,v,b,w,r,function(e){$[e?"unshift":"push"]((()=>{r=e,n(17,r)}))}]}!customElements.get("casino-games-category-section")&&customElements.define("casino-games-category-section",class extends W{constructor(e){super();const t=document.createElement("style");t.textContent='*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CasinoGamesCategorySectionContainer{container-type:inline-size}.CustomScroll:-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px rgba(0, 0, 0, 0.3);border-radius:5px;background-color:transparent}.CustomScroll::-webkit-scrollbar{height:5px;background-color:transparent}.CustomScroll::-webkit-scrollbar-thumb{border-radius:5px;height:5px;-webkit-box-shadow:inset 0 0 6px rgba(0, 0, 0, 0.3);background-color:rgba(255, 255, 255, 0.3)}.CategoryName,.StatusText{color:var(--emfe-w-casino-typography, var(--emfe-w-color-contrast, #FFFFFF));font-size:22px;font-weight:500}.CategoryLoadMore{font-size:14px;color:var(--emfe-w-casino-typography, var(--emfe-w-color-contrast, #FFFFFF))}.NoSearchResults{color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF));text-align:center;width:100%;padding-left:5px;font-size:16px}.NoRecentSearches{padding-bottom:30px}.NoRecentSearchesCenter{text-align:center}.NoFavoriteGames{color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF));font-size:16px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:0 20px;height:20vh}.NoFavoriteGames .NoFavoriteText{text-align:center}.NoFavoriteGames .NoFavoriteTextHighlight{font-weight:600;font-size:18px;padding:15px 0}.NoFavoriteGamesMobile{height:50vh}.SearchWaiting{grid-column:1/-1;color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF));font-size:13px;text-align:center}.CasinoGamesHeader{width:100%;display:flex;align-items:center;justify-content:space-between;padding:8px 0 0;margin-bottom:16px}.CasinoGamesHeader .CategoryNameLink{display:block;cursor:pointer}.CasinoGamesHeader .CategoryLoadMore{font-weight:normal}.CasinoGamesHeader.Searched{justify-content:center}.CasinoGamesContainer{width:100%;margin-top:24px;padding-bottom:16px}.CasinoGamesGrid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(192px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 192px);grid-auto-rows:192px;grid-auto-columns:192px;grid-auto-flow:row dense}.CasinoGamesGrid .game-tile-2x1{grid-row:span 2}@container (max-width: 375px){.CasinoGamesGrid .game-tile-2x1{grid-row:span 1}}.CasinoGamesGrid .game-tile-2x2{grid-row:span 2;grid-column:span 2}@container (max-width: 375px){.CasinoGamesGrid .game-tile-2x2{grid-row:span 1;grid-column:span 1}}.CasinoGamesGrid .game-tile-1x2{grid-column:span 2}@container (max-width: 375px){.CasinoGamesGrid .game-tile-1x2{grid-column:span 1}}.CasinoGamesGrid.GamesListIncreasedGap{gap:28px}.CasinoGamesGridSlider{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(182px, 46%), 2fr));grid-template-rows:repeat(auto-fill, 182px);grid-auto-rows:182px;grid-auto-columns:182px;grid-auto-flow:column;overflow-x:auto;overflow-y:hidden;padding-bottom:5px;overscroll-behavior-x:none}.CasinoGamesGridSlider .game-tile-2x1{grid-row:span 2}@container (max-width: 375px){.CasinoGamesGridSlider .game-tile-2x1{grid-row:span 1}}.CasinoGamesGridSlider .game-tile-2x2{grid-row:span 2;grid-column:span 2}@container (max-width: 375px){.CasinoGamesGridSlider .game-tile-2x2{grid-row:span 2;grid-column:span 2}}.CasinoGamesGridSlider .game-tile-1x2{grid-column:span 2}@container (max-width: 375px){.CasinoGamesGridSlider .game-tile-1x2{grid-column:span 1}}.CasinoGamesGridSlider.GamesListIncreasedGap{gap:28px}.CategoryFilterContainer{display:grid;grid-template-columns:1fr 1fr;gap:20px}@container (max-width: 768px){.CasinoGamesHeader{align-items:unset;flex-direction:row;flex-wrap:wrap}.CategoryName{margin-bottom:20px}.CategoryFilterContainer{width:100%}}@container (min-width: 1100px){.CasinoGamesGrid{grid-template-rows:repeat(auto-fill, 142px);grid-auto-rows:142px}}.SearchLoading{display:block;padding:50px;color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}.lds-dual-ring{display:block;width:80px;height:80px;margin:0 auto}.lds-dual-ring:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));border-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C)) transparent var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));animation:lds-dual-ring 1.2s linear infinite}@keyframes lds-dual-ring{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@container (max-width: 385px){.CasinoGamesGrid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(110px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 110px);grid-auto-rows:110px;grid-auto-columns:110px}.CasinoGamesGrid.GamesListIncreasedGap{gap:16px}.CasinoGamesGridSlider{display:grid;gap:16px !important;grid-template-columns:repeat(auto-fill, minmax(min(100px, 46%), 2fr));grid-template-rows:repeat(auto-fill, 100px);grid-auto-rows:100px;grid-auto-columns:100px;grid-auto-flow:column;overflow-x:auto;overflow-y:hidden;padding-bottom:5px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName{font-size:10px !important}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoVendor{font-size:10px !important}}@container (max-width: 410px){.CasinoGamesGridSlider{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(100px, 46%), 2fr));grid-template-rows:repeat(auto-fill, 100px);grid-auto-rows:100px;grid-auto-columns:100px;grid-auto-flow:column;overflow-x:auto;overflow-y:hidden;padding-bottom:5px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName{font-size:10px !important}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoVendor{font-size:10px !important}}@container (max-width: 480px){.CasinoGamesGrid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(122px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 122px);grid-auto-rows:122px;grid-auto-columns:122px}.CasinoGamesGrid.GamesListIncreasedGap{gap:16px}.CasinoGamesGridSlider{display:grid;gap:16px !important;grid-template-columns:repeat(auto-fill, minmax(min(105px, 46%), 2fr));grid-template-rows:repeat(auto-fill, 105px);grid-auto-rows:105px;grid-auto-columns:105px;grid-auto-flow:column;overflow-x:auto;overflow-y:hidden;padding-bottom:5px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName{font-size:10px !important}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoVendor{font-size:10px !important}}',this.shadowRoot.appendChild(t),j(this,{target:this.shadowRoot,props:E(this.attributes),customElement:!0},_a,ba,o,{endpoint:3,datasource:4,lang:5,session:6,userid:7,favorites:8,clientstyling:9,clientstylingurl:10,translationurl:11,currency:12,categoryid:0,showgamename:13,livecasino:14,gamepagemodalurl:15,integratedgameframedesktop:16,integratedgameframemobile:17,casinomygames:18,addfilterselector:1,addsortingselector:2,filterbylogo:19,casinogamesgridslider:20,fetchviaevent:45,showallpage:46,actionevent:47,displayedgamecount:48,showallbuttongamescount:49},null,[-1,-1,-1,-1]),e&&(e.target&&m(e.target,this,e.anchor),e.props&&(this.$set(e.props),B()))}static get observedAttributes(){return["endpoint","datasource","lang","session","userid","favorites","clientstyling","clientstylingurl","translationurl","currency","categoryid","showgamename","livecasino","gamepagemodalurl","integratedgameframedesktop","integratedgameframemobile","casinomygames","addfilterselector","addsortingselector","filterbylogo","casinogamesgridslider","fetchviaevent","showallpage","actionevent","displayedgamecount","showallbuttongamescount"]}get endpoint(){return this.$$.ctx[3]}set endpoint(e){this.$$set({endpoint:e}),B()}get datasource(){return this.$$.ctx[4]}set datasource(e){this.$$set({datasource:e}),B()}get lang(){return this.$$.ctx[5]}set lang(e){this.$$set({lang:e}),B()}get session(){return this.$$.ctx[6]}set session(e){this.$$set({session:e}),B()}get userid(){return this.$$.ctx[7]}set userid(e){this.$$set({userid:e}),B()}get favorites(){return this.$$.ctx[8]}set favorites(e){this.$$set({favorites:e}),B()}get clientstyling(){return this.$$.ctx[9]}set clientstyling(e){this.$$set({clientstyling:e}),B()}get clientstylingurl(){return this.$$.ctx[10]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),B()}get translationurl(){return this.$$.ctx[11]}set translationurl(e){this.$$set({translationurl:e}),B()}get currency(){return this.$$.ctx[12]}set currency(e){this.$$set({currency:e}),B()}get categoryid(){return this.$$.ctx[0]}set categoryid(e){this.$$set({categoryid:e}),B()}get showgamename(){return this.$$.ctx[13]}set showgamename(e){this.$$set({showgamename:e}),B()}get livecasino(){return this.$$.ctx[14]}set livecasino(e){this.$$set({livecasino:e}),B()}get gamepagemodalurl(){return this.$$.ctx[15]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),B()}get integratedgameframedesktop(){return this.$$.ctx[16]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),B()}get integratedgameframemobile(){return this.$$.ctx[17]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),B()}get casinomygames(){return this.$$.ctx[18]}set casinomygames(e){this.$$set({casinomygames:e}),B()}get addfilterselector(){return this.$$.ctx[1]}set addfilterselector(e){this.$$set({addfilterselector:e}),B()}get addsortingselector(){return this.$$.ctx[2]}set addsortingselector(e){this.$$set({addsortingselector:e}),B()}get filterbylogo(){return this.$$.ctx[19]}set filterbylogo(e){this.$$set({filterbylogo:e}),B()}get casinogamesgridslider(){return this.$$.ctx[20]}set casinogamesgridslider(e){this.$$set({casinogamesgridslider:e}),B()}get fetchviaevent(){return this.$$.ctx[45]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),B()}get showallpage(){return this.$$.ctx[46]}set showallpage(e){this.$$set({showallpage:e}),B()}get actionevent(){return this.$$.ctx[47]}set actionevent(e){this.$$set({actionevent:e}),B()}get displayedgamecount(){return this.$$.ctx[48]}set displayedgamecount(e){this.$$set({displayedgamecount:e}),B()}get showallbuttongamescount(){return this.$$.ctx[49]}set showallbuttongamescount(e){this.$$set({showallbuttongamescount:e}),B()}});class Fa extends W{constructor(e){super();const t=document.createElement("style");t.textContent=".CasinoFavoritesSectionContainer{background:var(--emfe-w-casino-color-bg, var(--emfe-w-color-background, #07072A));color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}",this.shadowRoot.appendChild(t),j(this,{target:this.shadowRoot,props:E(this.attributes),customElement:!0},Sa,xa,o,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,clientstyling:6,clientstylingurl:7,livecasino:8,integratedgameframemobile:9,integratedgameframedesktop:10,showgamename:11,gamepagemodalurl:12,visiblegames:13,favorites:14,casinomygames:15,fetchviaevent:16},null),e&&(e.target&&m(e.target,this,e.anchor),e.props&&(this.$set(e.props),B()))}static get observedAttributes(){return["endpoint","datasource","currency","lang","session","userid","clientstyling","clientstylingurl","livecasino","integratedgameframemobile","integratedgameframedesktop","showgamename","gamepagemodalurl","visiblegames","favorites","casinomygames","fetchviaevent"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),B()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),B()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),B()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),B()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),B()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),B()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),B()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),B()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),B()}get integratedgameframemobile(){return this.$$.ctx[9]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),B()}get integratedgameframedesktop(){return this.$$.ctx[10]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),B()}get showgamename(){return this.$$.ctx[11]}set showgamename(e){this.$$set({showgamename:e}),B()}get gamepagemodalurl(){return this.$$.ctx[12]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),B()}get visiblegames(){return this.$$.ctx[13]}set visiblegames(e){this.$$set({visiblegames:e}),B()}get favorites(){return this.$$.ctx[14]}set favorites(e){this.$$set({favorites:e}),B()}get casinomygames(){return this.$$.ctx[15]}set casinomygames(e){this.$$set({casinomygames:e}),B()}get fetchviaevent(){return this.$$.ctx[16]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),B()}}return!customElements.get("casino-favorites-section")&&customElements.define("casino-favorites-section",Fa),Fa}));
|
|
1457
1457
|
//# sourceMappingURL=casino-favorites-section.js.map
|