@everymatrix/casino-navigation-search 1.43.1 → 1.43.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -8,7 +8,7 @@
8
8
  *
9
9
  * https://svelte.dev/docs#run-time-svelte-onmount
10
10
  */
11
- function $(e){(function(){if(!s)throw new Error("Function called outside component initialization");return s})().$$.on_mount.push(e)}const G=[],P=[];let M=[];const O=[],D=Promise.resolve();let I=!1;function F(){I||(I=!0,D.then(B))}function R(){return F(),D}function A(e){M.push(e)}
11
+ function $(e){(function(){if(!s)throw new Error("Function called outside component initialization");return s})().$$.on_mount.push(e)}const G=[],P=[];let M=[];const O=[],I=Promise.resolve();let D=!1;function F(){D||(D=!0,I.then(B))}function R(){return F(),I}function A(e){M.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.
@@ -43,7 +43,7 @@ throw G.length=0,H=0,e}for(L(null),G.length=0,H=0;P.length;)P.pop()();
43
43
  // subsequent updates...
44
44
  for(let e=0;e<M.length;e+=1){const t=M[e];N.has(t)||(
45
45
  // ...so guard against infinite loops
46
- N.add(t),t())}M.length=0}while(G.length);for(;O.length;)O.pop()();I=!1,N.clear(),L(e)}function U(e){if(null!==e.fragment){e.update(),r(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(A)}}
46
+ N.add(t),t())}M.length=0}while(G.length);for(;O.length;)O.pop()();D=!1,N.clear(),L(e)}function U(e){if(null!==e.fragment){e.update(),r(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(A)}}
47
47
  /**
48
48
  * Useful for example to execute remaining `afterUpdate` callbacks before executing `destroy`.
49
49
  */const Y=new Set;function j(e,t){const n=e.$$;null!==n.fragment&&(!function(e){const t=[],n=[];M.forEach((r=>-1===e.indexOf(r)?t.push(r):n.push(r))),n.forEach((e=>e())),M=t}(n.after_update),r(n.on_destroy),n.fragment&&n.fragment.d(t),
@@ -253,10 +253,10 @@ var Te=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;var ke=/^\.(?:(0+)(\*)?|(#+)|(0+)
253
253
  // @@@ case
254
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 Me(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 Oe(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)),!Ge.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function De(e){var t=Me(e);return 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)),!Ge.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function Ie(e){var t=Me(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
- */function Ie(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),De(t))}),{}));continue;case"engineering":t=ue(ue(ue({},t),{notation:"engineering"}),i.options.reduce((function(e,t){return ue(ue({},e),De(t))}),{}));continue;case"notation-simple":t.notation="standard";continue;
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),Ie(t))}),{}));continue;case"engineering":t=ue(ue(ue({},t),{notation:"engineering"}),i.options.reduce((function(e,t){return ue(ue({},e),Ie(t))}),{}));continue;case"notation-simple":t.notation="standard";continue;
260
260
  // https://github.com/unicode-org/icu/blob/master/icu4c/source/i18n/unicode/unumberformatter.h
261
261
  case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(i.options[0]);continue;
262
262
  // https://unicode-org.github.io/icu/userguide/format_parse/numbers/skeletons.html#integer-width
@@ -437,7 +437,7 @@ e.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePos
437
437
  // Find the end of the quoted literal text.
438
438
  this.bump();var n=this.clonePosition();if(!this.bumpUntil("'"))return this.error(se.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,Be(n,this.clonePosition()));this.bump();break;case 123/* `{` */:e+=1,this.bump();break;case 125/* `}` */:if(!(e>0))return{val:this.message.slice(t.offset,this.offset()),err:null};e-=1;break;default:this.bump()}}return{val:this.message.slice(t.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(e,t){var n=[];try{n=function(e){if(0===e.length)throw new Error("Number skeleton cannot be empty");
439
439
  // Parse the skeleton
440
- for(var t=[],n=0,r=e.split(Te).filter((function(e){return e.length>0}));n<r.length;n++){var i=r[n].split("/");if(0===i.length)throw new Error("Invalid number skeleton");for(var a=i[0],o=i.slice(1),s=0,l=o;s<l.length;s++)if(0===l[s].length)throw new Error("Invalid number skeleton");t.push({stem:a,options:o})}return t}(e)}catch(e){return this.error(se.INVALID_NUMBER_SKELETON,t)}return{val:{type:ce.number,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?Ie(n):{}},err:null}},
440
+ for(var t=[],n=0,r=e.split(Te).filter((function(e){return e.length>0}));n<r.length;n++){var i=r[n].split("/");if(0===i.length)throw new Error("Invalid number skeleton");for(var a=i[0],o=i.slice(1),s=0,l=o;s<l.length;s++)if(0===l[s].length)throw new Error("Invalid number skeleton");t.push({stem:a,options:o})}return t}(e)}catch(e){return this.error(se.INVALID_NUMBER_SKELETON,t)}return{val:{type:ce.number,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?De(n):{}},err:null}},
441
441
  /**
442
442
  * @param nesting_level The current nesting level of messages.
443
443
  * This can be positive when parsing message fragment in select or plural argument options.
@@ -576,12 +576,12 @@ this.formats=Lt(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 Pt={},Mt=(e,t,n)=>n?(t in Pt||(Pt[t]={}),e in Pt[t]||(Pt[t][e]=n),n):n,Ot=(e,t)=>{if(null==t)return;if(t in Pt&&e in Pt[t])return Pt[t][e];const n=an(t);for(let r=0;r<n.length;r++){const i=Rt(n[r],e);if(i)return Mt(e,t,i)}};let Dt;const It=K({});function Ft(e){return e in Dt}function Rt(e,t){if(!Ft(e))return null;const n=function(e){return Dt[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 At(e,...t){delete Pt[e],It.update((n=>(n[e]=ie.all([n[e]||{},...t]),n)))}Z([It],(([e])=>Object.keys(e))),It.subscribe((e=>Dt=e));const Nt={};function Ht(e){return Nt[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){Nt[e].delete(t),0===Nt[e].size&&delete Nt[e]}(e,t),t().then((e=>e.default||e))))));return n.then((t=>At(e,...t)))}const Yt={};function jt(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 jt(e);delete Yt[e]})),Yt[e]}const Wt={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 zt(){return Wt}const Vt=K(!1);var Kt=Object.defineProperty,Zt=Object.defineProperties,Xt=Object.getOwnPropertyDescriptors,qt=Object.getOwnPropertySymbols,Jt=Object.prototype.hasOwnProperty,Qt=Object.prototype.propertyIsEnumerable,en=(e,t,n)=>t in e?Kt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;let tn;const nn=K(null);function rn(e){return e.split("-").map(((e,t,n)=>n.slice(0,t+1).join("-"))).reverse()}function an(e,t=zt().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={}))Jt.call(t,n)&&en(e,n,t[n]);if(qt)for(var n of qt(t))Qt.call(t,n)&&en(e,n,t[n]);return e})({},nn),Zt(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(Ft(n))return n}}(e)&&Bt(e)){const{loadingDelay:t}=zt();let n;return"undefined"!=typeof window&&null!=on()&&t?n=window.setTimeout((()=>Vt.set(!0)),t):Vt.set(!0),jt(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,hn=Object.getOwnPropertySymbols,dn=Object.prototype.hasOwnProperty,fn=Object.prototype.propertyIsEnumerable,pn=(e,t,n)=>t in e?un(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,mn=(e,t)=>{for(var n in t||(t={}))dn.call(t,n)&&pn(e,n,t[n]);if(hn)for(var n of hn(t))fn.call(t,n)&&pn(e,n,t[n]);return e},gn=(e,t)=>{var n={};for(var r in e)dn.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&hn)for(var r of hn(e))t.indexOf(r)<0&&fn.call(e,r)&&(n[r]=e[r]);return n};const yn=(e,t)=>{const{formats:n}=zt();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((
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 Pt={},Mt=(e,t,n)=>n?(t in Pt||(Pt[t]={}),e in Pt[t]||(Pt[t][e]=n),n):n,Ot=(e,t)=>{if(null==t)return;if(t in Pt&&e in Pt[t])return Pt[t][e];const n=an(t);for(let r=0;r<n.length;r++){const i=Rt(n[r],e);if(i)return Mt(e,t,i)}};let It;const Dt=K({});function Ft(e){return e in It}function Rt(e,t){if(!Ft(e))return null;const n=function(e){return It[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 At(e,...t){delete Pt[e],Dt.update((n=>(n[e]=ie.all([n[e]||{},...t]),n)))}Z([Dt],(([e])=>Object.keys(e))),Dt.subscribe((e=>It=e));const Nt={};function Ht(e){return Nt[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){Nt[e].delete(t),0===Nt[e].size&&delete Nt[e]}(e,t),t().then((e=>e.default||e))))));return n.then((t=>At(e,...t)))}const Yt={};function jt(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 jt(e);delete Yt[e]})),Yt[e]}const Wt={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 zt(){return Wt}const Vt=K(!1);var Kt=Object.defineProperty,Zt=Object.defineProperties,Xt=Object.getOwnPropertyDescriptors,qt=Object.getOwnPropertySymbols,Jt=Object.prototype.hasOwnProperty,Qt=Object.prototype.propertyIsEnumerable,en=(e,t,n)=>t in e?Kt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;let tn;const nn=K(null);function rn(e){return e.split("-").map(((e,t,n)=>n.slice(0,t+1).join("-"))).reverse()}function an(e,t=zt().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={}))Jt.call(t,n)&&en(e,n,t[n]);if(qt)for(var n of qt(t))Qt.call(t,n)&&en(e,n,t[n]);return e})({},nn),Zt(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(Ft(n))return n}}(e)&&Bt(e)){const{loadingDelay:t}=zt();let n;return"undefined"!=typeof window&&null!=on()&&t?n=window.setTimeout((()=>Vt.set(!0)),t):Vt.set(!0),jt(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,hn=Object.getOwnPropertySymbols,dn=Object.prototype.hasOwnProperty,fn=Object.prototype.propertyIsEnumerable,pn=(e,t,n)=>t in e?un(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,mn=(e,t)=>{for(var n in t||(t={}))dn.call(t,n)&&pn(e,n,t[n]);if(hn)for(var n of hn(t))fn.call(t,n)&&pn(e,n,t[n]);return e},gn=(e,t)=>{var n={};for(var r in e)dn.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&hn)for(var r of hn(e))t.indexOf(r)<0&&fn.call(e,r)&&(n[r]=e[r]);return n};const yn=(e,t)=>{const{formats:n}=zt();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
- (e,t=on())=>new Gt(e,t,zt().formats,{ignoreTag:zt().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=Ot(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=zt()).handleMissingMessage)?void 0:r.call(n,{locale:l,id:e,defaultValue:c}))?i:c)?a:e;if(!s)return u;let h=u;try{h=_n(u,l).format(s)}catch(t){t instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return h},Sn=(e,t)=>((e={})=>{var t=e,{locale:n=on()}=t,r=gn(t,["locale"]);return wn(mn({locale:n},r))})(t).format(e),Cn=(e,t)=>((e={})=>{var t=e,{locale:n=on()}=t,r=gn(t,["locale"]);return bn(mn({locale:n},r))})(t).format(e),En=(e,t)=>((e={})=>{var t=e,{locale:n=on()}=t,r=gn(t,["locale"]);return vn(mn({locale:n},r))})(t).format(e),Tn=(e,t=on())=>Ot(e,t),kn=Z([sn,It],(()=>xn));function Ln(e,t){At(e,t)}Z([sn],(()=>Sn)),Z([sn],(()=>Cn)),Z([sn],(()=>En)),Z([sn,It],(()=>Tn));const $n={en:{recentSearch:"Recent search",placeHolderSearchGames:"Search for Games",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},"zh-hk":{recentSearch:"最近的搜索",loading:"加载请稍候",searchResult:"搜索结果",cancel:"取消",notFound:"找不到游戏!",notFoundText:"请输入正确的游戏名称开始玩。",noRecentSearches:"还没有最近的搜索。 搜索我们的任何游戏。"},de:{recentSearch:"Letzte Suche",placeHolderSearchGames:"Hier nach Spielen suchen",loading:"Es lädt, bitte warten...",searchResult:"Ergebnis suchen",cancel:"Abbrechen",notFound:"Spiel wurde nicht gefunden!",notFoundText:"Spiel nicht gefunden! Bitte verwende den richtigen Spielnamen um es zu starten.",noRecentSearches:"Keine vorherige Suche vorhanden! Suche nach einem beliebigen Spiel"},it:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},fr:{recentSearch:"Recherche récente",placeHolderSearchGames:"Recherche de jeux de casino",loading:"Chargement, veuillez patienter",searchResult:"Résultat de la recherche",cancel:"Annuler",notFound:"Jeu non trouvé!",notFoundText:"Veuillez saisir le nom correct du jeu pour commencer à jouer.",noRecentSearches:"Pas encore de recherches récentes. Recherchez l'un de nos jeux."},es:{recentSearch:"Busqueda reciente",placeHolderSearchGames:"Buscar juegos",loading:"Cargando",searchResult:"Resultado de busqueda",cancel:"Cancelar",notFound:"Juego no encontrado!",notFoundText:"Por favor escriba el nombre correcto del juego para empezar a jugar.",noRecentSearches:"No hay búsquedas recientes. Busca cualquiera de nuestros juegos"},gr:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},tr:{recentSearch:"Henüz son aramalar yok. Herhangi bir oyunu arayın.",loading:"Kayıt olmak",searchResult:"PARA YATIR",cancel:"Sırala:",notFound:"Hepsi",notFoundText:"A-Z",noRecentSearches:"En Yeni",placeHolderSearchGames:"Oyun ara ..."},ru:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play."},ro:{recentSearch:"Cautari recente",loading:"Se incarca, te rugam asteapta…",searchResult:"Rezultat cautare",cancel:"Anuleaza",notFound:"Nu am gasit niciun rezultat!",notFoundText:"Te rugam sa introduci corect numele jocului.",noRecentSearches:"Nu sunt cautari recente. Cauta oricare din jocurile noastre.",placeHolderSearchGames:"Căutați Jocuri"},hr:{recentSearch:"Nedavna pretraga",loading:"Učitavanje",searchResult:"Rezultat pretrage",cancel:"Otkaži",notFound:"Igra nije pronađena!",notFoundText:"Molimo upišite točan naziv igre kako biste započeli igrati.",noRecentSearches:"Još nema nedavnih pretraživanja. Potražite bilo koju od naših igara.",placeHolderSearchGames:"Traži igre"},hu:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},pl:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},pt:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",placeHolderSearchGames:"Pesquisar jogos",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},sl:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},sr:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},"es-mx":{recentSearch:"Búsqueda reciente",loading:"Cargando, por favor espera",searchResult:"Resultado de la búsqueda",placeHolderSearchGames:"Buscar juegos",cancel:"Cancelar",notFound:"¡Juego no encontrado!",notFoundText:"Por favor, escribe el nombre correcto del juego para comenzar a jugar.",noRecentSearches:"Aún no hay búsquedas recientes. Busca cualquiera de nuestros juegos."},"pt-br":{recentSearch:"Pesquisa recente",loading:"Carregando, por favor aguarde",searchResult:"Resultado da pesquisa",placeHolderSearchGames:"Buscar jogos",cancel:"Cancelar",notFound:"Jogo não encontrado!",notFoundText:"Por favor, digite o nome correto do jogo para começar a jogar.",noRecentSearches:"Ainda não há pesquisas recentes. Busque por qualquer um dos nossos jogos."}};
581
+ (e,t=on())=>new Gt(e,t,zt().formats,{ignoreTag:zt().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=Ot(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=zt()).handleMissingMessage)?void 0:r.call(n,{locale:l,id:e,defaultValue:c}))?i:c)?a:e;if(!s)return u;let h=u;try{h=_n(u,l).format(s)}catch(t){t instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return h},Sn=(e,t)=>((e={})=>{var t=e,{locale:n=on()}=t,r=gn(t,["locale"]);return wn(mn({locale:n},r))})(t).format(e),Cn=(e,t)=>((e={})=>{var t=e,{locale:n=on()}=t,r=gn(t,["locale"]);return bn(mn({locale:n},r))})(t).format(e),En=(e,t)=>((e={})=>{var t=e,{locale:n=on()}=t,r=gn(t,["locale"]);return vn(mn({locale:n},r))})(t).format(e),Tn=(e,t=on())=>Ot(e,t),kn=Z([sn,Dt],(()=>xn));function Ln(e,t){At(e,t)}Z([sn],(()=>Sn)),Z([sn],(()=>Cn)),Z([sn],(()=>En)),Z([sn,Dt],(()=>Tn));const $n={en:{recentSearch:"Recent search",placeHolderSearchGames:"Search for Games",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},"zh-hk":{recentSearch:"最近的搜索",loading:"加载请稍候",searchResult:"搜索结果",cancel:"取消",notFound:"找不到游戏!",notFoundText:"请输入正确的游戏名称开始玩。",noRecentSearches:"还没有最近的搜索。 搜索我们的任何游戏。"},de:{recentSearch:"Letzte Suche",placeHolderSearchGames:"Hier nach Spielen suchen",loading:"Es lädt, bitte warten...",searchResult:"Ergebnis suchen",cancel:"Abbrechen",notFound:"Spiel wurde nicht gefunden!",notFoundText:"Spiel nicht gefunden! Bitte verwende den richtigen Spielnamen um es zu starten.",noRecentSearches:"Keine vorherige Suche vorhanden! Suche nach einem beliebigen Spiel"},it:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},fr:{recentSearch:"Recherche récente",placeHolderSearchGames:"Recherche de jeux de casino",loading:"Chargement, veuillez patienter",searchResult:"Résultat de la recherche",cancel:"Annuler",notFound:"Jeu non trouvé!",notFoundText:"Veuillez saisir le nom correct du jeu pour commencer à jouer.",noRecentSearches:"Pas encore de recherches récentes. Recherchez l'un de nos jeux."},es:{recentSearch:"Busqueda reciente",placeHolderSearchGames:"Buscar juegos",loading:"Cargando",searchResult:"Resultado de busqueda",cancel:"Cancelar",notFound:"Juego no encontrado!",notFoundText:"Por favor escriba el nombre correcto del juego para empezar a jugar.",noRecentSearches:"No hay búsquedas recientes. Busca cualquiera de nuestros juegos"},gr:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},tr:{recentSearch:"Henüz son aramalar yok. Herhangi bir oyunu arayın.",loading:"Kayıt olmak",searchResult:"PARA YATIR",cancel:"Sırala:",notFound:"Hepsi",notFoundText:"A-Z",noRecentSearches:"En Yeni",placeHolderSearchGames:"Oyun ara ..."},ru:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play."},ro:{recentSearch:"Cautari recente",loading:"Se incarca, te rugam asteapta…",searchResult:"Rezultat cautare",cancel:"Anuleaza",notFound:"Nu am gasit niciun rezultat!",notFoundText:"Te rugam sa introduci corect numele jocului.",noRecentSearches:"Nu sunt cautari recente. Cauta oricare din jocurile noastre.",placeHolderSearchGames:"Căutați Jocuri"},hr:{recentSearch:"Nedavna pretraga",loading:"Učitavanje",searchResult:"Rezultat pretrage",cancel:"Otkaži",notFound:"Igra nije pronađena!",notFoundText:"Molimo upišite točan naziv igre kako biste započeli igrati.",noRecentSearches:"Još nema nedavnih pretraživanja. Potražite bilo koju od naših igara.",placeHolderSearchGames:"Traži igre"},hu:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},pl:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},pt:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",placeHolderSearchGames:"Pesquisar jogos",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},sl:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},sr:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},"es-mx":{recentSearch:"Búsqueda reciente",loading:"Cargando, por favor espera",searchResult:"Resultado de la búsqueda",placeHolderSearchGames:"Buscar juegos",cancel:"Cancelar",notFound:"¡Juego no encontrado!",notFoundText:"Por favor, escribe el nombre correcto del juego para comenzar a jugar.",noRecentSearches:"Aún no hay búsquedas recientes. Busca cualquiera de nuestros juegos."},"pt-br":{recentSearch:"Pesquisa recente",loading:"Carregando, por favor aguarde",searchResult:"Resultado da pesquisa",placeHolderSearchGames:"Buscar jogos",cancel:"Cancelar",notFound:"Jogo não encontrado!",notFoundText:"Por favor, digite o nome correto do jogo para começar a jogar.",noRecentSearches:"Ainda não há pesquisas recentes. Busque por qualquer um dos nossos jogos."}};
582
582
  /* eslint-disable no-prototype-builtins */var Gn="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||
583
583
  // eslint-disable-next-line no-undef
584
- "undefined"!=typeof global&&global||{},Pn="URLSearchParams"in Gn,Mn="Symbol"in Gn&&"iterator"in Symbol,On="FileReader"in Gn&&"Blob"in Gn&&function(){try{return new Blob,!0}catch(e){return!1}}(),Dn="FormData"in Gn,In="ArrayBuffer"in Gn;if(In)var Fn=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],Rn=ArrayBuffer.isView||function(e){return e&&Fn.indexOf(Object.prototype.toString.call(e))>-1};function An(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 Nn(e){return"string"!=typeof e&&(e=String(e)),e}
584
+ "undefined"!=typeof global&&global||{},Pn="URLSearchParams"in Gn,Mn="Symbol"in Gn&&"iterator"in Symbol,On="FileReader"in Gn&&"Blob"in Gn&&function(){try{return new Blob,!0}catch(e){return!1}}(),In="FormData"in Gn,Dn="ArrayBuffer"in Gn;if(Dn)var Fn=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],Rn=ArrayBuffer.isView||function(e){return e&&Fn.indexOf(Object.prototype.toString.call(e))>-1};function An(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 Nn(e){return"string"!=typeof e&&(e=String(e)),e}
585
585
  // Build a destructive iterator for the value list
586
586
  function Hn(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 Bn(e){this.map={},e instanceof Bn?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 Un(e){if(!e._noBody)return e.bodyUsed?Promise.reject(new TypeError("Already read")):void(e.bodyUsed=!0)}function Yn(e){return new Promise((function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}}))}function jn(e){var t=new FileReader,n=Yn(t);return t.readAsArrayBuffer(e),n}function Wn(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;
587
587
  /*
@@ -595,9 +595,9 @@ function Hn(e){var t={next:function(){var t=e.shift();return{done:void 0===t,val
595
595
  _initBody is called.
596
596
  */
597
597
  // eslint-disable-next-line no-self-assign
598
- this.bodyUsed=this.bodyUsed,this._bodyInit=e,e?"string"==typeof e?this._bodyText=e:On&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:Dn&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:Pn&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():In&&On&&((t=e)&&DataView.prototype.isPrototypeOf(t))?(this._bodyArrayBuffer=Wn(e.buffer),
598
+ this.bodyUsed=this.bodyUsed,this._bodyInit=e,e?"string"==typeof e?this._bodyText=e:On&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:In&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:Pn&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():Dn&&On&&((t=e)&&DataView.prototype.isPrototypeOf(t))?(this._bodyArrayBuffer=Wn(e.buffer),
599
599
  // IE 10-11 can't handle a DataView body.
600
- this._bodyInit=new Blob([this._bodyArrayBuffer])):In&&(ArrayBuffer.prototype.isPrototypeOf(e)||Rn(e))?this._bodyArrayBuffer=Wn(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):Pn&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},On&&(this.blob=function(){var e=Un(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=Un(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(On)return this.blob().then(jn);throw new Error("could not read as ArrayBuffer")},this.text=function(){var e,t,n,r,i,a=Un(this);if(a)return a;if(this._bodyBlob)return e=this._bodyBlob,t=new FileReader,n=Yn(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)},Dn&&(this.formData=function(){return this.text().then(Zn)}),this.json=function(){return this.text().then(JSON.parse)},this}
600
+ this._bodyInit=new Blob([this._bodyArrayBuffer])):Dn&&(ArrayBuffer.prototype.isPrototypeOf(e)||Rn(e))?this._bodyArrayBuffer=Wn(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):Pn&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},On&&(this.blob=function(){var e=Un(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=Un(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(On)return this.blob().then(jn);throw new Error("could not read as ArrayBuffer")},this.text=function(){var e,t,n,r,i,a=Un(this);if(a)return a;if(this._bodyBlob)return e=this._bodyBlob,t=new FileReader,n=Yn(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)},In&&(this.formData=function(){return this.text().then(Zn)}),this.json=function(){return this.text().then(JSON.parse)},this}
601
601
  // HTTP methods whose capitalization should be normalized
602
602
  Bn.prototype.append=function(e,t){e=An(e),t=Nn(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},Bn.prototype.delete=function(e){delete this.map[An(e)]},Bn.prototype.get=function(e){return e=An(e),this.has(e)?this.map[e]:null},Bn.prototype.has=function(e){return this.map.hasOwnProperty(An(e))},Bn.prototype.set=function(e,t){this.map[An(e)]=Nn(t)},Bn.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},Bn.prototype.keys=function(){var e=[];return this.forEach((function(t,n){e.push(n)})),Hn(e)},Bn.prototype.values=function(){var e=[];return this.forEach((function(t){e.push(t)})),Hn(e)},Bn.prototype.entries=function(){var e=[];return this.forEach((function(t,n){e.push([n,t])})),Hn(e)},Mn&&(Bn.prototype[Symbol.iterator]=Bn.prototype.entries);var Vn=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function Kn(e,t){if(!(this instanceof Kn))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 Kn){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new Bn(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 Bn(t.headers)),this.method=(n=t.method||this.method||"GET",r=n.toUpperCase(),Vn.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)){
603
603
  // Search for a '_' parameter in the query string
@@ -610,7 +610,7 @@ this.url=this.url.replace(a,"$1_="+(new Date).getTime());else{this.url+=(/\?/.te
610
610
  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)};
611
611
  // This check if specifically for when a user fetches a file locally from the file system
612
612
  // Only if the status is out of a normal range
613
- 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 Xn(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 Jn("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&&(On?a.responseType="blob":In&&(a.responseType="arraybuffer")),t&&"object"==typeof t.headers&&!(t.headers instanceof Bn||Gn.Headers&&t.headers instanceof Gn.Headers)){var s=[];Object.getOwnPropertyNames(t.headers).forEach((function(e){s.push(An(e)),a.setRequestHeader(e,Nn(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(){
613
+ 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 Xn(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 Jn("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&&(On?a.responseType="blob":Dn&&(a.responseType="arraybuffer")),t&&"object"==typeof t.headers&&!(t.headers instanceof Bn||Gn.Headers&&t.headers instanceof Gn.Headers)){var s=[];Object.getOwnPropertyNames(t.headers).forEach((function(e){s.push(An(e)),a.setRequestHeader(e,Nn(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(){
614
614
  // DONE (success or failure)
615
615
  4===a.readyState&&i.signal.removeEventListener("abort",o)}),a.send(void 0===i._bodyInit?null:i._bodyInit)}))}Qn.polyfill=!0,Gn.fetch||(Gn.fetch=Qn,Gn.Headers=Bn,Gn.Request=Kn,Gn.Response=Xn);"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self&&self;function er(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}
616
616
  // the whatwg-fetch polyfill installs the fetch() function
@@ -633,7 +633,7 @@ self.fetch.bind(self);
633
633
  PERFORMANCE OF THIS SOFTWARE.
634
634
  ***************************************************************************** */
635
635
  /* global Reflect, Promise, SuppressedError, Symbol, Iterator */
636
- var tr=function(e,t){return tr=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])},tr(e,t)};function nr(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}tr(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function rr(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 ir(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 ar(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 or(e){return"function"==typeof e}function sr(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 lr=sr((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 cr(e,t){if(e){var n=e.indexOf(t);0<=n&&e.splice(n,1)}}var ur=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=rr(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(or(l))try{l()}catch(e){i=e instanceof lr?e.errors:[e]}var c=this._finalizers;if(c){this._finalizers=null;try{for(var u=rr(c),h=u.next();!h.done;h=u.next()){var d=h.value;try{fr(d)}catch(e){i=null!=i?i:[],e instanceof lr?i=ar(ar([],ir(i)),ir(e.errors)):i.push(e)}}}catch(e){n={error:e}}finally{try{h&&!h.done&&(r=u.return)&&r.call(u)}finally{if(n)throw n.error}}}if(i)throw new lr(i)}},e.prototype.add=function(t){var n;if(t&&t!==this)if(this.closed)fr(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)&&cr(t,e)},e.prototype.remove=function(t){var n=this._finalizers;n&&cr(n,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}(),hr=ur.EMPTY;function dr(e){return e instanceof ur||e&&"closed"in e&&or(e.remove)&&or(e.add)&&or(e.unsubscribe)}function fr(e){or(e)?e():e.unsubscribe()}var pr={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,ar([e,t],ir(n))):setTimeout.apply(void 0,ar([e,t],ir(n)))},clearTimeout:function(e){var t=mr.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function gr(){}var yr=null;function vr(e){if(pr.useDeprecatedSynchronousErrorHandling){var t=!yr;if(t&&(yr={errorThrown:!1,error:null}),e(),t){var n=yr,r=n.errorThrown,i=n.error;if(yr=null,r)throw i}}else e()}var br=function(e){function t(t){var n=e.call(this)||this;return n.isStopped=!1,t?(n.destination=t,dr(t)&&t.add(n)):n.destination=Er,n}return nr(t,e),t.create=function(e,t,n){return new Sr(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}(ur),wr=Function.prototype.bind;function _r(e,t){return wr.call(e,t)}var xr=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){Cr(e)}},e.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){Cr(e)}else Cr(e)},e.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){Cr(e)}},e}(),Sr=function(e){function t(t,n,r){var i,a,o=e.call(this)||this;or(t)||!t?i={next:null!=t?t:void 0,error:null!=n?n:void 0,complete:null!=r?r:void 0}:o&&pr.useDeprecatedNextContext?((a=Object.create(t)).unsubscribe=function(){return o.unsubscribe()},i={next:t.next&&_r(t.next,a),error:t.error&&_r(t.error,a),complete:t.complete&&_r(t.complete,a)}):i=t;return o.destination=new xr(i),o}return nr(t,e),t}(br);function Cr(e){var t;t=e,mr.setTimeout((function(){throw t}))}var Er={closed:!0,next:gr,error:function(e){throw e},complete:gr},Tr="function"==typeof Symbol&&Symbol.observable||"@@observable";function kr(e){return e}var Lr=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 br||function(e){return e&&or(e.next)&&or(e.error)&&or(e.complete)}(r)&&dr(r)?e:new Sr(e,t,n);return vr((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=$r(t))((function(t,r){var i=new Sr({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[Tr]=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=$r(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 $r(e){var t;return null!==(t=null!=e?e:pr.Promise)&&void 0!==t?t:Promise}var Gr=sr((function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}})),Pr=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 nr(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;vr((function(){var n,r;if(t._throwIfClosed(),!t.isStopped){t.currentObservers||(t.currentObservers=Array.from(t.observers));try{for(var i=rr(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;vr((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;vr((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?hr:(this.currentObservers=null,a.push(e),new ur((function(){t.currentObservers=null,cr(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 Lr;return e.source=this,e},t.create=function(e,t){return new Mr(e,t)},t}(Lr),Mr=function(e){function t(t,n){var r=e.call(this)||this;return r.destination=t,r.source=n,r}return nr(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:hr},t}(Pr),Or={now:function(){return(Or.delegate||Date).now()},delegate:void 0},Dr=function(e){function t(t,n,r){void 0===t&&(t=1/0),void 0===n&&(n=1/0),void 0===r&&(r=Or);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 nr(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}(Pr);let Ir=[],Fr={};window.emWidgets={topic:(e,t=0)=>{if(-1==Ir.indexOf(e)){let n=new Dr(t);Fr[e]=n,Ir.push(e)}return Fr[e]}};
636
+ var tr=function(e,t){return tr=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])},tr(e,t)};function nr(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}tr(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function rr(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 ir(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 ar(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 or(e){return"function"==typeof e}function sr(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 lr=sr((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 cr(e,t){if(e){var n=e.indexOf(t);0<=n&&e.splice(n,1)}}var ur=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=rr(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(or(l))try{l()}catch(e){i=e instanceof lr?e.errors:[e]}var c=this._finalizers;if(c){this._finalizers=null;try{for(var u=rr(c),h=u.next();!h.done;h=u.next()){var d=h.value;try{fr(d)}catch(e){i=null!=i?i:[],e instanceof lr?i=ar(ar([],ir(i)),ir(e.errors)):i.push(e)}}}catch(e){n={error:e}}finally{try{h&&!h.done&&(r=u.return)&&r.call(u)}finally{if(n)throw n.error}}}if(i)throw new lr(i)}},e.prototype.add=function(t){var n;if(t&&t!==this)if(this.closed)fr(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)&&cr(t,e)},e.prototype.remove=function(t){var n=this._finalizers;n&&cr(n,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}(),hr=ur.EMPTY;function dr(e){return e instanceof ur||e&&"closed"in e&&or(e.remove)&&or(e.add)&&or(e.unsubscribe)}function fr(e){or(e)?e():e.unsubscribe()}var pr={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,ar([e,t],ir(n))):setTimeout.apply(void 0,ar([e,t],ir(n)))},clearTimeout:function(e){var t=mr.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function gr(){}var yr=null;function vr(e){if(pr.useDeprecatedSynchronousErrorHandling){var t=!yr;if(t&&(yr={errorThrown:!1,error:null}),e(),t){var n=yr,r=n.errorThrown,i=n.error;if(yr=null,r)throw i}}else e()}var br=function(e){function t(t){var n=e.call(this)||this;return n.isStopped=!1,t?(n.destination=t,dr(t)&&t.add(n)):n.destination=Er,n}return nr(t,e),t.create=function(e,t,n){return new Sr(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}(ur),wr=Function.prototype.bind;function _r(e,t){return wr.call(e,t)}var xr=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){Cr(e)}},e.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){Cr(e)}else Cr(e)},e.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){Cr(e)}},e}(),Sr=function(e){function t(t,n,r){var i,a,o=e.call(this)||this;or(t)||!t?i={next:null!=t?t:void 0,error:null!=n?n:void 0,complete:null!=r?r:void 0}:o&&pr.useDeprecatedNextContext?((a=Object.create(t)).unsubscribe=function(){return o.unsubscribe()},i={next:t.next&&_r(t.next,a),error:t.error&&_r(t.error,a),complete:t.complete&&_r(t.complete,a)}):i=t;return o.destination=new xr(i),o}return nr(t,e),t}(br);function Cr(e){var t;t=e,mr.setTimeout((function(){throw t}))}var Er={closed:!0,next:gr,error:function(e){throw e},complete:gr},Tr="function"==typeof Symbol&&Symbol.observable||"@@observable";function kr(e){return e}var Lr=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 br||function(e){return e&&or(e.next)&&or(e.error)&&or(e.complete)}(r)&&dr(r)?e:new Sr(e,t,n);return vr((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=$r(t))((function(t,r){var i=new Sr({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[Tr]=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=$r(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 $r(e){var t;return null!==(t=null!=e?e:pr.Promise)&&void 0!==t?t:Promise}var Gr=sr((function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}})),Pr=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 nr(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;vr((function(){var n,r;if(t._throwIfClosed(),!t.isStopped){t.currentObservers||(t.currentObservers=Array.from(t.observers));try{for(var i=rr(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;vr((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;vr((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?hr:(this.currentObservers=null,a.push(e),new ur((function(){t.currentObservers=null,cr(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 Lr;return e.source=this,e},t.create=function(e,t){return new Mr(e,t)},t}(Lr),Mr=function(e){function t(t,n){var r=e.call(this)||this;return r.destination=t,r.source=n,r}return nr(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:hr},t}(Pr),Or={now:function(){return(Or.delegate||Date).now()},delegate:void 0},Ir=function(e){function t(t,n,r){void 0===t&&(t=1/0),void 0===n&&(n=1/0),void 0===r&&(r=Or);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 nr(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}(Pr);let Dr=[],Fr={};window.emWidgets={topic:(e,t=0)=>{if(-1==Dr.indexOf(e)){let n=new Ir(t);Fr[e]=n,Dr.push(e)}return Fr[e]}};
637
637
  /**
638
638
  * @name isMobile
639
639
  * @description A method that returns if the browser used to access the app is from a mobile device or not
@@ -668,12 +668,12 @@ function x(e){_(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isV
668
668
  // TODO: Remove "ordinalParse" fallback in next major release.
669
669
  this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function P(e,t){var n,r=f({},e);for(n in t)s(t,n)&&(o(e[n])&&o(t[n])?(r[n]={},f(r[n],e[n]),f(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])&&(
670
670
  // make sure changes to properties don't modify parent config
671
- r[n]=f({},r[n]));return r}function M(e){null!=e&&this.set(e)}r.suppressDeprecationWarnings=!1,r.deprecationHandler=null,T=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)s(e,t)&&n.push(t);return n};var O={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function D(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return $(r)?r.call(t,n):r}function I(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 F=/(\[[^\[]*\])|(\\)?([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,R=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,A={},N={};
671
+ r[n]=f({},r[n]));return r}function M(e){null!=e&&this.set(e)}r.suppressDeprecationWarnings=!1,r.deprecationHandler=null,T=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)s(e,t)&&n.push(t);return n};var O={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function I(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return $(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 F=/(\[[^\[]*\])|(\\)?([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,R=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,A={},N={};
672
672
  // token: 'M'
673
673
  // padded: ['MM', 2]
674
674
  // ordinal: 'Mo'
675
675
  // callback: function () { this.month() + 1 }
676
- function H(e,t,n,r){var i=r;"string"==typeof r&&(i=function(){return this[r]()}),e&&(N[e]=i),t&&(N[t[0]]=function(){return I(i.apply(this,arguments),t[1],t[2])}),n&&(N[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function B(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function U(e){var t,n,r=e.match(F);for(t=0,n=r.length;t<n;t++)N[r[t]]?r[t]=N[r[t]]:r[t]=B(r[t]);return function(t){var i,a="";for(i=0;i<n;i++)a+=$(r[i])?r[i].call(t,e):r[i];return a}}
676
+ function H(e,t,n,r){var i=r;"string"==typeof r&&(i=function(){return this[r]()}),e&&(N[e]=i),t&&(N[t[0]]=function(){return D(i.apply(this,arguments),t[1],t[2])}),n&&(N[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function B(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function U(e){var t,n,r=e.match(F);for(t=0,n=r.length;t<n;t++)N[r[t]]?r[t]=N[r[t]]:r[t]=B(r[t]);return function(t){var i,a="";for(i=0;i<n;i++)a+=$(r[i])?r[i].call(t,e):r[i];return a}}
677
677
  // format date using native date object
678
678
  function Y(e,t){return e.isValid()?(t=j(t,e.localeData()),A[t]=A[t]||U(t),A[t](e)):e.localeData().invalidDate()}function j(e,t){var n=5;function r(e){return t.longDateFormat(e)||e}for(R.lastIndex=0;n>=0&&R.test(e);)e=e.replace(R,r),R.lastIndex=0,n-=1;return e}var W={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function z(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(F).map((function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e})).join(""),this._longDateFormat[e])}var V="Invalid date";function K(){return this._invalidDate}var Z="%d",X=/\d{1,2}/;function q(e){return this._ordinal.replace("%d",e)}var J={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function Q(e,t,n,r){var i=this._relativeTime[n];return $(i)?i(e,t,n,r):i.replace(/%d/i,e)}function ee(e,t){var n=this._relativeTime[e>0?"future":"past"];return $(n)?n(t):n.replace(/%s/i,t)}var te={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function ne(e){return"string"==typeof e?te[e]||te[e.toLowerCase()]:void 0}function re(e){var t,n,r={};for(n in e)s(e,n)&&(t=ne(n))&&(r[t]=e[n]);return r}var ie={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1};function ae(e){var t,n=[];for(t in e)s(e,t)&&n.push({unit:t,priority:ie[t]});return n.sort((function(e,t){return e.priority-t.priority})),n}var// 0-99
679
679
  oe,se=/\d/,// 0 - 9
@@ -697,12 +697,12 @@ xe=/[+-]?\d+(\.\d{1,3})?/,// 123456789 123456789.123
697
697
  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,Ce=/^[1-9]\d?/,// 1-99
698
698
  Ee=/^([1-9]\d|\d)/;function Te(e,t,n){oe[e]=$(t)?t:function(e,r){return e&&n?n:t}}function ke(e,t){return s(oe,e)?oe[e](t._strict,t._locale):new RegExp(Le(e))}
699
699
  // Code from http://stackoverflow.com/questions/3561493/is-there-a-regexp-escape-function-in-javascript
700
- function Le(e){return $e(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,n,r,i){return t||n||r||i})))}function $e(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function Ge(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function Pe(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=Ge(t)),n}oe={};var Me={};function Oe(e,t){var n,r,i=t;for("string"==typeof e&&(e=[e]),u(t)&&(i=function(e,n){n[t]=Pe(e)}),r=e.length,n=0;n<r;n++)Me[e[n]]=i}function De(e,t){Oe(e,(function(e,n,r,i){r._w=r._w||{},t(e,r._w,r,i)}))}function Ie(e,t,n){null!=t&&s(Me,e)&&Me[e](t,n._a,n,e)}function Fe(e){return e%4==0&&e%100!=0||e%400==0}var Re=0,Ae=1,Ne=2,He=3,Be=4,Ue=5,Ye=6,je=7,We=8;
700
+ function Le(e){return $e(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,n,r,i){return t||n||r||i})))}function $e(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function Ge(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function Pe(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=Ge(t)),n}oe={};var Me={};function Oe(e,t){var n,r,i=t;for("string"==typeof e&&(e=[e]),u(t)&&(i=function(e,n){n[t]=Pe(e)}),r=e.length,n=0;n<r;n++)Me[e[n]]=i}function Ie(e,t){Oe(e,(function(e,n,r,i){r._w=r._w||{},t(e,r._w,r,i)}))}function De(e,t,n){null!=t&&s(Me,e)&&Me[e](t,n._a,n,e)}function Fe(e){return e%4==0&&e%100!=0||e%400==0}var Re=0,Ae=1,Ne=2,He=3,Be=4,Ue=5,Ye=6,je=7,We=8;
701
701
  // FORMATTING
702
702
  // HELPERS
703
703
  function ze(e){return Fe(e)?366:365}
704
704
  // HOOKS
705
- H("Y",0,0,(function(){var e=this.year();return e<=9999?I(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"),
705
+ 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"),
706
706
  // PARSING
707
707
  Te("Y",be),Te("YY",de,le),Te("YYYY",ge,ue),Te("YYYYY",ye,he),Te("YYYYYY",ye,he),Oe(["YYYYY","YYYYYY"],Re),Oe("YYYY",(function(e,t){t[Re]=2===e.length?r.parseTwoDigitYear(e):Pe(e)})),Oe("YY",(function(e,t){t[Re]=r.parseTwoDigitYear(e)})),Oe("Y",(function(e,t){t[Re]=parseInt(e,10)})),r.parseTwoDigitYear=function(e){return Pe(e)+(Pe(e)>68?1900:2e3)};
708
708
  // MOMENTS
@@ -769,7 +769,7 @@ 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=ze(
769
769
  // LOCALES
770
770
  function Ct(e){return xt(e,this._week.dow,this._week.doy).week}H("w",["ww",2],"wo","week"),H("W",["WW",2],"Wo","isoWeek"),
771
771
  // PARSING
772
- Te("w",de,Ce),Te("ww",de,le),Te("W",de,Ce),Te("WW",de,le),De(["w","ww","W","WW"],(function(e,t,n,r){t[r.substr(0,1)]=Pe(e)}));var Et={dow:0,// Sunday is the first day of the week.
772
+ Te("w",de,Ce),Te("ww",de,le),Te("W",de,Ce),Te("WW",de,le),Ie(["w","ww","W","WW"],(function(e,t,n,r){t[r.substr(0,1)]=Pe(e)}));var Et={dow:0,// Sunday is the first day of the week.
773
773
  doy:6};function Tt(){return this._week.dow}function kt(){return this._week.doy}
774
774
  // MOMENTS
775
775
  function Lt(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function $t(e){var t=xt(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}
@@ -779,9 +779,9 @@ function Gt(e,t){return"string"!=typeof e?e:isNaN(e)?"number"==typeof(e=t.weekda
779
779
  // LOCALES
780
780
  function Mt(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"),
781
781
  // PARSING
782
- Te("d",de),Te("e",de),Te("E",de),Te("dd",(function(e,t){return t.weekdaysMinRegex(e)})),Te("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),Te("dddd",(function(e,t){return t.weekdaysRegex(e)})),De(["dd","ddd","dddd"],(function(e,t,n,r){var i=n._locale.weekdaysParse(e,r,n._strict);
782
+ Te("d",de),Te("e",de),Te("E",de),Te("dd",(function(e,t){return t.weekdaysMinRegex(e)})),Te("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),Te("dddd",(function(e,t){return t.weekdaysRegex(e)})),Ie(["dd","ddd","dddd"],(function(e,t,n,r){var i=n._locale.weekdaysParse(e,r,n._strict);
783
783
  // if we didn't get a weekday name, mark the date as invalid
784
- null!=i?t.d=i:g(n).invalidWeekday=e})),De(["d","e","E"],(function(e,t,n,r){t[r]=Pe(e)}));var Ot="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Dt="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),It="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Ft=Se,Rt=Se,At=Se;function Nt(e,t){var n=a(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?Mt(n,this._week.dow):e?n[e.day()]:n}function Ht(e){return!0===e?Mt(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Bt(e){return!0===e?Mt(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=p([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++){
784
+ null!=i?t.d=i:g(n).invalidWeekday=e})),Ie(["d","e","E"],(function(e,t,n,r){t[r]=Pe(e)}));var Ot="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),It="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Dt="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Ft=Se,Rt=Se,At=Se;function Nt(e,t){var n=a(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?Mt(n,this._week.dow):e?n[e.day()]:n}function Ht(e){return!0===e?Mt(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Bt(e){return!0===e?Mt(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=p([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++){
785
785
  // test the regex
786
786
  if(
787
787
  // make the regex if we don't have it already
@@ -805,12 +805,12 @@ function en(e,t){return t._meridiemParse}
805
805
  function tn(e){
806
806
  // IE8 Quirks Mode & IE7 Standards Mode do not allow accessing strings like arrays
807
807
  // Using charAt should be more compatible.
808
- return"p"===(e+"").toLowerCase().charAt(0)}H("H",["HH",2],0,"hour"),H("h",["hh",2],0,qt),H("k",["kk",2],0,Jt),H("hmm",0,0,(function(){return""+qt.apply(this)+I(this.minutes(),2)})),H("hmmss",0,0,(function(){return""+qt.apply(this)+I(this.minutes(),2)+I(this.seconds(),2)})),H("Hmm",0,0,(function(){return""+this.hours()+I(this.minutes(),2)})),H("Hmmss",0,0,(function(){return""+this.hours()+I(this.minutes(),2)+I(this.seconds(),2)})),Qt("a",!0),Qt("A",!1),Te("a",en),Te("A",en),Te("H",de,Ee),Te("h",de,Ce),Te("k",de,Ce),Te("HH",de,le),Te("hh",de,le),Te("kk",de,le),Te("hmm",fe),Te("hmmss",pe),Te("Hmm",fe),Te("Hmmss",pe),Oe(["H","HH"],He),Oe(["k","kk"],(function(e,t,n){var r=Pe(e);t[He]=24===r?0:r})),Oe(["a","A"],(function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e})),Oe(["h","hh"],(function(e,t,n){t[He]=Pe(e),g(n).bigHour=!0})),Oe("hmm",(function(e,t,n){var r=e.length-2;t[He]=Pe(e.substr(0,r)),t[Be]=Pe(e.substr(r)),g(n).bigHour=!0})),Oe("hmmss",(function(e,t,n){var r=e.length-4,i=e.length-2;t[He]=Pe(e.substr(0,r)),t[Be]=Pe(e.substr(r,2)),t[Ue]=Pe(e.substr(i)),g(n).bigHour=!0})),Oe("Hmm",(function(e,t,n){var r=e.length-2;t[He]=Pe(e.substr(0,r)),t[Be]=Pe(e.substr(r))})),Oe("Hmmss",(function(e,t,n){var r=e.length-4,i=e.length-2;t[He]=Pe(e.substr(0,r)),t[Be]=Pe(e.substr(r,2)),t[Ue]=Pe(e.substr(i))}));var nn=/[ap]\.?m?\.?/i,
808
+ return"p"===(e+"").toLowerCase().charAt(0)}H("H",["HH",2],0,"hour"),H("h",["hh",2],0,qt),H("k",["kk",2],0,Jt),H("hmm",0,0,(function(){return""+qt.apply(this)+D(this.minutes(),2)})),H("hmmss",0,0,(function(){return""+qt.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),Te("a",en),Te("A",en),Te("H",de,Ee),Te("h",de,Ce),Te("k",de,Ce),Te("HH",de,le),Te("hh",de,le),Te("kk",de,le),Te("hmm",fe),Te("hmmss",pe),Te("Hmm",fe),Te("Hmmss",pe),Oe(["H","HH"],He),Oe(["k","kk"],(function(e,t,n){var r=Pe(e);t[He]=24===r?0:r})),Oe(["a","A"],(function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e})),Oe(["h","hh"],(function(e,t,n){t[He]=Pe(e),g(n).bigHour=!0})),Oe("hmm",(function(e,t,n){var r=e.length-2;t[He]=Pe(e.substr(0,r)),t[Be]=Pe(e.substr(r)),g(n).bigHour=!0})),Oe("hmmss",(function(e,t,n){var r=e.length-4,i=e.length-2;t[He]=Pe(e.substr(0,r)),t[Be]=Pe(e.substr(r,2)),t[Ue]=Pe(e.substr(i)),g(n).bigHour=!0})),Oe("Hmm",(function(e,t,n){var r=e.length-2;t[He]=Pe(e.substr(0,r)),t[Be]=Pe(e.substr(r))})),Oe("Hmmss",(function(e,t,n){var r=e.length-4,i=e.length-2;t[He]=Pe(e.substr(0,r)),t[Be]=Pe(e.substr(r,2)),t[Ue]=Pe(e.substr(i))}));var nn=/[ap]\.?m?\.?/i,
809
809
  // Setting the hour should keep the time, because the user explicitly
810
810
  // specified which hour they want. So trying to maintain the same hour (in
811
811
  // a new timezone) makes sense. Adding/subtracting hours does not follow
812
812
  // this rule.
813
- rn=Xe("Hours",!0);function an(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}var on,sn={calendar:O,longDateFormat:W,invalidDate:V,ordinal:Z,dayOfMonthOrdinalParse:X,relativeTime:J,months:rt,monthsShort:it,week:Et,weekdays:Ot,weekdaysMin:It,weekdaysShort:Dt,meridiemParse:nn},ln={},cn={};
813
+ rn=Xe("Hours",!0);function an(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}var on,sn={calendar:O,longDateFormat:W,invalidDate:V,ordinal:Z,dayOfMonthOrdinalParse:X,relativeTime:J,months:rt,monthsShort:it,week:Et,weekdays:Ot,weekdaysMin:Dt,weekdaysShort:It,meridiemParse:nn},ln={},cn={};
814
814
  // internal storage for locale config files
815
815
  function un(e,t){var n,r=Math.min(e.length,t.length);for(n=0;n<r;n+=1)if(e[n]!==t[n])return n;return r}function hn(e){return e?e.toLowerCase().replace("_","-"):e}
816
816
  // pick the locale from the array
@@ -870,13 +870,13 @@ function $n(e){var t,n,r,i,a,o,s=e._i,l=_n.exec(s)||xn.exec(s),c=Cn.length,u=En.
870
870
  // match[2] should be 'T' or space
871
871
  a=(l[2]||" ")+En[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 Gn(e,t,n,r,i,a){var o=[Pn(e),it.indexOf(t),parseInt(n,10),parseInt(r,10),parseInt(i,10)];return a&&o.push(parseInt(a,10)),o}function Pn(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function Mn(e){
872
872
  // Remove comments and folding whitespace and replace multiple-spaces with a single space
873
- return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function On(e,t,n){return!e||Dt.indexOf(e)===new Date(t[0],t[1],t[2]).getDay()||(g(n).weekdayMismatch=!0,n._isValid=!1,!1)}function Dn(e,t,n){if(e)return Ln[e];if(t)
873
+ return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function On(e,t,n){return!e||It.indexOf(e)===new Date(t[0],t[1],t[2]).getDay()||(g(n).weekdayMismatch=!0,n._isValid=!1,!1)}function In(e,t,n){if(e)return Ln[e];if(t)
874
874
  // the only allowed military tz is Z
875
875
  return 0;var r=parseInt(n,10),i=r%100;return(r-i)/100*60+i}
876
876
  // date and time from ref 2822 format
877
- function In(e){var t,n=kn.exec(Mn(e._i));if(n){if(t=Gn(n[4],n[3],n[2],n[5],n[6],n[7]),!On(n[1],t,e))return;e._a=t,e._tzm=Dn(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}
877
+ function Dn(e){var t,n=kn.exec(Mn(e._i));if(n){if(t=Gn(n[4],n[3],n[2],n[5],n[6],n[7]),!On(n[1],t,e))return;e._a=t,e._tzm=In(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}
878
878
  // date from 1) ASP.NET, 2) ISO, 3) RFC 2822 formats, or 4) optional fallback if parsing isn't strict
879
- function Fn(e){var t=Tn.exec(e._i);null===t?($n(e),!1===e._isValid&&(delete e._isValid,In(e),!1===e._isValid&&(delete e._isValid,e._strict?e._isValid=!1:
879
+ function Fn(e){var t=Tn.exec(e._i);null===t?($n(e),!1===e._isValid&&(delete e._isValid,Dn(e),!1===e._isValid&&(delete e._isValid,e._strict?e._isValid=!1:
880
880
  // Final attempt, use Input Fallback
881
881
  r.createFromInputFallback(e)))):e._d=new Date(+t[1])}
882
882
  // Pick the first defined of two or three arguments.
@@ -928,7 +928,7 @@ if(e._f!==r.ISO_8601)if(e._f!==r.RFC_2822){e._a=[],g(e).empty=!0;
928
928
  // This array is used to make a Date, either with `new Date` or `Date.UTC`
929
929
  var t,n,i,a,o,s,l,c=""+e._i,u=c.length,h=0;for(l=(i=j(e._f,e._locale).match(F)||[]).length,t=0;t<l;t++)a=i[t],(n=(c.match(ke(a,e))||[])[0])&&((o=c.substr(0,c.indexOf(n))).length>0&&g(e).unusedInput.push(o),c=c.slice(c.indexOf(n)+n.length),h+=n.length),
930
930
  // don't parse if it's not a known token
931
- N[a]?(n?g(e).empty=!1:g(e).unusedTokens.push(a),Ie(a,n,e)):e._strict&&!n&&g(e).unusedTokens.push(a);
931
+ N[a]?(n?g(e).empty=!1:g(e).unusedTokens.push(a),De(a,n,e)):e._strict&&!n&&g(e).unusedTokens.push(a);
932
932
  // add remaining unparsed input length to the string
933
933
  g(e).charsLeftOver=u-h,c.length>0&&g(e).unusedInput.push(c),
934
934
  // clear _12h flag if hour is <= 12
@@ -936,7 +936,7 @@ e._a[He]<=12&&!0===g(e).bigHour&&e._a[He]>0&&(g(e).bigHour=void 0),g(e).parsedDa
936
936
  // handle meridiem
937
937
  e._a[He]=Un(e._locale,e._a[He],e._meridiem),null!==(
938
938
  // handle era
939
- s=g(e).era)&&(e._a[Re]=e._locale.erasConvertYear(s,e._a[Re])),Nn(e),wn(e)}else In(e);else $n(e)}function Un(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?(
939
+ s=g(e).era)&&(e._a[Re]=e._locale.erasConvertYear(s,e._a[Re])),Nn(e),wn(e)}else Dn(e);else $n(e)}function Un(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?(
940
940
  // Fallback
941
941
  (r=e.isPM(n))&&t<12&&(t+=12),r||12!==t||(t=0),t):t}
942
942
  // date from string and array of format strings
@@ -977,7 +977,7 @@ this._months=+i+3*r+12*n,this._data={},this._locale=vn(),this._bubble()}function
977
977
  // compare two arrays, return the number of differences
978
978
  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&&Pe(e[r])!==Pe(t[r]))&&o++;return o+a}
979
979
  // FORMATTING
980
- function hr(e,t){H(e,0,0,(function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+I(~~(e/60),2)+t+I(~~e%60,2)}))}hr("Z",":"),hr("ZZ",""),
980
+ function hr(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)}))}hr("Z",":"),hr("ZZ",""),
981
981
  // PARSING
982
982
  Te("Z",_e),Te("ZZ",_e),Oe(["Z","ZZ"],(function(e,t,n){n._useUTC=!0,n._tzm=fr(_e,e)}));
983
983
  // HELPERS
@@ -1005,7 +1005,7 @@ return-Math.round(e._d.getTimezoneOffset())}
1005
1005
  // a second time. In case it wants us to change the offset again
1006
1006
  // _changeInProgress == true case, then we have to adjust, because
1007
1007
  // there is no such time in the given timezone.
1008
- function gr(e,t,n){var i,a=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"==typeof e){if(null===(e=fr(_e,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(i=mr(this)),this._offset=e,this._isUTC=!0,null!=i&&this.add(i,"m"),a!==e&&(!t||this._changeInProgress?Dr(this,$r(e-a,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,r.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?a:mr(this)}function yr(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function vr(e){return this.utcOffset(0,e)}function br(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(mr(this),"m")),this}function wr(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=fr(we,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this}function _r(e){return!!this.isValid()&&(e=e?Zn(e).utcOffset():0,(this.utcOffset()-e)%60==0)}function xr(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Sr(){if(!c(this._isDSTShifted))return this._isDSTShifted;var e,t={};return _(t,this),(t=zn(t))._a?(e=t._isUTC?p(t._a):Zn(t._a),this._isDSTShifted=this.isValid()&&ur(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function Cr(){return!!this.isValid()&&!this._isUTC}function Er(){return!!this.isValid()&&this._isUTC}function Tr(){return!!this.isValid()&&this._isUTC&&0===this._offset}
1008
+ function gr(e,t,n){var i,a=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"==typeof e){if(null===(e=fr(_e,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(i=mr(this)),this._offset=e,this._isUTC=!0,null!=i&&this.add(i,"m"),a!==e&&(!t||this._changeInProgress?Ir(this,$r(e-a,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,r.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?a:mr(this)}function yr(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function vr(e){return this.utcOffset(0,e)}function br(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(mr(this),"m")),this}function wr(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=fr(we,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this}function _r(e){return!!this.isValid()&&(e=e?Zn(e).utcOffset():0,(this.utcOffset()-e)%60==0)}function xr(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Sr(){if(!c(this._isDSTShifted))return this._isDSTShifted;var e,t={};return _(t,this),(t=zn(t))._a?(e=t._isUTC?p(t._a):Zn(t._a),this._isDSTShifted=this.isValid()&&ur(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function Cr(){return!!this.isValid()&&!this._isUTC}function Er(){return!!this.isValid()&&this._isUTC}function Tr(){return!!this.isValid()&&this._isUTC&&0===this._offset}
1009
1009
  // ASP.NET json date format regex
1010
1010
  r.updateOffset=function(){};var kr=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,
1011
1011
  // from http://docs.closure-library.googlecode.com/git/closure_goog_date_date.js.source.html
@@ -1025,7 +1025,7 @@ return(isNaN(n)?0:n)*t}function Pr(e,t){var n={};return n.months=t.month()-e.mon
1025
1025
  // TODO: remove 'name' arg after deprecation is removed
1026
1026
  function Or(e,t){return function(n,r){var i;
1027
1027
  //invert the arguments, but complain about it
1028
- return null===r||isNaN(+r)||(L(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),i=n,n=r,r=i),Dr(this,$r(n,r),e),this}}function Dr(e,t,n,i){var a=t._milliseconds,o=cr(t._days),s=cr(t._months);e.isValid()&&(i=null==i||i,s&&dt(e,qe(e,"Month")+s*n),o&&Je(e,"Date",qe(e,"Date")+o*n),a&&e._d.setTime(e._d.valueOf()+a*n),i&&r.updateOffset(e,o||s))}$r.fn=sr.prototype,$r.invalid=or;var Ir=Or(1,"add"),Fr=Or(-1,"subtract");function Rr(e){return"string"==typeof e||e instanceof String}
1028
+ return null===r||isNaN(+r)||(L(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),i=n,n=r,r=i),Ir(this,$r(n,r),e),this}}function Ir(e,t,n,i){var a=t._milliseconds,o=cr(t._days),s=cr(t._months);e.isValid()&&(i=null==i||i,s&&dt(e,qe(e,"Month")+s*n),o&&Je(e,"Date",qe(e,"Date")+o*n),a&&e._d.setTime(e._d.valueOf()+a*n),i&&r.updateOffset(e,o||s))}$r.fn=sr.prototype,$r.invalid=or;var Dr=Or(1,"add"),Fr=Or(-1,"subtract");function Rr(e){return"string"==typeof e||e instanceof String}
1029
1029
  // type MomentInput = Moment | Date | string | number | (number | string)[] | MomentInputObject | void; // null | undefined
1030
1030
  function Ar(e){return S(e)||h(e)||Rr(e)||u(e)||Hr(e)||Nr(e)||null==e}function Nr(e){var t,n,r=o(e)&&!l(e),i=!1,a=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],c=a.length;for(t=0;t<c;t+=1)n=a[t],i=i||s(e,n);return r&&i}function Hr(e){var t=a(e),n=!1;return t&&(n=0===e.filter((function(t){return!u(t)&&Rr(e)})).length),t&&n}function Br(e){var t,n,r=o(e)&&!l(e),i=!1,a=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(t=0;t<a.length;t+=1)n=a[t],i=i||s(e,n);return r&&i}function Ur(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function Yr(e,t){
1031
1031
  // Support for single parameter, formats only overload to the calendar function
@@ -1074,9 +1074,9 @@ a=r(o[n].until).startOf("day").valueOf(),o[n].until=a.valueOf()}return o}functio
1074
1074
  // truncate time
1075
1075
  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 Oi(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){if(
1076
1076
  // truncate time
1077
- n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e].narrow;if(r[e].until<=n&&n<=r[e].since)return r[e].narrow}return""}function Di(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){if(
1077
+ n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e].narrow;if(r[e].until<=n&&n<=r[e].since)return r[e].narrow}return""}function Ii(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){if(
1078
1078
  // truncate time
1079
- n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e].abbr;if(r[e].until<=n&&n<=r[e].since)return r[e].abbr}return""}function Ii(){var e,t,n,i,a=this.localeData().eras();for(e=0,t=a.length;e<t;++e)if(n=a[e].since<=a[e].until?1:-1,
1079
+ n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e].abbr;if(r[e].until<=n&&n<=r[e].since)return r[e].abbr}return""}function Di(){var e,t,n,i,a=this.localeData().eras();for(e=0,t=a.length;e<t;++e)if(n=a[e].since<=a[e].until?1:-1,
1080
1080
  // truncate time
1081
1081
  i=this.clone().startOf("day").valueOf(),a[e].since<=i&&i<=a[e].until||a[e].until<=i&&i<=a[e].since)return(this.year()-r(a[e].since).year())*n+a[e].offset;return this.year()}function Fi(e){return s(this,"_erasNameRegex")||Yi.call(this),e?this._erasNameRegex:this._erasRegex}function Ri(e){return s(this,"_erasAbbrRegex")||Yi.call(this),e?this._erasAbbrRegex:this._erasRegex}function Ai(e){return s(this,"_erasNarrowRegex")||Yi.call(this),e?this._erasNarrowRegex:this._erasRegex}function Ni(e,t){return t.erasAbbrRegex(e)}function Hi(e,t){return t.erasNameRegex(e)}function Bi(e,t){return t.erasNarrowRegex(e)}function Ui(e,t){return t._eraYearOrdinalRegex||ve}function Yi(){var e,t,n,r,i,a=[],o=[],s=[],l=[],c=this.eras();for(e=0,t=c.length;e<t;++e)n=$e(c[e].name),r=$e(c[e].abbr),i=$e(c[e].narrow),o.push(n),a.push(r),s.push(i),l.push(n),l.push(r),l.push(i);this._erasRegex=new RegExp("^("+l.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+o.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+a.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+s.join("|")+")","i")}
1082
1082
  // FORMATTING
@@ -1090,7 +1090,7 @@ function Qi(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+t
1090
1090
  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"),Te("N",Ni),Te("NN",Ni),Te("NNN",Ni),Te("NNNN",Hi),Te("NNNNN",Bi),Oe(["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})),Te("y",ve),Te("yy",ve),Te("yyy",ve),Te("yyyy",ve),Te("yo",Ui),Oe(["y","yy","yyy","yyyy"],Re),Oe(["yo"],(function(e,t,n,r){var i;n._locale._eraYearOrdinalRegex&&(i=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[Re]=n._locale.eraYearOrdinalParse(e,i):t[Re]=parseInt(e,10)})),H(0,["gg",2],0,(function(){return this.weekYear()%100})),H(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),ji("gggg","weekYear"),ji("ggggg","weekYear"),ji("GGGG","isoWeekYear"),ji("GGGGG","isoWeekYear"),
1091
1091
  // ALIASES
1092
1092
  // PARSING
1093
- Te("G",be),Te("g",be),Te("GG",de,le),Te("gg",de,le),Te("GGGG",ge,ue),Te("gggg",ge,ue),Te("GGGGG",ye,he),Te("ggggg",ye,he),De(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,n,r){t[r.substr(0,2)]=Pe(e)})),De(["gg","GG"],(function(e,t,n,i){t[i]=r.parseTwoDigitYear(e)})),H("Q",0,"Qo","quarter"),
1093
+ Te("G",be),Te("g",be),Te("GG",de,le),Te("gg",de,le),Te("GGGG",ge,ue),Te("gggg",ge,ue),Te("GGGGG",ye,he),Te("ggggg",ye,he),Ie(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,n,r){t[r.substr(0,2)]=Pe(e)})),Ie(["gg","GG"],(function(e,t,n,i){t[i]=r.parseTwoDigitYear(e)})),H("Q",0,"Qo","quarter"),
1094
1094
  // PARSING
1095
1095
  Te("Q",se),Oe("Q",(function(e,t){t[Ae]=3*(Pe(e)-1)})),H("D",["DD",2],"Do","date"),
1096
1096
  // PARSING
@@ -1124,7 +1124,7 @@ Te("S",me,se),Te("SS",me,le),Te("SSS",me,ce),ra="SSSS";ra.length<=9;ra+="S")Te(r
1124
1124
  // MOMENTS
1125
1125
  function sa(){return this._isUTC?"UTC":""}function la(){return this._isUTC?"Coordinated Universal Time":""}ia=Xe("Milliseconds",!1),
1126
1126
  // FORMATTING
1127
- H("z",0,0,"zoneAbbr"),H("zz",0,0,"zoneName");var ca=x.prototype;function ua(e){return Zn(1e3*e)}function ha(){return Zn.apply(null,arguments).parseZone()}function da(e){return e}ca.add=Ir,ca.calendar=Yr,ca.clone=jr,ca.diff=qr,ca.endOf=vi,ca.format=ni,ca.from=ri,ca.fromNow=ii,ca.to=ai,ca.toNow=oi,ca.get=Qe,ca.invalidAt=ki,ca.isAfter=Wr,ca.isBefore=zr,ca.isBetween=Vr,ca.isSame=Kr,ca.isSameOrAfter=Zr,ca.isSameOrBefore=Xr,ca.isValid=Ei,ca.lang=li,ca.locale=si,ca.localeData=ci,ca.max=qn,ca.min=Xn,ca.parsingFlags=Ti,ca.set=et,ca.startOf=yi,ca.subtract=Fr,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=Ci,ca.toString=Qr,ca.unix=wi,ca.valueOf=bi,ca.creationData=Li,ca.eraName=Mi,ca.eraNarrow=Oi,ca.eraAbbr=Di,ca.eraYear=Ii,ca.year=Ke,ca.isLeapYear=Ze,ca.weekYear=Wi,ca.isoWeekYear=zi,ca.quarter=ca.quarters=Qi,ca.month=ft,ca.daysInMonth=pt,ca.week=ca.weeks=Lt,ca.isoWeek=ca.isoWeeks=$t,ca.weeksInYear=Zi,ca.weeksInWeekYear=Xi,ca.isoWeeksInYear=Vi,ca.isoWeeksInISOWeekYear=Ki,ca.date=ea,ca.day=ca.days=jt,ca.weekday=Wt,ca.isoWeekday=zt,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=Cr,ca.isUtcOffset=Er,ca.isUtc=Tr,ca.isUTC=Tr,ca.zoneAbbr=sa,ca.zoneName=la,ca.dates=E("dates accessor is deprecated. Use date instead.",ea),ca.months=E("months accessor is deprecated. Use month instead",ft),ca.years=E("years accessor is deprecated. Use year instead",Ke),ca.zone=E("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",yr),ca.isDSTShifted=E("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Sr);var fa=M.prototype;function pa(e,t,n,r){var i=vn(),a=p().set(r,t);return i[n](a,e)}function ma(e,t,n){if(u(e)&&(t=e,e=void 0),e=e||"",null!=t)return pa(e,t,n,"month");var r,i=[];for(r=0;r<12;r++)i[r]=pa(e,r,n,"month");return i}
1127
+ H("z",0,0,"zoneAbbr"),H("zz",0,0,"zoneName");var ca=x.prototype;function ua(e){return Zn(1e3*e)}function ha(){return Zn.apply(null,arguments).parseZone()}function da(e){return e}ca.add=Dr,ca.calendar=Yr,ca.clone=jr,ca.diff=qr,ca.endOf=vi,ca.format=ni,ca.from=ri,ca.fromNow=ii,ca.to=ai,ca.toNow=oi,ca.get=Qe,ca.invalidAt=ki,ca.isAfter=Wr,ca.isBefore=zr,ca.isBetween=Vr,ca.isSame=Kr,ca.isSameOrAfter=Zr,ca.isSameOrBefore=Xr,ca.isValid=Ei,ca.lang=li,ca.locale=si,ca.localeData=ci,ca.max=qn,ca.min=Xn,ca.parsingFlags=Ti,ca.set=et,ca.startOf=yi,ca.subtract=Fr,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=Ci,ca.toString=Qr,ca.unix=wi,ca.valueOf=bi,ca.creationData=Li,ca.eraName=Mi,ca.eraNarrow=Oi,ca.eraAbbr=Ii,ca.eraYear=Di,ca.year=Ke,ca.isLeapYear=Ze,ca.weekYear=Wi,ca.isoWeekYear=zi,ca.quarter=ca.quarters=Qi,ca.month=ft,ca.daysInMonth=pt,ca.week=ca.weeks=Lt,ca.isoWeek=ca.isoWeeks=$t,ca.weeksInYear=Zi,ca.weeksInWeekYear=Xi,ca.isoWeeksInYear=Vi,ca.isoWeeksInISOWeekYear=Ki,ca.date=ea,ca.day=ca.days=jt,ca.weekday=Wt,ca.isoWeekday=zt,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=Cr,ca.isUtcOffset=Er,ca.isUtc=Tr,ca.isUTC=Tr,ca.zoneAbbr=sa,ca.zoneName=la,ca.dates=E("dates accessor is deprecated. Use date instead.",ea),ca.months=E("months accessor is deprecated. Use month instead",ft),ca.years=E("years accessor is deprecated. Use year instead",Ke),ca.zone=E("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",yr),ca.isDSTShifted=E("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Sr);var fa=M.prototype;function pa(e,t,n,r){var i=vn(),a=p().set(r,t);return i[n](a,e)}function ma(e,t,n){if(u(e)&&(t=e,e=void 0),e=e||"",null!=t)return pa(e,t,n,"month");var r,i=[];for(r=0;r<12;r++)i[r]=pa(e,r,n,"month");return i}
1128
1128
  // ()
1129
1129
  // (5)
1130
1130
  // (fmt, 5)
@@ -1133,7 +1133,7 @@ H("z",0,0,"zoneAbbr"),H("zz",0,0,"zoneName");var ca=x.prototype;function ua(e){r
1133
1133
  // (true, 5)
1134
1134
  // (true, fmt, 5)
1135
1135
  // (true, fmt)
1136
- 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 pa(t,(n+o)%7,r,"day");for(i=0;i<7;i++)s[i]=pa(t,(i+o)%7,r,"day");return s}function ya(e,t){return ma(e,t,"months")}function va(e,t){return ma(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")}fa.calendar=D,fa.longDateFormat=z,fa.invalidDate=K,fa.ordinal=q,fa.preparse=da,fa.postformat=da,fa.relativeTime=Q,fa.pastFuture=ee,fa.set=G,fa.eras=$i,fa.erasParse=Gi,fa.erasConvertYear=Pi,fa.erasAbbrRegex=Ri,fa.erasNameRegex=Fi,fa.erasNarrowRegex=Ai,fa.months=lt,fa.monthsShort=ct,fa.monthsParse=ht,fa.monthsRegex=gt,fa.monthsShortRegex=mt,fa.week=Ct,fa.firstDayOfYear=kt,fa.firstDayOfWeek=Tt,fa.weekdays=Nt,fa.weekdaysMin=Bt,fa.weekdaysShort=Ht,fa.weekdaysParse=Yt,fa.weekdaysRegex=Vt,fa.weekdaysShortRegex=Kt,fa.weekdaysMinRegex=Zt,fa.isPM=tn,fa.meridiem=an,mn("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===Pe(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),
1136
+ 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 pa(t,(n+o)%7,r,"day");for(i=0;i<7;i++)s[i]=pa(t,(i+o)%7,r,"day");return s}function ya(e,t){return ma(e,t,"months")}function va(e,t){return ma(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")}fa.calendar=I,fa.longDateFormat=z,fa.invalidDate=K,fa.ordinal=q,fa.preparse=da,fa.postformat=da,fa.relativeTime=Q,fa.pastFuture=ee,fa.set=G,fa.eras=$i,fa.erasParse=Gi,fa.erasConvertYear=Pi,fa.erasAbbrRegex=Ri,fa.erasNameRegex=Fi,fa.erasNarrowRegex=Ai,fa.months=lt,fa.monthsShort=ct,fa.monthsParse=ht,fa.monthsRegex=gt,fa.monthsShortRegex=mt,fa.week=Ct,fa.firstDayOfYear=kt,fa.firstDayOfWeek=Tt,fa.weekdays=Nt,fa.weekdaysMin=Bt,fa.weekdaysShort=Ht,fa.weekdaysParse=Yt,fa.weekdaysRegex=Vt,fa.weekdaysShortRegex=Kt,fa.weekdaysMinRegex=Zt,fa.isPM=tn,fa.meridiem=an,mn("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===Pe(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),
1137
1137
  // Side effect imports
1138
1138
  r.lang=E("moment.lang is deprecated. Use moment.locale instead.",mn),r.langData=E("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 Ca(e,t,n,r){var i=$r(t,n);return e._milliseconds+=r*i._milliseconds,e._days+=r*i._days,e._months+=r*i._months,e._bubble()}
1139
1139
  // supports only 2.0-style add(1, 's') or add(duration)
@@ -1158,7 +1158,7 @@ return 146097*e/4800}function Pa(e){if(!this.isValid())return NaN;var t,n,r=this
1158
1158
  // handle milliseconds separately because of floating point math errors (issue #1867)
1159
1159
  t=this._days+Math.round(Ga(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;
1160
1160
  // Math.floor prevents floating point math errors here
1161
- case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}}function Ma(e){return function(){return this.as(e)}}var Oa=Ma("ms"),Da=Ma("s"),Ia=Ma("m"),Fa=Ma("h"),Ra=Ma("d"),Aa=Ma("w"),Na=Ma("M"),Ha=Ma("Q"),Ba=Ma("y"),Ua=Oa;function Ya(){return $r(this)}function ja(e){return e=ne(e),this.isValid()?this[e+"s"]():NaN}function Wa(e){return function(){return this.isValid()?this._data[e]:NaN}}var za=Wa("milliseconds"),Va=Wa("seconds"),Ka=Wa("minutes"),Za=Wa("hours"),Xa=Wa("days"),qa=Wa("months"),Ja=Wa("years");function Qa(){return Ge(this.days()/7)}var eo=Math.round,to={ss:44,// a few seconds to seconds
1161
+ case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}}function Ma(e){return function(){return this.as(e)}}var Oa=Ma("ms"),Ia=Ma("s"),Da=Ma("m"),Fa=Ma("h"),Ra=Ma("d"),Aa=Ma("w"),Na=Ma("M"),Ha=Ma("Q"),Ba=Ma("y"),Ua=Oa;function Ya(){return $r(this)}function ja(e){return e=ne(e),this.isValid()?this[e+"s"]():NaN}function Wa(e){return function(){return this.isValid()?this._data[e]:NaN}}var za=Wa("milliseconds"),Va=Wa("seconds"),Ka=Wa("minutes"),Za=Wa("hours"),Xa=Wa("days"),qa=Wa("months"),Ja=Wa("years");function Qa(){return Ge(this.days()/7)}var eo=Math.round,to={ss:44,// a few seconds to seconds
1162
1162
  s:45,// seconds to minute
1163
1163
  m:45,// minutes to hour
1164
1164
  h:22,// hours to day
@@ -1184,7 +1184,7 @@ e=Ge(l/60),t=Ge(e/60),l%=60,e%=60,
1184
1184
  // 12 months -> 1 year
1185
1185
  n=Ge(u/12),u%=12,
1186
1186
  // inspired by https://github.com/dordille/moment-isoduration/blob/master/moment.isoduration.js
1187
- r=l?l.toFixed(3).replace(/\.?0+$/,""):"",i=h<0?"-":"",a=lo(this._months)!==lo(h)?"-":"",o=lo(this._days)!==lo(h)?"-":"",s=lo(this._milliseconds)!==lo(h)?"-":"",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=Ea,uo.subtract=Ta,uo.as=Pa,uo.asMilliseconds=Oa,uo.asSeconds=Da,uo.asMinutes=Ia,uo.asHours=Fa,uo.asDays=Ra,uo.asWeeks=Aa,uo.asMonths=Na,uo.asQuarters=Ha,uo.asYears=Ba,uo.valueOf=Ua,uo._bubble=La,uo.clone=Ya,uo.get=ja,uo.milliseconds=za,uo.seconds=Va,uo.minutes=Ka,uo.hours=Za,uo.days=Xa,uo.weeks=Qa,uo.months=qa,uo.years=Ja,uo.humanize=oo,uo.toISOString=co,uo.toString=co,uo.toJSON=co,uo.locale=si,uo.localeData=ci,uo.toIsoString=E("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",co),uo.lang=li,
1187
+ r=l?l.toFixed(3).replace(/\.?0+$/,""):"",i=h<0?"-":"",a=lo(this._months)!==lo(h)?"-":"",o=lo(this._days)!==lo(h)?"-":"",s=lo(this._milliseconds)!==lo(h)?"-":"",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=Ea,uo.subtract=Ta,uo.as=Pa,uo.asMilliseconds=Oa,uo.asSeconds=Ia,uo.asMinutes=Da,uo.asHours=Fa,uo.asDays=Ra,uo.asWeeks=Aa,uo.asMonths=Na,uo.asQuarters=Ha,uo.asYears=Ba,uo.valueOf=Ua,uo._bubble=La,uo.clone=Ya,uo.get=ja,uo.milliseconds=za,uo.seconds=Va,uo.minutes=Ka,uo.hours=Za,uo.days=Xa,uo.weeks=Qa,uo.months=qa,uo.years=Ja,uo.humanize=oo,uo.toISOString=co,uo.toString=co,uo.toJSON=co,uo.locale=si,uo.localeData=ci,uo.toIsoString=E("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",co),uo.lang=li,
1188
1188
  // FORMATTING
1189
1189
  H("X",0,0,"unix"),H("x",0,0,"valueOf"),
1190
1190
  // PARSING
@@ -1212,14 +1212,14 @@ function zr(e){let t,n,r=/*$_*/e[35]("new")+"";return{c(){t=m("span"),n=y(r),_(t
1212
1212
  function Vr(e){let t,n;return{c(){t=m("span"),n=y(/*gametag*/e[8]),_(t,"class","GameExtraInfoLabel PopularGameTag")},m(e,r){d(e,t,r),h(t,n)},p(e,t){/*gametag*/256&t[0]&&S(n,/*gametag*/e[8])},d(e){e&&f(t)}}}
1213
1213
  // (557:8) {#if livegamedata}
1214
1214
  function Kr(e){let t,n,r=!/*isopen*/e[22]&&/*starttime*/e[20]&&/*timeformat*/e[21]&&Zr(e);function i(e,t){/*isopen*/
1215
- return e[22]&&/*displaytype*/e[19]&&/*displaytype*/e[19]===ui?qr:/*isopen*/e[22]&&/*displaytype*/e[19]&&/*displaytype*/e[19]===hi?Xr:void 0}let a=i(e),o=a&&a(e);return{c(){r&&r.c(),t=v(),o&&o.c(),n=b()},m(e,i){r&&r.m(e,i),d(e,t,i),o&&o.m(e,i),d(e,n,i)},p(e,s){!/*isopen*/e[22]&&/*starttime*/e[20]&&/*timeformat*/e[21]?r?r.p(e,s):(r=Zr(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)}}}
1215
+ return e[22]&&/*displaytype*/e[19]===ui?qr:/*isopen*/e[22]&&/*displaytype*/e[19]&&/*displaytype*/e[19]===hi?Xr:void 0}let a=i(e),o=a&&a(e);return{c(){r&&r.c(),t=v(),o&&o.c(),n=b()},m(e,i){r&&r.m(e,i),d(e,t,i),o&&o.m(e,i),d(e,n,i)},p(e,s){!/*isopen*/e[22]&&/*starttime*/e[20]&&/*timeformat*/e[21]?r?r.p(e,s):(r=Zr(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)}}}
1216
1216
  // (558:10) {#if !isopen && starttime && timeformat}
1217
1217
  function Zr(e){let t,n,r,i,a,o,s,l,c,u,p=/*$_*/e[35]("opens")+"",g=Nr.utc(/*starttime*/e[20]).local().format(/*timeformat*/e[21])+"",b=/*renderDealerName*/e[41](/*dealername*/e[34])+"",w=/*renderBetLimits*/e[40](/*min*/e[26],/*max*/e[27],/*currencySymbol*/e[25])+"";return{c(){t=m("div"),n=m("div"),r=y(p),i=v(),a=m("span"),o=y(g),s=v(),l=new T(!1),c=v(),u=new T(!1),_(n,"class","ClosedGame"),l.a=c,u.a=null,_(t,"class","GameProp LiveProps")},m(e,f){d(e,t,f),h(t,n),h(n,r),h(n,i),h(n,a),h(a,o),h(t,s),l.m(b,t),h(t,c),u.m(w,t)},p(e,t){/*$_*/16&t[1]&&p!==(p=/*$_*/e[35]("opens")+"")&&S(r,p),/*starttime, timeformat*/3145728&t[0]&&g!==(g=Nr.utc(/*starttime*/e[20]).local().format(/*timeformat*/e[21])+"")&&S(o,g),/*dealername*/8&t[1]&&b!==(b=/*renderDealerName*/e[41](/*dealername*/e[34])+"")&&l.p(b),/*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)}}}
1218
1218
  // (591:70)
1219
1219
  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(fi),u=[];for(let t=0;t<c.length;t+=1)u[t]=ti(Yr(e,c,t));return{c(){t=m("div"),n=m("div");for(let e=0;e<u.length;e+=1)u[e].c();r=v(),i=new T(!1),a=v(),o=new T(!1),_(n,"class","LiveIcons"),i.a=a,o.a=null,_(t,"class",/*roulettecontainerclassname*/e[30])},m(c,f){d(c,t,f),h(t,n);for(let e=0;e<u.length;e+=1)u[e]&&u[e].m(n,null);
1220
1220
  /*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(fi),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]&&_(t,"class",/*roulettecontainerclassname*/e[30])},d(n){n&&f(t),p(u,n),
1221
1221
  /*div0_binding*/e[64](null)}}}
1222
- // (570:10) {#if isopen && displaytype && displaytype === BLACKJACK}
1222
+ // (570:10) {#if isopen && displaytype === BLACKJACK}
1223
1223
  function qr(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*/
1224
1224
  return e[32]?ri:ni}let u=c(e),p=u(e);return{c(){t=m("div"),n=m("div"),p.c(),r=v(),i=new T(!1),a=v(),o=new T(!1),_(n,"class","LiveIcons"),i.a=a,o.a=null,_(t,"class","GameProp LiveProps BlackjackDisplay"),_(t,"part","GameProp LiveProps BlackjackDisplay")},m(e,c){d(e,t,c),h(t,n),p.m(n,null),h(t,r),i.m(s,t),h(t,a),o.m(l,t)},p(e,t){u===(u=c(e))&&p?p.p(e,t):(p.d(1),p=u(e),p&&(p.c(),p.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),p.d()}}}
1225
1225
  // (595:18) {#if roulleteresults && roulleteresults[i]}
@@ -1244,18 +1244,18 @@ function oi(t){let n,r,i;return{c(){n=m("div"),n.innerHTML='<svg version="1.1" c
1244
1244
  // (613:6) {#if !isMobile(userAgent) && gamefavorite && isLoggedIn && favorites}
1245
1245
  function si(t){let n,r,i;return{c(){n=m("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>',_(n,"class","FavIconContainer")},m(e,a){d(e,n,a),r||(i=w(n,"click",/*click_handler_1*/t[65]),r=!0)},p:e,d(e){e&&f(n),r=!1,i()}}}
1246
1246
  // (641:2) {#if showgamename === 'true'}
1247
- function li(e){let t,n;return{c(){t=m("p"),n=y(/*gamename*/e[4]),_(t,"class","GameNameBelow"),_(t,"title",/*gamename*/e[4])},m(e,r){d(e,t,r),h(t,n)},p(e,r){/*gamename*/16&r[0]&&S(n,/*gamename*/e[4]),/*gamename*/16&r[0]&&_(t,"title",/*gamename*/e[4])},d(e){e&&f(t)}}}function ci(t){let n,r,i,a,o,s,c,u,p,g,b,w,x,C,T,k,L,$,G,P,M,O,D,I,F,R,A=/*gamevendor*/(t[5]?/*gamevendor*/t[5]:"-")+"",N=/*lang*/t[1]&&Wr(t),H=/*gameisnew*/t[7]&&zr(t),B=/*gametag*/t[8]&&Vr(t),U=/*livegamedata*/t[13]&&Kr(t);function Y(e,t){/*gamefavorite, isLoggedIn, favorites*/
1248
- return 65541&t[0]&&(M=null),/*gamefavorite, isLoggedIn*/65537&t[0]&&(O=null),/*gamefavorite, isLoggedIn, favorites*/65541&t[0]&&(D=null),null==M&&(M=!(Rr(/*userAgent*/e[36])||/*gamefavorite*/!e[0]||/*isLoggedIn*/!e[16]||/*favorites*/!e[2])),M?si:(null==O&&(O=!(Rr(/*userAgent*/e[36])||/*gamefavorite*/e[0]||/*isLoggedIn*/!e[16])),O?oi:(null==D&&(D=!!(Rr(/*userAgent*/e[36])&&/*gamefavorite*/e[0]&&/*isLoggedIn*/e[16]&&/*favorites*/e[2])),D?ai:void 0))}let j=Y(t,[-1,-1,-1,-1]),W=j&&j(t),z=/*showgamename*/"true"===t[10]&&li(t);return{c(){n=m("div"),r=m("div"),i=m("img"),s=v(),c=m("div"),u=m("div"),p=m("p"),g=y(/*gamename*/t[4]),b=v(),N&&N.c(),w=v(),x=m("span"),C=y(A),T=v(),k=m("div"),L=m("div"),H&&H.c(),$=v(),B&&B.c(),G=v(),U&&U.c(),P=v(),W&&W.c(),F=v(),z&&z.c(),this.c=e,l(i.src,a=/*gamethumbnail*/t[3])||_(i,"src",a),_(i,"class",o=`GameBg GameBg-${/*gamecellsize*/t[9]} ${/*loaded*/t[17]?"Loaded":""}`),_(i,"alt",""),_(i,"loading","lazy"),_(p,"class","GameInfoName"),_(p,"title",/*gamename*/t[4]),_(u,"class","GameInfo"),_(x,"class","GameInfoVendor"),_(c,"class","GameInfoWrapper"),_(L,"class","GameExtraInfo"),_(k,"class","GameExtraInfoContainer"),_(r,"class",I="GameInnerContainer "+(/*livegamedata*/t[13]&&!/*isopen*/t[22]&&/*openhours*/t[23].value||/*livegamedata*/t[13]&&/*istablefull*/t[32]?"GameInnerContainerUnavailable":"")),_(n,"class",R=`GameContainer ${/*extraclassname*/t[33]} ${/*casinogamesgridslider*/"true"==t[11]?"CasinoGamesGridSlider":""}`),E(n,"WithGameName",/*showgamename*/t[10])},m(e,a){d(e,n,a),h(n,r),h(r,i),
1247
+ function li(e){let t,n;return{c(){t=m("p"),n=y(/*gamename*/e[4]),_(t,"class","GameNameBelow"),_(t,"title",/*gamename*/e[4])},m(e,r){d(e,t,r),h(t,n)},p(e,r){/*gamename*/16&r[0]&&S(n,/*gamename*/e[4]),/*gamename*/16&r[0]&&_(t,"title",/*gamename*/e[4])},d(e){e&&f(t)}}}function ci(t){let n,r,i,a,o,s,c,u,p,g,b,w,x,C,T,k,L,$,G,P,M,O,I,D,F,R,A=/*gamevendor*/(t[5]?/*gamevendor*/t[5]:"-")+"",N=/*lang*/t[1]&&Wr(t),H=/*gameisnew*/t[7]&&zr(t),B=/*gametag*/t[8]&&Vr(t),U=/*livegamedata*/t[13]&&Kr(t);function Y(e,t){/*gamefavorite, isLoggedIn, favorites*/
1248
+ return 65541&t[0]&&(M=null),/*gamefavorite, isLoggedIn*/65537&t[0]&&(O=null),/*gamefavorite, isLoggedIn, favorites*/65541&t[0]&&(I=null),null==M&&(M=!(Rr(/*userAgent*/e[36])||/*gamefavorite*/!e[0]||/*isLoggedIn*/!e[16]||/*favorites*/!e[2])),M?si:(null==O&&(O=!(Rr(/*userAgent*/e[36])||/*gamefavorite*/e[0]||/*isLoggedIn*/!e[16])),O?oi:(null==I&&(I=!!(Rr(/*userAgent*/e[36])&&/*gamefavorite*/e[0]&&/*isLoggedIn*/e[16]&&/*favorites*/e[2])),I?ai:void 0))}let j=Y(t,[-1,-1,-1,-1]),W=j&&j(t),z=/*showgamename*/"true"===t[10]&&li(t);return{c(){n=m("div"),r=m("div"),i=m("img"),s=v(),c=m("div"),u=m("div"),p=m("p"),g=y(/*gamename*/t[4]),b=v(),N&&N.c(),w=v(),x=m("span"),C=y(A),T=v(),k=m("div"),L=m("div"),H&&H.c(),$=v(),B&&B.c(),G=v(),U&&U.c(),P=v(),W&&W.c(),F=v(),z&&z.c(),this.c=e,l(i.src,a=/*gamethumbnail*/t[3])||_(i,"src",a),_(i,"class",o=`GameBg GameBg-${/*gamecellsize*/t[9]} ${/*loaded*/t[17]?"Loaded":""}`),_(i,"alt",""),_(i,"loading","lazy"),_(p,"class","GameInfoName"),_(p,"title",/*gamename*/t[4]),_(u,"class","GameInfo"),_(x,"class","GameInfoVendor"),_(c,"class","GameInfoWrapper"),_(L,"class","GameExtraInfo"),_(k,"class","GameExtraInfoContainer"),_(r,"class",D="GameInnerContainer "+(/*livegamedata*/t[13]&&!/*isopen*/t[22]&&/*openhours*/t[23].value||/*livegamedata*/t[13]&&/*istablefull*/t[32]?"GameInnerContainerUnavailable":"")),_(n,"class",R=`GameContainer ${/*extraclassname*/t[33]} ${/*casinogamesgridslider*/"true"==t[11]?"CasinoGamesGridSlider":""}`),E(n,"WithGameName",/*showgamename*/t[10])},m(e,a){d(e,n,a),h(n,r),h(r,i),
1249
1249
  /*img_binding*/t[62](i),h(r,s),h(r,c),h(c,u),h(u,p),h(p,g),h(u,b),N&&N.m(u,null),h(c,w),h(c,x),h(x,C),h(r,T),h(r,k),h(k,L),H&&H.m(L,null),h(L,$),B&&B.m(L,null),h(L,G),U&&U.m(L,null),h(k,P),W&&W.m(k,null),h(n,F),z&&z.m(n,null)
1250
- /*div5_binding*/,t[67](n)},p(e,t){/*gamethumbnail*/8&t[0]&&!l(i.src,a=/*gamethumbnail*/e[3])&&_(i,"src",a),/*gamecellsize, loaded*/131584&t[0]&&o!==(o=`GameBg GameBg-${/*gamecellsize*/e[9]} ${/*loaded*/e[17]?"Loaded":""}`)&&_(i,"class",o),/*gamename*/16&t[0]&&S(g,/*gamename*/e[4]),/*gamename*/16&t[0]&&_(p,"title",/*gamename*/e[4]),/*lang*/e[1]?N?N.p(e,t):(N=Wr(e),N.c(),N.m(u,null)):N&&(N.d(1),N=null),/*gamevendor*/32&t[0]&&A!==(A=/*gamevendor*/(e[5]?/*gamevendor*/e[5]:"-")+"")&&S(C,A),/*gameisnew*/e[7]?H?H.p(e,t):(H=zr(e),H.c(),H.m(L,$)):H&&(H.d(1),H=null),/*gametag*/e[8]?B?B.p(e,t):(B=Vr(e),B.c(),B.m(L,G)):B&&(B.d(1),B=null),/*livegamedata*/e[13]?U?U.p(e,t):(U=Kr(e),U.c(),U.m(L,null)):U&&(U.d(1),U=null),j===(j=Y(e,t))&&W?W.p(e,t):(W&&W.d(1),W=j&&j(e),W&&(W.c(),W.m(k,null))),/*livegamedata, isopen, openhours*/12591104&t[0]|/*istablefull*/2&t[1]&&I!==(I="GameInnerContainer "+(/*livegamedata*/e[13]&&!/*isopen*/e[22]&&/*openhours*/e[23].value||/*livegamedata*/e[13]&&/*istablefull*/e[32]?"GameInnerContainerUnavailable":""))&&_(r,"class",I),/*showgamename*/"true"===e[10]?z?z.p(e,t):(z=li(e),z.c(),z.m(n,null)):z&&(z.d(1),z=null),/*casinogamesgridslider*/2048&t[0]|/*extraclassname*/4&t[1]&&R!==(R=`GameContainer ${/*extraclassname*/e[33]} ${/*casinogamesgridslider*/"true"==e[11]?"CasinoGamesGridSlider":""}`)&&_(n,"class",R),/*casinogamesgridslider, showgamename*/3072&t[0]|/*extraclassname*/4&t[1]&&E(n,"WithGameName",/*showgamename*/e[10])},i:e,o:e,d(e){e&&f(n)
1250
+ /*div5_binding*/,t[67](n)},p(e,t){/*gamethumbnail*/8&t[0]&&!l(i.src,a=/*gamethumbnail*/e[3])&&_(i,"src",a),/*gamecellsize, loaded*/131584&t[0]&&o!==(o=`GameBg GameBg-${/*gamecellsize*/e[9]} ${/*loaded*/e[17]?"Loaded":""}`)&&_(i,"class",o),/*gamename*/16&t[0]&&S(g,/*gamename*/e[4]),/*gamename*/16&t[0]&&_(p,"title",/*gamename*/e[4]),/*lang*/e[1]?N?N.p(e,t):(N=Wr(e),N.c(),N.m(u,null)):N&&(N.d(1),N=null),/*gamevendor*/32&t[0]&&A!==(A=/*gamevendor*/(e[5]?/*gamevendor*/e[5]:"-")+"")&&S(C,A),/*gameisnew*/e[7]?H?H.p(e,t):(H=zr(e),H.c(),H.m(L,$)):H&&(H.d(1),H=null),/*gametag*/e[8]?B?B.p(e,t):(B=Vr(e),B.c(),B.m(L,G)):B&&(B.d(1),B=null),/*livegamedata*/e[13]?U?U.p(e,t):(U=Kr(e),U.c(),U.m(L,null)):U&&(U.d(1),U=null),j===(j=Y(e,t))&&W?W.p(e,t):(W&&W.d(1),W=j&&j(e),W&&(W.c(),W.m(k,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":""))&&_(r,"class",D),/*showgamename*/"true"===e[10]?z?z.p(e,t):(z=li(e),z.c(),z.m(n,null)):z&&(z.d(1),z=null),/*casinogamesgridslider*/2048&t[0]|/*extraclassname*/4&t[1]&&R!==(R=`GameContainer ${/*extraclassname*/e[33]} ${/*casinogamesgridslider*/"true"==e[11]?"CasinoGamesGridSlider":""}`)&&_(n,"class",R),/*casinogamesgridslider, showgamename*/3072&t[0]|/*extraclassname*/4&t[1]&&E(n,"WithGameName",/*showgamename*/e[10])},i:e,o:e,d(e){e&&f(n)
1251
1251
  /*img_binding*/,t[62](null),N&&N.d(),H&&H.d(),B&&B.d(),U&&U.d(),W&&W.d(),z&&z.d()
1252
- /*div5_binding*/,t[67](null)}}}const ui="blackjack",hi="roulette",di="doubleballroulette",fi=5;function pi(e,t,n){let r;u(e,kn,(e=>n(35,r=e)));let i,a,o,s,l,c,h,d,f,p,m,g,y,v,b,w,_,x,S,C,E,T,k,L,G,{session:M=""}=t,{userid:O=""}=t,{lang:D="en"}=t,{clientstyling:I=""}=t,{clientstylingurl:F=""}=t,{translationurl:A=""}=t,{favorites:N=""}=t,{gamethumbnail:H=""}=t,{gamename:B=""}=t,{gamevendor:U=""}=t,{gamelaunchurl:Y=""}=t,{gameid:j=""}=t,{gameisnew:W=""}=t,{gametag:z=""}=t,{gamefunmode:V=!1}=t,{gamefavorite:K=!1}=t,{gamecellsize:Z=""}=t,{showfavoredcategory:X=!1}=t,{showgamename:q=""}=t,{currency:J=""}=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,he="HH:mm",de={},fe=[],pe="EUR",me="";const ge=[ui],ye=[hi,di],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_${j}`||X||n(0,K=!0),e.data.type!==`RemoveFavoriteThumbnail_${j}`||X||n(0,K=!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),
1252
+ /*div5_binding*/,t[67](null)}}}const ui="blackjack",hi="roulette",di="doubleballroulette",fi=5;function pi(e,t,n){let r;u(e,kn,(e=>n(35,r=e)));let i,a,o,s,l,c,h,d,f,p,m,g,y,v,b,w,_,x,S,C,E,T,k,L,G,{session:M=""}=t,{userid:O=""}=t,{lang:I="en"}=t,{clientstyling:D=""}=t,{clientstylingurl:F=""}=t,{translationurl:A=""}=t,{favorites:N=""}=t,{gamethumbnail:H=""}=t,{gamename:B=""}=t,{gamevendor:U=""}=t,{gamelaunchurl:Y=""}=t,{gameid:j=""}=t,{gameisnew:W=""}=t,{gametag:z=""}=t,{gamefunmode:V=!1}=t,{gamefavorite:K=!1}=t,{gamecellsize:Z=""}=t,{showfavoredcategory:X=!1}=t,{showgamename:q=""}=t,{currency:J=""}=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,he="HH:mm",de={},fe=[],pe="EUR",me="";const ge=[ui],ye=[hi,di],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_${j}`||X||n(0,K=!0),e.data.type!==`RemoveFavoriteThumbnail_${j}`||X||n(0,K=!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),
1253
1253
  //Analytics event -- if game was searched
1254
1254
  "function"==typeof gtag&&gtag("event","OpenGame",{context:"GameThumbnail--Searched",gameId:`${e}`,userId:`${i||"Not logged in"}`}),
1255
1255
  // Case mobile
1256
1256
  Rr(ue)&&"true"==oe?window.postMessage({type:"OpenGameFrame",gameId:e,gamefunmode:V,gamepagemodalurl:Q,isMobile:Rr(ue),source:"GameThumbnail",identifier:"Lobby",subVendor:U,launchUrl:Y},window.location.href):Rr(ue)&&"false"==oe&&window.postMessage({type:"ShowGameModal",gameId:e,isMobile:Rr(ue)},window.location.href),
1257
1257
  // Case desktop
1258
- Rr(ue)||"true"!=ae?Rr(ue)||"false"!=ae||window.postMessage({type:"ShowGameModal",gameId:e,isMobile:Rr(ue)},window.location.href):window.postMessage({type:"OpenGameFrame",gameId:e,gamefunmode:V,gamepagemodalurl:Q,isMobile:Rr(ue),identifier:"Lobby",subVendor:U,launchUrl:Y},window.location.href)},xe=e=>{K?window.postMessage({type:`SetUnfavoredGame${te}`,id:e},window.location.href):window.postMessage({type:`SetFavoredGame${te}`,id:e},window.location.href)},Se=()=>{var e;e=D,sn.set(e)},Ce=()=>{ne&&EventSource&&!l&&U&&j&&(l=new EventSource(`${ee}/v1/encoder/lobby/updates/${U}/${j}`),l.addEventListener("message",Te))},Ee=()=>{l&&(l.close(),l=void 0)},Te=async e=>{const{type:t,data:r}=e;let i;if("message"===t){if(r)try{i=JSON.parse(r)}catch(e){
1258
+ Rr(ue)||"true"!=ae?Rr(ue)||"false"!=ae||window.postMessage({type:"ShowGameModal",gameId:e,isMobile:Rr(ue)},window.location.href):window.postMessage({type:"OpenGameFrame",gameId:e,gamefunmode:V,gamepagemodalurl:Q,isMobile:Rr(ue),identifier:"Lobby",subVendor:U,launchUrl:Y},window.location.href)},xe=e=>{K?window.postMessage({type:`SetUnfavoredGame${te}`,id:e},window.location.href):window.postMessage({type:`SetFavoredGame${te}`,id:e},window.location.href)},Se=()=>{var e;e=I,sn.set(e)},Ce=()=>{ne&&EventSource&&!l&&U&&j&&(l=new EventSource(`${ee}/v1/encoder/lobby/updates/${U}/${j}`),l.addEventListener("message",Te))},Ee=()=>{l&&(l.close(),l=void 0)},Te=async e=>{const{type:t,data:r}=e;let i;if("message"===t){if(r)try{i=JSON.parse(r)}catch(e){
1259
1259
  // eslint-disable-next-line no-console
1260
1260
  console.error("MESSAGE PARSING ERROR: ",e)}if(i){const{InternalTableId:e,MessageType:t,Results:// TakenSeats,
1261
1261
  r,Seats:// Roads, // for baccarat
@@ -1266,9 +1266,9 @@ a,Open:o}=i;if(e)switch(t){case"SeatsUpdated":a&&Array.isArray(a)&&(n(28,y=a),n(
1266
1266
  }// } else if (contains(otherLiveGamesCategory, gameTypeToLower)) {
1267
1267
  // GameComponent = 'poker';
1268
1268
  // }
1269
- return t})(s)),n(25,pe=Ur[J]),n(26,p=(de.min||{})[J]),n(27,m=(de.max||{})[J]),v=s.currentRouletteNumbers,b=s.currentDoubleBallRouletteNumbers,w=s.vendorCategory,n(29,_=w.toLowerCase()===di),n(14,x=(_?b:v)||[]),n(30,S="GameProp LiveProps RoulleteProps"),n(30,S+=_?" Double":""),n(31,C=Le(ye,w.toLowerCase())?be:ve),T=E,n(32,E=Array.isArray(y)&&y.length===g),s.dealer&&n(34,L=s.dealer.DealerName),G=s.numberOfPlayers,n(33,me="ListGame"),s.isOpen&&s.currentRouletteNumbers&&n(33,me+=" GameBackdrop"),d&&E&&p&&m&&s.currentOccupiedSeats?n(33,me+=" GameContainerDimmed"):!1===d&&h&&n(33,me+=" GameContainerFullyDimmed"),o&&(!T&&E?(n(33,me+=" PulsatingRedShadow"),n(33,me=me.replace(" PulsatingGreenShadow",""))):T&&!E&&(n(33,me+=" PulsatingGreenShadow"),n(33,me=me.replace(" PulsatingRedShadow",""))))}},Ge=()=>{let e=new URL(F),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,setTimeout((()=>{o.appendChild(t)}),1)}))};$((()=>(window.addEventListener("message",we,!1),()=>{window.removeEventListener("message",we),l&&l.removeEventListener("message",Te)})));return e.$$set=e=>{"session"in e&&n(43,M=e.session),"userid"in e&&n(44,O=e.userid),"lang"in e&&n(1,D=e.lang),"clientstyling"in e&&n(45,I=e.clientstyling),"clientstylingurl"in e&&n(46,F=e.clientstylingurl),"translationurl"in e&&n(47,A=e.translationurl),"favorites"in e&&n(2,N=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,j=e.gameid),"gameisnew"in e&&n(7,W=e.gameisnew),"gametag"in e&&n(8,z=e.gametag),"gamefunmode"in e&&n(49,V=e.gamefunmode),"gamefavorite"in e&&n(0,K=e.gamefavorite),"gamecellsize"in e&&n(9,Z=e.gamecellsize),"showfavoredcategory"in e&&n(50,X=e.showfavoredcategory),"showgamename"in e&&n(10,q=e.showgamename),"currency"in e&&n(51,J=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?Ee():"connect"===re&&Ce()),/*visibilityconnect*/67108864&e.$$.dirty[1]&&ie&&("disconnect"===ie?Ee():"connect"===ie&&"connect"===re&&Ce()),/*lang*/2&e.$$.dirty[0]&&D&&Se(),/*session, userid, endpoint*/4206592&e.$$.dirty[1]&&M&&O&&ee&&(n(16,le=!0),i=O),/*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]&&I&&o&&(()=>{let e=document.createElement("style");e.innerHTML=I,o.appendChild(e)})(),/*customStylingContainer*/4096&e.$$.dirty[0]|/*clientstylingurl*/32768&e.$$.dirty[1]&&F&&o&&Ge(),e.$$.dirty[0],/*translationurl*/65536&e.$$.dirty[1]&&A&&fetch(A).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]&&Z&&F&&Ge(),/*endpoint, livelobbyendpoint*/20971520&e.$$.dirty[1]&&ee&&ne&&(()=>{let e=new URL(`${ne.split("?")[0]}`);e.searchParams.append("platform",Ar(ue)),e.searchParams.append("language",D),
1269
+ return t})(s)),n(25,pe=Ur[J]),n(26,p=(de.min||{})[J]),n(27,m=(de.max||{})[J]),v=s.currentRouletteNumbers,b=s.currentDoubleBallRouletteNumbers,w=s.vendorCategory,n(29,_=w.toLowerCase()===di),n(14,x=(_?b:v)||[]),n(30,S="GameProp LiveProps RoulleteProps"),n(30,S+=_?" Double":""),n(31,C=Le(ye,w.toLowerCase())?be:ve),T=E,n(32,E=Array.isArray(y)&&y.length===g),s.dealer&&n(34,L=s.dealer.DealerName),G=s.numberOfPlayers,n(33,me="ListGame"),s.isOpen&&s.currentRouletteNumbers&&n(33,me+=" GameBackdrop"),d&&E&&p&&m&&s.currentOccupiedSeats?n(33,me+=" GameContainerDimmed"):!1===d&&h&&n(33,me+=" GameContainerFullyDimmed"),o&&(!T&&E?(n(33,me+=" PulsatingRedShadow"),n(33,me=me.replace(" PulsatingGreenShadow",""))):T&&!E&&(n(33,me+=" PulsatingGreenShadow"),n(33,me=me.replace(" PulsatingRedShadow",""))))}},Ge=()=>{let e=new URL(F),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,setTimeout((()=>{o.appendChild(t)}),1)}))};$((()=>(window.addEventListener("message",we,!1),()=>{window.removeEventListener("message",we),l&&l.removeEventListener("message",Te)})));return e.$$set=e=>{"session"in e&&n(43,M=e.session),"userid"in e&&n(44,O=e.userid),"lang"in e&&n(1,I=e.lang),"clientstyling"in e&&n(45,D=e.clientstyling),"clientstylingurl"in e&&n(46,F=e.clientstylingurl),"translationurl"in e&&n(47,A=e.translationurl),"favorites"in e&&n(2,N=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,j=e.gameid),"gameisnew"in e&&n(7,W=e.gameisnew),"gametag"in e&&n(8,z=e.gametag),"gamefunmode"in e&&n(49,V=e.gamefunmode),"gamefavorite"in e&&n(0,K=e.gamefavorite),"gamecellsize"in e&&n(9,Z=e.gamecellsize),"showfavoredcategory"in e&&n(50,X=e.showfavoredcategory),"showgamename"in e&&n(10,q=e.showgamename),"currency"in e&&n(51,J=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?Ee():"connect"===re&&Ce()),/*visibilityconnect*/67108864&e.$$.dirty[1]&&ie&&("disconnect"===ie?Ee():"connect"===ie&&"connect"===re&&Ce()),/*lang*/2&e.$$.dirty[0]&&I&&Se(),/*session, userid, endpoint*/4206592&e.$$.dirty[1]&&M&&O&&ee&&(n(16,le=!0),i=O),/*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]&&F&&o&&Ge(),e.$$.dirty[0],/*translationurl*/65536&e.$$.dirty[1]&&A&&fetch(A).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]&&Z&&F&&Ge(),/*endpoint, livelobbyendpoint*/20971520&e.$$.dirty[1]&&ee&&ne&&(()=>{let e=new URL(`${ne.split("?")[0]}`);e.searchParams.append("platform",Ar(ue)),e.searchParams.append("language",I),
1270
1270
  // let url:URL = new URL(`${endpoint}${livelobbyendpoint}`);
1271
- fetch(e).then((e=>e.json())).then((e=>{const{details:t}=e[0];n(13,s=t)}))})(),/*livegamedata*/8192&e.$$.dirty[0]&&s&&$e(),/*roulletteref, roulleteresults*/49152&e.$$.dirty[0]&&k&&x&&(()=>{const e="FirstElementAnimated",t=k.getElementsByClassName("First")[0];t&&(t.classList.add(e),setTimeout((()=>{t.classList.remove(e)}),2e3))})()},[K,D,N,H,B,U,j,W,z,Z,q,se,o,s,x,k,le,ce,a,c,h,he,d,f,fe,pe,p,m,y,_,S,C,E,me,L,r,ue,_e,xe,Le,(e,t,n)=>{let r,i;return null!=e&&null!=t&&(i=`\n <span>\n ${n}\n </span>\n ${ke(e)}-${ke(t)}`),G&&(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">${G}</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 `},M,O,I,F,A,Y,V,X,J,Q,ee,te,ne,re,ie,ae,oe,ve,be,function(e){P[e?"unshift":"push"]((()=>{a=e,n(18,a)}))},()=>_e(j),function(e){P[e?"unshift":"push"]((()=>{k=e,n(15,k)}))},()=>xe(j),()=>xe(j),function(e){P[e?"unshift":"push"]((()=>{o=e,n(12,o)}))}]}
1271
+ fetch(e).then((e=>e.json())).then((e=>{const{details:t}=e[0];n(13,s=t)}))})(),/*livegamedata*/8192&e.$$.dirty[0]&&s&&$e(),/*roulletteref, roulleteresults*/49152&e.$$.dirty[0]&&k&&x&&(()=>{const e="FirstElementAnimated",t=k.getElementsByClassName("First")[0];t&&(t.classList.add(e),setTimeout((()=>{t.classList.remove(e)}),2e3))})()},[K,I,N,H,B,U,j,W,z,Z,q,se,o,s,x,k,le,ce,a,c,h,he,d,f,fe,pe,p,m,y,_,S,C,E,me,L,r,ue,_e,xe,Le,(e,t,n)=>{let r,i;return null!=e&&null!=t&&(i=`\n <span>\n ${n}\n </span>\n ${ke(e)}-${ke(t)}`),G&&(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">${G}</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 `},M,O,D,F,A,Y,V,X,J,Q,ee,te,ne,re,ie,ae,oe,ve,be,function(e){P[e?"unshift":"push"]((()=>{a=e,n(18,a)}))},()=>_e(j),function(e){P[e?"unshift":"push"]((()=>{k=e,n(15,k)}))},()=>xe(j),()=>xe(j),function(e){P[e?"unshift":"push"]((()=>{o=e,n(12,o)}))}]}
1272
1272
  /* ../casino-search/src/CasinoSearch.svelte generated by Svelte v3.59.2 */
1273
1273
  function mi(e,t,n){const r=e.slice();return r[53]=t[n],r}
1274
1274
  // (312:10) {#if cancelbutton === 'true'}
@@ -1296,16 +1296,16 @@ function Ei(e){let t,n,r,i,a,o,s,l,c,u,h,p;return{c(){t=m("casino-game-thumbnail
1296
1296
  function Ti(e){let t,n,r,i,a,o,s,l,c=/*$_*/e[20]("notFound")+"",u=/*$_*/e[20]("notFoundText")+"",p=/*notfoundicon*/"true"===e[10]&&ki();return{c(){t=m("div"),p&&p.c(),n=v(),r=m("p"),i=y(c),a=v(),o=m("p"),s=y(u),_(r,"class","SearchMessage"),_(t,"class",l="ResultsContainerError "+(/*notfoundicon*/"true"==e[10]?"WithIcon":""))},m(e,l){d(e,t,l),p&&p.m(t,null),h(t,n),h(t,r),h(r,i),h(t,a),h(t,o),h(o,s)},p(e,r){/*notfoundicon*/"true"===e[10]?p||(p=ki(),p.c(),p.m(t,n)):p&&(p.d(1),p=null),/*$_*/1048576&r[0]&&c!==(c=/*$_*/e[20]("notFound")+"")&&S(i,c),/*$_*/1048576&r[0]&&u!==(u=/*$_*/e[20]("notFoundText")+"")&&S(s,u),/*notfoundicon*/1024&r[0]&&l!==(l="ResultsContainerError "+(/*notfoundicon*/"true"==e[10]?"WithIcon":""))&&_(t,"class",l)},d(e){e&&f(t),p&&p.d()}}}
1297
1297
  // (376:12) {#if notfoundicon === 'true'}
1298
1298
  function ki(e){let t;return{c(){t=m("div"),t.innerHTML='<svg width="" height="" viewBox="0 0 240 160" fill="none" xmlns="http://www.w3.org/2000/svg"><rect x="40" width="160" height="160" rx="80" fill="var(--emfe-w-color-contrast, #E6E6E6)" fill-opacity="0.6"></rect><path d="M152 112L136 96" stroke="var(--emfe-w-color-contrast, #131313)" stroke-width="3" stroke-linecap="square" stroke-linejoin="round"></path><path d="M116 104C131.464 104 144 91.464 144 76C144 60.536 131.464 48 116 48C100.536 48 88 60.536 88 76C88 91.464 100.536 104 116 104Z" stroke="var(--emfe-w-color-contrast, #131313)" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M116.001 78.1221L121.88 84.0009L124.001 81.8796L118.122 76.0008L124.002 70.1214L121.88 68L116.001 73.8795L110.121 68L108 70.1214L113.879 76.0008L108.001 81.8796L110.122 84.0009L116.001 78.1221Z" fill="var(--emfe-w-color-contrast, #131313)"></path></svg>',_(t,"class","SearchErrorIcon")},m(e,n){d(e,t,n)},d(e){e&&f(t)}}}function Li(t){let n,i,a,o,s,l,c,u,p,y,b,x,S,E,T,k,L,$,G,P,M=/*cancelbutton*/"true"===t[9]&&gi(t);function O(e,t){/*isLoading*/
1299
- return e[17]?vi:yi}let D=O(t),I=D(t);return{c(){n=m("div"),i=m("div"),a=m("div"),o=m("div"),o.innerHTML='<svg width="14" height="15" fill="none" xmlns="http://www.w3.org/2000/svg"><path stroke="#212121" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" d="m10.48 10.985 2.21 2.373"></path><circle cx="6.5" cy="6.5" r="5.75" stroke="#212121" stroke-width="1.5"></circle></svg>',s=v(),l=m("input"),u=v(),p=m("span"),y=g("svg"),b=g("path"),S=v(),M&&M.c(),T=v(),k=m("div"),$=v(),I.c(),this.c=e,_(o,"class","SearchIcon"),_(l,"class","SearchInput"),_(l,"type","search"),_(l,"placeholder",c=/*$_*/t[20]("placeHolderSearchGames")),_(l,"maxlength",$i),_(b,"d","m1.45 1.5 8.1 8M1.45 9.5l8.1-8"),_(b,"stroke","#717171"),_(b,"stroke-width","2"),_(b,"stroke-linecap","round"),_(b,"stroke-linejoin","round"),_(y,"width","11"),_(y,"height","11"),_(y,"fill","none"),_(y,"xmlns","http://www.w3.org/2000/svg"),_(p,"class",x="SearchClearButton "+(/*cancelbutton*/"true"!=t[9]?"WithoutCancel":"")+" "+(/*searchValue*/0!=t[11].length?"":"NotVisible")),_(a,"class",E="Search "+(/*searchCancelled*/t[12]?"":"SearchAnimation")),_(i,"class","SearchWrap"),_(k,"class",L=/*cancelbutton*/"true"!=t[9]?"OverlayCancel":""),_(n,"class",("PC"!==Ar(/*userAgent*/t[21])?"":"Desktop")+" CasinoSearch")},m(e,r){d(e,n,r),h(n,i),h(i,a),h(a,o),h(a,s),h(a,l),C(l,/*searchValue*/t[11]),
1300
- /*input_binding*/t[33](l),h(a,u),h(a,p),h(p,y),h(y,b),h(a,S),M&&M.m(a,null),h(n,T),h(n,k),h(n,$),I.m(n,null),
1301
- /*div4_binding*/t[36](n),G||(P=[w(l,"input",/*input_input_handler*/t[32]),w(l,"focus",/*onFocus*/t[22]),w(p,"click",/*click_handler*/t[34]),w(k,"click",/*handleOverlay*/t[23])],G=!0)},p(e,t){/*$_*/1048576&t[0]&&c!==(c=/*$_*/e[20]("placeHolderSearchGames"))&&_(l,"placeholder",c),/*searchValue*/2048&t[0]&&l.value!==/*searchValue*/e[11]&&C(l,/*searchValue*/e[11]),/*cancelbutton, searchValue*/2560&t[0]&&x!==(x="SearchClearButton "+(/*cancelbutton*/"true"!=e[9]?"WithoutCancel":"")+" "+(/*searchValue*/0!=e[11].length?"":"NotVisible"))&&_(p,"class",x),/*cancelbutton*/"true"===e[9]?M?M.p(e,t):(M=gi(e),M.c(),M.m(a,null)):M&&(M.d(1),M=null),/*searchCancelled*/4096&t[0]&&E!==(E="Search "+(/*searchCancelled*/e[12]?"":"SearchAnimation"))&&_(a,"class",E),/*cancelbutton*/512&t[0]&&L!==(L=/*cancelbutton*/"true"!=e[9]?"OverlayCancel":"")&&_(k,"class",L),D===(D=O(e))&&I?I.p(e,t):(I.d(1),I=D(e),I&&(I.c(),I.m(n,null)))},i:e,o:e,d(e){e&&f(n)
1302
- /*input_binding*/,t[33](null),M&&M.d(),I.d(),
1303
- /*div4_binding*/t[36](null),G=!1,r(P)}}}!customElements.get("casino-game-thumbnail")&&customElements.define("casino-game-thumbnail",class extends z{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),W(this,{target:this.shadowRoot,props:k(this.attributes),customElement:!0},pi,ci,a,{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&&d(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]}});let $i=50;function Gi(e,t,n){let r;u(e,kn,(e=>n(20,r=e)));let i,a,o,s,{endpoint:l=""}=t,{datasource:c=""}=t,{session:h=""}=t,{userid:d=""}=t,{lang:f="en"}=t,{clientstyling:p=""}=t,{clientstylingurl:m=""}=t,{integratedgameframedesktop:g="false"}=t,{integratedgameframemobile:y="false"}=t,{showgamename:v=""}=t,{gamepagemodalurl:b="true"}=t,{translationurl:w=""}=t,{showfavorites:_=""}=t,{cancelbutton:x="true"}=t,{notfoundicon:S="false"}=t,C=window.navigator.userAgent,E=[],T=[],k={},L="",G=!0,M=!1,O=!1,D=!1,I=[];Object.keys($n).forEach((e=>{Ln(e,$n[e])}));const F=e=>{e.data&&"SearchedItemClicked"==e.data.type&&B(e.data.gameId),"UserSessionID"==e.data.type&&(n(18,o=e.data.session),n(19,s=e.data.userid),n(31,D=!0)),"CategoryChange"==e.data.type&&U()},R=()=>{if(n(12,G=!1),n(16,M=!0),l&&c&&f&&L.length<2){n(14,E=[]);let e=localStorage.getItem("searchedGamesWds_casino"),t=[];e&&(t=e.split(","));let r=[],i=0,a=t.length;if(a>0){for(i=0;i<a;i++){let e=new URL(`${l}/v1/casino/games/${t[i]}`);e.searchParams.append("language",f),e.searchParams.append("datasource",c),e.searchParams.append("platform",Ar(C)),r.push(N(e,t[i]))}Promise.all(r).then((e=>{e=e.filter((function(e){return!!e})),n(14,E=e.map((e=>(e.isFavorite=H(e.id),e)))),E.length?A("searchSuccess","SearchWidget"):A("searchFail","SearchWidget")})).catch((e=>{A("searchError","SearchWidget")}))}}j(M),A("searchAttempt","SearchWidget"),
1299
+ return e[17]?vi:yi}let I=O(t),D=I(t);return{c(){n=m("div"),i=m("div"),a=m("div"),o=m("div"),o.innerHTML='<svg width="14" height="15" fill="none" xmlns="http://www.w3.org/2000/svg"><path stroke="#212121" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" d="m10.48 10.985 2.21 2.373"></path><circle cx="6.5" cy="6.5" r="5.75" stroke="#212121" stroke-width="1.5"></circle></svg>',s=v(),l=m("input"),u=v(),p=m("span"),y=g("svg"),b=g("path"),S=v(),M&&M.c(),T=v(),k=m("div"),$=v(),D.c(),this.c=e,_(o,"class","SearchIcon"),_(l,"class","SearchInput"),_(l,"type","search"),_(l,"placeholder",c=/*$_*/t[20]("placeHolderSearchGames")),_(l,"maxlength",$i),_(b,"d","m1.45 1.5 8.1 8M1.45 9.5l8.1-8"),_(b,"stroke","#717171"),_(b,"stroke-width","2"),_(b,"stroke-linecap","round"),_(b,"stroke-linejoin","round"),_(y,"width","11"),_(y,"height","11"),_(y,"fill","none"),_(y,"xmlns","http://www.w3.org/2000/svg"),_(p,"class",x="SearchClearButton "+(/*cancelbutton*/"true"!=t[9]?"WithoutCancel":"")+" "+(/*searchValue*/0!=t[11].length?"":"NotVisible")),_(a,"class",E="Search "+(/*searchCancelled*/t[12]?"":"SearchAnimation")),_(i,"class","SearchWrap"),_(k,"class",L=/*cancelbutton*/"true"!=t[9]?"OverlayCancel":""),_(n,"class",("PC"!==Ar(/*userAgent*/t[21])?"":"Desktop")+" CasinoSearch")},m(e,r){d(e,n,r),h(n,i),h(i,a),h(a,o),h(a,s),h(a,l),C(l,/*searchValue*/t[11]),
1300
+ /*input_binding*/t[33](l),h(a,u),h(a,p),h(p,y),h(y,b),h(a,S),M&&M.m(a,null),h(n,T),h(n,k),h(n,$),D.m(n,null),
1301
+ /*div4_binding*/t[36](n),G||(P=[w(l,"input",/*input_input_handler*/t[32]),w(l,"focus",/*onFocus*/t[22]),w(p,"click",/*click_handler*/t[34]),w(k,"click",/*handleOverlay*/t[23])],G=!0)},p(e,t){/*$_*/1048576&t[0]&&c!==(c=/*$_*/e[20]("placeHolderSearchGames"))&&_(l,"placeholder",c),/*searchValue*/2048&t[0]&&l.value!==/*searchValue*/e[11]&&C(l,/*searchValue*/e[11]),/*cancelbutton, searchValue*/2560&t[0]&&x!==(x="SearchClearButton "+(/*cancelbutton*/"true"!=e[9]?"WithoutCancel":"")+" "+(/*searchValue*/0!=e[11].length?"":"NotVisible"))&&_(p,"class",x),/*cancelbutton*/"true"===e[9]?M?M.p(e,t):(M=gi(e),M.c(),M.m(a,null)):M&&(M.d(1),M=null),/*searchCancelled*/4096&t[0]&&E!==(E="Search "+(/*searchCancelled*/e[12]?"":"SearchAnimation"))&&_(a,"class",E),/*cancelbutton*/512&t[0]&&L!==(L=/*cancelbutton*/"true"!=e[9]?"OverlayCancel":"")&&_(k,"class",L),I===(I=O(e))&&D?D.p(e,t):(D.d(1),D=I(e),D&&(D.c(),D.m(n,null)))},i:e,o:e,d(e){e&&f(n)
1302
+ /*input_binding*/,t[33](null),M&&M.d(),D.d(),
1303
+ /*div4_binding*/t[36](null),G=!1,r(P)}}}!customElements.get("casino-game-thumbnail")&&customElements.define("casino-game-thumbnail",class extends z{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),W(this,{target:this.shadowRoot,props:k(this.attributes),customElement:!0},pi,ci,a,{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&&d(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]}});let $i=50;function Gi(e,t,n){let r;u(e,kn,(e=>n(20,r=e)));let i,a,o,s,{endpoint:l=""}=t,{datasource:c=""}=t,{session:h=""}=t,{userid:d=""}=t,{lang:f="en"}=t,{clientstyling:p=""}=t,{clientstylingurl:m=""}=t,{integratedgameframedesktop:g="false"}=t,{integratedgameframemobile:y="false"}=t,{showgamename:v=""}=t,{gamepagemodalurl:b="true"}=t,{translationurl:w=""}=t,{showfavorites:_=""}=t,{cancelbutton:x="true"}=t,{notfoundicon:S="false"}=t,C=window.navigator.userAgent,E=[],T=[],k={},L="",G=!0,M=!1,O=!1,I=!1,D=[];Object.keys($n).forEach((e=>{Ln(e,$n[e])}));const F=e=>{e.data&&"SearchedItemClicked"==e.data.type&&B(e.data.gameId),"UserSessionID"==e.data.type&&(n(18,o=e.data.session),n(19,s=e.data.userid),n(31,I=!0)),"CategoryChange"==e.data.type&&U()},R=()=>{if(n(12,G=!1),n(16,M=!0),l&&c&&f&&L.length<2){n(14,E=[]);let e=localStorage.getItem("searchedGamesWds_casino"),t=[];e&&(t=e.split(","));let r=[],i=0,a=t.length;if(a>0){for(i=0;i<a;i++){let e=new URL(`${l}/v1/casino/games/${t[i]}`);e.searchParams.append("language",f),e.searchParams.append("datasource",c),e.searchParams.append("platform",Ar(C)),r.push(N(e,t[i]))}Promise.all(r).then((e=>{e=e.filter((function(e){return!!e})),n(14,E=e.map((e=>(e.isFavorite=H(e.id),e)))),E.length?A("searchSuccess","SearchWidget"):A("searchFail","SearchWidget")})).catch((e=>{A("searchError","SearchWidget")}))}}j(M),A("searchAttempt","SearchWidget"),
1304
1304
  //Analytics event
1305
- A("SearchInitialized","SearchWidget")},A=(e,t)=>{"function"==typeof gtag&&gtag("event",e,{context:t})},N=(e,t)=>new Promise(((r,i)=>{n(17,O=!0),t&&Object.keys(k).indexOf(t)>=0?(n(17,O=!1),r(k[t])):fetch(e).then((e=>e.json())).then((e=>{n(17,O=!1),e.error||(k[e[0].gameId]=e[0]),r(e[0])})).catch((e=>{n(17,O=!1),console.error(e),i(e)}))})),H=e=>-1!==I.findIndex((t=>t==e)),B=e=>{if(T=localStorage.getItem("searchedGamesWds_casino"),T=T?T.split(","):[],-1===T.indexOf(e)){let t;T.unshift(e),t=T.join(","),localStorage.setItem("searchedGamesWds_casino",t)}},U=()=>{n(11,L=""),n(12,G=!0),n(17,O=!1),n(14,E=[]),n(16,M=!1),j(M)},Y=()=>{n(11,L=""),i.focus()},j=e=>{window.postMessage({type:!0===e?"searchActive":"searchCancelled",searchStatus:e},window.location.href)},W=()=>{var e;e=f,sn.set(e)};$((()=>(window.addEventListener("message",F,!1),()=>{window.removeEventListener("message",F)})));return e.$$set=e=>{"endpoint"in e&&n(0,l=e.endpoint),"datasource"in e&&n(27,c=e.datasource),"session"in e&&n(28,h=e.session),"userid"in e&&n(29,d=e.userid),"lang"in e&&n(1,f=e.lang),"clientstyling"in e&&n(2,p=e.clientstyling),"clientstylingurl"in e&&n(3,m=e.clientstylingurl),"integratedgameframedesktop"in e&&n(4,g=e.integratedgameframedesktop),"integratedgameframemobile"in e&&n(5,y=e.integratedgameframemobile),"showgamename"in e&&n(6,v=e.showgamename),"gamepagemodalurl"in e&&n(7,b=e.gamepagemodalurl),"translationurl"in e&&n(30,w=e.translationurl),"showfavorites"in e&&n(8,_=e.showfavorites),"cancelbutton"in e&&n(9,x=e.cancelbutton),"notfoundicon"in e&&n(10,S=e.notfoundicon)},e.$$.update=()=>{if(/*searchValue, endpoint, datasource, lang, searchCancelled*/134223875&e.$$.dirty[0])if(L.length>=2){const e=new URL(`${l}/v1/casino/games`);e.searchParams.append("datasource",c),e.searchParams.append("expand","vendor"),e.searchParams.append("platform",Ar(C)),e.searchParams.append("language",f),e.searchParams.append("pagination","offset=0,limit=30"),e.searchParams.append("filter",`name=${L}`),(t=e,new Promise(((e,r)=>{n(17,O=!0),fetch(t.href).then((e=>e.json())).then((t=>{n(17,O=!1),e(t)})).catch((e=>{n(17,O=!1),console.error(e),r(e)}))}))).then((e=>{n(14,E=e.items.map((e=>(e.isFavorite=H(e.id),e))))}))}else G||R();var t;/*lang*/2&e.$$.dirty[0]&&f&&W(),/*translationurl*/1073741824&e.$$.dirty[0]&&w&&fetch(w).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{Ln(t,e[t])}))})).catch((e=>{console.log(e)})),/*session, userid*/805306368&e.$$.dirty[0]&&h&&d&&(n(31,D=!0),n(18,o=h),n(19,s=d)),/*showfavorites*/256&e.$$.dirty[0]|/*isLoggedIn*/1&e.$$.dirty[1]&&_&&D&&(()=>{const e=new URL(`${l}/v1/player/${s}/favorites/`);n(17,O=!0);let t={method:"GET",headers:{"X-SessionID":o}};fetch(e.href,t).then((e=>e.json())).then((e=>{n(17,O=!1),I=e.items.map((e=>e.id))}))})(),/*clientstyling, customStylingContainer*/8196&e.$$.dirty[0]&&p&&a&&(()=>{let e=document.createElement("style");e.innerHTML=p,a.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/8200&e.$$.dirty[0]&&m&&a&&(()=>{let e=new URL(m),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,setTimeout((()=>{a.appendChild(t)}),1)}))})()},[l,f,p,m,g,y,v,b,_,x,S,L,G,a,E,i,M,O,o,s,r,C,R,()=>{"true"!=x&&U()},e=>{if(0===(null==e?void 0:e.length))return"";let t,n,r=99999999999;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);Nr(l).diff(i)<r&&(r=Nr(l).diff(i),n=o),Nr(i).isAfter(s)&&Nr(i).isBefore(l)&&(t=e[n].name)})),t},U,Y,c,h,d,w,D,function(){L=this.value,n(11,L)},function(e){P[e?"unshift":"push"]((()=>{i=e,n(15,i)}))},()=>Y(),()=>U(),function(e){P[e?"unshift":"push"]((()=>{a=e,n(13,a)}))}]}function Pi(e,t){At(e,t)}!customElements.get("casino-search")&&customElements.define("casino-search",class extends z{constructor(e){super();const t=document.createElement("style");t.textContent="*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}:host{font-family:inherit}input{font-family:inherit}.CasinoSearch{margin:30px 16px;position:relative}.SearchWrap{width:100%;margin:auto}.OverlayCancel{width:100%;height:100vh;position:absolute;translate:0 -100px;z-index:2}.LoadingContent{color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}.Search{display:flex;align-items:center;position:relative;margin-bottom:20px;z-index:5}.SearchIcon{position:absolute;left:15px;top:50%;z-index:1;transform:translateY(-50%)}.SearchIcon svg{height:14px;width:13px}.SearchInput{border-radius:4px;border:1px solid var(--emfe-w-color-gray-300, #58586B);color:var(--emfe-w-color-gray-100, #E6E6E6);display:block;font-size:16px;font-weight:300;padding:14px 5px 14px 46px;width:100%}.SearchInput::placeholder{color:var(--emfe-w-color-gray-150, #828282);font-size:16px;font-weight:300}.SearchInput:focus{outline:1px solid var(--emfe-w-color-gray-300, #58586B)}.SearchInput::-webkit-search-decoration,.SearchInput::-webkit-search-cancel-button,.SearchInput::-webkit-search-results-button,.SearchInput::-webkit-search-results-decoration{-webkit-appearance:none}.SearchClearButton{position:absolute;top:30%;right:65px;cursor:pointer}.SearchClearButton.WithoutCancel{right:18px}.SearchCancelButton{color:var(--emfe-w-color-contrast, #E6E6E6);font-weight:300;margin-left:8px;cursor:pointer}.SearchMessage{font-size:18px;font-weight:600;margin:24px 0;color:var(--emfe-w-color-contrast, #000000)}.SearchErrorIcon{height:170px;filter:drop-shadow(1px 5px 5px rgba(0, 0, 0, 0.1))}.SearchResultsContainer{display:grid;gap:28px;grid-template-columns:repeat(auto-fill, minmax(min(192px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 192px);grid-auto-rows:192px;grid-auto-columns:192px;grid-auto-flow:row dense}@media screen and (max-width: 480px){.SearchResultsContainer{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(122px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 122px);grid-auto-rows:122px;grid-auto-columns:122px}}@media screen and (max-width: 385px){.SearchResultsContainer{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(110px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 110px);grid-auto-rows:110px;grid-auto-columns:110px}}@media screen and (min-width: 1100px){.SearchResultsContainer{grid-template-rows:repeat(auto-fill, 142px);grid-auto-rows:142px}}@media screen and (max-width: 1300px){.SearchResultsContainer{padding:0 2.4%}}.ResultsContainerError{text-align:center;width:300px;color:var(--emfe-w-color-contrast, #828282);font-weight:300;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);z-index:1;margin-top:120px}.NotVisible{display:none}.Desktop .NotVisible{opacity:0;visibility:hidden;display:inline}.Desktop .SearchWrap{width:50%;margin:auto}.Desktop.CasinoSearch{margin:30px auto;position:relative}.Desktop .ResultsContainerError{text-align:center;width:300px;color:var(--emfe-w-color-contrast, #828282);font-weight:300;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);z-index:1;margin-top:120px}.Desktop .ResultsContainerError.WithIcon{top:60%}.Desktop .Search{display:flex;align-items:center;justify-content:center;transition:all 0.2s cubic-bezier(1, 0, 0.46, 1.03)}.Desktop .SearchIcon{position:relative;top:0;left:0;transform:translateY(0);margin-right:-28px}.Desktop .SearchClearButton{position:relative;top:0;right:0;margin-left:-23px}.Desktop .SearchCancelButton{margin-left:20px}.Desktop .SearchAnimation{transform:scaleX(110%)}.Desktop .SearchAnimation Input{outline:none;box-shadow:0 5px 7px rgba(0, 0, 0, 0.25);background-color:rgba(255, 255, 255, 0.2)}.Desktop .SearchMessage{font-size:18px;font-weight:600;margin:24px 0;margin-top:90px}.Desktop .SearchErrorIcon{height:190px;margin-bottom:-70px}.Desktop .OverlayCancel{height:90vh;z-index:2}",this.shadowRoot.appendChild(t),W(this,{target:this.shadowRoot,props:k(this.attributes),customElement:!0},Gi,Li,a,{endpoint:0,datasource:27,session:28,userid:29,lang:1,clientstyling:2,clientstylingurl:3,integratedgameframedesktop:4,integratedgameframemobile:5,showgamename:6,gamepagemodalurl:7,translationurl:30,showfavorites:8,cancelbutton:9,notfoundicon:10},null,[-1,-1]),e&&(e.target&&d(e.target,this,e.anchor),e.props&&(this.$set(e.props),B()))}static get observedAttributes(){return["endpoint","datasource","session","userid","lang","clientstyling","clientstylingurl","integratedgameframedesktop","integratedgameframemobile","showgamename","gamepagemodalurl","translationurl","showfavorites","cancelbutton","notfoundicon"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),B()}get datasource(){return this.$$.ctx[27]}set datasource(e){this.$$set({datasource:e}),B()}get session(){return this.$$.ctx[28]}set session(e){this.$$set({session:e}),B()}get userid(){return this.$$.ctx[29]}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[2]}set clientstyling(e){this.$$set({clientstyling:e}),B()}get clientstylingurl(){return this.$$.ctx[3]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),B()}get integratedgameframedesktop(){return this.$$.ctx[4]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),B()}get integratedgameframemobile(){return this.$$.ctx[5]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),B()}get showgamename(){return this.$$.ctx[6]}set showgamename(e){this.$$set({showgamename:e}),B()}get gamepagemodalurl(){return this.$$.ctx[7]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),B()}get translationurl(){return this.$$.ctx[30]}set translationurl(e){this.$$set({translationurl:e}),B()}get showfavorites(){return this.$$.ctx[8]}set showfavorites(e){this.$$set({showfavorites:e}),B()}get cancelbutton(){return this.$$.ctx[9]}set cancelbutton(e){this.$$set({cancelbutton:e}),B()}get notfoundicon(){return this.$$.ctx[10]}set notfoundicon(e){this.$$set({notfoundicon:e}),B()}});const Mi={en:{categories:"Categories",providers:"Suppliers"},"zh-hk":{categories:"类别",providers:"供应商"},de:{categories:"Kategorien",providers:"Anbieter"},it:{categories:"Categories",providers:"Suppliers"},fr:{categories:"Catégories",providers:"Fournisseurs"},es:{categories:"Categorias",providers:"Proveedores"},tr:{categories:"Kategoriler",providers:"Tedarikçiler"},ru:{categories:"Categories",providers:"Suppliers"},ro:{categories:"Categorii",providers:"Furnizori"},hr:{categories:"Kategorije",providers:"Provideri"},hu:{categories:"Categories",providers:"Suppliers"},pl:{categories:"Categories",providers:"Suppliers"},pt:{categories:"Categories",providers:"Suppliers"},sl:{categories:"Categories",providers:"Suppliers"},sr:{categories:"Categories",providers:"Suppliers"},"pt-br":{categories:"Categorias",providers:"Provedores"},"es-mx":{categories:"Categorias",providers:"Proveedores"}};function Oi(e,t){At(e,t)}const Di={en:{topCategories:"Top Categories",otherCategories:"Other Categories",loading:"Loading, please wait...",games:"games"},"zh-hk":{topCategories:"热门类别",otherCategories:"其他类别",loading:"加载请稍候...",games:"游戏"},de:{topCategories:"Top Kategorien",otherCategories:"Andere Kategorien",loading:"Es lädt, bitte warten...",games:"Spiele"},it:{topCategories:"Top Categories",otherCategories:"Other Categories",loading:"Loading, please wait...",games:"games"},fr:{topCategories:"Catégories principales",otherCategories:"Autres catégories",loading:"Chargement, veuillez patienter...",games:"jeux"},es:{topCategories:"Categorias Top",otherCategories:"Otras Categorias",loading:"Cargando...",games:"juegos"},tr:{topCategories:"En İyi Kategoriler",otherCategories:"Diğer Kategoriler",loading:"Yükleniyor, lütfen bekleyin...",games:"oyunlar"},ru:{topCategories:"Top Categories",otherCategories:"Other Categories",loading:"Loading, please wait...",games:"games"},ro:{topCategories:"Categorii de top",otherCategories:"Alte categorii",loading:"Se incarca, te rugam asteapta…",games:"jocuri"},hr:{topCategories:"Najbolje kategorije",otherCategories:"Ostale kategorije",loading:"Učitavam",games:"Igre"},hu:{topCategories:"Top Categories",otherCategories:"Other Categories",loading:"Loading, please wait...",games:"games"},pl:{topCategories:"Top Categories",otherCategories:"Other Categories",loading:"Loading, please wait...",games:"games"},pt:{topCategories:"Top Categories",otherCategories:"Other Categories",loading:"Loading, please wait...",games:"games"},sl:{topCategories:"Top Categories",otherCategories:"Other Categories",loading:"Loading, please wait...",games:"games"},sr:{topCategories:"Top Categories",otherCategories:"Other Categories",loading:"Loading, please wait...",games:"games"},"pt-br":{topCategories:"Categorias Principais",otherCategories:"Outras Categorias",Loading:"Carregando, por favor espere...",games:"jogos"},"es-mx":{topCategories:"Categorias Principales",otherCategories:"Otras Categorias",Loading:"Cargando, por favor espere...",games:"juegos"}};
1306
- /* ../casino-categories/src/CasinoCategories.svelte generated by Svelte v3.59.2 */function Ii(e,t,n){const r=e.slice();return r[24]=t[n],r}function Fi(e,t,n){const r=e.slice();return r[24]=t[n],r}
1305
+ A("SearchInitialized","SearchWidget")},A=(e,t)=>{"function"==typeof gtag&&gtag("event",e,{context:t})},N=(e,t)=>new Promise(((r,i)=>{n(17,O=!0),t&&Object.keys(k).indexOf(t)>=0?(n(17,O=!1),r(k[t])):fetch(e).then((e=>e.json())).then((e=>{n(17,O=!1),e.error||(k[e[0].gameId]=e[0]),r(e[0])})).catch((e=>{n(17,O=!1),console.error(e),i(e)}))})),H=e=>-1!==D.findIndex((t=>t==e)),B=e=>{if(T=localStorage.getItem("searchedGamesWds_casino"),T=T?T.split(","):[],-1===T.indexOf(e)){let t;T.unshift(e),t=T.join(","),localStorage.setItem("searchedGamesWds_casino",t)}},U=()=>{n(11,L=""),n(12,G=!0),n(17,O=!1),n(14,E=[]),n(16,M=!1),j(M)},Y=()=>{n(11,L=""),i.focus()},j=e=>{window.postMessage({type:!0===e?"searchActive":"searchCancelled",searchStatus:e},window.location.href)},W=()=>{var e;e=f,sn.set(e)};$((()=>(window.addEventListener("message",F,!1),()=>{window.removeEventListener("message",F)})));return e.$$set=e=>{"endpoint"in e&&n(0,l=e.endpoint),"datasource"in e&&n(27,c=e.datasource),"session"in e&&n(28,h=e.session),"userid"in e&&n(29,d=e.userid),"lang"in e&&n(1,f=e.lang),"clientstyling"in e&&n(2,p=e.clientstyling),"clientstylingurl"in e&&n(3,m=e.clientstylingurl),"integratedgameframedesktop"in e&&n(4,g=e.integratedgameframedesktop),"integratedgameframemobile"in e&&n(5,y=e.integratedgameframemobile),"showgamename"in e&&n(6,v=e.showgamename),"gamepagemodalurl"in e&&n(7,b=e.gamepagemodalurl),"translationurl"in e&&n(30,w=e.translationurl),"showfavorites"in e&&n(8,_=e.showfavorites),"cancelbutton"in e&&n(9,x=e.cancelbutton),"notfoundicon"in e&&n(10,S=e.notfoundicon)},e.$$.update=()=>{if(/*searchValue, endpoint, datasource, lang, searchCancelled*/134223875&e.$$.dirty[0])if(L.length>=2){const e=new URL(`${l}/v1/casino/games`);e.searchParams.append("datasource",c),e.searchParams.append("expand","vendor"),e.searchParams.append("platform",Ar(C)),e.searchParams.append("language",f),e.searchParams.append("pagination","offset=0,limit=30"),e.searchParams.append("filter",`name=${L}`),(t=e,new Promise(((e,r)=>{n(17,O=!0),fetch(t.href).then((e=>e.json())).then((t=>{n(17,O=!1),e(t)})).catch((e=>{n(17,O=!1),console.error(e),r(e)}))}))).then((e=>{n(14,E=e.items.map((e=>(e.isFavorite=H(e.id),e))))}))}else G||R();var t;/*lang*/2&e.$$.dirty[0]&&f&&W(),/*translationurl*/1073741824&e.$$.dirty[0]&&w&&fetch(w).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{Ln(t,e[t])}))})).catch((e=>{console.log(e)})),/*session, userid*/805306368&e.$$.dirty[0]&&h&&d&&(n(31,I=!0),n(18,o=h),n(19,s=d)),/*showfavorites*/256&e.$$.dirty[0]|/*isLoggedIn*/1&e.$$.dirty[1]&&_&&I&&(()=>{const e=new URL(`${l}/v1/player/${s}/favorites/`);n(17,O=!0);let t={method:"GET",headers:{"X-SessionID":o}};fetch(e.href,t).then((e=>e.json())).then((e=>{n(17,O=!1),D=e.items.map((e=>e.id))}))})(),/*clientstyling, customStylingContainer*/8196&e.$$.dirty[0]&&p&&a&&(()=>{let e=document.createElement("style");e.innerHTML=p,a.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/8200&e.$$.dirty[0]&&m&&a&&(()=>{let e=new URL(m),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,setTimeout((()=>{a.appendChild(t)}),1)}))})()},[l,f,p,m,g,y,v,b,_,x,S,L,G,a,E,i,M,O,o,s,r,C,R,()=>{"true"!=x&&U()},e=>{if(0===(null==e?void 0:e.length))return"";let t,n,r=99999999999;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);Nr(l).diff(i)<r&&(r=Nr(l).diff(i),n=o),Nr(i).isAfter(s)&&Nr(i).isBefore(l)&&(t=e[n].name)})),t},U,Y,c,h,d,w,I,function(){L=this.value,n(11,L)},function(e){P[e?"unshift":"push"]((()=>{i=e,n(15,i)}))},()=>Y(),()=>U(),function(e){P[e?"unshift":"push"]((()=>{a=e,n(13,a)}))}]}function Pi(e,t){At(e,t)}!customElements.get("casino-search")&&customElements.define("casino-search",class extends z{constructor(e){super();const t=document.createElement("style");t.textContent="*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}:host{font-family:inherit}input{font-family:inherit}.CasinoSearch{margin:30px 16px;position:relative}.SearchWrap{width:100%;margin:auto}.OverlayCancel{width:100%;height:100vh;position:absolute;translate:0 -100px;z-index:2}.LoadingContent{color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}.Search{display:flex;align-items:center;position:relative;margin-bottom:20px;z-index:5}.SearchIcon{position:absolute;left:15px;top:50%;z-index:1;transform:translateY(-50%)}.SearchIcon svg{height:14px;width:13px}.SearchInput{border-radius:4px;border:1px solid var(--emfe-w-color-gray-300, #58586B);color:var(--emfe-w-color-gray-100, #E6E6E6);display:block;font-size:16px;font-weight:300;padding:14px 5px 14px 46px;width:100%}.SearchInput::placeholder{color:var(--emfe-w-color-gray-150, #828282);font-size:16px;font-weight:300}.SearchInput:focus{outline:1px solid var(--emfe-w-color-gray-300, #58586B)}.SearchInput::-webkit-search-decoration,.SearchInput::-webkit-search-cancel-button,.SearchInput::-webkit-search-results-button,.SearchInput::-webkit-search-results-decoration{-webkit-appearance:none}.SearchClearButton{position:absolute;top:30%;right:65px;cursor:pointer}.SearchClearButton.WithoutCancel{right:18px}.SearchCancelButton{color:var(--emfe-w-color-contrast, #E6E6E6);font-weight:300;margin-left:8px;cursor:pointer}.SearchMessage{font-size:18px;font-weight:600;margin:24px 0;color:var(--emfe-w-color-contrast, #000000)}.SearchErrorIcon{height:170px;filter:drop-shadow(1px 5px 5px rgba(0, 0, 0, 0.1))}.SearchResultsContainer{display:grid;gap:28px;grid-template-columns:repeat(auto-fill, minmax(min(192px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 192px);grid-auto-rows:192px;grid-auto-columns:192px;grid-auto-flow:row dense}@media screen and (max-width: 480px){.SearchResultsContainer{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(122px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 122px);grid-auto-rows:122px;grid-auto-columns:122px}}@media screen and (max-width: 385px){.SearchResultsContainer{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(110px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 110px);grid-auto-rows:110px;grid-auto-columns:110px}}@media screen and (min-width: 1100px){.SearchResultsContainer{grid-template-rows:repeat(auto-fill, 142px);grid-auto-rows:142px}}@media screen and (max-width: 1300px){.SearchResultsContainer{padding:0 2.4%}}.ResultsContainerError{text-align:center;width:300px;color:var(--emfe-w-color-contrast, #828282);font-weight:300;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);z-index:1;margin-top:120px}.NotVisible{display:none}.Desktop .NotVisible{opacity:0;visibility:hidden;display:inline}.Desktop .SearchWrap{width:50%;margin:auto}.Desktop.CasinoSearch{margin:30px auto;position:relative}.Desktop .ResultsContainerError{text-align:center;width:300px;color:var(--emfe-w-color-contrast, #828282);font-weight:300;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);z-index:1;margin-top:120px}.Desktop .ResultsContainerError.WithIcon{top:60%}.Desktop .Search{display:flex;align-items:center;justify-content:center;transition:all 0.2s cubic-bezier(1, 0, 0.46, 1.03)}.Desktop .SearchIcon{position:relative;top:0;left:0;transform:translateY(0);margin-right:-28px}.Desktop .SearchClearButton{position:relative;top:0;right:0;margin-left:-23px}.Desktop .SearchCancelButton{margin-left:20px}.Desktop .SearchAnimation{transform:scaleX(110%)}.Desktop .SearchAnimation Input{outline:none;box-shadow:0 5px 7px rgba(0, 0, 0, 0.25);background-color:rgba(255, 255, 255, 0.2)}.Desktop .SearchMessage{font-size:18px;font-weight:600;margin:24px 0;margin-top:90px}.Desktop .SearchErrorIcon{height:190px;margin-bottom:-70px}.Desktop .OverlayCancel{height:90vh;z-index:2}",this.shadowRoot.appendChild(t),W(this,{target:this.shadowRoot,props:k(this.attributes),customElement:!0},Gi,Li,a,{endpoint:0,datasource:27,session:28,userid:29,lang:1,clientstyling:2,clientstylingurl:3,integratedgameframedesktop:4,integratedgameframemobile:5,showgamename:6,gamepagemodalurl:7,translationurl:30,showfavorites:8,cancelbutton:9,notfoundicon:10},null,[-1,-1]),e&&(e.target&&d(e.target,this,e.anchor),e.props&&(this.$set(e.props),B()))}static get observedAttributes(){return["endpoint","datasource","session","userid","lang","clientstyling","clientstylingurl","integratedgameframedesktop","integratedgameframemobile","showgamename","gamepagemodalurl","translationurl","showfavorites","cancelbutton","notfoundicon"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),B()}get datasource(){return this.$$.ctx[27]}set datasource(e){this.$$set({datasource:e}),B()}get session(){return this.$$.ctx[28]}set session(e){this.$$set({session:e}),B()}get userid(){return this.$$.ctx[29]}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[2]}set clientstyling(e){this.$$set({clientstyling:e}),B()}get clientstylingurl(){return this.$$.ctx[3]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),B()}get integratedgameframedesktop(){return this.$$.ctx[4]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),B()}get integratedgameframemobile(){return this.$$.ctx[5]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),B()}get showgamename(){return this.$$.ctx[6]}set showgamename(e){this.$$set({showgamename:e}),B()}get gamepagemodalurl(){return this.$$.ctx[7]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),B()}get translationurl(){return this.$$.ctx[30]}set translationurl(e){this.$$set({translationurl:e}),B()}get showfavorites(){return this.$$.ctx[8]}set showfavorites(e){this.$$set({showfavorites:e}),B()}get cancelbutton(){return this.$$.ctx[9]}set cancelbutton(e){this.$$set({cancelbutton:e}),B()}get notfoundicon(){return this.$$.ctx[10]}set notfoundicon(e){this.$$set({notfoundicon:e}),B()}});const Mi={en:{categories:"Categories",providers:"Suppliers"},"zh-hk":{categories:"类别",providers:"供应商"},de:{categories:"Kategorien",providers:"Anbieter"},it:{categories:"Categories",providers:"Suppliers"},fr:{categories:"Catégories",providers:"Fournisseurs"},es:{categories:"Categorias",providers:"Proveedores"},tr:{categories:"Kategoriler",providers:"Tedarikçiler"},ru:{categories:"Categories",providers:"Suppliers"},ro:{categories:"Categorii",providers:"Furnizori"},hr:{categories:"Kategorije",providers:"Provideri"},hu:{categories:"Categories",providers:"Suppliers"},pl:{categories:"Categories",providers:"Suppliers"},pt:{categories:"Categories",providers:"Suppliers"},sl:{categories:"Categories",providers:"Suppliers"},sr:{categories:"Categories",providers:"Suppliers"},"pt-br":{categories:"Categorias",providers:"Provedores"},"es-mx":{categories:"Categorias",providers:"Proveedores"}};function Oi(e,t){At(e,t)}const Ii={en:{topCategories:"Top Categories",otherCategories:"Other Categories",loading:"Loading, please wait...",games:"games"},"zh-hk":{topCategories:"热门类别",otherCategories:"其他类别",loading:"加载请稍候...",games:"游戏"},de:{topCategories:"Top Kategorien",otherCategories:"Andere Kategorien",loading:"Es lädt, bitte warten...",games:"Spiele"},it:{topCategories:"Top Categories",otherCategories:"Other Categories",loading:"Loading, please wait...",games:"games"},fr:{topCategories:"Catégories principales",otherCategories:"Autres catégories",loading:"Chargement, veuillez patienter...",games:"jeux"},es:{topCategories:"Categorias Top",otherCategories:"Otras Categorias",loading:"Cargando...",games:"juegos"},tr:{topCategories:"En İyi Kategoriler",otherCategories:"Diğer Kategoriler",loading:"Yükleniyor, lütfen bekleyin...",games:"oyunlar"},ru:{topCategories:"Top Categories",otherCategories:"Other Categories",loading:"Loading, please wait...",games:"games"},ro:{topCategories:"Categorii de top",otherCategories:"Alte categorii",loading:"Se incarca, te rugam asteapta…",games:"jocuri"},hr:{topCategories:"Najbolje kategorije",otherCategories:"Ostale kategorije",loading:"Učitavam",games:"Igre"},hu:{topCategories:"Top Categories",otherCategories:"Other Categories",loading:"Loading, please wait...",games:"games"},pl:{topCategories:"Top Categories",otherCategories:"Other Categories",loading:"Loading, please wait...",games:"games"},pt:{topCategories:"Top Categories",otherCategories:"Other Categories",loading:"Loading, please wait...",games:"games"},sl:{topCategories:"Top Categories",otherCategories:"Other Categories",loading:"Loading, please wait...",games:"games"},sr:{topCategories:"Top Categories",otherCategories:"Other Categories",loading:"Loading, please wait...",games:"games"},"pt-br":{topCategories:"Categorias Principais",otherCategories:"Outras Categorias",Loading:"Carregando, por favor espere...",games:"jogos"},"es-mx":{topCategories:"Categorias Principales",otherCategories:"Otras Categorias",Loading:"Cargando, por favor espere...",games:"juegos"}};
1306
+ /* ../casino-categories/src/CasinoCategories.svelte generated by Svelte v3.59.2 */function Di(e,t,n){const r=e.slice();return r[24]=t[n],r}function Fi(e,t,n){const r=e.slice();return r[24]=t[n],r}
1307
1307
  // (80:2) {:else}
1308
- function Ri(e){let t,n,r,i,a,o,s,l,c=/*$_*/e[5]("topCategories")+"",u=/*$_*/e[5]("otherCategories")+"",g=/*topCategories*/e[3],b=[];for(let t=0;t<g.length;t+=1)b[t]=Ni(Fi(e,g,t));let w=/*otherCategories*/e[4],x=[];for(let t=0;t<w.length;t+=1)x[t]=Hi(Ii(e,w,t));return{c(){t=m("div"),n=m("h4"),r=y(c),i=v();for(let e=0;e<b.length;e+=1)b[e].c();a=v(),o=m("h4"),s=y(u),l=v();for(let e=0;e<x.length;e+=1)x[e].c();_(n,"class","CategoryTitle"),_(o,"class","CategoryTitle"),_(t,"class","CasinoCategories")},m(e,c){d(e,t,c),h(t,n),h(n,r),h(t,i);for(let e=0;e<b.length;e+=1)b[e]&&b[e].m(t,null);h(t,a),h(t,o),h(o,s),h(t,l);for(let e=0;e<x.length;e+=1)x[e]&&x[e].m(t,null)},p(e,n){if(/*$_*/32&n&&c!==(c=/*$_*/e[5]("topCategories")+"")&&S(r,c),/*activecategory, topCategories, openGameCategory, $_*/105&n){let r;for(g=/*topCategories*/e[3],r=0;r<g.length;r+=1){const i=Fi(e,g,r);b[r]?b[r].p(i,n):(b[r]=Ni(i),b[r].c(),b[r].m(t,a))}for(;r<b.length;r+=1)b[r].d(1);b.length=g.length}if(/*$_*/32&n&&u!==(u=/*$_*/e[5]("otherCategories")+"")&&S(s,u),/*activecategory, otherCategories, openGameCategory, $_*/113&n){let r;for(w=/*otherCategories*/e[4],r=0;r<w.length;r+=1){const i=Ii(e,w,r);x[r]?x[r].p(i,n):(x[r]=Hi(i),x[r].c(),x[r].m(t,null))}for(;r<x.length;r+=1)x[r].d(1);x.length=w.length}},d(e){e&&f(t),p(b,e),p(x,e)}}}
1308
+ function Ri(e){let t,n,r,i,a,o,s,l,c=/*$_*/e[5]("topCategories")+"",u=/*$_*/e[5]("otherCategories")+"",g=/*topCategories*/e[3],b=[];for(let t=0;t<g.length;t+=1)b[t]=Ni(Fi(e,g,t));let w=/*otherCategories*/e[4],x=[];for(let t=0;t<w.length;t+=1)x[t]=Hi(Di(e,w,t));return{c(){t=m("div"),n=m("h4"),r=y(c),i=v();for(let e=0;e<b.length;e+=1)b[e].c();a=v(),o=m("h4"),s=y(u),l=v();for(let e=0;e<x.length;e+=1)x[e].c();_(n,"class","CategoryTitle"),_(o,"class","CategoryTitle"),_(t,"class","CasinoCategories")},m(e,c){d(e,t,c),h(t,n),h(n,r),h(t,i);for(let e=0;e<b.length;e+=1)b[e]&&b[e].m(t,null);h(t,a),h(t,o),h(o,s),h(t,l);for(let e=0;e<x.length;e+=1)x[e]&&x[e].m(t,null)},p(e,n){if(/*$_*/32&n&&c!==(c=/*$_*/e[5]("topCategories")+"")&&S(r,c),/*activecategory, topCategories, openGameCategory, $_*/105&n){let r;for(g=/*topCategories*/e[3],r=0;r<g.length;r+=1){const i=Fi(e,g,r);b[r]?b[r].p(i,n):(b[r]=Ni(i),b[r].c(),b[r].m(t,a))}for(;r<b.length;r+=1)b[r].d(1);b.length=g.length}if(/*$_*/32&n&&u!==(u=/*$_*/e[5]("otherCategories")+"")&&S(s,u),/*activecategory, otherCategories, openGameCategory, $_*/113&n){let r;for(w=/*otherCategories*/e[4],r=0;r<w.length;r+=1){const i=Di(e,w,r);x[r]?x[r].p(i,n):(x[r]=Hi(i),x[r].c(),x[r].m(t,null))}for(;r<x.length;r+=1)x[r].d(1);x.length=w.length}},d(e){e&&f(t),p(b,e),p(x,e)}}}
1309
1309
  // (78:2) {#if isLoading}
1310
1310
  function Ai(t){let n;return{c(){n=m("p"),n.textContent="Loading, please wait...",_(n,"class","Message")},m(e,t){d(e,n,t)},p:e,d(e){e&&f(n)}}}
1311
1311
  // (83:4) {#each topCategories as category}
@@ -1316,7 +1316,7 @@ function Hi(e){let t,n,r,i,a,o,s,c,u,p,g,b,x,C,E,T,k,L=/*category*/e[24].name+""
1316
1316
  return e[15](/*category*/e[24])}return{c(){t=m("div"),n=m("img"),a=v(),o=m("div"),s=m("p"),c=y(L),u=v(),p=m("p"),g=y($),b=v(),x=y(G),C=v(),l(n.src,r=/*category*/e[24].icon)||_(n,"src",r),_(n,"alt",i=/*category*/e[24].name),_(n,"class","CategoryImage"),_(o,"class","CategoryTextContainer"),_(t,"class",E="Category "+(/*activecategory*/e[0]===/*category*/e[24].id?"Active":""))},m(e,r){d(e,t,r),h(t,n),h(t,a),h(t,o),h(o,s),h(s,c),h(o,u),h(o,p),h(p,g),h(p,b),h(p,x),h(t,C),T||(k=w(t,"click",P),T=!0)},p(a,o){e=a,/*otherCategories*/16&o&&!l(n.src,r=/*category*/e[24].icon)&&_(n,"src",r),/*otherCategories*/16&o&&i!==(i=/*category*/e[24].name)&&_(n,"alt",i),/*otherCategories*/16&o&&L!==(L=/*category*/e[24].name+"")&&S(c,L),/*otherCategories*/16&o&&$!==($=/*category*/e[24].games.count+"")&&S(g,$),/*$_*/32&o&&G!==(G=/*$_*/e[5]("games")+"")&&S(x,G),/*activecategory, otherCategories*/17&o&&E!==(E="Category "+(/*activecategory*/e[0]===/*category*/e[24].id?"Active":""))&&_(t,"class",E)},d(e){e&&f(t),T=!1,k()}}}function Bi(t){let n;function r(e,t){/*isLoading*/
1317
1317
  return e[2]?Ai:Ri}let i=r(t),a=i(t);return{c(){n=m("div"),a.c(),this.c=e},m(e,r){d(e,n,r),a.m(n,null),
1318
1318
  /*div_binding*/t[16](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:e,o:e,d(e){e&&f(n),a.d(),
1319
- /*div_binding*/t[16](null)}}}function Ui(e,t,n){let r;u(e,kn,(e=>n(5,r=e)));let i,{endpoint:a=""}=t,{datasource:o=""}=t,{lang:s="en"}=t,{activecategory:l=""}=t,{excludedflags:c=""}=t,{clientstyling:h=""}=t,{clientstylingurl:d=""}=t,{translationurl:f=""}=t,p=!1;const m=[];let g=[],y=[];Object.keys(Di).forEach((e=>{Oi(e,Di[e])}));const v=e=>{window.postMessage({type:"OpenGameCategory",categoryId:e},window.location.href)},b=()=>{var e;e=s,sn.set(e)};return e.$$set=e=>{"endpoint"in e&&n(7,a=e.endpoint),"datasource"in e&&n(8,o=e.datasource),"lang"in e&&n(9,s=e.lang),"activecategory"in e&&n(0,l=e.activecategory),"excludedflags"in e&&n(10,c=e.excludedflags),"clientstyling"in e&&n(11,h=e.clientstyling),"clientstylingurl"in e&&n(12,d=e.clientstylingurl),"translationurl"in e&&n(13,f=e.translationurl)},e.$$.update=()=>{/*endpoint, datasource*/384&e.$$.dirty&&a&&o&&(()=>{n(2,p=!0);const e=new URL(`${a}/v1/casino/groups/${o}`);e.searchParams.append("language",s),fetch(e).then((e=>e.json())).then((e=>{n(2,p=!1);const t=c.split(",").map((e=>e.trim()));m.push(...e.items);
1319
+ /*div_binding*/t[16](null)}}}function Ui(e,t,n){let r;u(e,kn,(e=>n(5,r=e)));let i,{endpoint:a=""}=t,{datasource:o=""}=t,{lang:s="en"}=t,{activecategory:l=""}=t,{excludedflags:c=""}=t,{clientstyling:h=""}=t,{clientstylingurl:d=""}=t,{translationurl:f=""}=t,p=!1;const m=[];let g=[],y=[];Object.keys(Ii).forEach((e=>{Oi(e,Ii[e])}));const v=e=>{window.postMessage({type:"OpenGameCategory",categoryId:e},window.location.href)},b=()=>{var e;e=s,sn.set(e)};return e.$$set=e=>{"endpoint"in e&&n(7,a=e.endpoint),"datasource"in e&&n(8,o=e.datasource),"lang"in e&&n(9,s=e.lang),"activecategory"in e&&n(0,l=e.activecategory),"excludedflags"in e&&n(10,c=e.excludedflags),"clientstyling"in e&&n(11,h=e.clientstyling),"clientstylingurl"in e&&n(12,d=e.clientstylingurl),"translationurl"in e&&n(13,f=e.translationurl)},e.$$.update=()=>{/*endpoint, datasource*/384&e.$$.dirty&&a&&o&&(()=>{n(2,p=!0);const e=new URL(`${a}/v1/casino/groups/${o}`);e.searchParams.append("language",s),fetch(e).then((e=>e.json())).then((e=>{n(2,p=!1);const t=c.split(",").map((e=>e.trim()));m.push(...e.items);
1320
1320
  // remove those items which have a flag matching the excluded flags
1321
1321
  const r=m.filter((e=>!t.some((t=>{var n;return(null===(n=e.flags)||void 0===n?void 0:n.indexOf(t))>=0}))));n(3,g=r.filter((e=>!0===e.isTopCategory))),n(4,y=r.filter((e=>!1===e.isTopCategory)))}))})(),/*translationurl*/8192&e.$$.dirty&&f&&fetch(f).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{Oi(t,e[t])}))})).catch((e=>{console.log(e)})),/*lang*/512&e.$$.dirty&&s&&b(),/*clientstyling, customStylingContainer*/2050&e.$$.dirty&&h&&i&&(()=>{let e=document.createElement("style");e.innerHTML=h,i.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/4098&e.$$.dirty&&d&&i&&(()=>{let e=new URL(d),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,setTimeout((()=>{i.appendChild(t)}),1),setTimeout((()=>{}),500)}))})()},[l,i,p,g,y,r,v,a,o,s,c,h,d,f,e=>v(e.id),e=>v(e.id),function(e){P[e?"unshift":"push"]((()=>{i=e,n(1,i)}))}]}!customElements.get("casino-categories")&&customElements.define("casino-categories",class extends z{constructor(e){super();const t=document.createElement("style");t.textContent="*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CasinoCategories{display:flex;flex-direction:column;gap:1rem;padding:10px 60px}.CategoryTitle{font-weight:500;position:relative;right:30px;margin:10px 0;font-size:18px;color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}.Category{border-radius:7px;display:flex;align-items:center;gap:16px;max-width:300px}.Category.Active{box-shadow:15px 15px 30px var(--emfe-w-color-gray-100, #E6E6E6)}.CategoryTextContainer{display:flex;flex-direction:column;justify-content:center;gap:10px;font-size:15px;color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}.CategoryTextContainer p:first-child{font-weight:600;color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}.CategoryTextContainer p:last-child{color:var(--emfe-w-color-gray-150, #828282);font-weight:300}.CategoryImage{border-radius:4px;object-fit:cover;height:64px;width:64px;font-weight:100}.Message{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);font-weight:600}",this.shadowRoot.appendChild(t),W(this,{target:this.shadowRoot,props:k(this.attributes),customElement:!0},Ui,Bi,a,{endpoint:7,datasource:8,lang:9,activecategory:0,excludedflags:10,clientstyling:11,clientstylingurl:12,translationurl:13},null),e&&(e.target&&d(e.target,this,e.anchor),e.props&&(this.$set(e.props),B()))}static get observedAttributes(){return["endpoint","datasource","lang","activecategory","excludedflags","clientstyling","clientstylingurl","translationurl"]}get endpoint(){return this.$$.ctx[7]}set endpoint(e){this.$$set({endpoint:e}),B()}get datasource(){return this.$$.ctx[8]}set datasource(e){this.$$set({datasource:e}),B()}get lang(){return this.$$.ctx[9]}set lang(e){this.$$set({lang:e}),B()}get activecategory(){return this.$$.ctx[0]}set activecategory(e){this.$$set({activecategory:e}),B()}get excludedflags(){return this.$$.ctx[10]}set excludedflags(e){this.$$set({excludedflags:e}),B()}get clientstyling(){return this.$$.ctx[11]}set clientstyling(e){this.$$set({clientstyling:e}),B()}get clientstylingurl(){return this.$$.ctx[12]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),B()}get translationurl(){return this.$$.ctx[13]}set translationurl(e){this.$$set({translationurl:e}),B()}});const Yi={en:{popularProviders:"Popular Suppliers",otherProviders:"Other Suppliers",loading:"Loading, please wait...",games:"games"},"zh-hk":{popularProviders:"热门供应商",otherProviders:"其他供应商",loading:"加载请稍候...",games:"游戏"},de:{popularProviders:"Beliebte Anbieter",otherProviders:"Andere Anbieter",loading:"Es lädt, bitte warten...",games:"Spiele"},it:{popularProviders:"Popular Suppliers",otherProviders:"Other Suppliers",loading:"Loading, please wait",games:"games"},fr:{popularProviders:"Fournisseurs populaires",otherProviders:"Autres fournisseurs",loading:"Chargement, veuillez patienter...",games:"jeux"},es:{popularProviders:"Proveedores Populares",otherProviders:"Otros Proveedores",loading:"Cargando",games:"juegos"},tr:{popularProviders:"Şimdi Oyna",otherProviders:"Rastgele oynanacak oyun yok",loading:"Son arama",games:"Oyunları Ara"},ru:{popularProviders:"Popular Suppliers",otherProviders:"Other Suppliers",loading:"Loading, please wait",games:"games"},ro:{popularProviders:"Furnizori de top",otherProviders:"Alti furnizori",loading:"Se incarca, te rugam asteapta…",games:"jocuri"},hr:{popularProviders:"Popularni brendovi",otherProviders:"Ostali brendovi",loading:"Učitavanje",games:"Igre"},hu:{popularProviders:"Popular Suppliers",otherProviders:"Other Suppliers",loading:"Loading, please wait",games:"games"},pl:{popularProviders:"Popular Suppliers",otherProviders:"Other Suppliers",loading:"Loading, please wait",games:"games"},pt:{popularProviders:"Popular Suppliers",otherProviders:"Other Suppliers",loading:"Loading, please wait",games:"games"},sl:{popularProviders:"Popular Suppliers",otherProviders:"Other Suppliers",loading:"Loading, please wait",games:"games"},sr:{popularProviders:"Popular Suppliers",otherProviders:"Other Suppliers",loading:"Loading, please wait",games:"games"},"pt-br":{popularProviders:"provedores populares",otherProviders:"Outros provedores",Loading:"Carregando",games:"jogos"},"es-mx":{popularProviders:"Proveedores Populares",otherProviders:"Otros proveedores",Loading:"Cargando, por favor espere...",games:"juegos"}};function ji(e,t){At(e,t)}
1322
1322
  /* ../casino-providers/src/CasinoProviders.svelte generated by Svelte v3.59.2 */
@@ -1335,8 +1335,8 @@ return!0===e[3]?Ki:Vi}let i=r(t),a=i(t);return{c(){n=m("div"),a.c(),this.c=e,_(n
1335
1335
  /*div_binding*/t[14](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:e,o:e,d(e){e&&f(n),a.d(),
1336
1336
  /*div_binding*/t[14](null)}}}function Ji(e,t,n){let r;u(e,kn,(e=>n(4,r=e)));let i,{endpoint:a=""}=t,{datasource:o=""}=t,{lang:s="en"}=t,{clientstyling:l=""}=t,{clientstylingurl:c=""}=t,{translationurl:h=""}=t,d=[],f=[],p=[],m=!1;Object.keys(Yi).forEach((e=>{ji(e,Yi[e])}));const g=(e,t,n)=>{window.postMessage({type:"OpenGameProvider",providerId:e,providerName:t,providerLogo:n},window.location.href)},y=()=>{var e;e=s,sn.set(e)};return e.$$set=e=>{"endpoint"in e&&n(6,a=e.endpoint),"datasource"in e&&n(7,o=e.datasource),"lang"in e&&n(8,s=e.lang),"clientstyling"in e&&n(9,l=e.clientstyling),"clientstylingurl"in e&&n(10,c=e.clientstylingurl),"translationurl"in e&&n(11,h=e.translationurl)},e.$$.update=()=>{/*endpoint, lang, datasource*/448&e.$$.dirty&&a&&s&&o&&(()=>{n(3,m=!0);const e=new URL(`${a}/v1/casino/vendors`);e.searchParams.append("datasource",o),e.searchParams.append("language",s),e.searchParams.append("fields","id,name,displayName,subVendors,isTopVendor,logo,games"),fetch(e).then((e=>e.json())).then((e=>{n(3,m=!1),d=e.items.map((e=>e)),n(1,f=d.filter((e=>!0===e.isTopVendor))),n(2,p=d.filter((e=>!1===e.isTopVendor)));let t=[];t=d.flatMap((e=>e.subVendors)),p.push(...t.filter((e=>e.games.count>0)))}))})(),/*lang*/256&e.$$.dirty&&s&&y(),/*translationurl*/2048&e.$$.dirty&&h&&fetch(h).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{ji(t,e[t])}))})).catch((e=>{console.log(e)})),/*clientstyling, customStylingContainer*/513&e.$$.dirty&&l&&i&&(()=>{let e=document.createElement("style");e.innerHTML=l,i.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/1025&e.$$.dirty&&c&&i&&(()=>{let e=new URL(c),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,setTimeout((()=>{i.appendChild(t)}),1)}))})()},[i,f,p,m,r,g,a,o,s,l,c,h,e=>g(e.id,e.name,e.logo),e=>g(e.id,e.name,e.logo),function(e){P[e?"unshift":"push"]((()=>{i=e,n(0,i)}))}]}
1337
1337
  /* ../casino-categories-providers/src/CasinoCategoriesProviders.svelte generated by Svelte v3.59.2 */
1338
- function Qi(t){let n,i,a,o,s,l,c,u,p,g,b,C,E,T,k,L,$,G,P,M,O=/*$_*/t[11]("categories")+"",D=/*$_*/t[11]("providers")+"";return{c(){n=m("div"),i=m("div"),a=m("div"),o=m("button"),s=y(O),c=v(),u=m("button"),p=y(D),b=v(),C=m("div"),E=m("casino-categories"),k=v(),L=m("div"),$=m("casino-providers"),this.c=e,_(o,"class",l="HeaderButton "+(/*activeTab*/"categories"===t[10]?"Active":"")),_(u,"class",g="HeaderButton "+(/*activeTab*/"providers"===t[10]?"Active":"")),_(a,"class","Header"),x(E,"endpoint",/*endpointcategories*/t[0]),x(E,"datasource",/*datasourcecategories*/t[1]),x(E,"activecategory",/*activecategory*/t[2]),x(E,"excludedflags",/*excludedflags*/t[5]),x(E,"lang",/*lang*/t[6]),x(E,"clientstyling",/*clientstyling*/t[7]),x(E,"clientstylingurl",/*clientstylingurl*/t[8]),_(C,"class",T=/*activeTab*/"providers"===t[10]?"NotVisible":""),x($,"endpoint",/*endpointproviders*/t[3]),x($,"datasource",/*datasourceproviders*/t[4]),x($,"lang",/*lang*/t[6]),x($,"clientstyling",/*clientstyling*/t[7]),x($,"clientstylingurl",/*clientstylingurl*/t[8]),_(L,"class",G=/*activeTab*/"categories"===t[10]?"NotVisible":""),_(i,"class","CasinoCategoriesProviders")},m(e,r){d(e,n,r),h(n,i),h(i,a),h(a,o),h(o,s),h(a,c),h(a,u),h(u,p),h(i,b),h(i,C),h(C,E),h(i,k),h(i,L),h(L,$),
1339
- /*div4_binding*/t[16](n),P||(M=[w(o,"click",/*click_handler*/t[14]),w(u,"click",/*click_handler_1*/t[15])],P=!0)},p(e,[t]){/*$_*/2048&t&&O!==(O=/*$_*/e[11]("categories")+"")&&S(s,O),/*activeTab*/1024&t&&l!==(l="HeaderButton "+(/*activeTab*/"categories"===e[10]?"Active":""))&&_(o,"class",l),/*$_*/2048&t&&D!==(D=/*$_*/e[11]("providers")+"")&&S(p,D),/*activeTab*/1024&t&&g!==(g="HeaderButton "+(/*activeTab*/"providers"===e[10]?"Active":""))&&_(u,"class",g),/*endpointcategories*/1&t&&x(E,"endpoint",/*endpointcategories*/e[0]),/*datasourcecategories*/2&t&&x(E,"datasource",/*datasourcecategories*/e[1]),/*activecategory*/4&t&&x(E,"activecategory",/*activecategory*/e[2]),/*excludedflags*/32&t&&x(E,"excludedflags",/*excludedflags*/e[5]),/*lang*/64&t&&x(E,"lang",/*lang*/e[6]),/*clientstyling*/128&t&&x(E,"clientstyling",/*clientstyling*/e[7]),/*clientstylingurl*/256&t&&x(E,"clientstylingurl",/*clientstylingurl*/e[8]),/*activeTab*/1024&t&&T!==(T=/*activeTab*/"providers"===e[10]?"NotVisible":"")&&_(C,"class",T),/*endpointproviders*/8&t&&x($,"endpoint",/*endpointproviders*/e[3]),/*datasourceproviders*/16&t&&x($,"datasource",/*datasourceproviders*/e[4]),/*lang*/64&t&&x($,"lang",/*lang*/e[6]),/*clientstyling*/128&t&&x($,"clientstyling",/*clientstyling*/e[7]),/*clientstylingurl*/256&t&&x($,"clientstylingurl",/*clientstylingurl*/e[8]),/*activeTab*/1024&t&&G!==(G=/*activeTab*/"categories"===e[10]?"NotVisible":"")&&_(L,"class",G)},i:e,o:e,d(e){e&&f(n)
1338
+ function Qi(t){let n,i,a,o,s,l,c,u,p,g,b,C,E,T,k,L,$,G,P,M,O=/*$_*/t[11]("categories")+"",I=/*$_*/t[11]("providers")+"";return{c(){n=m("div"),i=m("div"),a=m("div"),o=m("button"),s=y(O),c=v(),u=m("button"),p=y(I),b=v(),C=m("div"),E=m("casino-categories"),k=v(),L=m("div"),$=m("casino-providers"),this.c=e,_(o,"class",l="HeaderButton "+(/*activeTab*/"categories"===t[10]?"Active":"")),_(u,"class",g="HeaderButton "+(/*activeTab*/"providers"===t[10]?"Active":"")),_(a,"class","Header"),x(E,"endpoint",/*endpointcategories*/t[0]),x(E,"datasource",/*datasourcecategories*/t[1]),x(E,"activecategory",/*activecategory*/t[2]),x(E,"excludedflags",/*excludedflags*/t[5]),x(E,"lang",/*lang*/t[6]),x(E,"clientstyling",/*clientstyling*/t[7]),x(E,"clientstylingurl",/*clientstylingurl*/t[8]),_(C,"class",T=/*activeTab*/"providers"===t[10]?"NotVisible":""),x($,"endpoint",/*endpointproviders*/t[3]),x($,"datasource",/*datasourceproviders*/t[4]),x($,"lang",/*lang*/t[6]),x($,"clientstyling",/*clientstyling*/t[7]),x($,"clientstylingurl",/*clientstylingurl*/t[8]),_(L,"class",G=/*activeTab*/"categories"===t[10]?"NotVisible":""),_(i,"class","CasinoCategoriesProviders")},m(e,r){d(e,n,r),h(n,i),h(i,a),h(a,o),h(o,s),h(a,c),h(a,u),h(u,p),h(i,b),h(i,C),h(C,E),h(i,k),h(i,L),h(L,$),
1339
+ /*div4_binding*/t[16](n),P||(M=[w(o,"click",/*click_handler*/t[14]),w(u,"click",/*click_handler_1*/t[15])],P=!0)},p(e,[t]){/*$_*/2048&t&&O!==(O=/*$_*/e[11]("categories")+"")&&S(s,O),/*activeTab*/1024&t&&l!==(l="HeaderButton "+(/*activeTab*/"categories"===e[10]?"Active":""))&&_(o,"class",l),/*$_*/2048&t&&I!==(I=/*$_*/e[11]("providers")+"")&&S(p,I),/*activeTab*/1024&t&&g!==(g="HeaderButton "+(/*activeTab*/"providers"===e[10]?"Active":""))&&_(u,"class",g),/*endpointcategories*/1&t&&x(E,"endpoint",/*endpointcategories*/e[0]),/*datasourcecategories*/2&t&&x(E,"datasource",/*datasourcecategories*/e[1]),/*activecategory*/4&t&&x(E,"activecategory",/*activecategory*/e[2]),/*excludedflags*/32&t&&x(E,"excludedflags",/*excludedflags*/e[5]),/*lang*/64&t&&x(E,"lang",/*lang*/e[6]),/*clientstyling*/128&t&&x(E,"clientstyling",/*clientstyling*/e[7]),/*clientstylingurl*/256&t&&x(E,"clientstylingurl",/*clientstylingurl*/e[8]),/*activeTab*/1024&t&&T!==(T=/*activeTab*/"providers"===e[10]?"NotVisible":"")&&_(C,"class",T),/*endpointproviders*/8&t&&x($,"endpoint",/*endpointproviders*/e[3]),/*datasourceproviders*/16&t&&x($,"datasource",/*datasourceproviders*/e[4]),/*lang*/64&t&&x($,"lang",/*lang*/e[6]),/*clientstyling*/128&t&&x($,"clientstyling",/*clientstyling*/e[7]),/*clientstylingurl*/256&t&&x($,"clientstylingurl",/*clientstylingurl*/e[8]),/*activeTab*/1024&t&&G!==(G=/*activeTab*/"categories"===e[10]?"NotVisible":"")&&_(L,"class",G)},i:e,o:e,d(e){e&&f(n)
1340
1340
  /*div4_binding*/,t[16](null),P=!1,r(M)}}}function ea(e,t,n){let r;u(e,kn,(e=>n(11,r=e)));let i,{endpointcategories:a=""}=t,{datasourcecategories:o=""}=t,{activecategory:s=""}=t,{endpointproviders:l=""}=t,{datasourceproviders:c=""}=t,{excludedflags:h=""}=t,{lang:d="en"}=t,{clientstyling:f=""}=t,{clientstylingurl:p=""}=t,{translationurl:m=""}=t,g="categories";Object.keys(Mi).forEach((e=>{Pi(e,Mi[e])}));const y=e=>{g!==e&&n(10,g=e)},v=()=>{var e;e=d,sn.set(e)};return e.$$set=e=>{"endpointcategories"in e&&n(0,a=e.endpointcategories),"datasourcecategories"in e&&n(1,o=e.datasourcecategories),"activecategory"in e&&n(2,s=e.activecategory),"endpointproviders"in e&&n(3,l=e.endpointproviders),"datasourceproviders"in e&&n(4,c=e.datasourceproviders),"excludedflags"in e&&n(5,h=e.excludedflags),"lang"in e&&n(6,d=e.lang),"clientstyling"in e&&n(7,f=e.clientstyling),"clientstylingurl"in e&&n(8,p=e.clientstylingurl),"translationurl"in e&&n(13,m=e.translationurl)},e.$$.update=()=>{/*translationurl*/8192&e.$$.dirty&&m&&fetch(m).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{Pi(t,e[t])}))})).catch((e=>{console.log(e)})),/*lang*/64&e.$$.dirty&&d&&v(),/*clientstyling, customStylingContainer*/640&e.$$.dirty&&f&&i&&(()=>{let e=document.createElement("style");e.innerHTML=f,i.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/768&e.$$.dirty&&p&&i&&(()=>{let e=new URL(p),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,setTimeout((()=>{i.appendChild(t)}),1),setTimeout((()=>{}),500)}))})()},[a,o,s,l,c,h,d,f,p,i,g,r,y,m,()=>y("categories"),()=>y("providers"),function(e){P[e?"unshift":"push"]((()=>{i=e,n(9,i)}))}]}!customElements.get("casino-providers")&&customElements.define("casino-providers",class extends z{constructor(e){super();const t=document.createElement("style");t.textContent="*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CasinoProviders{display:flex;flex-direction:column;gap:1rem;padding:10px 60px}.ProviderTitle{font-weight:500;position:relative;right:30px;margin:10px 0}.Provider{border-radius:7px;display:flex;align-items:center;gap:16px;max-width:300px}.ProviderTextContainer{display:flex;flex-direction:column;justify-content:center;gap:10px;font-size:15px;color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}.ProviderTextContainer p:first-child{font-weight:600;color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}.ProviderTextContainer p:last-child{color:var(--emfe-w-color-gray-150, #828282);font-weight:300}.ProviderImage{border-radius:4px;object-fit:contain;height:64px;width:64px;font-weight:100;border:0.5px solid var(--emfe-w-color-gray-100, #E6E6E6);overflow:hidden;object-fit:contain}.Message{font-weight:600;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}",this.shadowRoot.appendChild(t),W(this,{target:this.shadowRoot,props:k(this.attributes),customElement:!0},Ji,qi,a,{endpoint:6,datasource:7,lang:8,clientstyling:9,clientstylingurl:10,translationurl:11},null),e&&(e.target&&d(e.target,this,e.anchor),e.props&&(this.$set(e.props),B()))}static get observedAttributes(){return["endpoint","datasource","lang","clientstyling","clientstylingurl","translationurl"]}get endpoint(){return this.$$.ctx[6]}set endpoint(e){this.$$set({endpoint:e}),B()}get datasource(){return this.$$.ctx[7]}set datasource(e){this.$$set({datasource:e}),B()}get lang(){return this.$$.ctx[8]}set lang(e){this.$$set({lang: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()}});
1341
1341
  /* src/CasinoNavigationSearch.svelte generated by Svelte v3.59.2 */
1342
1342
  function ta(t){let n,r,i,a,o,s,l;return{c(){n=m("div"),r=m("div"),i=m("casino-search"),a=v(),o=m("div"),s=m("casino-categories-providers"),this.c=e,x(i,"endpoint",/*endpoint*/t[0]),x(i,"datasource",/*datasource*/t[5]),x(i,"lang",/*lang*/t[9]),x(i,"session",/*session*/t[1]),x(i,"userid",/*userid*/t[2]),x(i,"showfavorites",/*showfavorites*/t[8]),x(i,"clientstyling",/*clientstyling*/t[10]),x(i,"clientstylingurl",/*clientstylingurl*/t[11]),x(i,"integratedgameframedesktop",/*integratedgameframedesktop*/t[12]),x(i,"integratedgameframemobile",/*integratedgameframemobile*/t[13]),x(i,"gamepagemodalurl",/*gamepagemodalurl*/t[14]),x(s,"endpointcategories",/*endpointcategories*/t[3]),x(s,"datasourcecategories",/*datasource*/t[5]),x(s,"activecategory",/*activecategory*/t[6]),x(s,"endpointproviders",/*endpointproviders*/t[4]),x(s,"datasourceproviders",/*datasource*/t[5]),x(s,"excludedflags",/*excludedflags*/t[7]),x(s,"lang",/*lang*/t[9]),x(s,"clientstyling",/*clientstyling*/t[10]),x(s,"clientstylingurl",/*clientstylingurl*/t[11]),_(o,"class",l=/*searchActive*/!0===t[16]?"NotVisible":"")},m(e,l){d(e,n,l),h(n,r),h(r,i),h(n,a),h(n,o),h(o,s),