@everymatrix/casino-search 1.60.2 → 1.61.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/CasinoGameThumbnail-CZKegG7K.cjs +56 -0
- package/components/{CasinoGameThumbnail-DknLXIn_.js → CasinoGameThumbnail-DDL-R6yJ.js} +2318 -3193
- package/components/{CasinoGameThumbnail-B2VFheQ-.js → CasinoGameThumbnail-DV3yc3Ic.js} +2290 -3165
- package/components/{CasinoSearch-FefZ-CEN.cjs → CasinoSearch-B-dOIrdq.cjs} +1 -1
- package/components/{CasinoSearch-J58csOio.js → CasinoSearch-BBph6DMm.js} +2 -2
- package/components/{CasinoSearch-BupKwyBw.js → CasinoSearch-D8i_jTzY.js} +2 -2
- package/es2015/casino-search.cjs +1 -1
- package/es2015/casino-search.js +1 -1
- package/esnext/casino-search.js +1 -1
- package/package.json +1 -1
- package/stencil/app-globals-0f993ce5-BD-Q0C8R.cjs +1 -0
- package/stencil/app-globals-0f993ce5-Cgk0KVAu.js +7 -0
- package/stencil/{index-b2193545-BcwULm-K.cjs → index-b2193545-B5BzVbnP.cjs} +1 -1
- package/stencil/{index-b2193545-BJzf08Qh.js → index-b2193545-BranxwW4.js} +1 -1
- package/stencil/{index-b2193545-BlEoeZZL.js → index-b2193545-D-GB6w--.js} +1 -1
- package/stencil/index-b7bbd57e-CQ75dRCG.js +550 -0
- package/stencil/index-b7bbd57e-Cacu08c5.js +534 -0
- package/stencil/index-b7bbd57e-DF6DA3M_.cjs +1 -0
- package/stencil/ui-image-38c3c15f-D8q8WO62.js +39 -0
- package/stencil/ui-image-38c3c15f-DHu3p_Um.cjs +1 -0
- package/stencil/ui-image-38c3c15f-DNKzX83k.js +39 -0
- package/stencil/ui-image-BWdEHrqs.js +11 -0
- package/stencil/ui-image-Cq69wjLL.js +29 -0
- package/stencil/ui-image-hWt-DWaG.cjs +1 -0
- package/stencil/{ui-skeleton-ea659b95-BbvMCw6x.js → ui-skeleton-6d1c12ae-CKWpp1By.js} +2 -2
- package/stencil/{ui-skeleton-ea659b95-CGzZMsW7.js → ui-skeleton-6d1c12ae-Cy_R_9Cz.js} +2 -2
- package/stencil/{ui-skeleton-ea659b95-8xls9UKV.cjs → ui-skeleton-6d1c12ae-DXSQpIKe.cjs} +2 -2
- package/stencil/{ui-skeleton-C8koemPS.js → ui-skeleton-BMWABShx.js} +8 -8
- package/stencil/{ui-skeleton-Cb-Iz3dC.js → ui-skeleton-CkUGY95J.js} +5 -5
- package/stencil/ui-skeleton-DXc0L06e.cjs +1 -0
- package/components/CasinoGameThumbnail-CJmt807-.cjs +0 -64
- package/stencil/app-globals-0f993ce5-D-kw1sls.js +0 -5
- package/stencil/app-globals-0f993ce5-sCt45RkC.cjs +0 -1
- package/stencil/ui-skeleton-B_ESS51i.cjs +0 -1
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"use strict";var fo=Object.defineProperty,mo=Object.defineProperties;var po=Object.getOwnPropertyDescriptors;var wi=Object.getOwnPropertySymbols;var go=Object.prototype.hasOwnProperty,yo=Object.prototype.propertyIsEnumerable;var Qr=(e,t,r)=>t in e?fo(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,xi=(e,t)=>{for(var r in t||(t={}))go.call(t,r)&&Qr(e,r,t[r]);if(wi)for(var r of wi(t))yo.call(t,r)&&Qr(e,r,t[r]);return e},Si=(e,t)=>mo(e,po(t));var K=(e,t,r)=>(Qr(e,typeof t!="symbol"?t+"":t,r),r);var Kr=(e,t,r)=>new Promise((n,i)=>{var a=l=>{try{o(r.next(l))}catch(u){i(u)}},s=l=>{try{o(r.throw(l))}catch(u){i(u)}},o=l=>l.done?n(l.value):Promise.resolve(l.value).then(a,s);o((r=r.apply(e,t)).next())});require("../stencil/ui-image-hWt-DWaG.cjs");require("../stencil/ui-skeleton-DXc0L06e.cjs");function z(){}function ia(e){return e()}function Ei(){return Object.create(null)}function ut(e){e.forEach(ia)}function Pn(e){return typeof e=="function"}function Nn(e,t){return e!=e?t==t:e!==t||e&&typeof e=="object"||typeof e=="function"}function bo(e){return Object.keys(e).length===0}function aa(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 sa(e,t,r){e.$$.on_destroy.push(aa(t,r))}function gr(e,t){e.appendChild(t)}function oa(e,t,r){const n=_o(e);if(!n.getElementById(t)){const i=ct("style");i.id=t,i.textContent=r,vo(n,i)}}function _o(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function vo(e,t){return gr(e.head||e,t),t.sheet}function Rt(e,t,r){e.insertBefore(t,r||null)}function ht(e){e.parentNode&&e.parentNode.removeChild(e)}function wo(e,t){for(let r=0;r<e.length;r+=1)e[r]&&e[r].d(t)}function ct(e){return document.createElement(e)}function xo(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function yr(e){return document.createTextNode(e)}function la(){return yr(" ")}function So(){return yr("")}function Eo(e,t,r,n){return e.addEventListener(t,r,n),()=>e.removeEventListener(t,r,n)}function Ne(e,t,r){r==null?e.removeAttribute(t):e.getAttribute(t)!==r&&e.setAttribute(t,r)}function Mt(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:Ne(e,t,r)}function Oo(e){return Array.from(e.childNodes)}function ua(e,t){t=""+t,e.data!==t&&(e.data=t)}function Mo(e,t){e.value=t==null?"":t}function Oi(e,t,r){e.classList.toggle(t,!!r)}function To(e){const t={};return e.childNodes.forEach(r=>{t[r.slot||"default"]=!0}),t}let Gt;function Tt(e){Gt=e}function Lo(){if(!Gt)throw new Error("Function called outside component initialization");return Gt}function ha(e){Lo().$$.on_mount.push(e)}const Je=[],Ke=[];let et=[];const Mi=[],ca=Promise.resolve();let fn=!1;function fa(){fn||(fn=!0,ca.then(M))}function xt(){return fa(),ca}function dn(e){et.push(e)}const en=new Set;let ze=0;function M(){if(ze!==0)return;const e=Gt;do{try{for(;ze<Je.length;){const t=Je[ze];ze++,Tt(t),Do(t.$$)}}catch(t){throw Je.length=0,ze=0,t}for(Tt(null),Je.length=0,ze=0;Ke.length;)Ke.pop()();for(let t=0;t<et.length;t+=1){const r=et[t];en.has(r)||(en.add(r),r())}et.length=0}while(Je.length);for(;Mi.length;)Mi.pop()();fn=!1,en.clear(),Tt(e)}function Do(e){if(e.fragment!==null){e.update(),ut(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(dn)}}function Go(e){const t=[],r=[];et.forEach(n=>e.indexOf(n)===-1?t.push(n):r.push(n)),r.forEach(n=>n()),et=t}const Co=new Set;function Io(e,t){e&&e.i&&(Co.delete(e),e.i(t))}function ko(e){return(e==null?void 0:e.length)!==void 0?e:Array.from(e)}function Po(e,t,r){const{fragment:n,after_update:i}=e.$$;n&&n.m(t,r),dn(()=>{const a=e.$$.on_mount.map(ia).filter(Pn);e.$$.on_destroy?e.$$.on_destroy.push(...a):ut(a),e.$$.on_mount=[]}),i.forEach(dn)}function No(e,t){const r=e.$$;r.fragment!==null&&(Go(r.after_update),ut(r.on_destroy),r.fragment&&r.fragment.d(t),r.on_destroy=r.fragment=null,r.ctx=[])}function Ro(e,t){e.$$.dirty[0]===-1&&(Je.push(e),fa(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function da(e,t,r,n,i,a,s=null,o=[-1]){const l=Gt;Tt(e);const u=e.$$={fragment:null,ctx:[],props:a,update:z,not_equal:i,bound:Ei(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(l?l.$$.context:[])),callbacks:Ei(),dirty:o,skip_bound:!1,root:t.target||l.$$.root};s&&s(u.root);let c=!1;if(u.ctx=r?r(e,t.props||{},(m,p,..._)=>{const C=_.length?_[0]:p;return u.ctx&&i(u.ctx[m],u.ctx[m]=C)&&(!u.skip_bound&&u.bound[m]&&u.bound[m](C),c&&Ro(e,m)),p}):[],u.update(),c=!0,ut(u.before_update),u.fragment=n?n(u.ctx):!1,t.target){if(t.hydrate){const m=Oo(t.target);u.fragment&&u.fragment.l(m),m.forEach(ht)}else u.fragment&&u.fragment.c();t.intro&&Io(e.$$.fragment),Po(e,t.target,t.anchor),M()}Tt(l)}let ma;typeof HTMLElement=="function"&&(ma=class extends HTMLElement{constructor(t,r,n){super();K(this,"$$ctor");K(this,"$$s");K(this,"$$c");K(this,"$$cn",!1);K(this,"$$d",{});K(this,"$$r",!1);K(this,"$$p_d",{});K(this,"$$l",{});K(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 Kr(this,null,function*(){if(this.$$cn=!0,!this.$$c){let t=function(a){return()=>{let s;return{c:function(){s=ct("slot"),a!=="default"&&Ne(s,"name",a)},m:function(u,c){Rt(u,s,c)},d:function(u){u&&ht(s)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const r={},n=To(this);for(const a of this.$$s)a in n&&(r[a]=[t(a)]);for(const a of this.attributes){const s=this.$$g_p(a.name);s in this.$$d||(this.$$d[s]=tr(s,a.value,this.$$p_d,"toProp"))}for(const a in this.$$p_d)!(a in this.$$d)&&this[a]!==void 0&&(this.$$d[a]=this[a],delete this[a]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:Si(xi({},this.$$d),{$$slots:r,$$scope:{ctx:[]}})});const i=()=>{this.$$r=!0;for(const a in this.$$p_d)if(this.$$d[a]=this.$$c.$$.ctx[this.$$c.$$.props[a]],this.$$p_d[a].reflect){const s=tr(a,this.$$d[a],this.$$p_d,"toAttribute");s==null?this.removeAttribute(this.$$p_d[a].attribute||a):this.setAttribute(this.$$p_d[a].attribute||a,s)}this.$$r=!1};this.$$c.$$.after_update.push(i),i();for(const a in this.$$l)for(const s of this.$$l[a]){const o=this.$$c.$on(a,s);this.$$l_u.set(s,o)}this.$$l={}}})}attributeChangedCallback(t,r,n){var i;this.$$r||(t=this.$$g_p(t),this.$$d[t]=tr(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 tr(e,t,r,n){var a;const i=(a=r[e])==null?void 0:a.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 pa(e,t,r,n,i,a){let s=class extends ma{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(s.prototype,o,{get(){return this.$$c&&o in this.$$c?this.$$c[o]:this.$$d[o]},set(l){var u;l=tr(o,l,t),this.$$d[o]=l,(u=this.$$c)==null||u.$set({[o]:l})}})}),n.forEach(o=>{Object.defineProperty(s.prototype,o,{get(){var l;return(l=this.$$c)==null?void 0:l[o]}})}),e.element=s,s}class ga{constructor(){K(this,"$$");K(this,"$$set")}$destroy(){No(this,1),this.$destroy=z}$on(t,r){if(!Pn(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&&!bo(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const Fo="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(Fo);const Ze=[];function Ao(e,t){return{subscribe:br(e,t).subscribe}}function br(e,t=z){let r;const n=new Set;function i(o){if(Nn(e,o)&&(e=o,r)){const l=!Ze.length;for(const u of n)u[1](),Ze.push(u,e);if(l){for(let u=0;u<Ze.length;u+=2)Ze[u][0](Ze[u+1]);Ze.length=0}}}function a(o){i(o(e))}function s(o,l=z){const u=[o,l];return n.add(u),n.size===1&&(r=t(i,a)||z),o(e),()=>{n.delete(u),n.size===0&&r&&(r(),r=null)}}return{set:i,update:a,subscribe:s}}function ft(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 a=t.length<2;return Ao(r,(s,o)=>{let l=!1;const u=[];let c=0,m=z;const p=()=>{if(c)return;m();const C=t(n?u[0]:u,s,o);a?s(C):m=Pn(C)?C:z},_=i.map((C,x)=>aa(C,X=>{u[x]=X,c&=~(1<<x),l&&p()},()=>{c|=1<<x}));return l=!0,p(),function(){ut(_),m(),l=!1}})}function Ho(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Bo=function(t){return Yo(t)&&!Uo(t)};function Yo(e){return!!e&&typeof e=="object"}function Uo(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||Vo(e)}var Wo=typeof Symbol=="function"&&Symbol.for,jo=Wo?Symbol.for("react.element"):60103;function Vo(e){return e.$$typeof===jo}function $o(e){return Array.isArray(e)?[]:{}}function Ct(e,t){return t.clone!==!1&&t.isMergeableObject(e)?at($o(e),e,t):e}function zo(e,t,r){return e.concat(t).map(function(n){return Ct(n,r)})}function Zo(e,t){if(!t.customMerge)return at;var r=t.customMerge(e);return typeof r=="function"?r:at}function Xo(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}function Ti(e){return Object.keys(e).concat(Xo(e))}function ya(e,t){try{return t in e}catch(r){return!1}}function Jo(e,t){return ya(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function qo(e,t,r){var n={};return r.isMergeableObject(e)&&Ti(e).forEach(function(i){n[i]=Ct(e[i],r)}),Ti(t).forEach(function(i){Jo(e,i)||(ya(e,i)&&r.isMergeableObject(t[i])?n[i]=Zo(i,r)(e[i],t[i],r):n[i]=Ct(t[i],r))}),n}function at(e,t,r){r=r||{},r.arrayMerge=r.arrayMerge||zo,r.isMergeableObject=r.isMergeableObject||Bo,r.cloneUnlessOtherwiseSpecified=Ct;var n=Array.isArray(t),i=Array.isArray(e),a=n===i;return a?n?r.arrayMerge(e,t,r):qo(e,t,r):Ct(t,r)}at.all=function(t,r){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(n,i){return at(n,i,r)},{})};var Qo=at,Ko=Qo;const el=Ho(Ko);/*! *****************************************************************************
|
|
2
|
+
Copyright (c) Microsoft Corporation.
|
|
3
|
+
|
|
4
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
5
|
+
purpose with or without fee is hereby granted.
|
|
6
|
+
|
|
7
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
8
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
9
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
10
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
11
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
12
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
13
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
14
|
+
***************************************************************************** */var mn=function(e,t){return mn=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])},mn(e,t)};function Se(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");mn(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var T=function(){return T=Object.assign||function(t){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(t[a]=r[a])}return t},T.apply(this,arguments)};function tl(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 pn(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 gn(e,t){var r=typeof Symbol=="function"&&e[Symbol.iterator];if(!r)return e;var n=r.call(e),i,a=[],s;try{for(;(t===void 0||t-- >0)&&!(i=n.next()).done;)a.push(i.value)}catch(o){s={error:o}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(s)throw s.error}}return a}function tt(e,t,r){if(r||arguments.length===2)for(var n=0,i=t.length,a;n<i;n++)(a||!(n in t))&&(a||(a=Array.prototype.slice.call(t,0,n)),a[n]=t[n]);return e.concat(a||t)}function tn(e,t){var r=t&&t.cache?t.cache:ll,n=t&&t.serializer?t.serializer:sl,i=t&&t.strategy?t.strategy:il;return i(e,{cache:r,serializer:n})}function rl(e){return e==null||typeof e=="number"||typeof e=="boolean"}function nl(e,t,r,n){var i=rl(n)?n:r(n),a=t.get(i);return typeof a=="undefined"&&(a=e.call(this,n),t.set(i,a)),a}function ba(e,t,r){var n=Array.prototype.slice.call(arguments,3),i=r(n),a=t.get(i);return typeof a=="undefined"&&(a=e.apply(this,n),t.set(i,a)),a}function _a(e,t,r,n,i){return r.bind(t,e,n,i)}function il(e,t){var r=e.length===1?nl:ba;return _a(e,this,r,t.cache.create(),t.serializer)}function al(e,t){return _a(e,this,ba,t.cache.create(),t.serializer)}var sl=function(){return JSON.stringify(arguments)},ol=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}(),ll={create:function(){return new ol}},rn={variadic:al},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 N;(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"})(N||(N={}));var st;(function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"})(st||(st={}));function Li(e){return e.type===N.literal}function ul(e){return e.type===N.argument}function va(e){return e.type===N.number}function wa(e){return e.type===N.date}function xa(e){return e.type===N.time}function Sa(e){return e.type===N.select}function Ea(e){return e.type===N.plural}function hl(e){return e.type===N.pound}function Oa(e){return e.type===N.tag}function Ma(e){return!!(e&&typeof e=="object"&&e.type===st.number)}function yn(e){return!!(e&&typeof e=="object"&&e.type===st.dateTime)}var Ta=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,cl=/(?:[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 fl(e){var t={};return e.replace(cl,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 dl=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function ml(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");for(var t=e.split(dl).filter(function(p){return p.length>0}),r=[],n=0,i=t;n<i.length;n++){var a=i[n],s=a.split("/");if(s.length===0)throw new Error("Invalid number skeleton");for(var o=s[0],l=s.slice(1),u=0,c=l;u<c.length;u++){var m=c[u];if(m.length===0)throw new Error("Invalid number skeleton")}r.push({stem:o,options:l})}return r}function pl(e){return e.replace(/^(.*?)-/,"")}var Di=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,La=/^(@+)?(\+|#+)?[rs]?$/g,gl=/(\*)(0+)|(#+)(0+)|(0+)/g,Da=/^(0+)$/;function Gi(e){var t={};return e[e.length-1]==="r"?t.roundingPriority="morePrecision":e[e.length-1]==="s"&&(t.roundingPriority="lessPrecision"),e.replace(La,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 Ga(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 yl(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)),!Da.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function Ci(e){var t={},r=Ga(e);return r||t}function bl(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=pl(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=T(T(T({},t),{notation:"scientific"}),i.options.reduce(function(l,u){return T(T({},l),Ci(u))},{}));continue;case"engineering":t=T(T(T({},t),{notation:"engineering"}),i.options.reduce(function(l,u){return T(T({},l),Ci(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(gl,function(l,u,c,m,p,_){if(u)t.minimumIntegerDigits=c.length;else{if(m&&p)throw new Error("We currently do not support maximum integer digits");if(_)throw new Error("We currently do not support exact integer digits")}return""});continue}if(Da.test(i.stem)){t.minimumIntegerDigits=i.stem.length;continue}if(Di.test(i.stem)){if(i.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(Di,function(l,u,c,m,p,_){return c==="*"?t.minimumFractionDigits=u.length:m&&m[0]==="#"?t.maximumFractionDigits=m.length:p&&_?(t.minimumFractionDigits=p.length,t.maximumFractionDigits=p.length+_.length):(t.minimumFractionDigits=u.length,t.maximumFractionDigits=u.length),""});var a=i.options[0];a==="w"?t=T(T({},t),{trailingZeroDisplay:"stripIfInteger"}):a&&(t=T(T({},t),Gi(a)));continue}if(La.test(i.stem)){t=T(T({},t),Gi(i.stem));continue}var s=Ga(i.stem);s&&(t=T(T({},t),s));var o=yl(i.stem);o&&(t=T(T({},t),o))}return t}var qt={"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 _l(e,t){for(var r="",n=0;n<e.length;n++){var i=e.charAt(n);if(i==="j"){for(var a=0;n+1<e.length&&e.charAt(n+1)===i;)a++,n++;var s=1+(a&1),o=a<2?1:3+(a>>1),l="a",u=vl(t);for((u=="H"||u=="k")&&(o=0);o-- >0;)r+=l;for(;s-- >0;)r=u+r}else i==="J"?r+="H":r+=i}return r}function vl(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=qt[n||""]||qt[r||""]||qt["".concat(r,"-001")]||qt["001"];return i[0]}var nn,wl=new RegExp("^".concat(Ta.source,"*")),xl=new RegExp("".concat(Ta.source,"*$"));function E(e,t){return{start:e,end:t}}var Sl=!!String.prototype.startsWith&&"_a".startsWith("a",1),El=!!String.fromCodePoint,Ol=!!Object.fromEntries,Ml=!!String.prototype.codePointAt,Tl=!!String.prototype.trimStart,Ll=!!String.prototype.trimEnd,Dl=!!Number.isSafeInteger,Gl=Dl?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},bn=!0;try{var Cl=Ia("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");bn=((nn=Cl.exec("a"))===null||nn===void 0?void 0:nn[0])==="a"}catch(e){bn=!1}var Ii=Sl?function(t,r,n){return t.startsWith(r,n)}:function(t,r,n){return t.slice(n,n+r.length)===r},_n=El?String.fromCodePoint:function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];for(var n="",i=t.length,a=0,s;i>a;){if(s=t[a++],s>1114111)throw RangeError(s+" is not a valid code point");n+=s<65536?String.fromCharCode(s):String.fromCharCode(((s-=65536)>>10)+55296,s%1024+56320)}return n},ki=Ol?Object.fromEntries:function(t){for(var r={},n=0,i=t;n<i.length;n++){var a=i[n],s=a[0],o=a[1];r[s]=o}return r},Ca=Ml?function(t,r){return t.codePointAt(r)}:function(t,r){var n=t.length;if(!(r<0||r>=n)){var i=t.charCodeAt(r),a;return i<55296||i>56319||r+1===n||(a=t.charCodeAt(r+1))<56320||a>57343?i:(i-55296<<10)+(a-56320)+65536}},Il=Tl?function(t){return t.trimStart()}:function(t){return t.replace(wl,"")},kl=Ll?function(t){return t.trimEnd()}:function(t){return t.replace(xl,"")};function Ia(e,t){return new RegExp(e,t)}var vn;if(bn){var Pi=Ia("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");vn=function(t,r){var n;Pi.lastIndex=r;var i=Pi.exec(t);return(n=i[1])!==null&&n!==void 0?n:""}}else vn=function(t,r){for(var n=[];;){var i=Ca(t,r);if(i===void 0||ka(i)||Fl(i))break;n.push(i),r+=i>=65536?2:1}return _n.apply(void 0,n)};var Pl=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 a=this.char();if(a===123){var s=this.parseArgument(t,n);if(s.err)return s;i.push(s.val)}else{if(a===125&&t>0)break;if(a===35&&(r==="plural"||r==="selectordinal")){var o=this.clonePosition();this.bump(),i.push({type:N.pound,location:E(o,this.clonePosition())})}else if(a===60&&!this.ignoreTag&&this.peek()===47){if(n)break;return this.error(S.UNMATCHED_CLOSING_TAG,E(this.clonePosition(),this.clonePosition()))}else if(a===60&&!this.ignoreTag&&wn(this.peek()||0)){var s=this.parseTag(t,r);if(s.err)return s;i.push(s.val)}else{var s=this.parseLiteral(t,r);if(s.err)return s;i.push(s.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:N.literal,value:"<".concat(i,"/>"),location:E(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var a=this.parseMessage(t+1,r,!0);if(a.err)return a;var s=a.val,o=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!wn(this.char()))return this.error(S.INVALID_TAG,E(o,this.clonePosition()));var l=this.clonePosition(),u=this.parseTagName();return i!==u?this.error(S.UNMATCHED_CLOSING_TAG,E(l,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:N.tag,value:i,children:s,location:E(n,this.clonePosition())},err:null}:this.error(S.INVALID_TAG,E(o,this.clonePosition())))}else return this.error(S.UNCLOSED_TAG,E(n,this.clonePosition()))}else return this.error(S.INVALID_TAG,E(n,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&Rl(this.char());)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(t,r){for(var n=this.clonePosition(),i="";;){var a=this.tryParseQuote(r);if(a){i+=a;continue}var s=this.tryParseUnquoted(t,r);if(s){i+=s;continue}var o=this.tryParseLeftAngleBracket();if(o){i+=o;continue}break}var l=E(n,this.clonePosition());return{val:{type:N.literal,value:i,location:l},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!Nl(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 _n.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(),_n(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,E(n,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(S.EMPTY_ARGUMENT,E(n,this.clonePosition()));var i=this.parseIdentifierIfPossible().value;if(!i)return this.error(S.MALFORMED_ARGUMENT,E(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(S.EXPECT_ARGUMENT_CLOSING_BRACE,E(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:N.argument,value:i,location:E(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(S.EXPECT_ARGUMENT_CLOSING_BRACE,E(n,this.clonePosition())):this.parseArgumentOptions(t,r,i,n);default:return this.error(S.MALFORMED_ARGUMENT,E(n,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),r=this.offset(),n=vn(this.message,r),i=r+n.length;this.bumpTo(i);var a=this.clonePosition(),s=E(t,a);return{value:n,location:s}},e.prototype.parseArgumentOptions=function(t,r,n,i){var a,s=this.clonePosition(),o=this.parseIdentifierIfPossible().value,l=this.clonePosition();switch(o){case"":return this.error(S.EXPECT_ARGUMENT_TYPE,E(s,l));case"number":case"date":case"time":{this.bumpSpace();var u=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition(),m=this.parseSimpleArgStyleIfPossible();if(m.err)return m;var p=kl(m.val);if(p.length===0)return this.error(S.EXPECT_ARGUMENT_STYLE,E(this.clonePosition(),this.clonePosition()));var _=E(c,this.clonePosition());u={style:p,styleLocation:_}}var C=this.tryParseArgumentClose(i);if(C.err)return C;var x=E(i,this.clonePosition());if(u&&Ii(u==null?void 0:u.style,"::",0)){var X=Il(u.style.slice(2));if(o==="number"){var m=this.parseNumberSkeletonFromString(X,u.styleLocation);return m.err?m:{val:{type:N.number,value:n,location:x,style:m.val},err:null}}else{if(X.length===0)return this.error(S.EXPECT_DATE_TIME_SKELETON,x);var Me=X;this.locale&&(Me=_l(X,this.locale));var p={type:st.dateTime,pattern:Me,location:u.styleLocation,parsedOptions:this.shouldParseSkeletons?fl(Me):{}},ne=o==="date"?N.date:N.time;return{val:{type:ne,value:n,location:x,style:p},err:null}}}return{val:{type:o==="number"?N.number:o==="date"?N.date:N.time,value:n,location:x,style:(a=u==null?void 0:u.style)!==null&&a!==void 0?a:null},err:null}}case"plural":case"selectordinal":case"select":{var B=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(S.EXPECT_SELECT_ARGUMENT_OPTIONS,E(B,T({},B)));this.bumpSpace();var Te=this.parseIdentifierIfPossible(),J=0;if(o!=="select"&&Te.value==="offset"){if(!this.bumpIf(":"))return this.error(S.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,E(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(),Te=this.parseIdentifierIfPossible(),J=m.val}var Fe=this.tryParsePluralOrSelectOptions(t,o,r,Te);if(Fe.err)return Fe;var C=this.tryParseArgumentClose(i);if(C.err)return C;var q=E(i,this.clonePosition());return o==="select"?{val:{type:N.select,value:n,options:ki(Fe.val),location:q},err:null}:{val:{type:N.plural,value:n,options:ki(Fe.val),offset:J,pluralType:o==="plural"?"cardinal":"ordinal",location:q},err:null}}default:return this.error(S.INVALID_ARGUMENT_TYPE,E(s,l))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(S.EXPECT_ARGUMENT_CLOSING_BRACE,E(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,E(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=ml(t)}catch(i){return this.error(S.INVALID_NUMBER_SKELETON,r)}return{val:{type:st.number,tokens:n,location:r,parsedOptions:this.shouldParseSkeletons?bl(n):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(t,r,n,i){for(var a,s=!1,o=[],l=new Set,u=i.value,c=i.location;;){if(u.length===0){var m=this.clonePosition();if(r!=="select"&&this.bumpIf("=")){var p=this.tryParseDecimalInteger(S.EXPECT_PLURAL_ARGUMENT_SELECTOR,S.INVALID_PLURAL_ARGUMENT_SELECTOR);if(p.err)return p;c=E(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,c);u==="other"&&(s=!0),this.bumpSpace();var _=this.clonePosition();if(!this.bumpIf("{"))return this.error(r==="select"?S.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:S.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,E(this.clonePosition(),this.clonePosition()));var C=this.parseMessage(t+1,r,n);if(C.err)return C;var x=this.tryParseArgumentClose(_);if(x.err)return x;o.push([u,{value:C.val,location:E(_,this.clonePosition())}]),l.add(u),this.bumpSpace(),a=this.parseIdentifierIfPossible(),u=a.value,c=a.location}return o.length===0?this.error(r==="select"?S.EXPECT_SELECT_ARGUMENT_SELECTOR:S.EXPECT_PLURAL_ARGUMENT_SELECTOR,E(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!s?this.error(S.MISSING_OTHER_CLAUSE,E(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 a=!1,s=0;!this.isEOF();){var o=this.char();if(o>=48&&o<=57)a=!0,s=s*10+(o-48),this.bump();else break}var l=E(i,this.clonePosition());return a?(s*=n,Gl(s)?{val:s,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=Ca(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(Ii(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()&&ka(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 wn(e){return e>=97&&e<=122||e>=65&&e<=90}function Nl(e){return wn(e)||e===47}function Rl(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 ka(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function Fl(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 xn(e){e.forEach(function(t){if(delete t.location,Sa(t)||Ea(t))for(var r in t.options)delete t.options[r].location,xn(t.options[r].value);else va(t)&&Ma(t.style)||(wa(t)||xa(t))&&yn(t.style)?delete t.style.location:Oa(t)&&xn(t.children)})}function Al(e,t){t===void 0&&(t={}),t=T({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var r=new Pl(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||xn(r.val),r.val}var ot;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(ot||(ot={}));var _r=function(e){Se(t,e);function t(r,n,i){var a=e.call(this,r)||this;return a.code=n,a.originalMessage=i,a}return t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),Ni=function(e){Se(t,e);function t(r,n,i,a){return e.call(this,'Invalid values for "'.concat(r,'": "').concat(n,'". Options are "').concat(Object.keys(i).join('", "'),'"'),ot.INVALID_VALUE,a)||this}return t}(_r),Hl=function(e){Se(t,e);function t(r,n,i){return e.call(this,'Value for "'.concat(r,'" must be of type ').concat(n),ot.INVALID_VALUE,i)||this}return t}(_r),Bl=function(e){Se(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,'"'),ot.MISSING_VALUE,n)||this}return t}(_r),j;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(j||(j={}));function Yl(e){return e.length<2?e:e.reduce(function(t,r){var n=t[t.length-1];return!n||n.type!==j.literal||r.type!==j.literal?t.push(r):n.value+=r.value,t},[])}function Ul(e){return typeof e=="function"}function rr(e,t,r,n,i,a,s){if(e.length===1&&Li(e[0]))return[{type:j.literal,value:e[0].value}];for(var o=[],l=0,u=e;l<u.length;l++){var c=u[l];if(Li(c)){o.push({type:j.literal,value:c.value});continue}if(hl(c)){typeof a=="number"&&o.push({type:j.literal,value:r.getNumberFormat(t).format(a)});continue}var m=c.value;if(!(i&&m in i))throw new Bl(m,s);var p=i[m];if(ul(c)){(!p||typeof p=="string"||typeof p=="number")&&(p=typeof p=="string"||typeof p=="number"?String(p):""),o.push({type:typeof p=="string"?j.literal:j.object,value:p});continue}if(wa(c)){var _=typeof c.style=="string"?n.date[c.style]:yn(c.style)?c.style.parsedOptions:void 0;o.push({type:j.literal,value:r.getDateTimeFormat(t,_).format(p)});continue}if(xa(c)){var _=typeof c.style=="string"?n.time[c.style]:yn(c.style)?c.style.parsedOptions:n.time.medium;o.push({type:j.literal,value:r.getDateTimeFormat(t,_).format(p)});continue}if(va(c)){var _=typeof c.style=="string"?n.number[c.style]:Ma(c.style)?c.style.parsedOptions:void 0;_&&_.scale&&(p=p*(_.scale||1)),o.push({type:j.literal,value:r.getNumberFormat(t,_).format(p)});continue}if(Oa(c)){var C=c.children,x=c.value,X=i[x];if(!Ul(X))throw new Hl(x,"function",s);var Me=rr(C,t,r,n,i,a),ne=X(Me.map(function(J){return J.value}));Array.isArray(ne)||(ne=[ne]),o.push.apply(o,ne.map(function(J){return{type:typeof J=="string"?j.literal:j.object,value:J}}))}if(Sa(c)){var B=c.options[p]||c.options.other;if(!B)throw new Ni(c.value,p,Object.keys(c.options),s);o.push.apply(o,rr(B.value,t,r,n,i));continue}if(Ea(c)){var B=c.options["=".concat(p)];if(!B){if(!Intl.PluralRules)throw new _r(`Intl.PluralRules is not available in this environment.
|
|
15
|
+
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
16
|
+
`,ot.MISSING_INTL_API,s);var Te=r.getPluralRules(t,{type:c.pluralType}).select(p-(c.offset||0));B=c.options[Te]||c.options.other}if(!B)throw new Ni(c.value,p,Object.keys(c.options),s);o.push.apply(o,rr(B.value,t,r,n,i,p-(c.offset||0)));continue}}return Yl(o)}function Wl(e,t){return t?T(T(T({},e||{}),t||{}),Object.keys(e).reduce(function(r,n){return r[n]=T(T({},e[n]),t[n]||{}),r},{})):e}function jl(e,t){return t?Object.keys(e).reduce(function(r,n){return r[n]=Wl(e[n],t[n]),r},T({},e)):e}function an(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,r){e[t]=r}}}}}function Vl(e){return e===void 0&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:tn(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.NumberFormat).bind.apply(t,tt([void 0],r,!1)))},{cache:an(e.number),strategy:rn.variadic}),getDateTimeFormat:tn(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.DateTimeFormat).bind.apply(t,tt([void 0],r,!1)))},{cache:an(e.dateTime),strategy:rn.variadic}),getPluralRules:tn(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.PluralRules).bind.apply(t,tt([void 0],r,!1)))},{cache:an(e.pluralRules),strategy:rn.variadic})}}var $l=function(){function e(t,r,n,i){r===void 0&&(r=e.defaultLocale);var a=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(l){var u=a.formatToParts(l);if(u.length===1)return u[0].value;var c=u.reduce(function(m,p){return!m.length||p.type!==j.literal||typeof m[m.length-1]!="string"?m.push(p.value):m[m.length-1]+=p.value,m},[]);return c.length<=1?c[0]||"":c},this.formatToParts=function(l){return rr(a.ast,a.locales,a.formatters,a.formats,l,void 0,a.message)},this.resolvedOptions=function(){var l;return{locale:((l=a.resolvedLocale)===null||l===void 0?void 0:l.toString())||Intl.NumberFormat.supportedLocalesOf(a.locales)[0]}},this.getAst=function(){return a.ast},this.locales=r,this.resolvedLocale=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 s=i||{};s.formatters;var o=tl(s,["formatters"]);this.ast=e.__parse(t,T(T({},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=jl(e.formats,n),this.formatters=i&&i.formatters||Vl(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=Al,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 zl(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 a=r.slice(i,r.length).join(".");if(a in n){n=n[a];break}}n=n[r[i]]}else n=void 0;return n}const Ie={},Zl=(e,t,r)=>r&&(t in Ie||(Ie[t]={}),e in Ie[t]||(Ie[t][e]=r),r),Pa=(e,t)=>{if(t==null)return;if(t in Ie&&e in Ie[t])return Ie[t][e];const r=vr(t);for(let n=0;n<r.length;n++){const i=r[n],a=Jl(i,e);if(a)return Zl(e,t,a)}};let Rn;const Ft=br({});function Xl(e){return Rn[e]||null}function Na(e){return e in Rn}function Jl(e,t){if(!Na(e))return null;const r=Xl(e);return zl(r,t)}function ql(e){if(e==null)return;const t=vr(e);for(let r=0;r<t.length;r++){const n=t[r];if(Na(n))return n}}function Fn(e,...t){delete Ie[e],Ft.update(r=>(r[e]=el.all([r[e]||{},...t]),r))}ft([Ft],([e])=>Object.keys(e));Ft.subscribe(e=>Rn=e);const nr={};function Ql(e,t){nr[e].delete(t),nr[e].size===0&&delete nr[e]}function Ra(e){return nr[e]}function Kl(e){return vr(e).map(t=>{const r=Ra(t);return[t,r?[...r]:[]]}).filter(([,t])=>t.length>0)}function Sn(e){return e==null?!1:vr(e).some(t=>{var r;return(r=Ra(t))==null?void 0:r.size})}function eu(e,t){return Promise.all(t.map(n=>(Ql(e,n),n().then(i=>i.default||i)))).then(n=>Fn(e,...n))}const St={};function Fa(e){if(!Sn(e))return e in St?St[e]:Promise.resolve();const t=Kl(e);return St[e]=Promise.all(t.map(([r,n])=>eu(r,n))).then(()=>{if(Sn(e))return Fa(e);delete St[e]}),St[e]}const tu={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"}}},ru={fallbackLocale:null,loadingDelay:200,formats:tu,warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0},nu=ru;function lt(){return nu}const sn=br(!1);var iu=Object.defineProperty,au=Object.defineProperties,su=Object.getOwnPropertyDescriptors,Ri=Object.getOwnPropertySymbols,ou=Object.prototype.hasOwnProperty,lu=Object.prototype.propertyIsEnumerable,Fi=(e,t,r)=>t in e?iu(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,uu=(e,t)=>{for(var r in t||(t={}))ou.call(t,r)&&Fi(e,r,t[r]);if(Ri)for(var r of Ri(t))lu.call(t,r)&&Fi(e,r,t[r]);return e},hu=(e,t)=>au(e,su(t));let En;const lr=br(null);function Ai(e){return e.split("-").map((t,r,n)=>n.slice(0,r+1).join("-")).reverse()}function vr(e,t=lt().fallbackLocale){const r=Ai(e);return t?[...new Set([...r,...Ai(t)])]:r}function Ue(){return En!=null?En:void 0}lr.subscribe(e=>{En=e!=null?e:void 0,typeof window!="undefined"&&e!=null&&document.documentElement.setAttribute("lang",e)});const cu=e=>{if(e&&ql(e)&&Sn(e)){const{loadingDelay:t}=lt();let r;return typeof window!="undefined"&&Ue()!=null&&t?r=window.setTimeout(()=>sn.set(!0),t):sn.set(!0),Fa(e).then(()=>{lr.set(e)}).finally(()=>{clearTimeout(r),sn.set(!1)})}return lr.set(e)},We=hu(uu({},lr),{set:cu}),wr=e=>{const t=Object.create(null);return n=>{const i=JSON.stringify(n);return i in t?t[i]:t[i]=e(n)}};var fu=Object.defineProperty,ur=Object.getOwnPropertySymbols,Aa=Object.prototype.hasOwnProperty,Ha=Object.prototype.propertyIsEnumerable,Hi=(e,t,r)=>t in e?fu(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,An=(e,t)=>{for(var r in t||(t={}))Aa.call(t,r)&&Hi(e,r,t[r]);if(ur)for(var r of ur(t))Ha.call(t,r)&&Hi(e,r,t[r]);return e},dt=(e,t)=>{var r={};for(var n in e)Aa.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&ur)for(var n of ur(e))t.indexOf(n)<0&&Ha.call(e,n)&&(r[n]=e[n]);return r};const It=(e,t)=>{const{formats:r}=lt();if(e in r&&t in r[e])return r[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},du=wr(e=>{var t=e,{locale:r,format:n}=t,i=dt(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(i=It("number",n)),new Intl.NumberFormat(r,i)}),mu=wr(e=>{var t=e,{locale:r,format:n}=t,i=dt(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?i=It("date",n):Object.keys(i).length===0&&(i=It("date","short")),new Intl.DateTimeFormat(r,i)}),pu=wr(e=>{var t=e,{locale:r,format:n}=t,i=dt(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?i=It("time",n):Object.keys(i).length===0&&(i=It("time","short")),new Intl.DateTimeFormat(r,i)}),gu=(e={})=>{var t=e,{locale:r=Ue()}=t,n=dt(t,["locale"]);return du(An({locale:r},n))},yu=(e={})=>{var t=e,{locale:r=Ue()}=t,n=dt(t,["locale"]);return mu(An({locale:r},n))},bu=(e={})=>{var t=e,{locale:r=Ue()}=t,n=dt(t,["locale"]);return pu(An({locale:r},n))},_u=wr((e,t=Ue())=>new $l(e,t,lt().formats,{ignoreTag:lt().ignoreTag})),vu=(e,t={})=>{var r,n,i,a;let s=t;typeof e=="object"&&(s=e,e=s.id);const{values:o,locale:l=Ue(),default:u}=s;if(l==null)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let c=Pa(e,l);if(!c)c=(a=(i=(n=(r=lt()).handleMissingMessage)==null?void 0:n.call(r,{locale:l,id:e,defaultValue:u}))!=null?i:u)!=null?a:e;else if(typeof c!="string")return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof c}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),c;if(!o)return c;let m=c;try{m=_u(c,l).format(o)}catch(p){p instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,p.message)}return m},wu=(e,t)=>bu(t).format(e),xu=(e,t)=>yu(t).format(e),Su=(e,t)=>gu(t).format(e),Eu=(e,t=Ue())=>Pa(e,t),Ba=ft([We,Ft],()=>vu);ft([We],()=>wu);ft([We],()=>xu);ft([We],()=>Su);ft([We,Ft],()=>Eu);function ve(e){return typeof e=="function"}function Ya(e){var t=function(n){Error.call(n),n.stack=new Error().stack},r=e(t);return r.prototype=Object.create(Error.prototype),r.prototype.constructor=r,r}var on=Ya(function(e){return function(r){e(this),this.message=r?r.length+` errors occurred during unsubscription:
|
|
17
|
+
`+r.map(function(n,i){return i+1+") "+n.toString()}).join(`
|
|
18
|
+
`):"",this.name="UnsubscriptionError",this.errors=r}});function On(e,t){if(e){var r=e.indexOf(t);0<=r&&e.splice(r,1)}}var xr=function(){function e(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}return e.prototype.unsubscribe=function(){var t,r,n,i,a;if(!this.closed){this.closed=!0;var s=this._parentage;if(s)if(this._parentage=null,Array.isArray(s))try{for(var o=pn(s),l=o.next();!l.done;l=o.next()){var u=l.value;u.remove(this)}}catch(x){t={error:x}}finally{try{l&&!l.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}else s.remove(this);var c=this.initialTeardown;if(ve(c))try{c()}catch(x){a=x instanceof on?x.errors:[x]}var m=this._finalizers;if(m){this._finalizers=null;try{for(var p=pn(m),_=p.next();!_.done;_=p.next()){var C=_.value;try{Bi(C)}catch(x){a=a!=null?a:[],x instanceof on?a=tt(tt([],gn(a)),gn(x.errors)):a.push(x)}}}catch(x){n={error:x}}finally{try{_&&!_.done&&(i=p.return)&&i.call(p)}finally{if(n)throw n.error}}}if(a)throw new on(a)}},e.prototype.add=function(t){var r;if(t&&t!==this)if(this.closed)Bi(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(r=this._finalizers)!==null&&r!==void 0?r:[]).push(t)}},e.prototype._hasParent=function(t){var r=this._parentage;return r===t||Array.isArray(r)&&r.includes(t)},e.prototype._addParent=function(t){var r=this._parentage;this._parentage=Array.isArray(r)?(r.push(t),r):r?[r,t]:t},e.prototype._removeParent=function(t){var r=this._parentage;r===t?this._parentage=null:Array.isArray(r)&&On(r,t)},e.prototype.remove=function(t){var r=this._finalizers;r&&On(r,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}(),Ua=xr.EMPTY;function Wa(e){return e instanceof xr||e&&"closed"in e&&ve(e.remove)&&ve(e.add)&&ve(e.unsubscribe)}function Bi(e){ve(e)?e():e.unsubscribe()}var Ou={Promise:void 0},Mu={setTimeout:function(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];return setTimeout.apply(void 0,tt([e,t],gn(r)))},clearTimeout:function(e){return clearTimeout(e)},delegate:void 0};function Tu(e){Mu.setTimeout(function(){throw e})}function Yi(){}function ir(e){e()}var ja=function(e){Se(t,e);function t(r){var n=e.call(this)||this;return n.isStopped=!1,r?(n.destination=r,Wa(r)&&r.add(n)):n.destination=Gu,n}return t.create=function(r,n,i){return new Mn(r,n,i)},t.prototype.next=function(r){this.isStopped||this._next(r)},t.prototype.error=function(r){this.isStopped||(this.isStopped=!0,this._error(r))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(r){this.destination.next(r)},t.prototype._error=function(r){try{this.destination.error(r)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(xr),Lu=function(){function e(t){this.partialObserver=t}return e.prototype.next=function(t){var r=this.partialObserver;if(r.next)try{r.next(t)}catch(n){Qt(n)}},e.prototype.error=function(t){var r=this.partialObserver;if(r.error)try{r.error(t)}catch(n){Qt(n)}else Qt(t)},e.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(r){Qt(r)}},e}(),Mn=function(e){Se(t,e);function t(r,n,i){var a=e.call(this)||this,s;return ve(r)||!r?s={next:r!=null?r:void 0,error:n!=null?n:void 0,complete:i!=null?i:void 0}:s=r,a.destination=new Lu(s),a}return t}(ja);function Qt(e){Tu(e)}function Du(e){throw e}var Gu={closed:!0,next:Yi,error:Du,complete:Yi},Cu=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function Iu(e){return e}function ku(e){return e.length===0?Iu:e.length===1?e[0]:function(r){return e.reduce(function(n,i){return i(n)},r)}}var Ui=function(){function e(t){t&&(this._subscribe=t)}return e.prototype.lift=function(t){var r=new e;return r.source=this,r.operator=t,r},e.prototype.subscribe=function(t,r,n){var i=this,a=Nu(t)?t:new Mn(t,r,n);return ir(function(){var s=i,o=s.operator,l=s.source;a.add(o?o.call(a,l):l?i._subscribe(a):i._trySubscribe(a))}),a},e.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(r){t.error(r)}},e.prototype.forEach=function(t,r){var n=this;return r=Wi(r),new r(function(i,a){var s=new Mn({next:function(o){try{t(o)}catch(l){a(l),s.unsubscribe()}},error:a,complete:i});n.subscribe(s)})},e.prototype._subscribe=function(t){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(t)},e.prototype[Cu]=function(){return this},e.prototype.pipe=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return ku(t)(this)},e.prototype.toPromise=function(t){var r=this;return t=Wi(t),new t(function(n,i){var a;r.subscribe(function(s){return a=s},function(s){return i(s)},function(){return n(a)})})},e.create=function(t){return new e(t)},e}();function Wi(e){var t;return(t=e!=null?e:Ou.Promise)!==null&&t!==void 0?t:Promise}function Pu(e){return e&&ve(e.next)&&ve(e.error)&&ve(e.complete)}function Nu(e){return e&&e instanceof ja||Pu(e)&&Wa(e)}var Ru=Ya(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),Va=function(e){Se(t,e);function t(){var r=e.call(this)||this;return r.closed=!1,r.currentObservers=null,r.observers=[],r.isStopped=!1,r.hasError=!1,r.thrownError=null,r}return t.prototype.lift=function(r){var n=new ji(this,this);return n.operator=r,n},t.prototype._throwIfClosed=function(){if(this.closed)throw new Ru},t.prototype.next=function(r){var n=this;ir(function(){var i,a;if(n._throwIfClosed(),!n.isStopped){n.currentObservers||(n.currentObservers=Array.from(n.observers));try{for(var s=pn(n.currentObservers),o=s.next();!o.done;o=s.next()){var l=o.value;l.next(r)}}catch(u){i={error:u}}finally{try{o&&!o.done&&(a=s.return)&&a.call(s)}finally{if(i)throw i.error}}}})},t.prototype.error=function(r){var n=this;ir(function(){if(n._throwIfClosed(),!n.isStopped){n.hasError=n.isStopped=!0,n.thrownError=r;for(var i=n.observers;i.length;)i.shift().error(r)}})},t.prototype.complete=function(){var r=this;ir(function(){if(r._throwIfClosed(),!r.isStopped){r.isStopped=!0;for(var n=r.observers;n.length;)n.shift().complete()}})},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var r;return((r=this.observers)===null||r===void 0?void 0:r.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(r){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,r)},t.prototype._subscribe=function(r){return this._throwIfClosed(),this._checkFinalizedStatuses(r),this._innerSubscribe(r)},t.prototype._innerSubscribe=function(r){var n=this,i=this,a=i.hasError,s=i.isStopped,o=i.observers;return a||s?Ua:(this.currentObservers=null,o.push(r),new xr(function(){n.currentObservers=null,On(o,r)}))},t.prototype._checkFinalizedStatuses=function(r){var n=this,i=n.hasError,a=n.thrownError,s=n.isStopped;i?r.error(a):s&&r.complete()},t.prototype.asObservable=function(){var r=new Ui;return r.source=this,r},t.create=function(r,n){return new ji(r,n)},t}(Ui),ji=function(e){Se(t,e);function t(r,n){var i=e.call(this)||this;return i.destination=r,i.source=n,i}return t.prototype.next=function(r){var n,i;(i=(n=this.destination)===null||n===void 0?void 0:n.next)===null||i===void 0||i.call(n,r)},t.prototype.error=function(r){var n,i;(i=(n=this.destination)===null||n===void 0?void 0:n.error)===null||i===void 0||i.call(n,r)},t.prototype.complete=function(){var r,n;(n=(r=this.destination)===null||r===void 0?void 0:r.complete)===null||n===void 0||n.call(r)},t.prototype._subscribe=function(r){var n,i;return(i=(n=this.source)===null||n===void 0?void 0:n.subscribe(r))!==null&&i!==void 0?i:Ua},t}(Va),$a={now:function(){return($a.delegate||Date).now()},delegate:void 0},Fu=function(e){Se(t,e);function t(r,n,i){r===void 0&&(r=1/0),n===void 0&&(n=1/0),i===void 0&&(i=$a);var a=e.call(this)||this;return a._bufferSize=r,a._windowTime=n,a._timestampProvider=i,a._buffer=[],a._infiniteTimeWindow=!0,a._infiniteTimeWindow=n===1/0,a._bufferSize=Math.max(1,r),a._windowTime=Math.max(1,n),a}return t.prototype.next=function(r){var n=this,i=n.isStopped,a=n._buffer,s=n._infiniteTimeWindow,o=n._timestampProvider,l=n._windowTime;i||(a.push(r),!s&&a.push(o.now()+l)),this._trimBuffer(),e.prototype.next.call(this,r)},t.prototype._subscribe=function(r){this._throwIfClosed(),this._trimBuffer();for(var n=this._innerSubscribe(r),i=this,a=i._infiniteTimeWindow,s=i._buffer,o=s.slice(),l=0;l<o.length&&!r.closed;l+=a?1:2)r.next(o[l]);return this._checkFinalizedStatuses(r),n},t.prototype._trimBuffer=function(){var r=this,n=r._bufferSize,i=r._timestampProvider,a=r._buffer,s=r._infiniteTimeWindow,o=(s?1:2)*n;if(n<1/0&&o<a.length&&a.splice(0,a.length-o),!s){for(var l=i.now(),u=0,c=1;c<a.length&&a[c]<=l;c+=2)u=c;u&&a.splice(0,u+1)}},t}(Va);const Vi=[],$i={},Au=(e,t=0)=>{if(Vi.indexOf(e)==-1){const r=new Fu(t);$i[e]=r,Vi.push(e)}return $i[e]};window.emWidgets={topic:Au};const Ce=e=>!!(e.toLowerCase().match(/android/i)||e.toLowerCase().match(/blackberry|bb/i)||e.toLowerCase().match(/iphone|ipad|ipod/i)||e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)),za=e=>e.toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC",Za=(e,t={})=>{const r=new CustomEvent("track-custom-event",{detail:{type:e,data:t},bubbles:!0,composed:!0});document.dispatchEvent(r)};function Xa(e,t){if(e){const r=document.createElement("style");r.innerHTML=t,e.appendChild(r)}}function Ja(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 qa(e,t,r){if(window.emMessageBus){const n=document.createElement("style");window.emMessageBus.subscribe(t,i=>{n.innerHTML=i,e&&e.appendChild(n)})}}function Hu(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
|
|
19
|
+
//! version : 2.29.4
|
|
20
|
+
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
|
|
21
|
+
//! license : MIT
|
|
22
|
+
//! momentjs.com
|
|
23
|
+
var Qa;function d(){return Qa.apply(null,arguments)}function Bu(e){Qa=e}function se(e){return e instanceof Array||Object.prototype.toString.call(e)==="[object Array]"}function Ye(e){return e!=null&&Object.prototype.toString.call(e)==="[object Object]"}function L(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function Hn(e){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(e).length===0;var t;for(t in e)if(L(e,t))return!1;return!0}function V(e){return e===void 0}function xe(e){return typeof e=="number"||Object.prototype.toString.call(e)==="[object Number]"}function At(e){return e instanceof Date||Object.prototype.toString.call(e)==="[object Date]"}function Ka(e,t){var r=[],n,i=e.length;for(n=0;n<i;++n)r.push(t(e[n],n));return r}function ke(e,t){for(var r in t)L(t,r)&&(e[r]=t[r]);return L(t,"toString")&&(e.toString=t.toString),L(t,"valueOf")&&(e.valueOf=t.valueOf),e}function me(e,t,r,n){return Ss(e,t,r,n,!0).utc()}function Yu(){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 b(e){return e._pf==null&&(e._pf=Yu()),e._pf}var Tn;Array.prototype.some?Tn=Array.prototype.some:Tn=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 Bn(e){if(e._isValid==null){var t=b(e),r=Tn.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 Sr(e){var t=me(NaN);return e!=null?ke(b(t),e):b(t).userInvalidated=!0,t}var zi=d.momentProperties=[],ln=!1;function Yn(e,t){var r,n,i,a=zi.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=b(t)),V(t._locale)||(e._locale=t._locale),a>0)for(r=0;r<a;r++)n=zi[r],i=t[n],V(i)||(e[n]=i);return e}function Ht(e){Yn(this,e),this._d=new Date(e._d!=null?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),ln===!1&&(ln=!0,d.updateOffset(this),ln=!1)}function oe(e){return e instanceof Ht||e!=null&&e._isAMomentObject!=null}function es(e){d.suppressDeprecationWarnings===!1&&typeof console!="undefined"&&console.warn&&console.warn("Deprecation warning: "+e)}function te(e,t){var r=!0;return ke(function(){if(d.deprecationHandler!=null&&d.deprecationHandler(null,e),r){var n=[],i,a,s,o=arguments.length;for(a=0;a<o;a++){if(i="",typeof arguments[a]=="object"){i+=`
|
|
24
|
+
[`+a+"] ";for(s in arguments[0])L(arguments[0],s)&&(i+=s+": "+arguments[0][s]+", ");i=i.slice(0,-2)}else i=arguments[a];n.push(i)}es(e+`
|
|
25
|
+
Arguments: `+Array.prototype.slice.call(n).join("")+`
|
|
26
|
+
`+new Error().stack),r=!1}return t.apply(this,arguments)},t)}var Zi={};function ts(e,t){d.deprecationHandler!=null&&d.deprecationHandler(e,t),Zi[e]||(es(t),Zi[e]=!0)}d.suppressDeprecationWarnings=!1;d.deprecationHandler=null;function pe(e){return typeof Function!="undefined"&&e instanceof Function||Object.prototype.toString.call(e)==="[object Function]"}function Uu(e){var t,r;for(r in e)L(e,r)&&(t=e[r],pe(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 Ln(e,t){var r=ke({},e),n;for(n in t)L(t,n)&&(Ye(e[n])&&Ye(t[n])?(r[n]={},ke(r[n],e[n]),ke(r[n],t[n])):t[n]!=null?r[n]=t[n]:delete r[n]);for(n in e)L(e,n)&&!L(t,n)&&Ye(e[n])&&(r[n]=ke({},r[n]));return r}function Un(e){e!=null&&this.set(e)}var Dn;Object.keys?Dn=Object.keys:Dn=function(e){var t,r=[];for(t in e)L(e,t)&&r.push(t);return r};var Wu={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function ju(e,t,r){var n=this._calendar[e]||this._calendar.sameElse;return pe(n)?n.call(t,r):n}function de(e,t,r){var n=""+Math.abs(e),i=t-n.length,a=e>=0;return(a?r?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+n}var Wn=/(\[[^\[]*\])|(\\)?([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,Kt=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,un={},rt={};function y(e,t,r,n){var i=n;typeof n=="string"&&(i=function(){return this[n]()}),e&&(rt[e]=i),t&&(rt[t[0]]=function(){return de(i.apply(this,arguments),t[1],t[2])}),r&&(rt[r]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function Vu(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function $u(e){var t=e.match(Wn),r,n;for(r=0,n=t.length;r<n;r++)rt[t[r]]?t[r]=rt[t[r]]:t[r]=Vu(t[r]);return function(i){var a="",s;for(s=0;s<n;s++)a+=pe(t[s])?t[s].call(i,e):t[s];return a}}function ar(e,t){return e.isValid()?(t=rs(t,e.localeData()),un[t]=un[t]||$u(t),un[t](e)):e.localeData().invalidDate()}function rs(e,t){var r=5;function n(i){return t.longDateFormat(i)||i}for(Kt.lastIndex=0;r>=0&&Kt.test(e);)e=e.replace(Kt,n),Kt.lastIndex=0,r-=1;return e}var zu={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 Zu(e){var t=this._longDateFormat[e],r=this._longDateFormat[e.toUpperCase()];return t||!r?t:(this._longDateFormat[e]=r.match(Wn).map(function(n){return n==="MMMM"||n==="MM"||n==="DD"||n==="dddd"?n.slice(1):n}).join(""),this._longDateFormat[e])}var Xu="Invalid date";function Ju(){return this._invalidDate}var qu="%d",Qu=/\d{1,2}/;function Ku(e){return this._ordinal.replace("%d",e)}var eh={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 th(e,t,r,n){var i=this._relativeTime[r];return pe(i)?i(e,t,r,n):i.replace(/%d/i,e)}function rh(e,t){var r=this._relativeTime[e>0?"future":"past"];return pe(r)?r(t):r.replace(/%s/i,t)}var Lt={};function U(e,t){var r=e.toLowerCase();Lt[r]=Lt[r+"s"]=Lt[t]=e}function re(e){return typeof e=="string"?Lt[e]||Lt[e.toLowerCase()]:void 0}function jn(e){var t={},r,n;for(n in e)L(e,n)&&(r=re(n),r&&(t[r]=e[n]));return t}var ns={};function W(e,t){ns[e]=t}function nh(e){var t=[],r;for(r in e)L(e,r)&&t.push({unit:r,priority:ns[r]});return t.sort(function(n,i){return n.priority-i.priority}),t}function Er(e){return e%4===0&&e%100!==0||e%400===0}function ee(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function w(e){var t=+e,r=0;return t!==0&&isFinite(t)&&(r=ee(t)),r}function mt(e,t){return function(r){return r!=null?(is(this,e,r),d.updateOffset(this,t),this):hr(this,e)}}function hr(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function is(e,t,r){e.isValid()&&!isNaN(r)&&(t==="FullYear"&&Er(e.year())&&e.month()===1&&e.date()===29?(r=w(r),e._d["set"+(e._isUTC?"UTC":"")+t](r,e.month(),Gr(r,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](r))}function ih(e){return e=re(e),pe(this[e])?this[e]():this}function ah(e,t){if(typeof e=="object"){e=jn(e);var r=nh(e),n,i=r.length;for(n=0;n<i;n++)this[r[n].unit](e[r[n].unit])}else if(e=re(e),pe(this[e]))return this[e](t);return this}var as=/\d/,Z=/\d\d/,ss=/\d{3}/,Vn=/\d{4}/,Or=/[+-]?\d{6}/,P=/\d\d?/,os=/\d\d\d\d?/,ls=/\d\d\d\d\d\d?/,Mr=/\d{1,3}/,$n=/\d{1,4}/,Tr=/[+-]?\d{1,6}/,pt=/\d+/,Lr=/[+-]?\d+/,sh=/Z|[+-]\d\d:?\d\d/gi,Dr=/Z|[+-]\d\d(?::?\d\d)?/gi,oh=/[+-]?\d+(\.\d{1,3})?/,Bt=/[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,cr;cr={};function g(e,t,r){cr[e]=pe(t)?t:function(n,i){return n&&r?r:t}}function lh(e,t){return L(cr,e)?cr[e](t._strict,t._locale):new RegExp(uh(e))}function uh(e){return $(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,r,n,i,a){return r||n||i||a}))}function $(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var Gn={};function I(e,t){var r,n=t,i;for(typeof e=="string"&&(e=[e]),xe(t)&&(n=function(a,s){s[t]=w(a)}),i=e.length,r=0;r<i;r++)Gn[e[r]]=n}function Yt(e,t){I(e,function(r,n,i,a){i._w=i._w||{},t(r,i._w,i,a)})}function hh(e,t,r){t!=null&&L(Gn,e)&&Gn[e](t,r._a,r,e)}var Y=0,be=1,fe=2,H=3,ae=4,_e=5,Be=6,ch=7,fh=8;function dh(e,t){return(e%t+t)%t}var A;Array.prototype.indexOf?A=Array.prototype.indexOf:A=function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1};function Gr(e,t){if(isNaN(e)||isNaN(t))return NaN;var r=dh(t,12);return e+=(t-r)/12,r===1?Er(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");W("month",8);g("M",P);g("MM",P,Z);g("MMM",function(e,t){return t.monthsShortRegex(e)});g("MMMM",function(e,t){return t.monthsRegex(e)});I(["M","MM"],function(e,t){t[be]=w(e)-1});I(["MMM","MMMM"],function(e,t,r,n){var i=r._locale.monthsParse(e,n,r._strict);i!=null?t[be]=i:b(r).invalidMonth=e});var mh="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),us="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),hs=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,ph=Bt,gh=Bt;function yh(e,t){return e?se(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||hs).test(t)?"format":"standalone"][e.month()]:se(this._months)?this._months:this._months.standalone}function bh(e,t){return e?se(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[hs.test(t)?"format":"standalone"][e.month()]:se(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function _h(e,t,r){var n,i,a,s=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],n=0;n<12;++n)a=me([2e3,n]),this._shortMonthsParse[n]=this.monthsShort(a,"").toLocaleLowerCase(),this._longMonthsParse[n]=this.months(a,"").toLocaleLowerCase();return r?t==="MMM"?(i=A.call(this._shortMonthsParse,s),i!==-1?i:null):(i=A.call(this._longMonthsParse,s),i!==-1?i:null):t==="MMM"?(i=A.call(this._shortMonthsParse,s),i!==-1?i:(i=A.call(this._longMonthsParse,s),i!==-1?i:null)):(i=A.call(this._longMonthsParse,s),i!==-1?i:(i=A.call(this._shortMonthsParse,s),i!==-1?i:null))}function vh(e,t,r){var n,i,a;if(this._monthsParseExact)return _h.call(this,e,t,r);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),n=0;n<12;n++){if(i=me([2e3,n]),r&&!this._longMonthsParse[n]&&(this._longMonthsParse[n]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[n]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),!r&&!this._monthsParse[n]&&(a="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[n]=new RegExp(a.replace(".",""),"i")),r&&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 cs(e,t){var r;if(!e.isValid())return e;if(typeof t=="string"){if(/^\d+$/.test(t))t=w(t);else if(t=e.localeData().monthsParse(t),!xe(t))return e}return r=Math.min(e.date(),Gr(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,r),e}function fs(e){return e!=null?(cs(this,e),d.updateOffset(this,!0),this):hr(this,"Month")}function wh(){return Gr(this.year(),this.month())}function xh(e){return this._monthsParseExact?(L(this,"_monthsRegex")||ds.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(L(this,"_monthsShortRegex")||(this._monthsShortRegex=ph),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function Sh(e){return this._monthsParseExact?(L(this,"_monthsRegex")||ds.call(this),e?this._monthsStrictRegex:this._monthsRegex):(L(this,"_monthsRegex")||(this._monthsRegex=gh),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function ds(){function e(s,o){return o.length-s.length}var t=[],r=[],n=[],i,a;for(i=0;i<12;i++)a=me([2e3,i]),t.push(this.monthsShort(a,"")),r.push(this.months(a,"")),n.push(this.months(a,"")),n.push(this.monthsShort(a,""));for(t.sort(e),r.sort(e),n.sort(e),i=0;i<12;i++)t[i]=$(t[i]),r[i]=$(r[i]);for(i=0;i<24;i++)n[i]=$(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?de(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");W("year",1);g("Y",Lr);g("YY",P,Z);g("YYYY",$n,Vn);g("YYYYY",Tr,Or);g("YYYYYY",Tr,Or);I(["YYYYY","YYYYYY"],Y);I("YYYY",function(e,t){t[Y]=e.length===2?d.parseTwoDigitYear(e):w(e)});I("YY",function(e,t){t[Y]=d.parseTwoDigitYear(e)});I("Y",function(e,t){t[Y]=parseInt(e,10)});function Dt(e){return Er(e)?366:365}d.parseTwoDigitYear=function(e){return w(e)+(w(e)>68?1900:2e3)};var ms=mt("FullYear",!0);function Eh(){return Er(this.year())}function Oh(e,t,r,n,i,a,s){var o;return e<100&&e>=0?(o=new Date(e+400,t,r,n,i,a,s),isFinite(o.getFullYear())&&o.setFullYear(e)):o=new Date(e,t,r,n,i,a,s),o}function kt(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 fr(e,t,r){var n=7+t-r,i=(7+kt(e,0,n).getUTCDay()-t)%7;return-i+n-1}function ps(e,t,r,n,i){var a=(7+r-n)%7,s=fr(e,n,i),o=1+7*(t-1)+a+s,l,u;return o<=0?(l=e-1,u=Dt(l)+o):o>Dt(e)?(l=e+1,u=o-Dt(e)):(l=e,u=o),{year:l,dayOfYear:u}}function Pt(e,t,r){var n=fr(e.year(),t,r),i=Math.floor((e.dayOfYear()-n-1)/7)+1,a,s;return i<1?(s=e.year()-1,a=i+we(s,t,r)):i>we(e.year(),t,r)?(a=i-we(e.year(),t,r),s=e.year()+1):(s=e.year(),a=i),{week:a,year:s}}function we(e,t,r){var n=fr(e,t,r),i=fr(e+1,t,r);return(Dt(e)-n+i)/7}y("w",["ww",2],"wo","week");y("W",["WW",2],"Wo","isoWeek");U("week","w");U("isoWeek","W");W("week",5);W("isoWeek",5);g("w",P);g("ww",P,Z);g("W",P);g("WW",P,Z);Yt(["w","ww","W","WW"],function(e,t,r,n){t[n.substr(0,1)]=w(e)});function Mh(e){return Pt(e,this._week.dow,this._week.doy).week}var Th={dow:0,doy:6};function Lh(){return this._week.dow}function Dh(){return this._week.doy}function Gh(e){var t=this.localeData().week(this);return e==null?t:this.add((e-t)*7,"d")}function Ch(e){var t=Pt(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");W("day",11);W("weekday",11);W("isoWeekday",11);g("d",P);g("e",P);g("E",P);g("dd",function(e,t){return t.weekdaysMinRegex(e)});g("ddd",function(e,t){return t.weekdaysShortRegex(e)});g("dddd",function(e,t){return t.weekdaysRegex(e)});Yt(["dd","ddd","dddd"],function(e,t,r,n){var i=r._locale.weekdaysParse(e,n,r._strict);i!=null?t.d=i:b(r).invalidWeekday=e});Yt(["d","e","E"],function(e,t,r,n){t[n]=w(e)});function Ih(e,t){return typeof e!="string"?e:isNaN(e)?(e=t.weekdaysParse(e),typeof e=="number"?e:null):parseInt(e,10)}function kh(e,t){return typeof e=="string"?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function zn(e,t){return e.slice(t,7).concat(e.slice(0,t))}var Ph="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),gs="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Nh="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Rh=Bt,Fh=Bt,Ah=Bt;function Hh(e,t){var r=se(this._weekdays)?this._weekdays:this._weekdays[e&&e!==!0&&this._weekdays.isFormat.test(t)?"format":"standalone"];return e===!0?zn(r,this._week.dow):e?r[e.day()]:r}function Bh(e){return e===!0?zn(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Yh(e){return e===!0?zn(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Uh(e,t,r){var n,i,a,s=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],n=0;n<7;++n)a=me([2e3,1]).day(n),this._minWeekdaysParse[n]=this.weekdaysMin(a,"").toLocaleLowerCase(),this._shortWeekdaysParse[n]=this.weekdaysShort(a,"").toLocaleLowerCase(),this._weekdaysParse[n]=this.weekdays(a,"").toLocaleLowerCase();return r?t==="dddd"?(i=A.call(this._weekdaysParse,s),i!==-1?i:null):t==="ddd"?(i=A.call(this._shortWeekdaysParse,s),i!==-1?i:null):(i=A.call(this._minWeekdaysParse,s),i!==-1?i:null):t==="dddd"?(i=A.call(this._weekdaysParse,s),i!==-1||(i=A.call(this._shortWeekdaysParse,s),i!==-1)?i:(i=A.call(this._minWeekdaysParse,s),i!==-1?i:null)):t==="ddd"?(i=A.call(this._shortWeekdaysParse,s),i!==-1||(i=A.call(this._weekdaysParse,s),i!==-1)?i:(i=A.call(this._minWeekdaysParse,s),i!==-1?i:null)):(i=A.call(this._minWeekdaysParse,s),i!==-1||(i=A.call(this._weekdaysParse,s),i!==-1)?i:(i=A.call(this._shortWeekdaysParse,s),i!==-1?i:null))}function Wh(e,t,r){var n,i,a;if(this._weekdaysParseExact)return Uh.call(this,e,t,r);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),n=0;n<7;n++){if(i=me([2e3,1]).day(n),r&&!this._fullWeekdaysParse[n]&&(this._fullWeekdaysParse[n]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[n]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[n]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[n]||(a="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[n]=new RegExp(a.replace(".",""),"i")),r&&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 jh(e){if(!this.isValid())return e!=null?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return e!=null?(e=Ih(e,this.localeData()),this.add(e-t,"d")):t}function Vh(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 $h(e){if(!this.isValid())return e!=null?this:NaN;if(e!=null){var t=kh(e,this.localeData());return this.day(this.day()%7?t:t-7)}else return this.day()||7}function zh(e){return this._weekdaysParseExact?(L(this,"_weekdaysRegex")||Zn.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(L(this,"_weekdaysRegex")||(this._weekdaysRegex=Rh),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function Zh(e){return this._weekdaysParseExact?(L(this,"_weekdaysRegex")||Zn.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(L(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Fh),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Xh(e){return this._weekdaysParseExact?(L(this,"_weekdaysRegex")||Zn.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(L(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Ah),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Zn(){function e(c,m){return m.length-c.length}var t=[],r=[],n=[],i=[],a,s,o,l,u;for(a=0;a<7;a++)s=me([2e3,1]).day(a),o=$(this.weekdaysMin(s,"")),l=$(this.weekdaysShort(s,"")),u=$(this.weekdays(s,"")),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 Xn(){return this.hours()%12||12}function Jh(){return this.hours()||24}y("H",["HH",2],0,"hour");y("h",["hh",2],0,Xn);y("k",["kk",2],0,Jh);y("hmm",0,0,function(){return""+Xn.apply(this)+de(this.minutes(),2)});y("hmmss",0,0,function(){return""+Xn.apply(this)+de(this.minutes(),2)+de(this.seconds(),2)});y("Hmm",0,0,function(){return""+this.hours()+de(this.minutes(),2)});y("Hmmss",0,0,function(){return""+this.hours()+de(this.minutes(),2)+de(this.seconds(),2)});function ys(e,t){y(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}ys("a",!0);ys("A",!1);U("hour","h");W("hour",13);function bs(e,t){return t._meridiemParse}g("a",bs);g("A",bs);g("H",P);g("h",P);g("k",P);g("HH",P,Z);g("hh",P,Z);g("kk",P,Z);g("hmm",os);g("hmmss",ls);g("Hmm",os);g("Hmmss",ls);I(["H","HH"],H);I(["k","kk"],function(e,t,r){var n=w(e);t[H]=n===24?0:n});I(["a","A"],function(e,t,r){r._isPm=r._locale.isPM(e),r._meridiem=e});I(["h","hh"],function(e,t,r){t[H]=w(e),b(r).bigHour=!0});I("hmm",function(e,t,r){var n=e.length-2;t[H]=w(e.substr(0,n)),t[ae]=w(e.substr(n)),b(r).bigHour=!0});I("hmmss",function(e,t,r){var n=e.length-4,i=e.length-2;t[H]=w(e.substr(0,n)),t[ae]=w(e.substr(n,2)),t[_e]=w(e.substr(i)),b(r).bigHour=!0});I("Hmm",function(e,t,r){var n=e.length-2;t[H]=w(e.substr(0,n)),t[ae]=w(e.substr(n))});I("Hmmss",function(e,t,r){var n=e.length-4,i=e.length-2;t[H]=w(e.substr(0,n)),t[ae]=w(e.substr(n,2)),t[_e]=w(e.substr(i))});function qh(e){return(e+"").toLowerCase().charAt(0)==="p"}var Qh=/[ap]\.?m?\.?/i,Kh=mt("Hours",!0);function ec(e,t,r){return e>11?r?"pm":"PM":r?"am":"AM"}var _s={calendar:Wu,longDateFormat:zu,invalidDate:Xu,ordinal:qu,dayOfMonthOrdinalParse:Qu,relativeTime:eh,months:mh,monthsShort:us,week:Th,weekdays:Ph,weekdaysMin:Nh,weekdaysShort:gs,meridiemParse:Qh},R={},Et={},Nt;function tc(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 Xi(e){return e&&e.toLowerCase().replace("_","-")}function rc(e){for(var t=0,r,n,i,a;t<e.length;){for(a=Xi(e[t]).split("-"),r=a.length,n=Xi(e[t+1]),n=n?n.split("-"):null;r>0;){if(i=Cr(a.slice(0,r).join("-")),i)return i;if(n&&n.length>=r&&tc(a,n)>=r-1)break;r--}t++}return Nt}function nc(e){return e.match("^[^/\\\\]*$")!=null}function Cr(e){var t=null,r;if(R[e]===void 0&&typeof module!="undefined"&&module&&module.exports&&nc(e))try{t=Nt._abbr,r=Hu,r("./locale/"+e),Re(t)}catch(n){R[e]=null}return R[e]}function Re(e,t){var r;return e&&(V(t)?r=Ee(e):r=Jn(e,t),r?Nt=r:typeof console!="undefined"&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),Nt._abbr}function Jn(e,t){if(t!==null){var r,n=_s;if(t.abbr=e,R[e]!=null)ts("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=R[e]._config;else if(t.parentLocale!=null)if(R[t.parentLocale]!=null)n=R[t.parentLocale]._config;else if(r=Cr(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 R[e]=new Un(Ln(n,t)),Et[e]&&Et[e].forEach(function(i){Jn(i.name,i.config)}),Re(e),R[e]}else return delete R[e],null}function ic(e,t){if(t!=null){var r,n,i=_s;R[e]!=null&&R[e].parentLocale!=null?R[e].set(Ln(R[e]._config,t)):(n=Cr(e),n!=null&&(i=n._config),t=Ln(i,t),n==null&&(t.abbr=e),r=new Un(t),r.parentLocale=R[e],R[e]=r),Re(e)}else R[e]!=null&&(R[e].parentLocale!=null?(R[e]=R[e].parentLocale,e===Re()&&Re(e)):R[e]!=null&&delete R[e]);return R[e]}function Ee(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return Nt;if(!se(e)){if(t=Cr(e),t)return t;e=[e]}return rc(e)}function ac(){return Dn(R)}function qn(e){var t,r=e._a;return r&&b(e).overflow===-2&&(t=r[be]<0||r[be]>11?be:r[fe]<1||r[fe]>Gr(r[Y],r[be])?fe:r[H]<0||r[H]>24||r[H]===24&&(r[ae]!==0||r[_e]!==0||r[Be]!==0)?H:r[ae]<0||r[ae]>59?ae:r[_e]<0||r[_e]>59?_e:r[Be]<0||r[Be]>999?Be:-1,b(e)._overflowDayOfYear&&(t<Y||t>fe)&&(t=fe),b(e)._overflowWeeks&&t===-1&&(t=ch),b(e)._overflowWeekday&&t===-1&&(t=fh),b(e).overflow=t),e}var sc=/^\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)?)?$/,oc=/^\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)?)?$/,lc=/Z|[+-]\d\d(?::?\d\d)?/,er=[["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]],hn=[["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/]],uc=/^\/?Date\((-?\d+)/i,hc=/^(?:(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}))$/,cc={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 vs(e){var t,r,n=e._i,i=sc.exec(n)||oc.exec(n),a,s,o,l,u=er.length,c=hn.length;if(i){for(b(e).iso=!0,t=0,r=u;t<r;t++)if(er[t][1].exec(i[1])){s=er[t][0],a=er[t][2]!==!1;break}if(s==null){e._isValid=!1;return}if(i[3]){for(t=0,r=c;t<r;t++)if(hn[t][1].exec(i[3])){o=(i[2]||" ")+hn[t][0];break}if(o==null){e._isValid=!1;return}}if(!a&&o!=null){e._isValid=!1;return}if(i[4])if(lc.exec(i[4]))l="Z";else{e._isValid=!1;return}e._f=s+(o||"")+(l||""),Kn(e)}else e._isValid=!1}function fc(e,t,r,n,i,a){var s=[dc(e),us.indexOf(t),parseInt(r,10),parseInt(n,10),parseInt(i,10)];return a&&s.push(parseInt(a,10)),s}function dc(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function mc(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function pc(e,t,r){if(e){var n=gs.indexOf(e),i=new Date(t[0],t[1],t[2]).getDay();if(n!==i)return b(r).weekdayMismatch=!0,r._isValid=!1,!1}return!0}function gc(e,t,r){if(e)return cc[e];if(t)return 0;var n=parseInt(r,10),i=n%100,a=(n-i)/100;return a*60+i}function ws(e){var t=hc.exec(mc(e._i)),r;if(t){if(r=fc(t[4],t[3],t[2],t[5],t[6],t[7]),!pc(t[1],r,e))return;e._a=r,e._tzm=gc(t[8],t[9],t[10]),e._d=kt.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),b(e).rfc2822=!0}else e._isValid=!1}function yc(e){var t=uc.exec(e._i);if(t!==null){e._d=new Date(+t[1]);return}if(vs(e),e._isValid===!1)delete e._isValid;else return;if(ws(e),e._isValid===!1)delete e._isValid;else return;e._strict?e._isValid=!1:d.createFromInputFallback(e)}d.createFromInputFallback=te("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 qe(e,t,r){return e!=null?e:t!=null?t:r}function bc(e){var t=new Date(d.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function Qn(e){var t,r,n=[],i,a,s;if(!e._d){for(i=bc(e),e._w&&e._a[fe]==null&&e._a[be]==null&&_c(e),e._dayOfYear!=null&&(s=qe(e._a[Y],i[Y]),(e._dayOfYear>Dt(s)||e._dayOfYear===0)&&(b(e)._overflowDayOfYear=!0),r=kt(s,0,e._dayOfYear),e._a[be]=r.getUTCMonth(),e._a[fe]=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[H]===24&&e._a[ae]===0&&e._a[_e]===0&&e._a[Be]===0&&(e._nextDay=!0,e._a[H]=0),e._d=(e._useUTC?kt:Oh).apply(null,n),a=e._useUTC?e._d.getUTCDay():e._d.getDay(),e._tzm!=null&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[H]=24),e._w&&typeof e._w.d!="undefined"&&e._w.d!==a&&(b(e).weekdayMismatch=!0)}}function _c(e){var t,r,n,i,a,s,o,l,u;t=e._w,t.GG!=null||t.W!=null||t.E!=null?(a=1,s=4,r=qe(t.GG,e._a[Y],Pt(k(),1,4).year),n=qe(t.W,1),i=qe(t.E,1),(i<1||i>7)&&(l=!0)):(a=e._locale._week.dow,s=e._locale._week.doy,u=Pt(k(),a,s),r=qe(t.gg,e._a[Y],u.year),n=qe(t.w,u.week),t.d!=null?(i=t.d,(i<0||i>6)&&(l=!0)):t.e!=null?(i=t.e+a,(t.e<0||t.e>6)&&(l=!0)):i=a),n<1||n>we(r,a,s)?b(e)._overflowWeeks=!0:l!=null?b(e)._overflowWeekday=!0:(o=ps(r,n,i,a,s),e._a[Y]=o.year,e._dayOfYear=o.dayOfYear)}d.ISO_8601=function(){};d.RFC_2822=function(){};function Kn(e){if(e._f===d.ISO_8601){vs(e);return}if(e._f===d.RFC_2822){ws(e);return}e._a=[],b(e).empty=!0;var t=""+e._i,r,n,i,a,s,o=t.length,l=0,u,c;for(i=rs(e._f,e._locale).match(Wn)||[],c=i.length,r=0;r<c;r++)a=i[r],n=(t.match(lh(a,e))||[])[0],n&&(s=t.substr(0,t.indexOf(n)),s.length>0&&b(e).unusedInput.push(s),t=t.slice(t.indexOf(n)+n.length),l+=n.length),rt[a]?(n?b(e).empty=!1:b(e).unusedTokens.push(a),hh(a,n,e)):e._strict&&!n&&b(e).unusedTokens.push(a);b(e).charsLeftOver=o-l,t.length>0&&b(e).unusedInput.push(t),e._a[H]<=12&&b(e).bigHour===!0&&e._a[H]>0&&(b(e).bigHour=void 0),b(e).parsedDateParts=e._a.slice(0),b(e).meridiem=e._meridiem,e._a[H]=vc(e._locale,e._a[H],e._meridiem),u=b(e).era,u!==null&&(e._a[Y]=e._locale.erasConvertYear(u,e._a[Y])),Qn(e),qn(e)}function vc(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 wc(e){var t,r,n,i,a,s,o=!1,l=e._f.length;if(l===0){b(e).invalidFormat=!0,e._d=new Date(NaN);return}for(i=0;i<l;i++)a=0,s=!1,t=Yn({},e),e._useUTC!=null&&(t._useUTC=e._useUTC),t._f=e._f[i],Kn(t),Bn(t)&&(s=!0),a+=b(t).charsLeftOver,a+=b(t).unusedTokens.length*10,b(t).score=a,o?a<n&&(n=a,r=t):(n==null||a<n||s)&&(n=a,r=t,s&&(o=!0));ke(e,r||t)}function xc(e){if(!e._d){var t=jn(e._i),r=t.day===void 0?t.date:t.day;e._a=Ka([t.year,t.month,r,t.hour,t.minute,t.second,t.millisecond],function(n){return n&&parseInt(n,10)}),Qn(e)}}function Sc(e){var t=new Ht(qn(xs(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function xs(e){var t=e._i,r=e._f;return e._locale=e._locale||Ee(e._l),t===null||r===void 0&&t===""?Sr({nullInput:!0}):(typeof t=="string"&&(e._i=t=e._locale.preparse(t)),oe(t)?new Ht(qn(t)):(At(t)?e._d=t:se(r)?wc(e):r?Kn(e):Ec(e),Bn(e)||(e._d=null),e))}function Ec(e){var t=e._i;V(t)?e._d=new Date(d.now()):At(t)?e._d=new Date(t.valueOf()):typeof t=="string"?yc(e):se(t)?(e._a=Ka(t.slice(0),function(r){return parseInt(r,10)}),Qn(e)):Ye(t)?xc(e):xe(t)?e._d=new Date(t):d.createFromInputFallback(e)}function Ss(e,t,r,n,i){var a={};return(t===!0||t===!1)&&(n=t,t=void 0),(r===!0||r===!1)&&(n=r,r=void 0),(Ye(e)&&Hn(e)||se(e)&&e.length===0)&&(e=void 0),a._isAMomentObject=!0,a._useUTC=a._isUTC=i,a._l=r,a._i=e,a._f=t,a._strict=n,Sc(a)}function k(e,t,r,n){return Ss(e,t,r,n,!1)}var Oc=te("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:Sr()}),Mc=te("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:Sr()});function Es(e,t){var r,n;if(t.length===1&&se(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 Tc(){var e=[].slice.call(arguments,0);return Es("isBefore",e)}function Lc(){var e=[].slice.call(arguments,0);return Es("isAfter",e)}var Dc=function(){return Date.now?Date.now():+new Date},Ot=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Gc(e){var t,r=!1,n,i=Ot.length;for(t in e)if(L(e,t)&&!(A.call(Ot,t)!==-1&&(e[t]==null||!isNaN(e[t]))))return!1;for(n=0;n<i;++n)if(e[Ot[n]]){if(r)return!1;parseFloat(e[Ot[n]])!==w(e[Ot[n]])&&(r=!0)}return!0}function Cc(){return this._isValid}function Ic(){return le(NaN)}function Ir(e){var t=jn(e),r=t.year||0,n=t.quarter||0,i=t.month||0,a=t.week||t.isoWeek||0,s=t.day||0,o=t.hour||0,l=t.minute||0,u=t.second||0,c=t.millisecond||0;this._isValid=Gc(t),this._milliseconds=+c+u*1e3+l*6e4+o*1e3*60*60,this._days=+s+a*7,this._months=+i+n*3+r*12,this._data={},this._locale=Ee(),this._bubble()}function sr(e){return e instanceof Ir}function Cn(e){return e<0?Math.round(-1*e)*-1:Math.round(e)}function kc(e,t,r){var n=Math.min(e.length,t.length),i=Math.abs(e.length-t.length),a=0,s;for(s=0;s<n;s++)w(e[s])!==w(t[s])&&a++;return a+i}function Os(e,t){y(e,0,0,function(){var r=this.utcOffset(),n="+";return r<0&&(r=-r,n="-"),n+de(~~(r/60),2)+t+de(~~r%60,2)})}Os("Z",":");Os("ZZ","");g("Z",Dr);g("ZZ",Dr);I(["Z","ZZ"],function(e,t,r){r._useUTC=!0,r._tzm=ei(Dr,e)});var Pc=/([\+\-]|\d\d)/gi;function ei(e,t){var r=(t||"").match(e),n,i,a;return r===null?null:(n=r[r.length-1]||[],i=(n+"").match(Pc)||["-",0,0],a=+(i[1]*60)+w(i[2]),a===0?0:i[0]==="+"?a:-a)}function ti(e,t){var r,n;return t._isUTC?(r=t.clone(),n=(oe(e)||At(e)?e.valueOf():k(e).valueOf())-r.valueOf(),r._d.setTime(r._d.valueOf()+n),d.updateOffset(r,!1),r):k(e).local()}function In(e){return-Math.round(e._d.getTimezoneOffset())}d.updateOffset=function(){};function Nc(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=ei(Dr,e),e===null)return this}else Math.abs(e)<16&&!r&&(e=e*60);return!this._isUTC&&t&&(i=In(this)),this._offset=e,this._isUTC=!0,i!=null&&this.add(i,"m"),n!==e&&(!t||this._changeInProgress?Ls(this,le(e-n,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,d.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?n:In(this)}function Rc(e,t){return e!=null?(typeof e!="string"&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function Fc(e){return this.utcOffset(0,e)}function Ac(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(In(this),"m")),this}function Hc(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var e=ei(sh,this._i);e!=null?this.utcOffset(e):this.utcOffset(0,!0)}return this}function Bc(e){return this.isValid()?(e=e?k(e).utcOffset():0,(this.utcOffset()-e)%60===0):!1}function Yc(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Uc(){if(!V(this._isDSTShifted))return this._isDSTShifted;var e={},t;return Yn(e,this),e=xs(e),e._a?(t=e._isUTC?me(e._a):k(e._a),this._isDSTShifted=this.isValid()&&kc(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function Wc(){return this.isValid()?!this._isUTC:!1}function jc(){return this.isValid()?this._isUTC:!1}function Ms(){return this.isValid()?this._isUTC&&this._offset===0:!1}var Vc=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,$c=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function le(e,t){var r=e,n=null,i,a,s;return sr(e)?r={ms:e._milliseconds,d:e._days,M:e._months}:xe(e)||!isNaN(+e)?(r={},t?r[t]=+e:r.milliseconds=+e):(n=Vc.exec(e))?(i=n[1]==="-"?-1:1,r={y:0,d:w(n[fe])*i,h:w(n[H])*i,m:w(n[ae])*i,s:w(n[_e])*i,ms:w(Cn(n[Be]*1e3))*i}):(n=$c.exec(e))?(i=n[1]==="-"?-1:1,r={y:He(n[2],i),M:He(n[3],i),w:He(n[4],i),d:He(n[5],i),h:He(n[6],i),m:He(n[7],i),s:He(n[8],i)}):r==null?r={}:typeof r=="object"&&("from"in r||"to"in r)&&(s=zc(k(r.from),k(r.to)),r={},r.ms=s.milliseconds,r.M=s.months),a=new Ir(r),sr(e)&&L(e,"_locale")&&(a._locale=e._locale),sr(e)&&L(e,"_isValid")&&(a._isValid=e._isValid),a}le.fn=Ir.prototype;le.invalid=Ic;function He(e,t){var r=e&&parseFloat(e.replace(",","."));return(isNaN(r)?0:r)*t}function Ji(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 zc(e,t){var r;return e.isValid()&&t.isValid()?(t=ti(t,e),e.isBefore(t)?r=Ji(e,t):(r=Ji(t,e),r.milliseconds=-r.milliseconds,r.months=-r.months),r):{milliseconds:0,months:0}}function Ts(e,t){return function(r,n){var i,a;return n!==null&&!isNaN(+n)&&(ts(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."),a=r,r=n,n=a),i=le(r,n),Ls(this,i,e),this}}function Ls(e,t,r,n){var i=t._milliseconds,a=Cn(t._days),s=Cn(t._months);e.isValid()&&(n=n==null?!0:n,s&&cs(e,hr(e,"Month")+s*r),a&&is(e,"Date",hr(e,"Date")+a*r),i&&e._d.setTime(e._d.valueOf()+i*r),n&&d.updateOffset(e,a||s))}var Zc=Ts(1,"add"),Xc=Ts(-1,"subtract");function Ds(e){return typeof e=="string"||e instanceof String}function Jc(e){return oe(e)||At(e)||Ds(e)||xe(e)||Qc(e)||qc(e)||e===null||e===void 0}function qc(e){var t=Ye(e)&&!Hn(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,a,s=n.length;for(i=0;i<s;i+=1)a=n[i],r=r||L(e,a);return t&&r}function Qc(e){var t=se(e),r=!1;return t&&(r=e.filter(function(n){return!xe(n)&&Ds(e)}).length===0),t&&r}function Kc(e){var t=Ye(e)&&!Hn(e),r=!1,n=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],i,a;for(i=0;i<n.length;i+=1)a=n[i],r=r||L(e,a);return t&&r}function ef(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 tf(e,t){arguments.length===1&&(arguments[0]?Jc(arguments[0])?(e=arguments[0],t=void 0):Kc(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var r=e||k(),n=ti(r,this).startOf("day"),i=d.calendarFormat(this,n)||"sameElse",a=t&&(pe(t[i])?t[i].call(this,r):t[i]);return this.format(a||this.localeData().calendar(i,this,k(r)))}function rf(){return new Ht(this)}function nf(e,t){var r=oe(e)?e:k(e);return this.isValid()&&r.isValid()?(t=re(t)||"millisecond",t==="millisecond"?this.valueOf()>r.valueOf():r.valueOf()<this.clone().startOf(t).valueOf()):!1}function af(e,t){var r=oe(e)?e:k(e);return this.isValid()&&r.isValid()?(t=re(t)||"millisecond",t==="millisecond"?this.valueOf()<r.valueOf():this.clone().endOf(t).valueOf()<r.valueOf()):!1}function sf(e,t,r,n){var i=oe(e)?e:k(e),a=oe(t)?t:k(t);return this.isValid()&&i.isValid()&&a.isValid()?(n=n||"()",(n[0]==="("?this.isAfter(i,r):!this.isBefore(i,r))&&(n[1]===")"?this.isBefore(a,r):!this.isAfter(a,r))):!1}function of(e,t){var r=oe(e)?e:k(e),n;return this.isValid()&&r.isValid()?(t=re(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 lf(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function uf(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function hf(e,t,r){var n,i,a;if(!this.isValid())return NaN;if(n=ti(e,this),!n.isValid())return NaN;switch(i=(n.utcOffset()-this.utcOffset())*6e4,t=re(t),t){case"year":a=or(this,n)/12;break;case"month":a=or(this,n);break;case"quarter":a=or(this,n)/3;break;case"second":a=(this-n)/1e3;break;case"minute":a=(this-n)/6e4;break;case"hour":a=(this-n)/36e5;break;case"day":a=(this-n-i)/864e5;break;case"week":a=(this-n-i)/6048e5;break;default:a=this-n}return r?a:ee(a)}function or(e,t){if(e.date()<t.date())return-or(t,e);var r=(t.year()-e.year())*12+(t.month()-e.month()),n=e.clone().add(r,"months"),i,a;return t-n<0?(i=e.clone().add(r-1,"months"),a=(t-n)/(n-i)):(i=e.clone().add(r+1,"months"),a=(t-n)/(i-n)),-(r+a)||0}d.defaultFormat="YYYY-MM-DDTHH:mm:ssZ";d.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function cf(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function ff(e){if(!this.isValid())return null;var t=e!==!0,r=t?this.clone().utc():this;return r.year()<0||r.year()>9999?ar(r,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):pe(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",ar(r,"Z")):ar(r,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function df(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="",r,n,i,a;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",a=t+'[")]',this.format(r+n+i+a)}function mf(e){e||(e=this.isUtc()?d.defaultFormatUtc:d.defaultFormat);var t=ar(this,e);return this.localeData().postformat(t)}function pf(e,t){return this.isValid()&&(oe(e)&&e.isValid()||k(e).isValid())?le({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function gf(e){return this.from(k(),e)}function yf(e,t){return this.isValid()&&(oe(e)&&e.isValid()||k(e).isValid())?le({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function bf(e){return this.to(k(),e)}function Gs(e){var t;return e===void 0?this._locale._abbr:(t=Ee(e),t!=null&&(this._locale=t),this)}var Cs=te("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 Is(){return this._locale}var dr=1e3,nt=60*dr,mr=60*nt,ks=(365*400+97)*24*mr;function it(e,t){return(e%t+t)%t}function Ps(e,t,r){return e<100&&e>=0?new Date(e+400,t,r)-ks:new Date(e,t,r).valueOf()}function Ns(e,t,r){return e<100&&e>=0?Date.UTC(e+400,t,r)-ks:Date.UTC(e,t,r)}function _f(e){var t,r;if(e=re(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(r=this._isUTC?Ns:Ps,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-=it(t+(this._isUTC?0:this.utcOffset()*nt),mr);break;case"minute":t=this._d.valueOf(),t-=it(t,nt);break;case"second":t=this._d.valueOf(),t-=it(t,dr);break}return this._d.setTime(t),d.updateOffset(this,!0),this}function vf(e){var t,r;if(e=re(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(r=this._isUTC?Ns:Ps,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+=mr-it(t+(this._isUTC?0:this.utcOffset()*nt),mr)-1;break;case"minute":t=this._d.valueOf(),t+=nt-it(t,nt)-1;break;case"second":t=this._d.valueOf(),t+=dr-it(t,dr)-1;break}return this._d.setTime(t),d.updateOffset(this,!0),this}function wf(){return this._d.valueOf()-(this._offset||0)*6e4}function xf(){return Math.floor(this.valueOf()/1e3)}function Sf(){return new Date(this.valueOf())}function Ef(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function Of(){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 Mf(){return this.isValid()?this.toISOString():null}function Tf(){return Bn(this)}function Lf(){return ke({},b(this))}function Df(){return b(this).overflow}function Gf(){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");g("N",ri);g("NN",ri);g("NNN",ri);g("NNNN",Yf);g("NNNNN",Uf);I(["N","NN","NNN","NNNN","NNNNN"],function(e,t,r,n){var i=r._locale.erasParse(e,n,r._strict);i?b(r).era=i:b(r).invalidEra=e});g("y",pt);g("yy",pt);g("yyy",pt);g("yyyy",pt);g("yo",Wf);I(["y","yy","yyy","yyyy"],Y);I(["yo"],function(e,t,r,n){var i;r._locale._eraYearOrdinalRegex&&(i=e.match(r._locale._eraYearOrdinalRegex)),r._locale.eraYearOrdinalParse?t[Y]=r._locale.eraYearOrdinalParse(e,i):t[Y]=parseInt(e,10)});function Cf(e,t){var r,n,i,a=this._eras||Ee("en")._eras;for(r=0,n=a.length;r<n;++r){switch(typeof a[r].since){case"string":i=d(a[r].since).startOf("day"),a[r].since=i.valueOf();break}switch(typeof a[r].until){case"undefined":a[r].until=1/0;break;case"string":i=d(a[r].until).startOf("day").valueOf(),a[r].until=i.valueOf();break}}return a}function If(e,t,r){var n,i,a=this.eras(),s,o,l;for(e=e.toUpperCase(),n=0,i=a.length;n<i;++n)if(s=a[n].name.toUpperCase(),o=a[n].abbr.toUpperCase(),l=a[n].narrow.toUpperCase(),r)switch(t){case"N":case"NN":case"NNN":if(o===e)return a[n];break;case"NNNN":if(s===e)return a[n];break;case"NNNNN":if(l===e)return a[n];break}else if([s,o,l].indexOf(e)>=0)return a[n]}function kf(e,t){var r=e.since<=e.until?1:-1;return t===void 0?d(e.since).year():d(e.since).year()+(t-e.offset)*r}function Pf(){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 Nf(){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 Rf(){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 Ff(){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()-d(i[e].since).year())*r+i[e].offset;return this.year()}function Af(e){return L(this,"_erasNameRegex")||ni.call(this),e?this._erasNameRegex:this._erasRegex}function Hf(e){return L(this,"_erasAbbrRegex")||ni.call(this),e?this._erasAbbrRegex:this._erasRegex}function Bf(e){return L(this,"_erasNarrowRegex")||ni.call(this),e?this._erasNarrowRegex:this._erasRegex}function ri(e,t){return t.erasAbbrRegex(e)}function Yf(e,t){return t.erasNameRegex(e)}function Uf(e,t){return t.erasNarrowRegex(e)}function Wf(e,t){return t._eraYearOrdinalRegex||pt}function ni(){var e=[],t=[],r=[],n=[],i,a,s=this.eras();for(i=0,a=s.length;i<a;++i)t.push($(s[i].name)),e.push($(s[i].abbr)),r.push($(s[i].narrow)),n.push($(s[i].name)),n.push($(s[i].abbr)),n.push($(s[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 kr(e,t){y(0,[e,e.length],0,t)}kr("gggg","weekYear");kr("ggggg","weekYear");kr("GGGG","isoWeekYear");kr("GGGGG","isoWeekYear");U("weekYear","gg");U("isoWeekYear","GG");W("weekYear",1);W("isoWeekYear",1);g("G",Lr);g("g",Lr);g("GG",P,Z);g("gg",P,Z);g("GGGG",$n,Vn);g("gggg",$n,Vn);g("GGGGG",Tr,Or);g("ggggg",Tr,Or);Yt(["gggg","ggggg","GGGG","GGGGG"],function(e,t,r,n){t[n.substr(0,2)]=w(e)});Yt(["gg","GG"],function(e,t,r,n){t[n]=d.parseTwoDigitYear(e)});function jf(e){return Rs.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function Vf(e){return Rs.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function $f(){return we(this.year(),1,4)}function zf(){return we(this.isoWeekYear(),1,4)}function Zf(){var e=this.localeData()._week;return we(this.year(),e.dow,e.doy)}function Xf(){var e=this.localeData()._week;return we(this.weekYear(),e.dow,e.doy)}function Rs(e,t,r,n,i){var a;return e==null?Pt(this,n,i).year:(a=we(e,n,i),t>a&&(t=a),Jf.call(this,e,t,r,n,i))}function Jf(e,t,r,n,i){var a=ps(e,t,r,n,i),s=kt(a.year,0,a.dayOfYear);return this.year(s.getUTCFullYear()),this.month(s.getUTCMonth()),this.date(s.getUTCDate()),this}y("Q",0,"Qo","quarter");U("quarter","Q");W("quarter",7);g("Q",as);I("Q",function(e,t){t[be]=(w(e)-1)*3});function qf(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");W("date",9);g("D",P);g("DD",P,Z);g("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient});I(["D","DD"],fe);I("Do",function(e,t){t[fe]=w(e.match(P)[0])});var Fs=mt("Date",!0);y("DDD",["DDDD",3],"DDDo","dayOfYear");U("dayOfYear","DDD");W("dayOfYear",4);g("DDD",Mr);g("DDDD",ss);I(["DDD","DDDD"],function(e,t,r){r._dayOfYear=w(e)});function Qf(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");W("minute",14);g("m",P);g("mm",P,Z);I(["m","mm"],ae);var Kf=mt("Minutes",!1);y("s",["ss",2],0,"second");U("second","s");W("second",15);g("s",P);g("ss",P,Z);I(["s","ss"],_e);var ed=mt("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");W("millisecond",16);g("S",Mr,as);g("SS",Mr,Z);g("SSS",Mr,ss);var Pe,As;for(Pe="SSSS";Pe.length<=9;Pe+="S")g(Pe,pt);function td(e,t){t[Be]=w(("0."+e)*1e3)}for(Pe="S";Pe.length<=9;Pe+="S")I(Pe,td);As=mt("Milliseconds",!1);y("z",0,0,"zoneAbbr");y("zz",0,0,"zoneName");function rd(){return this._isUTC?"UTC":""}function nd(){return this._isUTC?"Coordinated Universal Time":""}var f=Ht.prototype;f.add=Zc;f.calendar=tf;f.clone=rf;f.diff=hf;f.endOf=vf;f.format=mf;f.from=pf;f.fromNow=gf;f.to=yf;f.toNow=bf;f.get=ih;f.invalidAt=Df;f.isAfter=nf;f.isBefore=af;f.isBetween=sf;f.isSame=of;f.isSameOrAfter=lf;f.isSameOrBefore=uf;f.isValid=Tf;f.lang=Cs;f.locale=Gs;f.localeData=Is;f.max=Mc;f.min=Oc;f.parsingFlags=Lf;f.set=ah;f.startOf=_f;f.subtract=Xc;f.toArray=Ef;f.toObject=Of;f.toDate=Sf;f.toISOString=ff;f.inspect=df;typeof Symbol!="undefined"&&Symbol.for!=null&&(f[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"});f.toJSON=Mf;f.toString=cf;f.unix=xf;f.valueOf=wf;f.creationData=Gf;f.eraName=Pf;f.eraNarrow=Nf;f.eraAbbr=Rf;f.eraYear=Ff;f.year=ms;f.isLeapYear=Eh;f.weekYear=jf;f.isoWeekYear=Vf;f.quarter=f.quarters=qf;f.month=fs;f.daysInMonth=wh;f.week=f.weeks=Gh;f.isoWeek=f.isoWeeks=Ch;f.weeksInYear=Zf;f.weeksInWeekYear=Xf;f.isoWeeksInYear=$f;f.isoWeeksInISOWeekYear=zf;f.date=Fs;f.day=f.days=jh;f.weekday=Vh;f.isoWeekday=$h;f.dayOfYear=Qf;f.hour=f.hours=Kh;f.minute=f.minutes=Kf;f.second=f.seconds=ed;f.millisecond=f.milliseconds=As;f.utcOffset=Nc;f.utc=Fc;f.local=Ac;f.parseZone=Hc;f.hasAlignedHourOffset=Bc;f.isDST=Yc;f.isLocal=Wc;f.isUtcOffset=jc;f.isUtc=Ms;f.isUTC=Ms;f.zoneAbbr=rd;f.zoneName=nd;f.dates=te("dates accessor is deprecated. Use date instead.",Fs);f.months=te("months accessor is deprecated. Use month instead",fs);f.years=te("years accessor is deprecated. Use year instead",ms);f.zone=te("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",Rc);f.isDSTShifted=te("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Uc);function id(e){return k(e*1e3)}function ad(){return k.apply(null,arguments).parseZone()}function Hs(e){return e}var D=Un.prototype;D.calendar=ju;D.longDateFormat=Zu;D.invalidDate=Ju;D.ordinal=Ku;D.preparse=Hs;D.postformat=Hs;D.relativeTime=th;D.pastFuture=rh;D.set=Uu;D.eras=Cf;D.erasParse=If;D.erasConvertYear=kf;D.erasAbbrRegex=Hf;D.erasNameRegex=Af;D.erasNarrowRegex=Bf;D.months=yh;D.monthsShort=bh;D.monthsParse=vh;D.monthsRegex=Sh;D.monthsShortRegex=xh;D.week=Mh;D.firstDayOfYear=Dh;D.firstDayOfWeek=Lh;D.weekdays=Hh;D.weekdaysMin=Yh;D.weekdaysShort=Bh;D.weekdaysParse=Wh;D.weekdaysRegex=zh;D.weekdaysShortRegex=Zh;D.weekdaysMinRegex=Xh;D.isPM=qh;D.meridiem=ec;function pr(e,t,r,n){var i=Ee(),a=me().set(n,t);return i[r](a,e)}function Bs(e,t,r){if(xe(e)&&(t=e,e=void 0),e=e||"",t!=null)return pr(e,t,r,"month");var n,i=[];for(n=0;n<12;n++)i[n]=pr(e,n,r,"month");return i}function ii(e,t,r,n){typeof e=="boolean"?(xe(t)&&(r=t,t=void 0),t=t||""):(t=e,r=t,e=!1,xe(t)&&(r=t,t=void 0),t=t||"");var i=Ee(),a=e?i._week.dow:0,s,o=[];if(r!=null)return pr(t,(r+a)%7,n,"day");for(s=0;s<7;s++)o[s]=pr(t,(s+a)%7,n,"day");return o}function sd(e,t){return Bs(e,t,"months")}function od(e,t){return Bs(e,t,"monthsShort")}function ld(e,t,r){return ii(e,t,r,"weekdays")}function ud(e,t,r){return ii(e,t,r,"weekdaysShort")}function hd(e,t,r){return ii(e,t,r,"weekdaysMin")}Re("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=w(e%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return e+r}});d.lang=te("moment.lang is deprecated. Use moment.locale instead.",Re);d.langData=te("moment.langData is deprecated. Use moment.localeData instead.",Ee);var ge=Math.abs;function cd(){var e=this._data;return this._milliseconds=ge(this._milliseconds),this._days=ge(this._days),this._months=ge(this._months),e.milliseconds=ge(e.milliseconds),e.seconds=ge(e.seconds),e.minutes=ge(e.minutes),e.hours=ge(e.hours),e.months=ge(e.months),e.years=ge(e.years),this}function Ys(e,t,r,n){var i=le(t,r);return e._milliseconds+=n*i._milliseconds,e._days+=n*i._days,e._months+=n*i._months,e._bubble()}function fd(e,t){return Ys(this,e,t,1)}function dd(e,t){return Ys(this,e,t,-1)}function qi(e){return e<0?Math.floor(e):Math.ceil(e)}function md(){var e=this._milliseconds,t=this._days,r=this._months,n=this._data,i,a,s,o,l;return e>=0&&t>=0&&r>=0||e<=0&&t<=0&&r<=0||(e+=qi(kn(r)+t)*864e5,t=0,r=0),n.milliseconds=e%1e3,i=ee(e/1e3),n.seconds=i%60,a=ee(i/60),n.minutes=a%60,s=ee(a/60),n.hours=s%24,t+=ee(s/24),l=ee(Us(t)),r+=l,t-=qi(kn(l)),o=ee(r/12),r%=12,n.days=t,n.months=r,n.years=o,this}function Us(e){return e*4800/146097}function kn(e){return e*146097/4800}function pd(e){if(!this.isValid())return NaN;var t,r,n=this._milliseconds;if(e=re(e),e==="month"||e==="quarter"||e==="year")switch(t=this._days+n/864e5,r=this._months+Us(t),e){case"month":return r;case"quarter":return r/3;case"year":return r/12}else switch(t=this._days+Math.round(kn(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 gd(){return this.isValid()?this._milliseconds+this._days*864e5+this._months%12*2592e6+w(this._months/12)*31536e6:NaN}function Oe(e){return function(){return this.as(e)}}var yd=Oe("ms"),bd=Oe("s"),_d=Oe("m"),vd=Oe("h"),wd=Oe("d"),xd=Oe("w"),Sd=Oe("M"),Ed=Oe("Q"),Od=Oe("y");function Md(){return le(this)}function Td(e){return e=re(e),this.isValid()?this[e+"s"]():NaN}function je(e){return function(){return this.isValid()?this._data[e]:NaN}}var Ld=je("milliseconds"),Dd=je("seconds"),Gd=je("minutes"),Cd=je("hours"),Id=je("days"),kd=je("months"),Pd=je("years");function Nd(){return ee(this.days()/7)}var ye=Math.round,Qe={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Rd(e,t,r,n,i){return i.relativeTime(t||1,!!r,e,n)}function Fd(e,t,r,n){var i=le(e).abs(),a=ye(i.as("s")),s=ye(i.as("m")),o=ye(i.as("h")),l=ye(i.as("d")),u=ye(i.as("M")),c=ye(i.as("w")),m=ye(i.as("y")),p=a<=r.ss&&["s",a]||a<r.s&&["ss",a]||s<=1&&["m"]||s<r.m&&["mm",s]||o<=1&&["h"]||o<r.h&&["hh",o]||l<=1&&["d"]||l<r.d&&["dd",l];return r.w!=null&&(p=p||c<=1&&["w"]||c<r.w&&["ww",c]),p=p||u<=1&&["M"]||u<r.M&&["MM",u]||m<=1&&["y"]||["yy",m],p[2]=t,p[3]=+e>0,p[4]=n,Rd.apply(null,p)}function Ad(e){return e===void 0?ye:typeof e=="function"?(ye=e,!0):!1}function Hd(e,t){return Qe[e]===void 0?!1:t===void 0?Qe[e]:(Qe[e]=t,e==="s"&&(Qe.ss=t-1),!0)}function Bd(e,t){if(!this.isValid())return this.localeData().invalidDate();var r=!1,n=Qe,i,a;return typeof e=="object"&&(t=e,e=!1),typeof e=="boolean"&&(r=e),typeof t=="object"&&(n=Object.assign({},Qe,t),t.s!=null&&t.ss==null&&(n.ss=t.s-1)),i=this.localeData(),a=Fd(this,!r,n,i),r&&(a=i.pastFuture(+this,a)),i.postformat(a)}var cn=Math.abs;function Xe(e){return(e>0)-(e<0)||+e}function Pr(){if(!this.isValid())return this.localeData().invalidDate();var e=cn(this._milliseconds)/1e3,t=cn(this._days),r=cn(this._months),n,i,a,s,o=this.asSeconds(),l,u,c,m;return o?(n=ee(e/60),i=ee(n/60),e%=60,n%=60,a=ee(r/12),r%=12,s=e?e.toFixed(3).replace(/\.?0+$/,""):"",l=o<0?"-":"",u=Xe(this._months)!==Xe(o)?"-":"",c=Xe(this._days)!==Xe(o)?"-":"",m=Xe(this._milliseconds)!==Xe(o)?"-":"",l+"P"+(a?u+a+"Y":"")+(r?u+r+"M":"")+(t?c+t+"D":"")+(i||n||e?"T":"")+(i?m+i+"H":"")+(n?m+n+"M":"")+(e?m+s+"S":"")):"P0D"}var O=Ir.prototype;O.isValid=Cc;O.abs=cd;O.add=fd;O.subtract=dd;O.as=pd;O.asMilliseconds=yd;O.asSeconds=bd;O.asMinutes=_d;O.asHours=vd;O.asDays=wd;O.asWeeks=xd;O.asMonths=Sd;O.asQuarters=Ed;O.asYears=Od;O.valueOf=gd;O._bubble=md;O.clone=Md;O.get=Td;O.milliseconds=Ld;O.seconds=Dd;O.minutes=Gd;O.hours=Cd;O.days=Id;O.weeks=Nd;O.months=kd;O.years=Pd;O.humanize=Bd;O.toISOString=Pr;O.toString=Pr;O.toJSON=Pr;O.locale=Gs;O.localeData=Is;O.toIsoString=te("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Pr);O.lang=Cs;y("X",0,0,"unix");y("x",0,0,"valueOf");g("x",Lr);g("X",oh);I("X",function(e,t,r){r._d=new Date(parseFloat(e)*1e3)});I("x",function(e,t,r){r._d=new Date(w(e))});//! moment.js
|
|
27
|
+
d.version="2.29.4";Bu(k);d.fn=f;d.min=Tc;d.max=Lc;d.now=Dc;d.utc=me;d.unix=id;d.months=sd;d.isDate=At;d.locale=Re;d.invalid=Sr;d.duration=le;d.isMoment=oe;d.weekdays=ld;d.parseZone=ad;d.localeData=Ee;d.isDuration=sr;d.monthsShort=od;d.weekdaysMin=hd;d.defineLocale=Jn;d.updateLocale=ic;d.locales=ac;d.weekdaysShort=ud;d.normalizeUnits=re;d.relativeTimeRounding=Ad;d.relativeTimeThreshold=Hd;d.calendarFormat=ef;d.prototype=f;d.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"};function Qi(e,t){Fn(e,t)}function Yd(e){We.set(e)}const Ki={en:{playNow:"Start now!",new:"NEW",hot:"Hot",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},"zh-hk":{playNow:"現在開始!",new:"新的",hot:"熱的",opens:"打開",full:"滿桌 - 下注",dealer:"經銷商"},de:{playNow:"Jetzt beginnen!",new:"NEU",hot:"Hot",opens:"Öffnet",full:"full - bet behind",dealer:"Dealer"},it:{playNow:"Inizia ora!",new:"NOVITÀ",hot:"HOT",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},fr:{playNow:"Commencez maintenant",new:"Nouveau",hot:"Chaud",opens:"Ouvre",full:"Table pleine - pari derrière",dealer:"Concessionnaire"},es:{playNow:"Juega ahora!",new:"NUEVO",hot:"HOT",opens:"Abiertas",full:"Mesa llena - Apostar de pie",dealer:"Dealer"},tr:{playNow:"ŞİMDİ OYNA",new:"YENİ",hot:"Sıcak",opens:"Açılıyor",full:"masa dolu - arkadan bahis",dealer:"Krupiye"},ru:{playNow:"Играть сейчас",new:"НОВАЯ",hot:"ГОРЯЧЕЙ",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},ro:{playNow:"Joaca acum",new:"NOU",hot:"POPULAR",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},hr:{playNow:"Igraj",new:"NOVO",hot:"Hot",opens:"Otvara se",full:"stol pun - uložite iza",dealer:"Djelitelj"},hu:{playNow:"Játsszon most!",new:"ÚJ",hot:"Hot",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},pl:{playNow:"Rozpocznij teraz!",new:"NOWOŚĆ",hot:"Hot",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},pt:{playNow:"Comece agora!",new:"NOVO",hot:"Hot",opens:"Abrir",full:"Mesa cheia - aposta atrás",dealer:"Dealer"},sl:{playNow:"Začnite zdaj!",new:"NOVO",hot:"Vroče",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},sr:{playNow:"Započnite sada!",new:"NOVO",hot:"Vruće",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},"pt-br":{playNow:"Comece agora!",new:"NOVOS",hot:"Popular",opens:"Abre",full:"mesa completa-aposte seguindo",dealer:"Dealer"},"es-mx":{playNow:"Comenzar ahora!",new:"NUEVOS",hot:"Popular",opens:"Abre",full:"mesa llena-seguir apuesta",dealer:"Dealer"},"en-us":{playNow:"Start now!",new:"NEW",hot:"Hot",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"}},Ud={AED:"د.إ",AFN:"؋",ALL:"L",AMD:"֏",ANG:"ƒ",AOA:"Kz",ARS:"$",AUD:"$",AWG:"ƒ",AZN:"ман",BAM:"KM",BBD:"$",BDT:"৳",BGN:"лв",BHD:".د.ب",BIF:"FBu",BMD:"$",BND:"$",BOB:"$b",BRL:"R$",BSD:"$",BTC:"฿",BTN:"Nu.",BWP:"P",BYR:"p.",BZD:"BZ$",CAD:"$",CDF:"FC",CHF:"CHF",CLP:"$",CNY:"¥",COP:"$",CRC:"₡",CUC:"$",CUP:"₱",CVE:"$",CZK:"Kč",DJF:"Fdj",DKK:"kr",DOP:"RD$",DZD:"دج",EEK:"kr",EGP:"£",ERN:"Nfk",ETB:"Br",ETH:"Ξ",EUR:"€",FJD:"$",FKP:"£",GBP:"£",GEL:"₾",GGP:"£",GHC:"₵",GHS:"GH₵",GIP:"£",GMD:"D",GNF:"FG",GTQ:"Q",GYD:"$",HKD:"$",HNL:"L",HRK:"kn",HTG:"G",HUF:"Ft",IDR:"Rp",ILS:"₪",IMP:"£",INR:"₹",IQD:"ع.د",IRR:"﷼",ISK:"kr",JEP:"£",JMD:"J$",JOD:"JD",JPY:"¥",KES:"KSh",KGS:"лв",KHR:"៛",KMF:"CF",KPW:"₩",KRW:"₩",KWD:"KD",KYD:"$",KZT:"лв",LAK:"₭",LBP:"£",LKR:"₨",LRD:"$",LSL:"M",LTC:"Ł",LTL:"Lt",LVL:"Ls",LYD:"LD",MAD:"MAD",MDL:"lei",MGA:"Ar",MKD:"ден",MMK:"K",MNT:"₮",MOP:"MOP$",MRO:"UM",MUR:"₨",MVR:"Rf",MWK:"MK",MXN:"$",MYR:"RM",MZN:"MT",NAD:"$",NGN:"₦",NIO:"C$",NOK:"kr",NPR:"₨",NZD:"$",OMR:"﷼",PAB:"B/.",PEN:"S/.",PGK:"K",PHP:"₱",PKR:"₨",PLN:"zł",PYG:"Gs",QAR:"﷼",RMB:"¥",RON:"lei",RSD:"Дин.",RUB:"₽",RWF:"R₣",SAR:"﷼",SBD:"$",SCR:"₨",SDG:"ج.س.",SEK:"kr",SGD:"$",SHP:"£",SLL:"Le",SOS:"S",SRD:"$",SSP:"£",STD:"Db",SVC:"$",SYP:"£",SZL:"E",THB:"฿",TJS:"SM",TMT:"T",TND:"د.ت",TOP:"T$",TRL:"₤",TRY:"₺",TTD:"TT$",TVD:"$",TWD:"NT$",TZS:"TSh",UAH:"₴",UGX:"USh",USD:"$",UYU:"$U",UZS:"лв",VEF:"Bs",VND:"₫",VUV:"VT",WST:"WS$",XAF:"FCFA",XBT:"Ƀ",XCD:"$",XOF:"CFA",XPF:"₣",YER:"﷼",ZAR:"R",ZWD:"Z$"};function Wd(e){oa(e,"svelte-17tki5b",'*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}.GameContainer{width:100%;height:100%;position:relative}.GameContainer.WithGameName{padding-bottom:20px}.GameInnerContainer{position:relative;width:100%;height:100%;overflow:hidden;border-radius:5px}.GameInnerContainer ui-skeleton{position:absolute;top:0;left:0;width:100%;height:100%}.GameInnerContainer ui-skeleton>div{width:100%;height:100%}.GameInnerContainer .GameBg{width:100%;height:100%;object-fit:unset;transition:all 150ms ease-in-out}.GameInnerContainer .GameBg.GameBg-1x2,.GameInnerContainer .GameBg.GameBg-2x1,.GameInnerContainer .GameBg.GameBg-2x2{object-fit:cover}.GameInnerContainer .GameInfoWrapper{display:none;position:absolute;width:100%;height:100%;top:0;right:0;bottom:0;left:0;background:rgba(0, 0, 0, 0.65);z-index:15;padding:8px 25px}.GameInnerContainer .GameInfoWrapper .GameInfo{display:flex;width:100%;height:100%;flex-direction:column;align-items:center;justify-content:space-evenly}.GameInnerContainer .GameInfoWrapper .GameInfoName{color:white;text-align:center;font-size:14px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;text-overflow:ellipsis}.GameInnerContainer .GameInfoWrapper .GameInfoBtn{appearance:none;padding:6px;background:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));font-size:16px;border:2px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));border-radius:5px;cursor:pointer;transition:border 150ms ease-in-out}.GameInnerContainer .GameInfoWrapper .GameInfoBtn:hover{border:2px solid var(--emw--color-primary-100, #F1BED9)}.GameInnerContainer .GameInfoWrapper .GameInfoVendor{display:flex;justify-content:flex-end;align-items:center;color:white;font-size:12px;font-weight:normal}.GameInnerContainer .GameExtraInfoContainer{display:flex;flex-direction:row;justify-content:space-between;align-items:center;width:100%;height:auto;padding:4px;position:absolute;top:0}.GameInnerContainer .GameExtraInfo{display:flex;justify-content:flex-start;align-items:center;width:100%;height:100%;z-index:0}.GameInnerContainer .GameExtraInfoLabel{font-size:11px;padding:3px;background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));font-weight:bold;text-transform:uppercase;border-radius:5px}.GameInnerContainer:hover,.GameInnerContainer:active{cursor:pointer}.GameInnerContainer:hover .GameInfoWrapper,.GameInnerContainer:active .GameInfoWrapper{display:flex;flex-direction:column;justify-content:center}.GameInnerContainer:hover .GameBg,.GameInnerContainer:active .GameBg{filter:blur(5px) grayscale(1)}.GameInnerContainer:hover .UnfavoredIcon,.GameInnerContainer:active .UnfavoredIcon{display:flex}.GameInnerContainer:hover .GameExtraInfo{opacity:0.3}.GameNameBelow{color:var(--emw--color-white, #FFFFFF);position:relative;bottom:-5px;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.FavoredIcon,.UnfavoredIcon{width:20px;height:20px}.UnfavoredIcon{display:none}.FavIconContainer{display:flex;justify-content:center;align-items:center;cursor:pointer;z-index:15}@media(min-width: 1100px){.GamesWrapper .ListGame:hover .GamePlayNowText{z-index:4}}.ListGame.GameBackdrop .GameInnerContainer::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(0deg, rgb(0, 0, 0) 15%, rgba(0, 0, 0, 0) 100%)}.ListGame .GameInnerContainer{z-index:0}.ListGame .GameInnerContainer .GameBg{z-index:5}.ListGame .GameInnerContainer .GameExtraInfo{z-index:10}.ListGame .GameInnerContainer::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0}.ListGame .GameInnerContainer.GameInnerContainerUnavailable::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:rgba(0, 0, 0, 0.9)}.ListGame .GameInnerContainer .ListGame.GameContainerDimmed:before{display:block;content:" ";width:100%;height:100%;position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;background:rgba(0, 0, 0, 0.4);color:var(--emw--color-white, #FFFFFF);fill:var(--emw--color-white, #FFFFFF);opacity:1;border-radius:4px}.ListGame .GameInnerContainer .ListGame.GameContainerFullyDimmed:before{display:block;content:" ";width:100%;height:100%;position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;background:rgba(0, 0, 0, 0.8);color:var(--emw--color-white, #FFFFFF);fill:var(--emw--color-white, #FFFFFF);opacity:1;border-radius:4px}.ListGame .GameInnerContainer .LiveProps{display:flex;flex-direction:column;position:absolute;bottom:0px;right:0;width:100%;padding:0;background:linear-gradient(to top, var(--emw--color-black, #000000), var(--emw--color-black, #000000), transparent);color:var(--emw--color-white, #FFFFFF);opacity:1;font-size:14px}.ListGame .GameInnerContainer .ListGame:hover .LiveProps,.ListGame .GameInnerContainer .ListGameLink:hover .LiveProps{opacity:0}@keyframes red-pulse{0%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}15%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}30%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}50%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}65%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}80%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}100%{box-shadow:0 0 0 0 rgba(255, 0, 0, 0.75)}}@keyframes green-pulse{0%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}15%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}30%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}50%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}65%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}80%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}100%{box-shadow:0 0 0 0 rgba(86, 168, 10, 0.75)}}@keyframes flip-open{0%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 90deg);transform:perspective(400px) rotate3d(0, 1, 0, 90deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -20deg);transform:perspective(400px) rotate3d(0, 1, 0, -20deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 10deg);transform:perspective(400px) rotate3d(0, 1, 0, 10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -5deg);transform:perspective(400px) rotate3d(0, 1, 0, -5deg)}100%{-webkit-transform:perspective(400px);transform:perspective(400px)}}.ListGame .GameInnerContainer .silde-in-from-left{-webkit-animation-name:silde-in-from-left;animation-name:silde-in-from-left;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}@-webkit-keyframes silde-in-from-left{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%);visibility:visible}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes silde-in-from-left{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%);visibility:visible}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes flip-closed-seat{0%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 90deg);transform:perspective(400px) rotate3d(0, 1, 0, 90deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -20deg);transform:perspective(400px) rotate3d(0, 1, 0, -20deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 10deg);transform:perspective(400px) rotate3d(0, 1, 0, 10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -5deg);transform:perspective(400px) rotate3d(0, 1, 0, -5deg)}100%{-webkit-transform:perspective(400px);transform:perspective(400px)}}.ListGame .GameInnerContainer .ListGame.PulsatingGreenShadow,.ListGame .GameInnerContainer .ListGame.PulsatingRedShadow{overflow:auto}.ListGame .GameInnerContainer .ListGame.PulsatingGreenShadow{animation:green-pulse 2s linear}.ListGame .GameInnerContainer .ListGame.PulsatingRedShadow{animation:red-pulse 2s linear}.ListGame .GameInnerContainer .LiveIcons{position:relative;display:flex;padding:0 16px;box-sizing:border-box;flex-direction:row;align-items:center;justify-content:flex-start;min-height:auto;margin-bottom:5px}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons{min-height:auto}}.ListGame .GameInnerContainer .LiveIcons:first-child{margin-left:0}.ListGame .GameInnerContainer .LiveIcons:last-child{margin-right:0}.ListGame .GameInnerContainer .LiveIcons.Black,.ListGame .GameInnerContainer .LiveIcons.Red,.ListGame .GameInnerContainer .LiveIcons.Green{color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .LatestResult{min-width:12px;padding:2px;margin:0 1px;margin-right:6px;font-size:14px;text-align:center}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons .LatestResult{min-width:12px;font-size:14px;margin:0 2px;margin-right:5px;padding:2px}}.ListGame .GameInnerContainer .LiveIcons .LatestResult.FirstElementAnimated{animation:flip-open 2s both;-webkit-animation:flip-open 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First{min-width:24px;padding:4px}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Black,.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Red,.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Green{color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Black{background:var(--emw--color-black, #000000)}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Red{background:red}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Green{background:#56A80A}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons .LatestResult.First{padding:4px}}.ListGame .GameInnerContainer .LiveIcons .Double{display:flex;flex-direction:column}.ListGame .GameInnerContainer .LiveIcons .Double .LatestResult:first-child{margin-bottom:10px}.ListGame .GameInnerContainer .LiveIcons .Double:first-child .LatestResult{margin-left:0;margin-bottom:0}.ListGame .GameInnerContainer .LiveIcons .Double:last-child .LatestResult{margin-right:0}.ListGame .GameInnerContainer .LiveIcons .Black,.ListGame .GameInnerContainer .LiveIcons .Red,.ListGame .GameInnerContainer .LiveIcons .Green{background-color:transparent}.ListGame .GameInnerContainer .LiveIcons .Black{color:var(--emw--color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .Red{color:red}.ListGame .GameInnerContainer .LiveIcons .Green{color:#56A80A}.ListGame .GameInnerContainer .Blue{color:#4d90a7}.ListGame .GameInnerContainer .Red{background-color:red}.ListGame .GameInnerContainer .Black{background-color:var(--emw--color-black, #000000)}.ListGame .GameInnerContainer .Green{background-color:#56A80A}.ListGame .GameInnerContainer .White{background-color:var(--emw--color-white, #FFFFFF)}.ListGame .GameInnerContainer .Yellow{background-color:#eeca3d}.ListGame .GameInnerContainer .Gold{background-color:#866d0c}.ListGame .GameInnerContainer .Orange{background-color:#574708}.ListGame .GameInnerContainer .Purple{background-color:#330033}.ListGame .GameInnerContainer .Tie{background-color:var(--emw--color-white, #FFFFFF);background-image:linear-gradient(135deg, var(--emw--color-white, #FFFFFF) 25%, transparent 25%, transparent 50%, #212121 50%, var(--emw--color-white, #FFFFFF) 75%, transparent 75%, var(--emw--color-white, #FFFFFF))}.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{display:inline-block;width:16px;height:16px;margin-right:4px}@media(min-width: 768px){.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{width:16px;height:16px}}@media(min-width: 1100px){.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{width:16px;height:16px}}.ListGame .GameInnerContainer .OpenSeat svg,.ListGame .GameInnerContainer .ClosedSeat svg{width:100%;height:100%}.ListGame .GameInnerContainer .OpenSeat{animation:flip-closed-seat 2s both;-webkit-animation:flip-closed-seat 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .ClosedSeat{animation:flip-open 2s both;-webkit-animation:flip-open 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .OpenSeat svg{fill:transparent;stroke:var(--emw--color-white, #FFFFFF)}.ListGame .GameInnerContainer .ClosedSeat svg{fill:var(--emw--color-white, #FFFFFF)}.ListGame .GameInnerContainer .FullTable{display:flex;position:relative;z-index:10;height:20px;padding:1px 4px 1px 0;align-items:center;border-radius:3px;font-size:12px;white-space:normal;text-transform:uppercase;-webkit-animation-name:silde-in-from-left;animation-name:silde-in-from-left;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}.ListGame .GameInnerContainer .FullTable svg{width:100%;height:100%;fill:var(--emw--color-white, #FFFFFF)}.ListGame .GameInnerContainer .FullTable.ClosedSeat{margin-right:-3px}.ListGame .GameInnerContainer .PlayersDisplay{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;padding:2px 10px;background:linear-gradient(to bottom, rgba(33, 33, 33, 0.9) 0%, rgba(33, 33, 33, 0.1) 100%);color:var(--emw--color-white, #FFFFFF)}@media(min-width: 1100px){.ListGame .GameInnerContainer .PlayersDisplay{padding:2px 16px}}.ListGame .GameInnerContainer .PlayersDisplay .PlayersIcon{width:14px;height:14px;margin-right:4px}.ListGame .GameInnerContainer .PlayersDisplay .PlayersIcon svg{fill:var(--emw--color-white, #FFFFFF);width:100%;height:100%}.ListGame .GameInnerContainer .ClosedGame{opacity:1;z-index:10;padding:8px 10px;color:var(--emw--color-white, #FFFFFF);font-size:18px}@media(min-width: 1100px){.ListGame .GameInnerContainer .ClosedGame{padding:8px 16px}}.ListGame .GameInnerContainer .ClosedGame span{font-size:18px}.ListGame .GameInnerContainer .LiveLimits{opacity:1;display:flex;flex-direction:row;justify-content:space-between;padding:2px 20px 5px 20px;color:var(--emw--color-white, #FFFFFF);font-weight:normal;font-size:12px}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveLimits{padding:2px 18px 5px 18px}}.ListGame .GameInnerContainer .LiveLimits span{font-size:12px}.ListGame .GameInnerContainer .Players{display:inline-block;width:19px;height:19px}.LoaderRipple{width:80px;height:80px;position:absolute;top:40px;left:-8px}.LoaderRipple div{position:absolute;border:4px solid #fff;opacity:1;border-radius:50%;animation:ripple-effect 1s cubic-bezier(0, 0.2, 0.8, 1) infinite}.LoaderRipple div:nth-child(2){animation-delay:-0.5s}@keyframes ripple-effect{0%{top:36px;left:36px;width:0;height:0;opacity:0}4.9%{top:36px;left:36px;width:0;height:0;opacity:0}5%{top:36px;left:36px;width:0;height:0;opacity:1}100%{top:0px;left:0px;width:72px;height:72px;opacity:0}}@container (max-width: 480px){.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper{gap:0px;padding:8px 10px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName{font-size:12px;margin-top:4px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoBtn{font-size:12px;padding:2px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoVendor{font-size:8px}.CasinoGamesGridSlider .GameInnerContainer .GameExtraInfoContainer .FavoredIcon,.CasinoGamesGridSlider .GameInnerContainer .GameExtraInfoContainer .UnfavoredIcon{width:14px;height:14px}.CasinoGamesGridSlider .GameInnerContainer .GameExtraInfoContainer .GameExtraInfoLabel{font-size:8px}}')}function jd(e){let t;return{c(){t=ct("ui-skeleton"),t.innerHTML="",Mt(t,"structure","rectangle"),Mt(t,"width","200px"),Mt(t,"height","200px"),Mt(t,"border-radius","5px")},m(r,n){Rt(r,t,n)},p:z,d(r){r&&ht(t)}}}function ea(e){let t,r;return{c(){t=ct("p"),r=yr(e[4]),Ne(t,"class","GameNameBelow"),Ne(t,"title",e[4])},m(n,i){Rt(n,t,i),gr(t,r)},p(n,i){i[0]&16&&ua(r,n[4]),i[0]&16&&Ne(t,"title",n[4])},d(n){n&&ht(t)}}}function Vd(e){let t,r,n;function i(l,u){return jd}let s=i()(e),o=e[10]==="true"&&ea(e);return{c(){t=ct("div"),s.c(),r=la(),o&&o.c(),Ne(t,"class",n=`GameContainer ${e[33]} ${e[11]=="true"?"CasinoGamesGridSlider":""}`),Oi(t,"WithGameName",e[10])},m(l,u){Rt(l,t,u),s.m(t,null),gr(t,r),o&&o.m(t,null),e[69](t)},p(l,u){s.p(l,u),l[10]==="true"?o?o.p(l,u):(o=ea(l),o.c(),o.m(t,null)):o&&(o.d(1),o=null),u[0]&2048|u[1]&4&&n!==(n=`GameContainer ${l[33]} ${l[11]=="true"?"CasinoGamesGridSlider":""}`)&&Ne(t,"class",n),u[0]&3072|u[1]&4&&Oi(t,"WithGameName",l[10])},i:z,o:z,d(l){l&&ht(t),s.d(),o&&o.d(),e[69](null)}}}const ta="blackjack",ra="roulette",na="doubleballroulette",$d=7,zd=",";function Zd(e,t,r){let n;sa(e,Ba,h=>r(35,n=h));let{session:i=""}=t,{userid:a=""}=t,{lang:s="en"}=t,{clientstyling:o=""}=t,{clientstylingurl:l=""}=t,{translationurl:u=""}=t,{favorites:c=""}=t,{gamethumbnail:m=""}=t,{gamename:p=""}=t,{gamevendor:_=""}=t,{gamelaunchurl:C=""}=t,{gameid:x=""}=t,{gameisnew:X=!1}=t,{gametag:Me=""}=t,{gamefunmode:ne=!1}=t,{gamefavorite:B=!1}=t,{gamecellsize:Te=""}=t,{showfavoredcategory:J=!1}=t,{showgamename:Fe=""}=t,{currency:q=""}=t,{gamepagemodalurl:Ut="false"}=t,{endpoint:gt=""}=t,{categoryid:Le=""}=t,{mbsource:Nr}=t,{livelobbyendpoint:yt=""}=t,{connectlive:Ve=""}=t,{visibilityconnect:bt=""}=t,{integratedgameframedesktop:Wt="false"}=t,{integratedgameframemobile:jt="false"}=t,{casinogamesgridslider:ai="false"}=t,Rr=!1,Vt,si=!1,Fr,ue=window.navigator.userAgent,he,G,De,oi,Ar,Hr="HH:mm",Ae,Br={},_t,li=[],ui="EUR",Yr,Ur,Wr,vt,jr,Vr,$r,$t,zr,Zr,hi,$e,Xr,ie="",wt,ci,Jr;const js=[ta],fi=[ra,na],di={"01":"Yellow","02":"Blue",10:"Green",40:"Red","05":"Purple",20:"Orange",X7:"Gold",X2:"Gold"},mi={1:"Red",3:"Red",5:"Red",7:"Red",9:"Red",12:"Red",14:"Red",16:"Red",18:"Red",19:"Red",21:"Red",23:"Red",25:"Red",27:"Red",30:"Red",32:"Red",34:"Red",36:"Red",2:"Black",4:"Black",6:"Black",8:"Black",10:"Black",11:"Black",13:"Black",15:"Black",17:"Black",20:"Black",22:"Black",24:"Black",26:"Black",28:"Black",29:"Black",31:"Black",33:"Black",35:"Black",0:"Green","00":"Green"},Vs=()=>{fetch(u).then(v=>v.json()).then(v=>{Object.keys(v).forEach(F=>{Qi(F,v[F])})}).catch(v=>{console.log(v)})};Object.keys(Ki).forEach(h=>{Qi(h,Ki[h])});const pi=h=>{h.data.type===`AddFavoriteThumbnail_${x}`&&!J&&r(0,B=!0),h.data.type===`RemoveFavoriteThumbnail_${x}`&&!J&&r(0,B=!1),h.data.type==="UserSessionID"&&(r(16,Rr=!0),h.data.session,Vt=h.data.userID),h.data.type==="CategoryUpdate"&&r(13,G=null)},gi=h=>{window.postMessage({type:"SearchedItemClicked",gameId:h},window.location.href),Za("play_game",{gameId:h}),typeof gtag=="function"&>ag("event","OpenGame",{context:"GameThumbnail--Searched",gameId:`${h}`,userId:`${Vt||"Not logged in"}`}),Ce(ue)&&jt=="true"?window.postMessage({type:"OpenGameFrame",gameId:h,gamefunmode:ne,gamepagemodalurl:Ut,isMobile:Ce(ue),source:"GameThumbnail",identifier:"Lobby",subVendor:_,launchUrl:C,name:p,category:Le,vendorName:_,image:m,currency:q},window.location.href):Ce(ue)&&jt=="false"&&window.postMessage({type:"ShowGameModal",gameId:h,isMobile:Ce(ue),name:p,category:Le,vendorName:_,image:m,currency:q},window.location.href),!Ce(ue)&&Wt=="true"?window.postMessage({type:"OpenGameFrame",gameId:h,gamefunmode:ne,gamepagemodalurl:Ut,isMobile:Ce(ue),identifier:"Lobby",subVendor:_,launchUrl:C,name:p,category:Le,vendorName:_,image:m,currency:q},window.location.href):!Ce(ue)&&Wt=="false"&&window.postMessage({type:"ShowGameModal",gameId:h,isMobile:Ce(ue),name:p,category:Le,vendorName:_,image:m,currency:q},window.location.href)},qr=h=>{B?window.postMessage({type:`SetUnfavoredGame${Le}`,id:h},window.location.href):window.postMessage({type:`SetFavoredGame${Le}`,id:h},window.location.href)},$s=()=>{Yd(s)},zs=()=>{r(16,Rr=!0),Vt=a},Zs=h=>{h.onload=()=>{r(17,si=!0)}},Xs=(h,v)=>`${gt}/v1/encoder/lobby/updates/${h}/${v}`,yi=()=>{yt&&EventSource&&!De&&_&&x&&(De=new EventSource(Xs(_,x)),De.addEventListener("message",_i))},bi=()=>{De&&(De.close(),De=void 0)},_i=h=>Kr(this,null,function*(){const{type:v,data:F}=h;let Q;switch(v){case"message":{if(F)try{Q=JSON.parse(F)}catch(ce){console.error("MESSAGE PARSING ERROR: ",ce)}if(Q){const{InternalTableId:ce,MessageType:Zt,Results:Ge,Seats:Xt,Open:Jt}=Q;if(ce)switch(Zt){case"SeatsUpdated":{Xt&&Array.isArray(Xt)&&(r(28,vt=Xt),r(13,G.currentOccupiedSeats=Xt,G),yield xt());break}case"RouletteResultsUpdated":{Ge&&Array.isArray(Ge)&&(jr=Ge,r(13,G.currentRouletteNumbers=Ge,G),yield xt());break}case"DoubleBallRouletteResultsUpdated":{Ge&&Array.isArray(Ge)&&(Vr=Ge,r(13,G.currentDoubleBallRouletteNumbers=Ge,G),yield xt());break}case"TableOpened":{r(22,Ae=Jt),r(13,G.isOpen=Jt,G),yield xt();break}case"TableClosed":{r(22,Ae=Jt),r(13,G.isOpen=Jt,G),yield xt();break}}}}}}),Js=()=>{let h=new URL(`${yt.split("?")[0]}`);h.searchParams.append("platform",za(ue)),h.searchParams.append("language",s),fetch(h).then(v=>v.json()).then(v=>{const{details:F}=v[0];r(13,G=F)})},vi=(h,v=zd)=>h!=null?`${h}`.replace(/\B(?=(\d{3})+(?!\d))/g,v):"",zt=(h,v)=>h.some(F=>F===v),qs=h=>{let v=null;if(h){const{vendorCategory:F}=h;if(F){const Q=F.toLowerCase();zt(js,Q)?v=ta:zt(fi,Q)&&(v=ra)}}return v},Qs=(h,v,F)=>{let Q,ce;return h!=null&&v!==void 0&&v!==null&&(ce=`
|
|
28
|
+
<span>
|
|
29
|
+
${F}
|
|
30
|
+
</span>
|
|
31
|
+
${vi(h)}-${vi(v)}`),Jr&&(Q=`
|
|
32
|
+
<svg fill="var(--emw--color-white, #FFFFFF);" width="13" height="13" viewBox="0 0 13 14" xmlns="http://www.w3.org/2000/svg"><path d="M4 8.2a4.6 4.6 0 0 0 5 0c2.7.8 4 2.6 4 4.8H0c0-2.2 1.3-4 4-4.8zM6.6 8c2 0 3.8-1.7 3.8-4 0-2.1-1.7-4-3.8-4a3.9 3.9 0 0 0-3.8 4c0 2.2 1.7 4 3.8 4z"/></svg>
|
|
33
|
+
<span class="NrOfPlayers">${Jr}</span>`),!Q&&!ce?"":`
|
|
34
|
+
<p class="LiveLimits">
|
|
35
|
+
<span class="BetLimitLeft">
|
|
36
|
+
${ce||""}
|
|
37
|
+
</span>
|
|
38
|
+
<span class="BetLimitRight">
|
|
39
|
+
${Q||""}
|
|
40
|
+
</span>
|
|
41
|
+
</p>`},Ks=h=>h?`
|
|
42
|
+
<p class="LiveLimits">
|
|
43
|
+
<span class="DealerName">${n("dealer")}: ${h}</span>
|
|
44
|
+
</p>
|
|
45
|
+
`:"",eo=h=>{Wr=h.totalSeats||$d,r(28,vt=h.currentOccupiedSeats||[]);const v=[];for(let F=1;F<=Wr;F++)v.push(F);return{seats:v}},to=(h,v,F,Q="")=>{const ce=`${h} ${Q}`,Zt=v.toString().match(/first0|second0|0/g);return v===0||Zt&&Zt.length!==0?`
|
|
46
|
+
<span
|
|
47
|
+
id=${v}
|
|
48
|
+
class="${ce}"
|
|
49
|
+
>
|
|
50
|
+
${F}
|
|
51
|
+
</span>
|
|
52
|
+
`:`
|
|
53
|
+
<span id=${v} class="${ce}">
|
|
54
|
+
${F}
|
|
55
|
+
</span>
|
|
56
|
+
`},ro=()=>{const h="FirstElementAnimated",v=wt.getElementsByClassName("First")[0];v&&(v.classList.add(h),setTimeout(()=>{v.classList.remove(h)},2e3))},no=()=>{if(G){if(r(22,Ae=G.isOpen),Br=G.betLimit||{},r(23,_t=G.openHours),r(24,li=eo(G).seats),_t&&_t.value){const{value:{startTime:h,originalTimeFormat:v}}=_t;r(20,Ar=h),r(21,Hr=v||Hr)}Ae&&r(19,oi=qs(G)),r(25,ui=Ud[q]),r(26,Yr=(Br.min||{})[q]),r(27,Ur=(Br.max||{})[q]),jr=G.currentRouletteNumbers,Vr=G.currentDoubleBallRouletteNumbers,$r=G.vendorCategory,r(29,$t=$r.toLowerCase()===na),r(14,zr=($t?Vr:jr)||[]),r(30,Zr="GameProp LiveProps RoulleteProps"),r(30,Zr+=$t?" Double":""),r(31,hi=zt(fi,$r.toLowerCase())?mi:di),Xr=$e,r(32,$e=Array.isArray(vt)&&vt.length===Wr),G.dealer&&r(34,ci=G.dealer.DealerName),Jr=G.numberOfPlayers,r(33,ie="ListGame"),G.isOpen&&G.currentRouletteNumbers&&r(33,ie+=" GameBackdrop"),Ae&&$e&&Yr&&Ur&&G.currentOccupiedSeats?r(33,ie+=" GameContainerDimmed"):Ae===!1&&Ar&&r(33,ie+=" GameContainerFullyDimmed"),he&&(!Xr&&$e?(r(33,ie+=" PulsatingRedShadow"),r(33,ie=ie.replace(" PulsatingGreenShadow",""))):Xr&&!$e&&(r(33,ie+=" PulsatingGreenShadow"),r(33,ie=ie.replace(" PulsatingRedShadow",""))))}},io=()=>{Ve==="disconnect"?bi():Ve==="connect"&&yi()},ao=()=>{bt==="disconnect"?bi():bt==="connect"&&Ve==="connect"&&yi()};ha(()=>(window.addEventListener("message",pi,!1),()=>{window.removeEventListener("message",pi),De&&De.removeEventListener("message",_i)}));function so(h){Ke[h?"unshift":"push"](()=>{Fr=h,r(18,Fr)})}const oo=()=>gi(x);function lo(h){Ke[h?"unshift":"push"](()=>{wt=h,r(15,wt)})}const uo=()=>qr(x),ho=()=>qr(x);function co(h){Ke[h?"unshift":"push"](()=>{he=h,r(12,he)})}return e.$$set=h=>{"session"in h&&r(44,i=h.session),"userid"in h&&r(45,a=h.userid),"lang"in h&&r(1,s=h.lang),"clientstyling"in h&&r(46,o=h.clientstyling),"clientstylingurl"in h&&r(47,l=h.clientstylingurl),"translationurl"in h&&r(48,u=h.translationurl),"favorites"in h&&r(2,c=h.favorites),"gamethumbnail"in h&&r(3,m=h.gamethumbnail),"gamename"in h&&r(4,p=h.gamename),"gamevendor"in h&&r(5,_=h.gamevendor),"gamelaunchurl"in h&&r(49,C=h.gamelaunchurl),"gameid"in h&&r(6,x=h.gameid),"gameisnew"in h&&r(7,X=h.gameisnew),"gametag"in h&&r(8,Me=h.gametag),"gamefunmode"in h&&r(50,ne=h.gamefunmode),"gamefavorite"in h&&r(0,B=h.gamefavorite),"gamecellsize"in h&&r(9,Te=h.gamecellsize),"showfavoredcategory"in h&&r(51,J=h.showfavoredcategory),"showgamename"in h&&r(10,Fe=h.showgamename),"currency"in h&&r(52,q=h.currency),"gamepagemodalurl"in h&&r(53,Ut=h.gamepagemodalurl),"endpoint"in h&&r(54,gt=h.endpoint),"categoryid"in h&&r(55,Le=h.categoryid),"mbsource"in h&&r(56,Nr=h.mbsource),"livelobbyendpoint"in h&&r(57,yt=h.livelobbyendpoint),"connectlive"in h&&r(58,Ve=h.connectlive),"visibilityconnect"in h&&r(59,bt=h.visibilityconnect),"integratedgameframedesktop"in h&&r(60,Wt=h.integratedgameframedesktop),"integratedgameframemobile"in h&&r(61,jt=h.integratedgameframemobile),"casinogamesgridslider"in h&&r(11,ai=h.casinogamesgridslider)},e.$$.update=()=>{e.$$.dirty[1]&134217728&&Ve&&io(),e.$$.dirty[1]&268435456&&bt&&ao(),e.$$.dirty[0]&2&&s&&$s(),e.$$.dirty[1]&8413184&&i&&a&>&&zs(),e.$$.dirty[0]&4096|e.$$.dirty[1]&32768&&o&&he&&Xa(he,o),e.$$.dirty[0]&4096|e.$$.dirty[1]&65536&&l&&he&&Ja(he,l),e.$$.dirty[0]&4096|e.$$.dirty[1]&33554432&&he&&qa(he,`${Nr}.Style`),e.$$.dirty[0]&4,e.$$.dirty[1]&131072&&u&&Vs(),e.$$.dirty[1]&75497472&>&&yt&&Js(),e.$$.dirty[0]&8192&&G&&no(),e.$$.dirty[0]&49152&&wt&&zr&&ro()},[B,s,c,m,p,_,x,X,Me,Te,Fe,ai,he,G,zr,wt,Rr,si,Fr,oi,Ar,Hr,Ae,_t,li,ui,Yr,Ur,vt,$t,Zr,hi,$e,ie,ci,n,ue,gi,qr,Zs,zt,Qs,Ks,to,i,a,o,l,u,C,ne,J,q,Ut,gt,Le,Nr,yt,Ve,bt,Wt,jt,di,mi,so,oo,lo,uo,ho,co]}class Ws extends ga{constructor(t){super(),da(this,t,Zd,Vd,Nn,{session:44,userid:45,lang:1,clientstyling:46,clientstylingurl:47,translationurl:48,favorites:2,gamethumbnail:3,gamename:4,gamevendor:5,gamelaunchurl:49,gameid:6,gameisnew:7,gametag:8,gamefunmode:50,gamefavorite:0,gamecellsize:9,showfavoredcategory:51,showgamename:10,currency:52,gamepagemodalurl:53,endpoint:54,categoryid:55,mbsource:56,livelobbyendpoint:57,connectlive:58,visibilityconnect:59,integratedgameframedesktop:60,integratedgameframemobile:61,casinogamesgridslider:11,MONEY_WHEEL_COLOR_MAP:62,ROULETTE_COLOR_MAP:63},Wd,[-1,-1,-1,-1])}get session(){return this.$$.ctx[44]}set session(t){this.$$set({session:t}),M()}get userid(){return this.$$.ctx[45]}set userid(t){this.$$set({userid:t}),M()}get lang(){return this.$$.ctx[1]}set lang(t){this.$$set({lang:t}),M()}get clientstyling(){return this.$$.ctx[46]}set clientstyling(t){this.$$set({clientstyling:t}),M()}get clientstylingurl(){return this.$$.ctx[47]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),M()}get translationurl(){return this.$$.ctx[48]}set translationurl(t){this.$$set({translationurl:t}),M()}get favorites(){return this.$$.ctx[2]}set favorites(t){this.$$set({favorites:t}),M()}get gamethumbnail(){return this.$$.ctx[3]}set gamethumbnail(t){this.$$set({gamethumbnail:t}),M()}get gamename(){return this.$$.ctx[4]}set gamename(t){this.$$set({gamename:t}),M()}get gamevendor(){return this.$$.ctx[5]}set gamevendor(t){this.$$set({gamevendor:t}),M()}get gamelaunchurl(){return this.$$.ctx[49]}set gamelaunchurl(t){this.$$set({gamelaunchurl:t}),M()}get gameid(){return this.$$.ctx[6]}set gameid(t){this.$$set({gameid:t}),M()}get gameisnew(){return this.$$.ctx[7]}set gameisnew(t){this.$$set({gameisnew:t}),M()}get gametag(){return this.$$.ctx[8]}set gametag(t){this.$$set({gametag:t}),M()}get gamefunmode(){return this.$$.ctx[50]}set gamefunmode(t){this.$$set({gamefunmode:t}),M()}get gamefavorite(){return this.$$.ctx[0]}set gamefavorite(t){this.$$set({gamefavorite:t}),M()}get gamecellsize(){return this.$$.ctx[9]}set gamecellsize(t){this.$$set({gamecellsize:t}),M()}get showfavoredcategory(){return this.$$.ctx[51]}set showfavoredcategory(t){this.$$set({showfavoredcategory:t}),M()}get showgamename(){return this.$$.ctx[10]}set showgamename(t){this.$$set({showgamename:t}),M()}get currency(){return this.$$.ctx[52]}set currency(t){this.$$set({currency:t}),M()}get gamepagemodalurl(){return this.$$.ctx[53]}set gamepagemodalurl(t){this.$$set({gamepagemodalurl:t}),M()}get endpoint(){return this.$$.ctx[54]}set endpoint(t){this.$$set({endpoint:t}),M()}get categoryid(){return this.$$.ctx[55]}set categoryid(t){this.$$set({categoryid:t}),M()}get mbsource(){return this.$$.ctx[56]}set mbsource(t){this.$$set({mbsource:t}),M()}get livelobbyendpoint(){return this.$$.ctx[57]}set livelobbyendpoint(t){this.$$set({livelobbyendpoint:t}),M()}get connectlive(){return this.$$.ctx[58]}set connectlive(t){this.$$set({connectlive:t}),M()}get visibilityconnect(){return this.$$.ctx[59]}set visibilityconnect(t){this.$$set({visibilityconnect:t}),M()}get integratedgameframedesktop(){return this.$$.ctx[60]}set integratedgameframedesktop(t){this.$$set({integratedgameframedesktop:t}),M()}get integratedgameframemobile(){return this.$$.ctx[61]}set integratedgameframemobile(t){this.$$set({integratedgameframemobile:t}),M()}get casinogamesgridslider(){return this.$$.ctx[11]}set casinogamesgridslider(t){this.$$set({casinogamesgridslider:t}),M()}get MONEY_WHEEL_COLOR_MAP(){return this.$$.ctx[62]}get ROULETTE_COLOR_MAP(){return this.$$.ctx[63]}}pa(Ws,{session:{},userid:{},lang:{},clientstyling:{},clientstylingurl:{},translationurl:{},favorites:{},gamethumbnail:{},gamename:{},gamevendor:{},gamelaunchurl:{},gameid:{},gameisnew:{type:"Boolean"},gametag:{},gamefunmode:{type:"Boolean"},gamefavorite:{type:"Boolean"},gamecellsize:{},showfavoredcategory:{type:"Boolean"},showgamename:{},currency:{},gamepagemodalurl:{},endpoint:{},categoryid:{},mbsource:{},livelobbyendpoint:{},connectlive:{},visibilityconnect:{},integratedgameframedesktop:{},integratedgameframemobile:{},casinogamesgridslider:{}},[],["MONEY_WHEEL_COLOR_MAP","ROULETTE_COLOR_MAP"],!0);const Xd=Object.freeze(Object.defineProperty({__proto__:null,default:Ws},Symbol.toStringTag,{value:"Module"}));exports.$format=Ba;exports.$locale=We;exports.CasinoGameThumbnail_ce=Xd;exports.SvelteComponent=ga;exports.addMessages=Fn;exports.append=gr;exports.append_styles=oa;exports.attr=Ne;exports.binding_callbacks=Ke;exports.component_subscribe=sa;exports.create_custom_element=pa;exports.destroy_each=wo;exports.detach=ht;exports.dispatchCustomEvent=Za;exports.element=ct;exports.empty=So;exports.ensure_array_like=ko;exports.flush=M;exports.getDevice=za;exports.hooks=d;exports.init=da;exports.insert=Rt;exports.listen=Eo;exports.noop=z;exports.onMount=ha;exports.run_all=ut;exports.safe_not_equal=Nn;exports.setClientStyling=Xa;exports.setClientStylingURL=Ja;exports.setStreamStyling=qa;exports.set_custom_element_data=Mt;exports.set_data=ua;exports.set_input_value=Mo;exports.space=la;exports.svg_element=xo;exports.text=yr;
|