@everymatrix/casino-footer 1.54.8 → 1.54.9

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.
@@ -1,4 +1,4 @@
1
- "use strict";var lo=Object.defineProperty,uo=Object.defineProperties;var fo=Object.getOwnPropertyDescriptors;var si=Object.getOwnPropertySymbols;var ho=Object.prototype.hasOwnProperty,co=Object.prototype.propertyIsEnumerable;var Br=(e,t,r)=>t in e?lo(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,ai=(e,t)=>{for(var r in t||(t={}))ho.call(t,r)&&Br(e,r,t[r]);if(si)for(var r of si(t))co.call(t,r)&&Br(e,r,t[r]);return e},oi=(e,t)=>uo(e,fo(t));var oe=(e,t,r)=>Br(e,typeof t!="symbol"?t+"":t,r);var li=(e,t,r)=>new Promise((n,i)=>{var s=l=>{try{o(r.next(l))}catch(u){i(u)}},a=l=>{try{o(r.throw(l))}catch(u){i(u)}},o=l=>l.done?n(l.value):Promise.resolve(l.value).then(s,a);o((r=r.apply(e,t)).next())});function re(){}function ms(e){return e()}function ui(){return Object.create(null)}function Ve(e){e.forEach(ms)}function We(e){return typeof e=="function"}function Tn(e,t){return e!=e?t==t:e!==t||e&&typeof e=="object"||typeof e=="function"}let zt;function Ie(e,t){return e===t?!0:(zt||(zt=document.createElement("a")),zt.href=t,e===zt.href)}function mo(e){return Object.keys(e).length===0}function ps(e,...t){if(e==null){for(const n of t)n(void 0);return re}const r=e.subscribe(...t);return r.unsubscribe?()=>r.unsubscribe():r}function _s(e,t,r){e.$$.on_destroy.push(ps(t,r))}function Ur(e){return e&&We(e.destroy)?e.destroy:re}const po=typeof window!="undefined"?window:typeof globalThis!="undefined"?globalThis:global;function v(e,t){e.appendChild(t)}function gs(e,t,r){const n=_o(e);if(!n.getElementById(t)){const i=E("style");i.id=t,i.textContent=r,go(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 go(e,t){return v(e.head||e,t),t.sheet}function A(e,t,r){e.insertBefore(t,r||null)}function H(e){e.parentNode&&e.parentNode.removeChild(e)}function en(e,t){for(let r=0;r<e.length;r+=1)e[r]&&e[r].d(t)}function E(e){return document.createElement(e)}function K(e){return document.createTextNode(e)}function z(){return K(" ")}function ys(){return K("")}function wt(e,t,r,n){return e.addEventListener(t,r,n),()=>e.removeEventListener(t,r,n)}function m(e,t,r){r==null?e.removeAttribute(t):e.getAttribute(t)!==r&&e.setAttribute(t,r)}function g(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:m(e,t,r)}function yo(e){return Array.from(e.childNodes)}function ie(e,t){t=""+t,e.data!==t&&(e.data=t)}function fi(e,t){e.value=t==null?"":t}function hi(e,t,r){for(let n=0;n<e.options.length;n+=1){const i=e.options[n];if(i.__value===t){i.selected=!0;return}}(!r||t!==void 0)&&(e.selectedIndex=-1)}function bo(e){const t=e.querySelector(":checked");return t&&t.__value}function vo(e,t,r){e.classList.toggle(t,!!r)}function wo(e){const t={};return e.childNodes.forEach(r=>{t[r.slot||"default"]=!0}),t}let Et;function St(e){Et=e}function So(){if(!Et)throw new Error("Function called outside component initialization");return Et}function bs(e){So().$$.on_mount.push(e)}const Qe=[],Mt=[];let tt=[];const ci=[],To=Promise.resolve();let tn=!1;function Eo(){tn||(tn=!0,To.then(Z))}function sr(e){tt.push(e)}const Wr=new Set;let Xe=0;function Z(){if(Xe!==0)return;const e=Et;do{try{for(;Xe<Qe.length;){const t=Qe[Xe];Xe++,St(t),Mo(t.$$)}}catch(t){throw Qe.length=0,Xe=0,t}for(St(null),Qe.length=0,Xe=0;Mt.length;)Mt.pop()();for(let t=0;t<tt.length;t+=1){const r=tt[t];Wr.has(r)||(Wr.add(r),r())}tt.length=0}while(Qe.length);for(;ci.length;)ci.pop()();tn=!1,Wr.clear(),St(e)}function Mo(e){if(e.fragment!==null){e.update(),Ve(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(sr)}}function xo(e){const t=[],r=[];tt.forEach(n=>e.indexOf(n)===-1?t.push(n):r.push(n)),r.forEach(n=>n()),tt=t}const Oo=new Set;function ko(e,t){e&&e.i&&(Oo.delete(e),e.i(t))}function vt(e){return(e==null?void 0:e.length)!==void 0?e:Array.from(e)}function Do(e,t,r){const{fragment:n,after_update:i}=e.$$;n&&n.m(t,r),sr(()=>{const s=e.$$.on_mount.map(ms).filter(We);e.$$.on_destroy?e.$$.on_destroy.push(...s):Ve(s),e.$$.on_mount=[]}),i.forEach(sr)}function Po(e,t){const r=e.$$;r.fragment!==null&&(xo(r.after_update),Ve(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&&(Qe.push(e),Eo(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function vs(e,t,r,n,i,s,a=null,o=[-1]){const l=Et;St(e);const u=e.$$={fragment:null,ctx:[],props:s,update:re,not_equal:i,bound:ui(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(l?l.$$.context:[])),callbacks:ui(),dirty:o,skip_bound:!1,root:t.target||l.$$.root};a&&a(u.root);let f=!1;if(u.ctx=r?r(e,t.props||{},(h,c,...S)=>{const w=S.length?S[0]:c;return u.ctx&&i(u.ctx[h],u.ctx[h]=w)&&(!u.skip_bound&&u.bound[h]&&u.bound[h](w),f&&Ro(e,h)),c}):[],u.update(),f=!0,Ve(u.before_update),u.fragment=n?n(u.ctx):!1,t.target){if(t.hydrate){const h=yo(t.target);u.fragment&&u.fragment.l(h),h.forEach(H)}else u.fragment&&u.fragment.c();t.intro&&ko(e.$$.fragment),Do(e,t.target,t.anchor),Z()}St(l)}let ws;typeof HTMLElement=="function"&&(ws=class extends HTMLElement{constructor(t,r,n){super();oe(this,"$$ctor");oe(this,"$$s");oe(this,"$$c");oe(this,"$$cn",!1);oe(this,"$$d",{});oe(this,"$$r",!1);oe(this,"$$p_d",{});oe(this,"$$l",{});oe(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 li(this,null,function*(){if(this.$$cn=!0,!this.$$c){let t=function(s){return()=>{let a;return{c:function(){a=E("slot"),s!=="default"&&m(a,"name",s)},m:function(u,f){A(u,a,f)},d:function(u){u&&H(a)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const r={},n=wo(this);for(const s of this.$$s)s in n&&(r[s]=[t(s)]);for(const s of this.attributes){const a=this.$$g_p(s.name);a in this.$$d||(this.$$d[a]=Qt(a,s.value,this.$$p_d,"toProp"))}for(const s in this.$$p_d)!(s in this.$$d)&&this[s]!==void 0&&(this.$$d[s]=this[s],delete this[s]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:oi(ai({},this.$$d),{$$slots:r,$$scope:{ctx:[]}})});const i=()=>{this.$$r=!0;for(const s in this.$$p_d)if(this.$$d[s]=this.$$c.$$.ctx[this.$$c.$$.props[s]],this.$$p_d[s].reflect){const a=Qt(s,this.$$d[s],this.$$p_d,"toAttribute");a==null?this.removeAttribute(this.$$p_d[s].attribute||s):this.setAttribute(this.$$p_d[s].attribute||s,a)}this.$$r=!1};this.$$c.$$.after_update.push(i),i();for(const s in this.$$l)for(const a of this.$$l[s]){const o=this.$$c.$on(s,a);this.$$l_u.set(a,o)}this.$$l={}}})}attributeChangedCallback(t,r,n){var i;this.$$r||(t=this.$$g_p(t),this.$$d[t]=Qt(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 Qt(e,t,r,n){var s;const i=(s=r[e])==null?void 0:s.type;if(t=i==="Boolean"&&typeof t!="boolean"?t!=null:t,!n||!r[e])return t;if(n==="toAttribute")switch(i){case"Object":case"Array":return t==null?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return t==null?null:t;default:return t}else switch(i){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function Ss(e,t,r,n,i,s){let a=class extends ws{constructor(){super(e,r,i),this.$$p_d=t}static get observedAttributes(){return Object.keys(t).map(o=>(t[o].attribute||o).toLowerCase())}};return Object.keys(t).forEach(o=>{Object.defineProperty(a.prototype,o,{get(){return this.$$c&&o in this.$$c?this.$$c[o]:this.$$d[o]},set(l){var u;l=Qt(o,l,t),this.$$d[o]=l,(u=this.$$c)==null||u.$set({[o]:l})}})}),n.forEach(o=>{Object.defineProperty(a.prototype,o,{get(){var l;return(l=this.$$c)==null?void 0:l[o]}})}),e.element=a,a}class Ts{constructor(){oe(this,"$$");oe(this,"$$set")}$destroy(){Po(this,1),this.$destroy=re}$on(t,r){if(!We(r))return re;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&&!mo(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const Ho="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(Ho);if(typeof window!="undefined"){let e=function(t){return function(...r){try{return t.apply(this,r)}catch(n){if(n instanceof DOMException&&n.message.includes("has already been used with this registry")||n.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw n}}};customElements.define=e(customElements.define),Promise.resolve().then(()=>require("./CasinoFooterSection-F5GvhrCE.cjs")).then(({default:t})=>{!customElements.get("casino-footer-section")&&customElements.define("casino-footer-section",t.element)})}if(typeof window!="undefined"){let e=function(t){return function(...r){try{return t.apply(this,r)}catch(n){if(n instanceof DOMException&&n.message.includes("has already been used with this registry")||n.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw n}}};customElements.define=e(customElements.define),Promise.resolve().then(()=>require("./PlayerPanicButton-BLn8n_8B.cjs")).then(({default:t})=>{!customElements.get("player-panic-button")&&customElements.define("player-panic-button",t.element)})}function No(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Co(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
1
+ "use strict";var lo=Object.defineProperty,uo=Object.defineProperties;var ho=Object.getOwnPropertyDescriptors;var si=Object.getOwnPropertySymbols;var fo=Object.prototype.hasOwnProperty,co=Object.prototype.propertyIsEnumerable;var Br=(e,t,r)=>t in e?lo(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,ai=(e,t)=>{for(var r in t||(t={}))fo.call(t,r)&&Br(e,r,t[r]);if(si)for(var r of si(t))co.call(t,r)&&Br(e,r,t[r]);return e},oi=(e,t)=>uo(e,ho(t));var oe=(e,t,r)=>Br(e,typeof t!="symbol"?t+"":t,r);var li=(e,t,r)=>new Promise((n,i)=>{var s=l=>{try{o(r.next(l))}catch(u){i(u)}},a=l=>{try{o(r.throw(l))}catch(u){i(u)}},o=l=>l.done?n(l.value):Promise.resolve(l.value).then(s,a);o((r=r.apply(e,t)).next())});function re(){}function ms(e){return e()}function ui(){return Object.create(null)}function Ve(e){e.forEach(ms)}function We(e){return typeof e=="function"}function Tn(e,t){return e!=e?t==t:e!==t||e&&typeof e=="object"||typeof e=="function"}let zt;function Ie(e,t){return e===t?!0:(zt||(zt=document.createElement("a")),zt.href=t,e===zt.href)}function mo(e){return Object.keys(e).length===0}function ps(e,...t){if(e==null){for(const n of t)n(void 0);return re}const r=e.subscribe(...t);return r.unsubscribe?()=>r.unsubscribe():r}function _s(e,t,r){e.$$.on_destroy.push(ps(t,r))}function Ur(e){return e&&We(e.destroy)?e.destroy:re}const po=typeof window!="undefined"?window:typeof globalThis!="undefined"?globalThis:global;function v(e,t){e.appendChild(t)}function gs(e,t,r){const n=_o(e);if(!n.getElementById(t)){const i=E("style");i.id=t,i.textContent=r,go(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 go(e,t){return v(e.head||e,t),t.sheet}function A(e,t,r){e.insertBefore(t,r||null)}function H(e){e.parentNode&&e.parentNode.removeChild(e)}function en(e,t){for(let r=0;r<e.length;r+=1)e[r]&&e[r].d(t)}function E(e){return document.createElement(e)}function K(e){return document.createTextNode(e)}function z(){return K(" ")}function ys(){return K("")}function wt(e,t,r,n){return e.addEventListener(t,r,n),()=>e.removeEventListener(t,r,n)}function m(e,t,r){r==null?e.removeAttribute(t):e.getAttribute(t)!==r&&e.setAttribute(t,r)}function g(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:m(e,t,r)}function yo(e){return Array.from(e.childNodes)}function ie(e,t){t=""+t,e.data!==t&&(e.data=t)}function hi(e,t){e.value=t==null?"":t}function fi(e,t,r){for(let n=0;n<e.options.length;n+=1){const i=e.options[n];if(i.__value===t){i.selected=!0;return}}(!r||t!==void 0)&&(e.selectedIndex=-1)}function bo(e){const t=e.querySelector(":checked");return t&&t.__value}function vo(e,t,r){e.classList.toggle(t,!!r)}function wo(e){const t={};return e.childNodes.forEach(r=>{t[r.slot||"default"]=!0}),t}let Et;function St(e){Et=e}function So(){if(!Et)throw new Error("Function called outside component initialization");return Et}function bs(e){So().$$.on_mount.push(e)}const Qe=[],Mt=[];let tt=[];const ci=[],To=Promise.resolve();let tn=!1;function Eo(){tn||(tn=!0,To.then(Z))}function sr(e){tt.push(e)}const Wr=new Set;let Xe=0;function Z(){if(Xe!==0)return;const e=Et;do{try{for(;Xe<Qe.length;){const t=Qe[Xe];Xe++,St(t),Mo(t.$$)}}catch(t){throw Qe.length=0,Xe=0,t}for(St(null),Qe.length=0,Xe=0;Mt.length;)Mt.pop()();for(let t=0;t<tt.length;t+=1){const r=tt[t];Wr.has(r)||(Wr.add(r),r())}tt.length=0}while(Qe.length);for(;ci.length;)ci.pop()();tn=!1,Wr.clear(),St(e)}function Mo(e){if(e.fragment!==null){e.update(),Ve(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(sr)}}function xo(e){const t=[],r=[];tt.forEach(n=>e.indexOf(n)===-1?t.push(n):r.push(n)),r.forEach(n=>n()),tt=t}const Oo=new Set;function ko(e,t){e&&e.i&&(Oo.delete(e),e.i(t))}function vt(e){return(e==null?void 0:e.length)!==void 0?e:Array.from(e)}function Do(e,t,r){const{fragment:n,after_update:i}=e.$$;n&&n.m(t,r),sr(()=>{const s=e.$$.on_mount.map(ms).filter(We);e.$$.on_destroy?e.$$.on_destroy.push(...s):Ve(s),e.$$.on_mount=[]}),i.forEach(sr)}function Po(e,t){const r=e.$$;r.fragment!==null&&(xo(r.after_update),Ve(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&&(Qe.push(e),Eo(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function vs(e,t,r,n,i,s,a=null,o=[-1]){const l=Et;St(e);const u=e.$$={fragment:null,ctx:[],props:s,update:re,not_equal:i,bound:ui(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(l?l.$$.context:[])),callbacks:ui(),dirty:o,skip_bound:!1,root:t.target||l.$$.root};a&&a(u.root);let h=!1;if(u.ctx=r?r(e,t.props||{},(f,c,...S)=>{const w=S.length?S[0]:c;return u.ctx&&i(u.ctx[f],u.ctx[f]=w)&&(!u.skip_bound&&u.bound[f]&&u.bound[f](w),h&&Ro(e,f)),c}):[],u.update(),h=!0,Ve(u.before_update),u.fragment=n?n(u.ctx):!1,t.target){if(t.hydrate){const f=yo(t.target);u.fragment&&u.fragment.l(f),f.forEach(H)}else u.fragment&&u.fragment.c();t.intro&&ko(e.$$.fragment),Do(e,t.target,t.anchor),Z()}St(l)}let ws;typeof HTMLElement=="function"&&(ws=class extends HTMLElement{constructor(t,r,n){super();oe(this,"$$ctor");oe(this,"$$s");oe(this,"$$c");oe(this,"$$cn",!1);oe(this,"$$d",{});oe(this,"$$r",!1);oe(this,"$$p_d",{});oe(this,"$$l",{});oe(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 li(this,null,function*(){if(this.$$cn=!0,!this.$$c){let t=function(s){return()=>{let a;return{c:function(){a=E("slot"),s!=="default"&&m(a,"name",s)},m:function(u,h){A(u,a,h)},d:function(u){u&&H(a)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const r={},n=wo(this);for(const s of this.$$s)s in n&&(r[s]=[t(s)]);for(const s of this.attributes){const a=this.$$g_p(s.name);a in this.$$d||(this.$$d[a]=Qt(a,s.value,this.$$p_d,"toProp"))}for(const s in this.$$p_d)!(s in this.$$d)&&this[s]!==void 0&&(this.$$d[s]=this[s],delete this[s]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:oi(ai({},this.$$d),{$$slots:r,$$scope:{ctx:[]}})});const i=()=>{this.$$r=!0;for(const s in this.$$p_d)if(this.$$d[s]=this.$$c.$$.ctx[this.$$c.$$.props[s]],this.$$p_d[s].reflect){const a=Qt(s,this.$$d[s],this.$$p_d,"toAttribute");a==null?this.removeAttribute(this.$$p_d[s].attribute||s):this.setAttribute(this.$$p_d[s].attribute||s,a)}this.$$r=!1};this.$$c.$$.after_update.push(i),i();for(const s in this.$$l)for(const a of this.$$l[s]){const o=this.$$c.$on(s,a);this.$$l_u.set(a,o)}this.$$l={}}})}attributeChangedCallback(t,r,n){var i;this.$$r||(t=this.$$g_p(t),this.$$d[t]=Qt(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 Qt(e,t,r,n){var s;const i=(s=r[e])==null?void 0:s.type;if(t=i==="Boolean"&&typeof t!="boolean"?t!=null:t,!n||!r[e])return t;if(n==="toAttribute")switch(i){case"Object":case"Array":return t==null?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return t==null?null:t;default:return t}else switch(i){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function Ss(e,t,r,n,i,s){let a=class extends ws{constructor(){super(e,r,i),this.$$p_d=t}static get observedAttributes(){return Object.keys(t).map(o=>(t[o].attribute||o).toLowerCase())}};return Object.keys(t).forEach(o=>{Object.defineProperty(a.prototype,o,{get(){return this.$$c&&o in this.$$c?this.$$c[o]:this.$$d[o]},set(l){var u;l=Qt(o,l,t),this.$$d[o]=l,(u=this.$$c)==null||u.$set({[o]:l})}})}),n.forEach(o=>{Object.defineProperty(a.prototype,o,{get(){var l;return(l=this.$$c)==null?void 0:l[o]}})}),e.element=a,a}class Ts{constructor(){oe(this,"$$");oe(this,"$$set")}$destroy(){Po(this,1),this.$destroy=re}$on(t,r){if(!We(r))return re;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&&!mo(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const Ho="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(Ho);if(typeof window!="undefined"){let e=function(t){return function(...r){try{return t.apply(this,r)}catch(n){if(n instanceof DOMException&&n.message.includes("has already been used with this registry")||n.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw n}}};customElements.define=e(customElements.define),Promise.resolve().then(()=>require("./CasinoFooterSection-Cr13wWan.cjs")).then(({default:t})=>{!customElements.get("casino-footer-section")&&customElements.define("casino-footer-section",t.element)})}if(typeof window!="undefined"){let e=function(t){return function(...r){try{return t.apply(this,r)}catch(n){if(n instanceof DOMException&&n.message.includes("has already been used with this registry")||n.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw n}}};customElements.define=e(customElements.define),Promise.resolve().then(()=>require("./PlayerPanicButton-ZbNz-yV0.cjs")).then(({default:t})=>{!customElements.get("player-panic-button")&&customElements.define("player-panic-button",t.element)})}function No(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Co(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}//! moment.js
2
2
  //! version : 2.30.1
3
3
  //! authors : Tim Wood, Iskren Chernev, Moment.js contributors
4
4
  //! license : MIT
@@ -6,9 +6,9 @@
6
6
  var Es;function y(){return Es.apply(null,arguments)}function Lo(e){Es=e}function me(e){return e instanceof Array||Object.prototype.toString.call(e)==="[object Array]"}function je(e){return e!=null&&Object.prototype.toString.call(e)==="[object Object]"}function L(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function En(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 ne(e){return e===void 0}function ke(e){return typeof e=="number"||Object.prototype.toString.call(e)==="[object Number]"}function Ht(e){return e instanceof Date||Object.prototype.toString.call(e)==="[object Date]"}function Ms(e,t){var r=[],n,i=e.length;for(n=0;n<i;++n)r.push(t(e[n],n));return r}function Ce(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 be(e,t,r,n){return Zs(e,t,r,n,!0).utc()}function Ao(){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 O(e){return e._pf==null&&(e._pf=Ao()),e._pf}var rn;Array.prototype.some?rn=Array.prototype.some:rn=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 Mn(e){var t=null,r=!1,n=e._d&&!isNaN(e._d.getTime());if(n&&(t=O(e),r=rn.call(t.parsedDateParts,function(i){return i!=null}),n=t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&r),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 dr(e){var t=be(NaN);return e!=null?Ce(O(t),e):O(t).userInvalidated=!0,t}var di=y.momentProperties=[],jr=!1;function xn(e,t){var r,n,i,s=di.length;if(ne(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),ne(t._i)||(e._i=t._i),ne(t._f)||(e._f=t._f),ne(t._l)||(e._l=t._l),ne(t._strict)||(e._strict=t._strict),ne(t._tzm)||(e._tzm=t._tzm),ne(t._isUTC)||(e._isUTC=t._isUTC),ne(t._offset)||(e._offset=t._offset),ne(t._pf)||(e._pf=O(t)),ne(t._locale)||(e._locale=t._locale),s>0)for(r=0;r<s;r++)n=di[r],i=t[n],ne(i)||(e[n]=i);return e}function Nt(e){xn(this,e),this._d=new Date(e._d!=null?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),jr===!1&&(jr=!0,y.updateOffset(this),jr=!1)}function pe(e){return e instanceof Nt||e!=null&&e._isAMomentObject!=null}function xs(e){y.suppressDeprecationWarnings===!1&&typeof console!="undefined"&&console.warn&&console.warn("Deprecation warning: "+e)}function ue(e,t){var r=!0;return Ce(function(){if(y.deprecationHandler!=null&&y.deprecationHandler(null,e),r){var n=[],i,s,a,o=arguments.length;for(s=0;s<o;s++){if(i="",typeof arguments[s]=="object"){i+=`
7
7
  [`+s+"] ";for(a in arguments[0])L(arguments[0],a)&&(i+=a+": "+arguments[0][a]+", ");i=i.slice(0,-2)}else i=arguments[s];n.push(i)}xs(e+`
8
8
  Arguments: `+Array.prototype.slice.call(n).join("")+`
9
- `+new Error().stack),r=!1}return t.apply(this,arguments)},t)}var mi={};function Os(e,t){y.deprecationHandler!=null&&y.deprecationHandler(e,t),mi[e]||(xs(t),mi[e]=!0)}y.suppressDeprecationWarnings=!1;y.deprecationHandler=null;function ve(e){return typeof Function!="undefined"&&e instanceof Function||Object.prototype.toString.call(e)==="[object Function]"}function Io(e){var t,r;for(r in e)L(e,r)&&(t=e[r],ve(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 nn(e,t){var r=Ce({},e),n;for(n in t)L(t,n)&&(je(e[n])&&je(t[n])?(r[n]={},Ce(r[n],e[n]),Ce(r[n],t[n])):t[n]!=null?r[n]=t[n]:delete r[n]);for(n in e)L(e,n)&&!L(t,n)&&je(e[n])&&(r[n]=Ce({},r[n]));return r}function On(e){e!=null&&this.set(e)}var sn;Object.keys?sn=Object.keys:sn=function(e){var t,r=[];for(t in e)L(e,t)&&r.push(t);return r};var Fo={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function Go(e,t,r){var n=this._calendar[e]||this._calendar.sameElse;return ve(n)?n.call(t,r):n}function ye(e,t,r){var n=""+Math.abs(e),i=t-n.length,s=e>=0;return(s?r?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+n}var kn=/(\[[^\[]*\])|(\\)?([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,Zt=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Vr={},rt={};function T(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 ye(i.apply(this,arguments),t[1],t[2])}),r&&(rt[r]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function Yo(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function Bo(e){var t=e.match(kn),r,n;for(r=0,n=t.length;r<n;r++)rt[t[r]]?t[r]=rt[t[r]]:t[r]=Yo(t[r]);return function(i){var s="",a;for(a=0;a<n;a++)s+=ve(t[a])?t[a].call(i,e):t[a];return s}}function Kt(e,t){return e.isValid()?(t=ks(t,e.localeData()),Vr[t]=Vr[t]||Bo(t),Vr[t](e)):e.localeData().invalidDate()}function ks(e,t){var r=5;function n(i){return t.longDateFormat(i)||i}for(Zt.lastIndex=0;r>=0&&Zt.test(e);)e=e.replace(Zt,n),Zt.lastIndex=0,r-=1;return e}var Uo={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 Wo(e){var t=this._longDateFormat[e],r=this._longDateFormat[e.toUpperCase()];return t||!r?t:(this._longDateFormat[e]=r.match(kn).map(function(n){return n==="MMMM"||n==="MM"||n==="DD"||n==="dddd"?n.slice(1):n}).join(""),this._longDateFormat[e])}var jo="Invalid date";function Vo(){return this._invalidDate}var $o="%d",zo=/\d{1,2}/;function Zo(e){return this._ordinal.replace("%d",e)}var Xo={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 qo(e,t,r,n){var i=this._relativeTime[r];return ve(i)?i(e,t,r,n):i.replace(/%d/i,e)}function Jo(e,t){var r=this._relativeTime[e>0?"future":"past"];return ve(r)?r(t):r.replace(/%s/i,t)}var pi={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function fe(e){return typeof e=="string"?pi[e]||pi[e.toLowerCase()]:void 0}function Dn(e){var t={},r,n;for(n in e)L(e,n)&&(r=fe(n),r&&(t[r]=e[n]));return t}var Qo={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1};function Ko(e){var t=[],r;for(r in e)L(e,r)&&t.push({unit:r,priority:Qo[r]});return t.sort(function(n,i){return n.priority-i.priority}),t}var Ds=/\d/,ae=/\d\d/,Ps=/\d{3}/,Pn=/\d{4}/,mr=/[+-]?\d{6}/,W=/\d\d?/,Rs=/\d\d\d\d?/,Hs=/\d\d\d\d\d\d?/,pr=/\d{1,3}/,Rn=/\d{1,4}/,_r=/[+-]?\d{1,6}/,ft=/\d+/,gr=/[+-]?\d+/,el=/Z|[+-]\d\d:?\d\d/gi,yr=/Z|[+-]\d\d(?::?\d\d)?/gi,tl=/[+-]?\d+(\.\d{1,3})?/,Ct=/[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,ht=/^[1-9]\d?/,Hn=/^([1-9]\d|\d)/,ar;ar={};function b(e,t,r){ar[e]=ve(t)?t:function(n,i){return n&&r?r:t}}function rl(e,t){return L(ar,e)?ar[e](t._strict,t._locale):new RegExp(nl(e))}function nl(e){return Me(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,r,n,i,s){return r||n||i||s}))}function Me(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function le(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function D(e){var t=+e,r=0;return t!==0&&isFinite(t)&&(r=le(t)),r}var an={};function G(e,t){var r,n=t,i;for(typeof e=="string"&&(e=[e]),ke(t)&&(n=function(s,a){a[t]=D(s)}),i=e.length,r=0;r<i;r++)an[e[r]]=n}function Lt(e,t){G(e,function(r,n,i,s){i._w=i._w||{},t(r,i._w,i,s)})}function il(e,t,r){t!=null&&L(an,e)&&an[e](t,r._a,r,e)}function br(e){return e%4===0&&e%100!==0||e%400===0}var ee=0,Te=1,ge=2,J=3,de=4,Ee=5,Ue=6,sl=7,al=8;T("Y",0,0,function(){var e=this.year();return e<=9999?ye(e,4):"+"+e});T(0,["YY",2],0,function(){return this.year()%100});T(0,["YYYY",4],0,"year");T(0,["YYYYY",5],0,"year");T(0,["YYYYYY",6,!0],0,"year");b("Y",gr);b("YY",W,ae);b("YYYY",Rn,Pn);b("YYYYY",_r,mr);b("YYYYYY",_r,mr);G(["YYYYY","YYYYYY"],ee);G("YYYY",function(e,t){t[ee]=e.length===2?y.parseTwoDigitYear(e):D(e)});G("YY",function(e,t){t[ee]=y.parseTwoDigitYear(e)});G("Y",function(e,t){t[ee]=parseInt(e,10)});function Tt(e){return br(e)?366:365}y.parseTwoDigitYear=function(e){return D(e)+(D(e)>68?1900:2e3)};var Ns=ct("FullYear",!0);function ol(){return br(this.year())}function ct(e,t){return function(r){return r!=null?(Cs(this,e,r),y.updateOffset(this,t),this):xt(this,e)}}function xt(e,t){if(!e.isValid())return NaN;var r=e._d,n=e._isUTC;switch(t){case"Milliseconds":return n?r.getUTCMilliseconds():r.getMilliseconds();case"Seconds":return n?r.getUTCSeconds():r.getSeconds();case"Minutes":return n?r.getUTCMinutes():r.getMinutes();case"Hours":return n?r.getUTCHours():r.getHours();case"Date":return n?r.getUTCDate():r.getDate();case"Day":return n?r.getUTCDay():r.getDay();case"Month":return n?r.getUTCMonth():r.getMonth();case"FullYear":return n?r.getUTCFullYear():r.getFullYear();default:return NaN}}function Cs(e,t,r){var n,i,s,a,o;if(!(!e.isValid()||isNaN(r))){switch(n=e._d,i=e._isUTC,t){case"Milliseconds":return void(i?n.setUTCMilliseconds(r):n.setMilliseconds(r));case"Seconds":return void(i?n.setUTCSeconds(r):n.setSeconds(r));case"Minutes":return void(i?n.setUTCMinutes(r):n.setMinutes(r));case"Hours":return void(i?n.setUTCHours(r):n.setHours(r));case"Date":return void(i?n.setUTCDate(r):n.setDate(r));case"FullYear":break;default:return}s=r,a=e.month(),o=e.date(),o=o===29&&a===1&&!br(s)?28:o,i?n.setUTCFullYear(s,a,o):n.setFullYear(s,a,o)}}function ll(e){return e=fe(e),ve(this[e])?this[e]():this}function ul(e,t){if(typeof e=="object"){e=Dn(e);var r=Ko(e),n,i=r.length;for(n=0;n<i;n++)this[r[n].unit](e[r[n].unit])}else if(e=fe(e),ve(this[e]))return this[e](t);return this}function fl(e,t){return(e%t+t)%t}var q;Array.prototype.indexOf?q=Array.prototype.indexOf:q=function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1};function Nn(e,t){if(isNaN(e)||isNaN(t))return NaN;var r=fl(t,12);return e+=(t-r)/12,r===1?br(e)?29:28:31-r%7%2}T("M",["MM",2],"Mo",function(){return this.month()+1});T("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)});T("MMMM",0,0,function(e){return this.localeData().months(this,e)});b("M",W,ht);b("MM",W,ae);b("MMM",function(e,t){return t.monthsShortRegex(e)});b("MMMM",function(e,t){return t.monthsRegex(e)});G(["M","MM"],function(e,t){t[Te]=D(e)-1});G(["MMM","MMMM"],function(e,t,r,n){var i=r._locale.monthsParse(e,n,r._strict);i!=null?t[Te]=i:O(r).invalidMonth=e});var hl="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Ls="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),As=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,cl=Ct,dl=Ct;function ml(e,t){return e?me(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||As).test(t)?"format":"standalone"][e.month()]:me(this._months)?this._months:this._months.standalone}function pl(e,t){return e?me(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[As.test(t)?"format":"standalone"][e.month()]:me(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function _l(e,t,r){var n,i,s,a=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],n=0;n<12;++n)s=be([2e3,n]),this._shortMonthsParse[n]=this.monthsShort(s,"").toLocaleLowerCase(),this._longMonthsParse[n]=this.months(s,"").toLocaleLowerCase();return r?t==="MMM"?(i=q.call(this._shortMonthsParse,a),i!==-1?i:null):(i=q.call(this._longMonthsParse,a),i!==-1?i:null):t==="MMM"?(i=q.call(this._shortMonthsParse,a),i!==-1?i:(i=q.call(this._longMonthsParse,a),i!==-1?i:null)):(i=q.call(this._longMonthsParse,a),i!==-1?i:(i=q.call(this._shortMonthsParse,a),i!==-1?i:null))}function gl(e,t,r){var n,i,s;if(this._monthsParseExact)return _l.call(this,e,t,r);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),n=0;n<12;n++){if(i=be([2e3,n]),r&&!this._longMonthsParse[n]&&(this._longMonthsParse[n]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[n]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),!r&&!this._monthsParse[n]&&(s="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[n]=new RegExp(s.replace(".",""),"i")),r&&t==="MMMM"&&this._longMonthsParse[n].test(e))return n;if(r&&t==="MMM"&&this._shortMonthsParse[n].test(e))return n;if(!r&&this._monthsParse[n].test(e))return n}}function Is(e,t){if(!e.isValid())return e;if(typeof t=="string"){if(/^\d+$/.test(t))t=D(t);else if(t=e.localeData().monthsParse(t),!ke(t))return e}var r=t,n=e.date();return n=n<29?n:Math.min(n,Nn(e.year(),r)),e._isUTC?e._d.setUTCMonth(r,n):e._d.setMonth(r,n),e}function Fs(e){return e!=null?(Is(this,e),y.updateOffset(this,!0),this):xt(this,"Month")}function yl(){return Nn(this.year(),this.month())}function bl(e){return this._monthsParseExact?(L(this,"_monthsRegex")||Gs.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(L(this,"_monthsShortRegex")||(this._monthsShortRegex=cl),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function vl(e){return this._monthsParseExact?(L(this,"_monthsRegex")||Gs.call(this),e?this._monthsStrictRegex:this._monthsRegex):(L(this,"_monthsRegex")||(this._monthsRegex=dl),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function Gs(){function e(l,u){return u.length-l.length}var t=[],r=[],n=[],i,s,a,o;for(i=0;i<12;i++)s=be([2e3,i]),a=Me(this.monthsShort(s,"")),o=Me(this.months(s,"")),t.push(a),r.push(o),n.push(o),n.push(a);t.sort(e),r.sort(e),n.sort(e),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")}function wl(e,t,r,n,i,s,a){var o;return e<100&&e>=0?(o=new Date(e+400,t,r,n,i,s,a),isFinite(o.getFullYear())&&o.setFullYear(e)):o=new Date(e,t,r,n,i,s,a),o}function Ot(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 or(e,t,r){var n=7+t-r,i=(7+Ot(e,0,n).getUTCDay()-t)%7;return-i+n-1}function Ys(e,t,r,n,i){var s=(7+r-n)%7,a=or(e,n,i),o=1+7*(t-1)+s+a,l,u;return o<=0?(l=e-1,u=Tt(l)+o):o>Tt(e)?(l=e+1,u=o-Tt(e)):(l=e,u=o),{year:l,dayOfYear:u}}function kt(e,t,r){var n=or(e.year(),t,r),i=Math.floor((e.dayOfYear()-n-1)/7)+1,s,a;return i<1?(a=e.year()-1,s=i+xe(a,t,r)):i>xe(e.year(),t,r)?(s=i-xe(e.year(),t,r),a=e.year()+1):(a=e.year(),s=i),{week:s,year:a}}function xe(e,t,r){var n=or(e,t,r),i=or(e+1,t,r);return(Tt(e)-n+i)/7}T("w",["ww",2],"wo","week");T("W",["WW",2],"Wo","isoWeek");b("w",W,ht);b("ww",W,ae);b("W",W,ht);b("WW",W,ae);Lt(["w","ww","W","WW"],function(e,t,r,n){t[n.substr(0,1)]=D(e)});function Sl(e){return kt(e,this._week.dow,this._week.doy).week}var Tl={dow:0,doy:6};function El(){return this._week.dow}function Ml(){return this._week.doy}function xl(e){var t=this.localeData().week(this);return e==null?t:this.add((e-t)*7,"d")}function Ol(e){var t=kt(this,1,4).week;return e==null?t:this.add((e-t)*7,"d")}T("d",0,"do","day");T("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)});T("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)});T("dddd",0,0,function(e){return this.localeData().weekdays(this,e)});T("e",0,0,"weekday");T("E",0,0,"isoWeekday");b("d",W);b("e",W);b("E",W);b("dd",function(e,t){return t.weekdaysMinRegex(e)});b("ddd",function(e,t){return t.weekdaysShortRegex(e)});b("dddd",function(e,t){return t.weekdaysRegex(e)});Lt(["dd","ddd","dddd"],function(e,t,r,n){var i=r._locale.weekdaysParse(e,n,r._strict);i!=null?t.d=i:O(r).invalidWeekday=e});Lt(["d","e","E"],function(e,t,r,n){t[n]=D(e)});function kl(e,t){return typeof e!="string"?e:isNaN(e)?(e=t.weekdaysParse(e),typeof e=="number"?e:null):parseInt(e,10)}function Dl(e,t){return typeof e=="string"?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function Cn(e,t){return e.slice(t,7).concat(e.slice(0,t))}var Pl="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Bs="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Rl="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Hl=Ct,Nl=Ct,Cl=Ct;function Ll(e,t){var r=me(this._weekdays)?this._weekdays:this._weekdays[e&&e!==!0&&this._weekdays.isFormat.test(t)?"format":"standalone"];return e===!0?Cn(r,this._week.dow):e?r[e.day()]:r}function Al(e){return e===!0?Cn(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Il(e){return e===!0?Cn(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Fl(e,t,r){var n,i,s,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],n=0;n<7;++n)s=be([2e3,1]).day(n),this._minWeekdaysParse[n]=this.weekdaysMin(s,"").toLocaleLowerCase(),this._shortWeekdaysParse[n]=this.weekdaysShort(s,"").toLocaleLowerCase(),this._weekdaysParse[n]=this.weekdays(s,"").toLocaleLowerCase();return r?t==="dddd"?(i=q.call(this._weekdaysParse,a),i!==-1?i:null):t==="ddd"?(i=q.call(this._shortWeekdaysParse,a),i!==-1?i:null):(i=q.call(this._minWeekdaysParse,a),i!==-1?i:null):t==="dddd"?(i=q.call(this._weekdaysParse,a),i!==-1||(i=q.call(this._shortWeekdaysParse,a),i!==-1)?i:(i=q.call(this._minWeekdaysParse,a),i!==-1?i:null)):t==="ddd"?(i=q.call(this._shortWeekdaysParse,a),i!==-1||(i=q.call(this._weekdaysParse,a),i!==-1)?i:(i=q.call(this._minWeekdaysParse,a),i!==-1?i:null)):(i=q.call(this._minWeekdaysParse,a),i!==-1||(i=q.call(this._weekdaysParse,a),i!==-1)?i:(i=q.call(this._shortWeekdaysParse,a),i!==-1?i:null))}function Gl(e,t,r){var n,i,s;if(this._weekdaysParseExact)return Fl.call(this,e,t,r);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),n=0;n<7;n++){if(i=be([2e3,1]).day(n),r&&!this._fullWeekdaysParse[n]&&(this._fullWeekdaysParse[n]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[n]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[n]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[n]||(s="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[n]=new RegExp(s.replace(".",""),"i")),r&&t==="dddd"&&this._fullWeekdaysParse[n].test(e))return n;if(r&&t==="ddd"&&this._shortWeekdaysParse[n].test(e))return n;if(r&&t==="dd"&&this._minWeekdaysParse[n].test(e))return n;if(!r&&this._weekdaysParse[n].test(e))return n}}function Yl(e){if(!this.isValid())return e!=null?this:NaN;var t=xt(this,"Day");return e!=null?(e=kl(e,this.localeData()),this.add(e-t,"d")):t}function Bl(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 Ul(e){if(!this.isValid())return e!=null?this:NaN;if(e!=null){var t=Dl(e,this.localeData());return this.day(this.day()%7?t:t-7)}else return this.day()||7}function Wl(e){return this._weekdaysParseExact?(L(this,"_weekdaysRegex")||Ln.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(L(this,"_weekdaysRegex")||(this._weekdaysRegex=Hl),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function jl(e){return this._weekdaysParseExact?(L(this,"_weekdaysRegex")||Ln.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(L(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Nl),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Vl(e){return this._weekdaysParseExact?(L(this,"_weekdaysRegex")||Ln.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(L(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Cl),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Ln(){function e(f,h){return h.length-f.length}var t=[],r=[],n=[],i=[],s,a,o,l,u;for(s=0;s<7;s++)a=be([2e3,1]).day(s),o=Me(this.weekdaysMin(a,"")),l=Me(this.weekdaysShort(a,"")),u=Me(this.weekdays(a,"")),t.push(o),r.push(l),n.push(u),i.push(o),i.push(l),i.push(u);t.sort(e),r.sort(e),n.sort(e),i.sort(e),this._weekdaysRegex=new RegExp("^("+i.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+n.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+t.join("|")+")","i")}function An(){return this.hours()%12||12}function $l(){return this.hours()||24}T("H",["HH",2],0,"hour");T("h",["hh",2],0,An);T("k",["kk",2],0,$l);T("hmm",0,0,function(){return""+An.apply(this)+ye(this.minutes(),2)});T("hmmss",0,0,function(){return""+An.apply(this)+ye(this.minutes(),2)+ye(this.seconds(),2)});T("Hmm",0,0,function(){return""+this.hours()+ye(this.minutes(),2)});T("Hmmss",0,0,function(){return""+this.hours()+ye(this.minutes(),2)+ye(this.seconds(),2)});function Us(e,t){T(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}Us("a",!0);Us("A",!1);function Ws(e,t){return t._meridiemParse}b("a",Ws);b("A",Ws);b("H",W,Hn);b("h",W,ht);b("k",W,ht);b("HH",W,ae);b("hh",W,ae);b("kk",W,ae);b("hmm",Rs);b("hmmss",Hs);b("Hmm",Rs);b("Hmmss",Hs);G(["H","HH"],J);G(["k","kk"],function(e,t,r){var n=D(e);t[J]=n===24?0:n});G(["a","A"],function(e,t,r){r._isPm=r._locale.isPM(e),r._meridiem=e});G(["h","hh"],function(e,t,r){t[J]=D(e),O(r).bigHour=!0});G("hmm",function(e,t,r){var n=e.length-2;t[J]=D(e.substr(0,n)),t[de]=D(e.substr(n)),O(r).bigHour=!0});G("hmmss",function(e,t,r){var n=e.length-4,i=e.length-2;t[J]=D(e.substr(0,n)),t[de]=D(e.substr(n,2)),t[Ee]=D(e.substr(i)),O(r).bigHour=!0});G("Hmm",function(e,t,r){var n=e.length-2;t[J]=D(e.substr(0,n)),t[de]=D(e.substr(n))});G("Hmmss",function(e,t,r){var n=e.length-4,i=e.length-2;t[J]=D(e.substr(0,n)),t[de]=D(e.substr(n,2)),t[Ee]=D(e.substr(i))});function zl(e){return(e+"").toLowerCase().charAt(0)==="p"}var Zl=/[ap]\.?m?\.?/i,Xl=ct("Hours",!0);function ql(e,t,r){return e>11?r?"pm":"PM":r?"am":"AM"}var js={calendar:Fo,longDateFormat:Uo,invalidDate:jo,ordinal:$o,dayOfMonthOrdinalParse:zo,relativeTime:Xo,months:hl,monthsShort:Ls,week:Tl,weekdays:Pl,weekdaysMin:Rl,weekdaysShort:Bs,meridiemParse:Zl},V={},gt={},Dt;function Jl(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 _i(e){return e&&e.toLowerCase().replace("_","-")}function Ql(e){for(var t=0,r,n,i,s;t<e.length;){for(s=_i(e[t]).split("-"),r=s.length,n=_i(e[t+1]),n=n?n.split("-"):null;r>0;){if(i=vr(s.slice(0,r).join("-")),i)return i;if(n&&n.length>=r&&Jl(s,n)>=r-1)break;r--}t++}return Dt}function Kl(e){return!!(e&&e.match("^[^/\\\\]*$"))}function vr(e){var t=null,r;if(V[e]===void 0&&typeof module!="undefined"&&module&&module.exports&&Kl(e))try{t=Dt._abbr,r=Co,r("./locale/"+e),Fe(t)}catch(n){V[e]=null}return V[e]}function Fe(e,t){var r;return e&&(ne(t)?r=De(e):r=In(e,t),r?Dt=r:typeof console!="undefined"&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),Dt._abbr}function In(e,t){if(t!==null){var r,n=js;if(t.abbr=e,V[e]!=null)Os("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=V[e]._config;else if(t.parentLocale!=null)if(V[t.parentLocale]!=null)n=V[t.parentLocale]._config;else if(r=vr(t.parentLocale),r!=null)n=r._config;else return gt[t.parentLocale]||(gt[t.parentLocale]=[]),gt[t.parentLocale].push({name:e,config:t}),null;return V[e]=new On(nn(n,t)),gt[e]&&gt[e].forEach(function(i){In(i.name,i.config)}),Fe(e),V[e]}else return delete V[e],null}function eu(e,t){if(t!=null){var r,n,i=js;V[e]!=null&&V[e].parentLocale!=null?V[e].set(nn(V[e]._config,t)):(n=vr(e),n!=null&&(i=n._config),t=nn(i,t),n==null&&(t.abbr=e),r=new On(t),r.parentLocale=V[e],V[e]=r),Fe(e)}else V[e]!=null&&(V[e].parentLocale!=null?(V[e]=V[e].parentLocale,e===Fe()&&Fe(e)):V[e]!=null&&delete V[e]);return V[e]}function De(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return Dt;if(!me(e)){if(t=vr(e),t)return t;e=[e]}return Ql(e)}function tu(){return sn(V)}function Fn(e){var t,r=e._a;return r&&O(e).overflow===-2&&(t=r[Te]<0||r[Te]>11?Te:r[ge]<1||r[ge]>Nn(r[ee],r[Te])?ge:r[J]<0||r[J]>24||r[J]===24&&(r[de]!==0||r[Ee]!==0||r[Ue]!==0)?J:r[de]<0||r[de]>59?de:r[Ee]<0||r[Ee]>59?Ee:r[Ue]<0||r[Ue]>999?Ue:-1,O(e)._overflowDayOfYear&&(t<ee||t>ge)&&(t=ge),O(e)._overflowWeeks&&t===-1&&(t=sl),O(e)._overflowWeekday&&t===-1&&(t=al),O(e).overflow=t),e}var ru=/^\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)?)?$/,nu=/^\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)?)?$/,iu=/Z|[+-]\d\d(?::?\d\d)?/,Xt=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],$r=[["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/]],su=/^\/?Date\((-?\d+)/i,au=/^(?:(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}))$/,ou={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=ru.exec(n)||nu.exec(n),s,a,o,l,u=Xt.length,f=$r.length;if(i){for(O(e).iso=!0,t=0,r=u;t<r;t++)if(Xt[t][1].exec(i[1])){a=Xt[t][0],s=Xt[t][2]!==!1;break}if(a==null){e._isValid=!1;return}if(i[3]){for(t=0,r=f;t<r;t++)if($r[t][1].exec(i[3])){o=(i[2]||" ")+$r[t][0];break}if(o==null){e._isValid=!1;return}}if(!s&&o!=null){e._isValid=!1;return}if(i[4])if(iu.exec(i[4]))l="Z";else{e._isValid=!1;return}e._f=a+(o||"")+(l||""),Yn(e)}else e._isValid=!1}function lu(e,t,r,n,i,s){var a=[uu(e),Ls.indexOf(t),parseInt(r,10),parseInt(n,10),parseInt(i,10)];return s&&a.push(parseInt(s,10)),a}function uu(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function fu(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function hu(e,t,r){if(e){var n=Bs.indexOf(e),i=new Date(t[0],t[1],t[2]).getDay();if(n!==i)return O(r).weekdayMismatch=!0,r._isValid=!1,!1}return!0}function cu(e,t,r){if(e)return ou[e];if(t)return 0;var n=parseInt(r,10),i=n%100,s=(n-i)/100;return s*60+i}function $s(e){var t=au.exec(fu(e._i)),r;if(t){if(r=lu(t[4],t[3],t[2],t[5],t[6],t[7]),!hu(t[1],r,e))return;e._a=r,e._tzm=cu(t[8],t[9],t[10]),e._d=Ot.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),O(e).rfc2822=!0}else e._isValid=!1}function du(e){var t=su.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($s(e),e._isValid===!1)delete e._isValid;else return;e._strict?e._isValid=!1:y.createFromInputFallback(e)}y.createFromInputFallback=ue("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 Ke(e,t,r){return e!=null?e:t!=null?t:r}function mu(e){var t=new Date(y.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function Gn(e){var t,r,n=[],i,s,a;if(!e._d){for(i=mu(e),e._w&&e._a[ge]==null&&e._a[Te]==null&&pu(e),e._dayOfYear!=null&&(a=Ke(e._a[ee],i[ee]),(e._dayOfYear>Tt(a)||e._dayOfYear===0)&&(O(e)._overflowDayOfYear=!0),r=Ot(a,0,e._dayOfYear),e._a[Te]=r.getUTCMonth(),e._a[ge]=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[J]===24&&e._a[de]===0&&e._a[Ee]===0&&e._a[Ue]===0&&(e._nextDay=!0,e._a[J]=0),e._d=(e._useUTC?Ot:wl).apply(null,n),s=e._useUTC?e._d.getUTCDay():e._d.getDay(),e._tzm!=null&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[J]=24),e._w&&typeof e._w.d!="undefined"&&e._w.d!==s&&(O(e).weekdayMismatch=!0)}}function pu(e){var t,r,n,i,s,a,o,l,u;t=e._w,t.GG!=null||t.W!=null||t.E!=null?(s=1,a=4,r=Ke(t.GG,e._a[ee],kt(U(),1,4).year),n=Ke(t.W,1),i=Ke(t.E,1),(i<1||i>7)&&(l=!0)):(s=e._locale._week.dow,a=e._locale._week.doy,u=kt(U(),s,a),r=Ke(t.gg,e._a[ee],u.year),n=Ke(t.w,u.week),t.d!=null?(i=t.d,(i<0||i>6)&&(l=!0)):t.e!=null?(i=t.e+s,(t.e<0||t.e>6)&&(l=!0)):i=s),n<1||n>xe(r,s,a)?O(e)._overflowWeeks=!0:l!=null?O(e)._overflowWeekday=!0:(o=Ys(r,n,i,s,a),e._a[ee]=o.year,e._dayOfYear=o.dayOfYear)}y.ISO_8601=function(){};y.RFC_2822=function(){};function Yn(e){if(e._f===y.ISO_8601){Vs(e);return}if(e._f===y.RFC_2822){$s(e);return}e._a=[],O(e).empty=!0;var t=""+e._i,r,n,i,s,a,o=t.length,l=0,u,f;for(i=ks(e._f,e._locale).match(kn)||[],f=i.length,r=0;r<f;r++)s=i[r],n=(t.match(rl(s,e))||[])[0],n&&(a=t.substr(0,t.indexOf(n)),a.length>0&&O(e).unusedInput.push(a),t=t.slice(t.indexOf(n)+n.length),l+=n.length),rt[s]?(n?O(e).empty=!1:O(e).unusedTokens.push(s),il(s,n,e)):e._strict&&!n&&O(e).unusedTokens.push(s);O(e).charsLeftOver=o-l,t.length>0&&O(e).unusedInput.push(t),e._a[J]<=12&&O(e).bigHour===!0&&e._a[J]>0&&(O(e).bigHour=void 0),O(e).parsedDateParts=e._a.slice(0),O(e).meridiem=e._meridiem,e._a[J]=_u(e._locale,e._a[J],e._meridiem),u=O(e).era,u!==null&&(e._a[ee]=e._locale.erasConvertYear(u,e._a[ee])),Gn(e),Fn(e)}function _u(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 gu(e){var t,r,n,i,s,a,o=!1,l=e._f.length;if(l===0){O(e).invalidFormat=!0,e._d=new Date(NaN);return}for(i=0;i<l;i++)s=0,a=!1,t=xn({},e),e._useUTC!=null&&(t._useUTC=e._useUTC),t._f=e._f[i],Yn(t),Mn(t)&&(a=!0),s+=O(t).charsLeftOver,s+=O(t).unusedTokens.length*10,O(t).score=s,o?s<n&&(n=s,r=t):(n==null||s<n||a)&&(n=s,r=t,a&&(o=!0));Ce(e,r||t)}function yu(e){if(!e._d){var t=Dn(e._i),r=t.day===void 0?t.date:t.day;e._a=Ms([t.year,t.month,r,t.hour,t.minute,t.second,t.millisecond],function(n){return n&&parseInt(n,10)}),Gn(e)}}function bu(e){var t=new Nt(Fn(zs(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function zs(e){var t=e._i,r=e._f;return e._locale=e._locale||De(e._l),t===null||r===void 0&&t===""?dr({nullInput:!0}):(typeof t=="string"&&(e._i=t=e._locale.preparse(t)),pe(t)?new Nt(Fn(t)):(Ht(t)?e._d=t:me(r)?gu(e):r?Yn(e):vu(e),Mn(e)||(e._d=null),e))}function vu(e){var t=e._i;ne(t)?e._d=new Date(y.now()):Ht(t)?e._d=new Date(t.valueOf()):typeof t=="string"?du(e):me(t)?(e._a=Ms(t.slice(0),function(r){return parseInt(r,10)}),Gn(e)):je(t)?yu(e):ke(t)?e._d=new Date(t):y.createFromInputFallback(e)}function Zs(e,t,r,n,i){var s={};return(t===!0||t===!1)&&(n=t,t=void 0),(r===!0||r===!1)&&(n=r,r=void 0),(je(e)&&En(e)||me(e)&&e.length===0)&&(e=void 0),s._isAMomentObject=!0,s._useUTC=s._isUTC=i,s._l=r,s._i=e,s._f=t,s._strict=n,bu(s)}function U(e,t,r,n){return Zs(e,t,r,n,!1)}var wu=ue("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=U.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:dr()}),Su=ue("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=U.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:dr()});function Xs(e,t){var r,n;if(t.length===1&&me(t[0])&&(t=t[0]),!t.length)return U();for(r=t[0],n=1;n<t.length;++n)(!t[n].isValid()||t[n][e](r))&&(r=t[n]);return r}function Tu(){var e=[].slice.call(arguments,0);return Xs("isBefore",e)}function Eu(){var e=[].slice.call(arguments,0);return Xs("isAfter",e)}var Mu=function(){return Date.now?Date.now():+new Date},yt=["year","quarter","month","week","day","hour","minute","second","millisecond"];function xu(e){var t,r=!1,n,i=yt.length;for(t in e)if(L(e,t)&&!(q.call(yt,t)!==-1&&(e[t]==null||!isNaN(e[t]))))return!1;for(n=0;n<i;++n)if(e[yt[n]]){if(r)return!1;parseFloat(e[yt[n]])!==D(e[yt[n]])&&(r=!0)}return!0}function Ou(){return this._isValid}function ku(){return _e(NaN)}function wr(e){var t=Dn(e),r=t.year||0,n=t.quarter||0,i=t.month||0,s=t.week||t.isoWeek||0,a=t.day||0,o=t.hour||0,l=t.minute||0,u=t.second||0,f=t.millisecond||0;this._isValid=xu(t),this._milliseconds=+f+u*1e3+l*6e4+o*1e3*60*60,this._days=+a+s*7,this._months=+i+n*3+r*12,this._data={},this._locale=De(),this._bubble()}function er(e){return e instanceof wr}function on(e){return e<0?Math.round(-1*e)*-1:Math.round(e)}function Du(e,t,r){var n=Math.min(e.length,t.length),i=Math.abs(e.length-t.length),s=0,a;for(a=0;a<n;a++)D(e[a])!==D(t[a])&&s++;return s+i}function qs(e,t){T(e,0,0,function(){var r=this.utcOffset(),n="+";return r<0&&(r=-r,n="-"),n+ye(~~(r/60),2)+t+ye(~~r%60,2)})}qs("Z",":");qs("ZZ","");b("Z",yr);b("ZZ",yr);G(["Z","ZZ"],function(e,t,r){r._useUTC=!0,r._tzm=Bn(yr,e)});var Pu=/([\+\-]|\d\d)/gi;function Bn(e,t){var r=(t||"").match(e),n,i,s;return r===null?null:(n=r[r.length-1]||[],i=(n+"").match(Pu)||["-",0,0],s=+(i[1]*60)+D(i[2]),s===0?0:i[0]==="+"?s:-s)}function Un(e,t){var r,n;return t._isUTC?(r=t.clone(),n=(pe(e)||Ht(e)?e.valueOf():U(e).valueOf())-r.valueOf(),r._d.setTime(r._d.valueOf()+n),y.updateOffset(r,!1),r):U(e).local()}function ln(e){return-Math.round(e._d.getTimezoneOffset())}y.updateOffset=function(){};function Ru(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=Bn(yr,e),e===null)return this}else Math.abs(e)<16&&!r&&(e=e*60);return!this._isUTC&&t&&(i=ln(this)),this._offset=e,this._isUTC=!0,i!=null&&this.add(i,"m"),n!==e&&(!t||this._changeInProgress?Ks(this,_e(e-n,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,y.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?n:ln(this)}function Hu(e,t){return e!=null?(typeof e!="string"&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function Nu(e){return this.utcOffset(0,e)}function Cu(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(ln(this),"m")),this}function Lu(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var e=Bn(el,this._i);e!=null?this.utcOffset(e):this.utcOffset(0,!0)}return this}function Au(e){return this.isValid()?(e=e?U(e).utcOffset():0,(this.utcOffset()-e)%60===0):!1}function Iu(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Fu(){if(!ne(this._isDSTShifted))return this._isDSTShifted;var e={},t;return xn(e,this),e=zs(e),e._a?(t=e._isUTC?be(e._a):U(e._a),this._isDSTShifted=this.isValid()&&Du(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function Gu(){return this.isValid()?!this._isUTC:!1}function Yu(){return this.isValid()?this._isUTC:!1}function Js(){return this.isValid()?this._isUTC&&this._offset===0:!1}var Bu=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Uu=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function _e(e,t){var r=e,n=null,i,s,a;return er(e)?r={ms:e._milliseconds,d:e._days,M:e._months}:ke(e)||!isNaN(+e)?(r={},t?r[t]=+e:r.milliseconds=+e):(n=Bu.exec(e))?(i=n[1]==="-"?-1:1,r={y:0,d:D(n[ge])*i,h:D(n[J])*i,m:D(n[de])*i,s:D(n[Ee])*i,ms:D(on(n[Ue]*1e3))*i}):(n=Uu.exec(e))?(i=n[1]==="-"?-1:1,r={y:Be(n[2],i),M:Be(n[3],i),w:Be(n[4],i),d:Be(n[5],i),h:Be(n[6],i),m:Be(n[7],i),s:Be(n[8],i)}):r==null?r={}:typeof r=="object"&&("from"in r||"to"in r)&&(a=Wu(U(r.from),U(r.to)),r={},r.ms=a.milliseconds,r.M=a.months),s=new wr(r),er(e)&&L(e,"_locale")&&(s._locale=e._locale),er(e)&&L(e,"_isValid")&&(s._isValid=e._isValid),s}_e.fn=wr.prototype;_e.invalid=ku;function Be(e,t){var r=e&&parseFloat(e.replace(",","."));return(isNaN(r)?0:r)*t}function gi(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 Wu(e,t){var r;return e.isValid()&&t.isValid()?(t=Un(t,e),e.isBefore(t)?r=gi(e,t):(r=gi(t,e),r.milliseconds=-r.milliseconds,r.months=-r.months),r):{milliseconds:0,months:0}}function Qs(e,t){return function(r,n){var i,s;return n!==null&&!isNaN(+n)&&(Os(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),s=r,r=n,n=s),i=_e(r,n),Ks(this,i,e),this}}function Ks(e,t,r,n){var i=t._milliseconds,s=on(t._days),a=on(t._months);e.isValid()&&(n=n==null?!0:n,a&&Is(e,xt(e,"Month")+a*r),s&&Cs(e,"Date",xt(e,"Date")+s*r),i&&e._d.setTime(e._d.valueOf()+i*r),n&&y.updateOffset(e,s||a))}var ju=Qs(1,"add"),Vu=Qs(-1,"subtract");function ea(e){return typeof e=="string"||e instanceof String}function $u(e){return pe(e)||Ht(e)||ea(e)||ke(e)||Zu(e)||zu(e)||e===null||e===void 0}function zu(e){var t=je(e)&&!En(e),r=!1,n=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],i,s,a=n.length;for(i=0;i<a;i+=1)s=n[i],r=r||L(e,s);return t&&r}function Zu(e){var t=me(e),r=!1;return t&&(r=e.filter(function(n){return!ke(n)&&ea(e)}).length===0),t&&r}function Xu(e){var t=je(e)&&!En(e),r=!1,n=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],i,s;for(i=0;i<n.length;i+=1)s=n[i],r=r||L(e,s);return t&&r}function qu(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 Ju(e,t){arguments.length===1&&(arguments[0]?$u(arguments[0])?(e=arguments[0],t=void 0):Xu(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var r=e||U(),n=Un(r,this).startOf("day"),i=y.calendarFormat(this,n)||"sameElse",s=t&&(ve(t[i])?t[i].call(this,r):t[i]);return this.format(s||this.localeData().calendar(i,this,U(r)))}function Qu(){return new Nt(this)}function Ku(e,t){var r=pe(e)?e:U(e);return this.isValid()&&r.isValid()?(t=fe(t)||"millisecond",t==="millisecond"?this.valueOf()>r.valueOf():r.valueOf()<this.clone().startOf(t).valueOf()):!1}function ef(e,t){var r=pe(e)?e:U(e);return this.isValid()&&r.isValid()?(t=fe(t)||"millisecond",t==="millisecond"?this.valueOf()<r.valueOf():this.clone().endOf(t).valueOf()<r.valueOf()):!1}function tf(e,t,r,n){var i=pe(e)?e:U(e),s=pe(t)?t:U(t);return this.isValid()&&i.isValid()&&s.isValid()?(n=n||"()",(n[0]==="("?this.isAfter(i,r):!this.isBefore(i,r))&&(n[1]===")"?this.isBefore(s,r):!this.isAfter(s,r))):!1}function rf(e,t){var r=pe(e)?e:U(e),n;return this.isValid()&&r.isValid()?(t=fe(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 nf(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function sf(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function af(e,t,r){var n,i,s;if(!this.isValid())return NaN;if(n=Un(e,this),!n.isValid())return NaN;switch(i=(n.utcOffset()-this.utcOffset())*6e4,t=fe(t),t){case"year":s=tr(this,n)/12;break;case"month":s=tr(this,n);break;case"quarter":s=tr(this,n)/3;break;case"second":s=(this-n)/1e3;break;case"minute":s=(this-n)/6e4;break;case"hour":s=(this-n)/36e5;break;case"day":s=(this-n-i)/864e5;break;case"week":s=(this-n-i)/6048e5;break;default:s=this-n}return r?s:le(s)}function tr(e,t){if(e.date()<t.date())return-tr(t,e);var r=(t.year()-e.year())*12+(t.month()-e.month()),n=e.clone().add(r,"months"),i,s;return t-n<0?(i=e.clone().add(r-1,"months"),s=(t-n)/(n-i)):(i=e.clone().add(r+1,"months"),s=(t-n)/(i-n)),-(r+s)||0}y.defaultFormat="YYYY-MM-DDTHH:mm:ssZ";y.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function of(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function lf(e){if(!this.isValid())return null;var t=e!==!0,r=t?this.clone().utc():this;return r.year()<0||r.year()>9999?Kt(r,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):ve(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",Kt(r,"Z")):Kt(r,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function uf(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="",r,n,i,s;return this.isLocal()||(e=this.utcOffset()===0?"moment.utc":"moment.parseZone",t="Z"),r="["+e+'("]',n=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",i="-MM-DD[T]HH:mm:ss.SSS",s=t+'[")]',this.format(r+n+i+s)}function ff(e){e||(e=this.isUtc()?y.defaultFormatUtc:y.defaultFormat);var t=Kt(this,e);return this.localeData().postformat(t)}function hf(e,t){return this.isValid()&&(pe(e)&&e.isValid()||U(e).isValid())?_e({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function cf(e){return this.from(U(),e)}function df(e,t){return this.isValid()&&(pe(e)&&e.isValid()||U(e).isValid())?_e({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function mf(e){return this.to(U(),e)}function ta(e){var t;return e===void 0?this._locale._abbr:(t=De(e),t!=null&&(this._locale=t),this)}var ra=ue("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 na(){return this._locale}var lr=1e3,nt=60*lr,ur=60*nt,ia=(365*400+97)*24*ur;function it(e,t){return(e%t+t)%t}function sa(e,t,r){return e<100&&e>=0?new Date(e+400,t,r)-ia:new Date(e,t,r).valueOf()}function aa(e,t,r){return e<100&&e>=0?Date.UTC(e+400,t,r)-ia:Date.UTC(e,t,r)}function pf(e){var t,r;if(e=fe(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(r=this._isUTC?aa:sa,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),ur);break;case"minute":t=this._d.valueOf(),t-=it(t,nt);break;case"second":t=this._d.valueOf(),t-=it(t,lr);break}return this._d.setTime(t),y.updateOffset(this,!0),this}function _f(e){var t,r;if(e=fe(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(r=this._isUTC?aa:sa,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+=ur-it(t+(this._isUTC?0:this.utcOffset()*nt),ur)-1;break;case"minute":t=this._d.valueOf(),t+=nt-it(t,nt)-1;break;case"second":t=this._d.valueOf(),t+=lr-it(t,lr)-1;break}return this._d.setTime(t),y.updateOffset(this,!0),this}function gf(){return this._d.valueOf()-(this._offset||0)*6e4}function yf(){return Math.floor(this.valueOf()/1e3)}function bf(){return new Date(this.valueOf())}function vf(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function wf(){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 Sf(){return this.isValid()?this.toISOString():null}function Tf(){return Mn(this)}function Ef(){return Ce({},O(this))}function Mf(){return O(this).overflow}function xf(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}T("N",0,0,"eraAbbr");T("NN",0,0,"eraAbbr");T("NNN",0,0,"eraAbbr");T("NNNN",0,0,"eraName");T("NNNNN",0,0,"eraNarrow");T("y",["y",1],"yo","eraYear");T("y",["yy",2],0,"eraYear");T("y",["yyy",3],0,"eraYear");T("y",["yyyy",4],0,"eraYear");b("N",Wn);b("NN",Wn);b("NNN",Wn);b("NNNN",If);b("NNNNN",Ff);G(["N","NN","NNN","NNNN","NNNNN"],function(e,t,r,n){var i=r._locale.erasParse(e,n,r._strict);i?O(r).era=i:O(r).invalidEra=e});b("y",ft);b("yy",ft);b("yyy",ft);b("yyyy",ft);b("yo",Gf);G(["y","yy","yyy","yyyy"],ee);G(["yo"],function(e,t,r,n){var i;r._locale._eraYearOrdinalRegex&&(i=e.match(r._locale._eraYearOrdinalRegex)),r._locale.eraYearOrdinalParse?t[ee]=r._locale.eraYearOrdinalParse(e,i):t[ee]=parseInt(e,10)});function Of(e,t){var r,n,i,s=this._eras||De("en")._eras;for(r=0,n=s.length;r<n;++r){switch(typeof s[r].since){case"string":i=y(s[r].since).startOf("day"),s[r].since=i.valueOf();break}switch(typeof s[r].until){case"undefined":s[r].until=1/0;break;case"string":i=y(s[r].until).startOf("day").valueOf(),s[r].until=i.valueOf();break}}return s}function kf(e,t,r){var n,i,s=this.eras(),a,o,l;for(e=e.toUpperCase(),n=0,i=s.length;n<i;++n)if(a=s[n].name.toUpperCase(),o=s[n].abbr.toUpperCase(),l=s[n].narrow.toUpperCase(),r)switch(t){case"N":case"NN":case"NNN":if(o===e)return s[n];break;case"NNNN":if(a===e)return s[n];break;case"NNNNN":if(l===e)return s[n];break}else if([a,o,l].indexOf(e)>=0)return s[n]}function Df(e,t){var r=e.since<=e.until?1:-1;return t===void 0?y(e.since).year():y(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 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].narrow;return""}function Hf(){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 Nf(){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()-y(i[e].since).year())*r+i[e].offset;return this.year()}function Cf(e){return L(this,"_erasNameRegex")||jn.call(this),e?this._erasNameRegex:this._erasRegex}function Lf(e){return L(this,"_erasAbbrRegex")||jn.call(this),e?this._erasAbbrRegex:this._erasRegex}function Af(e){return L(this,"_erasNarrowRegex")||jn.call(this),e?this._erasNarrowRegex:this._erasRegex}function Wn(e,t){return t.erasAbbrRegex(e)}function If(e,t){return t.erasNameRegex(e)}function Ff(e,t){return t.erasNarrowRegex(e)}function Gf(e,t){return t._eraYearOrdinalRegex||ft}function jn(){var e=[],t=[],r=[],n=[],i,s,a,o,l,u=this.eras();for(i=0,s=u.length;i<s;++i)a=Me(u[i].name),o=Me(u[i].abbr),l=Me(u[i].narrow),t.push(a),e.push(o),r.push(l),n.push(a),n.push(o),n.push(l);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")}T(0,["gg",2],0,function(){return this.weekYear()%100});T(0,["GG",2],0,function(){return this.isoWeekYear()%100});function Sr(e,t){T(0,[e,e.length],0,t)}Sr("gggg","weekYear");Sr("ggggg","weekYear");Sr("GGGG","isoWeekYear");Sr("GGGGG","isoWeekYear");b("G",gr);b("g",gr);b("GG",W,ae);b("gg",W,ae);b("GGGG",Rn,Pn);b("gggg",Rn,Pn);b("GGGGG",_r,mr);b("ggggg",_r,mr);Lt(["gggg","ggggg","GGGG","GGGGG"],function(e,t,r,n){t[n.substr(0,2)]=D(e)});Lt(["gg","GG"],function(e,t,r,n){t[n]=y.parseTwoDigitYear(e)});function Yf(e){return oa.call(this,e,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)}function Bf(e){return oa.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function Uf(){return xe(this.year(),1,4)}function Wf(){return xe(this.isoWeekYear(),1,4)}function jf(){var e=this.localeData()._week;return xe(this.year(),e.dow,e.doy)}function Vf(){var e=this.localeData()._week;return xe(this.weekYear(),e.dow,e.doy)}function oa(e,t,r,n,i){var s;return e==null?kt(this,n,i).year:(s=xe(e,n,i),t>s&&(t=s),$f.call(this,e,t,r,n,i))}function $f(e,t,r,n,i){var s=Ys(e,t,r,n,i),a=Ot(s.year,0,s.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}T("Q",0,"Qo","quarter");b("Q",Ds);G("Q",function(e,t){t[Te]=(D(e)-1)*3});function zf(e){return e==null?Math.ceil((this.month()+1)/3):this.month((e-1)*3+this.month()%3)}T("D",["DD",2],"Do","date");b("D",W,ht);b("DD",W,ae);b("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient});G(["D","DD"],ge);G("Do",function(e,t){t[ge]=D(e.match(W)[0])});var la=ct("Date",!0);T("DDD",["DDDD",3],"DDDo","dayOfYear");b("DDD",pr);b("DDDD",Ps);G(["DDD","DDDD"],function(e,t,r){r._dayOfYear=D(e)});function Zf(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return e==null?t:this.add(e-t,"d")}T("m",["mm",2],0,"minute");b("m",W,Hn);b("mm",W,ae);G(["m","mm"],de);var Xf=ct("Minutes",!1);T("s",["ss",2],0,"second");b("s",W,Hn);b("ss",W,ae);G(["s","ss"],Ee);var qf=ct("Seconds",!1);T("S",0,0,function(){return~~(this.millisecond()/100)});T(0,["SS",2],0,function(){return~~(this.millisecond()/10)});T(0,["SSS",3],0,"millisecond");T(0,["SSSS",4],0,function(){return this.millisecond()*10});T(0,["SSSSS",5],0,function(){return this.millisecond()*100});T(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3});T(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4});T(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5});T(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6});b("S",pr,Ds);b("SS",pr,ae);b("SSS",pr,Ps);var Le,ua;for(Le="SSSS";Le.length<=9;Le+="S")b(Le,ft);function Jf(e,t){t[Ue]=D(("0."+e)*1e3)}for(Le="S";Le.length<=9;Le+="S")G(Le,Jf);ua=ct("Milliseconds",!1);T("z",0,0,"zoneAbbr");T("zz",0,0,"zoneName");function Qf(){return this._isUTC?"UTC":""}function Kf(){return this._isUTC?"Coordinated Universal Time":""}var d=Nt.prototype;d.add=ju;d.calendar=Ju;d.clone=Qu;d.diff=af;d.endOf=_f;d.format=ff;d.from=hf;d.fromNow=cf;d.to=df;d.toNow=mf;d.get=ll;d.invalidAt=Mf;d.isAfter=Ku;d.isBefore=ef;d.isBetween=tf;d.isSame=rf;d.isSameOrAfter=nf;d.isSameOrBefore=sf;d.isValid=Tf;d.lang=ra;d.locale=ta;d.localeData=na;d.max=Su;d.min=wu;d.parsingFlags=Ef;d.set=ul;d.startOf=pf;d.subtract=Vu;d.toArray=vf;d.toObject=wf;d.toDate=bf;d.toISOString=lf;d.inspect=uf;typeof Symbol!="undefined"&&Symbol.for!=null&&(d[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"});d.toJSON=Sf;d.toString=of;d.unix=yf;d.valueOf=gf;d.creationData=xf;d.eraName=Pf;d.eraNarrow=Rf;d.eraAbbr=Hf;d.eraYear=Nf;d.year=Ns;d.isLeapYear=ol;d.weekYear=Yf;d.isoWeekYear=Bf;d.quarter=d.quarters=zf;d.month=Fs;d.daysInMonth=yl;d.week=d.weeks=xl;d.isoWeek=d.isoWeeks=Ol;d.weeksInYear=jf;d.weeksInWeekYear=Vf;d.isoWeeksInYear=Uf;d.isoWeeksInISOWeekYear=Wf;d.date=la;d.day=d.days=Yl;d.weekday=Bl;d.isoWeekday=Ul;d.dayOfYear=Zf;d.hour=d.hours=Xl;d.minute=d.minutes=Xf;d.second=d.seconds=qf;d.millisecond=d.milliseconds=ua;d.utcOffset=Ru;d.utc=Nu;d.local=Cu;d.parseZone=Lu;d.hasAlignedHourOffset=Au;d.isDST=Iu;d.isLocal=Gu;d.isUtcOffset=Yu;d.isUtc=Js;d.isUTC=Js;d.zoneAbbr=Qf;d.zoneName=Kf;d.dates=ue("dates accessor is deprecated. Use date instead.",la);d.months=ue("months accessor is deprecated. Use month instead",Fs);d.years=ue("years accessor is deprecated. Use year instead",Ns);d.zone=ue("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",Hu);d.isDSTShifted=ue("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Fu);function eh(e){return U(e*1e3)}function th(){return U.apply(null,arguments).parseZone()}function fa(e){return e}var I=On.prototype;I.calendar=Go;I.longDateFormat=Wo;I.invalidDate=Vo;I.ordinal=Zo;I.preparse=fa;I.postformat=fa;I.relativeTime=qo;I.pastFuture=Jo;I.set=Io;I.eras=Of;I.erasParse=kf;I.erasConvertYear=Df;I.erasAbbrRegex=Lf;I.erasNameRegex=Cf;I.erasNarrowRegex=Af;I.months=ml;I.monthsShort=pl;I.monthsParse=gl;I.monthsRegex=vl;I.monthsShortRegex=bl;I.week=Sl;I.firstDayOfYear=Ml;I.firstDayOfWeek=El;I.weekdays=Ll;I.weekdaysMin=Il;I.weekdaysShort=Al;I.weekdaysParse=Gl;I.weekdaysRegex=Wl;I.weekdaysShortRegex=jl;I.weekdaysMinRegex=Vl;I.isPM=zl;I.meridiem=ql;function fr(e,t,r,n){var i=De(),s=be().set(n,t);return i[r](s,e)}function ha(e,t,r){if(ke(e)&&(t=e,e=void 0),e=e||"",t!=null)return fr(e,t,r,"month");var n,i=[];for(n=0;n<12;n++)i[n]=fr(e,n,r,"month");return i}function Vn(e,t,r,n){typeof e=="boolean"?(ke(t)&&(r=t,t=void 0),t=t||""):(t=e,r=t,e=!1,ke(t)&&(r=t,t=void 0),t=t||"");var i=De(),s=e?i._week.dow:0,a,o=[];if(r!=null)return fr(t,(r+s)%7,n,"day");for(a=0;a<7;a++)o[a]=fr(t,(a+s)%7,n,"day");return o}function rh(e,t){return ha(e,t,"months")}function nh(e,t){return ha(e,t,"monthsShort")}function ih(e,t,r){return Vn(e,t,r,"weekdays")}function sh(e,t,r){return Vn(e,t,r,"weekdaysShort")}function ah(e,t,r){return Vn(e,t,r,"weekdaysMin")}Fe("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=D(e%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return e+r}});y.lang=ue("moment.lang is deprecated. Use moment.locale instead.",Fe);y.langData=ue("moment.langData is deprecated. Use moment.localeData instead.",De);var we=Math.abs;function oh(){var e=this._data;return this._milliseconds=we(this._milliseconds),this._days=we(this._days),this._months=we(this._months),e.milliseconds=we(e.milliseconds),e.seconds=we(e.seconds),e.minutes=we(e.minutes),e.hours=we(e.hours),e.months=we(e.months),e.years=we(e.years),this}function ca(e,t,r,n){var i=_e(t,r);return e._milliseconds+=n*i._milliseconds,e._days+=n*i._days,e._months+=n*i._months,e._bubble()}function lh(e,t){return ca(this,e,t,1)}function uh(e,t){return ca(this,e,t,-1)}function yi(e){return e<0?Math.floor(e):Math.ceil(e)}function fh(){var e=this._milliseconds,t=this._days,r=this._months,n=this._data,i,s,a,o,l;return e>=0&&t>=0&&r>=0||e<=0&&t<=0&&r<=0||(e+=yi(un(r)+t)*864e5,t=0,r=0),n.milliseconds=e%1e3,i=le(e/1e3),n.seconds=i%60,s=le(i/60),n.minutes=s%60,a=le(s/60),n.hours=a%24,t+=le(a/24),l=le(da(t)),r+=l,t-=yi(un(l)),o=le(r/12),r%=12,n.days=t,n.months=r,n.years=o,this}function da(e){return e*4800/146097}function un(e){return e*146097/4800}function hh(e){if(!this.isValid())return NaN;var t,r,n=this._milliseconds;if(e=fe(e),e==="month"||e==="quarter"||e==="year")switch(t=this._days+n/864e5,r=this._months+da(t),e){case"month":return r;case"quarter":return r/3;case"year":return r/12}else switch(t=this._days+Math.round(un(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 Pe(e){return function(){return this.as(e)}}var ma=Pe("ms"),ch=Pe("s"),dh=Pe("m"),mh=Pe("h"),ph=Pe("d"),_h=Pe("w"),gh=Pe("M"),yh=Pe("Q"),bh=Pe("y"),vh=ma;function wh(){return _e(this)}function Sh(e){return e=fe(e),this.isValid()?this[e+"s"]():NaN}function $e(e){return function(){return this.isValid()?this._data[e]:NaN}}var Th=$e("milliseconds"),Eh=$e("seconds"),Mh=$e("minutes"),xh=$e("hours"),Oh=$e("days"),kh=$e("months"),Dh=$e("years");function Ph(){return le(this.days()/7)}var Se=Math.round,et={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Rh(e,t,r,n,i){return i.relativeTime(t||1,!!r,e,n)}function Hh(e,t,r,n){var i=_e(e).abs(),s=Se(i.as("s")),a=Se(i.as("m")),o=Se(i.as("h")),l=Se(i.as("d")),u=Se(i.as("M")),f=Se(i.as("w")),h=Se(i.as("y")),c=s<=r.ss&&["s",s]||s<r.s&&["ss",s]||a<=1&&["m"]||a<r.m&&["mm",a]||o<=1&&["h"]||o<r.h&&["hh",o]||l<=1&&["d"]||l<r.d&&["dd",l];return r.w!=null&&(c=c||f<=1&&["w"]||f<r.w&&["ww",f]),c=c||u<=1&&["M"]||u<r.M&&["MM",u]||h<=1&&["y"]||["yy",h],c[2]=t,c[3]=+e>0,c[4]=n,Rh.apply(null,c)}function Nh(e){return e===void 0?Se:typeof e=="function"?(Se=e,!0):!1}function Ch(e,t){return et[e]===void 0?!1:t===void 0?et[e]:(et[e]=t,e==="s"&&(et.ss=t-1),!0)}function Lh(e,t){if(!this.isValid())return this.localeData().invalidDate();var r=!1,n=et,i,s;return typeof e=="object"&&(t=e,e=!1),typeof e=="boolean"&&(r=e),typeof t=="object"&&(n=Object.assign({},et,t),t.s!=null&&t.ss==null&&(n.ss=t.s-1)),i=this.localeData(),s=Hh(this,!r,n,i),r&&(s=i.pastFuture(+this,s)),i.postformat(s)}var zr=Math.abs;function qe(e){return(e>0)-(e<0)||+e}function Tr(){if(!this.isValid())return this.localeData().invalidDate();var e=zr(this._milliseconds)/1e3,t=zr(this._days),r=zr(this._months),n,i,s,a,o=this.asSeconds(),l,u,f,h;return o?(n=le(e/60),i=le(n/60),e%=60,n%=60,s=le(r/12),r%=12,a=e?e.toFixed(3).replace(/\.?0+$/,""):"",l=o<0?"-":"",u=qe(this._months)!==qe(o)?"-":"",f=qe(this._days)!==qe(o)?"-":"",h=qe(this._milliseconds)!==qe(o)?"-":"",l+"P"+(s?u+s+"Y":"")+(r?u+r+"M":"")+(t?f+t+"D":"")+(i||n||e?"T":"")+(i?h+i+"H":"")+(n?h+n+"M":"")+(e?h+a+"S":"")):"P0D"}var N=wr.prototype;N.isValid=Ou;N.abs=oh;N.add=lh;N.subtract=uh;N.as=hh;N.asMilliseconds=ma;N.asSeconds=ch;N.asMinutes=dh;N.asHours=mh;N.asDays=ph;N.asWeeks=_h;N.asMonths=gh;N.asQuarters=yh;N.asYears=bh;N.valueOf=vh;N._bubble=fh;N.clone=wh;N.get=Sh;N.milliseconds=Th;N.seconds=Eh;N.minutes=Mh;N.hours=xh;N.days=Oh;N.weeks=Ph;N.months=kh;N.years=Dh;N.humanize=Lh;N.toISOString=Tr;N.toString=Tr;N.toJSON=Tr;N.locale=ta;N.localeData=na;N.toIsoString=ue("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Tr);N.lang=ra;T("X",0,0,"unix");T("x",0,0,"valueOf");b("x",gr);b("X",tl);G("X",function(e,t,r){r._d=new Date(parseFloat(e)*1e3)});G("x",function(e,t,r){r._d=new Date(D(e))});//! moment.js
10
- y.version="2.30.1";Lo(U);y.fn=d;y.min=Tu;y.max=Eu;y.now=Mu;y.utc=be;y.unix=eh;y.months=rh;y.isDate=Ht;y.locale=Fe;y.invalid=dr;y.duration=_e;y.isMoment=pe;y.weekdays=ih;y.parseZone=th;y.localeData=De;y.isDuration=er;y.monthsShort=nh;y.weekdaysMin=ah;y.defineLocale=In;y.updateLocale=eu;y.locales=tu;y.weekdaysShort=sh;y.normalizeUnits=fe;y.relativeTimeRounding=Nh;y.relativeTimeThreshold=Ch;y.calendarFormat=qu;y.prototype=d;y.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"};var fn=function(e,t){return fn=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])},fn(e,t)};function Re(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");fn(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var C=function(){return C=Object.assign||function(t){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&(t[s]=r[s])}return t},C.apply(this,arguments)};function Ah(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 hn(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 cn(e,t){var r=typeof Symbol=="function"&&e[Symbol.iterator];if(!r)return e;var n=r.call(e),i,s=[],a;try{for(;(t===void 0||t-- >0)&&!(i=n.next()).done;)s.push(i.value)}catch(o){a={error:o}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(a)throw a.error}}return s}function st(e,t,r){if(r||arguments.length===2)for(var n=0,i=t.length,s;n<i;n++)(s||!(n in t))&&(s||(s=Array.prototype.slice.call(t,0,n)),s[n]=t[n]);return e.concat(s||Array.prototype.slice.call(t))}function Oe(e){return typeof e=="function"}function pa(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 Zr=pa(function(e){return function(r){e(this),this.message=r?r.length+` errors occurred during unsubscription:
9
+ `+new Error().stack),r=!1}return t.apply(this,arguments)},t)}var mi={};function Os(e,t){y.deprecationHandler!=null&&y.deprecationHandler(e,t),mi[e]||(xs(t),mi[e]=!0)}y.suppressDeprecationWarnings=!1;y.deprecationHandler=null;function ve(e){return typeof Function!="undefined"&&e instanceof Function||Object.prototype.toString.call(e)==="[object Function]"}function Io(e){var t,r;for(r in e)L(e,r)&&(t=e[r],ve(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 nn(e,t){var r=Ce({},e),n;for(n in t)L(t,n)&&(je(e[n])&&je(t[n])?(r[n]={},Ce(r[n],e[n]),Ce(r[n],t[n])):t[n]!=null?r[n]=t[n]:delete r[n]);for(n in e)L(e,n)&&!L(t,n)&&je(e[n])&&(r[n]=Ce({},r[n]));return r}function On(e){e!=null&&this.set(e)}var sn;Object.keys?sn=Object.keys:sn=function(e){var t,r=[];for(t in e)L(e,t)&&r.push(t);return r};var Fo={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function Go(e,t,r){var n=this._calendar[e]||this._calendar.sameElse;return ve(n)?n.call(t,r):n}function ye(e,t,r){var n=""+Math.abs(e),i=t-n.length,s=e>=0;return(s?r?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+n}var kn=/(\[[^\[]*\])|(\\)?([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,Zt=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Vr={},rt={};function T(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 ye(i.apply(this,arguments),t[1],t[2])}),r&&(rt[r]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function Yo(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function Bo(e){var t=e.match(kn),r,n;for(r=0,n=t.length;r<n;r++)rt[t[r]]?t[r]=rt[t[r]]:t[r]=Yo(t[r]);return function(i){var s="",a;for(a=0;a<n;a++)s+=ve(t[a])?t[a].call(i,e):t[a];return s}}function Kt(e,t){return e.isValid()?(t=ks(t,e.localeData()),Vr[t]=Vr[t]||Bo(t),Vr[t](e)):e.localeData().invalidDate()}function ks(e,t){var r=5;function n(i){return t.longDateFormat(i)||i}for(Zt.lastIndex=0;r>=0&&Zt.test(e);)e=e.replace(Zt,n),Zt.lastIndex=0,r-=1;return e}var Uo={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 Wo(e){var t=this._longDateFormat[e],r=this._longDateFormat[e.toUpperCase()];return t||!r?t:(this._longDateFormat[e]=r.match(kn).map(function(n){return n==="MMMM"||n==="MM"||n==="DD"||n==="dddd"?n.slice(1):n}).join(""),this._longDateFormat[e])}var jo="Invalid date";function Vo(){return this._invalidDate}var $o="%d",zo=/\d{1,2}/;function Zo(e){return this._ordinal.replace("%d",e)}var Xo={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 qo(e,t,r,n){var i=this._relativeTime[r];return ve(i)?i(e,t,r,n):i.replace(/%d/i,e)}function Jo(e,t){var r=this._relativeTime[e>0?"future":"past"];return ve(r)?r(t):r.replace(/%s/i,t)}var pi={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function he(e){return typeof e=="string"?pi[e]||pi[e.toLowerCase()]:void 0}function Dn(e){var t={},r,n;for(n in e)L(e,n)&&(r=he(n),r&&(t[r]=e[n]));return t}var Qo={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1};function Ko(e){var t=[],r;for(r in e)L(e,r)&&t.push({unit:r,priority:Qo[r]});return t.sort(function(n,i){return n.priority-i.priority}),t}var Ds=/\d/,ae=/\d\d/,Ps=/\d{3}/,Pn=/\d{4}/,mr=/[+-]?\d{6}/,W=/\d\d?/,Rs=/\d\d\d\d?/,Hs=/\d\d\d\d\d\d?/,pr=/\d{1,3}/,Rn=/\d{1,4}/,_r=/[+-]?\d{1,6}/,ht=/\d+/,gr=/[+-]?\d+/,el=/Z|[+-]\d\d:?\d\d/gi,yr=/Z|[+-]\d\d(?::?\d\d)?/gi,tl=/[+-]?\d+(\.\d{1,3})?/,Ct=/[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,ft=/^[1-9]\d?/,Hn=/^([1-9]\d|\d)/,ar;ar={};function b(e,t,r){ar[e]=ve(t)?t:function(n,i){return n&&r?r:t}}function rl(e,t){return L(ar,e)?ar[e](t._strict,t._locale):new RegExp(nl(e))}function nl(e){return Me(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,r,n,i,s){return r||n||i||s}))}function Me(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function le(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function D(e){var t=+e,r=0;return t!==0&&isFinite(t)&&(r=le(t)),r}var an={};function G(e,t){var r,n=t,i;for(typeof e=="string"&&(e=[e]),ke(t)&&(n=function(s,a){a[t]=D(s)}),i=e.length,r=0;r<i;r++)an[e[r]]=n}function Lt(e,t){G(e,function(r,n,i,s){i._w=i._w||{},t(r,i._w,i,s)})}function il(e,t,r){t!=null&&L(an,e)&&an[e](t,r._a,r,e)}function br(e){return e%4===0&&e%100!==0||e%400===0}var ee=0,Te=1,ge=2,J=3,de=4,Ee=5,Ue=6,sl=7,al=8;T("Y",0,0,function(){var e=this.year();return e<=9999?ye(e,4):"+"+e});T(0,["YY",2],0,function(){return this.year()%100});T(0,["YYYY",4],0,"year");T(0,["YYYYY",5],0,"year");T(0,["YYYYYY",6,!0],0,"year");b("Y",gr);b("YY",W,ae);b("YYYY",Rn,Pn);b("YYYYY",_r,mr);b("YYYYYY",_r,mr);G(["YYYYY","YYYYYY"],ee);G("YYYY",function(e,t){t[ee]=e.length===2?y.parseTwoDigitYear(e):D(e)});G("YY",function(e,t){t[ee]=y.parseTwoDigitYear(e)});G("Y",function(e,t){t[ee]=parseInt(e,10)});function Tt(e){return br(e)?366:365}y.parseTwoDigitYear=function(e){return D(e)+(D(e)>68?1900:2e3)};var Ns=ct("FullYear",!0);function ol(){return br(this.year())}function ct(e,t){return function(r){return r!=null?(Cs(this,e,r),y.updateOffset(this,t),this):xt(this,e)}}function xt(e,t){if(!e.isValid())return NaN;var r=e._d,n=e._isUTC;switch(t){case"Milliseconds":return n?r.getUTCMilliseconds():r.getMilliseconds();case"Seconds":return n?r.getUTCSeconds():r.getSeconds();case"Minutes":return n?r.getUTCMinutes():r.getMinutes();case"Hours":return n?r.getUTCHours():r.getHours();case"Date":return n?r.getUTCDate():r.getDate();case"Day":return n?r.getUTCDay():r.getDay();case"Month":return n?r.getUTCMonth():r.getMonth();case"FullYear":return n?r.getUTCFullYear():r.getFullYear();default:return NaN}}function Cs(e,t,r){var n,i,s,a,o;if(!(!e.isValid()||isNaN(r))){switch(n=e._d,i=e._isUTC,t){case"Milliseconds":return void(i?n.setUTCMilliseconds(r):n.setMilliseconds(r));case"Seconds":return void(i?n.setUTCSeconds(r):n.setSeconds(r));case"Minutes":return void(i?n.setUTCMinutes(r):n.setMinutes(r));case"Hours":return void(i?n.setUTCHours(r):n.setHours(r));case"Date":return void(i?n.setUTCDate(r):n.setDate(r));case"FullYear":break;default:return}s=r,a=e.month(),o=e.date(),o=o===29&&a===1&&!br(s)?28:o,i?n.setUTCFullYear(s,a,o):n.setFullYear(s,a,o)}}function ll(e){return e=he(e),ve(this[e])?this[e]():this}function ul(e,t){if(typeof e=="object"){e=Dn(e);var r=Ko(e),n,i=r.length;for(n=0;n<i;n++)this[r[n].unit](e[r[n].unit])}else if(e=he(e),ve(this[e]))return this[e](t);return this}function hl(e,t){return(e%t+t)%t}var q;Array.prototype.indexOf?q=Array.prototype.indexOf:q=function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1};function Nn(e,t){if(isNaN(e)||isNaN(t))return NaN;var r=hl(t,12);return e+=(t-r)/12,r===1?br(e)?29:28:31-r%7%2}T("M",["MM",2],"Mo",function(){return this.month()+1});T("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)});T("MMMM",0,0,function(e){return this.localeData().months(this,e)});b("M",W,ft);b("MM",W,ae);b("MMM",function(e,t){return t.monthsShortRegex(e)});b("MMMM",function(e,t){return t.monthsRegex(e)});G(["M","MM"],function(e,t){t[Te]=D(e)-1});G(["MMM","MMMM"],function(e,t,r,n){var i=r._locale.monthsParse(e,n,r._strict);i!=null?t[Te]=i:O(r).invalidMonth=e});var fl="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Ls="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),As=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,cl=Ct,dl=Ct;function ml(e,t){return e?me(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||As).test(t)?"format":"standalone"][e.month()]:me(this._months)?this._months:this._months.standalone}function pl(e,t){return e?me(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[As.test(t)?"format":"standalone"][e.month()]:me(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function _l(e,t,r){var n,i,s,a=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],n=0;n<12;++n)s=be([2e3,n]),this._shortMonthsParse[n]=this.monthsShort(s,"").toLocaleLowerCase(),this._longMonthsParse[n]=this.months(s,"").toLocaleLowerCase();return r?t==="MMM"?(i=q.call(this._shortMonthsParse,a),i!==-1?i:null):(i=q.call(this._longMonthsParse,a),i!==-1?i:null):t==="MMM"?(i=q.call(this._shortMonthsParse,a),i!==-1?i:(i=q.call(this._longMonthsParse,a),i!==-1?i:null)):(i=q.call(this._longMonthsParse,a),i!==-1?i:(i=q.call(this._shortMonthsParse,a),i!==-1?i:null))}function gl(e,t,r){var n,i,s;if(this._monthsParseExact)return _l.call(this,e,t,r);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),n=0;n<12;n++){if(i=be([2e3,n]),r&&!this._longMonthsParse[n]&&(this._longMonthsParse[n]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[n]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),!r&&!this._monthsParse[n]&&(s="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[n]=new RegExp(s.replace(".",""),"i")),r&&t==="MMMM"&&this._longMonthsParse[n].test(e))return n;if(r&&t==="MMM"&&this._shortMonthsParse[n].test(e))return n;if(!r&&this._monthsParse[n].test(e))return n}}function Is(e,t){if(!e.isValid())return e;if(typeof t=="string"){if(/^\d+$/.test(t))t=D(t);else if(t=e.localeData().monthsParse(t),!ke(t))return e}var r=t,n=e.date();return n=n<29?n:Math.min(n,Nn(e.year(),r)),e._isUTC?e._d.setUTCMonth(r,n):e._d.setMonth(r,n),e}function Fs(e){return e!=null?(Is(this,e),y.updateOffset(this,!0),this):xt(this,"Month")}function yl(){return Nn(this.year(),this.month())}function bl(e){return this._monthsParseExact?(L(this,"_monthsRegex")||Gs.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(L(this,"_monthsShortRegex")||(this._monthsShortRegex=cl),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function vl(e){return this._monthsParseExact?(L(this,"_monthsRegex")||Gs.call(this),e?this._monthsStrictRegex:this._monthsRegex):(L(this,"_monthsRegex")||(this._monthsRegex=dl),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function Gs(){function e(l,u){return u.length-l.length}var t=[],r=[],n=[],i,s,a,o;for(i=0;i<12;i++)s=be([2e3,i]),a=Me(this.monthsShort(s,"")),o=Me(this.months(s,"")),t.push(a),r.push(o),n.push(o),n.push(a);t.sort(e),r.sort(e),n.sort(e),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")}function wl(e,t,r,n,i,s,a){var o;return e<100&&e>=0?(o=new Date(e+400,t,r,n,i,s,a),isFinite(o.getFullYear())&&o.setFullYear(e)):o=new Date(e,t,r,n,i,s,a),o}function Ot(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 or(e,t,r){var n=7+t-r,i=(7+Ot(e,0,n).getUTCDay()-t)%7;return-i+n-1}function Ys(e,t,r,n,i){var s=(7+r-n)%7,a=or(e,n,i),o=1+7*(t-1)+s+a,l,u;return o<=0?(l=e-1,u=Tt(l)+o):o>Tt(e)?(l=e+1,u=o-Tt(e)):(l=e,u=o),{year:l,dayOfYear:u}}function kt(e,t,r){var n=or(e.year(),t,r),i=Math.floor((e.dayOfYear()-n-1)/7)+1,s,a;return i<1?(a=e.year()-1,s=i+xe(a,t,r)):i>xe(e.year(),t,r)?(s=i-xe(e.year(),t,r),a=e.year()+1):(a=e.year(),s=i),{week:s,year:a}}function xe(e,t,r){var n=or(e,t,r),i=or(e+1,t,r);return(Tt(e)-n+i)/7}T("w",["ww",2],"wo","week");T("W",["WW",2],"Wo","isoWeek");b("w",W,ft);b("ww",W,ae);b("W",W,ft);b("WW",W,ae);Lt(["w","ww","W","WW"],function(e,t,r,n){t[n.substr(0,1)]=D(e)});function Sl(e){return kt(e,this._week.dow,this._week.doy).week}var Tl={dow:0,doy:6};function El(){return this._week.dow}function Ml(){return this._week.doy}function xl(e){var t=this.localeData().week(this);return e==null?t:this.add((e-t)*7,"d")}function Ol(e){var t=kt(this,1,4).week;return e==null?t:this.add((e-t)*7,"d")}T("d",0,"do","day");T("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)});T("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)});T("dddd",0,0,function(e){return this.localeData().weekdays(this,e)});T("e",0,0,"weekday");T("E",0,0,"isoWeekday");b("d",W);b("e",W);b("E",W);b("dd",function(e,t){return t.weekdaysMinRegex(e)});b("ddd",function(e,t){return t.weekdaysShortRegex(e)});b("dddd",function(e,t){return t.weekdaysRegex(e)});Lt(["dd","ddd","dddd"],function(e,t,r,n){var i=r._locale.weekdaysParse(e,n,r._strict);i!=null?t.d=i:O(r).invalidWeekday=e});Lt(["d","e","E"],function(e,t,r,n){t[n]=D(e)});function kl(e,t){return typeof e!="string"?e:isNaN(e)?(e=t.weekdaysParse(e),typeof e=="number"?e:null):parseInt(e,10)}function Dl(e,t){return typeof e=="string"?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function Cn(e,t){return e.slice(t,7).concat(e.slice(0,t))}var Pl="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Bs="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Rl="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Hl=Ct,Nl=Ct,Cl=Ct;function Ll(e,t){var r=me(this._weekdays)?this._weekdays:this._weekdays[e&&e!==!0&&this._weekdays.isFormat.test(t)?"format":"standalone"];return e===!0?Cn(r,this._week.dow):e?r[e.day()]:r}function Al(e){return e===!0?Cn(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Il(e){return e===!0?Cn(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Fl(e,t,r){var n,i,s,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],n=0;n<7;++n)s=be([2e3,1]).day(n),this._minWeekdaysParse[n]=this.weekdaysMin(s,"").toLocaleLowerCase(),this._shortWeekdaysParse[n]=this.weekdaysShort(s,"").toLocaleLowerCase(),this._weekdaysParse[n]=this.weekdays(s,"").toLocaleLowerCase();return r?t==="dddd"?(i=q.call(this._weekdaysParse,a),i!==-1?i:null):t==="ddd"?(i=q.call(this._shortWeekdaysParse,a),i!==-1?i:null):(i=q.call(this._minWeekdaysParse,a),i!==-1?i:null):t==="dddd"?(i=q.call(this._weekdaysParse,a),i!==-1||(i=q.call(this._shortWeekdaysParse,a),i!==-1)?i:(i=q.call(this._minWeekdaysParse,a),i!==-1?i:null)):t==="ddd"?(i=q.call(this._shortWeekdaysParse,a),i!==-1||(i=q.call(this._weekdaysParse,a),i!==-1)?i:(i=q.call(this._minWeekdaysParse,a),i!==-1?i:null)):(i=q.call(this._minWeekdaysParse,a),i!==-1||(i=q.call(this._weekdaysParse,a),i!==-1)?i:(i=q.call(this._shortWeekdaysParse,a),i!==-1?i:null))}function Gl(e,t,r){var n,i,s;if(this._weekdaysParseExact)return Fl.call(this,e,t,r);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),n=0;n<7;n++){if(i=be([2e3,1]).day(n),r&&!this._fullWeekdaysParse[n]&&(this._fullWeekdaysParse[n]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[n]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[n]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[n]||(s="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[n]=new RegExp(s.replace(".",""),"i")),r&&t==="dddd"&&this._fullWeekdaysParse[n].test(e))return n;if(r&&t==="ddd"&&this._shortWeekdaysParse[n].test(e))return n;if(r&&t==="dd"&&this._minWeekdaysParse[n].test(e))return n;if(!r&&this._weekdaysParse[n].test(e))return n}}function Yl(e){if(!this.isValid())return e!=null?this:NaN;var t=xt(this,"Day");return e!=null?(e=kl(e,this.localeData()),this.add(e-t,"d")):t}function Bl(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 Ul(e){if(!this.isValid())return e!=null?this:NaN;if(e!=null){var t=Dl(e,this.localeData());return this.day(this.day()%7?t:t-7)}else return this.day()||7}function Wl(e){return this._weekdaysParseExact?(L(this,"_weekdaysRegex")||Ln.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(L(this,"_weekdaysRegex")||(this._weekdaysRegex=Hl),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function jl(e){return this._weekdaysParseExact?(L(this,"_weekdaysRegex")||Ln.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(L(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Nl),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Vl(e){return this._weekdaysParseExact?(L(this,"_weekdaysRegex")||Ln.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(L(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Cl),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Ln(){function e(h,f){return f.length-h.length}var t=[],r=[],n=[],i=[],s,a,o,l,u;for(s=0;s<7;s++)a=be([2e3,1]).day(s),o=Me(this.weekdaysMin(a,"")),l=Me(this.weekdaysShort(a,"")),u=Me(this.weekdays(a,"")),t.push(o),r.push(l),n.push(u),i.push(o),i.push(l),i.push(u);t.sort(e),r.sort(e),n.sort(e),i.sort(e),this._weekdaysRegex=new RegExp("^("+i.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+n.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+t.join("|")+")","i")}function An(){return this.hours()%12||12}function $l(){return this.hours()||24}T("H",["HH",2],0,"hour");T("h",["hh",2],0,An);T("k",["kk",2],0,$l);T("hmm",0,0,function(){return""+An.apply(this)+ye(this.minutes(),2)});T("hmmss",0,0,function(){return""+An.apply(this)+ye(this.minutes(),2)+ye(this.seconds(),2)});T("Hmm",0,0,function(){return""+this.hours()+ye(this.minutes(),2)});T("Hmmss",0,0,function(){return""+this.hours()+ye(this.minutes(),2)+ye(this.seconds(),2)});function Us(e,t){T(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}Us("a",!0);Us("A",!1);function Ws(e,t){return t._meridiemParse}b("a",Ws);b("A",Ws);b("H",W,Hn);b("h",W,ft);b("k",W,ft);b("HH",W,ae);b("hh",W,ae);b("kk",W,ae);b("hmm",Rs);b("hmmss",Hs);b("Hmm",Rs);b("Hmmss",Hs);G(["H","HH"],J);G(["k","kk"],function(e,t,r){var n=D(e);t[J]=n===24?0:n});G(["a","A"],function(e,t,r){r._isPm=r._locale.isPM(e),r._meridiem=e});G(["h","hh"],function(e,t,r){t[J]=D(e),O(r).bigHour=!0});G("hmm",function(e,t,r){var n=e.length-2;t[J]=D(e.substr(0,n)),t[de]=D(e.substr(n)),O(r).bigHour=!0});G("hmmss",function(e,t,r){var n=e.length-4,i=e.length-2;t[J]=D(e.substr(0,n)),t[de]=D(e.substr(n,2)),t[Ee]=D(e.substr(i)),O(r).bigHour=!0});G("Hmm",function(e,t,r){var n=e.length-2;t[J]=D(e.substr(0,n)),t[de]=D(e.substr(n))});G("Hmmss",function(e,t,r){var n=e.length-4,i=e.length-2;t[J]=D(e.substr(0,n)),t[de]=D(e.substr(n,2)),t[Ee]=D(e.substr(i))});function zl(e){return(e+"").toLowerCase().charAt(0)==="p"}var Zl=/[ap]\.?m?\.?/i,Xl=ct("Hours",!0);function ql(e,t,r){return e>11?r?"pm":"PM":r?"am":"AM"}var js={calendar:Fo,longDateFormat:Uo,invalidDate:jo,ordinal:$o,dayOfMonthOrdinalParse:zo,relativeTime:Xo,months:fl,monthsShort:Ls,week:Tl,weekdays:Pl,weekdaysMin:Rl,weekdaysShort:Bs,meridiemParse:Zl},V={},gt={},Dt;function Jl(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 _i(e){return e&&e.toLowerCase().replace("_","-")}function Ql(e){for(var t=0,r,n,i,s;t<e.length;){for(s=_i(e[t]).split("-"),r=s.length,n=_i(e[t+1]),n=n?n.split("-"):null;r>0;){if(i=vr(s.slice(0,r).join("-")),i)return i;if(n&&n.length>=r&&Jl(s,n)>=r-1)break;r--}t++}return Dt}function Kl(e){return!!(e&&e.match("^[^/\\\\]*$"))}function vr(e){var t=null,r;if(V[e]===void 0&&typeof module!="undefined"&&module&&module.exports&&Kl(e))try{t=Dt._abbr,r=Co,r("./locale/"+e),Fe(t)}catch(n){V[e]=null}return V[e]}function Fe(e,t){var r;return e&&(ne(t)?r=De(e):r=In(e,t),r?Dt=r:typeof console!="undefined"&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),Dt._abbr}function In(e,t){if(t!==null){var r,n=js;if(t.abbr=e,V[e]!=null)Os("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=V[e]._config;else if(t.parentLocale!=null)if(V[t.parentLocale]!=null)n=V[t.parentLocale]._config;else if(r=vr(t.parentLocale),r!=null)n=r._config;else return gt[t.parentLocale]||(gt[t.parentLocale]=[]),gt[t.parentLocale].push({name:e,config:t}),null;return V[e]=new On(nn(n,t)),gt[e]&&gt[e].forEach(function(i){In(i.name,i.config)}),Fe(e),V[e]}else return delete V[e],null}function eu(e,t){if(t!=null){var r,n,i=js;V[e]!=null&&V[e].parentLocale!=null?V[e].set(nn(V[e]._config,t)):(n=vr(e),n!=null&&(i=n._config),t=nn(i,t),n==null&&(t.abbr=e),r=new On(t),r.parentLocale=V[e],V[e]=r),Fe(e)}else V[e]!=null&&(V[e].parentLocale!=null?(V[e]=V[e].parentLocale,e===Fe()&&Fe(e)):V[e]!=null&&delete V[e]);return V[e]}function De(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return Dt;if(!me(e)){if(t=vr(e),t)return t;e=[e]}return Ql(e)}function tu(){return sn(V)}function Fn(e){var t,r=e._a;return r&&O(e).overflow===-2&&(t=r[Te]<0||r[Te]>11?Te:r[ge]<1||r[ge]>Nn(r[ee],r[Te])?ge:r[J]<0||r[J]>24||r[J]===24&&(r[de]!==0||r[Ee]!==0||r[Ue]!==0)?J:r[de]<0||r[de]>59?de:r[Ee]<0||r[Ee]>59?Ee:r[Ue]<0||r[Ue]>999?Ue:-1,O(e)._overflowDayOfYear&&(t<ee||t>ge)&&(t=ge),O(e)._overflowWeeks&&t===-1&&(t=sl),O(e)._overflowWeekday&&t===-1&&(t=al),O(e).overflow=t),e}var ru=/^\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)?)?$/,nu=/^\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)?)?$/,iu=/Z|[+-]\d\d(?::?\d\d)?/,Xt=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],$r=[["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/]],su=/^\/?Date\((-?\d+)/i,au=/^(?:(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}))$/,ou={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=ru.exec(n)||nu.exec(n),s,a,o,l,u=Xt.length,h=$r.length;if(i){for(O(e).iso=!0,t=0,r=u;t<r;t++)if(Xt[t][1].exec(i[1])){a=Xt[t][0],s=Xt[t][2]!==!1;break}if(a==null){e._isValid=!1;return}if(i[3]){for(t=0,r=h;t<r;t++)if($r[t][1].exec(i[3])){o=(i[2]||" ")+$r[t][0];break}if(o==null){e._isValid=!1;return}}if(!s&&o!=null){e._isValid=!1;return}if(i[4])if(iu.exec(i[4]))l="Z";else{e._isValid=!1;return}e._f=a+(o||"")+(l||""),Yn(e)}else e._isValid=!1}function lu(e,t,r,n,i,s){var a=[uu(e),Ls.indexOf(t),parseInt(r,10),parseInt(n,10),parseInt(i,10)];return s&&a.push(parseInt(s,10)),a}function uu(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function hu(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function fu(e,t,r){if(e){var n=Bs.indexOf(e),i=new Date(t[0],t[1],t[2]).getDay();if(n!==i)return O(r).weekdayMismatch=!0,r._isValid=!1,!1}return!0}function cu(e,t,r){if(e)return ou[e];if(t)return 0;var n=parseInt(r,10),i=n%100,s=(n-i)/100;return s*60+i}function $s(e){var t=au.exec(hu(e._i)),r;if(t){if(r=lu(t[4],t[3],t[2],t[5],t[6],t[7]),!fu(t[1],r,e))return;e._a=r,e._tzm=cu(t[8],t[9],t[10]),e._d=Ot.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),O(e).rfc2822=!0}else e._isValid=!1}function du(e){var t=su.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($s(e),e._isValid===!1)delete e._isValid;else return;e._strict?e._isValid=!1:y.createFromInputFallback(e)}y.createFromInputFallback=ue("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 Ke(e,t,r){return e!=null?e:t!=null?t:r}function mu(e){var t=new Date(y.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function Gn(e){var t,r,n=[],i,s,a;if(!e._d){for(i=mu(e),e._w&&e._a[ge]==null&&e._a[Te]==null&&pu(e),e._dayOfYear!=null&&(a=Ke(e._a[ee],i[ee]),(e._dayOfYear>Tt(a)||e._dayOfYear===0)&&(O(e)._overflowDayOfYear=!0),r=Ot(a,0,e._dayOfYear),e._a[Te]=r.getUTCMonth(),e._a[ge]=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[J]===24&&e._a[de]===0&&e._a[Ee]===0&&e._a[Ue]===0&&(e._nextDay=!0,e._a[J]=0),e._d=(e._useUTC?Ot:wl).apply(null,n),s=e._useUTC?e._d.getUTCDay():e._d.getDay(),e._tzm!=null&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[J]=24),e._w&&typeof e._w.d!="undefined"&&e._w.d!==s&&(O(e).weekdayMismatch=!0)}}function pu(e){var t,r,n,i,s,a,o,l,u;t=e._w,t.GG!=null||t.W!=null||t.E!=null?(s=1,a=4,r=Ke(t.GG,e._a[ee],kt(U(),1,4).year),n=Ke(t.W,1),i=Ke(t.E,1),(i<1||i>7)&&(l=!0)):(s=e._locale._week.dow,a=e._locale._week.doy,u=kt(U(),s,a),r=Ke(t.gg,e._a[ee],u.year),n=Ke(t.w,u.week),t.d!=null?(i=t.d,(i<0||i>6)&&(l=!0)):t.e!=null?(i=t.e+s,(t.e<0||t.e>6)&&(l=!0)):i=s),n<1||n>xe(r,s,a)?O(e)._overflowWeeks=!0:l!=null?O(e)._overflowWeekday=!0:(o=Ys(r,n,i,s,a),e._a[ee]=o.year,e._dayOfYear=o.dayOfYear)}y.ISO_8601=function(){};y.RFC_2822=function(){};function Yn(e){if(e._f===y.ISO_8601){Vs(e);return}if(e._f===y.RFC_2822){$s(e);return}e._a=[],O(e).empty=!0;var t=""+e._i,r,n,i,s,a,o=t.length,l=0,u,h;for(i=ks(e._f,e._locale).match(kn)||[],h=i.length,r=0;r<h;r++)s=i[r],n=(t.match(rl(s,e))||[])[0],n&&(a=t.substr(0,t.indexOf(n)),a.length>0&&O(e).unusedInput.push(a),t=t.slice(t.indexOf(n)+n.length),l+=n.length),rt[s]?(n?O(e).empty=!1:O(e).unusedTokens.push(s),il(s,n,e)):e._strict&&!n&&O(e).unusedTokens.push(s);O(e).charsLeftOver=o-l,t.length>0&&O(e).unusedInput.push(t),e._a[J]<=12&&O(e).bigHour===!0&&e._a[J]>0&&(O(e).bigHour=void 0),O(e).parsedDateParts=e._a.slice(0),O(e).meridiem=e._meridiem,e._a[J]=_u(e._locale,e._a[J],e._meridiem),u=O(e).era,u!==null&&(e._a[ee]=e._locale.erasConvertYear(u,e._a[ee])),Gn(e),Fn(e)}function _u(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 gu(e){var t,r,n,i,s,a,o=!1,l=e._f.length;if(l===0){O(e).invalidFormat=!0,e._d=new Date(NaN);return}for(i=0;i<l;i++)s=0,a=!1,t=xn({},e),e._useUTC!=null&&(t._useUTC=e._useUTC),t._f=e._f[i],Yn(t),Mn(t)&&(a=!0),s+=O(t).charsLeftOver,s+=O(t).unusedTokens.length*10,O(t).score=s,o?s<n&&(n=s,r=t):(n==null||s<n||a)&&(n=s,r=t,a&&(o=!0));Ce(e,r||t)}function yu(e){if(!e._d){var t=Dn(e._i),r=t.day===void 0?t.date:t.day;e._a=Ms([t.year,t.month,r,t.hour,t.minute,t.second,t.millisecond],function(n){return n&&parseInt(n,10)}),Gn(e)}}function bu(e){var t=new Nt(Fn(zs(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function zs(e){var t=e._i,r=e._f;return e._locale=e._locale||De(e._l),t===null||r===void 0&&t===""?dr({nullInput:!0}):(typeof t=="string"&&(e._i=t=e._locale.preparse(t)),pe(t)?new Nt(Fn(t)):(Ht(t)?e._d=t:me(r)?gu(e):r?Yn(e):vu(e),Mn(e)||(e._d=null),e))}function vu(e){var t=e._i;ne(t)?e._d=new Date(y.now()):Ht(t)?e._d=new Date(t.valueOf()):typeof t=="string"?du(e):me(t)?(e._a=Ms(t.slice(0),function(r){return parseInt(r,10)}),Gn(e)):je(t)?yu(e):ke(t)?e._d=new Date(t):y.createFromInputFallback(e)}function Zs(e,t,r,n,i){var s={};return(t===!0||t===!1)&&(n=t,t=void 0),(r===!0||r===!1)&&(n=r,r=void 0),(je(e)&&En(e)||me(e)&&e.length===0)&&(e=void 0),s._isAMomentObject=!0,s._useUTC=s._isUTC=i,s._l=r,s._i=e,s._f=t,s._strict=n,bu(s)}function U(e,t,r,n){return Zs(e,t,r,n,!1)}var wu=ue("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=U.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:dr()}),Su=ue("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=U.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:dr()});function Xs(e,t){var r,n;if(t.length===1&&me(t[0])&&(t=t[0]),!t.length)return U();for(r=t[0],n=1;n<t.length;++n)(!t[n].isValid()||t[n][e](r))&&(r=t[n]);return r}function Tu(){var e=[].slice.call(arguments,0);return Xs("isBefore",e)}function Eu(){var e=[].slice.call(arguments,0);return Xs("isAfter",e)}var Mu=function(){return Date.now?Date.now():+new Date},yt=["year","quarter","month","week","day","hour","minute","second","millisecond"];function xu(e){var t,r=!1,n,i=yt.length;for(t in e)if(L(e,t)&&!(q.call(yt,t)!==-1&&(e[t]==null||!isNaN(e[t]))))return!1;for(n=0;n<i;++n)if(e[yt[n]]){if(r)return!1;parseFloat(e[yt[n]])!==D(e[yt[n]])&&(r=!0)}return!0}function Ou(){return this._isValid}function ku(){return _e(NaN)}function wr(e){var t=Dn(e),r=t.year||0,n=t.quarter||0,i=t.month||0,s=t.week||t.isoWeek||0,a=t.day||0,o=t.hour||0,l=t.minute||0,u=t.second||0,h=t.millisecond||0;this._isValid=xu(t),this._milliseconds=+h+u*1e3+l*6e4+o*1e3*60*60,this._days=+a+s*7,this._months=+i+n*3+r*12,this._data={},this._locale=De(),this._bubble()}function er(e){return e instanceof wr}function on(e){return e<0?Math.round(-1*e)*-1:Math.round(e)}function Du(e,t,r){var n=Math.min(e.length,t.length),i=Math.abs(e.length-t.length),s=0,a;for(a=0;a<n;a++)D(e[a])!==D(t[a])&&s++;return s+i}function qs(e,t){T(e,0,0,function(){var r=this.utcOffset(),n="+";return r<0&&(r=-r,n="-"),n+ye(~~(r/60),2)+t+ye(~~r%60,2)})}qs("Z",":");qs("ZZ","");b("Z",yr);b("ZZ",yr);G(["Z","ZZ"],function(e,t,r){r._useUTC=!0,r._tzm=Bn(yr,e)});var Pu=/([\+\-]|\d\d)/gi;function Bn(e,t){var r=(t||"").match(e),n,i,s;return r===null?null:(n=r[r.length-1]||[],i=(n+"").match(Pu)||["-",0,0],s=+(i[1]*60)+D(i[2]),s===0?0:i[0]==="+"?s:-s)}function Un(e,t){var r,n;return t._isUTC?(r=t.clone(),n=(pe(e)||Ht(e)?e.valueOf():U(e).valueOf())-r.valueOf(),r._d.setTime(r._d.valueOf()+n),y.updateOffset(r,!1),r):U(e).local()}function ln(e){return-Math.round(e._d.getTimezoneOffset())}y.updateOffset=function(){};function Ru(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=Bn(yr,e),e===null)return this}else Math.abs(e)<16&&!r&&(e=e*60);return!this._isUTC&&t&&(i=ln(this)),this._offset=e,this._isUTC=!0,i!=null&&this.add(i,"m"),n!==e&&(!t||this._changeInProgress?Ks(this,_e(e-n,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,y.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?n:ln(this)}function Hu(e,t){return e!=null?(typeof e!="string"&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function Nu(e){return this.utcOffset(0,e)}function Cu(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(ln(this),"m")),this}function Lu(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var e=Bn(el,this._i);e!=null?this.utcOffset(e):this.utcOffset(0,!0)}return this}function Au(e){return this.isValid()?(e=e?U(e).utcOffset():0,(this.utcOffset()-e)%60===0):!1}function Iu(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Fu(){if(!ne(this._isDSTShifted))return this._isDSTShifted;var e={},t;return xn(e,this),e=zs(e),e._a?(t=e._isUTC?be(e._a):U(e._a),this._isDSTShifted=this.isValid()&&Du(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function Gu(){return this.isValid()?!this._isUTC:!1}function Yu(){return this.isValid()?this._isUTC:!1}function Js(){return this.isValid()?this._isUTC&&this._offset===0:!1}var Bu=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Uu=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function _e(e,t){var r=e,n=null,i,s,a;return er(e)?r={ms:e._milliseconds,d:e._days,M:e._months}:ke(e)||!isNaN(+e)?(r={},t?r[t]=+e:r.milliseconds=+e):(n=Bu.exec(e))?(i=n[1]==="-"?-1:1,r={y:0,d:D(n[ge])*i,h:D(n[J])*i,m:D(n[de])*i,s:D(n[Ee])*i,ms:D(on(n[Ue]*1e3))*i}):(n=Uu.exec(e))?(i=n[1]==="-"?-1:1,r={y:Be(n[2],i),M:Be(n[3],i),w:Be(n[4],i),d:Be(n[5],i),h:Be(n[6],i),m:Be(n[7],i),s:Be(n[8],i)}):r==null?r={}:typeof r=="object"&&("from"in r||"to"in r)&&(a=Wu(U(r.from),U(r.to)),r={},r.ms=a.milliseconds,r.M=a.months),s=new wr(r),er(e)&&L(e,"_locale")&&(s._locale=e._locale),er(e)&&L(e,"_isValid")&&(s._isValid=e._isValid),s}_e.fn=wr.prototype;_e.invalid=ku;function Be(e,t){var r=e&&parseFloat(e.replace(",","."));return(isNaN(r)?0:r)*t}function gi(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 Wu(e,t){var r;return e.isValid()&&t.isValid()?(t=Un(t,e),e.isBefore(t)?r=gi(e,t):(r=gi(t,e),r.milliseconds=-r.milliseconds,r.months=-r.months),r):{milliseconds:0,months:0}}function Qs(e,t){return function(r,n){var i,s;return n!==null&&!isNaN(+n)&&(Os(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),s=r,r=n,n=s),i=_e(r,n),Ks(this,i,e),this}}function Ks(e,t,r,n){var i=t._milliseconds,s=on(t._days),a=on(t._months);e.isValid()&&(n=n==null?!0:n,a&&Is(e,xt(e,"Month")+a*r),s&&Cs(e,"Date",xt(e,"Date")+s*r),i&&e._d.setTime(e._d.valueOf()+i*r),n&&y.updateOffset(e,s||a))}var ju=Qs(1,"add"),Vu=Qs(-1,"subtract");function ea(e){return typeof e=="string"||e instanceof String}function $u(e){return pe(e)||Ht(e)||ea(e)||ke(e)||Zu(e)||zu(e)||e===null||e===void 0}function zu(e){var t=je(e)&&!En(e),r=!1,n=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],i,s,a=n.length;for(i=0;i<a;i+=1)s=n[i],r=r||L(e,s);return t&&r}function Zu(e){var t=me(e),r=!1;return t&&(r=e.filter(function(n){return!ke(n)&&ea(e)}).length===0),t&&r}function Xu(e){var t=je(e)&&!En(e),r=!1,n=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],i,s;for(i=0;i<n.length;i+=1)s=n[i],r=r||L(e,s);return t&&r}function qu(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 Ju(e,t){arguments.length===1&&(arguments[0]?$u(arguments[0])?(e=arguments[0],t=void 0):Xu(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var r=e||U(),n=Un(r,this).startOf("day"),i=y.calendarFormat(this,n)||"sameElse",s=t&&(ve(t[i])?t[i].call(this,r):t[i]);return this.format(s||this.localeData().calendar(i,this,U(r)))}function Qu(){return new Nt(this)}function Ku(e,t){var r=pe(e)?e:U(e);return this.isValid()&&r.isValid()?(t=he(t)||"millisecond",t==="millisecond"?this.valueOf()>r.valueOf():r.valueOf()<this.clone().startOf(t).valueOf()):!1}function eh(e,t){var r=pe(e)?e:U(e);return this.isValid()&&r.isValid()?(t=he(t)||"millisecond",t==="millisecond"?this.valueOf()<r.valueOf():this.clone().endOf(t).valueOf()<r.valueOf()):!1}function th(e,t,r,n){var i=pe(e)?e:U(e),s=pe(t)?t:U(t);return this.isValid()&&i.isValid()&&s.isValid()?(n=n||"()",(n[0]==="("?this.isAfter(i,r):!this.isBefore(i,r))&&(n[1]===")"?this.isBefore(s,r):!this.isAfter(s,r))):!1}function rh(e,t){var r=pe(e)?e:U(e),n;return this.isValid()&&r.isValid()?(t=he(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 nh(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function ih(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function sh(e,t,r){var n,i,s;if(!this.isValid())return NaN;if(n=Un(e,this),!n.isValid())return NaN;switch(i=(n.utcOffset()-this.utcOffset())*6e4,t=he(t),t){case"year":s=tr(this,n)/12;break;case"month":s=tr(this,n);break;case"quarter":s=tr(this,n)/3;break;case"second":s=(this-n)/1e3;break;case"minute":s=(this-n)/6e4;break;case"hour":s=(this-n)/36e5;break;case"day":s=(this-n-i)/864e5;break;case"week":s=(this-n-i)/6048e5;break;default:s=this-n}return r?s:le(s)}function tr(e,t){if(e.date()<t.date())return-tr(t,e);var r=(t.year()-e.year())*12+(t.month()-e.month()),n=e.clone().add(r,"months"),i,s;return t-n<0?(i=e.clone().add(r-1,"months"),s=(t-n)/(n-i)):(i=e.clone().add(r+1,"months"),s=(t-n)/(i-n)),-(r+s)||0}y.defaultFormat="YYYY-MM-DDTHH:mm:ssZ";y.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function ah(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function oh(e){if(!this.isValid())return null;var t=e!==!0,r=t?this.clone().utc():this;return r.year()<0||r.year()>9999?Kt(r,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):ve(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",Kt(r,"Z")):Kt(r,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function lh(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="",r,n,i,s;return this.isLocal()||(e=this.utcOffset()===0?"moment.utc":"moment.parseZone",t="Z"),r="["+e+'("]',n=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",i="-MM-DD[T]HH:mm:ss.SSS",s=t+'[")]',this.format(r+n+i+s)}function uh(e){e||(e=this.isUtc()?y.defaultFormatUtc:y.defaultFormat);var t=Kt(this,e);return this.localeData().postformat(t)}function hh(e,t){return this.isValid()&&(pe(e)&&e.isValid()||U(e).isValid())?_e({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function fh(e){return this.from(U(),e)}function ch(e,t){return this.isValid()&&(pe(e)&&e.isValid()||U(e).isValid())?_e({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function dh(e){return this.to(U(),e)}function ta(e){var t;return e===void 0?this._locale._abbr:(t=De(e),t!=null&&(this._locale=t),this)}var ra=ue("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 na(){return this._locale}var lr=1e3,nt=60*lr,ur=60*nt,ia=(365*400+97)*24*ur;function it(e,t){return(e%t+t)%t}function sa(e,t,r){return e<100&&e>=0?new Date(e+400,t,r)-ia:new Date(e,t,r).valueOf()}function aa(e,t,r){return e<100&&e>=0?Date.UTC(e+400,t,r)-ia:Date.UTC(e,t,r)}function mh(e){var t,r;if(e=he(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(r=this._isUTC?aa:sa,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),ur);break;case"minute":t=this._d.valueOf(),t-=it(t,nt);break;case"second":t=this._d.valueOf(),t-=it(t,lr);break}return this._d.setTime(t),y.updateOffset(this,!0),this}function ph(e){var t,r;if(e=he(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(r=this._isUTC?aa:sa,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+=ur-it(t+(this._isUTC?0:this.utcOffset()*nt),ur)-1;break;case"minute":t=this._d.valueOf(),t+=nt-it(t,nt)-1;break;case"second":t=this._d.valueOf(),t+=lr-it(t,lr)-1;break}return this._d.setTime(t),y.updateOffset(this,!0),this}function _h(){return this._d.valueOf()-(this._offset||0)*6e4}function gh(){return Math.floor(this.valueOf()/1e3)}function yh(){return new Date(this.valueOf())}function bh(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function vh(){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 wh(){return this.isValid()?this.toISOString():null}function Sh(){return Mn(this)}function Th(){return Ce({},O(this))}function Eh(){return O(this).overflow}function Mh(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}T("N",0,0,"eraAbbr");T("NN",0,0,"eraAbbr");T("NNN",0,0,"eraAbbr");T("NNNN",0,0,"eraName");T("NNNNN",0,0,"eraNarrow");T("y",["y",1],"yo","eraYear");T("y",["yy",2],0,"eraYear");T("y",["yyy",3],0,"eraYear");T("y",["yyyy",4],0,"eraYear");b("N",Wn);b("NN",Wn);b("NNN",Wn);b("NNNN",Ah);b("NNNNN",Ih);G(["N","NN","NNN","NNNN","NNNNN"],function(e,t,r,n){var i=r._locale.erasParse(e,n,r._strict);i?O(r).era=i:O(r).invalidEra=e});b("y",ht);b("yy",ht);b("yyy",ht);b("yyyy",ht);b("yo",Fh);G(["y","yy","yyy","yyyy"],ee);G(["yo"],function(e,t,r,n){var i;r._locale._eraYearOrdinalRegex&&(i=e.match(r._locale._eraYearOrdinalRegex)),r._locale.eraYearOrdinalParse?t[ee]=r._locale.eraYearOrdinalParse(e,i):t[ee]=parseInt(e,10)});function xh(e,t){var r,n,i,s=this._eras||De("en")._eras;for(r=0,n=s.length;r<n;++r){switch(typeof s[r].since){case"string":i=y(s[r].since).startOf("day"),s[r].since=i.valueOf();break}switch(typeof s[r].until){case"undefined":s[r].until=1/0;break;case"string":i=y(s[r].until).startOf("day").valueOf(),s[r].until=i.valueOf();break}}return s}function Oh(e,t,r){var n,i,s=this.eras(),a,o,l;for(e=e.toUpperCase(),n=0,i=s.length;n<i;++n)if(a=s[n].name.toUpperCase(),o=s[n].abbr.toUpperCase(),l=s[n].narrow.toUpperCase(),r)switch(t){case"N":case"NN":case"NNN":if(o===e)return s[n];break;case"NNNN":if(a===e)return s[n];break;case"NNNNN":if(l===e)return s[n];break}else if([a,o,l].indexOf(e)>=0)return s[n]}function kh(e,t){var r=e.since<=e.until?1:-1;return t===void 0?y(e.since).year():y(e.since).year()+(t-e.offset)*r}function Dh(){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 Ph(){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 Rh(){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 Hh(){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()-y(i[e].since).year())*r+i[e].offset;return this.year()}function Nh(e){return L(this,"_erasNameRegex")||jn.call(this),e?this._erasNameRegex:this._erasRegex}function Ch(e){return L(this,"_erasAbbrRegex")||jn.call(this),e?this._erasAbbrRegex:this._erasRegex}function Lh(e){return L(this,"_erasNarrowRegex")||jn.call(this),e?this._erasNarrowRegex:this._erasRegex}function Wn(e,t){return t.erasAbbrRegex(e)}function Ah(e,t){return t.erasNameRegex(e)}function Ih(e,t){return t.erasNarrowRegex(e)}function Fh(e,t){return t._eraYearOrdinalRegex||ht}function jn(){var e=[],t=[],r=[],n=[],i,s,a,o,l,u=this.eras();for(i=0,s=u.length;i<s;++i)a=Me(u[i].name),o=Me(u[i].abbr),l=Me(u[i].narrow),t.push(a),e.push(o),r.push(l),n.push(a),n.push(o),n.push(l);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")}T(0,["gg",2],0,function(){return this.weekYear()%100});T(0,["GG",2],0,function(){return this.isoWeekYear()%100});function Sr(e,t){T(0,[e,e.length],0,t)}Sr("gggg","weekYear");Sr("ggggg","weekYear");Sr("GGGG","isoWeekYear");Sr("GGGGG","isoWeekYear");b("G",gr);b("g",gr);b("GG",W,ae);b("gg",W,ae);b("GGGG",Rn,Pn);b("gggg",Rn,Pn);b("GGGGG",_r,mr);b("ggggg",_r,mr);Lt(["gggg","ggggg","GGGG","GGGGG"],function(e,t,r,n){t[n.substr(0,2)]=D(e)});Lt(["gg","GG"],function(e,t,r,n){t[n]=y.parseTwoDigitYear(e)});function Gh(e){return oa.call(this,e,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)}function Yh(e){return oa.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function Bh(){return xe(this.year(),1,4)}function Uh(){return xe(this.isoWeekYear(),1,4)}function Wh(){var e=this.localeData()._week;return xe(this.year(),e.dow,e.doy)}function jh(){var e=this.localeData()._week;return xe(this.weekYear(),e.dow,e.doy)}function oa(e,t,r,n,i){var s;return e==null?kt(this,n,i).year:(s=xe(e,n,i),t>s&&(t=s),Vh.call(this,e,t,r,n,i))}function Vh(e,t,r,n,i){var s=Ys(e,t,r,n,i),a=Ot(s.year,0,s.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}T("Q",0,"Qo","quarter");b("Q",Ds);G("Q",function(e,t){t[Te]=(D(e)-1)*3});function $h(e){return e==null?Math.ceil((this.month()+1)/3):this.month((e-1)*3+this.month()%3)}T("D",["DD",2],"Do","date");b("D",W,ft);b("DD",W,ae);b("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient});G(["D","DD"],ge);G("Do",function(e,t){t[ge]=D(e.match(W)[0])});var la=ct("Date",!0);T("DDD",["DDDD",3],"DDDo","dayOfYear");b("DDD",pr);b("DDDD",Ps);G(["DDD","DDDD"],function(e,t,r){r._dayOfYear=D(e)});function zh(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return e==null?t:this.add(e-t,"d")}T("m",["mm",2],0,"minute");b("m",W,Hn);b("mm",W,ae);G(["m","mm"],de);var Zh=ct("Minutes",!1);T("s",["ss",2],0,"second");b("s",W,Hn);b("ss",W,ae);G(["s","ss"],Ee);var Xh=ct("Seconds",!1);T("S",0,0,function(){return~~(this.millisecond()/100)});T(0,["SS",2],0,function(){return~~(this.millisecond()/10)});T(0,["SSS",3],0,"millisecond");T(0,["SSSS",4],0,function(){return this.millisecond()*10});T(0,["SSSSS",5],0,function(){return this.millisecond()*100});T(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3});T(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4});T(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5});T(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6});b("S",pr,Ds);b("SS",pr,ae);b("SSS",pr,Ps);var Le,ua;for(Le="SSSS";Le.length<=9;Le+="S")b(Le,ht);function qh(e,t){t[Ue]=D(("0."+e)*1e3)}for(Le="S";Le.length<=9;Le+="S")G(Le,qh);ua=ct("Milliseconds",!1);T("z",0,0,"zoneAbbr");T("zz",0,0,"zoneName");function Jh(){return this._isUTC?"UTC":""}function Qh(){return this._isUTC?"Coordinated Universal Time":""}var d=Nt.prototype;d.add=ju;d.calendar=Ju;d.clone=Qu;d.diff=sh;d.endOf=ph;d.format=uh;d.from=hh;d.fromNow=fh;d.to=ch;d.toNow=dh;d.get=ll;d.invalidAt=Eh;d.isAfter=Ku;d.isBefore=eh;d.isBetween=th;d.isSame=rh;d.isSameOrAfter=nh;d.isSameOrBefore=ih;d.isValid=Sh;d.lang=ra;d.locale=ta;d.localeData=na;d.max=Su;d.min=wu;d.parsingFlags=Th;d.set=ul;d.startOf=mh;d.subtract=Vu;d.toArray=bh;d.toObject=vh;d.toDate=yh;d.toISOString=oh;d.inspect=lh;typeof Symbol!="undefined"&&Symbol.for!=null&&(d[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"});d.toJSON=wh;d.toString=ah;d.unix=gh;d.valueOf=_h;d.creationData=Mh;d.eraName=Dh;d.eraNarrow=Ph;d.eraAbbr=Rh;d.eraYear=Hh;d.year=Ns;d.isLeapYear=ol;d.weekYear=Gh;d.isoWeekYear=Yh;d.quarter=d.quarters=$h;d.month=Fs;d.daysInMonth=yl;d.week=d.weeks=xl;d.isoWeek=d.isoWeeks=Ol;d.weeksInYear=Wh;d.weeksInWeekYear=jh;d.isoWeeksInYear=Bh;d.isoWeeksInISOWeekYear=Uh;d.date=la;d.day=d.days=Yl;d.weekday=Bl;d.isoWeekday=Ul;d.dayOfYear=zh;d.hour=d.hours=Xl;d.minute=d.minutes=Zh;d.second=d.seconds=Xh;d.millisecond=d.milliseconds=ua;d.utcOffset=Ru;d.utc=Nu;d.local=Cu;d.parseZone=Lu;d.hasAlignedHourOffset=Au;d.isDST=Iu;d.isLocal=Gu;d.isUtcOffset=Yu;d.isUtc=Js;d.isUTC=Js;d.zoneAbbr=Jh;d.zoneName=Qh;d.dates=ue("dates accessor is deprecated. Use date instead.",la);d.months=ue("months accessor is deprecated. Use month instead",Fs);d.years=ue("years accessor is deprecated. Use year instead",Ns);d.zone=ue("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",Hu);d.isDSTShifted=ue("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Fu);function Kh(e){return U(e*1e3)}function ef(){return U.apply(null,arguments).parseZone()}function ha(e){return e}var I=On.prototype;I.calendar=Go;I.longDateFormat=Wo;I.invalidDate=Vo;I.ordinal=Zo;I.preparse=ha;I.postformat=ha;I.relativeTime=qo;I.pastFuture=Jo;I.set=Io;I.eras=xh;I.erasParse=Oh;I.erasConvertYear=kh;I.erasAbbrRegex=Ch;I.erasNameRegex=Nh;I.erasNarrowRegex=Lh;I.months=ml;I.monthsShort=pl;I.monthsParse=gl;I.monthsRegex=vl;I.monthsShortRegex=bl;I.week=Sl;I.firstDayOfYear=Ml;I.firstDayOfWeek=El;I.weekdays=Ll;I.weekdaysMin=Il;I.weekdaysShort=Al;I.weekdaysParse=Gl;I.weekdaysRegex=Wl;I.weekdaysShortRegex=jl;I.weekdaysMinRegex=Vl;I.isPM=zl;I.meridiem=ql;function hr(e,t,r,n){var i=De(),s=be().set(n,t);return i[r](s,e)}function fa(e,t,r){if(ke(e)&&(t=e,e=void 0),e=e||"",t!=null)return hr(e,t,r,"month");var n,i=[];for(n=0;n<12;n++)i[n]=hr(e,n,r,"month");return i}function Vn(e,t,r,n){typeof e=="boolean"?(ke(t)&&(r=t,t=void 0),t=t||""):(t=e,r=t,e=!1,ke(t)&&(r=t,t=void 0),t=t||"");var i=De(),s=e?i._week.dow:0,a,o=[];if(r!=null)return hr(t,(r+s)%7,n,"day");for(a=0;a<7;a++)o[a]=hr(t,(a+s)%7,n,"day");return o}function tf(e,t){return fa(e,t,"months")}function rf(e,t){return fa(e,t,"monthsShort")}function nf(e,t,r){return Vn(e,t,r,"weekdays")}function sf(e,t,r){return Vn(e,t,r,"weekdaysShort")}function af(e,t,r){return Vn(e,t,r,"weekdaysMin")}Fe("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=D(e%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return e+r}});y.lang=ue("moment.lang is deprecated. Use moment.locale instead.",Fe);y.langData=ue("moment.langData is deprecated. Use moment.localeData instead.",De);var we=Math.abs;function of(){var e=this._data;return this._milliseconds=we(this._milliseconds),this._days=we(this._days),this._months=we(this._months),e.milliseconds=we(e.milliseconds),e.seconds=we(e.seconds),e.minutes=we(e.minutes),e.hours=we(e.hours),e.months=we(e.months),e.years=we(e.years),this}function ca(e,t,r,n){var i=_e(t,r);return e._milliseconds+=n*i._milliseconds,e._days+=n*i._days,e._months+=n*i._months,e._bubble()}function lf(e,t){return ca(this,e,t,1)}function uf(e,t){return ca(this,e,t,-1)}function yi(e){return e<0?Math.floor(e):Math.ceil(e)}function hf(){var e=this._milliseconds,t=this._days,r=this._months,n=this._data,i,s,a,o,l;return e>=0&&t>=0&&r>=0||e<=0&&t<=0&&r<=0||(e+=yi(un(r)+t)*864e5,t=0,r=0),n.milliseconds=e%1e3,i=le(e/1e3),n.seconds=i%60,s=le(i/60),n.minutes=s%60,a=le(s/60),n.hours=a%24,t+=le(a/24),l=le(da(t)),r+=l,t-=yi(un(l)),o=le(r/12),r%=12,n.days=t,n.months=r,n.years=o,this}function da(e){return e*4800/146097}function un(e){return e*146097/4800}function ff(e){if(!this.isValid())return NaN;var t,r,n=this._milliseconds;if(e=he(e),e==="month"||e==="quarter"||e==="year")switch(t=this._days+n/864e5,r=this._months+da(t),e){case"month":return r;case"quarter":return r/3;case"year":return r/12}else switch(t=this._days+Math.round(un(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 Pe(e){return function(){return this.as(e)}}var ma=Pe("ms"),cf=Pe("s"),df=Pe("m"),mf=Pe("h"),pf=Pe("d"),_f=Pe("w"),gf=Pe("M"),yf=Pe("Q"),bf=Pe("y"),vf=ma;function wf(){return _e(this)}function Sf(e){return e=he(e),this.isValid()?this[e+"s"]():NaN}function $e(e){return function(){return this.isValid()?this._data[e]:NaN}}var Tf=$e("milliseconds"),Ef=$e("seconds"),Mf=$e("minutes"),xf=$e("hours"),Of=$e("days"),kf=$e("months"),Df=$e("years");function Pf(){return le(this.days()/7)}var Se=Math.round,et={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Rf(e,t,r,n,i){return i.relativeTime(t||1,!!r,e,n)}function Hf(e,t,r,n){var i=_e(e).abs(),s=Se(i.as("s")),a=Se(i.as("m")),o=Se(i.as("h")),l=Se(i.as("d")),u=Se(i.as("M")),h=Se(i.as("w")),f=Se(i.as("y")),c=s<=r.ss&&["s",s]||s<r.s&&["ss",s]||a<=1&&["m"]||a<r.m&&["mm",a]||o<=1&&["h"]||o<r.h&&["hh",o]||l<=1&&["d"]||l<r.d&&["dd",l];return r.w!=null&&(c=c||h<=1&&["w"]||h<r.w&&["ww",h]),c=c||u<=1&&["M"]||u<r.M&&["MM",u]||f<=1&&["y"]||["yy",f],c[2]=t,c[3]=+e>0,c[4]=n,Rf.apply(null,c)}function Nf(e){return e===void 0?Se:typeof e=="function"?(Se=e,!0):!1}function Cf(e,t){return et[e]===void 0?!1:t===void 0?et[e]:(et[e]=t,e==="s"&&(et.ss=t-1),!0)}function Lf(e,t){if(!this.isValid())return this.localeData().invalidDate();var r=!1,n=et,i,s;return typeof e=="object"&&(t=e,e=!1),typeof e=="boolean"&&(r=e),typeof t=="object"&&(n=Object.assign({},et,t),t.s!=null&&t.ss==null&&(n.ss=t.s-1)),i=this.localeData(),s=Hf(this,!r,n,i),r&&(s=i.pastFuture(+this,s)),i.postformat(s)}var zr=Math.abs;function qe(e){return(e>0)-(e<0)||+e}function Tr(){if(!this.isValid())return this.localeData().invalidDate();var e=zr(this._milliseconds)/1e3,t=zr(this._days),r=zr(this._months),n,i,s,a,o=this.asSeconds(),l,u,h,f;return o?(n=le(e/60),i=le(n/60),e%=60,n%=60,s=le(r/12),r%=12,a=e?e.toFixed(3).replace(/\.?0+$/,""):"",l=o<0?"-":"",u=qe(this._months)!==qe(o)?"-":"",h=qe(this._days)!==qe(o)?"-":"",f=qe(this._milliseconds)!==qe(o)?"-":"",l+"P"+(s?u+s+"Y":"")+(r?u+r+"M":"")+(t?h+t+"D":"")+(i||n||e?"T":"")+(i?f+i+"H":"")+(n?f+n+"M":"")+(e?f+a+"S":"")):"P0D"}var N=wr.prototype;N.isValid=Ou;N.abs=of;N.add=lf;N.subtract=uf;N.as=ff;N.asMilliseconds=ma;N.asSeconds=cf;N.asMinutes=df;N.asHours=mf;N.asDays=pf;N.asWeeks=_f;N.asMonths=gf;N.asQuarters=yf;N.asYears=bf;N.valueOf=vf;N._bubble=hf;N.clone=wf;N.get=Sf;N.milliseconds=Tf;N.seconds=Ef;N.minutes=Mf;N.hours=xf;N.days=Of;N.weeks=Pf;N.months=kf;N.years=Df;N.humanize=Lf;N.toISOString=Tr;N.toString=Tr;N.toJSON=Tr;N.locale=ta;N.localeData=na;N.toIsoString=ue("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Tr);N.lang=ra;T("X",0,0,"unix");T("x",0,0,"valueOf");b("x",gr);b("X",tl);G("X",function(e,t,r){r._d=new Date(parseFloat(e)*1e3)});G("x",function(e,t,r){r._d=new Date(D(e))});//! moment.js
10
+ y.version="2.30.1";Lo(U);y.fn=d;y.min=Tu;y.max=Eu;y.now=Mu;y.utc=be;y.unix=Kh;y.months=tf;y.isDate=Ht;y.locale=Fe;y.invalid=dr;y.duration=_e;y.isMoment=pe;y.weekdays=nf;y.parseZone=ef;y.localeData=De;y.isDuration=er;y.monthsShort=rf;y.weekdaysMin=af;y.defineLocale=In;y.updateLocale=eu;y.locales=tu;y.weekdaysShort=sf;y.normalizeUnits=he;y.relativeTimeRounding=Nf;y.relativeTimeThreshold=Cf;y.calendarFormat=qu;y.prototype=d;y.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"};var hn=function(e,t){return hn=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])},hn(e,t)};function Re(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");hn(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var C=function(){return C=Object.assign||function(t){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&(t[s]=r[s])}return t},C.apply(this,arguments)};function Af(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 fn(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 cn(e,t){var r=typeof Symbol=="function"&&e[Symbol.iterator];if(!r)return e;var n=r.call(e),i,s=[],a;try{for(;(t===void 0||t-- >0)&&!(i=n.next()).done;)s.push(i.value)}catch(o){a={error:o}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(a)throw a.error}}return s}function st(e,t,r){if(r||arguments.length===2)for(var n=0,i=t.length,s;n<i;n++)(s||!(n in t))&&(s||(s=Array.prototype.slice.call(t,0,n)),s[n]=t[n]);return e.concat(s||Array.prototype.slice.call(t))}function Oe(e){return typeof e=="function"}function pa(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 Zr=pa(function(e){return function(r){e(this),this.message=r?r.length+` errors occurred during unsubscription:
11
11
  `+r.map(function(n,i){return i+1+") "+n.toString()}).join(`
12
- `):"",this.name="UnsubscriptionError",this.errors=r}});function dn(e,t){if(e){var r=e.indexOf(t);0<=r&&e.splice(r,1)}}var Er=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,s;if(!this.closed){this.closed=!0;var a=this._parentage;if(a)if(this._parentage=null,Array.isArray(a))try{for(var o=hn(a),l=o.next();!l.done;l=o.next()){var u=l.value;u.remove(this)}}catch(_){t={error:_}}finally{try{l&&!l.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}else a.remove(this);var f=this.initialTeardown;if(Oe(f))try{f()}catch(_){s=_ instanceof Zr?_.errors:[_]}var h=this._finalizers;if(h){this._finalizers=null;try{for(var c=hn(h),S=c.next();!S.done;S=c.next()){var w=S.value;try{bi(w)}catch(_){s=s!=null?s:[],_ instanceof Zr?s=st(st([],cn(s)),cn(_.errors)):s.push(_)}}}catch(_){n={error:_}}finally{try{S&&!S.done&&(i=c.return)&&i.call(c)}finally{if(n)throw n.error}}}if(s)throw new Zr(s)}},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)&&dn(r,t)},e.prototype.remove=function(t){var r=this._finalizers;r&&dn(r,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}(),_a=Er.EMPTY;function ga(e){return e instanceof Er||e&&"closed"in e&&Oe(e.remove)&&Oe(e.add)&&Oe(e.unsubscribe)}function bi(e){Oe(e)?e():e.unsubscribe()}var Ih={Promise:void 0},Fh={setTimeout:function(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];return setTimeout.apply(void 0,st([e,t],cn(r)))},clearTimeout:function(e){return clearTimeout(e)},delegate:void 0};function Gh(e){Fh.setTimeout(function(){throw e})}function vi(){}function rr(e){e()}var ya=function(e){Re(t,e);function t(r){var n=e.call(this)||this;return n.isStopped=!1,r?(n.destination=r,ga(r)&&r.add(n)):n.destination=Uh,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}(Er),Yh=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){Re(t,e);function t(r,n,i){var s=e.call(this)||this,a;return Oe(r)||!r?a={next:r!=null?r:void 0,error:n!=null?n:void 0,complete:i!=null?i:void 0}:a=r,s.destination=new Yh(a),s}return t}(ya);function qt(e){Gh(e)}function Bh(e){throw e}var Uh={closed:!0,next:vi,error:Bh,complete:vi},Wh=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function jh(e){return e}function Vh(e){return e.length===0?jh:e.length===1?e[0]:function(r){return e.reduce(function(n,i){return i(n)},r)}}var wi=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,s=zh(t)?t:new mn(t,r,n);return rr(function(){var a=i,o=a.operator,l=a.source;s.add(o?o.call(s,l):l?i._subscribe(s):i._trySubscribe(s))}),s},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=Si(r),new r(function(i,s){var a=new mn({next:function(o){try{t(o)}catch(l){s(l),a.unsubscribe()}},error:s,complete:i});n.subscribe(a)})},e.prototype._subscribe=function(t){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(t)},e.prototype[Wh]=function(){return this},e.prototype.pipe=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return Vh(t)(this)},e.prototype.toPromise=function(t){var r=this;return t=Si(t),new t(function(n,i){var s;r.subscribe(function(a){return s=a},function(a){return i(a)},function(){return n(s)})})},e.create=function(t){return new e(t)},e}();function Si(e){var t;return(t=e!=null?e:Ih.Promise)!==null&&t!==void 0?t:Promise}function $h(e){return e&&Oe(e.next)&&Oe(e.error)&&Oe(e.complete)}function zh(e){return e&&e instanceof ya||$h(e)&&ga(e)}var Zh=pa(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),ba=function(e){Re(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 Ti(this,this);return n.operator=r,n},t.prototype._throwIfClosed=function(){if(this.closed)throw new Zh},t.prototype.next=function(r){var n=this;rr(function(){var i,s;if(n._throwIfClosed(),!n.isStopped){n.currentObservers||(n.currentObservers=Array.from(n.observers));try{for(var a=hn(n.currentObservers),o=a.next();!o.done;o=a.next()){var l=o.value;l.next(r)}}catch(u){i={error:u}}finally{try{o&&!o.done&&(s=a.return)&&s.call(a)}finally{if(i)throw i.error}}}})},t.prototype.error=function(r){var n=this;rr(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;rr(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,s=i.hasError,a=i.isStopped,o=i.observers;return s||a?_a:(this.currentObservers=null,o.push(r),new Er(function(){n.currentObservers=null,dn(o,r)}))},t.prototype._checkFinalizedStatuses=function(r){var n=this,i=n.hasError,s=n.thrownError,a=n.isStopped;i?r.error(s):a&&r.complete()},t.prototype.asObservable=function(){var r=new wi;return r.source=this,r},t.create=function(r,n){return new Ti(r,n)},t}(wi),Ti=function(e){Re(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:_a},t}(ba),va={now:function(){return(va.delegate||Date).now()},delegate:void 0},Xh=function(e){Re(t,e);function t(r,n,i){r===void 0&&(r=1/0),n===void 0&&(n=1/0),i===void 0&&(i=va);var s=e.call(this)||this;return s._bufferSize=r,s._windowTime=n,s._timestampProvider=i,s._buffer=[],s._infiniteTimeWindow=!0,s._infiniteTimeWindow=n===1/0,s._bufferSize=Math.max(1,r),s._windowTime=Math.max(1,n),s}return t.prototype.next=function(r){var n=this,i=n.isStopped,s=n._buffer,a=n._infiniteTimeWindow,o=n._timestampProvider,l=n._windowTime;i||(s.push(r),!a&&s.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,s=i._infiniteTimeWindow,a=i._buffer,o=a.slice(),l=0;l<o.length&&!r.closed;l+=s?1:2)r.next(o[l]);return this._checkFinalizedStatuses(r),n},t.prototype._trimBuffer=function(){var r=this,n=r._bufferSize,i=r._timestampProvider,s=r._buffer,a=r._infiniteTimeWindow,o=(a?1:2)*n;if(n<1/0&&o<s.length&&s.splice(0,s.length-o),!a){for(var l=i.now(),u=0,f=1;f<s.length&&s[f]<=l;f+=2)u=f;u&&s.splice(0,u+1)}},t}(ba);const Ei=[],Mi={},qh=(e,t=0)=>{if(Ei.indexOf(e)==-1){const r=new Xh(t);Mi[e]=r,Ei.push(e)}return Mi[e]},Je=[];function Jh(e,t){return{subscribe:Mr(e,t).subscribe}}function Mr(e,t=re){let r;const n=new Set;function i(o){if(Tn(e,o)&&(e=o,r)){const l=!Je.length;for(const u of n)u[1](),Je.push(u,e);if(l){for(let u=0;u<Je.length;u+=2)Je[u][0](Je[u+1]);Je.length=0}}}function s(o){i(o(e))}function a(o,l=re){const u=[o,l];return n.add(u),n.size===1&&(r=t(i,s)||re),o(e),()=>{n.delete(u),n.size===0&&r&&(r(),r=null)}}return{set:i,update:s,subscribe:a}}function dt(e,t,r){const n=!Array.isArray(e),i=n?[e]:e;if(!i.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const s=t.length<2;return Jh(r,(a,o)=>{let l=!1;const u=[];let f=0,h=re;const c=()=>{if(f)return;h();const w=t(n?u[0]:u,a,o);s?a(w):h=We(w)?w:re},S=i.map((w,_)=>ps(w,k=>{u[_]=k,f&=~(1<<_),l&&c()},()=>{f|=1<<_}));return l=!0,c(),function(){Ve(S),h(),l=!1}})}var Qh=function(t){return Kh(t)&&!ec(t)};function Kh(e){return!!e&&typeof e=="object"}function ec(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||nc(e)}var tc=typeof Symbol=="function"&&Symbol.for,rc=tc?Symbol.for("react.element"):60103;function nc(e){return e.$$typeof===rc}function ic(e){return Array.isArray(e)?[]:{}}function Pt(e,t){return t.clone!==!1&&t.isMergeableObject(e)?at(ic(e),e,t):e}function sc(e,t,r){return e.concat(t).map(function(n){return Pt(n,r)})}function ac(e,t){if(!t.customMerge)return at;var r=t.customMerge(e);return typeof r=="function"?r:at}function oc(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}function xi(e){return Object.keys(e).concat(oc(e))}function wa(e,t){try{return t in e}catch(r){return!1}}function lc(e,t){return wa(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function uc(e,t,r){var n={};return r.isMergeableObject(e)&&xi(e).forEach(function(i){n[i]=Pt(e[i],r)}),xi(t).forEach(function(i){lc(e,i)||(wa(e,i)&&r.isMergeableObject(t[i])?n[i]=ac(i,r)(e[i],t[i],r):n[i]=Pt(t[i],r))}),n}function at(e,t,r){r=r||{},r.arrayMerge=r.arrayMerge||sc,r.isMergeableObject=r.isMergeableObject||Qh,r.cloneUnlessOtherwiseSpecified=Pt;var n=Array.isArray(t),i=Array.isArray(e),s=n===i;return s?n?r.arrayMerge(e,t,r):uc(e,t,r):Pt(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 fc=at,hc=fc;const cc=No(hc);function Xr(e,t){var r=t&&t.cache?t.cache:bc,n=t&&t.serializer?t.serializer:gc,i=t&&t.strategy?t.strategy:pc;return i(e,{cache:r,serializer:n})}function dc(e){return e==null||typeof e=="number"||typeof e=="boolean"}function mc(e,t,r,n){var i=dc(n)?n:r(n),s=t.get(i);return typeof s=="undefined"&&(s=e.call(this,n),t.set(i,s)),s}function Sa(e,t,r){var n=Array.prototype.slice.call(arguments,3),i=r(n),s=t.get(i);return typeof s=="undefined"&&(s=e.apply(this,n),t.set(i,s)),s}function Ta(e,t,r,n,i){return r.bind(t,e,n,i)}function pc(e,t){var r=e.length===1?mc:Sa;return Ta(e,this,r,t.cache.create(),t.serializer)}function _c(e,t){return Ta(e,this,Sa,t.cache.create(),t.serializer)}var gc=function(){return JSON.stringify(arguments)},yc=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}(),bc={create:function(){return new yc}},qr={variadic:_c},P;(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"})(P||(P={}));var $;(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"})($||($={}));var ot;(function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"})(ot||(ot={}));function Oi(e){return e.type===$.literal}function vc(e){return e.type===$.argument}function Ea(e){return e.type===$.number}function Ma(e){return e.type===$.date}function xa(e){return e.type===$.time}function Oa(e){return e.type===$.select}function ka(e){return e.type===$.plural}function wc(e){return e.type===$.pound}function Da(e){return e.type===$.tag}function Pa(e){return!!(e&&typeof e=="object"&&e.type===ot.number)}function pn(e){return!!(e&&typeof e=="object"&&e.type===ot.dateTime)}var Ra=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Sc=/(?:[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 Tc(e){var t={};return e.replace(Sc,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 Ec=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function Mc(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");for(var t=e.split(Ec).filter(function(c){return c.length>0}),r=[],n=0,i=t;n<i.length;n++){var s=i[n],a=s.split("/");if(a.length===0)throw new Error("Invalid number skeleton");for(var o=a[0],l=a.slice(1),u=0,f=l;u<f.length;u++){var h=f[u];if(h.length===0)throw new Error("Invalid number skeleton")}r.push({stem:o,options:l})}return r}function xc(e){return e.replace(/^(.*?)-/,"")}var ki=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Ha=/^(@+)?(\+|#+)?[rs]?$/g,Oc=/(\*)(0+)|(#+)(0+)|(0+)/g,Na=/^(0+)$/;function Di(e){var t={};return e[e.length-1]==="r"?t.roundingPriority="morePrecision":e[e.length-1]==="s"&&(t.roundingPriority="lessPrecision"),e.replace(Ha,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 Ca(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 kc(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)),!Na.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function Pi(e){var t={},r=Ca(e);return r||t}function Dc(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=xc(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=C(C(C({},t),{notation:"scientific"}),i.options.reduce(function(l,u){return C(C({},l),Pi(u))},{}));continue;case"engineering":t=C(C(C({},t),{notation:"engineering"}),i.options.reduce(function(l,u){return C(C({},l),Pi(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(Oc,function(l,u,f,h,c,S){if(u)t.minimumIntegerDigits=f.length;else{if(h&&c)throw new Error("We currently do not support maximum integer digits");if(S)throw new Error("We currently do not support exact integer digits")}return""});continue}if(Na.test(i.stem)){t.minimumIntegerDigits=i.stem.length;continue}if(ki.test(i.stem)){if(i.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(ki,function(l,u,f,h,c,S){return f==="*"?t.minimumFractionDigits=u.length:h&&h[0]==="#"?t.maximumFractionDigits=h.length:c&&S?(t.minimumFractionDigits=c.length,t.maximumFractionDigits=c.length+S.length):(t.minimumFractionDigits=u.length,t.maximumFractionDigits=u.length),""});var s=i.options[0];s==="w"?t=C(C({},t),{trailingZeroDisplay:"stripIfInteger"}):s&&(t=C(C({},t),Di(s)));continue}if(Ha.test(i.stem)){t=C(C({},t),Di(i.stem));continue}var a=Ca(i.stem);a&&(t=C(C({},t),a));var o=kc(i.stem);o&&(t=C(C({},t),o))}return t}var Jt={"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 Pc(e,t){for(var r="",n=0;n<e.length;n++){var i=e.charAt(n);if(i==="j"){for(var s=0;n+1<e.length&&e.charAt(n+1)===i;)s++,n++;var a=1+(s&1),o=s<2?1:3+(s>>1),l="a",u=Rc(t);for((u=="H"||u=="k")&&(o=0);o-- >0;)r+=l;for(;a-- >0;)r=u+r}else i==="J"?r+="H":r+=i}return r}function Rc(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=Jt[n||""]||Jt[r||""]||Jt["".concat(r,"-001")]||Jt["001"];return i[0]}var Jr,Hc=new RegExp("^".concat(Ra.source,"*")),Nc=new RegExp("".concat(Ra.source,"*$"));function R(e,t){return{start:e,end:t}}var Cc=!!String.prototype.startsWith&&"_a".startsWith("a",1),Lc=!!String.fromCodePoint,Ac=!!Object.fromEntries,Ic=!!String.prototype.codePointAt,Fc=!!String.prototype.trimStart,Gc=!!String.prototype.trimEnd,Yc=!!Number.isSafeInteger,Bc=Yc?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},_n=!0;try{var Uc=Aa("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");_n=((Jr=Uc.exec("a"))===null||Jr===void 0?void 0:Jr[0])==="a"}catch(e){_n=!1}var Ri=Cc?function(t,r,n){return t.startsWith(r,n)}:function(t,r,n){return t.slice(n,n+r.length)===r},gn=Lc?String.fromCodePoint:function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];for(var n="",i=t.length,s=0,a;i>s;){if(a=t[s++],a>1114111)throw RangeError(a+" is not a valid code point");n+=a<65536?String.fromCharCode(a):String.fromCharCode(((a-=65536)>>10)+55296,a%1024+56320)}return n},Hi=Ac?Object.fromEntries:function(t){for(var r={},n=0,i=t;n<i.length;n++){var s=i[n],a=s[0],o=s[1];r[a]=o}return r},La=Ic?function(t,r){return t.codePointAt(r)}:function(t,r){var n=t.length;if(!(r<0||r>=n)){var i=t.charCodeAt(r),s;return i<55296||i>56319||r+1===n||(s=t.charCodeAt(r+1))<56320||s>57343?i:(i-55296<<10)+(s-56320)+65536}},Wc=Fc?function(t){return t.trimStart()}:function(t){return t.replace(Hc,"")},jc=Gc?function(t){return t.trimEnd()}:function(t){return t.replace(Nc,"")};function Aa(e,t){return new RegExp(e,t)}var yn;if(_n){var Ni=Aa("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");yn=function(t,r){var n;Ni.lastIndex=r;var i=Ni.exec(t);return(n=i[1])!==null&&n!==void 0?n:""}}else yn=function(t,r){for(var n=[];;){var i=La(t,r);if(i===void 0||Ia(i)||Zc(i))break;n.push(i),r+=i>=65536?2:1}return gn.apply(void 0,n)};var Vc=function(){function e(t,r){r===void 0&&(r={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!r.ignoreTag,this.locale=r.locale,this.requiresOtherClause=!!r.requiresOtherClause,this.shouldParseSkeletons=!!r.shouldParseSkeletons}return e.prototype.parse=function(){if(this.offset()!==0)throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(t,r,n){for(var i=[];!this.isEOF();){var s=this.char();if(s===123){var a=this.parseArgument(t,n);if(a.err)return a;i.push(a.val)}else{if(s===125&&t>0)break;if(s===35&&(r==="plural"||r==="selectordinal")){var o=this.clonePosition();this.bump(),i.push({type:$.pound,location:R(o,this.clonePosition())})}else if(s===60&&!this.ignoreTag&&this.peek()===47){if(n)break;return this.error(P.UNMATCHED_CLOSING_TAG,R(this.clonePosition(),this.clonePosition()))}else if(s===60&&!this.ignoreTag&&bn(this.peek()||0)){var a=this.parseTag(t,r);if(a.err)return a;i.push(a.val)}else{var a=this.parseLiteral(t,r);if(a.err)return a;i.push(a.val)}}}return{val:i,err:null}},e.prototype.parseTag=function(t,r){var n=this.clonePosition();this.bump();var i=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:$.literal,value:"<".concat(i,"/>"),location:R(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var s=this.parseMessage(t+1,r,!0);if(s.err)return s;var a=s.val,o=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!bn(this.char()))return this.error(P.INVALID_TAG,R(o,this.clonePosition()));var l=this.clonePosition(),u=this.parseTagName();return i!==u?this.error(P.UNMATCHED_CLOSING_TAG,R(l,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:$.tag,value:i,children:a,location:R(n,this.clonePosition())},err:null}:this.error(P.INVALID_TAG,R(o,this.clonePosition())))}else return this.error(P.UNCLOSED_TAG,R(n,this.clonePosition()))}else return this.error(P.INVALID_TAG,R(n,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&zc(this.char());)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(t,r){for(var n=this.clonePosition(),i="";;){var s=this.tryParseQuote(r);if(s){i+=s;continue}var a=this.tryParseUnquoted(t,r);if(a){i+=a;continue}var o=this.tryParseLeftAngleBracket();if(o){i+=o;continue}break}var l=R(n,this.clonePosition());return{val:{type:$.literal,value:i,location:l},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!$c(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 gn.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(),gn(n))},e.prototype.parseArgument=function(t,r){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(P.EXPECT_ARGUMENT_CLOSING_BRACE,R(n,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(P.EMPTY_ARGUMENT,R(n,this.clonePosition()));var i=this.parseIdentifierIfPossible().value;if(!i)return this.error(P.MALFORMED_ARGUMENT,R(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(P.EXPECT_ARGUMENT_CLOSING_BRACE,R(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:$.argument,value:i,location:R(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(P.EXPECT_ARGUMENT_CLOSING_BRACE,R(n,this.clonePosition())):this.parseArgumentOptions(t,r,i,n);default:return this.error(P.MALFORMED_ARGUMENT,R(n,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),r=this.offset(),n=yn(this.message,r),i=r+n.length;this.bumpTo(i);var s=this.clonePosition(),a=R(t,s);return{value:n,location:a}},e.prototype.parseArgumentOptions=function(t,r,n,i){var s,a=this.clonePosition(),o=this.parseIdentifierIfPossible().value,l=this.clonePosition();switch(o){case"":return this.error(P.EXPECT_ARGUMENT_TYPE,R(a,l));case"number":case"date":case"time":{this.bumpSpace();var u=null;if(this.bumpIf(",")){this.bumpSpace();var f=this.clonePosition(),h=this.parseSimpleArgStyleIfPossible();if(h.err)return h;var c=jc(h.val);if(c.length===0)return this.error(P.EXPECT_ARGUMENT_STYLE,R(this.clonePosition(),this.clonePosition()));var S=R(f,this.clonePosition());u={style:c,styleLocation:S}}var w=this.tryParseArgumentClose(i);if(w.err)return w;var _=R(i,this.clonePosition());if(u&&Ri(u==null?void 0:u.style,"::",0)){var k=Wc(u.style.slice(2));if(o==="number"){var h=this.parseNumberSkeletonFromString(k,u.styleLocation);return h.err?h:{val:{type:$.number,value:n,location:_,style:h.val},err:null}}else{if(k.length===0)return this.error(P.EXPECT_DATE_TIME_SKELETON,_);var Y=k;this.locale&&(Y=Pc(k,this.locale));var c={type:ot.dateTime,pattern:Y,location:u.styleLocation,parsedOptions:this.shouldParseSkeletons?Tc(Y):{}},Q=o==="date"?$.date:$.time;return{val:{type:Q,value:n,location:_,style:c},err:null}}}return{val:{type:o==="number"?$.number:o==="date"?$.date:$.time,value:n,location:_,style:(s=u==null?void 0:u.style)!==null&&s!==void 0?s:null},err:null}}case"plural":case"selectordinal":case"select":{var F=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(P.EXPECT_SELECT_ARGUMENT_OPTIONS,R(F,C({},F)));this.bumpSpace();var M=this.parseIdentifierIfPossible(),j=0;if(o!=="select"&&M.value==="offset"){if(!this.bumpIf(":"))return this.error(P.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,R(this.clonePosition(),this.clonePosition()));this.bumpSpace();var h=this.tryParseDecimalInteger(P.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,P.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(h.err)return h;this.bumpSpace(),M=this.parseIdentifierIfPossible(),j=h.val}var x=this.tryParsePluralOrSelectOptions(t,o,r,M);if(x.err)return x;var w=this.tryParseArgumentClose(i);if(w.err)return w;var he=R(i,this.clonePosition());return o==="select"?{val:{type:$.select,value:n,options:Hi(x.val),location:he},err:null}:{val:{type:$.plural,value:n,options:Hi(x.val),offset:j,pluralType:o==="plural"?"cardinal":"ordinal",location:he},err:null}}default:return this.error(P.INVALID_ARGUMENT_TYPE,R(a,l))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(P.EXPECT_ARGUMENT_CLOSING_BRACE,R(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(P.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,R(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=Mc(t)}catch(i){return this.error(P.INVALID_NUMBER_SKELETON,r)}return{val:{type:ot.number,tokens:n,location:r,parsedOptions:this.shouldParseSkeletons?Dc(n):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(t,r,n,i){for(var s,a=!1,o=[],l=new Set,u=i.value,f=i.location;;){if(u.length===0){var h=this.clonePosition();if(r!=="select"&&this.bumpIf("=")){var c=this.tryParseDecimalInteger(P.EXPECT_PLURAL_ARGUMENT_SELECTOR,P.INVALID_PLURAL_ARGUMENT_SELECTOR);if(c.err)return c;f=R(h,this.clonePosition()),u=this.message.slice(h.offset,this.offset())}else break}if(l.has(u))return this.error(r==="select"?P.DUPLICATE_SELECT_ARGUMENT_SELECTOR:P.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,f);u==="other"&&(a=!0),this.bumpSpace();var S=this.clonePosition();if(!this.bumpIf("{"))return this.error(r==="select"?P.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:P.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,R(this.clonePosition(),this.clonePosition()));var w=this.parseMessage(t+1,r,n);if(w.err)return w;var _=this.tryParseArgumentClose(S);if(_.err)return _;o.push([u,{value:w.val,location:R(S,this.clonePosition())}]),l.add(u),this.bumpSpace(),s=this.parseIdentifierIfPossible(),u=s.value,f=s.location}return o.length===0?this.error(r==="select"?P.EXPECT_SELECT_ARGUMENT_SELECTOR:P.EXPECT_PLURAL_ARGUMENT_SELECTOR,R(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!a?this.error(P.MISSING_OTHER_CLAUSE,R(this.clonePosition(),this.clonePosition())):{val:o,err:null}},e.prototype.tryParseDecimalInteger=function(t,r){var n=1,i=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var s=!1,a=0;!this.isEOF();){var o=this.char();if(o>=48&&o<=57)s=!0,a=a*10+(o-48),this.bump();else break}var l=R(i,this.clonePosition());return s?(a*=n,Bc(a)?{val:a,err:null}:this.error(r,l)):this.error(t,l)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");var r=La(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(Ri(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()&&Ia(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 bn(e){return e>=97&&e<=122||e>=65&&e<=90}function $c(e){return bn(e)||e===47}function zc(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 Ia(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function Zc(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 vn(e){e.forEach(function(t){if(delete t.location,Oa(t)||ka(t))for(var r in t.options)delete t.options[r].location,vn(t.options[r].value);else Ea(t)&&Pa(t.style)||(Ma(t)||xa(t))&&pn(t.style)?delete t.style.location:Da(t)&&vn(t.children)})}function Xc(e,t){t===void 0&&(t={}),t=C({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var r=new Vc(e,t).parse();if(r.err){var n=SyntaxError(P[r.err.kind]);throw n.location=r.err.location,n.originalMessage=r.err.message,n}return t!=null&&t.captureLocation||vn(r.val),r.val}var lt;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(lt||(lt={}));var xr=function(e){Re(t,e);function t(r,n,i){var s=e.call(this,r)||this;return s.code=n,s.originalMessage=i,s}return t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),Ci=function(e){Re(t,e);function t(r,n,i,s){return e.call(this,'Invalid values for "'.concat(r,'": "').concat(n,'". Options are "').concat(Object.keys(i).join('", "'),'"'),lt.INVALID_VALUE,s)||this}return t}(xr),qc=function(e){Re(t,e);function t(r,n,i){return e.call(this,'Value for "'.concat(r,'" must be of type ').concat(n),lt.INVALID_VALUE,i)||this}return t}(xr),Jc=function(e){Re(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,'"'),lt.MISSING_VALUE,n)||this}return t}(xr),te;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(te||(te={}));function Qc(e){return e.length<2?e:e.reduce(function(t,r){var n=t[t.length-1];return!n||n.type!==te.literal||r.type!==te.literal?t.push(r):n.value+=r.value,t},[])}function Kc(e){return typeof e=="function"}function nr(e,t,r,n,i,s,a){if(e.length===1&&Oi(e[0]))return[{type:te.literal,value:e[0].value}];for(var o=[],l=0,u=e;l<u.length;l++){var f=u[l];if(Oi(f)){o.push({type:te.literal,value:f.value});continue}if(wc(f)){typeof s=="number"&&o.push({type:te.literal,value:r.getNumberFormat(t).format(s)});continue}var h=f.value;if(!(i&&h in i))throw new Jc(h,a);var c=i[h];if(vc(f)){(!c||typeof c=="string"||typeof c=="number")&&(c=typeof c=="string"||typeof c=="number"?String(c):""),o.push({type:typeof c=="string"?te.literal:te.object,value:c});continue}if(Ma(f)){var S=typeof f.style=="string"?n.date[f.style]:pn(f.style)?f.style.parsedOptions:void 0;o.push({type:te.literal,value:r.getDateTimeFormat(t,S).format(c)});continue}if(xa(f)){var S=typeof f.style=="string"?n.time[f.style]:pn(f.style)?f.style.parsedOptions:n.time.medium;o.push({type:te.literal,value:r.getDateTimeFormat(t,S).format(c)});continue}if(Ea(f)){var S=typeof f.style=="string"?n.number[f.style]:Pa(f.style)?f.style.parsedOptions:void 0;S&&S.scale&&(c=c*(S.scale||1)),o.push({type:te.literal,value:r.getNumberFormat(t,S).format(c)});continue}if(Da(f)){var w=f.children,_=f.value,k=i[_];if(!Kc(k))throw new qc(_,"function",a);var Y=nr(w,t,r,n,i,s),Q=k(Y.map(function(j){return j.value}));Array.isArray(Q)||(Q=[Q]),o.push.apply(o,Q.map(function(j){return{type:typeof j=="string"?te.literal:te.object,value:j}}))}if(Oa(f)){var F=f.options[c]||f.options.other;if(!F)throw new Ci(f.value,c,Object.keys(f.options),a);o.push.apply(o,nr(F.value,t,r,n,i));continue}if(ka(f)){var F=f.options["=".concat(c)];if(!F){if(!Intl.PluralRules)throw new xr(`Intl.PluralRules is not available in this environment.
12
+ `):"",this.name="UnsubscriptionError",this.errors=r}});function dn(e,t){if(e){var r=e.indexOf(t);0<=r&&e.splice(r,1)}}var Er=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,s;if(!this.closed){this.closed=!0;var a=this._parentage;if(a)if(this._parentage=null,Array.isArray(a))try{for(var o=fn(a),l=o.next();!l.done;l=o.next()){var u=l.value;u.remove(this)}}catch(_){t={error:_}}finally{try{l&&!l.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}else a.remove(this);var h=this.initialTeardown;if(Oe(h))try{h()}catch(_){s=_ instanceof Zr?_.errors:[_]}var f=this._finalizers;if(f){this._finalizers=null;try{for(var c=fn(f),S=c.next();!S.done;S=c.next()){var w=S.value;try{bi(w)}catch(_){s=s!=null?s:[],_ instanceof Zr?s=st(st([],cn(s)),cn(_.errors)):s.push(_)}}}catch(_){n={error:_}}finally{try{S&&!S.done&&(i=c.return)&&i.call(c)}finally{if(n)throw n.error}}}if(s)throw new Zr(s)}},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)&&dn(r,t)},e.prototype.remove=function(t){var r=this._finalizers;r&&dn(r,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}(),_a=Er.EMPTY;function ga(e){return e instanceof Er||e&&"closed"in e&&Oe(e.remove)&&Oe(e.add)&&Oe(e.unsubscribe)}function bi(e){Oe(e)?e():e.unsubscribe()}var If={Promise:void 0},Ff={setTimeout:function(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];return setTimeout.apply(void 0,st([e,t],cn(r)))},clearTimeout:function(e){return clearTimeout(e)},delegate:void 0};function Gf(e){Ff.setTimeout(function(){throw e})}function vi(){}function rr(e){e()}var ya=function(e){Re(t,e);function t(r){var n=e.call(this)||this;return n.isStopped=!1,r?(n.destination=r,ga(r)&&r.add(n)):n.destination=Uf,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}(Er),Yf=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){Re(t,e);function t(r,n,i){var s=e.call(this)||this,a;return Oe(r)||!r?a={next:r!=null?r:void 0,error:n!=null?n:void 0,complete:i!=null?i:void 0}:a=r,s.destination=new Yf(a),s}return t}(ya);function qt(e){Gf(e)}function Bf(e){throw e}var Uf={closed:!0,next:vi,error:Bf,complete:vi},Wf=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function jf(e){return e}function Vf(e){return e.length===0?jf:e.length===1?e[0]:function(r){return e.reduce(function(n,i){return i(n)},r)}}var wi=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,s=zf(t)?t:new mn(t,r,n);return rr(function(){var a=i,o=a.operator,l=a.source;s.add(o?o.call(s,l):l?i._subscribe(s):i._trySubscribe(s))}),s},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=Si(r),new r(function(i,s){var a=new mn({next:function(o){try{t(o)}catch(l){s(l),a.unsubscribe()}},error:s,complete:i});n.subscribe(a)})},e.prototype._subscribe=function(t){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(t)},e.prototype[Wf]=function(){return this},e.prototype.pipe=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return Vf(t)(this)},e.prototype.toPromise=function(t){var r=this;return t=Si(t),new t(function(n,i){var s;r.subscribe(function(a){return s=a},function(a){return i(a)},function(){return n(s)})})},e.create=function(t){return new e(t)},e}();function Si(e){var t;return(t=e!=null?e:If.Promise)!==null&&t!==void 0?t:Promise}function $f(e){return e&&Oe(e.next)&&Oe(e.error)&&Oe(e.complete)}function zf(e){return e&&e instanceof ya||$f(e)&&ga(e)}var Zf=pa(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),ba=function(e){Re(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 Ti(this,this);return n.operator=r,n},t.prototype._throwIfClosed=function(){if(this.closed)throw new Zf},t.prototype.next=function(r){var n=this;rr(function(){var i,s;if(n._throwIfClosed(),!n.isStopped){n.currentObservers||(n.currentObservers=Array.from(n.observers));try{for(var a=fn(n.currentObservers),o=a.next();!o.done;o=a.next()){var l=o.value;l.next(r)}}catch(u){i={error:u}}finally{try{o&&!o.done&&(s=a.return)&&s.call(a)}finally{if(i)throw i.error}}}})},t.prototype.error=function(r){var n=this;rr(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;rr(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,s=i.hasError,a=i.isStopped,o=i.observers;return s||a?_a:(this.currentObservers=null,o.push(r),new Er(function(){n.currentObservers=null,dn(o,r)}))},t.prototype._checkFinalizedStatuses=function(r){var n=this,i=n.hasError,s=n.thrownError,a=n.isStopped;i?r.error(s):a&&r.complete()},t.prototype.asObservable=function(){var r=new wi;return r.source=this,r},t.create=function(r,n){return new Ti(r,n)},t}(wi),Ti=function(e){Re(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:_a},t}(ba),va={now:function(){return(va.delegate||Date).now()},delegate:void 0},Xf=function(e){Re(t,e);function t(r,n,i){r===void 0&&(r=1/0),n===void 0&&(n=1/0),i===void 0&&(i=va);var s=e.call(this)||this;return s._bufferSize=r,s._windowTime=n,s._timestampProvider=i,s._buffer=[],s._infiniteTimeWindow=!0,s._infiniteTimeWindow=n===1/0,s._bufferSize=Math.max(1,r),s._windowTime=Math.max(1,n),s}return t.prototype.next=function(r){var n=this,i=n.isStopped,s=n._buffer,a=n._infiniteTimeWindow,o=n._timestampProvider,l=n._windowTime;i||(s.push(r),!a&&s.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,s=i._infiniteTimeWindow,a=i._buffer,o=a.slice(),l=0;l<o.length&&!r.closed;l+=s?1:2)r.next(o[l]);return this._checkFinalizedStatuses(r),n},t.prototype._trimBuffer=function(){var r=this,n=r._bufferSize,i=r._timestampProvider,s=r._buffer,a=r._infiniteTimeWindow,o=(a?1:2)*n;if(n<1/0&&o<s.length&&s.splice(0,s.length-o),!a){for(var l=i.now(),u=0,h=1;h<s.length&&s[h]<=l;h+=2)u=h;u&&s.splice(0,u+1)}},t}(ba);const Ei=[],Mi={},qf=(e,t=0)=>{if(Ei.indexOf(e)==-1){const r=new Xf(t);Mi[e]=r,Ei.push(e)}return Mi[e]},Je=[];function Jf(e,t){return{subscribe:Mr(e,t).subscribe}}function Mr(e,t=re){let r;const n=new Set;function i(o){if(Tn(e,o)&&(e=o,r)){const l=!Je.length;for(const u of n)u[1](),Je.push(u,e);if(l){for(let u=0;u<Je.length;u+=2)Je[u][0](Je[u+1]);Je.length=0}}}function s(o){i(o(e))}function a(o,l=re){const u=[o,l];return n.add(u),n.size===1&&(r=t(i,s)||re),o(e),()=>{n.delete(u),n.size===0&&r&&(r(),r=null)}}return{set:i,update:s,subscribe:a}}function dt(e,t,r){const n=!Array.isArray(e),i=n?[e]:e;if(!i.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const s=t.length<2;return Jf(r,(a,o)=>{let l=!1;const u=[];let h=0,f=re;const c=()=>{if(h)return;f();const w=t(n?u[0]:u,a,o);s?a(w):f=We(w)?w:re},S=i.map((w,_)=>ps(w,k=>{u[_]=k,h&=~(1<<_),l&&c()},()=>{h|=1<<_}));return l=!0,c(),function(){Ve(S),f(),l=!1}})}var Qf=function(t){return Kf(t)&&!ec(t)};function Kf(e){return!!e&&typeof e=="object"}function ec(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||nc(e)}var tc=typeof Symbol=="function"&&Symbol.for,rc=tc?Symbol.for("react.element"):60103;function nc(e){return e.$$typeof===rc}function ic(e){return Array.isArray(e)?[]:{}}function Pt(e,t){return t.clone!==!1&&t.isMergeableObject(e)?at(ic(e),e,t):e}function sc(e,t,r){return e.concat(t).map(function(n){return Pt(n,r)})}function ac(e,t){if(!t.customMerge)return at;var r=t.customMerge(e);return typeof r=="function"?r:at}function oc(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}function xi(e){return Object.keys(e).concat(oc(e))}function wa(e,t){try{return t in e}catch(r){return!1}}function lc(e,t){return wa(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function uc(e,t,r){var n={};return r.isMergeableObject(e)&&xi(e).forEach(function(i){n[i]=Pt(e[i],r)}),xi(t).forEach(function(i){lc(e,i)||(wa(e,i)&&r.isMergeableObject(t[i])?n[i]=ac(i,r)(e[i],t[i],r):n[i]=Pt(t[i],r))}),n}function at(e,t,r){r=r||{},r.arrayMerge=r.arrayMerge||sc,r.isMergeableObject=r.isMergeableObject||Qf,r.cloneUnlessOtherwiseSpecified=Pt;var n=Array.isArray(t),i=Array.isArray(e),s=n===i;return s?n?r.arrayMerge(e,t,r):uc(e,t,r):Pt(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 hc=at,fc=hc;const cc=No(fc);function Xr(e,t){var r=t&&t.cache?t.cache:bc,n=t&&t.serializer?t.serializer:gc,i=t&&t.strategy?t.strategy:pc;return i(e,{cache:r,serializer:n})}function dc(e){return e==null||typeof e=="number"||typeof e=="boolean"}function mc(e,t,r,n){var i=dc(n)?n:r(n),s=t.get(i);return typeof s=="undefined"&&(s=e.call(this,n),t.set(i,s)),s}function Sa(e,t,r){var n=Array.prototype.slice.call(arguments,3),i=r(n),s=t.get(i);return typeof s=="undefined"&&(s=e.apply(this,n),t.set(i,s)),s}function Ta(e,t,r,n,i){return r.bind(t,e,n,i)}function pc(e,t){var r=e.length===1?mc:Sa;return Ta(e,this,r,t.cache.create(),t.serializer)}function _c(e,t){return Ta(e,this,Sa,t.cache.create(),t.serializer)}var gc=function(){return JSON.stringify(arguments)},yc=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}(),bc={create:function(){return new yc}},qr={variadic:_c},P;(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"})(P||(P={}));var $;(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"})($||($={}));var ot;(function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"})(ot||(ot={}));function Oi(e){return e.type===$.literal}function vc(e){return e.type===$.argument}function Ea(e){return e.type===$.number}function Ma(e){return e.type===$.date}function xa(e){return e.type===$.time}function Oa(e){return e.type===$.select}function ka(e){return e.type===$.plural}function wc(e){return e.type===$.pound}function Da(e){return e.type===$.tag}function Pa(e){return!!(e&&typeof e=="object"&&e.type===ot.number)}function pn(e){return!!(e&&typeof e=="object"&&e.type===ot.dateTime)}var Ra=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Sc=/(?:[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 Tc(e){var t={};return e.replace(Sc,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 Ec=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function Mc(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");for(var t=e.split(Ec).filter(function(c){return c.length>0}),r=[],n=0,i=t;n<i.length;n++){var s=i[n],a=s.split("/");if(a.length===0)throw new Error("Invalid number skeleton");for(var o=a[0],l=a.slice(1),u=0,h=l;u<h.length;u++){var f=h[u];if(f.length===0)throw new Error("Invalid number skeleton")}r.push({stem:o,options:l})}return r}function xc(e){return e.replace(/^(.*?)-/,"")}var ki=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Ha=/^(@+)?(\+|#+)?[rs]?$/g,Oc=/(\*)(0+)|(#+)(0+)|(0+)/g,Na=/^(0+)$/;function Di(e){var t={};return e[e.length-1]==="r"?t.roundingPriority="morePrecision":e[e.length-1]==="s"&&(t.roundingPriority="lessPrecision"),e.replace(Ha,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 Ca(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 kc(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)),!Na.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function Pi(e){var t={},r=Ca(e);return r||t}function Dc(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=xc(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=C(C(C({},t),{notation:"scientific"}),i.options.reduce(function(l,u){return C(C({},l),Pi(u))},{}));continue;case"engineering":t=C(C(C({},t),{notation:"engineering"}),i.options.reduce(function(l,u){return C(C({},l),Pi(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(Oc,function(l,u,h,f,c,S){if(u)t.minimumIntegerDigits=h.length;else{if(f&&c)throw new Error("We currently do not support maximum integer digits");if(S)throw new Error("We currently do not support exact integer digits")}return""});continue}if(Na.test(i.stem)){t.minimumIntegerDigits=i.stem.length;continue}if(ki.test(i.stem)){if(i.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(ki,function(l,u,h,f,c,S){return h==="*"?t.minimumFractionDigits=u.length:f&&f[0]==="#"?t.maximumFractionDigits=f.length:c&&S?(t.minimumFractionDigits=c.length,t.maximumFractionDigits=c.length+S.length):(t.minimumFractionDigits=u.length,t.maximumFractionDigits=u.length),""});var s=i.options[0];s==="w"?t=C(C({},t),{trailingZeroDisplay:"stripIfInteger"}):s&&(t=C(C({},t),Di(s)));continue}if(Ha.test(i.stem)){t=C(C({},t),Di(i.stem));continue}var a=Ca(i.stem);a&&(t=C(C({},t),a));var o=kc(i.stem);o&&(t=C(C({},t),o))}return t}var Jt={"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 Pc(e,t){for(var r="",n=0;n<e.length;n++){var i=e.charAt(n);if(i==="j"){for(var s=0;n+1<e.length&&e.charAt(n+1)===i;)s++,n++;var a=1+(s&1),o=s<2?1:3+(s>>1),l="a",u=Rc(t);for((u=="H"||u=="k")&&(o=0);o-- >0;)r+=l;for(;a-- >0;)r=u+r}else i==="J"?r+="H":r+=i}return r}function Rc(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=Jt[n||""]||Jt[r||""]||Jt["".concat(r,"-001")]||Jt["001"];return i[0]}var Jr,Hc=new RegExp("^".concat(Ra.source,"*")),Nc=new RegExp("".concat(Ra.source,"*$"));function R(e,t){return{start:e,end:t}}var Cc=!!String.prototype.startsWith&&"_a".startsWith("a",1),Lc=!!String.fromCodePoint,Ac=!!Object.fromEntries,Ic=!!String.prototype.codePointAt,Fc=!!String.prototype.trimStart,Gc=!!String.prototype.trimEnd,Yc=!!Number.isSafeInteger,Bc=Yc?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},_n=!0;try{var Uc=Aa("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");_n=((Jr=Uc.exec("a"))===null||Jr===void 0?void 0:Jr[0])==="a"}catch(e){_n=!1}var Ri=Cc?function(t,r,n){return t.startsWith(r,n)}:function(t,r,n){return t.slice(n,n+r.length)===r},gn=Lc?String.fromCodePoint:function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];for(var n="",i=t.length,s=0,a;i>s;){if(a=t[s++],a>1114111)throw RangeError(a+" is not a valid code point");n+=a<65536?String.fromCharCode(a):String.fromCharCode(((a-=65536)>>10)+55296,a%1024+56320)}return n},Hi=Ac?Object.fromEntries:function(t){for(var r={},n=0,i=t;n<i.length;n++){var s=i[n],a=s[0],o=s[1];r[a]=o}return r},La=Ic?function(t,r){return t.codePointAt(r)}:function(t,r){var n=t.length;if(!(r<0||r>=n)){var i=t.charCodeAt(r),s;return i<55296||i>56319||r+1===n||(s=t.charCodeAt(r+1))<56320||s>57343?i:(i-55296<<10)+(s-56320)+65536}},Wc=Fc?function(t){return t.trimStart()}:function(t){return t.replace(Hc,"")},jc=Gc?function(t){return t.trimEnd()}:function(t){return t.replace(Nc,"")};function Aa(e,t){return new RegExp(e,t)}var yn;if(_n){var Ni=Aa("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");yn=function(t,r){var n;Ni.lastIndex=r;var i=Ni.exec(t);return(n=i[1])!==null&&n!==void 0?n:""}}else yn=function(t,r){for(var n=[];;){var i=La(t,r);if(i===void 0||Ia(i)||Zc(i))break;n.push(i),r+=i>=65536?2:1}return gn.apply(void 0,n)};var Vc=function(){function e(t,r){r===void 0&&(r={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!r.ignoreTag,this.locale=r.locale,this.requiresOtherClause=!!r.requiresOtherClause,this.shouldParseSkeletons=!!r.shouldParseSkeletons}return e.prototype.parse=function(){if(this.offset()!==0)throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(t,r,n){for(var i=[];!this.isEOF();){var s=this.char();if(s===123){var a=this.parseArgument(t,n);if(a.err)return a;i.push(a.val)}else{if(s===125&&t>0)break;if(s===35&&(r==="plural"||r==="selectordinal")){var o=this.clonePosition();this.bump(),i.push({type:$.pound,location:R(o,this.clonePosition())})}else if(s===60&&!this.ignoreTag&&this.peek()===47){if(n)break;return this.error(P.UNMATCHED_CLOSING_TAG,R(this.clonePosition(),this.clonePosition()))}else if(s===60&&!this.ignoreTag&&bn(this.peek()||0)){var a=this.parseTag(t,r);if(a.err)return a;i.push(a.val)}else{var a=this.parseLiteral(t,r);if(a.err)return a;i.push(a.val)}}}return{val:i,err:null}},e.prototype.parseTag=function(t,r){var n=this.clonePosition();this.bump();var i=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:$.literal,value:"<".concat(i,"/>"),location:R(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var s=this.parseMessage(t+1,r,!0);if(s.err)return s;var a=s.val,o=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!bn(this.char()))return this.error(P.INVALID_TAG,R(o,this.clonePosition()));var l=this.clonePosition(),u=this.parseTagName();return i!==u?this.error(P.UNMATCHED_CLOSING_TAG,R(l,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:$.tag,value:i,children:a,location:R(n,this.clonePosition())},err:null}:this.error(P.INVALID_TAG,R(o,this.clonePosition())))}else return this.error(P.UNCLOSED_TAG,R(n,this.clonePosition()))}else return this.error(P.INVALID_TAG,R(n,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&zc(this.char());)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(t,r){for(var n=this.clonePosition(),i="";;){var s=this.tryParseQuote(r);if(s){i+=s;continue}var a=this.tryParseUnquoted(t,r);if(a){i+=a;continue}var o=this.tryParseLeftAngleBracket();if(o){i+=o;continue}break}var l=R(n,this.clonePosition());return{val:{type:$.literal,value:i,location:l},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!$c(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 gn.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(),gn(n))},e.prototype.parseArgument=function(t,r){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(P.EXPECT_ARGUMENT_CLOSING_BRACE,R(n,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(P.EMPTY_ARGUMENT,R(n,this.clonePosition()));var i=this.parseIdentifierIfPossible().value;if(!i)return this.error(P.MALFORMED_ARGUMENT,R(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(P.EXPECT_ARGUMENT_CLOSING_BRACE,R(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:$.argument,value:i,location:R(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(P.EXPECT_ARGUMENT_CLOSING_BRACE,R(n,this.clonePosition())):this.parseArgumentOptions(t,r,i,n);default:return this.error(P.MALFORMED_ARGUMENT,R(n,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),r=this.offset(),n=yn(this.message,r),i=r+n.length;this.bumpTo(i);var s=this.clonePosition(),a=R(t,s);return{value:n,location:a}},e.prototype.parseArgumentOptions=function(t,r,n,i){var s,a=this.clonePosition(),o=this.parseIdentifierIfPossible().value,l=this.clonePosition();switch(o){case"":return this.error(P.EXPECT_ARGUMENT_TYPE,R(a,l));case"number":case"date":case"time":{this.bumpSpace();var u=null;if(this.bumpIf(",")){this.bumpSpace();var h=this.clonePosition(),f=this.parseSimpleArgStyleIfPossible();if(f.err)return f;var c=jc(f.val);if(c.length===0)return this.error(P.EXPECT_ARGUMENT_STYLE,R(this.clonePosition(),this.clonePosition()));var S=R(h,this.clonePosition());u={style:c,styleLocation:S}}var w=this.tryParseArgumentClose(i);if(w.err)return w;var _=R(i,this.clonePosition());if(u&&Ri(u==null?void 0:u.style,"::",0)){var k=Wc(u.style.slice(2));if(o==="number"){var f=this.parseNumberSkeletonFromString(k,u.styleLocation);return f.err?f:{val:{type:$.number,value:n,location:_,style:f.val},err:null}}else{if(k.length===0)return this.error(P.EXPECT_DATE_TIME_SKELETON,_);var Y=k;this.locale&&(Y=Pc(k,this.locale));var c={type:ot.dateTime,pattern:Y,location:u.styleLocation,parsedOptions:this.shouldParseSkeletons?Tc(Y):{}},Q=o==="date"?$.date:$.time;return{val:{type:Q,value:n,location:_,style:c},err:null}}}return{val:{type:o==="number"?$.number:o==="date"?$.date:$.time,value:n,location:_,style:(s=u==null?void 0:u.style)!==null&&s!==void 0?s:null},err:null}}case"plural":case"selectordinal":case"select":{var F=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(P.EXPECT_SELECT_ARGUMENT_OPTIONS,R(F,C({},F)));this.bumpSpace();var M=this.parseIdentifierIfPossible(),j=0;if(o!=="select"&&M.value==="offset"){if(!this.bumpIf(":"))return this.error(P.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,R(this.clonePosition(),this.clonePosition()));this.bumpSpace();var f=this.tryParseDecimalInteger(P.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,P.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(f.err)return f;this.bumpSpace(),M=this.parseIdentifierIfPossible(),j=f.val}var x=this.tryParsePluralOrSelectOptions(t,o,r,M);if(x.err)return x;var w=this.tryParseArgumentClose(i);if(w.err)return w;var fe=R(i,this.clonePosition());return o==="select"?{val:{type:$.select,value:n,options:Hi(x.val),location:fe},err:null}:{val:{type:$.plural,value:n,options:Hi(x.val),offset:j,pluralType:o==="plural"?"cardinal":"ordinal",location:fe},err:null}}default:return this.error(P.INVALID_ARGUMENT_TYPE,R(a,l))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(P.EXPECT_ARGUMENT_CLOSING_BRACE,R(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(P.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,R(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=Mc(t)}catch(i){return this.error(P.INVALID_NUMBER_SKELETON,r)}return{val:{type:ot.number,tokens:n,location:r,parsedOptions:this.shouldParseSkeletons?Dc(n):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(t,r,n,i){for(var s,a=!1,o=[],l=new Set,u=i.value,h=i.location;;){if(u.length===0){var f=this.clonePosition();if(r!=="select"&&this.bumpIf("=")){var c=this.tryParseDecimalInteger(P.EXPECT_PLURAL_ARGUMENT_SELECTOR,P.INVALID_PLURAL_ARGUMENT_SELECTOR);if(c.err)return c;h=R(f,this.clonePosition()),u=this.message.slice(f.offset,this.offset())}else break}if(l.has(u))return this.error(r==="select"?P.DUPLICATE_SELECT_ARGUMENT_SELECTOR:P.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,h);u==="other"&&(a=!0),this.bumpSpace();var S=this.clonePosition();if(!this.bumpIf("{"))return this.error(r==="select"?P.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:P.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,R(this.clonePosition(),this.clonePosition()));var w=this.parseMessage(t+1,r,n);if(w.err)return w;var _=this.tryParseArgumentClose(S);if(_.err)return _;o.push([u,{value:w.val,location:R(S,this.clonePosition())}]),l.add(u),this.bumpSpace(),s=this.parseIdentifierIfPossible(),u=s.value,h=s.location}return o.length===0?this.error(r==="select"?P.EXPECT_SELECT_ARGUMENT_SELECTOR:P.EXPECT_PLURAL_ARGUMENT_SELECTOR,R(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!a?this.error(P.MISSING_OTHER_CLAUSE,R(this.clonePosition(),this.clonePosition())):{val:o,err:null}},e.prototype.tryParseDecimalInteger=function(t,r){var n=1,i=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var s=!1,a=0;!this.isEOF();){var o=this.char();if(o>=48&&o<=57)s=!0,a=a*10+(o-48),this.bump();else break}var l=R(i,this.clonePosition());return s?(a*=n,Bc(a)?{val:a,err:null}:this.error(r,l)):this.error(t,l)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");var r=La(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(Ri(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()&&Ia(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 bn(e){return e>=97&&e<=122||e>=65&&e<=90}function $c(e){return bn(e)||e===47}function zc(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 Ia(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function Zc(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 vn(e){e.forEach(function(t){if(delete t.location,Oa(t)||ka(t))for(var r in t.options)delete t.options[r].location,vn(t.options[r].value);else Ea(t)&&Pa(t.style)||(Ma(t)||xa(t))&&pn(t.style)?delete t.style.location:Da(t)&&vn(t.children)})}function Xc(e,t){t===void 0&&(t={}),t=C({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var r=new Vc(e,t).parse();if(r.err){var n=SyntaxError(P[r.err.kind]);throw n.location=r.err.location,n.originalMessage=r.err.message,n}return t!=null&&t.captureLocation||vn(r.val),r.val}var lt;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(lt||(lt={}));var xr=function(e){Re(t,e);function t(r,n,i){var s=e.call(this,r)||this;return s.code=n,s.originalMessage=i,s}return t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),Ci=function(e){Re(t,e);function t(r,n,i,s){return e.call(this,'Invalid values for "'.concat(r,'": "').concat(n,'". Options are "').concat(Object.keys(i).join('", "'),'"'),lt.INVALID_VALUE,s)||this}return t}(xr),qc=function(e){Re(t,e);function t(r,n,i){return e.call(this,'Value for "'.concat(r,'" must be of type ').concat(n),lt.INVALID_VALUE,i)||this}return t}(xr),Jc=function(e){Re(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,'"'),lt.MISSING_VALUE,n)||this}return t}(xr),te;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(te||(te={}));function Qc(e){return e.length<2?e:e.reduce(function(t,r){var n=t[t.length-1];return!n||n.type!==te.literal||r.type!==te.literal?t.push(r):n.value+=r.value,t},[])}function Kc(e){return typeof e=="function"}function nr(e,t,r,n,i,s,a){if(e.length===1&&Oi(e[0]))return[{type:te.literal,value:e[0].value}];for(var o=[],l=0,u=e;l<u.length;l++){var h=u[l];if(Oi(h)){o.push({type:te.literal,value:h.value});continue}if(wc(h)){typeof s=="number"&&o.push({type:te.literal,value:r.getNumberFormat(t).format(s)});continue}var f=h.value;if(!(i&&f in i))throw new Jc(f,a);var c=i[f];if(vc(h)){(!c||typeof c=="string"||typeof c=="number")&&(c=typeof c=="string"||typeof c=="number"?String(c):""),o.push({type:typeof c=="string"?te.literal:te.object,value:c});continue}if(Ma(h)){var S=typeof h.style=="string"?n.date[h.style]:pn(h.style)?h.style.parsedOptions:void 0;o.push({type:te.literal,value:r.getDateTimeFormat(t,S).format(c)});continue}if(xa(h)){var S=typeof h.style=="string"?n.time[h.style]:pn(h.style)?h.style.parsedOptions:n.time.medium;o.push({type:te.literal,value:r.getDateTimeFormat(t,S).format(c)});continue}if(Ea(h)){var S=typeof h.style=="string"?n.number[h.style]:Pa(h.style)?h.style.parsedOptions:void 0;S&&S.scale&&(c=c*(S.scale||1)),o.push({type:te.literal,value:r.getNumberFormat(t,S).format(c)});continue}if(Da(h)){var w=h.children,_=h.value,k=i[_];if(!Kc(k))throw new qc(_,"function",a);var Y=nr(w,t,r,n,i,s),Q=k(Y.map(function(j){return j.value}));Array.isArray(Q)||(Q=[Q]),o.push.apply(o,Q.map(function(j){return{type:typeof j=="string"?te.literal:te.object,value:j}}))}if(Oa(h)){var F=h.options[c]||h.options.other;if(!F)throw new Ci(h.value,c,Object.keys(h.options),a);o.push.apply(o,nr(F.value,t,r,n,i));continue}if(ka(h)){var F=h.options["=".concat(c)];if(!F){if(!Intl.PluralRules)throw new xr(`Intl.PluralRules is not available in this environment.
13
13
  Try polyfilling it using "@formatjs/intl-pluralrules"
14
- `,lt.MISSING_INTL_API,a);var M=r.getPluralRules(t,{type:f.pluralType}).select(c-(f.offset||0));F=f.options[M]||f.options.other}if(!F)throw new Ci(f.value,c,Object.keys(f.options),a);o.push.apply(o,nr(F.value,t,r,n,i,c-(f.offset||0)));continue}}return Qc(o)}function ed(e,t){return t?C(C(C({},e||{}),t||{}),Object.keys(e).reduce(function(r,n){return r[n]=C(C({},e[n]),t[n]||{}),r},{})):e}function td(e,t){return t?Object.keys(e).reduce(function(r,n){return r[n]=ed(e[n],t[n]),r},C({},e)):e}function Qr(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,r){e[t]=r}}}}}function rd(e){return e===void 0&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:Xr(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.NumberFormat).bind.apply(t,st([void 0],r,!1)))},{cache:Qr(e.number),strategy:qr.variadic}),getDateTimeFormat:Xr(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.DateTimeFormat).bind.apply(t,st([void 0],r,!1)))},{cache:Qr(e.dateTime),strategy:qr.variadic}),getPluralRules:Xr(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.PluralRules).bind.apply(t,st([void 0],r,!1)))},{cache:Qr(e.pluralRules),strategy:qr.variadic})}}var nd=function(){function e(t,r,n,i){r===void 0&&(r=e.defaultLocale);var s=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(l){var u=s.formatToParts(l);if(u.length===1)return u[0].value;var f=u.reduce(function(h,c){return!h.length||c.type!==te.literal||typeof h[h.length-1]!="string"?h.push(c.value):h[h.length-1]+=c.value,h},[]);return f.length<=1?f[0]||"":f},this.formatToParts=function(l){return nr(s.ast,s.locales,s.formatters,s.formats,l,void 0,s.message)},this.resolvedOptions=function(){var l;return{locale:((l=s.resolvedLocale)===null||l===void 0?void 0:l.toString())||Intl.NumberFormat.supportedLocalesOf(s.locales)[0]}},this.getAst=function(){return s.ast},this.locales=r,this.resolvedLocale=e.resolveLocale(r),typeof t=="string"){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var a=i||{};a.formatters;var o=Ah(a,["formatters"]);this.ast=e.__parse(t,C(C({},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=td(e.formats,n),this.formatters=i&&i.formatters||rd(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=Xc,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 id(e,t){if(t==null)return;if(t in e)return e[t];const r=t.split(".");let n=e;for(let i=0;i<r.length;i++)if(typeof n=="object"){if(i>0){const s=r.slice(i,r.length).join(".");if(s in n){n=n[s];break}}n=n[r[i]]}else n=void 0;return n}const Ae={},sd=(e,t,r)=>r&&(t in Ae||(Ae[t]={}),e in Ae[t]||(Ae[t][e]=r),r),Fa=(e,t)=>{if(t==null)return;if(t in Ae&&e in Ae[t])return Ae[t][e];const r=Or(t);for(let n=0;n<r.length;n++){const i=r[n],s=od(i,e);if(s)return sd(e,t,s)}};let $n;const At=Mr({});function ad(e){return $n[e]||null}function Ga(e){return e in $n}function od(e,t){if(!Ga(e))return null;const r=ad(e);return id(r,t)}function ld(e){if(e==null)return;const t=Or(e);for(let r=0;r<t.length;r++){const n=t[r];if(Ga(n))return n}}function zn(e,...t){delete Ae[e],At.update(r=>(r[e]=cc.all([r[e]||{},...t]),r))}dt([At],([e])=>Object.keys(e));At.subscribe(e=>$n=e);const ir={};function ud(e,t){ir[e].delete(t),ir[e].size===0&&delete ir[e]}function Ya(e){return ir[e]}function fd(e){return Or(e).map(t=>{const r=Ya(t);return[t,r?[...r]:[]]}).filter(([,t])=>t.length>0)}function wn(e){return e==null?!1:Or(e).some(t=>{var r;return(r=Ya(t))==null?void 0:r.size})}function hd(e,t){return Promise.all(t.map(n=>(ud(e,n),n().then(i=>i.default||i)))).then(n=>zn(e,...n))}const bt={};function Ba(e){if(!wn(e))return e in bt?bt[e]:Promise.resolve();const t=fd(e);return bt[e]=Promise.all(t.map(([r,n])=>hd(r,n))).then(()=>{if(wn(e))return Ba(e);delete bt[e]}),bt[e]}const cd={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"}}},dd={fallbackLocale:null,loadingDelay:200,formats:cd,warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0},md=dd;function ut(){return md}const Kr=Mr(!1);var pd=Object.defineProperty,_d=Object.defineProperties,gd=Object.getOwnPropertyDescriptors,Li=Object.getOwnPropertySymbols,yd=Object.prototype.hasOwnProperty,bd=Object.prototype.propertyIsEnumerable,Ai=(e,t,r)=>t in e?pd(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,vd=(e,t)=>{for(var r in t||(t={}))yd.call(t,r)&&Ai(e,r,t[r]);if(Li)for(var r of Li(t))bd.call(t,r)&&Ai(e,r,t[r]);return e},wd=(e,t)=>_d(e,gd(t));let Sn;const hr=Mr(null);function Ii(e){return e.split("-").map((t,r,n)=>n.slice(0,r+1).join("-")).reverse()}function Or(e,t=ut().fallbackLocale){const r=Ii(e);return t?[...new Set([...r,...Ii(t)])]:r}function ze(){return Sn!=null?Sn:void 0}hr.subscribe(e=>{Sn=e!=null?e:void 0,typeof window!="undefined"&&e!=null&&document.documentElement.setAttribute("lang",e)});const Sd=e=>{if(e&&ld(e)&&wn(e)){const{loadingDelay:t}=ut();let r;return typeof window!="undefined"&&ze()!=null&&t?r=window.setTimeout(()=>Kr.set(!0),t):Kr.set(!0),Ba(e).then(()=>{hr.set(e)}).finally(()=>{clearTimeout(r),Kr.set(!1)})}return hr.set(e)},Ze=wd(vd({},hr),{set:Sd}),kr=e=>{const t=Object.create(null);return n=>{const i=JSON.stringify(n);return i in t?t[i]:t[i]=e(n)}};var Td=Object.defineProperty,cr=Object.getOwnPropertySymbols,Ua=Object.prototype.hasOwnProperty,Wa=Object.prototype.propertyIsEnumerable,Fi=(e,t,r)=>t in e?Td(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Zn=(e,t)=>{for(var r in t||(t={}))Ua.call(t,r)&&Fi(e,r,t[r]);if(cr)for(var r of cr(t))Wa.call(t,r)&&Fi(e,r,t[r]);return e},mt=(e,t)=>{var r={};for(var n in e)Ua.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&cr)for(var n of cr(e))t.indexOf(n)<0&&Wa.call(e,n)&&(r[n]=e[n]);return r};const Rt=(e,t)=>{const{formats:r}=ut();if(e in r&&t in r[e])return r[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},Ed=kr(e=>{var t=e,{locale:r,format:n}=t,i=mt(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(i=Rt("number",n)),new Intl.NumberFormat(r,i)}),Md=kr(e=>{var t=e,{locale:r,format:n}=t,i=mt(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?i=Rt("date",n):Object.keys(i).length===0&&(i=Rt("date","short")),new Intl.DateTimeFormat(r,i)}),xd=kr(e=>{var t=e,{locale:r,format:n}=t,i=mt(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?i=Rt("time",n):Object.keys(i).length===0&&(i=Rt("time","short")),new Intl.DateTimeFormat(r,i)}),Od=(e={})=>{var t=e,{locale:r=ze()}=t,n=mt(t,["locale"]);return Ed(Zn({locale:r},n))},kd=(e={})=>{var t=e,{locale:r=ze()}=t,n=mt(t,["locale"]);return Md(Zn({locale:r},n))},Dd=(e={})=>{var t=e,{locale:r=ze()}=t,n=mt(t,["locale"]);return xd(Zn({locale:r},n))},Pd=kr((e,t=ze())=>new nd(e,t,ut().formats,{ignoreTag:ut().ignoreTag})),Rd=(e,t={})=>{var r,n,i,s;let a=t;typeof e=="object"&&(a=e,e=a.id);const{values:o,locale:l=ze(),default:u}=a;if(l==null)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let f=Fa(e,l);if(!f)f=(s=(i=(n=(r=ut()).handleMissingMessage)==null?void 0:n.call(r,{locale:l,id:e,defaultValue:u}))!=null?i:u)!=null?s:e;else if(typeof f!="string")return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof f}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),f;if(!o)return f;let h=f;try{h=Pd(f,l).format(o)}catch(c){c instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,c.message)}return h},Hd=(e,t)=>Dd(t).format(e),Nd=(e,t)=>kd(t).format(e),Cd=(e,t)=>Od(t).format(e),Ld=(e,t=ze())=>Fa(e,t),ja=dt([Ze,At],()=>Rd);dt([Ze],()=>Hd);dt([Ze],()=>Nd);dt([Ze],()=>Cd);dt([Ze,At],()=>Ld);window.emWidgets={topic:qh};const Va=e=>e.toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC";function Ad(e,t){return new Promise((r,n)=>{const i=new Headers;i.append("X-SessionID",t);const s={method:"GET",headers:i};fetch(`${e}/v1/player/session/player`,s).then(a=>a.json()).then(a=>r(a)).catch(a=>n(a))})}function Gi(e,t){zn(e,t)}function Id(e){Ze.set(e)}const Yi={en:{timeText:"Time",sessionTimer:"Logged in for"},fr:{timeText:"Temps",sessionTimer:"Connecté pour"},ro:{timeText:"Ora",sessionTimer:"Online de"},es:{timeText:"Hora",sessionTimer:"Tiempo sesión"},pt:{timeText:"Categorias",sessionTimer:"Logged in for"},hr:{timeText:"Vrijeme",sessionTimer:"Prijavljen za"},"pt-br":{timeText:"Tempo",sessionTimer:"Tempo de sessão"},"es-mx":{timeText:"Tiempo",sessionTimer:"Tiempo de sesión"},tr:{timeText:"Zaman",sessionTimer:"Giriş süresi"},"en-us":{timeText:"Time",sessionTimer:"Logged in for"}},{document:Bi}=po;function Fd(e){gs(e,"svelte-164ve8f",".SearchLoading{color:var(--emw--color-white, #FFFFFF);text-align:center}.FooterGrid{font-weight:400;display:flex;padding:10px 40px;background-color:var(--emw--color-footer-bg, var(--emw--color-background-secondary, #212529));color:var(--emw--color-white, #FFFFFF);flex-direction:column;align-items:center;justify-content:center}.FooterGrid.NoSponsorSpacing{padding-top:30px}.FooterGrid .GridRow{display:flex;flex-flow:row wrap;width:100%;padding:20px 0;align-items:flex-start;justify-content:center}.FooterGrid .GridRow:first-child{padding-top:0}.FooterGrid .GridRow:not(:last-child){border-bottom:1px solid rgba(255, 255, 255, 0.1)}.FooterGrid .GridRow.LicenseRow{border-bottom:0}.FooterGrid .GridRow.SplitRow .GridCol:first-child{flex-basis:50%}.FooterGrid .GridRow.SplitRow .GridCol:nth-child(2){flex-basis:calc(50% - 1px);border-left:1px solid rgba(255, 255, 255, 0.1)}.FooterGrid .GridRow.ProvisionalRow{padding-top:12px;justify-content:space-between;align-items:center}.FooterGrid .GridRow .GridCol{width:100%;flex:1}.FooterGrid .GridRow .GridCol p{text-align:center}.FooterGrid .GridRow .GridCol p.FooterTitle{font-size:12px;font-weight:700}.FooterGrid .GridRow .GridCol .PaymentsTitle,.FooterGrid .GridRow .GridCol .VendorsTitle{margin:0 auto 20px;font-size:10px;font-weight:700}.FooterGrid .DetailedLicenses{margin:30px 50px 20px;font-size:10px;text-align:center;color:var(--emw--color-gray-150, #828282)}.FooterGrid .CopyrightAreaRights{margin-top:10px}.FooterGrid .CopyrightTextArea p,.FooterGrid .CopyrightArea p{margin:0;color:var(--emw--color-gray-150, #828282);font-size:9px}@media only screen and (max-width: 768px){.FooterGrid{padding:5px 20px}.FooterGrid .FooterTitle{margin-top:0}.FooterGrid .GridRow{padding:0}.FooterGrid .GridRow:not(:last-child){border-bottom:0}.FooterGrid .GridRow:not(:last-child).ProvisionalRow{padding-top:12px;justify-content:space-between;flex-direction:column;align-items:center;gap:1rem}.FooterGrid .GridRow:last-child .GridCol:last-child{border-bottom:0}.FooterGrid .GridRow.SplitRow .GridCol:first-child,.FooterGrid .GridRow.SplitRow .GridCol:nth-child(2){flex-basis:unset}.FooterGrid .GridRow.SplitRow .GridCol:nth-child(2){border-left:none}.FooterGrid .GridRow .GridCol{border-bottom:1px solid rgba(255, 255, 255, 0.1);padding:15px 0}.FooterGrid .GridRow .GridCol #DetailedLicenses{margin:10px auto 25px}.FooterGrid .GridRow .GridCol .PaymentsTitle,.FooterGrid .GridRow .GridCol .VendorsTitle{margin:10px auto}}.ClockContainer{color:var(--emw--color-gray-150, #c3c3c3)}.SessionText{color:var(--emw--color-gray-150, #c3c3c3)}.ItemLanguage{display:none}#languageList{padding:0;margin:0}.languageSelectorOverlay{position:relative}.drawerButton{height:30px;width:150px;background:#212529;color:inherit;border:none;padding:0;font:inherit;cursor:pointer;outline:inherit;display:flex;justify-content:space-evenly;align-items:center;border-radius:0px;border:0}.languageDrawer{position:absolute;background:#363e46;width:150px;top:30px;padding:6px 0}.languageDrawer.hidden{display:none}.languageFlag{margin-right:8px;background:white;border-radius:50%;width:14px;height:14px}.downwardChevron{margin-left:8px;margin-top:4px;width:8px;height:auto}.overlayLanguageOption{list-style:none;width:24px;position:relative;padding:0;justify-content:center}.overlayLanguageOption img{position:absolute;z-index:0;cursor:pointer;top:6px;left:12px}.overlayLanguageOption a{text-decoration:none;color:#fff;display:inline-block;width:150px}.overlayLanguageOption a span{width:100%;display:flex;justify-content:center;margin:4px 0}")}function Ui(e,t,r){const n=e.slice();return n[74]=t[r],n}function Wi(e,t,r){const n=e.slice();return n[77]=t[r],n}function ji(e){let t,r;return{c(){t=E("script"),Ie(t.src,r=e[28])||m(t,"src",r)},m(n,i){A(n,t,i)},p(n,i){i[0]&268435456&&!Ie(t.src,r=n[28])&&m(t,"src",r)},d(n){n&&H(t)}}}function Gd(e){let t,r,n,i,s,a,o,l,u=(e[3]==="true"||e[5]==="true"||e[6]==="true")&&Vi(e),f=e[7]==="true"&&localStorage.session&&Ji(e),h=e[16]&&Qi(e),c=(e[14]||e[12])&&ts(e),S=(e[18]||e[20])&&as(e),w=(e[24]||e[23])&&hs(e);return{c(){t=E("div"),u&&u.c(),r=z(),f&&f.c(),n=z(),h&&h.c(),i=z(),c&&c.c(),s=z(),S&&S.c(),a=z(),w&&w.c(),m(t,"class",o="FooterGrid "+(e[16]?"":"NoSponsorSpacing")),m(t,"part",l="FooterGrid "+(e[16]?"":"NoSponsorSpacing"))},m(_,k){A(_,t,k),u&&u.m(t,null),v(t,r),f&&f.m(t,null),v(t,n),h&&h.m(t,null),v(t,i),c&&c.m(t,null),v(t,s),S&&S.m(t,null),v(t,a),w&&w.m(t,null)},p(_,k){_[3]==="true"||_[5]==="true"||_[6]==="true"?u?u.p(_,k):(u=Vi(_),u.c(),u.m(t,r)):u&&(u.d(1),u=null),_[7]==="true"&&localStorage.session?f?f.p(_,k):(f=Ji(_),f.c(),f.m(t,n)):f&&(f.d(1),f=null),_[16]?h?h.p(_,k):(h=Qi(_),h.c(),h.m(t,i)):h&&(h.d(1),h=null),_[14]||_[12]?c?c.p(_,k):(c=ts(_),c.c(),c.m(t,s)):c&&(c.d(1),c=null),_[18]||_[20]?S?S.p(_,k):(S=as(_),S.c(),S.m(t,a)):S&&(S.d(1),S=null),_[24]||_[23]?w?w.p(_,k):(w=hs(_),w.c(),w.m(t,null)):w&&(w.d(1),w=null),k[0]&65536&&o!==(o="FooterGrid "+(_[16]?"":"NoSponsorSpacing"))&&m(t,"class",o),k[0]&65536&&l!==(l="FooterGrid "+(_[16]?"":"NoSponsorSpacing"))&&m(t,"part",l)},d(_){_&&H(t),u&&u.d(),f&&f.d(),h&&h.d(),c&&c.d(),S&&S.d(),w&&w.d()}}}function Yd(e){let t;return{c(){t=E("p"),t.textContent="Loading ...",m(t,"class","SearchLoading"),m(t,"part","SearchLoading")},m(r,n){A(r,t,n)},p:re,d(r){r&&H(t)}}}function Bd(e){let t;return{c(){t=E("p"),t.textContent="500 Error - Internal Server Error",m(t,"class","SearchLoading"),m(t,"part","SearchLoading")},m(r,n){A(r,t,n)},p:re,d(r){r&&H(t)}}}function Vi(e){let t,r,n,i=e[3]==="true"&&$i(e),s=e[6]==="true"&&zi(e),a=e[5]==="true"&&e[36]&&e[30]&&Zi(e);return{c(){t=E("div"),i&&i.c(),r=z(),s&&s.c(),n=z(),a&&a.c(),m(t,"class","GridRow ProvisionalRow"),m(t,"part","GridRow")},m(o,l){A(o,t,l),i&&i.m(t,null),v(t,r),s&&s.m(t,null),v(t,n),a&&a.m(t,null)},p(o,l){o[3]==="true"?i?i.p(o,l):(i=$i(o),i.c(),i.m(t,r)):i&&(i.d(1),i=null),o[6]==="true"?s?s.p(o,l):(s=zi(o),s.c(),s.m(t,n)):s&&(s.d(1),s=null),o[5]==="true"&&o[36]&&o[30]?a?a.p(o,l):(a=Zi(o),a.c(),a.m(t,null)):a&&(a.d(1),a=null)},d(o){o&&H(t),i&&i.d(),s&&s.d(),a&&a.d()}}}function $i(e){let t,r,n,i,s,a,o;return{c(){t=E("div"),r=E("span"),n=K(e[4]),i=K(":"),s=z(),a=E("span"),o=K(e[31]),m(r,"class","ClockText"),m(a,"class","ClockTime"),m(t,"class","ClockContainer")},m(l,u){A(l,t,u),v(t,r),v(r,n),v(r,i),v(t,s),v(t,a),v(a,o)},p(l,u){u[0]&16&&ie(n,l[4]),u[1]&1&&ie(o,l[31])},d(l){l&&H(t)}}}function zi(e){let t;return{c(){t=E("player-panic-button"),g(t,"lang",e[1])},m(r,n){A(r,t,n)},p(r,n){n[0]&2&&g(t,"lang",r[1])},d(r){r&&H(t)}}}function Zi(e){let t,r,n,i,s,a,o,l,u,f,h,c,S,w,_,k=vt(e[32]),Y=[];for(let M=0;M<k.length;M+=1)Y[M]=Xi(Wi(e,k,M));let Q=vt(e[9]),F=[];for(let M=0;M<Q.length;M+=1)F[M]=qi(Ui(e,Q,M));return{c(){t=E("div"),r=E("select");for(let M=0;M<Y.length;M+=1)Y[M].c();n=z(),i=E("div"),s=E("button"),a=E("img"),l=K(e[34]),u=E("img"),h=z(),c=E("div"),S=E("ul");for(let M=0;M<F.length;M+=1)F[M].c();m(r,"class","Item ItemLanguage"),m(r,"part","Item ItemLanguage"),e[30]===void 0&&sr(()=>e[55].call(r)),m(a,"class","languageFlag"),Ie(a.src,o=e[35])||m(a,"src",o),m(u,"class","downwardChevron"),Ie(u.src,f="https://upload.wikimedia.org/wikipedia/commons/2/24/White_arrow_down.svg")||m(u,"src",f),m(s,"class","drawerButton"),s.value=e[30],m(S,"id","languageList"),m(c,"class","languageDrawer hidden"),m(i,"class","languageSelectorOverlay"),m(t,"class","languageSelectorContainer")},m(M,j){A(M,t,j),v(t,r);for(let x=0;x<Y.length;x+=1)Y[x]&&Y[x].m(r,null);hi(r,e[30],!0),v(t,n),v(t,i),v(i,s),v(s,a),v(s,l),v(s,u),v(i,h),v(i,c),v(c,S);for(let x=0;x<F.length;x+=1)F[x]&&F[x].m(S,null);e[57](c),w||(_=[wt(r,"change",e[55]),wt(r,"change",e[56]),wt(s,"click",e[41])],w=!0)},p(M,j){if(j[1]&2){k=vt(M[32]);let x;for(x=0;x<k.length;x+=1){const he=Wi(M,k,x);Y[x]?Y[x].p(he,j):(Y[x]=Xi(he),Y[x].c(),Y[x].m(r,null))}for(;x<Y.length;x+=1)Y[x].d(1);Y.length=k.length}if(j[0]&1073741824|j[1]&2&&hi(r,M[30]),j[1]&16&&!Ie(a.src,o=M[35])&&m(a,"src",o),j[1]&8&&ie(l,M[34]),j[0]&1073741824|j[1]&2&&(s.value=M[30]),j[0]&512|j[1]&2048){Q=vt(M[9]);let x;for(x=0;x<Q.length;x+=1){const he=Ui(M,Q,x);F[x]?F[x].p(he,j):(F[x]=qi(he),F[x].c(),F[x].m(S,null))}for(;x<F.length;x+=1)F[x].d(1);F.length=Q.length}},d(M){M&&H(t),en(Y,M),en(F,M),e[57](null),w=!1,Ve(_)}}}function Xi(e){let t,r=e[77]+"",n,i;return{c(){t=E("option"),n=K(r),t.__value=i=e[77],fi(t,t.__value),t.selected=!0},m(s,a){A(s,t,a),v(t,n)},p(s,a){a[1]&2&&r!==(r=s[77]+"")&&ie(n,r),a[1]&2&&i!==(i=s[77])&&(t.__value=i,fi(t,t.__value))},d(s){s&&H(t)}}}function qi(e){let t,r,n,i,s,a=e[74].name+"",o,l,u,f;return{c(){t=E("li"),r=E("img"),i=E("a"),s=E("span"),o=K(a),m(r,"class","languageFlag"),Ie(r.src,n=e[74].flag_icon_editable)||m(r,"src",n),m(i,"href","javascript:void(0)"),m(t,"class","overlayLanguageOption"),m(t,"data-lang",l=e[74].code)},m(h,c){A(h,t,c),v(t,r),v(t,i),v(i,s),v(s,o),u||(f=wt(t,"click",e[42]),u=!0)},p(h,c){c[0]&512&&!Ie(r.src,n=h[74].flag_icon_editable)&&m(r,"src",n),c[0]&512&&a!==(a=h[74].name+"")&&ie(o,a),c[0]&512&&l!==(l=h[74].code)&&m(t,"data-lang",l)},d(h){h&&H(t),u=!1,f()}}}function Ji(e){let t,r,n,i=e[38]("sessionTimer")+"",s,a,o;return{c(){t=E("div"),r=E("div"),n=E("span"),s=K(i),a=z(),o=K(e[37]),m(n,"class","SessionText"),m(r,"class","sessionTimerContainer"),m(t,"class","GridRow ProvisionalRow"),m(t,"part","GridRow")},m(l,u){A(l,t,u),v(t,r),v(r,n),v(n,s),v(n,a),v(n,o)},p(l,u){u[1]&128&&i!==(i=l[38]("sessionTimer")+"")&&ie(s,i),u[1]&64&&ie(o,l[37])},d(l){l&&H(t)}}}function Qi(e){let t,r=e[16]&&Ki(e);return{c(){t=E("div"),r&&r.c(),m(t,"class","GridRow"),m(t,"part","GridRow")},m(n,i){A(n,t,i),r&&r.m(t,null)},p(n,i){n[16]?r?r.p(n,i):(r=Ki(n),r.c(),r.m(t,null)):r&&(r.d(1),r=null)},d(n){n&&H(t),r&&r.d()}}}function Ki(e){let t,r,n,i=e[15]&&es(e);return{c(){t=E("div"),i&&i.c(),r=z(),n=E("casino-footer-section"),g(n,"class","FooterSection"),g(n,"part","FooterSection"),g(n,"sponsorflag","1"),g(n,"clientstyling",e[0]),g(n,"baseurl",e[8]),g(n,"lang",e[1]),g(n,"footertype","footerprimary"),m(t,"class","GridCol"),m(t,"part","GridCol")},m(s,a){A(s,t,a),i&&i.m(t,null),v(t,r),v(t,n)},p(s,a){s[15]?i?i.p(s,a):(i=es(s),i.c(),i.m(t,r)):i&&(i.d(1),i=null),a[0]&1&&g(n,"clientstyling",s[0]),a[0]&256&&g(n,"baseurl",s[8]),a[0]&2&&g(n,"lang",s[1])},d(s){s&&H(t),i&&i.d()}}}function es(e){let t,r;return{c(){t=E("p"),r=K(e[15]),m(t,"class","FooterTitle"),m(t,"part","FooterTitle")},m(n,i){A(n,t,i),v(t,r)},p(n,i){i[0]&32768&&ie(r,n[15])},d(n){n&&H(t)}}}function ts(e){let t,r,n,i,s=e[14]&&rs(e),a=e[12]&&is(e);return{c(){t=E("div"),s&&s.c(),r=z(),a&&a.c(),m(t,"class",n="GridRow "+(e[14]&&e[12]?"SplitRow":"")),m(t,"part",i="GridRow "+(e[14]&&e[12]?"SplitRow":""))},m(o,l){A(o,t,l),s&&s.m(t,null),v(t,r),a&&a.m(t,null)},p(o,l){o[14]?s?s.p(o,l):(s=rs(o),s.c(),s.m(t,r)):s&&(s.d(1),s=null),o[12]?a?a.p(o,l):(a=is(o),a.c(),a.m(t,null)):a&&(a.d(1),a=null),l[0]&20480&&n!==(n="GridRow "+(o[14]&&o[12]?"SplitRow":""))&&m(t,"class",n),l[0]&20480&&i!==(i="GridRow "+(o[14]&&o[12]?"SplitRow":""))&&m(t,"part",i)},d(o){o&&H(t),s&&s.d(),a&&a.d()}}}function rs(e){let t,r,n,i=e[13]&&ns(e);return{c(){t=E("div"),i&&i.c(),r=z(),n=E("casino-footer-section"),g(n,"class","FooterSection"),g(n,"part","FooterSection"),g(n,"paymentflag","1"),g(n,"clientstyling",e[0]),g(n,"clientstylingurl",e[2]),g(n,"baseurl",e[8]),g(n,"lang",e[1]),g(n,"footertype","footerprimary"),m(t,"class","GridCol"),m(t,"part","GridCol")},m(s,a){A(s,t,a),i&&i.m(t,null),v(t,r),v(t,n)},p(s,a){s[13]?i?i.p(s,a):(i=ns(s),i.c(),i.m(t,r)):i&&(i.d(1),i=null),a[0]&1&&g(n,"clientstyling",s[0]),a[0]&4&&g(n,"clientstylingurl",s[2]),a[0]&256&&g(n,"baseurl",s[8]),a[0]&2&&g(n,"lang",s[1])},d(s){s&&H(t),i&&i.d()}}}function ns(e){let t,r;return{c(){t=E("p"),r=K(e[13]),m(t,"class","FooterTitle"),m(t,"part","FooterTitle")},m(n,i){A(n,t,i),v(t,r)},p(n,i){i[0]&8192&&ie(r,n[13])},d(n){n&&H(t)}}}function is(e){let t,r,n,i=e[11]&&ss(e);return{c(){t=E("div"),i&&i.c(),r=z(),n=E("casino-footer-section"),g(n,"class","FooterSection"),g(n,"part","FooterSection"),g(n,"vendorflag","1"),g(n,"clientstyling",e[0]),g(n,"clientstylingurl",e[2]),g(n,"baseurl",e[8]),g(n,"lang",e[1]),g(n,"footertype","footerprimary"),m(t,"class","GridCol"),m(t,"part","GridCol")},m(s,a){A(s,t,a),i&&i.m(t,null),v(t,r),v(t,n)},p(s,a){s[11]?i?i.p(s,a):(i=ss(s),i.c(),i.m(t,r)):i&&(i.d(1),i=null),a[0]&1&&g(n,"clientstyling",s[0]),a[0]&4&&g(n,"clientstylingurl",s[2]),a[0]&256&&g(n,"baseurl",s[8]),a[0]&2&&g(n,"lang",s[1])},d(s){s&&H(t),i&&i.d()}}}function ss(e){let t,r;return{c(){t=E("p"),r=K(e[11]),m(t,"class","FooterTitle"),m(t,"part","FooterTitle")},m(n,i){A(n,t,i),v(t,r)},p(n,i){i[0]&2048&&ie(r,n[11])},d(n){n&&H(t)}}}function as(e){let t,r,n,i,s=e[18]&&os(e),a=e[20]&&us(e);return{c(){t=E("div"),s&&s.c(),r=z(),a&&a.c(),m(t,"class",n="GridRow "+(e[18]&&e[20]?"SplitRow":"")),m(t,"part",i="GridRow "+(e[18]&&e[20]?"SplitRow":""))},m(o,l){A(o,t,l),s&&s.m(t,null),v(t,r),a&&a.m(t,null)},p(o,l){o[18]?s?s.p(o,l):(s=os(o),s.c(),s.m(t,r)):s&&(s.d(1),s=null),o[20]?a?a.p(o,l):(a=us(o),a.c(),a.m(t,null)):a&&(a.d(1),a=null),l[0]&1310720&&n!==(n="GridRow "+(o[18]&&o[20]?"SplitRow":""))&&m(t,"class",n),l[0]&1310720&&i!==(i="GridRow "+(o[18]&&o[20]?"SplitRow":""))&&m(t,"part",i)},d(o){o&&H(t),s&&s.d(),a&&a.d()}}}function os(e){let t,r,n,i=e[17]&&ls(e);return{c(){t=E("div"),i&&i.c(),r=z(),n=E("casino-footer-section"),g(n,"class","FooterSection"),g(n,"part","FooterSection"),g(n,"helperflag","1"),g(n,"clientstyling",e[0]),g(n,"clientstylingurl",e[2]),g(n,"baseurl",e[8]),g(n,"lang",e[1]),g(n,"footertype","footerprimary"),m(t,"class","GridCol"),m(t,"part","GridCol")},m(s,a){A(s,t,a),i&&i.m(t,null),v(t,r),v(t,n)},p(s,a){s[17]?i?i.p(s,a):(i=ls(s),i.c(),i.m(t,r)):i&&(i.d(1),i=null),a[0]&1&&g(n,"clientstyling",s[0]),a[0]&4&&g(n,"clientstylingurl",s[2]),a[0]&256&&g(n,"baseurl",s[8]),a[0]&2&&g(n,"lang",s[1])},d(s){s&&H(t),i&&i.d()}}}function ls(e){let t,r;return{c(){t=E("p"),r=K(e[17]),m(t,"class","FooterTitle"),m(t,"part","FooterTitle")},m(n,i){A(n,t,i),v(t,r)},p(n,i){i[0]&131072&&ie(r,n[17])},d(n){n&&H(t)}}}function us(e){let t,r,n,i=e[19]&&fs(e);return{c(){t=E("div"),i&&i.c(),r=z(),n=E("casino-footer-section"),g(n,"class","FooterSection"),g(n,"part","FooterSection"),g(n,"licenseFlag","1"),g(n,"clientstyling",e[0]),g(n,"clientstylingurl",e[2]),g(n,"baseurl",e[8]),g(n,"lang",e[1]),g(n,"footertype","footerprimary"),m(t,"class","GridCol"),m(t,"part","GridCol")},m(s,a){A(s,t,a),i&&i.m(t,null),v(t,r),v(t,n)},p(s,a){s[19]?i?i.p(s,a):(i=fs(s),i.c(),i.m(t,r)):i&&(i.d(1),i=null),a[0]&1&&g(n,"clientstyling",s[0]),a[0]&4&&g(n,"clientstylingurl",s[2]),a[0]&256&&g(n,"baseurl",s[8]),a[0]&2&&g(n,"lang",s[1])},d(s){s&&H(t),i&&i.d()}}}function fs(e){let t,r;return{c(){t=E("p"),r=K(e[19]),m(t,"class","FooterTitle"),m(t,"part","FooterTitle")},m(n,i){A(n,t,i),v(t,r)},p(n,i){i[0]&524288&&ie(r,n[19])},d(n){n&&H(t)}}}function hs(e){let t,r,n,i,s,a,o,l,u,f,h,c,S,w=e[22]&&cs(e);return{c(){t=E("div"),r=E("div"),n=E("div"),s=z(),a=E("div"),l=z(),w&&w.c(),u=z(),f=E("div"),m(n,"class","DetailedLicenses"),m(n,"part","DetailedLicenses"),m(a,"class","DetailedCustomLicenses"),m(a,"part","DetailedCustomLicenses"),m(f,"class","CopyrightAreaRights CopyrightArea"),m(f,"part","CopyrightAreaRights CopyrightArea"),m(r,"class","GridCol"),m(r,"part","GridCol"),m(t,"class","GridRow LicenseRow"),m(t,"part","GridRow LicenseRow")},m(_,k){A(_,t,k),v(t,r),v(r,n),v(r,s),v(r,a),v(r,l),w&&w.m(r,null),v(r,u),v(r,f),c||(S=[Ur(i=e[39].call(null,n,e[24])),Ur(o=e[39].call(null,a,e[29])),Ur(h=e[39].call(null,f,e[23]))],c=!0)},p(_,k){i&&We(i.update)&&k[0]&16777216&&i.update.call(null,_[24]),o&&We(o.update)&&k[0]&536870912&&o.update.call(null,_[29]),_[22]?w?w.p(_,k):(w=cs(_),w.c(),w.m(r,u)):w&&(w.d(1),w=null),h&&We(h.update)&&k[0]&8388608&&h.update.call(null,_[23])},d(_){_&&H(t),w&&w.d(),c=!1,Ve(S)}}}function cs(e){let t,r,n=e[21]&&ds(e);return{c(){n&&n.c(),t=z(),r=E("casino-footer-section"),g(r,"class","FooterSection SocialSection"),g(r,"part","FooterSection SocialSection"),g(r,"socialflag","1"),g(r,"clientstyling",e[0]),g(r,"clientstylingurl",e[2]),g(r,"baseurl",e[8]),g(r,"lang",e[1]),g(r,"footertype","footerprimary")},m(i,s){n&&n.m(i,s),A(i,t,s),A(i,r,s)},p(i,s){i[21]?n?n.p(i,s):(n=ds(i),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null),s[0]&1&&g(r,"clientstyling",i[0]),s[0]&4&&g(r,"clientstylingurl",i[2]),s[0]&256&&g(r,"baseurl",i[8]),s[0]&2&&g(r,"lang",i[1])},d(i){i&&(H(t),H(r)),n&&n.d(i)}}}function ds(e){let t,r;return{c(){t=E("p"),r=K(e[21]),m(t,"class","FooterTitle"),m(t,"part","FooterTitle")},m(n,i){A(n,t,i),v(t,r)},p(n,i){i[0]&2097152&&ie(r,n[21])},d(n){n&&H(t)}}}function Ud(e){let t,r,n,i=e[27]&&ji(e);function s(l,u){return l[25]?Bd:l[26]?Yd:Gd}let a=s(e),o=a(e);return{c(){i&&i.c(),t=ys(),r=z(),n=E("div"),o.c()},m(l,u){i&&i.m(Bi.head,null),v(Bi.head,t),A(l,r,u),A(l,n,u),o.m(n,null),e[58](n)},p(l,u){l[27]?i?i.p(l,u):(i=ji(l),i.c(),i.m(t.parentNode,t)):i&&(i.d(1),i=null),a===(a=s(l))&&o?o.p(l,u):(o.d(1),o=a(l),o&&(o.c(),o.m(n,null)))},i:re,o:re,d(l){l&&(H(r),H(n)),i&&i.d(l),H(t),o.d(),e[58](null)}}}function Wd(e,t,r){let n;_s(e,ja,p=>r(38,n=p));let{endpoint:i=""}=t,{lang:s="en"}=t,{env:a=""}=t,{clientstyling:o=""}=t,{clientstylingurl:l=""}=t,{translationurl:u=""}=t,{clockenabled:f=""}=t,{clocksecondsenabled:h=""}=t,{clockcustomformat:c=""}=t,{clocktext:S="Time"}=t,{languageselectorenabled:w="true"}=t,{languageslist:_="en, ro"}=t,{languagedisplaytype:k="name"}=t,{session:Y=""}=t,{userid:Q=""}=t,{userendpoint:F=""}=t,{userroles:M=""}=t,{panicbuttonenabled:j="true"}=t,{sessiontimerenabled:x="true"}=t,{baseurl:he=""}=t,Dr="",It=[],Pr="",Ft=[],Rr="",Gt=[],Hr="",Yt=[],Nr="",Bt=[],Cr="",Ut=[],Lr="",Ar="",Ir=!1,Wt=!1,Xn,qn=!1,Jn="",Qn="",jt=!1,He="hr",Ne=[],za=window.navigator.userAgent,Kn,ei,pt=[],_t,Fr="",ti="",ri=!1,ni="";const Za=()=>{fetch(u).then(B=>B.json()).then(B=>{Object.keys(B).forEach(X=>{Gi(X,B[X])})}).catch(B=>{console.log(B)})};let Ge;Object.keys(Yi).forEach(p=>{Gi(p,Yi[p])});const Xa=()=>{Ad(F,Y).then(p=>{p.Guid,p.UserID,r(54,jt=!0)},p=>{r(54,jt=!1),console.error("Error while checking the session - ",p)})},qa=()=>{const p=JSON.parse(localStorage.session),B=new Date(p.Login),X=new Date().getTimezoneOffset()/60;let se=new Date().getTime()-B.getTime(),Ye=Math.floor(se/36e5)+X,Vt=Math.floor(se%36e5/6e4),$t=Math.floor(se%6e4/1e3);setInterval(()=>{Ye=Math.floor(se/36e5)+X,Vt=Math.floor(se%36e5/6e4),$t=Math.floor(se%6e4/1e3),r(37,ni=`${Ye>9?Ye:"0"+Ye}:${Vt>9?Vt:"0"+Vt}:${$t>9?$t:"0"+$t}`),se+=1e3},1e3)},Ja=()=>{setInterval(()=>{ii()},ei)},ii=()=>{const p=c!="false"?c:`hh:mm${h==="true"?":ss":""} (UTC Z)`;r(31,Kn=y().format(p))},Qa=()=>{let p=new URL(`${i}/${s}/footer-raw-data?env=${a}`),B=Va(za);p.searchParams.append("userRoles",M),B&&(B==="PC"?p.searchParams.append("device","dk"):p.searchParams.append("device","mtWeb")),r(25,Ir=!1),r(26,Wt=!0),fetch(p).then(X=>X.json()).then(X=>{r(26,Wt=!1),Xn=X;let ce,se,Ye;r(11,{gameVendorsLinksTitle:Dr,gameVendorsRepeater:It,paymentLinksTitle:Pr,paymentMethodsRepeater:Ft,sponsorsLinksTitle:Rr,sponsorsRepeater:Gt,helpLinksTitle:Hr,helpLinksRepeater:Yt,licensesLinksTitle:Nr,licensesRepeater:Bt,socialLinksTitle:Cr,socialLinksRepeater:Ut,copyright:Lr,licenseDesc:Ar,licenseHeadScriptSrc:ce,licenseScriptBody:se,licenseEvent:Ye,language:Ne}=Xn,Dr,r(12,It),r(13,Pr),r(14,Ft),r(15,Rr),r(16,Gt),r(17,Hr),r(18,Yt),r(19,Nr),r(20,Bt),r(21,Cr),r(22,Ut),r(23,Lr),r(24,Ar),r(9,Ne)),Ne&&(r(36,ri=!0),Yr()),(ce==null?void 0:ce.length)>0&&(r(27,qn=!0),r(28,Jn=ce)),(se==null?void 0:se.length)>0&&r(29,Qn=se),window.postMessage({type:Ye},window.location.href),window.postMessage({type:"FooterData",gameVendorsRepeater:It,paymentMethodsRepeater:Ft,sponsorsRepeater:Gt,helpLinksRepeater:Yt,licensesRepeater:Bt,socialLinksRepeater:Ut},window.location.href)}).catch(X=>{r(25,Ir=!0),r(26,Wt=!1),console.error(X)})},Ka=(p,B)=>{let X=document.createElement("div");X.innerHTML=B,p.append(X)},Gr=()=>{window.postMessage({type:"LanguageChanged",selectedLanguage:He},window.location.href)},eo=()=>{_t.classList.toggle("hidden")},to=p=>{let B=p.target.closest(".overlayLanguageOption");r(30,He=B.getAttribute("data-lang")),Gr(),Yr(),_t.classList.toggle("hidden")},Yr=()=>{let p=!1;Ne.forEach((B,X)=>{if(B.code==He.toLowerCase()){p=!0;let ce="";switch(r(35,ti=B.flag_icon_editable),k){case"name":ce=B.name;break;case"translatedName":ce=B.translated_name;break;default:ce=B.code;break}r(34,Fr=ce)}}),p||r(34,Fr=He)},ro=()=>{let p=document.createElement("style");p.innerHTML=o,Ge.appendChild(p)},no=()=>{let p=new URL(l),B=document.createElement("style");fetch(p.href).then(X=>X.text()).then(X=>{B.innerHTML=X,r(0,o=o?o+X:X),setTimeout(()=>{Ge.appendChild(B)},1),setTimeout(()=>{},500)})};bs(()=>{r(32,pt=_.replace(/ /g,"").split(",")),r(32,pt=pt.map(p=>p.toUpperCase()))});function io(){He=bo(this),r(30,He),r(1,s),r(9,Ne),r(32,pt)}const so=()=>Gr();function ao(p){Mt[p?"unshift":"push"](()=>{_t=p,r(33,_t)})}function oo(p){Mt[p?"unshift":"push"](()=>{Ge=p,r(10,Ge)})}return e.$$set=p=>{"endpoint"in p&&r(43,i=p.endpoint),"lang"in p&&r(1,s=p.lang),"env"in p&&r(44,a=p.env),"clientstyling"in p&&r(0,o=p.clientstyling),"clientstylingurl"in p&&r(2,l=p.clientstylingurl),"translationurl"in p&&r(45,u=p.translationurl),"clockenabled"in p&&r(3,f=p.clockenabled),"clocksecondsenabled"in p&&r(46,h=p.clocksecondsenabled),"clockcustomformat"in p&&r(47,c=p.clockcustomformat),"clocktext"in p&&r(4,S=p.clocktext),"languageselectorenabled"in p&&r(5,w=p.languageselectorenabled),"languageslist"in p&&r(48,_=p.languageslist),"languagedisplaytype"in p&&r(49,k=p.languagedisplaytype),"session"in p&&r(50,Y=p.session),"userid"in p&&r(51,Q=p.userid),"userendpoint"in p&&r(52,F=p.userendpoint),"userroles"in p&&r(53,M=p.userroles),"panicbuttonenabled"in p&&r(6,j=p.panicbuttonenabled),"sessiontimerenabled"in p&&r(7,x=p.sessiontimerenabled),"baseurl"in p&&r(8,he=p.baseurl)},e.$$.update=()=>{e.$$.dirty[0]&2&&s&&Id(s),e.$$.dirty[1]&1576960&&Y&&Q&&i&&Xa(),e.$$.dirty[0]&2|e.$$.dirty[1]&8388608&&jt&&s&&qa(),e.$$.dirty[0]&1025&&o&&Ge&&ro(),e.$$.dirty[0]&1028&&l&&Ge&&no(),e.$$.dirty[0]&2|e.$$.dirty[1]&4206592&&i&&s&&a&&M&&Qa(),e.$$.dirty[1]&16384&&u&&Za(),e.$$.dirty[0]&8|e.$$.dirty[1]&98304&&f!=="false"&&h&&c&&ii(),e.$$.dirty[0]&8|e.$$.dirty[1]&32768&&f!=="false"&&h&&(ei=h=="true"?1e3:6e4)&&Ja(),e.$$.dirty[0]&514&&s&&r(30,He=s)&&Ne&&Ne.length>0&&Yr()},[o,s,l,f,S,w,j,x,he,Ne,Ge,Dr,It,Pr,Ft,Rr,Gt,Hr,Yt,Nr,Bt,Cr,Ut,Lr,Ar,Ir,Wt,qn,Jn,Qn,He,Kn,pt,_t,Fr,ti,ri,ni,n,Ka,Gr,eo,to,i,a,u,h,c,_,k,Y,Q,F,M,jt,io,so,ao,oo]}class $a extends Ts{constructor(t){super(),vs(this,t,Wd,Ud,Tn,{endpoint:43,lang:1,env:44,clientstyling:0,clientstylingurl:2,translationurl:45,clockenabled:3,clocksecondsenabled:46,clockcustomformat:47,clocktext:4,languageselectorenabled:5,languageslist:48,languagedisplaytype:49,session:50,userid:51,userendpoint:52,userroles:53,panicbuttonenabled:6,sessiontimerenabled:7,baseurl:8},Fd,[-1,-1,-1])}get endpoint(){return this.$$.ctx[43]}set endpoint(t){this.$$set({endpoint:t}),Z()}get lang(){return this.$$.ctx[1]}set lang(t){this.$$set({lang:t}),Z()}get env(){return this.$$.ctx[44]}set env(t){this.$$set({env:t}),Z()}get clientstyling(){return this.$$.ctx[0]}set clientstyling(t){this.$$set({clientstyling:t}),Z()}get clientstylingurl(){return this.$$.ctx[2]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),Z()}get translationurl(){return this.$$.ctx[45]}set translationurl(t){this.$$set({translationurl:t}),Z()}get clockenabled(){return this.$$.ctx[3]}set clockenabled(t){this.$$set({clockenabled:t}),Z()}get clocksecondsenabled(){return this.$$.ctx[46]}set clocksecondsenabled(t){this.$$set({clocksecondsenabled:t}),Z()}get clockcustomformat(){return this.$$.ctx[47]}set clockcustomformat(t){this.$$set({clockcustomformat:t}),Z()}get clocktext(){return this.$$.ctx[4]}set clocktext(t){this.$$set({clocktext:t}),Z()}get languageselectorenabled(){return this.$$.ctx[5]}set languageselectorenabled(t){this.$$set({languageselectorenabled:t}),Z()}get languageslist(){return this.$$.ctx[48]}set languageslist(t){this.$$set({languageslist:t}),Z()}get languagedisplaytype(){return this.$$.ctx[49]}set languagedisplaytype(t){this.$$set({languagedisplaytype:t}),Z()}get session(){return this.$$.ctx[50]}set session(t){this.$$set({session:t}),Z()}get userid(){return this.$$.ctx[51]}set userid(t){this.$$set({userid:t}),Z()}get userendpoint(){return this.$$.ctx[52]}set userendpoint(t){this.$$set({userendpoint:t}),Z()}get userroles(){return this.$$.ctx[53]}set userroles(t){this.$$set({userroles:t}),Z()}get panicbuttonenabled(){return this.$$.ctx[6]}set panicbuttonenabled(t){this.$$set({panicbuttonenabled:t}),Z()}get sessiontimerenabled(){return this.$$.ctx[7]}set sessiontimerenabled(t){this.$$set({sessiontimerenabled:t}),Z()}get baseurl(){return this.$$.ctx[8]}set baseurl(t){this.$$set({baseurl:t}),Z()}}Ss($a,{endpoint:{},lang:{},env:{},clientstyling:{},clientstylingurl:{},translationurl:{},clockenabled:{},clocksecondsenabled:{},clockcustomformat:{},clocktext:{},languageselectorenabled:{},languageslist:{},languagedisplaytype:{},session:{},userid:{},userendpoint:{},userroles:{},panicbuttonenabled:{},sessiontimerenabled:{},baseurl:{}},[],[],!0);const jd=Object.freeze(Object.defineProperty({__proto__:null,default:$a},Symbol.toStringTag,{value:"Module"}));exports.$format=ja;exports.$locale=Ze;exports.CasinoFooter_ce=jd;exports.SvelteComponent=Ts;exports.addMessages=zn;exports.append=v;exports.append_styles=gs;exports.attr=m;exports.binding_callbacks=Mt;exports.component_subscribe=_s;exports.create_custom_element=Ss;exports.destroy_each=en;exports.detach=H;exports.element=E;exports.empty=ys;exports.ensure_array_like=vt;exports.flush=Z;exports.getDevice=Va;exports.init=vs;exports.insert=A;exports.listen=wt;exports.noop=re;exports.onMount=bs;exports.safe_not_equal=Tn;exports.set_custom_element_data=g;exports.set_data=ie;exports.space=z;exports.src_url_equal=Ie;exports.text=K;exports.toggle_class=vo;
14
+ `,lt.MISSING_INTL_API,a);var M=r.getPluralRules(t,{type:h.pluralType}).select(c-(h.offset||0));F=h.options[M]||h.options.other}if(!F)throw new Ci(h.value,c,Object.keys(h.options),a);o.push.apply(o,nr(F.value,t,r,n,i,c-(h.offset||0)));continue}}return Qc(o)}function ed(e,t){return t?C(C(C({},e||{}),t||{}),Object.keys(e).reduce(function(r,n){return r[n]=C(C({},e[n]),t[n]||{}),r},{})):e}function td(e,t){return t?Object.keys(e).reduce(function(r,n){return r[n]=ed(e[n],t[n]),r},C({},e)):e}function Qr(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,r){e[t]=r}}}}}function rd(e){return e===void 0&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:Xr(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.NumberFormat).bind.apply(t,st([void 0],r,!1)))},{cache:Qr(e.number),strategy:qr.variadic}),getDateTimeFormat:Xr(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.DateTimeFormat).bind.apply(t,st([void 0],r,!1)))},{cache:Qr(e.dateTime),strategy:qr.variadic}),getPluralRules:Xr(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.PluralRules).bind.apply(t,st([void 0],r,!1)))},{cache:Qr(e.pluralRules),strategy:qr.variadic})}}var nd=function(){function e(t,r,n,i){r===void 0&&(r=e.defaultLocale);var s=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(l){var u=s.formatToParts(l);if(u.length===1)return u[0].value;var h=u.reduce(function(f,c){return!f.length||c.type!==te.literal||typeof f[f.length-1]!="string"?f.push(c.value):f[f.length-1]+=c.value,f},[]);return h.length<=1?h[0]||"":h},this.formatToParts=function(l){return nr(s.ast,s.locales,s.formatters,s.formats,l,void 0,s.message)},this.resolvedOptions=function(){var l;return{locale:((l=s.resolvedLocale)===null||l===void 0?void 0:l.toString())||Intl.NumberFormat.supportedLocalesOf(s.locales)[0]}},this.getAst=function(){return s.ast},this.locales=r,this.resolvedLocale=e.resolveLocale(r),typeof t=="string"){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var a=i||{};a.formatters;var o=Af(a,["formatters"]);this.ast=e.__parse(t,C(C({},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=td(e.formats,n),this.formatters=i&&i.formatters||rd(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=Xc,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 id(e,t){if(t==null)return;if(t in e)return e[t];const r=t.split(".");let n=e;for(let i=0;i<r.length;i++)if(typeof n=="object"){if(i>0){const s=r.slice(i,r.length).join(".");if(s in n){n=n[s];break}}n=n[r[i]]}else n=void 0;return n}const Ae={},sd=(e,t,r)=>r&&(t in Ae||(Ae[t]={}),e in Ae[t]||(Ae[t][e]=r),r),Fa=(e,t)=>{if(t==null)return;if(t in Ae&&e in Ae[t])return Ae[t][e];const r=Or(t);for(let n=0;n<r.length;n++){const i=r[n],s=od(i,e);if(s)return sd(e,t,s)}};let $n;const At=Mr({});function ad(e){return $n[e]||null}function Ga(e){return e in $n}function od(e,t){if(!Ga(e))return null;const r=ad(e);return id(r,t)}function ld(e){if(e==null)return;const t=Or(e);for(let r=0;r<t.length;r++){const n=t[r];if(Ga(n))return n}}function zn(e,...t){delete Ae[e],At.update(r=>(r[e]=cc.all([r[e]||{},...t]),r))}dt([At],([e])=>Object.keys(e));At.subscribe(e=>$n=e);const ir={};function ud(e,t){ir[e].delete(t),ir[e].size===0&&delete ir[e]}function Ya(e){return ir[e]}function hd(e){return Or(e).map(t=>{const r=Ya(t);return[t,r?[...r]:[]]}).filter(([,t])=>t.length>0)}function wn(e){return e==null?!1:Or(e).some(t=>{var r;return(r=Ya(t))==null?void 0:r.size})}function fd(e,t){return Promise.all(t.map(n=>(ud(e,n),n().then(i=>i.default||i)))).then(n=>zn(e,...n))}const bt={};function Ba(e){if(!wn(e))return e in bt?bt[e]:Promise.resolve();const t=hd(e);return bt[e]=Promise.all(t.map(([r,n])=>fd(r,n))).then(()=>{if(wn(e))return Ba(e);delete bt[e]}),bt[e]}const cd={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"}}},dd={fallbackLocale:null,loadingDelay:200,formats:cd,warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0},md=dd;function ut(){return md}const Kr=Mr(!1);var pd=Object.defineProperty,_d=Object.defineProperties,gd=Object.getOwnPropertyDescriptors,Li=Object.getOwnPropertySymbols,yd=Object.prototype.hasOwnProperty,bd=Object.prototype.propertyIsEnumerable,Ai=(e,t,r)=>t in e?pd(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,vd=(e,t)=>{for(var r in t||(t={}))yd.call(t,r)&&Ai(e,r,t[r]);if(Li)for(var r of Li(t))bd.call(t,r)&&Ai(e,r,t[r]);return e},wd=(e,t)=>_d(e,gd(t));let Sn;const fr=Mr(null);function Ii(e){return e.split("-").map((t,r,n)=>n.slice(0,r+1).join("-")).reverse()}function Or(e,t=ut().fallbackLocale){const r=Ii(e);return t?[...new Set([...r,...Ii(t)])]:r}function ze(){return Sn!=null?Sn:void 0}fr.subscribe(e=>{Sn=e!=null?e:void 0,typeof window!="undefined"&&e!=null&&document.documentElement.setAttribute("lang",e)});const Sd=e=>{if(e&&ld(e)&&wn(e)){const{loadingDelay:t}=ut();let r;return typeof window!="undefined"&&ze()!=null&&t?r=window.setTimeout(()=>Kr.set(!0),t):Kr.set(!0),Ba(e).then(()=>{fr.set(e)}).finally(()=>{clearTimeout(r),Kr.set(!1)})}return fr.set(e)},Ze=wd(vd({},fr),{set:Sd}),kr=e=>{const t=Object.create(null);return n=>{const i=JSON.stringify(n);return i in t?t[i]:t[i]=e(n)}};var Td=Object.defineProperty,cr=Object.getOwnPropertySymbols,Ua=Object.prototype.hasOwnProperty,Wa=Object.prototype.propertyIsEnumerable,Fi=(e,t,r)=>t in e?Td(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Zn=(e,t)=>{for(var r in t||(t={}))Ua.call(t,r)&&Fi(e,r,t[r]);if(cr)for(var r of cr(t))Wa.call(t,r)&&Fi(e,r,t[r]);return e},mt=(e,t)=>{var r={};for(var n in e)Ua.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&cr)for(var n of cr(e))t.indexOf(n)<0&&Wa.call(e,n)&&(r[n]=e[n]);return r};const Rt=(e,t)=>{const{formats:r}=ut();if(e in r&&t in r[e])return r[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},Ed=kr(e=>{var t=e,{locale:r,format:n}=t,i=mt(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(i=Rt("number",n)),new Intl.NumberFormat(r,i)}),Md=kr(e=>{var t=e,{locale:r,format:n}=t,i=mt(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?i=Rt("date",n):Object.keys(i).length===0&&(i=Rt("date","short")),new Intl.DateTimeFormat(r,i)}),xd=kr(e=>{var t=e,{locale:r,format:n}=t,i=mt(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?i=Rt("time",n):Object.keys(i).length===0&&(i=Rt("time","short")),new Intl.DateTimeFormat(r,i)}),Od=(e={})=>{var t=e,{locale:r=ze()}=t,n=mt(t,["locale"]);return Ed(Zn({locale:r},n))},kd=(e={})=>{var t=e,{locale:r=ze()}=t,n=mt(t,["locale"]);return Md(Zn({locale:r},n))},Dd=(e={})=>{var t=e,{locale:r=ze()}=t,n=mt(t,["locale"]);return xd(Zn({locale:r},n))},Pd=kr((e,t=ze())=>new nd(e,t,ut().formats,{ignoreTag:ut().ignoreTag})),Rd=(e,t={})=>{var r,n,i,s;let a=t;typeof e=="object"&&(a=e,e=a.id);const{values:o,locale:l=ze(),default:u}=a;if(l==null)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let h=Fa(e,l);if(!h)h=(s=(i=(n=(r=ut()).handleMissingMessage)==null?void 0:n.call(r,{locale:l,id:e,defaultValue:u}))!=null?i:u)!=null?s:e;else if(typeof h!="string")return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),h;if(!o)return h;let f=h;try{f=Pd(h,l).format(o)}catch(c){c instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,c.message)}return f},Hd=(e,t)=>Dd(t).format(e),Nd=(e,t)=>kd(t).format(e),Cd=(e,t)=>Od(t).format(e),Ld=(e,t=ze())=>Fa(e,t),ja=dt([Ze,At],()=>Rd);dt([Ze],()=>Hd);dt([Ze],()=>Nd);dt([Ze],()=>Cd);dt([Ze,At],()=>Ld);window.emWidgets={topic:qf};const Va=e=>e.toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC";function Ad(e,t){return new Promise((r,n)=>{const i=new Headers;i.append("X-SessionID",t);const s={method:"GET",headers:i};fetch(`${e}/v1/player/session/player`,s).then(a=>a.json()).then(a=>r(a)).catch(a=>n(a))})}function Gi(e,t){zn(e,t)}function Id(e){Ze.set(e)}const Yi={en:{timeText:"Time",sessionTimer:"Logged in for"},fr:{timeText:"Temps",sessionTimer:"Connecté pour"},ro:{timeText:"Ora",sessionTimer:"Online de"},es:{timeText:"Hora",sessionTimer:"Tiempo sesión"},pt:{timeText:"Categorias",sessionTimer:"Logged in for"},hr:{timeText:"Vrijeme",sessionTimer:"Prijavljen za"},"pt-br":{timeText:"Tempo",sessionTimer:"Tempo de sessão"},"es-mx":{timeText:"Tiempo",sessionTimer:"Tiempo de sesión"},tr:{timeText:"Zaman",sessionTimer:"Giriş süresi"},"en-us":{timeText:"Time",sessionTimer:"Logged in for"}},{document:Bi}=po;function Fd(e){gs(e,"svelte-164ve8f",".SearchLoading{color:var(--emw--color-white, #FFFFFF);text-align:center}.FooterGrid{font-weight:400;display:flex;padding:10px 40px;background-color:var(--emw--color-footer-bg, var(--emw--color-background-secondary, #212529));color:var(--emw--color-white, #FFFFFF);flex-direction:column;align-items:center;justify-content:center}.FooterGrid.NoSponsorSpacing{padding-top:30px}.FooterGrid .GridRow{display:flex;flex-flow:row wrap;width:100%;padding:20px 0;align-items:flex-start;justify-content:center}.FooterGrid .GridRow:first-child{padding-top:0}.FooterGrid .GridRow:not(:last-child){border-bottom:1px solid rgba(255, 255, 255, 0.1)}.FooterGrid .GridRow.LicenseRow{border-bottom:0}.FooterGrid .GridRow.SplitRow .GridCol:first-child{flex-basis:50%}.FooterGrid .GridRow.SplitRow .GridCol:nth-child(2){flex-basis:calc(50% - 1px);border-left:1px solid rgba(255, 255, 255, 0.1)}.FooterGrid .GridRow.ProvisionalRow{padding-top:12px;justify-content:space-between;align-items:center}.FooterGrid .GridRow .GridCol{width:100%;flex:1}.FooterGrid .GridRow .GridCol p{text-align:center}.FooterGrid .GridRow .GridCol p.FooterTitle{font-size:12px;font-weight:700}.FooterGrid .GridRow .GridCol .PaymentsTitle,.FooterGrid .GridRow .GridCol .VendorsTitle{margin:0 auto 20px;font-size:10px;font-weight:700}.FooterGrid .DetailedLicenses{margin:30px 50px 20px;font-size:10px;text-align:center;color:var(--emw--color-gray-150, #828282)}.FooterGrid .CopyrightAreaRights{margin-top:10px}.FooterGrid .CopyrightTextArea p,.FooterGrid .CopyrightArea p{margin:0;color:var(--emw--color-gray-150, #828282);font-size:9px}@media only screen and (max-width: 768px){.FooterGrid{padding:5px 20px}.FooterGrid .FooterTitle{margin-top:0}.FooterGrid .GridRow{padding:0}.FooterGrid .GridRow:not(:last-child){border-bottom:0}.FooterGrid .GridRow:not(:last-child).ProvisionalRow{padding-top:12px;justify-content:space-between;flex-direction:column;align-items:center;gap:1rem}.FooterGrid .GridRow:last-child .GridCol:last-child{border-bottom:0}.FooterGrid .GridRow.SplitRow .GridCol:first-child,.FooterGrid .GridRow.SplitRow .GridCol:nth-child(2){flex-basis:unset}.FooterGrid .GridRow.SplitRow .GridCol:nth-child(2){border-left:none}.FooterGrid .GridRow .GridCol{border-bottom:1px solid rgba(255, 255, 255, 0.1);padding:15px 0}.FooterGrid .GridRow .GridCol #DetailedLicenses{margin:10px auto 25px}.FooterGrid .GridRow .GridCol .PaymentsTitle,.FooterGrid .GridRow .GridCol .VendorsTitle{margin:10px auto}}.ClockContainer{color:var(--emw--color-gray-150, #c3c3c3)}.SessionText{color:var(--emw--color-gray-150, #c3c3c3)}.ItemLanguage{display:none}#languageList{padding:0;margin:0}.languageSelectorOverlay{position:relative}.drawerButton{height:30px;width:150px;background:#212529;color:inherit;border:none;padding:0;font:inherit;cursor:pointer;outline:inherit;display:flex;justify-content:space-evenly;align-items:center;border-radius:0px;border:0}.languageDrawer{position:absolute;background:#363e46;width:150px;top:30px;padding:6px 0}.languageDrawer.hidden{display:none}.languageFlag{margin-right:8px;background:white;border-radius:50%;width:14px;height:14px}.downwardChevron{margin-left:8px;margin-top:4px;width:8px;height:auto}.overlayLanguageOption{list-style:none;width:24px;position:relative;padding:0;justify-content:center}.overlayLanguageOption img{position:absolute;z-index:0;cursor:pointer;top:6px;left:12px}.overlayLanguageOption a{text-decoration:none;color:#fff;display:inline-block;width:150px}.overlayLanguageOption a span{width:100%;display:flex;justify-content:center;margin:4px 0}")}function Ui(e,t,r){const n=e.slice();return n[74]=t[r],n}function Wi(e,t,r){const n=e.slice();return n[77]=t[r],n}function ji(e){let t,r;return{c(){t=E("script"),Ie(t.src,r=e[28])||m(t,"src",r)},m(n,i){A(n,t,i)},p(n,i){i[0]&268435456&&!Ie(t.src,r=n[28])&&m(t,"src",r)},d(n){n&&H(t)}}}function Gd(e){let t,r,n,i,s,a,o,l,u=(e[3]==="true"||e[5]==="true"||e[6]==="true")&&Vi(e),h=e[7]==="true"&&localStorage.session&&Ji(e),f=e[16]&&Qi(e),c=(e[14]||e[12])&&ts(e),S=(e[18]||e[20])&&as(e),w=(e[24]||e[23])&&fs(e);return{c(){t=E("div"),u&&u.c(),r=z(),h&&h.c(),n=z(),f&&f.c(),i=z(),c&&c.c(),s=z(),S&&S.c(),a=z(),w&&w.c(),m(t,"class",o="FooterGrid "+(e[16]?"":"NoSponsorSpacing")),m(t,"part",l="FooterGrid "+(e[16]?"":"NoSponsorSpacing"))},m(_,k){A(_,t,k),u&&u.m(t,null),v(t,r),h&&h.m(t,null),v(t,n),f&&f.m(t,null),v(t,i),c&&c.m(t,null),v(t,s),S&&S.m(t,null),v(t,a),w&&w.m(t,null)},p(_,k){_[3]==="true"||_[5]==="true"||_[6]==="true"?u?u.p(_,k):(u=Vi(_),u.c(),u.m(t,r)):u&&(u.d(1),u=null),_[7]==="true"&&localStorage.session?h?h.p(_,k):(h=Ji(_),h.c(),h.m(t,n)):h&&(h.d(1),h=null),_[16]?f?f.p(_,k):(f=Qi(_),f.c(),f.m(t,i)):f&&(f.d(1),f=null),_[14]||_[12]?c?c.p(_,k):(c=ts(_),c.c(),c.m(t,s)):c&&(c.d(1),c=null),_[18]||_[20]?S?S.p(_,k):(S=as(_),S.c(),S.m(t,a)):S&&(S.d(1),S=null),_[24]||_[23]?w?w.p(_,k):(w=fs(_),w.c(),w.m(t,null)):w&&(w.d(1),w=null),k[0]&65536&&o!==(o="FooterGrid "+(_[16]?"":"NoSponsorSpacing"))&&m(t,"class",o),k[0]&65536&&l!==(l="FooterGrid "+(_[16]?"":"NoSponsorSpacing"))&&m(t,"part",l)},d(_){_&&H(t),u&&u.d(),h&&h.d(),f&&f.d(),c&&c.d(),S&&S.d(),w&&w.d()}}}function Yd(e){let t;return{c(){t=E("p"),t.textContent="Loading ...",m(t,"class","SearchLoading"),m(t,"part","SearchLoading")},m(r,n){A(r,t,n)},p:re,d(r){r&&H(t)}}}function Bd(e){let t;return{c(){t=E("p"),t.textContent="500 Error - Internal Server Error",m(t,"class","SearchLoading"),m(t,"part","SearchLoading")},m(r,n){A(r,t,n)},p:re,d(r){r&&H(t)}}}function Vi(e){let t,r,n,i=e[3]==="true"&&$i(e),s=e[6]==="true"&&zi(e),a=e[5]==="true"&&e[36]&&e[30]&&Zi(e);return{c(){t=E("div"),i&&i.c(),r=z(),s&&s.c(),n=z(),a&&a.c(),m(t,"class","GridRow ProvisionalRow"),m(t,"part","GridRow")},m(o,l){A(o,t,l),i&&i.m(t,null),v(t,r),s&&s.m(t,null),v(t,n),a&&a.m(t,null)},p(o,l){o[3]==="true"?i?i.p(o,l):(i=$i(o),i.c(),i.m(t,r)):i&&(i.d(1),i=null),o[6]==="true"?s?s.p(o,l):(s=zi(o),s.c(),s.m(t,n)):s&&(s.d(1),s=null),o[5]==="true"&&o[36]&&o[30]?a?a.p(o,l):(a=Zi(o),a.c(),a.m(t,null)):a&&(a.d(1),a=null)},d(o){o&&H(t),i&&i.d(),s&&s.d(),a&&a.d()}}}function $i(e){let t,r,n,i,s,a,o;return{c(){t=E("div"),r=E("span"),n=K(e[4]),i=K(":"),s=z(),a=E("span"),o=K(e[31]),m(r,"class","ClockText"),m(a,"class","ClockTime"),m(t,"class","ClockContainer")},m(l,u){A(l,t,u),v(t,r),v(r,n),v(r,i),v(t,s),v(t,a),v(a,o)},p(l,u){u[0]&16&&ie(n,l[4]),u[1]&1&&ie(o,l[31])},d(l){l&&H(t)}}}function zi(e){let t;return{c(){t=E("player-panic-button"),g(t,"lang",e[1])},m(r,n){A(r,t,n)},p(r,n){n[0]&2&&g(t,"lang",r[1])},d(r){r&&H(t)}}}function Zi(e){let t,r,n,i,s,a,o,l,u,h,f,c,S,w,_,k=vt(e[32]),Y=[];for(let M=0;M<k.length;M+=1)Y[M]=Xi(Wi(e,k,M));let Q=vt(e[9]),F=[];for(let M=0;M<Q.length;M+=1)F[M]=qi(Ui(e,Q,M));return{c(){t=E("div"),r=E("select");for(let M=0;M<Y.length;M+=1)Y[M].c();n=z(),i=E("div"),s=E("button"),a=E("img"),l=K(e[34]),u=E("img"),f=z(),c=E("div"),S=E("ul");for(let M=0;M<F.length;M+=1)F[M].c();m(r,"class","Item ItemLanguage"),m(r,"part","Item ItemLanguage"),e[30]===void 0&&sr(()=>e[55].call(r)),m(a,"class","languageFlag"),Ie(a.src,o=e[35])||m(a,"src",o),m(u,"class","downwardChevron"),Ie(u.src,h="https://upload.wikimedia.org/wikipedia/commons/2/24/White_arrow_down.svg")||m(u,"src",h),m(s,"class","drawerButton"),s.value=e[30],m(S,"id","languageList"),m(c,"class","languageDrawer hidden"),m(i,"class","languageSelectorOverlay"),m(t,"class","languageSelectorContainer")},m(M,j){A(M,t,j),v(t,r);for(let x=0;x<Y.length;x+=1)Y[x]&&Y[x].m(r,null);fi(r,e[30],!0),v(t,n),v(t,i),v(i,s),v(s,a),v(s,l),v(s,u),v(i,f),v(i,c),v(c,S);for(let x=0;x<F.length;x+=1)F[x]&&F[x].m(S,null);e[57](c),w||(_=[wt(r,"change",e[55]),wt(r,"change",e[56]),wt(s,"click",e[41])],w=!0)},p(M,j){if(j[1]&2){k=vt(M[32]);let x;for(x=0;x<k.length;x+=1){const fe=Wi(M,k,x);Y[x]?Y[x].p(fe,j):(Y[x]=Xi(fe),Y[x].c(),Y[x].m(r,null))}for(;x<Y.length;x+=1)Y[x].d(1);Y.length=k.length}if(j[0]&1073741824|j[1]&2&&fi(r,M[30]),j[1]&16&&!Ie(a.src,o=M[35])&&m(a,"src",o),j[1]&8&&ie(l,M[34]),j[0]&1073741824|j[1]&2&&(s.value=M[30]),j[0]&512|j[1]&2048){Q=vt(M[9]);let x;for(x=0;x<Q.length;x+=1){const fe=Ui(M,Q,x);F[x]?F[x].p(fe,j):(F[x]=qi(fe),F[x].c(),F[x].m(S,null))}for(;x<F.length;x+=1)F[x].d(1);F.length=Q.length}},d(M){M&&H(t),en(Y,M),en(F,M),e[57](null),w=!1,Ve(_)}}}function Xi(e){let t,r=e[77]+"",n,i;return{c(){t=E("option"),n=K(r),t.__value=i=e[77],hi(t,t.__value),t.selected=!0},m(s,a){A(s,t,a),v(t,n)},p(s,a){a[1]&2&&r!==(r=s[77]+"")&&ie(n,r),a[1]&2&&i!==(i=s[77])&&(t.__value=i,hi(t,t.__value))},d(s){s&&H(t)}}}function qi(e){let t,r,n,i,s,a=e[74].name+"",o,l,u,h;return{c(){t=E("li"),r=E("img"),i=E("a"),s=E("span"),o=K(a),m(r,"class","languageFlag"),Ie(r.src,n=e[74].flag_icon_editable)||m(r,"src",n),m(i,"href","javascript:void(0)"),m(t,"class","overlayLanguageOption"),m(t,"data-lang",l=e[74].code)},m(f,c){A(f,t,c),v(t,r),v(t,i),v(i,s),v(s,o),u||(h=wt(t,"click",e[42]),u=!0)},p(f,c){c[0]&512&&!Ie(r.src,n=f[74].flag_icon_editable)&&m(r,"src",n),c[0]&512&&a!==(a=f[74].name+"")&&ie(o,a),c[0]&512&&l!==(l=f[74].code)&&m(t,"data-lang",l)},d(f){f&&H(t),u=!1,h()}}}function Ji(e){let t,r,n,i=e[38]("sessionTimer")+"",s,a,o;return{c(){t=E("div"),r=E("div"),n=E("span"),s=K(i),a=z(),o=K(e[37]),m(n,"class","SessionText"),m(r,"class","sessionTimerContainer"),m(t,"class","GridRow ProvisionalRow"),m(t,"part","GridRow")},m(l,u){A(l,t,u),v(t,r),v(r,n),v(n,s),v(n,a),v(n,o)},p(l,u){u[1]&128&&i!==(i=l[38]("sessionTimer")+"")&&ie(s,i),u[1]&64&&ie(o,l[37])},d(l){l&&H(t)}}}function Qi(e){let t,r=e[16]&&Ki(e);return{c(){t=E("div"),r&&r.c(),m(t,"class","GridRow"),m(t,"part","GridRow")},m(n,i){A(n,t,i),r&&r.m(t,null)},p(n,i){n[16]?r?r.p(n,i):(r=Ki(n),r.c(),r.m(t,null)):r&&(r.d(1),r=null)},d(n){n&&H(t),r&&r.d()}}}function Ki(e){let t,r,n,i=e[15]&&es(e);return{c(){t=E("div"),i&&i.c(),r=z(),n=E("casino-footer-section"),g(n,"class","FooterSection"),g(n,"part","FooterSection"),g(n,"sponsorflag","1"),g(n,"clientstyling",e[0]),g(n,"baseurl",e[8]),g(n,"lang",e[1]),g(n,"footertype","footerprimary"),m(t,"class","GridCol"),m(t,"part","GridCol")},m(s,a){A(s,t,a),i&&i.m(t,null),v(t,r),v(t,n)},p(s,a){s[15]?i?i.p(s,a):(i=es(s),i.c(),i.m(t,r)):i&&(i.d(1),i=null),a[0]&1&&g(n,"clientstyling",s[0]),a[0]&256&&g(n,"baseurl",s[8]),a[0]&2&&g(n,"lang",s[1])},d(s){s&&H(t),i&&i.d()}}}function es(e){let t,r;return{c(){t=E("p"),r=K(e[15]),m(t,"class","FooterTitle"),m(t,"part","FooterTitle")},m(n,i){A(n,t,i),v(t,r)},p(n,i){i[0]&32768&&ie(r,n[15])},d(n){n&&H(t)}}}function ts(e){let t,r,n,i,s=e[14]&&rs(e),a=e[12]&&is(e);return{c(){t=E("div"),s&&s.c(),r=z(),a&&a.c(),m(t,"class",n="GridRow "+(e[14]&&e[12]?"SplitRow":"")),m(t,"part",i="GridRow "+(e[14]&&e[12]?"SplitRow":""))},m(o,l){A(o,t,l),s&&s.m(t,null),v(t,r),a&&a.m(t,null)},p(o,l){o[14]?s?s.p(o,l):(s=rs(o),s.c(),s.m(t,r)):s&&(s.d(1),s=null),o[12]?a?a.p(o,l):(a=is(o),a.c(),a.m(t,null)):a&&(a.d(1),a=null),l[0]&20480&&n!==(n="GridRow "+(o[14]&&o[12]?"SplitRow":""))&&m(t,"class",n),l[0]&20480&&i!==(i="GridRow "+(o[14]&&o[12]?"SplitRow":""))&&m(t,"part",i)},d(o){o&&H(t),s&&s.d(),a&&a.d()}}}function rs(e){let t,r,n,i=e[13]&&ns(e);return{c(){t=E("div"),i&&i.c(),r=z(),n=E("casino-footer-section"),g(n,"class","FooterSection"),g(n,"part","FooterSection"),g(n,"paymentflag","1"),g(n,"clientstyling",e[0]),g(n,"clientstylingurl",e[2]),g(n,"baseurl",e[8]),g(n,"lang",e[1]),g(n,"footertype","footerprimary"),m(t,"class","GridCol"),m(t,"part","GridCol")},m(s,a){A(s,t,a),i&&i.m(t,null),v(t,r),v(t,n)},p(s,a){s[13]?i?i.p(s,a):(i=ns(s),i.c(),i.m(t,r)):i&&(i.d(1),i=null),a[0]&1&&g(n,"clientstyling",s[0]),a[0]&4&&g(n,"clientstylingurl",s[2]),a[0]&256&&g(n,"baseurl",s[8]),a[0]&2&&g(n,"lang",s[1])},d(s){s&&H(t),i&&i.d()}}}function ns(e){let t,r;return{c(){t=E("p"),r=K(e[13]),m(t,"class","FooterTitle"),m(t,"part","FooterTitle")},m(n,i){A(n,t,i),v(t,r)},p(n,i){i[0]&8192&&ie(r,n[13])},d(n){n&&H(t)}}}function is(e){let t,r,n,i=e[11]&&ss(e);return{c(){t=E("div"),i&&i.c(),r=z(),n=E("casino-footer-section"),g(n,"class","FooterSection"),g(n,"part","FooterSection"),g(n,"vendorflag","1"),g(n,"clientstyling",e[0]),g(n,"clientstylingurl",e[2]),g(n,"baseurl",e[8]),g(n,"lang",e[1]),g(n,"footertype","footerprimary"),m(t,"class","GridCol"),m(t,"part","GridCol")},m(s,a){A(s,t,a),i&&i.m(t,null),v(t,r),v(t,n)},p(s,a){s[11]?i?i.p(s,a):(i=ss(s),i.c(),i.m(t,r)):i&&(i.d(1),i=null),a[0]&1&&g(n,"clientstyling",s[0]),a[0]&4&&g(n,"clientstylingurl",s[2]),a[0]&256&&g(n,"baseurl",s[8]),a[0]&2&&g(n,"lang",s[1])},d(s){s&&H(t),i&&i.d()}}}function ss(e){let t,r;return{c(){t=E("p"),r=K(e[11]),m(t,"class","FooterTitle"),m(t,"part","FooterTitle")},m(n,i){A(n,t,i),v(t,r)},p(n,i){i[0]&2048&&ie(r,n[11])},d(n){n&&H(t)}}}function as(e){let t,r,n,i,s=e[18]&&os(e),a=e[20]&&us(e);return{c(){t=E("div"),s&&s.c(),r=z(),a&&a.c(),m(t,"class",n="GridRow "+(e[18]&&e[20]?"SplitRow":"")),m(t,"part",i="GridRow "+(e[18]&&e[20]?"SplitRow":""))},m(o,l){A(o,t,l),s&&s.m(t,null),v(t,r),a&&a.m(t,null)},p(o,l){o[18]?s?s.p(o,l):(s=os(o),s.c(),s.m(t,r)):s&&(s.d(1),s=null),o[20]?a?a.p(o,l):(a=us(o),a.c(),a.m(t,null)):a&&(a.d(1),a=null),l[0]&1310720&&n!==(n="GridRow "+(o[18]&&o[20]?"SplitRow":""))&&m(t,"class",n),l[0]&1310720&&i!==(i="GridRow "+(o[18]&&o[20]?"SplitRow":""))&&m(t,"part",i)},d(o){o&&H(t),s&&s.d(),a&&a.d()}}}function os(e){let t,r,n,i=e[17]&&ls(e);return{c(){t=E("div"),i&&i.c(),r=z(),n=E("casino-footer-section"),g(n,"class","FooterSection"),g(n,"part","FooterSection"),g(n,"helperflag","1"),g(n,"clientstyling",e[0]),g(n,"clientstylingurl",e[2]),g(n,"baseurl",e[8]),g(n,"lang",e[1]),g(n,"footertype","footerprimary"),m(t,"class","GridCol"),m(t,"part","GridCol")},m(s,a){A(s,t,a),i&&i.m(t,null),v(t,r),v(t,n)},p(s,a){s[17]?i?i.p(s,a):(i=ls(s),i.c(),i.m(t,r)):i&&(i.d(1),i=null),a[0]&1&&g(n,"clientstyling",s[0]),a[0]&4&&g(n,"clientstylingurl",s[2]),a[0]&256&&g(n,"baseurl",s[8]),a[0]&2&&g(n,"lang",s[1])},d(s){s&&H(t),i&&i.d()}}}function ls(e){let t,r;return{c(){t=E("p"),r=K(e[17]),m(t,"class","FooterTitle"),m(t,"part","FooterTitle")},m(n,i){A(n,t,i),v(t,r)},p(n,i){i[0]&131072&&ie(r,n[17])},d(n){n&&H(t)}}}function us(e){let t,r,n,i=e[19]&&hs(e);return{c(){t=E("div"),i&&i.c(),r=z(),n=E("casino-footer-section"),g(n,"class","FooterSection"),g(n,"part","FooterSection"),g(n,"licenseFlag","1"),g(n,"clientstyling",e[0]),g(n,"clientstylingurl",e[2]),g(n,"baseurl",e[8]),g(n,"lang",e[1]),g(n,"footertype","footerprimary"),m(t,"class","GridCol"),m(t,"part","GridCol")},m(s,a){A(s,t,a),i&&i.m(t,null),v(t,r),v(t,n)},p(s,a){s[19]?i?i.p(s,a):(i=hs(s),i.c(),i.m(t,r)):i&&(i.d(1),i=null),a[0]&1&&g(n,"clientstyling",s[0]),a[0]&4&&g(n,"clientstylingurl",s[2]),a[0]&256&&g(n,"baseurl",s[8]),a[0]&2&&g(n,"lang",s[1])},d(s){s&&H(t),i&&i.d()}}}function hs(e){let t,r;return{c(){t=E("p"),r=K(e[19]),m(t,"class","FooterTitle"),m(t,"part","FooterTitle")},m(n,i){A(n,t,i),v(t,r)},p(n,i){i[0]&524288&&ie(r,n[19])},d(n){n&&H(t)}}}function fs(e){let t,r,n,i,s,a,o,l,u,h,f,c,S,w=e[22]&&cs(e);return{c(){t=E("div"),r=E("div"),n=E("div"),s=z(),a=E("div"),l=z(),w&&w.c(),u=z(),h=E("div"),m(n,"class","DetailedLicenses"),m(n,"part","DetailedLicenses"),m(a,"class","DetailedCustomLicenses"),m(a,"part","DetailedCustomLicenses"),m(h,"class","CopyrightAreaRights CopyrightArea"),m(h,"part","CopyrightAreaRights CopyrightArea"),m(r,"class","GridCol"),m(r,"part","GridCol"),m(t,"class","GridRow LicenseRow"),m(t,"part","GridRow LicenseRow")},m(_,k){A(_,t,k),v(t,r),v(r,n),v(r,s),v(r,a),v(r,l),w&&w.m(r,null),v(r,u),v(r,h),c||(S=[Ur(i=e[39].call(null,n,e[24])),Ur(o=e[39].call(null,a,e[29])),Ur(f=e[39].call(null,h,e[23]))],c=!0)},p(_,k){i&&We(i.update)&&k[0]&16777216&&i.update.call(null,_[24]),o&&We(o.update)&&k[0]&536870912&&o.update.call(null,_[29]),_[22]?w?w.p(_,k):(w=cs(_),w.c(),w.m(r,u)):w&&(w.d(1),w=null),f&&We(f.update)&&k[0]&8388608&&f.update.call(null,_[23])},d(_){_&&H(t),w&&w.d(),c=!1,Ve(S)}}}function cs(e){let t,r,n=e[21]&&ds(e);return{c(){n&&n.c(),t=z(),r=E("casino-footer-section"),g(r,"class","FooterSection SocialSection"),g(r,"part","FooterSection SocialSection"),g(r,"socialflag","1"),g(r,"clientstyling",e[0]),g(r,"clientstylingurl",e[2]),g(r,"baseurl",e[8]),g(r,"lang",e[1]),g(r,"footertype","footerprimary")},m(i,s){n&&n.m(i,s),A(i,t,s),A(i,r,s)},p(i,s){i[21]?n?n.p(i,s):(n=ds(i),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null),s[0]&1&&g(r,"clientstyling",i[0]),s[0]&4&&g(r,"clientstylingurl",i[2]),s[0]&256&&g(r,"baseurl",i[8]),s[0]&2&&g(r,"lang",i[1])},d(i){i&&(H(t),H(r)),n&&n.d(i)}}}function ds(e){let t,r;return{c(){t=E("p"),r=K(e[21]),m(t,"class","FooterTitle"),m(t,"part","FooterTitle")},m(n,i){A(n,t,i),v(t,r)},p(n,i){i[0]&2097152&&ie(r,n[21])},d(n){n&&H(t)}}}function Ud(e){let t,r,n,i=e[27]&&ji(e);function s(l,u){return l[25]?Bd:l[26]?Yd:Gd}let a=s(e),o=a(e);return{c(){i&&i.c(),t=ys(),r=z(),n=E("div"),o.c()},m(l,u){i&&i.m(Bi.head,null),v(Bi.head,t),A(l,r,u),A(l,n,u),o.m(n,null),e[58](n)},p(l,u){l[27]?i?i.p(l,u):(i=ji(l),i.c(),i.m(t.parentNode,t)):i&&(i.d(1),i=null),a===(a=s(l))&&o?o.p(l,u):(o.d(1),o=a(l),o&&(o.c(),o.m(n,null)))},i:re,o:re,d(l){l&&(H(r),H(n)),i&&i.d(l),H(t),o.d(),e[58](null)}}}function Wd(e,t,r){let n;_s(e,ja,p=>r(38,n=p));let{endpoint:i=""}=t,{lang:s="en"}=t,{env:a=""}=t,{clientstyling:o=""}=t,{clientstylingurl:l=""}=t,{translationurl:u=""}=t,{clockenabled:h=""}=t,{clocksecondsenabled:f=""}=t,{clockcustomformat:c=""}=t,{clocktext:S="Time"}=t,{languageselectorenabled:w="true"}=t,{languageslist:_="en, ro"}=t,{languagedisplaytype:k="name"}=t,{session:Y=""}=t,{userid:Q=""}=t,{userendpoint:F=""}=t,{userroles:M=""}=t,{panicbuttonenabled:j="true"}=t,{sessiontimerenabled:x="true"}=t,{baseurl:fe=""}=t,Dr="",It=[],Pr="",Ft=[],Rr="",Gt=[],Hr="",Yt=[],Nr="",Bt=[],Cr="",Ut=[],Lr="",Ar="",Ir=!1,Wt=!1,Xn,qn=!1,Jn="",Qn="",jt=!1,He="hr",Ne=[],za=window.navigator.userAgent,Kn,ei,pt=[],_t,Fr="",ti="",ri=!1,ni="";const Za=()=>{fetch(u).then(B=>B.json()).then(B=>{Object.keys(B).forEach(X=>{Gi(X,B[X])})}).catch(B=>{console.log(B)})};let Ge;Object.keys(Yi).forEach(p=>{Gi(p,Yi[p])});const Xa=()=>{Ad(F,Y).then(p=>{p.Guid,p.UserID,r(54,jt=!0)},p=>{r(54,jt=!1),console.error("Error while checking the session - ",p)})},qa=()=>{const p=JSON.parse(localStorage.session),B=new Date(p.Login),X=new Date().getTimezoneOffset()/60;let se=new Date().getTime()-B.getTime(),Ye=Math.floor(se/36e5)+X,Vt=Math.floor(se%36e5/6e4),$t=Math.floor(se%6e4/1e3);setInterval(()=>{Ye=Math.floor(se/36e5)+X,Vt=Math.floor(se%36e5/6e4),$t=Math.floor(se%6e4/1e3),r(37,ni=`${Ye>9?Ye:"0"+Ye}:${Vt>9?Vt:"0"+Vt}:${$t>9?$t:"0"+$t}`),se+=1e3},1e3)},Ja=()=>{setInterval(()=>{ii()},ei)},ii=()=>{const p=c!="false"?c:`hh:mm${f==="true"?":ss":""} (UTC Z)`;r(31,Kn=y().format(p))},Qa=()=>{let p=new URL(`${i}/${s}/footer-raw-data?env=${a}`),B=Va(za);p.searchParams.append("userRoles",M),B&&(B==="PC"?p.searchParams.append("device","dk"):p.searchParams.append("device","mtWeb")),r(25,Ir=!1),r(26,Wt=!0),fetch(p).then(X=>X.json()).then(X=>{r(26,Wt=!1),Xn=X;let ce,se,Ye;r(11,{gameVendorsLinksTitle:Dr,gameVendorsRepeater:It,paymentLinksTitle:Pr,paymentMethodsRepeater:Ft,sponsorsLinksTitle:Rr,sponsorsRepeater:Gt,helpLinksTitle:Hr,helpLinksRepeater:Yt,licensesLinksTitle:Nr,licensesRepeater:Bt,socialLinksTitle:Cr,socialLinksRepeater:Ut,copyright:Lr,licenseDesc:Ar,licenseHeadScriptSrc:ce,licenseScriptBody:se,licenseEvent:Ye,language:Ne}=Xn,Dr,r(12,It),r(13,Pr),r(14,Ft),r(15,Rr),r(16,Gt),r(17,Hr),r(18,Yt),r(19,Nr),r(20,Bt),r(21,Cr),r(22,Ut),r(23,Lr),r(24,Ar),r(9,Ne)),Ne&&(r(36,ri=!0),Yr()),(ce==null?void 0:ce.length)>0&&(r(27,qn=!0),r(28,Jn=ce)),(se==null?void 0:se.length)>0&&r(29,Qn=se),window.postMessage({type:Ye},window.location.href),window.postMessage({type:"FooterData",gameVendorsRepeater:It,paymentMethodsRepeater:Ft,sponsorsRepeater:Gt,helpLinksRepeater:Yt,licensesRepeater:Bt,socialLinksRepeater:Ut},window.location.href)}).catch(X=>{r(25,Ir=!0),r(26,Wt=!1),console.error(X)})},Ka=(p,B)=>{let X=document.createElement("div");X.innerHTML=B,p.append(X)},Gr=()=>{window.postMessage({type:"LanguageChanged",selectedLanguage:He},window.location.href)},eo=()=>{_t.classList.toggle("hidden")},to=p=>{let B=p.target.closest(".overlayLanguageOption");r(30,He=B.getAttribute("data-lang")),Gr(),Yr(),_t.classList.toggle("hidden")},Yr=()=>{let p=!1;Ne.forEach((B,X)=>{if(B.code==He.toLowerCase()){p=!0;let ce="";switch(r(35,ti=B.flag_icon_editable),k){case"name":ce=B.name;break;case"translatedName":ce=B.translated_name;break;default:ce=B.code;break}r(34,Fr=ce)}}),p||r(34,Fr=He)},ro=()=>{let p=document.createElement("style");p.innerHTML=o,Ge.appendChild(p)},no=()=>{let p=new URL(l),B=document.createElement("style");fetch(p.href).then(X=>X.text()).then(X=>{B.innerHTML=X,r(0,o=o?o+X:X),setTimeout(()=>{Ge.appendChild(B)},1),setTimeout(()=>{},500)})};bs(()=>{r(32,pt=_.replace(/ /g,"").split(",")),r(32,pt=pt.map(p=>p.toUpperCase()))});function io(){He=bo(this),r(30,He),r(1,s),r(9,Ne),r(32,pt)}const so=()=>Gr();function ao(p){Mt[p?"unshift":"push"](()=>{_t=p,r(33,_t)})}function oo(p){Mt[p?"unshift":"push"](()=>{Ge=p,r(10,Ge)})}return e.$$set=p=>{"endpoint"in p&&r(43,i=p.endpoint),"lang"in p&&r(1,s=p.lang),"env"in p&&r(44,a=p.env),"clientstyling"in p&&r(0,o=p.clientstyling),"clientstylingurl"in p&&r(2,l=p.clientstylingurl),"translationurl"in p&&r(45,u=p.translationurl),"clockenabled"in p&&r(3,h=p.clockenabled),"clocksecondsenabled"in p&&r(46,f=p.clocksecondsenabled),"clockcustomformat"in p&&r(47,c=p.clockcustomformat),"clocktext"in p&&r(4,S=p.clocktext),"languageselectorenabled"in p&&r(5,w=p.languageselectorenabled),"languageslist"in p&&r(48,_=p.languageslist),"languagedisplaytype"in p&&r(49,k=p.languagedisplaytype),"session"in p&&r(50,Y=p.session),"userid"in p&&r(51,Q=p.userid),"userendpoint"in p&&r(52,F=p.userendpoint),"userroles"in p&&r(53,M=p.userroles),"panicbuttonenabled"in p&&r(6,j=p.panicbuttonenabled),"sessiontimerenabled"in p&&r(7,x=p.sessiontimerenabled),"baseurl"in p&&r(8,fe=p.baseurl)},e.$$.update=()=>{e.$$.dirty[0]&2&&s&&Id(s),e.$$.dirty[1]&1576960&&Y&&Q&&i&&Xa(),e.$$.dirty[0]&2|e.$$.dirty[1]&8388608&&jt&&s&&qa(),e.$$.dirty[0]&1025&&o&&Ge&&ro(),e.$$.dirty[0]&1028&&l&&Ge&&no(),e.$$.dirty[0]&2|e.$$.dirty[1]&4206592&&i&&s&&a&&M&&Qa(),e.$$.dirty[1]&16384&&u&&Za(),e.$$.dirty[0]&8|e.$$.dirty[1]&98304&&h!=="false"&&f&&c&&ii(),e.$$.dirty[0]&8|e.$$.dirty[1]&32768&&h!=="false"&&f&&(ei=f=="true"?1e3:6e4)&&Ja(),e.$$.dirty[0]&514&&s&&r(30,He=s)&&Ne&&Ne.length>0&&Yr()},[o,s,l,h,S,w,j,x,fe,Ne,Ge,Dr,It,Pr,Ft,Rr,Gt,Hr,Yt,Nr,Bt,Cr,Ut,Lr,Ar,Ir,Wt,qn,Jn,Qn,He,Kn,pt,_t,Fr,ti,ri,ni,n,Ka,Gr,eo,to,i,a,u,f,c,_,k,Y,Q,F,M,jt,io,so,ao,oo]}class $a extends Ts{constructor(t){super(),vs(this,t,Wd,Ud,Tn,{endpoint:43,lang:1,env:44,clientstyling:0,clientstylingurl:2,translationurl:45,clockenabled:3,clocksecondsenabled:46,clockcustomformat:47,clocktext:4,languageselectorenabled:5,languageslist:48,languagedisplaytype:49,session:50,userid:51,userendpoint:52,userroles:53,panicbuttonenabled:6,sessiontimerenabled:7,baseurl:8},Fd,[-1,-1,-1])}get endpoint(){return this.$$.ctx[43]}set endpoint(t){this.$$set({endpoint:t}),Z()}get lang(){return this.$$.ctx[1]}set lang(t){this.$$set({lang:t}),Z()}get env(){return this.$$.ctx[44]}set env(t){this.$$set({env:t}),Z()}get clientstyling(){return this.$$.ctx[0]}set clientstyling(t){this.$$set({clientstyling:t}),Z()}get clientstylingurl(){return this.$$.ctx[2]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),Z()}get translationurl(){return this.$$.ctx[45]}set translationurl(t){this.$$set({translationurl:t}),Z()}get clockenabled(){return this.$$.ctx[3]}set clockenabled(t){this.$$set({clockenabled:t}),Z()}get clocksecondsenabled(){return this.$$.ctx[46]}set clocksecondsenabled(t){this.$$set({clocksecondsenabled:t}),Z()}get clockcustomformat(){return this.$$.ctx[47]}set clockcustomformat(t){this.$$set({clockcustomformat:t}),Z()}get clocktext(){return this.$$.ctx[4]}set clocktext(t){this.$$set({clocktext:t}),Z()}get languageselectorenabled(){return this.$$.ctx[5]}set languageselectorenabled(t){this.$$set({languageselectorenabled:t}),Z()}get languageslist(){return this.$$.ctx[48]}set languageslist(t){this.$$set({languageslist:t}),Z()}get languagedisplaytype(){return this.$$.ctx[49]}set languagedisplaytype(t){this.$$set({languagedisplaytype:t}),Z()}get session(){return this.$$.ctx[50]}set session(t){this.$$set({session:t}),Z()}get userid(){return this.$$.ctx[51]}set userid(t){this.$$set({userid:t}),Z()}get userendpoint(){return this.$$.ctx[52]}set userendpoint(t){this.$$set({userendpoint:t}),Z()}get userroles(){return this.$$.ctx[53]}set userroles(t){this.$$set({userroles:t}),Z()}get panicbuttonenabled(){return this.$$.ctx[6]}set panicbuttonenabled(t){this.$$set({panicbuttonenabled:t}),Z()}get sessiontimerenabled(){return this.$$.ctx[7]}set sessiontimerenabled(t){this.$$set({sessiontimerenabled:t}),Z()}get baseurl(){return this.$$.ctx[8]}set baseurl(t){this.$$set({baseurl:t}),Z()}}Ss($a,{endpoint:{},lang:{},env:{},clientstyling:{},clientstylingurl:{},translationurl:{},clockenabled:{},clocksecondsenabled:{},clockcustomformat:{},clocktext:{},languageselectorenabled:{},languageslist:{},languagedisplaytype:{},session:{},userid:{},userendpoint:{},userroles:{},panicbuttonenabled:{},sessiontimerenabled:{},baseurl:{}},[],[],!0);const jd=Object.freeze(Object.defineProperty({__proto__:null,default:$a},Symbol.toStringTag,{value:"Module"}));exports.$format=ja;exports.$locale=Ze;exports.CasinoFooter_ce=jd;exports.SvelteComponent=Ts;exports.addMessages=zn;exports.append=v;exports.append_styles=gs;exports.attr=m;exports.binding_callbacks=Mt;exports.component_subscribe=_s;exports.create_custom_element=Ss;exports.destroy_each=en;exports.detach=H;exports.element=E;exports.empty=ys;exports.ensure_array_like=vt;exports.flush=Z;exports.getDevice=Va;exports.init=vs;exports.insert=A;exports.listen=wt;exports.noop=re;exports.onMount=bs;exports.safe_not_equal=Tn;exports.set_custom_element_data=g;exports.set_data=ie;exports.space=z;exports.src_url_equal=Ie;exports.text=K;exports.toggle_class=vo;