@everymatrix/casino-tournaments-list-controller 1.77.20 → 1.77.22

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 (37) hide show
  1. package/components/{CasinoTournamentsListController-Cvufxxw6.js → CasinoTournamentsListController-9GpvN-cU.js} +1384 -1455
  2. package/components/{CasinoTournamentsListController-DeCDXQJs.js → CasinoTournamentsListController-CmPRdMx4.js} +2177 -2166
  3. package/components/CasinoTournamentsListController-DXzweeLN.cjs +15 -0
  4. package/components/{CasinoTournamentsThumbnail-CjUK_Y0T.cjs → CasinoTournamentsThumbnail-CfmPohld.cjs} +1 -1
  5. package/components/{CasinoTournamentsThumbnail-ut-XdtB8.js → CasinoTournamentsThumbnail-DDkT22lO.js} +2 -2
  6. package/components/{CasinoTournamentsThumbnail-D9mZjvAm.js → CasinoTournamentsThumbnail-DHcrIxd-.js} +2 -2
  7. package/components/CasinoTournamentsThumbnailController-C-jtQzUd.cjs +16 -0
  8. package/components/{CasinoTournamentsThumbnailController-B55l9rTy.js → CasinoTournamentsThumbnailController-DRnB-3-H.js} +612 -543
  9. package/components/{CasinoTournamentsThumbnailController-CasnwEar.js → CasinoTournamentsThumbnailController-MlvOLFWR.js} +579 -510
  10. package/components/{CasinoTournamentsThumbnailDuration-BXQ8ow_7.js → CasinoTournamentsThumbnailDuration-8CaygNeP.js} +10 -10
  11. package/components/{CasinoTournamentsThumbnailDuration-B7NpOQTM.cjs → CasinoTournamentsThumbnailDuration-DEWie4Bz.cjs} +1 -1
  12. package/components/{CasinoTournamentsThumbnailDuration-Fgbj4W9w.js → CasinoTournamentsThumbnailDuration-DI72Vb2q.js} +10 -10
  13. package/components/{CasinoTournamentsThumbnailGamesSlider-DqJZOKCv.js → CasinoTournamentsThumbnailGamesSlider-Bp2jb-5i.js} +47 -47
  14. package/components/{CasinoTournamentsThumbnailGamesSlider-BvcRMeXB.cjs → CasinoTournamentsThumbnailGamesSlider-Bvi3agBk.cjs} +1 -1
  15. package/components/{CasinoTournamentsThumbnailGamesSlider-RGa8LwNf.js → CasinoTournamentsThumbnailGamesSlider-DoVfyQTt.js} +47 -47
  16. package/components/{CasinoTournamentsThumbnailPrizes-BcjLlrNI.js → CasinoTournamentsThumbnailPrizes-BR4fIGJb.js} +6 -6
  17. package/components/{CasinoTournamentsThumbnailPrizes-ChlDKR4R.cjs → CasinoTournamentsThumbnailPrizes-CnSTDH80.cjs} +1 -1
  18. package/components/{CasinoTournamentsThumbnailPrizes-YX_RxyBM.js → CasinoTournamentsThumbnailPrizes-DYV37yVW.js} +6 -6
  19. package/es2015/casino-tournaments-list-controller.cjs +1 -1
  20. package/es2015/casino-tournaments-list-controller.js +1 -1
  21. package/esnext/casino-tournaments-list-controller.js +1 -1
  22. package/package.json +1 -1
  23. package/stencil/{index-97d17652-D6HPqRtr.js → index-97d17652--F7PvMq9.js} +2 -2
  24. package/stencil/index-97d17652-BhLhk_xz.cjs +1 -0
  25. package/stencil/{index-97d17652-B0NIExnR.js → index-97d17652-CCFHkzJw.js} +2 -2
  26. package/stencil/{ui-image-BBrwf8a4.cjs → ui-image-Bk8cIvcH.cjs} +1 -1
  27. package/stencil/{ui-image-B374V2Sk.js → ui-image-CXqPvnQ2.js} +1 -1
  28. package/stencil/{ui-image-CQSJVNNX.js → ui-image-DgbODkuX.js} +1 -1
  29. package/stencil/{ui-image-b7b48fe5-BXmf73Ou.js → ui-image-b7b48fe5-ByRuJtdE.js} +1 -1
  30. package/stencil/{ui-image-b7b48fe5-c0NIgcTj.js → ui-image-b7b48fe5-D6iig_uN.js} +1 -1
  31. package/stencil/{ui-image-b7b48fe5-DaWM2RbJ.cjs → ui-image-b7b48fe5-DG83WzAo.cjs} +1 -1
  32. package/stencil/{ui-image_2-DbQ7SENq.js → ui-image_2-Bm97-wkj.js} +2 -2
  33. package/stencil/{ui-image_2-Cdo33umq.cjs → ui-image_2-DdFjzzNO.cjs} +1 -1
  34. package/stencil/{ui-image_2-L-CYescb.js → ui-image_2-qO3reSlr.js} +2 -2
  35. package/components/CasinoTournamentsListController-C_yh1dRY.cjs +0 -28
  36. package/components/CasinoTournamentsThumbnailController-BXlYi_jc.cjs +0 -3
  37. package/stencil/index-97d17652-DNpK20ur.cjs +0 -1
@@ -1,5 +1,5 @@
1
- import { U as m } from "./ui-image-b7b48fe5-BXmf73Ou.js";
2
- import { r, h as t, H as n } from "./index-97d17652-B0NIExnR.js";
1
+ import { U as m } from "./ui-image-b7b48fe5-D6iig_uN.js";
2
+ import { r, h as t, H as n } from "./index-97d17652-CCFHkzJw.js";
3
3
  const s = ":host{display:block}.Skeleton{animation:skeleton-loading 1s linear infinite alternate}.Rectangle{background-color:var(--emw-skeleton-rectangle-background, #c2c2c2);width:var(--emw-skeleton-rectangle-width, 400px);height:var(--emw-skeleton-rectangle-height, 200px);border-radius:var(--emw-skeleton-rectangle-border-radius, 10px)}.Circle{background-color:var(--emw-skeleton-circle-background, #c2c2c2);width:var(--emw-skeleton-circle-size, 400px);height:var(--emw-skeleton-circle-size, 400px);border-radius:50%}.Text{background-color:var(--emw-skeleton-text-background, #c2c2c2);width:var(--emw-skeleton-text-width, 500px);height:var(--emw-skeleton-text-height, 20px);border-radius:var(--emw-skeleton-text-border-radius, 10px);margin-bottom:var(--emw-skeleton-text-margin-bottom, 5px)}.Text:last-child{width:calc(var(--emw-skeleton-text-width, 400px) - 100px)}.Title{background-color:var(--emw-skeleton-title-background, #c2c2c2);width:var(--emw-skeleton-title-width, 300px);height:var(--emw-skeleton-title-height, 30px);border-radius:var(--emw-skeleton-title-border-radius, 10px);margin-bottom:var(--emw-skeleton-title-margin-bottom, 5px)}.Image{background-color:var(--emw-skeleton-image-background, #c2c2c2);width:var(--emw-skeleton-image-width, 100%);height:var(--emw-skeleton-image-height, 100%);border-radius:var(--emw-skeleton-image-border-radius, unset)}.Logo{background-color:var(--emw-skeleton-logo-background, #c2c2c2);width:var(--emw-skeleton-logo-width, 120px);height:var(--emw-skeleton-logo-height, 75px);border-radius:var(--emw-skeleton-logo-border-radius, 10px)}@keyframes skeleton-loading{0%{background-color:var(--emw-skeleton-primary-color, #e0e0e0)}100%{background-color:var(--emw-skeleton-secondary-color, #f0f0f0)}}", a = s, l = class {
4
4
  constructor(e) {
5
5
  r(this, e), this.stylingValue = {
@@ -1,28 +0,0 @@
1
- "use strict";var ys=Object.defineProperty,gs=Object.defineProperties;var ps=Object.getOwnPropertyDescriptors;var on=Object.getOwnPropertySymbols;var bs=Object.prototype.hasOwnProperty,vs=Object.prototype.propertyIsEnumerable;var ar=(e,t,r)=>t in e?ys(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,un=(e,t)=>{for(var r in t||(t={}))bs.call(t,r)&&ar(e,r,t[r]);if(on)for(var r of on(t))vs.call(t,r)&&ar(e,r,t[r]);return e},ln=(e,t)=>gs(e,ps(t));var q=(e,t,r)=>(ar(e,typeof t!="symbol"?t+"":t,r),r);var hn=(e,t,r)=>new Promise((n,i)=>{var s=l=>{try{o(r.next(l))}catch(u){i(u)}},a=l=>{try{o(r.throw(l))}catch(u){i(u)}},o=l=>l.done?n(l.value):Promise.resolve(l.value).then(s,a);o((r=r.apply(e,t)).next())});function Z(){}function Cn(e){return e()}function fn(){return Object.create(null)}function Ve(e){e.forEach(Cn)}function dt(e){return typeof e=="function"}function Ir(e,t){return e!=e?t==t:e!==t||e&&typeof e=="object"||typeof e=="function"}let vt;function Ss(e,t){return e===t?!0:(vt||(vt=document.createElement("a")),vt.href=t,e===vt.href)}function ws(e){return Object.keys(e).length===0}function Bn(e,...t){if(e==null){for(const n of t)n(void 0);return Z}const r=e.subscribe(...t);return r.unsubscribe?()=>r.unsubscribe():r}function Yn(e,t,r){e.$$.on_destroy.push(Bn(t,r))}function xs(e){return e&&dt(e.destroy)?e.destroy:Z}function Gt(e,t){e.appendChild(t)}function Fn(e,t,r){const n=Es(e);if(!n.getElementById(t)){const i=De("style");i.id=t,i.textContent=r,Ts(n,i)}}function Es(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function Ts(e,t){return Gt(e.head||e,t),t.sheet}function ze(e,t,r){e.insertBefore(t,r||null)}function we(e){e.parentNode&&e.parentNode.removeChild(e)}function Un(e,t){for(let r=0;r<e.length;r+=1)e[r]&&e[r].d(t)}function De(e){return document.createElement(e)}function Ms(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function $t(e){return document.createTextNode(e)}function Os(){return $t(" ")}function Gn(){return $t("")}function gr(e,t,r,n){return e.addEventListener(t,r,n),()=>e.removeEventListener(t,r,n)}function at(e,t,r){r==null?e.removeAttribute(t):e.getAttribute(t)!==r&&e.setAttribute(t,r)}function b(e,t,r){const n=t.toLowerCase();n in e?e[n]=typeof e[n]=="boolean"&&r===""?!0:r:t in e?e[t]=typeof e[t]=="boolean"&&r===""?!0:r:at(e,t,r)}function Ds(e){return Array.from(e.childNodes)}function $n(e,t){t=""+t,e.data!==t&&(e.data=t)}function Ps(e,t,r,n){r==null?e.style.removeProperty(t):e.style.setProperty(t,r,"")}let St;function ks(){if(St===void 0){St=!1;try{typeof window!="undefined"&&window.parent&&window.parent.document}catch(e){St=!0}}return St}function Ns(e,t){getComputedStyle(e).position==="static"&&(e.style.position="relative");const n=De("iframe");n.setAttribute("style","display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"),n.setAttribute("aria-hidden","true"),n.tabIndex=-1;const i=ks();let s;return i?(n.src="data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>",s=gr(window,"message",a=>{a.source===n.contentWindow&&t()})):(n.src="about:blank",n.onload=()=>{s=gr(n.contentWindow,"resize",t),t()}),Gt(e,n),()=>{(i||s&&n.contentWindow)&&s(),we(n)}}function Hs(e,t,r){e.classList.toggle(t,!!r)}function As(e){const t={};return e.childNodes.forEach(r=>{t[r.slot||"default"]=!0}),t}let ot;function nt(e){ot=e}function Ls(){if(!ot)throw new Error("Function called outside component initialization");return ot}function Wn(e){Ls().$$.on_mount.push(e)}const Re=[],Ht=[];let Be=[];const cn=[],Rs=Promise.resolve();let pr=!1;function Is(){pr||(pr=!0,Rs.then(B))}function At(e){Be.push(e)}const or=new Set;let He=0;function B(){if(He!==0)return;const e=ot;do{try{for(;He<Re.length;){const t=Re[He];He++,nt(t),Cs(t.$$)}}catch(t){throw Re.length=0,He=0,t}for(nt(null),Re.length=0,He=0;Ht.length;)Ht.pop()();for(let t=0;t<Be.length;t+=1){const r=Be[t];or.has(r)||(or.add(r),r())}Be.length=0}while(Re.length);for(;cn.length;)cn.pop()();pr=!1,or.clear(),nt(e)}function Cs(e){if(e.fragment!==null){e.update(),Ve(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(At)}}function Bs(e){const t=[],r=[];Be.forEach(n=>e.indexOf(n)===-1?t.push(n):r.push(n)),r.forEach(n=>n()),Be=t}const Ys=new Set;function Fs(e,t){e&&e.i&&(Ys.delete(e),e.i(t))}function br(e){return(e==null?void 0:e.length)!==void 0?e:Array.from(e)}function Us(e,t,r){const{fragment:n,after_update:i}=e.$$;n&&n.m(t,r),At(()=>{const s=e.$$.on_mount.map(Cn).filter(dt);e.$$.on_destroy?e.$$.on_destroy.push(...s):Ve(s),e.$$.on_mount=[]}),i.forEach(At)}function Gs(e,t){const r=e.$$;r.fragment!==null&&(Bs(r.after_update),Ve(r.on_destroy),r.fragment&&r.fragment.d(t),r.on_destroy=r.fragment=null,r.ctx=[])}function $s(e,t){e.$$.dirty[0]===-1&&(Re.push(e),Is(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function jn(e,t,r,n,i,s,a=null,o=[-1]){const l=ot;nt(e);const u=e.$$={fragment:null,ctx:[],props:s,update:Z,not_equal:i,bound:fn(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(l?l.$$.context:[])),callbacks:fn(),dirty:o,skip_bound:!1,root:t.target||l.$$.root};a&&a(u.root);let f=!1;if(u.ctx=r?r(e,t.props||{},(m,_,...D)=>{const P=D.length?D[0]:_;return u.ctx&&i(u.ctx[m],u.ctx[m]=P)&&(!u.skip_bound&&u.bound[m]&&u.bound[m](P),f&&$s(e,m)),_}):[],u.update(),f=!0,Ve(u.before_update),u.fragment=n?n(u.ctx):!1,t.target){if(t.hydrate){const m=Ds(t.target);u.fragment&&u.fragment.l(m),m.forEach(we)}else u.fragment&&u.fragment.c();t.intro&&Fs(e.$$.fragment),Us(e,t.target,t.anchor),B()}nt(l)}let Vn;typeof HTMLElement=="function"&&(Vn=class extends HTMLElement{constructor(t,r,n){super();q(this,"$$ctor");q(this,"$$s");q(this,"$$c");q(this,"$$cn",!1);q(this,"$$d",{});q(this,"$$r",!1);q(this,"$$p_d",{});q(this,"$$l",{});q(this,"$$l_u",new Map);this.$$ctor=t,this.$$s=r,n&&this.attachShadow({mode:"open"})}addEventListener(t,r,n){if(this.$$l[t]=this.$$l[t]||[],this.$$l[t].push(r),this.$$c){const i=this.$$c.$on(t,r);this.$$l_u.set(r,i)}super.addEventListener(t,r,n)}removeEventListener(t,r,n){if(super.removeEventListener(t,r,n),this.$$c){const i=this.$$l_u.get(r);i&&(i(),this.$$l_u.delete(r))}}connectedCallback(){return hn(this,null,function*(){if(this.$$cn=!0,!this.$$c){let t=function(s){return()=>{let a;return{c:function(){a=De("slot"),s!=="default"&&at(a,"name",s)},m:function(u,f){ze(u,a,f)},d:function(u){u&&we(a)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const r={},n=As(this);for(const s of this.$$s)s in n&&(r[s]=[t(s)]);for(const s of this.attributes){const a=this.$$g_p(s.name);a in this.$$d||(this.$$d[a]=Tt(a,s.value,this.$$p_d,"toProp"))}for(const s in this.$$p_d)!(s in this.$$d)&&this[s]!==void 0&&(this.$$d[s]=this[s],delete this[s]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:ln(un({},this.$$d),{$$slots:r,$$scope:{ctx:[]}})});const i=()=>{this.$$r=!0;for(const s in this.$$p_d)if(this.$$d[s]=this.$$c.$$.ctx[this.$$c.$$.props[s]],this.$$p_d[s].reflect){const a=Tt(s,this.$$d[s],this.$$p_d,"toAttribute");a==null?this.removeAttribute(this.$$p_d[s].attribute||s):this.setAttribute(this.$$p_d[s].attribute||s,a)}this.$$r=!1};this.$$c.$$.after_update.push(i),i();for(const s in this.$$l)for(const a of this.$$l[s]){const o=this.$$c.$on(s,a);this.$$l_u.set(a,o)}this.$$l={}}})}attributeChangedCallback(t,r,n){var i;this.$$r||(t=this.$$g_p(t),this.$$d[t]=Tt(t,n,this.$$p_d,"toProp"),(i=this.$$c)==null||i.$set({[t]:this.$$d[t]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$c=void 0)})}$$g_p(t){return Object.keys(this.$$p_d).find(r=>this.$$p_d[r].attribute===t||!this.$$p_d[r].attribute&&r.toLowerCase()===t)||t}});function Tt(e,t,r,n){var s;const i=(s=r[e])==null?void 0:s.type;if(t=i==="Boolean"&&typeof t!="boolean"?t!=null:t,!n||!r[e])return t;if(n==="toAttribute")switch(i){case"Object":case"Array":return t==null?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return t==null?null:t;default:return t}else switch(i){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function zn(e,t,r,n,i,s){let a=class extends Vn{constructor(){super(e,r,i),this.$$p_d=t}static get observedAttributes(){return Object.keys(t).map(o=>(t[o].attribute||o).toLowerCase())}};return Object.keys(t).forEach(o=>{Object.defineProperty(a.prototype,o,{get(){return this.$$c&&o in this.$$c?this.$$c[o]:this.$$d[o]},set(l){var u;l=Tt(o,l,t),this.$$d[o]=l,(u=this.$$c)==null||u.$set({[o]:l})}})}),n.forEach(o=>{Object.defineProperty(a.prototype,o,{get(){var l;return(l=this.$$c)==null?void 0:l[o]}})}),e.element=a,a}class Zn{constructor(){q(this,"$$");q(this,"$$set")}$destroy(){Gs(this,1),this.$destroy=Z}$on(t,r){if(!dt(r))return Z;const n=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return n.push(r),()=>{const i=n.indexOf(r);i!==-1&&n.splice(i,1)}}$set(t){this.$$set&&!ws(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const Ws="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(Ws);function js(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Vs(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}//! moment.js
2
- //! version : 2.29.4
3
- //! authors : Tim Wood, Iskren Chernev, Moment.js contributors
4
- //! license : MIT
5
- //! momentjs.com
6
- var Xn;function c(){return Xn.apply(null,arguments)}function zs(e){Xn=e}function te(e){return e instanceof Array||Object.prototype.toString.call(e)==="[object Array]"}function Oe(e){return e!=null&&Object.prototype.toString.call(e)==="[object Object]"}function T(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function Cr(e){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(e).length===0;var t;for(t in e)if(T(e,t))return!1;return!0}function V(e){return e===void 0}function _e(e){return typeof e=="number"||Object.prototype.toString.call(e)==="[object Number]"}function mt(e){return e instanceof Date||Object.prototype.toString.call(e)==="[object Date]"}function qn(e,t){var r=[],n,i=e.length;for(n=0;n<i;++n)r.push(t(e[n],n));return r}function pe(e,t){for(var r in t)T(t,r)&&(e[r]=t[r]);return T(t,"toString")&&(e.toString=t.toString),T(t,"valueOf")&&(e.valueOf=t.valueOf),e}function oe(e,t,r,n){return vi(e,t,r,n,!0).utc()}function Zs(){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 p(e){return e._pf==null&&(e._pf=Zs()),e._pf}var vr;Array.prototype.some?vr=Array.prototype.some:vr=function(e){var t=Object(this),r=t.length>>>0,n;for(n=0;n<r;n++)if(n in t&&e.call(this,t[n],n,t))return!0;return!1};function Br(e){if(e._isValid==null){var t=p(e),r=vr.call(t.parsedDateParts,function(i){return i!=null}),n=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&r);if(e._strict&&(n=n&&t.charsLeftOver===0&&t.unusedTokens.length===0&&t.bigHour===void 0),Object.isFrozen==null||!Object.isFrozen(e))e._isValid=n;else return n}return e._isValid}function Wt(e){var t=oe(NaN);return e!=null?pe(p(t),e):p(t).userInvalidated=!0,t}var dn=c.momentProperties=[],ur=!1;function Yr(e,t){var r,n,i,s=dn.length;if(V(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),V(t._i)||(e._i=t._i),V(t._f)||(e._f=t._f),V(t._l)||(e._l=t._l),V(t._strict)||(e._strict=t._strict),V(t._tzm)||(e._tzm=t._tzm),V(t._isUTC)||(e._isUTC=t._isUTC),V(t._offset)||(e._offset=t._offset),V(t._pf)||(e._pf=p(t)),V(t._locale)||(e._locale=t._locale),s>0)for(r=0;r<s;r++)n=dn[r],i=t[n],V(i)||(e[n]=i);return e}function _t(e){Yr(this,e),this._d=new Date(e._d!=null?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),ur===!1&&(ur=!0,c.updateOffset(this),ur=!1)}function re(e){return e instanceof _t||e!=null&&e._isAMomentObject!=null}function Jn(e){c.suppressDeprecationWarnings===!1&&typeof console!="undefined"&&console.warn&&console.warn("Deprecation warning: "+e)}function Q(e,t){var r=!0;return pe(function(){if(c.deprecationHandler!=null&&c.deprecationHandler(null,e),r){var n=[],i,s,a,o=arguments.length;for(s=0;s<o;s++){if(i="",typeof arguments[s]=="object"){i+=`
7
- [`+s+"] ";for(a in arguments[0])T(arguments[0],a)&&(i+=a+": "+arguments[0][a]+", ");i=i.slice(0,-2)}else i=arguments[s];n.push(i)}Jn(e+`
8
- Arguments: `+Array.prototype.slice.call(n).join("")+`
9
- `+new Error().stack),r=!1}return t.apply(this,arguments)},t)}var mn={};function Qn(e,t){c.deprecationHandler!=null&&c.deprecationHandler(e,t),mn[e]||(Jn(t),mn[e]=!0)}c.suppressDeprecationWarnings=!1;c.deprecationHandler=null;function ue(e){return typeof Function!="undefined"&&e instanceof Function||Object.prototype.toString.call(e)==="[object Function]"}function Xs(e){var t,r;for(r in e)T(e,r)&&(t=e[r],ue(t)?this[r]=t:this["_"+r]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function Sr(e,t){var r=pe({},e),n;for(n in t)T(t,n)&&(Oe(e[n])&&Oe(t[n])?(r[n]={},pe(r[n],e[n]),pe(r[n],t[n])):t[n]!=null?r[n]=t[n]:delete r[n]);for(n in e)T(e,n)&&!T(t,n)&&Oe(e[n])&&(r[n]=pe({},r[n]));return r}function Fr(e){e!=null&&this.set(e)}var wr;Object.keys?wr=Object.keys:wr=function(e){var t,r=[];for(t in e)T(e,t)&&r.push(t);return r};var qs={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function Js(e,t,r){var n=this._calendar[e]||this._calendar.sameElse;return ue(n)?n.call(t,r):n}function ae(e,t,r){var n=""+Math.abs(e),i=t-n.length,s=e>=0;return(s?r?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+n}var Ur=/(\[[^\[]*\])|(\\)?([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,wt=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,lr={},Ye={};function y(e,t,r,n){var i=n;typeof n=="string"&&(i=function(){return this[n]()}),e&&(Ye[e]=i),t&&(Ye[t[0]]=function(){return ae(i.apply(this,arguments),t[1],t[2])}),r&&(Ye[r]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function Qs(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function Ks(e){var t=e.match(Ur),r,n;for(r=0,n=t.length;r<n;r++)Ye[t[r]]?t[r]=Ye[t[r]]:t[r]=Qs(t[r]);return function(i){var s="",a;for(a=0;a<n;a++)s+=ue(t[a])?t[a].call(i,e):t[a];return s}}function Mt(e,t){return e.isValid()?(t=Kn(t,e.localeData()),lr[t]=lr[t]||Ks(t),lr[t](e)):e.localeData().invalidDate()}function Kn(e,t){var r=5;function n(i){return t.longDateFormat(i)||i}for(wt.lastIndex=0;r>=0&&wt.test(e);)e=e.replace(wt,n),wt.lastIndex=0,r-=1;return e}var ea={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 ta(e){var t=this._longDateFormat[e],r=this._longDateFormat[e.toUpperCase()];return t||!r?t:(this._longDateFormat[e]=r.match(Ur).map(function(n){return n==="MMMM"||n==="MM"||n==="DD"||n==="dddd"?n.slice(1):n}).join(""),this._longDateFormat[e])}var ra="Invalid date";function na(){return this._invalidDate}var ia="%d",sa=/\d{1,2}/;function aa(e){return this._ordinal.replace("%d",e)}var oa={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 ua(e,t,r,n){var i=this._relativeTime[r];return ue(i)?i(e,t,r,n):i.replace(/%d/i,e)}function la(e,t){var r=this._relativeTime[e>0?"future":"past"];return ue(r)?r(t):r.replace(/%s/i,t)}var it={};function U(e,t){var r=e.toLowerCase();it[r]=it[r+"s"]=it[t]=e}function K(e){return typeof e=="string"?it[e]||it[e.toLowerCase()]:void 0}function Gr(e){var t={},r,n;for(n in e)T(e,n)&&(r=K(n),r&&(t[r]=e[n]));return t}var ei={};function G(e,t){ei[e]=t}function ha(e){var t=[],r;for(r in e)T(e,r)&&t.push({unit:r,priority:ei[r]});return t.sort(function(n,i){return n.priority-i.priority}),t}function jt(e){return e%4===0&&e%100!==0||e%400===0}function J(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function v(e){var t=+e,r=0;return t!==0&&isFinite(t)&&(r=J(t)),r}function Ze(e,t){return function(r){return r!=null?(ti(this,e,r),c.updateOffset(this,t),this):Lt(this,e)}}function Lt(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function ti(e,t,r){e.isValid()&&!isNaN(r)&&(t==="FullYear"&&jt(e.year())&&e.month()===1&&e.date()===29?(r=v(r),e._d["set"+(e._isUTC?"UTC":"")+t](r,e.month(),Jt(r,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](r))}function fa(e){return e=K(e),ue(this[e])?this[e]():this}function ca(e,t){if(typeof e=="object"){e=Gr(e);var r=ha(e),n,i=r.length;for(n=0;n<i;n++)this[r[n].unit](e[r[n].unit])}else if(e=K(e),ue(this[e]))return this[e](t);return this}var ri=/\d/,X=/\d\d/,ni=/\d{3}/,$r=/\d{4}/,Vt=/[+-]?\d{6}/,N=/\d\d?/,ii=/\d\d\d\d?/,si=/\d\d\d\d\d\d?/,zt=/\d{1,3}/,Wr=/\d{1,4}/,Zt=/[+-]?\d{1,6}/,Xe=/\d+/,Xt=/[+-]?\d+/,da=/Z|[+-]\d\d:?\d\d/gi,qt=/Z|[+-]\d\d(?::?\d\d)?/gi,ma=/[+-]?\d+(\.\d{1,3})?/,yt=/[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,Rt;Rt={};function d(e,t,r){Rt[e]=ue(t)?t:function(n,i){return n&&r?r:t}}function _a(e,t){return T(Rt,e)?Rt[e](t._strict,t._locale):new RegExp(ya(e))}function ya(e){return z(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,r,n,i,s){return r||n||i||s}))}function z(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var xr={};function O(e,t){var r,n=t,i;for(typeof e=="string"&&(e=[e]),_e(t)&&(n=function(s,a){a[t]=v(s)}),i=e.length,r=0;r<i;r++)xr[e[r]]=n}function gt(e,t){O(e,function(r,n,i,s){i._w=i._w||{},t(r,i._w,i,s)})}function ga(e,t,r){t!=null&&T(xr,e)&&xr[e](t,r._a,r,e)}var F=0,ce=1,se=2,I=3,ee=4,de=5,Me=6,pa=7,ba=8;function va(e,t){return(e%t+t)%t}var L;Array.prototype.indexOf?L=Array.prototype.indexOf:L=function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1};function Jt(e,t){if(isNaN(e)||isNaN(t))return NaN;var r=va(t,12);return e+=(t-r)/12,r===1?jt(e)?29:28:31-r%7%2}y("M",["MM",2],"Mo",function(){return this.month()+1});y("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)});y("MMMM",0,0,function(e){return this.localeData().months(this,e)});U("month","M");G("month",8);d("M",N);d("MM",N,X);d("MMM",function(e,t){return t.monthsShortRegex(e)});d("MMMM",function(e,t){return t.monthsRegex(e)});O(["M","MM"],function(e,t){t[ce]=v(e)-1});O(["MMM","MMMM"],function(e,t,r,n){var i=r._locale.monthsParse(e,n,r._strict);i!=null?t[ce]=i:p(r).invalidMonth=e});var Sa="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ai="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),oi=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,wa=yt,xa=yt;function Ea(e,t){return e?te(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||oi).test(t)?"format":"standalone"][e.month()]:te(this._months)?this._months:this._months.standalone}function Ta(e,t){return e?te(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[oi.test(t)?"format":"standalone"][e.month()]:te(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function Ma(e,t,r){var n,i,s,a=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],n=0;n<12;++n)s=oe([2e3,n]),this._shortMonthsParse[n]=this.monthsShort(s,"").toLocaleLowerCase(),this._longMonthsParse[n]=this.months(s,"").toLocaleLowerCase();return r?t==="MMM"?(i=L.call(this._shortMonthsParse,a),i!==-1?i:null):(i=L.call(this._longMonthsParse,a),i!==-1?i:null):t==="MMM"?(i=L.call(this._shortMonthsParse,a),i!==-1?i:(i=L.call(this._longMonthsParse,a),i!==-1?i:null)):(i=L.call(this._longMonthsParse,a),i!==-1?i:(i=L.call(this._shortMonthsParse,a),i!==-1?i:null))}function Oa(e,t,r){var n,i,s;if(this._monthsParseExact)return Ma.call(this,e,t,r);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),n=0;n<12;n++){if(i=oe([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]&&(s="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[n]=new RegExp(s.replace(".",""),"i")),r&&t==="MMMM"&&this._longMonthsParse[n].test(e))return n;if(r&&t==="MMM"&&this._shortMonthsParse[n].test(e))return n;if(!r&&this._monthsParse[n].test(e))return n}}function ui(e,t){var r;if(!e.isValid())return e;if(typeof t=="string"){if(/^\d+$/.test(t))t=v(t);else if(t=e.localeData().monthsParse(t),!_e(t))return e}return r=Math.min(e.date(),Jt(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,r),e}function li(e){return e!=null?(ui(this,e),c.updateOffset(this,!0),this):Lt(this,"Month")}function Da(){return Jt(this.year(),this.month())}function Pa(e){return this._monthsParseExact?(T(this,"_monthsRegex")||hi.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(T(this,"_monthsShortRegex")||(this._monthsShortRegex=wa),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function ka(e){return this._monthsParseExact?(T(this,"_monthsRegex")||hi.call(this),e?this._monthsStrictRegex:this._monthsRegex):(T(this,"_monthsRegex")||(this._monthsRegex=xa),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function hi(){function e(a,o){return o.length-a.length}var t=[],r=[],n=[],i,s;for(i=0;i<12;i++)s=oe([2e3,i]),t.push(this.monthsShort(s,"")),r.push(this.months(s,"")),n.push(this.months(s,"")),n.push(this.monthsShort(s,""));for(t.sort(e),r.sort(e),n.sort(e),i=0;i<12;i++)t[i]=z(t[i]),r[i]=z(r[i]);for(i=0;i<24;i++)n[i]=z(n[i]);this._monthsRegex=new RegExp("^("+n.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+t.join("|")+")","i")}y("Y",0,0,function(){var e=this.year();return e<=9999?ae(e,4):"+"+e});y(0,["YY",2],0,function(){return this.year()%100});y(0,["YYYY",4],0,"year");y(0,["YYYYY",5],0,"year");y(0,["YYYYYY",6,!0],0,"year");U("year","y");G("year",1);d("Y",Xt);d("YY",N,X);d("YYYY",Wr,$r);d("YYYYY",Zt,Vt);d("YYYYYY",Zt,Vt);O(["YYYYY","YYYYYY"],F);O("YYYY",function(e,t){t[F]=e.length===2?c.parseTwoDigitYear(e):v(e)});O("YY",function(e,t){t[F]=c.parseTwoDigitYear(e)});O("Y",function(e,t){t[F]=parseInt(e,10)});function st(e){return jt(e)?366:365}c.parseTwoDigitYear=function(e){return v(e)+(v(e)>68?1900:2e3)};var fi=Ze("FullYear",!0);function Na(){return jt(this.year())}function Ha(e,t,r,n,i,s,a){var o;return e<100&&e>=0?(o=new Date(e+400,t,r,n,i,s,a),isFinite(o.getFullYear())&&o.setFullYear(e)):o=new Date(e,t,r,n,i,s,a),o}function ut(e){var t,r;return e<100&&e>=0?(r=Array.prototype.slice.call(arguments),r[0]=e+400,t=new Date(Date.UTC.apply(null,r)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function It(e,t,r){var n=7+t-r,i=(7+ut(e,0,n).getUTCDay()-t)%7;return-i+n-1}function ci(e,t,r,n,i){var s=(7+r-n)%7,a=It(e,n,i),o=1+7*(t-1)+s+a,l,u;return o<=0?(l=e-1,u=st(l)+o):o>st(e)?(l=e+1,u=o-st(e)):(l=e,u=o),{year:l,dayOfYear:u}}function lt(e,t,r){var n=It(e.year(),t,r),i=Math.floor((e.dayOfYear()-n-1)/7)+1,s,a;return i<1?(a=e.year()-1,s=i+me(a,t,r)):i>me(e.year(),t,r)?(s=i-me(e.year(),t,r),a=e.year()+1):(a=e.year(),s=i),{week:s,year:a}}function me(e,t,r){var n=It(e,t,r),i=It(e+1,t,r);return(st(e)-n+i)/7}y("w",["ww",2],"wo","week");y("W",["WW",2],"Wo","isoWeek");U("week","w");U("isoWeek","W");G("week",5);G("isoWeek",5);d("w",N);d("ww",N,X);d("W",N);d("WW",N,X);gt(["w","ww","W","WW"],function(e,t,r,n){t[n.substr(0,1)]=v(e)});function Aa(e){return lt(e,this._week.dow,this._week.doy).week}var La={dow:0,doy:6};function Ra(){return this._week.dow}function Ia(){return this._week.doy}function Ca(e){var t=this.localeData().week(this);return e==null?t:this.add((e-t)*7,"d")}function Ba(e){var t=lt(this,1,4).week;return e==null?t:this.add((e-t)*7,"d")}y("d",0,"do","day");y("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)});y("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)});y("dddd",0,0,function(e){return this.localeData().weekdays(this,e)});y("e",0,0,"weekday");y("E",0,0,"isoWeekday");U("day","d");U("weekday","e");U("isoWeekday","E");G("day",11);G("weekday",11);G("isoWeekday",11);d("d",N);d("e",N);d("E",N);d("dd",function(e,t){return t.weekdaysMinRegex(e)});d("ddd",function(e,t){return t.weekdaysShortRegex(e)});d("dddd",function(e,t){return t.weekdaysRegex(e)});gt(["dd","ddd","dddd"],function(e,t,r,n){var i=r._locale.weekdaysParse(e,n,r._strict);i!=null?t.d=i:p(r).invalidWeekday=e});gt(["d","e","E"],function(e,t,r,n){t[n]=v(e)});function Ya(e,t){return typeof e!="string"?e:isNaN(e)?(e=t.weekdaysParse(e),typeof e=="number"?e:null):parseInt(e,10)}function Fa(e,t){return typeof e=="string"?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function jr(e,t){return e.slice(t,7).concat(e.slice(0,t))}var Ua="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),di="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Ga="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),$a=yt,Wa=yt,ja=yt;function Va(e,t){var r=te(this._weekdays)?this._weekdays:this._weekdays[e&&e!==!0&&this._weekdays.isFormat.test(t)?"format":"standalone"];return e===!0?jr(r,this._week.dow):e?r[e.day()]:r}function za(e){return e===!0?jr(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Za(e){return e===!0?jr(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Xa(e,t,r){var n,i,s,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],n=0;n<7;++n)s=oe([2e3,1]).day(n),this._minWeekdaysParse[n]=this.weekdaysMin(s,"").toLocaleLowerCase(),this._shortWeekdaysParse[n]=this.weekdaysShort(s,"").toLocaleLowerCase(),this._weekdaysParse[n]=this.weekdays(s,"").toLocaleLowerCase();return r?t==="dddd"?(i=L.call(this._weekdaysParse,a),i!==-1?i:null):t==="ddd"?(i=L.call(this._shortWeekdaysParse,a),i!==-1?i:null):(i=L.call(this._minWeekdaysParse,a),i!==-1?i:null):t==="dddd"?(i=L.call(this._weekdaysParse,a),i!==-1||(i=L.call(this._shortWeekdaysParse,a),i!==-1)?i:(i=L.call(this._minWeekdaysParse,a),i!==-1?i:null)):t==="ddd"?(i=L.call(this._shortWeekdaysParse,a),i!==-1||(i=L.call(this._weekdaysParse,a),i!==-1)?i:(i=L.call(this._minWeekdaysParse,a),i!==-1?i:null)):(i=L.call(this._minWeekdaysParse,a),i!==-1||(i=L.call(this._weekdaysParse,a),i!==-1)?i:(i=L.call(this._shortWeekdaysParse,a),i!==-1?i:null))}function qa(e,t,r){var n,i,s;if(this._weekdaysParseExact)return Xa.call(this,e,t,r);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),n=0;n<7;n++){if(i=oe([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]||(s="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[n]=new RegExp(s.replace(".",""),"i")),r&&t==="dddd"&&this._fullWeekdaysParse[n].test(e))return n;if(r&&t==="ddd"&&this._shortWeekdaysParse[n].test(e))return n;if(r&&t==="dd"&&this._minWeekdaysParse[n].test(e))return n;if(!r&&this._weekdaysParse[n].test(e))return n}}function Ja(e){if(!this.isValid())return e!=null?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return e!=null?(e=Ya(e,this.localeData()),this.add(e-t,"d")):t}function Qa(e){if(!this.isValid())return e!=null?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return e==null?t:this.add(e-t,"d")}function Ka(e){if(!this.isValid())return e!=null?this:NaN;if(e!=null){var t=Fa(e,this.localeData());return this.day(this.day()%7?t:t-7)}else return this.day()||7}function eo(e){return this._weekdaysParseExact?(T(this,"_weekdaysRegex")||Vr.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(T(this,"_weekdaysRegex")||(this._weekdaysRegex=$a),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function to(e){return this._weekdaysParseExact?(T(this,"_weekdaysRegex")||Vr.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(T(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Wa),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function ro(e){return this._weekdaysParseExact?(T(this,"_weekdaysRegex")||Vr.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(T(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=ja),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Vr(){function e(f,m){return m.length-f.length}var t=[],r=[],n=[],i=[],s,a,o,l,u;for(s=0;s<7;s++)a=oe([2e3,1]).day(s),o=z(this.weekdaysMin(a,"")),l=z(this.weekdaysShort(a,"")),u=z(this.weekdays(a,"")),t.push(o),r.push(l),n.push(u),i.push(o),i.push(l),i.push(u);t.sort(e),r.sort(e),n.sort(e),i.sort(e),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("^("+t.join("|")+")","i")}function zr(){return this.hours()%12||12}function no(){return this.hours()||24}y("H",["HH",2],0,"hour");y("h",["hh",2],0,zr);y("k",["kk",2],0,no);y("hmm",0,0,function(){return""+zr.apply(this)+ae(this.minutes(),2)});y("hmmss",0,0,function(){return""+zr.apply(this)+ae(this.minutes(),2)+ae(this.seconds(),2)});y("Hmm",0,0,function(){return""+this.hours()+ae(this.minutes(),2)});y("Hmmss",0,0,function(){return""+this.hours()+ae(this.minutes(),2)+ae(this.seconds(),2)});function mi(e,t){y(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}mi("a",!0);mi("A",!1);U("hour","h");G("hour",13);function _i(e,t){return t._meridiemParse}d("a",_i);d("A",_i);d("H",N);d("h",N);d("k",N);d("HH",N,X);d("hh",N,X);d("kk",N,X);d("hmm",ii);d("hmmss",si);d("Hmm",ii);d("Hmmss",si);O(["H","HH"],I);O(["k","kk"],function(e,t,r){var n=v(e);t[I]=n===24?0:n});O(["a","A"],function(e,t,r){r._isPm=r._locale.isPM(e),r._meridiem=e});O(["h","hh"],function(e,t,r){t[I]=v(e),p(r).bigHour=!0});O("hmm",function(e,t,r){var n=e.length-2;t[I]=v(e.substr(0,n)),t[ee]=v(e.substr(n)),p(r).bigHour=!0});O("hmmss",function(e,t,r){var n=e.length-4,i=e.length-2;t[I]=v(e.substr(0,n)),t[ee]=v(e.substr(n,2)),t[de]=v(e.substr(i)),p(r).bigHour=!0});O("Hmm",function(e,t,r){var n=e.length-2;t[I]=v(e.substr(0,n)),t[ee]=v(e.substr(n))});O("Hmmss",function(e,t,r){var n=e.length-4,i=e.length-2;t[I]=v(e.substr(0,n)),t[ee]=v(e.substr(n,2)),t[de]=v(e.substr(i))});function io(e){return(e+"").toLowerCase().charAt(0)==="p"}var so=/[ap]\.?m?\.?/i,ao=Ze("Hours",!0);function oo(e,t,r){return e>11?r?"pm":"PM":r?"am":"AM"}var yi={calendar:qs,longDateFormat:ea,invalidDate:ra,ordinal:ia,dayOfMonthOrdinalParse:sa,relativeTime:oa,months:Sa,monthsShort:ai,week:La,weekdays:Ua,weekdaysMin:Ga,weekdaysShort:di,meridiemParse:so},H={},et={},ht;function uo(e,t){var r,n=Math.min(e.length,t.length);for(r=0;r<n;r+=1)if(e[r]!==t[r])return r;return n}function _n(e){return e&&e.toLowerCase().replace("_","-")}function lo(e){for(var t=0,r,n,i,s;t<e.length;){for(s=_n(e[t]).split("-"),r=s.length,n=_n(e[t+1]),n=n?n.split("-"):null;r>0;){if(i=Qt(s.slice(0,r).join("-")),i)return i;if(n&&n.length>=r&&uo(s,n)>=r-1)break;r--}t++}return ht}function ho(e){return e.match("^[^/\\\\]*$")!=null}function Qt(e){var t=null,r;if(H[e]===void 0&&typeof module!="undefined"&&module&&module.exports&&ho(e))try{t=ht._abbr,r=Vs,r("./locale/"+e),Se(t)}catch(n){H[e]=null}return H[e]}function Se(e,t){var r;return e&&(V(t)?r=ye(e):r=Zr(e,t),r?ht=r:typeof console!="undefined"&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),ht._abbr}function Zr(e,t){if(t!==null){var r,n=yi;if(t.abbr=e,H[e]!=null)Qn("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=H[e]._config;else if(t.parentLocale!=null)if(H[t.parentLocale]!=null)n=H[t.parentLocale]._config;else if(r=Qt(t.parentLocale),r!=null)n=r._config;else return et[t.parentLocale]||(et[t.parentLocale]=[]),et[t.parentLocale].push({name:e,config:t}),null;return H[e]=new Fr(Sr(n,t)),et[e]&&et[e].forEach(function(i){Zr(i.name,i.config)}),Se(e),H[e]}else return delete H[e],null}function fo(e,t){if(t!=null){var r,n,i=yi;H[e]!=null&&H[e].parentLocale!=null?H[e].set(Sr(H[e]._config,t)):(n=Qt(e),n!=null&&(i=n._config),t=Sr(i,t),n==null&&(t.abbr=e),r=new Fr(t),r.parentLocale=H[e],H[e]=r),Se(e)}else H[e]!=null&&(H[e].parentLocale!=null?(H[e]=H[e].parentLocale,e===Se()&&Se(e)):H[e]!=null&&delete H[e]);return H[e]}function ye(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return ht;if(!te(e)){if(t=Qt(e),t)return t;e=[e]}return lo(e)}function co(){return wr(H)}function Xr(e){var t,r=e._a;return r&&p(e).overflow===-2&&(t=r[ce]<0||r[ce]>11?ce:r[se]<1||r[se]>Jt(r[F],r[ce])?se:r[I]<0||r[I]>24||r[I]===24&&(r[ee]!==0||r[de]!==0||r[Me]!==0)?I:r[ee]<0||r[ee]>59?ee:r[de]<0||r[de]>59?de:r[Me]<0||r[Me]>999?Me:-1,p(e)._overflowDayOfYear&&(t<F||t>se)&&(t=se),p(e)._overflowWeeks&&t===-1&&(t=pa),p(e)._overflowWeekday&&t===-1&&(t=ba),p(e).overflow=t),e}var mo=/^\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)?)?$/,_o=/^\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)?)?$/,yo=/Z|[+-]\d\d(?::?\d\d)?/,xt=[["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]],hr=[["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/]],go=/^\/?Date\((-?\d+)/i,po=/^(?:(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}))$/,bo={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 gi(e){var t,r,n=e._i,i=mo.exec(n)||_o.exec(n),s,a,o,l,u=xt.length,f=hr.length;if(i){for(p(e).iso=!0,t=0,r=u;t<r;t++)if(xt[t][1].exec(i[1])){a=xt[t][0],s=xt[t][2]!==!1;break}if(a==null){e._isValid=!1;return}if(i[3]){for(t=0,r=f;t<r;t++)if(hr[t][1].exec(i[3])){o=(i[2]||" ")+hr[t][0];break}if(o==null){e._isValid=!1;return}}if(!s&&o!=null){e._isValid=!1;return}if(i[4])if(yo.exec(i[4]))l="Z";else{e._isValid=!1;return}e._f=a+(o||"")+(l||""),Jr(e)}else e._isValid=!1}function vo(e,t,r,n,i,s){var a=[So(e),ai.indexOf(t),parseInt(r,10),parseInt(n,10),parseInt(i,10)];return s&&a.push(parseInt(s,10)),a}function So(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function wo(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function xo(e,t,r){if(e){var n=di.indexOf(e),i=new Date(t[0],t[1],t[2]).getDay();if(n!==i)return p(r).weekdayMismatch=!0,r._isValid=!1,!1}return!0}function Eo(e,t,r){if(e)return bo[e];if(t)return 0;var n=parseInt(r,10),i=n%100,s=(n-i)/100;return s*60+i}function pi(e){var t=po.exec(wo(e._i)),r;if(t){if(r=vo(t[4],t[3],t[2],t[5],t[6],t[7]),!xo(t[1],r,e))return;e._a=r,e._tzm=Eo(t[8],t[9],t[10]),e._d=ut.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),p(e).rfc2822=!0}else e._isValid=!1}function To(e){var t=go.exec(e._i);if(t!==null){e._d=new Date(+t[1]);return}if(gi(e),e._isValid===!1)delete e._isValid;else return;if(pi(e),e._isValid===!1)delete e._isValid;else return;e._strict?e._isValid=!1:c.createFromInputFallback(e)}c.createFromInputFallback=Q("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(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))});function Ie(e,t,r){return e!=null?e:t!=null?t:r}function Mo(e){var t=new Date(c.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function qr(e){var t,r,n=[],i,s,a;if(!e._d){for(i=Mo(e),e._w&&e._a[se]==null&&e._a[ce]==null&&Oo(e),e._dayOfYear!=null&&(a=Ie(e._a[F],i[F]),(e._dayOfYear>st(a)||e._dayOfYear===0)&&(p(e)._overflowDayOfYear=!0),r=ut(a,0,e._dayOfYear),e._a[ce]=r.getUTCMonth(),e._a[se]=r.getUTCDate()),t=0;t<3&&e._a[t]==null;++t)e._a[t]=n[t]=i[t];for(;t<7;t++)e._a[t]=n[t]=e._a[t]==null?t===2?1:0:e._a[t];e._a[I]===24&&e._a[ee]===0&&e._a[de]===0&&e._a[Me]===0&&(e._nextDay=!0,e._a[I]=0),e._d=(e._useUTC?ut:Ha).apply(null,n),s=e._useUTC?e._d.getUTCDay():e._d.getDay(),e._tzm!=null&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[I]=24),e._w&&typeof e._w.d!="undefined"&&e._w.d!==s&&(p(e).weekdayMismatch=!0)}}function Oo(e){var t,r,n,i,s,a,o,l,u;t=e._w,t.GG!=null||t.W!=null||t.E!=null?(s=1,a=4,r=Ie(t.GG,e._a[F],lt(k(),1,4).year),n=Ie(t.W,1),i=Ie(t.E,1),(i<1||i>7)&&(l=!0)):(s=e._locale._week.dow,a=e._locale._week.doy,u=lt(k(),s,a),r=Ie(t.gg,e._a[F],u.year),n=Ie(t.w,u.week),t.d!=null?(i=t.d,(i<0||i>6)&&(l=!0)):t.e!=null?(i=t.e+s,(t.e<0||t.e>6)&&(l=!0)):i=s),n<1||n>me(r,s,a)?p(e)._overflowWeeks=!0:l!=null?p(e)._overflowWeekday=!0:(o=ci(r,n,i,s,a),e._a[F]=o.year,e._dayOfYear=o.dayOfYear)}c.ISO_8601=function(){};c.RFC_2822=function(){};function Jr(e){if(e._f===c.ISO_8601){gi(e);return}if(e._f===c.RFC_2822){pi(e);return}e._a=[],p(e).empty=!0;var t=""+e._i,r,n,i,s,a,o=t.length,l=0,u,f;for(i=Kn(e._f,e._locale).match(Ur)||[],f=i.length,r=0;r<f;r++)s=i[r],n=(t.match(_a(s,e))||[])[0],n&&(a=t.substr(0,t.indexOf(n)),a.length>0&&p(e).unusedInput.push(a),t=t.slice(t.indexOf(n)+n.length),l+=n.length),Ye[s]?(n?p(e).empty=!1:p(e).unusedTokens.push(s),ga(s,n,e)):e._strict&&!n&&p(e).unusedTokens.push(s);p(e).charsLeftOver=o-l,t.length>0&&p(e).unusedInput.push(t),e._a[I]<=12&&p(e).bigHour===!0&&e._a[I]>0&&(p(e).bigHour=void 0),p(e).parsedDateParts=e._a.slice(0),p(e).meridiem=e._meridiem,e._a[I]=Do(e._locale,e._a[I],e._meridiem),u=p(e).era,u!==null&&(e._a[F]=e._locale.erasConvertYear(u,e._a[F])),qr(e),Xr(e)}function Do(e,t,r){var n;return r==null?t:e.meridiemHour!=null?e.meridiemHour(t,r):(e.isPM!=null&&(n=e.isPM(r),n&&t<12&&(t+=12),!n&&t===12&&(t=0)),t)}function Po(e){var t,r,n,i,s,a,o=!1,l=e._f.length;if(l===0){p(e).invalidFormat=!0,e._d=new Date(NaN);return}for(i=0;i<l;i++)s=0,a=!1,t=Yr({},e),e._useUTC!=null&&(t._useUTC=e._useUTC),t._f=e._f[i],Jr(t),Br(t)&&(a=!0),s+=p(t).charsLeftOver,s+=p(t).unusedTokens.length*10,p(t).score=s,o?s<n&&(n=s,r=t):(n==null||s<n||a)&&(n=s,r=t,a&&(o=!0));pe(e,r||t)}function ko(e){if(!e._d){var t=Gr(e._i),r=t.day===void 0?t.date:t.day;e._a=qn([t.year,t.month,r,t.hour,t.minute,t.second,t.millisecond],function(n){return n&&parseInt(n,10)}),qr(e)}}function No(e){var t=new _t(Xr(bi(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function bi(e){var t=e._i,r=e._f;return e._locale=e._locale||ye(e._l),t===null||r===void 0&&t===""?Wt({nullInput:!0}):(typeof t=="string"&&(e._i=t=e._locale.preparse(t)),re(t)?new _t(Xr(t)):(mt(t)?e._d=t:te(r)?Po(e):r?Jr(e):Ho(e),Br(e)||(e._d=null),e))}function Ho(e){var t=e._i;V(t)?e._d=new Date(c.now()):mt(t)?e._d=new Date(t.valueOf()):typeof t=="string"?To(e):te(t)?(e._a=qn(t.slice(0),function(r){return parseInt(r,10)}),qr(e)):Oe(t)?ko(e):_e(t)?e._d=new Date(t):c.createFromInputFallback(e)}function vi(e,t,r,n,i){var s={};return(t===!0||t===!1)&&(n=t,t=void 0),(r===!0||r===!1)&&(n=r,r=void 0),(Oe(e)&&Cr(e)||te(e)&&e.length===0)&&(e=void 0),s._isAMomentObject=!0,s._useUTC=s._isUTC=i,s._l=r,s._i=e,s._f=t,s._strict=n,No(s)}function k(e,t,r,n){return vi(e,t,r,n,!1)}var Ao=Q("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=k.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:Wt()}),Lo=Q("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=k.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:Wt()});function Si(e,t){var r,n;if(t.length===1&&te(t[0])&&(t=t[0]),!t.length)return k();for(r=t[0],n=1;n<t.length;++n)(!t[n].isValid()||t[n][e](r))&&(r=t[n]);return r}function Ro(){var e=[].slice.call(arguments,0);return Si("isBefore",e)}function Io(){var e=[].slice.call(arguments,0);return Si("isAfter",e)}var Co=function(){return Date.now?Date.now():+new Date},tt=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Bo(e){var t,r=!1,n,i=tt.length;for(t in e)if(T(e,t)&&!(L.call(tt,t)!==-1&&(e[t]==null||!isNaN(e[t]))))return!1;for(n=0;n<i;++n)if(e[tt[n]]){if(r)return!1;parseFloat(e[tt[n]])!==v(e[tt[n]])&&(r=!0)}return!0}function Yo(){return this._isValid}function Fo(){return ne(NaN)}function Kt(e){var t=Gr(e),r=t.year||0,n=t.quarter||0,i=t.month||0,s=t.week||t.isoWeek||0,a=t.day||0,o=t.hour||0,l=t.minute||0,u=t.second||0,f=t.millisecond||0;this._isValid=Bo(t),this._milliseconds=+f+u*1e3+l*6e4+o*1e3*60*60,this._days=+a+s*7,this._months=+i+n*3+r*12,this._data={},this._locale=ye(),this._bubble()}function Ot(e){return e instanceof Kt}function Er(e){return e<0?Math.round(-1*e)*-1:Math.round(e)}function Uo(e,t,r){var n=Math.min(e.length,t.length),i=Math.abs(e.length-t.length),s=0,a;for(a=0;a<n;a++)v(e[a])!==v(t[a])&&s++;return s+i}function wi(e,t){y(e,0,0,function(){var r=this.utcOffset(),n="+";return r<0&&(r=-r,n="-"),n+ae(~~(r/60),2)+t+ae(~~r%60,2)})}wi("Z",":");wi("ZZ","");d("Z",qt);d("ZZ",qt);O(["Z","ZZ"],function(e,t,r){r._useUTC=!0,r._tzm=Qr(qt,e)});var Go=/([\+\-]|\d\d)/gi;function Qr(e,t){var r=(t||"").match(e),n,i,s;return r===null?null:(n=r[r.length-1]||[],i=(n+"").match(Go)||["-",0,0],s=+(i[1]*60)+v(i[2]),s===0?0:i[0]==="+"?s:-s)}function Kr(e,t){var r,n;return t._isUTC?(r=t.clone(),n=(re(e)||mt(e)?e.valueOf():k(e).valueOf())-r.valueOf(),r._d.setTime(r._d.valueOf()+n),c.updateOffset(r,!1),r):k(e).local()}function Tr(e){return-Math.round(e._d.getTimezoneOffset())}c.updateOffset=function(){};function $o(e,t,r){var n=this._offset||0,i;if(!this.isValid())return e!=null?this:NaN;if(e!=null){if(typeof e=="string"){if(e=Qr(qt,e),e===null)return this}else Math.abs(e)<16&&!r&&(e=e*60);return!this._isUTC&&t&&(i=Tr(this)),this._offset=e,this._isUTC=!0,i!=null&&this.add(i,"m"),n!==e&&(!t||this._changeInProgress?Ti(this,ne(e-n,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,c.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?n:Tr(this)}function Wo(e,t){return e!=null?(typeof e!="string"&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function jo(e){return this.utcOffset(0,e)}function Vo(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Tr(this),"m")),this}function zo(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var e=Qr(da,this._i);e!=null?this.utcOffset(e):this.utcOffset(0,!0)}return this}function Zo(e){return this.isValid()?(e=e?k(e).utcOffset():0,(this.utcOffset()-e)%60===0):!1}function Xo(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function qo(){if(!V(this._isDSTShifted))return this._isDSTShifted;var e={},t;return Yr(e,this),e=bi(e),e._a?(t=e._isUTC?oe(e._a):k(e._a),this._isDSTShifted=this.isValid()&&Uo(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function Jo(){return this.isValid()?!this._isUTC:!1}function Qo(){return this.isValid()?this._isUTC:!1}function xi(){return this.isValid()?this._isUTC&&this._offset===0:!1}var Ko=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,eu=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function ne(e,t){var r=e,n=null,i,s,a;return Ot(e)?r={ms:e._milliseconds,d:e._days,M:e._months}:_e(e)||!isNaN(+e)?(r={},t?r[t]=+e:r.milliseconds=+e):(n=Ko.exec(e))?(i=n[1]==="-"?-1:1,r={y:0,d:v(n[se])*i,h:v(n[I])*i,m:v(n[ee])*i,s:v(n[de])*i,ms:v(Er(n[Me]*1e3))*i}):(n=eu.exec(e))?(i=n[1]==="-"?-1:1,r={y:Te(n[2],i),M:Te(n[3],i),w:Te(n[4],i),d:Te(n[5],i),h:Te(n[6],i),m:Te(n[7],i),s:Te(n[8],i)}):r==null?r={}:typeof r=="object"&&("from"in r||"to"in r)&&(a=tu(k(r.from),k(r.to)),r={},r.ms=a.milliseconds,r.M=a.months),s=new Kt(r),Ot(e)&&T(e,"_locale")&&(s._locale=e._locale),Ot(e)&&T(e,"_isValid")&&(s._isValid=e._isValid),s}ne.fn=Kt.prototype;ne.invalid=Fo;function Te(e,t){var r=e&&parseFloat(e.replace(",","."));return(isNaN(r)?0:r)*t}function yn(e,t){var r={};return r.months=t.month()-e.month()+(t.year()-e.year())*12,e.clone().add(r.months,"M").isAfter(t)&&--r.months,r.milliseconds=+t-+e.clone().add(r.months,"M"),r}function tu(e,t){var r;return e.isValid()&&t.isValid()?(t=Kr(t,e),e.isBefore(t)?r=yn(e,t):(r=yn(t,e),r.milliseconds=-r.milliseconds,r.months=-r.months),r):{milliseconds:0,months:0}}function Ei(e,t){return function(r,n){var i,s;return n!==null&&!isNaN(+n)&&(Qn(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),s=r,r=n,n=s),i=ne(r,n),Ti(this,i,e),this}}function Ti(e,t,r,n){var i=t._milliseconds,s=Er(t._days),a=Er(t._months);e.isValid()&&(n=n==null?!0:n,a&&ui(e,Lt(e,"Month")+a*r),s&&ti(e,"Date",Lt(e,"Date")+s*r),i&&e._d.setTime(e._d.valueOf()+i*r),n&&c.updateOffset(e,s||a))}var ru=Ei(1,"add"),nu=Ei(-1,"subtract");function Mi(e){return typeof e=="string"||e instanceof String}function iu(e){return re(e)||mt(e)||Mi(e)||_e(e)||au(e)||su(e)||e===null||e===void 0}function su(e){var t=Oe(e)&&!Cr(e),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,s,a=n.length;for(i=0;i<a;i+=1)s=n[i],r=r||T(e,s);return t&&r}function au(e){var t=te(e),r=!1;return t&&(r=e.filter(function(n){return!_e(n)&&Mi(e)}).length===0),t&&r}function ou(e){var t=Oe(e)&&!Cr(e),r=!1,n=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],i,s;for(i=0;i<n.length;i+=1)s=n[i],r=r||T(e,s);return t&&r}function uu(e,t){var r=e.diff(t,"days",!0);return r<-6?"sameElse":r<-1?"lastWeek":r<0?"lastDay":r<1?"sameDay":r<2?"nextDay":r<7?"nextWeek":"sameElse"}function lu(e,t){arguments.length===1&&(arguments[0]?iu(arguments[0])?(e=arguments[0],t=void 0):ou(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var r=e||k(),n=Kr(r,this).startOf("day"),i=c.calendarFormat(this,n)||"sameElse",s=t&&(ue(t[i])?t[i].call(this,r):t[i]);return this.format(s||this.localeData().calendar(i,this,k(r)))}function hu(){return new _t(this)}function fu(e,t){var r=re(e)?e:k(e);return this.isValid()&&r.isValid()?(t=K(t)||"millisecond",t==="millisecond"?this.valueOf()>r.valueOf():r.valueOf()<this.clone().startOf(t).valueOf()):!1}function cu(e,t){var r=re(e)?e:k(e);return this.isValid()&&r.isValid()?(t=K(t)||"millisecond",t==="millisecond"?this.valueOf()<r.valueOf():this.clone().endOf(t).valueOf()<r.valueOf()):!1}function du(e,t,r,n){var i=re(e)?e:k(e),s=re(t)?t:k(t);return this.isValid()&&i.isValid()&&s.isValid()?(n=n||"()",(n[0]==="("?this.isAfter(i,r):!this.isBefore(i,r))&&(n[1]===")"?this.isBefore(s,r):!this.isAfter(s,r))):!1}function mu(e,t){var r=re(e)?e:k(e),n;return this.isValid()&&r.isValid()?(t=K(t)||"millisecond",t==="millisecond"?this.valueOf()===r.valueOf():(n=r.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf())):!1}function _u(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function yu(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function gu(e,t,r){var n,i,s;if(!this.isValid())return NaN;if(n=Kr(e,this),!n.isValid())return NaN;switch(i=(n.utcOffset()-this.utcOffset())*6e4,t=K(t),t){case"year":s=Dt(this,n)/12;break;case"month":s=Dt(this,n);break;case"quarter":s=Dt(this,n)/3;break;case"second":s=(this-n)/1e3;break;case"minute":s=(this-n)/6e4;break;case"hour":s=(this-n)/36e5;break;case"day":s=(this-n-i)/864e5;break;case"week":s=(this-n-i)/6048e5;break;default:s=this-n}return r?s:J(s)}function Dt(e,t){if(e.date()<t.date())return-Dt(t,e);var r=(t.year()-e.year())*12+(t.month()-e.month()),n=e.clone().add(r,"months"),i,s;return t-n<0?(i=e.clone().add(r-1,"months"),s=(t-n)/(n-i)):(i=e.clone().add(r+1,"months"),s=(t-n)/(i-n)),-(r+s)||0}c.defaultFormat="YYYY-MM-DDTHH:mm:ssZ";c.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function pu(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function bu(e){if(!this.isValid())return null;var t=e!==!0,r=t?this.clone().utc():this;return r.year()<0||r.year()>9999?Mt(r,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):ue(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",Mt(r,"Z")):Mt(r,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function vu(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="",r,n,i,s;return this.isLocal()||(e=this.utcOffset()===0?"moment.utc":"moment.parseZone",t="Z"),r="["+e+'("]',n=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",i="-MM-DD[T]HH:mm:ss.SSS",s=t+'[")]',this.format(r+n+i+s)}function Su(e){e||(e=this.isUtc()?c.defaultFormatUtc:c.defaultFormat);var t=Mt(this,e);return this.localeData().postformat(t)}function wu(e,t){return this.isValid()&&(re(e)&&e.isValid()||k(e).isValid())?ne({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function xu(e){return this.from(k(),e)}function Eu(e,t){return this.isValid()&&(re(e)&&e.isValid()||k(e).isValid())?ne({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function Tu(e){return this.to(k(),e)}function Oi(e){var t;return e===void 0?this._locale._abbr:(t=ye(e),t!=null&&(this._locale=t),this)}var Di=Q("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return e===void 0?this.localeData():this.locale(e)});function Pi(){return this._locale}var Ct=1e3,Fe=60*Ct,Bt=60*Fe,ki=(365*400+97)*24*Bt;function Ue(e,t){return(e%t+t)%t}function Ni(e,t,r){return e<100&&e>=0?new Date(e+400,t,r)-ki:new Date(e,t,r).valueOf()}function Hi(e,t,r){return e<100&&e>=0?Date.UTC(e+400,t,r)-ki:Date.UTC(e,t,r)}function Mu(e){var t,r;if(e=K(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(r=this._isUTC?Hi:Ni,e){case"year":t=r(this.year(),0,1);break;case"quarter":t=r(this.year(),this.month()-this.month()%3,1);break;case"month":t=r(this.year(),this.month(),1);break;case"week":t=r(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=r(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=Ue(t+(this._isUTC?0:this.utcOffset()*Fe),Bt);break;case"minute":t=this._d.valueOf(),t-=Ue(t,Fe);break;case"second":t=this._d.valueOf(),t-=Ue(t,Ct);break}return this._d.setTime(t),c.updateOffset(this,!0),this}function Ou(e){var t,r;if(e=K(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(r=this._isUTC?Hi:Ni,e){case"year":t=r(this.year()+1,0,1)-1;break;case"quarter":t=r(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=r(this.year(),this.month()+1,1)-1;break;case"week":t=r(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=r(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=Bt-Ue(t+(this._isUTC?0:this.utcOffset()*Fe),Bt)-1;break;case"minute":t=this._d.valueOf(),t+=Fe-Ue(t,Fe)-1;break;case"second":t=this._d.valueOf(),t+=Ct-Ue(t,Ct)-1;break}return this._d.setTime(t),c.updateOffset(this,!0),this}function Du(){return this._d.valueOf()-(this._offset||0)*6e4}function Pu(){return Math.floor(this.valueOf()/1e3)}function ku(){return new Date(this.valueOf())}function Nu(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function Hu(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function Au(){return this.isValid()?this.toISOString():null}function Lu(){return Br(this)}function Ru(){return pe({},p(this))}function Iu(){return p(this).overflow}function Cu(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}y("N",0,0,"eraAbbr");y("NN",0,0,"eraAbbr");y("NNN",0,0,"eraAbbr");y("NNNN",0,0,"eraName");y("NNNNN",0,0,"eraNarrow");y("y",["y",1],"yo","eraYear");y("y",["yy",2],0,"eraYear");y("y",["yyy",3],0,"eraYear");y("y",["yyyy",4],0,"eraYear");d("N",en);d("NN",en);d("NNN",en);d("NNNN",Zu);d("NNNNN",Xu);O(["N","NN","NNN","NNNN","NNNNN"],function(e,t,r,n){var i=r._locale.erasParse(e,n,r._strict);i?p(r).era=i:p(r).invalidEra=e});d("y",Xe);d("yy",Xe);d("yyy",Xe);d("yyyy",Xe);d("yo",qu);O(["y","yy","yyy","yyyy"],F);O(["yo"],function(e,t,r,n){var i;r._locale._eraYearOrdinalRegex&&(i=e.match(r._locale._eraYearOrdinalRegex)),r._locale.eraYearOrdinalParse?t[F]=r._locale.eraYearOrdinalParse(e,i):t[F]=parseInt(e,10)});function Bu(e,t){var r,n,i,s=this._eras||ye("en")._eras;for(r=0,n=s.length;r<n;++r){switch(typeof s[r].since){case"string":i=c(s[r].since).startOf("day"),s[r].since=i.valueOf();break}switch(typeof s[r].until){case"undefined":s[r].until=1/0;break;case"string":i=c(s[r].until).startOf("day").valueOf(),s[r].until=i.valueOf();break}}return s}function Yu(e,t,r){var n,i,s=this.eras(),a,o,l;for(e=e.toUpperCase(),n=0,i=s.length;n<i;++n)if(a=s[n].name.toUpperCase(),o=s[n].abbr.toUpperCase(),l=s[n].narrow.toUpperCase(),r)switch(t){case"N":case"NN":case"NNN":if(o===e)return s[n];break;case"NNNN":if(a===e)return s[n];break;case"NNNNN":if(l===e)return s[n];break}else if([a,o,l].indexOf(e)>=0)return s[n]}function Fu(e,t){var r=e.since<=e.until?1:-1;return t===void 0?c(e.since).year():c(e.since).year()+(t-e.offset)*r}function Uu(){var e,t,r,n=this.localeData().eras();for(e=0,t=n.length;e<t;++e)if(r=this.clone().startOf("day").valueOf(),n[e].since<=r&&r<=n[e].until||n[e].until<=r&&r<=n[e].since)return n[e].name;return""}function Gu(){var e,t,r,n=this.localeData().eras();for(e=0,t=n.length;e<t;++e)if(r=this.clone().startOf("day").valueOf(),n[e].since<=r&&r<=n[e].until||n[e].until<=r&&r<=n[e].since)return n[e].narrow;return""}function $u(){var e,t,r,n=this.localeData().eras();for(e=0,t=n.length;e<t;++e)if(r=this.clone().startOf("day").valueOf(),n[e].since<=r&&r<=n[e].until||n[e].until<=r&&r<=n[e].since)return n[e].abbr;return""}function Wu(){var e,t,r,n,i=this.localeData().eras();for(e=0,t=i.length;e<t;++e)if(r=i[e].since<=i[e].until?1:-1,n=this.clone().startOf("day").valueOf(),i[e].since<=n&&n<=i[e].until||i[e].until<=n&&n<=i[e].since)return(this.year()-c(i[e].since).year())*r+i[e].offset;return this.year()}function ju(e){return T(this,"_erasNameRegex")||tn.call(this),e?this._erasNameRegex:this._erasRegex}function Vu(e){return T(this,"_erasAbbrRegex")||tn.call(this),e?this._erasAbbrRegex:this._erasRegex}function zu(e){return T(this,"_erasNarrowRegex")||tn.call(this),e?this._erasNarrowRegex:this._erasRegex}function en(e,t){return t.erasAbbrRegex(e)}function Zu(e,t){return t.erasNameRegex(e)}function Xu(e,t){return t.erasNarrowRegex(e)}function qu(e,t){return t._eraYearOrdinalRegex||Xe}function tn(){var e=[],t=[],r=[],n=[],i,s,a=this.eras();for(i=0,s=a.length;i<s;++i)t.push(z(a[i].name)),e.push(z(a[i].abbr)),r.push(z(a[i].narrow)),n.push(z(a[i].name)),n.push(z(a[i].abbr)),n.push(z(a[i].narrow));this._erasRegex=new RegExp("^("+n.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+t.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+r.join("|")+")","i")}y(0,["gg",2],0,function(){return this.weekYear()%100});y(0,["GG",2],0,function(){return this.isoWeekYear()%100});function er(e,t){y(0,[e,e.length],0,t)}er("gggg","weekYear");er("ggggg","weekYear");er("GGGG","isoWeekYear");er("GGGGG","isoWeekYear");U("weekYear","gg");U("isoWeekYear","GG");G("weekYear",1);G("isoWeekYear",1);d("G",Xt);d("g",Xt);d("GG",N,X);d("gg",N,X);d("GGGG",Wr,$r);d("gggg",Wr,$r);d("GGGGG",Zt,Vt);d("ggggg",Zt,Vt);gt(["gggg","ggggg","GGGG","GGGGG"],function(e,t,r,n){t[n.substr(0,2)]=v(e)});gt(["gg","GG"],function(e,t,r,n){t[n]=c.parseTwoDigitYear(e)});function Ju(e){return Ai.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function Qu(e){return Ai.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function Ku(){return me(this.year(),1,4)}function el(){return me(this.isoWeekYear(),1,4)}function tl(){var e=this.localeData()._week;return me(this.year(),e.dow,e.doy)}function rl(){var e=this.localeData()._week;return me(this.weekYear(),e.dow,e.doy)}function Ai(e,t,r,n,i){var s;return e==null?lt(this,n,i).year:(s=me(e,n,i),t>s&&(t=s),nl.call(this,e,t,r,n,i))}function nl(e,t,r,n,i){var s=ci(e,t,r,n,i),a=ut(s.year,0,s.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}y("Q",0,"Qo","quarter");U("quarter","Q");G("quarter",7);d("Q",ri);O("Q",function(e,t){t[ce]=(v(e)-1)*3});function il(e){return e==null?Math.ceil((this.month()+1)/3):this.month((e-1)*3+this.month()%3)}y("D",["DD",2],"Do","date");U("date","D");G("date",9);d("D",N);d("DD",N,X);d("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient});O(["D","DD"],se);O("Do",function(e,t){t[se]=v(e.match(N)[0])});var Li=Ze("Date",!0);y("DDD",["DDDD",3],"DDDo","dayOfYear");U("dayOfYear","DDD");G("dayOfYear",4);d("DDD",zt);d("DDDD",ni);O(["DDD","DDDD"],function(e,t,r){r._dayOfYear=v(e)});function sl(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return e==null?t:this.add(e-t,"d")}y("m",["mm",2],0,"minute");U("minute","m");G("minute",14);d("m",N);d("mm",N,X);O(["m","mm"],ee);var al=Ze("Minutes",!1);y("s",["ss",2],0,"second");U("second","s");G("second",15);d("s",N);d("ss",N,X);O(["s","ss"],de);var ol=Ze("Seconds",!1);y("S",0,0,function(){return~~(this.millisecond()/100)});y(0,["SS",2],0,function(){return~~(this.millisecond()/10)});y(0,["SSS",3],0,"millisecond");y(0,["SSSS",4],0,function(){return this.millisecond()*10});y(0,["SSSSS",5],0,function(){return this.millisecond()*100});y(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3});y(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4});y(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5});y(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6});U("millisecond","ms");G("millisecond",16);d("S",zt,ri);d("SS",zt,X);d("SSS",zt,ni);var be,Ri;for(be="SSSS";be.length<=9;be+="S")d(be,Xe);function ul(e,t){t[Me]=v(("0."+e)*1e3)}for(be="S";be.length<=9;be+="S")O(be,ul);Ri=Ze("Milliseconds",!1);y("z",0,0,"zoneAbbr");y("zz",0,0,"zoneName");function ll(){return this._isUTC?"UTC":""}function hl(){return this._isUTC?"Coordinated Universal Time":""}var h=_t.prototype;h.add=ru;h.calendar=lu;h.clone=hu;h.diff=gu;h.endOf=Ou;h.format=Su;h.from=wu;h.fromNow=xu;h.to=Eu;h.toNow=Tu;h.get=fa;h.invalidAt=Iu;h.isAfter=fu;h.isBefore=cu;h.isBetween=du;h.isSame=mu;h.isSameOrAfter=_u;h.isSameOrBefore=yu;h.isValid=Lu;h.lang=Di;h.locale=Oi;h.localeData=Pi;h.max=Lo;h.min=Ao;h.parsingFlags=Ru;h.set=ca;h.startOf=Mu;h.subtract=nu;h.toArray=Nu;h.toObject=Hu;h.toDate=ku;h.toISOString=bu;h.inspect=vu;typeof Symbol!="undefined"&&Symbol.for!=null&&(h[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"});h.toJSON=Au;h.toString=pu;h.unix=Pu;h.valueOf=Du;h.creationData=Cu;h.eraName=Uu;h.eraNarrow=Gu;h.eraAbbr=$u;h.eraYear=Wu;h.year=fi;h.isLeapYear=Na;h.weekYear=Ju;h.isoWeekYear=Qu;h.quarter=h.quarters=il;h.month=li;h.daysInMonth=Da;h.week=h.weeks=Ca;h.isoWeek=h.isoWeeks=Ba;h.weeksInYear=tl;h.weeksInWeekYear=rl;h.isoWeeksInYear=Ku;h.isoWeeksInISOWeekYear=el;h.date=Li;h.day=h.days=Ja;h.weekday=Qa;h.isoWeekday=Ka;h.dayOfYear=sl;h.hour=h.hours=ao;h.minute=h.minutes=al;h.second=h.seconds=ol;h.millisecond=h.milliseconds=Ri;h.utcOffset=$o;h.utc=jo;h.local=Vo;h.parseZone=zo;h.hasAlignedHourOffset=Zo;h.isDST=Xo;h.isLocal=Jo;h.isUtcOffset=Qo;h.isUtc=xi;h.isUTC=xi;h.zoneAbbr=ll;h.zoneName=hl;h.dates=Q("dates accessor is deprecated. Use date instead.",Li);h.months=Q("months accessor is deprecated. Use month instead",li);h.years=Q("years accessor is deprecated. Use year instead",fi);h.zone=Q("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",Wo);h.isDSTShifted=Q("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",qo);function fl(e){return k(e*1e3)}function cl(){return k.apply(null,arguments).parseZone()}function Ii(e){return e}var M=Fr.prototype;M.calendar=Js;M.longDateFormat=ta;M.invalidDate=na;M.ordinal=aa;M.preparse=Ii;M.postformat=Ii;M.relativeTime=ua;M.pastFuture=la;M.set=Xs;M.eras=Bu;M.erasParse=Yu;M.erasConvertYear=Fu;M.erasAbbrRegex=Vu;M.erasNameRegex=ju;M.erasNarrowRegex=zu;M.months=Ea;M.monthsShort=Ta;M.monthsParse=Oa;M.monthsRegex=ka;M.monthsShortRegex=Pa;M.week=Aa;M.firstDayOfYear=Ia;M.firstDayOfWeek=Ra;M.weekdays=Va;M.weekdaysMin=Za;M.weekdaysShort=za;M.weekdaysParse=qa;M.weekdaysRegex=eo;M.weekdaysShortRegex=to;M.weekdaysMinRegex=ro;M.isPM=io;M.meridiem=oo;function Yt(e,t,r,n){var i=ye(),s=oe().set(n,t);return i[r](s,e)}function Ci(e,t,r){if(_e(e)&&(t=e,e=void 0),e=e||"",t!=null)return Yt(e,t,r,"month");var n,i=[];for(n=0;n<12;n++)i[n]=Yt(e,n,r,"month");return i}function rn(e,t,r,n){typeof e=="boolean"?(_e(t)&&(r=t,t=void 0),t=t||""):(t=e,r=t,e=!1,_e(t)&&(r=t,t=void 0),t=t||"");var i=ye(),s=e?i._week.dow:0,a,o=[];if(r!=null)return Yt(t,(r+s)%7,n,"day");for(a=0;a<7;a++)o[a]=Yt(t,(a+s)%7,n,"day");return o}function dl(e,t){return Ci(e,t,"months")}function ml(e,t){return Ci(e,t,"monthsShort")}function _l(e,t,r){return rn(e,t,r,"weekdays")}function yl(e,t,r){return rn(e,t,r,"weekdaysShort")}function gl(e,t,r){return rn(e,t,r,"weekdaysMin")}Se("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,r=v(e%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return e+r}});c.lang=Q("moment.lang is deprecated. Use moment.locale instead.",Se);c.langData=Q("moment.langData is deprecated. Use moment.localeData instead.",ye);var he=Math.abs;function pl(){var e=this._data;return this._milliseconds=he(this._milliseconds),this._days=he(this._days),this._months=he(this._months),e.milliseconds=he(e.milliseconds),e.seconds=he(e.seconds),e.minutes=he(e.minutes),e.hours=he(e.hours),e.months=he(e.months),e.years=he(e.years),this}function Bi(e,t,r,n){var i=ne(t,r);return e._milliseconds+=n*i._milliseconds,e._days+=n*i._days,e._months+=n*i._months,e._bubble()}function bl(e,t){return Bi(this,e,t,1)}function vl(e,t){return Bi(this,e,t,-1)}function gn(e){return e<0?Math.floor(e):Math.ceil(e)}function Sl(){var e=this._milliseconds,t=this._days,r=this._months,n=this._data,i,s,a,o,l;return e>=0&&t>=0&&r>=0||e<=0&&t<=0&&r<=0||(e+=gn(Mr(r)+t)*864e5,t=0,r=0),n.milliseconds=e%1e3,i=J(e/1e3),n.seconds=i%60,s=J(i/60),n.minutes=s%60,a=J(s/60),n.hours=a%24,t+=J(a/24),l=J(Yi(t)),r+=l,t-=gn(Mr(l)),o=J(r/12),r%=12,n.days=t,n.months=r,n.years=o,this}function Yi(e){return e*4800/146097}function Mr(e){return e*146097/4800}function wl(e){if(!this.isValid())return NaN;var t,r,n=this._milliseconds;if(e=K(e),e==="month"||e==="quarter"||e==="year")switch(t=this._days+n/864e5,r=this._months+Yi(t),e){case"month":return r;case"quarter":return r/3;case"year":return r/12}else switch(t=this._days+Math.round(Mr(this._months)),e){case"week":return t/7+n/6048e5;case"day":return t+n/864e5;case"hour":return t*24+n/36e5;case"minute":return t*1440+n/6e4;case"second":return t*86400+n/1e3;case"millisecond":return Math.floor(t*864e5)+n;default:throw new Error("Unknown unit "+e)}}function xl(){return this.isValid()?this._milliseconds+this._days*864e5+this._months%12*2592e6+v(this._months/12)*31536e6:NaN}function ge(e){return function(){return this.as(e)}}var El=ge("ms"),Tl=ge("s"),Ml=ge("m"),Ol=ge("h"),Dl=ge("d"),Pl=ge("w"),kl=ge("M"),Nl=ge("Q"),Hl=ge("y");function Al(){return ne(this)}function Ll(e){return e=K(e),this.isValid()?this[e+"s"]():NaN}function Pe(e){return function(){return this.isValid()?this._data[e]:NaN}}var Rl=Pe("milliseconds"),Il=Pe("seconds"),Cl=Pe("minutes"),Bl=Pe("hours"),Yl=Pe("days"),Fl=Pe("months"),Ul=Pe("years");function Gl(){return J(this.days()/7)}var fe=Math.round,Ce={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function $l(e,t,r,n,i){return i.relativeTime(t||1,!!r,e,n)}function Wl(e,t,r,n){var i=ne(e).abs(),s=fe(i.as("s")),a=fe(i.as("m")),o=fe(i.as("h")),l=fe(i.as("d")),u=fe(i.as("M")),f=fe(i.as("w")),m=fe(i.as("y")),_=s<=r.ss&&["s",s]||s<r.s&&["ss",s]||a<=1&&["m"]||a<r.m&&["mm",a]||o<=1&&["h"]||o<r.h&&["hh",o]||l<=1&&["d"]||l<r.d&&["dd",l];return r.w!=null&&(_=_||f<=1&&["w"]||f<r.w&&["ww",f]),_=_||u<=1&&["M"]||u<r.M&&["MM",u]||m<=1&&["y"]||["yy",m],_[2]=t,_[3]=+e>0,_[4]=n,$l.apply(null,_)}function jl(e){return e===void 0?fe:typeof e=="function"?(fe=e,!0):!1}function Vl(e,t){return Ce[e]===void 0?!1:t===void 0?Ce[e]:(Ce[e]=t,e==="s"&&(Ce.ss=t-1),!0)}function zl(e,t){if(!this.isValid())return this.localeData().invalidDate();var r=!1,n=Ce,i,s;return typeof e=="object"&&(t=e,e=!1),typeof e=="boolean"&&(r=e),typeof t=="object"&&(n=Object.assign({},Ce,t),t.s!=null&&t.ss==null&&(n.ss=t.s-1)),i=this.localeData(),s=Wl(this,!r,n,i),r&&(s=i.pastFuture(+this,s)),i.postformat(s)}var fr=Math.abs;function Ae(e){return(e>0)-(e<0)||+e}function tr(){if(!this.isValid())return this.localeData().invalidDate();var e=fr(this._milliseconds)/1e3,t=fr(this._days),r=fr(this._months),n,i,s,a,o=this.asSeconds(),l,u,f,m;return o?(n=J(e/60),i=J(n/60),e%=60,n%=60,s=J(r/12),r%=12,a=e?e.toFixed(3).replace(/\.?0+$/,""):"",l=o<0?"-":"",u=Ae(this._months)!==Ae(o)?"-":"",f=Ae(this._days)!==Ae(o)?"-":"",m=Ae(this._milliseconds)!==Ae(o)?"-":"",l+"P"+(s?u+s+"Y":"")+(r?u+r+"M":"")+(t?f+t+"D":"")+(i||n||e?"T":"")+(i?m+i+"H":"")+(n?m+n+"M":"")+(e?m+a+"S":"")):"P0D"}var x=Kt.prototype;x.isValid=Yo;x.abs=pl;x.add=bl;x.subtract=vl;x.as=wl;x.asMilliseconds=El;x.asSeconds=Tl;x.asMinutes=Ml;x.asHours=Ol;x.asDays=Dl;x.asWeeks=Pl;x.asMonths=kl;x.asQuarters=Nl;x.asYears=Hl;x.valueOf=xl;x._bubble=Sl;x.clone=Al;x.get=Ll;x.milliseconds=Rl;x.seconds=Il;x.minutes=Cl;x.hours=Bl;x.days=Yl;x.weeks=Gl;x.months=Fl;x.years=Ul;x.humanize=zl;x.toISOString=tr;x.toString=tr;x.toJSON=tr;x.locale=Oi;x.localeData=Pi;x.toIsoString=Q("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",tr);x.lang=Di;y("X",0,0,"unix");y("x",0,0,"valueOf");d("x",Xt);d("X",ma);O("X",function(e,t,r){r._d=new Date(parseFloat(e)*1e3)});O("x",function(e,t,r){r._d=new Date(v(e))});//! moment.js
10
- c.version="2.29.4";zs(k);c.fn=h;c.min=Ro;c.max=Io;c.now=Co;c.utc=oe;c.unix=fl;c.months=dl;c.isDate=mt;c.locale=Se;c.invalid=Wt;c.duration=ne;c.isMoment=re;c.weekdays=_l;c.parseZone=cl;c.localeData=ye;c.isDuration=Ot;c.monthsShort=ml;c.weekdaysMin=gl;c.defineLocale=Zr;c.updateLocale=fo;c.locales=co;c.weekdaysShort=yl;c.normalizeUnits=K;c.relativeTimeRounding=jl;c.relativeTimeThreshold=Vl;c.calendarFormat=uu;c.prototype=h;c.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 Le=[];function Zl(e,t){return{subscribe:rr(e,t).subscribe}}function rr(e,t=Z){let r;const n=new Set;function i(o){if(Ir(e,o)&&(e=o,r)){const l=!Le.length;for(const u of n)u[1](),Le.push(u,e);if(l){for(let u=0;u<Le.length;u+=2)Le[u][0](Le[u+1]);Le.length=0}}}function s(o){i(o(e))}function a(o,l=Z){const u=[o,l];return n.add(u),n.size===1&&(r=t(i,s)||Z),o(e),()=>{n.delete(u),n.size===0&&r&&(r(),r=null)}}return{set:i,update:s,subscribe:a}}function qe(e,t,r){const n=!Array.isArray(e),i=n?[e]:e;if(!i.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const s=t.length<2;return Zl(r,(a,o)=>{let l=!1;const u=[];let f=0,m=Z;const _=()=>{if(f)return;m();const P=t(n?u[0]:u,a,o);s?a(P):m=dt(P)?P:Z},D=i.map((P,R)=>Bn(P,W=>{u[R]=W,f&=~(1<<R),l&&_()},()=>{f|=1<<R}));return l=!0,_(),function(){Ve(D),m(),l=!1}})}var Xl=function(t){return ql(t)&&!Jl(t)};function ql(e){return!!e&&typeof e=="object"}function Jl(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||eh(e)}var Ql=typeof Symbol=="function"&&Symbol.for,Kl=Ql?Symbol.for("react.element"):60103;function eh(e){return e.$$typeof===Kl}function th(e){return Array.isArray(e)?[]:{}}function ft(e,t){return t.clone!==!1&&t.isMergeableObject(e)?Ge(th(e),e,t):e}function rh(e,t,r){return e.concat(t).map(function(n){return ft(n,r)})}function nh(e,t){if(!t.customMerge)return Ge;var r=t.customMerge(e);return typeof r=="function"?r:Ge}function ih(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}function pn(e){return Object.keys(e).concat(ih(e))}function Fi(e,t){try{return t in e}catch(r){return!1}}function sh(e,t){return Fi(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function ah(e,t,r){var n={};return r.isMergeableObject(e)&&pn(e).forEach(function(i){n[i]=ft(e[i],r)}),pn(t).forEach(function(i){sh(e,i)||(Fi(e,i)&&r.isMergeableObject(t[i])?n[i]=nh(i,r)(e[i],t[i],r):n[i]=ft(t[i],r))}),n}function Ge(e,t,r){r=r||{},r.arrayMerge=r.arrayMerge||rh,r.isMergeableObject=r.isMergeableObject||Xl,r.cloneUnlessOtherwiseSpecified=ft;var n=Array.isArray(t),i=Array.isArray(e),s=n===i;return s?n?r.arrayMerge(e,t,r):ah(e,t,r):ft(t,r)}Ge.all=function(t,r){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(n,i){return Ge(n,i,r)},{})};var oh=Ge,uh=oh;const lh=js(uh);/*! *****************************************************************************
11
- Copyright (c) Microsoft Corporation.
12
-
13
- Permission to use, copy, modify, and/or distribute this software for any
14
- purpose with or without fee is hereby granted.
15
-
16
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
17
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
18
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
19
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
20
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
21
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
22
- PERFORMANCE OF THIS SOFTWARE.
23
- ***************************************************************************** */var Or=function(e,t){return Or=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])},Or(e,t)};function pt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");Or(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var E=function(){return E=Object.assign||function(t){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&(t[s]=r[s])}return t},E.apply(this,arguments)};function hh(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r}function fh(e){var t=typeof Symbol=="function"&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function ch(e,t){var r=typeof Symbol=="function"&&e[Symbol.iterator];if(!r)return e;var n=r.call(e),i,s=[],a;try{for(;(t===void 0||t-- >0)&&!(i=n.next()).done;)s.push(i.value)}catch(o){a={error:o}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(a)throw a.error}}return s}function Pt(e,t,r){if(r||arguments.length===2)for(var n=0,i=t.length,s;n<i;n++)(s||!(n in t))&&(s||(s=Array.prototype.slice.call(t,0,n)),s[n]=t[n]);return e.concat(s||t)}function cr(e,t){var r=t&&t.cache?t.cache:bh,n=t&&t.serializer?t.serializer:gh,i=t&&t.strategy?t.strategy:_h;return i(e,{cache:r,serializer:n})}function dh(e){return e==null||typeof e=="number"||typeof e=="boolean"}function mh(e,t,r,n){var i=dh(n)?n:r(n),s=t.get(i);return typeof s=="undefined"&&(s=e.call(this,n),t.set(i,s)),s}function Ui(e,t,r){var n=Array.prototype.slice.call(arguments,3),i=r(n),s=t.get(i);return typeof s=="undefined"&&(s=e.apply(this,n),t.set(i,s)),s}function Gi(e,t,r,n,i){return r.bind(t,e,n,i)}function _h(e,t){var r=e.length===1?mh:Ui;return Gi(e,this,r,t.cache.create(),t.serializer)}function yh(e,t){return Gi(e,this,Ui,t.cache.create(),t.serializer)}var gh=function(){return JSON.stringify(arguments)},ph=function(){function e(){this.cache=Object.create(null)}return e.prototype.get=function(t){return this.cache[t]},e.prototype.set=function(t,r){this.cache[t]=r},e}(),bh={create:function(){return new ph}},dr={variadic:yh},S;(function(e){e[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG"})(S||(S={}));var A;(function(e){e[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag"})(A||(A={}));var $e;(function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"})($e||($e={}));function bn(e){return e.type===A.literal}function vh(e){return e.type===A.argument}function $i(e){return e.type===A.number}function Wi(e){return e.type===A.date}function ji(e){return e.type===A.time}function Vi(e){return e.type===A.select}function zi(e){return e.type===A.plural}function Sh(e){return e.type===A.pound}function Zi(e){return e.type===A.tag}function Xi(e){return!!(e&&typeof e=="object"&&e.type===$e.number)}function Dr(e){return!!(e&&typeof e=="object"&&e.type===$e.dateTime)}var qi=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,wh=/(?:[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 xh(e){var t={};return e.replace(wh,function(r){var n=r.length;switch(r[0]){case"G":t.era=n===4?"long":n===5?"narrow":"short";break;case"y":t.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":t.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":t.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":t.weekday=n===4?"long":n===5?"narrow":"short";break;case"e":if(n<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-4];break;case"c":if(n<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][n-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][n-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][n-1];break;case"k":t.hourCycle="h24",t.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":t.minute=["numeric","2-digit"][n-1];break;case"s":t.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":t.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""}),t}var Eh=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function Th(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");for(var t=e.split(Eh).filter(function(_){return _.length>0}),r=[],n=0,i=t;n<i.length;n++){var s=i[n],a=s.split("/");if(a.length===0)throw new Error("Invalid number skeleton");for(var o=a[0],l=a.slice(1),u=0,f=l;u<f.length;u++){var m=f[u];if(m.length===0)throw new Error("Invalid number skeleton")}r.push({stem:o,options:l})}return r}function Mh(e){return e.replace(/^(.*?)-/,"")}var vn=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Ji=/^(@+)?(\+|#+)?[rs]?$/g,Oh=/(\*)(0+)|(#+)(0+)|(0+)/g,Qi=/^(0+)$/;function Sn(e){var t={};return e[e.length-1]==="r"?t.roundingPriority="morePrecision":e[e.length-1]==="s"&&(t.roundingPriority="lessPrecision"),e.replace(Ji,function(r,n,i){return typeof i!="string"?(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length):i==="+"?t.minimumSignificantDigits=n.length:n[0]==="#"?t.maximumSignificantDigits=n.length:(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length+(typeof i=="string"?i.length:0)),""}),t}function Ki(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function Dh(e){var t;if(e[0]==="E"&&e[1]==="E"?(t={notation:"engineering"},e=e.slice(2)):e[0]==="E"&&(t={notation:"scientific"},e=e.slice(1)),t){var r=e.slice(0,2);if(r==="+!"?(t.signDisplay="always",e=e.slice(2)):r==="+?"&&(t.signDisplay="exceptZero",e=e.slice(2)),!Qi.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function wn(e){var t={},r=Ki(e);return r||t}function Ph(e){for(var t={},r=0,n=e;r<n.length;r++){var i=n[r];switch(i.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=i.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=Mh(i.options[0]);continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=E(E(E({},t),{notation:"scientific"}),i.options.reduce(function(l,u){return E(E({},l),wn(u))},{}));continue;case"engineering":t=E(E(E({},t),{notation:"engineering"}),i.options.reduce(function(l,u){return E(E({},l),wn(u))},{}));continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(i.options[0]);continue;case"rounding-mode-floor":t.roundingMode="floor";continue;case"rounding-mode-ceiling":t.roundingMode="ceil";continue;case"rounding-mode-down":t.roundingMode="trunc";continue;case"rounding-mode-up":t.roundingMode="expand";continue;case"rounding-mode-half-even":t.roundingMode="halfEven";continue;case"rounding-mode-half-down":t.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":t.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(Oh,function(l,u,f,m,_,D){if(u)t.minimumIntegerDigits=f.length;else{if(m&&_)throw new Error("We currently do not support maximum integer digits");if(D)throw new Error("We currently do not support exact integer digits")}return""});continue}if(Qi.test(i.stem)){t.minimumIntegerDigits=i.stem.length;continue}if(vn.test(i.stem)){if(i.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(vn,function(l,u,f,m,_,D){return f==="*"?t.minimumFractionDigits=u.length:m&&m[0]==="#"?t.maximumFractionDigits=m.length:_&&D?(t.minimumFractionDigits=_.length,t.maximumFractionDigits=_.length+D.length):(t.minimumFractionDigits=u.length,t.maximumFractionDigits=u.length),""});var s=i.options[0];s==="w"?t=E(E({},t),{trailingZeroDisplay:"stripIfInteger"}):s&&(t=E(E({},t),Sn(s)));continue}if(Ji.test(i.stem)){t=E(E({},t),Sn(i.stem));continue}var a=Ki(i.stem);a&&(t=E(E({},t),a));var o=Dh(i.stem);o&&(t=E(E({},t),o))}return t}var Et={"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 kh(e,t){for(var r="",n=0;n<e.length;n++){var i=e.charAt(n);if(i==="j"){for(var s=0;n+1<e.length&&e.charAt(n+1)===i;)s++,n++;var a=1+(s&1),o=s<2?1:3+(s>>1),l="a",u=Nh(t);for((u=="H"||u=="k")&&(o=0);o-- >0;)r+=l;for(;a-- >0;)r=u+r}else i==="J"?r+="H":r+=i}return r}function Nh(e){var t=e.hourCycle;if(t===void 0&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var r=e.language,n;r!=="root"&&(n=e.maximize().region);var i=Et[n||""]||Et[r||""]||Et["".concat(r,"-001")]||Et["001"];return i[0]}var mr,Hh=new RegExp("^".concat(qi.source,"*")),Ah=new RegExp("".concat(qi.source,"*$"));function w(e,t){return{start:e,end:t}}var Lh=!!String.prototype.startsWith&&"_a".startsWith("a",1),Rh=!!String.fromCodePoint,Ih=!!Object.fromEntries,Ch=!!String.prototype.codePointAt,Bh=!!String.prototype.trimStart,Yh=!!String.prototype.trimEnd,Fh=!!Number.isSafeInteger,Uh=Fh?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Pr=!0;try{var Gh=ts("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Pr=((mr=Gh.exec("a"))===null||mr===void 0?void 0:mr[0])==="a"}catch(e){Pr=!1}var xn=Lh?function(t,r,n){return t.startsWith(r,n)}:function(t,r,n){return t.slice(n,n+r.length)===r},kr=Rh?String.fromCodePoint:function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];for(var n="",i=t.length,s=0,a;i>s;){if(a=t[s++],a>1114111)throw RangeError(a+" is not a valid code point");n+=a<65536?String.fromCharCode(a):String.fromCharCode(((a-=65536)>>10)+55296,a%1024+56320)}return n},En=Ih?Object.fromEntries:function(t){for(var r={},n=0,i=t;n<i.length;n++){var s=i[n],a=s[0],o=s[1];r[a]=o}return r},es=Ch?function(t,r){return t.codePointAt(r)}:function(t,r){var n=t.length;if(!(r<0||r>=n)){var i=t.charCodeAt(r),s;return i<55296||i>56319||r+1===n||(s=t.charCodeAt(r+1))<56320||s>57343?i:(i-55296<<10)+(s-56320)+65536}},$h=Bh?function(t){return t.trimStart()}:function(t){return t.replace(Hh,"")},Wh=Yh?function(t){return t.trimEnd()}:function(t){return t.replace(Ah,"")};function ts(e,t){return new RegExp(e,t)}var Nr;if(Pr){var Tn=ts("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Nr=function(t,r){var n;Tn.lastIndex=r;var i=Tn.exec(t);return(n=i[1])!==null&&n!==void 0?n:""}}else Nr=function(t,r){for(var n=[];;){var i=es(t,r);if(i===void 0||rs(i)||Zh(i))break;n.push(i),r+=i>=65536?2:1}return kr.apply(void 0,n)};var jh=function(){function e(t,r){r===void 0&&(r={}),this.message=t,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 e.prototype.parse=function(){if(this.offset()!==0)throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(t,r,n){for(var i=[];!this.isEOF();){var s=this.char();if(s===123){var a=this.parseArgument(t,n);if(a.err)return a;i.push(a.val)}else{if(s===125&&t>0)break;if(s===35&&(r==="plural"||r==="selectordinal")){var o=this.clonePosition();this.bump(),i.push({type:A.pound,location:w(o,this.clonePosition())})}else if(s===60&&!this.ignoreTag&&this.peek()===47){if(n)break;return this.error(S.UNMATCHED_CLOSING_TAG,w(this.clonePosition(),this.clonePosition()))}else if(s===60&&!this.ignoreTag&&Hr(this.peek()||0)){var a=this.parseTag(t,r);if(a.err)return a;i.push(a.val)}else{var a=this.parseLiteral(t,r);if(a.err)return a;i.push(a.val)}}}return{val:i,err:null}},e.prototype.parseTag=function(t,r){var n=this.clonePosition();this.bump();var i=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:A.literal,value:"<".concat(i,"/>"),location:w(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var s=this.parseMessage(t+1,r,!0);if(s.err)return s;var a=s.val,o=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!Hr(this.char()))return this.error(S.INVALID_TAG,w(o,this.clonePosition()));var l=this.clonePosition(),u=this.parseTagName();return i!==u?this.error(S.UNMATCHED_CLOSING_TAG,w(l,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:A.tag,value:i,children:a,location:w(n,this.clonePosition())},err:null}:this.error(S.INVALID_TAG,w(o,this.clonePosition())))}else return this.error(S.UNCLOSED_TAG,w(n,this.clonePosition()))}else return this.error(S.INVALID_TAG,w(n,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&zh(this.char());)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(t,r){for(var n=this.clonePosition(),i="";;){var s=this.tryParseQuote(r);if(s){i+=s;continue}var a=this.tryParseUnquoted(t,r);if(a){i+=a;continue}var o=this.tryParseLeftAngleBracket();if(o){i+=o;continue}break}var l=w(n,this.clonePosition());return{val:{type:A.literal,value:i,location:l},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!Vh(this.peek()||0))?(this.bump(),"<"):null},e.prototype.tryParseQuote=function(t){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(t==="plural"||t==="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 kr.apply(void 0,r)},e.prototype.tryParseUnquoted=function(t,r){if(this.isEOF())return null;var n=this.char();return n===60||n===123||n===35&&(r==="plural"||r==="selectordinal")||n===125&&t>0?null:(this.bump(),kr(n))},e.prototype.parseArgument=function(t,r){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(S.EXPECT_ARGUMENT_CLOSING_BRACE,w(n,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(S.EMPTY_ARGUMENT,w(n,this.clonePosition()));var i=this.parseIdentifierIfPossible().value;if(!i)return this.error(S.MALFORMED_ARGUMENT,w(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(S.EXPECT_ARGUMENT_CLOSING_BRACE,w(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:A.argument,value:i,location:w(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(S.EXPECT_ARGUMENT_CLOSING_BRACE,w(n,this.clonePosition())):this.parseArgumentOptions(t,r,i,n);default:return this.error(S.MALFORMED_ARGUMENT,w(n,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),r=this.offset(),n=Nr(this.message,r),i=r+n.length;this.bumpTo(i);var s=this.clonePosition(),a=w(t,s);return{value:n,location:a}},e.prototype.parseArgumentOptions=function(t,r,n,i){var s,a=this.clonePosition(),o=this.parseIdentifierIfPossible().value,l=this.clonePosition();switch(o){case"":return this.error(S.EXPECT_ARGUMENT_TYPE,w(a,l));case"number":case"date":case"time":{this.bumpSpace();var u=null;if(this.bumpIf(",")){this.bumpSpace();var f=this.clonePosition(),m=this.parseSimpleArgStyleIfPossible();if(m.err)return m;var _=Wh(m.val);if(_.length===0)return this.error(S.EXPECT_ARGUMENT_STYLE,w(this.clonePosition(),this.clonePosition()));var D=w(f,this.clonePosition());u={style:_,styleLocation:D}}var P=this.tryParseArgumentClose(i);if(P.err)return P;var R=w(i,this.clonePosition());if(u&&xn(u==null?void 0:u.style,"::",0)){var W=$h(u.style.slice(2));if(o==="number"){var m=this.parseNumberSkeletonFromString(W,u.styleLocation);return m.err?m:{val:{type:A.number,value:n,location:R,style:m.val},err:null}}else{if(W.length===0)return this.error(S.EXPECT_DATE_TIME_SKELETON,R);var ie=W;this.locale&&(ie=kh(W,this.locale));var _={type:$e.dateTime,pattern:ie,location:u.styleLocation,parsedOptions:this.shouldParseSkeletons?xh(ie):{}},Y=o==="date"?A.date:A.time;return{val:{type:Y,value:n,location:R,style:_},err:null}}}return{val:{type:o==="number"?A.number:o==="date"?A.date:A.time,value:n,location:R,style:(s=u==null?void 0:u.style)!==null&&s!==void 0?s:null},err:null}}case"plural":case"selectordinal":case"select":{var j=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(S.EXPECT_SELECT_ARGUMENT_OPTIONS,w(j,E({},j)));this.bumpSpace();var C=this.parseIdentifierIfPossible(),le=0;if(o!=="select"&&C.value==="offset"){if(!this.bumpIf(":"))return this.error(S.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,w(this.clonePosition(),this.clonePosition()));this.bumpSpace();var m=this.tryParseDecimalInteger(S.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,S.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(m.err)return m;this.bumpSpace(),C=this.parseIdentifierIfPossible(),le=m.val}var xe=this.tryParsePluralOrSelectOptions(t,o,r,C);if(xe.err)return xe;var P=this.tryParseArgumentClose(i);if(P.err)return P;var bt=w(i,this.clonePosition());return o==="select"?{val:{type:A.select,value:n,options:En(xe.val),location:bt},err:null}:{val:{type:A.plural,value:n,options:En(xe.val),offset:le,pluralType:o==="plural"?"cardinal":"ordinal",location:bt},err:null}}default:return this.error(S.INVALID_ARGUMENT_TYPE,w(a,l))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(S.EXPECT_ARGUMENT_CLOSING_BRACE,w(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=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(S.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,w(i,this.clonePosition()));this.bump();break}case 123:{t+=1,this.bump();break}case 125:{if(t>0)t-=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}},e.prototype.parseNumberSkeletonFromString=function(t,r){var n=[];try{n=Th(t)}catch(i){return this.error(S.INVALID_NUMBER_SKELETON,r)}return{val:{type:$e.number,tokens:n,location:r,parsedOptions:this.shouldParseSkeletons?Ph(n):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(t,r,n,i){for(var s,a=!1,o=[],l=new Set,u=i.value,f=i.location;;){if(u.length===0){var m=this.clonePosition();if(r!=="select"&&this.bumpIf("=")){var _=this.tryParseDecimalInteger(S.EXPECT_PLURAL_ARGUMENT_SELECTOR,S.INVALID_PLURAL_ARGUMENT_SELECTOR);if(_.err)return _;f=w(m,this.clonePosition()),u=this.message.slice(m.offset,this.offset())}else break}if(l.has(u))return this.error(r==="select"?S.DUPLICATE_SELECT_ARGUMENT_SELECTOR:S.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,f);u==="other"&&(a=!0),this.bumpSpace();var D=this.clonePosition();if(!this.bumpIf("{"))return this.error(r==="select"?S.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:S.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,w(this.clonePosition(),this.clonePosition()));var P=this.parseMessage(t+1,r,n);if(P.err)return P;var R=this.tryParseArgumentClose(D);if(R.err)return R;o.push([u,{value:P.val,location:w(D,this.clonePosition())}]),l.add(u),this.bumpSpace(),s=this.parseIdentifierIfPossible(),u=s.value,f=s.location}return o.length===0?this.error(r==="select"?S.EXPECT_SELECT_ARGUMENT_SELECTOR:S.EXPECT_PLURAL_ARGUMENT_SELECTOR,w(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!a?this.error(S.MISSING_OTHER_CLAUSE,w(this.clonePosition(),this.clonePosition())):{val:o,err:null}},e.prototype.tryParseDecimalInteger=function(t,r){var n=1,i=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var s=!1,a=0;!this.isEOF();){var o=this.char();if(o>=48&&o<=57)s=!0,a=a*10+(o-48),this.bump();else break}var l=w(i,this.clonePosition());return s?(a*=n,Uh(a)?{val:a,err:null}:this.error(r,l)):this.error(t,l)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");var r=es(this.message,t);if(r===void 0)throw Error("Offset ".concat(t," is at invalid UTF-16 code unit boundary"));return r},e.prototype.error=function(t,r){return{val:null,err:{kind:t,message:this.message,location:r}}},e.prototype.bump=function(){if(!this.isEOF()){var t=this.char();t===10?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=t<65536?1:2)}},e.prototype.bumpIf=function(t){if(xn(this.message,t,this.offset())){for(var r=0;r<t.length;r++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(t){var r=this.offset(),n=this.message.indexOf(t,r);return n>=0?(this.bumpTo(n),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(t){if(this.offset()>t)throw Error("targetOffset ".concat(t," must be greater than or equal to the current offset ").concat(this.offset()));for(t=Math.min(t,this.message.length);;){var r=this.offset();if(r===t)break;if(r>t)throw Error("targetOffset ".concat(t," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&rs(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),r=this.offset(),n=this.message.charCodeAt(r+(t>=65536?2:1));return n!=null?n:null},e}();function Hr(e){return e>=97&&e<=122||e>=65&&e<=90}function Vh(e){return Hr(e)||e===47}function zh(e){return e===45||e===46||e>=48&&e<=57||e===95||e>=97&&e<=122||e>=65&&e<=90||e==183||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}function rs(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function Zh(e){return e>=33&&e<=35||e===36||e>=37&&e<=39||e===40||e===41||e===42||e===43||e===44||e===45||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||e===91||e===92||e===93||e===94||e===96||e===123||e===124||e===125||e===126||e===161||e>=162&&e<=165||e===166||e===167||e===169||e===171||e===172||e===174||e===176||e===177||e===182||e===187||e===191||e===215||e===247||e>=8208&&e<=8213||e>=8214&&e<=8215||e===8216||e===8217||e===8218||e>=8219&&e<=8220||e===8221||e===8222||e===8223||e>=8224&&e<=8231||e>=8240&&e<=8248||e===8249||e===8250||e>=8251&&e<=8254||e>=8257&&e<=8259||e===8260||e===8261||e===8262||e>=8263&&e<=8273||e===8274||e===8275||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||e===8608||e>=8609&&e<=8610||e===8611||e>=8612&&e<=8613||e===8614||e>=8615&&e<=8621||e===8622||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||e===8658||e===8659||e===8660||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||e===8968||e===8969||e===8970||e===8971||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||e===9001||e===9002||e>=9003&&e<=9083||e===9084||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||e===9655||e>=9656&&e<=9664||e===9665||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||e===9839||e>=9840&&e<=10087||e===10088||e===10089||e===10090||e===10091||e===10092||e===10093||e===10094||e===10095||e===10096||e===10097||e===10098||e===10099||e===10100||e===10101||e>=10132&&e<=10175||e>=10176&&e<=10180||e===10181||e===10182||e>=10183&&e<=10213||e===10214||e===10215||e===10216||e===10217||e===10218||e===10219||e===10220||e===10221||e===10222||e===10223||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||e===10627||e===10628||e===10629||e===10630||e===10631||e===10632||e===10633||e===10634||e===10635||e===10636||e===10637||e===10638||e===10639||e===10640||e===10641||e===10642||e===10643||e===10644||e===10645||e===10646||e===10647||e===10648||e>=10649&&e<=10711||e===10712||e===10713||e===10714||e===10715||e>=10716&&e<=10747||e===10748||e===10749||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||e===11158||e>=11159&&e<=11263||e>=11776&&e<=11777||e===11778||e===11779||e===11780||e===11781||e>=11782&&e<=11784||e===11785||e===11786||e===11787||e===11788||e===11789||e>=11790&&e<=11798||e===11799||e>=11800&&e<=11801||e===11802||e===11803||e===11804||e===11805||e>=11806&&e<=11807||e===11808||e===11809||e===11810||e===11811||e===11812||e===11813||e===11814||e===11815||e===11816||e===11817||e>=11818&&e<=11822||e===11823||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||e===11840||e===11841||e===11842||e>=11843&&e<=11855||e>=11856&&e<=11857||e===11858||e>=11859&&e<=11903||e>=12289&&e<=12291||e===12296||e===12297||e===12298||e===12299||e===12300||e===12301||e===12302||e===12303||e===12304||e===12305||e>=12306&&e<=12307||e===12308||e===12309||e===12310||e===12311||e===12312||e===12313||e===12314||e===12315||e===12316||e===12317||e>=12318&&e<=12319||e===12320||e===12336||e===64830||e===64831||e>=65093&&e<=65094}function Ar(e){e.forEach(function(t){if(delete t.location,Vi(t)||zi(t))for(var r in t.options)delete t.options[r].location,Ar(t.options[r].value);else $i(t)&&Xi(t.style)||(Wi(t)||ji(t))&&Dr(t.style)?delete t.style.location:Zi(t)&&Ar(t.children)})}function Xh(e,t){t===void 0&&(t={}),t=E({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var r=new jh(e,t).parse();if(r.err){var n=SyntaxError(S[r.err.kind]);throw n.location=r.err.location,n.originalMessage=r.err.message,n}return t!=null&&t.captureLocation||Ar(r.val),r.val}var We;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(We||(We={}));var nr=function(e){pt(t,e);function t(r,n,i){var s=e.call(this,r)||this;return s.code=n,s.originalMessage=i,s}return t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),Mn=function(e){pt(t,e);function t(r,n,i,s){return e.call(this,'Invalid values for "'.concat(r,'": "').concat(n,'". Options are "').concat(Object.keys(i).join('", "'),'"'),We.INVALID_VALUE,s)||this}return t}(nr),qh=function(e){pt(t,e);function t(r,n,i){return e.call(this,'Value for "'.concat(r,'" must be of type ').concat(n),We.INVALID_VALUE,i)||this}return t}(nr),Jh=function(e){pt(t,e);function t(r,n){return e.call(this,'The intl string context variable "'.concat(r,'" was not provided to the string "').concat(n,'"'),We.MISSING_VALUE,n)||this}return t}(nr),$;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})($||($={}));function Qh(e){return e.length<2?e:e.reduce(function(t,r){var n=t[t.length-1];return!n||n.type!==$.literal||r.type!==$.literal?t.push(r):n.value+=r.value,t},[])}function Kh(e){return typeof e=="function"}function kt(e,t,r,n,i,s,a){if(e.length===1&&bn(e[0]))return[{type:$.literal,value:e[0].value}];for(var o=[],l=0,u=e;l<u.length;l++){var f=u[l];if(bn(f)){o.push({type:$.literal,value:f.value});continue}if(Sh(f)){typeof s=="number"&&o.push({type:$.literal,value:r.getNumberFormat(t).format(s)});continue}var m=f.value;if(!(i&&m in i))throw new Jh(m,a);var _=i[m];if(vh(f)){(!_||typeof _=="string"||typeof _=="number")&&(_=typeof _=="string"||typeof _=="number"?String(_):""),o.push({type:typeof _=="string"?$.literal:$.object,value:_});continue}if(Wi(f)){var D=typeof f.style=="string"?n.date[f.style]:Dr(f.style)?f.style.parsedOptions:void 0;o.push({type:$.literal,value:r.getDateTimeFormat(t,D).format(_)});continue}if(ji(f)){var D=typeof f.style=="string"?n.time[f.style]:Dr(f.style)?f.style.parsedOptions:n.time.medium;o.push({type:$.literal,value:r.getDateTimeFormat(t,D).format(_)});continue}if($i(f)){var D=typeof f.style=="string"?n.number[f.style]:Xi(f.style)?f.style.parsedOptions:void 0;D&&D.scale&&(_=_*(D.scale||1)),o.push({type:$.literal,value:r.getNumberFormat(t,D).format(_)});continue}if(Zi(f)){var P=f.children,R=f.value,W=i[R];if(!Kh(W))throw new qh(R,"function",a);var ie=kt(P,t,r,n,i,s),Y=W(ie.map(function(le){return le.value}));Array.isArray(Y)||(Y=[Y]),o.push.apply(o,Y.map(function(le){return{type:typeof le=="string"?$.literal:$.object,value:le}}))}if(Vi(f)){var j=f.options[_]||f.options.other;if(!j)throw new Mn(f.value,_,Object.keys(f.options),a);o.push.apply(o,kt(j.value,t,r,n,i));continue}if(zi(f)){var j=f.options["=".concat(_)];if(!j){if(!Intl.PluralRules)throw new nr(`Intl.PluralRules is not available in this environment.
24
- Try polyfilling it using "@formatjs/intl-pluralrules"
25
- `,We.MISSING_INTL_API,a);var C=r.getPluralRules(t,{type:f.pluralType}).select(_-(f.offset||0));j=f.options[C]||f.options.other}if(!j)throw new Mn(f.value,_,Object.keys(f.options),a);o.push.apply(o,kt(j.value,t,r,n,i,_-(f.offset||0)));continue}}return Qh(o)}function ef(e,t){return t?E(E(E({},e||{}),t||{}),Object.keys(e).reduce(function(r,n){return r[n]=E(E({},e[n]),t[n]||{}),r},{})):e}function tf(e,t){return t?Object.keys(e).reduce(function(r,n){return r[n]=ef(e[n],t[n]),r},E({},e)):e}function _r(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,r){e[t]=r}}}}}function rf(e){return e===void 0&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:cr(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.NumberFormat).bind.apply(t,Pt([void 0],r,!1)))},{cache:_r(e.number),strategy:dr.variadic}),getDateTimeFormat:cr(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.DateTimeFormat).bind.apply(t,Pt([void 0],r,!1)))},{cache:_r(e.dateTime),strategy:dr.variadic}),getPluralRules:cr(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.PluralRules).bind.apply(t,Pt([void 0],r,!1)))},{cache:_r(e.pluralRules),strategy:dr.variadic})}}var nf=function(){function e(t,r,n,i){r===void 0&&(r=e.defaultLocale);var s=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(l){var u=s.formatToParts(l);if(u.length===1)return u[0].value;var f=u.reduce(function(m,_){return!m.length||_.type!==$.literal||typeof m[m.length-1]!="string"?m.push(_.value):m[m.length-1]+=_.value,m},[]);return f.length<=1?f[0]||"":f},this.formatToParts=function(l){return kt(s.ast,s.locales,s.formatters,s.formats,l,void 0,s.message)},this.resolvedOptions=function(){var l;return{locale:((l=s.resolvedLocale)===null||l===void 0?void 0:l.toString())||Intl.NumberFormat.supportedLocalesOf(s.locales)[0]}},this.getAst=function(){return s.ast},this.locales=r,this.resolvedLocale=e.resolveLocale(r),typeof t=="string"){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var a=i||{};a.formatters;var o=hh(a,["formatters"]);this.ast=e.__parse(t,E(E({},o),{locale:this.resolvedLocale}))}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=tf(e.formats,n),this.formatters=i&&i.formatters||rf(this.formatterCache)}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=new Intl.NumberFormat().resolvedOptions().locale),e.memoizedDefaultLocale},enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.resolveLocale=function(t){if(typeof Intl.Locale!="undefined"){var r=Intl.NumberFormat.supportedLocalesOf(t);return r.length>0?new Intl.Locale(r[0]):new Intl.Locale(typeof t=="string"?t:t[0])}},e.__parse=Xh,e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}();function sf(e,t){if(t==null)return;if(t in e)return e[t];const r=t.split(".");let n=e;for(let i=0;i<r.length;i++)if(typeof n=="object"){if(i>0){const s=r.slice(i,r.length).join(".");if(s in n){n=n[s];break}}n=n[r[i]]}else n=void 0;return n}const ve={},af=(e,t,r)=>r&&(t in ve||(ve[t]={}),e in ve[t]||(ve[t][e]=r),r),ns=(e,t)=>{if(t==null)return;if(t in ve&&e in ve[t])return ve[t][e];const r=ir(t);for(let n=0;n<r.length;n++){const i=r[n],s=uf(i,e);if(s)return af(e,t,s)}};let nn;const Je=rr({});function of(e){return nn[e]||null}function is(e){return e in nn}function uf(e,t){if(!is(e))return null;const r=of(e);return sf(r,t)}function lf(e){if(e==null)return;const t=ir(e);for(let r=0;r<t.length;r++){const n=t[r];if(is(n))return n}}function sn(e,...t){delete ve[e],Je.update(r=>(r[e]=lh.all([r[e]||{},...t]),r))}qe([Je],([e])=>Object.keys(e));Je.subscribe(e=>nn=e);const Nt={};function hf(e,t){Nt[e].delete(t),Nt[e].size===0&&delete Nt[e]}function ss(e){return Nt[e]}function ff(e){return ir(e).map(t=>{const r=ss(t);return[t,r?[...r]:[]]}).filter(([,t])=>t.length>0)}function Lr(e){return e==null?!1:ir(e).some(t=>{var r;return(r=ss(t))==null?void 0:r.size})}function cf(e,t){return Promise.all(t.map(n=>(hf(e,n),n().then(i=>i.default||i)))).then(n=>sn(e,...n))}const rt={};function as(e){if(!Lr(e))return e in rt?rt[e]:Promise.resolve();const t=ff(e);return rt[e]=Promise.all(t.map(([r,n])=>cf(r,n))).then(()=>{if(Lr(e))return as(e);delete rt[e]}),rt[e]}const df={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"}}},mf={fallbackLocale:null,loadingDelay:200,formats:df,warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0},_f=mf;function je(){return _f}const yr=rr(!1);var yf=Object.defineProperty,gf=Object.defineProperties,pf=Object.getOwnPropertyDescriptors,On=Object.getOwnPropertySymbols,bf=Object.prototype.hasOwnProperty,vf=Object.prototype.propertyIsEnumerable,Dn=(e,t,r)=>t in e?yf(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Sf=(e,t)=>{for(var r in t||(t={}))bf.call(t,r)&&Dn(e,r,t[r]);if(On)for(var r of On(t))vf.call(t,r)&&Dn(e,r,t[r]);return e},wf=(e,t)=>gf(e,pf(t));let Rr;const Ft=rr(null);function Pn(e){return e.split("-").map((t,r,n)=>n.slice(0,r+1).join("-")).reverse()}function ir(e,t=je().fallbackLocale){const r=Pn(e);return t?[...new Set([...r,...Pn(t)])]:r}function ke(){return Rr!=null?Rr:void 0}Ft.subscribe(e=>{Rr=e!=null?e:void 0,typeof window!="undefined"&&e!=null&&document.documentElement.setAttribute("lang",e)});const xf=e=>{if(e&&lf(e)&&Lr(e)){const{loadingDelay:t}=je();let r;return typeof window!="undefined"&&ke()!=null&&t?r=window.setTimeout(()=>yr.set(!0),t):yr.set(!0),as(e).then(()=>{Ft.set(e)}).finally(()=>{clearTimeout(r),yr.set(!1)})}return Ft.set(e)},Qe=wf(Sf({},Ft),{set:xf}),sr=e=>{const t=Object.create(null);return n=>{const i=JSON.stringify(n);return i in t?t[i]:t[i]=e(n)}};var Ef=Object.defineProperty,Ut=Object.getOwnPropertySymbols,os=Object.prototype.hasOwnProperty,us=Object.prototype.propertyIsEnumerable,kn=(e,t,r)=>t in e?Ef(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,an=(e,t)=>{for(var r in t||(t={}))os.call(t,r)&&kn(e,r,t[r]);if(Ut)for(var r of Ut(t))us.call(t,r)&&kn(e,r,t[r]);return e},Ke=(e,t)=>{var r={};for(var n in e)os.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&Ut)for(var n of Ut(e))t.indexOf(n)<0&&us.call(e,n)&&(r[n]=e[n]);return r};const ct=(e,t)=>{const{formats:r}=je();if(e in r&&t in r[e])return r[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},Tf=sr(e=>{var t=e,{locale:r,format:n}=t,i=Ke(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(i=ct("number",n)),new Intl.NumberFormat(r,i)}),Mf=sr(e=>{var t=e,{locale:r,format:n}=t,i=Ke(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?i=ct("date",n):Object.keys(i).length===0&&(i=ct("date","short")),new Intl.DateTimeFormat(r,i)}),Of=sr(e=>{var t=e,{locale:r,format:n}=t,i=Ke(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?i=ct("time",n):Object.keys(i).length===0&&(i=ct("time","short")),new Intl.DateTimeFormat(r,i)}),Df=(e={})=>{var t=e,{locale:r=ke()}=t,n=Ke(t,["locale"]);return Tf(an({locale:r},n))},Pf=(e={})=>{var t=e,{locale:r=ke()}=t,n=Ke(t,["locale"]);return Mf(an({locale:r},n))},kf=(e={})=>{var t=e,{locale:r=ke()}=t,n=Ke(t,["locale"]);return Of(an({locale:r},n))},Nf=sr((e,t=ke())=>new nf(e,t,je().formats,{ignoreTag:je().ignoreTag})),Hf=(e,t={})=>{var r,n,i,s;let a=t;typeof e=="object"&&(a=e,e=a.id);const{values:o,locale:l=ke(),default:u}=a;if(l==null)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let f=ns(e,l);if(!f)f=(s=(i=(n=(r=je()).handleMissingMessage)==null?void 0:n.call(r,{locale:l,id:e,defaultValue:u}))!=null?i:u)!=null?s:e;else if(typeof f!="string")return console.warn(`[svelte-i18n] Message with id "${e}" 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 m=f;try{m=Nf(f,l).format(o)}catch(_){_ instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,_.message)}return m},Af=(e,t)=>kf(t).format(e),Lf=(e,t)=>Pf(t).format(e),Rf=(e,t)=>Df(t).format(e),If=(e,t=ke())=>ns(e,t),ls=qe([Qe,Je],()=>Hf);qe([Qe],()=>Af);qe([Qe],()=>Lf);qe([Qe],()=>Rf);qe([Qe,Je],()=>If);function Nn(e,t){sn(e,t)}const Hn={en:{nothing:"Nothing to show here."},hr:{nothing:"Nema ničega za prikazati ovdje."},"zh-hk":{nothing:"這裡沒有什麼可顯示的。"},fr:{nothing:"Rien à montrer ici."},ro:{nothing:"Niciun turneu disponibil aici."},tr:{nothing:"Burada gösterilecek bir şey yok."},el:{nothing:"Δεν υπάρχει τίποτα εδώ."},es:{nothing:"Nada que mostrar aquí."},hu:{nothing:"Nincs megjelenítendő adat."},pt:{nothing:"Nada para mostrar aqui."},"en-us":{nothing:"Nothing to show here."}};function hs(e,t){if(e){const r=document.createElement("style");r.innerHTML=t,e.appendChild(r)}}function fs(e,t){const r=new URL(t);fetch(r.href).then(n=>n.text()).then(n=>{const i=document.createElement("style");i.innerHTML=n,e&&e.appendChild(i)}).catch(n=>{console.error("There was an error while trying to load client styling from URL",n)})}function cs(e,t,r){if(window.emMessageBus){const n=document.createElement("style");window.emMessageBus.subscribe(t,i=>{n.innerHTML=i,e&&e.appendChild(n)})}}if(typeof window!="undefined"){let e=function(t){return function(...r){try{return t.apply(this,r)}catch(n){if(n instanceof DOMException&&n.message.includes("has already been used with this registry")||n.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw n}}};customElements.define=e(customElements.define),Promise.resolve().then(()=>require("./CasinoTournamentsThumbnailController-BXlYi_jc.cjs")).then(t=>t.CasinoTournamentsThumbnailController_ce).then(({default:t})=>{!customElements.get("casino-tournaments-thumbnail-controller")&&customElements.define("casino-tournaments-thumbnail-controller",t.element)})}function Cf(e){Fn(e,"svelte-gkejaq","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.TournamentList{width:100%;display:grid;grid-template-columns:repeat(auto-fit, minmax(min(380px, 100%), 1fr));grid-auto-flow:dense;gap:25px}")}function An(e,t,r){const n=e.slice();return n[28]=t[r],n[30]=r,n}function Ln(e){let t,r=br(e[16]),n=[];for(let s=0;s<r.length;s+=1)n[s]=In(An(e,r,s));let i=null;return r.length||(i=Rn(e)),{c(){for(let s=0;s<n.length;s+=1)n[s].c();t=Gn(),i&&i.c()},m(s,a){for(let o=0;o<n.length;o+=1)n[o]&&n[o].m(s,a);ze(s,t,a),i&&i.m(s,a)},p(s,a){if(a&212991){r=br(s[16]);let o;for(o=0;o<r.length;o+=1){const l=An(s,r,o);n[o]?n[o].p(l,a):(n[o]=In(l),n[o].c(),n[o].m(t.parentNode,t))}for(;o<n.length;o+=1)n[o].d(1);n.length=r.length,!r.length&&i?i.p(s,a):r.length?i&&(i.d(1),i=null):(i=Rn(s),i.c(),i.m(t.parentNode,t))}},d(s){s&&we(t),Un(n,s),i&&i.d(s)}}}function Rn(e){let t,r=e[17]("nothing")+"",n;return{c(){t=De("p"),n=$t(r)},m(i,s){ze(i,t,s),Gt(t,n)},p(i,s){s&131072&&r!==(r=i[17]("nothing")+"")&&$n(n,r)},d(i){i&&we(t)}}}function In(e){let t,r,n,i;return{c(){t=De("casino-tournaments-thumbnail-controller"),b(t,"touridx",e[30]+1),b(t,"userid",e[1]),b(t,"showdetails","true"),b(t,"showslider","false"),b(t,"tournamenturl",r=e[28].href),b(t,"maxwidth",n=e[16].length<=2),b(t,"loginurl",e[5]),b(t,"loginevent",e[3]),b(t,"registerurl",e[6]),b(t,"tournamentinfo",i=e[28]),b(t,"registerevent",e[4]),b(t,"detailsevent",Yf),b(t,"clientstyling",e[10]),b(t,"clientstylingurl",e[11]),b(t,"translationurl",e[12]),b(t,"lang",e[8]),b(t,"currency",e[7]),b(t,"keepbrowsercontext",e[9]),b(t,"mbsource",e[13]),b(t,"session",e[0]),b(t,"endpoint",e[2]),b(t,"exportparts",`Thumbnail, Status, Enrolled, CardImg, CardImgFinished, Details, Title, Date, ScoreCriteria, ScoreCriteriaP, ScoreCriteriaSpan, Games, GamesP, GamesAnchor, TournamentPrizes, TournamentPrizesSvg, a, TournamentPrizesSvgA, PrizesTitle, Prizes, Prize, PrizeText, PrizeRank,
26
- TournamentDuration, TournamentDates, StartDate, EndDate, ProgressBar, ProgressBarFillEnd, Finished, ProgressBarFillStarting, Remaining, ProgressBarFill,
27
- TournamentsGamesSlider, SliderNavButton, items, item, PlayNowButton, itemHover, SliderNavButton
28
- TournamentCard, CardMaxWidth, CardFullSize, elementToFadeOut, elementToFadeIn, ph-item, ph-col-12, ph-picture, ph-row, ph-col-6, big, ph-col-4, empty, ph-col-8, TournamentButtons, LoginButton, RegisterButton, DetailsButton, EnrolledButton, JoinButton, JoinButtonSpan, JoinButtonSvg, JoinButtonSvgA, JoinButtonFullSize, spinner, DetailsLargeButton, ErrorText, StatusUnstarted, StatusRunning, StatusClosed, StatusClosing, TournamentPrizesIconSection, TournamentPrizesIconWrapper`)},m(s,a){ze(s,t,a)},p(s,a){a&2&&b(t,"userid",s[1]),a&65536&&r!==(r=s[28].href)&&b(t,"tournamenturl",r),a&65536&&n!==(n=s[16].length<=2)&&b(t,"maxwidth",n),a&32&&b(t,"loginurl",s[5]),a&8&&b(t,"loginevent",s[3]),a&64&&b(t,"registerurl",s[6]),a&65536&&i!==(i=s[28])&&b(t,"tournamentinfo",i),a&16&&b(t,"registerevent",s[4]),a&1024&&b(t,"clientstyling",s[10]),a&2048&&b(t,"clientstylingurl",s[11]),a&4096&&b(t,"translationurl",s[12]),a&256&&b(t,"lang",s[8]),a&128&&b(t,"currency",s[7]),a&512&&b(t,"keepbrowsercontext",s[9]),a&8192&&b(t,"mbsource",s[13]),a&1&&b(t,"session",s[0]),a&4&&b(t,"endpoint",s[2])},d(s){s&&we(t)}}}function Bf(e){let t,r=!e[15]&&Ln(e);return{c(){t=De("div"),r&&r.c(),at(t,"class","TournamentList"),at(t,"part","TournamentList")},m(n,i){ze(n,t,i),r&&r.m(t,null),e[18](t)},p(n,[i]){n[15]?r&&(r.d(1),r=null):r?r.p(n,i):(r=Ln(n),r.c(),r.m(t,null))},i:Z,o:Z,d(n){n&&we(t),r&&r.d(),e[18](null)}}}let Yf="TournamentDetailsClicked";function Ff(e,t,r){let n;Yn(e,ls,g=>r(17,n=g));let{session:i=""}=t,{userid:s=""}=t,{endpoint:a=""}=t,{loginevent:o=""}=t,{registerevent:l=""}=t,{loginurl:u=""}=t,{registerurl:f=""}=t,{currency:m=""}=t,{lang:_="en"}=t,{keepbrowsercontext:D="false"}=t,{clientstyling:P=""}=t,{clientstylingurl:R=""}=t,{translationurl:W=""}=t,{mbsource:ie}=t,Y,j=!1;c();let C="";const le=()=>{fetch(W).then(Ee=>Ee.json()).then(Ee=>{Object.keys(Ee).forEach(Ne=>{Nn(Ne,Ee[Ne])})}).catch(Ee=>{console.log(Ee)})};Object.keys(Hn).forEach(g=>{Nn(g,Hn[g])});const xe=g=>{if(g.data&&g.data.type=="TournamentList"&&(r(16,C=[]),r(15,j=!0),r(16,C=g.data.tournamentList),setTimeout(()=>{r(15,j=!1)},10)),g.data&&g.data.type=="TournamentListShowMore"&&r(16,C=[...C,...g.data.tournamentList]),g.data.type=="UpdateTournamentView"){if(!C)return;C.filter(Ne=>Ne.id==g.data.tournamentData.id).length==0&&(C.pop(),r(16,C=[g.data.tournamentData,...C]),setTimeout(()=>{C.forEach((Ne,_s)=>{window.postMessage({type:`UpdateSingleTournament_${_s+1}`,tournamentData:Ne},window.location.href)})},100))}g.data&&g.data.type=="UserSessionID"&&g.data.session},bt=()=>{i.length>0&&i!="false"};Wn(()=>(window.addEventListener("message",xe,!0),()=>{window.removeEventListener("message",xe,!0)}));function ms(g){Ht[g?"unshift":"push"](()=>{Y=g,r(14,Y)})}return e.$$set=g=>{"session"in g&&r(0,i=g.session),"userid"in g&&r(1,s=g.userid),"endpoint"in g&&r(2,a=g.endpoint),"loginevent"in g&&r(3,o=g.loginevent),"registerevent"in g&&r(4,l=g.registerevent),"loginurl"in g&&r(5,u=g.loginurl),"registerurl"in g&&r(6,f=g.registerurl),"currency"in g&&r(7,m=g.currency),"lang"in g&&r(8,_=g.lang),"keepbrowsercontext"in g&&r(9,D=g.keepbrowsercontext),"clientstyling"in g&&r(10,P=g.clientstyling),"clientstylingurl"in g&&r(11,R=g.clientstylingurl),"translationurl"in g&&r(12,W=g.translationurl),"mbsource"in g&&r(13,ie=g.mbsource)},e.$$.update=()=>{e.$$.dirty&4096&&W&&le(),e.$$.dirty&1&&i&&bt(),e.$$.dirty&2,e.$$.dirty&17408&&P&&Y&&hs(Y,P),e.$$.dirty&18432&&R&&Y&&fs(Y,R),e.$$.dirty&24576&&ie&&Y&&cs(Y,`${ie}.Style`)},[i,s,a,o,l,u,f,m,_,D,P,R,W,ie,Y,j,C,n,ms]}class ds extends Zn{constructor(t){super(),jn(this,t,Ff,Bf,Ir,{session:0,userid:1,endpoint:2,loginevent:3,registerevent:4,loginurl:5,registerurl:6,currency:7,lang:8,keepbrowsercontext:9,clientstyling:10,clientstylingurl:11,translationurl:12,mbsource:13},Cf)}get session(){return this.$$.ctx[0]}set session(t){this.$$set({session:t}),B()}get userid(){return this.$$.ctx[1]}set userid(t){this.$$set({userid:t}),B()}get endpoint(){return this.$$.ctx[2]}set endpoint(t){this.$$set({endpoint:t}),B()}get loginevent(){return this.$$.ctx[3]}set loginevent(t){this.$$set({loginevent:t}),B()}get registerevent(){return this.$$.ctx[4]}set registerevent(t){this.$$set({registerevent:t}),B()}get loginurl(){return this.$$.ctx[5]}set loginurl(t){this.$$set({loginurl:t}),B()}get registerurl(){return this.$$.ctx[6]}set registerurl(t){this.$$set({registerurl:t}),B()}get currency(){return this.$$.ctx[7]}set currency(t){this.$$set({currency:t}),B()}get lang(){return this.$$.ctx[8]}set lang(t){this.$$set({lang:t}),B()}get keepbrowsercontext(){return this.$$.ctx[9]}set keepbrowsercontext(t){this.$$set({keepbrowsercontext:t}),B()}get clientstyling(){return this.$$.ctx[10]}set clientstyling(t){this.$$set({clientstyling:t}),B()}get clientstylingurl(){return this.$$.ctx[11]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),B()}get translationurl(){return this.$$.ctx[12]}set translationurl(t){this.$$set({translationurl:t}),B()}get mbsource(){return this.$$.ctx[13]}set mbsource(t){this.$$set({mbsource:t}),B()}}zn(ds,{session:{},userid:{},endpoint:{},loginevent:{},registerevent:{},loginurl:{},registerurl:{},currency:{},lang:{},keepbrowsercontext:{},clientstyling:{},clientstylingurl:{},translationurl:{},mbsource:{}},[],[],!0);const Uf=Object.freeze(Object.defineProperty({__proto__:null,default:ds},Symbol.toStringTag,{value:"Module"}));exports.$dictionary=Je;exports.$format=ls;exports.$locale=Qe;exports.CasinoTournamentsListController_ce=Uf;exports.SvelteComponent=Zn;exports.__extends=pt;exports.__read=ch;exports.__spreadArray=Pt;exports.__values=fh;exports.action_destroyer=xs;exports.addMessages=sn;exports.add_iframe_resize_listener=Ns;exports.add_render_callback=At;exports.append=Gt;exports.append_styles=Fn;exports.attr=at;exports.binding_callbacks=Ht;exports.component_subscribe=Yn;exports.create_custom_element=zn;exports.destroy_each=Un;exports.detach=we;exports.element=De;exports.empty=Gn;exports.ensure_array_like=br;exports.flush=B;exports.init=jn;exports.insert=ze;exports.is_function=dt;exports.listen=gr;exports.noop=Z;exports.onMount=Wn;exports.run_all=Ve;exports.safe_not_equal=Ir;exports.setClientStyling=hs;exports.setClientStylingURL=fs;exports.setStreamStyling=cs;exports.set_custom_element_data=b;exports.set_data=$n;exports.set_style=Ps;exports.space=Os;exports.src_url_equal=Ss;exports.svg_element=Ms;exports.text=$t;exports.toggle_class=Hs;
@@ -1,3 +0,0 @@
1
- "use strict";var Q=(i,t,e)=>new Promise((r,o)=>{var s=c=>{try{l(e.next(c))}catch(p){o(p)}},a=c=>{try{l(e.throw(c))}catch(p){o(p)}},l=c=>c.done?r(c.value):Promise.resolve(c.value).then(s,a);l((e=e.apply(i,t)).next())});const n=require("./CasinoTournamentsListController-C_yh1dRY.cjs");function T(i){return typeof i=="function"}function Ae(i){var t=function(r){Error.call(r),r.stack=new Error().stack},e=i(t);return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}var $=Ae(function(i){return function(e){i(this),this.message=e?e.length+` errors occurred during unsubscription:
2
- `+e.map(function(r,o){return o+1+") "+r.toString()}).join(`
3
- `):"",this.name="UnsubscriptionError",this.errors=e}});function ee(i,t){if(i){var e=i.indexOf(t);0<=e&&i.splice(e,1)}}var q=function(){function i(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}return i.prototype.unsubscribe=function(){var t,e,r,o,s;if(!this.closed){this.closed=!0;var a=this._parentage;if(a)if(this._parentage=null,Array.isArray(a))try{for(var l=n.__values(a),c=l.next();!c.done;c=l.next()){var p=c.value;p.remove(this)}}catch(_){t={error:_}}finally{try{c&&!c.done&&(e=l.return)&&e.call(l)}finally{if(t)throw t.error}}else a.remove(this);var h=this.initialTeardown;if(T(h))try{h()}catch(_){s=_ instanceof $?_.errors:[_]}var d=this._finalizers;if(d){this._finalizers=null;try{for(var f=n.__values(d),g=f.next();!g.done;g=f.next()){var m=g.value;try{ye(m)}catch(_){s=s!=null?s:[],_ instanceof $?s=n.__spreadArray(n.__spreadArray([],n.__read(s)),n.__read(_.errors)):s.push(_)}}}catch(_){r={error:_}}finally{try{g&&!g.done&&(o=f.return)&&o.call(f)}finally{if(r)throw r.error}}}if(s)throw new $(s)}},i.prototype.add=function(t){var e;if(t&&t!==this)if(this.closed)ye(t);else{if(t instanceof i){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(e=this._finalizers)!==null&&e!==void 0?e:[]).push(t)}},i.prototype._hasParent=function(t){var e=this._parentage;return e===t||Array.isArray(e)&&e.includes(t)},i.prototype._addParent=function(t){var e=this._parentage;this._parentage=Array.isArray(e)?(e.push(t),e):e?[e,t]:t},i.prototype._removeParent=function(t){var e=this._parentage;e===t?this._parentage=null:Array.isArray(e)&&ee(e,t)},i.prototype.remove=function(t){var e=this._finalizers;e&&ee(e,t),t instanceof i&&t._removeParent(this)},i.EMPTY=function(){var t=new i;return t.closed=!0,t}(),i}(),Le=q.EMPTY;function Ie(i){return i instanceof q||i&&"closed"in i&&T(i.remove)&&T(i.add)&&T(i.unsubscribe)}function ye(i){T(i)?i():i.unsubscribe()}var $e={Promise:void 0},et={setTimeout:function(i,t){for(var e=[],r=2;r<arguments.length;r++)e[r-2]=arguments[r];return setTimeout.apply(void 0,n.__spreadArray([i,t],n.__read(e)))},clearTimeout:function(i){return clearTimeout(i)},delegate:void 0};function tt(i){et.setTimeout(function(){throw i})}function ve(){}function H(i){i()}var Me=function(i){n.__extends(t,i);function t(e){var r=i.call(this)||this;return r.isStopped=!1,e?(r.destination=e,Ie(e)&&e.add(r)):r.destination=it,r}return t.create=function(e,r,o){return new te(e,r,o)},t.prototype.next=function(e){this.isStopped||this._next(e)},t.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,i.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(e){this.destination.next(e)},t.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(q),nt=function(){function i(t){this.partialObserver=t}return i.prototype.next=function(t){var e=this.partialObserver;if(e.next)try{e.next(t)}catch(r){W(r)}},i.prototype.error=function(t){var e=this.partialObserver;if(e.error)try{e.error(t)}catch(r){W(r)}else W(t)},i.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(e){W(e)}},i}(),te=function(i){n.__extends(t,i);function t(e,r,o){var s=i.call(this)||this,a;return T(e)||!e?a={next:e!=null?e:void 0,error:r!=null?r:void 0,complete:o!=null?o:void 0}:a=e,s.destination=new nt(a),s}return t}(Me);function W(i){tt(i)}function rt(i){throw i}var it={closed:!0,next:ve,error:rt,complete:ve},ot=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function st(i){return i}function at(i){return i.length===0?st:i.length===1?i[0]:function(e){return i.reduce(function(r,o){return o(r)},e)}}var ke=function(){function i(t){t&&(this._subscribe=t)}return i.prototype.lift=function(t){var e=new i;return e.source=this,e.operator=t,e},i.prototype.subscribe=function(t,e,r){var o=this,s=ut(t)?t:new te(t,e,r);return H(function(){var a=o,l=a.operator,c=a.source;s.add(l?l.call(s,c):c?o._subscribe(s):o._trySubscribe(s))}),s},i.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},i.prototype.forEach=function(t,e){var r=this;return e=Te(e),new e(function(o,s){var a=new te({next:function(l){try{t(l)}catch(c){s(c),a.unsubscribe()}},error:s,complete:o});r.subscribe(a)})},i.prototype._subscribe=function(t){var e;return(e=this.source)===null||e===void 0?void 0:e.subscribe(t)},i.prototype[ot]=function(){return this},i.prototype.pipe=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return at(t)(this)},i.prototype.toPromise=function(t){var e=this;return t=Te(t),new t(function(r,o){var s;e.subscribe(function(a){return s=a},function(a){return o(a)},function(){return r(s)})})},i.create=function(t){return new i(t)},i}();function Te(i){var t;return(t=i!=null?i:$e.Promise)!==null&&t!==void 0?t:Promise}function lt(i){return i&&T(i.next)&&T(i.error)&&T(i.complete)}function ut(i){return i&&i instanceof Me||lt(i)&&Ie(i)}var ct=Ae(function(i){return function(){i(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),Re=function(i){n.__extends(t,i);function t(){var e=i.call(this)||this;return e.closed=!1,e.currentObservers=null,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}return t.prototype.lift=function(e){var r=new Se(this,this);return r.operator=e,r},t.prototype._throwIfClosed=function(){if(this.closed)throw new ct},t.prototype.next=function(e){var r=this;H(function(){var o,s;if(r._throwIfClosed(),!r.isStopped){r.currentObservers||(r.currentObservers=Array.from(r.observers));try{for(var a=n.__values(r.currentObservers),l=a.next();!l.done;l=a.next()){var c=l.value;c.next(e)}}catch(p){o={error:p}}finally{try{l&&!l.done&&(s=a.return)&&s.call(a)}finally{if(o)throw o.error}}}})},t.prototype.error=function(e){var r=this;H(function(){if(r._throwIfClosed(),!r.isStopped){r.hasError=r.isStopped=!0,r.thrownError=e;for(var o=r.observers;o.length;)o.shift().error(e)}})},t.prototype.complete=function(){var e=this;H(function(){if(e._throwIfClosed(),!e.isStopped){e.isStopped=!0;for(var r=e.observers;r.length;)r.shift().complete()}})},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var e;return((e=this.observers)===null||e===void 0?void 0:e.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(e){return this._throwIfClosed(),i.prototype._trySubscribe.call(this,e)},t.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},t.prototype._innerSubscribe=function(e){var r=this,o=this,s=o.hasError,a=o.isStopped,l=o.observers;return s||a?Le:(this.currentObservers=null,l.push(e),new q(function(){r.currentObservers=null,ee(l,e)}))},t.prototype._checkFinalizedStatuses=function(e){var r=this,o=r.hasError,s=r.thrownError,a=r.isStopped;o?e.error(s):a&&e.complete()},t.prototype.asObservable=function(){var e=new ke;return e.source=this,e},t.create=function(e,r){return new Se(e,r)},t}(ke),Se=function(i){n.__extends(t,i);function t(e,r){var o=i.call(this)||this;return o.destination=e,o.source=r,o}return t.prototype.next=function(e){var r,o;(o=(r=this.destination)===null||r===void 0?void 0:r.next)===null||o===void 0||o.call(r,e)},t.prototype.error=function(e){var r,o;(o=(r=this.destination)===null||r===void 0?void 0:r.error)===null||o===void 0||o.call(r,e)},t.prototype.complete=function(){var e,r;(r=(e=this.destination)===null||e===void 0?void 0:e.complete)===null||r===void 0||r.call(e)},t.prototype._subscribe=function(e){var r,o;return(o=(r=this.source)===null||r===void 0?void 0:r.subscribe(e))!==null&&o!==void 0?o:Le},t}(Re),Ue={now:function(){return(Ue.delegate||Date).now()},delegate:void 0},dt=function(i){n.__extends(t,i);function t(e,r,o){e===void 0&&(e=1/0),r===void 0&&(r=1/0),o===void 0&&(o=Ue);var s=i.call(this)||this;return s._bufferSize=e,s._windowTime=r,s._timestampProvider=o,s._buffer=[],s._infiniteTimeWindow=!0,s._infiniteTimeWindow=r===1/0,s._bufferSize=Math.max(1,e),s._windowTime=Math.max(1,r),s}return t.prototype.next=function(e){var r=this,o=r.isStopped,s=r._buffer,a=r._infiniteTimeWindow,l=r._timestampProvider,c=r._windowTime;o||(s.push(e),!a&&s.push(l.now()+c)),this._trimBuffer(),i.prototype.next.call(this,e)},t.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var r=this._innerSubscribe(e),o=this,s=o._infiniteTimeWindow,a=o._buffer,l=a.slice(),c=0;c<l.length&&!e.closed;c+=s?1:2)e.next(l[c]);return this._checkFinalizedStatuses(e),r},t.prototype._trimBuffer=function(){var e=this,r=e._bufferSize,o=e._timestampProvider,s=e._buffer,a=e._infiniteTimeWindow,l=(a?1:2)*r;if(r<1/0&&l<s.length&&s.splice(0,s.length-l),!a){for(var c=o.now(),p=0,h=1;h<s.length&&s[h]<=c;h+=2)p=h;p&&s.splice(0,p+1)}},t}(Re);const Fe=[],Ee={},ft=(i,t=0)=>{if(Fe.indexOf(i)==-1){const e=new dt(t);Ee[i]=e,Fe.push(i)}return Ee[i]};window.emWidgets={topic:ft};const ne=i=>i.toLowerCase().match(/android/i)?"Android":i.toLowerCase().match(/iphone/i)?"iPhone":i.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC";function mt({withLocale:i,translations:t}){n.$locale.subscribe(e=>{e==null&&(n.$dictionary.set(t),n.$locale.set(i))})}function je(i,t){n.addMessages(i,t)}function ht(i){n.$locale.set(i)}const ze={en:{login:"Log in",register:"Register",details:"Details",enrolled:"Enrolled",join:"Join",joinerror:"An error occurred while registering in the tournament, please try again."},hr:{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":{login:"登錄",register:"登記",details:"細節",enrolled:"已註冊",join:"加入",joinerror:"加入錦標賽時出錯,請重試"},fr:{login:"Connexion",register:"Enregistre",details:"Détails",enrolled:"Inscrits",join:"Rejoignez",joinerror:"Une erreur s'est produite lors de l'inscription au tournoi"},ro:{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:{login:"Giriş yapmak",register:"Kayıt olmak",details:"Detaylar",enrolled:"Katıldın",join:"Katılmak",joinerror:"Turnuvaya kayıt olurken bir hata oluştu, lütfen tekrar deneyin."},el:{login:"Είσοδος",register:"Εγγραφή",details:"Λεπτομέρειες",enrolled:"Εγγεγραμμένος",join:"Συμμετοχή",joinerror:"Παρουσιάστηκε σφάλμα κατά τη διαδικασία εγγραφής στο τουρνουά, παρακαλούμε δοκιμάστε ξανά."},es:{login:"Iniciar sesión",register:"Regístrate",details:"Detalles",enrolled:"Participando",join:"Unirse",joinerror:"Ha ocurrido un error mientras se registra en el Torneo"},hu:{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:{login:"Entrar",register:"Registro",details:"Detalhes",enrolled:"Inscrito",join:"Junte-se",joinerror:"Ocorreu um erro ao entrar no torneio"},"en-us":{login:"Log in",register:"Register",details:"Details",enrolled:"Enrolled",join:"Join",joinerror:"An error occurred while registering in the tournament, please try again."}};if(typeof window!="undefined"){let i=function(t){return function(...e){try{return t.apply(this,e)}catch(r){if(r instanceof DOMException&&r.message.includes("has already been used with this registry")||r.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw r}}};customElements.define=i(customElements.define),Promise.resolve().then(()=>require("./CasinoTournamentsThumbnail-CjUK_Y0T.cjs")).then(({default:t})=>{!customElements.get("casino-tournaments-thumbnail")&&customElements.define("casino-tournaments-thumbnail",t.element)})}if(typeof window!="undefined"){let i=function(t){return function(...e){try{return t.apply(this,e)}catch(r){if(r instanceof DOMException&&r.message.includes("has already been used with this registry")||r.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw r}}};customElements.define=i(customElements.define),Promise.resolve().then(()=>require("./CasinoTournamentsThumbnailDuration-B7NpOQTM.cjs")).then(({default:t})=>{!customElements.get("casino-tournaments-thumbnail-duration")&&customElements.define("casino-tournaments-thumbnail-duration",t.element)})}if(typeof window!="undefined"){let i=function(t){return function(...e){try{return t.apply(this,e)}catch(r){if(r instanceof DOMException&&r.message.includes("has already been used with this registry")||r.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw r}}};customElements.define=i(customElements.define),Promise.resolve().then(()=>require("./CasinoTournamentsThumbnailPrizes-ChlDKR4R.cjs")).then(({default:t})=>{!customElements.get("casino-tournaments-thumbnail-prizes")&&customElements.define("casino-tournaments-thumbnail-prizes",t.element)})}if(typeof window!="undefined"){let i=function(t){return function(...e){try{return t.apply(this,e)}catch(r){if(r instanceof DOMException&&r.message.includes("has already been used with this registry")||r.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw r}}};customElements.define=i(customElements.define),Promise.resolve().then(()=>require("./CasinoTournamentsThumbnailGamesSlider-BvcRMeXB.cjs")).then(({default:t})=>{!customElements.get("casino-tournaments-thumbnail-games-slider")&&customElements.define("casino-tournaments-thumbnail-games-slider",t.element)})}function pt(i){n.append_styles(i,"svelte-chi6uq",'*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.Loading .TournamentCard{background-color:transparent}.Loading .TournamentButtons,.Loading .TournamentPrizes,.Loading .TournamentsGamesSlider{width:100%;display:block;margin:0}.Loading .TournamentButtons .Rectangle.Skeleton,.Loading .TournamentPrizes .Rectangle.Skeleton,.Loading .TournamentsGamesSlider .Rectangle.Skeleton{width:100%}button{cursor:pointer}.TournamentCard{position:relative;background:var(--emw--color-contrast, #07072A);color:var(--emw--color-white, #FFFFFF);border:solid 1px #30313c;gap:20px;display:flex;flex-direction:column;padding-bottom:20px;margin:0 auto}.CardFullSize{width:100%}.CardMaxWidth{max-width:600px}.TournamentButtons{display:flex;justify-content:center;gap:20px;margin:0 20px}.TournamentButtons button{cursor:pointer}.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}.LoginButton:hover{opacity:0.7}.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}.RegisterButton:hover{opacity:0.7}.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}.DetailsButton:hover{opacity:0.7}.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}.DetailsLargeButton:hover{opacity:0.7}.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}.JoinButton{background:var(--emw--color-green, #48952a);width:60%;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}.JoinButton:hover{opacity:0.7}.JoinButton:disabled{cursor:default;opacity:0.7}.JoinButtonFullSize{width:100%}.ErrorText{margin:0 20px;color:red;font-size:14px;font-weight:bold}.ph-item{position:relative;display:flex;flex-wrap:wrap;margin-bottom:30px;padding:30px 15px 15px 15px;overflow:hidden;direction:ltr;background-color:var(--emw--color-contrast, #07072A);border:1px solid var(--emw--color-footer-bg, #212529);border-radius:2px}.ph-item,.ph-item *,.ph-item ::after,.ph-item ::before{box-sizing:border-box}.ph-item::before{position:absolute;top:0;right:0;bottom:0;left:50%;z-index:1;width:500%;margin-left:-250%;background:linear-gradient(to right, rgba(var(--emw--color-contrast, #07072A), 0) 46%, rgba(var(--emw--color-contrast, #07072A), 0.35) 50%, rgba(var(--emw--color-contrast, #07072A), 0) 54%) 50% 50%;animation:phAnimation 0.8s linear infinite;content:" ";pointer-events:none}.ph-item>*{display:flex;flex:1 1 auto;flex-flow:column;margin-bottom:15px;padding-right:15px;padding-left:15px}.ph-row{display:flex;flex-wrap:wrap;margin-top:-7.5px}.ph-row div{height:10px;margin-top:7.5px;background-color:var(--emw--color-gray-100, #E6E6E6)}.ph-row .big,.ph-row.big div{height:20px}.ph-row .empty{background-color:rgba(var(--emw--color-contrast, #07072A), 0)}.ph-col-2{flex:0 0 16.6666666667%}.ph-col-4{flex:0 0 33.3333333333%}.ph-col-6{flex:0 0 50%}.ph-col-8{flex:0 0 66.6666666667%}.ph-col-10{flex:0 0 83.3333333333%}.ph-col-12{flex:0 0 100%}[class*=ph-col]{direction:ltr}[class*=ph-col]>*+.ph-row{margin-top:0}[class*=ph-col]>*+*{margin-top:7.5px}.ph-avatar{position:relative;width:100%;min-width:60px;overflow:hidden;background-color:var(--emw--color-gray-100, #E6E6E6);border-radius:50%}.ph-avatar::before{display:block;padding-top:100%;content:" "}.ph-picture{width:100%;height:120px;background-color:var(--emw--color-gray-100, #E6E6E6)}@keyframes phAnimation{0%{transform:translate3d(-30%, 0, 0)}100%{transform:translate3d(30%, 0, 0)}}svg.spinner{width:40px;height:40px;x:0px;y:0px;viewBox:0 0 40 40}svg.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}}@-webkit-keyframes fadein{0%{opacity:0}40%{opacity:0}100%{opacity:1}}@keyframes fadein{0%{opacity:0}40%{opacity:0}100%{opacity:1}}@-webkit-keyframes fadeout{0%{opacity:1}40%{opacity:0}100%{opacity:0}}@keyframes fadeout{0%{opacity:1}40%{opacity:0}100%{opacity:0}}.elementToFadeIn{-webkit-animation:fadein 2s linear forwards;animation:fadein 2s linear forwards}.elementToFadeOut{-webkit-animation:fadeout 0.1s ease-out forwards;animation:fadeout 0.1s ease-out forwards}')}function _t(i){let t,e,r,o,s,a,l,c=i[25]&&Pe(i);function p(m,_){if(!m[15])return yt;if(m[24]!="Closed"&&m[24]!="Closing")return wt;if(m[2]=="true")return bt}let h=p(i),d=h&&h(i),f=(i[18]||i[20])&&xe(i),g=i[3]=="true"&&Oe(i);return{c(){c&&c.c(),t=n.space(),e=n.element("casino-tournaments-thumbnail-duration"),r=n.space(),o=n.element("div"),d&&d.c(),s=n.space(),f&&f.c(),a=n.space(),g&&g.c(),l=n.empty(),n.set_custom_element_data(e,"clientstyling",i[10]),n.set_custom_element_data(e,"clientstylingurl",i[11]),n.set_custom_element_data(e,"translationurl",i[12]),n.set_custom_element_data(e,"status",i[24]),n.set_custom_element_data(e,"startdate",i[22]),n.set_custom_element_data(e,"lang",i[7]),n.set_custom_element_data(e,"mbsource",i[13]),n.set_custom_element_data(e,"enddate",i[23]),n.set_custom_element_data(e,"exportparts","TournamentDuration, TournamentDates, StartDate, EndDate, ProgressBar, ProgressBarFillEnd, Finished, ProgressBarFillStarting, Remaining, ProgressBarFill"),n.attr(o,"class","TournamentButtons"),n.attr(o,"part","TournamentButtons")},m(m,_){c&&c.m(m,_),n.insert(m,t,_),n.insert(m,e,_),n.insert(m,r,_),n.insert(m,o,_),d&&d.m(o,null),n.insert(m,s,_),f&&f.m(m,_),n.insert(m,a,_),g&&g.m(m,_),n.insert(m,l,_)},p(m,_){m[25]?c?c.p(m,_):(c=Pe(m),c.c(),c.m(t.parentNode,t)):c&&(c.d(1),c=null),_[0]&1024&&n.set_custom_element_data(e,"clientstyling",m[10]),_[0]&2048&&n.set_custom_element_data(e,"clientstylingurl",m[11]),_[0]&4096&&n.set_custom_element_data(e,"translationurl",m[12]),_[0]&16777216&&n.set_custom_element_data(e,"status",m[24]),_[0]&4194304&&n.set_custom_element_data(e,"startdate",m[22]),_[0]&128&&n.set_custom_element_data(e,"lang",m[7]),_[0]&8192&&n.set_custom_element_data(e,"mbsource",m[13]),_[0]&8388608&&n.set_custom_element_data(e,"enddate",m[23]),h===(h=p(m))&&d?d.p(m,_):(d&&d.d(1),d=h&&h(m),d&&(d.c(),d.m(o,null))),m[18]||m[20]?f?f.p(m,_):(f=xe(m),f.c(),f.m(a.parentNode,a)):f&&(f.d(1),f=null),m[3]=="true"?g?g.p(m,_):(g=Oe(m),g.c(),g.m(l.parentNode,l)):g&&(g.d(1),g=null)},d(m){m&&(n.detach(t),n.detach(e),n.detach(r),n.detach(o),n.detach(s),n.detach(a),n.detach(l)),c&&c.d(m),d&&d.d(),f&&f.d(m),g&&g.d(m)}}}function gt(i){let t,e,r;return{c(){t=n.element("div"),t.innerHTML='<div class="TournamentPrizesIconSection" part="TournamentPrizesIconSection"><ui-skeleton structure="rectangle" width="200px" height="80px"></ui-skeleton></div>',e=n.space(),r=n.element("div"),r.innerHTML='<ui-skeleton structure="rectangle" width="200px" height="80px"></ui-skeleton>',n.attr(t,"class","TournamentPrizes"),n.attr(t,"part","TournamentPrizes"),n.attr(r,"class","TournamentButtons"),n.attr(r,"part","TournamentButtons")},m(o,s){n.insert(o,t,s),n.insert(o,e,s),n.insert(o,r,s)},p:n.noop,d(o){o&&(n.detach(t),n.detach(e),n.detach(r))}}}function Pe(i){let t,e,r,o;return{c(){t=n.element("casino-tournaments-thumbnail-prizes"),n.set_custom_element_data(t,"tourid",i[25]),n.set_custom_element_data(t,"clientstyling",i[10]),n.set_custom_element_data(t,"clientstylingurl",i[11]),n.set_custom_element_data(t,"mbsource",i[13]),n.set_custom_element_data(t,"translationurl",i[12]),n.set_custom_element_data(t,"exportparts","TournamentPrizes, TournamentPrizesSvg, a, TournamentPrizesSvgA, PrizesTitle, Prizes, Prize, PrizeText, PrizeRank, TournamentPrizesIconSection, TournamentPrizesIconWrapper")},m(s,a){n.insert(s,t,a),r||(o=n.action_destroyer(e=i[38].call(null,t,i[25])),r=!0)},p(s,a){a[0]&33554432&&n.set_custom_element_data(t,"tourid",s[25]),a[0]&1024&&n.set_custom_element_data(t,"clientstyling",s[10]),a[0]&2048&&n.set_custom_element_data(t,"clientstylingurl",s[11]),a[0]&8192&&n.set_custom_element_data(t,"mbsource",s[13]),a[0]&4096&&n.set_custom_element_data(t,"translationurl",s[12]),e&&n.is_function(e.update)&&a[0]&33554432&&e.update.call(null,s[25])},d(s){s&&n.detach(t),r=!1,o()}}}function bt(i){let t,e=i[33]("details")+"",r,o,s;return{c(){t=n.element("button"),r=n.text(e),n.attr(t,"class","DetailsLargeButton"),n.attr(t,"part","DetailsLargeButton")},m(a,l){n.insert(a,t,l),n.append(t,r),o||(s=n.listen(t,"click",function(){n.is_function(i[36].bind(this,i[25]))&&i[36].bind(this,i[25]).apply(this,arguments)}),o=!0)},p(a,l){i=a,l[1]&4&&e!==(e=i[33]("details")+"")&&n.set_data(r,e)},d(a){a&&n.detach(t),o=!1,s()}}}function wt(i){let t,e,r=i[2]=="true"&&Ce(i);function o(l,c){return l[27]?kt:vt}let s=o(i),a=s(i);return{c(){r&&r.c(),t=n.space(),a.c(),e=n.empty()},m(l,c){r&&r.m(l,c),n.insert(l,t,c),a.m(l,c),n.insert(l,e,c)},p(l,c){l[2]=="true"?r?r.p(l,c):(r=Ce(l),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null),s===(s=o(l))&&a?a.p(l,c):(a.d(1),a=s(l),a&&(a.c(),a.m(e.parentNode,e)))},d(l){l&&(n.detach(t),n.detach(e)),r&&r.d(l),a.d(l)}}}function yt(i){let t,e=i[33]("login")+"",r,o,s,a=i[33]("register")+"",l,c,p;return{c(){t=n.element("button"),r=n.text(e),o=n.space(),s=n.element("button"),l=n.text(a),n.attr(t,"class","LoginButton"),n.attr(t,"part","LoginButton"),n.attr(s,"class","RegisterButton"),n.attr(s,"part","RegisterButton")},m(h,d){n.insert(h,t,d),n.append(t,r),n.insert(h,o,d),n.insert(h,s,d),n.append(s,l),c||(p=[n.listen(t,"click",i[34]),n.listen(s,"click",i[35])],c=!0)},p(h,d){d[1]&4&&e!==(e=h[33]("login")+"")&&n.set_data(r,e),d[1]&4&&a!==(a=h[33]("register")+"")&&n.set_data(l,a)},d(h){h&&(n.detach(t),n.detach(o),n.detach(s)),c=!1,n.run_all(p)}}}function Ce(i){let t,e=i[33]("details")+"",r,o,s;return{c(){t=n.element("button"),r=n.text(e),n.attr(t,"class","DetailsButton"),n.attr(t,"part","DetailsButton")},m(a,l){n.insert(a,t,l),n.append(t,r),o||(s=n.listen(t,"click",function(){n.is_function(i[36].bind(this,i[25]))&&i[36].bind(this,i[25]).apply(this,arguments)}),o=!0)},p(a,l){i=a,l[1]&4&&e!==(e=i[33]("details")+"")&&n.set_data(r,e)},d(a){a&&n.detach(t),o=!1,s()}}}function vt(i){let t,e,r,o,s;function a(p,h){return p[17]==!0?St:Tt}let l=a(i),c=l(i);return{c(){t=n.element("button"),c.c(),n.attr(t,"class",e="JoinButton "+(i[6]?"JoinButtonFullSize":"")),n.attr(t,"part",r="JoinButton "+(i[6]?"JoinButtonFullSize":"")),t.disabled=i[18]},m(p,h){n.insert(p,t,h),c.m(t,null),o||(s=n.listen(t,"click",i[48]),o=!0)},p(p,h){l===(l=a(p))&&c?c.p(p,h):(c.d(1),c=l(p),c&&(c.c(),c.m(t,null))),h[0]&64&&e!==(e="JoinButton "+(p[6]?"JoinButtonFullSize":""))&&n.attr(t,"class",e),h[0]&64&&r!==(r="JoinButton "+(p[6]?"JoinButtonFullSize":""))&&n.attr(t,"part",r),h[0]&262144&&(t.disabled=p[18])},d(p){p&&n.detach(t),c.d(),o=!1,s()}}}function kt(i){let t,e=i[2]=="true"&&Be(i);return{c(){e&&e.c(),t=n.empty()},m(r,o){e&&e.m(r,o),n.insert(r,t,o)},p(r,o){r[2]=="true"?e?e.p(r,o):(e=Be(r),e.c(),e.m(t.parentNode,t)):e&&(e.d(1),e=null)},d(r){r&&n.detach(t),e&&e.d(r)}}}function Tt(i){let t,e=i[33]("join")+"",r,o,s,a,l,c,p,h;return{c(){t=n.element("span"),r=n.text(e),o=n.space(),s=n.svg_element("svg"),a=n.svg_element("defs"),l=n.svg_element("style"),c=n.text(".a{fill:var(--emw--color-white, #FFFFFF);}"),p=n.svg_element("g"),h=n.svg_element("path"),n.attr(t,"part","JoinButtonSpan"),n.attr(h,"class","a"),n.attr(h,"part","a JoinButtonSvgA"),n.attr(h,"d","M13,0,10.636,2.364l8.948,8.948H0v3.377H19.584l-8.948,8.948L13,26,26,13Z"),n.attr(h,"transform","translate(26 26) rotate(180)"),n.attr(p,"transform","translate(26 26) rotate(180)"),n.attr(s,"part","JoinButtonSvg"),n.attr(s,"xmlns","http://www.w3.org/2000/svg"),n.attr(s,"width","26"),n.attr(s,"height","26"),n.attr(s,"viewBox","0 0 26 26")},m(d,f){n.insert(d,t,f),n.append(t,r),n.insert(d,o,f),n.insert(d,s,f),n.append(s,a),n.append(a,l),n.append(l,c),n.append(s,p),n.append(p,h)},p(d,f){f[1]&4&&e!==(e=d[33]("join")+"")&&n.set_data(r,e)},d(d){d&&(n.detach(t),n.detach(o),n.detach(s))}}}function St(i){let t,e;return{c(){t=n.svg_element("svg"),e=n.svg_element("circle"),n.attr(e,"cx","20"),n.attr(e,"cy","20"),n.attr(e,"r","18"),n.attr(t,"class","spinner"),n.attr(t,"part","spinner")},m(r,o){n.insert(r,t,o),n.append(t,e)},p:n.noop,d(r){r&&n.detach(t)}}}function Be(i){let t,e=i[33]("enrolled")+"",r;return{c(){t=n.element("button"),r=n.text(e),n.attr(t,"class","EnrolledButton"),n.attr(t,"part","EnrolledButton"),t.disabled=!0},m(o,s){n.insert(o,t,s),n.append(t,r)},p(o,s){s[1]&4&&e!==(e=o[33]("enrolled")+"")&&n.set_data(r,e)},d(o){o&&n.detach(t)}}}function xe(i){let t,e=i[33]("joinerror")+"",r,o,s;return{c(){t=n.element("span"),r=n.text(e),o=n.space(),s=n.text(i[19]),n.attr(t,"class","ErrorText"),n.attr(t,"part","ErrorText")},m(a,l){n.insert(a,t,l),n.append(t,r),n.append(t,o),n.append(t,s)},p(a,l){l[1]&4&&e!==(e=a[33]("joinerror")+"")&&n.set_data(r,e),l[0]&524288&&n.set_data(s,a[19])},d(a){a&&n.detach(t)}}}function Oe(i){let t,e,r=i[16]&&De();return{c(){r&&r.c(),t=n.space(),e=n.element("casino-tournaments-thumbnail-games-slider"),n.set_custom_element_data(e,"clientstyling",i[10]),n.set_custom_element_data(e,"clientstylingurl",i[11]),n.set_custom_element_data(e,"translationurl",i[12]),n.set_custom_element_data(e,"tournamenturl",i[1]),n.set_custom_element_data(e,"mbsource",i[13]),n.set_custom_element_data(e,"lang",i[7]),n.set_custom_element_data(e,"scrollby","2"),n.set_custom_element_data(e,"exportparts","TournamentsGamesSlider, SliderNavButton, items, item, PlayNowButton, itemHover, SliderNavButton")},m(o,s){r&&r.m(o,s),n.insert(o,t,s),n.insert(o,e,s)},p(o,s){o[16]?r||(r=De(),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null),s[0]&1024&&n.set_custom_element_data(e,"clientstyling",o[10]),s[0]&2048&&n.set_custom_element_data(e,"clientstylingurl",o[11]),s[0]&4096&&n.set_custom_element_data(e,"translationurl",o[12]),s[0]&2&&n.set_custom_element_data(e,"tournamenturl",o[1]),s[0]&8192&&n.set_custom_element_data(e,"mbsource",o[13]),s[0]&128&&n.set_custom_element_data(e,"lang",o[7])},d(o){o&&(n.detach(t),n.detach(e)),r&&r.d(o)}}}function De(i){let t;return{c(){t=n.element("div"),t.innerHTML='<ui-skeleton structure="rectangle" width="290px" height="80px"></ui-skeleton>',n.attr(t,"class","TournamentsGamesSlider")},m(e,r){n.insert(e,t,r)},d(e){e&&n.detach(t)}}}function Ft(i){let t,e,r,o,s,a,l;function c(d,f){return d[16]?gt:_t}let p=c(i),h=p(i);return{c(){t=n.element("div"),e=n.element("div"),r=n.element("casino-tournaments-thumbnail"),o=n.space(),h.c(),n.set_custom_element_data(r,"detailsevent",i[8]),n.set_custom_element_data(r,"userid",i[0]),n.set_custom_element_data(r,"title",i[21]),n.set_custom_element_data(r,"status",i[24]),n.set_custom_element_data(r,"startdate",i[22]),n.set_custom_element_data(r,"tourid",i[25]),n.set_custom_element_data(r,"scorecriteria",i[28]),n.set_custom_element_data(r,"minbetcount",i[29]),n.set_custom_element_data(r,"thumbnail",i[26]),n.set_custom_element_data(r,"showenrolled",i[4]),n.set_custom_element_data(r,"gameurl",i[31]),n.set_custom_element_data(r,"mbsource",i[13]),n.set_custom_element_data(r,"userenrolled",i[27]),n.set_custom_element_data(r,"clientstyling",i[10]),n.set_custom_element_data(r,"clientstylingurl",i[11]),n.set_custom_element_data(r,"translationurl",i[12]),n.set_custom_element_data(r,"lang",i[7]),n.set_custom_element_data(r,"keepbrowsercontext",i[9]),n.set_custom_element_data(r,"exportparts","Thumbnail, Status, Enrolled, CardImg, CardImgFinished, Details, Title, Date, ScoreCriteria, ScoreCriteriaP, ScoreCriteriaSpan, Games, GamesP, GamesAnchor, StatusUnstarted, StatusRunning, StatusClosed, StatusClosing"),n.attr(e,"class",s="TournamentCard "+(i[5]?"CardMaxWidth":"")+(i[6]?"CardFullSize":"")+" "+(i[32]?"elementToFadeOut":"elementToFadeIn")),n.attr(e,"part",a="TournamentCard "+(i[5]?"CardMaxWidth":"")+(i[6]?"CardFullSize":"")+" "+(i[32]?"elementToFadeOut":"elementToFadeIn")+" "+(i[32]?"elementToFadeOut":"elementToFadeIn")),n.attr(t,"class",l=`${i[16]?"Loading":""}`)},m(d,f){n.insert(d,t,f),n.append(t,e),n.append(e,r),n.append(e,o),h.m(e,null),i[49](t)},p(d,f){f[0]&256&&n.set_custom_element_data(r,"detailsevent",d[8]),f[0]&1&&n.set_custom_element_data(r,"userid",d[0]),f[0]&2097152&&n.set_custom_element_data(r,"title",d[21]),f[0]&16777216&&n.set_custom_element_data(r,"status",d[24]),f[0]&4194304&&n.set_custom_element_data(r,"startdate",d[22]),f[0]&33554432&&n.set_custom_element_data(r,"tourid",d[25]),f[0]&268435456&&n.set_custom_element_data(r,"scorecriteria",d[28]),f[0]&536870912&&n.set_custom_element_data(r,"minbetcount",d[29]),f[0]&67108864&&n.set_custom_element_data(r,"thumbnail",d[26]),f[0]&16&&n.set_custom_element_data(r,"showenrolled",d[4]),f[1]&1&&n.set_custom_element_data(r,"gameurl",d[31]),f[0]&8192&&n.set_custom_element_data(r,"mbsource",d[13]),f[0]&134217728&&n.set_custom_element_data(r,"userenrolled",d[27]),f[0]&1024&&n.set_custom_element_data(r,"clientstyling",d[10]),f[0]&2048&&n.set_custom_element_data(r,"clientstylingurl",d[11]),f[0]&4096&&n.set_custom_element_data(r,"translationurl",d[12]),f[0]&128&&n.set_custom_element_data(r,"lang",d[7]),f[0]&512&&n.set_custom_element_data(r,"keepbrowsercontext",d[9]),p===(p=c(d))&&h?h.p(d,f):(h.d(1),h=p(d),h&&(h.c(),h.m(e,null))),f[0]&96|f[1]&2&&s!==(s="TournamentCard "+(d[5]?"CardMaxWidth":"")+(d[6]?"CardFullSize":"")+" "+(d[32]?"elementToFadeOut":"elementToFadeIn"))&&n.attr(e,"class",s),f[0]&96|f[1]&2&&a!==(a="TournamentCard "+(d[5]?"CardMaxWidth":"")+(d[6]?"CardFullSize":"")+" "+(d[32]?"elementToFadeOut":"elementToFadeIn")+" "+(d[32]?"elementToFadeOut":"elementToFadeIn"))&&n.attr(e,"part",a),f[0]&65536&&l!==(l=`${d[16]?"Loading":""}`)&&n.attr(t,"class",l)},i:n.noop,o:n.noop,d(d){d&&n.detach(t),h.d(),i[49](null)}}}function Et(i,t,e){let r;n.component_subscribe(i,n.$format,u=>e(33,r=u));let{session:o=""}=t,{userid:s=""}=t,{tournamenturl:a=""}=t,{touridx:l}=t,{endpoint:c=""}=t,{showdetails:p=""}=t,{showslider:h=""}=t,{showenrolled:d=""}=t,{maxwidth:f=""}=t,{fullsize:g=""}=t,{lang:m=""}=t,{loginevent:_=""}=t,{registerevent:P=""}=t,{detailsevent:re=""}=t,{loginurl:C=""}=t,{registerurl:B=""}=t,{currency:G=""}=t,{keepbrowsercontext:ie="false"}=t,{clientstyling:x=""}=t,{clientstylingurl:O=""}=t,{translationurl:D=""}=t,{tournamentinfo:A}=t,{mbsource:L}=t,v,F=!1,I="",E=!0,oe=window.navigator.userAgent,M=!1,R=!1,se="There was an error while trying to join the tournament",N=!1,Y,ae,le,j,k,ue,K,ce,de,fe=[],V=[],me="#",U=!1;mt({withLocale:"en",translations:{}});const We=()=>{fetch(D).then(b=>b.json()).then(b=>{Object.keys(b).forEach(y=>{je(y,b[y])})}).catch(b=>{console.log(b)})};Object.keys(ze).forEach(u=>{je(u,ze[u])});const he=u=>{He(u),X(u),ge(this,k)},pe=u=>{if(u.data&&u.data.type=="UserSessionID"&&(e(15,F=!0),I=u.data.session),u.data.type=="UpdateTournamentView"){let b=u.data.tournamentData;if(k&&k!=b.id)return;he(b)}if(u.data&&u.data.type==`UpdateSingleTournament_${l}`){let b=u.data.tournamentData,y=l<4?l*100:Math.random()*300+300;e(32,U=l==1),setTimeout(()=>{e(32,U=!0),e(25,k=b.id),he(b)},y),setTimeout(()=>{e(32,U=!1)},y+200)}},He=u=>{u.state!=j&&(e(24,j=u.state),window.postMessage({type:`TournamentStatus_${k}`,status:j},window.location.href))},qe=()=>{_&&(window.postMessage({type:_,transition:"Login"},window.location.href),typeof gtag=="function"&&gtag("event","OpenLoginModal",{context:"TournamentsThumbnailController"})),C&&(window.location=C)},Ge=()=>{P&&(window.postMessage({type:P,transition:"Register"},window.location.href),typeof gtag=="function"&&gtag("event","OpenRegisterModal",{context:"TournamentsThumbnailController"})),B&&(window.location=B)},Ne=u=>{window.postMessage({type:"TournamentDetailsClicked",tournamentId:u,showLeaderboard:!0},window.location.href)},_e=(u,b)=>Q(this,null,function*(){var we;e(18,R=!1),e(20,N=!1),window.postMessage({type:"TournamentJoinRequest",tournamentId:u},window.location.href),e(17,M=!0);let y=new URL(`${c}/v1/bonus/claim`),J=new Headers,S={};y.searchParams.append("language",m),y.searchParams.append("platform",ne(oe)),J.append("Content-Type","application/json"),J.append("X-SessionID",I),b&&b.length>=1&&(S={language:m,bonusCode:b[0].code,currency:G,type:"tournament"});let Qe={method:"PUT",headers:J,body:JSON.stringify(S)};const be=()=>{e(17,M=!1),e(27,K=!0)},Z=w=>{e(17,M=!1),w&&e(19,se=w),e(18,R=!0)},z=yield Q(this,null,function*(){let w;try{w=yield fetch(y,Qe),w=yield w.json()}catch(Pt){Z()}return w});if(z)if(z.success==!0)be();else if(z.errorMessage.match("VersionMismatchException")){let w;w=yield fetch(`${c}/tournaments/${k}`,{headers:{"X-SessionID":o}}),w=yield w.json(),(we=w==null?void 0:w.item)!=null&&we.playerEnrolled?be():(Z(z.errorMessage),e(20,N=!0),e(18,R=!1))}else Z(z.errorMessage)}),ge=(u,b)=>{window.postMessage({type:`TournamentPrizes_${b}`,prizes:fe},window.location.href)},X=u=>{u&&(e(21,Y=u.nameOrTitle||""),e(22,ae=u.startTime),e(23,le=u.endTime),e(24,j=u.state),e(25,k=u.id),e(26,ue=u.thumbnail),e(27,K=u.playerEnrolled==="true"||u.playerEnrolled==!0||!1),e(28,ce=u.scoreCriteria),e(29,de=u.minBetCount),fe=u.prizes,e(30,V=u.wallets||[]),e(31,me=u.termsUrl||"#"))},Ye=u=>{e(16,E=!0);let b=new URL(u),y=new Headers;b.searchParams.append("language",m),b.searchParams.append("platform",ne(oe)),F&&y.append("X-SessionID",I),fetch(b,{method:"GET",headers:y}).then(S=>S.json()).then(S=>{X(S.item)}).finally(()=>{e(16,E=!1)})},Ke=()=>{e(15,F=(o==null?void 0:o.length)>10),F&&(I=o)},Ve=()=>{if(A){X(A);return}e(16,E=!0),Ye(a)};n.onMount(()=>(e(16,E=!Y),window.postMessage({type:"TournamentThumbnailMounted"},window.location.href),window.addEventListener("message",pe,!1),()=>{window.removeEventListener("message",pe)}));const Xe=()=>_e(k,V);function Ze(u){n.binding_callbacks[u?"unshift":"push"](()=>{v=u,e(14,v)})}return i.$$set=u=>{"session"in u&&e(39,o=u.session),"userid"in u&&e(0,s=u.userid),"tournamenturl"in u&&e(1,a=u.tournamenturl),"touridx"in u&&e(40,l=u.touridx),"endpoint"in u&&e(41,c=u.endpoint),"showdetails"in u&&e(2,p=u.showdetails),"showslider"in u&&e(3,h=u.showslider),"showenrolled"in u&&e(4,d=u.showenrolled),"maxwidth"in u&&e(5,f=u.maxwidth),"fullsize"in u&&e(6,g=u.fullsize),"lang"in u&&e(7,m=u.lang),"loginevent"in u&&e(42,_=u.loginevent),"registerevent"in u&&e(43,P=u.registerevent),"detailsevent"in u&&e(8,re=u.detailsevent),"loginurl"in u&&e(44,C=u.loginurl),"registerurl"in u&&e(45,B=u.registerurl),"currency"in u&&e(46,G=u.currency),"keepbrowsercontext"in u&&e(9,ie=u.keepbrowsercontext),"clientstyling"in u&&e(10,x=u.clientstyling),"clientstylingurl"in u&&e(11,O=u.clientstylingurl),"translationurl"in u&&e(12,D=u.translationurl),"tournamentinfo"in u&&e(47,A=u.tournamentinfo),"mbsource"in u&&e(13,L=u.mbsource)},i.$$.update=()=>{i.$$.dirty[0]&128&&m&&ht(m),i.$$.dirty[0]&4096&&D&&We(),i.$$.dirty[1]&256&&o&&Ke(),i.$$.dirty[0]&130&&a&&m&&Ve(),i.$$.dirty[0]&17408&&x&&v&&n.setClientStyling(v,x),i.$$.dirty[0]&18432&&O&&v&&n.setClientStylingURL(v,O),i.$$.dirty[0]&24576&&L&&v&&n.setStreamStyling(v,`${L}.Style`)},[s,a,p,h,d,f,g,m,re,ie,x,O,D,L,v,F,E,M,R,se,N,Y,ae,le,j,k,ue,K,ce,de,V,me,U,r,qe,Ge,Ne,_e,ge,o,l,c,_,P,C,B,G,A,Xe,Ze]}class Je extends n.SvelteComponent{constructor(t){super(),n.init(this,t,Et,Ft,n.safe_not_equal,{session:39,userid:0,tournamenturl:1,touridx:40,endpoint:41,showdetails:2,showslider:3,showenrolled:4,maxwidth:5,fullsize:6,lang:7,loginevent:42,registerevent:43,detailsevent:8,loginurl:44,registerurl:45,currency:46,keepbrowsercontext:9,clientstyling:10,clientstylingurl:11,translationurl:12,tournamentinfo:47,mbsource:13},pt,[-1,-1,-1])}get session(){return this.$$.ctx[39]}set session(t){this.$$set({session:t}),n.flush()}get userid(){return this.$$.ctx[0]}set userid(t){this.$$set({userid:t}),n.flush()}get tournamenturl(){return this.$$.ctx[1]}set tournamenturl(t){this.$$set({tournamenturl:t}),n.flush()}get touridx(){return this.$$.ctx[40]}set touridx(t){this.$$set({touridx:t}),n.flush()}get endpoint(){return this.$$.ctx[41]}set endpoint(t){this.$$set({endpoint:t}),n.flush()}get showdetails(){return this.$$.ctx[2]}set showdetails(t){this.$$set({showdetails:t}),n.flush()}get showslider(){return this.$$.ctx[3]}set showslider(t){this.$$set({showslider:t}),n.flush()}get showenrolled(){return this.$$.ctx[4]}set showenrolled(t){this.$$set({showenrolled:t}),n.flush()}get maxwidth(){return this.$$.ctx[5]}set maxwidth(t){this.$$set({maxwidth:t}),n.flush()}get fullsize(){return this.$$.ctx[6]}set fullsize(t){this.$$set({fullsize:t}),n.flush()}get lang(){return this.$$.ctx[7]}set lang(t){this.$$set({lang:t}),n.flush()}get loginevent(){return this.$$.ctx[42]}set loginevent(t){this.$$set({loginevent:t}),n.flush()}get registerevent(){return this.$$.ctx[43]}set registerevent(t){this.$$set({registerevent:t}),n.flush()}get detailsevent(){return this.$$.ctx[8]}set detailsevent(t){this.$$set({detailsevent:t}),n.flush()}get loginurl(){return this.$$.ctx[44]}set loginurl(t){this.$$set({loginurl:t}),n.flush()}get registerurl(){return this.$$.ctx[45]}set registerurl(t){this.$$set({registerurl:t}),n.flush()}get currency(){return this.$$.ctx[46]}set currency(t){this.$$set({currency:t}),n.flush()}get keepbrowsercontext(){return this.$$.ctx[9]}set keepbrowsercontext(t){this.$$set({keepbrowsercontext:t}),n.flush()}get clientstyling(){return this.$$.ctx[10]}set clientstyling(t){this.$$set({clientstyling:t}),n.flush()}get clientstylingurl(){return this.$$.ctx[11]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),n.flush()}get translationurl(){return this.$$.ctx[12]}set translationurl(t){this.$$set({translationurl:t}),n.flush()}get tournamentinfo(){return this.$$.ctx[47]}set tournamentinfo(t){this.$$set({tournamentinfo:t}),n.flush()}get mbsource(){return this.$$.ctx[13]}set mbsource(t){this.$$set({mbsource:t}),n.flush()}}n.create_custom_element(Je,{session:{},userid:{},tournamenturl:{},touridx:{},endpoint:{},showdetails:{},showslider:{},showenrolled:{},maxwidth:{},fullsize:{},lang:{},loginevent:{},registerevent:{},detailsevent:{},loginurl:{},registerurl:{},currency:{},keepbrowsercontext:{},clientstyling:{},clientstylingurl:{},translationurl:{},tournamentinfo:{},mbsource:{}},[],[],!0);const jt=Object.freeze(Object.defineProperty({__proto__:null,default:Je},Symbol.toStringTag,{value:"Module"}));exports.CasinoTournamentsThumbnailController_ce=jt;exports.getDevice=ne;
@@ -1 +0,0 @@
1
- "use strict";var x=(e,t,n)=>new Promise((s,r)=>{var i=a=>{try{$(n.next(a))}catch(o){r(o)}},l=a=>{try{$(n.throw(a))}catch(o){r(o)}},$=a=>a.done?s(a.value):Promise.resolve(a.value).then(i,l);$((n=n.apply(e,t)).next())});const ge="ui-image",he={hydratedSelectorName:"hydrated"};var pe=Object.defineProperty,ye=(e,t)=>{for(var n in t)pe(e,n,{get:t[n],enumerable:!0})},B=new WeakMap,E=e=>B.get(e),me=(e,t)=>B.set(t.$lazyInstance$=e,t),Se=(e,t)=>{const n={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};return n.$onReadyPromise$=new Promise(s=>n.$onReadyResolve$=s),e["s-p"]=[],e["s-rc"]=[],B.set(e,n)},D=(e,t)=>t in e,k=(e,t)=>(0,console.error)(e,t),w=new Map,Ee=(e,t,n)=>{const s=e.$tagName$.replace(/-/g,"_"),r=e.$lazyBundleId$;if(!r)return;const i=w.get(r);if(i)return i[s];{const l=$=>(w.set(r,$),$[s]);switch(r){case"ui-image_2":return Promise.resolve().then(()=>require("./ui-image_2-Cdo33umq.cjs")).then(l,k)}}return import(`./${r}.entry.js`).then(l=>(w.set(r,l),l[s]),k)},A=new Map,ke="{visibility:hidden}.hydrated{visibility:inherit}",Q="slot-fb{display:contents}slot-fb[hidden]{display:none}",j=typeof window!="undefined"?window:{},m=j.document||{head:{}},h={$flags$:0,$resourcesUrl$:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,s)=>e.addEventListener(t,n,s),rel:(e,t,n,s)=>e.removeEventListener(t,n,s),ce:(e,t)=>new CustomEvent(e,t)},Z=e=>Promise.resolve(e),be=(()=>{try{return new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function"}catch(e){}return!1})(),I=!1,W=[],R=[],Pe=(e,t)=>n=>{e.push(n),I||(I=!0,h.$flags$&4?C(U):h.raf(U))},M=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(n){k(n)}e.length=0},U=()=>{M(W),M(R),(I=W.length>0)&&h.raf(U)},C=e=>Z().then(e),xe=Pe(R),G={},q=e=>(e=typeof e,e==="object"||e==="function");function N(e){var t,n,s;return(s=(n=(t=e.head)==null?void 0:t.querySelector('meta[name="csp-nonce"]'))==null?void 0:n.getAttribute("content"))!=null?s:void 0}var Te={};ye(Te,{err:()=>V,map:()=>_e,ok:()=>H,unwrap:()=>Ae,unwrapErr:()=>Le});var H=e=>({isOk:!0,isErr:!1,value:e}),V=e=>({isOk:!1,isErr:!0,value:e});function _e(e,t){if(e.isOk){const n=t(e.value);return n instanceof Promise?n.then(s=>H(s)):H(n)}if(e.isErr){const n=e.value;return V(n)}throw"should never get here"}var Ae=e=>{if(e.isOk)return e.value;throw e.value},Le=e=>{if(e.isErr)return e.value;throw e.value},S=(e,t="")=>()=>{},je=(e,t)=>()=>{},ee=(e,t,...n)=>{let s=null,r=null,i=!1,l=!1;const $=[],a=c=>{for(let f=0;f<c.length;f++)s=c[f],Array.isArray(s)?a(s):s!=null&&typeof s!="boolean"&&((i=typeof e!="function"&&!q(s))&&(s=String(s)),i&&l?$[$.length-1].$text$+=s:$.push(i?z(null,s):s),l=i)};if(a(n),t){t.key&&(r=t.key);{const c=t.className||t.class;c&&(t.class=typeof c!="object"?c:Object.keys(c).filter(f=>c[f]).join(" "))}}const o=z(e,null);return o.$attrs$=t,$.length>0&&(o.$children$=$),o.$key$=r,o},z=(e,t)=>{const n={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};return n.$attrs$=null,n.$key$=null,n},te={},Oe=e=>e&&e.$tag$===te,we=(e,t)=>e!=null&&!q(e)?t&4?e==="false"?!1:e===""||!!e:t&2?parseFloat(e):t&1?String(e):e:e,Ie=e=>E(e).$hostElement$,Ue=(e,t,n)=>{const s=h.ce(t,n);return e.dispatchEvent(s),s},X=new WeakMap,He=(e,t,n)=>{let s=A.get(e);be&&n?(s=s||new CSSStyleSheet,typeof s=="string"?s=t:s.replaceSync(t)):s=t,A.set(e,s)},ze=(e,t,n)=>{var s;const r=se(t),i=A.get(r);if(e=e.nodeType===11?e:m,i)if(typeof i=="string"){e=e.head||e;let l=X.get(e),$;if(l||X.set(e,l=new Set),!l.has(r)){{$=m.createElement("style"),$.innerHTML=i;const a=(s=h.$nonce$)!=null?s:N(m);a!=null&&$.setAttribute("nonce",a),e.insertBefore($,e.querySelector("link"))}t.$flags$&4&&($.innerHTML+=Q),l&&l.add(r)}}else e.adoptedStyleSheets.includes(i)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,i]);return r},Be=e=>{const t=e.$cmpMeta$,n=e.$hostElement$,s=S("attachStyles",t.$tagName$);ze(n.getRootNode(),t),s()},se=(e,t)=>"sc-"+e.$tagName$,Y=(e,t,n,s,r,i)=>{if(n!==s){let l=D(e,t),$=t.toLowerCase();if(t==="class"){const a=e.classList,o=J(n),c=J(s);a.remove(...o.filter(f=>f&&!c.includes(f))),a.add(...c.filter(f=>f&&!o.includes(f)))}else if(t==="style"){for(const a in n)(!s||s[a]==null)&&(a.includes("-")?e.style.removeProperty(a):e.style[a]="");for(const a in s)(!n||s[a]!==n[a])&&(a.includes("-")?e.style.setProperty(a,s[a]):e.style[a]=s[a])}else if(t!=="key")if(t==="ref")s&&s(e);else if(!l&&t[0]==="o"&&t[1]==="n"){if(t[2]==="-"?t=t.slice(3):D(j,$)?t=$.slice(2):t=$[2]+t.slice(3),n||s){const a=t.endsWith(ne);t=t.replace(qe,""),n&&h.rel(e,t,n,a),s&&h.ael(e,t,s,a)}}else{const a=q(s);if(l||a&&s!==null)try{if(e.tagName.includes("-"))e[t]=s;else{const o=s==null?"":s;t==="list"?l=!1:(n==null||e[t]!=o)&&(e[t]=o)}}catch(o){}s==null||s===!1?(s!==!1||e.getAttribute(t)==="")&&e.removeAttribute(t):(!l||i&4||r)&&!a&&(s=s===!0?"":s,e.setAttribute(t,s))}}},Ce=/\s/,J=e=>e?e.split(Ce):[],ne="Capture",qe=new RegExp(ne+"$"),re=(e,t,n)=>{const s=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$,r=e&&e.$attrs$||G,i=t.$attrs$||G;for(const l of K(Object.keys(r)))l in i||Y(s,l,r[l],void 0,n,t.$flags$);for(const l of K(Object.keys(i)))Y(s,l,r[l],i[l],n,t.$flags$)};function K(e){return e.includes("ref")?[...e.filter(t=>t!=="ref"),"ref"]:e}var le,ae=!1,L=(e,t,n,s)=>{const r=t.$children$[n];let i=0,l,$;if(r.$text$!==null)l=r.$elm$=m.createTextNode(r.$text$);else if(l=r.$elm$=m.createElement(r.$tag$),re(null,r,ae),r.$children$)for(i=0;i<r.$children$.length;++i)$=L(e,r,i),$&&l.appendChild($);return l["s-hn"]=le,l},ie=(e,t,n,s,r,i)=>{let l=e,$;for(;r<=i;++r)s[r]&&($=L(null,n,r),$&&(s[r].$elm$=$,_(l,$,t)))},$e=(e,t,n)=>{for(let s=t;s<=n;++s){const r=e[s];if(r){const i=r.$elm$;oe(r),i&&i.remove()}}},Fe=(e,t,n,s,r=!1)=>{let i=0,l=0,$=0,a=0,o=t.length-1,c=t[0],f=t[o],u=s.length-1,d=s[0],v=s[u],g,p;for(;i<=o&&l<=u;)if(c==null)c=t[++i];else if(f==null)f=t[--o];else if(d==null)d=s[++l];else if(v==null)v=s[--u];else if(T(c,d,r))b(c,d,r),c=t[++i],d=s[++l];else if(T(f,v,r))b(f,v,r),f=t[--o],v=s[--u];else if(T(c,v,r))b(c,v,r),_(e,c.$elm$,f.$elm$.nextSibling),c=t[++i],v=s[--u];else if(T(f,d,r))b(f,d,r),_(e,f.$elm$,c.$elm$),f=t[--o],d=s[++l];else{for($=-1,a=i;a<=o;++a)if(t[a]&&t[a].$key$!==null&&t[a].$key$===d.$key$){$=a;break}$>=0?(p=t[$],p.$tag$!==d.$tag$?g=L(t&&t[l],n,$):(b(p,d,r),t[$]=void 0,g=p.$elm$),d=s[++l]):(g=L(t&&t[l],n,l),d=s[++l]),g&&_(c.$elm$.parentNode,g,c.$elm$)}i>o?ie(e,s[u+1]==null?null:s[u+1].$elm$,n,s,l,u):l>u&&$e(t,i,o)},T=(e,t,n=!1)=>e.$tag$===t.$tag$?n?!0:e.$key$===t.$key$:!1,b=(e,t,n=!1)=>{const s=t.$elm$=e.$elm$,r=e.$children$,i=t.$children$,l=t.$text$;l===null?(re(e,t,ae),r!==null&&i!==null?Fe(s,r,t,i,n):i!==null?(e.$text$!==null&&(s.textContent=""),ie(s,null,t,i,0,i.length-1)):r!==null&&$e(r,0,r.length-1)):e.$text$!==l&&(s.data=l)},oe=e=>{e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null),e.$children$&&e.$children$.map(oe)},_=(e,t,n)=>e==null?void 0:e.insertBefore(t,n),De=(e,t,n=!1)=>{const s=e.$hostElement$,r=e.$vnode$||z(null,null),i=Oe(t)?t:ee(null,null,t);if(le=s.tagName,n&&i.$attrs$)for(const l of Object.keys(i.$attrs$))s.hasAttribute(l)&&!["key","ref","style","class"].includes(l)&&(i.$attrs$[l]=s[l]);i.$tag$=null,i.$flags$|=4,e.$vnode$=i,i.$elm$=r.$elm$=s,b(r,i,n)},ce=(e,t)=>{t&&!e.$onRenderResolve$&&t["s-p"]&&t["s-p"].push(new Promise(n=>e.$onRenderResolve$=n))},F=(e,t)=>{if(e.$flags$|=16,e.$flags$&4){e.$flags$|=512;return}return ce(e,e.$ancestorComponent$),xe(()=>We(e,t))},We=(e,t)=>{const n=e.$hostElement$,s=S("scheduleUpdate",e.$cmpMeta$.$tagName$),r=e.$lazyInstance$;if(!r)throw new Error(`Can't render component <${n.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let i;return s(),Me(i,()=>Xe(e,r,t))},Me=(e,t)=>Ge(e)?e.then(t).catch(n=>{console.error(n),t()}):t(),Ge=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",Xe=(e,t,n)=>x(exports,null,function*(){var s;const r=e.$hostElement$,i=S("update",e.$cmpMeta$.$tagName$),l=r["s-rc"];n&&Be(e);const $=S("render",e.$cmpMeta$.$tagName$);Ye(e,t,r,n),l&&(l.map(a=>a()),r["s-rc"]=void 0),$(),i();{const a=(s=r["s-p"])!=null?s:[],o=()=>Je(e);a.length===0?o():(Promise.all(a).then(o),e.$flags$|=4,a.length=0)}}),Ye=(e,t,n,s)=>{try{t=t.render(),e.$flags$&=-17,e.$flags$|=2,De(e,t,s)}catch(r){k(r,e.$hostElement$)}return null},Je=e=>{const t=e.$cmpMeta$.$tagName$,n=e.$hostElement$,s=S("postUpdate",t),r=e.$lazyInstance$,i=e.$ancestorComponent$;e.$flags$&64?s():(e.$flags$|=64,ue(n),Ke(r,"componentDidLoad"),s(),e.$onReadyResolve$(n),i||fe()),e.$onRenderResolve$&&(e.$onRenderResolve$(),e.$onRenderResolve$=void 0),e.$flags$&512&&C(()=>F(e,!1)),e.$flags$&=-517},fe=e=>{ue(m.documentElement),C(()=>Ue(j,"appload",{detail:{namespace:ge}}))},Ke=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(s){k(s)}},ue=e=>{var t;return e.classList.add((t=he.hydratedSelectorName)!=null?t:"hydrated")},Qe=(e,t)=>E(e).$instanceValues$.get(t),Ze=(e,t,n,s)=>{const r=E(e);if(!r)throw new Error(`Couldn't find host element for "${s.$tagName$}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`);const i=r.$hostElement$,l=r.$instanceValues$.get(t),$=r.$flags$,a=r.$lazyInstance$;n=we(n,s.$members$[t][0]);const o=Number.isNaN(l)&&Number.isNaN(n),c=n!==l&&!o;if((!($&8)||l===void 0)&&c&&(r.$instanceValues$.set(t,n),a)){if(s.$watchers$&&$&128){const f=s.$watchers$[t];f&&f.map(u=>{try{a[u](n,l,t)}catch(d){k(d,i)}})}($&18)===2&&F(r,!1)}},de=(e,t,n)=>{var s,r;const i=e.prototype;if(t.$members$||t.$watchers$||e.watchers){e.watchers&&!t.$watchers$&&(t.$watchers$=e.watchers);const l=Object.entries((s=t.$members$)!=null?s:{});if(l.map(([$,[a]])=>{(a&31||n&2&&a&32)&&Object.defineProperty(i,$,{get(){return Qe(this,$)},set(o){Ze(this,$,o,t)},configurable:!0,enumerable:!0})}),n&1){const $=new Map;i.attributeChangedCallback=function(a,o,c){h.jmp(()=>{var f;const u=$.get(a);if(this.hasOwnProperty(u))c=this[u],delete this[u];else{if(i.hasOwnProperty(u)&&typeof this[u]=="number"&&this[u]==c)return;if(u==null){const d=E(this),v=d==null?void 0:d.$flags$;if(v&&!(v&8)&&v&128&&c!==o){const g=d.$lazyInstance$,p=(f=t.$watchers$)==null?void 0:f[a];p==null||p.forEach(y=>{g[y]!=null&&g[y].call(g,c,o,a)})}return}}this[u]=c===null&&typeof this[u]=="boolean"?!1:c})},e.observedAttributes=Array.from(new Set([...Object.keys((r=t.$watchers$)!=null?r:{}),...l.filter(([a,o])=>o[0]&15).map(([a,o])=>{const c=o[1]||a;return $.set(c,a),c})]))}}return e},Re=(e,t,n,s)=>x(exports,null,function*(){let r;if(!(t.$flags$&32)){if(t.$flags$|=32,n.$lazyBundleId$){const a=Ee(n);if(a&&"then"in a){const c=je();r=yield a,c()}else r=a;if(!r)throw new Error(`Constructor for "${n.$tagName$}#${t.$modeName$}" was not found`);r.isProxied||(n.$watchers$=r.watchers,de(r,n,2),r.isProxied=!0);const o=S("createInstance",n.$tagName$);t.$flags$|=8;try{new r(t)}catch(c){k(c)}t.$flags$&=-9,t.$flags$|=128,o()}else{r=e.constructor;const a=e.localName;customElements.whenDefined(a).then(()=>t.$flags$|=128)}if(r&&r.style){let a;typeof r.style=="string"&&(a=r.style);const o=se(n);if(!A.has(o)){const c=S("registerStyles",n.$tagName$);He(o,a,!!(n.$flags$&1)),c()}}}const i=t.$ancestorComponent$,l=()=>F(t,!0);i&&i["s-rc"]?i["s-rc"].push(l):l()}),Ne=e=>{},Ve=e=>{if(!(h.$flags$&1)){const t=E(e),n=t.$cmpMeta$,s=S("connectedCallback",n.$tagName$);if(t.$flags$&1)t!=null&&t.$lazyInstance$||t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>Ne());else{t.$flags$|=1;{let r=e;for(;r=r.parentNode||r.host;)if(r["s-p"]){ce(t,t.$ancestorComponent$=r);break}}n.$members$&&Object.entries(n.$members$).map(([r,[i]])=>{if(i&31&&e.hasOwnProperty(r)){const l=e[r];delete e[r],e[r]=l}}),Re(e,t,n)}s()}},et=e=>{},tt=e=>x(exports,null,function*(){if(!(h.$flags$&1)){const t=E(e);t!=null&&t.$lazyInstance$||t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>et())}}),st=(e,t={})=>{var n;const s=S(),r=[],i=t.exclude||[],l=j.customElements,$=m.head,a=$.querySelector("meta[charset]"),o=m.createElement("style"),c=[];let f,u=!0;Object.assign(h,t),h.$resourcesUrl$=new URL(t.resourcesUrl||"./",m.baseURI).href;let d=!1;if(e.map(v=>{v[1].map(g=>{var p;const y={$flags$:g[0],$tagName$:g[1],$members$:g[2],$listeners$:g[3]};y.$flags$&4&&(d=!0),y.$members$=g[2],y.$watchers$=(p=g[4])!=null?p:{};const P=y.$tagName$,ve=class extends HTMLElement{constructor(O){super(O),this.hasRegisteredEventListeners=!1,O=this,Se(O,y)}connectedCallback(){E(this),this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0),f&&(clearTimeout(f),f=null),u?c.push(this):h.jmp(()=>Ve(this))}disconnectedCallback(){h.jmp(()=>tt(this))}componentOnReady(){return E(this).$onReadyPromise$}};y.$lazyBundleId$=v[0],!i.includes(P)&&!l.get(P)&&(r.push(P),l.define(P,de(ve,y,1)))})}),r.length>0&&(d&&(o.textContent+=Q),o.textContent+=r.sort()+ke,o.innerHTML.length)){o.setAttribute("data-styles","");const v=(n=h.$nonce$)!=null?n:N(m);v!=null&&o.setAttribute("nonce",v),$.insertBefore(o,a?a.nextSibling:$.firstChild)}u=!1,c.length?c.map(v=>v.connectedCallback()):h.jmp(()=>f=setTimeout(fe,30)),s()};exports.Host=te;exports.bootstrapLazy=st;exports.getElement=Ie;exports.h=ee;exports.promiseResolve=Z;exports.registerInstance=me;