@everymatrix/casino-tournaments-customize-page-controller 1.86.2 → 1.86.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (35) hide show
  1. package/components/{CasinoTournamentsCustomizePageController-G1DWAdJ5.js → CasinoTournamentsCustomizePageController-2YHWetj0.js} +2525 -2544
  2. package/components/{CasinoTournamentsCustomizePageController-DduD18CQ.js → CasinoTournamentsCustomizePageController-6bbEQucv.js} +2519 -2538
  3. package/components/CasinoTournamentsCustomizePageController-BKBGuODz.cjs +37 -0
  4. package/es2015/casino-tournaments-customize-page-controller.cjs +1 -1
  5. package/es2015/casino-tournaments-customize-page-controller.js +1 -1
  6. package/esnext/casino-tournaments-customize-page-controller.js +1 -1
  7. package/package.json +1 -1
  8. package/stencil/index-97d17652-DvplcHtm.js +558 -0
  9. package/stencil/index-97d17652-ILzgTtTR.cjs +1 -0
  10. package/stencil/index-97d17652-p-iQtjus.js +542 -0
  11. package/stencil/index-b2193545-RI3PckwN.js +503 -0
  12. package/stencil/index-b2193545-qC7jkIQW.cjs +1 -0
  13. package/stencil/index-b2193545-w9rTFozR.js +519 -0
  14. package/stencil/{ui-image-O0NdjWCu.js → ui-image-2Wo8bNh1.js} +1 -1
  15. package/stencil/{ui-image-DUHLTRXs.cjs → ui-image-83gG286t.cjs} +1 -1
  16. package/stencil/{ui-image-Cs_BBOYl.js → ui-image-DLoBAw4w.js} +1 -1
  17. package/stencil/{ui-image-b7b48fe5-BKRtoUuG.js → ui-image-b7b48fe5-CBB2FKRZ.js} +1 -1
  18. package/stencil/{ui-image-b7b48fe5-MC0x5ZQd.cjs → ui-image-b7b48fe5-DjCO-ZF4.cjs} +1 -1
  19. package/stencil/{ui-image-b7b48fe5-HA45CrsG.js → ui-image-b7b48fe5-rCWcyktd.js} +1 -1
  20. package/stencil/{ui-image_2-CmVho0dS.js → ui-image_2-BESQEo1l.js} +2 -2
  21. package/stencil/{ui-image_2-Daq38JGa.js → ui-image_2-BfZmduAK.js} +2 -2
  22. package/stencil/{ui-image_2-CyqE6j_W.cjs → ui-image_2-ZFidgTXM.cjs} +1 -1
  23. package/stencil/{ui-skeleton-i9jZ615T.js → ui-skeleton-BOZjVV7m.js} +2 -2
  24. package/stencil/{ui-skeleton-Yn79cPkz.js → ui-skeleton-Czz99elh.js} +2 -2
  25. package/stencil/{ui-skeleton-ed169f8f-B-SERL0D.js → ui-skeleton-ed169f8f-DTd-f9E3.js} +1 -1
  26. package/stencil/{ui-skeleton-ed169f8f-BRUG1h6n.cjs → ui-skeleton-ed169f8f-DiR5y84l.cjs} +1 -1
  27. package/stencil/{ui-skeleton-ed169f8f-UdVwF_E9.js → ui-skeleton-ed169f8f-F5Pn7BxE.js} +1 -1
  28. package/stencil/{ui-skeleton-B0E7XBJC.cjs → ui-skeleton-hbyf6ZV-.cjs} +1 -1
  29. package/components/CasinoTournamentsCustomizePageController-bl7ruFCw.cjs +0 -37
  30. package/stencil/index-97d17652-B6BYeRne.js +0 -542
  31. package/stencil/index-97d17652-BOr4KAqq.js +0 -558
  32. package/stencil/index-97d17652-zTl06Vn9.cjs +0 -1
  33. package/stencil/index-b2193545-BpG2toSK.js +0 -503
  34. package/stencil/index-b2193545-DfeVnolx.cjs +0 -1
  35. package/stencil/index-b2193545-DuA2iMSm.js +0 -519
@@ -0,0 +1,37 @@
1
+ "use strict";var e0=Object.defineProperty,t0=Object.defineProperties;var r0=Object.getOwnPropertyDescriptors;var Da=Object.getOwnPropertySymbols;var n0=Object.prototype.hasOwnProperty,i0=Object.prototype.propertyIsEnumerable;var si=(t,e,r)=>e in t?e0(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,ar=(t,e)=>{for(var r in e||(e={}))n0.call(e,r)&&si(t,r,e[r]);if(Da)for(var r of Da(e))i0.call(e,r)&&si(t,r,e[r]);return t},La=(t,e)=>t0(t,r0(e));var yt=(t,e,r)=>(si(t,typeof e!="symbol"?e+"":e,r),r);var Wr=(t,e,r)=>new Promise((n,i)=>{var a=l=>{try{o(r.next(l))}catch(u){i(u)}},s=l=>{try{o(r.throw(l))}catch(u){i(u)}},o=l=>l.done?n(l.value):Promise.resolve(l.value).then(a,s);o((r=r.apply(t,e)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("../stencil/ui-skeleton-hbyf6ZV-.cjs");require("../stencil/ui-image-83gG286t.cjs");function J(){}function qt(t,e){for(const r in e)t[r]=e[r];return t}function go(t){return t()}function Ea(){return Object.create(null)}function Ft(t){t.forEach(go)}function Kt(t){return typeof t=="function"}function je(t,e){return t!=t?e==e:t!==e||t&&typeof t=="object"||typeof t=="function"}let mn;function Ye(t,e){return t===e?!0:(mn||(mn=document.createElement("a")),mn.href=e,t===mn.href)}function a0(t){return Object.keys(t).length===0}function bo(t,...e){if(t==null){for(const n of e)n(void 0);return J}const r=t.subscribe(...e);return r.unsubscribe?()=>r.unsubscribe():r}function wt(t,e,r){t.$$.on_destroy.push(bo(e,r))}function s0(t,e,r,n){if(t){const i=_o(t,e,r,n);return t[0](i)}}function _o(t,e,r,n){return t[1]&&n?qt(r.ctx.slice(),t[1](n(e))):r.ctx}function o0(t,e,r,n){if(t[2]&&n){const i=t[2](n(r));if(e.dirty===void 0)return i;if(typeof i=="object"){const a=[],s=Math.max(e.dirty.length,i.length);for(let o=0;o<s;o+=1)a[o]=e.dirty[o]|i[o];return a}return e.dirty|i}return e.dirty}function l0(t,e,r,n,i,a){if(i){const s=_o(e,r,n,a);t.p(s,i)}}function u0(t){if(t.ctx.length>32){const e=[],r=t.ctx.length/32;for(let n=0;n<r;n++)e[n]=-1;return e}return-1}function Ma(t){const e={};for(const r in t)r[0]!=="$"&&(e[r]=t[r]);return e}function $t(t){return t&&Kt(t.destroy)?t.destroy:J}function m(t,e){t.appendChild(e)}function _r(t,e,r){const n=c0(t);if(!n.getElementById(e)){const i=b("style");i.id=e,i.textContent=r,f0(n,i)}}function c0(t){if(!t)return document;const e=t.getRootNode?t.getRootNode():t.ownerDocument;return e&&e.host?e:t.ownerDocument}function f0(t,e){return m(t.head||t,e),e.sheet}function C(t,e,r){t.insertBefore(e,r||null)}function y(t){t.parentNode&&t.parentNode.removeChild(t)}function ft(t,e){for(let r=0;r<t.length;r+=1)t[r]&&t[r].d(e)}function b(t){return document.createElement(t)}function $e(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function z(t){return document.createTextNode(t)}function H(){return z(" ")}function de(){return z("")}function tt(t,e,r,n){return t.addEventListener(e,r,n),()=>t.removeEventListener(e,r,n)}function c(t,e,r){r==null?t.removeAttribute(e):t.getAttribute(e)!==r&&t.setAttribute(e,r)}function d0(t){return Array.from(t.childNodes)}function W(t,e){e=""+e,t.data!==e&&(t.data=e)}function Rt(t,e,r,n){r==null?t.style.removeProperty(e):t.style.setProperty(e,r,"")}function pn(t,e,r){t.classList.toggle(e,!!r)}function h0(t){const e={};return t.childNodes.forEach(r=>{e[r.slot||"default"]=!0}),e}function Rr(t,e){return new t(e)}let tn;function Kr(t){tn=t}function yo(){if(!tn)throw new Error("Function called outside component initialization");return tn}function er(t){yo().$$.on_mount.push(t)}const kr=[],rn=[];let xr=[];const Ra=[],m0=Promise.resolve();let yi=!1;function p0(){yi||(yi=!0,m0.then(x))}function Ci(t){xr.push(t)}const oi=new Set;let wr=0;function x(){if(wr!==0)return;const t=tn;do{try{for(;wr<kr.length;){const e=kr[wr];wr++,Kr(e),g0(e.$$)}}catch(e){throw kr.length=0,wr=0,e}for(Kr(null),kr.length=0,wr=0;rn.length;)rn.pop()();for(let e=0;e<xr.length;e+=1){const r=xr[e];oi.has(r)||(oi.add(r),r())}xr.length=0}while(kr.length);for(;Ra.length;)Ra.pop()();yi=!1,oi.clear(),Kr(t)}function g0(t){if(t.fragment!==null){t.update(),Ft(t.before_update);const e=t.dirty;t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(Ci)}}function b0(t){const e=[],r=[];xr.forEach(n=>t.indexOf(n)===-1?e.push(n):r.push(n)),r.forEach(n=>n()),xr=e}const Cn=new Set;let pr;function lt(){pr={r:0,c:[],p:pr}}function ut(){pr.r||Ft(pr.c),pr=pr.p}function oe(t,e){t&&t.i&&(Cn.delete(t),t.i(e))}function _e(t,e,r,n){if(t&&t.o){if(Cn.has(t))return;Cn.add(t),pr.c.push(()=>{Cn.delete(t),n&&(r&&t.d(1),n())}),t.o(e)}else n&&n()}function Ee(t){return(t==null?void 0:t.length)!==void 0?t:Array.from(t)}function Ar(t,e){const r={},n={},i={$$scope:1};let a=t.length;for(;a--;){const s=t[a],o=e[a];if(o){for(const l in s)l in o||(n[l]=1);for(const l in o)i[l]||(r[l]=o[l],i[l]=1);t[a]=o}else for(const l in s)i[l]=1}for(const s in n)s in r||(r[s]=void 0);return r}function Fr(t){return typeof t=="object"&&t!==null?t:{}}function cr(t){t&&t.c()}function Jt(t,e,r){const{fragment:n,after_update:i}=t.$$;n&&n.m(e,r),Ci(()=>{const a=t.$$.on_mount.map(go).filter(Kt);t.$$.on_destroy?t.$$.on_destroy.push(...a):Ft(a),t.$$.on_mount=[]}),i.forEach(Ci)}function Zt(t,e){const r=t.$$;r.fragment!==null&&(b0(r.after_update),Ft(r.on_destroy),r.fragment&&r.fragment.d(e),r.on_destroy=r.fragment=null,r.ctx=[])}function _0(t,e){t.$$.dirty[0]===-1&&(kr.push(t),p0(),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<<e%31}function We(t,e,r,n,i,a,s=null,o=[-1]){const l=tn;Kr(t);const u=t.$$={fragment:null,ctx:[],props:a,update:J,not_equal:i,bound:Ea(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(l?l.$$.context:[])),callbacks:Ea(),dirty:o,skip_bound:!1,root:e.target||l.$$.root};s&&s(u.root);let f=!1;if(u.ctx=r?r(t,e.props||{},(d,h,...p)=>{const _=p.length?p[0]:h;return u.ctx&&i(u.ctx[d],u.ctx[d]=_)&&(!u.skip_bound&&u.bound[d]&&u.bound[d](_),f&&_0(t,d)),h}):[],u.update(),f=!0,Ft(u.before_update),u.fragment=n?n(u.ctx):!1,e.target){if(e.hydrate){const d=d0(e.target);u.fragment&&u.fragment.l(d),d.forEach(y)}else u.fragment&&u.fragment.c();e.intro&&oe(t.$$.fragment),Jt(t,e.target,e.anchor),x()}Kr(l)}let Co;typeof HTMLElement=="function"&&(Co=class extends HTMLElement{constructor(e,r,n){super();yt(this,"$$ctor");yt(this,"$$s");yt(this,"$$c");yt(this,"$$cn",!1);yt(this,"$$d",{});yt(this,"$$r",!1);yt(this,"$$p_d",{});yt(this,"$$l",{});yt(this,"$$l_u",new Map);this.$$ctor=e,this.$$s=r,n&&this.attachShadow({mode:"open"})}addEventListener(e,r,n){if(this.$$l[e]=this.$$l[e]||[],this.$$l[e].push(r),this.$$c){const i=this.$$c.$on(e,r);this.$$l_u.set(r,i)}super.addEventListener(e,r,n)}removeEventListener(e,r,n){if(super.removeEventListener(e,r,n),this.$$c){const i=this.$$l_u.get(r);i&&(i(),this.$$l_u.delete(r))}}connectedCallback(){return Wr(this,null,function*(){if(this.$$cn=!0,!this.$$c){let e=function(a){return()=>{let s;return{c:function(){s=b("slot"),a!=="default"&&c(s,"name",a)},m:function(u,f){C(u,s,f)},d:function(u){u&&y(s)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const r={},n=h0(this);for(const a of this.$$s)a in n&&(r[a]=[e(a)]);for(const a of this.attributes){const s=this.$$g_p(a.name);s in this.$$d||(this.$$d[s]=wn(s,a.value,this.$$p_d,"toProp"))}for(const a in this.$$p_d)!(a in this.$$d)&&this[a]!==void 0&&(this.$$d[a]=this[a],delete this[a]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:La(ar({},this.$$d),{$$slots:r,$$scope:{ctx:[]}})});const i=()=>{this.$$r=!0;for(const a in this.$$p_d)if(this.$$d[a]=this.$$c.$$.ctx[this.$$c.$$.props[a]],this.$$p_d[a].reflect){const s=wn(a,this.$$d[a],this.$$p_d,"toAttribute");s==null?this.removeAttribute(this.$$p_d[a].attribute||a):this.setAttribute(this.$$p_d[a].attribute||a,s)}this.$$r=!1};this.$$c.$$.after_update.push(i),i();for(const a in this.$$l)for(const s of this.$$l[a]){const o=this.$$c.$on(a,s);this.$$l_u.set(s,o)}this.$$l={}}})}attributeChangedCallback(e,r,n){var i;this.$$r||(e=this.$$g_p(e),this.$$d[e]=wn(e,n,this.$$p_d,"toProp"),(i=this.$$c)==null||i.$set({[e]:this.$$d[e]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$c=void 0)})}$$g_p(e){return Object.keys(this.$$p_d).find(r=>this.$$p_d[r].attribute===e||!this.$$p_d[r].attribute&&r.toLowerCase()===e)||e}});function wn(t,e,r,n){var a;const i=(a=r[t])==null?void 0:a.type;if(e=i==="Boolean"&&typeof e!="boolean"?e!=null:e,!n||!r[t])return e;if(n==="toAttribute")switch(i){case"Object":case"Array":return e==null?null:JSON.stringify(e);case"Boolean":return e?"":null;case"Number":return e==null?null:e;default:return e}else switch(i){case"Object":case"Array":return e&&JSON.parse(e);case"Boolean":return e;case"Number":return e!=null?+e:e;default:return e}}function Ve(t,e,r,n,i,a){let s=class extends Co{constructor(){super(t,r,i),this.$$p_d=e}static get observedAttributes(){return Object.keys(e).map(o=>(e[o].attribute||o).toLowerCase())}};return Object.keys(e).forEach(o=>{Object.defineProperty(s.prototype,o,{get(){return this.$$c&&o in this.$$c?this.$$c[o]:this.$$d[o]},set(l){var u;l=wn(o,l,e),this.$$d[o]=l,(u=this.$$c)==null||u.$set({[o]:l})}})}),n.forEach(o=>{Object.defineProperty(s.prototype,o,{get(){var l;return(l=this.$$c)==null?void 0:l[o]}})}),t.element=s,s}class qe{constructor(){yt(this,"$$");yt(this,"$$set")}$destroy(){Zt(this,1),this.$destroy=J}$on(e,r){if(!Kt(r))return J;const n=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return n.push(r),()=>{const i=n.indexOf(r);i!==-1&&n.splice(i,1)}}$set(e){this.$$set&&!a0(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}const y0="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(y0);const vr=[];function C0(t,e){return{subscribe:Hn(t,e).subscribe}}function Hn(t,e=J){let r;const n=new Set;function i(o){if(je(t,o)&&(t=o,r)){const l=!vr.length;for(const u of n)u[1](),vr.push(u,t);if(l){for(let u=0;u<vr.length;u+=2)vr[u][0](vr[u+1]);vr.length=0}}}function a(o){i(o(t))}function s(o,l=J){const u=[o,l];return n.add(u),n.size===1&&(r=e(i,a)||J),o(t),()=>{n.delete(u),n.size===0&&r&&(r(),r=null)}}return{set:i,update:a,subscribe:s}}function Hr(t,e,r){const n=!Array.isArray(t),i=n?[t]:t;if(!i.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const a=e.length<2;return C0(r,(s,o)=>{let l=!1;const u=[];let f=0,d=J;const h=()=>{if(f)return;d();const _=e(n?u[0]:u,s,o);a?s(_):d=Kt(_)?_:J},p=i.map((_,g)=>bo(_,P=>{u[g]=P,f&=~(1<<g),l&&h()},()=>{f|=1<<g}));return l=!0,h(),function(){Ft(p),d(),l=!1}})}var w0=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function v0(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var T0=function(e){return k0(e)&&!S0(e)};function k0(t){return!!t&&typeof t=="object"}function S0(t){var e=Object.prototype.toString.call(t);return e==="[object RegExp]"||e==="[object Date]"||D0(t)}var P0=typeof Symbol=="function"&&Symbol.for,x0=P0?Symbol.for("react.element"):60103;function D0(t){return t.$$typeof===x0}function L0(t){return Array.isArray(t)?[]:{}}function nn(t,e){return e.clone!==!1&&e.isMergeableObject(t)?zr(L0(t),t,e):t}function E0(t,e,r){return t.concat(e).map(function(n){return nn(n,r)})}function M0(t,e){if(!e.customMerge)return zr;var r=e.customMerge(t);return typeof r=="function"?r:zr}function R0(t){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return Object.propertyIsEnumerable.call(t,e)}):[]}function Aa(t){return Object.keys(t).concat(R0(t))}function wo(t,e){try{return e in t}catch(r){return!1}}function A0(t,e){return wo(t,e)&&!(Object.hasOwnProperty.call(t,e)&&Object.propertyIsEnumerable.call(t,e))}function F0(t,e,r){var n={};return r.isMergeableObject(t)&&Aa(t).forEach(function(i){n[i]=nn(t[i],r)}),Aa(e).forEach(function(i){A0(t,i)||(wo(t,i)&&r.isMergeableObject(e[i])?n[i]=M0(i,r)(t[i],e[i],r):n[i]=nn(e[i],r))}),n}function zr(t,e,r){r=r||{},r.arrayMerge=r.arrayMerge||E0,r.isMergeableObject=r.isMergeableObject||T0,r.cloneUnlessOtherwiseSpecified=nn;var n=Array.isArray(e),i=Array.isArray(t),a=n===i;return a?n?r.arrayMerge(t,e,r):F0(t,e,r):nn(e,r)}zr.all=function(e,r){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce(function(n,i){return zr(n,i,r)},{})};var z0=zr,O0=z0;const B0=v0(O0);/*! *****************************************************************************
2
+ Copyright (c) Microsoft Corporation.
3
+
4
+ Permission to use, copy, modify, and/or distribute this software for any
5
+ purpose with or without fee is hereby granted.
6
+
7
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
8
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
9
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
10
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
11
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
12
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
13
+ PERFORMANCE OF THIS SOFTWARE.
14
+ ***************************************************************************** */var wi=function(t,e){return wi=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(r[i]=n[i])},wi(t,e)};function tr(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");wi(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}var Te=function(){return Te=Object.assign||function(e){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},Te.apply(this,arguments)};function N0(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(t);i<n.length;i++)e.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(t,n[i])&&(r[n[i]]=t[n[i]]);return r}function vi(t){var e=typeof Symbol=="function"&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function Ti(t,e){var r=typeof Symbol=="function"&&t[Symbol.iterator];if(!r)return t;var n=r.call(t),i,a=[],s;try{for(;(e===void 0||e-- >0)&&!(i=n.next()).done;)a.push(i.value)}catch(o){s={error:o}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(s)throw s.error}}return a}function Dr(t,e,r){if(r||arguments.length===2)for(var n=0,i=e.length,a;n<i;n++)(a||!(n in e))&&(a||(a=Array.prototype.slice.call(e,0,n)),a[n]=e[n]);return t.concat(a||e)}function li(t,e){var r=e&&e.cache?e.cache:Y0,n=e&&e.serializer?e.serializer:G0,i=e&&e.strategy?e.strategy:U0;return i(t,{cache:r,serializer:n})}function H0(t){return t==null||typeof t=="number"||typeof t=="boolean"}function vo(t,e,r,n){var i=H0(n)?n:r(n),a=e.get(i);return typeof a=="undefined"&&(a=t.call(this,n),e.set(i,a)),a}function To(t,e,r){var n=Array.prototype.slice.call(arguments,3),i=r(n),a=e.get(i);return typeof a=="undefined"&&(a=t.apply(this,n),e.set(i,a)),a}function na(t,e,r,n,i){return r.bind(e,t,n,i)}function U0(t,e){var r=t.length===1?vo:To;return na(t,this,r,e.cache.create(),e.serializer)}function I0(t,e){return na(t,this,To,e.cache.create(),e.serializer)}function j0(t,e){return na(t,this,vo,e.cache.create(),e.serializer)}var G0=function(){return JSON.stringify(arguments)};function ia(){this.cache=Object.create(null)}ia.prototype.get=function(t){return this.cache[t]};ia.prototype.set=function(t,e){this.cache[t]=e};var Y0={create:function(){return new ia}},ui={variadic:I0,monadic:j0},me;(function(t){t[t.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",t[t.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",t[t.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",t[t.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",t[t.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",t[t.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",t[t.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",t[t.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",t[t.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",t[t.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",t[t.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",t[t.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",t[t.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",t[t.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",t[t.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",t[t.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",t[t.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",t[t.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",t[t.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",t[t.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",t[t.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",t[t.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",t[t.INVALID_TAG=23]="INVALID_TAG",t[t.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",t[t.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",t[t.UNCLOSED_TAG=27]="UNCLOSED_TAG"})(me||(me={}));var Be;(function(t){t[t.literal=0]="literal",t[t.argument=1]="argument",t[t.number=2]="number",t[t.date=3]="date",t[t.time=4]="time",t[t.select=5]="select",t[t.plural=6]="plural",t[t.pound=7]="pound",t[t.tag=8]="tag"})(Be||(Be={}));var Or;(function(t){t[t.number=0]="number",t[t.dateTime=1]="dateTime"})(Or||(Or={}));function Fa(t){return t.type===Be.literal}function W0(t){return t.type===Be.argument}function ko(t){return t.type===Be.number}function So(t){return t.type===Be.date}function Po(t){return t.type===Be.time}function xo(t){return t.type===Be.select}function Do(t){return t.type===Be.plural}function V0(t){return t.type===Be.pound}function Lo(t){return t.type===Be.tag}function Eo(t){return!!(t&&typeof t=="object"&&t.type===Or.number)}function ki(t){return!!(t&&typeof t=="object"&&t.type===Or.dateTime)}var Mo=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,q0=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function J0(t){var e={};return t.replace(q0,function(r){var n=r.length;switch(r[0]){case"G":e.era=n===4?"long":n===5?"narrow":"short";break;case"y":e.year=n===2?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":e.month=["numeric","2-digit","short","long","narrow"][n-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":e.day=["numeric","2-digit"][n-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":e.weekday=n===4?"long":n===5?"narrow":"short";break;case"e":if(n<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");e.weekday=["short","long","narrow","short"][n-4];break;case"c":if(n<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");e.weekday=["short","long","narrow","short"][n-4];break;case"a":e.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":e.hourCycle="h12",e.hour=["numeric","2-digit"][n-1];break;case"H":e.hourCycle="h23",e.hour=["numeric","2-digit"][n-1];break;case"K":e.hourCycle="h11",e.hour=["numeric","2-digit"][n-1];break;case"k":e.hourCycle="h24",e.hour=["numeric","2-digit"][n-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":e.minute=["numeric","2-digit"][n-1];break;case"s":e.second=["numeric","2-digit"][n-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":e.timeZoneName=n<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),e}var Z0=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function X0(t){if(t.length===0)throw new Error("Number skeleton cannot be empty");for(var e=t.split(Z0).filter(function(h){return h.length>0}),r=[],n=0,i=e;n<i.length;n++){var a=i[n],s=a.split("/");if(s.length===0)throw new Error("Invalid number skeleton");for(var o=s[0],l=s.slice(1),u=0,f=l;u<f.length;u++){var d=f[u];if(d.length===0)throw new Error("Invalid number skeleton")}r.push({stem:o,options:l})}return r}function Q0(t){return t.replace(/^(.*?)-/,"")}var za=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Ro=/^(@+)?(\+|#+)?[rs]?$/g,K0=/(\*)(0+)|(#+)(0+)|(0+)/g,Ao=/^(0+)$/;function Oa(t){var e={};return t[t.length-1]==="r"?e.roundingPriority="morePrecision":t[t.length-1]==="s"&&(e.roundingPriority="lessPrecision"),t.replace(Ro,function(r,n,i){return typeof i!="string"?(e.minimumSignificantDigits=n.length,e.maximumSignificantDigits=n.length):i==="+"?e.minimumSignificantDigits=n.length:n[0]==="#"?e.maximumSignificantDigits=n.length:(e.minimumSignificantDigits=n.length,e.maximumSignificantDigits=n.length+(typeof i=="string"?i.length:0)),""}),e}function Fo(t){switch(t){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 $0(t){var e;if(t[0]==="E"&&t[1]==="E"?(e={notation:"engineering"},t=t.slice(2)):t[0]==="E"&&(e={notation:"scientific"},t=t.slice(1)),e){var r=t.slice(0,2);if(r==="+!"?(e.signDisplay="always",t=t.slice(2)):r==="+?"&&(e.signDisplay="exceptZero",t=t.slice(2)),!Ao.test(t))throw new Error("Malformed concise eng/scientific notation");e.minimumIntegerDigits=t.length}return e}function Ba(t){var e={},r=Fo(t);return r||e}function eu(t){for(var e={},r=0,n=t;r<n.length;r++){var i=n[r];switch(i.stem){case"percent":case"%":e.style="percent";continue;case"%x100":e.style="percent",e.scale=100;continue;case"currency":e.style="currency",e.currency=i.options[0];continue;case"group-off":case",_":e.useGrouping=!1;continue;case"precision-integer":case".":e.maximumFractionDigits=0;continue;case"measure-unit":case"unit":e.style="unit",e.unit=Q0(i.options[0]);continue;case"compact-short":case"K":e.notation="compact",e.compactDisplay="short";continue;case"compact-long":case"KK":e.notation="compact",e.compactDisplay="long";continue;case"scientific":e=Te(Te(Te({},e),{notation:"scientific"}),i.options.reduce(function(l,u){return Te(Te({},l),Ba(u))},{}));continue;case"engineering":e=Te(Te(Te({},e),{notation:"engineering"}),i.options.reduce(function(l,u){return Te(Te({},l),Ba(u))},{}));continue;case"notation-simple":e.notation="standard";continue;case"unit-width-narrow":e.currencyDisplay="narrowSymbol",e.unitDisplay="narrow";continue;case"unit-width-short":e.currencyDisplay="code",e.unitDisplay="short";continue;case"unit-width-full-name":e.currencyDisplay="name",e.unitDisplay="long";continue;case"unit-width-iso-code":e.currencyDisplay="symbol";continue;case"scale":e.scale=parseFloat(i.options[0]);continue;case"rounding-mode-floor":e.roundingMode="floor";continue;case"rounding-mode-ceiling":e.roundingMode="ceil";continue;case"rounding-mode-down":e.roundingMode="trunc";continue;case"rounding-mode-up":e.roundingMode="expand";continue;case"rounding-mode-half-even":e.roundingMode="halfEven";continue;case"rounding-mode-half-down":e.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":e.roundingMode="halfExpand";continue;case"integer-width":if(i.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace(K0,function(l,u,f,d,h,p){if(u)e.minimumIntegerDigits=f.length;else{if(d&&h)throw new Error("We currently do not support maximum integer digits");if(p)throw new Error("We currently do not support exact integer digits")}return""});continue}if(Ao.test(i.stem)){e.minimumIntegerDigits=i.stem.length;continue}if(za.test(i.stem)){if(i.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(za,function(l,u,f,d,h,p){return f==="*"?e.minimumFractionDigits=u.length:d&&d[0]==="#"?e.maximumFractionDigits=d.length:h&&p?(e.minimumFractionDigits=h.length,e.maximumFractionDigits=h.length+p.length):(e.minimumFractionDigits=u.length,e.maximumFractionDigits=u.length),""});var a=i.options[0];a==="w"?e=Te(Te({},e),{trailingZeroDisplay:"stripIfInteger"}):a&&(e=Te(Te({},e),Oa(a)));continue}if(Ro.test(i.stem)){e=Te(Te({},e),Oa(i.stem));continue}var s=Fo(i.stem);s&&(e=Te(Te({},e),s));var o=$0(i.stem);o&&(e=Te(Te({},e),o))}return e}var gn={"001":["H","h"],419:["h","H","hB","hb"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["h","H","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["h","H","hB","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["h","H","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["h","H","hB","hb"],CU:["h","H","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["h","H","hB","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["h","H","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["h","H","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["h","H","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["h","H","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["h","H","hB","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["h","H","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["h","H","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["h","H","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"en-HK":["h","hb","H","hB"],"en-IL":["H","h","hb","hB"],"en-MY":["h","hb","H","hB"],"es-BR":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]};function tu(t,e){for(var r="",n=0;n<t.length;n++){var i=t.charAt(n);if(i==="j"){for(var a=0;n+1<t.length&&t.charAt(n+1)===i;)a++,n++;var s=1+(a&1),o=a<2?1:3+(a>>1),l="a",u=ru(e);for((u=="H"||u=="k")&&(o=0);o-- >0;)r+=l;for(;s-- >0;)r=u+r}else i==="J"?r+="H":r+=i}return r}function ru(t){var e=t.hourCycle;if(e===void 0&&t.hourCycles&&t.hourCycles.length&&(e=t.hourCycles[0]),e)switch(e){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var r=t.language,n;r!=="root"&&(n=t.maximize().region);var i=gn[n||""]||gn[r||""]||gn["".concat(r,"-001")]||gn["001"];return i[0]}var ci,nu=new RegExp("^".concat(Mo.source,"*")),iu=new RegExp("".concat(Mo.source,"*$"));function pe(t,e){return{start:t,end:e}}var au=!!String.prototype.startsWith&&"_a".startsWith("a",1),su=!!String.fromCodePoint,ou=!!Object.fromEntries,lu=!!String.prototype.codePointAt,uu=!!String.prototype.trimStart,cu=!!String.prototype.trimEnd,fu=!!Number.isSafeInteger,du=fu?Number.isSafeInteger:function(t){return typeof t=="number"&&isFinite(t)&&Math.floor(t)===t&&Math.abs(t)<=9007199254740991},Si=!0;try{var hu=Oo("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Si=((ci=hu.exec("a"))===null||ci===void 0?void 0:ci[0])==="a"}catch(t){Si=!1}var Na=au?function(e,r,n){return e.startsWith(r,n)}:function(e,r,n){return e.slice(n,n+r.length)===r},Pi=su?String.fromCodePoint:function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];for(var n="",i=e.length,a=0,s;i>a;){if(s=e[a++],s>1114111)throw RangeError(s+" is not a valid code point");n+=s<65536?String.fromCharCode(s):String.fromCharCode(((s-=65536)>>10)+55296,s%1024+56320)}return n},Ha=ou?Object.fromEntries:function(e){for(var r={},n=0,i=e;n<i.length;n++){var a=i[n],s=a[0],o=a[1];r[s]=o}return r},zo=lu?function(e,r){return e.codePointAt(r)}:function(e,r){var n=e.length;if(!(r<0||r>=n)){var i=e.charCodeAt(r),a;return i<55296||i>56319||r+1===n||(a=e.charCodeAt(r+1))<56320||a>57343?i:(i-55296<<10)+(a-56320)+65536}},mu=uu?function(e){return e.trimStart()}:function(e){return e.replace(nu,"")},pu=cu?function(e){return e.trimEnd()}:function(e){return e.replace(iu,"")};function Oo(t,e){return new RegExp(t,e)}var xi;if(Si){var Ua=Oo("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");xi=function(e,r){var n;Ua.lastIndex=r;var i=Ua.exec(e);return(n=i[1])!==null&&n!==void 0?n:""}}else xi=function(e,r){for(var n=[];;){var i=zo(e,r);if(i===void 0||Bo(i)||yu(i))break;n.push(i),r+=i>=65536?2:1}return Pi.apply(void 0,n)};var gu=function(){function t(e,r){r===void 0&&(r={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!r.ignoreTag,this.locale=r.locale,this.requiresOtherClause=!!r.requiresOtherClause,this.shouldParseSkeletons=!!r.shouldParseSkeletons}return t.prototype.parse=function(){if(this.offset()!==0)throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},t.prototype.parseMessage=function(e,r,n){for(var i=[];!this.isEOF();){var a=this.char();if(a===123){var s=this.parseArgument(e,n);if(s.err)return s;i.push(s.val)}else{if(a===125&&e>0)break;if(a===35&&(r==="plural"||r==="selectordinal")){var o=this.clonePosition();this.bump(),i.push({type:Be.pound,location:pe(o,this.clonePosition())})}else if(a===60&&!this.ignoreTag&&this.peek()===47){if(n)break;return this.error(me.UNMATCHED_CLOSING_TAG,pe(this.clonePosition(),this.clonePosition()))}else if(a===60&&!this.ignoreTag&&Di(this.peek()||0)){var s=this.parseTag(e,r);if(s.err)return s;i.push(s.val)}else{var s=this.parseLiteral(e,r);if(s.err)return s;i.push(s.val)}}}return{val:i,err:null}},t.prototype.parseTag=function(e,r){var n=this.clonePosition();this.bump();var i=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:Be.literal,value:"<".concat(i,"/>"),location:pe(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var a=this.parseMessage(e+1,r,!0);if(a.err)return a;var s=a.val,o=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!Di(this.char()))return this.error(me.INVALID_TAG,pe(o,this.clonePosition()));var l=this.clonePosition(),u=this.parseTagName();return i!==u?this.error(me.UNMATCHED_CLOSING_TAG,pe(l,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:Be.tag,value:i,children:s,location:pe(n,this.clonePosition())},err:null}:this.error(me.INVALID_TAG,pe(o,this.clonePosition())))}else return this.error(me.UNCLOSED_TAG,pe(n,this.clonePosition()))}else return this.error(me.INVALID_TAG,pe(n,this.clonePosition()))},t.prototype.parseTagName=function(){var e=this.offset();for(this.bump();!this.isEOF()&&_u(this.char());)this.bump();return this.message.slice(e,this.offset())},t.prototype.parseLiteral=function(e,r){for(var n=this.clonePosition(),i="";;){var a=this.tryParseQuote(r);if(a){i+=a;continue}var s=this.tryParseUnquoted(e,r);if(s){i+=s;continue}var o=this.tryParseLeftAngleBracket();if(o){i+=o;continue}break}var l=pe(n,this.clonePosition());return{val:{type:Be.literal,value:i,location:l},err:null}},t.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!bu(this.peek()||0))?(this.bump(),"<"):null},t.prototype.tryParseQuote=function(e){if(this.isEOF()||this.char()!==39)return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if(e==="plural"||e==="selectordinal")break;return null;default:return null}this.bump();var r=[this.char()];for(this.bump();!this.isEOF();){var n=this.char();if(n===39)if(this.peek()===39)r.push(39),this.bump();else{this.bump();break}else r.push(n);this.bump()}return Pi.apply(void 0,r)},t.prototype.tryParseUnquoted=function(e,r){if(this.isEOF())return null;var n=this.char();return n===60||n===123||n===35&&(r==="plural"||r==="selectordinal")||n===125&&e>0?null:(this.bump(),Pi(n))},t.prototype.parseArgument=function(e,r){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(me.EXPECT_ARGUMENT_CLOSING_BRACE,pe(n,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(me.EMPTY_ARGUMENT,pe(n,this.clonePosition()));var i=this.parseIdentifierIfPossible().value;if(!i)return this.error(me.MALFORMED_ARGUMENT,pe(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(me.EXPECT_ARGUMENT_CLOSING_BRACE,pe(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:Be.argument,value:i,location:pe(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(me.EXPECT_ARGUMENT_CLOSING_BRACE,pe(n,this.clonePosition())):this.parseArgumentOptions(e,r,i,n);default:return this.error(me.MALFORMED_ARGUMENT,pe(n,this.clonePosition()))}},t.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),r=this.offset(),n=xi(this.message,r),i=r+n.length;this.bumpTo(i);var a=this.clonePosition(),s=pe(e,a);return{value:n,location:s}},t.prototype.parseArgumentOptions=function(e,r,n,i){var a,s=this.clonePosition(),o=this.parseIdentifierIfPossible().value,l=this.clonePosition();switch(o){case"":return this.error(me.EXPECT_ARGUMENT_TYPE,pe(s,l));case"number":case"date":case"time":{this.bumpSpace();var u=null;if(this.bumpIf(",")){this.bumpSpace();var f=this.clonePosition(),d=this.parseSimpleArgStyleIfPossible();if(d.err)return d;var h=pu(d.val);if(h.length===0)return this.error(me.EXPECT_ARGUMENT_STYLE,pe(this.clonePosition(),this.clonePosition()));var p=pe(f,this.clonePosition());u={style:h,styleLocation:p}}var _=this.tryParseArgumentClose(i);if(_.err)return _;var g=pe(i,this.clonePosition());if(u&&Na(u==null?void 0:u.style,"::",0)){var P=mu(u.style.slice(2));if(o==="number"){var d=this.parseNumberSkeletonFromString(P,u.styleLocation);return d.err?d:{val:{type:Be.number,value:n,location:g,style:d.val},err:null}}else{if(P.length===0)return this.error(me.EXPECT_DATE_TIME_SKELETON,g);var L=P;this.locale&&(L=tu(P,this.locale));var h={type:Or.dateTime,pattern:L,location:u.styleLocation,parsedOptions:this.shouldParseSkeletons?J0(L):{}},E=o==="date"?Be.date:Be.time;return{val:{type:E,value:n,location:g,style:h},err:null}}}return{val:{type:o==="number"?Be.number:o==="date"?Be.date:Be.time,value:n,location:g,style:(a=u==null?void 0:u.style)!==null&&a!==void 0?a:null},err:null}}case"plural":case"selectordinal":case"select":{var w=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(me.EXPECT_SELECT_ARGUMENT_OPTIONS,pe(w,Te({},w)));this.bumpSpace();var v=this.parseIdentifierIfPossible(),Y=0;if(o!=="select"&&v.value==="offset"){if(!this.bumpIf(":"))return this.error(me.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,pe(this.clonePosition(),this.clonePosition()));this.bumpSpace();var d=this.tryParseDecimalInteger(me.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,me.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(d.err)return d;this.bumpSpace(),v=this.parseIdentifierIfPossible(),Y=d.val}var D=this.tryParsePluralOrSelectOptions(e,o,r,v);if(D.err)return D;var _=this.tryParseArgumentClose(i);if(_.err)return _;var F=pe(i,this.clonePosition());return o==="select"?{val:{type:Be.select,value:n,options:Ha(D.val),location:F},err:null}:{val:{type:Be.plural,value:n,options:Ha(D.val),offset:Y,pluralType:o==="plural"?"cardinal":"ordinal",location:F},err:null}}default:return this.error(me.INVALID_ARGUMENT_TYPE,pe(s,l))}},t.prototype.tryParseArgumentClose=function(e){return this.isEOF()||this.char()!==125?this.error(me.EXPECT_ARGUMENT_CLOSING_BRACE,pe(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},t.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,r=this.clonePosition();!this.isEOF();){var n=this.char();switch(n){case 39:{this.bump();var i=this.clonePosition();if(!this.bumpUntil("'"))return this.error(me.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,pe(i,this.clonePosition()));this.bump();break}case 123:{e+=1,this.bump();break}case 125:{if(e>0)e-=1;else return{val:this.message.slice(r.offset,this.offset()),err:null};break}default:this.bump();break}}return{val:this.message.slice(r.offset,this.offset()),err:null}},t.prototype.parseNumberSkeletonFromString=function(e,r){var n=[];try{n=X0(e)}catch(i){return this.error(me.INVALID_NUMBER_SKELETON,r)}return{val:{type:Or.number,tokens:n,location:r,parsedOptions:this.shouldParseSkeletons?eu(n):{}},err:null}},t.prototype.tryParsePluralOrSelectOptions=function(e,r,n,i){for(var a,s=!1,o=[],l=new Set,u=i.value,f=i.location;;){if(u.length===0){var d=this.clonePosition();if(r!=="select"&&this.bumpIf("=")){var h=this.tryParseDecimalInteger(me.EXPECT_PLURAL_ARGUMENT_SELECTOR,me.INVALID_PLURAL_ARGUMENT_SELECTOR);if(h.err)return h;f=pe(d,this.clonePosition()),u=this.message.slice(d.offset,this.offset())}else break}if(l.has(u))return this.error(r==="select"?me.DUPLICATE_SELECT_ARGUMENT_SELECTOR:me.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,f);u==="other"&&(s=!0),this.bumpSpace();var p=this.clonePosition();if(!this.bumpIf("{"))return this.error(r==="select"?me.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:me.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,pe(this.clonePosition(),this.clonePosition()));var _=this.parseMessage(e+1,r,n);if(_.err)return _;var g=this.tryParseArgumentClose(p);if(g.err)return g;o.push([u,{value:_.val,location:pe(p,this.clonePosition())}]),l.add(u),this.bumpSpace(),a=this.parseIdentifierIfPossible(),u=a.value,f=a.location}return o.length===0?this.error(r==="select"?me.EXPECT_SELECT_ARGUMENT_SELECTOR:me.EXPECT_PLURAL_ARGUMENT_SELECTOR,pe(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!s?this.error(me.MISSING_OTHER_CLAUSE,pe(this.clonePosition(),this.clonePosition())):{val:o,err:null}},t.prototype.tryParseDecimalInteger=function(e,r){var n=1,i=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var a=!1,s=0;!this.isEOF();){var o=this.char();if(o>=48&&o<=57)a=!0,s=s*10+(o-48),this.bump();else break}var l=pe(i,this.clonePosition());return a?(s*=n,du(s)?{val:s,err:null}:this.error(r,l)):this.error(e,l)},t.prototype.offset=function(){return this.position.offset},t.prototype.isEOF=function(){return this.offset()===this.message.length},t.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},t.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var r=zo(this.message,e);if(r===void 0)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return r},t.prototype.error=function(e,r){return{val:null,err:{kind:e,message:this.message,location:r}}},t.prototype.bump=function(){if(!this.isEOF()){var e=this.char();e===10?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2)}},t.prototype.bumpIf=function(e){if(Na(this.message,e,this.offset())){for(var r=0;r<e.length;r++)this.bump();return!0}return!1},t.prototype.bumpUntil=function(e){var r=this.offset(),n=this.message.indexOf(e,r);return n>=0?(this.bumpTo(n),!0):(this.bumpTo(this.message.length),!1)},t.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset ".concat(e," must be greater than or equal to the current offset ").concat(this.offset()));for(e=Math.min(e,this.message.length);;){var r=this.offset();if(r===e)break;if(r>e)throw Error("targetOffset ".concat(e," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},t.prototype.bumpSpace=function(){for(;!this.isEOF()&&Bo(this.char());)this.bump()},t.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),r=this.offset(),n=this.message.charCodeAt(r+(e>=65536?2:1));return n!=null?n:null},t}();function Di(t){return t>=97&&t<=122||t>=65&&t<=90}function bu(t){return Di(t)||t===47}function _u(t){return t===45||t===46||t>=48&&t<=57||t===95||t>=97&&t<=122||t>=65&&t<=90||t==183||t>=192&&t<=214||t>=216&&t<=246||t>=248&&t<=893||t>=895&&t<=8191||t>=8204&&t<=8205||t>=8255&&t<=8256||t>=8304&&t<=8591||t>=11264&&t<=12271||t>=12289&&t<=55295||t>=63744&&t<=64975||t>=65008&&t<=65533||t>=65536&&t<=983039}function Bo(t){return t>=9&&t<=13||t===32||t===133||t>=8206&&t<=8207||t===8232||t===8233}function yu(t){return t>=33&&t<=35||t===36||t>=37&&t<=39||t===40||t===41||t===42||t===43||t===44||t===45||t>=46&&t<=47||t>=58&&t<=59||t>=60&&t<=62||t>=63&&t<=64||t===91||t===92||t===93||t===94||t===96||t===123||t===124||t===125||t===126||t===161||t>=162&&t<=165||t===166||t===167||t===169||t===171||t===172||t===174||t===176||t===177||t===182||t===187||t===191||t===215||t===247||t>=8208&&t<=8213||t>=8214&&t<=8215||t===8216||t===8217||t===8218||t>=8219&&t<=8220||t===8221||t===8222||t===8223||t>=8224&&t<=8231||t>=8240&&t<=8248||t===8249||t===8250||t>=8251&&t<=8254||t>=8257&&t<=8259||t===8260||t===8261||t===8262||t>=8263&&t<=8273||t===8274||t===8275||t>=8277&&t<=8286||t>=8592&&t<=8596||t>=8597&&t<=8601||t>=8602&&t<=8603||t>=8604&&t<=8607||t===8608||t>=8609&&t<=8610||t===8611||t>=8612&&t<=8613||t===8614||t>=8615&&t<=8621||t===8622||t>=8623&&t<=8653||t>=8654&&t<=8655||t>=8656&&t<=8657||t===8658||t===8659||t===8660||t>=8661&&t<=8691||t>=8692&&t<=8959||t>=8960&&t<=8967||t===8968||t===8969||t===8970||t===8971||t>=8972&&t<=8991||t>=8992&&t<=8993||t>=8994&&t<=9e3||t===9001||t===9002||t>=9003&&t<=9083||t===9084||t>=9085&&t<=9114||t>=9115&&t<=9139||t>=9140&&t<=9179||t>=9180&&t<=9185||t>=9186&&t<=9254||t>=9255&&t<=9279||t>=9280&&t<=9290||t>=9291&&t<=9311||t>=9472&&t<=9654||t===9655||t>=9656&&t<=9664||t===9665||t>=9666&&t<=9719||t>=9720&&t<=9727||t>=9728&&t<=9838||t===9839||t>=9840&&t<=10087||t===10088||t===10089||t===10090||t===10091||t===10092||t===10093||t===10094||t===10095||t===10096||t===10097||t===10098||t===10099||t===10100||t===10101||t>=10132&&t<=10175||t>=10176&&t<=10180||t===10181||t===10182||t>=10183&&t<=10213||t===10214||t===10215||t===10216||t===10217||t===10218||t===10219||t===10220||t===10221||t===10222||t===10223||t>=10224&&t<=10239||t>=10240&&t<=10495||t>=10496&&t<=10626||t===10627||t===10628||t===10629||t===10630||t===10631||t===10632||t===10633||t===10634||t===10635||t===10636||t===10637||t===10638||t===10639||t===10640||t===10641||t===10642||t===10643||t===10644||t===10645||t===10646||t===10647||t===10648||t>=10649&&t<=10711||t===10712||t===10713||t===10714||t===10715||t>=10716&&t<=10747||t===10748||t===10749||t>=10750&&t<=11007||t>=11008&&t<=11055||t>=11056&&t<=11076||t>=11077&&t<=11078||t>=11079&&t<=11084||t>=11085&&t<=11123||t>=11124&&t<=11125||t>=11126&&t<=11157||t===11158||t>=11159&&t<=11263||t>=11776&&t<=11777||t===11778||t===11779||t===11780||t===11781||t>=11782&&t<=11784||t===11785||t===11786||t===11787||t===11788||t===11789||t>=11790&&t<=11798||t===11799||t>=11800&&t<=11801||t===11802||t===11803||t===11804||t===11805||t>=11806&&t<=11807||t===11808||t===11809||t===11810||t===11811||t===11812||t===11813||t===11814||t===11815||t===11816||t===11817||t>=11818&&t<=11822||t===11823||t>=11824&&t<=11833||t>=11834&&t<=11835||t>=11836&&t<=11839||t===11840||t===11841||t===11842||t>=11843&&t<=11855||t>=11856&&t<=11857||t===11858||t>=11859&&t<=11903||t>=12289&&t<=12291||t===12296||t===12297||t===12298||t===12299||t===12300||t===12301||t===12302||t===12303||t===12304||t===12305||t>=12306&&t<=12307||t===12308||t===12309||t===12310||t===12311||t===12312||t===12313||t===12314||t===12315||t===12316||t===12317||t>=12318&&t<=12319||t===12320||t===12336||t===64830||t===64831||t>=65093&&t<=65094}function Li(t){t.forEach(function(e){if(delete e.location,xo(e)||Do(e))for(var r in e.options)delete e.options[r].location,Li(e.options[r].value);else ko(e)&&Eo(e.style)||(So(e)||Po(e))&&ki(e.style)?delete e.style.location:Lo(e)&&Li(e.children)})}function Cu(t,e){e===void 0&&(e={}),e=Te({shouldParseSkeletons:!0,requiresOtherClause:!0},e);var r=new gu(t,e).parse();if(r.err){var n=SyntaxError(me[r.err.kind]);throw n.location=r.err.location,n.originalMessage=r.err.message,n}return e!=null&&e.captureLocation||Li(r.val),r.val}var Br;(function(t){t.MISSING_VALUE="MISSING_VALUE",t.INVALID_VALUE="INVALID_VALUE",t.MISSING_INTL_API="MISSING_INTL_API"})(Br||(Br={}));var Un=function(t){tr(e,t);function e(r,n,i){var a=t.call(this,r)||this;return a.code=n,a.originalMessage=i,a}return e.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},e}(Error),Ia=function(t){tr(e,t);function e(r,n,i,a){return t.call(this,'Invalid values for "'.concat(r,'": "').concat(n,'". Options are "').concat(Object.keys(i).join('", "'),'"'),Br.INVALID_VALUE,a)||this}return e}(Un),wu=function(t){tr(e,t);function e(r,n,i){return t.call(this,'Value for "'.concat(r,'" must be of type ').concat(n),Br.INVALID_VALUE,i)||this}return e}(Un),vu=function(t){tr(e,t);function e(r,n){return t.call(this,'The intl string context variable "'.concat(r,'" was not provided to the string "').concat(n,'"'),Br.MISSING_VALUE,n)||this}return e}(Un),ot;(function(t){t[t.literal=0]="literal",t[t.object=1]="object"})(ot||(ot={}));function Tu(t){return t.length<2?t:t.reduce(function(e,r){var n=e[e.length-1];return!n||n.type!==ot.literal||r.type!==ot.literal?e.push(r):n.value+=r.value,e},[])}function ku(t){return typeof t=="function"}function vn(t,e,r,n,i,a,s){if(t.length===1&&Fa(t[0]))return[{type:ot.literal,value:t[0].value}];for(var o=[],l=0,u=t;l<u.length;l++){var f=u[l];if(Fa(f)){o.push({type:ot.literal,value:f.value});continue}if(V0(f)){typeof a=="number"&&o.push({type:ot.literal,value:r.getNumberFormat(e).format(a)});continue}var d=f.value;if(!(i&&d in i))throw new vu(d,s);var h=i[d];if(W0(f)){(!h||typeof h=="string"||typeof h=="number")&&(h=typeof h=="string"||typeof h=="number"?String(h):""),o.push({type:typeof h=="string"?ot.literal:ot.object,value:h});continue}if(So(f)){var p=typeof f.style=="string"?n.date[f.style]:ki(f.style)?f.style.parsedOptions:void 0;o.push({type:ot.literal,value:r.getDateTimeFormat(e,p).format(h)});continue}if(Po(f)){var p=typeof f.style=="string"?n.time[f.style]:ki(f.style)?f.style.parsedOptions:n.time.medium;o.push({type:ot.literal,value:r.getDateTimeFormat(e,p).format(h)});continue}if(ko(f)){var p=typeof f.style=="string"?n.number[f.style]:Eo(f.style)?f.style.parsedOptions:void 0;p&&p.scale&&(h=h*(p.scale||1)),o.push({type:ot.literal,value:r.getNumberFormat(e,p).format(h)});continue}if(Lo(f)){var _=f.children,g=f.value,P=i[g];if(!ku(P))throw new wu(g,"function",s);var L=vn(_,e,r,n,i,a),E=P(L.map(function(Y){return Y.value}));Array.isArray(E)||(E=[E]),o.push.apply(o,E.map(function(Y){return{type:typeof Y=="string"?ot.literal:ot.object,value:Y}}))}if(xo(f)){var w=f.options[h]||f.options.other;if(!w)throw new Ia(f.value,h,Object.keys(f.options),s);o.push.apply(o,vn(w.value,e,r,n,i));continue}if(Do(f)){var w=f.options["=".concat(h)];if(!w){if(!Intl.PluralRules)throw new Un(`Intl.PluralRules is not available in this environment.
15
+ Try polyfilling it using "@formatjs/intl-pluralrules"
16
+ `,Br.MISSING_INTL_API,s);var v=r.getPluralRules(e,{type:f.pluralType}).select(h-(f.offset||0));w=f.options[v]||f.options.other}if(!w)throw new Ia(f.value,h,Object.keys(f.options),s);o.push.apply(o,vn(w.value,e,r,n,i,h-(f.offset||0)));continue}}return Tu(o)}function Su(t,e){return e?Te(Te(Te({},t||{}),e||{}),Object.keys(t).reduce(function(r,n){return r[n]=Te(Te({},t[n]),e[n]||{}),r},{})):t}function Pu(t,e){return e?Object.keys(t).reduce(function(r,n){return r[n]=Su(t[n],e[n]),r},Te({},t)):t}function fi(t){return{create:function(){return{get:function(e){return t[e]},set:function(e,r){t[e]=r}}}}}function xu(t){return t===void 0&&(t={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:li(function(){for(var e,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,Dr([void 0],r,!1)))},{cache:fi(t.number),strategy:ui.variadic}),getDateTimeFormat:li(function(){for(var e,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,Dr([void 0],r,!1)))},{cache:fi(t.dateTime),strategy:ui.variadic}),getPluralRules:li(function(){for(var e,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,Dr([void 0],r,!1)))},{cache:fi(t.pluralRules),strategy:ui.variadic})}}var No=function(){function t(e,r,n,i){r===void 0&&(r=t.defaultLocale);var a=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(l){var u=a.formatToParts(l);if(u.length===1)return u[0].value;var f=u.reduce(function(d,h){return!d.length||h.type!==ot.literal||typeof d[d.length-1]!="string"?d.push(h.value):d[d.length-1]+=h.value,d},[]);return f.length<=1?f[0]||"":f},this.formatToParts=function(l){return vn(a.ast,a.locales,a.formatters,a.formats,l,void 0,a.message)},this.resolvedOptions=function(){var l;return{locale:((l=a.resolvedLocale)===null||l===void 0?void 0:l.toString())||Intl.NumberFormat.supportedLocalesOf(a.locales)[0]}},this.getAst=function(){return a.ast},this.locales=r,this.resolvedLocale=t.resolveLocale(r),typeof e=="string"){if(this.message=e,!t.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var s=i||{};s.formatters;var o=N0(s,["formatters"]);this.ast=t.__parse(e,Te(Te({},o),{locale:this.resolvedLocale}))}else this.ast=e;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=Pu(t.formats,n),this.formatters=i&&i.formatters||xu(this.formatterCache)}return Object.defineProperty(t,"defaultLocale",{get:function(){return t.memoizedDefaultLocale||(t.memoizedDefaultLocale=new Intl.NumberFormat().resolvedOptions().locale),t.memoizedDefaultLocale},enumerable:!1,configurable:!0}),t.memoizedDefaultLocale=null,t.resolveLocale=function(e){if(typeof Intl.Locale!="undefined"){var r=Intl.NumberFormat.supportedLocalesOf(e);return r.length>0?new Intl.Locale(r[0]):new Intl.Locale(typeof e=="string"?e:e[0])}},t.__parse=Cu,t.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"}}},t}();function Du(t,e){if(e==null)return;if(e in t)return t[e];const r=e.split(".");let n=t;for(let i=0;i<r.length;i++)if(typeof n=="object"){if(i>0){const a=r.slice(i,r.length).join(".");if(a in n){n=n[a];break}}n=n[r[i]]}else n=void 0;return n}const sr={},Lu=(t,e,r)=>r&&(e in sr||(sr[e]={}),t in sr[e]||(sr[e][t]=r),r),Ho=(t,e)=>{if(e==null)return;if(e in sr&&t in sr[e])return sr[e][t];const r=un(e);for(let n=0;n<r.length;n++){const i=r[n],a=Mu(i,t);if(a)return Lu(t,e,a)}};let aa;const Ur=Hn({});function Eu(t){return aa[t]||null}function Uo(t){return t in aa}function Mu(t,e){if(!Uo(t))return null;const r=Eu(t);return Du(r,e)}function Ru(t){if(t==null)return;const e=un(t);for(let r=0;r<e.length;r++){const n=e[r];if(Uo(n))return n}}function Io(t,...e){delete sr[t],Ur.update(r=>(r[t]=B0.all([r[t]||{},...e]),r))}Hr([Ur],([t])=>Object.keys(t));Ur.subscribe(t=>aa=t);const Tn={};function Au(t,e){Tn[t].delete(e),Tn[t].size===0&&delete Tn[t]}function jo(t){return Tn[t]}function Fu(t){return un(t).map(e=>{const r=jo(e);return[e,r?[...r]:[]]}).filter(([,e])=>e.length>0)}function Dn(t){return t==null?!1:un(t).some(e=>{var r;return(r=jo(e))==null?void 0:r.size})}function zu(t,e){return Promise.all(e.map(n=>(Au(t,n),n().then(i=>i.default||i)))).then(n=>Io(t,...n))}const Vr={};function Go(t){if(!Dn(t))return t in Vr?Vr[t]:Promise.resolve();const e=Fu(t);return Vr[t]=Promise.all(e.map(([r,n])=>zu(r,n))).then(()=>{if(Dn(t))return Go(t);delete Vr[t]}),Vr[t]}var ja=Object.getOwnPropertySymbols,Ou=Object.prototype.hasOwnProperty,Bu=Object.prototype.propertyIsEnumerable,Nu=(t,e)=>{var r={};for(var n in t)Ou.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&ja)for(var n of ja(t))e.indexOf(n)<0&&Bu.call(t,n)&&(r[n]=t[n]);return r};const Hu={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"}}};function Uu({locale:t,id:e}){console.warn(`[svelte-i18n] The message "${e}" was not found in "${un(t).join('", "')}".${Dn(fr())?`
17
+
18
+ Note: there are at least one loader still registered to this locale that wasn't executed.`:""}`)}const Iu={fallbackLocale:null,loadingDelay:200,formats:Hu,warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0},Xr=Iu;function Nr(){return Xr}function rr(t){const e=t,{formats:r}=e,n=Nu(e,["formats"]);let i=t.fallbackLocale;if(t.initialLocale)try{No.resolveLocale(t.initialLocale)&&(i=t.initialLocale)}catch(a){console.warn(`[svelte-i18n] The initial locale "${t.initialLocale}" is not a valid locale.`)}return n.warnOnMissingMessages&&(delete n.warnOnMissingMessages,n.handleMissingMessage==null?n.handleMissingMessage=Uu:console.warn('[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.')),Object.assign(Xr,n,{initialLocale:i}),r&&("number"in r&&Object.assign(Xr.formats.number,r.number),"date"in r&&Object.assign(Xr.formats.date,r.date),"time"in r&&Object.assign(Xr.formats.time,r.time)),Xt.set(i)}const di=Hn(!1);var ju=Object.defineProperty,Gu=Object.defineProperties,Yu=Object.getOwnPropertyDescriptors,Ga=Object.getOwnPropertySymbols,Wu=Object.prototype.hasOwnProperty,Vu=Object.prototype.propertyIsEnumerable,Ya=(t,e,r)=>e in t?ju(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,qu=(t,e)=>{for(var r in e||(e={}))Wu.call(e,r)&&Ya(t,r,e[r]);if(Ga)for(var r of Ga(e))Vu.call(e,r)&&Ya(t,r,e[r]);return t},Ju=(t,e)=>Gu(t,Yu(e));let Ei;const Ln=Hn(null);function Wa(t){return t.split("-").map((e,r,n)=>n.slice(0,r+1).join("-")).reverse()}function un(t,e=Nr().fallbackLocale){const r=Wa(t);return e?[...new Set([...r,...Wa(e)])]:r}function fr(){return Ei!=null?Ei:void 0}Ln.subscribe(t=>{Ei=t!=null?t:void 0,typeof window!="undefined"&&t!=null&&document.documentElement.setAttribute("lang",t)});const Zu=t=>{if(t&&Ru(t)&&Dn(t)){const{loadingDelay:e}=Nr();let r;return typeof window!="undefined"&&fr()!=null&&e?r=window.setTimeout(()=>di.set(!0),e):di.set(!0),Go(t).then(()=>{Ln.set(t)}).finally(()=>{clearTimeout(r),di.set(!1)})}return Ln.set(t)},Xt=Ju(qu({},Ln),{set:Zu}),In=t=>{const e=Object.create(null);return n=>{const i=JSON.stringify(n);return i in e?e[i]:e[i]=t(n)}};var Xu=Object.defineProperty,En=Object.getOwnPropertySymbols,Yo=Object.prototype.hasOwnProperty,Wo=Object.prototype.propertyIsEnumerable,Va=(t,e,r)=>e in t?Xu(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,sa=(t,e)=>{for(var r in e||(e={}))Yo.call(e,r)&&Va(t,r,e[r]);if(En)for(var r of En(e))Wo.call(e,r)&&Va(t,r,e[r]);return t},Ir=(t,e)=>{var r={};for(var n in t)Yo.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&En)for(var n of En(t))e.indexOf(n)<0&&Wo.call(t,n)&&(r[n]=t[n]);return r};const an=(t,e)=>{const{formats:r}=Nr();if(t in r&&e in r[t])return r[t][e];throw new Error(`[svelte-i18n] Unknown "${e}" ${t} format.`)},Qu=In(t=>{var e=t,{locale:r,format:n}=e,i=Ir(e,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(i=an("number",n)),new Intl.NumberFormat(r,i)}),Ku=In(t=>{var e=t,{locale:r,format:n}=e,i=Ir(e,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?i=an("date",n):Object.keys(i).length===0&&(i=an("date","short")),new Intl.DateTimeFormat(r,i)}),$u=In(t=>{var e=t,{locale:r,format:n}=e,i=Ir(e,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?i=an("time",n):Object.keys(i).length===0&&(i=an("time","short")),new Intl.DateTimeFormat(r,i)}),e2=(t={})=>{var e=t,{locale:r=fr()}=e,n=Ir(e,["locale"]);return Qu(sa({locale:r},n))},t2=(t={})=>{var e=t,{locale:r=fr()}=e,n=Ir(e,["locale"]);return Ku(sa({locale:r},n))},r2=(t={})=>{var e=t,{locale:r=fr()}=e,n=Ir(e,["locale"]);return $u(sa({locale:r},n))},n2=In((t,e=fr())=>new No(t,e,Nr().formats,{ignoreTag:Nr().ignoreTag})),i2=(t,e={})=>{var r,n,i,a;let s=e;typeof t=="object"&&(s=t,t=s.id);const{values:o,locale:l=fr(),default:u}=s;if(l==null)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let f=Ho(t,l);if(!f)f=(a=(i=(n=(r=Nr()).handleMissingMessage)==null?void 0:n.call(r,{locale:l,id:t,defaultValue:u}))!=null?i:u)!=null?a:t;else if(typeof f!="string")return console.warn(`[svelte-i18n] Message with id "${t}" must be of type "string", found: "${typeof f}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),f;if(!o)return f;let d=f;try{d=n2(f,l).format(o)}catch(h){h instanceof Error&&console.warn(`[svelte-i18n] Message "${t}" has syntax error:`,h.message)}return d},a2=(t,e)=>r2(e).format(t),s2=(t,e)=>t2(e).format(t),o2=(t,e)=>e2(e).format(t),l2=(t,e=fr())=>Ho(t,e),vt=Hr([Xt,Ur],()=>i2);Hr([Xt],()=>a2);Hr([Xt],()=>s2);Hr([Xt],()=>o2);Hr([Xt,Ur],()=>l2);function u2({withLocale:t,translations:e}){Xt.subscribe(r=>{r==null&&(Ur.set(e),Xt.set(t))})}function qa(t,e){Io(t,e)}function bt(t){Xt.set(t)}function Wt(t){return typeof t=="function"}function Vo(t){var e=function(n){Error.call(n),n.stack=new Error().stack},r=t(e);return r.prototype=Object.create(Error.prototype),r.prototype.constructor=r,r}var hi=Vo(function(t){return function(r){t(this),this.message=r?r.length+` errors occurred during unsubscription:
19
+ `+r.map(function(n,i){return i+1+") "+n.toString()}).join(`
20
+ `):"",this.name="UnsubscriptionError",this.errors=r}});function Mi(t,e){if(t){var r=t.indexOf(e);0<=r&&t.splice(r,1)}}var jn=function(){function t(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}return t.prototype.unsubscribe=function(){var e,r,n,i,a;if(!this.closed){this.closed=!0;var s=this._parentage;if(s)if(this._parentage=null,Array.isArray(s))try{for(var o=vi(s),l=o.next();!l.done;l=o.next()){var u=l.value;u.remove(this)}}catch(g){e={error:g}}finally{try{l&&!l.done&&(r=o.return)&&r.call(o)}finally{if(e)throw e.error}}else s.remove(this);var f=this.initialTeardown;if(Wt(f))try{f()}catch(g){a=g instanceof hi?g.errors:[g]}var d=this._finalizers;if(d){this._finalizers=null;try{for(var h=vi(d),p=h.next();!p.done;p=h.next()){var _=p.value;try{Ja(_)}catch(g){a=a!=null?a:[],g instanceof hi?a=Dr(Dr([],Ti(a)),Ti(g.errors)):a.push(g)}}}catch(g){n={error:g}}finally{try{p&&!p.done&&(i=h.return)&&i.call(h)}finally{if(n)throw n.error}}}if(a)throw new hi(a)}},t.prototype.add=function(e){var r;if(e&&e!==this)if(this.closed)Ja(e);else{if(e instanceof t){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=(r=this._finalizers)!==null&&r!==void 0?r:[]).push(e)}},t.prototype._hasParent=function(e){var r=this._parentage;return r===e||Array.isArray(r)&&r.includes(e)},t.prototype._addParent=function(e){var r=this._parentage;this._parentage=Array.isArray(r)?(r.push(e),r):r?[r,e]:e},t.prototype._removeParent=function(e){var r=this._parentage;r===e?this._parentage=null:Array.isArray(r)&&Mi(r,e)},t.prototype.remove=function(e){var r=this._finalizers;r&&Mi(r,e),e instanceof t&&e._removeParent(this)},t.EMPTY=function(){var e=new t;return e.closed=!0,e}(),t}(),qo=jn.EMPTY;function Jo(t){return t instanceof jn||t&&"closed"in t&&Wt(t.remove)&&Wt(t.add)&&Wt(t.unsubscribe)}function Ja(t){Wt(t)?t():t.unsubscribe()}var Zo={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},c2={setTimeout:function(t,e){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];return setTimeout.apply(void 0,Dr([t,e],Ti(r)))},clearTimeout:function(t){return clearTimeout(t)},delegate:void 0};function f2(t){c2.setTimeout(function(){throw t})}function Za(){}function kn(t){t()}var Xo=function(t){tr(e,t);function e(r){var n=t.call(this)||this;return n.isStopped=!1,r?(n.destination=r,Jo(r)&&r.add(n)):n.destination=p2,n}return e.create=function(r,n,i){return new Ri(r,n,i)},e.prototype.next=function(r){this.isStopped||this._next(r)},e.prototype.error=function(r){this.isStopped||(this.isStopped=!0,this._error(r))},e.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},e.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,t.prototype.unsubscribe.call(this),this.destination=null)},e.prototype._next=function(r){this.destination.next(r)},e.prototype._error=function(r){try{this.destination.error(r)}finally{this.unsubscribe()}},e.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},e}(jn),d2=Function.prototype.bind;function mi(t,e){return d2.call(t,e)}var h2=function(){function t(e){this.partialObserver=e}return t.prototype.next=function(e){var r=this.partialObserver;if(r.next)try{r.next(e)}catch(n){bn(n)}},t.prototype.error=function(e){var r=this.partialObserver;if(r.error)try{r.error(e)}catch(n){bn(n)}else bn(e)},t.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(r){bn(r)}},t}(),Ri=function(t){tr(e,t);function e(r,n,i){var a=t.call(this)||this,s;if(Wt(r)||!r)s={next:r!=null?r:void 0,error:n!=null?n:void 0,complete:i!=null?i:void 0};else{var o;a&&Zo.useDeprecatedNextContext?(o=Object.create(r),o.unsubscribe=function(){return a.unsubscribe()},s={next:r.next&&mi(r.next,o),error:r.error&&mi(r.error,o),complete:r.complete&&mi(r.complete,o)}):s=r}return a.destination=new h2(s),a}return e}(Xo);function bn(t){f2(t)}function m2(t){throw t}var p2={closed:!0,next:Za,error:m2,complete:Za},g2=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function b2(t){return t}function _2(t){return t.length===0?b2:t.length===1?t[0]:function(r){return t.reduce(function(n,i){return i(n)},r)}}var Xa=function(){function t(e){e&&(this._subscribe=e)}return t.prototype.lift=function(e){var r=new t;return r.source=this,r.operator=e,r},t.prototype.subscribe=function(e,r,n){var i=this,a=C2(e)?e:new Ri(e,r,n);return kn(function(){var s=i,o=s.operator,l=s.source;a.add(o?o.call(a,l):l?i._subscribe(a):i._trySubscribe(a))}),a},t.prototype._trySubscribe=function(e){try{return this._subscribe(e)}catch(r){e.error(r)}},t.prototype.forEach=function(e,r){var n=this;return r=Qa(r),new r(function(i,a){var s=new Ri({next:function(o){try{e(o)}catch(l){a(l),s.unsubscribe()}},error:a,complete:i});n.subscribe(s)})},t.prototype._subscribe=function(e){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(e)},t.prototype[g2]=function(){return this},t.prototype.pipe=function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return _2(e)(this)},t.prototype.toPromise=function(e){var r=this;return e=Qa(e),new e(function(n,i){var a;r.subscribe(function(s){return a=s},function(s){return i(s)},function(){return n(a)})})},t.create=function(e){return new t(e)},t}();function Qa(t){var e;return(e=t!=null?t:Zo.Promise)!==null&&e!==void 0?e:Promise}function y2(t){return t&&Wt(t.next)&&Wt(t.error)&&Wt(t.complete)}function C2(t){return t&&t instanceof Xo||y2(t)&&Jo(t)}var w2=Vo(function(t){return function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),Qo=function(t){tr(e,t);function e(){var r=t.call(this)||this;return r.closed=!1,r.currentObservers=null,r.observers=[],r.isStopped=!1,r.hasError=!1,r.thrownError=null,r}return e.prototype.lift=function(r){var n=new Ka(this,this);return n.operator=r,n},e.prototype._throwIfClosed=function(){if(this.closed)throw new w2},e.prototype.next=function(r){var n=this;kn(function(){var i,a;if(n._throwIfClosed(),!n.isStopped){n.currentObservers||(n.currentObservers=Array.from(n.observers));try{for(var s=vi(n.currentObservers),o=s.next();!o.done;o=s.next()){var l=o.value;l.next(r)}}catch(u){i={error:u}}finally{try{o&&!o.done&&(a=s.return)&&a.call(s)}finally{if(i)throw i.error}}}})},e.prototype.error=function(r){var n=this;kn(function(){if(n._throwIfClosed(),!n.isStopped){n.hasError=n.isStopped=!0,n.thrownError=r;for(var i=n.observers;i.length;)i.shift().error(r)}})},e.prototype.complete=function(){var r=this;kn(function(){if(r._throwIfClosed(),!r.isStopped){r.isStopped=!0;for(var n=r.observers;n.length;)n.shift().complete()}})},e.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(e.prototype,"observed",{get:function(){var r;return((r=this.observers)===null||r===void 0?void 0:r.length)>0},enumerable:!1,configurable:!0}),e.prototype._trySubscribe=function(r){return this._throwIfClosed(),t.prototype._trySubscribe.call(this,r)},e.prototype._subscribe=function(r){return this._throwIfClosed(),this._checkFinalizedStatuses(r),this._innerSubscribe(r)},e.prototype._innerSubscribe=function(r){var n=this,i=this,a=i.hasError,s=i.isStopped,o=i.observers;return a||s?qo:(this.currentObservers=null,o.push(r),new jn(function(){n.currentObservers=null,Mi(o,r)}))},e.prototype._checkFinalizedStatuses=function(r){var n=this,i=n.hasError,a=n.thrownError,s=n.isStopped;i?r.error(a):s&&r.complete()},e.prototype.asObservable=function(){var r=new Xa;return r.source=this,r},e.create=function(r,n){return new Ka(r,n)},e}(Xa),Ka=function(t){tr(e,t);function e(r,n){var i=t.call(this)||this;return i.destination=r,i.source=n,i}return e.prototype.next=function(r){var n,i;(i=(n=this.destination)===null||n===void 0?void 0:n.next)===null||i===void 0||i.call(n,r)},e.prototype.error=function(r){var n,i;(i=(n=this.destination)===null||n===void 0?void 0:n.error)===null||i===void 0||i.call(n,r)},e.prototype.complete=function(){var r,n;(n=(r=this.destination)===null||r===void 0?void 0:r.complete)===null||n===void 0||n.call(r)},e.prototype._subscribe=function(r){var n,i;return(i=(n=this.source)===null||n===void 0?void 0:n.subscribe(r))!==null&&i!==void 0?i:qo},e}(Qo),Ko={now:function(){return(Ko.delegate||Date).now()},delegate:void 0},v2=function(t){tr(e,t);function e(r,n,i){r===void 0&&(r=1/0),n===void 0&&(n=1/0),i===void 0&&(i=Ko);var a=t.call(this)||this;return a._bufferSize=r,a._windowTime=n,a._timestampProvider=i,a._buffer=[],a._infiniteTimeWindow=!0,a._infiniteTimeWindow=n===1/0,a._bufferSize=Math.max(1,r),a._windowTime=Math.max(1,n),a}return e.prototype.next=function(r){var n=this,i=n.isStopped,a=n._buffer,s=n._infiniteTimeWindow,o=n._timestampProvider,l=n._windowTime;i||(a.push(r),!s&&a.push(o.now()+l)),this._trimBuffer(),t.prototype.next.call(this,r)},e.prototype._subscribe=function(r){this._throwIfClosed(),this._trimBuffer();for(var n=this._innerSubscribe(r),i=this,a=i._infiniteTimeWindow,s=i._buffer,o=s.slice(),l=0;l<o.length&&!r.closed;l+=a?1:2)r.next(o[l]);return this._checkFinalizedStatuses(r),n},e.prototype._trimBuffer=function(){var r=this,n=r._bufferSize,i=r._timestampProvider,a=r._buffer,s=r._infiniteTimeWindow,o=(s?1:2)*n;if(n<1/0&&o<a.length&&a.splice(0,a.length-o),!s){for(var l=i.now(),u=0,f=1;f<a.length&&a[f]<=l;f+=2)u=f;u&&a.splice(0,u+1)}},e}(Qo);const $a=[],es={},T2=(t,e=0)=>{if($a.indexOf(t)==-1){const r=new v2(e);es[t]=r,$a.push(t)}return es[t]};window.emWidgets={topic:T2};const Gn=t=>!!(t.toLowerCase().match(/android/i)||t.toLowerCase().match(/blackberry|bb/i)||t.toLowerCase().match(/iphone|ipad|ipod/i)||t.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)),Yn=t=>t.toLowerCase().match(/android/i)?"Android":t.toLowerCase().match(/iphone/i)?"iPhone":t.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC";String(Number.MAX_SAFE_INTEGER).length;var Ai={exports:{}};/** @license
21
+ * eventsource.js
22
+ * Available under MIT License (MIT)
23
+ * https://github.com/Yaffle/EventSource/
24
+ */(function(t,e){(function(r){var n=r.setTimeout,i=r.clearTimeout,a=r.XMLHttpRequest,s=r.XDomainRequest,o=r.ActiveXObject,l=r.EventSource,u=r.document,f=r.Promise,d=r.fetch,h=r.Response,p=r.TextDecoder,_=r.TextEncoder,g=r.AbortController;if(typeof window!="undefined"&&typeof u!="undefined"&&!("readyState"in u)&&u.body==null&&(u.readyState="loading",window.addEventListener("load",function(T){u.readyState="complete"},!1)),a==null&&o!=null&&(a=function(){return new o("Microsoft.XMLHTTP")}),Object.create==null&&(Object.create=function(T){function N(){}return N.prototype=T,new N}),Date.now||(Date.now=function(){return new Date().getTime()}),g==null){var P=d;d=function(T,N){var q=N.signal;return P(T,{headers:N.headers,credentials:N.credentials,cache:N.cache}).then(function(O){var ae=O.body.getReader();return q._reader=ae,q._aborted&&q._reader.cancel(),{status:O.status,statusText:O.statusText,headers:O.headers,body:{getReader:function(){return ae}}}})},g=function(){this.signal={_reader:null,_aborted:!1},this.abort=function(){this.signal._reader!=null&&this.signal._reader.cancel(),this.signal._aborted=!0}}}function L(){this.bitsNeeded=0,this.codePoint=0}L.prototype.decode=function(T){function N(ee,se,Z){if(Z===1)return ee>=128>>se&&ee<<se<=2047;if(Z===2)return ee>=2048>>se&&ee<<se<=55295||ee>=57344>>se&&ee<<se<=65535;if(Z===3)return ee>=65536>>se&&ee<<se<=1114111;throw new Error}function q(ee,se){if(ee===6*1)return se>>6>15?3:se>31?2:1;if(ee===6*2)return se>15?3:2;if(ee===6*3)return 3;throw new Error}for(var O=65533,ae="",Q=this.bitsNeeded,le=this.codePoint,S=0;S<T.length;S+=1){var X=T[S];Q!==0&&(X<128||X>191||!N(le<<6|X&63,Q-6,q(Q,le)))&&(Q=0,le=O,ae+=String.fromCharCode(le)),Q===0?(X>=0&&X<=127?(Q=0,le=X):X>=192&&X<=223?(Q=6*1,le=X&31):X>=224&&X<=239?(Q=6*2,le=X&15):X>=240&&X<=247?(Q=6*3,le=X&7):(Q=0,le=O),Q!==0&&!N(le,Q,q(Q,le))&&(Q=0,le=O)):(Q-=6,le=le<<6|X&63),Q===0&&(le<=65535?ae+=String.fromCharCode(le):(ae+=String.fromCharCode(55296+(le-65535-1>>10)),ae+=String.fromCharCode(56320+(le-65535-1&1023))))}return this.bitsNeeded=Q,this.codePoint=le,ae};var E=function(){try{return new p().decode(new _().encode("test"),{stream:!0})==="test"}catch(T){console.debug("TextDecoder does not support streaming option. Using polyfill instead: "+T)}return!1};(p==null||_==null||!E())&&(p=L);var w=function(){};function v(T){this.withCredentials=!1,this.readyState=0,this.status=0,this.statusText="",this.responseText="",this.onprogress=w,this.onload=w,this.onerror=w,this.onreadystatechange=w,this._contentType="",this._xhr=T,this._sendTimeout=0,this._abort=w}v.prototype.open=function(T,N){this._abort(!0);var q=this,O=this._xhr,ae=1,Q=0;this._abort=function(Z){q._sendTimeout!==0&&(i(q._sendTimeout),q._sendTimeout=0),(ae===1||ae===2||ae===3)&&(ae=4,O.onload=w,O.onerror=w,O.onabort=w,O.onprogress=w,O.onreadystatechange=w,O.abort(),Q!==0&&(i(Q),Q=0),Z||(q.readyState=4,q.onabort(null),q.onreadystatechange())),ae=0};var le=function(){if(ae===1){var Z=0,ue="",Ue=void 0;if("contentType"in O)Z=200,ue="OK",Ue=O.contentType;else try{Z=O.status,ue=O.statusText,Ue=O.getResponseHeader("Content-Type")}catch(Nt){Z=0,ue="",Ue=void 0}Z!==0&&(ae=2,q.readyState=2,q.status=Z,q.statusText=ue,q._contentType=Ue,q.onreadystatechange())}},S=function(){if(le(),ae===2||ae===3){ae=3;var Z="";try{Z=O.responseText}catch(ue){}q.readyState=3,q.responseText=Z,q.onprogress()}},X=function(Z,ue){if((ue==null||ue.preventDefault==null)&&(ue={preventDefault:w}),S(),ae===1||ae===2||ae===3){if(ae=4,Q!==0&&(i(Q),Q=0),q.readyState=4,Z==="load")q.onload(ue);else if(Z==="error")q.onerror(ue);else if(Z==="abort")q.onabort(ue);else throw new TypeError;q.onreadystatechange()}},ee=function(Z){O!=null&&(O.readyState===4?(!("onload"in O)||!("onerror"in O)||!("onabort"in O))&&X(O.responseText===""?"error":"load",Z):O.readyState===3?"onprogress"in O||S():O.readyState===2&&le())},se=function(){Q=n(function(){se()},500),O.readyState===3&&S()};"onload"in O&&(O.onload=function(Z){X("load",Z)}),"onerror"in O&&(O.onerror=function(Z){X("error",Z)}),"onabort"in O&&(O.onabort=function(Z){X("abort",Z)}),"onprogress"in O&&(O.onprogress=S),"onreadystatechange"in O&&(O.onreadystatechange=function(Z){ee(Z)}),("contentType"in O||!("ontimeout"in a.prototype))&&(N+=(N.indexOf("?")===-1?"?":"&")+"padding=true"),O.open(T,N,!0),"readyState"in O&&(Q=n(function(){se()},0))},v.prototype.abort=function(){this._abort(!1)},v.prototype.getResponseHeader=function(T){return this._contentType},v.prototype.setRequestHeader=function(T,N){var q=this._xhr;"setRequestHeader"in q&&q.setRequestHeader(T,N)},v.prototype.getAllResponseHeaders=function(){return this._xhr.getAllResponseHeaders!=null&&this._xhr.getAllResponseHeaders()||""},v.prototype.send=function(){if((!("ontimeout"in a.prototype)||!("sendAsBinary"in a.prototype)&&!("mozAnon"in a.prototype))&&u!=null&&u.readyState!=null&&u.readyState!=="complete"){var T=this;T._sendTimeout=n(function(){T._sendTimeout=0,T.send()},4);return}var N=this._xhr;"withCredentials"in N&&(N.withCredentials=this.withCredentials);try{N.send(void 0)}catch(q){throw q}};function Y(T){return T.replace(/[A-Z]/g,function(N){return String.fromCharCode(N.charCodeAt(0)+32)})}function D(T){for(var N=Object.create(null),q=T.split(`\r
25
+ `),O=0;O<q.length;O+=1){var ae=q[O],Q=ae.split(": "),le=Q.shift(),S=Q.join(": ");N[Y(le)]=S}this._map=N}D.prototype.get=function(T){return this._map[Y(T)]},a!=null&&a.HEADERS_RECEIVED==null&&(a.HEADERS_RECEIVED=2);function F(){}F.prototype.open=function(T,N,q,O,ae,Q,le){T.open("GET",ae);var S=0;T.onprogress=function(){var ee=T.responseText,se=ee.slice(S);S+=se.length,q(se)},T.onerror=function(ee){ee.preventDefault(),O(new Error("NetworkError"))},T.onload=function(){O(null)},T.onabort=function(){O(null)},T.onreadystatechange=function(){if(T.readyState===a.HEADERS_RECEIVED){var ee=T.status,se=T.statusText,Z=T.getResponseHeader("Content-Type"),ue=T.getAllResponseHeaders();N(ee,se,Z,new D(ue))}},T.withCredentials=Q;for(var X in le)Object.prototype.hasOwnProperty.call(le,X)&&T.setRequestHeader(X,le[X]);return T.send(),T};function G(T){this._headers=T}G.prototype.get=function(T){return this._headers.get(T)};function M(){}M.prototype.open=function(T,N,q,O,ae,Q,le){var S=null,X=new g,ee=X.signal,se=new p;return d(ae,{headers:le,credentials:Q?"include":"same-origin",signal:ee,cache:"no-store"}).then(function(Z){return S=Z.body.getReader(),N(Z.status,Z.statusText,Z.headers.get("Content-Type"),new G(Z.headers)),new f(function(ue,Ue){var Nt=function(){S.read().then(function(k){if(k.done)ue(void 0);else{var te=se.decode(k.value,{stream:!0});q(te),Nt()}}).catch(function(k){Ue(k)})};Nt()})}).catch(function(Z){if(Z.name!=="AbortError")return Z}).then(function(Z){O(Z)}),{abort:function(){S!=null&&S.cancel(),X.abort()}}};function A(){this._listeners=Object.create(null)}function Pe(T){n(function(){throw T},0)}A.prototype.dispatchEvent=function(T){T.target=this;var N=this._listeners[T.type];if(N!=null)for(var q=N.length,O=0;O<q;O+=1){var ae=N[O];try{typeof ae.handleEvent=="function"?ae.handleEvent(T):ae.call(this,T)}catch(Q){Pe(Q)}}},A.prototype.addEventListener=function(T,N){T=String(T);var q=this._listeners,O=q[T];O==null&&(O=[],q[T]=O);for(var ae=!1,Q=0;Q<O.length;Q+=1)O[Q]===N&&(ae=!0);ae||O.push(N)},A.prototype.removeEventListener=function(T,N){T=String(T);var q=this._listeners,O=q[T];if(O!=null){for(var ae=[],Q=0;Q<O.length;Q+=1)O[Q]!==N&&ae.push(O[Q]);ae.length===0?delete q[T]:q[T]=ae}};function ye(T){this.type=T,this.target=void 0}function De(T,N){ye.call(this,T),this.data=N.data,this.lastEventId=N.lastEventId}De.prototype=Object.create(ye.prototype);function Ae(T,N){ye.call(this,T),this.status=N.status,this.statusText=N.statusText,this.headers=N.headers}Ae.prototype=Object.create(ye.prototype);function Re(T,N){ye.call(this,T),this.error=N.error}Re.prototype=Object.create(ye.prototype);var He=-1,Ce=0,U=1,Le=2,he=-1,$=0,be=1,I=2,ie=3,xe=/^text\/event\-stream(;.*)?$/i,ne=1e3,B=18e6,Xe=function(T,N){var q=T==null?N:parseInt(T,10);return q!==q&&(q=N),we(q)},we=function(T){return Math.min(Math.max(T,ne),B)},et=function(T,N,q){try{typeof N=="function"&&N.call(T,q)}catch(O){Pe(O)}};function Ge(T,N){A.call(this),N=N||{},this.onopen=void 0,this.onmessage=void 0,this.onerror=void 0,this.url=void 0,this.readyState=void 0,this.withCredentials=void 0,this.headers=void 0,this._close=void 0,dr(this,T,N)}function St(){return a!=null&&"withCredentials"in a.prototype||s==null?new a:new s}var Et=d!=null&&h!=null&&"body"in h.prototype;function dr(T,N,q){N=String(N);var O=!!q.withCredentials,ae=q.lastEventIdQueryParameterName||"lastEventId",Q=we(1e3),le=Xe(q.heartbeatTimeout,45e3),S="",X=Q,ee=!1,se=0,Z=q.headers||{},ue=q.Transport,Ue=Et&&ue==null?void 0:new v(ue!=null?new ue:St()),Nt=ue!=null&&typeof ue!="string"?new ue:Ue==null?new M:new F,k=void 0,te=0,re=He,ve="",Fe="",dt="",ht="",at=$,ii=0,hr=0,Kl=function(Qe,Je,mt,pt){if(re===Ce)if(Qe===200&&mt!=null&&xe.test(mt)){re=U,ee=Date.now(),X=Q,T.readyState=U;var st=new Ae("open",{status:Qe,statusText:Je,headers:pt});T.dispatchEvent(st),et(T,T.onopen,st)}else{var Ke="";Qe!==200?(Je&&(Je=Je.replace(/\s+/g," ")),Ke="EventSource's response has a status "+Qe+" "+Je+" that is not 200. Aborting the connection."):Ke="EventSource's response has a Content-Type specifying an unsupported type: "+(mt==null?"-":mt.replace(/\s+/g," "))+". Aborting the connection.",ai();var st=new Ae("error",{status:Qe,statusText:Je,headers:pt});T.dispatchEvent(st),et(T,T.onerror,st),console.error(Ke)}},$l=function(Qe){if(re===U){for(var Je=-1,mt=0;mt<Qe.length;mt+=1){var pt=Qe.charCodeAt(mt);(pt===10||pt===13)&&(Je=mt)}var st=(Je!==-1?ht:"")+Qe.slice(0,Je+1);ht=(Je===-1?ht:"")+Qe.slice(Je+1),Qe!==""&&(ee=Date.now(),se+=Qe.length);for(var Ke=0;Ke<st.length;Ke+=1){var pt=st.charCodeAt(Ke);if(at===he&&pt===10)at=$;else if(at===he&&(at=$),pt===13||pt===10){if(at!==$){at===be&&(hr=Ke+1);var Ht=st.slice(ii,hr-1),Ut=st.slice(hr+(hr<Ke&&st.charCodeAt(hr)===32?1:0),Ke);Ht==="data"?(ve+=`
26
+ `,ve+=Ut):Ht==="id"?Fe=Ut:Ht==="event"?dt=Ut:Ht==="retry"?(Q=Xe(Ut,Q),X=Q):Ht==="heartbeatTimeout"&&(le=Xe(Ut,le),te!==0&&(i(te),te=n(function(){Yr()},le)))}if(at===$){if(ve!==""){S=Fe,dt===""&&(dt="message");var Cr=new De(dt,{data:ve.slice(1),lastEventId:Fe});if(T.dispatchEvent(Cr),dt==="open"?et(T,T.onopen,Cr):dt==="message"?et(T,T.onmessage,Cr):dt==="error"&&et(T,T.onerror,Cr),re===Le)return}ve="",dt=""}at=pt===13?he:$}else at===$&&(ii=Ke,at=be),at===be?pt===58&&(hr=Ke+1,at=I):at===I&&(at=ie)}}},xa=function(Qe){if(re===U||re===Ce){re=He,te!==0&&(i(te),te=0),te=n(function(){Yr()},X),X=we(Math.min(Q*16,X*2)),T.readyState=Ce;var Je=new Re("error",{error:Qe});T.dispatchEvent(Je),et(T,T.onerror,Je),Qe!=null&&console.error(Qe)}},ai=function(){re=Le,k!=null&&(k.abort(),k=void 0),te!==0&&(i(te),te=0),T.readyState=Le},Yr=function(){if(te=0,re!==He){if(!ee&&k!=null)xa(new Error("No activity within "+le+" milliseconds. "+(re===Ce?"No response received.":se+" chars received.")+" Reconnecting.")),k!=null&&(k.abort(),k=void 0);else{var Qe=Math.max((ee||Date.now())+le-Date.now(),1);ee=!1,te=n(function(){Yr()},Qe)}return}ee=!1,se=0,te=n(function(){Yr()},le),re=Ce,ve="",dt="",Fe=S,ht="",ii=0,hr=0,at=$;var Je=N;if(N.slice(0,5)!=="data:"&&N.slice(0,5)!=="blob:"&&S!==""){var mt=N.indexOf("?");Je=mt===-1?N:N.slice(0,mt+1)+N.slice(mt+1).replace(/(?:^|&)([^=&]*)(?:=[^&]*)?/g,function(Ut,Cr){return Cr===ae?"":Ut}),Je+=(N.indexOf("?")===-1?"?":"&")+ae+"="+encodeURIComponent(S)}var pt=T.withCredentials,st={};st.Accept="text/event-stream";var Ke=T.headers;if(Ke!=null)for(var Ht in Ke)Object.prototype.hasOwnProperty.call(Ke,Ht)&&(st[Ht]=Ke[Ht]);try{k=Nt.open(Ue,Kl,$l,xa,Je,pt,st)}catch(Ut){throw ai(),Ut}};T.url=N,T.readyState=Ce,T.withCredentials=O,T.headers=Z,T._close=ai,Yr()}Ge.prototype=Object.create(A.prototype),Ge.prototype.CONNECTING=Ce,Ge.prototype.OPEN=U,Ge.prototype.CLOSED=Le,Ge.prototype.close=function(){this._close()},Ge.CONNECTING=Ce,Ge.OPEN=U,Ge.CLOSED=Le,Ge.prototype.withCredentials=void 0;var Bt=l;a!=null&&(l==null||!("withCredentials"in l.prototype))&&(Bt=Ge),function(T){{var N=T(e);N!==void 0&&(t.exports=N)}}(function(T){T.EventSourcePolyfill=Ge,T.NativeEventSource=l,T.EventSource=Bt})})(typeof globalThis=="undefined"?typeof window!="undefined"?window:typeof self!="undefined"?self:w0:globalThis)})(Ai,Ai.exports);var $o=Ai.exports;class Qr extends qe{constructor(e){super(),We(this,e,null,null,je,{})}}customElements.define("slot-cell",Ve(Qr,{},[],[],!0));function k2(t){_r(t,"svelte-xwevk",':host{font-family:"Roboto", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}.svelte-xwevk,.svelte-xwevk::before,.svelte-xwevk::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:"Roboto"}')}function S2(t){let e,r,n,i,a,s;return{c(){e=b("div"),r=b("div"),c(r,"class",n="CardImg "+(t[1]=="Closing"||t[1]=="Closed"?"CardImgFinished":"")+" svelte-xwevk"),c(r,"part",i="CardImg "+(t[1]=="Closing"||t[1]=="Closed"?"CardImgFinished":"")),Rt(r,"background-image","url('"+(t[0]?t[0]:"https://i.stack.imgur.com/y9DpT.jpg")+"')"),c(e,"class","Thumbnail svelte-xwevk"),c(e,"part","Thumbnail")},m(o,l){C(o,e,l),m(e,r),a||(s=$t(t[3].call(null,r)),a=!0)},p(o,l){l&2&&n!==(n="CardImg "+(o[1]=="Closing"||o[1]=="Closed"?"CardImgFinished":"")+" svelte-xwevk")&&c(r,"class",n),l&2&&i!==(i="CardImg "+(o[1]=="Closing"||o[1]=="Closed"?"CardImgFinished":""))&&c(r,"part",i),l&1&&Rt(r,"background-image","url('"+(o[0]?o[0]:"https://i.stack.imgur.com/y9DpT.jpg")+"')")},d(o){o&&y(e),a=!1,s()}}}function P2(t){let e;return{c(){e=b("div"),e.innerHTML='<div class="Skeleton CardImg svelte-xwevk"><ui-skeleton structure="rectangle" width="100%" height="300px" class="svelte-xwevk"></ui-skeleton></div>',c(e,"class","Thumbnail svelte-xwevk"),c(e,"part","Thumbnail")},m(r,n){C(r,e,n)},p:J,d(r){r&&y(e)}}}function x2(t){let e;function r(a,s){return a[2]?P2:S2}let n=r(t),i=n(t);return{c(){i.c(),e=de()},m(a,s){i.m(a,s),C(a,e,s)},p(a,[s]){n===(n=r(a))&&i?i.p(a,s):(i.d(1),i=n(a),i&&(i.c(),i.m(e.parentNode,e)))},i:J,o:J,d(a){a&&y(e),i.d(a)}}}function D2(t,e,r){let{thumbnail:n=""}=e,{status:i=""}=e,{isloading:a=!0}=e;const s=()=>{};return t.$$set=o=>{"thumbnail"in o&&r(0,n=o.thumbnail),"status"in o&&r(1,i=o.status),"isloading"in o&&r(2,a=o.isloading)},[n,i,a,s]}class Fi extends qe{constructor(e){super(),We(this,e,D2,x2,je,{thumbnail:0,status:1,isloading:2},k2)}get thumbnail(){return this.$$.ctx[0]}set thumbnail(e){this.$$set({thumbnail:e}),x()}get status(){return this.$$.ctx[1]}set status(e){this.$$set({status:e}),x()}get isloading(){return this.$$.ctx[2]}set isloading(e){this.$$set({isloading:e}),x()}}customElements.define("thumbnail-line",Ve(Fi,{thumbnail:{},status:{},isloading:{type:"Boolean"}},[],[],!0));function L2(t){_r(t,"svelte-rpde8u",".svelte-rpde8u,.svelte-rpde8u::before,.svelte-rpde8u::after{box-sizing:border-box}.Title.svelte-rpde8u{text-transform:uppercase}.DetailsCard.svelte-rpde8u{border:1px solid var(--emw--color-contrast, #07072A);color:var(--emw--color-white, #FFFFFF);width:100%;margin:25px 0 25px 0}.DetailsTitle.svelte-rpde8u{padding:0 20px;height:60px;display:flex;align-items:center;justify-content:space-between;background:var(--emw--color-contrast, #07072A)}.DetailsContent.svelte-rpde8u{overflow:auto;height:150px;font-size:14px;padding:10px 10px 10px 20px;margin:10px 20px 10px 0}.sc.svelte-rpde8u::-webkit-scrollbar{width:5px;height:5px}.sc.svelte-rpde8u::-webkit-scrollbar-track{background-color:rgba(255, 255, 255, 0.1);border-radius:var(--emw--border-radius-medium, 10px)}.sc.svelte-rpde8u::-webkit-scrollbar-thumb{background-color:var(--emw--color-white, #FFFFFF);border-radius:var(--emw--border-radius-medium, 10px)}")}function ts(t){let e,r,n,i,a,s,o;function l(d,h){return d[2]?E2:M2}let u=l(t),f=u(t);return{c(){e=b("div"),r=b("p"),n=z(t[1]),i=H(),a=b("div"),f.c(),c(r,"class","Title svelte-rpde8u"),c(r,"part","Title"),c(a,"class","CollapseButtonDetails svelte-rpde8u"),c(a,"part","CollapseButtonDetails"),c(a,"role","button"),c(a,"tabindex","0"),c(e,"class","DetailsTitle svelte-rpde8u"),c(e,"part","DetailsTitle")},m(d,h){C(d,e,h),m(e,r),m(r,n),m(e,i),m(e,a),f.m(a,null),s||(o=tt(a,"click",t[5]),s=!0)},p(d,h){h&2&&W(n,d[1]),u!==(u=l(d))&&(f.d(1),f=u(d),f&&(f.c(),f.m(a,null)))},d(d){d&&y(e),f.d(),s=!1,o()}}}function E2(t){let e,r;return{c(){e=$e("svg"),r=$e("path"),c(r,"d","M6 9l6 6 6-6"),c(r,"class","svelte-rpde8u"),c(e,"xmlns","http://www.w3.org/2000/svg"),c(e,"width","24"),c(e,"height","24"),c(e,"viewBox","0 0 24 24"),c(e,"fill","none"),c(e,"stroke","#ffffff"),c(e,"stroke-width","2"),c(e,"stroke-linecap","round"),c(e,"stroke-linejoin","round"),c(e,"class","svelte-rpde8u")},m(n,i){C(n,e,i),m(e,r)},d(n){n&&y(e)}}}function M2(t){let e,r;return{c(){e=$e("svg"),r=$e("path"),c(r,"d","M18 15l-6-6-6 6"),c(r,"class","svelte-rpde8u"),c(e,"xmlns","http://www.w3.org/2000/svg"),c(e,"width","24"),c(e,"height","24"),c(e,"viewBox","0 0 24 24"),c(e,"fill","none"),c(e,"stroke","#ffffff"),c(e,"stroke-width","2"),c(e,"stroke-linecap","round"),c(e,"stroke-linejoin","round"),c(e,"class","svelte-rpde8u")},m(n,i){C(n,e,i),m(e,r)},d(n){n&&y(e)}}}function rs(t){let e,r,n,i;return{c(){e=b("div"),e.innerHTML="",c(e,"class","DetailsContent sc svelte-rpde8u"),c(e,"part","DetailsContent")},m(a,s){C(a,e,s),n||(i=$t(r=t[4].call(null,e,t[0])),n=!0)},p(a,s){r&&Kt(r.update)&&s&1&&r.update.call(null,a[0])},d(a){a&&y(e),n=!1,i()}}}function R2(t){let e,r,n=t[1]&&ts(t),i=t[0]&&!t[2]&&rs(t);return{c(){e=b("div"),n&&n.c(),r=H(),i&&i.c(),c(e,"class","DetailsCard svelte-rpde8u"),c(e,"part","DetailsCard")},m(a,s){C(a,e,s),n&&n.m(e,null),m(e,r),i&&i.m(e,null)},p(a,[s]){a[1]?n?n.p(a,s):(n=ts(a),n.c(),n.m(e,r)):n&&(n.d(1),n=null),a[0]&&!a[2]?i?i.p(a,s):(i=rs(a),i.c(),i.m(e,null)):i&&(i.d(1),i=null)},i:J,o:J,d(a){a&&y(e),n&&n.d(),i&&i.d()}}}function A2(t,e,r){let{text:n=""}=e,{title:i=""}=e,a=!1;const s=()=>{r(2,a=!a)},o=(u,f)=>{let d=document.createElement("div");d.innerHTML=f,u.append(d)},l=()=>s();return t.$$set=u=>{"text"in u&&r(0,n=u.text),"title"in u&&r(1,i=u.title)},[n,i,a,s,o,l]}class Mn extends qe{constructor(e){super(),We(this,e,A2,R2,je,{text:0,title:1},L2)}get text(){return this.$$.ctx[0]}set text(e){this.$$set({text:e}),x()}get title(){return this.$$.ctx[1]}set title(e){this.$$set({title:e}),x()}}customElements.define("title-text-cell",Ve(Mn,{text:{},title:{}},[],[],!0));function F2(t){let e,r,n=t[3]("tournamentsThumbnail.scoreCriteria")+"",i,a,s,o,l,u=t[3]("tournamentsThumbnail.minbet")+"",f,d,h,p,_,g;return{c(){e=b("div"),r=b("p"),i=z(n),a=z(`:
27
+ `),s=b("span"),o=z(t[2]),l=z(`
28
+ (`),f=z(u),d=H(),h=z(t[0]),p=z(")"),c(s,"part","ScoreCriteriaSpan"),c(r,"part","ScoreCriteriaP"),c(e,"class","ScoreCriteria"),c(e,"part","ScoreCriteria")},m(P,L){C(P,e,L),m(e,r),m(r,i),m(r,a),m(r,s),m(s,o),m(r,l),m(r,f),m(r,d),m(r,h),m(r,p),_||(g=$t(t[4].call(null,s)),_=!0)},p(P,L){L&8&&n!==(n=P[3]("tournamentsThumbnail.scoreCriteria")+"")&&W(i,n),L&4&&W(o,P[2]),L&8&&u!==(u=P[3]("tournamentsThumbnail.minbet")+"")&&W(f,u),L&1&&W(h,P[0])},d(P){P&&y(e),_=!1,g()}}}function z2(t){let e;return{c(){e=b("div"),e.innerHTML='<p part="ScoreCriteriaP"><ui-skeleton structure="text" width="100%" height="25px"></ui-skeleton></p>',c(e,"class","ScoreCriteria Loading"),c(e,"part","ScoreCriteria")},m(r,n){C(r,e,n)},p:J,d(r){r&&y(e)}}}function O2(t){let e;function r(a,s){return a[1]?z2:F2}let n=r(t),i=n(t);return{c(){i.c(),e=de()},m(a,s){i.m(a,s),C(a,e,s)},p(a,[s]){n===(n=r(a))&&i?i.p(a,s):(i.d(1),i=n(a),i&&(i.c(),i.m(e.parentNode,e)))},i:J,o:J,d(a){a&&y(e),i.d(a)}}}function B2(t,e,r){let n;wt(t,vt,d=>r(3,n=d));let{scorecriteria:i=""}=e,{lang:a="en"}=e,{minbetcount:s}=e,{isloading:o=!0}=e;rr({fallbackLocale:"en",initialLocale:"en"});const l=()=>{bt(a),f()};let u="";const f=()=>{i=="BetCount"&&r(2,u=n("tournamentsThumbnail.betCount")),i=="MaxWinStakeRatio"&&r(2,u=n("tournamentsThumbnail.maxWinStakeRatio")),i=="WinStakeRatio"&&r(2,u=n("tournamentsThumbnail.winStakeRatio"))};return t.$$set=d=>{"scorecriteria"in d&&r(5,i=d.scorecriteria),"lang"in d&&r(6,a=d.lang),"minbetcount"in d&&r(0,s=d.minbetcount),"isloading"in d&&r(1,o=d.isloading)},t.$$.update=()=>{t.$$.dirty&64&&a&&l(),t.$$.dirty&32&&i&&f()},[s,o,u,n,f,i,a]}class zi extends qe{constructor(e){super(),We(this,e,B2,O2,je,{scorecriteria:5,lang:6,minbetcount:0,isloading:1})}get scorecriteria(){return this.$$.ctx[5]}set scorecriteria(e){this.$$set({scorecriteria:e}),x()}get lang(){return this.$$.ctx[6]}set lang(e){this.$$set({lang:e}),x()}get minbetcount(){return this.$$.ctx[0]}set minbetcount(e){this.$$set({minbetcount:e}),x()}get isloading(){return this.$$.ctx[1]}set isloading(e){this.$$set({isloading:e}),x()}}customElements.define("score-criteria-cell",Ve(zi,{scorecriteria:{},lang:{},minbetcount:{},isloading:{type:"Boolean"}},[],[],!0));function N2(t){let e,r=t[1]&&ns(t);return{c(){r&&r.c(),e=de()},m(n,i){r&&r.m(n,i),C(n,e,i)},p(n,i){n[1]?r?r.p(n,i):(r=ns(n),r.c(),r.m(e.parentNode,e)):r&&(r.d(1),r=null)},d(n){n&&y(e),r&&r.d(n)}}}function H2(t){let e,r=t[9]("tournamentsThController.login")+"",n,i,a,s=t[9]("tournamentsThController.register")+"",o,l,u;return{c(){e=b("button"),n=z(r),i=H(),a=b("button"),o=z(s),c(e,"class","LoginButton"),c(e,"part","LoginButton"),c(a,"class","RegisterButton"),c(a,"part","RegisterButton")},m(f,d){C(f,e,d),m(e,n),C(f,i,d),C(f,a,d),m(a,o),l||(u=[tt(e,"click",t[23]),tt(a,"click",t[24])],l=!0)},p(f,d){d&512&&r!==(r=f[9]("tournamentsThController.login")+"")&&W(n,r),d&512&&s!==(s=f[9]("tournamentsThController.register")+"")&&W(o,s)},d(f){f&&(y(e),y(i),y(a)),l=!1,Ft(u)}}}function ns(t){let e,r,n,i,a;function s(u,f){return u[5]==!0?I2:U2}let o=s(t),l=o(t);return{c(){e=b("button"),l.c(),c(e,"class",r="JoinButton "+(t[3]?"JoinButtonFullSize":"")),c(e,"part",n="JoinButton "+(t[3]?"JoinButtonFullSize":"")),e.disabled=t[6]},m(u,f){C(u,e,f),l.m(e,null),i||(a=tt(e,"click",t[25]),i=!0)},p(u,f){o===(o=s(u))&&l?l.p(u,f):(l.d(1),l=o(u),l&&(l.c(),l.m(e,null))),f&8&&r!==(r="JoinButton "+(u[3]?"JoinButtonFullSize":""))&&c(e,"class",r),f&8&&n!==(n="JoinButton "+(u[3]?"JoinButtonFullSize":""))&&c(e,"part",n),f&64&&(e.disabled=u[6])},d(u){u&&y(e),l.d(),i=!1,a()}}}function U2(t){let e,r=t[9]("tournamentsThController.join")+"",n,i,a,s,o,l,u,f;return{c(){e=b("span"),n=z(r),i=H(),a=$e("svg"),s=$e("defs"),o=$e("style"),l=z(".a{fill:var(--emw--color-white, #FFFFFF);}"),u=$e("g"),f=$e("path"),c(e,"part","JoinButtonSpan"),c(e,"class","JoinButtonSpan"),c(f,"class","a"),c(f,"part","a JoinButtonSvgA"),c(f,"d","M13,0,10.636,2.364l8.948,8.948H0v3.377H19.584l-8.948,8.948L13,26,26,13Z"),c(f,"transform","translate(26 26) rotate(180)"),c(u,"transform","translate(26 26) rotate(180)"),c(a,"part","JoinButtonSvg"),c(a,"class","JoinButtonSvg"),c(a,"xmlns","http://www.w3.org/2000/svg"),c(a,"width","26"),c(a,"height","26"),c(a,"viewBox","0 0 26 26")},m(d,h){C(d,e,h),m(e,n),C(d,i,h),C(d,a,h),m(a,s),m(s,o),m(o,l),m(a,u),m(u,f)},p(d,h){h&512&&r!==(r=d[9]("tournamentsThController.join")+"")&&W(n,r)},d(d){d&&(y(e),y(i),y(a))}}}function I2(t){let e,r;return{c(){e=$e("svg"),r=$e("circle"),c(r,"class","circle"),c(r,"part","circle"),c(r,"cx","20"),c(r,"cy","20"),c(r,"r","18"),c(e,"class","spinner"),c(e,"part","spinner")},m(n,i){C(n,e,i),m(e,r)},p:J,d(n){n&&y(e)}}}function is(t){let e,r=t[9]("tournamentsThController.joinerror")+"",n,i,a;return{c(){e=b("span"),n=z(r),i=H(),a=z(t[7]),c(e,"class","ErrorText"),c(e,"part","ErrorText")},m(s,o){C(s,e,o),m(e,n),m(e,i),m(e,a)},p(s,o){o&512&&r!==(r=s[9]("tournamentsThController.joinerror")+"")&&W(n,r),o&128&&W(a,s[7])},d(s){s&&y(e)}}}function j2(t){let e,r,n;function i(l,u){if(!l[4])return H2;if(l[2]!="Closed"&&l[2]!="Closing")return N2}let a=i(t),s=a&&a(t),o=(t[6]||t[8])&&is(t);return{c(){e=b("div"),s&&s.c(),r=H(),o&&o.c(),n=de(),c(e,"class","TournamentButtons"),c(e,"part","TournamentButtons")},m(l,u){C(l,e,u),s&&s.m(e,null),C(l,r,u),o&&o.m(l,u),C(l,n,u)},p(l,[u]){a===(a=i(l))&&s?s.p(l,u):(s&&s.d(1),s=a&&a(l),s&&(s.c(),s.m(e,null))),l[6]||l[8]?o?o.p(l,u):(o=is(l),o.c(),o.m(n.parentNode,n)):o&&(o.d(1),o=null)},i:J,o:J,d(l){l&&(y(e),y(r),y(n)),s&&s.d(),o&&o.d(l)}}}function G2(t,e,r){let n;wt(t,vt,U=>r(9,n=U));let{session:i=""}=e,{tourid:a=""}=e,{endpoint:s=""}=e,{userenrolled:o=""}=e,{showleaderboard:l=""}=e,{lang:u=""}=e,{loginevent:f=""}=e,{registerevent:d=""}=e,{loginurl:h=""}=e,{registerurl:p=""}=e,{currency:_=""}=e,{bonuscode:g=""}=e,{status:P=""}=e,L="";rr({fallbackLocale:"en",initialLocale:"en"});const E=()=>{bt(u)};let w=!1,v="",Y=window.navigator.userAgent,D=!1,F=!1,G="There was an error while trying to join the tournament",M=!1;const A=()=>{f&&window.postMessage({type:f,transition:"Login"},window.location.href),h&&(window.location=h)},Pe=()=>{d&&window.postMessage({type:d,transition:"Register"},window.location.href),p&&(window.location=p)},ye=()=>{i.length>0&&i!="false"?(v=i,r(4,w=!0)):r(4,w=!1)},De=(U,Le)=>Wr(this,null,function*(){var Xe;r(6,F=!1),r(8,M=!1),window.postMessage({type:"TournamentJoinRequest",tournamentId:U},window.location.href),r(5,D=!0);let he=new URL(`${s}/v1/bonus/claim`),$=new Headers,be={};he.searchParams.append("language",u),he.searchParams.append("platform",Yn(Y)),$.append("Content-Type","application/json"),$.append("X-SessionID",v),Le&&(be={language:u,bonusCode:Le,currency:_,type:"tournament"});let I={method:"PUT",headers:$,body:JSON.stringify(be)};const ie=()=>{r(5,D=!1),r(13,o="true"),window.postMessage({type:"TournamentUserEnrolled",userenrolled:o},window.location.href)},xe=we=>{r(5,D=!1),we&&r(7,G=we),r(6,F=!0)},B=yield Wr(this,null,function*(){let we;try{we=yield fetch(he,I),we=yield we.json()}catch(et){xe()}return we});if(B)if(B.success==!0)ie();else if(B.errorMessage.match("VersionMismatchException")){let we;we=yield fetch(`${s}/tournaments/${a}`,{headers:{"X-SessionID":i}}),we=yield we.json(),(Xe=we==null?void 0:we.item)!=null&&Xe.playerEnrolled?ie():(xe(B.errorMessage),r(8,M=!0),r(6,F=!1))}else xe(B.errorMessage)}),Ae=U=>{U.data&&U.data.type=="UserSessionID"&&(r(4,w=!0),v=U.data.session)};er(()=>(r(3,L=l=="true"),window.addEventListener("message",Ae),()=>{window.removeEventListener("message",Ae)}));const Re=()=>A(),He=()=>Pe(),Ce=()=>De(a,g);return t.$$set=U=>{"session"in U&&r(14,i=U.session),"tourid"in U&&r(0,a=U.tourid),"endpoint"in U&&r(15,s=U.endpoint),"userenrolled"in U&&r(13,o=U.userenrolled),"showleaderboard"in U&&r(16,l=U.showleaderboard),"lang"in U&&r(17,u=U.lang),"loginevent"in U&&r(18,f=U.loginevent),"registerevent"in U&&r(19,d=U.registerevent),"loginurl"in U&&r(20,h=U.loginurl),"registerurl"in U&&r(21,p=U.registerurl),"currency"in U&&r(22,_=U.currency),"bonuscode"in U&&r(1,g=U.bonuscode),"status"in U&&r(2,P=U.status)},t.$$.update=()=>{t.$$.dirty&16384&&i&&ye(),t.$$.dirty&131072&&u&&E()},[a,g,P,L,w,D,F,G,M,n,A,Pe,De,o,i,s,l,u,f,d,h,p,_,Re,He,Ce]}class Oi extends qe{constructor(e){super(),We(this,e,G2,j2,je,{session:14,tourid:0,endpoint:15,userenrolled:13,showleaderboard:16,lang:17,loginevent:18,registerevent:19,loginurl:20,registerurl:21,currency:22,bonuscode:1,status:2})}get session(){return this.$$.ctx[14]}set session(e){this.$$set({session:e}),x()}get tourid(){return this.$$.ctx[0]}set tourid(e){this.$$set({tourid:e}),x()}get endpoint(){return this.$$.ctx[15]}set endpoint(e){this.$$set({endpoint:e}),x()}get userenrolled(){return this.$$.ctx[13]}set userenrolled(e){this.$$set({userenrolled:e}),x()}get showleaderboard(){return this.$$.ctx[16]}set showleaderboard(e){this.$$set({showleaderboard:e}),x()}get lang(){return this.$$.ctx[17]}set lang(e){this.$$set({lang:e}),x()}get loginevent(){return this.$$.ctx[18]}set loginevent(e){this.$$set({loginevent:e}),x()}get registerevent(){return this.$$.ctx[19]}set registerevent(e){this.$$set({registerevent:e}),x()}get loginurl(){return this.$$.ctx[20]}set loginurl(e){this.$$set({loginurl:e}),x()}get registerurl(){return this.$$.ctx[21]}set registerurl(e){this.$$set({registerurl:e}),x()}get currency(){return this.$$.ctx[22]}set currency(e){this.$$set({currency:e}),x()}get bonuscode(){return this.$$.ctx[1]}set bonuscode(e){this.$$set({bonuscode:e}),x()}get status(){return this.$$.ctx[2]}set status(e){this.$$set({status:e}),x()}}customElements.define("tournament-join-button-cell",Ve(Oi,{session:{},tourid:{},endpoint:{},userenrolled:{},showleaderboard:{},lang:{},loginevent:{},registerevent:{},loginurl:{},registerurl:{},currency:{},bonuscode:{},status:{}},[],[],!0));function Y2(t){_r(t,"svelte-1hk5bqq",".Status.svelte-1hk5bqq{color:greenyellow}")}function as(t){let e,r,n,i,a,s,o,l=t[0]=="Running"&&ss(t);return{c(){e=b("div"),r=z(t[2]),n=H(),l&&l.c(),c(e,"class",i="Status "+t[3]+" TagContent svelte-1hk5bqq"),c(e,"part",a="Status "+t[3]+" TagContent")},m(u,f){C(u,e,f),m(e,r),m(e,n),l&&l.m(e,null),s||(o=$t(t[5].call(null,e)),s=!0)},p(u,f){f&4&&W(r,u[2]),u[0]=="Running"?l?l.p(u,f):(l=ss(u),l.c(),l.m(e,null)):l&&(l.d(1),l=null),f&8&&i!==(i="Status "+u[3]+" TagContent svelte-1hk5bqq")&&c(e,"class",i),f&8&&a!==(a="Status "+u[3]+" TagContent")&&c(e,"part",a)},d(u){u&&y(e),l&&l.d(),s=!1,o()}}}function ss(t){let e,r,n=t[4]("tournamentsDuration.left")+"",i;return{c(){e=z(t[1]),r=H(),i=z(n)},m(a,s){C(a,e,s),C(a,r,s),C(a,i,s)},p(a,s){s&2&&W(e,a[1]),s&16&&n!==(n=a[4]("tournamentsDuration.left")+"")&&W(i,n)},d(a){a&&(y(e),y(r),y(i))}}}function W2(t){let e,r=t[0]&&as(t);return{c(){r&&r.c(),e=de()},m(n,i){r&&r.m(n,i),C(n,e,i)},p(n,[i]){n[0]?r?r.p(n,i):(r=as(n),r.c(),r.m(e.parentNode,e)):r&&(r.d(1),r=null)},i:J,o:J,d(n){n&&y(e),r&&r.d(n)}}}function V2(t,e,r){let n;wt(t,vt,w=>r(4,n=w));let{lang:i="en"}=e,{status:a=""}=e,{startdate:s=""}=e,{enddate:o=""}=e,l="",u="";const f=w=>new Date(w).getTime(),d=(w,v)=>(f(v)-f(w))/(1e3*60),h=()=>{u=d(new Date,o),r(1,l=p(u))},p=w=>{const v=(Y,D)=>Y+" "+n(D);if(w<1440){const Y=w/60,D=w%60,F=(D-Math.floor(D))*60;return[Y,D,F].map(G=>Math.floor(G).toString().padStart(2,"0")).join(":")}return v(Math.ceil(w/(60*24)),"tournamentsDuration.days")};rr({fallbackLocale:"en",initialLocale:"en"});const _=()=>{bt(i),L()};let g="",P="";const L=()=>{a=="Unstarted"&&(r(2,g=n("tournamentsThumbnail.scheduled")),r(3,P="StatusUnstarted")),a=="Running"&&(r(2,g=n("tournamentsThumbnail.ongoing")),r(3,P="StatusRunning")),(a=="Closed"||a=="Closing")&&r(2,g=n("tournamentsThumbnail.finished")),a=="Closed"&&r(3,P="StatusClosed"),a=="Closing"&&r(3,P="StatusClosing")};let E=!1;return er(()=>{r(9,E=!0);const w=setInterval(()=>{s&&o&&h()},1e3);return()=>clearInterval(w)}),t.$$set=w=>{"lang"in w&&r(6,i=w.lang),"status"in w&&r(0,a=w.status),"startdate"in w&&r(7,s=w.startdate),"enddate"in w&&r(8,o=w.enddate)},t.$$.update=()=>{t.$$.dirty&384&&s&&o&&h(),t.$$.dirty&64&&i&&h()&&_(),t.$$.dirty&577&&E&&i&&a&&_()},[a,l,g,P,n,L,i,s,o,E]}class Bi extends qe{constructor(e){super(),We(this,e,V2,W2,je,{lang:6,status:0,startdate:7,enddate:8},Y2)}get lang(){return this.$$.ctx[6]}set lang(e){this.$$set({lang:e}),x()}get status(){return this.$$.ctx[0]}set status(e){this.$$set({status:e}),x()}get startdate(){return this.$$.ctx[7]}set startdate(e){this.$$set({startdate:e}),x()}get enddate(){return this.$$.ctx[8]}set enddate(e){this.$$set({enddate:e}),x()}}customElements.define("status-line",Ve(Bi,{lang:{},status:{},startdate:{},enddate:{}},[],[],!0));const q2="data:image/svg+xml,%3csvg%20width='10'%20height='7'%20viewBox='0%200%2010%207'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M3.50008%205.41842L1.41508%203.33342L0.705078%204.03842L3.50008%206.83342L9.50008%200.833418L8.79508%200.128418L3.50008%205.41842Z'%20fill='var(--emw--color-white,%20%23fff)'/%3e%3c/svg%3e";function os(t){let e,r=t[0]&&ls(t);return{c(){r&&r.c(),e=de()},m(n,i){r&&r.m(n,i),C(n,e,i)},p(n,i){n[0]?r?r.p(n,i):(r=ls(n),r.c(),r.m(e.parentNode,e)):r&&(r.d(1),r=null)},d(n){n&&y(e),r&&r.d(n)}}}function ls(t){let e,r,n,i,a=t[2]("tournamentsThController.joined")+"",s;return{c(){e=b("div"),r=b("img"),i=H(),s=z(a),Ye(r.src,n=q2)||c(r,"src",n),c(r,"alt","Joined"),c(e,"class","Enrolled TagContent"),c(e,"part","Enrolled TagContent")},m(o,l){C(o,e,l),m(e,r),m(e,i),m(e,s)},p(o,l){l&4&&a!==(a=o[2]("tournamentsThController.joined")+"")&&W(s,a)},d(o){o&&y(e)}}}function J2(t){let e,r=t[1]=="true"&&os(t);return{c(){r&&r.c(),e=de()},m(n,i){r&&r.m(n,i),C(n,e,i)},p(n,[i]){n[1]=="true"?r?r.p(n,i):(r=os(n),r.c(),r.m(e.parentNode,e)):r&&(r.d(1),r=null)},i:J,o:J,d(n){n&&y(e),r&&r.d(n)}}}function Z2(t,e,r){let n;wt(t,vt,u=>r(2,n=u));let{lang:i="en"}=e,{showenrolled:a=""}=e,{userenrolled:s}=e;rr({fallbackLocale:"en",initialLocale:"en"});const o=()=>{bt(i)},l=u=>{u.data&&u.data.type=="TournamentUserEnrolled"&&r(0,s=u.data.userenrolled)};return er(()=>(window.addEventListener("message",l),()=>{window.removeEventListener("message",l)})),t.$$set=u=>{"lang"in u&&r(3,i=u.lang),"showenrolled"in u&&r(1,a=u.showenrolled),"userenrolled"in u&&r(0,s=u.userenrolled)},t.$$.update=()=>{t.$$.dirty&8&&i&&o()},[s,a,n,i]}class Ni extends qe{constructor(e){super(),We(this,e,Z2,J2,je,{lang:3,showenrolled:1,userenrolled:0})}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),x()}get showenrolled(){return this.$$.ctx[1]}set showenrolled(e){this.$$set({showenrolled:e}),x()}get userenrolled(){return this.$$.ctx[0]}set userenrolled(e){this.$$set({userenrolled:e}),x()}}customElements.define("user-enroll-tag",Ve(Ni,{lang:{},showenrolled:{},userenrolled:{}},[],[],!0));function X2(t){let e,r=t[0]&&t[1]&&us(t);return{c(){e=b("div"),r&&r.c(),c(e,"class","TournamentDuration"),c(e,"part","TournamentDuration")},m(n,i){C(n,e,i),r&&r.m(e,null)},p(n,i){n[0]&&n[1]?r?r.p(n,i):(r=us(n),r.c(),r.m(e,null)):r&&(r.d(1),r=null)},d(n){n&&y(e),r&&r.d()}}}function Q2(t){let e;return{c(){e=b("div"),e.innerHTML='<ui-skeleton structure="text" width="100%" height="25px"></ui-skeleton>',c(e,"class","TournamentDuration"),c(e,"part","TournamentDuration")},m(r,n){C(r,e,n)},p:J,d(r){r&&y(e)}}}function us(t){let e,r,n,i,a,s,o,l,u,f,d,h;function p(w,v){return w[2]=="Finished"||w[2]=="Closing"||w[2]=="Closed"?ec:w[5]>0?$2:K2}let _=p(t),g=_(t);function P(w,v){if(w[2]=="Finished"||w[2]=="Closing"||w[2]=="Closed")return nc;if(w[5]>0)return rc;if(w[4]>0)return tc}let L=P(t),E=L&&L(t);return{c(){e=b("div"),r=b("div"),n=z(t[7]),i=H(),a=b("div"),s=z(t[8]),o=H(),l=b("div"),u=b("div"),g.c(),f=H(),E&&E.c(),c(r,"class","StartDate"),c(r,"part","StartDate"),c(a,"class","EndDate"),c(a,"part","EndDate"),c(e,"class","TournamentDates"),c(e,"part","TournamentDates"),c(u,"class","ProgressBar"),c(u,"part","ProgressBar"),c(l,"class","ProgressBarWrapper"),c(l,"part","ProgressBarWrapper")},m(w,v){C(w,e,v),m(e,r),m(r,n),m(e,i),m(e,a),m(a,s),C(w,o,v),C(w,l,v),m(l,u),g.m(u,null),m(u,f),E&&E.m(u,null),d||(h=$t(t[11].call(null,l)),d=!0)},p(w,v){v&128&&W(n,w[7]),v&256&&W(s,w[8]),_===(_=p(w))&&g?g.p(w,v):(g.d(1),g=_(w),g&&(g.c(),g.m(u,f))),L===(L=P(w))&&E?E.p(w,v):(E&&E.d(1),E=L&&L(w),E&&(E.c(),E.m(u,null)))},d(w){w&&(y(e),y(o),y(l)),g.d(),E&&E.d(),d=!1,h()}}}function K2(t){let e;return{c(){e=b("div"),c(e,"class","ProgressBarFill"),c(e,"part","ProgressBarFill"),Rt(e,"width",t[9]()+"%")},m(r,n){C(r,e,n)},p(r,n){n&512&&Rt(e,"width",r[9]()+"%")},d(r){r&&y(e)}}}function $2(t){let e;return{c(){e=b("div"),c(e,"class","ProgressBarFillStarting"),c(e,"part","ProgressBarFillStarting")},m(r,n){C(r,e,n)},p:J,d(r){r&&y(e)}}}function ec(t){let e;return{c(){e=b("div"),c(e,"class","ProgressBarFillEnd"),c(e,"part","ProgressBarFillEnd")},m(r,n){C(r,e,n)},p:J,d(r){r&&y(e)}}}function tc(t){let e,r,n,i=t[10]("tournamentsDuration.left")+"",a;return{c(){e=b("div"),r=z(t[6]),n=H(),a=z(i),c(e,"class","Remaining"),c(e,"part","Remaining")},m(s,o){C(s,e,o),m(e,r),m(e,n),m(e,a)},p(s,o){o&64&&W(r,s[6]),o&1024&&i!==(i=s[10]("tournamentsDuration.left")+"")&&W(a,i)},d(s){s&&y(e)}}}function rc(t){let e,r=t[10]("tournamentsDuration.starting")+"",n,i,a=t[12](t[5])+"",s;return{c(){e=b("div"),n=z(r),i=H(),s=z(a),c(e,"class","Remaining"),c(e,"part","Remaining")},m(o,l){C(o,e,l),m(e,n),m(e,i),m(e,s)},p(o,l){l&1024&&r!==(r=o[10]("tournamentsDuration.starting")+"")&&W(n,r),l&32&&a!==(a=o[12](o[5])+"")&&W(s,a)},d(o){o&&y(e)}}}function nc(t){let e,r=t[10]("tournamentsDuration.finished")+"",n;return{c(){e=b("div"),n=z(r),c(e,"class","Finished"),c(e,"part","Finished")},m(i,a){C(i,e,a),m(e,n)},p(i,a){a&1024&&r!==(r=i[10]("tournamentsDuration.finished")+"")&&W(n,r)},d(i){i&&y(e)}}}function ic(t){let e;function r(a,s){return a[3]?Q2:X2}let n=r(t),i=n(t);return{c(){i.c(),e=de()},m(a,s){i.m(a,s),C(a,e,s)},p(a,[s]){n===(n=r(a))&&i?i.p(a,s):(i.d(1),i=n(a),i&&(i.c(),i.m(e.parentNode,e)))},i:J,o:J,d(a){a&&y(e),i.d(a)}}}function ac(t,e,r){let n,i;wt(t,vt,D=>r(10,i=D));let{startdate:a=""}=e,{enddate:s=""}=e,{status:o=""}=e,{lang:l="en"}=e,{isloading:u=!0}=e,f="",d="",h="",p="",_="";const g=()=>{bt(l)};bt(l);const P=D=>new Date(D).getTime(),L=(D,F)=>(P(F)-P(D))/(1e3*60),E=()=>{const D=new Date;r(4,f=L(D,s)),r(5,d=L(D,a)),r(6,h=Y(f))},w=D=>{if(!D)return;const F={month:"long"};let G=new Date(D),M=new Intl.DateTimeFormat(l,F).format(G);return`${G.getDate()} ${M}, ${G.toLocaleString("en-GB",{hour:"numeric",minute:"numeric"})}, ${G.getUTCFullYear()}`},v=()=>{r(7,p=w(a)),r(8,_=w(s))},Y=D=>{const F=(M,A)=>M+" "+i(A),G=M=>{const A=Math.floor(M);return A<10?`0${A}`:`${A}`};if(D<1440){const M=D/60,A=D%60,Pe=(A-Math.floor(A))*60;return[M,A,Pe].map(ye=>G(ye)).join(":")}return F(Math.ceil(D/(60*24)),"tournamentsDuration.days")};return er(()=>{const D=setInterval(()=>{a&&s&&E()},1e3);return()=>clearInterval(D)}),t.$$set=D=>{"startdate"in D&&r(0,a=D.startdate),"enddate"in D&&r(1,s=D.enddate),"status"in D&&r(2,o=D.status),"lang"in D&&r(13,l=D.lang),"isloading"in D&&r(3,u=D.isloading)},t.$$.update=()=>{t.$$.dirty&19&&r(9,n=()=>{if(f<=0)return 100;const D=L(a,s),F=100/D;return Math.floor((D-f)*F)}),t.$$.dirty&19&&a&&s&&v()&&E()&&Y(f),t.$$.dirty&8192&&l&&E()&&g(),t.$$.dirty&8208&&l&&Y(f),t.$$.dirty&8192&&l&&v()},[a,s,o,u,f,d,h,p,_,n,i,E,Y,l]}class Hi extends qe{constructor(e){super(),We(this,e,ac,ic,je,{startdate:0,enddate:1,status:2,lang:13,isloading:3})}get startdate(){return this.$$.ctx[0]}set startdate(e){this.$$set({startdate:e}),x()}get enddate(){return this.$$.ctx[1]}set enddate(e){this.$$set({enddate:e}),x()}get status(){return this.$$.ctx[2]}set status(e){this.$$set({status:e}),x()}get lang(){return this.$$.ctx[13]}set lang(e){this.$$set({lang:e}),x()}get isloading(){return this.$$.ctx[3]}set isloading(e){this.$$set({isloading:e}),x()}}customElements.define("duration-router",Ve(Hi,{startdate:{},enddate:{},status:{},lang:{},isloading:{type:"Boolean"}},[],[],!0));function sc(t){_r(t,"svelte-tbri7h",".SeeGamesLine .GamesAnchor{color:#fff}.SeeGamesLine .GamesButton{cursor:pointer;margin-top:10px;color:var(--emw--color-primary, white);font-size:14px;border-radius:4px;border:0;padding:10px;background-color:var(--emw--color-background, #0072ed)}")}function oc(t){let e,r,n=t[4]("tournamentsThumbnail.seegames")+"",i,a,s,o=t[4]("tournamentsThumbnail.here")+"",l,u,f,d,h,p=t[4]("gamesSlider.playNow")+"",_,g,P;return{c(){e=b("div"),r=b("p"),i=z(n),a=H(),s=b("a"),l=z(o),f=H(),d=b("p"),h=b("button"),_=z(p),c(s,"part","GamesAnchor"),c(s,"class","GamesAnchor"),c(s,"href",t[0]),c(s,"target",u=t[2]==="true"?"_self":"_blank"),c(r,"part","GamesP"),c(h,"class","GamesButton"),c(d,"class","GamesButtonWrapper"),c(e,"class","Games"),c(e,"part","Games")},m(L,E){C(L,e,E),m(e,r),m(r,i),m(r,a),m(r,s),m(s,l),m(e,f),m(e,d),m(d,h),m(h,_),g||(P=[tt(s,"click",t[7]),tt(h,"click",t[8])],g=!0)},p(L,E){E&16&&n!==(n=L[4]("tournamentsThumbnail.seegames")+"")&&W(i,n),E&16&&o!==(o=L[4]("tournamentsThumbnail.here")+"")&&W(l,o),E&1&&c(s,"href",L[0]),E&4&&u!==(u=L[2]==="true"?"_self":"_blank")&&c(s,"target",u),E&16&&p!==(p=L[4]("gamesSlider.playNow")+"")&&W(_,p)},d(L){L&&y(e),g=!1,Ft(P)}}}function lc(t){let e;return{c(){e=b("p"),e.innerHTML='<ui-skeleton structure="text" width="100%" height="25px"></ui-skeleton>',c(e,"class","Games Loading"),c(e,"part","Games")},m(r,n){C(r,e,n)},p:J,d(r){r&&y(e)}}}function uc(t){let e;function r(a,s){return a[3]?lc:oc}let n=r(t),i=n(t);return{c(){i.c(),e=de()},m(a,s){i.m(a,s),C(a,e,s)},p(a,[s]){n===(n=r(a))&&i?i.p(a,s):(i.d(1),i=n(a),i&&(i.c(),i.m(e.parentNode,e)))},i:J,o:J,d(a){a&&y(e),i.d(a)}}}function cc(t,e,r){let n;wt(t,vt,h=>r(4,n=h));let{gameurl:i=""}=e,{tourid:a=""}=e,{keepbrowsercontext:s="false"}=e,{isloading:o=!0}=e;const l=(h,p)=>{window.postMessage({type:"tournamentGamesClicked",tourId:p},window.location.href)},u=h=>{window.postMessage({type:"tournamentGamesButtonClicked",tourId:h},window.location.href)},f=()=>l(),d=()=>u(a);return t.$$set=h=>{"gameurl"in h&&r(0,i=h.gameurl),"tourid"in h&&r(1,a=h.tourid),"keepbrowsercontext"in h&&r(2,s=h.keepbrowsercontext),"isloading"in h&&r(3,o=h.isloading)},[i,a,s,o,n,l,u,f,d]}class Ui extends qe{constructor(e){super(),We(this,e,cc,uc,je,{gameurl:0,tourid:1,keepbrowsercontext:2,isloading:3},sc)}get gameurl(){return this.$$.ctx[0]}set gameurl(e){this.$$set({gameurl:e}),x()}get tourid(){return this.$$.ctx[1]}set tourid(e){this.$$set({tourid:e}),x()}get keepbrowsercontext(){return this.$$.ctx[2]}set keepbrowsercontext(e){this.$$set({keepbrowsercontext:e}),x()}get isloading(){return this.$$.ctx[3]}set isloading(e){this.$$set({isloading:e}),x()}}customElements.define("see-games-line",Ve(Ui,{gameurl:{},tourid:{},keepbrowsercontext:{},isloading:{type:"Boolean"}},[],[],!0));const Rn="data:image/svg+xml,%3csvg%20width='18'%20height='18'%20viewBox='0%200%2018%2018'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_3552_59823)'%3e%3cpath%20d='M7.01358%200.397379C6.76397%200.495817%206.55304%200.580192%206.54601%200.583707C6.53546%200.590739%207.3089%202.59464%207.33702%202.63332C7.3546%202.66144%208.29679%202.27121%208.29679%202.23605C8.29679%202.21144%208.1878%201.91613%208.05069%201.5716C7.9171%201.22707%207.74132%200.780582%207.66046%200.580192C7.58311%200.376286%207.50577%200.211051%207.49522%200.214567C7.48116%200.214567%207.26671%200.298942%207.01358%200.397379Z'%20fill='white'/%3e%3cpath%20d='M10.3395%200.576676C10.2586%200.780582%2010.0828%201.22707%209.94922%201.5716C9.81211%201.91613%209.70312%202.21144%209.70312%202.23605C9.70312%202.27121%2010.6453%202.66144%2010.6664%202.63332C10.684%202.60168%2011.4258%200.682145%2011.4328%200.636442C11.4398%200.604801%2011.3027%200.530973%2011.025%200.418473C10.7965%200.323551%2010.582%200.239176%2010.5469%200.228629C10.4941%200.211051%2010.459%200.270817%2010.3395%200.576676Z'%20fill='white'/%3e%3cpath%20d='M3.86016%202.07432C3.67031%202.28525%203.51562%202.46455%203.51562%202.4751C3.51562%202.48213%203.8918%202.82666%204.34883%203.23799L5.17852%203.98682L5.40352%203.74424C5.83594%203.27314%205.88867%203.19932%205.83242%203.1501C5.8043%203.12549%205.4668%202.82314%205.08008%202.47861C4.69336%202.13408%204.33828%201.81768%204.28906%201.77549L4.20117%201.69463L3.86016%202.07432Z'%20fill='white'/%3e%3cpath%20d='M12.9735%202.4293C12.52%202.83711%2012.1438%203.17813%2012.1368%203.1957C12.1297%203.22031%2012.7872%203.97266%2012.8188%203.97266C12.8434%203.97266%2014.4852%202.49258%2014.4852%202.475C14.4852%202.46445%2014.3411%202.2957%2014.1618%202.09883C13.986%201.90195%2013.8313%201.72969%2013.8208%201.71563C13.8102%201.70156%2013.427%202.02148%2012.9735%202.4293Z'%20fill='white'/%3e%3cpath%20d='M1.50156%203.76875C1.31172%204.0043%200.991797%204.51406%200.879297%204.75313C0.496094%205.60742%200.478516%206.35273%200.826562%207.17891C0.847656%207.23516%200.830078%207.24219%200.7%207.24219C0.615625%207.24219%200.485547%207.25273%200.415234%207.26328C0.285156%207.28438%200.278125%207.29492%200.211328%207.51992C0.0601562%208.0332%200.025%208.27227%200.0214844%208.78906C0.0214844%209.39727%200.0707031%209.64336%200.299219%2010.1145C0.425781%2010.3711%200.520703%2010.5012%200.75625%2010.7508L1.05508%2011.0672L0.928516%2011.148C0.854687%2011.1902%200.682422%2011.3203%200.541797%2011.4293L0.285156%2011.6332L0.373047%2011.918C0.583984%2012.6%200.875781%2013.1344%201.25898%2013.5422C1.60703%2013.9078%202.12383%2014.2207%202.50703%2014.291C2.57734%2014.3051%202.63711%2014.3332%202.63711%2014.3508C2.63711%2014.3684%202.59141%2014.4527%202.53164%2014.5371C2.47539%2014.6215%202.42617%2014.7059%202.42617%2014.7199C2.42617%2014.7691%202.8375%2015.3598%203.0168%2015.5707C3.37891%2015.9961%203.97656%2016.3758%204.525%2016.5305C4.87305%2016.6289%205.49883%2016.6359%205.81875%2016.5516C6.41641%2016.3898%206.90156%2016.098%207.32344%2015.6445L7.58359%2015.3633L7.70312%2015.4055C7.99141%2015.5039%208.24805%2015.7395%208.38164%2016.0277C8.44844%2016.1754%208.45547%2016.2633%208.46602%2016.991L8.47656%2017.7891H9.00039H9.52422L9.53477%2016.9875C9.54531%2016.2633%209.55234%2016.1754%209.61914%2016.0277C9.75273%2015.7395%2010.0094%2015.5039%2010.2977%2015.4055L10.4172%2015.3633L10.6773%2015.6445C11.0992%2016.098%2011.5844%2016.3898%2012.182%2016.5516C12.502%2016.6359%2013.1277%2016.6289%2013.4758%2016.5305C14.0242%2016.3758%2014.6219%2015.9961%2014.984%2015.5707C15.1633%2015.3598%2015.5746%2014.7691%2015.5746%2014.7199C15.5746%2014.7059%2015.5254%2014.6215%2015.4691%2014.5371C15.4129%2014.4527%2015.3637%2014.3684%2015.3637%2014.3508C15.3637%2014.3332%2015.4234%2014.3051%2015.4937%2014.291C15.5676%2014.277%2015.7223%2014.2277%2015.8383%2014.1785C16.6609%2013.834%2017.2797%2013.05%2017.6277%2011.9109L17.7156%2011.6332L17.459%2011.4293C17.3184%2011.3203%2017.1461%2011.1902%2017.0723%2011.148L16.9457%2011.0672L17.2445%2010.7508C17.4801%2010.5012%2017.575%2010.3711%2017.7016%2010.1145C17.923%209.65391%2017.9793%209.39727%2017.9793%208.80664C17.9828%208.30742%2017.9441%208.06836%2017.7859%207.51992C17.7227%207.29492%2017.7156%207.28438%2017.5855%207.26328C17.5152%207.25273%2017.3852%207.24219%2017.3008%207.24219C17.1707%207.24219%2017.1531%207.23516%2017.1742%207.17891C17.6066%206.14883%2017.4801%205.21719%2016.7559%204.13438C16.3867%203.57891%2016.4254%203.6%2016.0527%203.70898C14.977%204.02188%2014.2703%204.57383%2013.866%205.42461C13.5637%206.06445%2013.5637%206.87656%2013.8695%207.61484C13.982%207.88555%2014.1367%208.17383%2014.2738%208.36719C14.3371%208.45508%2014.3371%208.46211%2014.2%208.73633C14.1262%208.89102%2014.0312%209.16523%2013.9891%209.34453C13.9223%209.63281%2013.9152%209.73477%2013.9363%2010.1883C13.9469%2010.473%2013.9645%2010.7543%2013.9785%2010.8141C13.9961%2010.916%2013.9855%2010.9336%2013.7746%2011.0848C13.3211%2011.4047%2012.9168%2011.9496%2012.6918%2012.5262C12.5371%2012.9234%2012.5441%2012.9164%2012.3754%2012.9445C12.0168%2013.0078%2011.5879%2013.1941%2011.2293%2013.4508C11.0219%2013.5984%2010.4066%2014.2172%2010.4066%2014.277C10.4066%2014.2945%2010.375%2014.3086%2010.3398%2014.3086C10.3012%2014.3086%2010.1465%2014.3473%209.99531%2014.3965C9.69297%2014.4914%209.39766%2014.6707%209.15859%2014.9027L9.00039%2015.0539L8.85625%2014.9098C8.63477%2014.6883%208.30781%2014.4914%208.00547%2014.3965C7.8543%2014.3473%207.69961%2014.3086%207.66094%2014.3086C7.62578%2014.3086%207.59414%2014.2945%207.59414%2014.277C7.59414%2014.2172%206.97891%2013.5984%206.76797%2013.4473C6.4832%2013.2434%206.08945%2013.057%205.78359%2012.9867C5.65%2012.9551%205.51641%2012.9199%205.4918%2012.9059C5.46719%2012.8953%205.39336%2012.7477%205.33008%2012.5789C5.10156%2011.9707%204.69023%2011.4152%204.22969%2011.0848C4.01523%2010.9336%204.00469%2010.916%204.02227%2010.8141C4.03633%2010.7543%204.05391%2010.473%204.06445%2010.1883C4.08555%209.73477%204.07852%209.63281%204.01172%209.34453C3.96953%209.16523%203.87461%208.89102%203.80078%208.73633L3.66367%208.45859L3.76914%208.30391C3.90273%208.11055%204.12422%207.66406%204.20156%207.43555C4.36328%206.95391%204.40547%206.38438%204.30703%205.92383C4.09961%204.95352%203.26641%204.12734%202.12734%203.76523C1.60703%203.6%201.63867%203.6%201.50156%203.76875ZM2.26445%204.95703C2.75664%205.19961%203.09766%205.58281%203.23828%206.05391C3.37187%206.48633%203.28398%207.04531%203.0168%207.51641L2.91133%207.69922L2.62656%207.55156C1.77227%207.10859%201.42422%206.22969%201.76172%205.37188C1.84258%205.16797%202.0043%204.85156%202.03242%204.85156C2.03945%204.85156%202.14492%204.90078%202.26445%204.95703ZM16.1371%205.15039C16.5133%205.92031%2016.4184%206.65156%2015.8734%207.18945C15.7328%207.32656%2015.5465%207.46016%2015.3707%207.55156L15.0895%207.69922L15.0156%207.57266C14.541%206.76758%2014.6043%205.92031%2015.1809%205.35078C15.3602%205.17852%2015.8629%204.85859%2015.9684%204.85156C15.9824%204.85156%2016.0598%204.98516%2016.1371%205.15039ZM1.59297%208.31445C1.96211%208.37773%202.27852%208.53242%202.52813%208.77148C2.76016%208.99297%202.89375%209.21445%202.97109%209.50977C3.02383%209.7207%203.04141%2010.2691%203.00273%2010.4766L2.97812%2010.5891L2.71797%2010.568C1.64219%2010.4695%201.00234%209.72773%201.06211%208.65195C1.07266%208.47969%201.09023%208.32148%201.1043%208.30039C1.13594%208.25117%201.25547%208.25469%201.59297%208.31445ZM16.893%208.29688C16.9387%208.37422%2016.9527%208.92969%2016.9141%209.1582C16.7699%209.97383%2016.1863%2010.473%2015.2547%2010.568L15.0227%2010.5891L14.998%2010.4766C14.9594%2010.2691%2014.977%209.7207%2015.0297%209.50977C15.1914%208.89453%2015.7117%208.4375%2016.3937%208.31445C16.7066%208.2582%2016.8648%208.25117%2016.893%208.29688ZM3.2418%2011.7387C3.51602%2011.8441%203.80781%2012.0691%203.99766%2012.3223C4.19102%2012.5754%204.34219%2012.8742%204.31758%2012.9445C4.30703%2012.9727%204.19453%2013.043%204.07148%2013.1063C3.08711%2013.5879%202.13086%2013.2539%201.62109%2012.2449C1.58242%2012.1641%201.54727%2012.0727%201.54727%2012.0445C1.54727%2011.9742%201.97617%2011.7563%202.24336%2011.6895C2.52109%2011.6191%202.98516%2011.6438%203.2418%2011.7387ZM15.7434%2011.6895C16.0176%2011.7563%2016.4535%2011.9707%2016.4535%2012.0445C16.4535%2012.1992%2016.0809%2012.7547%2015.8418%2012.948C15.3039%2013.391%2014.6113%2013.4437%2013.9152%2013.0922C13.7781%2013.0219%2013.6762%2012.948%2013.6762%2012.9199C13.6762%2012.832%2013.8309%2012.5508%2014.0031%2012.3223C14.425%2011.7598%2015.0648%2011.5312%2015.7434%2011.6895ZM5.5375%2014.0098C5.65%2014.0414%205.83984%2014.1152%205.95586%2014.1785C6.1668%2014.291%206.64492%2014.7129%206.64492%2014.7902C6.64492%2014.8113%206.53594%2014.9309%206.40234%2015.0539C5.63242%2015.7676%204.72891%2015.743%203.94141%2014.9871L3.67422%2014.7305L3.90977%2014.509C4.40195%2014.0414%204.975%2013.8656%205.5375%2014.0098ZM13.2367%2014.0098C13.5391%2014.0906%2013.8273%2014.2559%2014.091%2014.509L14.3266%2014.7305L14.0594%2014.9871C13.2719%2015.743%2012.3684%2015.7676%2011.5984%2015.0539C11.4648%2014.9309%2011.3559%2014.8113%2011.3559%2014.7902C11.3559%2014.7656%2011.4648%2014.6461%2011.5949%2014.5195C12.0906%2014.0449%2012.6707%2013.8621%2013.2367%2014.0098Z'%20fill='white'/%3e%3cpath%20d='M7.497%207.374L8.673%207.066V11H9.646V6.016L7.497%206.471V7.374Z'%20fill='white'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_3552_59823'%3e%3crect%20width='18'%20height='18'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",el="data:image/svg+xml,%3csvg%20width='18'%20height='18'%20viewBox='0%200%2018%2018'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M7.01358%200.397379C6.76397%200.495817%206.55304%200.580192%206.54601%200.583707C6.53546%200.590739%207.3089%202.59464%207.33702%202.63332C7.3546%202.66144%208.29679%202.27121%208.29679%202.23605C8.29679%202.21144%208.1878%201.91613%208.05069%201.5716C7.9171%201.22707%207.74132%200.780582%207.66046%200.580192C7.58311%200.376286%207.50577%200.211051%207.49522%200.214567C7.48116%200.214567%207.26671%200.298942%207.01358%200.397379Z'%20fill='white'/%3e%3cpath%20d='M10.3395%200.576676C10.2586%200.780582%2010.0828%201.22707%209.94922%201.5716C9.81211%201.91613%209.70312%202.21144%209.70312%202.23605C9.70312%202.27121%2010.6453%202.66144%2010.6664%202.63332C10.684%202.60168%2011.4258%200.682145%2011.4328%200.636442C11.4398%200.604801%2011.3027%200.530973%2011.025%200.418473C10.7965%200.323551%2010.582%200.239176%2010.5469%200.228629C10.4941%200.211051%2010.459%200.270817%2010.3395%200.576676Z'%20fill='white'/%3e%3cpath%20d='M3.86016%202.07432C3.67031%202.28525%203.51562%202.46455%203.51562%202.4751C3.51562%202.48213%203.8918%202.82666%204.34883%203.23799L5.17852%203.98682L5.40352%203.74424C5.83594%203.27314%205.88867%203.19932%205.83242%203.1501C5.8043%203.12549%205.4668%202.82314%205.08008%202.47861C4.69336%202.13408%204.33828%201.81768%204.28906%201.77549L4.20117%201.69463L3.86016%202.07432Z'%20fill='white'/%3e%3cpath%20d='M12.9735%202.4293C12.52%202.83711%2012.1438%203.17813%2012.1368%203.1957C12.1297%203.22031%2012.7872%203.97266%2012.8188%203.97266C12.8434%203.97266%2014.4852%202.49258%2014.4852%202.475C14.4852%202.46445%2014.3411%202.2957%2014.1618%202.09883C13.986%201.90195%2013.8313%201.72969%2013.8208%201.71563C13.8102%201.70156%2013.427%202.02148%2012.9735%202.4293Z'%20fill='white'/%3e%3cpath%20d='M1.50156%203.76875C1.31172%204.0043%200.991797%204.51406%200.879297%204.75313C0.496094%205.60742%200.478516%206.35273%200.826562%207.17891C0.847656%207.23516%200.830078%207.24219%200.7%207.24219C0.615625%207.24219%200.485547%207.25273%200.415234%207.26328C0.285156%207.28438%200.278125%207.29492%200.211328%207.51992C0.0601562%208.0332%200.025%208.27227%200.0214844%208.78906C0.0214844%209.39727%200.0707031%209.64336%200.299219%2010.1145C0.425781%2010.3711%200.520703%2010.5012%200.75625%2010.7508L1.05508%2011.0672L0.928516%2011.148C0.854687%2011.1902%200.682422%2011.3203%200.541797%2011.4293L0.285156%2011.6332L0.373047%2011.918C0.583984%2012.6%200.875781%2013.1344%201.25898%2013.5422C1.60703%2013.9078%202.12383%2014.2207%202.50703%2014.291C2.57734%2014.3051%202.63711%2014.3332%202.63711%2014.3508C2.63711%2014.3684%202.59141%2014.4527%202.53164%2014.5371C2.47539%2014.6215%202.42617%2014.7059%202.42617%2014.7199C2.42617%2014.7691%202.8375%2015.3598%203.0168%2015.5707C3.37891%2015.9961%203.97656%2016.3758%204.525%2016.5305C4.87305%2016.6289%205.49883%2016.6359%205.81875%2016.5516C6.41641%2016.3898%206.90156%2016.098%207.32344%2015.6445L7.58359%2015.3633L7.70312%2015.4055C7.99141%2015.5039%208.24805%2015.7395%208.38164%2016.0277C8.44844%2016.1754%208.45547%2016.2633%208.46602%2016.991L8.47656%2017.7891H9.00039H9.52422L9.53477%2016.9875C9.54531%2016.2633%209.55234%2016.1754%209.61914%2016.0277C9.75273%2015.7395%2010.0094%2015.5039%2010.2977%2015.4055L10.4172%2015.3633L10.6773%2015.6445C11.0992%2016.098%2011.5844%2016.3898%2012.182%2016.5516C12.502%2016.6359%2013.1277%2016.6289%2013.4758%2016.5305C14.0242%2016.3758%2014.6219%2015.9961%2014.984%2015.5707C15.1633%2015.3598%2015.5746%2014.7691%2015.5746%2014.7199C15.5746%2014.7059%2015.5254%2014.6215%2015.4691%2014.5371C15.4129%2014.4527%2015.3637%2014.3684%2015.3637%2014.3508C15.3637%2014.3332%2015.4234%2014.3051%2015.4937%2014.291C15.5676%2014.277%2015.7223%2014.2277%2015.8383%2014.1785C16.6609%2013.834%2017.2797%2013.05%2017.6277%2011.9109L17.7156%2011.6332L17.459%2011.4293C17.3184%2011.3203%2017.1461%2011.1902%2017.0723%2011.148L16.9457%2011.0672L17.2445%2010.7508C17.4801%2010.5012%2017.575%2010.3711%2017.7016%2010.1145C17.923%209.65391%2017.9793%209.39727%2017.9793%208.80664C17.9828%208.30742%2017.9441%208.06836%2017.7859%207.51992C17.7227%207.29492%2017.7156%207.28438%2017.5855%207.26328C17.5152%207.25273%2017.3852%207.24219%2017.3008%207.24219C17.1707%207.24219%2017.1531%207.23516%2017.1742%207.17891C17.6066%206.14883%2017.4801%205.21719%2016.7559%204.13438C16.3867%203.57891%2016.4254%203.6%2016.0527%203.70898C14.977%204.02188%2014.2703%204.57383%2013.866%205.42461C13.5637%206.06445%2013.5637%206.87656%2013.8695%207.61484C13.982%207.88555%2014.1367%208.17383%2014.2738%208.36719C14.3371%208.45508%2014.3371%208.46211%2014.2%208.73633C14.1262%208.89102%2014.0312%209.16523%2013.9891%209.34453C13.9223%209.63281%2013.9152%209.73477%2013.9363%2010.1883C13.9469%2010.473%2013.9645%2010.7543%2013.9785%2010.8141C13.9961%2010.916%2013.9855%2010.9336%2013.7746%2011.0848C13.3211%2011.4047%2012.9168%2011.9496%2012.6918%2012.5262C12.5371%2012.9234%2012.5441%2012.9164%2012.3754%2012.9445C12.0168%2013.0078%2011.5879%2013.1941%2011.2293%2013.4508C11.0219%2013.5984%2010.4066%2014.2172%2010.4066%2014.277C10.4066%2014.2945%2010.375%2014.3086%2010.3398%2014.3086C10.3012%2014.3086%2010.1465%2014.3473%209.99531%2014.3965C9.69297%2014.4914%209.39766%2014.6707%209.15859%2014.9027L9.00039%2015.0539L8.85625%2014.9098C8.63477%2014.6883%208.30781%2014.4914%208.00547%2014.3965C7.8543%2014.3473%207.69961%2014.3086%207.66094%2014.3086C7.62578%2014.3086%207.59414%2014.2945%207.59414%2014.277C7.59414%2014.2172%206.97891%2013.5984%206.76797%2013.4473C6.4832%2013.2434%206.08945%2013.057%205.78359%2012.9867C5.65%2012.9551%205.51641%2012.9199%205.4918%2012.9059C5.46719%2012.8953%205.39336%2012.7477%205.33008%2012.5789C5.10156%2011.9707%204.69023%2011.4152%204.22969%2011.0848C4.01523%2010.9336%204.00469%2010.916%204.02227%2010.8141C4.03633%2010.7543%204.05391%2010.473%204.06445%2010.1883C4.08555%209.73477%204.07852%209.63281%204.01172%209.34453C3.96953%209.16523%203.87461%208.89102%203.80078%208.73633L3.66367%208.45859L3.76914%208.30391C3.90273%208.11055%204.12422%207.66406%204.20156%207.43555C4.36328%206.95391%204.40547%206.38438%204.30703%205.92383C4.09961%204.95352%203.26641%204.12734%202.12734%203.76523C1.60703%203.6%201.63867%203.6%201.50156%203.76875ZM2.26445%204.95703C2.75664%205.19961%203.09766%205.58281%203.23828%206.05391C3.37187%206.48633%203.28398%207.04531%203.0168%207.51641L2.91133%207.69922L2.62656%207.55156C1.77227%207.10859%201.42422%206.22969%201.76172%205.37188C1.84258%205.16797%202.0043%204.85156%202.03242%204.85156C2.03945%204.85156%202.14492%204.90078%202.26445%204.95703ZM16.1371%205.15039C16.5133%205.92031%2016.4184%206.65156%2015.8734%207.18945C15.7328%207.32656%2015.5465%207.46016%2015.3707%207.55156L15.0895%207.69922L15.0156%207.57266C14.541%206.76758%2014.6043%205.92031%2015.1809%205.35078C15.3602%205.17852%2015.8629%204.85859%2015.9684%204.85156C15.9824%204.85156%2016.0598%204.98516%2016.1371%205.15039ZM1.59297%208.31445C1.96211%208.37773%202.27852%208.53242%202.52813%208.77148C2.76016%208.99297%202.89375%209.21445%202.97109%209.50977C3.02383%209.7207%203.04141%2010.2691%203.00273%2010.4766L2.97812%2010.5891L2.71797%2010.568C1.64219%2010.4695%201.00234%209.72773%201.06211%208.65195C1.07266%208.47969%201.09023%208.32148%201.1043%208.30039C1.13594%208.25117%201.25547%208.25469%201.59297%208.31445ZM16.893%208.29688C16.9387%208.37422%2016.9527%208.92969%2016.9141%209.1582C16.7699%209.97383%2016.1863%2010.473%2015.2547%2010.568L15.0227%2010.5891L14.998%2010.4766C14.9594%2010.2691%2014.977%209.7207%2015.0297%209.50977C15.1914%208.89453%2015.7117%208.4375%2016.3937%208.31445C16.7066%208.2582%2016.8648%208.25117%2016.893%208.29688ZM3.2418%2011.7387C3.51602%2011.8441%203.80781%2012.0691%203.99766%2012.3223C4.19102%2012.5754%204.34219%2012.8742%204.31758%2012.9445C4.30703%2012.9727%204.19453%2013.043%204.07148%2013.1063C3.08711%2013.5879%202.13086%2013.2539%201.62109%2012.2449C1.58242%2012.1641%201.54727%2012.0727%201.54727%2012.0445C1.54727%2011.9742%201.97617%2011.7563%202.24336%2011.6895C2.52109%2011.6191%202.98516%2011.6438%203.2418%2011.7387ZM15.7434%2011.6895C16.0176%2011.7563%2016.4535%2011.9707%2016.4535%2012.0445C16.4535%2012.1992%2016.0809%2012.7547%2015.8418%2012.948C15.3039%2013.391%2014.6113%2013.4437%2013.9152%2013.0922C13.7781%2013.0219%2013.6762%2012.948%2013.6762%2012.9199C13.6762%2012.832%2013.8309%2012.5508%2014.0031%2012.3223C14.425%2011.7598%2015.0648%2011.5312%2015.7434%2011.6895ZM5.5375%2014.0098C5.65%2014.0414%205.83984%2014.1152%205.95586%2014.1785C6.1668%2014.291%206.64492%2014.7129%206.64492%2014.7902C6.64492%2014.8113%206.53594%2014.9309%206.40234%2015.0539C5.63242%2015.7676%204.72891%2015.743%203.94141%2014.9871L3.67422%2014.7305L3.90977%2014.509C4.40195%2014.0414%204.975%2013.8656%205.5375%2014.0098ZM13.2367%2014.0098C13.5391%2014.0906%2013.8273%2014.2559%2014.091%2014.509L14.3266%2014.7305L14.0594%2014.9871C13.2719%2015.743%2012.3684%2015.7676%2011.5984%2015.0539C11.4648%2014.9309%2011.3559%2014.8113%2011.3559%2014.7902C11.3559%2014.7656%2011.4648%2014.6461%2011.5949%2014.5195C12.0906%2014.0449%2012.6707%2013.8621%2013.2367%2014.0098Z'%20fill='white'/%3e%3cpath%20d='M7.14%2011H11.081V10.083H9.03L10.304%208.879C10.5093%208.69233%2010.675%208.48467%2010.801%208.256C10.927%208.02733%2010.99%207.78233%2010.99%207.521C10.99%207.34367%2010.9527%207.16633%2010.878%206.989C10.808%206.81167%2010.6983%206.65067%2010.549%206.506C10.4043%206.35667%2010.22%206.23767%209.996%206.149C9.77667%206.05567%209.52%206.009%209.226%206.009C8.82933%206.009%208.49333%206.093%208.218%206.261C7.94733%206.42433%207.742%206.646%207.602%206.926C7.462%207.206%207.392%207.521%207.392%207.871H8.372C8.372%207.675%208.40467%207.50233%208.47%207.353C8.54%207.20367%208.63567%207.08933%208.757%207.01C8.883%206.926%209.03233%206.884%209.205%206.884C9.32633%206.884%209.43367%206.905%209.527%206.947C9.62033%206.98433%209.69967%207.03567%209.765%207.101C9.83033%207.16633%209.87933%207.241%209.912%207.325C9.94467%207.409%209.961%207.49533%209.961%207.584C9.961%207.71%209.93767%207.83133%209.891%207.948C9.84433%208.06467%209.77667%208.18133%209.688%208.298C9.59933%208.41467%209.492%208.54067%209.366%208.676L7.14%2011Z'%20fill='white'/%3e%3c/svg%3e",tl="data:image/svg+xml,%3csvg%20width='18'%20height='18'%20viewBox='0%200%2018%2018'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_3552_59855)'%3e%3cpath%20d='M7.01358%200.397379C6.76397%200.495817%206.55304%200.580192%206.54601%200.583707C6.53546%200.590739%207.3089%202.59464%207.33702%202.63332C7.3546%202.66144%208.29679%202.27121%208.29679%202.23605C8.29679%202.21144%208.1878%201.91613%208.05069%201.5716C7.9171%201.22707%207.74132%200.780582%207.66046%200.580192C7.58311%200.376286%207.50577%200.211051%207.49522%200.214567C7.48116%200.214567%207.26671%200.298942%207.01358%200.397379Z'%20fill='white'/%3e%3cpath%20d='M10.3395%200.576676C10.2586%200.780582%2010.0828%201.22707%209.94922%201.5716C9.81211%201.91613%209.70312%202.21144%209.70312%202.23605C9.70312%202.27121%2010.6453%202.66144%2010.6664%202.63332C10.684%202.60168%2011.4258%200.682145%2011.4328%200.636442C11.4398%200.604801%2011.3027%200.530973%2011.025%200.418473C10.7965%200.323551%2010.582%200.239176%2010.5469%200.228629C10.4941%200.211051%2010.459%200.270817%2010.3395%200.576676Z'%20fill='white'/%3e%3cpath%20d='M3.86016%202.07432C3.67031%202.28525%203.51562%202.46455%203.51562%202.4751C3.51562%202.48213%203.8918%202.82666%204.34883%203.23799L5.17852%203.98682L5.40352%203.74424C5.83594%203.27314%205.88867%203.19932%205.83242%203.1501C5.8043%203.12549%205.4668%202.82314%205.08008%202.47861C4.69336%202.13408%204.33828%201.81768%204.28906%201.77549L4.20117%201.69463L3.86016%202.07432Z'%20fill='white'/%3e%3cpath%20d='M12.9735%202.4293C12.52%202.83711%2012.1438%203.17813%2012.1368%203.1957C12.1297%203.22031%2012.7872%203.97266%2012.8188%203.97266C12.8434%203.97266%2014.4852%202.49258%2014.4852%202.475C14.4852%202.46445%2014.3411%202.2957%2014.1618%202.09883C13.986%201.90195%2013.8313%201.72969%2013.8208%201.71563C13.8102%201.70156%2013.427%202.02148%2012.9735%202.4293Z'%20fill='white'/%3e%3cpath%20d='M1.50156%203.76875C1.31172%204.0043%200.991797%204.51406%200.879297%204.75313C0.496094%205.60742%200.478516%206.35273%200.826562%207.17891C0.847656%207.23516%200.830078%207.24219%200.7%207.24219C0.615625%207.24219%200.485547%207.25273%200.415234%207.26328C0.285156%207.28438%200.278125%207.29492%200.211328%207.51992C0.0601562%208.0332%200.025%208.27227%200.0214844%208.78906C0.0214844%209.39727%200.0707031%209.64336%200.299219%2010.1145C0.425781%2010.3711%200.520703%2010.5012%200.75625%2010.7508L1.05508%2011.0672L0.928516%2011.148C0.854687%2011.1902%200.682422%2011.3203%200.541797%2011.4293L0.285156%2011.6332L0.373047%2011.918C0.583984%2012.6%200.875781%2013.1344%201.25898%2013.5422C1.60703%2013.9078%202.12383%2014.2207%202.50703%2014.291C2.57734%2014.3051%202.63711%2014.3332%202.63711%2014.3508C2.63711%2014.3684%202.59141%2014.4527%202.53164%2014.5371C2.47539%2014.6215%202.42617%2014.7059%202.42617%2014.7199C2.42617%2014.7691%202.8375%2015.3598%203.0168%2015.5707C3.37891%2015.9961%203.97656%2016.3758%204.525%2016.5305C4.87305%2016.6289%205.49883%2016.6359%205.81875%2016.5516C6.41641%2016.3898%206.90156%2016.098%207.32344%2015.6445L7.58359%2015.3633L7.70312%2015.4055C7.99141%2015.5039%208.24805%2015.7395%208.38164%2016.0277C8.44844%2016.1754%208.45547%2016.2633%208.46602%2016.991L8.47656%2017.7891H9.00039H9.52422L9.53477%2016.9875C9.54531%2016.2633%209.55234%2016.1754%209.61914%2016.0277C9.75273%2015.7395%2010.0094%2015.5039%2010.2977%2015.4055L10.4172%2015.3633L10.6773%2015.6445C11.0992%2016.098%2011.5844%2016.3898%2012.182%2016.5516C12.502%2016.6359%2013.1277%2016.6289%2013.4758%2016.5305C14.0242%2016.3758%2014.6219%2015.9961%2014.984%2015.5707C15.1633%2015.3598%2015.5746%2014.7691%2015.5746%2014.7199C15.5746%2014.7059%2015.5254%2014.6215%2015.4691%2014.5371C15.4129%2014.4527%2015.3637%2014.3684%2015.3637%2014.3508C15.3637%2014.3332%2015.4234%2014.3051%2015.4937%2014.291C15.5676%2014.277%2015.7223%2014.2277%2015.8383%2014.1785C16.6609%2013.834%2017.2797%2013.05%2017.6277%2011.9109L17.7156%2011.6332L17.459%2011.4293C17.3184%2011.3203%2017.1461%2011.1902%2017.0723%2011.148L16.9457%2011.0672L17.2445%2010.7508C17.4801%2010.5012%2017.575%2010.3711%2017.7016%2010.1145C17.923%209.65391%2017.9793%209.39727%2017.9793%208.80664C17.9828%208.30742%2017.9441%208.06836%2017.7859%207.51992C17.7227%207.29492%2017.7156%207.28438%2017.5855%207.26328C17.5152%207.25273%2017.3852%207.24219%2017.3008%207.24219C17.1707%207.24219%2017.1531%207.23516%2017.1742%207.17891C17.6066%206.14883%2017.4801%205.21719%2016.7559%204.13438C16.3867%203.57891%2016.4254%203.6%2016.0527%203.70898C14.977%204.02188%2014.2703%204.57383%2013.866%205.42461C13.5637%206.06445%2013.5637%206.87656%2013.8695%207.61484C13.982%207.88555%2014.1367%208.17383%2014.2738%208.36719C14.3371%208.45508%2014.3371%208.46211%2014.2%208.73633C14.1262%208.89102%2014.0312%209.16523%2013.9891%209.34453C13.9223%209.63281%2013.9152%209.73477%2013.9363%2010.1883C13.9469%2010.473%2013.9645%2010.7543%2013.9785%2010.8141C13.9961%2010.916%2013.9855%2010.9336%2013.7746%2011.0848C13.3211%2011.4047%2012.9168%2011.9496%2012.6918%2012.5262C12.5371%2012.9234%2012.5441%2012.9164%2012.3754%2012.9445C12.0168%2013.0078%2011.5879%2013.1941%2011.2293%2013.4508C11.0219%2013.5984%2010.4066%2014.2172%2010.4066%2014.277C10.4066%2014.2945%2010.375%2014.3086%2010.3398%2014.3086C10.3012%2014.3086%2010.1465%2014.3473%209.99531%2014.3965C9.69297%2014.4914%209.39766%2014.6707%209.15859%2014.9027L9.00039%2015.0539L8.85625%2014.9098C8.63477%2014.6883%208.30781%2014.4914%208.00547%2014.3965C7.8543%2014.3473%207.69961%2014.3086%207.66094%2014.3086C7.62578%2014.3086%207.59414%2014.2945%207.59414%2014.277C7.59414%2014.2172%206.97891%2013.5984%206.76797%2013.4473C6.4832%2013.2434%206.08945%2013.057%205.78359%2012.9867C5.65%2012.9551%205.51641%2012.9199%205.4918%2012.9059C5.46719%2012.8953%205.39336%2012.7477%205.33008%2012.5789C5.10156%2011.9707%204.69023%2011.4152%204.22969%2011.0848C4.01523%2010.9336%204.00469%2010.916%204.02227%2010.8141C4.03633%2010.7543%204.05391%2010.473%204.06445%2010.1883C4.08555%209.73477%204.07852%209.63281%204.01172%209.34453C3.96953%209.16523%203.87461%208.89102%203.80078%208.73633L3.66367%208.45859L3.76914%208.30391C3.90273%208.11055%204.12422%207.66406%204.20156%207.43555C4.36328%206.95391%204.40547%206.38438%204.30703%205.92383C4.09961%204.95352%203.26641%204.12734%202.12734%203.76523C1.60703%203.6%201.63867%203.6%201.50156%203.76875ZM2.26445%204.95703C2.75664%205.19961%203.09766%205.58281%203.23828%206.05391C3.37187%206.48633%203.28398%207.04531%203.0168%207.51641L2.91133%207.69922L2.62656%207.55156C1.77227%207.10859%201.42422%206.22969%201.76172%205.37188C1.84258%205.16797%202.0043%204.85156%202.03242%204.85156C2.03945%204.85156%202.14492%204.90078%202.26445%204.95703ZM16.1371%205.15039C16.5133%205.92031%2016.4184%206.65156%2015.8734%207.18945C15.7328%207.32656%2015.5465%207.46016%2015.3707%207.55156L15.0895%207.69922L15.0156%207.57266C14.541%206.76758%2014.6043%205.92031%2015.1809%205.35078C15.3602%205.17852%2015.8629%204.85859%2015.9684%204.85156C15.9824%204.85156%2016.0598%204.98516%2016.1371%205.15039ZM1.59297%208.31445C1.96211%208.37773%202.27852%208.53242%202.52813%208.77148C2.76016%208.99297%202.89375%209.21445%202.97109%209.50977C3.02383%209.7207%203.04141%2010.2691%203.00273%2010.4766L2.97812%2010.5891L2.71797%2010.568C1.64219%2010.4695%201.00234%209.72773%201.06211%208.65195C1.07266%208.47969%201.09023%208.32148%201.1043%208.30039C1.13594%208.25117%201.25547%208.25469%201.59297%208.31445ZM16.893%208.29688C16.9387%208.37422%2016.9527%208.92969%2016.9141%209.1582C16.7699%209.97383%2016.1863%2010.473%2015.2547%2010.568L15.0227%2010.5891L14.998%2010.4766C14.9594%2010.2691%2014.977%209.7207%2015.0297%209.50977C15.1914%208.89453%2015.7117%208.4375%2016.3937%208.31445C16.7066%208.2582%2016.8648%208.25117%2016.893%208.29688ZM3.2418%2011.7387C3.51602%2011.8441%203.80781%2012.0691%203.99766%2012.3223C4.19102%2012.5754%204.34219%2012.8742%204.31758%2012.9445C4.30703%2012.9727%204.19453%2013.043%204.07148%2013.1063C3.08711%2013.5879%202.13086%2013.2539%201.62109%2012.2449C1.58242%2012.1641%201.54727%2012.0727%201.54727%2012.0445C1.54727%2011.9742%201.97617%2011.7563%202.24336%2011.6895C2.52109%2011.6191%202.98516%2011.6438%203.2418%2011.7387ZM15.7434%2011.6895C16.0176%2011.7563%2016.4535%2011.9707%2016.4535%2012.0445C16.4535%2012.1992%2016.0809%2012.7547%2015.8418%2012.948C15.3039%2013.391%2014.6113%2013.4437%2013.9152%2013.0922C13.7781%2013.0219%2013.6762%2012.948%2013.6762%2012.9199C13.6762%2012.832%2013.8309%2012.5508%2014.0031%2012.3223C14.425%2011.7598%2015.0648%2011.5312%2015.7434%2011.6895ZM5.5375%2014.0098C5.65%2014.0414%205.83984%2014.1152%205.95586%2014.1785C6.1668%2014.291%206.64492%2014.7129%206.64492%2014.7902C6.64492%2014.8113%206.53594%2014.9309%206.40234%2015.0539C5.63242%2015.7676%204.72891%2015.743%203.94141%2014.9871L3.67422%2014.7305L3.90977%2014.509C4.40195%2014.0414%204.975%2013.8656%205.5375%2014.0098ZM13.2367%2014.0098C13.5391%2014.0906%2013.8273%2014.2559%2014.091%2014.509L14.3266%2014.7305L14.0594%2014.9871C13.2719%2015.743%2012.3684%2015.7676%2011.5984%2015.0539C11.4648%2014.9309%2011.3559%2014.8113%2011.3559%2014.7902C11.3559%2014.7656%2011.4648%2014.6461%2011.5949%2014.5195C12.0906%2014.0449%2012.6707%2013.8621%2013.2367%2014.0098Z'%20fill='white'/%3e%3cpath%20d='M8.876%208.613C9.24467%208.613%209.57367%208.564%209.863%208.466C10.1523%208.368%2010.381%208.22567%2010.549%208.039C10.717%207.84767%2010.801%207.619%2010.801%207.353C10.801%207.10567%2010.738%206.88167%2010.612%206.681C10.486%206.48033%2010.3017%206.31933%2010.059%206.198C9.821%206.07667%209.53167%206.016%209.191%206.016C8.869%206.016%208.58667%206.079%208.344%206.205C8.10133%206.331%207.91%206.50367%207.77%206.723C7.63467%206.93767%207.567%207.185%207.567%207.465H8.498C8.498%207.283%208.56333%207.13367%208.694%207.017C8.82933%206.89567%208.995%206.835%209.191%206.835C9.331%206.835%209.44533%206.85833%209.534%206.905C9.62267%206.95167%209.69033%207.01933%209.737%207.108C9.78367%207.19667%209.807%207.29933%209.807%207.416C9.807%207.50933%209.78367%207.60033%209.737%207.689C9.695%207.773%209.63433%207.85%209.555%207.92C9.47567%207.98533%209.37767%208.03667%209.261%208.074C9.149%208.11133%209.02067%208.13%208.876%208.13V8.613ZM9.149%2011.098C9.513%2011.098%209.828%2011.0397%2010.094%2010.923C10.3647%2010.8017%2010.5723%2010.6337%2010.717%2010.419C10.8663%2010.2043%2010.941%209.957%2010.941%209.677C10.941%209.42967%2010.8897%209.21967%2010.787%209.047C10.6843%208.86967%2010.5397%208.725%2010.353%208.613C10.1663%208.49633%209.947%208.41233%209.695%208.361C9.44767%208.30967%209.17467%208.284%208.876%208.284V8.816C9.04867%208.816%209.20033%208.83467%209.331%208.872C9.46633%208.90467%209.57833%208.95367%209.667%209.019C9.76033%209.08433%209.83033%209.166%209.877%209.264C9.92367%209.35733%209.947%209.46%209.947%209.572C9.947%209.726%209.91433%209.85433%209.849%209.957C9.78367%2010.0597%209.69267%2010.139%209.576%2010.195C9.464%2010.2463%209.331%2010.272%209.177%2010.272C9.02767%2010.272%208.89%2010.244%208.764%2010.188C8.638%2010.1273%208.53767%2010.041%208.463%209.929C8.38833%209.817%208.351%209.68167%208.351%209.523H7.357C7.357%209.733%207.399%209.93367%207.483%2010.125C7.567%2010.3117%207.686%2010.4797%207.84%2010.629C7.994%2010.7737%208.18067%2010.888%208.4%2010.972C8.61933%2011.056%208.869%2011.098%209.149%2011.098Z'%20fill='white'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_3552_59855'%3e%3crect%20width='18'%20height='18'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e";function fc(t){_r(t,"svelte-a9or29",".TournamentPrizes.Loading.svelte-a9or29{margin:0px}")}function cs(t,e,r){const n=t.slice();return n[16]=e[r],n[18]=r,n}function fs(t,e,r){const n=t.slice();return n[13]=e[r],n}function ds(t,e,r){const n=t.slice();return n[16]=e[r],n[18]=r,n}const dc=t=>({}),hs=t=>({});function hc(t){let e,r,n,i,a,s,o,l=t[6]("tournamentsPrizes.prizes")+"",u,f,d;const h=t[9].prizeIcon,p=s0(h,t,t[8],hs);let _=t[0]&&ms(t);return{c(){e=b("div"),r=b("div"),n=b("span"),n.innerHTML='<svg part="TournamentPrizesSvg" xmlns="http://www.w3.org/2000/svg" width="30" height="27.454" viewBox="0 0 30 27.454"><defs><style>.a{fill:var(--emw--color-white, #FFFFFF);}</style></defs><path class="a" part="a TournamentPrizesSvgA" d="M35.84,12.887a1.023,1.023,0,0,0-.853-.481h-5.2l.242-1.456a1.023,1.023,0,0,0-1.023-1.19H12.977a1.023,1.023,0,0,0-1.023,1.19l.242,1.456H7.022a1.023,1.023,0,0,0-.921,1.47l2.967,6.077a6.48,6.48,0,0,0,5.163,3.581,7.227,7.227,0,0,0,3.7,3.963v2.667h-.426a3.525,3.525,0,1,0,0,7.049H24.5a3.525,3.525,0,1,0,0-7.049h-.426V27.5a7.227,7.227,0,0,0,3.7-3.963,6.48,6.48,0,0,0,5.167-3.581L35.9,13.876a1.023,1.023,0,0,0-.058-.989ZM10.914,19.05l-2.241-4.6h3.891l1.153,6.916A4.406,4.406,0,0,1,10.914,19.05ZM25.977,33.687A1.477,1.477,0,0,1,24.5,35.164H17.509a1.478,1.478,0,0,1,0-2.957H24.5A1.48,1.48,0,0,1,25.977,33.687Zm-3.949-3.526H19.982V28.094a6.729,6.729,0,0,0,2.046,0Zm4.123-8.383a5.218,5.218,0,0,1-10.293,0L14.184,11.8H27.826ZM31.1,19.05a4.406,4.406,0,0,1-2.8,2.309l1.153-6.916h3.891Z" transform="translate(-5.999 -9.76)"></path></svg>',i=H(),a=b("span"),p&&p.c(),s=H(),o=b("p"),u=z(l),f=H(),_&&_.c(),c(n,"class","TournamentPrizesIconWrapper"),c(n,"part","TournamentPrizesIconWrapper"),c(a,"class","TournamentPrizesIconWrapper"),c(a,"part","TournamentPrizesIconSlot"),c(o,"class","PrizesTitle"),c(o,"part","PrizesTitle"),c(r,"class","TournamentPrizesIconSection"),c(r,"part","TournamentPrizesIconSection"),c(e,"class","TournamentPrizes"),c(e,"part","TournamentPrizes")},m(g,P){C(g,e,P),m(e,r),m(r,n),m(r,i),m(r,a),p&&p.m(a,null),m(r,s),m(r,o),m(o,u),m(e,f),_&&_.m(e,null),d=!0},p(g,P){p&&p.p&&(!d||P&256)&&l0(p,h,g,g[8],d?o0(h,g[8],P,dc):u0(g[8]),hs),(!d||P&64)&&l!==(l=g[6]("tournamentsPrizes.prizes")+"")&&W(u,l),g[0]?_?_.p(g,P):(_=ms(g),_.c(),_.m(e,null)):_&&(_.d(1),_=null)},i(g){d||(oe(p,g),d=!0)},o(g){_e(p,g),d=!1},d(g){g&&y(e),p&&p.d(g),_&&_.d()}}}function mc(t){let e;return{c(){e=b("div"),e.innerHTML='<div class="Skeleton TournamentPrizesIconSection"><ui-skeleton structure="rectangle" width="100%" height="150px"></ui-skeleton></div>',c(e,"class","TournamentPrizes Loading svelte-a9or29"),c(e,"part","TournamentPrizes")},m(r,n){C(r,e,n)},p:J,i:J,o:J,d(r){r&&y(e)}}}function ms(t){let e;function r(a,s){return a[2].expandAll?gc:pc}let n=r(t),i=n(t);return{c(){i.c(),e=de()},m(a,s){i.m(a,s),C(a,e,s)},p(a,s){n===(n=r(a))&&i?i.p(a,s):(i.d(1),i=n(a),i&&(i.c(),i.m(e.parentNode,e)))},d(a){a&&y(e),i.d(a)}}}function pc(t){let e,r,n=Ee(t[0]),i=[];for(let s=0;s<n.length;s+=1)i[s]=bs(cs(t,n,s));let a=null;return n.length||(a=ps(t)),{c(){e=b("div"),r=b("div");for(let s=0;s<i.length;s+=1)i[s].c();a&&a.c(),c(r,"class","Prizes"),c(r,"part","Prizes"),c(e,"class","Collapse")},m(s,o){C(s,e,o),m(e,r);for(let l=0;l<i.length;l+=1)i[l]&&i[l].m(r,null);a&&a.m(r,null)},p(s,o){if(o&99){n=Ee(s[0]);let l;for(l=0;l<n.length;l+=1){const u=cs(s,n,l);i[l]?i[l].p(u,o):(i[l]=bs(u),i[l].c(),i[l].m(r,null))}for(;l<i.length;l+=1)i[l].d(1);i.length=n.length,!n.length&&a?a.p(s,o):n.length?a&&(a.d(1),a=null):(a=ps(s),a.c(),a.m(r,null))}},d(s){s&&y(e),ft(i,s),a&&a.d()}}}function gc(t){let e,r=Ee(t[4]),n=[];for(let i=0;i<r.length;i+=1)n[i]=Cs(fs(t,r,i));return{c(){e=b("div");for(let i=0;i<n.length;i+=1)n[i].c();c(e,"class","Prizes"),c(e,"part","Prizes")},m(i,a){C(i,e,a);for(let s=0;s<n.length;s+=1)n[s]&&n[s].m(e,null)},p(i,a){if(a&114){r=Ee(i[4]);let s;for(s=0;s<r.length;s+=1){const o=fs(i,r,s);n[s]?n[s].p(o,a):(n[s]=Cs(o),n[s].c(),n[s].m(e,null))}for(;s<n.length;s+=1)n[s].d(1);n.length=r.length}},d(i){i&&y(e),ft(n,i)}}}function ps(t){let e,r=t[6]("tournamentsPrizes.noprizes")+"",n;return{c(){e=b("p"),n=z(r)},m(i,a){C(i,e,a),m(e,n)},p(i,a){a&64&&r!==(r=i[6]("tournamentsPrizes.noprizes")+"")&&W(n,r)},d(i){i&&y(e)}}}function gs(t){let e;function r(a,s){return a[18]<3?_c:bc}let i=r(t)(t);return{c(){i.c(),e=de()},m(a,s){i.m(a,s),C(a,e,s)},p(a,s){i.p(a,s)},d(a){a&&y(e),i.d(a)}}}function bc(t){let e;return{c(){e=b("span"),c(e,"class","RowNo")},m(r,n){C(r,e,n)},p:J,d(r){r&&y(e)}}}function _c(t){let e,r;return{c(){e=b("img"),c(e,"class","RowNo"),c(e,"alt","prize"),Ye(e.src,r=t[5][t[18]+1])||c(e,"src",r)},m(n,i){C(n,e,i)},p(n,i){i&32&&!Ye(e.src,r=n[5][n[18]+1])&&c(e,"src",r)},d(n){n&&y(e)}}}function bs(t){let e,r,n,i,a,s,o=t[16].count>1?`${t[16].rank}~${t[16].rank+t[16].count-1}`:`${t[16].rank}`,l,u,f,d=t[6]("tournamentsPrizes.place")+"",h,p,_,g,P=t[16].name+"",L,E,w=t[1]=="true"&&gs(t);return{c(){e=b("div"),r=b("div"),n=b("p"),i=b("span"),w&&w.c(),a=H(),s=b("span"),l=z(o),u=H(),f=b("span"),h=z(d),p=z(":"),_=H(),g=b("span"),L=z(P),E=H(),c(s,"class","PrizeNo"),c(f,"class","PrizePlace"),c(i,"class","PrizeRank"),c(i,"part","PrizeRank"),c(g,"class","PrizeName"),c(g,"part","PrizeName"),c(n,"class","PrizeText"),c(n,"part","PrizeText"),c(r,"class","Prize Prize"+t[18]+" svelte-a9or29"),c(r,"part","Prize Prize"+t[18]),c(e,"class","ColPrizes")},m(v,Y){C(v,e,Y),m(e,r),m(r,n),m(n,i),w&&w.m(i,null),m(i,a),m(i,s),m(s,l),m(i,u),m(i,f),m(f,h),m(f,p),m(n,_),m(n,g),m(g,L),m(e,E)},p(v,Y){v[1]=="true"?w?w.p(v,Y):(w=gs(v),w.c(),w.m(i,a)):w&&(w.d(1),w=null),Y&1&&o!==(o=v[16].count>1?`${v[16].rank}~${v[16].rank+v[16].count-1}`:`${v[16].rank}`)&&W(l,o),Y&64&&d!==(d=v[6]("tournamentsPrizes.place")+"")&&W(h,d),Y&1&&P!==(P=v[16].name+"")&&W(L,P)},d(v){v&&y(e),w&&w.d()}}}function yc(t){let e,r,n,i=t[16].rank+"",a,s,o,l,u=t[6]("tournamentsPrizes.place")+"",f,d=t[1]=="true"&&_s();return{c(){e=b("span"),d&&d.c(),r=H(),n=b("span"),a=z(i),s=b("span"),s.textContent=".",o=H(),l=b("span"),f=z(u),c(s,"class","Dot"),c(n,"class","PrizeNo"),c(l,"class","PrizePlace"),c(e,"class","PrizeRank"),c(e,"part","PrizeRank")},m(h,p){C(h,e,p),d&&d.m(e,null),m(e,r),m(e,n),m(n,a),m(n,s),m(e,o),m(e,l),m(l,f)},p(h,p){h[1]=="true"?d||(d=_s(),d.c(),d.m(e,r)):d&&(d.d(1),d=null),p&16&&i!==(i=h[16].rank+"")&&W(a,i),p&64&&u!==(u=h[6]("tournamentsPrizes.place")+"")&&W(f,u)},d(h){h&&y(e),d&&d.d()}}}function Cc(t){let e,r,n,i,a,s=t[6]("tournamentsPrizes.place")+"",o;return{c(){e=b("div"),r=b("img"),i=H(),a=b("span"),o=z(s),c(r,"alt","prize"),c(r,"class","RowNo"),Ye(r.src,n=t[5][t[16].rank])||c(r,"src",n),c(a,"class","PrizePlace"),c(e,"class","PrizeRank"),c(e,"part","PrizeRank")},m(l,u){C(l,e,u),m(e,r),m(e,i),m(e,a),m(a,o)},p(l,u){u&48&&!Ye(r.src,n=l[5][l[16].rank])&&c(r,"src",n),u&64&&s!==(s=l[6]("tournamentsPrizes.place")+"")&&W(o,s)},d(l){l&&y(e)}}}function _s(t){let e;return{c(){e=b("span"),c(e,"class","RowNo")},m(r,n){C(r,e,n)},d(r){r&&y(e)}}}function ys(t){let e,r,n,i,a=t[16].name+"",s,o,l;function u(h,p){return h[16].rank<4&&h[1]=="true"?Cc:yc}let f=u(t),d=f(t);return{c(){e=b("div"),r=b("p"),d.c(),n=H(),i=b("span"),s=z(a),c(i,"class","PrizeName"),c(i,"part","PrizeName"),c(r,"class","PrizeText"),c(r,"part","PrizeText"),c(e,"class",o="Prize Prize"+(t[16].rank-1)+" svelte-a9or29"),c(e,"part",l="Prize Prize"+(t[16].rank-1))},m(h,p){C(h,e,p),m(e,r),d.m(r,null),m(r,n),m(r,i),m(i,s)},p(h,p){f===(f=u(h))&&d?d.p(h,p):(d.d(1),d=f(h),d&&(d.c(),d.m(r,n))),p&16&&a!==(a=h[16].name+"")&&W(s,a),p&16&&o!==(o="Prize Prize"+(h[16].rank-1)+" svelte-a9or29")&&c(e,"class",o),p&16&&l!==(l="Prize Prize"+(h[16].rank-1))&&c(e,"part",l)},d(h){h&&y(e),d.d()}}}function Cs(t){let e,r,n,i=Ee(t[13]),a=[];for(let s=0;s<i.length;s+=1)a[s]=ys(ds(t,i,s));return{c(){e=b("div");for(let s=0;s<a.length;s+=1)a[s].c();r=H(),c(e,"class",n="ColPrizes col-"+t[4].length+" svelte-a9or29")},m(s,o){C(s,e,o);for(let l=0;l<a.length;l+=1)a[l]&&a[l].m(e,null);m(e,r)},p(s,o){if(o&114){i=Ee(s[13]);let l;for(l=0;l<i.length;l+=1){const u=ds(s,i,l);a[l]?a[l].p(u,o):(a[l]=ys(u),a[l].c(),a[l].m(e,r))}for(;l<a.length;l+=1)a[l].d(1);a.length=i.length}o&16&&n!==(n="ColPrizes col-"+s[4].length+" svelte-a9or29")&&c(e,"class",n)},d(s){s&&y(e),ft(a,s)}}}function wc(t){let e,r,n,i;const a=[mc,hc],s=[];function o(l,u){return l[3]?0:1}return e=o(t),r=s[e]=a[e](t),{c(){r.c(),n=de()},m(l,u){s[e].m(l,u),C(l,n,u),i=!0},p(l,[u]){let f=e;e=o(l),e===f?s[e].p(l,u):(lt(),_e(s[f],1,1,()=>{s[f]=null}),ut(),r=s[e],r?r.p(l,u):(r=s[e]=a[e](l),r.c()),oe(r,1),r.m(n.parentNode,n))},i(l){i||(oe(r),i=!0)},o(l){_e(r),i=!1},d(l){l&&y(n),s[e].d(l)}}}const vc=1;function Tc(t,e,r){let n;wt(t,vt,g=>r(6,n=g));let{$$slots:i={},$$scope:a}=e,{prizes:s}=e,{lang:o=""}=e,{showrankasimage:l="false"}=e,{cellsetting:u={expandAll:!0,listType:1,rowPerCol:8,maxCol:3}}=e,{isloading:f=!0}=e;rr({fallbackLocale:"en",initialLocale:"en"});const d=()=>{bt(o)};let h=[];const p=()=>{if(!u.expandAll)return;r(4,h=[[]]);let g=()=>{let P=[];return s.forEach(L=>{if(L.count==1)P.push(L);else{let E=parseInt(L.rank),w=L.name;for(let v=0;v<L.count;v++){let D={rank:E+v,name:w,count:1};P.push(D)}}}),P};if(u.listType==vc){let P=g(),L=P.length,E=u.rowPerCol||8,w=u.maxCol;L>=E*w&&(E=Math.ceil(L/w)),L<=E&&(E=Math.ceil(L/w)),P.forEach((v,Y)=>{let D=Math.floor(Y/E);h.length<D+1&&h.push([]),h[D].push(v)})}else r(4,h[0]=g(),h)};let _=[];return er(()=>{r(5,_=[Rn,Rn,el,tl])}),t.$$set=g=>{"prizes"in g&&r(0,s=g.prizes),"lang"in g&&r(7,o=g.lang),"showrankasimage"in g&&r(1,l=g.showrankasimage),"cellsetting"in g&&r(2,u=g.cellsetting),"isloading"in g&&r(3,f=g.isloading),"$$scope"in g&&r(8,a=g.$$scope)},t.$$.update=()=>{t.$$.dirty&128&&o&&d(),t.$$.dirty&5&&u&&s&&p()},[s,l,u,f,h,_,n,o,a,i]}class Ii extends qe{constructor(e){super(),We(this,e,Tc,wc,je,{prizes:0,lang:7,showrankasimage:1,cellsetting:2,isloading:3},fc)}get prizes(){return this.$$.ctx[0]}set prizes(e){this.$$set({prizes:e}),x()}get lang(){return this.$$.ctx[7]}set lang(e){this.$$set({lang:e}),x()}get showrankasimage(){return this.$$.ctx[1]}set showrankasimage(e){this.$$set({showrankasimage:e}),x()}get cellsetting(){return this.$$.ctx[2]}set cellsetting(e){this.$$set({cellsetting:e}),x()}get isloading(){return this.$$.ctx[3]}set isloading(e){this.$$set({isloading:e}),x()}}customElements.define("prizes-cell",Ve(Ii,{prizes:{},lang:{},showrankasimage:{},cellsetting:{},isloading:{type:"Boolean"}},["prizeIcon"],[],!0));function ws(t,e,r){const n=t.slice();return n[43]=e[r],n[45]=r,n}function kc(t){let e,r=t[3]&&vs(t);return{c(){e=b("div"),r&&r.c(),c(e,"class","TournamentsGamesSlider"),c(e,"part","TournamentsGamesSlider")},m(n,i){C(n,e,i),r&&r.m(e,null),t[28](e)},p(n,i){n[3]?r?r.p(n,i):(r=vs(n),r.c(),r.m(e,null)):r&&(r.d(1),r=null)},d(n){n&&y(e),r&&r.d(),t[28](null)}}}function Sc(t){let e;return{c(){e=b("div"),e.innerHTML='<main class="main"><ui-skeleton structure="rectangle" width="100%" height="80px"></ui-skeleton></main>',c(e,"class","TournamentsGamesSlider Loading"),c(e,"part","TournamentsGamesSlider")},m(r,n){C(r,e,n)},p:J,d(r){r&&y(e)}}}function vs(t){let e,r,n,i,a,s,o,l,u=Ee(t[3]),f=[];for(let d=0;d<u.length;d+=1)f[d]=Ts(ws(t,u,d));return{c(){e=b("div"),e.innerHTML='<svg fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 19l-7-7 7-7"></path></svg>',r=H(),n=b("main"),i=b("div");for(let d=0;d<f.length;d+=1)f[d].c();a=H(),s=b("div"),s.innerHTML='<svg fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"></path></svg>',c(e,"class","SliderNavButton"),c(e,"part","SliderNavButton"),c(e,"tabindex","0"),c(e,"role","button"),pn(e,"disabled",t[8]),c(i,"class","items"),c(i,"part","items"),Rt(i,"transform","translateX("+t[1]+"px)"),c(n,"class","main"),c(s,"class","SliderNavButton"),c(s,"part","SliderNavButton"),c(s,"tabindex","0"),c(s,"role","button"),pn(s,"disabled",t[7])},m(d,h){C(d,e,h),C(d,r,h),C(d,n,h),m(n,i);for(let p=0;p<f.length;p+=1)f[p]&&f[p].m(i,null);t[26](i),C(d,a,h),C(d,s,h),o||(l=[tt(e,"click",t[22]),tt(s,"click",t[27])],o=!0)},p(d,h){if(h[0]&256&&pn(e,"disabled",d[8]),h[0]&11832){u=Ee(d[3]);let p;for(p=0;p<u.length;p+=1){const _=ws(d,u,p);f[p]?f[p].p(_,h):(f[p]=Ts(_),f[p].c(),f[p].m(i,null))}for(;p<f.length;p+=1)f[p].d(1);f.length=u.length}h[0]&2&&Rt(i,"transform","translateX("+d[1]+"px)"),h[0]&128&&pn(s,"disabled",d[7])},d(d){d&&(y(e),y(r),y(n),y(a),y(s)),ft(f,d),t[26](null),o=!1,Ft(l)}}}function Ts(t){let e,r,n=t[9]("gamesSlider.playNow")+"",i,a,s,o,l,u,f,d,h,p,_;function g(){return t[23](t[43])}function P(){return t[24](t[45])}return{c(){e=b("div"),r=b("span"),i=z(n),o=H(),l=b("img"),h=H(),c(r,"class",a="PlayNowButton "+(t[4]&&t[5]==t[45]?"itemHover":"")),c(r,"part",s="PlayNowButton "+(t[4]&&t[5]==t[45]?"itemHover":"")),c(l,"class","GameThumbnail"),c(l,"part","GameThumbnail"),Ye(l.src,u=t[43].thumbnail)||c(l,"src",u),c(l,"width","132px"),c(l,"height","100px"),c(l,"alt",f=t[43].name),c(l,"title",d=t[43].name),c(e,"class","item"),c(e,"part","item"),c(e,"tabindex","0"),c(e,"role","button")},m(L,E){C(L,e,E),m(e,r),m(r,i),m(e,o),m(e,l),m(e,h),p||(_=[tt(e,"click",g),tt(e,"mouseenter",P),tt(e,"mouseleave",t[25])],p=!0)},p(L,E){t=L,E[0]&512&&n!==(n=t[9]("gamesSlider.playNow")+"")&&W(i,n),E[0]&48&&a!==(a="PlayNowButton "+(t[4]&&t[5]==t[45]?"itemHover":""))&&c(r,"class",a),E[0]&48&&s!==(s="PlayNowButton "+(t[4]&&t[5]==t[45]?"itemHover":""))&&c(r,"part",s),E[0]&8&&!Ye(l.src,u=t[43].thumbnail)&&c(l,"src",u),E[0]&8&&f!==(f=t[43].name)&&c(l,"alt",f),E[0]&8&&d!==(d=t[43].name)&&c(l,"title",d)},d(L){L&&y(e),p=!1,Ft(_)}}}function Pc(t){let e;function r(a,s){return a[0]?Sc:kc}let n=r(t),i=n(t);return{c(){i.c(),e=de()},m(a,s){i.m(a,s),C(a,e,s)},p(a,s){n===(n=r(a))&&i?i.p(a,s):(i.d(1),i=n(a),i&&(i.c(),i.m(e.parentNode,e)))},i:J,o:J,d(a){a&&y(e),i.d(a)}}}let ks="3",xc=30;function Dc(t,e,r){let n,i,a;wt(t,vt,B=>r(9,a=B));let{pagfactor:s="175"}=e,{lang:o=""}=e,{session:l=""}=e,{tourid:u=""}=e,{endpoint:f=""}=e,{isloading:d=!0}=e,h=window.navigator.userAgent,p,_=0,g,P=null,L=null,E=!1,w,v,Y=0,D=[],F=[];const G=B=>{r(4,E=!0),r(5,w=B)},M=()=>{r(4,E=!1),r(5,w=-1)},A=B=>B.touches||B.originalEvent.touches,Pe=B=>{const Xe=A(B)[0];P=Xe.clientX,L=Xe.clientY},ye=B=>{if(!P||!L)return;let Xe=B.touches[0].clientX,we=B.touches[0].clientY,et=P-Xe,Ge=L-we;Math.abs(et)>Math.abs(Ge)&&(et>0?De(1):De(-1)),P=null,L=null},De=B=>{B>0&&!i?(r(1,_-=p),r(1,_=_<Y?Y:_)):B<0&&!n&&(r(1,_+=p),r(1,_=_>0?0:_))},Ae=B=>{window.postMessage({type:"TournamentGameAction",gameId:B.id,name:B.name,launchUrl:B.launchUrl},window.location.href)},Re=()=>{g.addEventListener("touchstart",Pe,{passive:!0}),g.addEventListener("touchmove",ye,{passive:!0})},He=()=>{setTimeout(()=>{r(19,Y=(v.scrollWidth-v.clientWidth)*-1),r(14,s=new String(v.scrollWidth/D.length)),p=parseInt(ks,10)*parseFloat(s,2).toFixed(2)},1e3)},Ce=()=>{r(3,D=F.items),F.total},U=(B,Xe)=>{let we=new URL(B+`/v1/tournaments/${Xe}`),et=new Headers({"X-SessionId":l});we.searchParams.append("platform",Yn(h)),we.searchParams.append("language",o),we.searchParams.append("expand","games"),we.searchParams.append("pagination",`games(limit=${xc},offset=${_})`),we.searchParams.append("fields","games(id,name,thumbnail,launchUrl)");let Ge={method:"GET",headers:et};fetch(we.href,Ge).then(St=>St.json()).then(St=>{var Et;r(20,F=((Et=St.item)==null?void 0:Et.games)||[]),r(20,F=ar({},F))})};let Le=!1;er(()=>(r(21,Le=!0),p=parseInt(ks,10)*parseInt(s,10),()=>{g.removeEventListener("touchstart",Pe),g.removeEventListener("touchmove",ye)}));const he=()=>De(-1),$=B=>Ae(B),be=B=>G(B),I=()=>M();function ie(B){rn[B?"unshift":"push"](()=>{v=B,r(6,v)})}const xe=()=>De(1);function ne(B){rn[B?"unshift":"push"](()=>{g=B,r(2,g)})}return t.$$set=B=>{"pagfactor"in B&&r(14,s=B.pagfactor),"lang"in B&&r(15,o=B.lang),"session"in B&&r(16,l=B.session),"tourid"in B&&r(17,u=B.tourid),"endpoint"in B&&r(18,f=B.endpoint),"isloading"in B&&r(0,d=B.isloading)},t.$$.update=()=>{t.$$.dirty[0]&2&&r(8,n=_===0),t.$$.dirty[0]&524290&&r(7,i=_<=Y),t.$$.dirty[0]&4&&g&&Re(),t.$$.dirty[0]&1048576&&F&&Ce(),t.$$.dirty[0]&8&&D&&D.length&&He(),t.$$.dirty[0]&2555904&&Le&&f&&l&&u&&U(f,u)},r(1,_=0),[d,_,g,D,E,w,v,i,n,a,G,M,De,Ae,s,o,l,u,f,Y,F,Le,he,$,be,I,ie,xe,ne]}class ji extends qe{constructor(e){super(),We(this,e,Dc,Pc,je,{pagfactor:14,lang:15,session:16,tourid:17,endpoint:18,isloading:0},null,[-1,-1])}get pagfactor(){return this.$$.ctx[14]}set pagfactor(e){this.$$set({pagfactor:e}),x()}get lang(){return this.$$.ctx[15]}set lang(e){this.$$set({lang:e}),x()}get session(){return this.$$.ctx[16]}set session(e){this.$$set({session:e}),x()}get tourid(){return this.$$.ctx[17]}set tourid(e){this.$$set({tourid:e}),x()}get endpoint(){return this.$$.ctx[18]}set endpoint(e){this.$$set({endpoint:e}),x()}get isloading(){return this.$$.ctx[0]}set isloading(e){this.$$set({isloading:e}),x()}}customElements.define("games-router",Ve(ji,{pagfactor:{},lang:{},session:{},tourid:{},endpoint:{},isloading:{type:"Boolean"}},[],[],!0));class Gi extends qe{constructor(e){super(),We(this,e,null,null,je,{})}}customElements.define("tm-line",Ve(Gi,{},[],[],!0));function Ss(t,e,r){const n=t.slice();return n[2]=e[r],n}function Lc(t){let e;return{c(){e=z(" ")},m(r,n){C(r,e,n)},p:J,i:J,o:J,d(r){r&&y(e)}}}function Ec(t){let e,r,n=Ee(t[0]),i=[];for(let s=0;s<n.length;s+=1)i[s]=Ps(Ss(t,n,s));const a=s=>_e(i[s],1,1,()=>{i[s]=null});return{c(){for(let s=0;s<i.length;s+=1)i[s].c();e=de()},m(s,o){for(let l=0;l<i.length;l+=1)i[l]&&i[l].m(s,o);C(s,e,o),r=!0},p(s,o){if(o&1){n=Ee(s[0]);let l;for(l=0;l<n.length;l+=1){const u=Ss(s,n,l);i[l]?(i[l].p(u,o),oe(i[l],1)):(i[l]=Ps(u),i[l].c(),oe(i[l],1),i[l].m(e.parentNode,e))}for(lt(),l=n.length;l<i.length;l+=1)a(l);ut()}},i(s){if(!r){for(let o=0;o<n.length;o+=1)oe(i[o]);r=!0}},o(s){i=i.filter(Boolean);for(let o=0;o<i.length;o+=1)_e(i[o]);r=!1},d(s){s&&y(e),ft(i,s)}}}function Ps(t){let e,r;return e=new Mn({props:{title:t[2].title,text:t[2].description,exportparts:"DetailsCard, DetailsTitle, Title, CollapseButtonDetails, DetailsContent"}}),{c(){cr(e.$$.fragment)},m(n,i){Jt(e,n,i),r=!0},p(n,i){const a={};i&1&&(a.title=n[2].title),i&1&&(a.text=n[2].description),e.$set(a)},i(n){r||(oe(e.$$.fragment,n),r=!0)},o(n){_e(e.$$.fragment,n),r=!1},d(n){Zt(e,n)}}}function Mc(t){let e,r,n,i;const a=[Ec,Lc],s=[];function o(l,u){return l[0]&&l[0].length>0?0:1}return e=o(t),r=s[e]=a[e](t),{c(){r.c(),n=de()},m(l,u){s[e].m(l,u),C(l,n,u),i=!0},p(l,[u]){let f=e;e=o(l),e===f?s[e].p(l,u):(lt(),_e(s[f],1,1,()=>{s[f]=null}),ut(),r=s[e],r?r.p(l,u):(r=s[e]=a[e](l),r.c()),oe(r,1),r.m(n.parentNode,n))},i(l){i||(oe(r),i=!0)},o(l){_e(r),i=!1},d(l){l&&y(n),s[e].d(l)}}}function Rc(t,e,r){let{tournamentdescription:n}=e;const i=()=>{r(0,n)};return t.$$set=a=>{"tournamentdescription"in a&&r(0,n=a.tournamentdescription)},t.$$.update=()=>{t.$$.dirty&1&&n&&i()},[n]}class Yi extends qe{constructor(e){super(),We(this,e,Rc,Mc,je,{tournamentdescription:0})}get tournamentdescription(){return this.$$.ctx[0]}set tournamentdescription(e){this.$$set({tournamentdescription:e}),x()}}customElements.define("description-router",Ve(Yi,{tournamentdescription:{}},[],[],!0));const Wn="data:image/svg+xml,%3csvg%20fill='%23fecf00'%20width='10'%20height='10'%20viewBox='0%200%2010%2010'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M9.03087%203.14062C8.71521%202.56443%208.27722%202.06437%207.74767%201.67553C7.21811%201.28669%206.60971%201.01855%205.96544%200.889885C5.32118%200.761222%204.65646%200.775158%204.01817%200.930778C3.37988%201.0864%202.78361%201.37989%202.27086%201.79064C1.68689%202.25306%201.22358%202.85008%200.920762%203.53063C0.679091%204.08921%200.556377%204.69205%200.560655%205.30065C0.562354%205.92327%200.693172%206.53873%200.944444%207.10839C1.19572%207.67806%201.5622%208.18953%202.02086%208.61059C2.83307%209.36649%203.89773%209.79259%205.00719%209.80553C6.11665%209.81848%207.19124%209.4174%208.02086%208.68066C8.3779%208.38276%208.67913%208.0238%208.91075%207.6206C9.34355%206.92428%209.57213%206.12051%209.57066%205.30065C9.57316%204.54694%209.38776%203.80448%209.03087%203.14062V3.14062ZM4.43077%207.39062C4.41666%207.24208%204.44786%207.09281%204.52013%206.96227C4.59239%206.83174%204.70243%206.72606%204.8358%206.65917C4.96917%206.59228%205.11961%206.56724%205.26744%206.58739C5.41528%206.60754%205.55357%206.67195%205.66417%206.77209C5.77477%206.87223%205.85238%207.00344%205.88707%207.14855C5.92176%207.29367%205.91186%207.44586%205.85851%207.5852C5.80516%207.72454%205.71098%207.84448%205.58824%207.92931C5.46551%208.01415%205.31996%208.05999%205.17076%208.06066C5.0777%208.06746%204.9841%208.05526%204.89586%208.02489C4.80762%207.99453%204.72651%207.94653%204.65733%207.8839C4.58816%207.82127%204.53247%207.74531%204.49352%207.66051C4.45456%207.57572%204.43323%207.4839%204.43077%207.39062V7.39062ZM5.05065%202.69067H5.25084C5.32609%202.69062%205.40056%202.70571%205.46983%202.7351C5.53911%202.76448%205.60165%202.80755%205.65392%202.86169C5.70619%202.91582%205.7471%202.9799%205.77403%203.05016C5.80097%203.12043%205.81334%203.19542%205.81066%203.27062L5.7108%205.66064C5.70312%205.8039%205.64068%205.93873%205.53649%206.03735C5.43229%206.13596%205.29421%206.19087%205.15074%206.19067C5.00827%206.19076%204.87125%206.13559%204.76866%206.03674C4.66607%205.93788%204.60587%205.80301%204.60069%205.66064L4.50084%203.27062C4.49817%203.19625%204.51016%203.12209%204.53648%203.05248C4.5628%202.98287%204.60295%202.91923%204.65416%202.86523C4.70537%202.81123%204.76671%202.76801%204.83483%202.73803C4.90294%202.70805%204.97624%202.69195%205.05065%202.69067V2.69067Z'/%3e%3c/svg%3e",rl="data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2010%2010'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20cx='4.9999'%20cy='4.9999'%20r='4.9999'%20fill='%23434647'/%3e%3cg%20clip-path='url(%23clip0_2591_1149)'%3e%3cline%20x1='4.93332'%20y1='4'%20x2='4.93332'%20y2='7.99992'%20stroke='%2359CA00'%20stroke-width='1.86663'/%3e%3cpath%20d='M4.99896%202L7.59699%204.99994H2.40094L4.99896%202Z'%20fill='%2359CA00'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_2591_1149'%3e%3crect%20width='5.99988'%20height='5.99928'%20fill='white'%20transform='translate(1.99902%202)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",nl="data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2010%2010'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20r='4.9999'%20transform='matrix(1%200%200%20-1%204.9999%205.0001)'%20fill='%23434647'/%3e%3cg%20clip-path='url(%23clip0_2591_1154)'%3e%3cline%20y1='-0.933315'%20x2='3.99992'%20y2='-0.933315'%20transform='matrix(0%20-1%20-1%200%204%206)'%20stroke='%23CA0000'%20stroke-width='1.86663'/%3e%3cpath%20d='M4.99896%208L7.59699%205.00006H2.40094L4.99896%208Z'%20fill='%23CA0000'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_2591_1154'%3e%3crect%20width='5.99988'%20height='5.99928'%20fill='white'%20transform='matrix(1%200%200%20-1%201.99902%208)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e";function xs(t,e,r){const n=t.slice();return n[71]=e[r],n}function Ds(t,e,r){const n=t.slice();return n[68]=e[r],n}function Ls(t,e,r){const n=t.slice();return n[71]=e[r],n[77]=r,n}function Es(t,e,r){const n=t.slice();return n[68]=e[r],n}function Ms(t,e,r){const n=t.slice();return n[71]=e[r],n}function Ac(t){let e,r,n,i,a,s,o,l,u=t[14]("tournamentsTable.nowinners")+"",f,d=Ee(t[4]),h=[];for(let p=0;p<d.length;p+=1)h[p]=Rs(xs(t,d,p));return{c(){e=b("div"),r=b("table"),n=b("thead"),i=b("tr");for(let p=0;p<h.length;p+=1)h[p].c();a=H(),s=b("tbody"),o=b("tr"),l=b("td"),f=z(u),c(i,"part","LeftTableTr"),c(n,"part","LeftTableThead"),c(n,"class","LeftTableThead"),c(l,"colspan",t[9]),c(l,"part","LeftTableTd"),c(o,"part","LeftTableTr"),c(s,"part","LeftTableTbody"),c(s,"class","LeftTableTbody"),c(r,"class","LeftTable"),c(r,"part","LeftTable"),c(e,"class","TournamentsTable"),c(e,"part","TournamentsTable"),Rt(e,"display",t[10]?"none":"")},m(p,_){C(p,e,_),m(e,r),m(r,n),m(n,i);for(let g=0;g<h.length;g+=1)h[g]&&h[g].m(i,null);m(r,a),m(r,s),m(s,o),m(o,l),m(l,f)},p(p,_){if(_[0]&86034){d=Ee(p[4]);let g;for(g=0;g<d.length;g+=1){const P=xs(p,d,g);h[g]?h[g].p(P,_):(h[g]=Rs(P),h[g].c(),h[g].m(i,null))}for(;g<h.length;g+=1)h[g].d(1);h.length=d.length}_[0]&16384&&u!==(u=p[14]("tournamentsTable.nowinners")+"")&&W(f,u),_[0]&512&&c(l,"colspan",p[9]),_[0]&1024&&Rt(e,"display",p[10]?"none":"")},d(p){p&&y(e),ft(h,p)}}}function Fc(t){let e,r=t[6]&&!t[10]&&As(t);return{c(){r&&r.c(),e=de()},m(n,i){r&&r.m(n,i),C(n,e,i)},p(n,i){n[6]&&!n[10]?r?r.p(n,i):(r=As(n),r.c(),r.m(e.parentNode,e)):r&&(r.d(1),r=null)},d(n){n&&y(e),r&&r.d(n)}}}function zc(t){let e;function r(a,s){return Gn(a[15])==!0?Hc:Nc}let i=r(t)(t);return{c(){i.c(),e=de()},m(a,s){i.m(a,s),C(a,e,s)},p(a,s){i.p(a,s)},d(a){a&&y(e),i.d(a)}}}function Oc(t){let e,r=t[14](`tournamentsTable.${t[71]}`)+"",n;return{c(){e=b("p"),n=z(r),c(e,"data-sort",t[12]),c(e,"part","LeftTableP")},m(i,a){C(i,e,a),m(e,n)},p(i,a){a[0]&16400&&r!==(r=i[14](`tournamentsTable.${i[71]}`)+"")&&W(n,r),a[0]&4096&&c(e,"data-sort",i[12])},d(i){i&&y(e)}}}function Bc(t){let e,r=t[14](`tournamentsTable.${t[71]}`)+"",n,i,a;function s(){return t[37](t[71])}return{c(){e=b("button"),n=z(r),c(e,"data-sort",t[12]),c(e,"part","LeftTableButton")},m(o,l){C(o,e,l),m(e,n),i||(a=tt(e,"click",s),i=!0)},p(o,l){t=o,l[0]&16400&&r!==(r=t[14](`tournamentsTable.${t[71]}`)+"")&&W(n,r),l[0]&4096&&c(e,"data-sort",t[12])},d(o){o&&y(e),i=!1,a()}}}function Rs(t){let e,r;function n(s,o){return s[1]=="true"?Bc:Oc}let i=n(t),a=i(t);return{c(){e=b("th"),a.c(),r=H(),c(e,"part","LeftTableTh")},m(s,o){C(s,e,o),a.m(e,null),m(e,r)},p(s,o){i===(i=n(s))&&a?a.p(s,o):(a.d(1),a=i(s),a&&(a.c(),a.m(e,r)))},d(s){s&&y(e),a.d()}}}function As(t){let e,r,n,i=t[14]("tournamentsTable.nowinners")+"",a;return{c(){e=b("div"),r=b("div"),n=b("p"),a=z(i),c(r,"class","TableUser"),c(r,"part","TableUser"),c(e,"class","TableContent"),c(e,"part","TableContent")},m(s,o){C(s,e,o),m(e,r),m(r,n),m(n,a)},p(s,o){o[0]&16384&&i!==(i=s[14]("tournamentsTable.nowinners")+"")&&W(a,i)},d(s){s&&y(e)}}}function Nc(t){let e,r,n,i,a,s,o,l,u,f,d,h,p=Ee(t[4]),_=[];for(let v=0;v<p.length;v+=1)_[v]=Fs(Ls(t,p,v));let g=t[0]=="true"&&t[5]&&zs(t),P=t[6]&&Bs(t);function L(v,Y){return v[6]?t1:e1}let E=L(t),w=E(t);return{c(){e=b("div"),r=b("table"),n=b("thead"),i=b("tr");for(let v=0;v<_.length;v+=1)_[v].c();a=H(),s=b("tbody"),g&&g.c(),o=H(),P&&P.c(),l=H(),u=b("div"),f=b("div"),w.c(),c(i,"part","LeftTableTr"),c(i,"class","LeftTableTr"),c(n,"part","LeftTableThead"),c(n,"class","LeftTableThead"),c(s,"part","LeftTableTbody"),c(s,"class","LeftTableTbody"),c(r,"class","LeftTable"),c(r,"part","LeftTable"),c(f,"class","CollapseButton"),c(f,"part","CollapseButton"),c(f,"tabindex","0"),c(f,"role","button"),c(u,"class","RightButton"),c(u,"part","RightButton"),c(e,"class","TournamentsTable"),c(e,"part","TournamentsTable")},m(v,Y){C(v,e,Y),m(e,r),m(r,n),m(n,i);for(let D=0;D<_.length;D+=1)_[D]&&_[D].m(i,null);m(r,a),m(r,s),g&&g.m(s,null),m(s,o),P&&P.m(s,null),m(e,l),m(e,u),m(u,f),w.m(f,null),d||(h=tt(f,"click",t[36]),d=!0)},p(v,Y){if(Y[0]&86034){p=Ee(v[4]);let D;for(D=0;D<p.length;D+=1){const F=Ls(v,p,D);_[D]?_[D].p(F,Y):(_[D]=Fs(F),_[D].c(),_[D].m(i,null))}for(;D<_.length;D+=1)_[D].d(1);_.length=p.length}v[0]=="true"&&v[5]?g?g.p(v,Y):(g=zs(v),g.c(),g.m(s,o)):g&&(g.d(1),g=null),v[6]?P?P.p(v,Y):(P=Bs(v),P.c(),P.m(s,null)):P&&(P.d(1),P=null),E!==(E=L(v))&&(w.d(1),w=E(v),w&&(w.c(),w.m(f,null)))},d(v){v&&y(e),ft(_,v),g&&g.d(),P&&P.d(),w.d(),d=!1,h()}}}function Hc(t){let e,r,n,i,a=Ee(t[4]),s=[];for(let u=0;u<a.length;u+=1)s[u]=Is(Ms(t,a,u));let o=t[0]=="true"&&t[5]&&js(t),l=t[6]&&Ys(t);return{c(){e=b("div"),r=b("div");for(let u=0;u<s.length;u+=1)s[u].c();n=H(),o&&o.c(),i=H(),l&&l.c(),c(r,"class","TableUser TableHeadRow"),c(r,"part","TableUser TableHeadRow"),c(e,"class","TableContent"),c(e,"part","TableContent")},m(u,f){C(u,e,f),m(e,r);for(let d=0;d<s.length;d+=1)s[d]&&s[d].m(r,null);m(e,n),o&&o.m(e,null),m(e,i),l&&l.m(e,null)},p(u,f){if(f[0]&86034){a=Ee(u[4]);let d;for(d=0;d<a.length;d+=1){const h=Ms(u,a,d);s[d]?s[d].p(h,f):(s[d]=Is(h),s[d].c(),s[d].m(r,null))}for(;d<s.length;d+=1)s[d].d(1);s.length=a.length}u[0]=="true"&&u[5]?o?o.p(u,f):(o=js(u),o.c(),o.m(e,i)):o&&(o.d(1),o=null),u[6]?l?l.p(u,f):(l=Ys(u),l.c(),l.m(e,null)):l&&(l.d(1),l=null)},d(u){u&&y(e),ft(s,u),o&&o.d(),l&&l.d()}}}function Uc(t){let e,r=t[14](`tournamentsTable.${t[71]}`)+"",n;return{c(){e=b("p"),n=z(r),c(e,"data-sort",t[12]),c(e,"part","LeftTableP"),c(e,"class","LeftTableP")},m(i,a){C(i,e,a),m(e,n)},p(i,a){a[0]&16400&&r!==(r=i[14](`tournamentsTable.${i[71]}`)+"")&&W(n,r),a[0]&4096&&c(e,"data-sort",i[12])},d(i){i&&y(e)}}}function Ic(t){let e,r=t[14](`tournamentsTable.${t[71]}`)+"",n,i,a;function s(){return t[35](t[71])}return{c(){e=b("button"),n=z(r),c(e,"data-sort",t[12]),c(e,"part","LeftTableButton")},m(o,l){C(o,e,l),m(e,n),i||(a=tt(e,"click",s),i=!0)},p(o,l){t=o,l[0]&16400&&r!==(r=t[14](`tournamentsTable.${t[71]}`)+"")&&W(n,r),l[0]&4096&&c(e,"data-sort",t[12])},d(o){o&&y(e),i=!1,a()}}}function Fs(t){let e,r;function n(s,o){return s[1]=="true"?Ic:Uc}let i=n(t),a=i(t);return{c(){e=b("th"),a.c(),r=H(),c(e,"part","LeftTableTh LeftTableTh_"+t[77]),c(e,"class","LeftTableTh")},m(s,o){C(s,e,o),a.m(e,null),m(e,r)},p(s,o){i===(i=n(s))&&a?a.p(s,o):(a.d(1),a=i(s),a&&(a.c(),a.m(e,r)))},d(s){s&&y(e),a.d()}}}function zs(t){let e,r,n,i,a,s,o,l,u,f,d,h,p,_,g,P,L,E,w=t[5].Player+"",v,Y,D,F,G=t[5].Points+"",M,A,Pe,ye,De,Ae,Re,He,Ce,U;function Le(ne,B){return ne[5].Rank<4&&ne[2]=="true"?Gc:jc}let he=Le(t),$=he(t);function be(ne,B){return ne[5].Prize?qc:Vc}let I=be(t),ie=I(t),xe=t[5].Unqualified&&Os(t);return{c(){e=b("tr"),r=b("td"),n=b("div"),i=b("strong"),$.c(),a=H(),s=b("div"),o=b("img"),f=H(),d=b("img"),P=H(),L=b("td"),E=b("div"),v=z(w),Y=H(),D=b("td"),F=b("div"),M=z(G),A=H(),Pe=b("td"),ye=b("div"),ie.c(),Ce=H(),xe&&xe.c(),U=de(),Ye(o.src,l=rl)||c(o,"src",l),c(o,"alt","UpArrow"),c(o,"part","Rank_Arror_UP"),c(o,"class",u="svg Arrow Up "+(t[7]&&t[8]?"Show":"Hidden")),Ye(d.src,h=nl)||c(d,"src",h),c(d,"alt","DownArrow"),c(d,"part","Rank_Arror_Down"),c(d,"class",p="svg Arrow Down "+(t[7]&&!t[8]?"Show":"Hidden")),c(s,"class",_="ScoreChangeFlag "+(t[7]?"Show":"Hidden")),c(s,"part",g="ScoreChangeFlag "+(t[7]?"Show":"Hidden")),c(i,"class","RankCol"),c(i,"part","RankCol"),c(n,"part","TableCellContent"),c(n,"class","TableCellContent CellContent"),c(r,"part","LeftTableTd RankFirstRow"),c(r,"class","LeftTableTd"),c(E,"part","TableCellContent"),c(E,"class","TableCellContent CellContent"),c(L,"part","LeftTableTd"),c(L,"class","LeftTableTd"),c(F,"class","Flex CellContent"),c(F,"part","Flex"),c(D,"part","LeftTableTd"),c(D,"class","LeftTableTd"),c(ye,"class","PrizeCell CellContent"),c(ye,"part","PrizeCell"),c(Pe,"class",De="LeftTableTd "+(t[5].Unqualified?"":"Qualified")),c(Pe,"part",Ae="LeftTableTd "+(t[5].Unqualified?"":"Qualified")),c(e,"class",Re="FirstRow "+(t[5].Unqualified?"UnqualifiedRow":"")),c(e,"part",He="FirstRow "+(t[5].Unqualified?"UnqualifiedRow":""))},m(ne,B){C(ne,e,B),m(e,r),m(r,n),m(n,i),$.m(i,null),m(i,a),m(i,s),m(s,o),m(s,f),m(s,d),m(e,P),m(e,L),m(L,E),m(E,v),m(e,Y),m(e,D),m(D,F),m(F,M),m(e,A),m(e,Pe),m(Pe,ye),ie.m(ye,null),C(ne,Ce,B),xe&&xe.m(ne,B),C(ne,U,B)},p(ne,B){he===(he=Le(ne))&&$?$.p(ne,B):($.d(1),$=he(ne),$&&($.c(),$.m(i,a))),B[0]&384&&u!==(u="svg Arrow Up "+(ne[7]&&ne[8]?"Show":"Hidden"))&&c(o,"class",u),B[0]&384&&p!==(p="svg Arrow Down "+(ne[7]&&!ne[8]?"Show":"Hidden"))&&c(d,"class",p),B[0]&128&&_!==(_="ScoreChangeFlag "+(ne[7]?"Show":"Hidden"))&&c(s,"class",_),B[0]&128&&g!==(g="ScoreChangeFlag "+(ne[7]?"Show":"Hidden"))&&c(s,"part",g),B[0]&32&&w!==(w=ne[5].Player+"")&&W(v,w),B[0]&32&&G!==(G=ne[5].Points+"")&&W(M,G),I===(I=be(ne))&&ie?ie.p(ne,B):(ie.d(1),ie=I(ne),ie&&(ie.c(),ie.m(ye,null))),B[0]&32&&De!==(De="LeftTableTd "+(ne[5].Unqualified?"":"Qualified"))&&c(Pe,"class",De),B[0]&32&&Ae!==(Ae="LeftTableTd "+(ne[5].Unqualified?"":"Qualified"))&&c(Pe,"part",Ae),B[0]&32&&Re!==(Re="FirstRow "+(ne[5].Unqualified?"UnqualifiedRow":""))&&c(e,"class",Re),B[0]&32&&He!==(He="FirstRow "+(ne[5].Unqualified?"UnqualifiedRow":""))&&c(e,"part",He),ne[5].Unqualified?xe?xe.p(ne,B):(xe=Os(ne),xe.c(),xe.m(U.parentNode,U)):xe&&(xe.d(1),xe=null)},d(ne){ne&&(y(e),y(Ce),y(U)),$.d(),ie.d(),xe&&xe.d(ne)}}}function jc(t){let e,r,n=(t[5].Rank||"")+"",i;return{c(){e=b("em"),r=z("#"),i=z(n),c(e,"part","LeftTableTdEm")},m(a,s){C(a,e,s),m(e,r),m(e,i)},p(a,s){s[0]&32&&n!==(n=(a[5].Rank||"")+"")&&W(i,n)},d(a){a&&y(e)}}}function Gc(t){let e;function r(a,s){return a[5].Rank>0?Wc:Yc}let n=r(t),i=n(t);return{c(){i.c(),e=de()},m(a,s){i.m(a,s),C(a,e,s)},p(a,s){n===(n=r(a))&&i?i.p(a,s):(i.d(1),i=n(a),i&&(i.c(),i.m(e.parentNode,e)))},d(a){a&&y(e),i.d(a)}}}function Yc(t){let e;return{c(){e=b("em"),e.textContent="#",c(e,"part","LeftTableTdEm")},m(r,n){C(r,e,n)},p:J,d(r){r&&y(e)}}}function Wc(t){let e,r;return{c(){e=b("img"),c(e,"alt","prize"),c(e,"class","PrizeIcon"),Ye(e.src,r=t[11][t[5].Rank])||c(e,"src",r)},m(n,i){C(n,e,i)},p(n,i){i[0]&2080&&!Ye(e.src,r=n[11][n[5].Rank])&&c(e,"src",r)},d(n){n&&y(e)}}}function Vc(t){let e;return{c(){e=z("-")},m(r,n){C(r,e,n)},p:J,d(r){r&&y(e)}}}function qc(t){let e=t[5].Prize+"",r;return{c(){r=z(e)},m(n,i){C(n,r,i)},p(n,i){i[0]&32&&e!==(e=n[5].Prize+"")&&W(r,e)},d(n){n&&y(r)}}}function Os(t){let e,r,n,i,a=t[14]("tournamentsTable.UnqualifiedTips")+"",s;return{c(){e=b("tr"),r=b("td"),n=b("div"),i=H(),s=z(a),c(n,"class","ExclamationMark"),c(n,"style",`background-image: url("${Wn}")`),c(r,"colspan",t[9]),c(r,"part","LeftTableTd"),c(r,"class","LeftTableTd"),c(e,"class","TooltipsRow"),c(e,"part","TooltipsRow")},m(o,l){C(o,e,l),m(e,r),m(r,n),m(r,i),m(r,s)},p(o,l){l[0]&16384&&a!==(a=o[14]("tournamentsTable.UnqualifiedTips")+"")&&W(s,a),l[0]&512&&c(r,"colspan",o[9])},d(o){o&&y(e)}}}function Bs(t){let e,r=Ee(t[13]),n=[];for(let i=0;i<r.length;i+=1)n[i]=Us(Ds(t,r,i));return{c(){for(let i=0;i<n.length;i+=1)n[i].c();e=de()},m(i,a){for(let s=0;s<n.length;s+=1)n[s]&&n[s].m(i,a);C(i,e,a)},p(i,a){if(a[0]&27524){r=Ee(i[13]);let s;for(s=0;s<r.length;s+=1){const o=Ds(i,r,s);n[s]?n[s].p(o,a):(n[s]=Us(o),n[s].c(),n[s].m(e.parentNode,e))}for(;s<n.length;s+=1)n[s].d(1);n.length=r.length}},d(i){i&&y(e),ft(n,i)}}}function Jc(t){let e,r=(t[68].Rank||"")+"",n;return{c(){e=z("#"),n=z(r)},m(i,a){C(i,e,a),C(i,n,a)},p(i,a){a[0]&8192&&r!==(r=(i[68].Rank||"")+"")&&W(n,r)},d(i){i&&(y(e),y(n))}}}function Zc(t){let e;function r(a,s){return a[68].Rank>0?Qc:Xc}let n=r(t),i=n(t);return{c(){i.c(),e=de()},m(a,s){i.m(a,s),C(a,e,s)},p(a,s){n===(n=r(a))&&i?i.p(a,s):(i.d(1),i=n(a),i&&(i.c(),i.m(e.parentNode,e)))},d(a){a&&y(e),i.d(a)}}}function Xc(t){let e;return{c(){e=z("#")},m(r,n){C(r,e,n)},p:J,d(r){r&&y(e)}}}function Qc(t){let e,r;return{c(){e=b("img"),c(e,"alt","prize"),c(e,"class","PrizeIcon"),Ye(e.src,r=t[11][t[68].Rank])||c(e,"src",r)},m(n,i){C(n,e,i)},p(n,i){i[0]&10240&&!Ye(e.src,r=n[11][n[68].Rank])&&c(e,"src",r)},d(n){n&&y(e)}}}function Ns(t){let e,r,n,i,a,s,o;return{c(){e=b("img"),i=H(),a=b("img"),Ye(e.src,r=rl)||c(e,"src",r),c(e,"alt","UpArrow"),c(e,"part","Rank_Arror_UP"),c(e,"class",n="svg Arrow Up "+(t[7]&&t[8]?"Show":"Hidden")),Ye(a.src,s=nl)||c(a,"src",s),c(a,"alt","DownArrow"),c(a,"part","Rank_Arror_Down"),c(a,"class",o="svg Arrow Down "+(t[7]&&!t[8]?"Show":"Hidden"))},m(l,u){C(l,e,u),C(l,i,u),C(l,a,u)},p(l,u){u[0]&384&&n!==(n="svg Arrow Up "+(l[7]&&l[8]?"Show":"Hidden"))&&c(e,"class",n),u[0]&384&&o!==(o="svg Arrow Down "+(l[7]&&!l[8]?"Show":"Hidden"))&&c(a,"class",o)},d(l){l&&(y(e),y(i),y(a))}}}function Kc(t){let e;return{c(){e=z("-")},m(r,n){C(r,e,n)},p:J,d(r){r&&y(e)}}}function $c(t){let e=t[68].Prize+"",r;return{c(){r=z(e)},m(n,i){C(n,r,i)},p(n,i){i[0]&8192&&e!==(e=n[68].Prize+"")&&W(r,e)},d(n){n&&y(r)}}}function Hs(t){let e,r,n,i,a=t[14]("tournamentsTable.UnqualifiedTips")+"",s,o,l;return{c(){e=b("tr"),r=b("td"),n=b("div"),i=H(),s=z(a),o=H(),c(n,"class","ExclamationMark"),c(n,"style",`background-image: url("${Wn}")`),c(r,"colspan",t[9]),c(r,"part","LeftTableTd"),c(r,"class","LeftTableTd"),c(e,"class",l="TooltipsRow Rank"+t[68].Rank+"Tr CurrentUserTr"),c(e,"part","TooltipsRow")},m(u,f){C(u,e,f),m(e,r),m(r,n),m(r,i),m(r,s),m(e,o)},p(u,f){f[0]&16384&&a!==(a=u[14]("tournamentsTable.UnqualifiedTips")+"")&&W(s,a),f[0]&512&&c(r,"colspan",u[9]),f[0]&8192&&l!==(l="TooltipsRow Rank"+u[68].Rank+"Tr CurrentUserTr")&&c(e,"class",l)},d(u){u&&y(e)}}}function Us(t){let e,r,n,i,a,s,o,l,u,f,d,h,p,_=t[68].Player+"",g,P,L,E,w,v=t[68].Points+"",Y,D,F,G,M,A,Pe,ye,De,Ae;function Re(I,ie){return I[68].Rank<4&&I[2]=="true"?Zc:Jc}let He=Re(t),Ce=He(t),U=t[68].isCurrentUser&&Ns(t);function Le(I,ie){return I[68].Prize?$c:Kc}let he=Le(t),$=he(t),be=t[68].Unqualified&&t[68].isCurrentUser&&Hs(t);return{c(){e=b("tr"),r=b("td"),n=b("div"),i=b("strong"),a=b("em"),Ce.c(),s=H(),o=b("div"),U&&U.c(),d=H(),h=b("td"),p=b("div"),g=z(_),P=H(),L=b("td"),E=b("div"),w=b("div"),Y=z(v),D=H(),F=b("td"),G=b("div"),$.c(),De=H(),be&&be.c(),Ae=de(),c(o,"class",l="ScoreChangeFlag "+(t[7]?"Show":"Hidden")),c(o,"part",u="ScoreChangeFlag "+(t[7]?"Show":"Hidden")),c(a,"part","LeftTableTdEm"),c(i,"class","RankCol"),c(i,"part","RankCol"),c(n,"part","TableCellContent"),c(n,"class","Table CellContent"),c(r,"part",f="LeftTableTd Rank-"+t[68].Rank),c(r,"class","LeftTableTd"),c(p,"part","PlayerCellContent"),c(p,"class","Player CellContent"),c(h,"part","LeftTableTd"),c(h,"class","LeftTableTd"),c(w,"class","Flex ScoreUp"),c(w,"part","Flex ScoreUp"),c(E,"part","ScoreCellContent"),c(E,"class","Score CellContent"),c(L,"part","LeftTableTd"),c(L,"class","LeftTableTd"),c(G,"part","PrizeCellContent"),c(G,"class","Prize CellContent "),c(F,"class",M="LeftTableTd "+(t[68].Unqualified?"":"Qualified")),c(F,"part",A="LeftTableTd "+(t[68].Unqualified?"":"Qualified")),c(e,"class",Pe="LeftTableTr Rank"+t[68].Rank+"Tr "+(t[68].isCurrentUser?"FirstRow":"")+" "+(t[68].isCurrentUser&&t[68].Unqualified?"UnqualifiedRow":"")),c(e,"part",ye="LeftTableTr "+(t[68].isCurrentUser?"FirstRow":"")+" "+(t[68].isCurrentUser&&t[68].Unqualified?"UnqualifiedRow":""))},m(I,ie){C(I,e,ie),m(e,r),m(r,n),m(n,i),m(i,a),Ce.m(a,null),m(a,s),m(a,o),U&&U.m(o,null),m(e,d),m(e,h),m(h,p),m(p,g),m(e,P),m(e,L),m(L,E),m(E,w),m(w,Y),m(e,D),m(e,F),m(F,G),$.m(G,null),C(I,De,ie),be&&be.m(I,ie),C(I,Ae,ie)},p(I,ie){He===(He=Re(I))&&Ce?Ce.p(I,ie):(Ce.d(1),Ce=He(I),Ce&&(Ce.c(),Ce.m(a,s))),I[68].isCurrentUser?U?U.p(I,ie):(U=Ns(I),U.c(),U.m(o,null)):U&&(U.d(1),U=null),ie[0]&128&&l!==(l="ScoreChangeFlag "+(I[7]?"Show":"Hidden"))&&c(o,"class",l),ie[0]&128&&u!==(u="ScoreChangeFlag "+(I[7]?"Show":"Hidden"))&&c(o,"part",u),ie[0]&8192&&f!==(f="LeftTableTd Rank-"+I[68].Rank)&&c(r,"part",f),ie[0]&8192&&_!==(_=I[68].Player+"")&&W(g,_),ie[0]&8192&&v!==(v=I[68].Points+"")&&W(Y,v),he===(he=Le(I))&&$?$.p(I,ie):($.d(1),$=he(I),$&&($.c(),$.m(G,null))),ie[0]&8192&&M!==(M="LeftTableTd "+(I[68].Unqualified?"":"Qualified"))&&c(F,"class",M),ie[0]&8192&&A!==(A="LeftTableTd "+(I[68].Unqualified?"":"Qualified"))&&c(F,"part",A),ie[0]&8192&&Pe!==(Pe="LeftTableTr Rank"+I[68].Rank+"Tr "+(I[68].isCurrentUser?"FirstRow":"")+" "+(I[68].isCurrentUser&&I[68].Unqualified?"UnqualifiedRow":""))&&c(e,"class",Pe),ie[0]&8192&&ye!==(ye="LeftTableTr "+(I[68].isCurrentUser?"FirstRow":"")+" "+(I[68].isCurrentUser&&I[68].Unqualified?"UnqualifiedRow":""))&&c(e,"part",ye),I[68].Unqualified&&I[68].isCurrentUser?be?be.p(I,ie):(be=Hs(I),be.c(),be.m(Ae.parentNode,Ae)):be&&(be.d(1),be=null)},d(I){I&&(y(e),y(De),y(Ae)),Ce.d(),U&&U.d(),$.d(),be&&be.d(I)}}}function e1(t){let e,r;return{c(){e=$e("svg"),r=$e("path"),c(r,"d","M6 9l6 6 6-6"),c(e,"xmlns","http://www.w3.org/2000/svg"),c(e,"width","24"),c(e,"height","24"),c(e,"viewBox","0 0 24 24"),c(e,"fill","none"),c(e,"stroke","#ffffff"),c(e,"stroke-width","2"),c(e,"stroke-linecap","round"),c(e,"stroke-linejoin","round")},m(n,i){C(n,e,i),m(e,r)},d(n){n&&y(e)}}}function t1(t){let e,r;return{c(){e=$e("svg"),r=$e("path"),c(r,"d","M18 15l-6-6-6 6"),c(e,"xmlns","http://www.w3.org/2000/svg"),c(e,"width","24"),c(e,"height","24"),c(e,"viewBox","0 0 24 24"),c(e,"fill","none"),c(e,"stroke","#ffffff"),c(e,"stroke-width","2"),c(e,"stroke-linecap","round"),c(e,"stroke-linejoin","round")},m(n,i){C(n,e,i),m(e,r)},d(n){n&&y(e)}}}function r1(t){let e,r=t[14](`tournamentsTable.${t[71]}`)+"",n;return{c(){e=b("p"),n=z(r),c(e,"data-sort",t[12])},m(i,a){C(i,e,a),m(e,n)},p(i,a){a[0]&16400&&r!==(r=i[14](`tournamentsTable.${i[71]}`)+"")&&W(n,r),a[0]&4096&&c(e,"data-sort",i[12])},d(i){i&&y(e)}}}function n1(t){let e,r=t[14](`tournamentsTable.${t[71]}`)+"",n,i,a;function s(){return t[34](t[71])}return{c(){e=b("button"),n=z(r),c(e,"data-sort",t[12])},m(o,l){C(o,e,l),m(e,n),i||(a=tt(e,"click",s),i=!0)},p(o,l){t=o,l[0]&16400&&r!==(r=t[14](`tournamentsTable.${t[71]}`)+"")&&W(n,r),l[0]&4096&&c(e,"data-sort",t[12])},d(o){o&&y(e),i=!1,a()}}}function Is(t){let e,r,n,i;function a(l,u){return l[1]=="true"?n1:r1}let s=a(t),o=s(t);return{c(){e=b("div"),o.c(),r=H(),c(e,"class",n="TableCell Table"+t[71]),c(e,"part",i="TableCell Table"+t[71])},m(l,u){C(l,e,u),o.m(e,null),m(e,r)},p(l,u){s===(s=a(l))&&o?o.p(l,u):(o.d(1),o=s(l),o&&(o.c(),o.m(e,r))),u[0]&16&&n!==(n="TableCell Table"+l[71])&&c(e,"class",n),u[0]&16&&i!==(i="TableCell Table"+l[71])&&c(e,"part",i)},d(l){l&&y(e),o.d()}}}function js(t){let e,r,n,i,a,s,o=t[5].Player+"",l,u,f,d=t[5].Points+"",h,p,_,g,P,L;function E(M,A){return M[5].Rank<4&&M[2]=="true"?a1:i1}let w=E(t),v=w(t);function Y(M,A){return M[5].Prize?u1:l1}let D=Y(t),F=D(t),G=t[5].Unqualified&&Gs(t);return{c(){e=b("div"),r=b("div"),v.c(),a=H(),s=b("div"),l=z(o),u=H(),f=b("div"),h=z(d),p=H(),F.c(),P=H(),G&&G.c(),L=de(),c(r,"class",n="TableCell TableRank "+(t[5].Prize?"Qualified":"")),c(r,"part",i="TableCell TableRank RankFirstRow "+(t[5].Prize?"Qualified":"")),c(s,"class","TableCell TablePlayer"),c(s,"part","TableCell TablePlayer"),c(f,"class","TableCell TablePoints"),c(f,"part","TableCell TablePoints"),c(e,"class",_="TableUser CurrentUserRow "+(t[5].Unqualified?"UnqualifiedRow":"")),c(e,"part",g="TableUser CurrentUserRow "+(t[5].Unqualified?"UnqualifiedRow":""))},m(M,A){C(M,e,A),m(e,r),v.m(r,null),m(e,a),m(e,s),m(s,l),m(e,u),m(e,f),m(f,h),m(e,p),F.m(e,null),C(M,P,A),G&&G.m(M,A),C(M,L,A)},p(M,A){w===(w=E(M))&&v?v.p(M,A):(v.d(1),v=w(M),v&&(v.c(),v.m(r,null))),A[0]&32&&n!==(n="TableCell TableRank "+(M[5].Prize?"Qualified":""))&&c(r,"class",n),A[0]&32&&i!==(i="TableCell TableRank RankFirstRow "+(M[5].Prize?"Qualified":""))&&c(r,"part",i),A[0]&32&&o!==(o=M[5].Player+"")&&W(l,o),A[0]&32&&d!==(d=M[5].Points+"")&&W(h,d),D===(D=Y(M))&&F?F.p(M,A):(F.d(1),F=D(M),F&&(F.c(),F.m(e,null))),A[0]&32&&_!==(_="TableUser CurrentUserRow "+(M[5].Unqualified?"UnqualifiedRow":""))&&c(e,"class",_),A[0]&32&&g!==(g="TableUser CurrentUserRow "+(M[5].Unqualified?"UnqualifiedRow":""))&&c(e,"part",g),M[5].Unqualified?G?G.p(M,A):(G=Gs(M),G.c(),G.m(L.parentNode,L)):G&&(G.d(1),G=null)},d(M){M&&(y(e),y(P),y(L)),v.d(),F.d(),G&&G.d(M)}}}function i1(t){let e,r=(t[5].Rank||"")+"",n;return{c(){e=b("em"),n=z(r),c(e,"part","LeftTableTdEm")},m(i,a){C(i,e,a),m(e,n)},p(i,a){a[0]&32&&r!==(r=(i[5].Rank||"")+"")&&W(n,r)},d(i){i&&y(e)}}}function a1(t){let e;function r(a,s){return a[5].Rank>0?o1:s1}let n=r(t),i=n(t);return{c(){i.c(),e=de()},m(a,s){i.m(a,s),C(a,e,s)},p(a,s){n===(n=r(a))&&i?i.p(a,s):(i.d(1),i=n(a),i&&(i.c(),i.m(e.parentNode,e)))},d(a){a&&y(e),i.d(a)}}}function s1(t){let e;return{c(){e=b("em"),e.textContent="#",c(e,"part","LeftTableTdEm")},m(r,n){C(r,e,n)},p:J,d(r){r&&y(e)}}}function o1(t){let e,r;return{c(){e=b("img"),c(e,"alt","prize"),c(e,"class","PrizeIcon"),Ye(e.src,r=t[11][t[5].Rank])||c(e,"src",r)},m(n,i){C(n,e,i)},p(n,i){i[0]&2080&&!Ye(e.src,r=n[11][n[5].Rank])&&c(e,"src",r)},d(n){n&&y(e)}}}function l1(t){let e;return{c(){e=b("div"),e.textContent="-",c(e,"class","TableCell TablePrize"),c(e,"part","TableCell TablePrize")},m(r,n){C(r,e,n)},p:J,d(r){r&&y(e)}}}function u1(t){let e,r=t[5].Prize+"",n,i,a;return{c(){e=b("div"),n=z(r),c(e,"class",i="TableCell TablePrize "+(t[5].Unqualified?"":"Qualified")),c(e,"part",a="TableCell TablePrize "+(t[5].Unqualified?"":"Qualified"))},m(s,o){C(s,e,o),m(e,n)},p(s,o){o[0]&32&&r!==(r=s[5].Prize+"")&&W(n,r),o[0]&32&&i!==(i="TableCell TablePrize "+(s[5].Unqualified?"":"Qualified"))&&c(e,"class",i),o[0]&32&&a!==(a="TableCell TablePrize "+(s[5].Unqualified?"":"Qualified"))&&c(e,"part",a)},d(s){s&&y(e)}}}function Gs(t){let e,r,n,i,a=t[14]("tournamentsTable.UnqualifiedTips")+"",s;return{c(){e=b("div"),r=b("div"),n=H(),i=b("em"),s=z(a),c(r,"class","ExclamationMark"),c(r,"style",`background-image: url("${Wn}")`),c(i,"part","TableUserTooltipsEm"),c(e,"class","TableUserTooltips"),c(e,"part","TableUserTooltips")},m(o,l){C(o,e,l),m(e,r),m(e,n),m(e,i),m(i,s)},p(o,l){l[0]&16384&&a!==(a=o[14]("tournamentsTable.UnqualifiedTips")+"")&&W(s,a)},d(o){o&&y(e)}}}function Ys(t){let e,r=Ee(t[13]),n=[];for(let i=0;i<r.length;i+=1)n[i]=Vs(Es(t,r,i));return{c(){for(let i=0;i<n.length;i+=1)n[i].c();e=de()},m(i,a){for(let s=0;s<n.length;s+=1)n[s]&&n[s].m(i,a);C(i,e,a)},p(i,a){if(a[0]&26628){r=Ee(i[13]);let s;for(s=0;s<r.length;s+=1){const o=Es(i,r,s);n[s]?n[s].p(o,a):(n[s]=Vs(o),n[s].c(),n[s].m(e.parentNode,e))}for(;s<n.length;s+=1)n[s].d(1);n.length=r.length}},d(i){i&&y(e),ft(n,i)}}}function c1(t){let e=(t[68].Rank||"")+"",r;return{c(){r=z(e)},m(n,i){C(n,r,i)},p(n,i){i[0]&8192&&e!==(e=(n[68].Rank||"")+"")&&W(r,e)},d(n){n&&y(r)}}}function f1(t){let e;function r(a,s){return a[68].Rank>0?h1:d1}let n=r(t),i=n(t);return{c(){i.c(),e=de()},m(a,s){i.m(a,s),C(a,e,s)},p(a,s){n===(n=r(a))&&i?i.p(a,s):(i.d(1),i=n(a),i&&(i.c(),i.m(e.parentNode,e)))},d(a){a&&y(e),i.d(a)}}}function d1(t){let e;return{c(){e=b("em"),c(e,"part","LeftTableTdEm")},m(r,n){C(r,e,n)},p:J,d(r){r&&y(e)}}}function h1(t){let e,r;return{c(){e=b("img"),c(e,"alt","prize"),c(e,"class","PrizeIcon"),Ye(e.src,r=t[11][t[68].Rank])||c(e,"src",r)},m(n,i){C(n,e,i)},p(n,i){i[0]&10240&&!Ye(e.src,r=n[11][n[68].Rank])&&c(e,"src",r)},d(n){n&&y(e)}}}function m1(t){let e;return{c(){e=b("div"),e.textContent="-",c(e,"class","TableCell TablePrize"),c(e,"part","TableCell TablePrize")},m(r,n){C(r,e,n)},p:J,d(r){r&&y(e)}}}function p1(t){let e,r=t[68].Prize+"",n,i,a;return{c(){e=b("div"),n=z(r),c(e,"class",i="TableCell TablePrize "+(t[68].Unqualified?"":"Qualified")),c(e,"part",a="TableCell TablePrize "+(t[68].Unqualified?"":"Qualified"))},m(s,o){C(s,e,o),m(e,n)},p(s,o){o[0]&8192&&r!==(r=s[68].Prize+"")&&W(n,r),o[0]&8192&&i!==(i="TableCell TablePrize "+(s[68].Unqualified?"":"Qualified"))&&c(e,"class",i),o[0]&8192&&a!==(a="TableCell TablePrize "+(s[68].Unqualified?"":"Qualified"))&&c(e,"part",a)},d(s){s&&y(e)}}}function Ws(t){let e,r,n,i,a=t[14]("tournamentsTable.UnqualifiedTips")+"",s,o,l,u;return{c(){e=b("div"),r=b("div"),n=H(),i=b("em"),s=z(a),o=H(),c(r,"class","ExclamationMark"),c(r,"style",`background-image: url("${Wn}")`),c(i,"part","TableUserTooltipsEm"),c(e,"class",l="TableUserTooltips "+(t[68].Unqualified?"UnqualifiedRow":"")),c(e,"part",u="TableUserTooltips "+(t[68].Unqualified?"UnqualifiedRow":""))},m(f,d){C(f,e,d),m(e,r),m(e,n),m(e,i),m(i,s),m(e,o)},p(f,d){d[0]&16384&&a!==(a=f[14]("tournamentsTable.UnqualifiedTips")+"")&&W(s,a),d[0]&8192&&l!==(l="TableUserTooltips "+(f[68].Unqualified?"UnqualifiedRow":""))&&c(e,"class",l),d[0]&8192&&u!==(u="TableUserTooltips "+(f[68].Unqualified?"UnqualifiedRow":""))&&c(e,"part",u)},d(f){f&&y(e)}}}function Vs(t){let e,r,n,i,a,s,o=t[68].Player+"",l,u,f,d=t[68].Points+"",h,p,_,g,P,L;function E(M,A){return M[68].Rank<4&&M[2]=="true"?f1:c1}let w=E(t),v=w(t);function Y(M,A){return M[68].Prize?p1:m1}let D=Y(t),F=D(t),G=t[68].isCurrentUser&&t[68].Unqualified&&Ws(t);return{c(){e=b("div"),r=b("div"),v.c(),a=H(),s=b("div"),l=z(o),u=H(),f=b("div"),h=z(d),p=H(),F.c(),P=H(),G&&G.c(),L=de(),c(r,"class",n="TableCell TableRank "+(t[68].Prize?"Qualified":"")),c(r,"part",i="TableCell Rank-"+t[68].Rank+" TableRank "+(t[68].Prize?"Qualified":"")),c(s,"class","TableCell TablePlayer"),c(s,"part","TableCell TablePlayer"),c(f,"class","TableCell TablePoints"),c(f,"part","TableCell TablePoints"),c(e,"class",_="TableUser "+(t[68].isCurrentUser?"CurrentUserRow":"")),c(e,"part",g="TableUser "+(t[68].isCurrentUser?"CurrentUserRow":""))},m(M,A){C(M,e,A),m(e,r),v.m(r,null),m(e,a),m(e,s),m(s,l),m(e,u),m(e,f),m(f,h),m(e,p),F.m(e,null),C(M,P,A),G&&G.m(M,A),C(M,L,A)},p(M,A){w===(w=E(M))&&v?v.p(M,A):(v.d(1),v=w(M),v&&(v.c(),v.m(r,null))),A[0]&8192&&n!==(n="TableCell TableRank "+(M[68].Prize?"Qualified":""))&&c(r,"class",n),A[0]&8192&&i!==(i="TableCell Rank-"+M[68].Rank+" TableRank "+(M[68].Prize?"Qualified":""))&&c(r,"part",i),A[0]&8192&&o!==(o=M[68].Player+"")&&W(l,o),A[0]&8192&&d!==(d=M[68].Points+"")&&W(h,d),D===(D=Y(M))&&F?F.p(M,A):(F.d(1),F=D(M),F&&(F.c(),F.m(e,null))),A[0]&8192&&_!==(_="TableUser "+(M[68].isCurrentUser?"CurrentUserRow":""))&&c(e,"class",_),A[0]&8192&&g!==(g="TableUser "+(M[68].isCurrentUser?"CurrentUserRow":""))&&c(e,"part",g),M[68].isCurrentUser&&M[68].Unqualified?G?G.p(M,A):(G=Ws(M),G.c(),G.m(L.parentNode,L)):G&&(G.d(1),G=null)},d(M){M&&(y(e),y(P),y(L)),v.d(),F.d(),G&&G.d(M)}}}function g1(t){let e,r;function n(s,o){return!s[10]&&(s[3].length>0||s[5])?zc:(e==null&&(e=Gn(s[15])==!0),e?Fc:Ac)}let i=n(t),a=i(t);return{c(){a.c(),r=de()},m(s,o){a.m(s,o),C(s,r,o)},p(s,o){i===(i=n(s))&&a?a.p(s,o):(a.d(1),a=i(s),a&&(a.c(),a.m(r.parentNode,r)))},i:J,o:J,d(s){s&&y(r),a.d(s)}}}let b1=null;function _1(t,e,r){let n,i,a;wt(t,vt,k=>r(14,a=k));let{sortable:s=!1}=e,{firstrow:o=!0}=e,{lang:l="en"}=e,{scorefractiondigit:u="2"}=e,{session:f=""}=e,{userid:d=""}=e,{tourid:h=""}=e,{endpoint:p=""}=e,{tablelimit:_="30"}=e,{namemask:g=""}=e,{showunqualifiedplayer:P="true"}=e,{mobiletablelimit:L="15"}=e,{updatetableintime:E="true"}=e,{minscore:w=""}=e,{showrankasimage:v="true"}=e,{cellsetting:Y={firstrow:!0}}=e,D=[],F=[],G=null,M=null,A={},Pe=!0,ye=window.navigator.userAgent,De=!1,Ae=!1,Re,He,Ce,U=!1,Le,he={},$=!1,be,I,ie="",xe=!0,ne=2;const B=["Rank","Player","Points","Prize"],Xe=k=>({Rank:k.rank,Player:k.userID==ie?"me":k.shortName,Points:k.score.toLocaleString("en-US",{minimumFractionDigits:ne,maximumFractionDigits:ne}),Prize:k.prizeName,Unqualified:k.unqualified,BetCount:k.betCount,userID:k.userID}),we=()=>{f&&f.length>0&&f!="false"&&(ie=d),Re=null,r(10,xe=!1)},et=(k,te)=>te.find(ve=>ve.Rank==k);let Ge,St;const Et=k=>{if(!Re){Re=k;return}r(7,De=Re!=k),r(8,Ae=Re>k),De&&(Ge=new Date().getTime(),setTimeout(function(){St=new Date().getTime(),(St-Ge)/1e3>4&&r(7,De=!1),Re=k},5e3))},dr=k=>{if(k.data&&k.data.type==="CasinoTableData"&&(r(3,F=k.data.tableData),r(13,n=F)),k.data&&k.data.type==="CasinoTableColumns"&&(r(4,D=k.data.tableColumns),r(9,He=D.length||4)),k.data&&k.data.type==="CasinoTableCurrentUserData"&&F&&(F.forEach(te=>{te.userID==k.data.tableData.userID&&(te.isCurrentUser=!0,Re||(Re=k.data.tableData.Rank),A?(Et(k.data.tableData.Rank),r(5,A=null)):Et(k.data.tableData.Rank))}),r(13,n=F)),o&&k.data&&k.data.type==="CasinoTableFirstRowData"){let te=k.data.tableData;if(!A){r(5,A=k.data.tableData),Re=A.Rank;return}A&&A.UserID==te.UserID&&(Et(te.Rank),r(5,A=k.data.tableData))}if(k.data&&k.data.type==="CasinoTableDataUpdate"&&k.data.tableData){let te=k.data.tableData;if(!(F instanceof Array))return;F.forEach(function(re,ve){let Fe=et(re.Rank,te);Fe&&r(3,F[ve]=Fe,F)})}},Bt=k=>{const te=k===G,re=M==="ASC",ve=te&&!re;r(31,G=ve?null:k),r(32,M=ve?null:te&&re?"DESC":"ASC")},T=(k,te)=>{const re=te.toLowerCase();if(k==="string")return(ve,Fe)=>ve[re].localeCompare(Fe[re]);if(k==="number")return(ve,Fe)=>ve[re]-Fe[re];if(k==="object")return(ve,Fe)=>ve[re]-Fe[re]},N=()=>{let k=[];if(F&&(k=[...F]),!F.length)return F;const te=typeof F[0][G.toLowerCase()];return k.sort(T(te,G)),M==="ASC"?k:k.reverse()},q=()=>{r(6,Pe=!Pe)},O=k=>{$=!1;let te=[];return k&&k.length>0&&k.forEach(re=>{let ve=Xe(re);re.userID==ie&&(he=ve,$=!0),te.push(ve)}),te},ae=k=>ar(ar({},Xe(k)),k.unqualified===!0?{Rank:k.rank}:{}),Q=k=>{if(!(!k.data||k.type!="message"))try{let te=k.data,re=JSON.parse(te);if(!re||!re.items)return;let ve=O(re.items);window.postMessage({type:"CasinoTableData",tableData:ve},window.location.href),$=ve.filter(dt=>dt.userID=ie).length>0,U=re.item&&!$,U&&(r(5,A=ae(re.item)),A&&window.postMessage({type:"CasinoTableFirstRowData",tableData:A},window.location.href));let Fe=$?he.Rank:(A==null?void 0:A.Rank)||null;(Fe!=I||be!=re.items.length)&&(be=re.items.length,window.postMessage({type:`TournamentRankInfo_${h}`,rankInfo:{rank:Fe,overallRank:be,prize:$?he.Prize||"-":(A==null?void 0:A.Prize)||"-"}},window.location.href),I=Fe),$&&window.postMessage({type:"CasinoTableCurrentUserData",tableData:he},window.location.href)}catch(te){console.error(te)}},le=(k,te)=>{let re=`${p}/v1/tournaments/${k}/leaderboard/updates?HeartBeat=false&${te.toString()}`;Le&&(Le.removeEventListener("message",Q),Le.close()),Le=new $o.EventSourcePolyfill(re,{headers:{accept:"text/event-stream","X-SessionId":f}}),typeof Le!="undefined"&&Le.addEventListener("message",Q)},S=(k,te)=>{let re=new URL(k+`/v1/tournaments/${te}/leaderboard`),ve=new Headers;re.searchParams.append("language",l);let Fe=`includeUnqualifiedPlayer=${P}`;if(Fe=g?`${Fe},shortNameMask=${g}`:Fe,Fe=w?`${Fe},minscore=${w}`:Fe,re.searchParams.append("filter",Fe),f){let ht=Gn(ye)==!0?L:_;re.searchParams.append("pagination",`offset=0,limit=${ht}`),ve.append("X-SessionId",f)}re.searchParams.append("platform",Yn(ye));let dt={method:"GET",headers:ve};r(10,xe=!0),r(5,A=null),fetch(re,dt).then(ht=>ht.json()).then(ht=>{r(10,xe=!1),Ce=O(ht.items),ht.item&&!$&&(U=!0,r(5,A=ae(ht.item))),r(6,Pe=!0),I=$?he.Rank:A?A.Rank:0,be=ht.total,window.postMessage({type:"CasinoTableData",tableData:Ce},window.location.href),window.postMessage({type:"CasinoTableColumns",tableColumns:B},window.location.href),U&&window.postMessage({type:"CasinoTableFirstRowData",tableData:A},window.location.href),E==="true"&&le(te,re.searchParams),$&&window.postMessage({type:"CasinoTableCurrentUserData",tableData:he},window.location.href)})},X=()=>{S(p,h)};let ee=[],se=!1;er(()=>(r(11,ee=[Rn,Rn,el,tl]),r(0,o=Y?Y.firstrow:!0),we(),r(33,se=!0),window.addEventListener("message",dr),()=>{window.removeEventListener("message",dr)}));const Z=k=>Bt(k),ue=k=>Bt(k),Ue=()=>q(),Nt=k=>Bt(k);return t.$$set=k=>{"sortable"in k&&r(1,s=k.sortable),"firstrow"in k&&r(0,o=k.firstrow),"lang"in k&&r(18,l=k.lang),"scorefractiondigit"in k&&r(19,u=k.scorefractiondigit),"session"in k&&r(20,f=k.session),"userid"in k&&r(21,d=k.userid),"tourid"in k&&r(22,h=k.tourid),"endpoint"in k&&r(23,p=k.endpoint),"tablelimit"in k&&r(24,_=k.tablelimit),"namemask"in k&&r(25,g=k.namemask),"showunqualifiedplayer"in k&&r(26,P=k.showunqualifiedplayer),"mobiletablelimit"in k&&r(27,L=k.mobiletablelimit),"updatetableintime"in k&&r(28,E=k.updatetableintime),"minscore"in k&&r(29,w=k.minscore),"showrankasimage"in k&&r(2,v=k.showrankasimage),"cellsetting"in k&&r(30,Y=k.cellsetting)},t.$$.update=()=>{t.$$.dirty[0]&8|t.$$.dirty[1]&3&&r(13,n=G&&M?N():[...F]),t.$$.dirty[1]&3&&r(12,i=b1===G?M:null),t.$$.dirty[0]&524288&&(ne=Number(u)),t.$$.dirty[0]&1048576|t.$$.dirty[1]&4&&se&&f&&we(),t.$$.dirty[0]&91488256|t.$$.dirty[1]&4&&l&&d&&f&&h&&P&&_&&se&&X()},[o,s,v,F,D,A,Pe,De,Ae,He,xe,ee,i,n,a,ye,Bt,q,l,u,f,d,h,p,_,g,P,L,E,w,Y,G,M,se,Z,ue,Ue,Nt]}class Wi extends qe{constructor(e){super(),We(this,e,_1,g1,je,{sortable:1,firstrow:0,lang:18,scorefractiondigit:19,session:20,userid:21,tourid:22,endpoint:23,tablelimit:24,namemask:25,showunqualifiedplayer:26,mobiletablelimit:27,updatetableintime:28,minscore:29,showrankasimage:2,cellsetting:30},null,[-1,-1,-1])}get sortable(){return this.$$.ctx[1]}set sortable(e){this.$$set({sortable:e}),x()}get firstrow(){return this.$$.ctx[0]}set firstrow(e){this.$$set({firstrow:e}),x()}get lang(){return this.$$.ctx[18]}set lang(e){this.$$set({lang:e}),x()}get scorefractiondigit(){return this.$$.ctx[19]}set scorefractiondigit(e){this.$$set({scorefractiondigit:e}),x()}get session(){return this.$$.ctx[20]}set session(e){this.$$set({session:e}),x()}get userid(){return this.$$.ctx[21]}set userid(e){this.$$set({userid:e}),x()}get tourid(){return this.$$.ctx[22]}set tourid(e){this.$$set({tourid:e}),x()}get endpoint(){return this.$$.ctx[23]}set endpoint(e){this.$$set({endpoint:e}),x()}get tablelimit(){return this.$$.ctx[24]}set tablelimit(e){this.$$set({tablelimit:e}),x()}get namemask(){return this.$$.ctx[25]}set namemask(e){this.$$set({namemask:e}),x()}get showunqualifiedplayer(){return this.$$.ctx[26]}set showunqualifiedplayer(e){this.$$set({showunqualifiedplayer:e}),x()}get mobiletablelimit(){return this.$$.ctx[27]}set mobiletablelimit(e){this.$$set({mobiletablelimit:e}),x()}get updatetableintime(){return this.$$.ctx[28]}set updatetableintime(e){this.$$set({updatetableintime:e}),x()}get minscore(){return this.$$.ctx[29]}set minscore(e){this.$$set({minscore:e}),x()}get showrankasimage(){return this.$$.ctx[2]}set showrankasimage(e){this.$$set({showrankasimage:e}),x()}get cellsetting(){return this.$$.ctx[30]}set cellsetting(e){this.$$set({cellsetting:e}),x()}}customElements.define("leaderboard-router",Ve(Wi,{sortable:{type:"Boolean"},firstrow:{type:"Boolean"},lang:{},scorefractiondigit:{},session:{},userid:{},tourid:{},endpoint:{},tablelimit:{},namemask:{},showunqualifiedplayer:{},mobiletablelimit:{},updatetableintime:{},minscore:{},showrankasimage:{},cellsetting:{}},[],[],!0));function y1(t){_r(t,"svelte-1s8lo6e",".Title.Loading.svelte-1s8lo6e{width:100%;text-align:left}")}function C1(t){let e,r;return{c(){e=b("p"),r=z(t[0]),c(e,"class","Title"),c(e,"part","Title")},m(n,i){C(n,e,i),m(e,r)},p(n,i){i&1&&W(r,n[0])},d(n){n&&y(e)}}}function w1(t){let e;return{c(){e=b("p"),e.innerHTML='<ui-skeleton structure="text" width="200px" height="25px"></ui-skeleton>',c(e,"class","Title Loading svelte-1s8lo6e"),c(e,"part","Title")},m(r,n){C(r,e,n)},p:J,d(r){r&&y(e)}}}function v1(t){let e;function r(a,s){return a[1]?w1:C1}let n=r(t),i=n(t);return{c(){i.c(),e=de()},m(a,s){i.m(a,s),C(a,e,s)},p(a,[s]){n===(n=r(a))&&i?i.p(a,s):(i.d(1),i=n(a),i&&(i.c(),i.m(e.parentNode,e)))},i:J,o:J,d(a){a&&y(e),i.d(a)}}}function T1(t,e,r){let{lang:n="en"}=e,{title:i=""}=e,{isloading:a=!0}=e;rr({fallbackLocale:"en",initialLocale:"en"});const s=()=>{bt(n)};return t.$$set=o=>{"lang"in o&&r(2,n=o.lang),"title"in o&&r(0,i=o.title),"isloading"in o&&r(1,a=o.isloading)},t.$$.update=()=>{t.$$.dirty&4&&n&&s()},[i,a,n]}class Vi extends qe{constructor(e){super(),We(this,e,T1,v1,je,{lang:2,title:0,isloading:1},y1)}get lang(){return this.$$.ctx[2]}set lang(e){this.$$set({lang:e}),x()}get title(){return this.$$.ctx[0]}set title(e){this.$$set({title:e}),x()}get isloading(){return this.$$.ctx[1]}set isloading(e){this.$$set({isloading:e}),x()}}customElements.define("title-line",Ve(Vi,{lang:{},title:{},isloading:{type:"Boolean"}},[],[],!0));function k1(t){throw new Error('Could not dynamically require "'+t+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}//! moment.js
29
+ //! version : 2.29.4
30
+ //! authors : Tim Wood, Iskren Chernev, Moment.js contributors
31
+ //! license : MIT
32
+ //! momentjs.com
33
+ var il;function j(){return il.apply(null,arguments)}function S1(t){il=t}function xt(t){return t instanceof Array||Object.prototype.toString.call(t)==="[object Array]"}function br(t){return t!=null&&Object.prototype.toString.call(t)==="[object Object]"}function ke(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function oa(t){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(t).length===0;var e;for(e in t)if(ke(t,e))return!1;return!0}function ct(t){return t===void 0}function Qt(t){return typeof t=="number"||Object.prototype.toString.call(t)==="[object Number]"}function cn(t){return t instanceof Date||Object.prototype.toString.call(t)==="[object Date]"}function al(t,e){var r=[],n,i=t.length;for(n=0;n<i;++n)r.push(e(t[n],n));return r}function or(t,e){for(var r in e)ke(e,r)&&(t[r]=e[r]);return ke(e,"toString")&&(t.toString=e.toString),ke(e,"valueOf")&&(t.valueOf=e.valueOf),t}function zt(t,e,r,n){return Ll(t,e,r,n,!0).utc()}function P1(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function ce(t){return t._pf==null&&(t._pf=P1()),t._pf}var qi;Array.prototype.some?qi=Array.prototype.some:qi=function(t){var e=Object(this),r=e.length>>>0,n;for(n=0;n<r;n++)if(n in e&&t.call(this,e[n],n,e))return!0;return!1};function la(t){if(t._isValid==null){var e=ce(t),r=qi.call(e.parsedDateParts,function(i){return i!=null}),n=!isNaN(t._d.getTime())&&e.overflow<0&&!e.empty&&!e.invalidEra&&!e.invalidMonth&&!e.invalidWeekday&&!e.weekdayMismatch&&!e.nullInput&&!e.invalidFormat&&!e.userInvalidated&&(!e.meridiem||e.meridiem&&r);if(t._strict&&(n=n&&e.charsLeftOver===0&&e.unusedTokens.length===0&&e.bigHour===void 0),Object.isFrozen==null||!Object.isFrozen(t))t._isValid=n;else return n}return t._isValid}function Vn(t){var e=zt(NaN);return t!=null?or(ce(e),t):ce(e).userInvalidated=!0,e}var qs=j.momentProperties=[],pi=!1;function ua(t,e){var r,n,i,a=qs.length;if(ct(e._isAMomentObject)||(t._isAMomentObject=e._isAMomentObject),ct(e._i)||(t._i=e._i),ct(e._f)||(t._f=e._f),ct(e._l)||(t._l=e._l),ct(e._strict)||(t._strict=e._strict),ct(e._tzm)||(t._tzm=e._tzm),ct(e._isUTC)||(t._isUTC=e._isUTC),ct(e._offset)||(t._offset=e._offset),ct(e._pf)||(t._pf=ce(e)),ct(e._locale)||(t._locale=e._locale),a>0)for(r=0;r<a;r++)n=qs[r],i=e[n],ct(i)||(t[n]=i);return t}function fn(t){ua(this,t),this._d=new Date(t._d!=null?t._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),pi===!1&&(pi=!0,j.updateOffset(this),pi=!1)}function Dt(t){return t instanceof fn||t!=null&&t._isAMomentObject!=null}function sl(t){j.suppressDeprecationWarnings===!1&&typeof console!="undefined"&&console.warn&&console.warn("Deprecation warning: "+t)}function Tt(t,e){var r=!0;return or(function(){if(j.deprecationHandler!=null&&j.deprecationHandler(null,t),r){var n=[],i,a,s,o=arguments.length;for(a=0;a<o;a++){if(i="",typeof arguments[a]=="object"){i+=`
34
+ [`+a+"] ";for(s in arguments[0])ke(arguments[0],s)&&(i+=s+": "+arguments[0][s]+", ");i=i.slice(0,-2)}else i=arguments[a];n.push(i)}sl(t+`
35
+ Arguments: `+Array.prototype.slice.call(n).join("")+`
36
+ `+new Error().stack),r=!1}return e.apply(this,arguments)},e)}var Js={};function ol(t,e){j.deprecationHandler!=null&&j.deprecationHandler(t,e),Js[t]||(sl(e),Js[t]=!0)}j.suppressDeprecationWarnings=!1;j.deprecationHandler=null;function Ot(t){return typeof Function!="undefined"&&t instanceof Function||Object.prototype.toString.call(t)==="[object Function]"}function x1(t){var e,r;for(r in t)ke(t,r)&&(e=t[r],Ot(e)?this[r]=e:this["_"+r]=e);this._config=t,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function Ji(t,e){var r=or({},t),n;for(n in e)ke(e,n)&&(br(t[n])&&br(e[n])?(r[n]={},or(r[n],t[n]),or(r[n],e[n])):e[n]!=null?r[n]=e[n]:delete r[n]);for(n in t)ke(t,n)&&!ke(e,n)&&br(t[n])&&(r[n]=or({},r[n]));return r}function ca(t){t!=null&&this.set(t)}var Zi;Object.keys?Zi=Object.keys:Zi=function(t){var e,r=[];for(e in t)ke(t,e)&&r.push(e);return r};var D1={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function L1(t,e,r){var n=this._calendar[t]||this._calendar.sameElse;return Ot(n)?n.call(e,r):n}function At(t,e,r){var n=""+Math.abs(t),i=e-n.length,a=t>=0;return(a?r?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+n}var fa=/(\[[^\[]*\])|(\\)?([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,_n=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,gi={},Lr={};function K(t,e,r,n){var i=n;typeof n=="string"&&(i=function(){return this[n]()}),t&&(Lr[t]=i),e&&(Lr[e[0]]=function(){return At(i.apply(this,arguments),e[1],e[2])}),r&&(Lr[r]=function(){return this.localeData().ordinal(i.apply(this,arguments),t)})}function E1(t){return t.match(/\[[\s\S]/)?t.replace(/^\[|\]$/g,""):t.replace(/\\/g,"")}function M1(t){var e=t.match(fa),r,n;for(r=0,n=e.length;r<n;r++)Lr[e[r]]?e[r]=Lr[e[r]]:e[r]=E1(e[r]);return function(i){var a="",s;for(s=0;s<n;s++)a+=Ot(e[s])?e[s].call(i,t):e[s];return a}}function Sn(t,e){return t.isValid()?(e=ll(e,t.localeData()),gi[e]=gi[e]||M1(e),gi[e](t)):t.localeData().invalidDate()}function ll(t,e){var r=5;function n(i){return e.longDateFormat(i)||i}for(_n.lastIndex=0;r>=0&&_n.test(t);)t=t.replace(_n,n),_n.lastIndex=0,r-=1;return t}var R1={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 A1(t){var e=this._longDateFormat[t],r=this._longDateFormat[t.toUpperCase()];return e||!r?e:(this._longDateFormat[t]=r.match(fa).map(function(n){return n==="MMMM"||n==="MM"||n==="DD"||n==="dddd"?n.slice(1):n}).join(""),this._longDateFormat[t])}var F1="Invalid date";function z1(){return this._invalidDate}var O1="%d",B1=/\d{1,2}/;function N1(t){return this._ordinal.replace("%d",t)}var H1={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 U1(t,e,r,n){var i=this._relativeTime[r];return Ot(i)?i(t,e,r,n):i.replace(/%d/i,t)}function I1(t,e){var r=this._relativeTime[t>0?"future":"past"];return Ot(r)?r(e):r.replace(/%s/i,e)}var $r={};function nt(t,e){var r=t.toLowerCase();$r[r]=$r[r+"s"]=$r[e]=t}function kt(t){return typeof t=="string"?$r[t]||$r[t.toLowerCase()]:void 0}function da(t){var e={},r,n;for(n in t)ke(t,n)&&(r=kt(n),r&&(e[r]=t[n]));return e}var ul={};function it(t,e){ul[t]=e}function j1(t){var e=[],r;for(r in t)ke(t,r)&&e.push({unit:r,priority:ul[r]});return e.sort(function(n,i){return n.priority-i.priority}),e}function qn(t){return t%4===0&&t%100!==0||t%400===0}function Ct(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function fe(t){var e=+t,r=0;return e!==0&&isFinite(e)&&(r=Ct(e)),r}function jr(t,e){return function(r){return r!=null?(cl(this,t,r),j.updateOffset(this,e),this):An(this,t)}}function An(t,e){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+e]():NaN}function cl(t,e,r){t.isValid()&&!isNaN(r)&&(e==="FullYear"&&qn(t.year())&&t.month()===1&&t.date()===29?(r=fe(r),t._d["set"+(t._isUTC?"UTC":"")+e](r,t.month(),$n(r,t.month()))):t._d["set"+(t._isUTC?"UTC":"")+e](r))}function G1(t){return t=kt(t),Ot(this[t])?this[t]():this}function Y1(t,e){if(typeof t=="object"){t=da(t);var r=j1(t),n,i=r.length;for(n=0;n<i;n++)this[r[n].unit](t[r[n].unit])}else if(t=kt(t),Ot(this[t]))return this[t](e);return this}var fl=/\d/,_t=/\d\d/,dl=/\d{3}/,ha=/\d{4}/,Jn=/[+-]?\d{6}/,Oe=/\d\d?/,hl=/\d\d\d\d?/,ml=/\d\d\d\d\d\d?/,Zn=/\d{1,3}/,ma=/\d{1,4}/,Xn=/[+-]?\d{1,6}/,Gr=/\d+/,Qn=/[+-]?\d+/,W1=/Z|[+-]\d\d:?\d\d/gi,Kn=/Z|[+-]\d\d(?::?\d\d)?/gi,V1=/[+-]?\d+(\.\d{1,3})?/,dn=/[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,Fn;Fn={};function V(t,e,r){Fn[t]=Ot(e)?e:function(n,i){return n&&r?r:e}}function q1(t,e){return ke(Fn,t)?Fn[t](e._strict,e._locale):new RegExp(J1(t))}function J1(t){return gt(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,r,n,i,a){return r||n||i||a}))}function gt(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var Xi={};function Me(t,e){var r,n=e,i;for(typeof t=="string"&&(t=[t]),Qt(e)&&(n=function(a,s){s[e]=fe(a)}),i=t.length,r=0;r<i;r++)Xi[t[r]]=n}function hn(t,e){Me(t,function(r,n,i,a){i._w=i._w||{},e(r,i._w,i,a)})}function Z1(t,e,r){e!=null&&ke(Xi,t)&&Xi[t](e,r._a,r,t)}var rt=0,Gt=1,Mt=2,Ze=3,Pt=4,Yt=5,gr=6,X1=7,Q1=8;function K1(t,e){return(t%e+e)%e}var Ie;Array.prototype.indexOf?Ie=Array.prototype.indexOf:Ie=function(t){var e;for(e=0;e<this.length;++e)if(this[e]===t)return e;return-1};function $n(t,e){if(isNaN(t)||isNaN(e))return NaN;var r=K1(e,12);return t+=(e-r)/12,r===1?qn(t)?29:28:31-r%7%2}K("M",["MM",2],"Mo",function(){return this.month()+1});K("MMM",0,0,function(t){return this.localeData().monthsShort(this,t)});K("MMMM",0,0,function(t){return this.localeData().months(this,t)});nt("month","M");it("month",8);V("M",Oe);V("MM",Oe,_t);V("MMM",function(t,e){return e.monthsShortRegex(t)});V("MMMM",function(t,e){return e.monthsRegex(t)});Me(["M","MM"],function(t,e){e[Gt]=fe(t)-1});Me(["MMM","MMMM"],function(t,e,r,n){var i=r._locale.monthsParse(t,n,r._strict);i!=null?e[Gt]=i:ce(r).invalidMonth=t});var $1="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),pl="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),gl=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,ef=dn,tf=dn;function rf(t,e){return t?xt(this._months)?this._months[t.month()]:this._months[(this._months.isFormat||gl).test(e)?"format":"standalone"][t.month()]:xt(this._months)?this._months:this._months.standalone}function nf(t,e){return t?xt(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[gl.test(e)?"format":"standalone"][t.month()]:xt(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function af(t,e,r){var n,i,a,s=t.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],n=0;n<12;++n)a=zt([2e3,n]),this._shortMonthsParse[n]=this.monthsShort(a,"").toLocaleLowerCase(),this._longMonthsParse[n]=this.months(a,"").toLocaleLowerCase();return r?e==="MMM"?(i=Ie.call(this._shortMonthsParse,s),i!==-1?i:null):(i=Ie.call(this._longMonthsParse,s),i!==-1?i:null):e==="MMM"?(i=Ie.call(this._shortMonthsParse,s),i!==-1?i:(i=Ie.call(this._longMonthsParse,s),i!==-1?i:null)):(i=Ie.call(this._longMonthsParse,s),i!==-1?i:(i=Ie.call(this._shortMonthsParse,s),i!==-1?i:null))}function sf(t,e,r){var n,i,a;if(this._monthsParseExact)return af.call(this,t,e,r);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),n=0;n<12;n++){if(i=zt([2e3,n]),r&&!this._longMonthsParse[n]&&(this._longMonthsParse[n]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[n]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),!r&&!this._monthsParse[n]&&(a="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[n]=new RegExp(a.replace(".",""),"i")),r&&e==="MMMM"&&this._longMonthsParse[n].test(t))return n;if(r&&e==="MMM"&&this._shortMonthsParse[n].test(t))return n;if(!r&&this._monthsParse[n].test(t))return n}}function bl(t,e){var r;if(!t.isValid())return t;if(typeof e=="string"){if(/^\d+$/.test(e))e=fe(e);else if(e=t.localeData().monthsParse(e),!Qt(e))return t}return r=Math.min(t.date(),$n(t.year(),e)),t._d["set"+(t._isUTC?"UTC":"")+"Month"](e,r),t}function _l(t){return t!=null?(bl(this,t),j.updateOffset(this,!0),this):An(this,"Month")}function of(){return $n(this.year(),this.month())}function lf(t){return this._monthsParseExact?(ke(this,"_monthsRegex")||yl.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(ke(this,"_monthsShortRegex")||(this._monthsShortRegex=ef),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)}function uf(t){return this._monthsParseExact?(ke(this,"_monthsRegex")||yl.call(this),t?this._monthsStrictRegex:this._monthsRegex):(ke(this,"_monthsRegex")||(this._monthsRegex=tf),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)}function yl(){function t(s,o){return o.length-s.length}var e=[],r=[],n=[],i,a;for(i=0;i<12;i++)a=zt([2e3,i]),e.push(this.monthsShort(a,"")),r.push(this.months(a,"")),n.push(this.months(a,"")),n.push(this.monthsShort(a,""));for(e.sort(t),r.sort(t),n.sort(t),i=0;i<12;i++)e[i]=gt(e[i]),r[i]=gt(r[i]);for(i=0;i<24;i++)n[i]=gt(n[i]);this._monthsRegex=new RegExp("^("+n.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+e.join("|")+")","i")}K("Y",0,0,function(){var t=this.year();return t<=9999?At(t,4):"+"+t});K(0,["YY",2],0,function(){return this.year()%100});K(0,["YYYY",4],0,"year");K(0,["YYYYY",5],0,"year");K(0,["YYYYYY",6,!0],0,"year");nt("year","y");it("year",1);V("Y",Qn);V("YY",Oe,_t);V("YYYY",ma,ha);V("YYYYY",Xn,Jn);V("YYYYYY",Xn,Jn);Me(["YYYYY","YYYYYY"],rt);Me("YYYY",function(t,e){e[rt]=t.length===2?j.parseTwoDigitYear(t):fe(t)});Me("YY",function(t,e){e[rt]=j.parseTwoDigitYear(t)});Me("Y",function(t,e){e[rt]=parseInt(t,10)});function en(t){return qn(t)?366:365}j.parseTwoDigitYear=function(t){return fe(t)+(fe(t)>68?1900:2e3)};var Cl=jr("FullYear",!0);function cf(){return qn(this.year())}function ff(t,e,r,n,i,a,s){var o;return t<100&&t>=0?(o=new Date(t+400,e,r,n,i,a,s),isFinite(o.getFullYear())&&o.setFullYear(t)):o=new Date(t,e,r,n,i,a,s),o}function sn(t){var e,r;return t<100&&t>=0?(r=Array.prototype.slice.call(arguments),r[0]=t+400,e=new Date(Date.UTC.apply(null,r)),isFinite(e.getUTCFullYear())&&e.setUTCFullYear(t)):e=new Date(Date.UTC.apply(null,arguments)),e}function zn(t,e,r){var n=7+e-r,i=(7+sn(t,0,n).getUTCDay()-e)%7;return-i+n-1}function wl(t,e,r,n,i){var a=(7+r-n)%7,s=zn(t,n,i),o=1+7*(e-1)+a+s,l,u;return o<=0?(l=t-1,u=en(l)+o):o>en(t)?(l=t+1,u=o-en(t)):(l=t,u=o),{year:l,dayOfYear:u}}function on(t,e,r){var n=zn(t.year(),e,r),i=Math.floor((t.dayOfYear()-n-1)/7)+1,a,s;return i<1?(s=t.year()-1,a=i+Vt(s,e,r)):i>Vt(t.year(),e,r)?(a=i-Vt(t.year(),e,r),s=t.year()+1):(s=t.year(),a=i),{week:a,year:s}}function Vt(t,e,r){var n=zn(t,e,r),i=zn(t+1,e,r);return(en(t)-n+i)/7}K("w",["ww",2],"wo","week");K("W",["WW",2],"Wo","isoWeek");nt("week","w");nt("isoWeek","W");it("week",5);it("isoWeek",5);V("w",Oe);V("ww",Oe,_t);V("W",Oe);V("WW",Oe,_t);hn(["w","ww","W","WW"],function(t,e,r,n){e[n.substr(0,1)]=fe(t)});function df(t){return on(t,this._week.dow,this._week.doy).week}var hf={dow:0,doy:6};function mf(){return this._week.dow}function pf(){return this._week.doy}function gf(t){var e=this.localeData().week(this);return t==null?e:this.add((t-e)*7,"d")}function bf(t){var e=on(this,1,4).week;return t==null?e:this.add((t-e)*7,"d")}K("d",0,"do","day");K("dd",0,0,function(t){return this.localeData().weekdaysMin(this,t)});K("ddd",0,0,function(t){return this.localeData().weekdaysShort(this,t)});K("dddd",0,0,function(t){return this.localeData().weekdays(this,t)});K("e",0,0,"weekday");K("E",0,0,"isoWeekday");nt("day","d");nt("weekday","e");nt("isoWeekday","E");it("day",11);it("weekday",11);it("isoWeekday",11);V("d",Oe);V("e",Oe);V("E",Oe);V("dd",function(t,e){return e.weekdaysMinRegex(t)});V("ddd",function(t,e){return e.weekdaysShortRegex(t)});V("dddd",function(t,e){return e.weekdaysRegex(t)});hn(["dd","ddd","dddd"],function(t,e,r,n){var i=r._locale.weekdaysParse(t,n,r._strict);i!=null?e.d=i:ce(r).invalidWeekday=t});hn(["d","e","E"],function(t,e,r,n){e[n]=fe(t)});function _f(t,e){return typeof t!="string"?t:isNaN(t)?(t=e.weekdaysParse(t),typeof t=="number"?t:null):parseInt(t,10)}function yf(t,e){return typeof t=="string"?e.weekdaysParse(t)%7||7:isNaN(t)?null:t}function pa(t,e){return t.slice(e,7).concat(t.slice(0,e))}var Cf="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),vl="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),wf="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),vf=dn,Tf=dn,kf=dn;function Sf(t,e){var r=xt(this._weekdays)?this._weekdays:this._weekdays[t&&t!==!0&&this._weekdays.isFormat.test(e)?"format":"standalone"];return t===!0?pa(r,this._week.dow):t?r[t.day()]:r}function Pf(t){return t===!0?pa(this._weekdaysShort,this._week.dow):t?this._weekdaysShort[t.day()]:this._weekdaysShort}function xf(t){return t===!0?pa(this._weekdaysMin,this._week.dow):t?this._weekdaysMin[t.day()]:this._weekdaysMin}function Df(t,e,r){var n,i,a,s=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],n=0;n<7;++n)a=zt([2e3,1]).day(n),this._minWeekdaysParse[n]=this.weekdaysMin(a,"").toLocaleLowerCase(),this._shortWeekdaysParse[n]=this.weekdaysShort(a,"").toLocaleLowerCase(),this._weekdaysParse[n]=this.weekdays(a,"").toLocaleLowerCase();return r?e==="dddd"?(i=Ie.call(this._weekdaysParse,s),i!==-1?i:null):e==="ddd"?(i=Ie.call(this._shortWeekdaysParse,s),i!==-1?i:null):(i=Ie.call(this._minWeekdaysParse,s),i!==-1?i:null):e==="dddd"?(i=Ie.call(this._weekdaysParse,s),i!==-1||(i=Ie.call(this._shortWeekdaysParse,s),i!==-1)?i:(i=Ie.call(this._minWeekdaysParse,s),i!==-1?i:null)):e==="ddd"?(i=Ie.call(this._shortWeekdaysParse,s),i!==-1||(i=Ie.call(this._weekdaysParse,s),i!==-1)?i:(i=Ie.call(this._minWeekdaysParse,s),i!==-1?i:null)):(i=Ie.call(this._minWeekdaysParse,s),i!==-1||(i=Ie.call(this._weekdaysParse,s),i!==-1)?i:(i=Ie.call(this._shortWeekdaysParse,s),i!==-1?i:null))}function Lf(t,e,r){var n,i,a;if(this._weekdaysParseExact)return Df.call(this,t,e,r);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),n=0;n<7;n++){if(i=zt([2e3,1]).day(n),r&&!this._fullWeekdaysParse[n]&&(this._fullWeekdaysParse[n]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[n]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[n]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[n]||(a="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[n]=new RegExp(a.replace(".",""),"i")),r&&e==="dddd"&&this._fullWeekdaysParse[n].test(t))return n;if(r&&e==="ddd"&&this._shortWeekdaysParse[n].test(t))return n;if(r&&e==="dd"&&this._minWeekdaysParse[n].test(t))return n;if(!r&&this._weekdaysParse[n].test(t))return n}}function Ef(t){if(!this.isValid())return t!=null?this:NaN;var e=this._isUTC?this._d.getUTCDay():this._d.getDay();return t!=null?(t=_f(t,this.localeData()),this.add(t-e,"d")):e}function Mf(t){if(!this.isValid())return t!=null?this:NaN;var e=(this.day()+7-this.localeData()._week.dow)%7;return t==null?e:this.add(t-e,"d")}function Rf(t){if(!this.isValid())return t!=null?this:NaN;if(t!=null){var e=yf(t,this.localeData());return this.day(this.day()%7?e:e-7)}else return this.day()||7}function Af(t){return this._weekdaysParseExact?(ke(this,"_weekdaysRegex")||ga.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(ke(this,"_weekdaysRegex")||(this._weekdaysRegex=vf),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)}function Ff(t){return this._weekdaysParseExact?(ke(this,"_weekdaysRegex")||ga.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(ke(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Tf),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function zf(t){return this._weekdaysParseExact?(ke(this,"_weekdaysRegex")||ga.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(ke(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=kf),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function ga(){function t(f,d){return d.length-f.length}var e=[],r=[],n=[],i=[],a,s,o,l,u;for(a=0;a<7;a++)s=zt([2e3,1]).day(a),o=gt(this.weekdaysMin(s,"")),l=gt(this.weekdaysShort(s,"")),u=gt(this.weekdays(s,"")),e.push(o),r.push(l),n.push(u),i.push(o),i.push(l),i.push(u);e.sort(t),r.sort(t),n.sort(t),i.sort(t),this._weekdaysRegex=new RegExp("^("+i.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+n.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+e.join("|")+")","i")}function ba(){return this.hours()%12||12}function Of(){return this.hours()||24}K("H",["HH",2],0,"hour");K("h",["hh",2],0,ba);K("k",["kk",2],0,Of);K("hmm",0,0,function(){return""+ba.apply(this)+At(this.minutes(),2)});K("hmmss",0,0,function(){return""+ba.apply(this)+At(this.minutes(),2)+At(this.seconds(),2)});K("Hmm",0,0,function(){return""+this.hours()+At(this.minutes(),2)});K("Hmmss",0,0,function(){return""+this.hours()+At(this.minutes(),2)+At(this.seconds(),2)});function Tl(t,e){K(t,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)})}Tl("a",!0);Tl("A",!1);nt("hour","h");it("hour",13);function kl(t,e){return e._meridiemParse}V("a",kl);V("A",kl);V("H",Oe);V("h",Oe);V("k",Oe);V("HH",Oe,_t);V("hh",Oe,_t);V("kk",Oe,_t);V("hmm",hl);V("hmmss",ml);V("Hmm",hl);V("Hmmss",ml);Me(["H","HH"],Ze);Me(["k","kk"],function(t,e,r){var n=fe(t);e[Ze]=n===24?0:n});Me(["a","A"],function(t,e,r){r._isPm=r._locale.isPM(t),r._meridiem=t});Me(["h","hh"],function(t,e,r){e[Ze]=fe(t),ce(r).bigHour=!0});Me("hmm",function(t,e,r){var n=t.length-2;e[Ze]=fe(t.substr(0,n)),e[Pt]=fe(t.substr(n)),ce(r).bigHour=!0});Me("hmmss",function(t,e,r){var n=t.length-4,i=t.length-2;e[Ze]=fe(t.substr(0,n)),e[Pt]=fe(t.substr(n,2)),e[Yt]=fe(t.substr(i)),ce(r).bigHour=!0});Me("Hmm",function(t,e,r){var n=t.length-2;e[Ze]=fe(t.substr(0,n)),e[Pt]=fe(t.substr(n))});Me("Hmmss",function(t,e,r){var n=t.length-4,i=t.length-2;e[Ze]=fe(t.substr(0,n)),e[Pt]=fe(t.substr(n,2)),e[Yt]=fe(t.substr(i))});function Bf(t){return(t+"").toLowerCase().charAt(0)==="p"}var Nf=/[ap]\.?m?\.?/i,Hf=jr("Hours",!0);function Uf(t,e,r){return t>11?r?"pm":"PM":r?"am":"AM"}var Sl={calendar:D1,longDateFormat:R1,invalidDate:F1,ordinal:O1,dayOfMonthOrdinalParse:B1,relativeTime:H1,months:$1,monthsShort:pl,week:hf,weekdays:Cf,weekdaysMin:wf,weekdaysShort:vl,meridiemParse:Nf},Ne={},qr={},ln;function If(t,e){var r,n=Math.min(t.length,e.length);for(r=0;r<n;r+=1)if(t[r]!==e[r])return r;return n}function Zs(t){return t&&t.toLowerCase().replace("_","-")}function jf(t){for(var e=0,r,n,i,a;e<t.length;){for(a=Zs(t[e]).split("-"),r=a.length,n=Zs(t[e+1]),n=n?n.split("-"):null;r>0;){if(i=ei(a.slice(0,r).join("-")),i)return i;if(n&&n.length>=r&&If(a,n)>=r-1)break;r--}e++}return ln}function Gf(t){return t.match("^[^/\\\\]*$")!=null}function ei(t){var e=null,r;if(Ne[t]===void 0&&typeof module!="undefined"&&module&&module.exports&&Gf(t))try{e=ln._abbr,r=k1,r("./locale/"+t),ur(e)}catch(n){Ne[t]=null}return Ne[t]}function ur(t,e){var r;return t&&(ct(e)?r=nr(t):r=_a(t,e),r?ln=r:typeof console!="undefined"&&console.warn&&console.warn("Locale "+t+" not found. Did you forget to load it?")),ln._abbr}function _a(t,e){if(e!==null){var r,n=Sl;if(e.abbr=t,Ne[t]!=null)ol("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),n=Ne[t]._config;else if(e.parentLocale!=null)if(Ne[e.parentLocale]!=null)n=Ne[e.parentLocale]._config;else if(r=ei(e.parentLocale),r!=null)n=r._config;else return qr[e.parentLocale]||(qr[e.parentLocale]=[]),qr[e.parentLocale].push({name:t,config:e}),null;return Ne[t]=new ca(Ji(n,e)),qr[t]&&qr[t].forEach(function(i){_a(i.name,i.config)}),ur(t),Ne[t]}else return delete Ne[t],null}function Yf(t,e){if(e!=null){var r,n,i=Sl;Ne[t]!=null&&Ne[t].parentLocale!=null?Ne[t].set(Ji(Ne[t]._config,e)):(n=ei(t),n!=null&&(i=n._config),e=Ji(i,e),n==null&&(e.abbr=t),r=new ca(e),r.parentLocale=Ne[t],Ne[t]=r),ur(t)}else Ne[t]!=null&&(Ne[t].parentLocale!=null?(Ne[t]=Ne[t].parentLocale,t===ur()&&ur(t)):Ne[t]!=null&&delete Ne[t]);return Ne[t]}function nr(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return ln;if(!xt(t)){if(e=ei(t),e)return e;t=[t]}return jf(t)}function Wf(){return Zi(Ne)}function ya(t){var e,r=t._a;return r&&ce(t).overflow===-2&&(e=r[Gt]<0||r[Gt]>11?Gt:r[Mt]<1||r[Mt]>$n(r[rt],r[Gt])?Mt:r[Ze]<0||r[Ze]>24||r[Ze]===24&&(r[Pt]!==0||r[Yt]!==0||r[gr]!==0)?Ze:r[Pt]<0||r[Pt]>59?Pt:r[Yt]<0||r[Yt]>59?Yt:r[gr]<0||r[gr]>999?gr:-1,ce(t)._overflowDayOfYear&&(e<rt||e>Mt)&&(e=Mt),ce(t)._overflowWeeks&&e===-1&&(e=X1),ce(t)._overflowWeekday&&e===-1&&(e=Q1),ce(t).overflow=e),t}var Vf=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,qf=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Jf=/Z|[+-]\d\d(?::?\d\d)?/,yn=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],bi=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],Zf=/^\/?Date\((-?\d+)/i,Xf=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,Qf={UT:0,GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function Pl(t){var e,r,n=t._i,i=Vf.exec(n)||qf.exec(n),a,s,o,l,u=yn.length,f=bi.length;if(i){for(ce(t).iso=!0,e=0,r=u;e<r;e++)if(yn[e][1].exec(i[1])){s=yn[e][0],a=yn[e][2]!==!1;break}if(s==null){t._isValid=!1;return}if(i[3]){for(e=0,r=f;e<r;e++)if(bi[e][1].exec(i[3])){o=(i[2]||" ")+bi[e][0];break}if(o==null){t._isValid=!1;return}}if(!a&&o!=null){t._isValid=!1;return}if(i[4])if(Jf.exec(i[4]))l="Z";else{t._isValid=!1;return}t._f=s+(o||"")+(l||""),wa(t)}else t._isValid=!1}function Kf(t,e,r,n,i,a){var s=[$f(t),pl.indexOf(e),parseInt(r,10),parseInt(n,10),parseInt(i,10)];return a&&s.push(parseInt(a,10)),s}function $f(t){var e=parseInt(t,10);return e<=49?2e3+e:e<=999?1900+e:e}function ed(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function td(t,e,r){if(t){var n=vl.indexOf(t),i=new Date(e[0],e[1],e[2]).getDay();if(n!==i)return ce(r).weekdayMismatch=!0,r._isValid=!1,!1}return!0}function rd(t,e,r){if(t)return Qf[t];if(e)return 0;var n=parseInt(r,10),i=n%100,a=(n-i)/100;return a*60+i}function xl(t){var e=Xf.exec(ed(t._i)),r;if(e){if(r=Kf(e[4],e[3],e[2],e[5],e[6],e[7]),!td(e[1],r,t))return;t._a=r,t._tzm=rd(e[8],e[9],e[10]),t._d=sn.apply(null,t._a),t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),ce(t).rfc2822=!0}else t._isValid=!1}function nd(t){var e=Zf.exec(t._i);if(e!==null){t._d=new Date(+e[1]);return}if(Pl(t),t._isValid===!1)delete t._isValid;else return;if(xl(t),t._isValid===!1)delete t._isValid;else return;t._strict?t._isValid=!1:j.createFromInputFallback(t)}j.createFromInputFallback=Tt("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(t){t._d=new Date(t._i+(t._useUTC?" UTC":""))});function Sr(t,e,r){return t!=null?t:e!=null?e:r}function id(t){var e=new Date(j.now());return t._useUTC?[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()]:[e.getFullYear(),e.getMonth(),e.getDate()]}function Ca(t){var e,r,n=[],i,a,s;if(!t._d){for(i=id(t),t._w&&t._a[Mt]==null&&t._a[Gt]==null&&ad(t),t._dayOfYear!=null&&(s=Sr(t._a[rt],i[rt]),(t._dayOfYear>en(s)||t._dayOfYear===0)&&(ce(t)._overflowDayOfYear=!0),r=sn(s,0,t._dayOfYear),t._a[Gt]=r.getUTCMonth(),t._a[Mt]=r.getUTCDate()),e=0;e<3&&t._a[e]==null;++e)t._a[e]=n[e]=i[e];for(;e<7;e++)t._a[e]=n[e]=t._a[e]==null?e===2?1:0:t._a[e];t._a[Ze]===24&&t._a[Pt]===0&&t._a[Yt]===0&&t._a[gr]===0&&(t._nextDay=!0,t._a[Ze]=0),t._d=(t._useUTC?sn:ff).apply(null,n),a=t._useUTC?t._d.getUTCDay():t._d.getDay(),t._tzm!=null&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[Ze]=24),t._w&&typeof t._w.d!="undefined"&&t._w.d!==a&&(ce(t).weekdayMismatch=!0)}}function ad(t){var e,r,n,i,a,s,o,l,u;e=t._w,e.GG!=null||e.W!=null||e.E!=null?(a=1,s=4,r=Sr(e.GG,t._a[rt],on(ze(),1,4).year),n=Sr(e.W,1),i=Sr(e.E,1),(i<1||i>7)&&(l=!0)):(a=t._locale._week.dow,s=t._locale._week.doy,u=on(ze(),a,s),r=Sr(e.gg,t._a[rt],u.year),n=Sr(e.w,u.week),e.d!=null?(i=e.d,(i<0||i>6)&&(l=!0)):e.e!=null?(i=e.e+a,(e.e<0||e.e>6)&&(l=!0)):i=a),n<1||n>Vt(r,a,s)?ce(t)._overflowWeeks=!0:l!=null?ce(t)._overflowWeekday=!0:(o=wl(r,n,i,a,s),t._a[rt]=o.year,t._dayOfYear=o.dayOfYear)}j.ISO_8601=function(){};j.RFC_2822=function(){};function wa(t){if(t._f===j.ISO_8601){Pl(t);return}if(t._f===j.RFC_2822){xl(t);return}t._a=[],ce(t).empty=!0;var e=""+t._i,r,n,i,a,s,o=e.length,l=0,u,f;for(i=ll(t._f,t._locale).match(fa)||[],f=i.length,r=0;r<f;r++)a=i[r],n=(e.match(q1(a,t))||[])[0],n&&(s=e.substr(0,e.indexOf(n)),s.length>0&&ce(t).unusedInput.push(s),e=e.slice(e.indexOf(n)+n.length),l+=n.length),Lr[a]?(n?ce(t).empty=!1:ce(t).unusedTokens.push(a),Z1(a,n,t)):t._strict&&!n&&ce(t).unusedTokens.push(a);ce(t).charsLeftOver=o-l,e.length>0&&ce(t).unusedInput.push(e),t._a[Ze]<=12&&ce(t).bigHour===!0&&t._a[Ze]>0&&(ce(t).bigHour=void 0),ce(t).parsedDateParts=t._a.slice(0),ce(t).meridiem=t._meridiem,t._a[Ze]=sd(t._locale,t._a[Ze],t._meridiem),u=ce(t).era,u!==null&&(t._a[rt]=t._locale.erasConvertYear(u,t._a[rt])),Ca(t),ya(t)}function sd(t,e,r){var n;return r==null?e:t.meridiemHour!=null?t.meridiemHour(e,r):(t.isPM!=null&&(n=t.isPM(r),n&&e<12&&(e+=12),!n&&e===12&&(e=0)),e)}function od(t){var e,r,n,i,a,s,o=!1,l=t._f.length;if(l===0){ce(t).invalidFormat=!0,t._d=new Date(NaN);return}for(i=0;i<l;i++)a=0,s=!1,e=ua({},t),t._useUTC!=null&&(e._useUTC=t._useUTC),e._f=t._f[i],wa(e),la(e)&&(s=!0),a+=ce(e).charsLeftOver,a+=ce(e).unusedTokens.length*10,ce(e).score=a,o?a<n&&(n=a,r=e):(n==null||a<n||s)&&(n=a,r=e,s&&(o=!0));or(t,r||e)}function ld(t){if(!t._d){var e=da(t._i),r=e.day===void 0?e.date:e.day;t._a=al([e.year,e.month,r,e.hour,e.minute,e.second,e.millisecond],function(n){return n&&parseInt(n,10)}),Ca(t)}}function ud(t){var e=new fn(ya(Dl(t)));return e._nextDay&&(e.add(1,"d"),e._nextDay=void 0),e}function Dl(t){var e=t._i,r=t._f;return t._locale=t._locale||nr(t._l),e===null||r===void 0&&e===""?Vn({nullInput:!0}):(typeof e=="string"&&(t._i=e=t._locale.preparse(e)),Dt(e)?new fn(ya(e)):(cn(e)?t._d=e:xt(r)?od(t):r?wa(t):cd(t),la(t)||(t._d=null),t))}function cd(t){var e=t._i;ct(e)?t._d=new Date(j.now()):cn(e)?t._d=new Date(e.valueOf()):typeof e=="string"?nd(t):xt(e)?(t._a=al(e.slice(0),function(r){return parseInt(r,10)}),Ca(t)):br(e)?ld(t):Qt(e)?t._d=new Date(e):j.createFromInputFallback(t)}function Ll(t,e,r,n,i){var a={};return(e===!0||e===!1)&&(n=e,e=void 0),(r===!0||r===!1)&&(n=r,r=void 0),(br(t)&&oa(t)||xt(t)&&t.length===0)&&(t=void 0),a._isAMomentObject=!0,a._useUTC=a._isUTC=i,a._l=r,a._i=t,a._f=e,a._strict=n,ud(a)}function ze(t,e,r,n){return Ll(t,e,r,n,!1)}var fd=Tt("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=ze.apply(null,arguments);return this.isValid()&&t.isValid()?t<this?this:t:Vn()}),dd=Tt("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=ze.apply(null,arguments);return this.isValid()&&t.isValid()?t>this?this:t:Vn()});function El(t,e){var r,n;if(e.length===1&&xt(e[0])&&(e=e[0]),!e.length)return ze();for(r=e[0],n=1;n<e.length;++n)(!e[n].isValid()||e[n][t](r))&&(r=e[n]);return r}function hd(){var t=[].slice.call(arguments,0);return El("isBefore",t)}function md(){var t=[].slice.call(arguments,0);return El("isAfter",t)}var pd=function(){return Date.now?Date.now():+new Date},Jr=["year","quarter","month","week","day","hour","minute","second","millisecond"];function gd(t){var e,r=!1,n,i=Jr.length;for(e in t)if(ke(t,e)&&!(Ie.call(Jr,e)!==-1&&(t[e]==null||!isNaN(t[e]))))return!1;for(n=0;n<i;++n)if(t[Jr[n]]){if(r)return!1;parseFloat(t[Jr[n]])!==fe(t[Jr[n]])&&(r=!0)}return!0}function bd(){return this._isValid}function _d(){return Lt(NaN)}function ti(t){var e=da(t),r=e.year||0,n=e.quarter||0,i=e.month||0,a=e.week||e.isoWeek||0,s=e.day||0,o=e.hour||0,l=e.minute||0,u=e.second||0,f=e.millisecond||0;this._isValid=gd(e),this._milliseconds=+f+u*1e3+l*6e4+o*1e3*60*60,this._days=+s+a*7,this._months=+i+n*3+r*12,this._data={},this._locale=nr(),this._bubble()}function Pn(t){return t instanceof ti}function Qi(t){return t<0?Math.round(-1*t)*-1:Math.round(t)}function yd(t,e,r){var n=Math.min(t.length,e.length),i=Math.abs(t.length-e.length),a=0,s;for(s=0;s<n;s++)fe(t[s])!==fe(e[s])&&a++;return a+i}function Ml(t,e){K(t,0,0,function(){var r=this.utcOffset(),n="+";return r<0&&(r=-r,n="-"),n+At(~~(r/60),2)+e+At(~~r%60,2)})}Ml("Z",":");Ml("ZZ","");V("Z",Kn);V("ZZ",Kn);Me(["Z","ZZ"],function(t,e,r){r._useUTC=!0,r._tzm=va(Kn,t)});var Cd=/([\+\-]|\d\d)/gi;function va(t,e){var r=(e||"").match(t),n,i,a;return r===null?null:(n=r[r.length-1]||[],i=(n+"").match(Cd)||["-",0,0],a=+(i[1]*60)+fe(i[2]),a===0?0:i[0]==="+"?a:-a)}function Ta(t,e){var r,n;return e._isUTC?(r=e.clone(),n=(Dt(t)||cn(t)?t.valueOf():ze(t).valueOf())-r.valueOf(),r._d.setTime(r._d.valueOf()+n),j.updateOffset(r,!1),r):ze(t).local()}function Ki(t){return-Math.round(t._d.getTimezoneOffset())}j.updateOffset=function(){};function wd(t,e,r){var n=this._offset||0,i;if(!this.isValid())return t!=null?this:NaN;if(t!=null){if(typeof t=="string"){if(t=va(Kn,t),t===null)return this}else Math.abs(t)<16&&!r&&(t=t*60);return!this._isUTC&&e&&(i=Ki(this)),this._offset=t,this._isUTC=!0,i!=null&&this.add(i,"m"),n!==t&&(!e||this._changeInProgress?Fl(this,Lt(t-n,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,j.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?n:Ki(this)}function vd(t,e){return t!=null?(typeof t!="string"&&(t=-t),this.utcOffset(t,e),this):-this.utcOffset()}function Td(t){return this.utcOffset(0,t)}function kd(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(Ki(this),"m")),this}function Sd(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var t=va(W1,this._i);t!=null?this.utcOffset(t):this.utcOffset(0,!0)}return this}function Pd(t){return this.isValid()?(t=t?ze(t).utcOffset():0,(this.utcOffset()-t)%60===0):!1}function xd(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Dd(){if(!ct(this._isDSTShifted))return this._isDSTShifted;var t={},e;return ua(t,this),t=Dl(t),t._a?(e=t._isUTC?zt(t._a):ze(t._a),this._isDSTShifted=this.isValid()&&yd(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function Ld(){return this.isValid()?!this._isUTC:!1}function Ed(){return this.isValid()?this._isUTC:!1}function Rl(){return this.isValid()?this._isUTC&&this._offset===0:!1}var Md=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Rd=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Lt(t,e){var r=t,n=null,i,a,s;return Pn(t)?r={ms:t._milliseconds,d:t._days,M:t._months}:Qt(t)||!isNaN(+t)?(r={},e?r[e]=+t:r.milliseconds=+t):(n=Md.exec(t))?(i=n[1]==="-"?-1:1,r={y:0,d:fe(n[Mt])*i,h:fe(n[Ze])*i,m:fe(n[Pt])*i,s:fe(n[Yt])*i,ms:fe(Qi(n[gr]*1e3))*i}):(n=Rd.exec(t))?(i=n[1]==="-"?-1:1,r={y:mr(n[2],i),M:mr(n[3],i),w:mr(n[4],i),d:mr(n[5],i),h:mr(n[6],i),m:mr(n[7],i),s:mr(n[8],i)}):r==null?r={}:typeof r=="object"&&("from"in r||"to"in r)&&(s=Ad(ze(r.from),ze(r.to)),r={},r.ms=s.milliseconds,r.M=s.months),a=new ti(r),Pn(t)&&ke(t,"_locale")&&(a._locale=t._locale),Pn(t)&&ke(t,"_isValid")&&(a._isValid=t._isValid),a}Lt.fn=ti.prototype;Lt.invalid=_d;function mr(t,e){var r=t&&parseFloat(t.replace(",","."));return(isNaN(r)?0:r)*e}function Xs(t,e){var r={};return r.months=e.month()-t.month()+(e.year()-t.year())*12,t.clone().add(r.months,"M").isAfter(e)&&--r.months,r.milliseconds=+e-+t.clone().add(r.months,"M"),r}function Ad(t,e){var r;return t.isValid()&&e.isValid()?(e=Ta(e,t),t.isBefore(e)?r=Xs(t,e):(r=Xs(e,t),r.milliseconds=-r.milliseconds,r.months=-r.months),r):{milliseconds:0,months:0}}function Al(t,e){return function(r,n){var i,a;return n!==null&&!isNaN(+n)&&(ol(e,"moment()."+e+"(period, number) is deprecated. Please use moment()."+e+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),a=r,r=n,n=a),i=Lt(r,n),Fl(this,i,t),this}}function Fl(t,e,r,n){var i=e._milliseconds,a=Qi(e._days),s=Qi(e._months);t.isValid()&&(n=n==null?!0:n,s&&bl(t,An(t,"Month")+s*r),a&&cl(t,"Date",An(t,"Date")+a*r),i&&t._d.setTime(t._d.valueOf()+i*r),n&&j.updateOffset(t,a||s))}var Fd=Al(1,"add"),zd=Al(-1,"subtract");function zl(t){return typeof t=="string"||t instanceof String}function Od(t){return Dt(t)||cn(t)||zl(t)||Qt(t)||Nd(t)||Bd(t)||t===null||t===void 0}function Bd(t){var e=br(t)&&!oa(t),r=!1,n=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],i,a,s=n.length;for(i=0;i<s;i+=1)a=n[i],r=r||ke(t,a);return e&&r}function Nd(t){var e=xt(t),r=!1;return e&&(r=t.filter(function(n){return!Qt(n)&&zl(t)}).length===0),e&&r}function Hd(t){var e=br(t)&&!oa(t),r=!1,n=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],i,a;for(i=0;i<n.length;i+=1)a=n[i],r=r||ke(t,a);return e&&r}function Ud(t,e){var r=t.diff(e,"days",!0);return r<-6?"sameElse":r<-1?"lastWeek":r<0?"lastDay":r<1?"sameDay":r<2?"nextDay":r<7?"nextWeek":"sameElse"}function Id(t,e){arguments.length===1&&(arguments[0]?Od(arguments[0])?(t=arguments[0],e=void 0):Hd(arguments[0])&&(e=arguments[0],t=void 0):(t=void 0,e=void 0));var r=t||ze(),n=Ta(r,this).startOf("day"),i=j.calendarFormat(this,n)||"sameElse",a=e&&(Ot(e[i])?e[i].call(this,r):e[i]);return this.format(a||this.localeData().calendar(i,this,ze(r)))}function jd(){return new fn(this)}function Gd(t,e){var r=Dt(t)?t:ze(t);return this.isValid()&&r.isValid()?(e=kt(e)||"millisecond",e==="millisecond"?this.valueOf()>r.valueOf():r.valueOf()<this.clone().startOf(e).valueOf()):!1}function Yd(t,e){var r=Dt(t)?t:ze(t);return this.isValid()&&r.isValid()?(e=kt(e)||"millisecond",e==="millisecond"?this.valueOf()<r.valueOf():this.clone().endOf(e).valueOf()<r.valueOf()):!1}function Wd(t,e,r,n){var i=Dt(t)?t:ze(t),a=Dt(e)?e:ze(e);return this.isValid()&&i.isValid()&&a.isValid()?(n=n||"()",(n[0]==="("?this.isAfter(i,r):!this.isBefore(i,r))&&(n[1]===")"?this.isBefore(a,r):!this.isAfter(a,r))):!1}function Vd(t,e){var r=Dt(t)?t:ze(t),n;return this.isValid()&&r.isValid()?(e=kt(e)||"millisecond",e==="millisecond"?this.valueOf()===r.valueOf():(n=r.valueOf(),this.clone().startOf(e).valueOf()<=n&&n<=this.clone().endOf(e).valueOf())):!1}function qd(t,e){return this.isSame(t,e)||this.isAfter(t,e)}function Jd(t,e){return this.isSame(t,e)||this.isBefore(t,e)}function Zd(t,e,r){var n,i,a;if(!this.isValid())return NaN;if(n=Ta(t,this),!n.isValid())return NaN;switch(i=(n.utcOffset()-this.utcOffset())*6e4,e=kt(e),e){case"year":a=xn(this,n)/12;break;case"month":a=xn(this,n);break;case"quarter":a=xn(this,n)/3;break;case"second":a=(this-n)/1e3;break;case"minute":a=(this-n)/6e4;break;case"hour":a=(this-n)/36e5;break;case"day":a=(this-n-i)/864e5;break;case"week":a=(this-n-i)/6048e5;break;default:a=this-n}return r?a:Ct(a)}function xn(t,e){if(t.date()<e.date())return-xn(e,t);var r=(e.year()-t.year())*12+(e.month()-t.month()),n=t.clone().add(r,"months"),i,a;return e-n<0?(i=t.clone().add(r-1,"months"),a=(e-n)/(n-i)):(i=t.clone().add(r+1,"months"),a=(e-n)/(i-n)),-(r+a)||0}j.defaultFormat="YYYY-MM-DDTHH:mm:ssZ";j.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function Xd(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function Qd(t){if(!this.isValid())return null;var e=t!==!0,r=e?this.clone().utc():this;return r.year()<0||r.year()>9999?Sn(r,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):Ot(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",Sn(r,"Z")):Sn(r,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function Kd(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var t="moment",e="",r,n,i,a;return this.isLocal()||(t=this.utcOffset()===0?"moment.utc":"moment.parseZone",e="Z"),r="["+t+'("]',n=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",i="-MM-DD[T]HH:mm:ss.SSS",a=e+'[")]',this.format(r+n+i+a)}function $d(t){t||(t=this.isUtc()?j.defaultFormatUtc:j.defaultFormat);var e=Sn(this,t);return this.localeData().postformat(e)}function eh(t,e){return this.isValid()&&(Dt(t)&&t.isValid()||ze(t).isValid())?Lt({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function th(t){return this.from(ze(),t)}function rh(t,e){return this.isValid()&&(Dt(t)&&t.isValid()||ze(t).isValid())?Lt({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function nh(t){return this.to(ze(),t)}function Ol(t){var e;return t===void 0?this._locale._abbr:(e=nr(t),e!=null&&(this._locale=e),this)}var Bl=Tt("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(t){return t===void 0?this.localeData():this.locale(t)});function Nl(){return this._locale}var On=1e3,Er=60*On,Bn=60*Er,Hl=(365*400+97)*24*Bn;function Mr(t,e){return(t%e+e)%e}function Ul(t,e,r){return t<100&&t>=0?new Date(t+400,e,r)-Hl:new Date(t,e,r).valueOf()}function Il(t,e,r){return t<100&&t>=0?Date.UTC(t+400,e,r)-Hl:Date.UTC(t,e,r)}function ih(t){var e,r;if(t=kt(t),t===void 0||t==="millisecond"||!this.isValid())return this;switch(r=this._isUTC?Il:Ul,t){case"year":e=r(this.year(),0,1);break;case"quarter":e=r(this.year(),this.month()-this.month()%3,1);break;case"month":e=r(this.year(),this.month(),1);break;case"week":e=r(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":e=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":e=r(this.year(),this.month(),this.date());break;case"hour":e=this._d.valueOf(),e-=Mr(e+(this._isUTC?0:this.utcOffset()*Er),Bn);break;case"minute":e=this._d.valueOf(),e-=Mr(e,Er);break;case"second":e=this._d.valueOf(),e-=Mr(e,On);break}return this._d.setTime(e),j.updateOffset(this,!0),this}function ah(t){var e,r;if(t=kt(t),t===void 0||t==="millisecond"||!this.isValid())return this;switch(r=this._isUTC?Il:Ul,t){case"year":e=r(this.year()+1,0,1)-1;break;case"quarter":e=r(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":e=r(this.year(),this.month()+1,1)-1;break;case"week":e=r(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":e=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":e=r(this.year(),this.month(),this.date()+1)-1;break;case"hour":e=this._d.valueOf(),e+=Bn-Mr(e+(this._isUTC?0:this.utcOffset()*Er),Bn)-1;break;case"minute":e=this._d.valueOf(),e+=Er-Mr(e,Er)-1;break;case"second":e=this._d.valueOf(),e+=On-Mr(e,On)-1;break}return this._d.setTime(e),j.updateOffset(this,!0),this}function sh(){return this._d.valueOf()-(this._offset||0)*6e4}function oh(){return Math.floor(this.valueOf()/1e3)}function lh(){return new Date(this.valueOf())}function uh(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]}function ch(){var t=this;return{years:t.year(),months:t.month(),date:t.date(),hours:t.hours(),minutes:t.minutes(),seconds:t.seconds(),milliseconds:t.milliseconds()}}function fh(){return this.isValid()?this.toISOString():null}function dh(){return la(this)}function hh(){return or({},ce(this))}function mh(){return ce(this).overflow}function ph(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}K("N",0,0,"eraAbbr");K("NN",0,0,"eraAbbr");K("NNN",0,0,"eraAbbr");K("NNNN",0,0,"eraName");K("NNNNN",0,0,"eraNarrow");K("y",["y",1],"yo","eraYear");K("y",["yy",2],0,"eraYear");K("y",["yyy",3],0,"eraYear");K("y",["yyyy",4],0,"eraYear");V("N",ka);V("NN",ka);V("NNN",ka);V("NNNN",Ph);V("NNNNN",xh);Me(["N","NN","NNN","NNNN","NNNNN"],function(t,e,r,n){var i=r._locale.erasParse(t,n,r._strict);i?ce(r).era=i:ce(r).invalidEra=t});V("y",Gr);V("yy",Gr);V("yyy",Gr);V("yyyy",Gr);V("yo",Dh);Me(["y","yy","yyy","yyyy"],rt);Me(["yo"],function(t,e,r,n){var i;r._locale._eraYearOrdinalRegex&&(i=t.match(r._locale._eraYearOrdinalRegex)),r._locale.eraYearOrdinalParse?e[rt]=r._locale.eraYearOrdinalParse(t,i):e[rt]=parseInt(t,10)});function gh(t,e){var r,n,i,a=this._eras||nr("en")._eras;for(r=0,n=a.length;r<n;++r){switch(typeof a[r].since){case"string":i=j(a[r].since).startOf("day"),a[r].since=i.valueOf();break}switch(typeof a[r].until){case"undefined":a[r].until=1/0;break;case"string":i=j(a[r].until).startOf("day").valueOf(),a[r].until=i.valueOf();break}}return a}function bh(t,e,r){var n,i,a=this.eras(),s,o,l;for(t=t.toUpperCase(),n=0,i=a.length;n<i;++n)if(s=a[n].name.toUpperCase(),o=a[n].abbr.toUpperCase(),l=a[n].narrow.toUpperCase(),r)switch(e){case"N":case"NN":case"NNN":if(o===t)return a[n];break;case"NNNN":if(s===t)return a[n];break;case"NNNNN":if(l===t)return a[n];break}else if([s,o,l].indexOf(t)>=0)return a[n]}function _h(t,e){var r=t.since<=t.until?1:-1;return e===void 0?j(t.since).year():j(t.since).year()+(e-t.offset)*r}function yh(){var t,e,r,n=this.localeData().eras();for(t=0,e=n.length;t<e;++t)if(r=this.clone().startOf("day").valueOf(),n[t].since<=r&&r<=n[t].until||n[t].until<=r&&r<=n[t].since)return n[t].name;return""}function Ch(){var t,e,r,n=this.localeData().eras();for(t=0,e=n.length;t<e;++t)if(r=this.clone().startOf("day").valueOf(),n[t].since<=r&&r<=n[t].until||n[t].until<=r&&r<=n[t].since)return n[t].narrow;return""}function wh(){var t,e,r,n=this.localeData().eras();for(t=0,e=n.length;t<e;++t)if(r=this.clone().startOf("day").valueOf(),n[t].since<=r&&r<=n[t].until||n[t].until<=r&&r<=n[t].since)return n[t].abbr;return""}function vh(){var t,e,r,n,i=this.localeData().eras();for(t=0,e=i.length;t<e;++t)if(r=i[t].since<=i[t].until?1:-1,n=this.clone().startOf("day").valueOf(),i[t].since<=n&&n<=i[t].until||i[t].until<=n&&n<=i[t].since)return(this.year()-j(i[t].since).year())*r+i[t].offset;return this.year()}function Th(t){return ke(this,"_erasNameRegex")||Sa.call(this),t?this._erasNameRegex:this._erasRegex}function kh(t){return ke(this,"_erasAbbrRegex")||Sa.call(this),t?this._erasAbbrRegex:this._erasRegex}function Sh(t){return ke(this,"_erasNarrowRegex")||Sa.call(this),t?this._erasNarrowRegex:this._erasRegex}function ka(t,e){return e.erasAbbrRegex(t)}function Ph(t,e){return e.erasNameRegex(t)}function xh(t,e){return e.erasNarrowRegex(t)}function Dh(t,e){return e._eraYearOrdinalRegex||Gr}function Sa(){var t=[],e=[],r=[],n=[],i,a,s=this.eras();for(i=0,a=s.length;i<a;++i)e.push(gt(s[i].name)),t.push(gt(s[i].abbr)),r.push(gt(s[i].narrow)),n.push(gt(s[i].name)),n.push(gt(s[i].abbr)),n.push(gt(s[i].narrow));this._erasRegex=new RegExp("^("+n.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+e.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+t.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+r.join("|")+")","i")}K(0,["gg",2],0,function(){return this.weekYear()%100});K(0,["GG",2],0,function(){return this.isoWeekYear()%100});function ri(t,e){K(0,[t,t.length],0,e)}ri("gggg","weekYear");ri("ggggg","weekYear");ri("GGGG","isoWeekYear");ri("GGGGG","isoWeekYear");nt("weekYear","gg");nt("isoWeekYear","GG");it("weekYear",1);it("isoWeekYear",1);V("G",Qn);V("g",Qn);V("GG",Oe,_t);V("gg",Oe,_t);V("GGGG",ma,ha);V("gggg",ma,ha);V("GGGGG",Xn,Jn);V("ggggg",Xn,Jn);hn(["gggg","ggggg","GGGG","GGGGG"],function(t,e,r,n){e[n.substr(0,2)]=fe(t)});hn(["gg","GG"],function(t,e,r,n){e[n]=j.parseTwoDigitYear(t)});function Lh(t){return jl.call(this,t,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function Eh(t){return jl.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)}function Mh(){return Vt(this.year(),1,4)}function Rh(){return Vt(this.isoWeekYear(),1,4)}function Ah(){var t=this.localeData()._week;return Vt(this.year(),t.dow,t.doy)}function Fh(){var t=this.localeData()._week;return Vt(this.weekYear(),t.dow,t.doy)}function jl(t,e,r,n,i){var a;return t==null?on(this,n,i).year:(a=Vt(t,n,i),e>a&&(e=a),zh.call(this,t,e,r,n,i))}function zh(t,e,r,n,i){var a=wl(t,e,r,n,i),s=sn(a.year,0,a.dayOfYear);return this.year(s.getUTCFullYear()),this.month(s.getUTCMonth()),this.date(s.getUTCDate()),this}K("Q",0,"Qo","quarter");nt("quarter","Q");it("quarter",7);V("Q",fl);Me("Q",function(t,e){e[Gt]=(fe(t)-1)*3});function Oh(t){return t==null?Math.ceil((this.month()+1)/3):this.month((t-1)*3+this.month()%3)}K("D",["DD",2],"Do","date");nt("date","D");it("date",9);V("D",Oe);V("DD",Oe,_t);V("Do",function(t,e){return t?e._dayOfMonthOrdinalParse||e._ordinalParse:e._dayOfMonthOrdinalParseLenient});Me(["D","DD"],Mt);Me("Do",function(t,e){e[Mt]=fe(t.match(Oe)[0])});var Gl=jr("Date",!0);K("DDD",["DDDD",3],"DDDo","dayOfYear");nt("dayOfYear","DDD");it("dayOfYear",4);V("DDD",Zn);V("DDDD",dl);Me(["DDD","DDDD"],function(t,e,r){r._dayOfYear=fe(t)});function Bh(t){var e=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return t==null?e:this.add(t-e,"d")}K("m",["mm",2],0,"minute");nt("minute","m");it("minute",14);V("m",Oe);V("mm",Oe,_t);Me(["m","mm"],Pt);var Nh=jr("Minutes",!1);K("s",["ss",2],0,"second");nt("second","s");it("second",15);V("s",Oe);V("ss",Oe,_t);Me(["s","ss"],Yt);var Hh=jr("Seconds",!1);K("S",0,0,function(){return~~(this.millisecond()/100)});K(0,["SS",2],0,function(){return~~(this.millisecond()/10)});K(0,["SSS",3],0,"millisecond");K(0,["SSSS",4],0,function(){return this.millisecond()*10});K(0,["SSSSS",5],0,function(){return this.millisecond()*100});K(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3});K(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4});K(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5});K(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6});nt("millisecond","ms");it("millisecond",16);V("S",Zn,fl);V("SS",Zn,_t);V("SSS",Zn,dl);var lr,Yl;for(lr="SSSS";lr.length<=9;lr+="S")V(lr,Gr);function Uh(t,e){e[gr]=fe(("0."+t)*1e3)}for(lr="S";lr.length<=9;lr+="S")Me(lr,Uh);Yl=jr("Milliseconds",!1);K("z",0,0,"zoneAbbr");K("zz",0,0,"zoneName");function Ih(){return this._isUTC?"UTC":""}function jh(){return this._isUTC?"Coordinated Universal Time":""}var R=fn.prototype;R.add=Fd;R.calendar=Id;R.clone=jd;R.diff=Zd;R.endOf=ah;R.format=$d;R.from=eh;R.fromNow=th;R.to=rh;R.toNow=nh;R.get=G1;R.invalidAt=mh;R.isAfter=Gd;R.isBefore=Yd;R.isBetween=Wd;R.isSame=Vd;R.isSameOrAfter=qd;R.isSameOrBefore=Jd;R.isValid=dh;R.lang=Bl;R.locale=Ol;R.localeData=Nl;R.max=dd;R.min=fd;R.parsingFlags=hh;R.set=Y1;R.startOf=ih;R.subtract=zd;R.toArray=uh;R.toObject=ch;R.toDate=lh;R.toISOString=Qd;R.inspect=Kd;typeof Symbol!="undefined"&&Symbol.for!=null&&(R[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"});R.toJSON=fh;R.toString=Xd;R.unix=oh;R.valueOf=sh;R.creationData=ph;R.eraName=yh;R.eraNarrow=Ch;R.eraAbbr=wh;R.eraYear=vh;R.year=Cl;R.isLeapYear=cf;R.weekYear=Lh;R.isoWeekYear=Eh;R.quarter=R.quarters=Oh;R.month=_l;R.daysInMonth=of;R.week=R.weeks=gf;R.isoWeek=R.isoWeeks=bf;R.weeksInYear=Ah;R.weeksInWeekYear=Fh;R.isoWeeksInYear=Mh;R.isoWeeksInISOWeekYear=Rh;R.date=Gl;R.day=R.days=Ef;R.weekday=Mf;R.isoWeekday=Rf;R.dayOfYear=Bh;R.hour=R.hours=Hf;R.minute=R.minutes=Nh;R.second=R.seconds=Hh;R.millisecond=R.milliseconds=Yl;R.utcOffset=wd;R.utc=Td;R.local=kd;R.parseZone=Sd;R.hasAlignedHourOffset=Pd;R.isDST=xd;R.isLocal=Ld;R.isUtcOffset=Ed;R.isUtc=Rl;R.isUTC=Rl;R.zoneAbbr=Ih;R.zoneName=jh;R.dates=Tt("dates accessor is deprecated. Use date instead.",Gl);R.months=Tt("months accessor is deprecated. Use month instead",_l);R.years=Tt("years accessor is deprecated. Use year instead",Cl);R.zone=Tt("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",vd);R.isDSTShifted=Tt("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Dd);function Gh(t){return ze(t*1e3)}function Yh(){return ze.apply(null,arguments).parseZone()}function Wl(t){return t}var Se=ca.prototype;Se.calendar=L1;Se.longDateFormat=A1;Se.invalidDate=z1;Se.ordinal=N1;Se.preparse=Wl;Se.postformat=Wl;Se.relativeTime=U1;Se.pastFuture=I1;Se.set=x1;Se.eras=gh;Se.erasParse=bh;Se.erasConvertYear=_h;Se.erasAbbrRegex=kh;Se.erasNameRegex=Th;Se.erasNarrowRegex=Sh;Se.months=rf;Se.monthsShort=nf;Se.monthsParse=sf;Se.monthsRegex=uf;Se.monthsShortRegex=lf;Se.week=df;Se.firstDayOfYear=pf;Se.firstDayOfWeek=mf;Se.weekdays=Sf;Se.weekdaysMin=xf;Se.weekdaysShort=Pf;Se.weekdaysParse=Lf;Se.weekdaysRegex=Af;Se.weekdaysShortRegex=Ff;Se.weekdaysMinRegex=zf;Se.isPM=Bf;Se.meridiem=Uf;function Nn(t,e,r,n){var i=nr(),a=zt().set(n,e);return i[r](a,t)}function Vl(t,e,r){if(Qt(t)&&(e=t,t=void 0),t=t||"",e!=null)return Nn(t,e,r,"month");var n,i=[];for(n=0;n<12;n++)i[n]=Nn(t,n,r,"month");return i}function Pa(t,e,r,n){typeof t=="boolean"?(Qt(e)&&(r=e,e=void 0),e=e||""):(e=t,r=e,t=!1,Qt(e)&&(r=e,e=void 0),e=e||"");var i=nr(),a=t?i._week.dow:0,s,o=[];if(r!=null)return Nn(e,(r+a)%7,n,"day");for(s=0;s<7;s++)o[s]=Nn(e,(s+a)%7,n,"day");return o}function Wh(t,e){return Vl(t,e,"months")}function Vh(t,e){return Vl(t,e,"monthsShort")}function qh(t,e,r){return Pa(t,e,r,"weekdays")}function Jh(t,e,r){return Pa(t,e,r,"weekdaysShort")}function Zh(t,e,r){return Pa(t,e,r,"weekdaysMin")}ur("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(t){var e=t%10,r=fe(t%100/10)===1?"th":e===1?"st":e===2?"nd":e===3?"rd":"th";return t+r}});j.lang=Tt("moment.lang is deprecated. Use moment.locale instead.",ur);j.langData=Tt("moment.langData is deprecated. Use moment.localeData instead.",nr);var It=Math.abs;function Xh(){var t=this._data;return this._milliseconds=It(this._milliseconds),this._days=It(this._days),this._months=It(this._months),t.milliseconds=It(t.milliseconds),t.seconds=It(t.seconds),t.minutes=It(t.minutes),t.hours=It(t.hours),t.months=It(t.months),t.years=It(t.years),this}function ql(t,e,r,n){var i=Lt(e,r);return t._milliseconds+=n*i._milliseconds,t._days+=n*i._days,t._months+=n*i._months,t._bubble()}function Qh(t,e){return ql(this,t,e,1)}function Kh(t,e){return ql(this,t,e,-1)}function Qs(t){return t<0?Math.floor(t):Math.ceil(t)}function $h(){var t=this._milliseconds,e=this._days,r=this._months,n=this._data,i,a,s,o,l;return t>=0&&e>=0&&r>=0||t<=0&&e<=0&&r<=0||(t+=Qs($i(r)+e)*864e5,e=0,r=0),n.milliseconds=t%1e3,i=Ct(t/1e3),n.seconds=i%60,a=Ct(i/60),n.minutes=a%60,s=Ct(a/60),n.hours=s%24,e+=Ct(s/24),l=Ct(Jl(e)),r+=l,e-=Qs($i(l)),o=Ct(r/12),r%=12,n.days=e,n.months=r,n.years=o,this}function Jl(t){return t*4800/146097}function $i(t){return t*146097/4800}function em(t){if(!this.isValid())return NaN;var e,r,n=this._milliseconds;if(t=kt(t),t==="month"||t==="quarter"||t==="year")switch(e=this._days+n/864e5,r=this._months+Jl(e),t){case"month":return r;case"quarter":return r/3;case"year":return r/12}else switch(e=this._days+Math.round($i(this._months)),t){case"week":return e/7+n/6048e5;case"day":return e+n/864e5;case"hour":return e*24+n/36e5;case"minute":return e*1440+n/6e4;case"second":return e*86400+n/1e3;case"millisecond":return Math.floor(e*864e5)+n;default:throw new Error("Unknown unit "+t)}}function tm(){return this.isValid()?this._milliseconds+this._days*864e5+this._months%12*2592e6+fe(this._months/12)*31536e6:NaN}function ir(t){return function(){return this.as(t)}}var rm=ir("ms"),nm=ir("s"),im=ir("m"),am=ir("h"),sm=ir("d"),om=ir("w"),lm=ir("M"),um=ir("Q"),cm=ir("y");function fm(){return Lt(this)}function dm(t){return t=kt(t),this.isValid()?this[t+"s"]():NaN}function yr(t){return function(){return this.isValid()?this._data[t]:NaN}}var hm=yr("milliseconds"),mm=yr("seconds"),pm=yr("minutes"),gm=yr("hours"),bm=yr("days"),_m=yr("months"),ym=yr("years");function Cm(){return Ct(this.days()/7)}var jt=Math.round,Pr={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function wm(t,e,r,n,i){return i.relativeTime(e||1,!!r,t,n)}function vm(t,e,r,n){var i=Lt(t).abs(),a=jt(i.as("s")),s=jt(i.as("m")),o=jt(i.as("h")),l=jt(i.as("d")),u=jt(i.as("M")),f=jt(i.as("w")),d=jt(i.as("y")),h=a<=r.ss&&["s",a]||a<r.s&&["ss",a]||s<=1&&["m"]||s<r.m&&["mm",s]||o<=1&&["h"]||o<r.h&&["hh",o]||l<=1&&["d"]||l<r.d&&["dd",l];return r.w!=null&&(h=h||f<=1&&["w"]||f<r.w&&["ww",f]),h=h||u<=1&&["M"]||u<r.M&&["MM",u]||d<=1&&["y"]||["yy",d],h[2]=e,h[3]=+t>0,h[4]=n,wm.apply(null,h)}function Tm(t){return t===void 0?jt:typeof t=="function"?(jt=t,!0):!1}function km(t,e){return Pr[t]===void 0?!1:e===void 0?Pr[t]:(Pr[t]=e,t==="s"&&(Pr.ss=e-1),!0)}function Sm(t,e){if(!this.isValid())return this.localeData().invalidDate();var r=!1,n=Pr,i,a;return typeof t=="object"&&(e=t,t=!1),typeof t=="boolean"&&(r=t),typeof e=="object"&&(n=Object.assign({},Pr,e),e.s!=null&&e.ss==null&&(n.ss=e.s-1)),i=this.localeData(),a=vm(this,!r,n,i),r&&(a=i.pastFuture(+this,a)),i.postformat(a)}var _i=Math.abs;function Tr(t){return(t>0)-(t<0)||+t}function ni(){if(!this.isValid())return this.localeData().invalidDate();var t=_i(this._milliseconds)/1e3,e=_i(this._days),r=_i(this._months),n,i,a,s,o=this.asSeconds(),l,u,f,d;return o?(n=Ct(t/60),i=Ct(n/60),t%=60,n%=60,a=Ct(r/12),r%=12,s=t?t.toFixed(3).replace(/\.?0+$/,""):"",l=o<0?"-":"",u=Tr(this._months)!==Tr(o)?"-":"",f=Tr(this._days)!==Tr(o)?"-":"",d=Tr(this._milliseconds)!==Tr(o)?"-":"",l+"P"+(a?u+a+"Y":"")+(r?u+r+"M":"")+(e?f+e+"D":"")+(i||n||t?"T":"")+(i?d+i+"H":"")+(n?d+n+"M":"")+(t?d+s+"S":"")):"P0D"}var ge=ti.prototype;ge.isValid=bd;ge.abs=Xh;ge.add=Qh;ge.subtract=Kh;ge.as=em;ge.asMilliseconds=rm;ge.asSeconds=nm;ge.asMinutes=im;ge.asHours=am;ge.asDays=sm;ge.asWeeks=om;ge.asMonths=lm;ge.asQuarters=um;ge.asYears=cm;ge.valueOf=tm;ge._bubble=$h;ge.clone=fm;ge.get=dm;ge.milliseconds=hm;ge.seconds=mm;ge.minutes=pm;ge.hours=gm;ge.days=bm;ge.weeks=Cm;ge.months=_m;ge.years=ym;ge.humanize=Sm;ge.toISOString=ni;ge.toString=ni;ge.toJSON=ni;ge.locale=Ol;ge.localeData=Nl;ge.toIsoString=Tt("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",ni);ge.lang=Bl;K("X",0,0,"unix");K("x",0,0,"valueOf");V("x",Qn);V("X",V1);Me("X",function(t,e,r){r._d=new Date(parseFloat(t)*1e3)});Me("x",function(t,e,r){r._d=new Date(fe(t))});//! moment.js
37
+ j.version="2.29.4";S1(ze);j.fn=R;j.min=hd;j.max=md;j.now=pd;j.utc=zt;j.unix=Gh;j.months=Wh;j.isDate=cn;j.locale=ur;j.invalid=Vn;j.duration=Lt;j.isMoment=Dt;j.weekdays=qh;j.parseZone=Yh;j.localeData=nr;j.isDuration=Pn;j.monthsShort=Vh;j.weekdaysMin=Zh;j.defineLocale=_a;j.updateLocale=Yf;j.locales=Wf;j.weekdaysShort=Jh;j.normalizeUnits=kt;j.relativeTimeRounding=Tm;j.relativeTimeThreshold=km;j.calendarFormat=Ud;j.prototype=R;j.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"};const Pm="data:image/svg+xml,%3csvg%20width='9'%20height='11'%20viewBox='0%200%209%2011'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M8.1%201.4H7.65V0.5H6.75V1.4H2.25V0.5H1.35V1.4H0.9C0.405%201.4%200%201.805%200%202.3V9.5C0%209.995%200.405%2010.4%200.9%2010.4H8.1C8.595%2010.4%209%209.995%209%209.5V2.3C9%201.805%208.595%201.4%208.1%201.4ZM8.10003%209.5H0.900027V4.55H8.10003V9.5ZM0.900027%203.65005H8.10003V2.30005H0.900027V3.65005Z'%20fill='%231E1616'/%3e%3c/svg%3e";function Ks(t){let e,r,n,i,a,s=t[2]&&t[2].showCalendarIcon&&$s();return{c(){e=b("div"),s&&s.c(),r=z(t[3]),c(e,"class","Date TagContent"),c(e,"part","Date TagContent")},m(o,l){C(o,e,l),s&&s.m(e,null),m(e,r),i||(a=$t(n=t[4].call(null,e,t[0])),i=!0)},p(o,l){o[2]&&o[2].showCalendarIcon?s||(s=$s(),s.c(),s.m(e,r)):s&&(s.d(1),s=null),l&8&&W(r,o[3]),n&&Kt(n.update)&&l&1&&n.update.call(null,o[0])},d(o){o&&y(e),s&&s.d(),i=!1,a()}}}function $s(t){let e,r,n;return{c(){e=b("img"),n=H(),c(e,"class","CalendarIcon"),c(e,"alt","Calendar"),c(e,"part","CalendarIcon"),Ye(e.src,r=Pm)||c(e,"src",r)},m(i,a){C(i,e,a),C(i,n,a)},d(i){i&&(y(e),y(n))}}}function xm(t){let e,r=t[0]&&t[1]==="Unstarted"&&Ks(t);return{c(){r&&r.c(),e=de()},m(n,i){r&&r.m(n,i),C(n,e,i)},p(n,[i]){n[0]&&n[1]==="Unstarted"?r?r.p(n,i):(r=Ks(n),r.c(),r.m(e.parentNode,e)):r&&(r.d(1),r=null)},i:J,o:J,d(n){n&&y(e),r&&r.d(n)}}}function Dm(t,e,r){let n;wt(t,vt,p=>r(7,n=p));let{startdate:i=""}=e,{status:a=""}=e,{lang:s=""}=e,{cellsetting:o}=e,l={shortstart:!1,shortstartformat:"DD MMM YYYY",showCalendarIcon:!1},u="";rr({fallbackLocale:"en",initialLocale:"en"});const f=()=>{bt(s),i&&d()},d=()=>{const p={month:"long"};let _=new Date(i);const g=()=>n(a==="Running"?"tournamentsThumbnail.startedAt":"tournamentsThumbnail.startingAt");if(o&&o.shortstart){let P=j(_).format(o.shortstartformat||l.shortstartformat);r(3,u=a==="Running"||a=="Closing"||a=="Closed"?n("tournamentsThumbnail.startedAtWithTime",{values:{startTime:P}}):n("tournamentsThumbnail.startingAtWithTime",{values:{startTime:P}}))}else{let P=new Intl.DateTimeFormat("en",p).format(_),L=_.getDate(),E=_.toLocaleString("en-GB",{hour:"numeric",minute:"numeric",hour12:!1});r(3,u=`${L} `+n(`tournamentsThumbnail.${P}`)+", "+g()+` ${E}`)}},h=()=>{l={shortstart:o.shortstart||!1,shortstartformat:o.shortstartformat||"DD MMM YYYY",showCalendarIcon:o.showCalendarIcon||!1}};return t.$$set=p=>{"startdate"in p&&r(0,i=p.startdate),"status"in p&&r(1,a=p.status),"lang"in p&&r(5,s=p.lang),"cellsetting"in p&&r(2,o=p.cellsetting)},t.$$.update=()=>{t.$$.dirty&32&&s&&f(),t.$$.dirty&1&&i&&d(),t.$$.dirty&4&&o&&h()},[i,a,o,u,d,s]}class ea extends qe{constructor(e){super(),We(this,e,Dm,xm,je,{startdate:0,status:1,lang:5,cellsetting:2})}get startdate(){return this.$$.ctx[0]}set startdate(e){this.$$set({startdate:e}),x()}get status(){return this.$$.ctx[1]}set status(e){this.$$set({status:e}),x()}get lang(){return this.$$.ctx[5]}set lang(e){this.$$set({lang:e}),x()}get cellsetting(){return this.$$.ctx[2]}set cellsetting(e){this.$$set({cellsetting:e}),x()}}customElements.define("startdate-line",Ve(ea,{startdate:{},status:{},lang:{},cellsetting:{}},[],[],!0));function Lm(t){let e,r,n,i,a,s,o=t[0]("tournamentsPage.back")+"",l,u,f;return{c(){e=b("div"),r=b("div"),n=$e("svg"),i=$e("path"),a=H(),s=b("p"),l=z(o),c(i,"stroke-linecap","round"),c(i,"stroke-linejoin","round"),c(i,"stroke-width","2"),c(i,"d","M15 19l-7-7 7-7"),c(n,"fill","none"),c(n,"stroke","currentColor"),c(n,"width","24"),c(n,"height","24"),c(n,"viewBox","0 0 24 24"),c(n,"xmlns","http://www.w3.org/2000/svg"),c(s,"class","ButtonText"),c(r,"class","BackButton"),c(r,"part","BackButton"),c(r,"tabindex","0"),c(r,"role","link"),c(e,"class","TopButtons"),c(e,"part","TopButtons")},m(d,h){C(d,e,h),m(e,r),m(r,n),m(n,i),m(r,a),m(r,s),m(s,l),u||(f=tt(r,"click",t[4]),u=!0)},p(d,[h]){h&1&&o!==(o=d[0]("tournamentsPage.back")+"")&&W(l,o)},i:J,o:J,d(d){d&&y(e),u=!1,f()}}}function Em(t,e,r){let n;wt(t,vt,u=>r(0,n=u));let{lang:i="en"}=e,{navigationbackbutton:a="Default"}=e;const s=()=>{bt(i)},o=()=>{a=="Event"?window.postMessage({type:"RedirectBack"},window.location.href):a=="Default"&&window.history.back()},l=()=>o();return t.$$set=u=>{"lang"in u&&r(2,i=u.lang),"navigationbackbutton"in u&&r(3,a=u.navigationbackbutton)},t.$$.update=()=>{t.$$.dirty&4&&i&&s()},[n,o,i,a,l]}class ta extends qe{constructor(e){super(),We(this,e,Em,Lm,je,{lang:2,navigationbackbutton:3})}get lang(){return this.$$.ctx[2]}set lang(e){this.$$set({lang:e}),x()}get navigationbackbutton(){return this.$$.ctx[3]}set navigationbackbutton(e){this.$$set({navigationbackbutton:e}),x()}}customElements.define("backbutton-cell",Ve(ta,{lang:{},navigationbackbutton:{}},[],[],!0));function Mm(t){let e,r;return{c(){e=b("span"),r=z(t[0])},m(n,i){C(n,e,i),m(e,r)},p(n,[i]){i&1&&W(r,n[0])},i:J,o:J,d(n){n&&y(e)}}}function Rm(t,e,r){let n;wt(t,vt,u=>r(3,n=u));let{lang:i=""}=e,{cellsetting:a={langkey:""}}=e,s="";rr({fallbackLocale:"en",initialLocale:"en"});const o=()=>{bt(i)},l=()=>{a.langkey&&r(0,s=n(`tournamentsPage.${a.langkey}`))};return t.$$set=u=>{"lang"in u&&r(1,i=u.lang),"cellsetting"in u&&r(2,a=u.cellsetting)},t.$$.update=()=>{t.$$.dirty&6&&i&&a&&o()&&l(),t.$$.dirty&6&&i&&a&&l()},[s,i,a]}class ra extends qe{constructor(e){super(),We(this,e,Rm,Mm,je,{lang:1,cellsetting:2})}get lang(){return this.$$.ctx[1]}set lang(e){this.$$set({lang:e}),x()}get cellsetting(){return this.$$.ctx[2]}set cellsetting(e){this.$$set({cellsetting:e}),x()}}customElements.define("translate-text-cell",Ve(ra,{lang:{},cellsetting:{}},[],[],!0));const Zl={Cell:{attributes:Qr.element.observedAttributes,cellBox:Qr},BackButtonCell:{attributes:ta.element.observedAttributes,cellBox:ta},ThumbnailCell:{attributes:Fi.element.observedAttributes,cellBox:Fi},TitleCell:{attributes:Vi.element.observedAttributes,cellBox:Vi},TitleTextCell:{attributes:Mn.element.observedAttributes,cellBox:Mn},TranslateTextCell:{attributes:ra.element.observedAttributes,cellBox:ra},StartDateCell:{attributes:ea.element.observedAttributes,cellBox:ea},ScoreCriteriaCell:{attributes:zi.element.observedAttributes,cellBox:zi},StatusTag:{attributes:Bi.element.observedAttributes,cellBox:Bi},TournamentSlot:{attributes:Qr.element.observedAttributes,cellBox:Qr},JoinButtonCell:{attributes:Oi.element.observedAttributes,cellBox:Oi},UserEnrollTag:{attributes:Ni.element.observedAttributes,cellBox:Ni},DurationCell:{attributes:Hi.element.observedAttributes,cellBox:Hi},SeeGamesLine:{attributes:Ui.element.observedAttributes,cellBox:Ui},PrizesCell:{attributes:Ii.element.observedAttributes,cellBox:Ii},GamesCell:{attributes:ji.element.observedAttributes,cellBox:ji},TermsAndConditionsCell:{attributes:Gi.element.observedAttributes,cellBox:Gi},DescriptionCell:{attributes:Yi.element.observedAttributes,cellBox:Yi},LeaderboardCell:{attributes:Wi.element.observedAttributes,cellBox:Wi}},Zr={wm:{id:"tournamentLayout",rows:[{id:"row1",type:"widget",style:{height:"50px"},cols:[{id:"row-container",class:"RowContent",isCellContainer:!0,componentid:"Cell",subComponents:[{id:"thumbnailImg",componentid:"ThumbnailCell",class:"",subComponents:[{id:"status",componentid:"StatusTag",class:"Tag"},{id:"userEnrolled",componentid:"UserEnrollTag",class:"Tag"},{id:"startdate",componentid:"StartDateCell",class:"Tag",config:{shortstart:!0,showCalendarIcon:!0}}]},{id:"detailInfo",class:" DetailInfo",componentid:"Cell",isCellContainer:!0,subComponents:[{id:"title",componentid:"TitleCell",class:","},{id:"scoreCriteria",componentid:"ScoreCriteriaCell",class:" "},{id:"slot1",isSlotCell:!0,slotName:"GameClick",class:" "},{id:"seeGamesLink",componentid:"SeeGamesLine",class:" "},{id:"joinButton",componentid:"JoinButtonCell",class:" "},{id:"thumbnailDuration",componentid:"DurationCell",class:"row-70-center"}]}]},{id:"prizeImg",componentid:"PrizesCell",class:" ",config:{expandAll:!1,listType:1,maxCol:3,rowPerCol:7,showrankasimage:!0}},{id:"GamesSliderTitle",componentid:"TranslateTextCell",config:{langkey:"participantingGames"},class:" GamesSliderTitle "},{id:"gamesLine",componentid:"GamesCell",class:" "},{id:"tm-leaderboard",isCellContainer:!0,componentid:"Cell",class:"RowContent",subComponents:[{id:"tour-description",isCellContainer:!0,componentid:"Cell",class:"DescriptionAndTermConditions",subComponents:[{id:"tour-description",componentid:"DescriptionCell",dataKey:{textKey:"tournamentdescription",key:"tournamentdescription",source:"cms"},class:" "},{id:"tour-tm",componentid:"TermsAndConditionsCell",class:" "}]},{id:"leaderboard",componentid:"LeaderboardCell",class:"",config:{firstrow:"true"}}]},{id:"description",componentid:"TitleTextCell",dataKey:{textKey:"text",key:"description",source:"api"},class:" "}]}]},default:{id:"tournamentLayout",rows:[{id:"row1",type:"widget",style:{height:"50px"},cols:[{id:"topBackButton",componentid:"BackButtonCell"},{id:"left-thumbnail",class:"LeftSection",isCellContainer:!0,componentid:"Cell",subComponents:[{id:"thumbnailImg",componentid:"ThumbnailCell",class:" ",subComponents:[{id:"status",componentid:"StatusTag",class:"Tag"},{id:"userEnrolled",componentid:"UserEnrollTag",class:"Tag"}]},{id:"detailInfo",class:" DetailInfo",componentid:"Cell",isCellContainer:!0,subComponents:[{id:"title",componentid:"TitleCell",class:" "},{id:"startdate",componentid:"StartDateCell",class:" "},{id:"scoreCriteria",componentid:"ScoreCriteriaCell",class:" "},{id:"seeGamesLink",componentid:"SeeGamesLine",class:" "},{id:"prizeImg",componentid:"PrizesCell",class:" ",config:{expandAll:!1,listType:1,maxCol:3,rowPerCol:7}},{id:"thumbnailDuration",componentid:"DurationCell",class:" "},{id:"joinButton",componentid:"JoinButtonCell",class:" "},{id:"gamesLine",componentid:"GamesCell",class:" "}]},{id:"tour-description",isCellContainer:!0,componentid:"Cell",class:"DescriptionAndTermConditions ",subComponents:[{id:"tour-description",componentid:"DescriptionCell",dataKey:{textKey:"tournamentdescription",key:"tournamentdescription",source:"cms"},class:" "},{id:"tour-tm",componentid:"TermsAndConditionsCell",class:" "},{id:"description",componentid:"TitleTextCell",dataKey:{textKey:"text",key:"description",source:"api"},class:" "}]}]},{id:"tm-leaderboard",isCellContainer:!0,componentid:"Cell",class:"RightSection",subComponents:[{id:"leaderboard",componentid:"LeaderboardCell"}]}]}]}},Am=(t,e)=>{let r=t.componentid,n={},i=Zl[r].attributes||[];if(t.dataKey){let a=t.dataKey;return a.source=="api"?n[a.textKey]=e.tournamentData?e.tournamentData[a.key]:"":a.source=="cms"&&(n[a.textKey]=e.cmsData[a.key]||null),n.titlekey=a.key,n}return i.forEach(a=>{let s=e.tournamentData||{},o=e.ctrlProperties||{};s.hasOwnProperty(a)?n[a]=s[a]:n[a]=o[a]||e.pageDefaultParams[a]}),n},eo=(t,e)=>{let r=t.rows,n=!e.tournamentData,i=a=>{!a||!a.length||a.forEach(s=>{if(s.class||(s.class=""),s.isSlotCell){s.parts=`Slots ${s.componentid} ${s.id}`,s.cellClass=`Cells Slots ${s.class} ${s.id}`;return}s.isCellContainer?(s.parts=`BoxCells ${s.componentid} ${s.id}`,s.cellClass=`Cells BoxCells ${s.class} ${s.id}`):(s.parts=`BizCells ${s.componentid} ${s.id}`,s.cellClass=`Cells BizCells ${s.class} ${s.componentid} ${s.id}`,s.componentAttrs=Am(s,e),s.componentAttrs.isloading=n,s.config&&(s.componentAttrs.cellsetting=s.config)),s.component=Zl[s.componentid].cellBox,s.component.isloading=n,i(s.subComponents)})};return r.forEach(a=>{i(a.cols)}),console.log("Start parse layout...Done"),t};class Fm{transfer(e){return{id:e.id,tourid:e.id,title:e.nameOrTitle||"",thumbnail:e.thumbnail,state:e.state,status:e.state,startdate:e.startTime,enddate:e.endTime,scorecriteria:e.scoreCriteria,minbetcount:e.minBetCount,userenrolled:e.playerEnrolled||!1,gameurl:e.termsUrl||"#",prizes:e.prizes,games:e.games,description:e.description,termsurl:e.termsUrl,bonuscode:e.wallets&&e.wallets.length>=1?e.wallets[0].code:null}}getEmptyTournament(e){return{id:e,tourid:e,title:"",thumbnail:"",state:"",status:null,startdate:null,enddate:null,scorecriteria:null,minbetcount:null,userenrolled:null,gameurl:"#",prizes:[],games:[],description:null,termsurl:null,bonuscode:null}}}const zm={en:{tournamentsPage:{loading:"Loading, please wait ...",back:"Back",previous:"Previous",next:"Next",scheduled:"Scheduled",ongoing:"Ongoing",finished:"Finished",mostRounds:"MostRounds",activePeriod:"From {startdate} Till {enddate}",forwardCasino:"See included casino games",forwardSports:"See included sports",forwardMyTournaments:"See My Tournaments",leaderBoard:"LeaderBoard",rules:"Rules",games:"Games",unlimited:"unlimited",participantingGames:"Participanting games"}},hr:{tournamentsPage:{loading:"Učitavanje, molimo pričekajte ...",back:"Natrag",previous:"Prethodno",next:"Sljedeće",scheduled:"Planirano",ongoing:"U tijeku",finished:"Završeno",mostRounds:"Najviše krugova",activePeriod:"Od {startdate} Do {enddate}",forwardCasino:"Pogledajte uključene casino igre",forwardSports:"Pogledajte uključene sportove",forwardMyTournaments:"Pogledajte Moje turnire",leaderBoard:"Poredak",rules:"Pravila",games:"Igre",unlimited:"neograničeno",participantingGames:"Igre u kojima sudjelujete"}},"zh-hk":{tournamentsPage:{loading:"加載請稍候 ...",back:"後退",previous:"以前的",next:"下一個",scheduled:"預定的",ongoing:"進行中",finished:"完成的",mostRounds:"大多數回合",activePeriod:"從 {startdate} 到 {enddate}",forwardCasino:"查看包含的賭場遊戲",forwardSports:"查看包含的運動",forwardMyTournaments:"查看我的比賽s",leaderBoard:"排行榜",rules:"規則",games:"遊戲",unlimited:"無限",participantingGames:"Participanting games"}},fr:{tournamentsPage:{loading:"Chargement,veuillez patienter ...",back:"Retour",previous:"Précedent",next:"Suivant",scheduled:"Programmé",ongoing:"En cours",finished:"Fini",mostRounds:"De",activePeriod:"De la {startdate} à la {enddate}",forwardCasino:"Voir les jeux de casino inclus",forwardSports:"Voir les sports inclus",forwardMyTournaments:"Voir mes tournois",leaderBoard:"Tableau des leaders",rules:"Règles",games:"Jeux",unlimited:"Illimité",participantingGames:"Participanting games"}},ro:{tournamentsPage:{loading:"Se încarcă ...",back:"Înapoi",previous:"Anterior",next:"Următorul",scheduled:"Programat",ongoing:"În desfășurare",finished:"Finalizat",mostRounds:"Cele mai multe runde",activePeriod:"De la {startdate} până la {enddate}",forwardCasino:"Vezi jocurile de cazino incluse",forwardSports:"Vezi sporturile incluse",forwardMyTournaments:"Vezi turneele mele",leaderBoard:"Clasament",rules:"Reguli",games:"Jocuri",unlimited:"nelimitat",participantingGames:"Jocuri participante"}},tr:{tournamentsPage:{loading:"Yükleniyor, lütfen bekleyin…",back:"Geri",previous:"Önceki",next:"Sonraki",scheduled:"Planlanmış",ongoing:"Devam Eden",finished:"Sona Ermiş",mostRounds:"MostRounds",activePeriod:"Başlangıç {startdate} Bitiş {enddate}",forwardCasino:"Turnuvaya katılan oyunlar",forwardSports:"See included sports",forwardMyTournaments:"See My Tournaments",leaderBoard:"Lider Tablosu",rules:"Kurallar",games:"Oyunlar",unlimited:"limitsiz",participantingGames:"Participanting games"}},el:{tournamentsPage:{loading:"Φορτώνει, παρακαλούμε περιμένετε…",back:"Πίσω",previous:"Προηγούμενο",next:"Επόμενο",scheduled:"Προγραμματισμένα",ongoing:"Τρέχοντα",finished:"Ολοκληρωμένα",mostRounds:"MostRounds",activePeriod:"From {startdate} till {enddate}",forwardCasino:"See included casino games",forwardSports:"See included sports",forwardMyTournaments:"See My Tournaments",leaderBoard:"LeaderBoard",rules:"Rules",games:"Games",unlimited:"unlimited",participantingGames:"Participanting games"}},es:{tournamentsPage:{loading:"cargando, por favor espere…",back:"Volver",previous:"Anterior",next:"Siguiente",scheduled:"Programado",ongoing:"En marcha",finished:"Terminado",mostRounds:"LaMayoríaDeLasRondas",activePeriod:"Desde {startdate} hasta {enddate}",forwardCasino:"Vea los juegos de casino incluidos",forwardSports:"Vea los deportes incluidos",forwardMyTournaments:"Vea Mis Torneos",leaderBoard:"Marcador",rules:"Reglas",games:"Juegos",unlimited:"sin límite",participantingGames:"Participanting games"}},hu:{tournamentsPage:{loading:"Betöltés, kérjük várjon...",back:"Vissza",previous:"Előző",next:"Következő",scheduled:"Ütemezés",ongoing:"Folyamatban lévő",finished:"Befejezett",mostRounds:"Legtöbb forduló",activePeriod:"{startdate} -tól {enddate} -ig",forwardCasino:"Résztvevő kaszinójátékok mutatása",forwardSports:"Résztvevő sportok mutatása",forwardMyTournaments:"Versenyeim mutatása",leaderBoard:"Ranglista",rules:"Szabályok",games:"Játékok",unlimited:"Korlátlan",participantingGames:"Participanting games"}},pt:{tournamentsPage:{loading:"Carregando, por favor espere ...",back:"Voltar",previous:"Anterior",next:"Próximo",scheduled:"Agendado",ongoing:"Em progresso",finished:"Finalizado",mostRounds:"Mais Rodadas",activePeriod:"De {startdate} Até {enddate}",forwardCasino:"Ver jogos de cassino incluídos",forwardSports:"Ver esportes incluídos",forwardMyTournaments:"Ver Meus Torneios",leaderBoard:"Tabela de Líederes",rules:"Regras",games:"Jogos",unlimited:"Ilimitado",participantingGames:"Participanting games"}}},Om={en:{tournamentsDuration:{finished:"Finished",starting:"Starting in ",left:"left",minutes:"minutes",hours:"hours",days:"days"}},hr:{tournamentsDuration:{finished:"Završeno",starting:"Počinje za ",left:"preostalo",minutes:"minute",hours:"sati",days:"dana"}},"zh-hk":{tournamentsDuration:{finished:"完成的",starting:"開始於",left:"剩下",minutes:"分鐘",hours:"小時",days:"天"}},fr:{tournamentsDuration:{finished:"Fini",starting:"Début dans ",left:"restant",minutes:"minutes",hours:"heures",days:"jours"}},ro:{tournamentsDuration:{finished:"Finalizat",starting:"Începe în",left:"rămase",minutes:"minute",hours:"ore",days:"zile"}},tr:{tournamentsDuration:{finished:"Sona ermiş",starting:"Başlamasına ",left:"kaldı",minutes:"dakika",hours:"saat",days:"gün"}},el:{tournamentsDuration:{finished:"Ολοκληρωμένα",starting:"Αρχίζει σε ",left:"απομένουν",minutes:"λεπτά",hours:"ώρες",days:"ημέρες"}},es:{tournamentsDuration:{finished:"Terminado",starting:"A partir de ",left:"queda",minutes:"minutos",hours:"horas",days:"días"}},hu:{tournamentsDuration:{finished:"Befejezve",starting:"Kezdésig",left:"bal",minutes:"perc",hours:"óra",days:"nap"}},pt:{tournamentsDuration:{finished:"Finalizado",starting:"Começando em",left:"Abandonou",minutes:"Minutos",hours:"Horas",days:"Dias"}}},Bm={en:{gamesSlider:{playNow:"Play now",participantingGames:"Participanting games"}},hr:{gamesSlider:{playNow:"Igraj sada",participantingGames:"Igre u kojima sudjelujete"}},"zh-hk":{gamesSlider:{playNow:"现在播放",participantingGames:"Participanting games"}},fr:{gamesSlider:{playNow:"Joue maintenant",participantingGames:"Participanting games"}},ro:{gamesSlider:{playNow:"Joaca acum",participantingGames:"Participanting games"}},tr:{gamesSlider:{playNow:"Şimdi oyna",participantingGames:"Participanting games"}},el:{gamesSlider:{playNow:"Παίξε τώρα",participantingGames:"Participanting games"}},es:{gamesSlider:{playNow:"Reproducir ahora",participantingGames:"Participanting games"}},pt:{gamesSlider:{playNow:"Jogue agora",participantingGames:"Participanting games"}}},Nm={en:{tournamentsThController:{login:"Log in",register:"Register",details:"Details",enrolled:"Enrolled",join:"Join",joined:"Joined",joinerror:"An error occurred while registering in the tournament, please try again."}},hr:{tournamentsThController:{login:"Prijava",register:"Registracija",details:"Detalji",enrolled:"Upisan",join:"Pridruži se",joinerror:"Došlo je do pogreške prilikom registracije na turnir, molimo pokušajte ponovno."}},"zh-hk":{tournamentsThController:{login:"登錄",register:"登記",details:"細節",enrolled:"已註冊",join:"加入",joinerror:"加入錦標賽時出錯,請重試"}},fr:{tournamentsThController:{login:"Connexion",register:"Enregistre",details:"Détails",enrolled:"Inscrits",join:"Rejoignez",joinerror:"Une erreur s'est produite lors de l'inscription au tournoi - "}},ro:{tournamentsThController:{joined:"Alăturat",login:"Autentificare",register:"Înregistrare",details:"Detalii",enrolled:"Înscris",join:"Participă",joinerror:"A apărut o eroare la înregistrarea în turneu, te rugăm să încerci din nou."}},tr:{tournamentsThController:{login:"Giriş",register:"Kayıt Ol",details:"Detaylar",enrolled:"Katıldın",join:"Katıl",joinerror:"Turnuvaya katılım ile ilgili bir hata oluştu - "}},el:{tournamentsThController:{login:"Είσοδος",register:"Εγγραφή",details:"Λεπτομέρειες",enrolled:"Εγγεγραμμένος",join:"Συμμετοχή",joinerror:"Παρουσιάστηκε σφάλμα κατά τη διαδικασία εγγραφής στο τουρνουά, παρακαλούμε δοκιμάστε ξανά."}},es:{tournamentsThController:{login:"Entrar",register:"Regístrese en",details:"Detalles",enrolled:"Inscrito",join:"Únase",joinerror:"Se ha producido un error al registrarse en el torneo, inténtelo de nuevo."}},hu:{tournamentsThController:{login:"Bejelentkezés",register:"Regisztráció",details:"Adatok",enrolled:"Feliratkozott",join:"Csatlakozás",joinerror:"Hiba történt a versenyre való regisztráció során, kérjük próbálja újra."}},pt:{tournamentsThController:{login:"Entrar",register:"Registro",details:"Detalhes",enrolled:"Inscrito",join:"Junte-se",joinerror:"Ocorreu um erro ao entrar no torneio -"}}},Hm={en:{tournamentsTable:{leaderboard:"Leaderboard",score:"Score",betcounts:"Bet Count",winstakeratio:"WinstakeRatio",qualified:"Qualified",nowinners:"No winners for the time being. Be one of them!",Rank:"Rank",Player:"Player",Points:"Points",Prize:"Prize",UnqualifiedTips:"The minimum number of bets has not been reached. Check tournament rules.",me:"Me"}},hr:{tournamentsTable:{leaderboard:"Poredak",score:"Rezultat",betcounts:"Broj opklada",winstakeratio:"Omjer dobitka po ulogu",qualified:"Kvalificiran",nowinners:"Za sada nema pobjednika. Budi jedan od njih!",Rank:"Poredak",Player:"Igrač",Points:"Bodovi",Prize:"Nagrada",UnqualifiedTips:"Minimalni broj opklada nije dosegnut. Provjerite pravila turnira.",me:"Ja"}},"zh-hk":{tournamentsTable:{leaderboard:"排行榜",score:"分數",betcounts:"投注次數",winstakeratio:"勝率",qualified:"合格的",nowinners:"暫時沒有贏家。 成為他們中的一員!",Rank:"秩",Player:"播放器",Points:"積分",Prize:"獎",UnqualifiedTips:"未达到最低投注数。检查比赛规则。",me:"我"}},fr:{tournamentsTable:{leaderboard:"Tableau des leaders",score:"Score",betcounts:"Le pari compte",winstakeratio:"Indice du gain d'une mise",qualified:"Qualifié",nowinners:"Aucun gagnant pour l'instant, soyez l'un d'entre eux",Rank:"Rang",Player:"Joueur",Points:"Points",Prize:"Prix",UnqualifiedTips:"Le nombre de mises minimum n'est pas terminé. Vérifiez les règles.",me:"Me"}},ro:{tournamentsTable:{leaderboard:"Clasament",score:"Scor",betcounts:"Număr Pariuri",winstakeratio:"Raport de câștig",qualified:"Calificat",nowinners:"Nu există câștigători pentru moment. Fii unul dintre ei!",Rank:"Clasament",Player:"Jucător",Points:"Puncte",Prize:"Premiu",UnqualifiedTips:"Numărul minim de pariuri nu a fost atins. Verificați regulile.",me:"Eu"}},tr:{tournamentsTable:{leaderboard:"Liderlik Tablosu",score:"Skor",betcounts:"Bahis Sayısı",winstakeratio:"Maksimum Kazanç / Bahis Oranı",qualified:"Tur atlamış",nowinners:"Kazanan yok. Kazananlardan birisi ol!",Rank:"Sıra",Player:"Oyuncu",Points:"Puan",Prize:"Ödül",UnqualifiedTips:"Minimum bahis sayısına ulaşılmadı. Turnuva kurallarını kontrol ediniz.",me:"Ben"}},el:{tournamentsTable:{leaderboard:"Βαθμολογία",score:"Σκορ",betcounts:"Αριθμός Πονταρισμάτων",winstakeratio:"Μέγιστος λόγος πονταρίσματος κερδών",qualified:"Προκρίθηκε",nowinners:"Δεν υπάρχουν νικητές ακόμα.",Rank:"Κατάταξη",Player:"Όνομα",Points:"Πόντοι",Prize:"Έπαθλο",UnqualifiedTips:"Ο ελάχιστος αριθμός στοιχημάτων δεν έχει επιτευχθεί. Ελέγξτε τους κανόνες του τουρνουά.",me:"Εγώ"}},es:{tournamentsTable:{leaderboard:"Marcador",score:"Puntuación",betcounts:"Apuesta cuenta",winstakeratio:"RatioDeGanancia",qualified:"Calificado",nowinners:"No hay ganadores por el momento. ¡Sé uno de ellos!",Rank:"Rango",Player:"Jugador",Points:"Puntos",Prize:"Premio",UnqualifiedTips:"No se ha completado el recuento mínimo de apuestas. Compruebe las reglas.",me:"Yo"}},hu:{tournamentsTable:{leaderboard:"Ranglista",score:"Pontszám",betcounts:"Fogadás beleszámít",winstakeratio:"WinstakeRatio",qualified:"Kvalifikált",nowinners:"Még nincs nyertes. Legyen Ön az egyik!",Rank:"Rangsor",Player:"Játékos",Points:"Pontszám",Prize:"Nyeremény",UnqualifiedTips:"Minimális tét nincs elérve. Ellenőrizze a szabályokat.",me:"Én"}},pt:{tournamentsTable:{leaderboard:"Entre os melhores",score:"Pontuação",betcounts:"Contagens de Apostas",winstakeratio:"Rácio de Vitórias",qualified:"Qualificado",nowinners:"Sem vencedores por enquanto. Seja um deles!",Rank:"Classificação",Player:"Jogador",Points:"Pontos",Prize:"Prêmio",UnqualifiedTips:"Contagem mínima de apostas não concluída. Confira Regras.",me:"Me"}}},Um={en:{tournamentsPrizes:{prizes:"Prizes",noprizes:"No available prizes",place:"place"}},hr:{tournamentsPrizes:{prizes:"Nagrade",noprizes:"Nema dostupnih nagrada",place:"mjesto"}},"zh-hk":{tournamentsPrizes:{prizes:"獎品",noprizes:"沒有可用的獎品",place:"place"}},fr:{tournamentsPrizes:{prizes:"Prix",noprizes:"Aucun prix disponible",place:"place"}},ro:{tournamentsPrizes:{prizes:"Premii",noprizes:"Nu sunt disponibile premii",place:"poziție"}},tr:{tournamentsPrizes:{prizes:"Ödüller",noprizes:"Geçerli ödül yok",place:"Sıra"}},el:{tournamentsPrizes:{prizes:"Έπαθλα",noprizes:"Μη διαθέσιμα έπαθλα",place:"θέση"}},es:{tournamentsPrizes:{prizes:"Premios",noprizes:"No hay premios disponibles",place:"posición"}},hu:{tournamentsPrizes:{prizes:"Nyeremények",noprizes:"Nincs elérhető nyeremény",place:"helyezés"}},pt:{tournamentsPrizes:{prizes:"Prêmios",noprizes:"Não há prêmios disponíveis",place:"place"}}},Im={en:{tournamentsThumbnail:{enrolled:"Enrolled",scoreCriteria:"Score Criteria",minbet:"min bet count",seegames:"You can see the games",here:"here",scheduled:"Scheduled",ongoing:"Ongoing",finished:"Finished",startingAt:"Starting at:",startedAt:"Started at:",startingAtWithTime:"Starts {startTime}",startedAtWithTime:"Started {startTime}",mostRounds:"Most Rounds",betCount:"Number of Bets",maxWinStakeRatio:"Max Win per Stake",winStakeRatio:"Total Win per Stake",January:"January",February:"February",March:"March",April:"April",May:"May",June:"June",July:"July",August:"August",September:"September",October:"October",November:"November",December:"December"}},hr:{tournamentsThumbnail:{enrolled:"Upisan",scoreCriteria:"Kriterij rezultata",minbet:"Minimalan broj opklada",seegames:"Možete vidjeti igre",here:"ovdje",scheduled:"Planirano",ongoing:"U tijeku",finished:"Završeno",startingAt:"Počinje u:",startedAt:"Počelo u:",startingAtWithTime:"Počinje {startTime}",startedAtWithTime:"Počelo {startTime}",mostRounds:"Najviše krugova",betCount:"Broj opklada",maxWinStakeRatio:"Maksimalni dobitak po ulogu",winStakeRatio:"Ukupni dobitak po ulogu",January:"Siječanj",February:"Veljača",March:"Ožujak",April:"Travanj",May:"Svibanj",June:"Lipanj",July:"Srpanj",August:"Kolovoz",September:"Rujan",October:"Listopad",November:"Studeni",December:"Prosinac"}},"zh-hk":{tournamentsThumbnail:{enrolled:"已註冊",scoreCriteria:"評分標準",minbet:"最小投注數:",seegames:"你可以看比賽",here:"這裡",scheduled:"預定的",ongoing:"進行中",finished:"完成的",startingAt:"開始於",startedAt:"大多數回合",mostRounds:"投注數",betCount:"投注计数",maxWinStakeRatio:"最大勝率",winStakeRatio:"勝率",January:"一月",February:"二月",March:"行进",April:"四月",May:"可能",June:"六月",July:"七月",August:"八月",September:"九月",October:"十月",November:"十一月",December:"十二月"}},fr:{tournamentsThumbnail:{enrolled:"Inscrits",scoreCriteria:"Critères de notation",minbet:"nombre de paris minimum",seegames:"Vous pouvez voir les jeux",here:"ici",scheduled:"Programmé",ongoing:"En cours",finished:"Fini",startingAt:"À partir de:",startedAt:"Commencé à:",mostRounds:"Le plus grand nombre de tours",betCount:"Nombre de paris",maxWinStakeRatio:"Indice maximum du gain d'une mise",winStakeRatio:"Indice du gain d'une mise",January:"January",February:"February",March:"March",April:"April",May:"May",June:"June",July:"July",August:"August",September:"September",October:"October",November:"November",December:"December"}},ro:{tournamentsThumbnail:{enrolled:"Înscris",scoreCriteria:"Criterii de punctaj",minbet:"număr minim de pariuri",seegames:"Vezi jocurile",here:"aici",scheduled:"Programat",ongoing:"În desfășurare",finished:"Finalizat",startingAt:"Începând de la",startedAt:"A inceput la:",mostRounds:"Cele mai multe runde",betCount:"Număr de pariuri",maxWinStakeRatio:"Pondere maximă a mizei din câștig",winStakeRatio:"Câștig Total per Miză",January:"Ianuarie",February:"Februarie",March:"Martie",April:"Aprilie",May:"Mai",June:"Iunie",July:"Iulie",August:"August",September:"Septembrie",October:"Octombrie",November:"Noiembrie",December:"Decembrie"}},tr:{tournamentsThumbnail:{enrolled:"Katıldın",scoreCriteria:"Skor kriteri",minbet:"en düşük bahis sayısı",seegames:"Turnuvadaki oyunları görmek için",here:"tıklayın",scheduled:"Planlanmış",ongoing:"Devam Eden",finished:"Sona Ermiş",startingAt:"Başlangıç saati:",startedAt:"Başlangıç saati:",mostRounds:"ÇoğuRounds",betCount:"Oynanan Tur Sayısı",maxWinStakeRatio:"Maksimum Kazanç / Bahis Oranı",winStakeRatio:"Kazanç / Bahis Oranı",January:"Ocak",February:"Şubat",March:"Mart",April:"Nisan",May:"Mayıs",June:"Haziran",July:"Temmuz",August:"Ağustos",September:"Eylül",October:"Ekim",November:"Kasım",December:"Aralık"}},el:{tournamentsThumbnail:{enrolled:"Εγγεγραμμένος",scoreCriteria:"Κριτήρια Σκορ",minbet:"Ελάχιστος αριθμός πονταρισμάτων",seegames:"Μπορείς να δεις τα παιχνίδια",here:"εδώ",all:"Όλα",scheduled:"Προγραμματισμένα",ongoing:"Τρέχοντα",finished:"Ολοκληρωμένα",startingAt:"Αρχίζει στις:",startedAt:"Άρχισε στις:",startingAtWithTime:"Αρχίζει στις {startTime}",startedAtWithTime:"Άρχισε στις {startTime}",mostRounds:"Οι περισσότεροι γύροι",betCount:"Οι περισσότεροι γύροι",maxWinStakeRatio:"Μεγαλύτερο Κέρδος άνα Ποντάρισμα",winStakeRatio:"Συνολική Αναλογία Κερδών άνα Ποντάρισμα",January:"Ιανουαρίου",February:"Φεβρουαρίου",March:"Μαρτίου",April:"Απριλίου",May:"Μαΐου",June:"Ιουνίου",July:"Ιουλίου",August:"Αυγούστου",September:"Σεπτεμβρίου",October:"Οκτωβρίου",November:"Νοεμβρίου",December:"Δεκεμβρίου"}},es:{tournamentsThumbnail:{enrolled:"Inscrito",scoreCriteria:"Criterios de puntuación",minbet:"la apuesta mínima cuenta",seegames:"Puedes ver los juegos",here:"aquí",scheduled:"Programado",ongoing:"En marcha",finished:"Terminado",startingAt:"Desde",startedAt:"Empezó el:",mostRounds:"LaMayoríaDeLasRondas",betCount:"Recuento De Apuestas",maxWinStakeRatio:"Ratio De Ganancia Máxima",winStakeRatio:"Ratio De Ganancia",January:"de enero",February:"de febrero",March:"de marzo",April:"de abril",May:"de mayo",June:"de junio",July:"de julio",August:"de agosto",September:"de septiembre",October:"de octubre",November:"de noviembre",December:"de diciembre"}},pt:{tournamentsThumbnail:{enrolled:"Inscrito",scoreCriteria:"Critérios de pontuação",minbet:"Contagens de aposta mínima",seegames:"Você pode ver os jogos",here:"Aqui",scheduled:"Agendado",ongoing:"Em progresso",finished:"Finalizado",startingAt:"Começando às:",startedAt:"Começou às:",mostRounds:"Mais rodadas",betCount:"Contagem de Apostas",maxWinStakeRatio:"Rácio máximo de vitórias",winStakeRatio:"Rácio de Vitórias",January:"January",February:"February",March:"March",April:"April",May:"May",June:"June",July:"July",August:"August",September:"September",October:"October",November:"November",December:"December"}},hu:{tournamentsThumbnail:{enrolled:"Feliratkozott",scoreCriteria:"Pontozási kritériumok",minbet:"Minimális tét",seegames:"Játékok megnézése",here:"itt",scheduled:"Ütemezés",ongoing:"Folyamatban lévő",finished:"Befejezett",startingAt:"Kezdődik",startedAt:"Started at:",mostRounds:"Legtöbb kör",betCount:"Számított tét",maxWinStakeRatio:"Maximális nyeremény tétenként",winStakeRatio:"Összes nyeremény tétenként",January:"January",February:"February",March:"March",April:"April",May:"May",June:"June",July:"July",August:"August",September:"September",October:"October",November:"November",December:"December"}}},jm=[zm,Om,Bm,Nm,Hm,Um,Im];function Gm(t,e){if(t){const r=document.createElement("style");r.innerHTML=e,t.appendChild(r)}}function Ym(t,e){if(!t||!e)return;const r=new URL(e);fetch(r.href).then(n=>n.text()).then(n=>{const i=document.createElement("style");i.innerHTML=n,t&&t.appendChild(i)}).catch(n=>{console.error("There was an error while trying to load client styling from URL",n)})}function Wm(t,e,r){if(window.emMessageBus){const n=document.createElement("style");window.emMessageBus.subscribe(e,i=>{n.innerHTML=i,t&&t.appendChild(n)})}}function Vm(t){let e;return{c(){e=b("div")},m(r,n){C(r,e,n),t[7](e)},p:J,i:J,o:J,d(r){r&&y(e),t[7](null)}}}function qm(t,e,r){let{translationurl:n=""}=e,{clientstyling:i=""}=e,{clientstylingurl:a=""}=e,{lang:s=""}=e,{mbsource:o}=e,l;const u=()=>Wr(this,null,function*(){try{let _=yield fetch(n).then(g=>g.json());Object.keys(_).forEach(g=>{Object.keys(_[g]).forEach(P=>{qa(g,{[P]:_[g][P]})})})}catch(_){console.error(_)}}),f=()=>{bt(s)},d=()=>{jm.forEach(_=>{Object.keys(_).forEach(g=>{qa(g,_[g])})}),rr({fallbackLocale:"en",initialLocale:"en"})};let h=!1;er(()=>{d(),r(6,h=!0)});function p(_){rn[_?"unshift":"push"](()=>{l=_,r(0,l)})}return t.$$set=_=>{"translationurl"in _&&r(1,n=_.translationurl),"clientstyling"in _&&r(2,i=_.clientstyling),"clientstylingurl"in _&&r(3,a=_.clientstylingurl),"lang"in _&&r(4,s=_.lang),"mbsource"in _&&r(5,o=_.mbsource)},t.$$.update=()=>{t.$$.dirty&80&&h&&s&&f(),t.$$.dirty&66&&h&&n&&u(),t.$$.dirty&5&&i&&l&&Gm(l,i),t.$$.dirty&9&&a&&l&&Ym(l,a),t.$$.dirty&33&&o&&l&&Wm(l,`${o}.Style`)},[l,n,i,a,s,o,h,p]}class Xl extends qe{constructor(e){super(),We(this,e,qm,Vm,je,{translationurl:1,clientstyling:2,clientstylingurl:3,lang:4,mbsource:5})}get translationurl(){return this.$$.ctx[1]}set translationurl(e){this.$$set({translationurl:e}),x()}get clientstyling(){return this.$$.ctx[2]}set clientstyling(e){this.$$set({clientstyling:e}),x()}get clientstylingurl(){return this.$$.ctx[3]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),x()}get lang(){return this.$$.ctx[4]}set lang(e){this.$$set({lang:e}),x()}get mbsource(){return this.$$.ctx[5]}set mbsource(e){this.$$set({mbsource:e}),x()}}customElements.define("customize-resource-loader",Ve(Xl,{translationurl:{},clientstyling:{},clientstylingurl:{},lang:{},mbsource:{}},[],[],!0));function Jm(t){_r(t,"svelte-19ggp6h",`:host{font-size:12px;font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}ui-skeleton .Text:last-child{width:auto}ui-skeleton .SkeletonContainer .Skeleton{width:100%}ui-skeleton .Skeleton{width:100%;height:100%}.TournamentPrizes.Loading{min-height:60px;margin:0}.TournamentsGamesSlider.Loading .main{width:100%}.TournamentsGamesSlider.Loading .main .Skeleton{height:80px}.BizCells .Text,.TitleCell .Title{margin:2px;height:25px;min-height:25px}@container prizes-cell (max-width: 500px){.layout-wm .PrizesCell div.Collapse div.Prizes .ColPrizes{width:100%;flex:100%}}@container prizes-cell (width > 500px) and (width < 900px){.layout-wm .PrizesCell div.Collapse div.Prizes{width:100%;flex-direction:row}.layout-wm .PrizesCell div.Collapse div.Prizes .ColPrizes{flex:47%;max-width:calc(50% - 8px)}.layout-wm .PrizesCell div.Collapse div.Prizes .ColPrizes:nth-child(2n+1){margin-left:0}.layout-wm .PrizesCell div.Collapse div.Prizes .ColPrizes:nth-child(2n+2){margin-right:0}}@container prizes-cell (width >= 900px){.layout-wm .PrizesCell div.Collapse div.Prizes{width:100%;flex-direction:row}.layout-wm .PrizesCell div.Collapse div.Prizes .ColPrizes{flex:31.5%;max-width:calc(33% - 2px)}.layout-wm .PrizesCell div.Collapse div.Prizes .ColPrizes:nth-child(3n+1){margin-left:0}.layout-wm .PrizesCell div.Collapse div.Prizes .ColPrizes:nth-child(3n+2){margin:3px}.layout-wm .PrizesCell div.Collapse div.Prizes .ColPrizes:nth-child(3n+3){margin-right:0;margin-left:6px}}a{color:var(--emw--color-green, #48952a);text-decoration:underline;cursor:pointer}.casino-tournaments-customize-page-controller{background:var(--emw--color-black, #000000);color:var(--emw--color-white, #FFFFFF);display:flex;flex-direction:row;justify-content:space-between;flex-wrap:wrap;padding-top:15px}.MobileContainer{flex-wrap:nowrap;flex-direction:column;align-items:initial}.MobileContainer .Cells.RowContent{display:flex;flex-direction:column;width:100%}.row-70-center{margin:auto;width:70%}.Cells.RowContent{display:flex;flex-direction:row;width:100%}.BackButtonCell .TopButtons{display:inline-flex;flex-direction:column;font-size:10px}.BackButtonCell .BackButton{display:inline-flex;align-items:center;cursor:pointer}.BackButtonCell .BackButton .ButtonText{font-size:24px}.DurationCell .Remaining{text-align:center}.TitleCell .Title{font-size:18px;padding-bottom:10px;background-color:transparent}.SeeGamesLine .GamesAnchor{text-decoration:underline}.JoinButtonCell{display:flex;justify-content:center;gap:5px;flex-direction:column;align-items:center}.JoinButtonCell .ErrorText{color:red}.JoinButtonCell .spinner{width:40px;height:40px;x:0px;y:0px;viewBox:0 0 40 40}.JoinButtonCell .spinner .circle{fill:transparent;stroke:var(--emw--color-contrast, #07072A);stroke-width:4;stroke-linecap:round;stroke-dasharray:125.6;-webkit-transform-origin:20px 20px 0;-moz-transform-origin:20px 20px 0;-ms-transform-origin:20px 20px 0;-o-transform-origin:20px 20px 0;transform-origin:20px 20px 0;-webkit-animation:spinner 2s linear infinite;-moz-animation:spinner 2s linear infinite;-ms-animation:spinner 2s linear infinite;-o-animation:spinner 2s linear infinite;animation:spinner 2s linear infinite}@-webkit-keyframes spinner{0%{-webkit-transform:rotate(0deg);stroke-dashoffset:26.4}50%{-webkit-transform:rotate(720deg);stroke-dashoffset:125.6}100%{-webkit-transform:rotate(1080deg);stroke-dashoffset:26.4}}@-moz-keyframes spinner{0%{-moz-transform:rotate(0deg);stroke-dashoffset:26.4}50%{-moz-transform:rotate(720deg);stroke-dashoffset:125.6}100%{-moz-transform:rotate(1080deg);stroke-dashoffset:26.4}}@-ms-keyframes spinner{0%{-ms-transform:rotate(0deg);stroke-dashoffset:26.4}50%{-ms-transform:rotate(720deg);stroke-dashoffset:125.6}100%{-ms-transform:rotate(1080deg);stroke-dashoffset:26.4}}@-o-keyframes spinner{0%{-o-transform:rotate(0deg);stroke-dashoffset:26.4}50%{-o-transform:rotate(720deg);stroke-dashoffset:125.6}100%{-o-transform:rotate(1080deg);stroke-dashoffset:26.4}}@keyframes spinner{0%{transform:rotate(0deg);stroke-dashoffset:26.4}50%{transform:rotate(720deg);stroke-dashoffset:125.6}100%{transform:rotate(1080deg);stroke-dashoffset:26.4}}.Tag{position:absolute;top:15px;font-size:12px}.ThumbnailCell{position:relative}.ThumbnailCell .CardImg{height:300px;width:100%;background-image:url("https://breakthrough.org/wp-content/uploads/2018/10/default-placeholder-image.png");background-repeat:no-repeat;background-position:center;background-size:cover}.ThumbnailCell .CardImg.CardImgFinished{filter:grayscale(1)}.DetailInfo{display:flex;flex-direction:column;padding:8px;min-height:200px;border-radius:8px}.DetailInfo .TitleTextCell{font-size:19px}.PrizesCell .PrizeRank{display:flex;padding-right:3px}.PrizesCell .Prize .PrizeText{display:flex}.ScoreCriteriaCell{font-size:11px}.TournamentDuration .TournamentDates{display:flex;justify-content:space-between}.TournamentDuration .StartDate{font-size:11px;color:var(--emw--color-gray-300, #58586B)}.TournamentDuration .EndDate{font-size:11px;align-content:flex-end;color:var(--emw--color-gray-300, #58586B)}.TournamentDuration .ProgressBar{height:8px;background:var(--emw--color-white, #FFFFFF)}.TournamentDuration .ProgressBarInactive{margin:5px 20px 10px 20px;height:8px;background:var(--emw--color-gray-100, #E6E6E6)}.TournamentDuration .ProgressBarFill{background-color:var(--emw--color-green, #48952a);height:8px}.TournamentDuration .TournamentPrizesIconSection{display:inline-flex}.TournamentDuration .ProgressBarFillEnd{background-color:var(--emw--color-green, #48952a);height:8px}.TournamentDuration .ProgressBarFillStarting{background-color:var(--emw--color-gray-300, #58586B);height:8px}.TournamentDuration .Remaining,.TournamentDuration .Finished{text-align:right;text-transform:uppercase}.TournamentDuration .Finished{color:var(--emw--color-green, #48952a)}.GamesCell{width:100%}.GamesCell .TournamentsGamesSlider{background:var(--emw--color-contrast, #07072A);color:var(--emw--color-white, #FFFFFF);display:flex;justify-content:center;align-items:center}.GamesCell .SliderNavButton{background:var(--emw--color-contrast, #07072A);border:0px;width:25px;cursor:pointer}.GamesCell .SliderNavButton svg{width:20px}.GamesCell .SliderNavButton.disabled{color:var(--emw--color-gray-150, #828282)}.GamesCell main,.GamesCell .main{width:calc(100% - 50px);overflow:hidden}.GamesCell .items{display:flex;transition:transform 0.4s ease-in-out;transform:translateX(0px)}.GamesCell .item{min-width:119px;height:96px;margin:0 4px;background-color:var(--emw--color-secondary, #FD2839);color:white;display:flex;justify-content:center;align-items:center;font-weight:bold;font-size:10rem;user-select:none;overflow:hidden}.GamesCell .item .GameThumbnail{height:100%}.GamesCell .PlayNowButton{position:absolute;background:var(--emw--color-green, #48952a);display:block;box-sizing:border-box;padding:0.8rem 0.5rem;color:var(--emw--color-white, #FFFFFF);text-transform:uppercase;text-align:center;font-weight:600;font-size:0.7rem;cursor:pointer;transition:opacity 0.4s linear;opacity:0;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.GamesCell .itemHover{opacity:1}.GamesCell .items .item:first-child{margin-left:0}.GamesCell .items .item:last-child{margin-right:0}.TitleTextCell .Title,.DescriptionCell .Title{text-transform:uppercase}.TitleTextCell .DetailsCard,.DescriptionCell .DetailsCard{line-height:18px;border:1px solid var(--emw--color-contrast, #07072A);color:var(--emw--color-white, #FFFFFF);width:100%;margin:25px 0 25px 0}.TitleTextCell .DetailsTitle,.DescriptionCell .DetailsTitle{padding:0 20px;height:60px;display:flex;align-items:center;justify-content:space-between;background:var(--emw--color-contrast, #07072A)}.TitleTextCell .DetailsContent,.DescriptionCell .DetailsContent{overflow:auto;height:150px;padding:10px 10px 10px 20px;margin:10px 20px 10px 0}.TitleTextCell .sc::-webkit-scrollbar,.DescriptionCell .sc::-webkit-scrollbar{width:5px;height:5px}.TitleTextCell .sc::-webkit-scrollbar-track,.DescriptionCell .sc::-webkit-scrollbar-track{background-color:rgba(255, 255, 255, 0.1);border-radius:var(--emw--border-radius-medium, 10px)}.TitleTextCell .sc::-webkit-scrollbar-thumb,.DescriptionCell .sc::-webkit-scrollbar-thumb{background-color:var(--emw--color-white, #FFFFFF);border-radius:var(--emw--border-radius-medium, 10px)}.ExclamationMark{display:inline-block}.LeaderboardCell .LeaderboardContainer{background:var(--emw--color-contrast, #07072A);color:var(--emw--color-white, #FFFFFF);display:flex;width:100%;height:52px;align-items:center;justify-content:space-between;gap:20px}.LeaderboardCell .Leaderboard{width:100%;height:44px;display:flex;align-items:center;padding-left:20px}.LeaderboardCell .TableContent{width:100%;font-size:14px;margin-bottom:2px;border-bottom:solid 1px var(--emw--color-white, #FFFFFF)}.LeaderboardCell .TableContent.TableContentFirstRow{box-sizing:border-box;border:2px solid var(--emw--color-green, #48952a)}.LeaderboardCell .TableUser{background:var(--emw--table-bg, #282828);height:44px;display:flex;align-items:center;border-bottom:solid 1px var(--emw--table-border, #3a3a3a)}.LeaderboardCell .TableUser.TableHeadRow{background:var(--emw--table-header-bg, #1c1c1c);color:var(--emw--color-white, #fff)}.LeaderboardCell .TableUser.CurrentUserRow{box-sizing:border-box;background:var(--emw--table-currentuser-bg, #533a34)}.LeaderboardCell .TableUser.UnqualifiedRow{border-bottom:0}.LeaderboardCell .TableUserTooltips{display:flex;gap:4px;flex-direction:row;width:100%;padding:10px 0;background:var(--emw--table-currentuser-bg, #533a34);font-size:0.8rem;line-height:1.2}.LeaderboardCell .TooltipsRow{border:2px solid var(--emw--tooltips-border, #fecf00);border-top:0}.LeaderboardCell .TooltipsRow .LeftTableTd{padding:0 0 10px 0;font-size:12px;color:var(--emw--color-tooltips, #fecf00)}.LeaderboardCell .TableCell{padding:10px;flex:2;text-align:center}.LeaderboardCell .TableRank{flex:1 50px}.LeaderboardCell .TablePlayer{flex:5}.LeaderboardCell .TablePrize{flex:5}.LeaderboardCell .Qualified{color:var(--emw--highlight, #debb05)}.LeaderboardCell .ExclamationMark{vertical-align:text-top;width:14px;height:14px;background-size:105%}.LeaderboardCell .TableUserDetails{background:var(--emw--color-contrast, #07072A);display:flex;line-height:18px;align-items:center;text-align:center;justify-content:space-around;height:52px}.LeaderboardCell .TournamentsTable{width:100%;display:flex;justify-content:space-between;text-align:center;margin-top:10px}.LeaderboardCell .LeftTable{width:100%;border-collapse:collapse}.LeaderboardCell .LeftTable td{text-align:center}.LeaderboardCell .RightButton{cursor:pointer;background:var(--emw--color-contrast, #07072A);width:59px;height:70px;border:2px solid var(--emw--color-contrast, #0D0D4D)}.LeaderboardCell .RightButton.MobileClass{height:50px}.LeaderboardCell .FirstRow{outline:2px solid #1B9800}.LeaderboardCell .FirstRow.UnqualifiedRow{outline:0;border:2px solid var(--emw--tooltips-border, #fecf00);border-bottom:0}.LeaderboardCell .FirstRow.UnqualifiedRow td{border-bottom:0}.LeaderboardCell .FirstRow .RankCol{position:relative;width:max-content;display:inline}.LeaderboardCell .FirstRow .RankCol .ScoreChangeFlag{position:absolute;top:0px;right:-29px}.LeaderboardCell .FirstRow .RankCol .ScoreChangeFlag .Arrow.Up{color:#0cdc13}.LeaderboardCell .FirstRow .RankCol .ScoreChangeFlag .Arrow.Down{color:#FF4500}.LeaderboardCell .Show{display:inline-flex}.LeaderboardCell .Hidden{display:none}.LeaderboardCell .svg.Arrow.Up,.LeaderboardCell .svg.Arrow.Down{animation-name:twinkle;animation-duration:1s;animation-iteration-count:infinite;width:14px;height:14px}.LeaderboardCell .svg.Arrow.Up.Show,.LeaderboardCell .svg.Arrow.Down.Show{display:inline-flex}.LeaderboardCell .svg.Arrow.Up.Hidden,.LeaderboardCell .svg.Arrow.Down.Hidden{display:none}@keyframes twinkle{0%{opacity:0}25%{opacity:1}100%{opacity:0}}.LeaderboardCell .TournamentsTable .LeftTable{width:100%;border-spacing:0;position:relative;overflow:auto;margin-bottom:0.5rem}.LeaderboardCell .TournamentsTable .LeftTable .LeftTableTh{padding:0.8rem 1.25rem;height:30px;top:0;color:var(--emw--color-white, #FFFFFF)}.LeaderboardCell .TournamentsTable .LeftTable .LeftTableTd{margin:0;vertical-align:top;text-align:inherit;font-size:11px;max-width:20%}.LeaderboardCell .TournamentsTable .LeftTable .PrizeIcon{vertical-align:middle}.LeaderboardCell .TournamentsTable .LeftTable .LeftTableTd:first-child{left:0;top:auto;width:10rem}.LeaderboardCell .TournamentsTable .LeftTable .LeftTableTh_0{width:10%}.LeaderboardCell .TournamentsTable .LeftTable .LeftTableTh_1{width:15%}.LeaderboardCell svg{width:1.25rem;height:1.25rem;fill:rgba(0, 0, 0, 0.5);flex-shrink:0}.LeaderboardCell .flex{display:flex;align-items:center}.LeaderboardCell button{font-weight:bold;font-size:inherit;text-transform:capitalize;background-color:transparent;border:none;cursor:pointer;display:block;padding:0 1rem 0 0;background-size:0.75rem;background-repeat:no-repeat;background-position:center right;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%234f4f4f' d='M16.29 14.29L12 18.59l-4.29-4.3a1 1 0 00-1.42 1.42l5 5a1 1 0 001.42 0l5-5a1 1 0 00-1.42-1.42zM7.71 9.71L12 5.41l4.29 4.3a1 1 0 001.42 0 1 1 0 000-1.42l-5-5a1 1 0 00-1.42 0l-5 5a1 1 0 001.42 1.42z'/%3E%3C/svg%3E")}.LeaderboardCell .CollapseButton{display:flex;align-items:center;justify-content:center;width:100%;height:100%;background:var(--emw--color-contrast, #07072A);color:var(--emw--color-white, #FFFFFF)}.LeaderboardCell [data-sort=ASC],.LeaderboardCell [data-sort=DESC]{background-size:1rem;background-position:right -0.15rem center}.LeaderboardCell [data-sort=ASC]{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%234f4f4f' d='M11.29 11.46a1 1 0 001.42 0l3-3A1 1 0 1014.29 7L12 9.34 9.71 7a1 1 0 10-1.42 1.46zm3 1.08L12 14.84l-2.29-2.3A1 1 0 008.29 14l3 3a1 1 0 001.42 0l3-3a1 1 0 00-1.42-1.42z'/%3E%3C/svg%3E")}.LeaderboardCell [data-sort=DESC]{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%234f4f4f' d='M12.71 12.54a1 1 0 00-1.42 0l-3 3A1 1 0 009.71 17L12 14.66 14.29 17a1 1 0 001.42 0 1 1 0 000-1.42zm-3-1.08L12 9.16l2.29 2.3a1 1 0 001.42 0 1 1 0 000-1.42l-3-3a1 1 0 00-1.42 0l-3 3a1 1 0 001.42 1.42z'/%3E%3C/svg%3E")}.layout-default.MobileContainer .Cells.LeftSection{width:auto}.layout-default .Cells{line-height:18px}.layout-default .Cells.LeftSection{margin:10px;width:29%;border:solid 1px #30313c}.layout-default .BackButtonCell{width:100%}.layout-default .RightSection{flex:auto}.layout-default .Cells.ThumbnailCell{margin:0px}.layout-default .DetailInfo{padding:12px;height:auto}.layout-default .Tag{top:20px;min-height:30px}.layout-default .Tag .TagContent{padding:7px 10px;text-transform:uppercase;font-size:12px;background:var(--emw--color-black, #000000)}.layout-default .SeeGamesLine .GamesButtonWrapper{display:none}.layout-default .SeeGamesLine .GamesAnchor{color:var(--emw--color-green, #48952a)}.layout-default .StatusTag{right:20px}.layout-default .UserEnrollTag{left:15px}.layout-default .UserEnrollTag .Enrolled{color:var(--emw--color-gray-150, #828282)}.layout-default .TournamentDuration{font-size:10px}.layout-default .StartDateCell .Date{text-transform:uppercase}.layout-default .PrizesCell{padding:10px 0px 0px}.layout-default .PrizesCell .TournamentPrizes{font-size:11px;margin-left:20px;margin-right:20px;display:flex;gap:5px}.layout-default .PrizesCell .PrizesTitle{padding-top:5px}.layout-default .PrizesCell .Prizes,.layout-default .PrizesCell .ColPrizes{flex-wrap:wrap;display:flex;gap:10px;width:auto}.layout-default .PrizesCell .Prize{flex-grow:1;color:var(--emw--color-gray-300, #58586B)}.layout-default .PrizesCell .Prize .PrizeText{color:var(--emw--color-white, #FFFFFF)}.layout-default .Prize0 .PrizeRank,.layout-default .Prize1 .PrizeRank,.layout-default .Prize2 .PrizeRank{color:#FECF00}.layout-default .ScoreCriteriaCell .ScoreCriteria{font-size:12px}.layout-default .DurationCell{margin-bottom:25px;margin-top:0px}.layout-default .JoinButtonCell{margin-bottom:20px}.layout-default .JoinButtonCell .TournamentButtons{display:flex;justify-content:center;gap:20px;margin:0px;width:100%}.layout-default .JoinButtonCell .TournamentButtons button{cursor:pointer}.layout-default .JoinButtonCell .LoginButton{background:var(--emw--color-contrast, #07072A);width:50%;height:50px;border:solid var(--emw--color-white, #FFFFFF) 1px;text-align:center;color:var(--emw--color-white, #FFFFFF);text-transform:uppercase;font-size:15px}.layout-default .JoinButtonCell .LoginButton:hover{opacity:0.7}.layout-default .JoinButtonCell .RegisterButton{background:var(--emw--color-contrast, #07072A);width:50%;height:50px;text-align:center;color:var(--emw--color-green, #48952a);border:solid var(--emw--color-green, #48952a) 1px;text-transform:uppercase;font-size:14px}.layout-default .JoinButtonCell .RegisterButton:hover{opacity:0.7}.layout-default .JoinButtonCell .DetailsButton{background:var(--emw--color-contrast, #07072A);width:40%;height:50px;border:solid var(--emw--color-white, #FFFFFF) 1px;text-align:center;color:var(--emw--color-white, #FFFFFF);text-transform:uppercase;font-size:14px}.layout-default .JoinButtonCell .DetailsButton:hover{opacity:0.7}.layout-default .JoinButtonCell .DetailsLargeButton{background:var(--emw--color-contrast, #07072A);width:100%;height:50px;border:solid var(--emw--color-white, #FFFFFF) 1px;text-align:center;color:var(--emw--color-white, #FFFFFF);text-transform:uppercase;font-size:14px}.layout-default .JoinButtonCell .DetailsLargeButton:hover{opacity:0.7}.layout-default .JoinButtonCell .EnrolledButton{background:var(--emw--color-contrast, #07072A);width:60%;height:50px;text-align:center;color:var(--emw--color-green, #48952a);border:solid var(--emw--color-green, #48952a) 1px;text-transform:uppercase;font-size:14px;cursor:default}.layout-default .JoinButtonCell .JoinButton{background:var(--emw--color-green, #48952a);width:100%;height:50px;text-align:center;color:var(--emw--color-white, #FFFFFF);border:solid var(--emw--color-green, #48952a) 1px;text-transform:uppercase;display:flex;justify-content:center;align-items:center;gap:20px;font-size:14px}.layout-default .JoinButtonCell .JoinButton:hover{opacity:0.7}.layout-default .JoinButtonCell .JoinButton:disabled{cursor:default;opacity:0.7}.layout-default .JoinButtonCell .JoinButtonFullSize{width:100%}.layout-default .JoinButtonCell .ErrorText{margin:0 20px;color:red;font-size:14px;font-weight:bold}.layout-default .LeaderboardCell .Qualified{color:var(--emw--highlight, #debb05)}.layout-default .LeaderboardCell .TournamentsTable .LeftTableTh{padding:1.5rem 1.25rem;height:70px;background-color:var(--emw--color-contrast, #07072A);border-bottom:1px solid var(--emw--color-contrast, #0D0D4D);top:0}.layout-default .LeaderboardCell .TournamentsTable .LeftTable .LeftTableThead{border-bottom:0px none}.layout-default .LeaderboardCell .TournamentsTable .LeftTable .LeftTableTh{color:var(--emw--color-white, #FFFFFF)}.layout-default .LeaderboardCell .TournamentsTable .LeftTable .LeftTableTd{margin:0;padding:0.95rem;vertical-align:top;text-align:inherit;font-size:11px;max-width:20%;background-color:var(--emw--color-contrast, #07072A);border-bottom:1px solid var(--emw--color-contrast, #0D0D4D)}.layout-default .LeaderboardCell .TournamentsTable .LeftTable .LeftTableTh_0{width:10%}.layout-default .LeaderboardCell .TournamentsTable .LeftTable .LeftTableTh_1{width:15%}.layout-wm{background:var(--emw--color-black, #000000);color:var(--emw--color-white, #FFFFFF);display:flex;flex-direction:column}.layout-wm.MobileContainer .Cells.RowContent{flex-direction:column;width:100%}.layout-wm.MobileContainer .StartDateCell{left:35%}.layout-wm.MobileContainer .PrizesCell .Prizes{margin-bottom:8px}.layout-wm.MobileContainer .PrizesCell .Prizes .ColPrizes{margin:0px}.layout-wm.MobileContainer .TitleCell .Title{padding:10px}.layout-wm.MobileContainer .TournamentDuration .TournamentDates{margin-left:0px;margin-right:0px}.layout-wm.MobileContainer .PrizesCell .Prizes{gap:0px}.layout-wm .Cells{line-height:18px}.layout-wm .Cells.RowContent{flex-direction:row;width:100%}.layout-wm .DetailInfo{flex:1;min-height:200px;background-color:var(--emw--color-bg, #153A5C);border-radius:8px;text-align:center}.layout-wm .DetailInfo .TitleTextCell{font-size:19px}.layout-wm .DetailInfo .TournamentButtons{display:flex;grid-gap:10px}.layout-wm .ThumbnailCell{position:relative;flex:1}.layout-wm .ThumbnailCell .Thumbnail{padding:8px}.layout-wm .ThumbnailCell .CardImg{border-radius:5px;height:180px;padding:10px 0px}.layout-wm .Tag .TagContent{box-shadow:0px 1px 2px rgba(0, 0, 0, 0.3), 0px 1px 3px 1px rgba(0, 0, 0, 0.15);border-radius:8px;padding:7px}.layout-wm .StartDateCell{right:15px}.layout-wm .StartDateCell .Date{color:var(--emw--color-primary, #1A2C38);background:var(--emw--color-background, #0072ed)}.layout-wm .StartDateCell .Date .CalendarIcon{width:10px}.layout-wm .UserEnrollTag{left:15px}.layout-wm .UserEnrollTag .TagContent{background:var(--emw--color-background-secondary, #6C757D)}.layout-wm .UserEnrollTag .TagContent.Enrolled{background:var(--emw--color-green, #24834B)}.layout-wm .StatusTag{right:15px}.layout-wm .StatusTag .Status{background:var(--emw--color-primary, #1A2C38)}.layout-wm .TournamentDuration .TournamentDates{margin-left:20px;margin-right:20px;display:flex;justify-content:space-between}.layout-wm .TournamentDuration .ProgressBarWrapper{height:20px}.layout-wm .TournamentDuration .StartDate{font-size:11px;color:var(--emw--color-white, #FFFFFF)}.layout-wm .TournamentDuration .EndDate{font-size:11px;align-content:flex-end;color:var(--emw--color-white, #FFFFFF)}.layout-wm .TournamentDuration .ProgressBarInactive{margin:5px 20px 10px 20px;height:8px;background:var(--emw--color-gray-100, #E6E6E6);border-radius:3px}.layout-wm .TournamentDuration .ProgressBarFill{height:6px;background:var(--emw--color-green, #0072ED);border-radius:3px}.layout-wm .TournamentDuration .ProgressBar{margin:5px 20px;border-radius:3px;background-color:#0A1B2D;height:6px}.layout-wm .TournamentDuration .TournamentPrizesIconSection{display:inline-flex}.layout-wm .TournamentDuration .ProgressBarFillEnd{background-color:var(--emw--color-green, #48952a);height:8px;border-radius:3px}.layout-wm .TournamentDuration .ProgressBarFillStarting{background-color:var(--emw--color-white, #FFFFFF);height:8px}.layout-wm .TournamentDuration .PrizesCell{margin-top:10px}.layout-wm .TournamentDuration .PrizesCell span{color:var(--emw--color-gray-100, #E6E6E6)}.layout-wm .TournamentDuration .PrizesCell .TournamentPrizes{font-size:11px;margin-left:20px;margin-right:20px;display:flex;gap:5px}.layout-wm .TournamentDuration .PrizesCell .TournamentPrizes{display:block;text-align:center}.layout-wm .TournamentDuration .PrizesCell .PrizesTitle{padding-top:8px}.layout-wm .TournamentDuration .PrizesCell .ColPrizes{background-color:var(--emw--color-bg, #153A5C);margin:5px}.layout-wm .TournamentDuration .PrizesCell .ColPrizes .Prize{flex-grow:1;border-bottom:1px solid rgba(206, 210, 214, 0.15);margin:2px;padding:4px}.layout-wm .TournamentDuration .PrizesCell .ColPrizes .PrizeText{display:flex;align-items:center;flex-direction:row;justify-content:space-between}.layout-wm .TournamentDuration .PrizesCell .ColPrizes .PrizeRank{line-height:18px}.layout-wm .TournamentDuration .PrizesCell .Prizes{padding-left:20px;flex-wrap:wrap;display:flex;gap:20px;width:100%;min-height:50px;padding-top:8px}.layout-wm .TournamentDuration .PrizesCell .PrizeText{border-radius:2px;padding:2px}.layout-wm .TournamentDuration .PrizesCell .Prize{flex-grow:1;color:var(--emw--color-white, #FFFFFF)}.layout-wm .TournamentDuration .PrizesCell .Prize.Prize0 span{color:#FECF00}.layout-wm .TournamentDuration .PrizesCell .Prize.Prize1 span{color:#D9B206}.layout-wm .TournamentDuration .PrizesCell .Prize.Prize2 span{color:#9B8007}.layout-wm .TournamentDuration .PrizesCell .Prize p{color:var(--emw--color-white, #FFFFFF)}.layout-wm .TournamentDuration .Remaining,.layout-wm .TournamentDuration .Finished{font-size:10px;text-align:right;text-transform:uppercase}.layout-wm .TournamentDuration .Finished{color:var(--emw--color-green, #48952a)}.layout-wm .ScoreCriteriaCell .ScoreCriteria{color:greenyellow}.layout-wm .TitleCell .Title{font-weight:bold;padding:15px}.layout-wm .SeeGamesLine .GamesAnchor{color:#fff}.layout-wm .SeeGamesLine .GamesButton{cursor:pointer;margin-top:10px;color:var(--emw--color-primary, white);font-size:14px;border-radius:4px;border:0;padding:10px;background-color:var(--emw--color-background, #0072ed)}.layout-wm .PrizesCell{margin-top:10px;margin-top:10px;display:flex;width:100%;flex:1;container-type:inline-size;container-name:prizes-cell;margin:auto}.layout-wm .PrizesCell span{color:var(--emw--color-gray-100, #E6E6E6)}.layout-wm .PrizesCell .TournamentPrizes{font-size:11px;width:100%}.layout-wm .PrizesCell .TournamentPrizes .TournamentPrizesIconSection{display:flex;justify-content:center;flex-direction:column;align-items:center}.layout-wm .PrizesCell .Prizes{justify-content:space-between;display:flex;gap:20px;width:100%;min-height:50px;padding-top:8px;flex-wrap:nowrap}.layout-wm .PrizesCell .Prizes .ColPrizes{flex:1;background-color:var(--emw--color-bg, #153A5C);margin:5px}.layout-wm .PrizesCell .Prizes .ColPrizes .Prize{border-bottom:1px solid rgba(206, 210, 214, 0.15);margin:2px;padding:4px}.layout-wm .PrizesCell .Prizes .ColPrizes .Prize{color:var(--emw--color-white, #FFFFFF)}.layout-wm .PrizesCell .Prizes .ColPrizes .Prize.Prize0 span{color:#FECF00}.layout-wm .PrizesCell .Prizes .ColPrizes .Prize.Prize1 span{color:#D9B206}.layout-wm .PrizesCell .Prizes .ColPrizes .Prize.Prize2 span{color:#9B8007}.layout-wm .PrizesCell .Prizes .ColPrizes .Prize p{color:var(--emw--color-white, #FFFFFF)}.layout-wm .PrizesCell .Prizes .ColPrizes .PrizeText{display:flex;align-items:center;flex-direction:row;justify-content:space-between}.layout-wm .PrizesCell .Prizes .ColPrizes .PrizeText{border-radius:2px;padding:2px}.layout-wm .PrizesCell .Prizes .ColPrizes .PrizeRank{line-height:18px}.layout-wm .PrizesCell .Prizes .Prize0 .PrizeText{background-color:var(--emfe-rank-1-color, #7E6C22)}.layout-wm .PrizesCell .Prizes .Prize1 .PrizeText{background-color:var(--emfe-rank-1-color, #666666)}.layout-wm .PrizesCell .Prizes .Prize2 .PrizeText{background-color:var(--emfe-rank-1-color, #6A5446)}.layout-wm .PrizesCell div.Collapse{display:flex;justify-content:center}.layout-wm .PrizesCell div.Collapse .Prizes{justify-content:flex-start;flex-wrap:wrap;gap:0;width:fit-content}.layout-wm .PrizesCell div.Collapse .Prizes .ColPrizes{flex:none;width:360px;margin:3px 8px}.layout-wm .PrizesCell div.Collapse .Prizes .ColPrizes .Prize{border-bottom:0px none}.layout-wm .PrizesCell .PrizeRank{display:flex;padding-right:3px}.layout-wm .PrizesCell .PrizeRank.NoRankImage .RowNo{width:0px}.layout-wm .PrizesCell .PrizeRank .RowNo{width:18px;text-align:center}.layout-wm .PrizesCell .PrizeNo{text-align:left;margin-left:5px}.layout-wm .PrizesCell .PrizePlace{padding-left:5px}.layout-wm .PrizesCell .Prize .PrizeText{display:flex}.layout-wm .JoinButtonCell{margin:7px 0px}.layout-wm .JoinButtonCell .JoinButtonSvg{display:none}.layout-wm .JoinButtonCell .spinner .circle{stroke:var(--emw--color-contrast, #d5d5e4)}.layout-wm .JoinButtonCell .LoginButton,.layout-wm .JoinButtonCell .RegisterButton,.layout-wm .JoinButtonCell .JoinButton{display:flex;flex-direction:row;justify-content:center;align-items:center;padding:8px 16px;width:104px;height:36px;background:#0072ED;border-radius:3px;border:0px none;font-style:normal;font-weight:600;font-size:14px;line-height:20px;color:var(--emw--color-white, #FFFFFF);cursor:pointer}.layout-wm .JoinButtonCell .LoginButton .JoinButtonSvg,.layout-wm .JoinButtonCell .RegisterButton .JoinButtonSvg,.layout-wm .JoinButtonCell .JoinButton .JoinButtonSvg{width:15px;height:15px;margin-left:10px}.layout-wm .TranslateTextCell{padding-left:26px;height:35px;line-height:27px !important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='21' height='25' viewBox='0 0 21 25' fill='none'%3E%3Cpath d='M6.1774 22.1728C6.36493 22.2725 6.56274 22.0566 6.44793 21.8779C5.82475 20.908 5.23463 19.2759 6.17483 17.174C7.74273 13.6689 8.6968 11.8535 8.6968 11.8535C8.6968 11.8535 9.20426 13.9721 10.5799 15.8558C11.9038 17.6687 12.6285 19.9488 11.4602 21.8482C11.3506 22.0265 11.5439 22.2368 11.7302 22.1415C13.1763 21.4017 14.7983 19.9179 14.9813 16.965C15.0488 16.0627 14.9476 14.7995 14.4416 13.2054C13.791 11.185 12.9911 10.2423 12.5283 9.83741C12.3899 9.71629 12.1746 9.82363 12.1859 10.0072C12.3208 12.1872 11.5007 12.7404 11.0339 11.4937C10.8474 10.9957 10.7387 10.1344 10.7387 9.08558C10.7387 7.3394 10.2321 5.54188 9.1152 4.0812C8.82475 3.70134 8.4849 3.3464 8.09498 3.04372C7.95382 2.93411 7.74919 3.04428 7.76212 3.22252C7.84788 4.40628 7.77018 7.79884 4.79383 11.8519C2.09515 15.6115 3.14088 18.4989 3.51195 19.281C4.2214 20.7791 5.21098 21.6589 6.1774 22.1728Z' fill='white'/%3E%3C/svg%3E");background-repeat:no-repeat;width:fit-content}.layout-wm .DescriptionAndTermConditions{flex:1}.layout-wm .LeaderboardCell{flex:1}.layout-wm .LeaderboardCell .TableUserDetails{background:var(--emw--color-contrast, #07072A);display:flex;line-height:18px;align-items:center;text-align:center;justify-content:space-around;height:52px}.layout-wm .LeaderboardCell .FirstRow{outline:2px solid #1B9800}.layout-wm .LeaderboardCell .FirstRow.UnqualifiedRow{outline:0;border:2px solid var(--emw--tooltips-border, #fecf00);border-bottom:0}.layout-wm .LeaderboardCell .FirstRow.UnqualifiedRow td{border-bottom:0}.layout-wm .LeaderboardCell .FirstRow .RankCol{position:relative;width:max-content;display:inline}.layout-wm .LeaderboardCell .FirstRow .RankCol .ScoreChangeFlag{position:absolute;top:0px;right:-29px}.layout-wm .LeaderboardCell .FirstRow .RankCol .ScoreChangeFlag .Arrow.Up{color:#0cdc13}.layout-wm .LeaderboardCell .FirstRow .RankCol .ScoreChangeFlag .Arrow.Down{color:#FF4500}.layout-wm .LeaderboardCell .TournamentsTable .LeftTable .LeftTableThead{background-color:var(--emw--color-bg, #153A5C);border-bottom:12px solid var(--emw--color-black, #000000)}.layout-wm .LeaderboardCell .TournamentsTable .LeftTable .LeftTableTh{border-bottom:1px solid var(--emw--color-contrast, #0D0D4D);color:var(--emw--color-white, #FFFFFF)}.layout-wm .LeaderboardCell .TournamentsTable .LeftTable .LeftTableTbody{background-color:var(--emw--color-bg, #153A5C)}.layout-wm .LeaderboardCell .TournamentsTable .LeftTable .LeftTableTd{color:var(--emw--color-white, #FFFFFF);border-bottom:1px solid rgba(206, 210, 214, 0.15)}.layout-wm .LeaderboardCell .TournamentsTable .LeftTable .CellContent{margin:5px 0;vertical-align:middle;line-height:22px}.layout-wm .LeaderboardCell .TournamentsTable .LeftTable .PrizeIcon{vertical-align:middle}.layout-wm .LeaderboardCell .TournamentsTable .LeftTable .Rank1Tr .CellContent{background:var(--emfe-rank-1-color, #7E6C22)}.layout-wm .LeaderboardCell .TournamentsTable .LeftTable .Rank2Tr .CellContent{background:var(--emfe-rank-2-color, #666666)}.layout-wm .LeaderboardCell .TournamentsTable .LeftTable .Rank3Tr .CellContent{background:var(--emfe-rank-3-color, #6A5446)}.layout-wm .LeaderboardCell .TournamentsTable .LeftTable .FirstRow .CellContent{background:var(--emfe-rank-user-color, #12753A)}.layout-wm .LeaderboardCell .TournamentsTable .LeftTable .LeftTableTd:first-child{left:0;top:auto;width:10rem}.layout-wm .LeaderboardCell .TournamentsTable .LeftTable .LeftTableThead{border:8px solid #153A5C;border-bottom:10px solid #000}.layout-wm .LeaderboardCell .TournamentsTable .LeftTable .LeftTableTbody{border:8px solid #153A5C;border-top:10px solid #000}.layout-wm .LeaderboardCell .TournamentsTable .LeftTable .LeftTableTh_0{width:10%}.layout-wm .LeaderboardCell .TournamentsTable .LeftTable .LeftTableTh_1{width:15%}.layout-wm .LeaderboardCell .TournamentsTable .RightButton{width:26px;height:50px}`)}function to(t,e,r){const n=t.slice();return n[58]=e[r],n}function ro(t,e,r){const n=t.slice();return n[61]=e[r],n}function no(t,e,r){const n=t.slice();return n[64]=e[r],n}function io(t,e,r){const n=t.slice();return n[67]=e[r],n}function ao(t){let e;return{c(){e=z(t[7])},m(r,n){C(r,e,n)},p(r,n){n[0]&128&&W(e,r[7])},d(r){r&&y(e)}}}function so(t){let e,r,n;const i=[t[61].componentAttrs,{attrs:t[61].componentAttrs}];var a=t[61].component;function s(o,l){let u={};for(let f=0;f<i.length;f+=1)u=qt(u,i[f]);return l!==void 0&&l[0]&32&&(u=qt(u,Ar(i,[Fr(o[61].componentAttrs),{attrs:o[61].componentAttrs}]))),{props:u}}return a&&(e=Rr(a,s(t))),{c(){e&&cr(e.$$.fragment),r=de()},m(o,l){e&&Jt(e,o,l),C(o,r,l),n=!0},p(o,l){if(l[0]&32&&a!==(a=o[61].component)){if(e){lt();const u=e;_e(u.$$.fragment,1,0,()=>{Zt(u,1)}),ut()}a?(e=Rr(a,s(o,l)),cr(e.$$.fragment),oe(e.$$.fragment,1),Jt(e,r.parentNode,r)):e=null}else if(a){const u=l[0]&32?Ar(i,[Fr(o[61].componentAttrs),{attrs:o[61].componentAttrs}]):{};e.$set(u)}},i(o){n||(e&&oe(e.$$.fragment,o),n=!0)},o(o){e&&_e(e.$$.fragment,o),n=!1},d(o){o&&y(r),e&&Zt(e,o)}}}function oo(t){let e,r,n=Ee(t[61].subComponents),i=[];for(let s=0;s<n.length;s+=1)i[s]=ho(no(t,n,s));const a=s=>_e(i[s],1,1,()=>{i[s]=null});return{c(){for(let s=0;s<i.length;s+=1)i[s].c();e=de()},m(s,o){for(let l=0;l<i.length;l+=1)i[l]&&i[l].m(s,o);C(s,e,o),r=!0},p(s,o){if(o[0]&32){n=Ee(s[61].subComponents);let l;for(l=0;l<n.length;l+=1){const u=no(s,n,l);i[l]?(i[l].p(u,o),oe(i[l],1)):(i[l]=ho(u),i[l].c(),oe(i[l],1),i[l].m(e.parentNode,e))}for(lt(),l=n.length;l<i.length;l+=1)a(l);ut()}},i(s){if(!r){for(let o=0;o<n.length;o+=1)oe(i[o]);r=!0}},o(s){i=i.filter(Boolean);for(let o=0;o<i.length;o+=1)_e(i[o]);r=!1},d(s){s&&y(e),ft(i,s)}}}function lo(t){let e,r,n;const i=[t[64].componentAttrs,{attrs:t[64].componentAttrs}];var a=t[64].component;function s(o,l){let u={};for(let f=0;f<i.length;f+=1)u=qt(u,i[f]);return l!==void 0&&l[0]&32&&(u=qt(u,Ar(i,[Fr(o[64].componentAttrs),{attrs:o[64].componentAttrs}]))),{props:u}}return a&&(e=Rr(a,s(t))),{c(){e&&cr(e.$$.fragment),r=de()},m(o,l){e&&Jt(e,o,l),C(o,r,l),n=!0},p(o,l){if(l[0]&32&&a!==(a=o[64].component)){if(e){lt();const u=e;_e(u.$$.fragment,1,0,()=>{Zt(u,1)}),ut()}a?(e=Rr(a,s(o,l)),cr(e.$$.fragment),oe(e.$$.fragment,1),Jt(e,r.parentNode,r)):e=null}else if(a){const u=l[0]&32?Ar(i,[Fr(o[64].componentAttrs),{attrs:o[64].componentAttrs}]):{};e.$set(u)}},i(o){n||(e&&oe(e.$$.fragment,o),n=!0)},o(o){e&&_e(e.$$.fragment,o),n=!1},d(o){o&&y(r),e&&Zt(e,o)}}}function uo(t){let e,r,n=Ee(t[64].subComponents),i=[];for(let s=0;s<n.length;s+=1)i[s]=fo(io(t,n,s));const a=s=>_e(i[s],1,1,()=>{i[s]=null});return{c(){for(let s=0;s<i.length;s+=1)i[s].c();e=de()},m(s,o){for(let l=0;l<i.length;l+=1)i[l]&&i[l].m(s,o);C(s,e,o),r=!0},p(s,o){if(o[0]&32){n=Ee(s[64].subComponents);let l;for(l=0;l<n.length;l+=1){const u=io(s,n,l);i[l]?(i[l].p(u,o),oe(i[l],1)):(i[l]=fo(u),i[l].c(),oe(i[l],1),i[l].m(e.parentNode,e))}for(lt(),l=n.length;l<i.length;l+=1)a(l);ut()}},i(s){if(!r){for(let o=0;o<n.length;o+=1)oe(i[o]);r=!0}},o(s){i=i.filter(Boolean);for(let o=0;o<i.length;o+=1)_e(i[o]);r=!1},d(s){s&&y(e),ft(i,s)}}}function co(t){let e,r,n;const i=[t[67].componentAttrs,{attrs:t[67].componentAttrs}];var a=t[67].component;function s(o,l){let u={};for(let f=0;f<i.length;f+=1)u=qt(u,i[f]);return l!==void 0&&l[0]&32&&(u=qt(u,Ar(i,[Fr(o[67].componentAttrs),{attrs:o[67].componentAttrs}]))),{props:u}}return a&&(e=Rr(a,s(t))),{c(){e&&cr(e.$$.fragment),r=de()},m(o,l){e&&Jt(e,o,l),C(o,r,l),n=!0},p(o,l){if(l[0]&32&&a!==(a=o[67].component)){if(e){lt();const u=e;_e(u.$$.fragment,1,0,()=>{Zt(u,1)}),ut()}a?(e=Rr(a,s(o,l)),cr(e.$$.fragment),oe(e.$$.fragment,1),Jt(e,r.parentNode,r)):e=null}else if(a){const u=l[0]&32?Ar(i,[Fr(o[67].componentAttrs),{attrs:o[67].componentAttrs}]):{};e.$set(u)}},i(o){n||(e&&oe(e.$$.fragment,o),n=!0)},o(o){e&&_e(e.$$.fragment,o),n=!1},d(o){o&&y(r),e&&Zt(e,o)}}}function fo(t){let e,r,n,i,a,s,o,l=!t[67].isSlotCell&&co(t);return{c(){e=b("div"),l&&l.c(),c(e,"class",r="Cell3s "+t[67].cellClass),c(e,"part",n=t[67].parts+" Cell3s")},m(u,f){C(u,e,f),l&&l.m(e,null),a=!0,s||(o=$t(i=t[9].call(null,e,t[67])),s=!0)},p(u,f){t=u,t[67].isSlotCell?l&&(lt(),_e(l,1,1,()=>{l=null}),ut()):l?(l.p(t,f),f[0]&32&&oe(l,1)):(l=co(t),l.c(),oe(l,1),l.m(e,null)),(!a||f[0]&32&&r!==(r="Cell3s "+t[67].cellClass))&&c(e,"class",r),(!a||f[0]&32&&n!==(n=t[67].parts+" Cell3s"))&&c(e,"part",n),i&&Kt(i.update)&&f[0]&32&&i.update.call(null,t[67])},i(u){a||(oe(l),a=!0)},o(u){_e(l),a=!1},d(u){u&&y(e),l&&l.d(),s=!1,o()}}}function ho(t){let e,r,n,i,a,s,o,l,u=!t[64].isCellContainer&&lo(t),f=t[64].subComponents&&t[64].subComponents.length>0&&uo(t);return{c(){e=b("div"),u&&u.c(),r=H(),f&&f.c(),c(e,"class",n="Cell2s "+t[64].cellClass),c(e,"part",i=t[64].parts+" Cell2s")},m(d,h){C(d,e,h),u&&u.m(e,null),m(e,r),f&&f.m(e,null),s=!0,o||(l=$t(a=t[9].call(null,e,t[64])),o=!0)},p(d,h){t=d,t[64].isCellContainer?u&&(lt(),_e(u,1,1,()=>{u=null}),ut()):u?(u.p(t,h),h[0]&32&&oe(u,1)):(u=lo(t),u.c(),oe(u,1),u.m(e,r)),t[64].subComponents&&t[64].subComponents.length>0?f?(f.p(t,h),h[0]&32&&oe(f,1)):(f=uo(t),f.c(),oe(f,1),f.m(e,null)):f&&(lt(),_e(f,1,1,()=>{f=null}),ut()),(!s||h[0]&32&&n!==(n="Cell2s "+t[64].cellClass))&&c(e,"class",n),(!s||h[0]&32&&i!==(i=t[64].parts+" Cell2s"))&&c(e,"part",i),a&&Kt(a.update)&&h[0]&32&&a.update.call(null,t[64])},i(d){s||(oe(u),oe(f),s=!0)},o(d){_e(u),_e(f),s=!1},d(d){d&&y(e),u&&u.d(),f&&f.d(),o=!1,l()}}}function mo(t){let e,r,n,i,a,s,o,l,u=!t[61].isCellContainer&&so(t),f=t[61].subComponents&&t[61].subComponents.length>0&&oo(t);return{c(){e=b("div"),u&&u.c(),r=H(),f&&f.c(),c(e,"class",n="Cell1s "+t[61].cellClass),c(e,"part",i=t[61].parts)},m(d,h){C(d,e,h),u&&u.m(e,null),m(e,r),f&&f.m(e,null),s=!0,o||(l=$t(a=t[9].call(null,e,t[61])),o=!0)},p(d,h){t=d,t[61].isCellContainer?u&&(lt(),_e(u,1,1,()=>{u=null}),ut()):u?(u.p(t,h),h[0]&32&&oe(u,1)):(u=so(t),u.c(),oe(u,1),u.m(e,r)),t[61].subComponents&&t[61].subComponents.length>0?f?(f.p(t,h),h[0]&32&&oe(f,1)):(f=oo(t),f.c(),oe(f,1),f.m(e,null)):f&&(lt(),_e(f,1,1,()=>{f=null}),ut()),(!s||h[0]&32&&n!==(n="Cell1s "+t[61].cellClass))&&c(e,"class",n),(!s||h[0]&32&&i!==(i=t[61].parts))&&c(e,"part",i),a&&Kt(a.update)&&h[0]&32&&a.update.call(null,t[61])},i(d){s||(oe(u),oe(f),s=!0)},o(d){_e(u),_e(f),s=!1},d(d){d&&y(e),u&&u.d(),f&&f.d(),o=!1,l()}}}function po(t){let e,r,n=Ee(t[58].cols),i=[];for(let s=0;s<n.length;s+=1)i[s]=mo(ro(t,n,s));const a=s=>_e(i[s],1,1,()=>{i[s]=null});return{c(){for(let s=0;s<i.length;s+=1)i[s].c();e=de()},m(s,o){for(let l=0;l<i.length;l+=1)i[l]&&i[l].m(s,o);C(s,e,o),r=!0},p(s,o){if(o[0]&32){n=Ee(s[58].cols);let l;for(l=0;l<n.length;l+=1){const u=ro(s,n,l);i[l]?(i[l].p(u,o),oe(i[l],1)):(i[l]=mo(u),i[l].c(),oe(i[l],1),i[l].m(e.parentNode,e))}for(lt(),l=n.length;l<i.length;l+=1)a(l);ut()}},i(s){if(!r){for(let o=0;o<n.length;o+=1)oe(i[o]);r=!0}},o(s){i=i.filter(Boolean);for(let o=0;o<i.length;o+=1)_e(i[o]);r=!1},d(s){s&&y(e),ft(i,s)}}}function Zm(t){let e,r,n,i,a,s,o,l=t[7]&&ao(t),u=Ee(t[5].rows),f=[];for(let h=0;h<u.length;h+=1)f[h]=po(to(t,u,h));const d=h=>_e(f[h],1,1,()=>{f[h]=null});return i=new Xl({props:{translationurl:t[4],clientstylingurl:t[3],clientstyling:t[2],lang:t[1]}}),{c(){e=b("div"),l&&l.c(),r=H();for(let h=0;h<f.length;h+=1)f[h].c();n=H(),cr(i.$$.fragment),Rt(e,"display",(t[8],"flex")),c(e,"class",a="casino-tournaments-customize-page-controller layout-"+t[0]+" "+(t[6]?"MobileContainer":"")),c(e,"part",s="casino-tournaments-customize-page-controller layout-"+t[0])},m(h,p){C(h,e,p),l&&l.m(e,null),m(e,r);for(let _=0;_<f.length;_+=1)f[_]&&f[_].m(e,null);m(e,n),Jt(i,e,null),o=!0},p(h,p){if(h[7]?l?l.p(h,p):(l=ao(h),l.c(),l.m(e,r)):l&&(l.d(1),l=null),p[0]&32){u=Ee(h[5].rows);let g;for(g=0;g<u.length;g+=1){const P=to(h,u,g);f[g]?(f[g].p(P,p),oe(f[g],1)):(f[g]=po(P),f[g].c(),oe(f[g],1),f[g].m(e,n))}for(lt(),g=u.length;g<f.length;g+=1)d(g);ut()}const _={};p[0]&16&&(_.translationurl=h[4]),p[0]&8&&(_.clientstylingurl=h[3]),p[0]&4&&(_.clientstyling=h[2]),p[0]&2&&(_.lang=h[1]),i.$set(_),(!o||p[0]&256)&&Rt(e,"display",(h[8],"flex")),(!o||p[0]&65&&a!==(a="casino-tournaments-customize-page-controller layout-"+h[0]+" "+(h[6]?"MobileContainer":"")))&&c(e,"class",a),(!o||p[0]&1&&s!==(s="casino-tournaments-customize-page-controller layout-"+h[0]))&&c(e,"part",s)},i(h){if(!o){for(let p=0;p<u.length;p+=1)oe(f[p]);oe(i.$$.fragment,h),o=!0}},o(h){f=f.filter(Boolean);for(let p=0;p<f.length;p+=1)_e(f[p]);_e(i.$$.fragment,h),o=!1},d(h){h&&y(e),l&&l.d(),ft(f,h),Zt(i)}}}function Xm(t,e,r){let{layoutid:n="default"}=e,{session:i=""}=e,{userid:a=""}=e,{tourid:s=""}=e,{endpoint:o=""}=e,{cmsendpoint:l=""}=e,{lang:u="en"}=e,{mbsource:f}=e,{navigationbackbutton:d="Default"}=e,{currency:h="EUR"}=e,{namemask:p=""}=e,{showunqualifiedplayer:_="true"}=e,{minscore:g=""}=e,{mobiletablelimit:P="15"}=e,{tablelimit:L="30"}=e,{updatetableintime:E="true"}=e,{leaderboardoffset:w="0"}=e,{leaderboardlimit:v="15"}=e,{scorefractiondigit:Y="2"}=e,{loginevent:D=""}=e,{loginurl:F=""}=e,{registerevent:G=""}=e,{registerurl:M=""}=e,{limit:A=30}=e,{offset:Pe=0}=e,{keepbrowsercontext:ye="false"}=e,{showrankasimage:De="false"}=e,{clientstyling:Ae=""}=e,{clientstylingurl:Re=""}=e,{translationurl:He=""}=e,Ce={lang:"en",layoutid:"default",navigationbackbutton:"Default",currency:"EUR",tablelimit:"30",showunqualifiedplayer:"true",mobiletablelimit:"15",updatetableintime:"true",scorefractiondigit:"2",leaderboardoffset:"0",leaderboardlimit:"15",keepbrowsercontext:"false",showenrolled:"true",firstrow:"true",namemask:"",minscore:null,loginevent:null},U=window.navigator.userAgent,Le=!1,he={pageDefaultParams:Ce,cmsData:{},ctrlProperties:null,tournamentData:null},$,be=new Fm,I={rows:[]},ie,xe,ne=!1,B=!0;u2({withLocale:u,translations:{}}),bt(u);const Xe=(S,X)=>{let ee=S.componentAttrs||{};ee&&Object.keys(ee).forEach(se=>{X.hasOwnProperty(se)&&(ee[se]=X[se])})},we=()=>{let S=I.rows,X=ee=>{!ee||!ee.length||ee.forEach(se=>{if(!se.isCellContainer){let Z=se.dataKey;if(Z&&Z.source=="cms"){let ue=se.componentAttrs||{};if(!ue)return;ue[Z.textKey]=he.cmsData[Z.key]||null}}X(se.subComponents)})};S.forEach(ee=>{X(ee.cols)})},et=()=>{fetch(`${l}/${s}`).then(S=>S?S.json():{details:[{title:"Description",description:"DescriptionText"}]}).then(S=>{S&&S.details&&(he.cmsData.tournamentdescription=S.details),we(),r(5,I=ar({},I))})},Ge=(S,X)=>{let ee=S.rows,se=Z=>{!Z||!Z.length||Z.forEach(ue=>{ue.isCellContainer||Xe(ue,X),se(ue.subComponents)})};ee.forEach(Z=>{se(Z.cols)})},St=S=>{if(S.data)try{let X=JSON.parse(S.data);X.messageType=="TournamentUpdate"&&(window.postMessage({type:"UpdateTournamentView",tournamentData:X.item},window.location.href),dr(X.item))}catch(X){console.error(X)}},Et=(S,X)=>{let ee=`${o}/v1/tournaments/updates?filter=id=${S}&${X}`;$&&($.removeEventListener("message",St),$.close()),$=new $o.EventSourcePolyfill(ee,{headers:{accept:"text/event-stream","X-SessionId":i}}),!1!="undefined"&&$.addEventListener("message",St)},dr=S=>{ie=be.transfer(S),he.tournamentData=ie,ie.lang=u,r(5,I=eo(Zr[n]||Zr.default,he))},Bt=(S,X)=>{let ee=new URL(S+`/v1/tournaments/${X}`),se=new Headers({"X-SessionId":i});ee.searchParams.append("platform",Yn(U)),ee.searchParams.append("language",u);let Z=ee.searchParams.toString(),ue={method:"GET",headers:se};fetch(ee.href,ue).then(Ue=>Ue.json()).then(Ue=>{if(!Ue.success||Ue.errorCode){r(7,xe=`Faild to load data, details: ${Ue.errorMessage}`);return}else r(7,xe=null);Ue.item.id=s,dr(Ue.item),ie.lang=u,Ge(I,ie),r(5,I=ar({},I)),r(8,B=!1),q(),Et(s,Z)})},T=yo(),N=(S,X,ee)=>{if(!I.rows||I.rows.length==0)return;let se=I.rows[0].cols;S.forEach(Z=>{let ue,Ue=te=>{te.forEach((re,ve)=>{if(ue)return ue;if(re.componentid==Z)return ue=re,ue;if(re.subComponents&&re.subComponents.length>0)return Ue(re.subComponents)})};Ue(se);let Nt=T.$$.props,k=T.$$.ctx;ue&&X.forEach(te=>{let re=Nt[te],ve=k[re];he.ctrlProperties[te]=ve,ue.componentAttrs[te]=ve})}),r(5,I=ar({},I))},q=()=>{r(0,n=Zr[n]?n:"default"),r(5,I=eo(Zr[n],he))},O=(S,X)=>{X.onLoad&&X.onLoad()},ae=()=>{Bt(o,s)},Q=S=>{S.data&&S.data.type=="TournamentUserEnrolled"&&(he.tournamentData.userenrolled=S.data.userenrolled)},le=()=>{r(57,e.session=i,e),r(57,e.userid=a,e),r(57,e.tourid=s,e),r(57,e.lang=u,e)};return er(()=>(r(0,n=Zr[n]?n:"default"),r(6,Le=Gn(U)),setTimeout(()=>{he.ctrlProperties=e,r(35,ne=!0)},300),window.addEventListener("message",Q),()=>{styleSubscription&&styleSubscription.unsubscribe(),window.removeEventListener("message",Q)})),t.$$set=S=>{r(57,e=qt(qt({},e),Ma(S))),"layoutid"in S&&r(0,n=S.layoutid),"session"in S&&r(10,i=S.session),"userid"in S&&r(11,a=S.userid),"tourid"in S&&r(12,s=S.tourid),"endpoint"in S&&r(13,o=S.endpoint),"cmsendpoint"in S&&r(14,l=S.cmsendpoint),"lang"in S&&r(1,u=S.lang),"mbsource"in S&&r(15,f=S.mbsource),"navigationbackbutton"in S&&r(16,d=S.navigationbackbutton),"currency"in S&&r(17,h=S.currency),"namemask"in S&&r(18,p=S.namemask),"showunqualifiedplayer"in S&&r(19,_=S.showunqualifiedplayer),"minscore"in S&&r(20,g=S.minscore),"mobiletablelimit"in S&&r(21,P=S.mobiletablelimit),"tablelimit"in S&&r(22,L=S.tablelimit),"updatetableintime"in S&&r(23,E=S.updatetableintime),"leaderboardoffset"in S&&r(24,w=S.leaderboardoffset),"leaderboardlimit"in S&&r(25,v=S.leaderboardlimit),"scorefractiondigit"in S&&r(26,Y=S.scorefractiondigit),"loginevent"in S&&r(27,D=S.loginevent),"loginurl"in S&&r(28,F=S.loginurl),"registerevent"in S&&r(29,G=S.registerevent),"registerurl"in S&&r(30,M=S.registerurl),"limit"in S&&r(31,A=S.limit),"offset"in S&&r(32,Pe=S.offset),"keepbrowsercontext"in S&&r(33,ye=S.keepbrowsercontext),"showrankasimage"in S&&r(34,De=S.showrankasimage),"clientstyling"in S&&r(2,Ae=S.clientstyling),"clientstylingurl"in S&&r(3,Re=S.clientstylingurl),"translationurl"in S&&r(4,He=S.translationurl)},t.$$.update=()=>{t.$$.dirty[0]&1024|t.$$.dirty[1]&16&&ne&&i&&le(),t.$$.dirty[0]&15362|t.$$.dirty[1]&16&&ne&&o&&i&&a&&u&&s&&ae(),t.$$.dirty[0]&3105|t.$$.dirty[1]&16&&ne&&i&&I[n]&&a&&setTimeout(()=>{N(["LeaderboardCell","GamesCell","JoinButtonCell"],["session","userid"])}),t.$$.dirty[0]&20480&&l&&s&&et(),t.$$.dirty[0]&71827456|t.$$.dirty[1]&16&&ne&&_&&Y&&L&&N(["LeaderboardCell"],["showunqualifiedplayer","scorefractiondigit","tablelimit"]),t.$$.dirty[0]&1|t.$$.dirty[1]&16&&ne&&n&&q()},e=Ma(e),[n,u,Ae,Re,He,I,Le,xe,B,O,i,a,s,o,l,f,d,h,p,_,g,P,L,E,w,v,Y,D,F,G,M,A,Pe,ye,De,ne]}class Ql extends qe{constructor(e){super(),We(this,e,Xm,Zm,je,{layoutid:0,session:10,userid:11,tourid:12,endpoint:13,cmsendpoint:14,lang:1,mbsource:15,navigationbackbutton:16,currency:17,namemask:18,showunqualifiedplayer:19,minscore:20,mobiletablelimit:21,tablelimit:22,updatetableintime:23,leaderboardoffset:24,leaderboardlimit:25,scorefractiondigit:26,loginevent:27,loginurl:28,registerevent:29,registerurl:30,limit:31,offset:32,keepbrowsercontext:33,showrankasimage:34,clientstyling:2,clientstylingurl:3,translationurl:4},Jm,[-1,-1,-1])}get layoutid(){return this.$$.ctx[0]}set layoutid(e){this.$$set({layoutid:e}),x()}get session(){return this.$$.ctx[10]}set session(e){this.$$set({session:e}),x()}get userid(){return this.$$.ctx[11]}set userid(e){this.$$set({userid:e}),x()}get tourid(){return this.$$.ctx[12]}set tourid(e){this.$$set({tourid:e}),x()}get endpoint(){return this.$$.ctx[13]}set endpoint(e){this.$$set({endpoint:e}),x()}get cmsendpoint(){return this.$$.ctx[14]}set cmsendpoint(e){this.$$set({cmsendpoint:e}),x()}get lang(){return this.$$.ctx[1]}set lang(e){this.$$set({lang:e}),x()}get mbsource(){return this.$$.ctx[15]}set mbsource(e){this.$$set({mbsource:e}),x()}get navigationbackbutton(){return this.$$.ctx[16]}set navigationbackbutton(e){this.$$set({navigationbackbutton:e}),x()}get currency(){return this.$$.ctx[17]}set currency(e){this.$$set({currency:e}),x()}get namemask(){return this.$$.ctx[18]}set namemask(e){this.$$set({namemask:e}),x()}get showunqualifiedplayer(){return this.$$.ctx[19]}set showunqualifiedplayer(e){this.$$set({showunqualifiedplayer:e}),x()}get minscore(){return this.$$.ctx[20]}set minscore(e){this.$$set({minscore:e}),x()}get mobiletablelimit(){return this.$$.ctx[21]}set mobiletablelimit(e){this.$$set({mobiletablelimit:e}),x()}get tablelimit(){return this.$$.ctx[22]}set tablelimit(e){this.$$set({tablelimit:e}),x()}get updatetableintime(){return this.$$.ctx[23]}set updatetableintime(e){this.$$set({updatetableintime:e}),x()}get leaderboardoffset(){return this.$$.ctx[24]}set leaderboardoffset(e){this.$$set({leaderboardoffset:e}),x()}get leaderboardlimit(){return this.$$.ctx[25]}set leaderboardlimit(e){this.$$set({leaderboardlimit:e}),x()}get scorefractiondigit(){return this.$$.ctx[26]}set scorefractiondigit(e){this.$$set({scorefractiondigit:e}),x()}get loginevent(){return this.$$.ctx[27]}set loginevent(e){this.$$set({loginevent:e}),x()}get loginurl(){return this.$$.ctx[28]}set loginurl(e){this.$$set({loginurl:e}),x()}get registerevent(){return this.$$.ctx[29]}set registerevent(e){this.$$set({registerevent:e}),x()}get registerurl(){return this.$$.ctx[30]}set registerurl(e){this.$$set({registerurl:e}),x()}get limit(){return this.$$.ctx[31]}set limit(e){this.$$set({limit:e}),x()}get offset(){return this.$$.ctx[32]}set offset(e){this.$$set({offset:e}),x()}get keepbrowsercontext(){return this.$$.ctx[33]}set keepbrowsercontext(e){this.$$set({keepbrowsercontext:e}),x()}get showrankasimage(){return this.$$.ctx[34]}set showrankasimage(e){this.$$set({showrankasimage:e}),x()}get clientstyling(){return this.$$.ctx[2]}set clientstyling(e){this.$$set({clientstyling:e}),x()}get clientstylingurl(){return this.$$.ctx[3]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),x()}get translationurl(){return this.$$.ctx[4]}set translationurl(e){this.$$set({translationurl:e}),x()}}Ve(Ql,{layoutid:{},session:{},userid:{},tourid:{},endpoint:{},cmsendpoint:{},lang:{},mbsource:{},navigationbackbutton:{},currency:{},namemask:{},showunqualifiedplayer:{},minscore:{},mobiletablelimit:{},tablelimit:{},updatetableintime:{},leaderboardoffset:{},leaderboardlimit:{},scorefractiondigit:{},loginevent:{},loginurl:{},registerevent:{},registerurl:{},limit:{},offset:{},keepbrowsercontext:{},showrankasimage:{},clientstyling:{},clientstylingurl:{},translationurl:{}},[],[],!0);exports.default=Ql;