@everymatrix/player-account-controller 1.26.0 → 1.27.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("fs")):"function"==typeof define&&define.amd?define(["fs"],t):(e="undefined"!=typeof globalThis?globalThis:e||self).app=t(e.require$$0)}(this,function(s){"use strict";(u=s)&&"object"==typeof u&&0 in u;function oe(){}const w=e=>e;function h(e){return e()}function m(){return Object.create(null)}function ai(e){e.forEach(h)}function ue(e){return"function"==typeof e}function i(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}let l;function b(e,t){return(l=l||document.createElement("a")).href=t,e===l.href}function d(e,...t){if(null==e)return oe;const i=e.subscribe(...t);return i.unsubscribe?()=>i.unsubscribe():i}function Le(e,t,i){e.$$.on_destroy.push(d(t,i))}function c(e){return e&&ue(e.destroy)?e.destroy:oe}var u="undefined"!=typeof window;let _=u?()=>window.performance.now():()=>Date.now(),x=u?e=>requestAnimationFrame(e):oe;const P=new Set;function E(t){P.forEach(e=>{e.c(t)||(P.delete(e),e.f())}),0!==P.size&&x(E)}u="undefined"!=typeof window?window:"undefined"!=typeof globalThis?globalThis:global;function si(e,t){e.appendChild(t)}function T(e){var t;return e?(t=e.getRootNode?e.getRootNode():e.ownerDocument)&&t.host?t:e.ownerDocument:document}function li(e,t,i){e.insertBefore(t,i||null)}function ci(e){e.parentNode&&e.parentNode.removeChild(e)}function ui(t,i){for(let e=0;e<t.length;e+=1)t[e]&&t[e].d(i)}function di(e){return document.createElement(e)}function pi(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function hi(e){return document.createTextNode(e)}function mi(){return hi(" ")}function I(){return hi("")}function fi(e,t,i,r){return e.addEventListener(t,i,r),()=>e.removeEventListener(t,i,r)}function V(t){return function(e){return e.preventDefault(),t.call(this,e)}}function gi(e,t,i){null==i?e.removeAttribute(t):e.getAttribute(t)!==i&&e.setAttribute(t,i)}function ae(e,t,i){t in e?e[t]="boolean"==typeof e[t]&&""===i||i:gi(e,t,i)}function de(e){return""===e?null:+e}function yi(e,t){e.data!==(t=""+t)&&(e.data=t)}function vi(e,t){e.value=null==t?"":t}function L(e,t,i,r){null==i?e.style.removeProperty(t):e.style.setProperty(t,i,r?"important":"")}function wi(t,i,e){for(let e=0;e<t.options.length;e+=1){var r=t.options[e];if(r.__value===i)return r.selected=!0}e&&void 0===i||(t.selectedIndex=-1)}function pe(e){e=e.querySelector(":checked");return e&&e.__value}function A(e,t,i){e.classList[i?"add":"remove"](t)}function r(e){var t={};for(const i of e)t[i.name]=i.value;return t}const k=new Map;let M,S=0;function D(e,t,i,r,n,o,a,s=0){var l=16.666/r;let c="{\n";for(let e=0;e<=1;e+=l){const r=t+(i-t)*o(e);c+=100*e+`%{${a(r,1-r)}}
|
|
2
2
|
`}var u,d=c+`100% {${a(i,1-i)}}
|
|
3
|
-
}`,s=`__svelte_${function(e){let t=5381,i=e.length;for(;i--;)t=(t<<5)-t^e.charCodeAt(i);return t>>>0}(d)}_`+s,p=T(e),{stylesheet:h,rules:m}=k.get(p)||(p=p,u={stylesheet:(u=e,m=di("style"),u=T(u),h=m,si(u.head||u,h),h.sheet,m.sheet),rules:{}},k.set(p,u),u),p=(m[s]||(m[s]=!0,h.insertRule(`@keyframes ${s} `+d,h.cssRules.length)),e.style.animation||"");return e.style.animation=(p?p+", ":"")+s+` ${r}ms linear ${n}ms 1 both`,S+=1,s}function $(e){M=e}function ke(e){!function(){if(M)return M;throw new Error("Function called outside component initialization")}().$$.on_mount.push(e)}const N=[],Me=[];let F=[];const O=[],R=Promise.resolve();let H=!1;function Be(){H||(H=!0,R.then(p))}function bi(e){F.push(e)}const j=new Set;let W,U=0;function p(){if(0===U){const r=M;do{try{for(;U<N.length;){const r=N[U];U++,$(r),e=t=void 0;var e,t=r.$$;null!==t.fragment&&(t.update(),ai(t.before_update),e=t.dirty,t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(bi))}}catch(r){throw N.length=0,U=0,r}for($(null),N.length=0,U=0;Me.length;)Me.pop()();for(let e=0;e<F.length;e+=1){var i=F[e];j.has(i)||(j.add(i),i())}}while(F.length=0,N.length);for(;O.length;)O.pop()();H=!1,j.clear(),$(r)}}function Y(e,t,i){var r;e.dispatchEvent(([e,{bubbles:t=!1,cancelable:i=!1}={}]=[(t?"intro":"outro")+i],(r=document.createEvent("CustomEvent")).initCustomEvent(e,t,i,void 0),r))}const G=new Set;let q;function Z(){q={r:0,c:[],p:q}}function K(){q.r||ai(q.c),q=q.p}function X(e,t){e&&e.i&&(G.delete(e),e.i(t))}function J(e,t,i,r){e&&e.o?G.has(e)||(G.add(e),q.c.push(()=>{G.delete(e),r&&(i&&e.d(1),r())}),e.o(t)):r&&r()}const Q={duration:0};function ee(l,e,t,i){const r={direction:"both"};let c=e(l,t,r),u=i?0:1,d=null,p=null,h=null;function m(){var e,t,i,r;h&&(e=l,t=h,i=(e.style.animation||"").split(", "),r=i.filter(t?e=>e.indexOf(t)<0:e=>-1===e.indexOf("__svelte")),!(i=i.length-r.length)||(e.style.animation=r.join(", "),S-=i)||x(()=>{S||(k.forEach(e=>{e=e.stylesheet.ownerNode;e&&ci(e)}),k.clear())}))}function f(e,t){var i=e.b-u;return t*=Math.abs(i),{a:u,b:e.b,d:i,duration:t,start:e.start,end:e.start+t,group:e.group}}function n(e){const{delay:t=0,duration:i=300,easing:r=w,tick:n=oe,css:o}=c||Q,a={start:_()+t,b:e};if(e||((a.group=q).r+=1),d||p)p=a;else{o&&(m(),h=D(l,u,e,i,t,r,o)),e&&n(0,1),d=f(a,i),bi(()=>Y(l,e,"start"));{var s=e=>{if(p&&e>p.start&&(d=f(p,i),p=null,Y(l,d.b,"start"),o)&&(m(),h=D(l,u,d.b,d.duration,0,r,c.css)),d)if(e>=d.end)n(u=d.b,1-u),Y(l,d.b,"end"),p||(d.b?m():--d.group.r||ai(d.group.c)),d=null;else if(e>=d.start){const l=e-d.start;u=d.a+d.d*r(l/d.duration),n(u,1-u)}return!(!d&&!p)};let t;0===P.size&&x(E),new Promise(e=>{P.add(t={c:s,f:e})})}}}return{run(e){ue(c)?(W||(W=Promise.resolve()).then(()=>{W=null}),W.then(()=>{c=c(r),n(e)})):n(e)},end(){m(),d=p=null}}}function n(r,e,t,i,n,o,a,s=[-1]){var l=M;$(r);const c=r.$$={fragment:null,ctx:[],props:o,update:oe,not_equal:n,bound:m(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(l?l.$$.context:[])),callbacks:m(),dirty:s,skip_bound:!1,root:e.target||l.$$.root};a&&a(c.root);let u=!1;if(c.ctx=t?t(r,e.props||{},(e,t,...i)=>{var i=i.length?i[0]:t;return c.ctx&&n(c.ctx[e],c.ctx[e]=i)&&(!c.skip_bound&&c.bound[e]&&c.bound[e](i),u)&&(i=e,-1===(e=r).$$.dirty[0]&&(N.push(e),Be(),e.$$.dirty.fill(0)),e.$$.dirty[i/31|0]|=1<<i%31),t}):[],c.update(),u=!0,ai(c.before_update),c.fragment=!!i&&i(c.ctx),e.target){if(e.hydrate){o=e.target;const r=Array.from(o.childNodes);c.fragment&&c.fragment.l(r),r.forEach(ci)}else c.fragment&&c.fragment.c();e.intro&&X(r.$$.fragment);var d=r,s=e.target,a=e.anchor,t=e.customElement,{fragment:i,after_update:o}=d.$$;i&&i.m(s,a),t||bi(()=>{var e=d.$$.on_mount.map(h).filter(ue);d.$$.on_destroy?d.$$.on_destroy.push(...e):ai(e),d.$$.on_mount=[]}),o.forEach(bi),p()}$(l)}let e;"function"==typeof HTMLElement&&(e=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const e=this.$$["on_mount"];this.$$.on_disconnect=e.map(h).filter(ue);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,i){this[e]=i}disconnectedCallback(){ai(this.$$.on_disconnect)}$destroy(){var e=this,t=1;if(null!==(e=e.$$).fragment){{var i=e.after_update;const r=[],n=[];F.forEach(e=>(-1===i.indexOf(e)?r:n).push(e)),n.forEach(e=>e()),F=r}ai(e.on_destroy),e.fragment&&e.fragment.d(t),e.on_destroy=e.fragment=null,e.ctx=[]}this.$destroy=oe}$on(e,t){if(!ue(t))return oe;const i=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return i.push(t),()=>{var e=i.indexOf(t);-1!==e&&i.splice(e,1)}}$set(e){this.$$set&&0!==Object.keys(e).length&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}});var te,ie,re="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||"undefined"!=typeof global&&global||{},ne="URLSearchParams"in re,se="Symbol"in re&&"iterator"in Symbol,le="FileReader"in re&&"Blob"in re&&function(){try{return new Blob,!0}catch(e){return!1}}(),he="FormData"in re,me="ArrayBuffer"in re;function fe(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e)||""===e)throw new TypeError('Invalid character in header field name: "'+e+'"');return e.toLowerCase()}function ge(e){return e="string"!=typeof e?String(e):e}function ye(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return se&&(e[Symbol.iterator]=function(){return e}),e}function ve(t){this.map={},t instanceof ve?t.forEach(function(e,t){this.append(t,e)},this):Array.isArray(t)?t.forEach(function(e){if(2!=e.length)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+e.length);this.append(e[0],e[1])},this):t&&Object.getOwnPropertyNames(t).forEach(function(e){this.append(e,t[e])},this)}function we(e){if(!e._noBody)return e.bodyUsed?Promise.reject(new TypeError("Already read")):void(e.bodyUsed=!0)}function be(i){return new Promise(function(e,t){i.onload=function(){e(i.result)},i.onerror=function(){t(i.error)}})}function _e(e){var t=new FileReader,i=be(t);return t.readAsArrayBuffer(e),i}function xe(e){var t;return e.slice?e.slice(0):((t=new Uint8Array(e.byteLength)).set(new Uint8Array(e)),t.buffer)}function Ce(){return this.bodyUsed=!1,this._initBody=function(e){var t;this.bodyUsed=this.bodyUsed,(this._bodyInit=e)?"string"==typeof e?this._bodyText=e:le&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:he&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:ne&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():me&&le&&(t=e)&&DataView.prototype.isPrototypeOf(t)?(this._bodyArrayBuffer=xe(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):me&&(ArrayBuffer.prototype.isPrototypeOf(e)||ie(e))?this._bodyArrayBuffer=xe(e):this._bodyText=e=Object.prototype.toString.call(e):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):ne&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},le&&(this.blob=function(){var e=we(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))}),this.arrayBuffer=function(){if(this._bodyArrayBuffer)return we(this)||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer));if(le)return this.blob().then(_e);throw new Error("could not read as ArrayBuffer")},this.text=function(){var e,t,i,r=we(this);if(r)return r;if(this._bodyBlob)return r=this._bodyBlob,e=new FileReader,t=be(e),i=(i=/charset=([A-Za-z0-9_-]+)/.exec(r.type))?i[1]:"utf-8",e.readAsText(r,i),t;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),i=new Array(t.length),r=0;r<t.length;r++)i[r]=String.fromCharCode(t[r]);return i.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},he&&(this.formData=function(){return this.text().then(Te)}),this.json=function(){return this.text().then(JSON.parse)},this}me&&(te=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],ie=ArrayBuffer.isView||function(e){return e&&-1<te.indexOf(Object.prototype.toString.call(e))}),ve.prototype.append=function(e,t){e=fe(e),t=ge(t);var i=this.map[e];this.map[e]=i?i+", "+t:t},ve.prototype.delete=function(e){delete this.map[fe(e)]},ve.prototype.get=function(e){return e=fe(e),this.has(e)?this.map[e]:null},ve.prototype.has=function(e){return this.map.hasOwnProperty(fe(e))},ve.prototype.set=function(e,t){this.map[fe(e)]=ge(t)},ve.prototype.forEach=function(e,t){for(var i in this.map)this.map.hasOwnProperty(i)&&e.call(t,this.map[i],i,this)},ve.prototype.keys=function(){var i=[];return this.forEach(function(e,t){i.push(t)}),ye(i)},ve.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),ye(t)},ve.prototype.entries=function(){var i=[];return this.forEach(function(e,t){i.push([t,e])}),ye(i)},se&&(ve.prototype[Symbol.iterator]=ve.prototype.entries);var Pe=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function Ee(e,t){if(!(this instanceof Ee))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var i,r=(t=t||{}).body;if(e instanceof Ee){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new ve(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,r||null==e._bodyInit||(r=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new ve(t.headers)),this.method=(i=(e=t.method||this.method||"GET").toUpperCase(),-1<Pe.indexOf(i)?i:e),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal||function(){if("AbortController"in re)return(new AbortController).signal}(),this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&r)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(r),"GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache||((i=/([?&])_=[^&]*/).test(this.url)?this.url=this.url.replace(i,"$1_="+(new Date).getTime()):this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime())}function Te(e){var i=new FormData;return e.trim().split("&").forEach(function(e){var t;e&&(t=(e=e.split("=")).shift().replace(/\+/g," "),e=e.join("=").replace(/\+/g," "),i.append(decodeURIComponent(t),decodeURIComponent(e)))}),i}function Ae(e,t){if(!(this instanceof Ae))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(t=t||{},this.type="default",this.status=void 0===t.status?200:t.status,this.status<200||599<this.status)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=200<=this.status&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new ve(t.headers),this.url=t.url||"",this._initBody(e)}Ee.prototype.clone=function(){return new Ee(this,{body:this._bodyInit})},Ce.call(Ee.prototype),Ce.call(Ae.prototype),Ae.prototype.clone=function(){return new Ae(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new ve(this.headers),url:this.url})},Ae.error=function(){var e=new Ae(null,{status:200,statusText:""});return e.status=0,e.type="error",e};var Ie=[301,302,303,307,308],Ne=(Ae.redirect=function(e,t){if(-1===Ie.indexOf(t))throw new RangeError("Invalid status code");return new Ae(null,{status:t,headers:{location:e}})},re.DOMException);try{new Ne}catch(s){(Ne=function(e,t){this.message=e,this.name=t;t=Error(e);this.stack=t.stack}).prototype=Object.create(Error.prototype),Ne.prototype.constructor=Ne}function Fe(r,s){return new Promise(function(n,e){var o=new Ee(r,s);if(o.signal&&o.signal.aborted)return e(new Ne("Aborted","AbortError"));var i,a=new XMLHttpRequest;function t(){a.abort()}a.onload=function(){var e,r,t={statusText:a.statusText,headers:(e=a.getAllResponseHeaders()||"",r=new ve,e.replace(/\r?\n[\t ]+/g," ").split("\r").map(function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e}).forEach(function(e){var t=e.split(":"),i=t.shift().trim();if(i){t=t.join(":").trim();try{r.append(i,t)}catch(e){console.warn("Response "+e.message)}}}),r)},i=(o.url.startsWith("file://")&&(a.status<200||599<a.status)?t.status=200:t.status=a.status,t.url="responseURL"in a?a.responseURL:t.headers.get("X-Request-URL"),"response"in a?a.response:a.responseText);setTimeout(function(){n(new Ae(i,t))},0)},a.onerror=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},a.ontimeout=function(){setTimeout(function(){e(new TypeError("Network request timed out"))},0)},a.onabort=function(){setTimeout(function(){e(new Ne("Aborted","AbortError"))},0)},a.open(o.method,function(t){try{return""===t&&re.location.href?re.location.href:t}catch(e){return t}}(o.url),!0),"include"===o.credentials?a.withCredentials=!0:"omit"===o.credentials&&(a.withCredentials=!1),"responseType"in a&&(le?a.responseType="blob":me&&(a.responseType="arraybuffer")),s&&"object"==typeof s.headers&&!(s.headers instanceof ve||re.Headers&&s.headers instanceof re.Headers)?(i=[],Object.getOwnPropertyNames(s.headers).forEach(function(e){i.push(fe(e)),a.setRequestHeader(e,ge(s.headers[e]))}),o.headers.forEach(function(e,t){-1===i.indexOf(t)&&a.setRequestHeader(t,e)})):o.headers.forEach(function(e,t){a.setRequestHeader(t,e)}),o.signal&&(o.signal.addEventListener("abort",t),a.onreadystatechange=function(){4===a.readyState&&o.signal.removeEventListener("abort",t)}),a.send(void 0===o._bodyInit?null:o._bodyInit)})}function Mi(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}Fe.polyfill=!0,re.fetch||(re.fetch=Fe,re.Headers=ve,re.Request=Ee,re.Response=Ae),self.fetch.bind(self);var Oe=function(e,t){return(Oe=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}))(e,t)};function Re(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}Oe(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}function He(e){var t="function"==typeof Symbol&&Symbol.iterator,i=t&&e[t],r=0;if(i)return i.call(e);if(e&&"number"==typeof e.length)return{next:function(){return{value:(e=e&&r>=e.length?void 0:e)&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function je(e,t){var i="function"==typeof Symbol&&e[Symbol.iterator];if(!i)return e;var r,n,o=i.call(e),a=[];try{for(;(void 0===t||0<t--)&&!(r=o.next()).done;)a.push(r.value)}catch(e){n={error:e}}finally{try{r&&!r.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}return a}function ze(e,t,i){if(i||2===arguments.length)for(var r,n=0,o=t.length;n<o;n++)!r&&n in t||((r=r||Array.prototype.slice.call(t,0,n))[n]=t[n]);return e.concat(r||Array.prototype.slice.call(t))}function We(e){return"function"==typeof e}function Ue(e){e=e(function(e){Error.call(e),e.stack=(new Error).stack});return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e}var Ye=Ue(function(t){return function(e){t(this),this.message=e?e.length+" errors occurred during unsubscription:\n"+e.map(function(e,t){return t+1+") "+e.toString()}).join("\n "):"",this.name="UnsubscriptionError",this.errors=e}});function Ve(e,t){e&&0<=(t=e.indexOf(t))&&e.splice(t,1)}Ze.prototype.unsubscribe=function(){var e,t,i,r,n;if(!this.closed){this.closed=!0;var o=this._parentage;if(o)if(this._parentage=null,Array.isArray(o))try{for(var a=He(o),s=a.next();!s.done;s=a.next())s.value.remove(this)}catch(t){e={error:t}}finally{try{s&&!s.done&&(t=a.return)&&t.call(a)}finally{if(e)throw e.error}}else o.remove(this);o=this.initialTeardown;if(We(o))try{o()}catch(e){n=e instanceof Ye?e.errors:[e]}o=this._finalizers;if(o){this._finalizers=null;try{for(var l=He(o),c=l.next();!c.done;c=l.next()){var u=c.value;try{Xe(u)}catch(e){n=null!=n?n:[],e instanceof Ye?n=ze(ze([],je(n)),je(e.errors)):n.push(e)}}}catch(e){i={error:e}}finally{try{c&&!c.done&&(r=l.return)&&r.call(l)}finally{if(i)throw i.error}}}if(n)throw new Ye(n)}},Ze.prototype.add=function(e){var t;if(e&&e!==this)if(this.closed)Xe(e);else{if(e instanceof Ze){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=null!=(t=this._finalizers)?t:[]).push(e)}},Ze.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},Ze.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},Ze.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&Ve(t,e)},Ze.prototype.remove=function(e){var t=this._finalizers;t&&Ve(t,e),e instanceof Ze&&e._removeParent(this)},Ze.EMPTY=((t=new Ze).closed=!0,t);var Ge=Ze,qe=Ge.EMPTY;function Ze(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}function Ke(e){return e instanceof Ge||e&&"closed"in e&&We(e.remove)&&We(e.add)&&We(e.unsubscribe)}function Xe(e){We(e)?e():e.unsubscribe()}var Je=void 0,Qe=!1,et=!1,tt={setTimeout:function(e,t){for(var i=[],r=2;r<arguments.length;r++)i[r-2]=arguments[r];var n=tt.delegate;return null!=n&&n.setTimeout?n.setTimeout.apply(n,ze([e,t],je(i))):setTimeout.apply(void 0,ze([e,t],je(i)))},clearTimeout:function(e){var t=tt.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function it(){}var rt=null;function nt(e){if(Qe){var t=!rt;if(t&&(rt={errorThrown:!1,error:null}),e(),t){var t=rt,i=t.errorThrown,t=t.error;if(rt=null,i)throw t}}else e()}Re(lt,ot=Ge),lt.create=function(e,t,i){return new pt(e,t,i)},lt.prototype.next=function(e){this.isStopped||this._next(e)},lt.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},lt.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},lt.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,ot.prototype.unsubscribe.call(this),this.destination=null)},lt.prototype._next=function(e){this.destination.next(e)},lt.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},lt.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}};var ot,at=lt,st=Function.prototype.bind;function lt(e){var t=ot.call(this)||this;return t.isStopped=!1,e?Ke(t.destination=e)&&e.add(t):t.destination=gt,t}function ct(e,t){return st.call(e,t)}mt.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(e){ft(e)}},mt.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){ft(e)}else ft(e)},mt.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){ft(e)}};var ut,dt=mt,pt=(Re(ht,ut=at),ht);function ht(e,t,i){var r=ut.call(this)||this,i=We(e)||!e?{next:null!=e?e:void 0,error:null!=t?t:void 0,complete:null!=i?i:void 0}:r&&et?((t=Object.create(e)).unsubscribe=function(){return r.unsubscribe()},{next:e.next&&ct(e.next,t),error:e.error&&ct(e.error,t),complete:e.complete&&ct(e.complete,t)}):e;return r.destination=new dt(i),r}function mt(e){this.partialObserver=e}function ft(e){var t=e;tt.setTimeout(function(){throw t})}var gt={closed:!0,next:it,error:function(e){throw e},complete:it},t="function"==typeof Symbol&&Symbol.observable||"@@observable";vt.prototype.lift=function(e){var t=new vt;return t.source=this,t.operator=e,t},vt.prototype.subscribe=function(e,t,i){var r,n=this,o=(r=e)&&r instanceof at||r&&We(r.next)&&We(r.error)&&We(r.complete)&&Ke(r)?e:new pt(e,t,i);return nt(function(){var e=n.operator,t=n.source;o.add(e?e.call(o,t):t?n._subscribe(o):n._trySubscribe(o))}),o},vt.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},vt.prototype.forEach=function(r,e){var n=this;return new(e=wt(e))(function(e,t){var i=new pt({next:function(e){try{r(e)}catch(e){t(e),i.unsubscribe()}},error:t,complete:e});n.subscribe(i)})},vt.prototype._subscribe=function(e){var t;return null==(t=this.source)?void 0:t.subscribe(e)},vt.prototype[t]=function(){return this},vt.prototype.pipe=function(){for(var t,e=[],i=0;i<arguments.length;i++)e[i]=arguments[i];return(0===(t=e).length?function(e){return e}:1===t.length?t[0]:function(e){return t.reduce(function(e,t){return t(e)},e)})(this)},vt.prototype.toPromise=function(e){var r=this;return new(e=wt(e))(function(e,t){var i;r.subscribe(function(e){return i=e},function(e){return t(e)},function(){return e(i)})})},vt.create=function(e){return new vt(e)};var yt=vt;function vt(e){e&&(this._subscribe=e)}function wt(e){return null!=(e=null!=e?e:Je)?e:Promise}var bt,_t,xt,Ct=Ue(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),t=(Re(kt,xt=yt),kt.prototype.lift=function(e){var t=new Pt(this,this);return t.operator=e,t},kt.prototype._throwIfClosed=function(){if(this.closed)throw new Ct},kt.prototype.next=function(n){var o=this;nt(function(){var t,e;if(o._throwIfClosed(),!o.isStopped){o.currentObservers||(o.currentObservers=Array.from(o.observers));try{for(var i=He(o.currentObservers),r=i.next();!r.done;r=i.next())r.value.next(n)}catch(e){t={error:e}}finally{try{r&&!r.done&&(e=i.return)&&e.call(i)}finally{if(t)throw t.error}}}})},kt.prototype.error=function(t){var i=this;nt(function(){if(i._throwIfClosed(),!i.isStopped){i.hasError=i.isStopped=!0,i.thrownError=t;for(var e=i.observers;e.length;)e.shift().error(t)}})},kt.prototype.complete=function(){var t=this;nt(function(){if(t._throwIfClosed(),!t.isStopped){t.isStopped=!0;for(var e=t.observers;e.length;)e.shift().complete()}})},kt.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(kt.prototype,"observed",{get:function(){var e;return 0<(null==(e=this.observers)?void 0:e.length)},enumerable:!1,configurable:!0}),kt.prototype._trySubscribe=function(e){return this._throwIfClosed(),xt.prototype._trySubscribe.call(this,e)},kt.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},kt.prototype._innerSubscribe=function(e){var t=this,i=this.hasError,r=this.isStopped,n=this.observers;return i||r?qe:(this.currentObservers=null,n.push(e),new Ge(function(){t.currentObservers=null,Ve(n,e)}))},kt.prototype._checkFinalizedStatuses=function(e){var t=this.hasError,i=this.thrownError,r=this.isStopped;t?e.error(i):r&&e.complete()},kt.prototype.asObservable=function(){var e=new yt;return e.source=this,e},kt.create=function(e,t){return new Pt(e,t)},kt),Pt=(Re(Lt,_t=t),Lt.prototype.next=function(e){var t,i;null!=(i=null==(t=this.destination)?void 0:t.next)&&i.call(t,e)},Lt.prototype.error=function(e){var t,i;null!=(i=null==(t=this.destination)?void 0:t.error)&&i.call(t,e)},Lt.prototype.complete=function(){var e,t;null!=(t=null==(e=this.destination)?void 0:e.complete)&&t.call(e)},Lt.prototype._subscribe=function(e){var t;return null!=(t=null==(t=this.source)?void 0:t.subscribe(e))?t:qe},Lt),Et={now:function(){return(Et.delegate||Date).now()},delegate:void 0},Tt=(Re(At,bt=t),At.prototype.next=function(e){var t=this,i=t.isStopped,r=t._buffer,n=t._infiniteTimeWindow,o=t._timestampProvider,t=t._windowTime;i||(r.push(e),n)||r.push(o.now()+t),this._trimBuffer(),bt.prototype.next.call(this,e)},At.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),i=this._infiniteTimeWindow,r=this._buffer.slice(),n=0;n<r.length&&!e.closed;n+=i?1:2)e.next(r[n]);return this._checkFinalizedStatuses(e),t},At.prototype._trimBuffer=function(){var e=this._bufferSize,t=this._timestampProvider,i=this._buffer,r=this._infiniteTimeWindow,n=(r?1:2)*e;if(e<1/0&&n<i.length&&i.splice(0,i.length-n),!r){for(var o=t.now(),a=0,s=1;s<i.length&&i[s]<=o;s+=2)a=s;a&&i.splice(0,a+1)}},At);function At(e,t,i){void 0===e&&(e=1/0),void 0===t&&(t=1/0),void 0===i&&(i=Et);var r=bt.call(this)||this;return r._bufferSize=e,r._windowTime=t,r._timestampProvider=i,r._buffer=[],r._infiniteTimeWindow=!0,r._infiniteTimeWindow=t===1/0,r._bufferSize=Math.max(1,e),r._windowTime=Math.max(1,t),r}function Lt(e,t){var i=_t.call(this)||this;return i.destination=e,i.source=t,i}function kt(){var e=xt.call(this)||this;return e.closed=!1,e.currentObservers=null,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}let Mt=[],St={};const Dt=[];function $t(r,n=oe){let o;const a=new Set;function s(e){if(i(r,e)&&(r=e,o)){const e=!Dt.length;for(const e of a)e[1](),Dt.push(e,r);if(e){for(let e=0;e<Dt.length;e+=2)Dt[e][0](Dt[e+1]);Dt.length=0}}}return{set:s,update:function(e){s(e(r))},subscribe:function(e,t=oe){const i=[e,t];return a.add(i),1===a.size&&(o=n(s)||oe),e(r),()=>{a.delete(i),0===a.size&&o&&(o(),o=null)}}}}function Bt(e,s,t){const l=!Array.isArray(e),c=l?[e]:e,u=s.length<2;return{subscribe:$t(t,t=>{let i=!1;const r=[];let n=0,o=oe;const a=()=>{var e;n||(o(),e=s(l?r[0]:r,t),u?t(e):o=ue(e)?e:oe)},e=c.map((e,t)=>d(e,e=>{r[t]=e,n&=~(1<<t),i&&a()},()=>{n|=1<<t}));return i=!0,a(),function(){ai(e),o(),i=!1}}).subscribe}}function It(e){return!(!e||"object"!=typeof e||(e=e,"[object RegExp]"===(t=Object.prototype.toString.call(e)))||"[object Date]"===t||e.$$typeof===Nt);var t}var Nt="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function Ft(e,t){return!1!==t.clone&&t.isMergeableObject(e)?zt(Array.isArray(e)?[]:{},e,t):e}function Ot(e,t,i){return e.concat(t).map(function(e){return Ft(e,i)})}function Rt(e){return Object.keys(e).concat((t=e,Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return Object.propertyIsEnumerable.call(t,e)}):[]));var t}function Ht(e,t){try{return t in e}catch(e){return!1}}function jt(r,n,o){var a={};return o.isMergeableObject(r)&&Rt(r).forEach(function(e){a[e]=Ft(r[e],o)}),Rt(n).forEach(function(e){var t,i;(!Ht(t=r,i=e)||Object.hasOwnProperty.call(t,i)&&Object.propertyIsEnumerable.call(t,i))&&(Ht(r,e)&&o.isMergeableObject(n[e])?a[e]=((t=o).customMerge&&"function"==typeof(t=t.customMerge(e))?t:zt)(r[e],n[e],o):a[e]=Ft(n[e],o))}),a}function zt(e,t,i){(i=i||{}).arrayMerge=i.arrayMerge||Ot,i.isMergeableObject=i.isMergeableObject||It,i.cloneUnlessOtherwiseSpecified=Ft;var r=Array.isArray(t);return r===Array.isArray(e)?r?i.arrayMerge(e,t,i):jt(e,t,i):Ft(t,i)}zt.all=function(e,i){if(Array.isArray(e))return e.reduce(function(e,t){return zt(e,t,i)},{});throw new Error("first argument should be an array")};var Wt=zt,Ut=function(e,t){return(Ut=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}))(e,t)};function Yt(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}Ut(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}var f,y,Vt,g=function(){return(g=Object.assign||function(e){for(var t,i=1,r=arguments.length;i<r;i++)for(var n in t=arguments[i])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}).apply(this,arguments)};function Gt(e,t,i){if(i||2===arguments.length)for(var r,n=0,o=t.length;n<o;n++)!r&&n in t||((r=r||Array.prototype.slice.call(t,0,n))[n]=t[n]);return e.concat(r||Array.prototype.slice.call(t))}function qt(e){return e.type===y.literal}function Zt(e){return e.type===y.number}function Kt(e){return e.type===y.date}function Xt(e){return e.type===y.time}function Jt(e){return e.type===y.select}function Qt(e){return e.type===y.plural}function ei(e){return e.type===y.tag}function ti(e){return e&&"object"==typeof e&&e.type===Vt.number}function ii(e){return e&&"object"==typeof e&&e.type===Vt.dateTime}(t=f=f||{})[t.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",t[t.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",t[t.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",t[t.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",t[t.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",t[t.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",t[t.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",t[t.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",t[t.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",t[t.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",t[t.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",t[t.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",t[t.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",t[t.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",t[t.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",t[t.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",t[t.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",t[t.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",t[t.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",t[t.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",t[t.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",t[t.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",t[t.INVALID_TAG=23]="INVALID_TAG",t[t.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",t[t.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",t[t.UNCLOSED_TAG=27]="UNCLOSED_TAG",(t=y=y||{})[t.literal=0]="literal",t[t.argument=1]="argument",t[t.number=2]="number",t[t.date=3]="date",t[t.time=4]="time",t[t.select=5]="select",t[t.plural=6]="plural",t[t.pound=7]="pound",t[t.tag=8]="tag",(t=Vt=Vt||{})[t.number=0]="number",t[t.dateTime=1]="dateTime";var t=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,ri=/(?:[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;var ni=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,oi=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,_i=/^(@+)?(\+|#+)?[rs]?$/g,xi=/(\*)(0+)|(#+)(0+)|(0+)/g,Ci=/^(0+)$/;function Pi(e){var r={};return"r"===e[e.length-1]?r.roundingPriority="morePrecision":"s"===e[e.length-1]&&(r.roundingPriority="lessPrecision"),e.replace(_i,function(e,t,i){return"string"!=typeof i?(r.minimumSignificantDigits=t.length,r.maximumSignificantDigits=t.length):"+"===i?r.minimumSignificantDigits=t.length:"#"===t[0]?r.maximumSignificantDigits=t.length:(r.minimumSignificantDigits=t.length,r.maximumSignificantDigits=t.length+("string"==typeof i?i.length:0)),""}),r}function Ei(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 Ti(e){return Ei(e)||{}}function Ai(e){for(var a={},t=0,i=e;t<i.length;t++){var r,n=i[t];switch(n.stem){case"percent":case"%":a.style="percent";continue;case"%x100":a.style="percent",a.scale=100;continue;case"currency":a.style="currency",a.currency=n.options[0];continue;case"group-off":case",_":a.useGrouping=!1;continue;case"precision-integer":case".":a.maximumFractionDigits=0;continue;case"measure-unit":case"unit":a.style="unit",a.unit=n.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":a.notation="compact",a.compactDisplay="short";continue;case"compact-long":case"KK":a.notation="compact",a.compactDisplay="long";continue;case"scientific":a=g(g(g({},a),{notation:"scientific"}),n.options.reduce(function(e,t){return g(g({},e),Ti(t))},{}));continue;case"engineering":a=g(g(g({},a),{notation:"engineering"}),n.options.reduce(function(e,t){return g(g({},e),Ti(t))},{}));continue;case"notation-simple":a.notation="standard";continue;case"unit-width-narrow":a.currencyDisplay="narrowSymbol",a.unitDisplay="narrow";continue;case"unit-width-short":a.currencyDisplay="code",a.unitDisplay="short";continue;case"unit-width-full-name":a.currencyDisplay="name",a.unitDisplay="long";continue;case"unit-width-iso-code":a.currencyDisplay="symbol";continue;case"scale":a.scale=parseFloat(n.options[0]);continue;case"integer-width":if(1<n.options.length)throw new RangeError("integer-width stems only accept a single optional option");n.options[0].replace(xi,function(e,t,i,r,n,o){if(t)a.minimumIntegerDigits=i.length;else{if(r&&n)throw new Error("We currently do not support maximum integer digits");if(o)throw new Error("We currently do not support exact integer digits")}return""});continue}if(Ci.test(n.stem))a.minimumIntegerDigits=n.stem.length;else if(oi.test(n.stem)){if(1<n.options.length)throw new RangeError("Fraction-precision stems only accept a single optional option");n.stem.replace(oi,function(e,t,i,r,n,o){return"*"===i?a.minimumFractionDigits=t.length:r&&"#"===r[0]?a.maximumFractionDigits=r.length:n&&o?(a.minimumFractionDigits=n.length,a.maximumFractionDigits=n.length+o.length):(a.minimumFractionDigits=t.length,a.maximumFractionDigits=t.length),""});var o=n.options[0];"w"===o?a=g(g({},a),{trailingZeroDisplay:"stripIfInteger"}):o&&(a=g(g({},a),Pi(o)))}else _i.test(n.stem)?a=g(g({},a),Pi(n.stem)):((o=Ei(n.stem))&&(a=g(g({},a),o)),(r=function(e){var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var i=e.slice(0,2);if("+!"===i?(t.signDisplay="always",e=e.slice(2)):"+?"===i&&(t.signDisplay="exceptZero",e=e.slice(2)),!Ci.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(n.stem))&&(a=g(g({},a),r)))}return a}var Li={AX:["H"],BQ:["H"],CP:["H"],CZ:["H"],DK:["H"],FI:["H"],ID:["H"],IS:["H"],ML:["H"],NE:["H"],RU:["H"],SE:["H"],SJ:["H"],SK:["H"],AS:["h","H"],BT:["h","H"],DJ:["h","H"],ER:["h","H"],GH:["h","H"],IN:["h","H"],LS:["h","H"],PG:["h","H"],PW:["h","H"],SO:["h","H"],TO:["h","H"],VU:["h","H"],WS:["h","H"],"001":["H","h"],AL:["h","H","hB"],TD:["h","H","hB"],"ca-ES":["H","h","hB"],CF:["H","h","hB"],CM:["H","h","hB"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],LU:["H","h","hB"],NP:["H","h","hB"],PF:["H","h","hB"],SC:["H","h","hB"],SM:["H","h","hB"],SN:["H","h","hB"],TF:["H","h","hB"],VA:["H","h","hB"],CY:["h","H","hb","hB"],GR:["h","H","hb","hB"],CO:["h","H","hB","hb"],DO:["h","H","hB","hb"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],NA:["h","H","hB","hb"],PA:["h","H","hB","hb"],PR:["h","H","hB","hb"],VE:["h","H","hB","hb"],AC:["H","h","hb","hB"],AI:["H","h","hb","hB"],BW:["H","h","hb","hB"],BZ:["H","h","hb","hB"],CC:["H","h","hb","hB"],CK:["H","h","hb","hB"],CX:["H","h","hb","hB"],DG:["H","h","hb","hB"],FK:["H","h","hb","hB"],GB:["H","h","hb","hB"],GG:["H","h","hb","hB"],GI:["H","h","hb","hB"],IE:["H","h","hb","hB"],IM:["H","h","hb","hB"],IO:["H","h","hb","hB"],JE:["H","h","hb","hB"],LT:["H","h","hb","hB"],MK:["H","h","hb","hB"],MN:["H","h","hb","hB"],MS:["H","h","hb","hB"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],PN:["H","h","hb","hB"],SH:["H","h","hb","hB"],SX:["H","h","hb","hB"],TA:["H","h","hb","hB"],ZA:["H","h","hb","hB"],"af-ZA":["H","h","hB","hb"],AR:["H","h","hB","hb"],CL:["H","h","hB","hb"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],EA:["H","h","hB","hb"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],GT:["H","h","hB","hb"],HN:["H","h","hB","hb"],IC:["H","h","hB","hb"],KG:["H","h","hB","hb"],KM:["H","h","hB","hb"],LK:["H","h","hB","hb"],MA:["H","h","hB","hb"],MX:["H","h","hB","hb"],NI:["H","h","hB","hb"],PY:["H","h","hB","hb"],SV:["H","h","hB","hb"],UY:["H","h","hB","hb"],JP:["H","h","K"],AD:["H","hB"],AM:["H","hB"],AO:["H","hB"],AT:["H","hB"],AW:["H","hB"],BE:["H","hB"],BF:["H","hB"],BJ:["H","hB"],BL:["H","hB"],BR:["H","hB"],CG:["H","hB"],CI:["H","hB"],CV:["H","hB"],DE:["H","hB"],EE:["H","hB"],FR:["H","hB"],GA:["H","hB"],GF:["H","hB"],GN:["H","hB"],GP:["H","hB"],GW:["H","hB"],HR:["H","hB"],IL:["H","hB"],IT:["H","hB"],KZ:["H","hB"],MC:["H","hB"],MD:["H","hB"],MF:["H","hB"],MQ:["H","hB"],MZ:["H","hB"],NC:["H","hB"],NL:["H","hB"],PM:["H","hB"],PT:["H","hB"],RE:["H","hB"],RO:["H","hB"],SI:["H","hB"],SR:["H","hB"],ST:["H","hB"],TG:["H","hB"],TR:["H","hB"],WF:["H","hB"],YT:["H","hB"],BD:["h","hB","H"],PK:["h","hB","H"],AZ:["H","hB","h"],BA:["H","hB","h"],BG:["H","hB","h"],CH:["H","hB","h"],GE:["H","hB","h"],LI:["H","hB","h"],ME:["H","hB","h"],RS:["H","hB","h"],UA:["H","hB","h"],UZ:["H","hB","h"],XK:["H","hB","h"],AG:["h","hb","H","hB"],AU:["h","hb","H","hB"],BB:["h","hb","H","hB"],BM:["h","hb","H","hB"],BS:["h","hb","H","hB"],CA:["h","hb","H","hB"],DM:["h","hb","H","hB"],"en-001":["h","hb","H","hB"],FJ:["h","hb","H","hB"],FM:["h","hb","H","hB"],GD:["h","hb","H","hB"],GM:["h","hb","H","hB"],GU:["h","hb","H","hB"],GY:["h","hb","H","hB"],JM:["h","hb","H","hB"],KI:["h","hb","H","hB"],KN:["h","hb","H","hB"],KY:["h","hb","H","hB"],LC:["h","hb","H","hB"],LR:["h","hb","H","hB"],MH:["h","hb","H","hB"],MP:["h","hb","H","hB"],MW:["h","hb","H","hB"],NZ:["h","hb","H","hB"],SB:["h","hb","H","hB"],SG:["h","hb","H","hB"],SL:["h","hb","H","hB"],SS:["h","hb","H","hB"],SZ:["h","hb","H","hB"],TC:["h","hb","H","hB"],TT:["h","hb","H","hB"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],VC:["h","hb","H","hB"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],ZM:["h","hb","H","hB"],BO:["H","hB","h","hb"],EC:["H","hB","h","hb"],ES:["H","hB","h","hb"],GQ:["H","hB","h","hb"],PE:["H","hB","h","hb"],AE:["h","hB","hb","H"],"ar-001":["h","hB","hb","H"],BH:["h","hB","hb","H"],DZ:["h","hB","hb","H"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],HK:["h","hB","hb","H"],IQ:["h","hB","hb","H"],JO:["h","hB","hb","H"],KW:["h","hB","hb","H"],LB:["h","hB","hb","H"],LY:["h","hB","hb","H"],MO:["h","hB","hb","H"],MR:["h","hB","hb","H"],OM:["h","hB","hb","H"],PH:["h","hB","hb","H"],PS:["h","hB","hb","H"],QA:["h","hB","hb","H"],SA:["h","hB","hb","H"],SD:["h","hB","hb","H"],SY:["h","hB","hb","H"],TN:["h","hB","hb","H"],YE:["h","hB","hb","H"],AF:["H","hb","hB","h"],LA:["H","hb","hB","h"],CN:["H","hB","hb","h"],LV:["H","hB","hb","h"],TL:["H","hB","hb","h"],"zu-ZA":["H","hB","hb","h"],CD:["hB","H"],IR:["hB","H"],"hi-IN":["hB","h","H"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"te-IN":["hB","h","H"],KH:["hB","h","H","hb"],"ta-IN":["hB","h","hb","H"],BN:["hb","hB","h","H"],MY:["hb","hB","h","H"],ET:["hB","hb","h","H"],"gu-IN":["hB","hb","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],TW:["hB","hb","h","H"],KE:["hB","hb","H","h"],MM:["hB","hb","H","h"],TZ:["hB","hb","H","h"],UG:["hB","hb","H","h"]};var ki=new RegExp("^".concat(t.source,"*")),Si=new RegExp("".concat(t.source,"*$"));function v(e,t){return{start:e,end:t}}var t=!!String.prototype.startsWith,Di=!!String.fromCodePoint,$i=!!Object.fromEntries,Bi=!!String.prototype.codePointAt,Ii=!!String.prototype.trimStart,Ni=!!String.prototype.trimEnd,Fi=Number.isSafeInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Oi=!0;try{Oi="a"===(null==(or=Gi("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))?void 0:or[0])}catch(yo){Oi=!1}var Ri,Hi,ji=t?function(e,t,i){return e.startsWith(t,i)}:function(e,t,i){return e.slice(i,i+t.length)===t},zi=Di?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var i,r="",n=e.length,o=0;o<n;){if(1114111<(i=e[o++]))throw RangeError(i+" is not a valid code point");r+=i<65536?String.fromCharCode(i):String.fromCharCode(55296+((i-=65536)>>10),i%1024+56320)}return r},Wi=$i?Object.fromEntries:function(e){for(var t={},i=0,r=e;i<r.length;i++){var n=r[i],o=n[0],n=n[1];t[o]=n}return t},Ui=Bi?function(e,t){return e.codePointAt(t)}:function(e,t){var i,r=e.length;if(!(t<0||r<=t))return(i=e.charCodeAt(t))<55296||56319<i||t+1===r||(r=e.charCodeAt(t+1))<56320||57343<r?i:r-56320+(i-55296<<10)+65536},Yi=Ii?function(e){return e.trimStart()}:function(e){return e.replace(ki,"")},Vi=Ni?function(e){return e.trimEnd()}:function(e){return e.replace(Si,"")};function Gi(e,t){return new RegExp(e,t)}Hi=Oi?(Ri=Gi("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),function(e,t){return Ri.lastIndex=t,null!=(t=Ri.exec(e)[1])?t:""}):function(e,t){for(var i,r=[];;){var n=Ui(e,t);if(void 0===n||Ki(n)||33<=(i=n)&&i<=35||36===i||37<=i&&i<=39||40===i||41===i||42===i||43===i||44===i||45===i||46<=i&&i<=47||58<=i&&i<=59||60<=i&&i<=62||63<=i&&i<=64||91===i||92===i||93===i||94===i||96===i||123===i||124===i||125===i||126===i||161===i||162<=i&&i<=165||166===i||167===i||169===i||171===i||172===i||174===i||176===i||177===i||182===i||187===i||191===i||215===i||247===i||8208<=i&&i<=8213||8214<=i&&i<=8215||8216===i||8217===i||8218===i||8219<=i&&i<=8220||8221===i||8222===i||8223===i||8224<=i&&i<=8231||8240<=i&&i<=8248||8249===i||8250===i||8251<=i&&i<=8254||8257<=i&&i<=8259||8260===i||8261===i||8262===i||8263<=i&&i<=8273||8274===i||8275===i||8277<=i&&i<=8286||8592<=i&&i<=8596||8597<=i&&i<=8601||8602<=i&&i<=8603||8604<=i&&i<=8607||8608===i||8609<=i&&i<=8610||8611===i||8612<=i&&i<=8613||8614===i||8615<=i&&i<=8621||8622===i||8623<=i&&i<=8653||8654<=i&&i<=8655||8656<=i&&i<=8657||8658===i||8659===i||8660===i||8661<=i&&i<=8691||8692<=i&&i<=8959||8960<=i&&i<=8967||8968===i||8969===i||8970===i||8971===i||8972<=i&&i<=8991||8992<=i&&i<=8993||8994<=i&&i<=9e3||9001===i||9002===i||9003<=i&&i<=9083||9084===i||9085<=i&&i<=9114||9115<=i&&i<=9139||9140<=i&&i<=9179||9180<=i&&i<=9185||9186<=i&&i<=9254||9255<=i&&i<=9279||9280<=i&&i<=9290||9291<=i&&i<=9311||9472<=i&&i<=9654||9655===i||9656<=i&&i<=9664||9665===i||9666<=i&&i<=9719||9720<=i&&i<=9727||9728<=i&&i<=9838||9839===i||9840<=i&&i<=10087||10088===i||10089===i||10090===i||10091===i||10092===i||10093===i||10094===i||10095===i||10096===i||10097===i||10098===i||10099===i||10100===i||10101===i||10132<=i&&i<=10175||10176<=i&&i<=10180||10181===i||10182===i||10183<=i&&i<=10213||10214===i||10215===i||10216===i||10217===i||10218===i||10219===i||10220===i||10221===i||10222===i||10223===i||10224<=i&&i<=10239||10240<=i&&i<=10495||10496<=i&&i<=10626||10627===i||10628===i||10629===i||10630===i||10631===i||10632===i||10633===i||10634===i||10635===i||10636===i||10637===i||10638===i||10639===i||10640===i||10641===i||10642===i||10643===i||10644===i||10645===i||10646===i||10647===i||10648===i||10649<=i&&i<=10711||10712===i||10713===i||10714===i||10715===i||10716<=i&&i<=10747||10748===i||10749===i||10750<=i&&i<=11007||11008<=i&&i<=11055||11056<=i&&i<=11076||11077<=i&&i<=11078||11079<=i&&i<=11084||11085<=i&&i<=11123||11124<=i&&i<=11125||11126<=i&&i<=11157||11158===i||11159<=i&&i<=11263||11776<=i&&i<=11777||11778===i||11779===i||11780===i||11781===i||11782<=i&&i<=11784||11785===i||11786===i||11787===i||11788===i||11789===i||11790<=i&&i<=11798||11799===i||11800<=i&&i<=11801||11802===i||11803===i||11804===i||11805===i||11806<=i&&i<=11807||11808===i||11809===i||11810===i||11811===i||11812===i||11813===i||11814===i||11815===i||11816===i||11817===i||11818<=i&&i<=11822||11823===i||11824<=i&&i<=11833||11834<=i&&i<=11835||11836<=i&&i<=11839||11840===i||11841===i||11842===i||11843<=i&&i<=11855||11856<=i&&i<=11857||11858===i||11859<=i&&i<=11903||12289<=i&&i<=12291||12296===i||12297===i||12298===i||12299===i||12300===i||12301===i||12302===i||12303===i||12304===i||12305===i||12306<=i&&i<=12307||12308===i||12309===i||12310===i||12311===i||12312===i||12313===i||12314===i||12315===i||12316===i||12317===i||12318<=i&&i<=12319||12320===i||12336===i||64830===i||64831===i||65093<=i&&i<=65094)break;r.push(n),t+=65536<=n?2:1}return zi.apply(void 0,r)};o.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},o.prototype.parseMessage=function(e,t,i){for(var r=[];!this.isEOF();){var n,o=this.char();if(123===o){if((n=this.parseArgument(e,i)).err)return n;r.push(n.val)}else{if(125===o&&0<e)break;if(35!==o||"plural"!==t&&"selectordinal"!==t){if(60===o&&!this.ignoreTag&&47===this.peek()){if(i)break;return this.error(f.UNMATCHED_CLOSING_TAG,v(this.clonePosition(),this.clonePosition()))}if(60===o&&!this.ignoreTag&&Zi(this.peek()||0)){if((n=this.parseTag(e,t)).err)return n}else if((n=this.parseLiteral(e,t)).err)return n;r.push(n.val)}else{o=this.clonePosition();this.bump(),r.push({type:y.pound,location:v(o,this.clonePosition())})}}}return{val:r,err:null}},o.prototype.parseTag=function(e,t){var i,r=this.clonePosition(),n=(this.bump(),this.parseTagName());return this.bumpSpace(),this.bumpIf("/>")?{val:{type:y.literal,value:"<".concat(n,"/>"),location:v(r,this.clonePosition())},err:null}:this.bumpIf(">")?(e=this.parseMessage(e+1,t,!0)).err?e:(t=e.val,e=this.clonePosition(),this.bumpIf("</")?this.isEOF()||!Zi(this.char())?this.error(f.INVALID_TAG,v(e,this.clonePosition())):(i=this.clonePosition(),n!==this.parseTagName()?this.error(f.UNMATCHED_CLOSING_TAG,v(i,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:y.tag,value:n,children:t,location:v(r,this.clonePosition())},err:null}:this.error(f.INVALID_TAG,v(e,this.clonePosition())))):this.error(f.UNCLOSED_TAG,v(r,this.clonePosition()))):this.error(f.INVALID_TAG,v(r,this.clonePosition()))},o.prototype.parseTagName=function(){var e,t=this.offset();for(this.bump();!this.isEOF()&&(45===(e=this.char())||46===e||48<=e&&e<=57||95===e||97<=e&&e<=122||65<=e&&e<=90||183==e||192<=e&&e<=214||216<=e&&e<=246||248<=e&&e<=893||895<=e&&e<=8191||8204<=e&&e<=8205||8255<=e&&e<=8256||8304<=e&&e<=8591||11264<=e&&e<=12271||12289<=e&&e<=55295||63744<=e&&e<=64975||65008<=e&&e<=65533||65536<=e&&e<=983039);)this.bump();return this.message.slice(t,this.offset())},o.prototype.parseLiteral=function(e,t){for(var i=this.clonePosition(),r="";;){var n=this.tryParseQuote(t);if(n)r+=n;else{n=this.tryParseUnquoted(e,t);if(n)r+=n;else{n=this.tryParseLeftAngleBracket();if(!n)break;r+=n}}}i=v(i,this.clonePosition());return{val:{type:y.literal,value:r,location:i},err:null}},o.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(Zi(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},o.prototype.tryParseQuote=function(e){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===e||"selectordinal"===e)break;return null;default:return null}this.bump();var t=[this.char()];for(this.bump();!this.isEOF();){var i=this.char();if(39===i){if(39!==this.peek()){this.bump();break}t.push(39),this.bump()}else t.push(i);this.bump()}return zi.apply(void 0,t)},o.prototype.tryParseUnquoted=function(e,t){var i;return this.isEOF()||60===(i=this.char())||123===i||35===i&&("plural"===t||"selectordinal"===t)||125===i&&0<e?null:(this.bump(),zi(i))},o.prototype.parseArgument=function(e,t){var i=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(f.EXPECT_ARGUMENT_CLOSING_BRACE,v(i,this.clonePosition()));if(125===this.char())return this.bump(),this.error(f.EMPTY_ARGUMENT,v(i,this.clonePosition()));var r=this.parseIdentifierIfPossible().value;if(!r)return this.error(f.MALFORMED_ARGUMENT,v(i,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(f.EXPECT_ARGUMENT_CLOSING_BRACE,v(i,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:y.argument,value:r,location:v(i,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(f.EXPECT_ARGUMENT_CLOSING_BRACE,v(i,this.clonePosition())):this.parseArgumentOptions(e,t,r,i);default:return this.error(f.MALFORMED_ARGUMENT,v(i,this.clonePosition()))}},o.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),i=Hi(this.message,t),t=t+i.length;return this.bumpTo(t),{value:i,location:v(e,this.clonePosition())}},o.prototype.parseArgumentOptions=function(e,t,i,r){var n,o=this.clonePosition(),a=this.parseIdentifierIfPossible().value,s=this.clonePosition();switch(a){case"":return this.error(f.EXPECT_ARGUMENT_TYPE,v(o,s));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition();if((d=this.parseSimpleArgStyleIfPossible()).err)return d;if(0===(p=Vi(d.val)).length)return this.error(f.EXPECT_ARGUMENT_STYLE,v(this.clonePosition(),this.clonePosition()));l={style:p,styleLocation:v(c,this.clonePosition())}}return(c=this.tryParseArgumentClose(r)).err?c:(h=v(r,this.clonePosition()),l&&ji(null==l?void 0:l.style,"::",0)?(m=Yi(l.style.slice(2)),"number"===a?(d=this.parseNumberSkeletonFromString(m,l.styleLocation)).err?d:{val:{type:y.number,value:i,location:h,style:d.val},err:null}:0===m.length?this.error(f.EXPECT_DATE_TIME_SKELETON,h):(u=m,this.locale&&(u=function(e,t){for(var i="",r=0;r<e.length;r++){var n=e.charAt(r);if("j"===n){for(var o=0;r+1<e.length&&e.charAt(r+1)===n;)o++,r++;var a=1+(1&o),s=o<2?1:3+(o>>1),l=function(e){var t,i=e.hourCycle;if(i=void 0===i&&e.hourCycles&&e.hourCycles.length?e.hourCycles[0]:i)switch(i){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}return"root"!==(i=e.language)&&(t=e.maximize().region),(Li[t||""]||Li[i||""]||Li["".concat(i,"-001")]||Li["001"])[0]}(t);for("H"!=l&&"k"!=l||(s=0);0<s--;)i+="a";for(;0<a--;)i=l+i}else i+="J"===n?"H":n}return i}(m,this.locale)),p={type:Vt.dateTime,pattern:u,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?(n={},u.replace(ri,function(e){var t=e.length;switch(e[0]){case"G":n.era=4===t?"long":5===t?"narrow":"short";break;case"y":n.year=2===t?"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":n.month=["numeric","2-digit","short","long","narrow"][t-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":n.day=["numeric","2-digit"][t-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":n.weekday=4!==t&&5===t?"narrow":"short";break;case"e":if(t<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");n.weekday=["short","long","narrow","short"][t-4];break;case"c":if(t<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");n.weekday=["short","long","narrow","short"][t-4];break;case"a":n.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":n.hourCycle="h12",n.hour=["numeric","2-digit"][t-1];break;case"H":n.hourCycle="h23",n.hour=["numeric","2-digit"][t-1];break;case"K":n.hourCycle="h11",n.hour=["numeric","2-digit"][t-1];break;case"k":n.hourCycle="h24",n.hour=["numeric","2-digit"][t-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":n.minute=["numeric","2-digit"][t-1];break;case"s":n.second=["numeric","2-digit"][t-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":n.timeZoneName=t<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""}),n):{}},{val:{type:"date"===a?y.date:y.time,value:i,location:h,style:p},err:null})):{val:{type:"number"===a?y.number:"date"===a?y.date:y.time,value:i,location:h,style:null!=(m=null==l?void 0:l.style)?m:null},err:null});case"plural":case"selectordinal":case"select":var u=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(f.EXPECT_SELECT_ARGUMENT_OPTIONS,v(u,g({},u)));this.bumpSpace();var d,p=this.parseIdentifierIfPossible(),h=0;if("select"!==a&&"offset"===p.value){if(!this.bumpIf(":"))return this.error(f.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,v(this.clonePosition(),this.clonePosition()));if(this.bumpSpace(),(d=this.tryParseDecimalInteger(f.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,f.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return d;this.bumpSpace(),p=this.parseIdentifierIfPossible(),h=d.val}var m,l=this.tryParsePluralOrSelectOptions(e,a,t,p);return l.err?l:(c=this.tryParseArgumentClose(r)).err?c:(m=v(r,this.clonePosition()),"select"===a?{val:{type:y.select,value:i,options:Wi(l.val),location:m},err:null}:{val:{type:y.plural,value:i,options:Wi(l.val),offset:h,pluralType:"plural"===a?"cardinal":"ordinal",location:m},err:null});default:return this.error(f.INVALID_ARGUMENT_TYPE,v(o,s))}},o.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(f.EXPECT_ARGUMENT_CLOSING_BRACE,v(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},o.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();)switch(this.char()){case 39:this.bump();var i=this.clonePosition();if(!this.bumpUntil("'"))return this.error(f.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,v(i,this.clonePosition()));this.bump();break;case 123:e+=1,this.bump();break;case 125:if(!(0<e))return{val:this.message.slice(t.offset,this.offset()),err:null};--e;break;default:this.bump()}return{val:this.message.slice(t.offset,this.offset()),err:null}},o.prototype.parseNumberSkeletonFromString=function(e,t){var i=[];try{i=function(e){if(0===e.length)throw new Error("Number skeleton cannot be empty");for(var t=[],i=0,r=e.split(ni).filter(function(e){return 0<e.length});i<r.length;i++){var n=r[i].split("/");if(0===n.length)throw new Error("Invalid number skeleton");for(var o=n[0],n=n.slice(1),a=0,s=n;a<s.length;a++)if(0===s[a].length)throw new Error("Invalid number skeleton");t.push({stem:o,options:n})}return t}(e)}catch(e){return this.error(f.INVALID_NUMBER_SKELETON,t)}return{val:{type:Vt.number,tokens:i,location:t,parsedOptions:this.shouldParseSkeletons?Ai(i):{}},err:null}},o.prototype.tryParsePluralOrSelectOptions=function(e,t,i,r){for(var n=!1,o=[],a=new Set,s=r.value,l=r.location;;){if(0===s.length){var c=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var u=this.tryParseDecimalInteger(f.EXPECT_PLURAL_ARGUMENT_SELECTOR,f.INVALID_PLURAL_ARGUMENT_SELECTOR);if(u.err)return u;l=v(c,this.clonePosition()),s=this.message.slice(c.offset,this.offset())}if(a.has(s))return this.error("select"===t?f.DUPLICATE_SELECT_ARGUMENT_SELECTOR:f.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);"other"===s&&(n=!0),this.bumpSpace();u=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?f.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:f.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,v(this.clonePosition(),this.clonePosition()));c=this.parseMessage(e+1,t,i);if(c.err)return c;var d=this.tryParseArgumentClose(u);if(d.err)return d;o.push([s,{value:c.val,location:v(u,this.clonePosition())}]),a.add(s),this.bumpSpace(),s=(d=this.parseIdentifierIfPossible()).value,l=d.location}return 0===o.length?this.error("select"===t?f.EXPECT_SELECT_ARGUMENT_SELECTOR:f.EXPECT_PLURAL_ARGUMENT_SELECTOR,v(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!n?this.error(f.MISSING_OTHER_CLAUSE,v(this.clonePosition(),this.clonePosition())):{val:o,err:null}},o.prototype.tryParseDecimalInteger=function(e,t){var i=1,r=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(i=-1);for(var n=!1,o=0;!this.isEOF();){var a=this.char();if(!(48<=a&&a<=57))break;n=!0,o=10*o+(a-48),this.bump()}r=v(r,this.clonePosition());return n?Fi(o*=i)?{val:o,err:null}:this.error(t,r):this.error(e,r)},o.prototype.offset=function(){return this.position.offset},o.prototype.isEOF=function(){return this.offset()===this.message.length},o.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},o.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=Ui(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},o.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},o.prototype.bump=function(){var e;this.isEOF()||(10===(e=this.char())?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2))},o.prototype.bumpIf=function(e){if(ji(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},o.prototype.bumpUntil=function(e){var t=this.offset(),e=this.message.indexOf(e,t);return 0<=e?(this.bumpTo(e),!0):(this.bumpTo(this.message.length),!1)},o.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset ".concat(e," must be greater than or equal to the current offset ").concat(this.offset()));for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(e<t)throw Error("targetOffset ".concat(e," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},o.prototype.bumpSpace=function(){for(;!this.isEOF()&&Ki(this.char());)this.bump()},o.prototype.peek=function(){var e,t;return!this.isEOF()&&(e=this.char(),t=this.offset(),null!=(t=this.message.charCodeAt(t+(65536<=e?2:1))))?t:null};var qi=o;function o(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}function Zi(e){return 97<=e&&e<=122||65<=e&&e<=90}function Ki(e){return 9<=e&&e<=13||32===e||133===e||8206<=e&&e<=8207||8232===e||8233===e}function Xi(e,t){t=g({shouldParseSkeletons:!0,requiresOtherClause:!0},t=void 0===t?{}:t);var i,e=new qi(e,t).parse();if(e.err)throw(i=SyntaxError(f[e.err.kind])).location=e.err.location,i.originalMessage=e.err.message,i;return null!=t&&t.captureLocation||function i(e){e.forEach(function(e){if(delete e.location,Jt(e)||Qt(e))for(var t in e.options)delete e.options[t].location,i(e.options[t].value);else Zt(e)&&ti(e.style)||(Kt(e)||Xt(e))&&ii(e.style)?delete e.style.location:ei(e)&&i(e.children)})}(e.val),e.val}function Ji(e,t){var i=t&&t.cache?t.cache:ar,r=t&&t.serializer?t.serializer:ir;return(t&&t.strategy?t.strategy:function(e,t){return tr(e,this,1===e.length?Qi:er,t.cache.create(),t.serializer)})(e,{cache:i,serializer:r})}function Qi(e,t,i,r){var i=null==r||"number"==typeof r||"boolean"==typeof r?r:i(r),n=t.get(i);return void 0===n&&(n=e.call(this,r),t.set(i,n)),n}function er(e,t,i){var r=Array.prototype.slice.call(arguments,3),i=i(r),n=t.get(i);return void 0===n&&(n=e.apply(this,r),t.set(i,n)),n}function tr(e,t,i,r,n){return i.bind(t,e,r,n)}var ir=function(){return JSON.stringify(arguments)};function rr(){this.cache=Object.create(null)}rr.prototype.get=function(e){return this.cache[e]},rr.prototype.set=function(e,t){this.cache[e]=t};var nr,or,ar={create:function(){return new rr}},sr={variadic:function(e,t){return tr(e,this,er,t.cache.create(),t.serializer)},monadic:function(e,t){return tr(e,this,Qi,t.cache.create(),t.serializer)}};(or=nr=nr||{}).MISSING_VALUE="MISSING_VALUE",or.INVALID_VALUE="INVALID_VALUE",or.MISSING_INTL_API="MISSING_INTL_API";Yt(br,pr=Error),br.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)};var lr,cr,ur,dr,pr,hr=br,mr=(Yt(wr,dr=hr),wr),fr=(Yt(vr,ur=hr),vr),gr=(Yt(yr,cr=hr),yr);function yr(e,t){return cr.call(this,'The intl string context variable "'.concat(e,'" was not provided to the string "').concat(t,'"'),nr.MISSING_VALUE,t)||this}function vr(e,t,i){return ur.call(this,'Value for "'.concat(e,'" must be of type ').concat(t),nr.INVALID_VALUE,i)||this}function wr(e,t,i,r){return dr.call(this,'Invalid values for "'.concat(e,'": "').concat(t,'". Options are "').concat(Object.keys(i).join('", "'),'"'),nr.INVALID_VALUE,r)||this}function br(e,t,i){e=pr.call(this,e)||this;return e.code=t,e.originalMessage=i,e}function _r(e,t,i,r,n,o,a){if(1===e.length&&qt(e[0]))return[{type:lr.literal,value:e[0].value}];for(var s=[],l=0,c=e;l<c.length;l++){var u=c[l];if(qt(u))s.push({type:lr.literal,value:u.value});else if(u.type===y.pound)"number"==typeof o&&s.push({type:lr.literal,value:i.getNumberFormat(t).format(o)});else{var d=u.value;if(!(n&&d in n))throw new gr(d,a);d=n[d];if(u.type===y.argument)d&&"string"!=typeof d&&"number"!=typeof d||(d="string"==typeof d||"number"==typeof d?String(d):""),s.push({type:"string"==typeof d?lr.literal:lr.object,value:d});else if(Kt(u)){var p="string"==typeof u.style?r.date[u.style]:ii(u.style)?u.style.parsedOptions:void 0;s.push({type:lr.literal,value:i.getDateTimeFormat(t,p).format(d)})}else if(Xt(u))p="string"==typeof u.style?r.time[u.style]:ii(u.style)?u.style.parsedOptions:r.time.medium,s.push({type:lr.literal,value:i.getDateTimeFormat(t,p).format(d)});else if(Zt(u))(p="string"==typeof u.style?r.number[u.style]:ti(u.style)?u.style.parsedOptions:void 0)&&p.scale&&(d*=p.scale||1),s.push({type:lr.literal,value:i.getNumberFormat(t,p).format(d)});else{if(ei(u)){var h=u.children,m=u.value,f=n[m];if("function"!=typeof f)throw new fr(m,"function",a);m=f(_r(h,t,i,r,n,o).map(function(e){return e.value}));Array.isArray(m)||(m=[m]),s.push.apply(s,m.map(function(e){return{type:"string"==typeof e?lr.literal:lr.object,value:e}}))}if(Jt(u)){if(!(g=u.options[d]||u.options.other))throw new mr(u.value,d,Object.keys(u.options),a);s.push.apply(s,_r(g.value,t,i,r,n))}else if(Qt(u)){if(!(g=u.options["=".concat(d)])){if(!Intl.PluralRules)throw new hr('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',nr.MISSING_INTL_API,a);var f=i.getPluralRules(t,{type:u.pluralType}).select(d-(u.offset||0)),g=u.options[f]||u.options.other}if(!g)throw new mr(u.value,d,Object.keys(u.options),a);s.push.apply(s,_r(g.value,t,i,r,n,d-(u.offset||0)))}}}}return(e=s).length<2?e:e.reduce(function(e,t){var i=e[e.length-1];return i&&i.type===lr.literal&&t.type===lr.literal?i.value+=t.value:e.push(t),e},[])}function xr(i){return{create:function(){return{get:function(e){return i[e]},set:function(e,t){i[e]=t}}}}}(t=lr=lr||{})[t.literal=0]="literal",t[t.object=1]="object";Object.defineProperty(Pr,"defaultLocale",{get:function(){return Pr.memoizedDefaultLocale||(Pr.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),Pr.memoizedDefaultLocale},enumerable:!1,configurable:!0}),Pr.memoizedDefaultLocale=null,Pr.resolveLocale=function(e){var t=Intl.NumberFormat.supportedLocalesOf(e);return 0<t.length?new Intl.Locale(t[0]):new Intl.Locale("string"==typeof e?e:e[0])},Pr.__parse=Xi,Pr.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"}}};var Cr=Pr;function Pr(e,t,i,r){var n,o,a=this;if(void 0===t&&(t=Pr.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var e=a.formatToParts(e);return 1===e.length?e[0].value:(e=e.reduce(function(e,t){return e.length&&t.type===lr.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e},[])).length<=1?e[0]||"":e},this.formatToParts=function(e){return _r(a.ast,a.locales,a.formatters,a.formats,e,void 0,a.message)},this.resolvedOptions=function(){return{locale:a.resolvedLocale.toString()}},this.getAst=function(){return a.ast},this.locales=t,this.resolvedLocale=Pr.resolveLocale(t),"string"==typeof e){if(this.message=e,!Pr.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=Pr.__parse(e,{ignoreTag:null==r?void 0:r.ignoreTag,locale:this.resolvedLocale})}else this.ast=e;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=(n=Pr.formats,(o=i)?Object.keys(n).reduce(function(e,t){var i,r;return e[t]=(i=n[t],(r=o[t])?g(g(g({},i||{}),r||{}),Object.keys(i).reduce(function(e,t){return e[t]=g(g({},i[t]),r[t]||{}),e},{})):i),e},g({},n)):n),this.formatters=r&&r.formatters||{getNumberFormat:Ji(function(){for(var e,t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return new((e=Intl.NumberFormat).bind.apply(e,Gt([void 0],t,!1)))},{cache:xr((t=void 0===(t=this.formatterCache)?{number:{},dateTime:{},pluralRules:{}}:t).number),strategy:sr.variadic}),getDateTimeFormat:Ji(function(){for(var e,t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return new((e=Intl.DateTimeFormat).bind.apply(e,Gt([void 0],t,!1)))},{cache:xr(t.dateTime),strategy:sr.variadic}),getPluralRules:Ji(function(){for(var e,t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return new((e=Intl.PluralRules).bind.apply(e,Gt([void 0],t,!1)))},{cache:xr(t.pluralRules),strategy:sr.variadic})}}const Er={},Tr=(e,t,i)=>i&&(t in Er||(Er[t]={}),e in Er[t]||(Er[t][e]=i),i),Ar=(t,i)=>{if(null!=i){if(i in Er&&t in Er[i])return Er[i][t];var r=qr(i);for(let e=0;e<r.length;e++){var n=function(e,t){if(!Mr(e))return null;e=function(e){return Lr[e]||null}(e),e=function(e,i){if(null!=i){if(i in e)return e[i];var r=i.split(".");let t=e;for(let e=0;e<r.length;e++)if("object"==typeof t){if(0<e){const i=r.slice(e,r.length).join(".");if(i in t){t=t[i];break}}t=t[r[e]]}else t=void 0;return t}}(e,t);return e}(r[e],t);if(n)return Tr(t,i,n)}}};let Lr;const kr=$t({});function Mr(e){return e in Lr}function B(t,...i){delete Er[t],kr.update(e=>(e[t]=Wt.all([e[t]||{},...i]),e))}Bt([kr],([e])=>Object.keys(e)),kr.subscribe(e=>Lr=e);const Sr={};function Dr(e){return Sr[e]}function $r(e){return null!=e&&qr(e).some(e=>{return null==(e=Dr(e))?void 0:e.size})}function Br(r,e){return Promise.all(e.map(e=>{return t=r,i=e,Sr[t].delete(i),0===Sr[t].size&&delete Sr[t],e().then(e=>e.default||e);var t,i})).then(e=>B(r,...e))}const Ir={};function Nr(e){var t;return $r(e)?(t=qr(e).map(e=>{var t=Dr(e);return[e,t?[...t]:[]]}).filter(([,e])=>0<e.length),Ir[e]=Promise.all(t.map(([e,t])=>Br(e,t))).then(()=>{if($r(e))return Nr(e);delete Ir[e]}),Ir[e]):e in Ir?Ir[e]:Promise.resolve()}const Fr={fallbackLocale:null,loadingDelay:200,formats:{number:{scientific:{notation:"scientific"},engineering:{notation:"engineering"},compactLong:{notation:"compact",compactDisplay:"long"},compactShort:{notation:"compact",compactDisplay:"short"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0};function Or(){return Fr}const Rr=$t(!1);var Hr=Object.defineProperty,Di=Object.defineProperties,$i=Object.getOwnPropertyDescriptors,jr=Object.getOwnPropertySymbols,zr=Object.prototype.hasOwnProperty,Wr=Object.prototype.propertyIsEnumerable,Ur=(e,t,i)=>t in e?Hr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i;let Yr;const Vr=$t(null);function Gr(e){return e.split("-").map((e,t,i)=>i.slice(0,t+1).join("-")).reverse()}function qr(e,t=Fr.fallbackLocale){e=Gr(e);return t?[...new Set([...e,...Gr(t)])]:e}function Zr(){return null!=Yr?Yr:void 0}Vr.subscribe(e=>{Yr=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)});Bi=((e,t)=>{for(var i in t=t||{})zr.call(t,i)&&Ur(e,i,t[i]);if(jr)for(var i of jr(t))Wr.call(t,i)&&Ur(e,i,t[i]);return e})({},Vr);const Se=Di(Bi,$i({set:t=>{if(t&&function(e){if(null==e)return;const t=qr(e);for(let e=0;e<t.length;e++){const i=t[e];if(Mr(i))return i}}(t)&&$r(t)){const{loadingDelay:i}=Or();let e;return"undefined"!=typeof window&&null!=Zr()&&i?e=window.setTimeout(()=>Rr.set(!0),i):Rr.set(!0),Nr(t).then(()=>{Vr.set(t)}).finally(()=>{clearTimeout(e),Rr.set(!1)})}return Vr.set(t)}})),Kr=i=>{const r=Object.create(null);return e=>{var t=JSON.stringify(e);return t in r?r[t]:r[t]=i(e)}};var Xr=Object.defineProperty,Jr=Object.getOwnPropertySymbols,Qr=Object.prototype.hasOwnProperty,en=Object.prototype.propertyIsEnumerable,tn=(e,t,i)=>t in e?Xr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,rn=(e,t)=>{for(var i in t=t||{})Qr.call(t,i)&&tn(e,i,t[i]);if(Jr)for(var i of Jr(t))en.call(t,i)&&tn(e,i,t[i]);return e},nn=(e,t)=>{var i={};for(r in e)Qr.call(e,r)&&t.indexOf(r)<0&&(i[r]=e[r]);if(null!=e&&Jr)for(var r of Jr(e))t.indexOf(r)<0&&en.call(e,r)&&(i[r]=e[r]);return i};const on=(e,t)=>{var i=Fr["formats"];if(e in i&&t in i[e])return i[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},an=Kr(e=>{var{locale:t,format:i}=e,e=nn(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return i&&(e=on("number",i)),new Intl.NumberFormat(t,e)}),sn=Kr(e=>{var{locale:t,format:i}=e,e=nn(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return i?e=on("date",i):0===Object.keys(e).length&&(e=on("date","short")),new Intl.DateTimeFormat(t,e)}),ln=Kr(e=>{var{locale:t,format:i}=e,e=nn(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return i?e=on("time",i):0===Object.keys(e).length&&(e=on("time","short")),new Intl.DateTimeFormat(t,e)}),cn=Kr((e,t=Zr())=>new Cr(e,t,Fr.formats,{ignoreTag:Fr.ignoreTag})),De=Bt([Se,kr],()=>(e,t={})=>{var i,r;let n=t;"object"==typeof e&&(e=(n=e).id);var{values:o,locale:a=Zr(),default:s}=n;if(null==a)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let l=Ar(e,a);if(l){if("string"!=typeof l)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),l}else l=null!=(r=null!=(i=null==(i=(r=Fr).handleMissingMessage)?void 0:i.call(r,{locale:a,id:e,defaultValue:s}))?i:s)?r:e;if(!o)return l;let c=l;try{c=cn(l,a).format(o)}catch(t){t instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return c}),un=(Bt([Se],()=>(e,t)=>((e={})=>{var{locale:t=Zr()}=e,e=nn(e,["locale"]);return ln(rn({locale:t},e))})(t).format(e)),Bt([Se],()=>(e,t)=>((e={})=>{var{locale:t=Zr()}=e,e=nn(e,["locale"]);return sn(rn({locale:t},e))})(t).format(e)),Bt([Se],()=>(e,t)=>((e={})=>{var{locale:t=Zr()}=e,e=nn(e,["locale"]);return an(rn({locale:t},e))})(t).format(e)),Bt([Se,kr],()=>(e,t=Zr())=>Ar(e,t)),window.emWidgets={topic:(e,t=0)=>{return-1==Mt.indexOf(e)&&(t=new Tt(t),St[e]=t,Mt.push(e)),St[e]}},e=>!!(e.toLowerCase().match(/android/i)||e.toLowerCase().match(/blackberry|bb/i)||e.toLowerCase().match(/iphone|ipad|ipod/i)||e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i))),$e=e=>e.toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC";function dn(e,t){B(e,t)}const pn={en:{profileUpdateSuccess:"Profile updated!",timeoutSuccess:"Timeout active",selfExclusionSuccess:"Self exclusion active",accountClosureSuccess:"Account closed",limitsUpdateSuccess:"Limits updated",limitsDeleteSuccess:"Limits deleted",passwordChangedSuccess:"Password changed successfully",realityCheckSuccess:"Reality check options saved"},"zh-hk":{profileUpdateSuccess:"資料更新!",timeoutSuccess:"超時有效",selfExclusionSuccess:"自我排斥活躍",accountClosureSuccess:"賬戶關閉",limitsUpdateSuccess:"限制已更新",limitsDeleteSuccess:"已刪除限制",passwordChangedSuccess:"密碼修改成功",realityCheckSuccess:"現實檢查選項已保存"},fr:{profileUpdateSuccess:"Mise à jour du profil!",timeoutSuccess:"Délai d'attente actif",selfExclusionSuccess:"Auto exclusion active",accountClosureSuccess:"Compte fermé",limitsUpdateSuccess:"Limites des mises à jour",limitsDeleteSuccess:"Limites supprimées",passwordChangedSuccess:"Le mot de passe a été modifié avec succés",realityCheckSuccess:"Options de contrôle de la réalité sauvegardées"},ro:{profileUpdateSuccess:"Profil updatat!",timeoutSuccess:"Timeout activ",selfExclusionSuccess:"Auto-excludere activa",accountClosureSuccess:"Cont inchis",limitsUpdateSuccess:"Limite updatate",limitsDeleteSuccess:"Limite sterse",passwordChangedSuccess:"Parola schimbata cu success",realityCheckSuccess:"Optiunile de verificare de timp salvate"},es:{profileUpdateSuccess:"Perfil actualizado!",timeoutSuccess:"Pausa activa",selfExclusionSuccess:"Auto Exclusión activa.",accountClosureSuccess:"Cuenta cerrada",limitsUpdateSuccess:"Limites actualizados",limitsDeleteSuccess:"Limites delegados",passwordChangedSuccess:"Cambio de Contraseña satisfactorio",realityCheckSuccess:"Opciones de verificación de realidad guardadas"},pt:{profileUpdateSuccess:"Perfil atualizado!",timeoutSuccess:"Tempo Limite ativo",selfExclusionSuccess:"Autoexclusão ativa",accountClosureSuccess:"Conta encerrada",limitsUpdateSuccess:"Limites atualizados",limitsDeleteSuccess:"Limites excluídos",passwordChangedSuccess:"Senha alterada com sucesso",realityCheckSuccess:"Opções de verificação de realidade salvas"},hr:{profileUpdateSuccess:"Profil ažuriran!",timeoutSuccess:"Pauza je aktivna",selfExclusionSuccess:"Aktivno samoisključivanje",accountClosureSuccess:"Račun zatvoren",limitsUpdateSuccess:"Ograničenja ažurirana",limitsDeleteSuccess:"Ograničenja izbrisana",passwordChangedSuccess:"Lozinka je uspješno promijenjena",realityCheckSuccess:"Opcije provjere stvarnosti spremljene"}};function hn(e,t){B(e,t)}const mn={en:{title:"My Account"},"zh-hk":{title:"我的帳戶"},fr:{title:"Mon compte"},tr:{title:"Hesabım"},ro:{title:"Contul meu"},es:{title:"Mi Cuenta"},pt:{title:"Minha Conta"},hr:{title:"Moj račun"}};function fn(e,t){B(e,t)}const gn={en:{logoutButton:"Logout"},"zh-hk":{logoutButton:"登出"},fr:{logoutButton:"Déconnexion"},tr:{logoutButton:"Çıkış Yap"},ro:{logoutButton:"Iesire"},es:{logoutButton:"Cerrar sesión"},pt:{logoutButton:"Sair"},hr:{logoutButton:"Odjava"}};function yn(i){let r,n,o,a,s,l,c=i[2]("logoutButton")+"";return{c(){r=di("div"),n=di("button"),o=di("span"),a=hi(c),gi(r,"class","GeneralLogout")},m(e,t){li(e,r,t),si(r,n),si(n,o),si(o,a),s||(l=fi(n,"click",i[13]),s=!0)},p(e,t){4&t&&c!==(c=e[2]("logoutButton")+"")&&yi(a,c)},d(e){e&&ci(r),s=!1,l()}}}function vn(o){let i,r,n,a,s,l,c,u,d,p,h,m=!o[3]&&function(){let i,r,n=o[2]("logoutButton")+"";return{c(){i=di("span"),r=hi(n),gi(i,"class","PlayerLogoutText")},m(e,t){li(e,i,t),si(i,r)},p(e,t){4&t&&n!==(n=e[2]("logoutButton")+"")&&yi(r,n)},d(e){e&&ci(i)}}}();return{c(){i=di("p"),r=di("span"),n=pi("svg"),a=pi("defs"),s=pi("style"),l=hi(".a88316b4-2478-4a69-b2eb-d32a5fb419dd{fill:var(--emfe-w-color-white, #FFFFFF);}"),c=pi("path"),u=pi("path"),d=mi(),m&&m.c(),gi(c,"class","a88316b4-2478-4a69-b2eb-d32a5fb419dd"),gi(c,"d","M147.16,67.69,115.42,36a9.6,9.6,0,1,0-13.58,13.58l15.32,15.31H49.58a9.63,9.63,0,1,0,0,19.26h67.58L101.84,99.42a9.64,9.64,0,0,0,6.79,16.43,9.41,9.41,0,0,0,6.79-2.85l31.74-31.73a9.53,9.53,0,0,0,0-13.58Z"),gi(u,"class","a88316b4-2478-4a69-b2eb-d32a5fb419dd"),gi(u,"d","M45.16,122.16H19.26V26.79H45.32a9.63,9.63,0,1,0,0-19.26H9.63A9.56,9.56,0,0,0,0,17.16V131.63a9.57,9.57,0,0,0,9.63,9.64H45.32A9.57,9.57,0,0,0,55,131.63a9.78,9.78,0,0,0-9.79-9.47Z"),gi(n,"id","bbfaf345-72af-4296-bf4b-2fd41fc03d5d"),gi(n,"data-name","Layer 1"),gi(n,"xmlns","http://www.w3.org/2000/svg"),gi(n,"viewBox","0 0 150 150"),L(r,"width",o[3]?o[4].matches?"50px":"24px":"20px"),gi(i,"class","PlayerAccountMenuItemBox "+(o[3]?"PlayerAccountMenuItemBoxMobile":"")+" "+(o[4].matches&&o[3]?"PlayerAccountMenuItemBoxTablet":""))},m(e,t){li(e,i,t),si(i,r),si(r,n),si(n,a),si(a,s),si(s,l),si(n,c),si(n,u),si(i,d),m&&m.m(i,null),p||(h=fi(i,"click",o[12]),p=!0)},p(e,t){e[3]||m.p(e,t)},d(e){e&&ci(i),m&&m.d(),p=!1,h()}}}function wn(i){let r;function n(e){return"PlayerAccountMenu"===e[0]?vn:yn}let o=n(i),a=o(i);return{c(){r=di("div"),a.c(),this.c=oe},m(e,t){li(e,r,t),a.m(r,null),i[14](r)},p(e,[t]){o===(o=n(e))&&a?a.p(e,t):(a.d(1),(a=o(e))&&(a.c(),a.m(r,null)))},i:oe,o:oe,d(e){e&&ci(r),a.d(),i[14](null)}}}function bn(t,e,i){let r;Le(t,De,e=>i(2,r=e));let n,{endpoint:o=""}=e,{session:a=""}=e,{buttonlocation:s=""}=e,{lang:l=""}=e,{clientstyling:c=""}=e,{clientstylingurl:u=""}=e,{translationurl:d=""}=e,p="",h=!1,m=window.navigator.userAgent,f="PC"!==$e(m);e=window.matchMedia("(min-width: 768px)");Object.keys(gn).forEach(e=>{fn(e,gn[e])});const g=()=>{var e=new Headers;e.append("Content-type","application/json"),e.append("X-SessionID",a),fetch(o+"/v1/player/session/player",{method:"DELETE",headers:e}).then(e=>{window.postMessage({type:"LogoutSuccessfull"},window.location.href)})};return t.$$set=e=>{"endpoint"in e&&i(6,o=e.endpoint),"session"in e&&i(7,a=e.session),"buttonlocation"in e&&i(0,s=e.buttonlocation),"lang"in e&&i(8,l=e.lang),"clientstyling"in e&&i(9,c=e.clientstyling),"clientstylingurl"in e&&i(10,u=e.clientstylingurl),"translationurl"in e&&i(11,d=e.translationurl)},t.$$.update=()=>{if(193&t.$$.dirty&&o&&a&&s&&(o||(p="GENERAL-LOGOUT - Endpoint is missing! Please provide a valid endpointURL.",h=!0,console.error(p)),a||(p="GENERAL-LOGOUT - Session is missing! Please provide a valid session.",h=!0,console.error(p))),256&t.$$.dirty&&l&&(e=l,Se.set(e)),514&t.$$.dirty&&c&&n&&((e=document.createElement("style")).innerHTML=c,n.appendChild(e)),1026&t.$$.dirty&&u&&n){let e=new URL(u),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{n.appendChild(t)},1),setTimeout(()=>{},500)})}var e;2048&t.$$.dirty&&d&&fetch(d).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{fn(e,t[e])})}).catch(e=>{console.log(e)})},[s,n,r,f,e,g,o,a,l,c,u,d,()=>g(),()=>g(),function(e){Me[e?"unshift":"push"](()=>{n=e,i(1,n)})}]}function _n(e,t,i){e=e.slice();return e[32]=t[i],e}function xn(i){let r,n,o,a,s,l,c,u,d,p,h,m=i[32].label+"";function f(){return i[19](i[32])}return{c(){r=di("div"),n=di("p"),o=di("img"),s=mi(),l=di("span"),c=hi(m),u=mi(),gi(o,"class","PlayerAccountMenuItemIcon "+(i[10]?"PlayerAccountMenuItemIconMobile":"")),b(o.src,a=i[32].img)||gi(o,"src",a),gi(l,"class","PlayerAccountMenuItemTitle"),gi(n,"class","PlayerAccountMenuItemWrapper"),gi(r,"class",d="PlayerAccountMenuItemBox "+(i[6]!==i[32].id||i[10]?"":"PlayerAccountMenuActiveItemBox"))},m(e,t){li(e,r,t),si(r,n),si(n,o),si(n,s),si(n,l),si(l,c),si(r,u),p||(h=fi(r,"click",f),p=!0)},p(e,t){i=e,32&t[0]&&!b(o.src,a=i[32].img)&&gi(o,"src",a),32&t[0]&&m!==(m=i[32].label+"")&&yi(c,m),96&t[0]&&d!==(d="PlayerAccountMenuItemBox "+(i[6]!==i[32].id||i[10]?"":"PlayerAccountMenuActiveItemBox"))&&gi(r,"class",d)},d(e){e&&ci(r),p=!1,h()}}}function Cn(i){let r,n=function(t){let i,r,n,o,a,s,l,c,u,d,p,h,m=t[10]&&function(i){let r,n,o,a,s,l,c,u,d,p,h,m,f,g=i[9]("title")+"";return{c(){r=di("div"),n=pi("svg"),o=pi("defs"),a=pi("style"),s=hi(".aaa{fill:var(--emfe-w-color-white, #FFFFFF);}"),l=pi("g"),c=pi("g"),u=pi("path"),d=mi(),p=di("h3"),h=hi(g),gi(u,"class","aaa"),gi(u,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),gi(u,"transform","translate(15 15) rotate(180)"),gi(c,"transform","translate(20 158)"),gi(l,"transform","translate(-20 -158)"),gi(n,"xmlns","http://www.w3.org/2000/svg"),gi(n,"width","15"),gi(n,"height","15"),gi(n,"viewBox","0 0 15 15"),gi(p,"class","PlayerAccountMenuCategoryTitle"),gi(r,"class","PlayerAccountMenuCategoryWrapper")},m(e,t){li(e,r,t),si(r,n),si(n,o),si(o,a),si(a,s),si(n,l),si(l,c),si(c,u),si(r,d),si(r,p),si(p,h),m||(f=[fi(n,"click",i[12]),fi(p,"click",i[12])],m=!0)},p(e,t){512&t[0]&&g!==(g=e[9]("title")+"")&&yi(h,g)},d(e){e&&ci(r),m=!1,ai(f)}}}(t),f=t[10]&&function(e){let i,r;return{c(){i=di("div"),ae(r=di("general-logout"),"endpoint",e[1]),ae(r,"session",e[0]),ae(r,"buttonlocation","PlayerAccountMenu"),ae(r,"clientstyling",e[2]),ae(r,"clientstylingurl",e[3]),gi(i,"class","PlayerAccountLogOutArea")},m(e,t){li(e,i,t),si(i,r)},p(e,t){2&t[0]&&ae(r,"endpoint",e[1]),1&t[0]&&ae(r,"session",e[0]),4&t[0]&&ae(r,"clientstyling",e[2]),8&t[0]&&ae(r,"clientstylingurl",e[3])},d(e){e&&ci(i)}}}(t),g=t[5],y=[];for(let e=0;e<g.length;e+=1)y[e]=xn(_n(t,g,e));let v=!t[10]&&function(e){let i,r;return{c(){i=di("div"),ae(r=di("general-logout"),"endpoint",e[1]),ae(r,"session",e[0]),ae(r,"buttonlocation","PlayerAccountMenu"),ae(r,"clientstyling",e[2]),ae(r,"clientstylingurl",e[3]),gi(i,"class","PlayerAccountLogOutArea")},m(e,t){li(e,i,t),si(i,r)},p(e,t){2&t[0]&&ae(r,"endpoint",e[1]),1&t[0]&&ae(r,"session",e[0]),4&t[0]&&ae(r,"clientstyling",e[2]),8&t[0]&&ae(r,"clientstylingurl",e[3])},d(e){e&&ci(i)}}}(t);return{c(){i=di("div"),r=di("div"),m&&m.c(),n=mi(),o=di("p"),a=hi(t[7]),s=mi(),l=di("p"),c=hi(t[8]),u=mi(),f&&f.c(),d=mi(),p=di("div");for(let e=0;e<y.length;e+=1)y[e].c();h=mi(),v&&v.c(),gi(o,"class","PlayerAccountMenuUser"),gi(l,"class","PlayerAccountMenuEmail"),gi(r,"class","PlayerAccountMenuHeader "+(t[10]?"PlayerAccountMenuHeaderMobile":"")),gi(p,"class","PlayerAccountMenuList"),gi(i,"class","PlayerAccountMenuContainer "+(t[10]?"PlayerAccountMobileContainer":"")+" "+(t[11].matches&&t[10]?"PlayerAccountTabletContainer":""))},m(e,t){li(e,i,t),si(i,r),m&&m.m(r,null),si(r,n),si(r,o),si(o,a),si(r,s),si(r,l),si(l,c),si(r,u),f&&f.m(r,null),si(i,d),si(i,p);for(let e=0;e<y.length;e+=1)y[e]&&y[e].m(p,null);si(i,h),v&&v.m(i,null)},p(t,i){if(t[10]&&m.p(t,i),128&i[0]&&yi(a,t[7]),256&i[0]&&yi(c,t[8]),t[10]&&f.p(t,i),9312&i[0]){let e;for(g=t[5],e=0;e<g.length;e+=1){var r=_n(t,g,e);y[e]?y[e].p(r,i):(y[e]=xn(r),y[e].c(),y[e].m(p,null))}for(;e<y.length;e+=1)y[e].d(1);y.length=g.length}t[10]||v.p(t,i)},d(e){e&&ci(i),m&&m.d(),f&&f.d(),ui(y,e),v&&v.d()}}}(i);return{c(){r=di("div"),n.c(),this.c=oe},m(e,t){li(e,r,t),n.m(r,null),i[20](r)},p(e,t){n.p(e,t)},i:oe,o:oe,d(e){e&&ci(r),n.d(),i[20](null)}}}function Pn(i,e,r){let t;Le(i,De,e=>r(9,t=e));let n,o,{endpoint:a=""}=e,{session:s=""}=e,{playerid:l=""}=e,{lang:c="en"}=e,{selecteditem:u=""}=e,{userroles:d=""}=e,{clientstyling:p=""}=e,{clientstylingurl:h=""}=e,{translationurl:m=""}=e,f=[],g=window.navigator.userAgent,y="PC"!==$e(g),v="",w="";e=window.matchMedia("(min-width: 768px)");Object.keys(mn).forEach(e=>{hn(e,mn[e])});const b=e=>{if(e.data)switch(e.data.type){case"AccountMenuDetails":r(5,f=e.data.accountMenuInfo);break;case"UserSessionID":r(0,s=e.data.session)}},_=e=>{window.postMessage({type:"ChangeAccountPage",page:e},window.location.href),r(6,o=e.id)};return ke(()=>(window.addEventListener("message",b,!1),()=>{window.removeEventListener("message",b)})),i.$$set=e=>{"endpoint"in e&&r(1,a=e.endpoint),"session"in e&&r(0,s=e.session),"playerid"in e&&r(14,l=e.playerid),"lang"in e&&r(15,c=e.lang),"selecteditem"in e&&r(16,u=e.selecteditem),"userroles"in e&&r(17,d=e.userroles),"clientstyling"in e&&r(2,p=e.clientstyling),"clientstylingurl"in e&&r(3,h=e.clientstylingurl),"translationurl"in e&&r(18,m=e.translationurl)},i.$$.update=()=>{if(32768&i.$$.dirty[0]&&c&&(t=c,Se.set(t)),49155&i.$$.dirty[0]&&a&&s&&l&&c&&((t=new URL(`${a}/v1/player/${l}/profile`)).searchParams.append("userRoles",d),e={method:"GET",headers:{"X-SessionID":s}},fetch(t.href,e).then(e=>e.json()).then(e=>{r(7,v=e.username),r(8,w=e.email)},e=>{console.error(e)})),65536&i.$$.dirty[0]&&u&&r(6,o=u),24&i.$$.dirty[0]&&h&&n){let e=new URL(h),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{n.appendChild(t)},1)})}var e,t;20&i.$$.dirty[0]&&p&&n&&((e=document.createElement("style")).innerHTML=p,n.appendChild(e)),262144&i.$$.dirty[0]&&m&&fetch(m).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{hn(e,t[e])})}).catch(e=>{console.log(e)})},[s,a,p,h,n,f,o,v,w,t,y,e,()=>{window.postMessage({type:"GoToHomepage"},window.location.href)},_,l,c,u,d,m,e=>_(e),function(e){Me[e?"unshift":"push"](()=>{n=e,r(4,n)})}]}function En(e,t,i){e=e.slice();return e[14]=t[i],e}function Tn(t){let n,o=t[1],a=[];for(let e=0;e<o.length;e+=1)a[e]=An(En(t,o,e));return{c(){n=di("div");for(let e=0;e<a.length;e+=1)a[e].c();gi(n,"class","PlayerAccountNotificationsContainer "+(t[2]&&t[3].matches?"PlayerAccountNotificationsTabletContainer":t[2]?"PlayerAccountNotificationsMobileContainer":"")),gi(n,"part","PlayerAccountNotificationsContainer "+(t[2]&&t[3].matches?"PlayerAccountNotificationsTabletContainer":t[2]?"PlayerAccountNotificationsMobileContainer":""))},m(e,t){li(e,n,t);for(let e=0;e<a.length;e+=1)a[e]&&a[e].m(n,null)},p(t,i){if(2&i){let e;for(o=t[1],e=0;e<o.length;e+=1){var r=En(t,o,e);a[e]?a[e].p(r,i):(a[e]=An(r),a[e].c(),a[e].m(n,null))}for(;e<a.length;e+=1)a[e].d(1);a.length=o.length}},d(e){e&&ci(n),ui(a,e)}}}function An(e){let i,r,n,o,a,s,l,c,u,d,p,h=e[14].title+"",m=e[14].description+"";return{c(){i=di("div"),r=di("div"),n=di("img"),s=mi(),l=di("p"),c=hi(h),u=mi(),d=di("p"),p=mi(),gi(n,"class","PlayerAccountNotificationIcon"),b(n.src,o=e[14].icon)||gi(n,"src",o),gi(n,"alt",a=e[14].title),gi(l,"class","PlayerAccountNotificationTitle"),gi(r,"class","PlayerAccountNotificationBoxHeader"),gi(d,"class","PlayerAccountNotificationText"),gi(i,"class","PlayerAccountNotificationBox"),L(i,"background",e[14].backgroundColor)},m(e,t){li(e,i,t),si(i,r),si(r,n),si(r,s),si(r,l),si(l,c),si(i,u),si(i,d),d.innerHTML=m,si(i,p)},p(e,t){2&t&&!b(n.src,o=e[14].icon)&&gi(n,"src",o),2&t&&a!==(a=e[14].title)&&gi(n,"alt",a),2&t&&h!==(h=e[14].title+"")&&yi(c,h),2&t&&m!==(m=e[14].description+"")&&(d.innerHTML=m),2&t&&L(i,"background",e[14].backgroundColor)},d(e){e&&ci(i)}}}function Ln(i){let r;function n(e){if(e[1].length)return Tn}let o=n(i),a=o&&o(i);return{c(){r=di("div"),a&&a.c(),this.c=oe},m(e,t){li(e,r,t),a&&a.m(r,null),i[7](r)},p(e,[t]){o===(o=n(e))&&a?a.p(e,t):(a&&a.d(1),(a=o&&o(e))&&(a.c(),a.m(r,null)))},i:oe,o:oe,d(e){e&&ci(r),a&&a.d(),i[7](null)}}}function kn(t,e,i){let r,{customnotif:n=""}=e,{clientstyling:o=""}=e,{clientstylingurl:a=""}=e,s=window.navigator.userAgent,l="PC"!==$e(s),c=[],u=[];const d=window.matchMedia("(min-width: 768px)"),p=e=>{e.data&&"NotificationsDetails"===e.data.type&&(i(1,c=e.data.notificationsInfo),c.forEach(e=>{u.length&&(e.backgroundColor=u[0],u.shift())}))},h=()=>{n.replace(" ",""),u=n.split(",")};return ke(()=>(window.addEventListener("message",p,!1),()=>{window.removeEventListener("message",p)})),t.$$set=e=>{"customnotif"in e&&i(4,n=e.customnotif),"clientstyling"in e&&i(5,o=e.clientstyling),"clientstylingurl"in e&&i(6,a=e.clientstylingurl)},t.$$.update=()=>{if(16&t.$$.dirty&&n&&h(),2&t.$$.dirty&&c&&h(),65&t.$$.dirty&&a&&r){let e=new URL(a),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{r.appendChild(t)},1)})}var e;33&t.$$.dirty&&o&&r&&((e=document.createElement("style")).innerHTML=o,r.appendChild(e))},[r,c,l,d,n,o,a,function(e){Me[e?"unshift":"push"](()=>{r=e,i(0,r)})}]}function Mn(e,t){B(e,t)}customElements.get("general-logout")||customElements.define("general-logout",class extends e{constructor(e){super();var t=document.createElement("style");t.textContent="*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.PlayerAccountMenuItemBox{padding:20px;font-size:16px;display:inline-flex;width:100%;box-sizing:border-box;align-items:center;cursor:pointer}.PlayerAccountMenuItemBox .PlayerLogoutText{margin-left:20px}.PlayerAccountMenuItemBox svg{fill:var(--emfe-w-pam-typography-color-nav-bg, var(--emfe-w-color-white, #FFFFFF))}.PlayerAccountMenuItemBoxMobile.PlayerAccountMenuItemBox{height:auto;justify-content:center;position:relative;display:flex;width:unset;padding:0}.PlayerAccountMenuItemBoxMobile.PlayerAccountMenuItemBox svg{fill:var(--emfe-w-pam-typography-color-nav-bg, var(--emfe-w-color-white, #FFFFFF))}",this.shadowRoot.appendChild(t),n(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},bn,wn,i,{endpoint:6,session:7,buttonlocation:0,lang:8,clientstyling:9,clientstylingurl:10,translationurl:11},null),e&&(e.target&&li(e.target,this,e.anchor),e.props)&&(this.$set(e.props),p())}static get observedAttributes(){return["endpoint","session","buttonlocation","lang","clientstyling","clientstylingurl","translationurl"]}get endpoint(){return this.$$.ctx[6]}set endpoint(e){this.$$set({endpoint:e}),p()}get session(){return this.$$.ctx[7]}set session(e){this.$$set({session:e}),p()}get buttonlocation(){return this.$$.ctx[0]}set buttonlocation(e){this.$$set({buttonlocation:e}),p()}get lang(){return this.$$.ctx[8]}set lang(e){this.$$set({lang:e}),p()}get clientstyling(){return this.$$.ctx[9]}set clientstyling(e){this.$$set({clientstyling:e}),p()}get clientstylingurl(){return this.$$.ctx[10]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),p()}get translationurl(){return this.$$.ctx[11]}set translationurl(e){this.$$set({translationurl:e}),p()}}),customElements.get("player-account-menu")||customElements.define("player-account-menu",class extends e{constructor(e){super();var t=document.createElement("style");t.textContent=".PlayerAccountMenuContainer{color:var(--emfe-w-pam-typography-color-nav-bg, var(--emfe-w-color-contrast, #FFFFFF));position:relative;height:100vh;display:flex;flex-direction:column;border-right:2px solid #58586b}.PlayerAccountMenuContainer .PlayerAccountMenuItemWrapper{margin:0;word-break:break-all;display:flex;align-items:center}.PlayerAccountMenuContainer .PlayerAccountMenuItemWrapper span{display:flex;align-items:center}.PlayerAccountMenuHeader{color:var(--emfe-w-pam-typography-color-nav-bg, var(--emfe-w-color-contrast, #FFFFFF));flex-grow:0;padding:30px 20px}.PlayerAccountMenuHeader .PlayerAccountMenuUser{margin-bottom:5px;font-size:18px}.PlayerAccountMenuHeader .PlayerAccountMenuEmail{font-size:14px}.PlayerAccountMenuHeader p{font-weight:300}.PlayerAccountMenuHeaderMobile{color:var(--emfe-w-pam-typography-color-nav-bg, var(--emfe-w-color-contrast, #FFFFFF))}.PlayerAccountMenuItemBox{padding:16px 20px;font-size:16px;line-height:16px;display:inline-flex;width:100%;box-sizing:border-box;align-items:center;cursor:pointer}.PlayerAccountMenuItemBox .PlayerAccountMenuItemTitle{margin-left:20px}.PlayerAccountMenuItemBox:not(:last-child){border-bottom:1px solid var(--emfe-w-color-gray-150, #828282)}.PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:20px;padding-top:unset}.PlayerAccountMenuItemBox .PlayerAccountMenuItemIconMobile{width:30px;padding-top:15px}.PlayerAccountMenuList{overflow-y:auto;scrollbar-width:thin;scrollbar-color:var(--emfe-w-color-gray-100, #E6E6E6) var(--emfe-w-color-gray-300, #58586B)}.PlayerAccountMenuList::-webkit-scrollbar{width:6px}.PlayerAccountMenuList::-webkit-scrollbar-track{background:var(--emfe-w-color-gray-300, #58586B)}.PlayerAccountMenuList::-webkit-scrollbar-thumb{background:var(--emfe-w-color-gray-100, #E6E6E6)}.PlayerAccountLogOutArea{background:var(--emfe-w-color-gray-300, #58586B);color:var(--emfe-w-pam-typography-color-nav-bg, var(--emfe-w-color-contrast, #FFFFFF));width:100%;flex-grow:0;border-top:1px solid var(--emfe-w-color-gray-150, #828282)}.PlayerAccountMenuActiveItemBox{background:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-pam-typography-color-nav-bg, var(--emfe-w-color-contrast, #FFFFFF))}.PlayerAccountMobileContainer{height:unset}.PlayerAccountMobileContainer .PlayerAccountMenuCategoryWrapper{display:flex;align-items:center;gap:10px;margin-bottom:18px}.PlayerAccountMobileContainer .PlayerAccountMenuCategoryTitle{margin:0;font-weight:600}.PlayerAccountMobileContainer .PlayerAccountMenuItemTitle{margin-left:0;text-transform:capitalize;line-height:14px}.PlayerAccountMobileContainer .PlayerAccountMenuEmail{margin:0}.PlayerAccountMobileContainer .PlayerAccountMenuList{display:grid;grid-template-columns:calc(33% - 6.66px) calc(33% - 6.66px) calc(33% - 6.66px);column-gap:10px;row-gap:10px;padding:0 20px 20px}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox{border:1px solid var(--emfe-w-color-gray-300, #58586B);border-radius:5px;height:auto;justify-content:center;padding-bottom:calc(100% - 22px);position:relative}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox.PlayerAccountMenuActiveItemBox{background:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));border-bottom:1px solid var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C))}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:30px}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper{display:flex;align-items:center;justify-content:space-between;flex-flow:column;gap:6px;position:absolute;top:0;bottom:0;left:0;right:0}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper .PlayerAccountMenuItemTitle{font-size:11px;padding:0 5px 15px 5px;font-weight:400;word-break:break-word;text-align:center;color:var(--emfe-w-pam-typography-color-nav-bg, var(--emfe-w-color-contrast, #FFFFFF))}.PlayerAccountMobileContainer .PlayerAccountLogOutArea{position:absolute;right:18px;top:56px;bottom:unset;background:transparent;width:48px;border-top:0}.PlayerAccountTabletContainer .PlayerAccountMenuHeader{padding:30px 40px}.PlayerAccountTabletContainer .PlayerAccountMenuCategoryTitle{font-size:32px}.PlayerAccountTabletContainer .PlayerAccountMenuUser{font-size:26px}.PlayerAccountTabletContainer .PlayerAccountMenuEmail{font-size:20px}.PlayerAccountTabletContainer .PlayerAccountMenuList{column-gap:20px;row-gap:20px;padding:0 40px 40px;grid-template-columns:calc(33% - 11px) calc(33% - 11px) calc(33% - 11px)}.PlayerAccountTabletContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:80px}.PlayerAccountTabletContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper{gap:28px}.PlayerAccountTabletContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper .PlayerAccountMenuItemTitle{font-size:24px}.PlayerAccountTabletContainer .PlayerAccountLogOutArea{right:54px;top:72px}",this.shadowRoot.appendChild(t),n(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},Pn,Cn,i,{endpoint:1,session:0,playerid:14,lang:15,selecteditem:16,userroles:17,clientstyling:2,clientstylingurl:3,translationurl:18},null,[-1,-1]),e&&(e.target&&li(e.target,this,e.anchor),e.props)&&(this.$set(e.props),p())}static get observedAttributes(){return["endpoint","session","playerid","lang","selecteditem","userroles","clientstyling","clientstylingurl","translationurl"]}get endpoint(){return this.$$.ctx[1]}set endpoint(e){this.$$set({endpoint:e}),p()}get session(){return this.$$.ctx[0]}set session(e){this.$$set({session:e}),p()}get playerid(){return this.$$.ctx[14]}set playerid(e){this.$$set({playerid:e}),p()}get lang(){return this.$$.ctx[15]}set lang(e){this.$$set({lang:e}),p()}get selecteditem(){return this.$$.ctx[16]}set selecteditem(e){this.$$set({selecteditem:e}),p()}get userroles(){return this.$$.ctx[17]}set userroles(e){this.$$set({userroles:e}),p()}get clientstyling(){return this.$$.ctx[2]}set clientstyling(e){this.$$set({clientstyling:e}),p()}get clientstylingurl(){return this.$$.ctx[3]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),p()}get translationurl(){return this.$$.ctx[18]}set translationurl(e){this.$$set({translationurl:e}),p()}}),customElements.get("player-account-notifications")||customElements.define("player-account-notifications",class extends e{constructor(e){super();var t=document.createElement("style");t.textContent='.PlayerAccountNotificationsContainer{padding:0 5px}.PlayerAccountNotificationBox{display:block;padding:20px;margin:20px auto 10px auto;border-radius:5px;width:100%;background:var(--emfe-w-color-gray-300, #58586B);color:var(--emfe-w-color-white, #FFFFFF);box-sizing:border-box;text-decoration:none;word-break:break-all}.PlayerAccountNotificationBoxHeader{display:grid;width:100%;grid-template-areas:"nav main aside";grid-template-rows:auto;grid-template-columns:34px calc(100% - 34px);align-items:center}.PlayerAccountNotificationBoxHeader .PlayerAccountNotificationIcon{width:24px;margin-right:10px;flex:1}.PlayerAccountNotificationBoxHeader .PlayerAccountNotificationTitle{font-size:16px;flex:2}.PlayerAccountNotificationText{margin:0;font-size:14px;font-weight:300}.PlayerAccountNotificationsMobileContainer{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));grid-gap:20px;padding:20px}.PlayerAccountNotificationsMobileContainer .PlayerAccountNotificationBoxHeader{grid-template-columns:40px calc(100% - 40px)}.PlayerAccountNotificationsMobileContainer .PlayerAccountNotificationTitle{font-size:14px}.PlayerAccountNotificationsMobileContainer .PlayerAccountNotificationIcon{width:30px;margin-right:10px}.PlayerAccountNotificationsTabletContainer{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));grid-gap:20px;padding:20px 40px}.PlayerAccountNotificationsTabletContainer .PlayerAccountNotificationBoxHeader{grid-template-columns:80px calc(100% - 80px)}.PlayerAccountNotificationsTabletContainer .PlayerAccountNotificationTitle{font-size:24px}.PlayerAccountNotificationsTabletContainer .PlayerAccountNotificationText{font-size:16px}.PlayerAccountNotificationsTabletContainer .PlayerAccountNotificationIcon{width:60px;margin-right:20px}',this.shadowRoot.appendChild(t),n(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},kn,Ln,i,{customnotif:4,clientstyling:5,clientstylingurl:6},null),e&&(e.target&&li(e.target,this,e.anchor),e.props)&&(this.$set(e.props),p())}static get observedAttributes(){return["customnotif","clientstyling","clientstylingurl"]}get customnotif(){return this.$$.ctx[4]}set customnotif(e){this.$$set({customnotif:e}),p()}get clientstyling(){return this.$$.ctx[5]}set clientstyling(e){this.$$set({clientstyling:e}),p()}get clientstylingurl(){return this.$$.ctx[6]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),p()}});const Sn={en:{title:"Timeout",timeoutTextFirst:"{operatorname} provides you an easy way to take a break from the games. You can request automatic blocking of your account for 24 hours. During the temporary restraint, you will not be able to access your Account.",timeoutTextSecondary:'Please note that the “Time-out facility” does not in any case replace “Self-exclusion”. If you think you are experiencing a gambling addiction problem, please enter the link under "Responsible Gaming" and use the "Self-exclusion service" or contact us as soon as possible.',save:"Save",cooloff24:"CoolOffFor24Hours",cooloff7:"CoolOffFor7Days",cooloff30:"CoolOffFor30Days",cooloff3:"CoolOffFor3Months",cooloff24Text:"24 hours",cooloff7Text:"7 days",cooloff30Text:"30 days",cooloff3Text:"3 months"},"zh-hk":{title:"Timeout",timeoutTextFirst:"{operatorname} 為您提供一種從遊戲中休息的簡單方法。 您可以請求自動封鎖您的帳戶 24 小時。 在臨時限制期間,您將無法訪問您的帳戶。",timeoutTextSecondary:"請注意,“超時設施”在任何情況下都不能取代“自我排除”。 如果您認為自己有賭博成癮問題,請進入“負責任博彩”下的鏈接並使用“自我排除服務”或盡快與我們聯繫。",save:"節省",cooloff24:"冷卻 24 小時",cooloff7:"冷卻 7 天",cooloff30:"冷卻 30 天",cooloff3:"冷靜3個月",cooloff24Text:"24小時",cooloff7Text:"7天",cooloff30Text:"30天",cooloff3Text:"3個月"},fr:{title:"Délai d'attente",timeoutTextFirst:"{operatorname} vous offre un moyen facile de faire une pause dans les jeux.vous pouvez demander le blocage automatique de votre compte pendant 24 heures . Pendant le blocage temporaire ,vous ne pourrez pas accéder à votre compte.",timeoutTextSecondary:'Veuillez noter que l\'"installation du temps mort" ne remplace en aucun cas "l\'auto exclusion". Si vous pensez avoir un problème de dépendance au jeu,veuillez cliquer sur le lien "jeux responsable" et utiliser le "service d\'auto exclusion" ou nous contacter dès que possible.',save:"Savez",cooloff24:"Pause de 24 heures",cooloff7:"Pause de 7 jours",cooloff30:"Pause de 30 jours",cooloff3:"Pause de 3 mois",cooloff24Text:"24 heures",cooloff7Text:"7 jours",cooloff30Text:"30 jours",cooloff3Text:"3 mois"},ro:{title:"Timeout",timeoutTextFirst:"{operatorname} îți asigură o cale ușoară de a lua o pauză de la jocuri. Poți solicita o blocare automată a contului tău pentru 24 de ore. În timpul restricției temporare, nu vei putea accesa contul.",timeoutTextSecondary:"Te rugăm să reții că „Facilitatea de time-out” nu înlocuiește în niciun caz „Auto-excluderea”. Dacă crezi că te confrunți cu o problemă de dependență de jocuri de noroc, te rugăm să accesezi secțiunea de „Joc responsabil” și să utilizezi „Serviciul de auto-excludere” sau să ne contactezi cât mai curând posibil.",save:"Salvează",cooloff24:"24 ore",cooloff7:"7 zile",cooloff30:"30 zile",cooloff3:"3 luni",cooloff24Text:"24 ore",cooloff7Text:"7 zile",cooloff30Text:"30 zile",cooloff3Text:"3 luni"},es:{title:"Descanso",timeoutTextFirst:"{operatorname} le brinda una manera fácil de tomarse un descanso de los juegos. Puedes solicitar un bloqueo automático de tu cuenta durante 24 horas. Durante la contención temporal, no será posible ingresar a su cuenta.",timeoutTextSecondary:'Tenga en cuenta que la función de tiempo de espera no sustituye en ningún caso la autoexclusión. Si cree que tiene un problema de adicción al juego, por favor ingrese al enlace de "Juego Responsable" y use el "Servicio de autoexclusión" o ponte en contacto con nosotros a la brevedad posible.',save:"Guardar",cooloff24:"CoolOffPor24Horas",cooloff7:"CoolOffPor7Días",cooloff30:"CoolOffPor30Días",cooloff3:"CoolOffPor3Meses",cooloff24Text:"24 horas",cooloff7Text:"7 días",cooloff30Text:"30 días",cooloff3Text:"3 meses"},pt:{title:"Tempo esgotado",timeoutTextFirst:"{operatorname} oferece uma maneira fácil de fazer uma pausa nos jogos. Você pode solicitar o bloqueio automático de sua conta por 24 horas. Durante a restrição temporária, você não poderá acessar sua conta.",timeoutTextSecondary:'Observe que a “Facilidade de tempo limite” não substitui em nenhum caso a “Autoexclusão”. Se você acha que está enfrentando um problema de vício em jogos de azar, entre no link em "Jogo Responsável" e use o "Serviço de autoexclusão" ou entre em contato conosco o mais rápido possível.',save:"Guardar",cooloff24:"Autoexclusão por 24 horas",cooloff7:"Autoexclusão por 7 dias",cooloff30:"Autoexclusão por 30 dias",cooloff3:"Autoexclusão por 3 meses",cooloff24Text:"24 horas",cooloff7Text:"7 dias",cooloff30Text:"30 dias30 dias",cooloff3Text:"3 meses"},hr:{title:"Pauza",timeoutTextFirst:"{operatorname} vam pruža jednostavan način da se odmorite od igara. Možete zatražiti automatsko blokiranje računa na 24 sata. Tijekom privremene zabrane",timeoutTextSecondary:'Imajte na umu da "Mogućnost pauze" ni u kojem slučaju ne zamjenjuje "Samoisključenje". Ako mislite da imate problem ovisnosti o kockanju',save:"Spremi",cooloff24:"PauzaZa24Sata",cooloff7:"PauzaZa7Dana",cooloff30:"PauzaZa30Dana",cooloff3:"PauzaZa3Mjeseca",cooloff24Text:"24 sata",cooloff7Text:"7 dana",cooloff30Text:"30 dana",cooloff3Text:"3 mjeseca"}};function Dn(e,t,i){e=e.slice();return e[21]=t[i].value,e[22]=t[i].text,e}function $n(e){let i,r,t=e[22]+"";return{c(){i=di("option"),r=hi(t),i.__value=e[21],i.value=i.__value},m(e,t){li(e,i,t),si(i,r)},p:oe,d(e){e&&ci(i)}}}function Bn(i){let r,n,o,a,s,l,c,u,d,p,h,m,f,g,y,v,w,b,_,x,C,e=i[3]("title")+"",P=i[3]("timeoutTextFirst",{values:{operatorname:i[0]}})+"",E=i[3]("timeoutTextSecondary")+"",T=i[3]("save")+"",A=i[4]&&function(i){let r,n,o,a,s,l,c,u,d,p,h,m,f,g=i[3]("title")+"";return{c(){r=di("div"),n=pi("svg"),o=pi("defs"),a=pi("style"),s=hi(".aaa{fill:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));}"),l=pi("g"),c=pi("g"),u=pi("path"),d=mi(),p=di("h2"),h=hi(g),gi(u,"class","aaa"),gi(u,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),gi(u,"transform","translate(15 15) rotate(180)"),gi(c,"transform","translate(20 158)"),gi(l,"transform","translate(-20 -158)"),gi(n,"xmlns","http://www.w3.org/2000/svg"),gi(n,"width","15"),gi(n,"height","15"),gi(n,"viewBox","0 0 15 15"),gi(p,"class","TimeoutTitleMobile"),gi(p,"part","TimeoutTitleMobile"),gi(r,"class","MenuReturnButton"),gi(r,"part","MenuReturnButton")},m(e,t){li(e,r,t),si(r,n),si(n,o),si(o,a),si(a,s),si(n,l),si(l,c),si(c,u),si(r,d),si(r,p),si(p,h),m||(f=fi(r,"click",i[12]),m=!0)},p(e,t){8&t&&g!==(g=e[3]("title")+"")&&yi(h,g)},d(e){e&&ci(r),m=!1,f()}}}(i),L=i[5],k=[];for(let e=0;e<L.length;e+=1)k[e]=$n(Dn(i,L,e));return{c(){r=di("div"),n=di("form"),A&&A.c(),o=mi(),a=di("h2"),s=hi(e),l=mi(),c=di("div"),u=di("p"),d=hi(P),p=mi(),h=di("p"),m=hi(E),f=mi(),g=di("div"),y=di("select");for(let e=0;e<k.length;e+=1)k[e].c();v=mi(),w=di("div"),b=di("button"),_=hi(T),this.c=oe,gi(a,"class","TimeoutTitle "+(i[4]?"TimeoutTitleNone":"")),gi(c,"class","TimeoutDescription "+(i[4]?"TimeoutDescriptionMobile":"")),gi(y,"class","TimeoutSelect "+(i[4]?"TimeoutSelectMobile":"")),void 0===i[2]&&bi(()=>i[13].call(y)),gi(g,"class","TimeoutSelectWrapper"),gi(b,"class","TimeoutSave"),gi(w,"class","TimeoutActionButtons "+(i[4]?"TimeoutActionButtonsMobile":"")),gi(n,"class","TimeoutWrapper "+(i[4]?"TimeoutWrapperMobile":""))},m(e,t){li(e,r,t),si(r,n),A&&A.m(n,null),si(n,o),si(n,a),si(a,s),si(n,l),si(n,c),si(c,u),si(u,d),si(c,p),si(c,h),si(h,m),si(n,f),si(n,g),si(g,y);for(let e=0;e<k.length;e+=1)k[e]&&k[e].m(y,null);wi(y,i[2],!0),si(n,v),si(n,w),si(w,b),si(b,_),i[15](r),x||(C=[fi(y,"change",i[13]),fi(b,"click",i[14])],x=!0)},p(t,[i]){if(t[4]&&A.p(t,i),8&i&&e!==(e=t[3]("title")+"")&&yi(s,e),9&i&&P!==(P=t[3]("timeoutTextFirst",{values:{operatorname:t[0]}})+"")&&yi(d,P),8&i&&E!==(E=t[3]("timeoutTextSecondary")+"")&&yi(m,E),32&i){let e;for(L=t[5],e=0;e<L.length;e+=1){var r=Dn(t,L,e);k[e]?k[e].p(r,i):(k[e]=$n(r),k[e].c(),k[e].m(y,null))}for(;e<k.length;e+=1)k[e].d(1);k.length=L.length}36&i&&wi(y,t[2]),8&i&&T!==(T=t[3]("save")+"")&&yi(_,T)},i:oe,o:oe,d(e){e&&ci(r),A&&A.d(),ui(k,e),i[15](null),x=!1,ai(C)}}}function In(t,e,i){let r;Le(t,De,e=>i(3,r=e));let n,{operator:o="Everymatrix"}=e,{lang:a="en"}=e,{clientstyling:s=""}=e,{clientstylingurl:l=""}=e,{translationurl:c=""}=e,u=window.navigator.userAgent,d="PC"!==$e(u),p=(Object.keys(Sn).forEach(e=>{Mn(e,Sn[e])}),[{value:r("cooloff24"),text:r("cooloff24Text")},{value:r("cooloff7"),text:r("cooloff7Text")},{value:r("cooloff30"),text:r("cooloff30Text")},{value:r("cooloff3"),text:r("cooloff3Text")}]),h=p[0].value;const m=e=>{e.preventDefault(),window.postMessage({type:"SetPlayerAccountTimeout",timeoutSelected:h},window.location.href)},f=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:d},window.location.href)};return t.$$set=e=>{"operator"in e&&i(0,o=e.operator),"lang"in e&&i(8,a=e.lang),"clientstyling"in e&&i(9,s=e.clientstyling),"clientstylingurl"in e&&i(10,l=e.clientstylingurl),"translationurl"in e&&i(11,c=e.translationurl)},t.$$.update=()=>{if(256&t.$$.dirty&&a&&(e=a,Se.set(e)),1026&t.$$.dirty&&l&&n){let e=new URL(l),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{n.appendChild(t)},1)})}var e;514&t.$$.dirty&&s&&n&&((e=document.createElement("style")).innerHTML=s,n.appendChild(e)),2048&t.$$.dirty&&c&&fetch(c).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Mn(e,t[e])})}).catch(e=>{console.log(e)})},[o,n,h,r,d,p,m,f,a,s,l,c,()=>f(),function(){h=pe(this),i(2,h),i(5,p)},e=>m(e),function(e){Me[e?"unshift":"push"](()=>{n=e,i(1,n)})}]}customElements.get("player-account-timeout")||customElements.define("player-account-timeout",class extends e{constructor(e){super();var t=document.createElement("style");t.textContent=".TimeoutWrapper{color:var(--emfe-w-pam-typography, var(--emfe-w-color-contrast, #07072A));padding:50px;max-width:760px}.TimeoutWrapper.TimeoutWrapperMobile{padding:20px 15px;max-width:unset}.MenuReturnButton{color:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));display:inline-flex;align-items:center;column-gap:20px}.MenuReturnButton svg{fill:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C))}.TimeoutTitle{font-size:26px;color:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));font-weight:400}.TimeoutTitleMobile{font-size:16px}.TimeoutTitleNone{display:none}.TimeoutDescription{color:var(--emfe-w-color-gray-300, #58586B);line-height:24px}.TimeoutDescription.TimeoutDescriptionMobile{font-size:12px;line-height:18px}.TimeoutSelectWrapper{color:var(--emfe-w-color-gray-300, #58586B);display:flex;flex-direction:column;position:relative}.TimeoutSelectWrapper .TimeoutSelect{width:50%;height:44px;border:1px solid var(--emfe-w-color-gray-100, #E6E6E6);background:var(--emfe-w-color-white, #FFFFFF);border-radius:5px;box-sizing:border-box;padding:5px 10px;font-size:16px;line-height:18px;margin-bottom:16px;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:url(\"data:image/svg+xml,<svg height='10px' width='10px' viewBox='0 0 16 16' fill='%23000000' xmlns='http://www.w3.org/2000/svg'><path d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>\") no-repeat var(--emfe-w-color-white, #FFFFFF);background-position:calc(100% - 0.75rem) center}.TimeoutSelectWrapper .TimeoutSelect:focus,.TimeoutSelectWrapper .TimeoutSelect :focus-within,.TimeoutSelectWrapper .TimeoutSelect :focus-visible,.TimeoutSelectWrapper .TimeoutSelect :visited{border:1px solid var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));box-shadow:0 0 0 1pt var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C))}.TimeoutSelectWrapper .TimeoutSelect.TimeoutSelectMobile{width:100%;height:36px;font-size:12px}.TimeoutActionButtons{display:grid;grid-column-gap:10px;grid-template-rows:auto;grid-template-columns:1fr;margin-top:20px;width:50%}.TimeoutActionButtons .TimeoutSave{background:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));border:1px solid var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));cursor:pointer;border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:16px;text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box}.TimeoutActionButtons.TimeoutActionButtonsMobile{width:100%;grid-template-columns:1fr}.TimeoutActionButtons.TimeoutActionButtonsMobile .TimeoutSave{height:40px;font-size:12px}",this.shadowRoot.appendChild(t),n(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},In,Bn,i,{operator:0,lang:8,clientstyling:9,clientstylingurl:10,translationurl:11},null),e&&(e.target&&li(e.target,this,e.anchor),e.props)&&(this.$set(e.props),p())}static get observedAttributes(){return["operator","lang","clientstyling","clientstylingurl","translationurl"]}get operator(){return this.$$.ctx[0]}set operator(e){this.$$set({operator:e}),p()}get lang(){return this.$$.ctx[8]}set lang(e){this.$$set({lang:e}),p()}get clientstyling(){return this.$$.ctx[9]}set clientstyling(e){this.$$set({clientstyling:e}),p()}get clientstylingurl(){return this.$$.ctx[10]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),p()}get translationurl(){return this.$$.ctx[11]}set translationurl(e){this.$$set({translationurl:e}),p()}});Fn=Nn={path:void 0,exports:{},require:function(e,t){return Mi(null==t&&Nn.path)}},Nn.exports,Fn.exports=function(){var N;function m(){return N.apply(null,arguments)}function a(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function F(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function f(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function O(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;for(var t in e)if(f(e,t))return;return 1}function s(e){return void 0===e}function R(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function H(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function j(e,t){for(var i=[],r=e.length,n=0;n<r;++n)i.push(t(e[n],n));return i}function z(e,t){for(var i in t)f(t,i)&&(e[i]=t[i]);return f(t,"toString")&&(e.toString=t.toString),f(t,"valueOf")&&(e.valueOf=t.valueOf),e}function c(e,t,i,r){return St(e,t,i,r,!0).utc()}function g(e){return null==e._pf&&(e._pf={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}),e._pf}function W(e){if(null==e._isValid){var t=g(e),i=Y.call(t.parsedDateParts,function(e){return null!=e}),i=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&i);if(e._strict&&(i=i&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return i;e._isValid=i}return e._isValid}function U(e){var t=c(NaN);return null!=e?z(g(t),e):g(t).userInvalidated=!0,t}var Y=Array.prototype.some||function(e){for(var t=Object(this),i=t.length>>>0,r=0;r<i;r++)if(r in t&&e.call(this,t[r],r,t))return!0;return!1},V=m.momentProperties=[],G=!1;function q(e,t){var i,r,n,o=V.length;if(s(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),s(t._i)||(e._i=t._i),s(t._f)||(e._f=t._f),s(t._l)||(e._l=t._l),s(t._strict)||(e._strict=t._strict),s(t._tzm)||(e._tzm=t._tzm),s(t._isUTC)||(e._isUTC=t._isUTC),s(t._offset)||(e._offset=t._offset),s(t._pf)||(e._pf=g(t)),s(t._locale)||(e._locale=t._locale),0<o)for(i=0;i<o;i++)s(n=t[r=V[i]])||(e[r]=n);return e}function Z(e){q(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===G&&(G=!0,m.updateOffset(this),G=!1)}function l(e){return e instanceof Z||null!=e&&null!=e._isAMomentObject}function K(e){!1===m.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function e(o,a){var s=!0;return z(function(){if(null!=m.deprecationHandler&&m.deprecationHandler(null,o),s){for(var e,t,i=[],r=arguments.length,n=0;n<r;n++){if(e="","object"==typeof arguments[n]){for(t in e+="\n["+n+"] ",arguments[0])f(arguments[0],t)&&(e+=t+": "+arguments[0][t]+", ");e=e.slice(0,-2)}else e=arguments[n];i.push(e)}K(o+"\nArguments: "+Array.prototype.slice.call(i).join("")+"\n"+(new Error).stack),s=!1}return a.apply(this,arguments)},a)}var X={};function J(e,t){null!=m.deprecationHandler&&m.deprecationHandler(e,t),X[e]||(K(t),X[e]=!0)}function u(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function Q(e,t){var i,r=z({},e);for(i in t)f(t,i)&&(F(e[i])&&F(t[i])?(r[i]={},z(r[i],e[i]),z(r[i],t[i])):null!=t[i]?r[i]=t[i]:delete r[i]);for(i in e)f(e,i)&&!f(t,i)&&F(e[i])&&(r[i]=z({},r[i]));return r}function ee(e){null!=e&&this.set(e)}m.suppressDeprecationWarnings=!1,m.deprecationHandler=null;var te=Object.keys||function(e){var t,i=[];for(t in e)f(e,t)&&i.push(t);return i};function o(e,t,i){var r=""+Math.abs(e);return(0<=e?i?"+":"":"-")+Math.pow(10,Math.max(0,t-r.length)).toString().substr(1)+r}var ie=/(\[[^\[]*\])|(\\)?([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,re=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,ne={},oe={};function r(e,t,i,r){var n="string"==typeof r?function(){return this[r]()}:r;e&&(oe[e]=n),t&&(oe[t[0]]=function(){return o(n.apply(this,arguments),t[1],t[2])}),i&&(oe[i]=function(){return this.localeData().ordinal(n.apply(this,arguments),e)})}function ae(e,t){return e.isValid()?(t=se(t,e.localeData()),ne[t]=ne[t]||function(r){for(var e,n=r.match(ie),t=0,o=n.length;t<o;t++)oe[n[t]]?n[t]=oe[n[t]]:n[t]=(e=n[t]).match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"");return function(e){for(var t="",i=0;i<o;i++)t+=u(n[i])?n[i].call(e,r):n[i];return t}}(t),ne[t](e)):e.localeData().invalidDate()}function se(e,t){var i=5;function r(e){return t.longDateFormat(e)||e}for(re.lastIndex=0;0<=i&&re.test(e);)e=e.replace(re,r),re.lastIndex=0,--i;return e}var le={};function t(e,t){var i=e.toLowerCase();le[i]=le[i+"s"]=le[t]=e}function d(e){return"string"==typeof e?le[e]||le[e.toLowerCase()]:void 0}function ce(e){var t,i,r={};for(i in e)f(e,i)&&(t=d(i))&&(r[t]=e[i]);return r}var ue={};function i(e,t){ue[e]=t}function de(e){return e%4==0&&e%100!=0||e%400==0}function p(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function h(e){var e=+e,t=0;return t=0!=e&&isFinite(e)?p(e):t}function pe(t,i){return function(e){return null!=e?(me(this,t,e),m.updateOffset(this,i),this):he(this,t)}}function he(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function me(e,t,i){e.isValid()&&!isNaN(i)&&("FullYear"===t&&de(e.year())&&1===e.month()&&29===e.date()?(i=h(i),e._d["set"+(e._isUTC?"UTC":"")+t](i,e.month(),Be(i,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](i))}var n=/\d/,y=/\d\d/,fe=/\d{3}/,ge=/\d{4}/,ye=/[+-]?\d{6}/,v=/\d\d?/,ve=/\d\d\d\d?/,we=/\d\d\d\d\d\d?/,be=/\d{1,3}/,_e=/\d{1,4}/,xe=/[+-]?\d{1,6}/,Ce=/\d+/,Pe=/[+-]?\d+/,Ee=/Z|[+-]\d\d:?\d\d/gi,Te=/Z|[+-]\d\d(?::?\d\d)?/gi,w=/[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;function b(e,i,r){Le[e]=u(i)?i:function(e,t){return e&&r?r:i}}function Ae(e,t){return f(Le,e)?Le[e](t._strict,t._locale):new RegExp(_(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,i,r,n){return t||i||r||n})))}function _(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var Le={},ke={};function x(e,i){var t,r,n=i;for("string"==typeof e&&(e=[e]),R(i)&&(n=function(e,t){t[i]=h(e)}),r=e.length,t=0;t<r;t++)ke[e[t]]=n}function Me(e,n){x(e,function(e,t,i,r){i._w=i._w||{},n(e,i._w,i,r)})}var C,P=0,E=1,T=2,A=3,L=4,k=5,Se=6,De=7,$e=8;function Be(e,t){var i;return isNaN(e)||isNaN(t)?NaN:(i=(t%(i=12)+i)%i,e+=(t-i)/12,1==i?de(e)?29:28:31-i%7%2)}C=Array.prototype.indexOf||function(e){for(var t=0;t<this.length;++t)if(this[t]===e)return t;return-1},r("M",["MM",2],"Mo",function(){return this.month()+1}),r("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),r("MMMM",0,0,function(e){return this.localeData().months(this,e)}),t("month","M"),i("month",8),b("M",v),b("MM",v,y),b("MMM",function(e,t){return t.monthsShortRegex(e)}),b("MMMM",function(e,t){return t.monthsRegex(e)}),x(["M","MM"],function(e,t){t[E]=h(e)-1}),x(["MMM","MMMM"],function(e,t,i,r){r=i._locale.monthsParse(e,r,i._strict);null!=r?t[E]=r:g(i).invalidMonth=e});var Ie="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Ne="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Fe=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Oe=w,Re=w;function He(e,t){var i;if(e.isValid()){if("string"==typeof t)if(/^\d+$/.test(t))t=h(t);else if(!R(t=e.localeData().monthsParse(t)))return;i=Math.min(e.date(),Be(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,i)}}function je(e){return null!=e?(He(this,e),m.updateOffset(this,!0),this):he(this,"Month")}function ze(){function e(e,t){return t.length-e.length}for(var t,i=[],r=[],n=[],o=0;o<12;o++)t=c([2e3,o]),i.push(this.monthsShort(t,"")),r.push(this.months(t,"")),n.push(this.months(t,"")),n.push(this.monthsShort(t,""));for(i.sort(e),r.sort(e),n.sort(e),o=0;o<12;o++)i[o]=_(i[o]),r[o]=_(r[o]);for(o=0;o<24;o++)n[o]=_(n[o]);this._monthsRegex=new RegExp("^("+n.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+i.join("|")+")","i")}function We(e){return de(e)?366:365}r("Y",0,0,function(){var e=this.year();return e<=9999?o(e,4):"+"+e}),r(0,["YY",2],0,function(){return this.year()%100}),r(0,["YYYY",4],0,"year"),r(0,["YYYYY",5],0,"year"),r(0,["YYYYYY",6,!0],0,"year"),t("year","y"),i("year",1),b("Y",Pe),b("YY",v,y),b("YYYY",_e,ge),b("YYYYY",xe,ye),b("YYYYYY",xe,ye),x(["YYYYY","YYYYYY"],P),x("YYYY",function(e,t){t[P]=2===e.length?m.parseTwoDigitYear(e):h(e)}),x("YY",function(e,t){t[P]=m.parseTwoDigitYear(e)}),x("Y",function(e,t){t[P]=parseInt(e,10)}),m.parseTwoDigitYear=function(e){return h(e)+(68<h(e)?1900:2e3)};var Ue=pe("FullYear",!0);function Ye(e,t,i,r,n,o,a){var s;return e<100&&0<=e?(s=new Date(e+400,t,i,r,n,o,a),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,i,r,n,o,a),s}function Ve(e){var t;return e<100&&0<=e?((t=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,t)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function Ge(e,t,i){i=7+t-i;return-(7+Ve(e,0,i).getUTCDay()-t)%7+i-1}function qe(e,t,i,r,n){var o,t=1+7*(t-1)+(7+i-r)%7+Ge(e,r,n),i=t<=0?We(o=e-1)+t:t>We(e)?(o=e+1,t-We(e)):(o=e,t);return{year:o,dayOfYear:i}}function Ze(e,t,i){var r,n,o=Ge(e.year(),t,i),o=Math.floor((e.dayOfYear()-o-1)/7)+1;return o<1?r=o+M(n=e.year()-1,t,i):o>M(e.year(),t,i)?(r=o-M(e.year(),t,i),n=e.year()+1):(n=e.year(),r=o),{week:r,year:n}}function M(e,t,i){var r=Ge(e,t,i),t=Ge(e+1,t,i);return(We(e)-r+t)/7}r("w",["ww",2],"wo","week"),r("W",["WW",2],"Wo","isoWeek"),t("week","w"),t("isoWeek","W"),i("week",5),i("isoWeek",5),b("w",v),b("ww",v,y),b("W",v),b("WW",v,y),Me(["w","ww","W","WW"],function(e,t,i,r){t[r.substr(0,1)]=h(e)});function Ke(e,t){return e.slice(t,7).concat(e.slice(0,t))}r("d",0,"do","day"),r("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),r("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),r("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),r("e",0,0,"weekday"),r("E",0,0,"isoWeekday"),t("day","d"),t("weekday","e"),t("isoWeekday","E"),i("day",11),i("weekday",11),i("isoWeekday",11),b("d",v),b("e",v),b("E",v),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)}),Me(["dd","ddd","dddd"],function(e,t,i,r){r=i._locale.weekdaysParse(e,r,i._strict);null!=r?t.d=r:g(i).invalidWeekday=e}),Me(["d","e","E"],function(e,t,i,r){t[r]=h(e)});var Xe="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Je="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Qe="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),et=w,tt=w,it=w;function rt(){function e(e,t){return t.length-e.length}for(var t,i,r,n=[],o=[],a=[],s=[],l=0;l<7;l++)r=c([2e3,1]).day(l),t=_(this.weekdaysMin(r,"")),i=_(this.weekdaysShort(r,"")),r=_(this.weekdays(r,"")),n.push(t),o.push(i),a.push(r),s.push(t),s.push(i),s.push(r);n.sort(e),o.sort(e),a.sort(e),s.sort(e),this._weekdaysRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+n.join("|")+")","i")}function nt(){return this.hours()%12||12}function ot(e,t){r(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function at(e,t){return t._meridiemParse}r("H",["HH",2],0,"hour"),r("h",["hh",2],0,nt),r("k",["kk",2],0,function(){return this.hours()||24}),r("hmm",0,0,function(){return""+nt.apply(this)+o(this.minutes(),2)}),r("hmmss",0,0,function(){return""+nt.apply(this)+o(this.minutes(),2)+o(this.seconds(),2)}),r("Hmm",0,0,function(){return""+this.hours()+o(this.minutes(),2)}),r("Hmmss",0,0,function(){return""+this.hours()+o(this.minutes(),2)+o(this.seconds(),2)}),ot("a",!0),ot("A",!1),t("hour","h"),i("hour",13),b("a",at),b("A",at),b("H",v),b("h",v),b("k",v),b("HH",v,y),b("hh",v,y),b("kk",v,y),b("hmm",ve),b("hmmss",we),b("Hmm",ve),b("Hmmss",we),x(["H","HH"],A),x(["k","kk"],function(e,t,i){e=h(e);t[A]=24===e?0:e}),x(["a","A"],function(e,t,i){i._isPm=i._locale.isPM(e),i._meridiem=e}),x(["h","hh"],function(e,t,i){t[A]=h(e),g(i).bigHour=!0}),x("hmm",function(e,t,i){var r=e.length-2;t[A]=h(e.substr(0,r)),t[L]=h(e.substr(r)),g(i).bigHour=!0}),x("hmmss",function(e,t,i){var r=e.length-4,n=e.length-2;t[A]=h(e.substr(0,r)),t[L]=h(e.substr(r,2)),t[k]=h(e.substr(n)),g(i).bigHour=!0}),x("Hmm",function(e,t,i){var r=e.length-2;t[A]=h(e.substr(0,r)),t[L]=h(e.substr(r))}),x("Hmmss",function(e,t,i){var r=e.length-4,n=e.length-2;t[A]=h(e.substr(0,r)),t[L]=h(e.substr(r,2)),t[k]=h(e.substr(n))});w=pe("Hours",!0);var st,lt={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{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"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{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"},months:Ie,monthsShort:Ne,week:{dow:0,doy:6},weekdays:Xe,weekdaysMin:Qe,weekdaysShort:Je,meridiemParse:/[ap]\.?m?\.?/i},S={},ct={};function ut(e){return e&&e.toLowerCase().replace("_","-")}function dt(e){for(var t,i,r,n,o=0;o<e.length;){for(t=(n=ut(e[o]).split("-")).length,i=(i=ut(e[o+1]))?i.split("-"):null;0<t;){if(r=pt(n.slice(0,t).join("-")))return r;if(i&&i.length>=t&&function(e,t){for(var i=Math.min(e.length,t.length),r=0;r<i;r+=1)if(e[r]!==t[r])return r;return i}(n,i)>=t-1)break;t--}o++}return st}function pt(t){var e;if(void 0===S[t]&&Fn&&Fn.exports&&null!=t.match("^[^/\\\\]*$"))try{e=st._abbr,Mi(),ht(e)}catch(e){S[t]=null}return S[t]}function ht(e,t){return e&&((t=s(t)?D(e):mt(e,t))?st=t:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),st._abbr}function mt(e,t){if(null===t)return delete S[e],null;var i,r=lt;if(t.abbr=e,null!=S[e])J("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."),r=S[e]._config;else if(null!=t.parentLocale)if(null!=S[t.parentLocale])r=S[t.parentLocale]._config;else{if(null==(i=pt(t.parentLocale)))return ct[t.parentLocale]||(ct[t.parentLocale]=[]),ct[t.parentLocale].push({name:e,config:t}),null;r=i._config}return S[e]=new ee(Q(r,t)),ct[e]&&ct[e].forEach(function(e){mt(e.name,e.config)}),ht(e),S[e]}function D(e){var t;if(!(e=e&&e._locale&&e._locale._abbr?e._locale._abbr:e))return st;if(!a(e)){if(t=pt(e))return t;e=[e]}return dt(e)}function ft(e){var t=e._a;return t&&-2===g(e).overflow&&(t=t[E]<0||11<t[E]?E:t[T]<1||t[T]>Be(t[P],t[E])?T:t[A]<0||24<t[A]||24===t[A]&&(0!==t[L]||0!==t[k]||0!==t[Se])?A:t[L]<0||59<t[L]?L:t[k]<0||59<t[k]?k:t[Se]<0||999<t[Se]?Se:-1,g(e)._overflowDayOfYear&&(t<P||T<t)&&(t=T),g(e)._overflowWeeks&&-1===t&&(t=De),g(e)._overflowWeekday&&-1===t&&(t=$e),g(e).overflow=t),e}var gt=/^\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)?)?$/,yt=/^\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)?)?$/,vt=/Z|[+-]\d\d(?::?\d\d)?/,wt=[["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]],bt=[["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/]],_t=/^\/?Date\((-?\d+)/i,xt=/^(?:(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}))$/,Ct={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Pt(e){var t,i,r,n,o,a,s=e._i,l=gt.exec(s)||yt.exec(s),s=wt.length,c=bt.length;if(l){for(g(e).iso=!0,t=0,i=s;t<i;t++)if(wt[t][1].exec(l[1])){n=wt[t][0],r=!1!==wt[t][2];break}if(null==n)return e._isValid=!1;if(l[3]){for(t=0,i=c;t<i;t++)if(bt[t][1].exec(l[3])){o=(l[2]||" ")+bt[t][0];break}if(null==o)return e._isValid=!1}if(!r&&null!=o)return e._isValid=!1;if(l[4]){if(!vt.exec(l[4]))return e._isValid=!1;a="Z"}e._f=n+(o||"")+(a||""),kt(e)}else e._isValid=!1}function Et(e,t,i,r,n,o){e=[function(e){e=parseInt(e,10);return e<=49?2e3+e:e<=999?1900+e:e}(e),Ne.indexOf(t),parseInt(i,10),parseInt(r,10),parseInt(n,10)];return o&&e.push(parseInt(o,10)),e}function Tt(e){var t,i,r,n,o=xt.exec(e._i.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));o?(t=Et(o[4],o[3],o[2],o[5],o[6],o[7]),i=o[1],r=t,n=e,i&&Je.indexOf(i)!==new Date(r[0],r[1],r[2]).getDay()?(g(n).weekdayMismatch=!0,n._isValid=!1):(e._a=t,e._tzm=(i=o[8],r=o[9],n=o[10],i?Ct[i]:r?0:((i=parseInt(n,10))-(r=i%100))/100*60+r),e._d=Ve.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),g(e).rfc2822=!0)):e._isValid=!1}function At(e,t,i){return null!=e?e:null!=t?t:i}function Lt(e){var t,i,r,n,o,a,s,l,c,u,d,p=[];if(!e._d){for(u=e,d=new Date(m.now()),i=u._useUTC?[d.getUTCFullYear(),d.getUTCMonth(),d.getUTCDate()]:[d.getFullYear(),d.getMonth(),d.getDate()],e._w&&null==e._a[T]&&null==e._a[E]&&(null!=(d=(u=e)._w).GG||null!=d.W||null!=d.E?(a=1,s=4,r=At(d.GG,u._a[P],Ze($(),1,4).year),n=At(d.W,1),((o=At(d.E,1))<1||7<o)&&(l=!0)):(a=u._locale._week.dow,s=u._locale._week.doy,c=Ze($(),a,s),r=At(d.gg,u._a[P],c.year),n=At(d.w,c.week),null!=d.d?((o=d.d)<0||6<o)&&(l=!0):null!=d.e?(o=d.e+a,(d.e<0||6<d.e)&&(l=!0)):o=a),n<1||n>M(r,a,s)?g(u)._overflowWeeks=!0:null!=l?g(u)._overflowWeekday=!0:(c=qe(r,n,o,a,s),u._a[P]=c.year,u._dayOfYear=c.dayOfYear)),null!=e._dayOfYear&&(d=At(e._a[P],i[P]),(e._dayOfYear>We(d)||0===e._dayOfYear)&&(g(e)._overflowDayOfYear=!0),l=Ve(d,0,e._dayOfYear),e._a[E]=l.getUTCMonth(),e._a[T]=l.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=p[t]=i[t];for(;t<7;t++)e._a[t]=p[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[A]&&0===e._a[L]&&0===e._a[k]&&0===e._a[Se]&&(e._nextDay=!0,e._a[A]=0),e._d=(e._useUTC?Ve:Ye).apply(null,p),r=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[A]=24),e._w&&void 0!==e._w.d&&e._w.d!==r&&(g(e).weekdayMismatch=!0)}}function kt(e){if(e._f!==m.ISO_8601)if(e._f!==m.RFC_2822){e._a=[],g(e).empty=!0;for(var t,i,r,n=""+e._i,o=n.length,a=0,s=(i=se(e._f,e._locale).match(ie)||[]).length,l=0;l<s;l++)r=i[l],(t=(n.match(Ae(r,e))||[])[0])&&(0<(d=n.substr(0,n.indexOf(t))).length&&g(e).unusedInput.push(d),n=n.slice(n.indexOf(t)+t.length),a+=t.length),oe[r]?(t?g(e).empty=!1:g(e).unusedTokens.push(r),d=r,h=e,null!=(p=t)&&f(ke,d)&&ke[d](p,h._a,h,d)):e._strict&&!t&&g(e).unusedTokens.push(r);g(e).charsLeftOver=o-a,0<n.length&&g(e).unusedInput.push(n),e._a[A]<=12&&!0===g(e).bigHour&&0<e._a[A]&&(g(e).bigHour=void 0),g(e).parsedDateParts=e._a.slice(0),g(e).meridiem=e._meridiem,e._a[A]=(o=e._locale,c=e._a[A],null==(u=e._meridiem)?c:null!=o.meridiemHour?o.meridiemHour(c,u):null!=o.isPM?((o=o.isPM(u))&&c<12&&(c+=12),c=o||12!==c?c:0):c),null!==(u=g(e).era)&&(e._a[P]=e._locale.erasConvertYear(u,e._a[P])),Lt(e),ft(e)}else Tt(e);else Pt(e);var c,u,d,p,h}function Mt(e){var t,i=e._i,r=e._f;{var n,o;return(e._locale=e._locale||D(e._l),null===i||void 0===r&&""===i)?U({nullInput:!0}):("string"==typeof i&&(e._i=i=e._locale.preparse(i)),l(i)?new Z(ft(i)):(H(i)?e._d=i:a(r)?function(e){var t,i,r,n,o,a,s=!1,l=e._f.length;if(0===l)return g(e).invalidFormat=!0,e._d=new Date(NaN);for(n=0;n<l;n++)o=0,a=!1,t=q({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[n],kt(t),W(t)&&(a=!0),o=(o+=g(t).charsLeftOver)+10*g(t).unusedTokens.length,g(t).score=o,s?o<r&&(r=o,i=t):(null==r||o<r||a)&&(r=o,i=t,a)&&(s=!0);z(e,i||t)}(e):r?kt(e):s(r=(i=e)._i)?i._d=new Date(m.now()):H(r)?i._d=new Date(r.valueOf()):"string"==typeof r?(n=i,null===(o=_t.exec(n._i))?(Pt(n),!1===n._isValid&&(delete n._isValid,Tt(n),!1===n._isValid)&&(delete n._isValid,n._strict?n._isValid=!1:m.createFromInputFallback(n))):n._d=new Date(+o[1])):a(r)?(i._a=j(r.slice(0),function(e){return parseInt(e,10)}),Lt(i)):F(r)?(n=i)._d||(t=void 0===(o=ce(n._i)).day?o.date:o.day,n._a=j([o.year,o.month,t,o.hour,o.minute,o.second,o.millisecond],function(e){return e&&parseInt(e,10)}),Lt(n)):R(r)?i._d=new Date(r):m.createFromInputFallback(i),W(e)||(e._d=null),e))}}function St(e,t,i,r,n){var o={};return!0!==t&&!1!==t||(r=t,t=void 0),!0!==i&&!1!==i||(r=i,i=void 0),(F(e)&&O(e)||a(e)&&0===e.length)&&(e=void 0),o._isAMomentObject=!0,o._useUTC=o._isUTC=n,o._l=i,o._i=e,o._f=t,o._strict=r,(n=new Z(ft(Mt(n=o))))._nextDay&&(n.add(1,"d"),n._nextDay=void 0),n}function $(e,t,i,r){return St(e,t,i,r,!1)}m.createFromInputFallback=e("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":""))}),m.ISO_8601=function(){},m.RFC_2822=function(){};ve=e("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=$.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:U()}),we=e("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=$.apply(null,arguments);return this.isValid()&&e.isValid()?this<e?this:e:U()});function Dt(e,t){var i,r;if(!(t=1===t.length&&a(t[0])?t[0]:t).length)return $();for(i=t[0],r=1;r<t.length;++r)t[r].isValid()&&!t[r][e](i)||(i=t[r]);return i}var $t=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Bt(e){var e=ce(e),t=e.year||0,i=e.quarter||0,r=e.month||0,n=e.week||e.isoWeek||0,o=e.day||0,a=e.hour||0,s=e.minute||0,l=e.second||0,c=e.millisecond||0;this._isValid=function(e){var t,i,r=!1,n=$t.length;for(t in e)if(f(e,t)&&(-1===C.call($t,t)||null!=e[t]&&isNaN(e[t])))return!1;for(i=0;i<n;++i)if(e[$t[i]]){if(r)return!1;parseFloat(e[$t[i]])!==h(e[$t[i]])&&(r=!0)}return!0}(e),this._milliseconds=+c+1e3*l+6e4*s+1e3*a*60*60,this._days=+o+7*n,this._months=+r+3*i+12*t,this._data={},this._locale=D(),this._bubble()}function It(e){return e instanceof Bt}function Nt(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function Ft(e,i){r(e,0,0,function(){var e=this.utcOffset(),t="+";return e<0&&(e=-e,t="-"),t+o(~~(e/60),2)+i+o(~~e%60,2)})}Ft("Z",":"),Ft("ZZ",""),b("Z",Te),b("ZZ",Te),x(["Z","ZZ"],function(e,t,i){i._useUTC=!0,i._tzm=Rt(Te,e)});var Ot=/([\+\-]|\d\d)/gi;function Rt(e,t){var t=(t||"").match(e);return null===t?null:0===(t=60*(e=((t[t.length-1]||[])+"").match(Ot)||["-",0,0])[1]+h(e[2]))?0:"+"===e[0]?t:-t}function Ht(e,t){var i;return t._isUTC?(t=t.clone(),i=(l(e)||H(e)?e:$(e)).valueOf()-t.valueOf(),t._d.setTime(t._d.valueOf()+i),m.updateOffset(t,!1),t):$(e).local()}function jt(e){return-Math.round(e._d.getTimezoneOffset())}function zt(){return!!this.isValid()&&this._isUTC&&0===this._offset}m.updateOffset=function(){};var Wt=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Ut=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function B(e,t){var i,r,n=e;return It(e)?n={ms:e._milliseconds,d:e._days,M:e._months}:R(e)||!isNaN(+e)?(n={},t?n[t]=+e:n.milliseconds=+e):(t=Wt.exec(e))?(i="-"===t[1]?-1:1,n={y:0,d:h(t[T])*i,h:h(t[A])*i,m:h(t[L])*i,s:h(t[k])*i,ms:h(Nt(1e3*t[Se]))*i}):(t=Ut.exec(e))?(i="-"===t[1]?-1:1,n={y:Yt(t[2],i),M:Yt(t[3],i),w:Yt(t[4],i),d:Yt(t[5],i),h:Yt(t[6],i),m:Yt(t[7],i),s:Yt(t[8],i)}):null==n?n={}:"object"==typeof n&&("from"in n||"to"in n)&&(t=$(n.from),i=$(n.to),t=t.isValid()&&i.isValid()?(i=Ht(i,t),t.isBefore(i)?r=Vt(t,i):((r=Vt(i,t)).milliseconds=-r.milliseconds,r.months=-r.months),r):{milliseconds:0,months:0},(n={}).ms=t.milliseconds,n.M=t.months),r=new Bt(n),It(e)&&f(e,"_locale")&&(r._locale=e._locale),It(e)&&f(e,"_isValid")&&(r._isValid=e._isValid),r}function Yt(e,t){e=e&&parseFloat(e.replace(",","."));return(isNaN(e)?0:e)*t}function Vt(e,t){var i={};return i.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(i.months,"M").isAfter(t)&&--i.months,i.milliseconds=+t-+e.clone().add(i.months,"M"),i}function Gt(r,n){return function(e,t){var i;return null===t||isNaN(+t)||(J(n,"moment()."+n+"(period, number) is deprecated. Please use moment()."+n+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),i=e,e=t,t=i),qt(this,B(e,t),r),this}}function qt(e,t,i,r){var n=t._milliseconds,o=Nt(t._days),t=Nt(t._months);e.isValid()&&(r=null==r||r,t&&He(e,he(e,"Month")+t*i),o&&me(e,"Date",he(e,"Date")+o*i),n&&e._d.setTime(e._d.valueOf()+n*i),r)&&m.updateOffset(e,o||t)}B.fn=Bt.prototype,B.invalid=function(){return B(NaN)};Ie=Gt(1,"add"),Xe=Gt(-1,"subtract");function Zt(e){return"string"==typeof e||e instanceof String}function Kt(e){return l(e)||H(e)||Zt(e)||R(e)||(i=a(t=e),r=!1,i&&(r=0===t.filter(function(e){return!R(e)&&Zt(t)}).length),i&&r)||function(e){var t,i,r=F(e)&&!O(e),n=!1,o=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],a=o.length;for(t=0;t<a;t+=1)i=o[t],n=n||f(e,i);return r&&n}(e)||null==e;var t,i,r}function Xt(e,t){var i,r;return e.date()<t.date()?-Xt(t,e):-((i=12*(t.year()-e.year())+(t.month()-e.month()))+(t-(r=e.clone().add(i,"months"))<0?(t-r)/(r-e.clone().add(i-1,"months")):(t-r)/(e.clone().add(1+i,"months")-r)))||0}function Jt(e){return void 0===e?this._locale._abbr:(null!=(e=D(e))&&(this._locale=e),this)}m.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",m.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";Qe=e("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return void 0===e?this.localeData():this.locale(e)});function Qt(){return this._locale}var ei=126227808e5;function ti(e,t){return(e%t+t)%t}function ii(e,t,i){return e<100&&0<=e?new Date(e+400,t,i)-ei:new Date(e,t,i).valueOf()}function ri(e,t,i){return e<100&&0<=e?Date.UTC(e+400,t,i)-ei:Date.UTC(e,t,i)}function ni(e,t){return t.erasAbbrRegex(e)}function oi(){for(var e=[],t=[],i=[],r=[],n=this.eras(),o=0,a=n.length;o<a;++o)t.push(_(n[o].name)),e.push(_(n[o].abbr)),i.push(_(n[o].narrow)),r.push(_(n[o].name)),r.push(_(n[o].abbr)),r.push(_(n[o].narrow));this._erasRegex=new RegExp("^("+r.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+t.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+i.join("|")+")","i")}function ai(e,t){r(0,[e,e.length],0,t)}function si(e,t,i,r,n){var o;return null==e?Ze(this,r,n).year:(t>(o=M(e,r,n))&&(t=o),function(e,t,i,r,n){e=qe(e,t,i,r,n),t=Ve(e.year,0,e.dayOfYear);return this.year(t.getUTCFullYear()),this.month(t.getUTCMonth()),this.date(t.getUTCDate()),this}.call(this,e,t,i,r,n))}r("N",0,0,"eraAbbr"),r("NN",0,0,"eraAbbr"),r("NNN",0,0,"eraAbbr"),r("NNNN",0,0,"eraName"),r("NNNNN",0,0,"eraNarrow"),r("y",["y",1],"yo","eraYear"),r("y",["yy",2],0,"eraYear"),r("y",["yyy",3],0,"eraYear"),r("y",["yyyy",4],0,"eraYear"),b("N",ni),b("NN",ni),b("NNN",ni),b("NNNN",function(e,t){return t.erasNameRegex(e)}),b("NNNNN",function(e,t){return t.erasNarrowRegex(e)}),x(["N","NN","NNN","NNNN","NNNNN"],function(e,t,i,r){r=i._locale.erasParse(e,r,i._strict);r?g(i).era=r:g(i).invalidEra=e}),b("y",Ce),b("yy",Ce),b("yyy",Ce),b("yyyy",Ce),b("yo",function(e,t){return t._eraYearOrdinalRegex||Ce}),x(["y","yy","yyy","yyyy"],P),x(["yo"],function(e,t,i,r){var n;i._locale._eraYearOrdinalRegex&&(n=e.match(i._locale._eraYearOrdinalRegex)),i._locale.eraYearOrdinalParse?t[P]=i._locale.eraYearOrdinalParse(e,n):t[P]=parseInt(e,10)}),r(0,["gg",2],0,function(){return this.weekYear()%100}),r(0,["GG",2],0,function(){return this.isoWeekYear()%100}),ai("gggg","weekYear"),ai("ggggg","weekYear"),ai("GGGG","isoWeekYear"),ai("GGGGG","isoWeekYear"),t("weekYear","gg"),t("isoWeekYear","GG"),i("weekYear",1),i("isoWeekYear",1),b("G",Pe),b("g",Pe),b("GG",v,y),b("gg",v,y),b("GGGG",_e,ge),b("gggg",_e,ge),b("GGGGG",xe,ye),b("ggggg",xe,ye),Me(["gggg","ggggg","GGGG","GGGGG"],function(e,t,i,r){t[r.substr(0,2)]=h(e)}),Me(["gg","GG"],function(e,t,i,r){t[r]=m.parseTwoDigitYear(e)}),r("Q",0,"Qo","quarter"),t("quarter","Q"),i("quarter",7),b("Q",n),x("Q",function(e,t){t[E]=3*(h(e)-1)}),r("D",["DD",2],"Do","date"),t("date","D"),i("date",9),b("D",v),b("DD",v,y),b("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),x(["D","DD"],T),x("Do",function(e,t){t[T]=h(e.match(v)[0])});_e=pe("Date",!0);r("DDD",["DDDD",3],"DDDo","dayOfYear"),t("dayOfYear","DDD"),i("dayOfYear",4),b("DDD",be),b("DDDD",fe),x(["DDD","DDDD"],function(e,t,i){i._dayOfYear=h(e)}),r("m",["mm",2],0,"minute"),t("minute","m"),i("minute",14),b("m",v),b("mm",v,y),x(["m","mm"],L);ge=pe("Minutes",!1);r("s",["ss",2],0,"second"),t("second","s"),i("second",15),b("s",v),b("ss",v,y),x(["s","ss"],k);var li,xe=pe("Seconds",!1);for(r("S",0,0,function(){return~~(this.millisecond()/100)}),r(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),r(0,["SSS",3],0,"millisecond"),r(0,["SSSS",4],0,function(){return 10*this.millisecond()}),r(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),r(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),r(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),r(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),r(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),t("millisecond","ms"),i("millisecond",16),b("S",be,n),b("SS",be,y),b("SSS",be,fe),li="SSSS";li.length<=9;li+="S")b(li,Ce);function ci(e,t){t[Se]=h(1e3*("0."+e))}for(li="S";li.length<=9;li+="S")x(li,ci);ye=pe("Milliseconds",!1),r("z",0,0,"zoneAbbr"),r("zz",0,0,"zoneName");n=Z.prototype;function ui(e){return e}n.add=Ie,n.calendar=function(e,t){1===arguments.length&&(arguments[0]?Kt(arguments[0])?(e=arguments[0],t=void 0):function(e){for(var t=F(e)&&!O(e),i=!1,r=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],n=0;n<r.length;n+=1)i=i||f(e,r[n]);return t&&i}(arguments[0])&&(t=arguments[0],e=void 0):t=e=void 0);var e=e||$(),i=Ht(e,this).startOf("day"),i=m.calendarFormat(this,i)||"sameElse",t=t&&(u(t[i])?t[i].call(this,e):t[i]);return this.format(t||this.localeData().calendar(i,this,$(e)))},n.clone=function(){return new Z(this)},n.diff=function(e,t,i){var r,n,o;if(!this.isValid())return NaN;if(!(r=Ht(e,this)).isValid())return NaN;switch(n=6e4*(r.utcOffset()-this.utcOffset()),t=d(t)){case"year":o=Xt(this,r)/12;break;case"month":o=Xt(this,r);break;case"quarter":o=Xt(this,r)/3;break;case"second":o=(this-r)/1e3;break;case"minute":o=(this-r)/6e4;break;case"hour":o=(this-r)/36e5;break;case"day":o=(this-r-n)/864e5;break;case"week":o=(this-r-n)/6048e5;break;default:o=this-r}return i?o:p(o)},n.endOf=function(e){var t,i;if(void 0!==(e=d(e))&&"millisecond"!==e&&this.isValid()){switch(i=this._isUTC?ri:ii,e){case"year":t=i(this.year()+1,0,1)-1;break;case"quarter":t=i(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=i(this.year(),this.month()+1,1)-1;break;case"week":t=i(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=i(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=i(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=36e5-ti(t+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":t=this._d.valueOf(),t+=6e4-ti(t,6e4)-1;break;case"second":t=this._d.valueOf(),t+=1e3-ti(t,1e3)-1}this._d.setTime(t),m.updateOffset(this,!0)}return this},n.format=function(e){return e=e||(this.isUtc()?m.defaultFormatUtc:m.defaultFormat),e=ae(this,e),this.localeData().postformat(e)},n.from=function(e,t){return this.isValid()&&(l(e)&&e.isValid()||$(e).isValid())?B({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},n.fromNow=function(e){return this.from($(),e)},n.to=function(e,t){return this.isValid()&&(l(e)&&e.isValid()||$(e).isValid())?B({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},n.toNow=function(e){return this.to($(),e)},n.get=function(e){return u(this[e=d(e)])?this[e]():this},n.invalidAt=function(){return g(this).overflow},n.isAfter=function(e,t){return e=l(e)?e:$(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=d(t)||"millisecond")?this.valueOf()>e.valueOf():e.valueOf()<this.clone().startOf(t).valueOf())},n.isBefore=function(e,t){return e=l(e)?e:$(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=d(t)||"millisecond")?this.valueOf()<e.valueOf():this.clone().endOf(t).valueOf()<e.valueOf())},n.isBetween=function(e,t,i,r){return e=l(e)?e:$(e),t=l(t)?t:$(t),!!(this.isValid()&&e.isValid()&&t.isValid())&&("("===(r=r||"()")[0]?this.isAfter(e,i):!this.isBefore(e,i))&&(")"===r[1]?this.isBefore(t,i):!this.isAfter(t,i))},n.isSame=function(e,t){var e=l(e)?e:$(e);return!(!this.isValid()||!e.isValid())&&("millisecond"===(t=d(t)||"millisecond")?this.valueOf()===e.valueOf():(e=e.valueOf(),this.clone().startOf(t).valueOf()<=e&&e<=this.clone().endOf(t).valueOf()))},n.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},n.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},n.isValid=function(){return W(this)},n.lang=Qe,n.locale=Jt,n.localeData=Qt,n.max=we,n.min=ve,n.parsingFlags=function(){return z({},g(this))},n.set=function(e,t){if("object"==typeof e)for(var i=function(e){var t,i=[];for(t in e)f(e,t)&&i.push({unit:t,priority:ue[t]});return i.sort(function(e,t){return e.priority-t.priority}),i}(e=ce(e)),r=i.length,n=0;n<r;n++)this[i[n].unit](e[i[n].unit]);else if(u(this[e=d(e)]))return this[e](t);return this},n.startOf=function(e){var t,i;if(void 0!==(e=d(e))&&"millisecond"!==e&&this.isValid()){switch(i=this._isUTC?ri:ii,e){case"year":t=i(this.year(),0,1);break;case"quarter":t=i(this.year(),this.month()-this.month()%3,1);break;case"month":t=i(this.year(),this.month(),1);break;case"week":t=i(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=i(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=i(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=ti(t+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":t=this._d.valueOf(),t-=ti(t,6e4);break;case"second":t=this._d.valueOf(),t-=ti(t,1e3)}this._d.setTime(t),m.updateOffset(this,!0)}return this},n.subtract=Xe,n.toArray=function(){return[this.year(),this.month(),this.date(),this.hour(),this.minute(),this.second(),this.millisecond()]},n.toObject=function(){return{years:this.year(),months:this.month(),date:this.date(),hours:this.hours(),minutes:this.minutes(),seconds:this.seconds(),milliseconds:this.milliseconds()}},n.toDate=function(){return new Date(this.valueOf())},n.toISOString=function(e){var t;return this.isValid()?(t=(e=!0!==e)?this.clone().utc():this).year()<0||9999<t.year()?ae(t,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):u(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",ae(t,"Z")):ae(t,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ"):null},n.inspect=function(){var e,t,i;return this.isValid()?(t="moment",i="",this.isLocal()||(t=0===this.utcOffset()?"moment.utc":"moment.parseZone",i="Z"),t="["+t+'("]',e=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(t+e+"-MM-DD[T]HH:mm:ss.SSS"+(i+'[")]'))):"moment.invalid(/* "+this._i+" */)"},"undefined"!=typeof Symbol&&null!=Symbol.for&&(n[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),n.toJSON=function(){return this.isValid()?this.toISOString():null},n.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},n.unix=function(){return Math.floor(this.valueOf()/1e3)},n.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},n.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},n.eraName=function(){for(var e,t=this.localeData().eras(),i=0,r=t.length;i<r;++i){if(e=this.clone().startOf("day").valueOf(),t[i].since<=e&&e<=t[i].until)return t[i].name;if(t[i].until<=e&&e<=t[i].since)return t[i].name}return""},n.eraNarrow=function(){for(var e,t=this.localeData().eras(),i=0,r=t.length;i<r;++i){if(e=this.clone().startOf("day").valueOf(),t[i].since<=e&&e<=t[i].until)return t[i].narrow;if(t[i].until<=e&&e<=t[i].since)return t[i].narrow}return""},n.eraAbbr=function(){for(var e,t=this.localeData().eras(),i=0,r=t.length;i<r;++i){if(e=this.clone().startOf("day").valueOf(),t[i].since<=e&&e<=t[i].until)return t[i].abbr;if(t[i].until<=e&&e<=t[i].since)return t[i].abbr}return""},n.eraYear=function(){for(var e,t,i=this.localeData().eras(),r=0,n=i.length;r<n;++r)if(e=i[r].since<=i[r].until?1:-1,t=this.clone().startOf("day").valueOf(),i[r].since<=t&&t<=i[r].until||i[r].until<=t&&t<=i[r].since)return(this.year()-m(i[r].since).year())*e+i[r].offset;return this.year()},n.year=Ue,n.isLeapYear=function(){return de(this.year())},n.weekYear=function(e){return si.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},n.isoWeekYear=function(e){return si.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},n.quarter=n.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},n.month=je,n.daysInMonth=function(){return Be(this.year(),this.month())},n.week=n.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},n.isoWeek=n.isoWeeks=function(e){var t=Ze(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},n.weeksInYear=function(){var e=this.localeData()._week;return M(this.year(),e.dow,e.doy)},n.weeksInWeekYear=function(){var e=this.localeData()._week;return M(this.weekYear(),e.dow,e.doy)},n.isoWeeksInYear=function(){return M(this.year(),1,4)},n.isoWeeksInISOWeekYear=function(){return M(this.isoWeekYear(),1,4)},n.date=_e,n.day=n.days=function(e){var t,i,r;return this.isValid()?(t=this._isUTC?this._d.getUTCDay():this._d.getDay(),null!=e?(i=e,r=this.localeData(),e="string"!=typeof i?i:isNaN(i)?"number"==typeof(i=r.weekdaysParse(i))?i:null:parseInt(i,10),this.add(e-t,"d")):t):null!=e?this:NaN},n.weekday=function(e){var t;return this.isValid()?(t=(this.day()+7-this.localeData()._week.dow)%7,null==e?t:this.add(e-t,"d")):null!=e?this:NaN},n.isoWeekday=function(e){var t,i;return this.isValid()?null!=e?(t=e,i=this.localeData(),i="string"==typeof t?i.weekdaysParse(t)%7||7:isNaN(t)?null:t,this.day(this.day()%7?i:i-7)):this.day()||7:null!=e?this:NaN},n.dayOfYear=function(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},n.hour=n.hours=w,n.minute=n.minutes=ge,n.second=n.seconds=xe,n.millisecond=n.milliseconds=ye,n.utcOffset=function(e,t,i){var r,n=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null==e)return this._isUTC?n:jt(this);if("string"==typeof e){if(null===(e=Rt(Te,e)))return this}else Math.abs(e)<16&&!i&&(e*=60);return!this._isUTC&&t&&(r=jt(this)),this._offset=e,this._isUTC=!0,null!=r&&this.add(r,"m"),n!==e&&(!t||this._changeInProgress?qt(this,B(e-n,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,m.updateOffset(this,!0),this._changeInProgress=null)),this},n.utc=function(e){return this.utcOffset(0,e)},n.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e)&&this.subtract(jt(this),"m"),this},n.parseZone=function(){var e;return null!=this._tzm?this.utcOffset(this._tzm,!1,!0):"string"==typeof this._i&&(null!=(e=Rt(Ee,this._i))?this.utcOffset(e):this.utcOffset(0,!0)),this},n.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?$(e).utcOffset():0,(this.utcOffset()-e)%60==0)},n.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},n.isLocal=function(){return!!this.isValid()&&!this._isUTC},n.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},n.isUtc=zt,n.isUTC=zt,n.zoneAbbr=function(){return this._isUTC?"UTC":""},n.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},n.dates=e("dates accessor is deprecated. Use date instead.",_e),n.months=e("months accessor is deprecated. Use month instead",je),n.years=e("years accessor is deprecated. Use year instead",Ue),n.zone=e("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(e,t){return null!=e?(this.utcOffset(e="string"!=typeof e?-e:e,t),this):-this.utcOffset()}),n.isDSTShifted=e("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){var e,t;return s(this._isDSTShifted)&&(q(t={},this),(t=Mt(t))._a?(e=(t._isUTC?c:$)(t._a),this._isDSTShifted=this.isValid()&&0<function(e,t,i){for(var r=Math.min(e.length,t.length),n=Math.abs(e.length-t.length),o=0,a=0;a<r;a++)(i&&e[a]!==t[a]||!i&&h(e[a])!==h(t[a]))&&o++;return o+n}(t._a,e.toArray())):this._isDSTShifted=!1),this._isDSTShifted});y=ee.prototype;function di(e,t,i,r){var n=D(),r=c().set(r,t);return n[i](r,e)}function pi(e,t,i){if(R(e)&&(t=e,e=void 0),e=e||"",null!=t)return di(e,t,i,"month");for(var r=[],n=0;n<12;n++)r[n]=di(e,n,i,"month");return r}function hi(e,t,i,r){t=("boolean"==typeof e||(i=t=e,e=!1),R(t)&&(i=t,t=void 0),t||"");var n,o=D(),a=e?o._week.dow:0,s=[];if(null!=i)return di(t,(i+a)%7,r,"day");for(n=0;n<7;n++)s[n]=di(t,(n+a)%7,r,"day");return s}y.calendar=function(e,t,i){return u(e=this._calendar[e]||this._calendar.sameElse)?e.call(t,i):e},y.longDateFormat=function(e){var t=this._longDateFormat[e],i=this._longDateFormat[e.toUpperCase()];return t||!i?t:(this._longDateFormat[e]=i.match(ie).map(function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e}).join(""),this._longDateFormat[e])},y.invalidDate=function(){return this._invalidDate},y.ordinal=function(e){return this._ordinal.replace("%d",e)},y.preparse=ui,y.postformat=ui,y.relativeTime=function(e,t,i,r){var n=this._relativeTime[i];return u(n)?n(e,t,i,r):n.replace(/%d/i,e)},y.pastFuture=function(e,t){return u(e=this._relativeTime[0<e?"future":"past"])?e(t):e.replace(/%s/i,t)},y.set=function(e){var t,i;for(i in e)f(e,i)&&(u(t=e[i])?this[i]=t:this["_"+i]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},y.eras=function(e,t){for(var i,r=this._eras||D("en")._eras,n=0,o=r.length;n<o;++n)switch("string"==typeof r[n].since&&(i=m(r[n].since).startOf("day"),r[n].since=i.valueOf()),typeof r[n].until){case"undefined":r[n].until=1/0;break;case"string":i=m(r[n].until).startOf("day").valueOf(),r[n].until=i.valueOf()}return r},y.erasParse=function(e,t,i){var r,n,o,a,s,l=this.eras();for(e=e.toUpperCase(),r=0,n=l.length;r<n;++r)if(o=l[r].name.toUpperCase(),a=l[r].abbr.toUpperCase(),s=l[r].narrow.toUpperCase(),i)switch(t){case"N":case"NN":case"NNN":if(a===e)return l[r];break;case"NNNN":if(o===e)return l[r];break;case"NNNNN":if(s===e)return l[r]}else if(0<=[o,a,s].indexOf(e))return l[r]},y.erasConvertYear=function(e,t){var i=e.since<=e.until?1:-1;return void 0===t?m(e.since).year():m(e.since).year()+(t-e.offset)*i},y.erasAbbrRegex=function(e){return f(this,"_erasAbbrRegex")||oi.call(this),e?this._erasAbbrRegex:this._erasRegex},y.erasNameRegex=function(e){return f(this,"_erasNameRegex")||oi.call(this),e?this._erasNameRegex:this._erasRegex},y.erasNarrowRegex=function(e){return f(this,"_erasNarrowRegex")||oi.call(this),e?this._erasNarrowRegex:this._erasRegex},y.months=function(e,t){return e?(a(this._months)?this._months:this._months[(this._months.isFormat||Fe).test(t)?"format":"standalone"])[e.month()]:a(this._months)?this._months:this._months.standalone},y.monthsShort=function(e,t){return e?(a(this._monthsShort)?this._monthsShort:this._monthsShort[Fe.test(t)?"format":"standalone"])[e.month()]:a(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},y.monthsParse=function(e,t,i){var r,n;if(this._monthsParseExact)return function(e,t,i){var r,n,o,e=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)o=c([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(o,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(o,"").toLocaleLowerCase();return i?"MMM"===t?-1!==(n=C.call(this._shortMonthsParse,e))?n:null:-1!==(n=C.call(this._longMonthsParse,e))?n:null:"MMM"===t?-1!==(n=C.call(this._shortMonthsParse,e))||-1!==(n=C.call(this._longMonthsParse,e))?n:null:-1!==(n=C.call(this._longMonthsParse,e))||-1!==(n=C.call(this._shortMonthsParse,e))?n:null}.call(this,e,t,i);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(n=c([2e3,r]),i&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(n,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(n,"").replace(".","")+"$","i")),i||this._monthsParse[r]||(n="^"+this.months(n,"")+"|^"+this.monthsShort(n,""),this._monthsParse[r]=new RegExp(n.replace(".",""),"i")),i&&"MMMM"===t&&this._longMonthsParse[r].test(e))return r;if(i&&"MMM"===t&&this._shortMonthsParse[r].test(e))return r;if(!i&&this._monthsParse[r].test(e))return r}},y.monthsRegex=function(e){return this._monthsParseExact?(f(this,"_monthsRegex")||ze.call(this),e?this._monthsStrictRegex:this._monthsRegex):(f(this,"_monthsRegex")||(this._monthsRegex=Re),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},y.monthsShortRegex=function(e){return this._monthsParseExact?(f(this,"_monthsRegex")||ze.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(f(this,"_monthsShortRegex")||(this._monthsShortRegex=Oe),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},y.week=function(e){return Ze(e,this._week.dow,this._week.doy).week},y.firstDayOfYear=function(){return this._week.doy},y.firstDayOfWeek=function(){return this._week.dow},y.weekdays=function(e,t){return t=a(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"],!0===e?Ke(t,this._week.dow):e?t[e.day()]:t},y.weekdaysMin=function(e){return!0===e?Ke(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},y.weekdaysShort=function(e){return!0===e?Ke(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},y.weekdaysParse=function(e,t,i){var r,n;if(this._weekdaysParseExact)return function(e,t,i){var r,n,o,e=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)o=c([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(o,"").toLocaleLowerCase();return i?"dddd"===t?-1!==(n=C.call(this._weekdaysParse,e))?n:null:"ddd"===t?-1!==(n=C.call(this._shortWeekdaysParse,e))?n:null:-1!==(n=C.call(this._minWeekdaysParse,e))?n:null:"dddd"===t?-1!==(n=C.call(this._weekdaysParse,e))||-1!==(n=C.call(this._shortWeekdaysParse,e))||-1!==(n=C.call(this._minWeekdaysParse,e))?n:null:"ddd"===t?-1!==(n=C.call(this._shortWeekdaysParse,e))||-1!==(n=C.call(this._weekdaysParse,e))||-1!==(n=C.call(this._minWeekdaysParse,e))?n:null:-1!==(n=C.call(this._minWeekdaysParse,e))||-1!==(n=C.call(this._weekdaysParse,e))||-1!==(n=C.call(this._shortWeekdaysParse,e))?n:null}.call(this,e,t,i);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(n=c([2e3,1]).day(r),i&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(n,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(n,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(n,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(n="^"+this.weekdays(n,"")+"|^"+this.weekdaysShort(n,"")+"|^"+this.weekdaysMin(n,""),this._weekdaysParse[r]=new RegExp(n.replace(".",""),"i")),i&&"dddd"===t&&this._fullWeekdaysParse[r].test(e))return r;if(i&&"ddd"===t&&this._shortWeekdaysParse[r].test(e))return r;if(i&&"dd"===t&&this._minWeekdaysParse[r].test(e))return r;if(!i&&this._weekdaysParse[r].test(e))return r}},y.weekdaysRegex=function(e){return this._weekdaysParseExact?(f(this,"_weekdaysRegex")||rt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(f(this,"_weekdaysRegex")||(this._weekdaysRegex=et),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},y.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(f(this,"_weekdaysRegex")||rt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(f(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=tt),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},y.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(f(this,"_weekdaysRegex")||rt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(f(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=it),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},y.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},y.meridiem=function(e,t,i){return 11<e?i?"pm":"PM":i?"am":"AM"},ht("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===h(e%100/10)?"th":1==t?"st":2==t?"nd":3==t?"rd":"th")}}),m.lang=e("moment.lang is deprecated. Use moment.locale instead.",ht),m.langData=e("moment.langData is deprecated. Use moment.localeData instead.",D);var mi=Math.abs;function fi(e,t,i,r){t=B(t,i);return e._milliseconds+=r*t._milliseconds,e._days+=r*t._days,e._months+=r*t._months,e._bubble()}function gi(e){return e<0?Math.floor(e):Math.ceil(e)}function yi(e){return 4800*e/146097}function vi(e){return 146097*e/4800}function wi(e){return function(){return this.as(e)}}be=wi("ms"),fe=wi("s"),Ie=wi("m"),we=wi("h"),ve=wi("d"),Xe=wi("w"),w=wi("M"),ge=wi("Q"),xe=wi("y");function bi(e){return function(){return this.isValid()?this._data[e]:NaN}}var ye=bi("milliseconds"),_e=bi("seconds"),Ue=bi("minutes"),y=bi("hours"),_i=bi("days"),xi=bi("months"),Ci=bi("years");var Pi=Math.round,Ei={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Ti(e,t,i,r){var n=B(e).abs(),o=Pi(n.as("s")),a=Pi(n.as("m")),s=Pi(n.as("h")),l=Pi(n.as("d")),c=Pi(n.as("M")),u=Pi(n.as("w")),n=Pi(n.as("y")),o=(o<=i.ss?["s",o]:o<i.s&&["ss",o])||(a<=1?["m"]:a<i.m&&["mm",a])||(s<=1?["h"]:s<i.h&&["hh",s])||(l<=1?["d"]:l<i.d&&["dd",l]);return(o=(o=null!=i.w?o||(u<=1?["w"]:u<i.w&&["ww",u]):o)||(c<=1?["M"]:c<i.M&&["MM",c])||(n<=1?["y"]:["yy",n]))[2]=t,o[3]=0<+e,o[4]=r,function(e,t,i,r,n){return n.relativeTime(t||1,!!i,e,r)}.apply(null,o)}var Ai=Math.abs;function Li(e){return(0<e)-(e<0)||+e}function ki(){var e,t,i,r,n,o,a,s,l,c,u;return this.isValid()?(s=Ai(this._milliseconds)/1e3,l=Ai(this._days),c=Ai(this._months),(u=this.asSeconds())?(e=p(s/60),t=p(e/60),s%=60,e%=60,i=p(c/12),c%=12,r=s?s.toFixed(3).replace(/\.?0+$/,""):"",n=Li(this._months)!==Li(u)?"-":"",o=Li(this._days)!==Li(u)?"-":"",a=Li(this._milliseconds)!==Li(u)?"-":"",(u<0?"-":"")+"P"+(i?n+i+"Y":"")+(c?n+c+"M":"")+(l?o+l+"D":"")+(t||e||s?"T":"")+(t?a+t+"H":"")+(e?a+e+"M":"")+(s?a+r+"S":"")):"P0D"):this.localeData().invalidDate()}var I=Bt.prototype;return I.isValid=function(){return this._isValid},I.abs=function(){var e=this._data;return this._milliseconds=mi(this._milliseconds),this._days=mi(this._days),this._months=mi(this._months),e.milliseconds=mi(e.milliseconds),e.seconds=mi(e.seconds),e.minutes=mi(e.minutes),e.hours=mi(e.hours),e.months=mi(e.months),e.years=mi(e.years),this},I.add=function(e,t){return fi(this,e,t,1)},I.subtract=function(e,t){return fi(this,e,t,-1)},I.as=function(e){if(!this.isValid())return NaN;var t,i,r=this._milliseconds;if("month"===(e=d(e))||"quarter"===e||"year"===e)switch(t=this._days+r/864e5,i=this._months+yi(t),e){case"month":return i;case"quarter":return i/3;case"year":return i/12}else switch(t=this._days+Math.round(vi(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return 24*t+r/36e5;case"minute":return 1440*t+r/6e4;case"second":return 86400*t+r/1e3;case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}},I.asMilliseconds=be,I.asSeconds=fe,I.asMinutes=Ie,I.asHours=we,I.asDays=ve,I.asWeeks=Xe,I.asMonths=w,I.asQuarters=ge,I.asYears=xe,I.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*h(this._months/12):NaN},I._bubble=function(){var e=this._milliseconds,t=this._days,i=this._months,r=this._data;return 0<=e&&0<=t&&0<=i||e<=0&&t<=0&&i<=0||(e+=864e5*gi(vi(i)+t),i=t=0),r.milliseconds=e%1e3,e=p(e/1e3),r.seconds=e%60,e=p(e/60),r.minutes=e%60,e=p(e/60),r.hours=e%24,t+=p(e/24),i+=e=p(yi(t)),t-=gi(vi(e)),e=p(i/12),i%=12,r.days=t,r.months=i,r.years=e,this},I.clone=function(){return B(this)},I.get=function(e){return e=d(e),this.isValid()?this[e+"s"]():NaN},I.milliseconds=ye,I.seconds=_e,I.minutes=Ue,I.hours=y,I.days=_i,I.weeks=function(){return p(this.days()/7)},I.months=xi,I.years=Ci,I.humanize=function(e,t){var i,r;return this.isValid()?(i=!1,r=Ei,"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(i=e),"object"==typeof t&&(r=Object.assign({},Ei,t),null!=t.s)&&null==t.ss&&(r.ss=t.s-1),t=Ti(this,!i,r,e=this.localeData()),i&&(t=e.pastFuture(+this,t)),e.postformat(t)):this.localeData().invalidDate()},I.toISOString=ki,I.toString=ki,I.toJSON=ki,I.locale=Jt,I.localeData=Qt,I.toIsoString=e("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",ki),I.lang=Qe,r("X",0,0,"unix"),r("x",0,0,"valueOf"),b("x",Pe),b("X",/[+-]?\d+(\.\d{1,3})?/),x("X",function(e,t,i){i._d=new Date(1e3*parseFloat(e))}),x("x",function(e,t,i){i._d=new Date(h(e))}),m.version="2.29.4",N=$,m.fn=n,m.min=function(){return Dt("isBefore",[].slice.call(arguments,0))},m.max=function(){return Dt("isAfter",[].slice.call(arguments,0))},m.now=function(){return Date.now?Date.now():+new Date},m.utc=c,m.unix=function(e){return $(1e3*e)},m.months=function(e,t){return pi(e,t,"months")},m.isDate=H,m.locale=ht,m.invalid=U,m.duration=B,m.isMoment=l,m.weekdays=function(e,t,i){return hi(e,t,i,"weekdays")},m.parseZone=function(){return $.apply(null,arguments).parseZone()},m.localeData=D,m.isDuration=It,m.monthsShort=function(e,t){return pi(e,t,"monthsShort")},m.weekdaysMin=function(e,t,i){return hi(e,t,i,"weekdaysMin")},m.defineLocale=mt,m.updateLocale=function(e,t){var i,r;return null!=t?(r=lt,null!=S[e]&&null!=S[e].parentLocale?S[e].set(Q(S[e]._config,t)):(t=Q(r=null!=(i=pt(e))?i._config:r,t),null==i&&(t.abbr=e),(r=new ee(t)).parentLocale=S[e],S[e]=r),ht(e)):null!=S[e]&&(null!=S[e].parentLocale?(S[e]=S[e].parentLocale,e===ht()&&ht(e)):null!=S[e]&&delete S[e]),S[e]},m.locales=function(){return te(S)},m.weekdaysShort=function(e,t,i){return hi(e,t,i,"weekdaysShort")},m.normalizeUnits=d,m.relativeTimeRounding=function(e){return void 0===e?Pi:"function"==typeof e&&(Pi=e,!0)},m.relativeTimeThreshold=function(e,t){return void 0!==Ei[e]&&(void 0===t?Ei[e]:(Ei[e]=t,"s"===e&&(Ei.ss=t-1),!0))},m.calendarFormat=function(e,t){return(e=e.diff(t,"days",!0))<-6?"sameElse":e<-1?"lastWeek":e<0?"lastDay":e<1?"sameDay":e<2?"nextDay":e<7?"nextWeek":"sameElse"},m.prototype=n,m.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"},m}();var Nn,Fn,z=Nn.exports;function On(e,t){B(e,t)}const Rn={en:{title:"Self-Exclusion",selfExclusionText1:"We recognize that gambling can be harmful so to prevent problems associated with gambling, we offer our users the ability to exclude from all forms of betting on our site for a certain indefinite period of time.",selfExclusionText2:'Self-exclusion takes effect from the time it is set for your chosen period. Select a timeframe below then click "Confirm".',selfExclusionText3:"During self-exclusion, you will be able to access your account and withdraw funds but you will not be able to deposit or place any bets. In the case of permanent self-exclusion, it is only possible to revoke Self-exclusion upon written request and only 6 months after its initial application. Please note that an alternative way to request self-exclusion is to contact Customer Service as follows:",selfExclusionText4:"E-mail:",duration:"Duration:",forever:"Forever",save:"Save",temporarySelfExclusion:"Your self-exclusion period will last until the {date} 23:59.",permanentSelfExclusion:"Your self-exclusion period will be permanent."},"zh-hk":{title:"自我排斥",selfExclusionText1:"我們認識到賭博會導致成癮,為了防止這些問題,我們為用戶提供了在一段時間內排除我們網站上所有形式的投注的能力。",selfExclusionText2:"自我排除從您選擇的時間段設置的時間開始生效。 在下方選擇一個時間範圍,然後單擊“確認”。",selfExclusionText3:"在自我排除期間,您將無法訪問您的 帳戶。 在永久自我排除的情況下,只有在書面請求後才能撤銷自我排除,並且只有在首次申請後 6 個月內。 請注意,請求自我排除的另一種方法是聯繫客戶服務,如下所示:",selfExclusionText4:"電子郵件:",duration:"期間:",forever:"永遠",save:"節省",temporarySelfExclusion:"您的自我排除期將持續到 {date} 23:59。",permanentSelfExclusion:"您的自我排除期將是永久性的。"},fr:{title:"Auto exclusion",selfExclusionText1:"reconnait que le jeu peut conduire à l'addition et dans notre effort pour prévenir ces problèmes, nous offrons à nos utilisateurs la possibilité d'exclure toutes les formes de paris sur notre site pour une certaine période de temps indéfinie.",selfExclusionText2:'L\'auto exclusion prend effet à partir du moment où elle est fixée pour la période que vous choisissez. Sélectionnez une periode ci-dessous puis cliquez sur "confirmer".',selfExclusionText3:"Pendant l'auto exclusion ,vous ne pourrez pas accéder à votre compte .dans le cas d'une auto exclusion permanente ,il est seulement possible de révoquer l'auto exclusion sur demande écrit et seulement 6 mois après sa demande initiale. veuillez noter qu'une manière alternative de demander l'auto exclusion est de contacter le service client comme suit:",selfExclusionText4:"E-mail:",duration:"Durée:",forever:"Tout le temps",save:"Sauvez",temporarySelfExclusion:"Votre période d'auto exclusion durera jusqu'au {date} 23:59.",permanentSelfExclusion:"Votre période d'auto exclusion sera permanente."},ro:{title:"Auto-Excludere",selfExclusionText1:"La {operatorname} știm că jocurile de noroc pot provoca dependență și, printre eforturile noastre de a preveni aceste probleme, oferim utilizatorilor posibilitatea de a se exclude de la orice formă de pariere pe o perioadă anume sau chiar nelimitată.",selfExclusionText2:'Auto-excluderea intră în vigoare de la momentul setării, pentru perioada setată. Selectează mai jos o perioadă și apoi apasă pe "Confirmă".',selfExclusionText3:"Pe perioada auto-excluderii nu vei putea accesa contul tău {operatorname}. În cazul unei auto-excluderi permanente, aceasta poate fi revocată doar în urma unei solicitări scrise și doar după 6 luni de la aplicarea inițială a acesteia. De asemenea, o altă posibilitate de a solicita auto-excluderea este contactarea Serviciului Clienți după cum urmează:",selfExclusionText4:"E-mail:",duration:"Durată:",forever:"Permanent",save:"Salvează",temporarySelfExclusion:"Perioada de auto-excludere va dura pană la {date} 23:59.",permanentSelfExclusion:"Auto-excluderea este permanentă."},es:{title:"Autoexclusición",selfExclusionText1:"Reconocemos que el juego puedo conducir a la adicción y en nuestro esfuerzo por prevenir estos problemas",selfExclusionText2:'La autoexclusición surte efecto desde el momento en que se establece para el periodo que elijas. Seleccione un período de tiempo a continuación y luego haga clic en "Confirmar".',selfExclusionText3:"Durante la autoexclusión, no podrá acceder a su cuenta de {operator}. En el caso de autoexclusión permanente, solo es posible revocar la autoexclusión previa solicitud por escrito y solo 6 meses después de su solicitud inicial. Ten en cuenta que una forma alternativa de solicitar la autoexclusión es ponerse en contacto con el Servicio de Atención al Cliente de la siguiente manera: Correo electrónico:",selfExclusionText4:"Email",duration:"Duración:",forever:"Para siempre",save:"Guardar",temporarySelfExclusion:"Tu periodo de autoexclusión durará hasta el {date} 23:59. .",permanentSelfExclusion:"Tu periodo de autoexclusión será permanente."},pt:{title:"Auto-exclusão",selfExclusionText1:"reconhece que o jogo pode levar ao vício e em nosso esforço para evitar esses problemas, oferecemos aos nossos usuários a capacidade de excluir todas as formas de apostas em nosso site por um período de tempo indefinido.",selfExclusionText2:'A autoexclusão entra em vigor a partir do momento em que é definida para o período que você escolher. Selecione um período de tempo abaixo e clique em "Confirmar".',selfExclusionText3:"Durante a autoexclusão, você não poderá acessar sua conta . No caso de autoexclusão permanente, só é possível revogar a Autoexclusão mediante pedido escrito e apenas 6 meses após a sua aplicação inicial. Observe que uma forma alternativa de solicitar a autoexclusão é entrar em contato com o Atendimento ao Cliente da seguinte forma:",selfExclusionText4:"E-mail:",duration:"Duração:",forever:"Para sempre",save:"Guardar",temporarySelfExclusion:"Seu período de autoexclusão durará até {data} 23:59.",permanentSelfExclusion:"Seu período de autoexclusão será permanente."},hr:{title:"Samoisključenje",selfExclusionText1:"Svjesni smo da kockanje može dovesti do ovisnosti i u našem nastojanju da spriječimo te probleme",selfExclusionText2:'Samoisključenje stupa na snagu od trenutka kada je postavljeno za razdoblje koje odaberete. Odaberite vremenski okvir ispod, a zatim kliknite "Potvrdi".',selfExclusionText3:"Tijekom samoisključivanja nećete moći pristupiti svom računu. U slučaju trajnog samoisključenja",selfExclusionText4:"E-mail:",duration:"Trajanje:",forever:"Trajno",save:"Spremi",temporarySelfExclusion:"Vaše razdoblje samoisključenja trajat će do {date} 23:59.",permanentSelfExclusion:"Vaše razdoblje samoisključenja bit će trajno."}};function Hn(e){var t,i=customElements.get(e.is);i?(t=i.version)&&e.version&&t===e.version?console.warn(`The component ${e.is} has been loaded twice`):console.error(`Tried to define ${e.is} version ${e.version} when version ${i.version} is already in use. Something will probably break.`):customElements.define(e.is,e)}class jn extends HTMLElement{static get is(){return"vaadin-lumo-styles"}static get version(){return"24.2.5"}}Hn(jn);const zn=window,Wn=zn.ShadowRoot&&(void 0===zn.ShadyCSS||zn.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Un=Symbol(),Yn=new WeakMap;class Vn{constructor(e,t,i){if(this._$cssResult$=!0,i!==Un)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=t}get styleSheet(){let e=this.o;var t,i=this.t;return Wn&&void 0===e&&(t=void 0!==i&&1===i.length,void 0===(e=t?Yn.get(i):e))&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),t)&&Yn.set(i,e),e}toString(){return this.cssText}}const a=(r,...e)=>{e=1===r.length?r[0]:e.reduce((e,t,i)=>e+(()=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})()+r[i+1],r[0]);return new Vn(e,r,Un)},Gn=Wn?e=>e:t=>{if(!(t instanceof CSSStyleSheet))return t;{let e="";for(const i of t.cssRules)e+=i.cssText;return t=e,new Vn("string"==typeof t?t:t+"",void 0,Un)}},qn=window,Zn=qn.trustedTypes,Kn=Zn?Zn.emptyScript:"",Xn=qn.reactiveElementPolyfillSupport,Jn={toAttribute(e,t){switch(t){case Boolean:e=e?Kn:null;break;case Object:case Array:e=null==e?e:JSON.stringify(e)}return e},fromAttribute(e,t){let i=e;switch(t){case Boolean:i=null!==e;break;case Number:i=null===e?null:Number(e);break;case Object:case Array:try{i=JSON.parse(e)}catch(e){i=null}}return i}},Qn=(e,t)=>t!==e&&(t==t||e==e),eo={attribute:!0,type:String,converter:Jn,reflect:!1,hasChanged:Qn},to="finalized";class io extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this._$Eu()}static addInitializer(e){var t;this.finalize(),(null!=(t=this.h)?t:this.h=[]).push(e)}static get observedAttributes(){this.finalize();const i=[];return this.elementProperties.forEach((e,t)=>{e=this._$Ep(t,e);void 0!==e&&(this._$Ev.set(e,t),i.push(e))}),i}static createProperty(e,t=eo){var i;t.state&&(t.attribute=!1),this.finalize(),this.elementProperties.set(e,t),t.noAccessor||this.prototype.hasOwnProperty(e)||(i="symbol"==typeof e?Symbol():"__"+e,void 0!==(i=this.getPropertyDescriptor(e,i,t))&&Object.defineProperty(this.prototype,e,i))}static getPropertyDescriptor(i,r,n){return{get(){return this[r]},set(e){var t=this[i];this[r]=e,this.requestUpdate(i,t,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)||eo}static finalize(){if(this.hasOwnProperty(to))return!1;this[to]=!0;const e=Object.getPrototypeOf(this);if(e.finalize(),void 0!==e.h&&(this.h=[...e.h]),this.elementProperties=new Map(e.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){const e=this.properties,t=[...Object.getOwnPropertyNames(e),...Object.getOwnPropertySymbols(e)];for(const i of t)this.createProperty(i,e[i])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(e){var t=[];if(Array.isArray(e)){var i=new Set(e.flat(1/0).reverse());for(const e of i)t.unshift(Gn(e))}else void 0!==e&&t.push(Gn(e));return t}static _$Ep(e,t){t=t.attribute;return!1===t?void 0:"string"==typeof t?t:"string"==typeof e?e.toLowerCase():void 0}_$Eu(){var e;this._$E_=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$Eg(),this.requestUpdate(),null!=(e=this.constructor.h)&&e.forEach(e=>e(this))}addController(e){var t;(null!=(t=this._$ES)?t:this._$ES=[]).push(e),void 0!==this.renderRoot&&this.isConnected&&null!=(t=e.hostConnected)&&t.call(e)}removeController(e){var t;null!=(t=this._$ES)&&t.splice(this._$ES.indexOf(e)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach((e,t)=>{this.hasOwnProperty(t)&&(this._$Ei.set(t,this[t]),delete this[t])})}createRenderRoot(){var r,e,t=null!=(t=this.shadowRoot)?t:this.attachShadow(this.constructor.shadowRootOptions);return r=t,e=this.constructor.elementStyles,Wn?r.adoptedStyleSheets=e.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet):e.forEach(e=>{var t=document.createElement("style"),i=zn.litNonce;void 0!==i&&t.setAttribute("nonce",i),t.textContent=e.cssText,r.appendChild(t)}),t}connectedCallback(){var e;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null!=(e=this._$ES)&&e.forEach(e=>{var t;return null==(t=e.hostConnected)?void 0:t.call(e)})}enableUpdating(e){}disconnectedCallback(){var e;null!=(e=this._$ES)&&e.forEach(e=>{var t;return null==(t=e.hostDisconnected)?void 0:t.call(e)})}attributeChangedCallback(e,t,i){this._$AK(e,i)}_$EO(e,t,i=eo){var r,n=this.constructor._$Ep(e,i);void 0!==n&&!0===i.reflect&&(r=(void 0!==(null==(r=i.converter)?void 0:r.toAttribute)?i.converter:Jn).toAttribute(t,i.type),this._$El=e,null==r?this.removeAttribute(n):this.setAttribute(n,r),this._$El=null)}_$AK(e,t){var i=this.constructor,r=i._$Ev.get(e);if(void 0!==r&&this._$El!==r){const e=i.getPropertyOptions(r),n="function"==typeof e.converter?{fromAttribute:e.converter}:void 0!==(null==(i=e.converter)?void 0:i.fromAttribute)?e.converter:Jn;this._$El=r,this[r]=n.fromAttribute(t,e.type),this._$El=null}}requestUpdate(e,t,i){let r=!0;void 0!==e&&(((i=i||this.constructor.getPropertyOptions(e)).hasChanged||Qn)(this[e],t)?(this._$AL.has(e)||this._$AL.set(e,t),!0===i.reflect&&this._$El!==e&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(e,i))):r=!1),!this.isUpdatePending&&r&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(e){Promise.reject(e)}var e=this.scheduleUpdate();return null!=e&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(this.isUpdatePending){this.hasUpdated,this._$Ei&&(this._$Ei.forEach((e,t)=>this[t]=e),this._$Ei=void 0);let e=!1;var i=this._$AL;try{(e=this.shouldUpdate(i))?(this.willUpdate(i),null!=(t=this._$ES)&&t.forEach(e=>{var t;return null==(t=e.hostUpdate)?void 0:t.call(e)}),this.update(i)):this._$Ek()}catch(t){throw e=!1,this._$Ek(),t}e&&this._$AE(i)}}willUpdate(e){}_$AE(e){var t;null!=(t=this._$ES)&&t.forEach(e=>{var t;return null==(t=e.hostUpdated)?void 0:t.call(e)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(e){return!0}update(e){void 0!==this._$EC&&(this._$EC.forEach((e,t)=>this._$EO(t,this[t],e)),this._$EC=void 0),this._$Ek()}updated(e){}firstUpdated(e){}}io[to]=!0,io.elementProperties=new Map,io.elementStyles=[],io.shadowRootOptions={mode:"open"},null!=Xn&&Xn({ReactiveElement:io}),(null!=(Ii=qn.reactiveElementVersions)?Ii:qn.reactiveElementVersions=[]).push("1.6.3");const ro=window,no=ro.trustedTypes,oo=no?no.createPolicy("lit-html",{createHTML:e=>e}):void 0,ao="$lit$",so=`lit$${(Math.random()+"").slice(9)}$`,lo="?"+so,co=`<${lo}>`,uo=document,po=()=>uo.createComment(""),ho=e=>null===e||"object"!=typeof e&&"function"!=typeof e,mo=Array.isArray,fo="[ \t\n\f\r]",go=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,yo=/-->/g,vo=/>/g,wo=RegExp(`>|${fo}(?:([^\\s"'>=/]+)(${fo}*=${fo}*(?:[^
|
|
3
|
+
}`,s=`__svelte_${function(e){let t=5381,i=e.length;for(;i--;)t=(t<<5)-t^e.charCodeAt(i);return t>>>0}(d)}_`+s,p=T(e),{stylesheet:h,rules:m}=k.get(p)||(p=p,u={stylesheet:(u=e,m=di("style"),u=T(u),h=m,si(u.head||u,h),h.sheet,m.sheet),rules:{}},k.set(p,u),u),p=(m[s]||(m[s]=!0,h.insertRule(`@keyframes ${s} `+d,h.cssRules.length)),e.style.animation||"");return e.style.animation=(p?p+", ":"")+s+` ${r}ms linear ${n}ms 1 both`,S+=1,s}function $(e){M=e}function ke(e){!function(){if(M)return M;throw new Error("Function called outside component initialization")}().$$.on_mount.push(e)}const N=[],Me=[];let F=[];const O=[],R=Promise.resolve();let H=!1;function Be(){H||(H=!0,R.then(p))}function bi(e){F.push(e)}const j=new Set;let W,U=0;function p(){if(0===U){const r=M;do{try{for(;U<N.length;){const r=N[U];U++,$(r),e=t=void 0;var e,t=r.$$;null!==t.fragment&&(t.update(),ai(t.before_update),e=t.dirty,t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(bi))}}catch(r){throw N.length=0,U=0,r}for($(null),N.length=0,U=0;Me.length;)Me.pop()();for(let e=0;e<F.length;e+=1){var i=F[e];j.has(i)||(j.add(i),i())}}while(F.length=0,N.length);for(;O.length;)O.pop()();H=!1,j.clear(),$(r)}}function Y(e,t,i){var r;e.dispatchEvent(([e,{bubbles:t=!1,cancelable:i=!1}={}]=[(t?"intro":"outro")+i],(r=document.createEvent("CustomEvent")).initCustomEvent(e,t,i,void 0),r))}const G=new Set;let q;function Z(){q={r:0,c:[],p:q}}function K(){q.r||ai(q.c),q=q.p}function X(e,t){e&&e.i&&(G.delete(e),e.i(t))}function J(e,t,i,r){e&&e.o?G.has(e)||(G.add(e),q.c.push(()=>{G.delete(e),r&&(i&&e.d(1),r())}),e.o(t)):r&&r()}const Q={duration:0};function ee(l,e,t,i){const r={direction:"both"};let c=e(l,t,r),u=i?0:1,d=null,p=null,h=null;function m(){var e,t,i,r;h&&(e=l,t=h,i=(e.style.animation||"").split(", "),r=i.filter(t?e=>e.indexOf(t)<0:e=>-1===e.indexOf("__svelte")),!(i=i.length-r.length)||(e.style.animation=r.join(", "),S-=i)||x(()=>{S||(k.forEach(e=>{e=e.stylesheet.ownerNode;e&&ci(e)}),k.clear())}))}function f(e,t){var i=e.b-u;return t*=Math.abs(i),{a:u,b:e.b,d:i,duration:t,start:e.start,end:e.start+t,group:e.group}}function n(e){const{delay:t=0,duration:i=300,easing:r=w,tick:n=oe,css:o}=c||Q,a={start:_()+t,b:e};if(e||((a.group=q).r+=1),d||p)p=a;else{o&&(m(),h=D(l,u,e,i,t,r,o)),e&&n(0,1),d=f(a,i),bi(()=>Y(l,e,"start"));{var s=e=>{if(p&&e>p.start&&(d=f(p,i),p=null,Y(l,d.b,"start"),o)&&(m(),h=D(l,u,d.b,d.duration,0,r,c.css)),d)if(e>=d.end)n(u=d.b,1-u),Y(l,d.b,"end"),p||(d.b?m():--d.group.r||ai(d.group.c)),d=null;else if(e>=d.start){const l=e-d.start;u=d.a+d.d*r(l/d.duration),n(u,1-u)}return!(!d&&!p)};let t;0===P.size&&x(E),new Promise(e=>{P.add(t={c:s,f:e})})}}}return{run(e){ue(c)?(W||(W=Promise.resolve()).then(()=>{W=null}),W.then(()=>{c=c(r),n(e)})):n(e)},end(){m(),d=p=null}}}function n(r,e,t,i,n,o,a,s=[-1]){var l=M;$(r);const c=r.$$={fragment:null,ctx:[],props:o,update:oe,not_equal:n,bound:m(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(l?l.$$.context:[])),callbacks:m(),dirty:s,skip_bound:!1,root:e.target||l.$$.root};a&&a(c.root);let u=!1;if(c.ctx=t?t(r,e.props||{},(e,t,...i)=>{var i=i.length?i[0]:t;return c.ctx&&n(c.ctx[e],c.ctx[e]=i)&&(!c.skip_bound&&c.bound[e]&&c.bound[e](i),u)&&(i=e,-1===(e=r).$$.dirty[0]&&(N.push(e),Be(),e.$$.dirty.fill(0)),e.$$.dirty[i/31|0]|=1<<i%31),t}):[],c.update(),u=!0,ai(c.before_update),c.fragment=!!i&&i(c.ctx),e.target){if(e.hydrate){o=e.target;const r=Array.from(o.childNodes);c.fragment&&c.fragment.l(r),r.forEach(ci)}else c.fragment&&c.fragment.c();e.intro&&X(r.$$.fragment);var d=r,s=e.target,a=e.anchor,t=e.customElement,{fragment:i,after_update:o}=d.$$;i&&i.m(s,a),t||bi(()=>{var e=d.$$.on_mount.map(h).filter(ue);d.$$.on_destroy?d.$$.on_destroy.push(...e):ai(e),d.$$.on_mount=[]}),o.forEach(bi),p()}$(l)}let e;"function"==typeof HTMLElement&&(e=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const e=this.$$["on_mount"];this.$$.on_disconnect=e.map(h).filter(ue);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,i){this[e]=i}disconnectedCallback(){ai(this.$$.on_disconnect)}$destroy(){var e=this,t=1;if(null!==(e=e.$$).fragment){{var i=e.after_update;const r=[],n=[];F.forEach(e=>(-1===i.indexOf(e)?r:n).push(e)),n.forEach(e=>e()),F=r}ai(e.on_destroy),e.fragment&&e.fragment.d(t),e.on_destroy=e.fragment=null,e.ctx=[]}this.$destroy=oe}$on(e,t){if(!ue(t))return oe;const i=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return i.push(t),()=>{var e=i.indexOf(t);-1!==e&&i.splice(e,1)}}$set(e){this.$$set&&0!==Object.keys(e).length&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}});var te,ie,re="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||"undefined"!=typeof global&&global||{},ne="URLSearchParams"in re,se="Symbol"in re&&"iterator"in Symbol,le="FileReader"in re&&"Blob"in re&&function(){try{return new Blob,!0}catch(e){return!1}}(),he="FormData"in re,me="ArrayBuffer"in re;function fe(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e)||""===e)throw new TypeError('Invalid character in header field name: "'+e+'"');return e.toLowerCase()}function ge(e){return e="string"!=typeof e?String(e):e}function ye(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return se&&(e[Symbol.iterator]=function(){return e}),e}function ve(t){this.map={},t instanceof ve?t.forEach(function(e,t){this.append(t,e)},this):Array.isArray(t)?t.forEach(function(e){if(2!=e.length)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+e.length);this.append(e[0],e[1])},this):t&&Object.getOwnPropertyNames(t).forEach(function(e){this.append(e,t[e])},this)}function we(e){if(!e._noBody)return e.bodyUsed?Promise.reject(new TypeError("Already read")):void(e.bodyUsed=!0)}function be(i){return new Promise(function(e,t){i.onload=function(){e(i.result)},i.onerror=function(){t(i.error)}})}function _e(e){var t=new FileReader,i=be(t);return t.readAsArrayBuffer(e),i}function xe(e){var t;return e.slice?e.slice(0):((t=new Uint8Array(e.byteLength)).set(new Uint8Array(e)),t.buffer)}function Ce(){return this.bodyUsed=!1,this._initBody=function(e){var t;this.bodyUsed=this.bodyUsed,(this._bodyInit=e)?"string"==typeof e?this._bodyText=e:le&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:he&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:ne&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():me&&le&&(t=e)&&DataView.prototype.isPrototypeOf(t)?(this._bodyArrayBuffer=xe(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):me&&(ArrayBuffer.prototype.isPrototypeOf(e)||ie(e))?this._bodyArrayBuffer=xe(e):this._bodyText=e=Object.prototype.toString.call(e):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):ne&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},le&&(this.blob=function(){var e=we(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))}),this.arrayBuffer=function(){if(this._bodyArrayBuffer)return we(this)||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer));if(le)return this.blob().then(_e);throw new Error("could not read as ArrayBuffer")},this.text=function(){var e,t,i,r=we(this);if(r)return r;if(this._bodyBlob)return r=this._bodyBlob,e=new FileReader,t=be(e),i=(i=/charset=([A-Za-z0-9_-]+)/.exec(r.type))?i[1]:"utf-8",e.readAsText(r,i),t;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),i=new Array(t.length),r=0;r<t.length;r++)i[r]=String.fromCharCode(t[r]);return i.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},he&&(this.formData=function(){return this.text().then(Te)}),this.json=function(){return this.text().then(JSON.parse)},this}me&&(te=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],ie=ArrayBuffer.isView||function(e){return e&&-1<te.indexOf(Object.prototype.toString.call(e))}),ve.prototype.append=function(e,t){e=fe(e),t=ge(t);var i=this.map[e];this.map[e]=i?i+", "+t:t},ve.prototype.delete=function(e){delete this.map[fe(e)]},ve.prototype.get=function(e){return e=fe(e),this.has(e)?this.map[e]:null},ve.prototype.has=function(e){return this.map.hasOwnProperty(fe(e))},ve.prototype.set=function(e,t){this.map[fe(e)]=ge(t)},ve.prototype.forEach=function(e,t){for(var i in this.map)this.map.hasOwnProperty(i)&&e.call(t,this.map[i],i,this)},ve.prototype.keys=function(){var i=[];return this.forEach(function(e,t){i.push(t)}),ye(i)},ve.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),ye(t)},ve.prototype.entries=function(){var i=[];return this.forEach(function(e,t){i.push([t,e])}),ye(i)},se&&(ve.prototype[Symbol.iterator]=ve.prototype.entries);var Pe=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function Ee(e,t){if(!(this instanceof Ee))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var i,r=(t=t||{}).body;if(e instanceof Ee){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new ve(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,r||null==e._bodyInit||(r=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new ve(t.headers)),this.method=(i=(e=t.method||this.method||"GET").toUpperCase(),-1<Pe.indexOf(i)?i:e),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal||function(){if("AbortController"in re)return(new AbortController).signal}(),this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&r)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(r),"GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache||((i=/([?&])_=[^&]*/).test(this.url)?this.url=this.url.replace(i,"$1_="+(new Date).getTime()):this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime())}function Te(e){var i=new FormData;return e.trim().split("&").forEach(function(e){var t;e&&(t=(e=e.split("=")).shift().replace(/\+/g," "),e=e.join("=").replace(/\+/g," "),i.append(decodeURIComponent(t),decodeURIComponent(e)))}),i}function Ae(e,t){if(!(this instanceof Ae))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(t=t||{},this.type="default",this.status=void 0===t.status?200:t.status,this.status<200||599<this.status)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=200<=this.status&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new ve(t.headers),this.url=t.url||"",this._initBody(e)}Ee.prototype.clone=function(){return new Ee(this,{body:this._bodyInit})},Ce.call(Ee.prototype),Ce.call(Ae.prototype),Ae.prototype.clone=function(){return new Ae(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new ve(this.headers),url:this.url})},Ae.error=function(){var e=new Ae(null,{status:200,statusText:""});return e.status=0,e.type="error",e};var Ie=[301,302,303,307,308],Ne=(Ae.redirect=function(e,t){if(-1===Ie.indexOf(t))throw new RangeError("Invalid status code");return new Ae(null,{status:t,headers:{location:e}})},re.DOMException);try{new Ne}catch(s){(Ne=function(e,t){this.message=e,this.name=t;t=Error(e);this.stack=t.stack}).prototype=Object.create(Error.prototype),Ne.prototype.constructor=Ne}function Fe(r,s){return new Promise(function(n,e){var o=new Ee(r,s);if(o.signal&&o.signal.aborted)return e(new Ne("Aborted","AbortError"));var i,a=new XMLHttpRequest;function t(){a.abort()}a.onload=function(){var e,r,t={statusText:a.statusText,headers:(e=a.getAllResponseHeaders()||"",r=new ve,e.replace(/\r?\n[\t ]+/g," ").split("\r").map(function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e}).forEach(function(e){var t=e.split(":"),i=t.shift().trim();if(i){t=t.join(":").trim();try{r.append(i,t)}catch(e){console.warn("Response "+e.message)}}}),r)},i=(o.url.startsWith("file://")&&(a.status<200||599<a.status)?t.status=200:t.status=a.status,t.url="responseURL"in a?a.responseURL:t.headers.get("X-Request-URL"),"response"in a?a.response:a.responseText);setTimeout(function(){n(new Ae(i,t))},0)},a.onerror=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},a.ontimeout=function(){setTimeout(function(){e(new TypeError("Network request timed out"))},0)},a.onabort=function(){setTimeout(function(){e(new Ne("Aborted","AbortError"))},0)},a.open(o.method,function(t){try{return""===t&&re.location.href?re.location.href:t}catch(e){return t}}(o.url),!0),"include"===o.credentials?a.withCredentials=!0:"omit"===o.credentials&&(a.withCredentials=!1),"responseType"in a&&(le?a.responseType="blob":me&&(a.responseType="arraybuffer")),s&&"object"==typeof s.headers&&!(s.headers instanceof ve||re.Headers&&s.headers instanceof re.Headers)?(i=[],Object.getOwnPropertyNames(s.headers).forEach(function(e){i.push(fe(e)),a.setRequestHeader(e,ge(s.headers[e]))}),o.headers.forEach(function(e,t){-1===i.indexOf(t)&&a.setRequestHeader(t,e)})):o.headers.forEach(function(e,t){a.setRequestHeader(t,e)}),o.signal&&(o.signal.addEventListener("abort",t),a.onreadystatechange=function(){4===a.readyState&&o.signal.removeEventListener("abort",t)}),a.send(void 0===o._bodyInit?null:o._bodyInit)})}function Mi(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}Fe.polyfill=!0,re.fetch||(re.fetch=Fe,re.Headers=ve,re.Request=Ee,re.Response=Ae),self.fetch.bind(self);var Oe=function(e,t){return(Oe=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}))(e,t)};function Re(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}Oe(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}function He(e){var t="function"==typeof Symbol&&Symbol.iterator,i=t&&e[t],r=0;if(i)return i.call(e);if(e&&"number"==typeof e.length)return{next:function(){return{value:(e=e&&r>=e.length?void 0:e)&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function je(e,t){var i="function"==typeof Symbol&&e[Symbol.iterator];if(!i)return e;var r,n,o=i.call(e),a=[];try{for(;(void 0===t||0<t--)&&!(r=o.next()).done;)a.push(r.value)}catch(e){n={error:e}}finally{try{r&&!r.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}return a}function ze(e,t,i){if(i||2===arguments.length)for(var r,n=0,o=t.length;n<o;n++)!r&&n in t||((r=r||Array.prototype.slice.call(t,0,n))[n]=t[n]);return e.concat(r||Array.prototype.slice.call(t))}function We(e){return"function"==typeof e}function Ue(e){e=e(function(e){Error.call(e),e.stack=(new Error).stack});return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e}var Ye=Ue(function(t){return function(e){t(this),this.message=e?e.length+" errors occurred during unsubscription:\n"+e.map(function(e,t){return t+1+") "+e.toString()}).join("\n "):"",this.name="UnsubscriptionError",this.errors=e}});function Ve(e,t){e&&0<=(t=e.indexOf(t))&&e.splice(t,1)}Ze.prototype.unsubscribe=function(){var e,t,i,r,n;if(!this.closed){this.closed=!0;var o=this._parentage;if(o)if(this._parentage=null,Array.isArray(o))try{for(var a=He(o),s=a.next();!s.done;s=a.next())s.value.remove(this)}catch(t){e={error:t}}finally{try{s&&!s.done&&(t=a.return)&&t.call(a)}finally{if(e)throw e.error}}else o.remove(this);o=this.initialTeardown;if(We(o))try{o()}catch(e){n=e instanceof Ye?e.errors:[e]}o=this._finalizers;if(o){this._finalizers=null;try{for(var l=He(o),c=l.next();!c.done;c=l.next()){var u=c.value;try{Xe(u)}catch(e){n=null!=n?n:[],e instanceof Ye?n=ze(ze([],je(n)),je(e.errors)):n.push(e)}}}catch(e){i={error:e}}finally{try{c&&!c.done&&(r=l.return)&&r.call(l)}finally{if(i)throw i.error}}}if(n)throw new Ye(n)}},Ze.prototype.add=function(e){var t;if(e&&e!==this)if(this.closed)Xe(e);else{if(e instanceof Ze){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=null!=(t=this._finalizers)?t:[]).push(e)}},Ze.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},Ze.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},Ze.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&Ve(t,e)},Ze.prototype.remove=function(e){var t=this._finalizers;t&&Ve(t,e),e instanceof Ze&&e._removeParent(this)},Ze.EMPTY=((t=new Ze).closed=!0,t);var Ge=Ze,qe=Ge.EMPTY;function Ze(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}function Ke(e){return e instanceof Ge||e&&"closed"in e&&We(e.remove)&&We(e.add)&&We(e.unsubscribe)}function Xe(e){We(e)?e():e.unsubscribe()}var Je=void 0,Qe=!1,et=!1,tt={setTimeout:function(e,t){for(var i=[],r=2;r<arguments.length;r++)i[r-2]=arguments[r];var n=tt.delegate;return null!=n&&n.setTimeout?n.setTimeout.apply(n,ze([e,t],je(i))):setTimeout.apply(void 0,ze([e,t],je(i)))},clearTimeout:function(e){var t=tt.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function it(){}var rt=null;function nt(e){if(Qe){var t=!rt;if(t&&(rt={errorThrown:!1,error:null}),e(),t){var t=rt,i=t.errorThrown,t=t.error;if(rt=null,i)throw t}}else e()}Re(lt,ot=Ge),lt.create=function(e,t,i){return new pt(e,t,i)},lt.prototype.next=function(e){this.isStopped||this._next(e)},lt.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},lt.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},lt.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,ot.prototype.unsubscribe.call(this),this.destination=null)},lt.prototype._next=function(e){this.destination.next(e)},lt.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},lt.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}};var ot,at=lt,st=Function.prototype.bind;function lt(e){var t=ot.call(this)||this;return t.isStopped=!1,e?Ke(t.destination=e)&&e.add(t):t.destination=gt,t}function ct(e,t){return st.call(e,t)}mt.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(e){ft(e)}},mt.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){ft(e)}else ft(e)},mt.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){ft(e)}};var ut,dt=mt,pt=(Re(ht,ut=at),ht);function ht(e,t,i){var r=ut.call(this)||this,i=We(e)||!e?{next:null!=e?e:void 0,error:null!=t?t:void 0,complete:null!=i?i:void 0}:r&&et?((t=Object.create(e)).unsubscribe=function(){return r.unsubscribe()},{next:e.next&&ct(e.next,t),error:e.error&&ct(e.error,t),complete:e.complete&&ct(e.complete,t)}):e;return r.destination=new dt(i),r}function mt(e){this.partialObserver=e}function ft(e){var t=e;tt.setTimeout(function(){throw t})}var gt={closed:!0,next:it,error:function(e){throw e},complete:it},t="function"==typeof Symbol&&Symbol.observable||"@@observable";vt.prototype.lift=function(e){var t=new vt;return t.source=this,t.operator=e,t},vt.prototype.subscribe=function(e,t,i){var r,n=this,o=(r=e)&&r instanceof at||r&&We(r.next)&&We(r.error)&&We(r.complete)&&Ke(r)?e:new pt(e,t,i);return nt(function(){var e=n.operator,t=n.source;o.add(e?e.call(o,t):t?n._subscribe(o):n._trySubscribe(o))}),o},vt.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},vt.prototype.forEach=function(r,e){var n=this;return new(e=wt(e))(function(e,t){var i=new pt({next:function(e){try{r(e)}catch(e){t(e),i.unsubscribe()}},error:t,complete:e});n.subscribe(i)})},vt.prototype._subscribe=function(e){var t;return null==(t=this.source)?void 0:t.subscribe(e)},vt.prototype[t]=function(){return this},vt.prototype.pipe=function(){for(var t,e=[],i=0;i<arguments.length;i++)e[i]=arguments[i];return(0===(t=e).length?function(e){return e}:1===t.length?t[0]:function(e){return t.reduce(function(e,t){return t(e)},e)})(this)},vt.prototype.toPromise=function(e){var r=this;return new(e=wt(e))(function(e,t){var i;r.subscribe(function(e){return i=e},function(e){return t(e)},function(){return e(i)})})},vt.create=function(e){return new vt(e)};var yt=vt;function vt(e){e&&(this._subscribe=e)}function wt(e){return null!=(e=null!=e?e:Je)?e:Promise}var bt,_t,xt,Ct=Ue(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),t=(Re(kt,xt=yt),kt.prototype.lift=function(e){var t=new Pt(this,this);return t.operator=e,t},kt.prototype._throwIfClosed=function(){if(this.closed)throw new Ct},kt.prototype.next=function(n){var o=this;nt(function(){var t,e;if(o._throwIfClosed(),!o.isStopped){o.currentObservers||(o.currentObservers=Array.from(o.observers));try{for(var i=He(o.currentObservers),r=i.next();!r.done;r=i.next())r.value.next(n)}catch(e){t={error:e}}finally{try{r&&!r.done&&(e=i.return)&&e.call(i)}finally{if(t)throw t.error}}}})},kt.prototype.error=function(t){var i=this;nt(function(){if(i._throwIfClosed(),!i.isStopped){i.hasError=i.isStopped=!0,i.thrownError=t;for(var e=i.observers;e.length;)e.shift().error(t)}})},kt.prototype.complete=function(){var t=this;nt(function(){if(t._throwIfClosed(),!t.isStopped){t.isStopped=!0;for(var e=t.observers;e.length;)e.shift().complete()}})},kt.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(kt.prototype,"observed",{get:function(){var e;return 0<(null==(e=this.observers)?void 0:e.length)},enumerable:!1,configurable:!0}),kt.prototype._trySubscribe=function(e){return this._throwIfClosed(),xt.prototype._trySubscribe.call(this,e)},kt.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},kt.prototype._innerSubscribe=function(e){var t=this,i=this.hasError,r=this.isStopped,n=this.observers;return i||r?qe:(this.currentObservers=null,n.push(e),new Ge(function(){t.currentObservers=null,Ve(n,e)}))},kt.prototype._checkFinalizedStatuses=function(e){var t=this.hasError,i=this.thrownError,r=this.isStopped;t?e.error(i):r&&e.complete()},kt.prototype.asObservable=function(){var e=new yt;return e.source=this,e},kt.create=function(e,t){return new Pt(e,t)},kt),Pt=(Re(Lt,_t=t),Lt.prototype.next=function(e){var t,i;null!=(i=null==(t=this.destination)?void 0:t.next)&&i.call(t,e)},Lt.prototype.error=function(e){var t,i;null!=(i=null==(t=this.destination)?void 0:t.error)&&i.call(t,e)},Lt.prototype.complete=function(){var e,t;null!=(t=null==(e=this.destination)?void 0:e.complete)&&t.call(e)},Lt.prototype._subscribe=function(e){var t;return null!=(t=null==(t=this.source)?void 0:t.subscribe(e))?t:qe},Lt),Et={now:function(){return(Et.delegate||Date).now()},delegate:void 0},Tt=(Re(At,bt=t),At.prototype.next=function(e){var t=this,i=t.isStopped,r=t._buffer,n=t._infiniteTimeWindow,o=t._timestampProvider,t=t._windowTime;i||(r.push(e),n)||r.push(o.now()+t),this._trimBuffer(),bt.prototype.next.call(this,e)},At.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),i=this._infiniteTimeWindow,r=this._buffer.slice(),n=0;n<r.length&&!e.closed;n+=i?1:2)e.next(r[n]);return this._checkFinalizedStatuses(e),t},At.prototype._trimBuffer=function(){var e=this._bufferSize,t=this._timestampProvider,i=this._buffer,r=this._infiniteTimeWindow,n=(r?1:2)*e;if(e<1/0&&n<i.length&&i.splice(0,i.length-n),!r){for(var o=t.now(),a=0,s=1;s<i.length&&i[s]<=o;s+=2)a=s;a&&i.splice(0,a+1)}},At);function At(e,t,i){void 0===e&&(e=1/0),void 0===t&&(t=1/0),void 0===i&&(i=Et);var r=bt.call(this)||this;return r._bufferSize=e,r._windowTime=t,r._timestampProvider=i,r._buffer=[],r._infiniteTimeWindow=!0,r._infiniteTimeWindow=t===1/0,r._bufferSize=Math.max(1,e),r._windowTime=Math.max(1,t),r}function Lt(e,t){var i=_t.call(this)||this;return i.destination=e,i.source=t,i}function kt(){var e=xt.call(this)||this;return e.closed=!1,e.currentObservers=null,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}let Mt=[],St={};const Dt=[];function $t(r,n=oe){let o;const a=new Set;function s(e){if(i(r,e)&&(r=e,o)){const e=!Dt.length;for(const e of a)e[1](),Dt.push(e,r);if(e){for(let e=0;e<Dt.length;e+=2)Dt[e][0](Dt[e+1]);Dt.length=0}}}return{set:s,update:function(e){s(e(r))},subscribe:function(e,t=oe){const i=[e,t];return a.add(i),1===a.size&&(o=n(s)||oe),e(r),()=>{a.delete(i),0===a.size&&o&&(o(),o=null)}}}}function Bt(e,s,t){const l=!Array.isArray(e),c=l?[e]:e,u=s.length<2;return{subscribe:$t(t,t=>{let i=!1;const r=[];let n=0,o=oe;const a=()=>{var e;n||(o(),e=s(l?r[0]:r,t),u?t(e):o=ue(e)?e:oe)},e=c.map((e,t)=>d(e,e=>{r[t]=e,n&=~(1<<t),i&&a()},()=>{n|=1<<t}));return i=!0,a(),function(){ai(e),o(),i=!1}}).subscribe}}function It(e){return!(!e||"object"!=typeof e||(e=e,"[object RegExp]"===(t=Object.prototype.toString.call(e)))||"[object Date]"===t||e.$$typeof===Nt);var t}var Nt="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function Ft(e,t){return!1!==t.clone&&t.isMergeableObject(e)?zt(Array.isArray(e)?[]:{},e,t):e}function Ot(e,t,i){return e.concat(t).map(function(e){return Ft(e,i)})}function Rt(e){return Object.keys(e).concat((t=e,Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return Object.propertyIsEnumerable.call(t,e)}):[]));var t}function Ht(e,t){try{return t in e}catch(e){return!1}}function jt(r,n,o){var a={};return o.isMergeableObject(r)&&Rt(r).forEach(function(e){a[e]=Ft(r[e],o)}),Rt(n).forEach(function(e){var t,i;(!Ht(t=r,i=e)||Object.hasOwnProperty.call(t,i)&&Object.propertyIsEnumerable.call(t,i))&&(Ht(r,e)&&o.isMergeableObject(n[e])?a[e]=((t=o).customMerge&&"function"==typeof(t=t.customMerge(e))?t:zt)(r[e],n[e],o):a[e]=Ft(n[e],o))}),a}function zt(e,t,i){(i=i||{}).arrayMerge=i.arrayMerge||Ot,i.isMergeableObject=i.isMergeableObject||It,i.cloneUnlessOtherwiseSpecified=Ft;var r=Array.isArray(t);return r===Array.isArray(e)?r?i.arrayMerge(e,t,i):jt(e,t,i):Ft(t,i)}zt.all=function(e,i){if(Array.isArray(e))return e.reduce(function(e,t){return zt(e,t,i)},{});throw new Error("first argument should be an array")};var Wt=zt,Ut=function(e,t){return(Ut=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}))(e,t)};function Yt(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}Ut(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}var f,y,Vt,g=function(){return(g=Object.assign||function(e){for(var t,i=1,r=arguments.length;i<r;i++)for(var n in t=arguments[i])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}).apply(this,arguments)};function Gt(e,t,i){if(i||2===arguments.length)for(var r,n=0,o=t.length;n<o;n++)!r&&n in t||((r=r||Array.prototype.slice.call(t,0,n))[n]=t[n]);return e.concat(r||Array.prototype.slice.call(t))}function qt(e){return e.type===y.literal}function Zt(e){return e.type===y.number}function Kt(e){return e.type===y.date}function Xt(e){return e.type===y.time}function Jt(e){return e.type===y.select}function Qt(e){return e.type===y.plural}function ei(e){return e.type===y.tag}function ti(e){return e&&"object"==typeof e&&e.type===Vt.number}function ii(e){return e&&"object"==typeof e&&e.type===Vt.dateTime}(t=f=f||{})[t.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",t[t.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",t[t.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",t[t.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",t[t.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",t[t.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",t[t.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",t[t.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",t[t.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",t[t.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",t[t.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",t[t.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",t[t.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",t[t.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",t[t.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",t[t.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",t[t.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",t[t.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",t[t.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",t[t.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",t[t.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",t[t.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",t[t.INVALID_TAG=23]="INVALID_TAG",t[t.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",t[t.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",t[t.UNCLOSED_TAG=27]="UNCLOSED_TAG",(t=y=y||{})[t.literal=0]="literal",t[t.argument=1]="argument",t[t.number=2]="number",t[t.date=3]="date",t[t.time=4]="time",t[t.select=5]="select",t[t.plural=6]="plural",t[t.pound=7]="pound",t[t.tag=8]="tag",(t=Vt=Vt||{})[t.number=0]="number",t[t.dateTime=1]="dateTime";var t=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,ri=/(?:[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;var ni=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,oi=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,_i=/^(@+)?(\+|#+)?[rs]?$/g,xi=/(\*)(0+)|(#+)(0+)|(0+)/g,Ci=/^(0+)$/;function Pi(e){var r={};return"r"===e[e.length-1]?r.roundingPriority="morePrecision":"s"===e[e.length-1]&&(r.roundingPriority="lessPrecision"),e.replace(_i,function(e,t,i){return"string"!=typeof i?(r.minimumSignificantDigits=t.length,r.maximumSignificantDigits=t.length):"+"===i?r.minimumSignificantDigits=t.length:"#"===t[0]?r.maximumSignificantDigits=t.length:(r.minimumSignificantDigits=t.length,r.maximumSignificantDigits=t.length+("string"==typeof i?i.length:0)),""}),r}function Ei(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 Ti(e){return Ei(e)||{}}function Ai(e){for(var a={},t=0,i=e;t<i.length;t++){var r,n=i[t];switch(n.stem){case"percent":case"%":a.style="percent";continue;case"%x100":a.style="percent",a.scale=100;continue;case"currency":a.style="currency",a.currency=n.options[0];continue;case"group-off":case",_":a.useGrouping=!1;continue;case"precision-integer":case".":a.maximumFractionDigits=0;continue;case"measure-unit":case"unit":a.style="unit",a.unit=n.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":a.notation="compact",a.compactDisplay="short";continue;case"compact-long":case"KK":a.notation="compact",a.compactDisplay="long";continue;case"scientific":a=g(g(g({},a),{notation:"scientific"}),n.options.reduce(function(e,t){return g(g({},e),Ti(t))},{}));continue;case"engineering":a=g(g(g({},a),{notation:"engineering"}),n.options.reduce(function(e,t){return g(g({},e),Ti(t))},{}));continue;case"notation-simple":a.notation="standard";continue;case"unit-width-narrow":a.currencyDisplay="narrowSymbol",a.unitDisplay="narrow";continue;case"unit-width-short":a.currencyDisplay="code",a.unitDisplay="short";continue;case"unit-width-full-name":a.currencyDisplay="name",a.unitDisplay="long";continue;case"unit-width-iso-code":a.currencyDisplay="symbol";continue;case"scale":a.scale=parseFloat(n.options[0]);continue;case"integer-width":if(1<n.options.length)throw new RangeError("integer-width stems only accept a single optional option");n.options[0].replace(xi,function(e,t,i,r,n,o){if(t)a.minimumIntegerDigits=i.length;else{if(r&&n)throw new Error("We currently do not support maximum integer digits");if(o)throw new Error("We currently do not support exact integer digits")}return""});continue}if(Ci.test(n.stem))a.minimumIntegerDigits=n.stem.length;else if(oi.test(n.stem)){if(1<n.options.length)throw new RangeError("Fraction-precision stems only accept a single optional option");n.stem.replace(oi,function(e,t,i,r,n,o){return"*"===i?a.minimumFractionDigits=t.length:r&&"#"===r[0]?a.maximumFractionDigits=r.length:n&&o?(a.minimumFractionDigits=n.length,a.maximumFractionDigits=n.length+o.length):(a.minimumFractionDigits=t.length,a.maximumFractionDigits=t.length),""});var o=n.options[0];"w"===o?a=g(g({},a),{trailingZeroDisplay:"stripIfInteger"}):o&&(a=g(g({},a),Pi(o)))}else _i.test(n.stem)?a=g(g({},a),Pi(n.stem)):((o=Ei(n.stem))&&(a=g(g({},a),o)),(r=function(e){var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var i=e.slice(0,2);if("+!"===i?(t.signDisplay="always",e=e.slice(2)):"+?"===i&&(t.signDisplay="exceptZero",e=e.slice(2)),!Ci.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(n.stem))&&(a=g(g({},a),r)))}return a}var Li={AX:["H"],BQ:["H"],CP:["H"],CZ:["H"],DK:["H"],FI:["H"],ID:["H"],IS:["H"],ML:["H"],NE:["H"],RU:["H"],SE:["H"],SJ:["H"],SK:["H"],AS:["h","H"],BT:["h","H"],DJ:["h","H"],ER:["h","H"],GH:["h","H"],IN:["h","H"],LS:["h","H"],PG:["h","H"],PW:["h","H"],SO:["h","H"],TO:["h","H"],VU:["h","H"],WS:["h","H"],"001":["H","h"],AL:["h","H","hB"],TD:["h","H","hB"],"ca-ES":["H","h","hB"],CF:["H","h","hB"],CM:["H","h","hB"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],LU:["H","h","hB"],NP:["H","h","hB"],PF:["H","h","hB"],SC:["H","h","hB"],SM:["H","h","hB"],SN:["H","h","hB"],TF:["H","h","hB"],VA:["H","h","hB"],CY:["h","H","hb","hB"],GR:["h","H","hb","hB"],CO:["h","H","hB","hb"],DO:["h","H","hB","hb"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],NA:["h","H","hB","hb"],PA:["h","H","hB","hb"],PR:["h","H","hB","hb"],VE:["h","H","hB","hb"],AC:["H","h","hb","hB"],AI:["H","h","hb","hB"],BW:["H","h","hb","hB"],BZ:["H","h","hb","hB"],CC:["H","h","hb","hB"],CK:["H","h","hb","hB"],CX:["H","h","hb","hB"],DG:["H","h","hb","hB"],FK:["H","h","hb","hB"],GB:["H","h","hb","hB"],GG:["H","h","hb","hB"],GI:["H","h","hb","hB"],IE:["H","h","hb","hB"],IM:["H","h","hb","hB"],IO:["H","h","hb","hB"],JE:["H","h","hb","hB"],LT:["H","h","hb","hB"],MK:["H","h","hb","hB"],MN:["H","h","hb","hB"],MS:["H","h","hb","hB"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],PN:["H","h","hb","hB"],SH:["H","h","hb","hB"],SX:["H","h","hb","hB"],TA:["H","h","hb","hB"],ZA:["H","h","hb","hB"],"af-ZA":["H","h","hB","hb"],AR:["H","h","hB","hb"],CL:["H","h","hB","hb"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],EA:["H","h","hB","hb"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],GT:["H","h","hB","hb"],HN:["H","h","hB","hb"],IC:["H","h","hB","hb"],KG:["H","h","hB","hb"],KM:["H","h","hB","hb"],LK:["H","h","hB","hb"],MA:["H","h","hB","hb"],MX:["H","h","hB","hb"],NI:["H","h","hB","hb"],PY:["H","h","hB","hb"],SV:["H","h","hB","hb"],UY:["H","h","hB","hb"],JP:["H","h","K"],AD:["H","hB"],AM:["H","hB"],AO:["H","hB"],AT:["H","hB"],AW:["H","hB"],BE:["H","hB"],BF:["H","hB"],BJ:["H","hB"],BL:["H","hB"],BR:["H","hB"],CG:["H","hB"],CI:["H","hB"],CV:["H","hB"],DE:["H","hB"],EE:["H","hB"],FR:["H","hB"],GA:["H","hB"],GF:["H","hB"],GN:["H","hB"],GP:["H","hB"],GW:["H","hB"],HR:["H","hB"],IL:["H","hB"],IT:["H","hB"],KZ:["H","hB"],MC:["H","hB"],MD:["H","hB"],MF:["H","hB"],MQ:["H","hB"],MZ:["H","hB"],NC:["H","hB"],NL:["H","hB"],PM:["H","hB"],PT:["H","hB"],RE:["H","hB"],RO:["H","hB"],SI:["H","hB"],SR:["H","hB"],ST:["H","hB"],TG:["H","hB"],TR:["H","hB"],WF:["H","hB"],YT:["H","hB"],BD:["h","hB","H"],PK:["h","hB","H"],AZ:["H","hB","h"],BA:["H","hB","h"],BG:["H","hB","h"],CH:["H","hB","h"],GE:["H","hB","h"],LI:["H","hB","h"],ME:["H","hB","h"],RS:["H","hB","h"],UA:["H","hB","h"],UZ:["H","hB","h"],XK:["H","hB","h"],AG:["h","hb","H","hB"],AU:["h","hb","H","hB"],BB:["h","hb","H","hB"],BM:["h","hb","H","hB"],BS:["h","hb","H","hB"],CA:["h","hb","H","hB"],DM:["h","hb","H","hB"],"en-001":["h","hb","H","hB"],FJ:["h","hb","H","hB"],FM:["h","hb","H","hB"],GD:["h","hb","H","hB"],GM:["h","hb","H","hB"],GU:["h","hb","H","hB"],GY:["h","hb","H","hB"],JM:["h","hb","H","hB"],KI:["h","hb","H","hB"],KN:["h","hb","H","hB"],KY:["h","hb","H","hB"],LC:["h","hb","H","hB"],LR:["h","hb","H","hB"],MH:["h","hb","H","hB"],MP:["h","hb","H","hB"],MW:["h","hb","H","hB"],NZ:["h","hb","H","hB"],SB:["h","hb","H","hB"],SG:["h","hb","H","hB"],SL:["h","hb","H","hB"],SS:["h","hb","H","hB"],SZ:["h","hb","H","hB"],TC:["h","hb","H","hB"],TT:["h","hb","H","hB"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],VC:["h","hb","H","hB"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],ZM:["h","hb","H","hB"],BO:["H","hB","h","hb"],EC:["H","hB","h","hb"],ES:["H","hB","h","hb"],GQ:["H","hB","h","hb"],PE:["H","hB","h","hb"],AE:["h","hB","hb","H"],"ar-001":["h","hB","hb","H"],BH:["h","hB","hb","H"],DZ:["h","hB","hb","H"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],HK:["h","hB","hb","H"],IQ:["h","hB","hb","H"],JO:["h","hB","hb","H"],KW:["h","hB","hb","H"],LB:["h","hB","hb","H"],LY:["h","hB","hb","H"],MO:["h","hB","hb","H"],MR:["h","hB","hb","H"],OM:["h","hB","hb","H"],PH:["h","hB","hb","H"],PS:["h","hB","hb","H"],QA:["h","hB","hb","H"],SA:["h","hB","hb","H"],SD:["h","hB","hb","H"],SY:["h","hB","hb","H"],TN:["h","hB","hb","H"],YE:["h","hB","hb","H"],AF:["H","hb","hB","h"],LA:["H","hb","hB","h"],CN:["H","hB","hb","h"],LV:["H","hB","hb","h"],TL:["H","hB","hb","h"],"zu-ZA":["H","hB","hb","h"],CD:["hB","H"],IR:["hB","H"],"hi-IN":["hB","h","H"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"te-IN":["hB","h","H"],KH:["hB","h","H","hb"],"ta-IN":["hB","h","hb","H"],BN:["hb","hB","h","H"],MY:["hb","hB","h","H"],ET:["hB","hb","h","H"],"gu-IN":["hB","hb","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],TW:["hB","hb","h","H"],KE:["hB","hb","H","h"],MM:["hB","hb","H","h"],TZ:["hB","hb","H","h"],UG:["hB","hb","H","h"]};var ki=new RegExp("^".concat(t.source,"*")),Si=new RegExp("".concat(t.source,"*$"));function v(e,t){return{start:e,end:t}}var t=!!String.prototype.startsWith,Di=!!String.fromCodePoint,$i=!!Object.fromEntries,Bi=!!String.prototype.codePointAt,Ii=!!String.prototype.trimStart,Ni=!!String.prototype.trimEnd,Fi=Number.isSafeInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Oi=!0;try{Oi="a"===(null==(or=Gi("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))?void 0:or[0])}catch(yo){Oi=!1}var Ri,Hi,ji=t?function(e,t,i){return e.startsWith(t,i)}:function(e,t,i){return e.slice(i,i+t.length)===t},zi=Di?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var i,r="",n=e.length,o=0;o<n;){if(1114111<(i=e[o++]))throw RangeError(i+" is not a valid code point");r+=i<65536?String.fromCharCode(i):String.fromCharCode(55296+((i-=65536)>>10),i%1024+56320)}return r},Wi=$i?Object.fromEntries:function(e){for(var t={},i=0,r=e;i<r.length;i++){var n=r[i],o=n[0],n=n[1];t[o]=n}return t},Ui=Bi?function(e,t){return e.codePointAt(t)}:function(e,t){var i,r=e.length;if(!(t<0||r<=t))return(i=e.charCodeAt(t))<55296||56319<i||t+1===r||(r=e.charCodeAt(t+1))<56320||57343<r?i:r-56320+(i-55296<<10)+65536},Yi=Ii?function(e){return e.trimStart()}:function(e){return e.replace(ki,"")},Vi=Ni?function(e){return e.trimEnd()}:function(e){return e.replace(Si,"")};function Gi(e,t){return new RegExp(e,t)}Hi=Oi?(Ri=Gi("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),function(e,t){return Ri.lastIndex=t,null!=(t=Ri.exec(e)[1])?t:""}):function(e,t){for(var i,r=[];;){var n=Ui(e,t);if(void 0===n||Ki(n)||33<=(i=n)&&i<=35||36===i||37<=i&&i<=39||40===i||41===i||42===i||43===i||44===i||45===i||46<=i&&i<=47||58<=i&&i<=59||60<=i&&i<=62||63<=i&&i<=64||91===i||92===i||93===i||94===i||96===i||123===i||124===i||125===i||126===i||161===i||162<=i&&i<=165||166===i||167===i||169===i||171===i||172===i||174===i||176===i||177===i||182===i||187===i||191===i||215===i||247===i||8208<=i&&i<=8213||8214<=i&&i<=8215||8216===i||8217===i||8218===i||8219<=i&&i<=8220||8221===i||8222===i||8223===i||8224<=i&&i<=8231||8240<=i&&i<=8248||8249===i||8250===i||8251<=i&&i<=8254||8257<=i&&i<=8259||8260===i||8261===i||8262===i||8263<=i&&i<=8273||8274===i||8275===i||8277<=i&&i<=8286||8592<=i&&i<=8596||8597<=i&&i<=8601||8602<=i&&i<=8603||8604<=i&&i<=8607||8608===i||8609<=i&&i<=8610||8611===i||8612<=i&&i<=8613||8614===i||8615<=i&&i<=8621||8622===i||8623<=i&&i<=8653||8654<=i&&i<=8655||8656<=i&&i<=8657||8658===i||8659===i||8660===i||8661<=i&&i<=8691||8692<=i&&i<=8959||8960<=i&&i<=8967||8968===i||8969===i||8970===i||8971===i||8972<=i&&i<=8991||8992<=i&&i<=8993||8994<=i&&i<=9e3||9001===i||9002===i||9003<=i&&i<=9083||9084===i||9085<=i&&i<=9114||9115<=i&&i<=9139||9140<=i&&i<=9179||9180<=i&&i<=9185||9186<=i&&i<=9254||9255<=i&&i<=9279||9280<=i&&i<=9290||9291<=i&&i<=9311||9472<=i&&i<=9654||9655===i||9656<=i&&i<=9664||9665===i||9666<=i&&i<=9719||9720<=i&&i<=9727||9728<=i&&i<=9838||9839===i||9840<=i&&i<=10087||10088===i||10089===i||10090===i||10091===i||10092===i||10093===i||10094===i||10095===i||10096===i||10097===i||10098===i||10099===i||10100===i||10101===i||10132<=i&&i<=10175||10176<=i&&i<=10180||10181===i||10182===i||10183<=i&&i<=10213||10214===i||10215===i||10216===i||10217===i||10218===i||10219===i||10220===i||10221===i||10222===i||10223===i||10224<=i&&i<=10239||10240<=i&&i<=10495||10496<=i&&i<=10626||10627===i||10628===i||10629===i||10630===i||10631===i||10632===i||10633===i||10634===i||10635===i||10636===i||10637===i||10638===i||10639===i||10640===i||10641===i||10642===i||10643===i||10644===i||10645===i||10646===i||10647===i||10648===i||10649<=i&&i<=10711||10712===i||10713===i||10714===i||10715===i||10716<=i&&i<=10747||10748===i||10749===i||10750<=i&&i<=11007||11008<=i&&i<=11055||11056<=i&&i<=11076||11077<=i&&i<=11078||11079<=i&&i<=11084||11085<=i&&i<=11123||11124<=i&&i<=11125||11126<=i&&i<=11157||11158===i||11159<=i&&i<=11263||11776<=i&&i<=11777||11778===i||11779===i||11780===i||11781===i||11782<=i&&i<=11784||11785===i||11786===i||11787===i||11788===i||11789===i||11790<=i&&i<=11798||11799===i||11800<=i&&i<=11801||11802===i||11803===i||11804===i||11805===i||11806<=i&&i<=11807||11808===i||11809===i||11810===i||11811===i||11812===i||11813===i||11814===i||11815===i||11816===i||11817===i||11818<=i&&i<=11822||11823===i||11824<=i&&i<=11833||11834<=i&&i<=11835||11836<=i&&i<=11839||11840===i||11841===i||11842===i||11843<=i&&i<=11855||11856<=i&&i<=11857||11858===i||11859<=i&&i<=11903||12289<=i&&i<=12291||12296===i||12297===i||12298===i||12299===i||12300===i||12301===i||12302===i||12303===i||12304===i||12305===i||12306<=i&&i<=12307||12308===i||12309===i||12310===i||12311===i||12312===i||12313===i||12314===i||12315===i||12316===i||12317===i||12318<=i&&i<=12319||12320===i||12336===i||64830===i||64831===i||65093<=i&&i<=65094)break;r.push(n),t+=65536<=n?2:1}return zi.apply(void 0,r)};o.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},o.prototype.parseMessage=function(e,t,i){for(var r=[];!this.isEOF();){var n,o=this.char();if(123===o){if((n=this.parseArgument(e,i)).err)return n;r.push(n.val)}else{if(125===o&&0<e)break;if(35!==o||"plural"!==t&&"selectordinal"!==t){if(60===o&&!this.ignoreTag&&47===this.peek()){if(i)break;return this.error(f.UNMATCHED_CLOSING_TAG,v(this.clonePosition(),this.clonePosition()))}if(60===o&&!this.ignoreTag&&Zi(this.peek()||0)){if((n=this.parseTag(e,t)).err)return n}else if((n=this.parseLiteral(e,t)).err)return n;r.push(n.val)}else{o=this.clonePosition();this.bump(),r.push({type:y.pound,location:v(o,this.clonePosition())})}}}return{val:r,err:null}},o.prototype.parseTag=function(e,t){var i,r=this.clonePosition(),n=(this.bump(),this.parseTagName());return this.bumpSpace(),this.bumpIf("/>")?{val:{type:y.literal,value:"<".concat(n,"/>"),location:v(r,this.clonePosition())},err:null}:this.bumpIf(">")?(e=this.parseMessage(e+1,t,!0)).err?e:(t=e.val,e=this.clonePosition(),this.bumpIf("</")?this.isEOF()||!Zi(this.char())?this.error(f.INVALID_TAG,v(e,this.clonePosition())):(i=this.clonePosition(),n!==this.parseTagName()?this.error(f.UNMATCHED_CLOSING_TAG,v(i,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:y.tag,value:n,children:t,location:v(r,this.clonePosition())},err:null}:this.error(f.INVALID_TAG,v(e,this.clonePosition())))):this.error(f.UNCLOSED_TAG,v(r,this.clonePosition()))):this.error(f.INVALID_TAG,v(r,this.clonePosition()))},o.prototype.parseTagName=function(){var e,t=this.offset();for(this.bump();!this.isEOF()&&(45===(e=this.char())||46===e||48<=e&&e<=57||95===e||97<=e&&e<=122||65<=e&&e<=90||183==e||192<=e&&e<=214||216<=e&&e<=246||248<=e&&e<=893||895<=e&&e<=8191||8204<=e&&e<=8205||8255<=e&&e<=8256||8304<=e&&e<=8591||11264<=e&&e<=12271||12289<=e&&e<=55295||63744<=e&&e<=64975||65008<=e&&e<=65533||65536<=e&&e<=983039);)this.bump();return this.message.slice(t,this.offset())},o.prototype.parseLiteral=function(e,t){for(var i=this.clonePosition(),r="";;){var n=this.tryParseQuote(t);if(n)r+=n;else{n=this.tryParseUnquoted(e,t);if(n)r+=n;else{n=this.tryParseLeftAngleBracket();if(!n)break;r+=n}}}i=v(i,this.clonePosition());return{val:{type:y.literal,value:r,location:i},err:null}},o.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(Zi(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},o.prototype.tryParseQuote=function(e){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===e||"selectordinal"===e)break;return null;default:return null}this.bump();var t=[this.char()];for(this.bump();!this.isEOF();){var i=this.char();if(39===i){if(39!==this.peek()){this.bump();break}t.push(39),this.bump()}else t.push(i);this.bump()}return zi.apply(void 0,t)},o.prototype.tryParseUnquoted=function(e,t){var i;return this.isEOF()||60===(i=this.char())||123===i||35===i&&("plural"===t||"selectordinal"===t)||125===i&&0<e?null:(this.bump(),zi(i))},o.prototype.parseArgument=function(e,t){var i=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(f.EXPECT_ARGUMENT_CLOSING_BRACE,v(i,this.clonePosition()));if(125===this.char())return this.bump(),this.error(f.EMPTY_ARGUMENT,v(i,this.clonePosition()));var r=this.parseIdentifierIfPossible().value;if(!r)return this.error(f.MALFORMED_ARGUMENT,v(i,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(f.EXPECT_ARGUMENT_CLOSING_BRACE,v(i,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:y.argument,value:r,location:v(i,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(f.EXPECT_ARGUMENT_CLOSING_BRACE,v(i,this.clonePosition())):this.parseArgumentOptions(e,t,r,i);default:return this.error(f.MALFORMED_ARGUMENT,v(i,this.clonePosition()))}},o.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),i=Hi(this.message,t),t=t+i.length;return this.bumpTo(t),{value:i,location:v(e,this.clonePosition())}},o.prototype.parseArgumentOptions=function(e,t,i,r){var n,o=this.clonePosition(),a=this.parseIdentifierIfPossible().value,s=this.clonePosition();switch(a){case"":return this.error(f.EXPECT_ARGUMENT_TYPE,v(o,s));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition();if((d=this.parseSimpleArgStyleIfPossible()).err)return d;if(0===(p=Vi(d.val)).length)return this.error(f.EXPECT_ARGUMENT_STYLE,v(this.clonePosition(),this.clonePosition()));l={style:p,styleLocation:v(c,this.clonePosition())}}return(c=this.tryParseArgumentClose(r)).err?c:(h=v(r,this.clonePosition()),l&&ji(null==l?void 0:l.style,"::",0)?(m=Yi(l.style.slice(2)),"number"===a?(d=this.parseNumberSkeletonFromString(m,l.styleLocation)).err?d:{val:{type:y.number,value:i,location:h,style:d.val},err:null}:0===m.length?this.error(f.EXPECT_DATE_TIME_SKELETON,h):(u=m,this.locale&&(u=function(e,t){for(var i="",r=0;r<e.length;r++){var n=e.charAt(r);if("j"===n){for(var o=0;r+1<e.length&&e.charAt(r+1)===n;)o++,r++;var a=1+(1&o),s=o<2?1:3+(o>>1),l=function(e){var t,i=e.hourCycle;if(i=void 0===i&&e.hourCycles&&e.hourCycles.length?e.hourCycles[0]:i)switch(i){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}return"root"!==(i=e.language)&&(t=e.maximize().region),(Li[t||""]||Li[i||""]||Li["".concat(i,"-001")]||Li["001"])[0]}(t);for("H"!=l&&"k"!=l||(s=0);0<s--;)i+="a";for(;0<a--;)i=l+i}else i+="J"===n?"H":n}return i}(m,this.locale)),p={type:Vt.dateTime,pattern:u,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?(n={},u.replace(ri,function(e){var t=e.length;switch(e[0]){case"G":n.era=4===t?"long":5===t?"narrow":"short";break;case"y":n.year=2===t?"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":n.month=["numeric","2-digit","short","long","narrow"][t-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":n.day=["numeric","2-digit"][t-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":n.weekday=4!==t&&5===t?"narrow":"short";break;case"e":if(t<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");n.weekday=["short","long","narrow","short"][t-4];break;case"c":if(t<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");n.weekday=["short","long","narrow","short"][t-4];break;case"a":n.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":n.hourCycle="h12",n.hour=["numeric","2-digit"][t-1];break;case"H":n.hourCycle="h23",n.hour=["numeric","2-digit"][t-1];break;case"K":n.hourCycle="h11",n.hour=["numeric","2-digit"][t-1];break;case"k":n.hourCycle="h24",n.hour=["numeric","2-digit"][t-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":n.minute=["numeric","2-digit"][t-1];break;case"s":n.second=["numeric","2-digit"][t-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":n.timeZoneName=t<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""}),n):{}},{val:{type:"date"===a?y.date:y.time,value:i,location:h,style:p},err:null})):{val:{type:"number"===a?y.number:"date"===a?y.date:y.time,value:i,location:h,style:null!=(m=null==l?void 0:l.style)?m:null},err:null});case"plural":case"selectordinal":case"select":var u=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(f.EXPECT_SELECT_ARGUMENT_OPTIONS,v(u,g({},u)));this.bumpSpace();var d,p=this.parseIdentifierIfPossible(),h=0;if("select"!==a&&"offset"===p.value){if(!this.bumpIf(":"))return this.error(f.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,v(this.clonePosition(),this.clonePosition()));if(this.bumpSpace(),(d=this.tryParseDecimalInteger(f.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,f.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return d;this.bumpSpace(),p=this.parseIdentifierIfPossible(),h=d.val}var m,l=this.tryParsePluralOrSelectOptions(e,a,t,p);return l.err?l:(c=this.tryParseArgumentClose(r)).err?c:(m=v(r,this.clonePosition()),"select"===a?{val:{type:y.select,value:i,options:Wi(l.val),location:m},err:null}:{val:{type:y.plural,value:i,options:Wi(l.val),offset:h,pluralType:"plural"===a?"cardinal":"ordinal",location:m},err:null});default:return this.error(f.INVALID_ARGUMENT_TYPE,v(o,s))}},o.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(f.EXPECT_ARGUMENT_CLOSING_BRACE,v(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},o.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();)switch(this.char()){case 39:this.bump();var i=this.clonePosition();if(!this.bumpUntil("'"))return this.error(f.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,v(i,this.clonePosition()));this.bump();break;case 123:e+=1,this.bump();break;case 125:if(!(0<e))return{val:this.message.slice(t.offset,this.offset()),err:null};--e;break;default:this.bump()}return{val:this.message.slice(t.offset,this.offset()),err:null}},o.prototype.parseNumberSkeletonFromString=function(e,t){var i=[];try{i=function(e){if(0===e.length)throw new Error("Number skeleton cannot be empty");for(var t=[],i=0,r=e.split(ni).filter(function(e){return 0<e.length});i<r.length;i++){var n=r[i].split("/");if(0===n.length)throw new Error("Invalid number skeleton");for(var o=n[0],n=n.slice(1),a=0,s=n;a<s.length;a++)if(0===s[a].length)throw new Error("Invalid number skeleton");t.push({stem:o,options:n})}return t}(e)}catch(e){return this.error(f.INVALID_NUMBER_SKELETON,t)}return{val:{type:Vt.number,tokens:i,location:t,parsedOptions:this.shouldParseSkeletons?Ai(i):{}},err:null}},o.prototype.tryParsePluralOrSelectOptions=function(e,t,i,r){for(var n=!1,o=[],a=new Set,s=r.value,l=r.location;;){if(0===s.length){var c=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var u=this.tryParseDecimalInteger(f.EXPECT_PLURAL_ARGUMENT_SELECTOR,f.INVALID_PLURAL_ARGUMENT_SELECTOR);if(u.err)return u;l=v(c,this.clonePosition()),s=this.message.slice(c.offset,this.offset())}if(a.has(s))return this.error("select"===t?f.DUPLICATE_SELECT_ARGUMENT_SELECTOR:f.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);"other"===s&&(n=!0),this.bumpSpace();u=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?f.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:f.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,v(this.clonePosition(),this.clonePosition()));c=this.parseMessage(e+1,t,i);if(c.err)return c;var d=this.tryParseArgumentClose(u);if(d.err)return d;o.push([s,{value:c.val,location:v(u,this.clonePosition())}]),a.add(s),this.bumpSpace(),s=(d=this.parseIdentifierIfPossible()).value,l=d.location}return 0===o.length?this.error("select"===t?f.EXPECT_SELECT_ARGUMENT_SELECTOR:f.EXPECT_PLURAL_ARGUMENT_SELECTOR,v(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!n?this.error(f.MISSING_OTHER_CLAUSE,v(this.clonePosition(),this.clonePosition())):{val:o,err:null}},o.prototype.tryParseDecimalInteger=function(e,t){var i=1,r=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(i=-1);for(var n=!1,o=0;!this.isEOF();){var a=this.char();if(!(48<=a&&a<=57))break;n=!0,o=10*o+(a-48),this.bump()}r=v(r,this.clonePosition());return n?Fi(o*=i)?{val:o,err:null}:this.error(t,r):this.error(e,r)},o.prototype.offset=function(){return this.position.offset},o.prototype.isEOF=function(){return this.offset()===this.message.length},o.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},o.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=Ui(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},o.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},o.prototype.bump=function(){var e;this.isEOF()||(10===(e=this.char())?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2))},o.prototype.bumpIf=function(e){if(ji(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},o.prototype.bumpUntil=function(e){var t=this.offset(),e=this.message.indexOf(e,t);return 0<=e?(this.bumpTo(e),!0):(this.bumpTo(this.message.length),!1)},o.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset ".concat(e," must be greater than or equal to the current offset ").concat(this.offset()));for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(e<t)throw Error("targetOffset ".concat(e," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},o.prototype.bumpSpace=function(){for(;!this.isEOF()&&Ki(this.char());)this.bump()},o.prototype.peek=function(){var e,t;return!this.isEOF()&&(e=this.char(),t=this.offset(),null!=(t=this.message.charCodeAt(t+(65536<=e?2:1))))?t:null};var qi=o;function o(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}function Zi(e){return 97<=e&&e<=122||65<=e&&e<=90}function Ki(e){return 9<=e&&e<=13||32===e||133===e||8206<=e&&e<=8207||8232===e||8233===e}function Xi(e,t){t=g({shouldParseSkeletons:!0,requiresOtherClause:!0},t=void 0===t?{}:t);var i,e=new qi(e,t).parse();if(e.err)throw(i=SyntaxError(f[e.err.kind])).location=e.err.location,i.originalMessage=e.err.message,i;return null!=t&&t.captureLocation||function i(e){e.forEach(function(e){if(delete e.location,Jt(e)||Qt(e))for(var t in e.options)delete e.options[t].location,i(e.options[t].value);else Zt(e)&&ti(e.style)||(Kt(e)||Xt(e))&&ii(e.style)?delete e.style.location:ei(e)&&i(e.children)})}(e.val),e.val}function Ji(e,t){var i=t&&t.cache?t.cache:ar,r=t&&t.serializer?t.serializer:ir;return(t&&t.strategy?t.strategy:function(e,t){return tr(e,this,1===e.length?Qi:er,t.cache.create(),t.serializer)})(e,{cache:i,serializer:r})}function Qi(e,t,i,r){var i=null==r||"number"==typeof r||"boolean"==typeof r?r:i(r),n=t.get(i);return void 0===n&&(n=e.call(this,r),t.set(i,n)),n}function er(e,t,i){var r=Array.prototype.slice.call(arguments,3),i=i(r),n=t.get(i);return void 0===n&&(n=e.apply(this,r),t.set(i,n)),n}function tr(e,t,i,r,n){return i.bind(t,e,r,n)}var ir=function(){return JSON.stringify(arguments)};function rr(){this.cache=Object.create(null)}rr.prototype.get=function(e){return this.cache[e]},rr.prototype.set=function(e,t){this.cache[e]=t};var nr,or,ar={create:function(){return new rr}},sr={variadic:function(e,t){return tr(e,this,er,t.cache.create(),t.serializer)},monadic:function(e,t){return tr(e,this,Qi,t.cache.create(),t.serializer)}};(or=nr=nr||{}).MISSING_VALUE="MISSING_VALUE",or.INVALID_VALUE="INVALID_VALUE",or.MISSING_INTL_API="MISSING_INTL_API";Yt(br,pr=Error),br.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)};var lr,cr,ur,dr,pr,hr=br,mr=(Yt(wr,dr=hr),wr),fr=(Yt(vr,ur=hr),vr),gr=(Yt(yr,cr=hr),yr);function yr(e,t){return cr.call(this,'The intl string context variable "'.concat(e,'" was not provided to the string "').concat(t,'"'),nr.MISSING_VALUE,t)||this}function vr(e,t,i){return ur.call(this,'Value for "'.concat(e,'" must be of type ').concat(t),nr.INVALID_VALUE,i)||this}function wr(e,t,i,r){return dr.call(this,'Invalid values for "'.concat(e,'": "').concat(t,'". Options are "').concat(Object.keys(i).join('", "'),'"'),nr.INVALID_VALUE,r)||this}function br(e,t,i){e=pr.call(this,e)||this;return e.code=t,e.originalMessage=i,e}function _r(e,t,i,r,n,o,a){if(1===e.length&&qt(e[0]))return[{type:lr.literal,value:e[0].value}];for(var s=[],l=0,c=e;l<c.length;l++){var u=c[l];if(qt(u))s.push({type:lr.literal,value:u.value});else if(u.type===y.pound)"number"==typeof o&&s.push({type:lr.literal,value:i.getNumberFormat(t).format(o)});else{var d=u.value;if(!(n&&d in n))throw new gr(d,a);d=n[d];if(u.type===y.argument)d&&"string"!=typeof d&&"number"!=typeof d||(d="string"==typeof d||"number"==typeof d?String(d):""),s.push({type:"string"==typeof d?lr.literal:lr.object,value:d});else if(Kt(u)){var p="string"==typeof u.style?r.date[u.style]:ii(u.style)?u.style.parsedOptions:void 0;s.push({type:lr.literal,value:i.getDateTimeFormat(t,p).format(d)})}else if(Xt(u))p="string"==typeof u.style?r.time[u.style]:ii(u.style)?u.style.parsedOptions:r.time.medium,s.push({type:lr.literal,value:i.getDateTimeFormat(t,p).format(d)});else if(Zt(u))(p="string"==typeof u.style?r.number[u.style]:ti(u.style)?u.style.parsedOptions:void 0)&&p.scale&&(d*=p.scale||1),s.push({type:lr.literal,value:i.getNumberFormat(t,p).format(d)});else{if(ei(u)){var h=u.children,m=u.value,f=n[m];if("function"!=typeof f)throw new fr(m,"function",a);m=f(_r(h,t,i,r,n,o).map(function(e){return e.value}));Array.isArray(m)||(m=[m]),s.push.apply(s,m.map(function(e){return{type:"string"==typeof e?lr.literal:lr.object,value:e}}))}if(Jt(u)){if(!(g=u.options[d]||u.options.other))throw new mr(u.value,d,Object.keys(u.options),a);s.push.apply(s,_r(g.value,t,i,r,n))}else if(Qt(u)){if(!(g=u.options["=".concat(d)])){if(!Intl.PluralRules)throw new hr('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',nr.MISSING_INTL_API,a);var f=i.getPluralRules(t,{type:u.pluralType}).select(d-(u.offset||0)),g=u.options[f]||u.options.other}if(!g)throw new mr(u.value,d,Object.keys(u.options),a);s.push.apply(s,_r(g.value,t,i,r,n,d-(u.offset||0)))}}}}return(e=s).length<2?e:e.reduce(function(e,t){var i=e[e.length-1];return i&&i.type===lr.literal&&t.type===lr.literal?i.value+=t.value:e.push(t),e},[])}function xr(i){return{create:function(){return{get:function(e){return i[e]},set:function(e,t){i[e]=t}}}}}(t=lr=lr||{})[t.literal=0]="literal",t[t.object=1]="object";Object.defineProperty(Pr,"defaultLocale",{get:function(){return Pr.memoizedDefaultLocale||(Pr.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),Pr.memoizedDefaultLocale},enumerable:!1,configurable:!0}),Pr.memoizedDefaultLocale=null,Pr.resolveLocale=function(e){var t=Intl.NumberFormat.supportedLocalesOf(e);return 0<t.length?new Intl.Locale(t[0]):new Intl.Locale("string"==typeof e?e:e[0])},Pr.__parse=Xi,Pr.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"}}};var Cr=Pr;function Pr(e,t,i,r){var n,o,a=this;if(void 0===t&&(t=Pr.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var e=a.formatToParts(e);return 1===e.length?e[0].value:(e=e.reduce(function(e,t){return e.length&&t.type===lr.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e},[])).length<=1?e[0]||"":e},this.formatToParts=function(e){return _r(a.ast,a.locales,a.formatters,a.formats,e,void 0,a.message)},this.resolvedOptions=function(){return{locale:a.resolvedLocale.toString()}},this.getAst=function(){return a.ast},this.locales=t,this.resolvedLocale=Pr.resolveLocale(t),"string"==typeof e){if(this.message=e,!Pr.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=Pr.__parse(e,{ignoreTag:null==r?void 0:r.ignoreTag,locale:this.resolvedLocale})}else this.ast=e;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=(n=Pr.formats,(o=i)?Object.keys(n).reduce(function(e,t){var i,r;return e[t]=(i=n[t],(r=o[t])?g(g(g({},i||{}),r||{}),Object.keys(i).reduce(function(e,t){return e[t]=g(g({},i[t]),r[t]||{}),e},{})):i),e},g({},n)):n),this.formatters=r&&r.formatters||{getNumberFormat:Ji(function(){for(var e,t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return new((e=Intl.NumberFormat).bind.apply(e,Gt([void 0],t,!1)))},{cache:xr((t=void 0===(t=this.formatterCache)?{number:{},dateTime:{},pluralRules:{}}:t).number),strategy:sr.variadic}),getDateTimeFormat:Ji(function(){for(var e,t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return new((e=Intl.DateTimeFormat).bind.apply(e,Gt([void 0],t,!1)))},{cache:xr(t.dateTime),strategy:sr.variadic}),getPluralRules:Ji(function(){for(var e,t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return new((e=Intl.PluralRules).bind.apply(e,Gt([void 0],t,!1)))},{cache:xr(t.pluralRules),strategy:sr.variadic})}}const Er={},Tr=(e,t,i)=>i&&(t in Er||(Er[t]={}),e in Er[t]||(Er[t][e]=i),i),Ar=(t,i)=>{if(null!=i){if(i in Er&&t in Er[i])return Er[i][t];var r=qr(i);for(let e=0;e<r.length;e++){var n=function(e,t){if(!Mr(e))return null;e=function(e){return Lr[e]||null}(e),e=function(e,i){if(null!=i){if(i in e)return e[i];var r=i.split(".");let t=e;for(let e=0;e<r.length;e++)if("object"==typeof t){if(0<e){const i=r.slice(e,r.length).join(".");if(i in t){t=t[i];break}}t=t[r[e]]}else t=void 0;return t}}(e,t);return e}(r[e],t);if(n)return Tr(t,i,n)}}};let Lr;const kr=$t({});function Mr(e){return e in Lr}function B(t,...i){delete Er[t],kr.update(e=>(e[t]=Wt.all([e[t]||{},...i]),e))}Bt([kr],([e])=>Object.keys(e)),kr.subscribe(e=>Lr=e);const Sr={};function Dr(e){return Sr[e]}function $r(e){return null!=e&&qr(e).some(e=>{return null==(e=Dr(e))?void 0:e.size})}function Br(r,e){return Promise.all(e.map(e=>{return t=r,i=e,Sr[t].delete(i),0===Sr[t].size&&delete Sr[t],e().then(e=>e.default||e);var t,i})).then(e=>B(r,...e))}const Ir={};function Nr(e){var t;return $r(e)?(t=qr(e).map(e=>{var t=Dr(e);return[e,t?[...t]:[]]}).filter(([,e])=>0<e.length),Ir[e]=Promise.all(t.map(([e,t])=>Br(e,t))).then(()=>{if($r(e))return Nr(e);delete Ir[e]}),Ir[e]):e in Ir?Ir[e]:Promise.resolve()}const Fr={fallbackLocale:null,loadingDelay:200,formats:{number:{scientific:{notation:"scientific"},engineering:{notation:"engineering"},compactLong:{notation:"compact",compactDisplay:"long"},compactShort:{notation:"compact",compactDisplay:"short"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0};function Or(){return Fr}const Rr=$t(!1);var Hr=Object.defineProperty,Di=Object.defineProperties,$i=Object.getOwnPropertyDescriptors,jr=Object.getOwnPropertySymbols,zr=Object.prototype.hasOwnProperty,Wr=Object.prototype.propertyIsEnumerable,Ur=(e,t,i)=>t in e?Hr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i;let Yr;const Vr=$t(null);function Gr(e){return e.split("-").map((e,t,i)=>i.slice(0,t+1).join("-")).reverse()}function qr(e,t=Fr.fallbackLocale){e=Gr(e);return t?[...new Set([...e,...Gr(t)])]:e}function Zr(){return null!=Yr?Yr:void 0}Vr.subscribe(e=>{Yr=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)});Bi=((e,t)=>{for(var i in t=t||{})zr.call(t,i)&&Ur(e,i,t[i]);if(jr)for(var i of jr(t))Wr.call(t,i)&&Ur(e,i,t[i]);return e})({},Vr);const Se=Di(Bi,$i({set:t=>{if(t&&function(e){if(null==e)return;const t=qr(e);for(let e=0;e<t.length;e++){const i=t[e];if(Mr(i))return i}}(t)&&$r(t)){const{loadingDelay:i}=Or();let e;return"undefined"!=typeof window&&null!=Zr()&&i?e=window.setTimeout(()=>Rr.set(!0),i):Rr.set(!0),Nr(t).then(()=>{Vr.set(t)}).finally(()=>{clearTimeout(e),Rr.set(!1)})}return Vr.set(t)}})),Kr=i=>{const r=Object.create(null);return e=>{var t=JSON.stringify(e);return t in r?r[t]:r[t]=i(e)}};var Xr=Object.defineProperty,Jr=Object.getOwnPropertySymbols,Qr=Object.prototype.hasOwnProperty,en=Object.prototype.propertyIsEnumerable,tn=(e,t,i)=>t in e?Xr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,rn=(e,t)=>{for(var i in t=t||{})Qr.call(t,i)&&tn(e,i,t[i]);if(Jr)for(var i of Jr(t))en.call(t,i)&&tn(e,i,t[i]);return e},nn=(e,t)=>{var i={};for(r in e)Qr.call(e,r)&&t.indexOf(r)<0&&(i[r]=e[r]);if(null!=e&&Jr)for(var r of Jr(e))t.indexOf(r)<0&&en.call(e,r)&&(i[r]=e[r]);return i};const on=(e,t)=>{var i=Fr["formats"];if(e in i&&t in i[e])return i[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},an=Kr(e=>{var{locale:t,format:i}=e,e=nn(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return i&&(e=on("number",i)),new Intl.NumberFormat(t,e)}),sn=Kr(e=>{var{locale:t,format:i}=e,e=nn(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return i?e=on("date",i):0===Object.keys(e).length&&(e=on("date","short")),new Intl.DateTimeFormat(t,e)}),ln=Kr(e=>{var{locale:t,format:i}=e,e=nn(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return i?e=on("time",i):0===Object.keys(e).length&&(e=on("time","short")),new Intl.DateTimeFormat(t,e)}),cn=Kr((e,t=Zr())=>new Cr(e,t,Fr.formats,{ignoreTag:Fr.ignoreTag})),De=Bt([Se,kr],()=>(e,t={})=>{var i,r;let n=t;"object"==typeof e&&(e=(n=e).id);var{values:o,locale:a=Zr(),default:s}=n;if(null==a)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let l=Ar(e,a);if(l){if("string"!=typeof l)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),l}else l=null!=(r=null!=(i=null==(i=(r=Fr).handleMissingMessage)?void 0:i.call(r,{locale:a,id:e,defaultValue:s}))?i:s)?r:e;if(!o)return l;let c=l;try{c=cn(l,a).format(o)}catch(t){t instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return c}),un=(Bt([Se],()=>(e,t)=>((e={})=>{var{locale:t=Zr()}=e,e=nn(e,["locale"]);return ln(rn({locale:t},e))})(t).format(e)),Bt([Se],()=>(e,t)=>((e={})=>{var{locale:t=Zr()}=e,e=nn(e,["locale"]);return sn(rn({locale:t},e))})(t).format(e)),Bt([Se],()=>(e,t)=>((e={})=>{var{locale:t=Zr()}=e,e=nn(e,["locale"]);return an(rn({locale:t},e))})(t).format(e)),Bt([Se,kr],()=>(e,t=Zr())=>Ar(e,t)),window.emWidgets={topic:(e,t=0)=>{return-1==Mt.indexOf(e)&&(t=new Tt(t),St[e]=t,Mt.push(e)),St[e]}},e=>!!(e.toLowerCase().match(/android/i)||e.toLowerCase().match(/blackberry|bb/i)||e.toLowerCase().match(/iphone|ipad|ipod/i)||e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i))),$e=e=>e.toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC";function dn(e,t){B(e,t)}const pn={en:{profileUpdateSuccess:"Profile updated!",timeoutSuccess:"Timeout active",selfExclusionSuccess:"Self exclusion active",accountClosureSuccess:"Account closed",limitsUpdateSuccess:"Limits updated",limitsDeleteSuccess:"Limits deleted",passwordChangedSuccess:"Password changed successfully",realityCheckSuccess:"Reality check options saved"},"zh-hk":{profileUpdateSuccess:"資料更新!",timeoutSuccess:"超時有效",selfExclusionSuccess:"自我排斥活躍",accountClosureSuccess:"賬戶關閉",limitsUpdateSuccess:"限制已更新",limitsDeleteSuccess:"已刪除限制",passwordChangedSuccess:"密碼修改成功",realityCheckSuccess:"現實檢查選項已保存"},fr:{profileUpdateSuccess:"Mise à jour du profil!",timeoutSuccess:"Délai d'attente actif",selfExclusionSuccess:"Auto exclusion active",accountClosureSuccess:"Compte fermé",limitsUpdateSuccess:"Limites des mises à jour",limitsDeleteSuccess:"Limites supprimées",passwordChangedSuccess:"Le mot de passe a été modifié avec succés",realityCheckSuccess:"Options de contrôle de la réalité sauvegardées"},ro:{profileUpdateSuccess:"Profil updatat!",timeoutSuccess:"Timeout activ",selfExclusionSuccess:"Auto-excludere activa",accountClosureSuccess:"Cont inchis",limitsUpdateSuccess:"Limite updatate",limitsDeleteSuccess:"Limite sterse",passwordChangedSuccess:"Parola schimbata cu success",realityCheckSuccess:"Optiunile de verificare de timp salvate"},es:{profileUpdateSuccess:"Perfil actualizado!",timeoutSuccess:"Pausa activa",selfExclusionSuccess:"Auto Exclusión activa.",accountClosureSuccess:"Cuenta cerrada",limitsUpdateSuccess:"Limites actualizados",limitsDeleteSuccess:"Limites delegados",passwordChangedSuccess:"Cambio de Contraseña satisfactorio",realityCheckSuccess:"Opciones de verificación de realidad guardadas"},pt:{profileUpdateSuccess:"Perfil atualizado!",timeoutSuccess:"Tempo Limite ativo",selfExclusionSuccess:"Autoexclusão ativa",accountClosureSuccess:"Conta encerrada",limitsUpdateSuccess:"Limites atualizados",limitsDeleteSuccess:"Limites excluídos",passwordChangedSuccess:"Senha alterada com sucesso",realityCheckSuccess:"Opções de verificação de realidade salvas"},hr:{profileUpdateSuccess:"Profil ažuriran!",timeoutSuccess:"Pauza je aktivna",selfExclusionSuccess:"Aktivno samoisključivanje",accountClosureSuccess:"Račun zatvoren",limitsUpdateSuccess:"Ograničenja ažurirana",limitsDeleteSuccess:"Ograničenja izbrisana",passwordChangedSuccess:"Lozinka je uspješno promijenjena",realityCheckSuccess:"Opcije provjere stvarnosti spremljene"}};function hn(e,t){B(e,t)}const mn={en:{title:"My Account"},"zh-hk":{title:"我的帳戶"},fr:{title:"Mon compte"},tr:{title:"Hesabım"},ro:{title:"Contul meu"},es:{title:"Mi Cuenta"},pt:{title:"Minha Conta"},hr:{title:"Moj račun"}};function fn(e,t){B(e,t)}const gn={en:{logoutButton:"Logout"},"zh-hk":{logoutButton:"登出"},fr:{logoutButton:"Déconnexion"},tr:{logoutButton:"Çıkış Yap"},ro:{logoutButton:"Iesire"},es:{logoutButton:"Cerrar sesión"},pt:{logoutButton:"Sair"},hr:{logoutButton:"Odjava"}};function yn(i){let r,n,o,a,s,l,c=i[2]("logoutButton")+"";return{c(){r=di("div"),n=di("button"),o=di("span"),a=hi(c),gi(r,"class","GeneralLogout")},m(e,t){li(e,r,t),si(r,n),si(n,o),si(o,a),s||(l=fi(n,"click",i[13]),s=!0)},p(e,t){4&t&&c!==(c=e[2]("logoutButton")+"")&&yi(a,c)},d(e){e&&ci(r),s=!1,l()}}}function vn(o){let i,r,n,a,s,l,c,u,d,p,h,m=!o[3]&&function(){let i,r,n=o[2]("logoutButton")+"";return{c(){i=di("span"),r=hi(n),gi(i,"class","PlayerLogoutText")},m(e,t){li(e,i,t),si(i,r)},p(e,t){4&t&&n!==(n=e[2]("logoutButton")+"")&&yi(r,n)},d(e){e&&ci(i)}}}();return{c(){i=di("p"),r=di("span"),n=pi("svg"),a=pi("defs"),s=pi("style"),l=hi(".a88316b4-2478-4a69-b2eb-d32a5fb419dd{fill:var(--emfe-w-color-white, #FFFFFF);}"),c=pi("path"),u=pi("path"),d=mi(),m&&m.c(),gi(c,"class","a88316b4-2478-4a69-b2eb-d32a5fb419dd"),gi(c,"d","M147.16,67.69,115.42,36a9.6,9.6,0,1,0-13.58,13.58l15.32,15.31H49.58a9.63,9.63,0,1,0,0,19.26h67.58L101.84,99.42a9.64,9.64,0,0,0,6.79,16.43,9.41,9.41,0,0,0,6.79-2.85l31.74-31.73a9.53,9.53,0,0,0,0-13.58Z"),gi(u,"class","a88316b4-2478-4a69-b2eb-d32a5fb419dd"),gi(u,"d","M45.16,122.16H19.26V26.79H45.32a9.63,9.63,0,1,0,0-19.26H9.63A9.56,9.56,0,0,0,0,17.16V131.63a9.57,9.57,0,0,0,9.63,9.64H45.32A9.57,9.57,0,0,0,55,131.63a9.78,9.78,0,0,0-9.79-9.47Z"),gi(n,"id","bbfaf345-72af-4296-bf4b-2fd41fc03d5d"),gi(n,"data-name","Layer 1"),gi(n,"xmlns","http://www.w3.org/2000/svg"),gi(n,"viewBox","0 0 150 150"),L(r,"width",o[3]?o[4].matches?"50px":"24px":"20px"),gi(i,"class","PlayerAccountMenuItemBox "+(o[3]?"PlayerAccountMenuItemBoxMobile":"")+" "+(o[4].matches&&o[3]?"PlayerAccountMenuItemBoxTablet":""))},m(e,t){li(e,i,t),si(i,r),si(r,n),si(n,a),si(a,s),si(s,l),si(n,c),si(n,u),si(i,d),m&&m.m(i,null),p||(h=fi(i,"click",o[12]),p=!0)},p(e,t){e[3]||m.p(e,t)},d(e){e&&ci(i),m&&m.d(),p=!1,h()}}}function wn(i){let r;function n(e){return"PlayerAccountMenu"===e[0]?vn:yn}let o=n(i),a=o(i);return{c(){r=di("div"),a.c(),this.c=oe},m(e,t){li(e,r,t),a.m(r,null),i[14](r)},p(e,[t]){o===(o=n(e))&&a?a.p(e,t):(a.d(1),(a=o(e))&&(a.c(),a.m(r,null)))},i:oe,o:oe,d(e){e&&ci(r),a.d(),i[14](null)}}}function bn(t,e,i){let r;Le(t,De,e=>i(2,r=e));let n,{endpoint:o=""}=e,{session:a=""}=e,{buttonlocation:s=""}=e,{lang:l=""}=e,{clientstyling:c=""}=e,{clientstylingurl:u=""}=e,{translationurl:d=""}=e,p="",h=!1,m=window.navigator.userAgent,f="PC"!==$e(m);e=window.matchMedia("(min-width: 768px)");Object.keys(gn).forEach(e=>{fn(e,gn[e])});const g=()=>{var e=new Headers;e.append("Content-type","application/json"),e.append("X-SessionID",a),fetch(o+"/v1/player/session/player",{method:"DELETE",headers:e}).then(e=>{window.postMessage({type:"LogoutSuccessfull"},window.location.href)})};return t.$$set=e=>{"endpoint"in e&&i(6,o=e.endpoint),"session"in e&&i(7,a=e.session),"buttonlocation"in e&&i(0,s=e.buttonlocation),"lang"in e&&i(8,l=e.lang),"clientstyling"in e&&i(9,c=e.clientstyling),"clientstylingurl"in e&&i(10,u=e.clientstylingurl),"translationurl"in e&&i(11,d=e.translationurl)},t.$$.update=()=>{if(193&t.$$.dirty&&o&&a&&s&&(o||(p="GENERAL-LOGOUT - Endpoint is missing! Please provide a valid endpointURL.",h=!0,console.error(p)),a||(p="GENERAL-LOGOUT - Session is missing! Please provide a valid session.",h=!0,console.error(p))),256&t.$$.dirty&&l&&(e=l,Se.set(e)),514&t.$$.dirty&&c&&n&&((e=document.createElement("style")).innerHTML=c,n.appendChild(e)),1026&t.$$.dirty&&u&&n){let e=new URL(u),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{n.appendChild(t)},1),setTimeout(()=>{},500)})}var e;2048&t.$$.dirty&&d&&fetch(d).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{fn(e,t[e])})}).catch(e=>{console.log(e)})},[s,n,r,f,e,g,o,a,l,c,u,d,()=>g(),()=>g(),function(e){Me[e?"unshift":"push"](()=>{n=e,i(1,n)})}]}function _n(e,t,i){e=e.slice();return e[32]=t[i],e}function xn(i){let r,n,o,a,s,l,c,u,d,p,h,m=i[32].label+"";function f(){return i[19](i[32])}return{c(){r=di("div"),n=di("p"),o=di("img"),s=mi(),l=di("span"),c=hi(m),u=mi(),gi(o,"class","PlayerAccountMenuItemIcon "+(i[10]?"PlayerAccountMenuItemIconMobile":"")),b(o.src,a=i[32].img)||gi(o,"src",a),gi(l,"class","PlayerAccountMenuItemTitle"),gi(n,"class","PlayerAccountMenuItemWrapper"),gi(r,"class",d="PlayerAccountMenuItemBox "+(i[6]!==i[32].id||i[10]?"":"PlayerAccountMenuActiveItemBox"))},m(e,t){li(e,r,t),si(r,n),si(n,o),si(n,s),si(n,l),si(l,c),si(r,u),p||(h=fi(r,"click",f),p=!0)},p(e,t){i=e,32&t[0]&&!b(o.src,a=i[32].img)&&gi(o,"src",a),32&t[0]&&m!==(m=i[32].label+"")&&yi(c,m),96&t[0]&&d!==(d="PlayerAccountMenuItemBox "+(i[6]!==i[32].id||i[10]?"":"PlayerAccountMenuActiveItemBox"))&&gi(r,"class",d)},d(e){e&&ci(r),p=!1,h()}}}function Cn(i){let r,n=function(t){let i,r,n,o,a,s,l,c,u,d,p,h,m=t[10]&&function(i){let r,n,o,a,s,l,c,u,d,p,h,m,f,g=i[9]("title")+"";return{c(){r=di("div"),n=pi("svg"),o=pi("defs"),a=pi("style"),s=hi(".aaa{fill:var(--emfe-w-color-white, #FFFFFF);}"),l=pi("g"),c=pi("g"),u=pi("path"),d=mi(),p=di("h3"),h=hi(g),gi(u,"class","aaa"),gi(u,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),gi(u,"transform","translate(15 15) rotate(180)"),gi(c,"transform","translate(20 158)"),gi(l,"transform","translate(-20 -158)"),gi(n,"xmlns","http://www.w3.org/2000/svg"),gi(n,"width","15"),gi(n,"height","15"),gi(n,"viewBox","0 0 15 15"),gi(p,"class","PlayerAccountMenuCategoryTitle"),gi(r,"class","PlayerAccountMenuCategoryWrapper")},m(e,t){li(e,r,t),si(r,n),si(n,o),si(o,a),si(a,s),si(n,l),si(l,c),si(c,u),si(r,d),si(r,p),si(p,h),m||(f=[fi(n,"click",i[12]),fi(p,"click",i[12])],m=!0)},p(e,t){512&t[0]&&g!==(g=e[9]("title")+"")&&yi(h,g)},d(e){e&&ci(r),m=!1,ai(f)}}}(t),f=t[10]&&function(e){let i,r;return{c(){i=di("div"),ae(r=di("general-logout"),"endpoint",e[1]),ae(r,"session",e[0]),ae(r,"buttonlocation","PlayerAccountMenu"),ae(r,"clientstyling",e[2]),ae(r,"clientstylingurl",e[3]),gi(i,"class","PlayerAccountLogOutArea")},m(e,t){li(e,i,t),si(i,r)},p(e,t){2&t[0]&&ae(r,"endpoint",e[1]),1&t[0]&&ae(r,"session",e[0]),4&t[0]&&ae(r,"clientstyling",e[2]),8&t[0]&&ae(r,"clientstylingurl",e[3])},d(e){e&&ci(i)}}}(t),g=t[5],y=[];for(let e=0;e<g.length;e+=1)y[e]=xn(_n(t,g,e));let v=!t[10]&&function(e){let i,r;return{c(){i=di("div"),ae(r=di("general-logout"),"endpoint",e[1]),ae(r,"session",e[0]),ae(r,"buttonlocation","PlayerAccountMenu"),ae(r,"clientstyling",e[2]),ae(r,"clientstylingurl",e[3]),gi(i,"class","PlayerAccountLogOutArea")},m(e,t){li(e,i,t),si(i,r)},p(e,t){2&t[0]&&ae(r,"endpoint",e[1]),1&t[0]&&ae(r,"session",e[0]),4&t[0]&&ae(r,"clientstyling",e[2]),8&t[0]&&ae(r,"clientstylingurl",e[3])},d(e){e&&ci(i)}}}(t);return{c(){i=di("div"),r=di("div"),m&&m.c(),n=mi(),o=di("p"),a=hi(t[7]),s=mi(),l=di("p"),c=hi(t[8]),u=mi(),f&&f.c(),d=mi(),p=di("div");for(let e=0;e<y.length;e+=1)y[e].c();h=mi(),v&&v.c(),gi(o,"class","PlayerAccountMenuUser"),gi(l,"class","PlayerAccountMenuEmail"),gi(r,"class","PlayerAccountMenuHeader "+(t[10]?"PlayerAccountMenuHeaderMobile":"")),gi(p,"class","PlayerAccountMenuList"),gi(i,"class","PlayerAccountMenuContainer "+(t[10]?"PlayerAccountMobileContainer":"")+" "+(t[11].matches&&t[10]?"PlayerAccountTabletContainer":""))},m(e,t){li(e,i,t),si(i,r),m&&m.m(r,null),si(r,n),si(r,o),si(o,a),si(r,s),si(r,l),si(l,c),si(r,u),f&&f.m(r,null),si(i,d),si(i,p);for(let e=0;e<y.length;e+=1)y[e]&&y[e].m(p,null);si(i,h),v&&v.m(i,null)},p(t,i){if(t[10]&&m.p(t,i),128&i[0]&&yi(a,t[7]),256&i[0]&&yi(c,t[8]),t[10]&&f.p(t,i),9312&i[0]){let e;for(g=t[5],e=0;e<g.length;e+=1){var r=_n(t,g,e);y[e]?y[e].p(r,i):(y[e]=xn(r),y[e].c(),y[e].m(p,null))}for(;e<y.length;e+=1)y[e].d(1);y.length=g.length}t[10]||v.p(t,i)},d(e){e&&ci(i),m&&m.d(),f&&f.d(),ui(y,e),v&&v.d()}}}(i);return{c(){r=di("div"),n.c(),this.c=oe},m(e,t){li(e,r,t),n.m(r,null),i[20](r)},p(e,t){n.p(e,t)},i:oe,o:oe,d(e){e&&ci(r),n.d(),i[20](null)}}}function Pn(i,e,r){let t;Le(i,De,e=>r(9,t=e));let n,o,{endpoint:a=""}=e,{session:s=""}=e,{playerid:l=""}=e,{lang:c="en"}=e,{selecteditem:u=""}=e,{userroles:d=""}=e,{clientstyling:p=""}=e,{clientstylingurl:h=""}=e,{translationurl:m=""}=e,f=[],g=window.navigator.userAgent,y="PC"!==$e(g),v="",w="";e=window.matchMedia("(min-width: 768px)");Object.keys(mn).forEach(e=>{hn(e,mn[e])});const b=e=>{if(e.data)switch(e.data.type){case"AccountMenuDetails":r(5,f=e.data.accountMenuInfo);break;case"UserSessionID":r(0,s=e.data.session)}},_=e=>{window.postMessage({type:"ChangeAccountPage",page:e},window.location.href),r(6,o=e.id)};return ke(()=>(window.addEventListener("message",b,!1),()=>{window.removeEventListener("message",b)})),i.$$set=e=>{"endpoint"in e&&r(1,a=e.endpoint),"session"in e&&r(0,s=e.session),"playerid"in e&&r(14,l=e.playerid),"lang"in e&&r(15,c=e.lang),"selecteditem"in e&&r(16,u=e.selecteditem),"userroles"in e&&r(17,d=e.userroles),"clientstyling"in e&&r(2,p=e.clientstyling),"clientstylingurl"in e&&r(3,h=e.clientstylingurl),"translationurl"in e&&r(18,m=e.translationurl)},i.$$.update=()=>{if(32768&i.$$.dirty[0]&&c&&(t=c,Se.set(t)),49155&i.$$.dirty[0]&&a&&s&&l&&c&&((t=new URL(`${a}/v1/player/${l}/profile`)).searchParams.append("userRoles",d),e={method:"GET",headers:{"X-SessionID":s}},fetch(t.href,e).then(e=>e.json()).then(e=>{r(7,v=e.username),r(8,w=e.email)},e=>{console.error(e)})),65536&i.$$.dirty[0]&&u&&r(6,o=u),24&i.$$.dirty[0]&&h&&n){let e=new URL(h),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{n.appendChild(t)},1)})}var e,t;20&i.$$.dirty[0]&&p&&n&&((e=document.createElement("style")).innerHTML=p,n.appendChild(e)),262144&i.$$.dirty[0]&&m&&fetch(m).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{hn(e,t[e])})}).catch(e=>{console.log(e)})},[s,a,p,h,n,f,o,v,w,t,y,e,()=>{window.postMessage({type:"GoToHomepage"},window.location.href)},_,l,c,u,d,m,e=>_(e),function(e){Me[e?"unshift":"push"](()=>{n=e,r(4,n)})}]}function En(e,t,i){e=e.slice();return e[14]=t[i],e}function Tn(t){let n,o=t[1],a=[];for(let e=0;e<o.length;e+=1)a[e]=An(En(t,o,e));return{c(){n=di("div");for(let e=0;e<a.length;e+=1)a[e].c();gi(n,"class","PlayerAccountNotificationsContainer "+(t[2]&&t[3].matches?"PlayerAccountNotificationsTabletContainer":t[2]?"PlayerAccountNotificationsMobileContainer":"")),gi(n,"part","PlayerAccountNotificationsContainer "+(t[2]&&t[3].matches?"PlayerAccountNotificationsTabletContainer":t[2]?"PlayerAccountNotificationsMobileContainer":""))},m(e,t){li(e,n,t);for(let e=0;e<a.length;e+=1)a[e]&&a[e].m(n,null)},p(t,i){if(2&i){let e;for(o=t[1],e=0;e<o.length;e+=1){var r=En(t,o,e);a[e]?a[e].p(r,i):(a[e]=An(r),a[e].c(),a[e].m(n,null))}for(;e<a.length;e+=1)a[e].d(1);a.length=o.length}},d(e){e&&ci(n),ui(a,e)}}}function An(e){let i,r,n,o,a,s,l,c,u,d,p,h=e[14].title+"",m=e[14].description+"";return{c(){i=di("div"),r=di("div"),n=di("img"),s=mi(),l=di("p"),c=hi(h),u=mi(),d=di("p"),p=mi(),gi(n,"class","PlayerAccountNotificationIcon"),b(n.src,o=e[14].icon)||gi(n,"src",o),gi(n,"alt",a=e[14].title),gi(l,"class","PlayerAccountNotificationTitle"),gi(r,"class","PlayerAccountNotificationBoxHeader"),gi(d,"class","PlayerAccountNotificationText"),gi(i,"class","PlayerAccountNotificationBox"),L(i,"background",e[14].backgroundColor)},m(e,t){li(e,i,t),si(i,r),si(r,n),si(r,s),si(r,l),si(l,c),si(i,u),si(i,d),d.innerHTML=m,si(i,p)},p(e,t){2&t&&!b(n.src,o=e[14].icon)&&gi(n,"src",o),2&t&&a!==(a=e[14].title)&&gi(n,"alt",a),2&t&&h!==(h=e[14].title+"")&&yi(c,h),2&t&&m!==(m=e[14].description+"")&&(d.innerHTML=m),2&t&&L(i,"background",e[14].backgroundColor)},d(e){e&&ci(i)}}}function Ln(i){let r;function n(e){if(e[1].length)return Tn}let o=n(i),a=o&&o(i);return{c(){r=di("div"),a&&a.c(),this.c=oe},m(e,t){li(e,r,t),a&&a.m(r,null),i[7](r)},p(e,[t]){o===(o=n(e))&&a?a.p(e,t):(a&&a.d(1),(a=o&&o(e))&&(a.c(),a.m(r,null)))},i:oe,o:oe,d(e){e&&ci(r),a&&a.d(),i[7](null)}}}function kn(t,e,i){let r,{customnotif:n=""}=e,{clientstyling:o=""}=e,{clientstylingurl:a=""}=e,s=window.navigator.userAgent,l="PC"!==$e(s),c=[],u=[];const d=window.matchMedia("(min-width: 768px)"),p=e=>{e.data&&"NotificationsDetails"===e.data.type&&(i(1,c=e.data.notificationsInfo),c.forEach(e=>{u.length&&(e.backgroundColor=u[0],u.shift())}))},h=()=>{n.replace(" ",""),u=n.split(",")};return ke(()=>(window.addEventListener("message",p,!1),()=>{window.removeEventListener("message",p)})),t.$$set=e=>{"customnotif"in e&&i(4,n=e.customnotif),"clientstyling"in e&&i(5,o=e.clientstyling),"clientstylingurl"in e&&i(6,a=e.clientstylingurl)},t.$$.update=()=>{if(16&t.$$.dirty&&n&&h(),2&t.$$.dirty&&c&&h(),65&t.$$.dirty&&a&&r){let e=new URL(a),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{r.appendChild(t)},1)})}var e;33&t.$$.dirty&&o&&r&&((e=document.createElement("style")).innerHTML=o,r.appendChild(e))},[r,c,l,d,n,o,a,function(e){Me[e?"unshift":"push"](()=>{r=e,i(0,r)})}]}function Mn(e,t){B(e,t)}customElements.get("general-logout")||customElements.define("general-logout",class extends e{constructor(e){super();var t=document.createElement("style");t.textContent="*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.PlayerAccountMenuItemBox{padding:20px;font-size:16px;display:inline-flex;width:100%;box-sizing:border-box;align-items:center;cursor:pointer}.PlayerAccountMenuItemBox .PlayerLogoutText{margin-left:20px}.PlayerAccountMenuItemBox svg{fill:var(--emfe-w-pam-typography-color-nav-bg, var(--emfe-w-color-white, #FFFFFF))}.PlayerAccountMenuItemBoxMobile.PlayerAccountMenuItemBox{height:auto;justify-content:center;position:relative;display:flex;width:unset;padding:0}.PlayerAccountMenuItemBoxMobile.PlayerAccountMenuItemBox svg{fill:var(--emfe-w-pam-typography-color-nav-bg, var(--emfe-w-color-white, #FFFFFF))}",this.shadowRoot.appendChild(t),n(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},bn,wn,i,{endpoint:6,session:7,buttonlocation:0,lang:8,clientstyling:9,clientstylingurl:10,translationurl:11},null),e&&(e.target&&li(e.target,this,e.anchor),e.props)&&(this.$set(e.props),p())}static get observedAttributes(){return["endpoint","session","buttonlocation","lang","clientstyling","clientstylingurl","translationurl"]}get endpoint(){return this.$$.ctx[6]}set endpoint(e){this.$$set({endpoint:e}),p()}get session(){return this.$$.ctx[7]}set session(e){this.$$set({session:e}),p()}get buttonlocation(){return this.$$.ctx[0]}set buttonlocation(e){this.$$set({buttonlocation:e}),p()}get lang(){return this.$$.ctx[8]}set lang(e){this.$$set({lang:e}),p()}get clientstyling(){return this.$$.ctx[9]}set clientstyling(e){this.$$set({clientstyling:e}),p()}get clientstylingurl(){return this.$$.ctx[10]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),p()}get translationurl(){return this.$$.ctx[11]}set translationurl(e){this.$$set({translationurl:e}),p()}}),customElements.get("player-account-menu")||customElements.define("player-account-menu",class extends e{constructor(e){super();var t=document.createElement("style");t.textContent=".PlayerAccountMenuContainer{color:var(--emfe-w-pam-typography-color-nav-bg, var(--emfe-w-color-contrast, #FFFFFF));position:relative;height:100vh;display:flex;flex-direction:column;border-right:2px solid #58586b}.PlayerAccountMenuContainer .PlayerAccountMenuItemWrapper{margin:0;word-break:break-all;display:flex;align-items:center}.PlayerAccountMenuContainer .PlayerAccountMenuItemWrapper span{display:flex;align-items:center}.PlayerAccountMenuHeader{color:var(--emfe-w-pam-typography-color-nav-bg, var(--emfe-w-color-contrast, #FFFFFF));flex-grow:0;padding:30px 20px}.PlayerAccountMenuHeader .PlayerAccountMenuUser{margin-bottom:5px;font-size:18px}.PlayerAccountMenuHeader .PlayerAccountMenuEmail{font-size:14px}.PlayerAccountMenuHeader p{font-weight:300}.PlayerAccountMenuHeaderMobile{color:var(--emfe-w-pam-typography-color-nav-bg, var(--emfe-w-color-contrast, #FFFFFF))}.PlayerAccountMenuItemBox{padding:16px 20px;font-size:16px;line-height:16px;display:inline-flex;width:100%;box-sizing:border-box;align-items:center;cursor:pointer}.PlayerAccountMenuItemBox .PlayerAccountMenuItemTitle{margin-left:20px}.PlayerAccountMenuItemBox:not(:last-child){border-bottom:1px solid var(--emfe-w-color-gray-150, #828282)}.PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:20px;padding-top:unset}.PlayerAccountMenuItemBox .PlayerAccountMenuItemIconMobile{width:30px;padding-top:15px}.PlayerAccountMenuList{overflow-y:auto;scrollbar-width:thin;scrollbar-color:var(--emfe-w-color-gray-100, #E6E6E6) var(--emfe-w-color-gray-300, #58586B)}.PlayerAccountMenuList::-webkit-scrollbar{width:6px}.PlayerAccountMenuList::-webkit-scrollbar-track{background:var(--emfe-w-color-gray-300, #58586B)}.PlayerAccountMenuList::-webkit-scrollbar-thumb{background:var(--emfe-w-color-gray-100, #E6E6E6)}.PlayerAccountLogOutArea{background:var(--emfe-w-color-gray-300, #58586B);color:var(--emfe-w-pam-typography-color-nav-bg, var(--emfe-w-color-contrast, #FFFFFF));width:100%;flex-grow:0;border-top:1px solid var(--emfe-w-color-gray-150, #828282)}.PlayerAccountMenuActiveItemBox{background:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-pam-typography-color-nav-bg, var(--emfe-w-color-contrast, #FFFFFF))}.PlayerAccountMobileContainer{height:unset}.PlayerAccountMobileContainer .PlayerAccountMenuCategoryWrapper{display:flex;align-items:center;gap:10px;margin-bottom:18px}.PlayerAccountMobileContainer .PlayerAccountMenuCategoryTitle{margin:0;font-weight:600}.PlayerAccountMobileContainer .PlayerAccountMenuItemTitle{margin-left:0;text-transform:capitalize;line-height:14px}.PlayerAccountMobileContainer .PlayerAccountMenuEmail{margin:0}.PlayerAccountMobileContainer .PlayerAccountMenuList{display:grid;grid-template-columns:calc(33% - 6.66px) calc(33% - 6.66px) calc(33% - 6.66px);column-gap:10px;row-gap:10px;padding:0 20px 20px}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox{border:1px solid var(--emfe-w-color-gray-300, #58586B);border-radius:5px;height:auto;justify-content:center;padding-bottom:calc(100% - 22px);position:relative}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox.PlayerAccountMenuActiveItemBox{background:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));border-bottom:1px solid var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C))}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:30px}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper{display:flex;align-items:center;justify-content:space-between;flex-flow:column;gap:6px;position:absolute;top:0;bottom:0;left:0;right:0}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper .PlayerAccountMenuItemTitle{font-size:11px;padding:0 5px 15px 5px;font-weight:400;word-break:break-word;text-align:center;color:var(--emfe-w-pam-typography-color-nav-bg, var(--emfe-w-color-contrast, #FFFFFF))}.PlayerAccountMobileContainer .PlayerAccountLogOutArea{position:absolute;right:18px;top:56px;bottom:unset;background:transparent;width:48px;border-top:0}.PlayerAccountTabletContainer .PlayerAccountMenuHeader{padding:30px 40px}.PlayerAccountTabletContainer .PlayerAccountMenuCategoryTitle{font-size:32px}.PlayerAccountTabletContainer .PlayerAccountMenuUser{font-size:26px}.PlayerAccountTabletContainer .PlayerAccountMenuEmail{font-size:20px}.PlayerAccountTabletContainer .PlayerAccountMenuList{column-gap:20px;row-gap:20px;padding:0 40px 40px;grid-template-columns:calc(33% - 11px) calc(33% - 11px) calc(33% - 11px)}.PlayerAccountTabletContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:80px}.PlayerAccountTabletContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper{gap:28px}.PlayerAccountTabletContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper .PlayerAccountMenuItemTitle{font-size:24px}.PlayerAccountTabletContainer .PlayerAccountLogOutArea{right:54px;top:72px}",this.shadowRoot.appendChild(t),n(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},Pn,Cn,i,{endpoint:1,session:0,playerid:14,lang:15,selecteditem:16,userroles:17,clientstyling:2,clientstylingurl:3,translationurl:18},null,[-1,-1]),e&&(e.target&&li(e.target,this,e.anchor),e.props)&&(this.$set(e.props),p())}static get observedAttributes(){return["endpoint","session","playerid","lang","selecteditem","userroles","clientstyling","clientstylingurl","translationurl"]}get endpoint(){return this.$$.ctx[1]}set endpoint(e){this.$$set({endpoint:e}),p()}get session(){return this.$$.ctx[0]}set session(e){this.$$set({session:e}),p()}get playerid(){return this.$$.ctx[14]}set playerid(e){this.$$set({playerid:e}),p()}get lang(){return this.$$.ctx[15]}set lang(e){this.$$set({lang:e}),p()}get selecteditem(){return this.$$.ctx[16]}set selecteditem(e){this.$$set({selecteditem:e}),p()}get userroles(){return this.$$.ctx[17]}set userroles(e){this.$$set({userroles:e}),p()}get clientstyling(){return this.$$.ctx[2]}set clientstyling(e){this.$$set({clientstyling:e}),p()}get clientstylingurl(){return this.$$.ctx[3]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),p()}get translationurl(){return this.$$.ctx[18]}set translationurl(e){this.$$set({translationurl:e}),p()}}),customElements.get("player-account-notifications")||customElements.define("player-account-notifications",class extends e{constructor(e){super();var t=document.createElement("style");t.textContent='.PlayerAccountNotificationsContainer{padding:0 5px}.PlayerAccountNotificationBox{display:block;padding:20px;margin:20px auto 10px auto;border-radius:5px;width:100%;background:var(--emfe-w-color-gray-300, #58586B);color:var(--emfe-w-color-white, #FFFFFF);box-sizing:border-box;text-decoration:none;word-break:break-all}.PlayerAccountNotificationBoxHeader{display:grid;width:100%;grid-template-areas:"nav main aside";grid-template-rows:auto;grid-template-columns:34px calc(100% - 34px);align-items:center}.PlayerAccountNotificationBoxHeader .PlayerAccountNotificationIcon{width:24px;margin-right:10px;flex:1}.PlayerAccountNotificationBoxHeader .PlayerAccountNotificationTitle{font-size:16px;flex:2}.PlayerAccountNotificationText{margin:0;font-size:14px;font-weight:300}.PlayerAccountNotificationsMobileContainer{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));grid-gap:20px;padding:20px}.PlayerAccountNotificationsMobileContainer .PlayerAccountNotificationBoxHeader{grid-template-columns:40px calc(100% - 40px)}.PlayerAccountNotificationsMobileContainer .PlayerAccountNotificationTitle{font-size:14px}.PlayerAccountNotificationsMobileContainer .PlayerAccountNotificationIcon{width:30px;margin-right:10px}.PlayerAccountNotificationsTabletContainer{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));grid-gap:20px;padding:20px 40px}.PlayerAccountNotificationsTabletContainer .PlayerAccountNotificationBoxHeader{grid-template-columns:80px calc(100% - 80px)}.PlayerAccountNotificationsTabletContainer .PlayerAccountNotificationTitle{font-size:24px}.PlayerAccountNotificationsTabletContainer .PlayerAccountNotificationText{font-size:16px}.PlayerAccountNotificationsTabletContainer .PlayerAccountNotificationIcon{width:60px;margin-right:20px}',this.shadowRoot.appendChild(t),n(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},kn,Ln,i,{customnotif:4,clientstyling:5,clientstylingurl:6},null),e&&(e.target&&li(e.target,this,e.anchor),e.props)&&(this.$set(e.props),p())}static get observedAttributes(){return["customnotif","clientstyling","clientstylingurl"]}get customnotif(){return this.$$.ctx[4]}set customnotif(e){this.$$set({customnotif:e}),p()}get clientstyling(){return this.$$.ctx[5]}set clientstyling(e){this.$$set({clientstyling:e}),p()}get clientstylingurl(){return this.$$.ctx[6]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),p()}});const Sn={en:{title:"Timeout",timeoutTextFirst:"{operatorname} provides you an easy way to take a break from the games. You can request automatic blocking of your account for 24 hours. During the temporary restraint, you will not be able to access your Account.",timeoutTextSecondary:'Please note that the “Time-out facility” does not in any case replace “Self-exclusion”. If you think you are experiencing a gambling addiction problem, please enter the link under "Responsible Gaming" and use the "Self-exclusion service" or contact us as soon as possible.',save:"Save",cooloff24Text:"24 hours",cooloff7Text:"7 days",cooloff30Text:"30 days",cooloff3Text:"3 months"},"zh-hk":{title:"Timeout",timeoutTextFirst:"{operatorname} 為您提供一種從遊戲中休息的簡單方法。 您可以請求自動封鎖您的帳戶 24 小時。 在臨時限制期間,您將無法訪問您的帳戶。",timeoutTextSecondary:"請注意,“超時設施”在任何情況下都不能取代“自我排除”。 如果您認為自己有賭博成癮問題,請進入“負責任博彩”下的鏈接並使用“自我排除服務”或盡快與我們聯繫。",save:"節省",cooloff24Text:"24小時",cooloff7Text:"7天",cooloff30Text:"30天",cooloff3Text:"3個月"},fr:{title:"Délai d'attente",timeoutTextFirst:"{operatorname} vous offre un moyen facile de faire une pause dans les jeux.vous pouvez demander le blocage automatique de votre compte pendant 24 heures . Pendant le blocage temporaire ,vous ne pourrez pas accéder à votre compte.",timeoutTextSecondary:'Veuillez noter que l\'"installation du temps mort" ne remplace en aucun cas "l\'auto exclusion". Si vous pensez avoir un problème de dépendance au jeu,veuillez cliquer sur le lien "jeux responsable" et utiliser le "service d\'auto exclusion" ou nous contacter dès que possible.',save:"Savez",cooloff24Text:"24 heures",cooloff7Text:"7 jours",cooloff30Text:"30 jours",cooloff3Text:"3 mois"},ro:{title:"Timeout",timeoutTextFirst:"{operatorname} îți asigură o cale ușoară de a lua o pauză de la jocuri. Poți solicita o blocare automată a contului tău pentru 24 de ore. În timpul restricției temporare, nu vei putea accesa contul.",timeoutTextSecondary:"Te rugăm să reții că „Facilitatea de time-out” nu înlocuiește în niciun caz „Auto-excluderea”. Dacă crezi că te confrunți cu o problemă de dependență de jocuri de noroc, te rugăm să accesezi secțiunea de „Joc responsabil” și să utilizezi „Serviciul de auto-excludere” sau să ne contactezi cât mai curând posibil.",save:"Salvează",cooloff24Text:"24 ore",cooloff7Text:"7 zile",cooloff30Text:"30 zile",cooloff3Text:"3 luni"},es:{title:"Descanso",timeoutTextFirst:"{operatorname} le brinda una manera fácil de tomarse un descanso de los juegos. Puedes solicitar un bloqueo automático de tu cuenta durante 24 horas. Durante la contención temporal, no será posible ingresar a su cuenta.",timeoutTextSecondary:'Tenga en cuenta que la función de tiempo de espera no sustituye en ningún caso la autoexclusión. Si cree que tiene un problema de adicción al juego, por favor ingrese al enlace de "Juego Responsable" y use el "Servicio de autoexclusión" o ponte en contacto con nosotros a la brevedad posible.',save:"Guardar",cooloff24Text:"24 horas",cooloff7Text:"7 días",cooloff30Text:"30 días",cooloff3Text:"3 meses"},pt:{title:"Tempo esgotado",timeoutTextFirst:"{operatorname} oferece uma maneira fácil de fazer uma pausa nos jogos. Você pode solicitar o bloqueio automático de sua conta por 24 horas. Durante a restrição temporária, você não poderá acessar sua conta.",timeoutTextSecondary:'Observe que a “Facilidade de tempo limite” não substitui em nenhum caso a “Autoexclusão”. Se você acha que está enfrentando um problema de vício em jogos de azar, entre no link em "Jogo Responsável" e use o "Serviço de autoexclusão" ou entre em contato conosco o mais rápido possível.',save:"Guardar",cooloff24Text:"24 horas",cooloff7Text:"7 dias",cooloff30Text:"30 dias30 dias",cooloff3Text:"3 meses"},hr:{title:"Pauza",timeoutTextFirst:"{operatorname} vam pruža jednostavan način da se odmorite od igara. Možete zatražiti automatsko blokiranje računa na 24 sata. Tijekom privremene zabrane",timeoutTextSecondary:'Imajte na umu da "Mogućnost pauze" ni u kojem slučaju ne zamjenjuje "Samoisključenje". Ako mislite da imate problem ovisnosti o kockanju',save:"Spremi",cooloff24Text:"24 sata",cooloff7Text:"7 dana",cooloff30Text:"30 dana",cooloff3Text:"3 mjeseca"}};function Dn(e,t,i){e=e.slice();return e[21]=t[i].value,e[22]=t[i].text,e}function $n(e){let i,r,t=e[22]+"";return{c(){i=di("option"),r=hi(t),i.__value=e[21],i.value=i.__value},m(e,t){li(e,i,t),si(i,r)},p:oe,d(e){e&&ci(i)}}}function Bn(i){let r,n,o,a,s,l,c,u,d,p,h,m,f,g,y,v,w,b,_,x,C,e=i[3]("title")+"",P=i[3]("timeoutTextFirst",{values:{operatorname:i[0]}})+"",E=i[3]("timeoutTextSecondary")+"",T=i[3]("save")+"",A=i[4]&&function(i){let r,n,o,a,s,l,c,u,d,p,h,m,f,g=i[3]("title")+"";return{c(){r=di("div"),n=pi("svg"),o=pi("defs"),a=pi("style"),s=hi(".aaa{fill:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));}"),l=pi("g"),c=pi("g"),u=pi("path"),d=mi(),p=di("h2"),h=hi(g),gi(u,"class","aaa"),gi(u,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),gi(u,"transform","translate(15 15) rotate(180)"),gi(c,"transform","translate(20 158)"),gi(l,"transform","translate(-20 -158)"),gi(n,"xmlns","http://www.w3.org/2000/svg"),gi(n,"width","15"),gi(n,"height","15"),gi(n,"viewBox","0 0 15 15"),gi(p,"class","TimeoutTitleMobile"),gi(p,"part","TimeoutTitleMobile"),gi(r,"class","MenuReturnButton"),gi(r,"part","MenuReturnButton")},m(e,t){li(e,r,t),si(r,n),si(n,o),si(o,a),si(a,s),si(n,l),si(l,c),si(c,u),si(r,d),si(r,p),si(p,h),m||(f=fi(r,"click",i[12]),m=!0)},p(e,t){8&t&&g!==(g=e[3]("title")+"")&&yi(h,g)},d(e){e&&ci(r),m=!1,f()}}}(i),L=i[5],k=[];for(let e=0;e<L.length;e+=1)k[e]=$n(Dn(i,L,e));return{c(){r=di("div"),n=di("form"),A&&A.c(),o=mi(),a=di("h2"),s=hi(e),l=mi(),c=di("div"),u=di("p"),d=hi(P),p=mi(),h=di("p"),m=hi(E),f=mi(),g=di("div"),y=di("select");for(let e=0;e<k.length;e+=1)k[e].c();v=mi(),w=di("div"),b=di("button"),_=hi(T),this.c=oe,gi(a,"class","TimeoutTitle "+(i[4]?"TimeoutTitleNone":"")),gi(c,"class","TimeoutDescription "+(i[4]?"TimeoutDescriptionMobile":"")),gi(y,"class","TimeoutSelect "+(i[4]?"TimeoutSelectMobile":"")),void 0===i[2]&&bi(()=>i[13].call(y)),gi(g,"class","TimeoutSelectWrapper"),gi(b,"class","TimeoutSave"),gi(w,"class","TimeoutActionButtons "+(i[4]?"TimeoutActionButtonsMobile":"")),gi(n,"class","TimeoutWrapper "+(i[4]?"TimeoutWrapperMobile":""))},m(e,t){li(e,r,t),si(r,n),A&&A.m(n,null),si(n,o),si(n,a),si(a,s),si(n,l),si(n,c),si(c,u),si(u,d),si(c,p),si(c,h),si(h,m),si(n,f),si(n,g),si(g,y);for(let e=0;e<k.length;e+=1)k[e]&&k[e].m(y,null);wi(y,i[2],!0),si(n,v),si(n,w),si(w,b),si(b,_),i[15](r),x||(C=[fi(y,"change",i[13]),fi(b,"click",i[14])],x=!0)},p(t,[i]){if(t[4]&&A.p(t,i),8&i&&e!==(e=t[3]("title")+"")&&yi(s,e),9&i&&P!==(P=t[3]("timeoutTextFirst",{values:{operatorname:t[0]}})+"")&&yi(d,P),8&i&&E!==(E=t[3]("timeoutTextSecondary")+"")&&yi(m,E),32&i){let e;for(L=t[5],e=0;e<L.length;e+=1){var r=Dn(t,L,e);k[e]?k[e].p(r,i):(k[e]=$n(r),k[e].c(),k[e].m(y,null))}for(;e<k.length;e+=1)k[e].d(1);k.length=L.length}36&i&&wi(y,t[2]),8&i&&T!==(T=t[3]("save")+"")&&yi(_,T)},i:oe,o:oe,d(e){e&&ci(r),A&&A.d(),ui(k,e),i[15](null),x=!1,ai(C)}}}function In(t,e,i){let r;Le(t,De,e=>i(3,r=e));let n,{operator:o="Everymatrix"}=e,{lang:a="en"}=e,{clientstyling:s=""}=e,{clientstylingurl:l=""}=e,{translationurl:c=""}=e,u=window.navigator.userAgent,d="PC"!==$e(u),p=(Object.keys(Sn).forEach(e=>{Mn(e,Sn[e])}),[{value:"CoolOffFor24Hours",text:r("cooloff24Text")},{value:"CoolOffFor7Days",text:r("cooloff7Text")},{value:"CoolOffFor30Days",text:r("cooloff30Text")},{value:"CoolOffFor3Months",text:r("cooloff3Text")}]),h=p[0].value;const m=e=>{e.preventDefault(),window.postMessage({type:"SetPlayerAccountTimeout",timeoutSelected:h},window.location.href)},f=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:d},window.location.href)};return t.$$set=e=>{"operator"in e&&i(0,o=e.operator),"lang"in e&&i(8,a=e.lang),"clientstyling"in e&&i(9,s=e.clientstyling),"clientstylingurl"in e&&i(10,l=e.clientstylingurl),"translationurl"in e&&i(11,c=e.translationurl)},t.$$.update=()=>{if(256&t.$$.dirty&&a&&(e=a,Se.set(e)),1026&t.$$.dirty&&l&&n){let e=new URL(l),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{n.appendChild(t)},1)})}var e;514&t.$$.dirty&&s&&n&&((e=document.createElement("style")).innerHTML=s,n.appendChild(e)),2048&t.$$.dirty&&c&&fetch(c).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Mn(e,t[e])})}).catch(e=>{console.log(e)})},[o,n,h,r,d,p,m,f,a,s,l,c,()=>f(),function(){h=pe(this),i(2,h),i(5,p)},e=>m(e),function(e){Me[e?"unshift":"push"](()=>{n=e,i(1,n)})}]}customElements.get("player-account-timeout")||customElements.define("player-account-timeout",class extends e{constructor(e){super();var t=document.createElement("style");t.textContent=".TimeoutWrapper{color:var(--emfe-w-pam-typography, var(--emfe-w-color-contrast, #07072A));padding:50px;max-width:760px}.TimeoutWrapper.TimeoutWrapperMobile{padding:20px 15px;max-width:unset}.MenuReturnButton{color:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));display:inline-flex;align-items:center;column-gap:20px}.MenuReturnButton svg{fill:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C))}.TimeoutTitle{font-size:26px;color:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));font-weight:400}.TimeoutTitleMobile{font-size:16px}.TimeoutTitleNone{display:none}.TimeoutDescription{color:var(--emfe-w-color-gray-300, #58586B);line-height:24px}.TimeoutDescription.TimeoutDescriptionMobile{font-size:12px;line-height:18px}.TimeoutSelectWrapper{color:var(--emfe-w-color-gray-300, #58586B);display:flex;flex-direction:column;position:relative}.TimeoutSelectWrapper .TimeoutSelect{width:50%;height:44px;border:1px solid var(--emfe-w-color-gray-100, #E6E6E6);background:var(--emfe-w-color-white, #FFFFFF);border-radius:5px;box-sizing:border-box;padding:5px 10px;font-size:16px;line-height:18px;margin-bottom:16px;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:url(\"data:image/svg+xml,<svg height='10px' width='10px' viewBox='0 0 16 16' fill='%23000000' xmlns='http://www.w3.org/2000/svg'><path d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>\") no-repeat var(--emfe-w-color-white, #FFFFFF);background-position:calc(100% - 0.75rem) center}.TimeoutSelectWrapper .TimeoutSelect:focus,.TimeoutSelectWrapper .TimeoutSelect :focus-within,.TimeoutSelectWrapper .TimeoutSelect :focus-visible,.TimeoutSelectWrapper .TimeoutSelect :visited{border:1px solid var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));box-shadow:0 0 0 1pt var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C))}.TimeoutSelectWrapper .TimeoutSelect.TimeoutSelectMobile{width:100%;height:36px;font-size:12px}.TimeoutActionButtons{display:grid;grid-column-gap:10px;grid-template-rows:auto;grid-template-columns:1fr;margin-top:20px;width:50%}.TimeoutActionButtons .TimeoutSave{background:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));border:1px solid var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));cursor:pointer;border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:16px;text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box}.TimeoutActionButtons.TimeoutActionButtonsMobile{width:100%;grid-template-columns:1fr}.TimeoutActionButtons.TimeoutActionButtonsMobile .TimeoutSave{height:40px;font-size:12px}",this.shadowRoot.appendChild(t),n(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},In,Bn,i,{operator:0,lang:8,clientstyling:9,clientstylingurl:10,translationurl:11},null),e&&(e.target&&li(e.target,this,e.anchor),e.props)&&(this.$set(e.props),p())}static get observedAttributes(){return["operator","lang","clientstyling","clientstylingurl","translationurl"]}get operator(){return this.$$.ctx[0]}set operator(e){this.$$set({operator:e}),p()}get lang(){return this.$$.ctx[8]}set lang(e){this.$$set({lang:e}),p()}get clientstyling(){return this.$$.ctx[9]}set clientstyling(e){this.$$set({clientstyling:e}),p()}get clientstylingurl(){return this.$$.ctx[10]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),p()}get translationurl(){return this.$$.ctx[11]}set translationurl(e){this.$$set({translationurl:e}),p()}});Fn=Nn={path:void 0,exports:{},require:function(e,t){return Mi(null==t&&Nn.path)}},Nn.exports,Fn.exports=function(){var N;function m(){return N.apply(null,arguments)}function a(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function F(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function f(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function O(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;for(var t in e)if(f(e,t))return;return 1}function s(e){return void 0===e}function R(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function H(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function j(e,t){for(var i=[],r=e.length,n=0;n<r;++n)i.push(t(e[n],n));return i}function z(e,t){for(var i in t)f(t,i)&&(e[i]=t[i]);return f(t,"toString")&&(e.toString=t.toString),f(t,"valueOf")&&(e.valueOf=t.valueOf),e}function c(e,t,i,r){return St(e,t,i,r,!0).utc()}function g(e){return null==e._pf&&(e._pf={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}),e._pf}function W(e){if(null==e._isValid){var t=g(e),i=Y.call(t.parsedDateParts,function(e){return null!=e}),i=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&i);if(e._strict&&(i=i&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return i;e._isValid=i}return e._isValid}function U(e){var t=c(NaN);return null!=e?z(g(t),e):g(t).userInvalidated=!0,t}var Y=Array.prototype.some||function(e){for(var t=Object(this),i=t.length>>>0,r=0;r<i;r++)if(r in t&&e.call(this,t[r],r,t))return!0;return!1},V=m.momentProperties=[],G=!1;function q(e,t){var i,r,n,o=V.length;if(s(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),s(t._i)||(e._i=t._i),s(t._f)||(e._f=t._f),s(t._l)||(e._l=t._l),s(t._strict)||(e._strict=t._strict),s(t._tzm)||(e._tzm=t._tzm),s(t._isUTC)||(e._isUTC=t._isUTC),s(t._offset)||(e._offset=t._offset),s(t._pf)||(e._pf=g(t)),s(t._locale)||(e._locale=t._locale),0<o)for(i=0;i<o;i++)s(n=t[r=V[i]])||(e[r]=n);return e}function Z(e){q(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===G&&(G=!0,m.updateOffset(this),G=!1)}function l(e){return e instanceof Z||null!=e&&null!=e._isAMomentObject}function K(e){!1===m.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function e(o,a){var s=!0;return z(function(){if(null!=m.deprecationHandler&&m.deprecationHandler(null,o),s){for(var e,t,i=[],r=arguments.length,n=0;n<r;n++){if(e="","object"==typeof arguments[n]){for(t in e+="\n["+n+"] ",arguments[0])f(arguments[0],t)&&(e+=t+": "+arguments[0][t]+", ");e=e.slice(0,-2)}else e=arguments[n];i.push(e)}K(o+"\nArguments: "+Array.prototype.slice.call(i).join("")+"\n"+(new Error).stack),s=!1}return a.apply(this,arguments)},a)}var X={};function J(e,t){null!=m.deprecationHandler&&m.deprecationHandler(e,t),X[e]||(K(t),X[e]=!0)}function u(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function Q(e,t){var i,r=z({},e);for(i in t)f(t,i)&&(F(e[i])&&F(t[i])?(r[i]={},z(r[i],e[i]),z(r[i],t[i])):null!=t[i]?r[i]=t[i]:delete r[i]);for(i in e)f(e,i)&&!f(t,i)&&F(e[i])&&(r[i]=z({},r[i]));return r}function ee(e){null!=e&&this.set(e)}m.suppressDeprecationWarnings=!1,m.deprecationHandler=null;var te=Object.keys||function(e){var t,i=[];for(t in e)f(e,t)&&i.push(t);return i};function o(e,t,i){var r=""+Math.abs(e);return(0<=e?i?"+":"":"-")+Math.pow(10,Math.max(0,t-r.length)).toString().substr(1)+r}var ie=/(\[[^\[]*\])|(\\)?([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,re=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,ne={},oe={};function r(e,t,i,r){var n="string"==typeof r?function(){return this[r]()}:r;e&&(oe[e]=n),t&&(oe[t[0]]=function(){return o(n.apply(this,arguments),t[1],t[2])}),i&&(oe[i]=function(){return this.localeData().ordinal(n.apply(this,arguments),e)})}function ae(e,t){return e.isValid()?(t=se(t,e.localeData()),ne[t]=ne[t]||function(r){for(var e,n=r.match(ie),t=0,o=n.length;t<o;t++)oe[n[t]]?n[t]=oe[n[t]]:n[t]=(e=n[t]).match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"");return function(e){for(var t="",i=0;i<o;i++)t+=u(n[i])?n[i].call(e,r):n[i];return t}}(t),ne[t](e)):e.localeData().invalidDate()}function se(e,t){var i=5;function r(e){return t.longDateFormat(e)||e}for(re.lastIndex=0;0<=i&&re.test(e);)e=e.replace(re,r),re.lastIndex=0,--i;return e}var le={};function t(e,t){var i=e.toLowerCase();le[i]=le[i+"s"]=le[t]=e}function d(e){return"string"==typeof e?le[e]||le[e.toLowerCase()]:void 0}function ce(e){var t,i,r={};for(i in e)f(e,i)&&(t=d(i))&&(r[t]=e[i]);return r}var ue={};function i(e,t){ue[e]=t}function de(e){return e%4==0&&e%100!=0||e%400==0}function p(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function h(e){var e=+e,t=0;return t=0!=e&&isFinite(e)?p(e):t}function pe(t,i){return function(e){return null!=e?(me(this,t,e),m.updateOffset(this,i),this):he(this,t)}}function he(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function me(e,t,i){e.isValid()&&!isNaN(i)&&("FullYear"===t&&de(e.year())&&1===e.month()&&29===e.date()?(i=h(i),e._d["set"+(e._isUTC?"UTC":"")+t](i,e.month(),Be(i,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](i))}var n=/\d/,y=/\d\d/,fe=/\d{3}/,ge=/\d{4}/,ye=/[+-]?\d{6}/,v=/\d\d?/,ve=/\d\d\d\d?/,we=/\d\d\d\d\d\d?/,be=/\d{1,3}/,_e=/\d{1,4}/,xe=/[+-]?\d{1,6}/,Ce=/\d+/,Pe=/[+-]?\d+/,Ee=/Z|[+-]\d\d:?\d\d/gi,Te=/Z|[+-]\d\d(?::?\d\d)?/gi,w=/[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;function b(e,i,r){Le[e]=u(i)?i:function(e,t){return e&&r?r:i}}function Ae(e,t){return f(Le,e)?Le[e](t._strict,t._locale):new RegExp(_(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,i,r,n){return t||i||r||n})))}function _(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var Le={},ke={};function x(e,i){var t,r,n=i;for("string"==typeof e&&(e=[e]),R(i)&&(n=function(e,t){t[i]=h(e)}),r=e.length,t=0;t<r;t++)ke[e[t]]=n}function Me(e,n){x(e,function(e,t,i,r){i._w=i._w||{},n(e,i._w,i,r)})}var C,P=0,E=1,T=2,A=3,L=4,k=5,Se=6,De=7,$e=8;function Be(e,t){var i;return isNaN(e)||isNaN(t)?NaN:(i=(t%(i=12)+i)%i,e+=(t-i)/12,1==i?de(e)?29:28:31-i%7%2)}C=Array.prototype.indexOf||function(e){for(var t=0;t<this.length;++t)if(this[t]===e)return t;return-1},r("M",["MM",2],"Mo",function(){return this.month()+1}),r("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),r("MMMM",0,0,function(e){return this.localeData().months(this,e)}),t("month","M"),i("month",8),b("M",v),b("MM",v,y),b("MMM",function(e,t){return t.monthsShortRegex(e)}),b("MMMM",function(e,t){return t.monthsRegex(e)}),x(["M","MM"],function(e,t){t[E]=h(e)-1}),x(["MMM","MMMM"],function(e,t,i,r){r=i._locale.monthsParse(e,r,i._strict);null!=r?t[E]=r:g(i).invalidMonth=e});var Ie="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Ne="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Fe=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Oe=w,Re=w;function He(e,t){var i;if(e.isValid()){if("string"==typeof t)if(/^\d+$/.test(t))t=h(t);else if(!R(t=e.localeData().monthsParse(t)))return;i=Math.min(e.date(),Be(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,i)}}function je(e){return null!=e?(He(this,e),m.updateOffset(this,!0),this):he(this,"Month")}function ze(){function e(e,t){return t.length-e.length}for(var t,i=[],r=[],n=[],o=0;o<12;o++)t=c([2e3,o]),i.push(this.monthsShort(t,"")),r.push(this.months(t,"")),n.push(this.months(t,"")),n.push(this.monthsShort(t,""));for(i.sort(e),r.sort(e),n.sort(e),o=0;o<12;o++)i[o]=_(i[o]),r[o]=_(r[o]);for(o=0;o<24;o++)n[o]=_(n[o]);this._monthsRegex=new RegExp("^("+n.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+i.join("|")+")","i")}function We(e){return de(e)?366:365}r("Y",0,0,function(){var e=this.year();return e<=9999?o(e,4):"+"+e}),r(0,["YY",2],0,function(){return this.year()%100}),r(0,["YYYY",4],0,"year"),r(0,["YYYYY",5],0,"year"),r(0,["YYYYYY",6,!0],0,"year"),t("year","y"),i("year",1),b("Y",Pe),b("YY",v,y),b("YYYY",_e,ge),b("YYYYY",xe,ye),b("YYYYYY",xe,ye),x(["YYYYY","YYYYYY"],P),x("YYYY",function(e,t){t[P]=2===e.length?m.parseTwoDigitYear(e):h(e)}),x("YY",function(e,t){t[P]=m.parseTwoDigitYear(e)}),x("Y",function(e,t){t[P]=parseInt(e,10)}),m.parseTwoDigitYear=function(e){return h(e)+(68<h(e)?1900:2e3)};var Ue=pe("FullYear",!0);function Ye(e,t,i,r,n,o,a){var s;return e<100&&0<=e?(s=new Date(e+400,t,i,r,n,o,a),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,i,r,n,o,a),s}function Ve(e){var t;return e<100&&0<=e?((t=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,t)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function Ge(e,t,i){i=7+t-i;return-(7+Ve(e,0,i).getUTCDay()-t)%7+i-1}function qe(e,t,i,r,n){var o,t=1+7*(t-1)+(7+i-r)%7+Ge(e,r,n),i=t<=0?We(o=e-1)+t:t>We(e)?(o=e+1,t-We(e)):(o=e,t);return{year:o,dayOfYear:i}}function Ze(e,t,i){var r,n,o=Ge(e.year(),t,i),o=Math.floor((e.dayOfYear()-o-1)/7)+1;return o<1?r=o+M(n=e.year()-1,t,i):o>M(e.year(),t,i)?(r=o-M(e.year(),t,i),n=e.year()+1):(n=e.year(),r=o),{week:r,year:n}}function M(e,t,i){var r=Ge(e,t,i),t=Ge(e+1,t,i);return(We(e)-r+t)/7}r("w",["ww",2],"wo","week"),r("W",["WW",2],"Wo","isoWeek"),t("week","w"),t("isoWeek","W"),i("week",5),i("isoWeek",5),b("w",v),b("ww",v,y),b("W",v),b("WW",v,y),Me(["w","ww","W","WW"],function(e,t,i,r){t[r.substr(0,1)]=h(e)});function Ke(e,t){return e.slice(t,7).concat(e.slice(0,t))}r("d",0,"do","day"),r("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),r("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),r("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),r("e",0,0,"weekday"),r("E",0,0,"isoWeekday"),t("day","d"),t("weekday","e"),t("isoWeekday","E"),i("day",11),i("weekday",11),i("isoWeekday",11),b("d",v),b("e",v),b("E",v),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)}),Me(["dd","ddd","dddd"],function(e,t,i,r){r=i._locale.weekdaysParse(e,r,i._strict);null!=r?t.d=r:g(i).invalidWeekday=e}),Me(["d","e","E"],function(e,t,i,r){t[r]=h(e)});var Xe="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Je="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Qe="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),et=w,tt=w,it=w;function rt(){function e(e,t){return t.length-e.length}for(var t,i,r,n=[],o=[],a=[],s=[],l=0;l<7;l++)r=c([2e3,1]).day(l),t=_(this.weekdaysMin(r,"")),i=_(this.weekdaysShort(r,"")),r=_(this.weekdays(r,"")),n.push(t),o.push(i),a.push(r),s.push(t),s.push(i),s.push(r);n.sort(e),o.sort(e),a.sort(e),s.sort(e),this._weekdaysRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+n.join("|")+")","i")}function nt(){return this.hours()%12||12}function ot(e,t){r(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function at(e,t){return t._meridiemParse}r("H",["HH",2],0,"hour"),r("h",["hh",2],0,nt),r("k",["kk",2],0,function(){return this.hours()||24}),r("hmm",0,0,function(){return""+nt.apply(this)+o(this.minutes(),2)}),r("hmmss",0,0,function(){return""+nt.apply(this)+o(this.minutes(),2)+o(this.seconds(),2)}),r("Hmm",0,0,function(){return""+this.hours()+o(this.minutes(),2)}),r("Hmmss",0,0,function(){return""+this.hours()+o(this.minutes(),2)+o(this.seconds(),2)}),ot("a",!0),ot("A",!1),t("hour","h"),i("hour",13),b("a",at),b("A",at),b("H",v),b("h",v),b("k",v),b("HH",v,y),b("hh",v,y),b("kk",v,y),b("hmm",ve),b("hmmss",we),b("Hmm",ve),b("Hmmss",we),x(["H","HH"],A),x(["k","kk"],function(e,t,i){e=h(e);t[A]=24===e?0:e}),x(["a","A"],function(e,t,i){i._isPm=i._locale.isPM(e),i._meridiem=e}),x(["h","hh"],function(e,t,i){t[A]=h(e),g(i).bigHour=!0}),x("hmm",function(e,t,i){var r=e.length-2;t[A]=h(e.substr(0,r)),t[L]=h(e.substr(r)),g(i).bigHour=!0}),x("hmmss",function(e,t,i){var r=e.length-4,n=e.length-2;t[A]=h(e.substr(0,r)),t[L]=h(e.substr(r,2)),t[k]=h(e.substr(n)),g(i).bigHour=!0}),x("Hmm",function(e,t,i){var r=e.length-2;t[A]=h(e.substr(0,r)),t[L]=h(e.substr(r))}),x("Hmmss",function(e,t,i){var r=e.length-4,n=e.length-2;t[A]=h(e.substr(0,r)),t[L]=h(e.substr(r,2)),t[k]=h(e.substr(n))});w=pe("Hours",!0);var st,lt={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{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"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{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"},months:Ie,monthsShort:Ne,week:{dow:0,doy:6},weekdays:Xe,weekdaysMin:Qe,weekdaysShort:Je,meridiemParse:/[ap]\.?m?\.?/i},S={},ct={};function ut(e){return e&&e.toLowerCase().replace("_","-")}function dt(e){for(var t,i,r,n,o=0;o<e.length;){for(t=(n=ut(e[o]).split("-")).length,i=(i=ut(e[o+1]))?i.split("-"):null;0<t;){if(r=pt(n.slice(0,t).join("-")))return r;if(i&&i.length>=t&&function(e,t){for(var i=Math.min(e.length,t.length),r=0;r<i;r+=1)if(e[r]!==t[r])return r;return i}(n,i)>=t-1)break;t--}o++}return st}function pt(t){var e;if(void 0===S[t]&&Fn&&Fn.exports&&null!=t.match("^[^/\\\\]*$"))try{e=st._abbr,Mi(),ht(e)}catch(e){S[t]=null}return S[t]}function ht(e,t){return e&&((t=s(t)?D(e):mt(e,t))?st=t:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),st._abbr}function mt(e,t){if(null===t)return delete S[e],null;var i,r=lt;if(t.abbr=e,null!=S[e])J("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."),r=S[e]._config;else if(null!=t.parentLocale)if(null!=S[t.parentLocale])r=S[t.parentLocale]._config;else{if(null==(i=pt(t.parentLocale)))return ct[t.parentLocale]||(ct[t.parentLocale]=[]),ct[t.parentLocale].push({name:e,config:t}),null;r=i._config}return S[e]=new ee(Q(r,t)),ct[e]&&ct[e].forEach(function(e){mt(e.name,e.config)}),ht(e),S[e]}function D(e){var t;if(!(e=e&&e._locale&&e._locale._abbr?e._locale._abbr:e))return st;if(!a(e)){if(t=pt(e))return t;e=[e]}return dt(e)}function ft(e){var t=e._a;return t&&-2===g(e).overflow&&(t=t[E]<0||11<t[E]?E:t[T]<1||t[T]>Be(t[P],t[E])?T:t[A]<0||24<t[A]||24===t[A]&&(0!==t[L]||0!==t[k]||0!==t[Se])?A:t[L]<0||59<t[L]?L:t[k]<0||59<t[k]?k:t[Se]<0||999<t[Se]?Se:-1,g(e)._overflowDayOfYear&&(t<P||T<t)&&(t=T),g(e)._overflowWeeks&&-1===t&&(t=De),g(e)._overflowWeekday&&-1===t&&(t=$e),g(e).overflow=t),e}var gt=/^\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)?)?$/,yt=/^\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)?)?$/,vt=/Z|[+-]\d\d(?::?\d\d)?/,wt=[["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]],bt=[["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/]],_t=/^\/?Date\((-?\d+)/i,xt=/^(?:(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}))$/,Ct={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Pt(e){var t,i,r,n,o,a,s=e._i,l=gt.exec(s)||yt.exec(s),s=wt.length,c=bt.length;if(l){for(g(e).iso=!0,t=0,i=s;t<i;t++)if(wt[t][1].exec(l[1])){n=wt[t][0],r=!1!==wt[t][2];break}if(null==n)return e._isValid=!1;if(l[3]){for(t=0,i=c;t<i;t++)if(bt[t][1].exec(l[3])){o=(l[2]||" ")+bt[t][0];break}if(null==o)return e._isValid=!1}if(!r&&null!=o)return e._isValid=!1;if(l[4]){if(!vt.exec(l[4]))return e._isValid=!1;a="Z"}e._f=n+(o||"")+(a||""),kt(e)}else e._isValid=!1}function Et(e,t,i,r,n,o){e=[function(e){e=parseInt(e,10);return e<=49?2e3+e:e<=999?1900+e:e}(e),Ne.indexOf(t),parseInt(i,10),parseInt(r,10),parseInt(n,10)];return o&&e.push(parseInt(o,10)),e}function Tt(e){var t,i,r,n,o=xt.exec(e._i.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));o?(t=Et(o[4],o[3],o[2],o[5],o[6],o[7]),i=o[1],r=t,n=e,i&&Je.indexOf(i)!==new Date(r[0],r[1],r[2]).getDay()?(g(n).weekdayMismatch=!0,n._isValid=!1):(e._a=t,e._tzm=(i=o[8],r=o[9],n=o[10],i?Ct[i]:r?0:((i=parseInt(n,10))-(r=i%100))/100*60+r),e._d=Ve.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),g(e).rfc2822=!0)):e._isValid=!1}function At(e,t,i){return null!=e?e:null!=t?t:i}function Lt(e){var t,i,r,n,o,a,s,l,c,u,d,p=[];if(!e._d){for(u=e,d=new Date(m.now()),i=u._useUTC?[d.getUTCFullYear(),d.getUTCMonth(),d.getUTCDate()]:[d.getFullYear(),d.getMonth(),d.getDate()],e._w&&null==e._a[T]&&null==e._a[E]&&(null!=(d=(u=e)._w).GG||null!=d.W||null!=d.E?(a=1,s=4,r=At(d.GG,u._a[P],Ze($(),1,4).year),n=At(d.W,1),((o=At(d.E,1))<1||7<o)&&(l=!0)):(a=u._locale._week.dow,s=u._locale._week.doy,c=Ze($(),a,s),r=At(d.gg,u._a[P],c.year),n=At(d.w,c.week),null!=d.d?((o=d.d)<0||6<o)&&(l=!0):null!=d.e?(o=d.e+a,(d.e<0||6<d.e)&&(l=!0)):o=a),n<1||n>M(r,a,s)?g(u)._overflowWeeks=!0:null!=l?g(u)._overflowWeekday=!0:(c=qe(r,n,o,a,s),u._a[P]=c.year,u._dayOfYear=c.dayOfYear)),null!=e._dayOfYear&&(d=At(e._a[P],i[P]),(e._dayOfYear>We(d)||0===e._dayOfYear)&&(g(e)._overflowDayOfYear=!0),l=Ve(d,0,e._dayOfYear),e._a[E]=l.getUTCMonth(),e._a[T]=l.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=p[t]=i[t];for(;t<7;t++)e._a[t]=p[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[A]&&0===e._a[L]&&0===e._a[k]&&0===e._a[Se]&&(e._nextDay=!0,e._a[A]=0),e._d=(e._useUTC?Ve:Ye).apply(null,p),r=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[A]=24),e._w&&void 0!==e._w.d&&e._w.d!==r&&(g(e).weekdayMismatch=!0)}}function kt(e){if(e._f!==m.ISO_8601)if(e._f!==m.RFC_2822){e._a=[],g(e).empty=!0;for(var t,i,r,n=""+e._i,o=n.length,a=0,s=(i=se(e._f,e._locale).match(ie)||[]).length,l=0;l<s;l++)r=i[l],(t=(n.match(Ae(r,e))||[])[0])&&(0<(d=n.substr(0,n.indexOf(t))).length&&g(e).unusedInput.push(d),n=n.slice(n.indexOf(t)+t.length),a+=t.length),oe[r]?(t?g(e).empty=!1:g(e).unusedTokens.push(r),d=r,h=e,null!=(p=t)&&f(ke,d)&&ke[d](p,h._a,h,d)):e._strict&&!t&&g(e).unusedTokens.push(r);g(e).charsLeftOver=o-a,0<n.length&&g(e).unusedInput.push(n),e._a[A]<=12&&!0===g(e).bigHour&&0<e._a[A]&&(g(e).bigHour=void 0),g(e).parsedDateParts=e._a.slice(0),g(e).meridiem=e._meridiem,e._a[A]=(o=e._locale,c=e._a[A],null==(u=e._meridiem)?c:null!=o.meridiemHour?o.meridiemHour(c,u):null!=o.isPM?((o=o.isPM(u))&&c<12&&(c+=12),c=o||12!==c?c:0):c),null!==(u=g(e).era)&&(e._a[P]=e._locale.erasConvertYear(u,e._a[P])),Lt(e),ft(e)}else Tt(e);else Pt(e);var c,u,d,p,h}function Mt(e){var t,i=e._i,r=e._f;{var n,o;return(e._locale=e._locale||D(e._l),null===i||void 0===r&&""===i)?U({nullInput:!0}):("string"==typeof i&&(e._i=i=e._locale.preparse(i)),l(i)?new Z(ft(i)):(H(i)?e._d=i:a(r)?function(e){var t,i,r,n,o,a,s=!1,l=e._f.length;if(0===l)return g(e).invalidFormat=!0,e._d=new Date(NaN);for(n=0;n<l;n++)o=0,a=!1,t=q({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[n],kt(t),W(t)&&(a=!0),o=(o+=g(t).charsLeftOver)+10*g(t).unusedTokens.length,g(t).score=o,s?o<r&&(r=o,i=t):(null==r||o<r||a)&&(r=o,i=t,a)&&(s=!0);z(e,i||t)}(e):r?kt(e):s(r=(i=e)._i)?i._d=new Date(m.now()):H(r)?i._d=new Date(r.valueOf()):"string"==typeof r?(n=i,null===(o=_t.exec(n._i))?(Pt(n),!1===n._isValid&&(delete n._isValid,Tt(n),!1===n._isValid)&&(delete n._isValid,n._strict?n._isValid=!1:m.createFromInputFallback(n))):n._d=new Date(+o[1])):a(r)?(i._a=j(r.slice(0),function(e){return parseInt(e,10)}),Lt(i)):F(r)?(n=i)._d||(t=void 0===(o=ce(n._i)).day?o.date:o.day,n._a=j([o.year,o.month,t,o.hour,o.minute,o.second,o.millisecond],function(e){return e&&parseInt(e,10)}),Lt(n)):R(r)?i._d=new Date(r):m.createFromInputFallback(i),W(e)||(e._d=null),e))}}function St(e,t,i,r,n){var o={};return!0!==t&&!1!==t||(r=t,t=void 0),!0!==i&&!1!==i||(r=i,i=void 0),(F(e)&&O(e)||a(e)&&0===e.length)&&(e=void 0),o._isAMomentObject=!0,o._useUTC=o._isUTC=n,o._l=i,o._i=e,o._f=t,o._strict=r,(n=new Z(ft(Mt(n=o))))._nextDay&&(n.add(1,"d"),n._nextDay=void 0),n}function $(e,t,i,r){return St(e,t,i,r,!1)}m.createFromInputFallback=e("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":""))}),m.ISO_8601=function(){},m.RFC_2822=function(){};ve=e("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=$.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:U()}),we=e("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=$.apply(null,arguments);return this.isValid()&&e.isValid()?this<e?this:e:U()});function Dt(e,t){var i,r;if(!(t=1===t.length&&a(t[0])?t[0]:t).length)return $();for(i=t[0],r=1;r<t.length;++r)t[r].isValid()&&!t[r][e](i)||(i=t[r]);return i}var $t=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Bt(e){var e=ce(e),t=e.year||0,i=e.quarter||0,r=e.month||0,n=e.week||e.isoWeek||0,o=e.day||0,a=e.hour||0,s=e.minute||0,l=e.second||0,c=e.millisecond||0;this._isValid=function(e){var t,i,r=!1,n=$t.length;for(t in e)if(f(e,t)&&(-1===C.call($t,t)||null!=e[t]&&isNaN(e[t])))return!1;for(i=0;i<n;++i)if(e[$t[i]]){if(r)return!1;parseFloat(e[$t[i]])!==h(e[$t[i]])&&(r=!0)}return!0}(e),this._milliseconds=+c+1e3*l+6e4*s+1e3*a*60*60,this._days=+o+7*n,this._months=+r+3*i+12*t,this._data={},this._locale=D(),this._bubble()}function It(e){return e instanceof Bt}function Nt(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function Ft(e,i){r(e,0,0,function(){var e=this.utcOffset(),t="+";return e<0&&(e=-e,t="-"),t+o(~~(e/60),2)+i+o(~~e%60,2)})}Ft("Z",":"),Ft("ZZ",""),b("Z",Te),b("ZZ",Te),x(["Z","ZZ"],function(e,t,i){i._useUTC=!0,i._tzm=Rt(Te,e)});var Ot=/([\+\-]|\d\d)/gi;function Rt(e,t){var t=(t||"").match(e);return null===t?null:0===(t=60*(e=((t[t.length-1]||[])+"").match(Ot)||["-",0,0])[1]+h(e[2]))?0:"+"===e[0]?t:-t}function Ht(e,t){var i;return t._isUTC?(t=t.clone(),i=(l(e)||H(e)?e:$(e)).valueOf()-t.valueOf(),t._d.setTime(t._d.valueOf()+i),m.updateOffset(t,!1),t):$(e).local()}function jt(e){return-Math.round(e._d.getTimezoneOffset())}function zt(){return!!this.isValid()&&this._isUTC&&0===this._offset}m.updateOffset=function(){};var Wt=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Ut=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function B(e,t){var i,r,n=e;return It(e)?n={ms:e._milliseconds,d:e._days,M:e._months}:R(e)||!isNaN(+e)?(n={},t?n[t]=+e:n.milliseconds=+e):(t=Wt.exec(e))?(i="-"===t[1]?-1:1,n={y:0,d:h(t[T])*i,h:h(t[A])*i,m:h(t[L])*i,s:h(t[k])*i,ms:h(Nt(1e3*t[Se]))*i}):(t=Ut.exec(e))?(i="-"===t[1]?-1:1,n={y:Yt(t[2],i),M:Yt(t[3],i),w:Yt(t[4],i),d:Yt(t[5],i),h:Yt(t[6],i),m:Yt(t[7],i),s:Yt(t[8],i)}):null==n?n={}:"object"==typeof n&&("from"in n||"to"in n)&&(t=$(n.from),i=$(n.to),t=t.isValid()&&i.isValid()?(i=Ht(i,t),t.isBefore(i)?r=Vt(t,i):((r=Vt(i,t)).milliseconds=-r.milliseconds,r.months=-r.months),r):{milliseconds:0,months:0},(n={}).ms=t.milliseconds,n.M=t.months),r=new Bt(n),It(e)&&f(e,"_locale")&&(r._locale=e._locale),It(e)&&f(e,"_isValid")&&(r._isValid=e._isValid),r}function Yt(e,t){e=e&&parseFloat(e.replace(",","."));return(isNaN(e)?0:e)*t}function Vt(e,t){var i={};return i.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(i.months,"M").isAfter(t)&&--i.months,i.milliseconds=+t-+e.clone().add(i.months,"M"),i}function Gt(r,n){return function(e,t){var i;return null===t||isNaN(+t)||(J(n,"moment()."+n+"(period, number) is deprecated. Please use moment()."+n+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),i=e,e=t,t=i),qt(this,B(e,t),r),this}}function qt(e,t,i,r){var n=t._milliseconds,o=Nt(t._days),t=Nt(t._months);e.isValid()&&(r=null==r||r,t&&He(e,he(e,"Month")+t*i),o&&me(e,"Date",he(e,"Date")+o*i),n&&e._d.setTime(e._d.valueOf()+n*i),r)&&m.updateOffset(e,o||t)}B.fn=Bt.prototype,B.invalid=function(){return B(NaN)};Ie=Gt(1,"add"),Xe=Gt(-1,"subtract");function Zt(e){return"string"==typeof e||e instanceof String}function Kt(e){return l(e)||H(e)||Zt(e)||R(e)||(i=a(t=e),r=!1,i&&(r=0===t.filter(function(e){return!R(e)&&Zt(t)}).length),i&&r)||function(e){var t,i,r=F(e)&&!O(e),n=!1,o=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],a=o.length;for(t=0;t<a;t+=1)i=o[t],n=n||f(e,i);return r&&n}(e)||null==e;var t,i,r}function Xt(e,t){var i,r;return e.date()<t.date()?-Xt(t,e):-((i=12*(t.year()-e.year())+(t.month()-e.month()))+(t-(r=e.clone().add(i,"months"))<0?(t-r)/(r-e.clone().add(i-1,"months")):(t-r)/(e.clone().add(1+i,"months")-r)))||0}function Jt(e){return void 0===e?this._locale._abbr:(null!=(e=D(e))&&(this._locale=e),this)}m.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",m.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";Qe=e("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return void 0===e?this.localeData():this.locale(e)});function Qt(){return this._locale}var ei=126227808e5;function ti(e,t){return(e%t+t)%t}function ii(e,t,i){return e<100&&0<=e?new Date(e+400,t,i)-ei:new Date(e,t,i).valueOf()}function ri(e,t,i){return e<100&&0<=e?Date.UTC(e+400,t,i)-ei:Date.UTC(e,t,i)}function ni(e,t){return t.erasAbbrRegex(e)}function oi(){for(var e=[],t=[],i=[],r=[],n=this.eras(),o=0,a=n.length;o<a;++o)t.push(_(n[o].name)),e.push(_(n[o].abbr)),i.push(_(n[o].narrow)),r.push(_(n[o].name)),r.push(_(n[o].abbr)),r.push(_(n[o].narrow));this._erasRegex=new RegExp("^("+r.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+t.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+i.join("|")+")","i")}function ai(e,t){r(0,[e,e.length],0,t)}function si(e,t,i,r,n){var o;return null==e?Ze(this,r,n).year:(t>(o=M(e,r,n))&&(t=o),function(e,t,i,r,n){e=qe(e,t,i,r,n),t=Ve(e.year,0,e.dayOfYear);return this.year(t.getUTCFullYear()),this.month(t.getUTCMonth()),this.date(t.getUTCDate()),this}.call(this,e,t,i,r,n))}r("N",0,0,"eraAbbr"),r("NN",0,0,"eraAbbr"),r("NNN",0,0,"eraAbbr"),r("NNNN",0,0,"eraName"),r("NNNNN",0,0,"eraNarrow"),r("y",["y",1],"yo","eraYear"),r("y",["yy",2],0,"eraYear"),r("y",["yyy",3],0,"eraYear"),r("y",["yyyy",4],0,"eraYear"),b("N",ni),b("NN",ni),b("NNN",ni),b("NNNN",function(e,t){return t.erasNameRegex(e)}),b("NNNNN",function(e,t){return t.erasNarrowRegex(e)}),x(["N","NN","NNN","NNNN","NNNNN"],function(e,t,i,r){r=i._locale.erasParse(e,r,i._strict);r?g(i).era=r:g(i).invalidEra=e}),b("y",Ce),b("yy",Ce),b("yyy",Ce),b("yyyy",Ce),b("yo",function(e,t){return t._eraYearOrdinalRegex||Ce}),x(["y","yy","yyy","yyyy"],P),x(["yo"],function(e,t,i,r){var n;i._locale._eraYearOrdinalRegex&&(n=e.match(i._locale._eraYearOrdinalRegex)),i._locale.eraYearOrdinalParse?t[P]=i._locale.eraYearOrdinalParse(e,n):t[P]=parseInt(e,10)}),r(0,["gg",2],0,function(){return this.weekYear()%100}),r(0,["GG",2],0,function(){return this.isoWeekYear()%100}),ai("gggg","weekYear"),ai("ggggg","weekYear"),ai("GGGG","isoWeekYear"),ai("GGGGG","isoWeekYear"),t("weekYear","gg"),t("isoWeekYear","GG"),i("weekYear",1),i("isoWeekYear",1),b("G",Pe),b("g",Pe),b("GG",v,y),b("gg",v,y),b("GGGG",_e,ge),b("gggg",_e,ge),b("GGGGG",xe,ye),b("ggggg",xe,ye),Me(["gggg","ggggg","GGGG","GGGGG"],function(e,t,i,r){t[r.substr(0,2)]=h(e)}),Me(["gg","GG"],function(e,t,i,r){t[r]=m.parseTwoDigitYear(e)}),r("Q",0,"Qo","quarter"),t("quarter","Q"),i("quarter",7),b("Q",n),x("Q",function(e,t){t[E]=3*(h(e)-1)}),r("D",["DD",2],"Do","date"),t("date","D"),i("date",9),b("D",v),b("DD",v,y),b("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),x(["D","DD"],T),x("Do",function(e,t){t[T]=h(e.match(v)[0])});_e=pe("Date",!0);r("DDD",["DDDD",3],"DDDo","dayOfYear"),t("dayOfYear","DDD"),i("dayOfYear",4),b("DDD",be),b("DDDD",fe),x(["DDD","DDDD"],function(e,t,i){i._dayOfYear=h(e)}),r("m",["mm",2],0,"minute"),t("minute","m"),i("minute",14),b("m",v),b("mm",v,y),x(["m","mm"],L);ge=pe("Minutes",!1);r("s",["ss",2],0,"second"),t("second","s"),i("second",15),b("s",v),b("ss",v,y),x(["s","ss"],k);var li,xe=pe("Seconds",!1);for(r("S",0,0,function(){return~~(this.millisecond()/100)}),r(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),r(0,["SSS",3],0,"millisecond"),r(0,["SSSS",4],0,function(){return 10*this.millisecond()}),r(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),r(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),r(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),r(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),r(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),t("millisecond","ms"),i("millisecond",16),b("S",be,n),b("SS",be,y),b("SSS",be,fe),li="SSSS";li.length<=9;li+="S")b(li,Ce);function ci(e,t){t[Se]=h(1e3*("0."+e))}for(li="S";li.length<=9;li+="S")x(li,ci);ye=pe("Milliseconds",!1),r("z",0,0,"zoneAbbr"),r("zz",0,0,"zoneName");n=Z.prototype;function ui(e){return e}n.add=Ie,n.calendar=function(e,t){1===arguments.length&&(arguments[0]?Kt(arguments[0])?(e=arguments[0],t=void 0):function(e){for(var t=F(e)&&!O(e),i=!1,r=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],n=0;n<r.length;n+=1)i=i||f(e,r[n]);return t&&i}(arguments[0])&&(t=arguments[0],e=void 0):t=e=void 0);var e=e||$(),i=Ht(e,this).startOf("day"),i=m.calendarFormat(this,i)||"sameElse",t=t&&(u(t[i])?t[i].call(this,e):t[i]);return this.format(t||this.localeData().calendar(i,this,$(e)))},n.clone=function(){return new Z(this)},n.diff=function(e,t,i){var r,n,o;if(!this.isValid())return NaN;if(!(r=Ht(e,this)).isValid())return NaN;switch(n=6e4*(r.utcOffset()-this.utcOffset()),t=d(t)){case"year":o=Xt(this,r)/12;break;case"month":o=Xt(this,r);break;case"quarter":o=Xt(this,r)/3;break;case"second":o=(this-r)/1e3;break;case"minute":o=(this-r)/6e4;break;case"hour":o=(this-r)/36e5;break;case"day":o=(this-r-n)/864e5;break;case"week":o=(this-r-n)/6048e5;break;default:o=this-r}return i?o:p(o)},n.endOf=function(e){var t,i;if(void 0!==(e=d(e))&&"millisecond"!==e&&this.isValid()){switch(i=this._isUTC?ri:ii,e){case"year":t=i(this.year()+1,0,1)-1;break;case"quarter":t=i(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=i(this.year(),this.month()+1,1)-1;break;case"week":t=i(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=i(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=i(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=36e5-ti(t+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":t=this._d.valueOf(),t+=6e4-ti(t,6e4)-1;break;case"second":t=this._d.valueOf(),t+=1e3-ti(t,1e3)-1}this._d.setTime(t),m.updateOffset(this,!0)}return this},n.format=function(e){return e=e||(this.isUtc()?m.defaultFormatUtc:m.defaultFormat),e=ae(this,e),this.localeData().postformat(e)},n.from=function(e,t){return this.isValid()&&(l(e)&&e.isValid()||$(e).isValid())?B({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},n.fromNow=function(e){return this.from($(),e)},n.to=function(e,t){return this.isValid()&&(l(e)&&e.isValid()||$(e).isValid())?B({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},n.toNow=function(e){return this.to($(),e)},n.get=function(e){return u(this[e=d(e)])?this[e]():this},n.invalidAt=function(){return g(this).overflow},n.isAfter=function(e,t){return e=l(e)?e:$(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=d(t)||"millisecond")?this.valueOf()>e.valueOf():e.valueOf()<this.clone().startOf(t).valueOf())},n.isBefore=function(e,t){return e=l(e)?e:$(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=d(t)||"millisecond")?this.valueOf()<e.valueOf():this.clone().endOf(t).valueOf()<e.valueOf())},n.isBetween=function(e,t,i,r){return e=l(e)?e:$(e),t=l(t)?t:$(t),!!(this.isValid()&&e.isValid()&&t.isValid())&&("("===(r=r||"()")[0]?this.isAfter(e,i):!this.isBefore(e,i))&&(")"===r[1]?this.isBefore(t,i):!this.isAfter(t,i))},n.isSame=function(e,t){var e=l(e)?e:$(e);return!(!this.isValid()||!e.isValid())&&("millisecond"===(t=d(t)||"millisecond")?this.valueOf()===e.valueOf():(e=e.valueOf(),this.clone().startOf(t).valueOf()<=e&&e<=this.clone().endOf(t).valueOf()))},n.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},n.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},n.isValid=function(){return W(this)},n.lang=Qe,n.locale=Jt,n.localeData=Qt,n.max=we,n.min=ve,n.parsingFlags=function(){return z({},g(this))},n.set=function(e,t){if("object"==typeof e)for(var i=function(e){var t,i=[];for(t in e)f(e,t)&&i.push({unit:t,priority:ue[t]});return i.sort(function(e,t){return e.priority-t.priority}),i}(e=ce(e)),r=i.length,n=0;n<r;n++)this[i[n].unit](e[i[n].unit]);else if(u(this[e=d(e)]))return this[e](t);return this},n.startOf=function(e){var t,i;if(void 0!==(e=d(e))&&"millisecond"!==e&&this.isValid()){switch(i=this._isUTC?ri:ii,e){case"year":t=i(this.year(),0,1);break;case"quarter":t=i(this.year(),this.month()-this.month()%3,1);break;case"month":t=i(this.year(),this.month(),1);break;case"week":t=i(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=i(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=i(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=ti(t+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":t=this._d.valueOf(),t-=ti(t,6e4);break;case"second":t=this._d.valueOf(),t-=ti(t,1e3)}this._d.setTime(t),m.updateOffset(this,!0)}return this},n.subtract=Xe,n.toArray=function(){return[this.year(),this.month(),this.date(),this.hour(),this.minute(),this.second(),this.millisecond()]},n.toObject=function(){return{years:this.year(),months:this.month(),date:this.date(),hours:this.hours(),minutes:this.minutes(),seconds:this.seconds(),milliseconds:this.milliseconds()}},n.toDate=function(){return new Date(this.valueOf())},n.toISOString=function(e){var t;return this.isValid()?(t=(e=!0!==e)?this.clone().utc():this).year()<0||9999<t.year()?ae(t,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):u(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",ae(t,"Z")):ae(t,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ"):null},n.inspect=function(){var e,t,i;return this.isValid()?(t="moment",i="",this.isLocal()||(t=0===this.utcOffset()?"moment.utc":"moment.parseZone",i="Z"),t="["+t+'("]',e=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(t+e+"-MM-DD[T]HH:mm:ss.SSS"+(i+'[")]'))):"moment.invalid(/* "+this._i+" */)"},"undefined"!=typeof Symbol&&null!=Symbol.for&&(n[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),n.toJSON=function(){return this.isValid()?this.toISOString():null},n.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},n.unix=function(){return Math.floor(this.valueOf()/1e3)},n.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},n.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},n.eraName=function(){for(var e,t=this.localeData().eras(),i=0,r=t.length;i<r;++i){if(e=this.clone().startOf("day").valueOf(),t[i].since<=e&&e<=t[i].until)return t[i].name;if(t[i].until<=e&&e<=t[i].since)return t[i].name}return""},n.eraNarrow=function(){for(var e,t=this.localeData().eras(),i=0,r=t.length;i<r;++i){if(e=this.clone().startOf("day").valueOf(),t[i].since<=e&&e<=t[i].until)return t[i].narrow;if(t[i].until<=e&&e<=t[i].since)return t[i].narrow}return""},n.eraAbbr=function(){for(var e,t=this.localeData().eras(),i=0,r=t.length;i<r;++i){if(e=this.clone().startOf("day").valueOf(),t[i].since<=e&&e<=t[i].until)return t[i].abbr;if(t[i].until<=e&&e<=t[i].since)return t[i].abbr}return""},n.eraYear=function(){for(var e,t,i=this.localeData().eras(),r=0,n=i.length;r<n;++r)if(e=i[r].since<=i[r].until?1:-1,t=this.clone().startOf("day").valueOf(),i[r].since<=t&&t<=i[r].until||i[r].until<=t&&t<=i[r].since)return(this.year()-m(i[r].since).year())*e+i[r].offset;return this.year()},n.year=Ue,n.isLeapYear=function(){return de(this.year())},n.weekYear=function(e){return si.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},n.isoWeekYear=function(e){return si.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},n.quarter=n.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},n.month=je,n.daysInMonth=function(){return Be(this.year(),this.month())},n.week=n.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},n.isoWeek=n.isoWeeks=function(e){var t=Ze(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},n.weeksInYear=function(){var e=this.localeData()._week;return M(this.year(),e.dow,e.doy)},n.weeksInWeekYear=function(){var e=this.localeData()._week;return M(this.weekYear(),e.dow,e.doy)},n.isoWeeksInYear=function(){return M(this.year(),1,4)},n.isoWeeksInISOWeekYear=function(){return M(this.isoWeekYear(),1,4)},n.date=_e,n.day=n.days=function(e){var t,i,r;return this.isValid()?(t=this._isUTC?this._d.getUTCDay():this._d.getDay(),null!=e?(i=e,r=this.localeData(),e="string"!=typeof i?i:isNaN(i)?"number"==typeof(i=r.weekdaysParse(i))?i:null:parseInt(i,10),this.add(e-t,"d")):t):null!=e?this:NaN},n.weekday=function(e){var t;return this.isValid()?(t=(this.day()+7-this.localeData()._week.dow)%7,null==e?t:this.add(e-t,"d")):null!=e?this:NaN},n.isoWeekday=function(e){var t,i;return this.isValid()?null!=e?(t=e,i=this.localeData(),i="string"==typeof t?i.weekdaysParse(t)%7||7:isNaN(t)?null:t,this.day(this.day()%7?i:i-7)):this.day()||7:null!=e?this:NaN},n.dayOfYear=function(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},n.hour=n.hours=w,n.minute=n.minutes=ge,n.second=n.seconds=xe,n.millisecond=n.milliseconds=ye,n.utcOffset=function(e,t,i){var r,n=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null==e)return this._isUTC?n:jt(this);if("string"==typeof e){if(null===(e=Rt(Te,e)))return this}else Math.abs(e)<16&&!i&&(e*=60);return!this._isUTC&&t&&(r=jt(this)),this._offset=e,this._isUTC=!0,null!=r&&this.add(r,"m"),n!==e&&(!t||this._changeInProgress?qt(this,B(e-n,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,m.updateOffset(this,!0),this._changeInProgress=null)),this},n.utc=function(e){return this.utcOffset(0,e)},n.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e)&&this.subtract(jt(this),"m"),this},n.parseZone=function(){var e;return null!=this._tzm?this.utcOffset(this._tzm,!1,!0):"string"==typeof this._i&&(null!=(e=Rt(Ee,this._i))?this.utcOffset(e):this.utcOffset(0,!0)),this},n.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?$(e).utcOffset():0,(this.utcOffset()-e)%60==0)},n.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},n.isLocal=function(){return!!this.isValid()&&!this._isUTC},n.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},n.isUtc=zt,n.isUTC=zt,n.zoneAbbr=function(){return this._isUTC?"UTC":""},n.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},n.dates=e("dates accessor is deprecated. Use date instead.",_e),n.months=e("months accessor is deprecated. Use month instead",je),n.years=e("years accessor is deprecated. Use year instead",Ue),n.zone=e("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(e,t){return null!=e?(this.utcOffset(e="string"!=typeof e?-e:e,t),this):-this.utcOffset()}),n.isDSTShifted=e("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){var e,t;return s(this._isDSTShifted)&&(q(t={},this),(t=Mt(t))._a?(e=(t._isUTC?c:$)(t._a),this._isDSTShifted=this.isValid()&&0<function(e,t,i){for(var r=Math.min(e.length,t.length),n=Math.abs(e.length-t.length),o=0,a=0;a<r;a++)(i&&e[a]!==t[a]||!i&&h(e[a])!==h(t[a]))&&o++;return o+n}(t._a,e.toArray())):this._isDSTShifted=!1),this._isDSTShifted});y=ee.prototype;function di(e,t,i,r){var n=D(),r=c().set(r,t);return n[i](r,e)}function pi(e,t,i){if(R(e)&&(t=e,e=void 0),e=e||"",null!=t)return di(e,t,i,"month");for(var r=[],n=0;n<12;n++)r[n]=di(e,n,i,"month");return r}function hi(e,t,i,r){t=("boolean"==typeof e||(i=t=e,e=!1),R(t)&&(i=t,t=void 0),t||"");var n,o=D(),a=e?o._week.dow:0,s=[];if(null!=i)return di(t,(i+a)%7,r,"day");for(n=0;n<7;n++)s[n]=di(t,(n+a)%7,r,"day");return s}y.calendar=function(e,t,i){return u(e=this._calendar[e]||this._calendar.sameElse)?e.call(t,i):e},y.longDateFormat=function(e){var t=this._longDateFormat[e],i=this._longDateFormat[e.toUpperCase()];return t||!i?t:(this._longDateFormat[e]=i.match(ie).map(function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e}).join(""),this._longDateFormat[e])},y.invalidDate=function(){return this._invalidDate},y.ordinal=function(e){return this._ordinal.replace("%d",e)},y.preparse=ui,y.postformat=ui,y.relativeTime=function(e,t,i,r){var n=this._relativeTime[i];return u(n)?n(e,t,i,r):n.replace(/%d/i,e)},y.pastFuture=function(e,t){return u(e=this._relativeTime[0<e?"future":"past"])?e(t):e.replace(/%s/i,t)},y.set=function(e){var t,i;for(i in e)f(e,i)&&(u(t=e[i])?this[i]=t:this["_"+i]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},y.eras=function(e,t){for(var i,r=this._eras||D("en")._eras,n=0,o=r.length;n<o;++n)switch("string"==typeof r[n].since&&(i=m(r[n].since).startOf("day"),r[n].since=i.valueOf()),typeof r[n].until){case"undefined":r[n].until=1/0;break;case"string":i=m(r[n].until).startOf("day").valueOf(),r[n].until=i.valueOf()}return r},y.erasParse=function(e,t,i){var r,n,o,a,s,l=this.eras();for(e=e.toUpperCase(),r=0,n=l.length;r<n;++r)if(o=l[r].name.toUpperCase(),a=l[r].abbr.toUpperCase(),s=l[r].narrow.toUpperCase(),i)switch(t){case"N":case"NN":case"NNN":if(a===e)return l[r];break;case"NNNN":if(o===e)return l[r];break;case"NNNNN":if(s===e)return l[r]}else if(0<=[o,a,s].indexOf(e))return l[r]},y.erasConvertYear=function(e,t){var i=e.since<=e.until?1:-1;return void 0===t?m(e.since).year():m(e.since).year()+(t-e.offset)*i},y.erasAbbrRegex=function(e){return f(this,"_erasAbbrRegex")||oi.call(this),e?this._erasAbbrRegex:this._erasRegex},y.erasNameRegex=function(e){return f(this,"_erasNameRegex")||oi.call(this),e?this._erasNameRegex:this._erasRegex},y.erasNarrowRegex=function(e){return f(this,"_erasNarrowRegex")||oi.call(this),e?this._erasNarrowRegex:this._erasRegex},y.months=function(e,t){return e?(a(this._months)?this._months:this._months[(this._months.isFormat||Fe).test(t)?"format":"standalone"])[e.month()]:a(this._months)?this._months:this._months.standalone},y.monthsShort=function(e,t){return e?(a(this._monthsShort)?this._monthsShort:this._monthsShort[Fe.test(t)?"format":"standalone"])[e.month()]:a(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},y.monthsParse=function(e,t,i){var r,n;if(this._monthsParseExact)return function(e,t,i){var r,n,o,e=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)o=c([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(o,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(o,"").toLocaleLowerCase();return i?"MMM"===t?-1!==(n=C.call(this._shortMonthsParse,e))?n:null:-1!==(n=C.call(this._longMonthsParse,e))?n:null:"MMM"===t?-1!==(n=C.call(this._shortMonthsParse,e))||-1!==(n=C.call(this._longMonthsParse,e))?n:null:-1!==(n=C.call(this._longMonthsParse,e))||-1!==(n=C.call(this._shortMonthsParse,e))?n:null}.call(this,e,t,i);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(n=c([2e3,r]),i&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(n,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(n,"").replace(".","")+"$","i")),i||this._monthsParse[r]||(n="^"+this.months(n,"")+"|^"+this.monthsShort(n,""),this._monthsParse[r]=new RegExp(n.replace(".",""),"i")),i&&"MMMM"===t&&this._longMonthsParse[r].test(e))return r;if(i&&"MMM"===t&&this._shortMonthsParse[r].test(e))return r;if(!i&&this._monthsParse[r].test(e))return r}},y.monthsRegex=function(e){return this._monthsParseExact?(f(this,"_monthsRegex")||ze.call(this),e?this._monthsStrictRegex:this._monthsRegex):(f(this,"_monthsRegex")||(this._monthsRegex=Re),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},y.monthsShortRegex=function(e){return this._monthsParseExact?(f(this,"_monthsRegex")||ze.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(f(this,"_monthsShortRegex")||(this._monthsShortRegex=Oe),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},y.week=function(e){return Ze(e,this._week.dow,this._week.doy).week},y.firstDayOfYear=function(){return this._week.doy},y.firstDayOfWeek=function(){return this._week.dow},y.weekdays=function(e,t){return t=a(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"],!0===e?Ke(t,this._week.dow):e?t[e.day()]:t},y.weekdaysMin=function(e){return!0===e?Ke(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},y.weekdaysShort=function(e){return!0===e?Ke(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},y.weekdaysParse=function(e,t,i){var r,n;if(this._weekdaysParseExact)return function(e,t,i){var r,n,o,e=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)o=c([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(o,"").toLocaleLowerCase();return i?"dddd"===t?-1!==(n=C.call(this._weekdaysParse,e))?n:null:"ddd"===t?-1!==(n=C.call(this._shortWeekdaysParse,e))?n:null:-1!==(n=C.call(this._minWeekdaysParse,e))?n:null:"dddd"===t?-1!==(n=C.call(this._weekdaysParse,e))||-1!==(n=C.call(this._shortWeekdaysParse,e))||-1!==(n=C.call(this._minWeekdaysParse,e))?n:null:"ddd"===t?-1!==(n=C.call(this._shortWeekdaysParse,e))||-1!==(n=C.call(this._weekdaysParse,e))||-1!==(n=C.call(this._minWeekdaysParse,e))?n:null:-1!==(n=C.call(this._minWeekdaysParse,e))||-1!==(n=C.call(this._weekdaysParse,e))||-1!==(n=C.call(this._shortWeekdaysParse,e))?n:null}.call(this,e,t,i);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(n=c([2e3,1]).day(r),i&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(n,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(n,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(n,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(n="^"+this.weekdays(n,"")+"|^"+this.weekdaysShort(n,"")+"|^"+this.weekdaysMin(n,""),this._weekdaysParse[r]=new RegExp(n.replace(".",""),"i")),i&&"dddd"===t&&this._fullWeekdaysParse[r].test(e))return r;if(i&&"ddd"===t&&this._shortWeekdaysParse[r].test(e))return r;if(i&&"dd"===t&&this._minWeekdaysParse[r].test(e))return r;if(!i&&this._weekdaysParse[r].test(e))return r}},y.weekdaysRegex=function(e){return this._weekdaysParseExact?(f(this,"_weekdaysRegex")||rt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(f(this,"_weekdaysRegex")||(this._weekdaysRegex=et),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},y.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(f(this,"_weekdaysRegex")||rt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(f(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=tt),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},y.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(f(this,"_weekdaysRegex")||rt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(f(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=it),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},y.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},y.meridiem=function(e,t,i){return 11<e?i?"pm":"PM":i?"am":"AM"},ht("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===h(e%100/10)?"th":1==t?"st":2==t?"nd":3==t?"rd":"th")}}),m.lang=e("moment.lang is deprecated. Use moment.locale instead.",ht),m.langData=e("moment.langData is deprecated. Use moment.localeData instead.",D);var mi=Math.abs;function fi(e,t,i,r){t=B(t,i);return e._milliseconds+=r*t._milliseconds,e._days+=r*t._days,e._months+=r*t._months,e._bubble()}function gi(e){return e<0?Math.floor(e):Math.ceil(e)}function yi(e){return 4800*e/146097}function vi(e){return 146097*e/4800}function wi(e){return function(){return this.as(e)}}be=wi("ms"),fe=wi("s"),Ie=wi("m"),we=wi("h"),ve=wi("d"),Xe=wi("w"),w=wi("M"),ge=wi("Q"),xe=wi("y");function bi(e){return function(){return this.isValid()?this._data[e]:NaN}}var ye=bi("milliseconds"),_e=bi("seconds"),Ue=bi("minutes"),y=bi("hours"),_i=bi("days"),xi=bi("months"),Ci=bi("years");var Pi=Math.round,Ei={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Ti(e,t,i,r){var n=B(e).abs(),o=Pi(n.as("s")),a=Pi(n.as("m")),s=Pi(n.as("h")),l=Pi(n.as("d")),c=Pi(n.as("M")),u=Pi(n.as("w")),n=Pi(n.as("y")),o=(o<=i.ss?["s",o]:o<i.s&&["ss",o])||(a<=1?["m"]:a<i.m&&["mm",a])||(s<=1?["h"]:s<i.h&&["hh",s])||(l<=1?["d"]:l<i.d&&["dd",l]);return(o=(o=null!=i.w?o||(u<=1?["w"]:u<i.w&&["ww",u]):o)||(c<=1?["M"]:c<i.M&&["MM",c])||(n<=1?["y"]:["yy",n]))[2]=t,o[3]=0<+e,o[4]=r,function(e,t,i,r,n){return n.relativeTime(t||1,!!i,e,r)}.apply(null,o)}var Ai=Math.abs;function Li(e){return(0<e)-(e<0)||+e}function ki(){var e,t,i,r,n,o,a,s,l,c,u;return this.isValid()?(s=Ai(this._milliseconds)/1e3,l=Ai(this._days),c=Ai(this._months),(u=this.asSeconds())?(e=p(s/60),t=p(e/60),s%=60,e%=60,i=p(c/12),c%=12,r=s?s.toFixed(3).replace(/\.?0+$/,""):"",n=Li(this._months)!==Li(u)?"-":"",o=Li(this._days)!==Li(u)?"-":"",a=Li(this._milliseconds)!==Li(u)?"-":"",(u<0?"-":"")+"P"+(i?n+i+"Y":"")+(c?n+c+"M":"")+(l?o+l+"D":"")+(t||e||s?"T":"")+(t?a+t+"H":"")+(e?a+e+"M":"")+(s?a+r+"S":"")):"P0D"):this.localeData().invalidDate()}var I=Bt.prototype;return I.isValid=function(){return this._isValid},I.abs=function(){var e=this._data;return this._milliseconds=mi(this._milliseconds),this._days=mi(this._days),this._months=mi(this._months),e.milliseconds=mi(e.milliseconds),e.seconds=mi(e.seconds),e.minutes=mi(e.minutes),e.hours=mi(e.hours),e.months=mi(e.months),e.years=mi(e.years),this},I.add=function(e,t){return fi(this,e,t,1)},I.subtract=function(e,t){return fi(this,e,t,-1)},I.as=function(e){if(!this.isValid())return NaN;var t,i,r=this._milliseconds;if("month"===(e=d(e))||"quarter"===e||"year"===e)switch(t=this._days+r/864e5,i=this._months+yi(t),e){case"month":return i;case"quarter":return i/3;case"year":return i/12}else switch(t=this._days+Math.round(vi(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return 24*t+r/36e5;case"minute":return 1440*t+r/6e4;case"second":return 86400*t+r/1e3;case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}},I.asMilliseconds=be,I.asSeconds=fe,I.asMinutes=Ie,I.asHours=we,I.asDays=ve,I.asWeeks=Xe,I.asMonths=w,I.asQuarters=ge,I.asYears=xe,I.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*h(this._months/12):NaN},I._bubble=function(){var e=this._milliseconds,t=this._days,i=this._months,r=this._data;return 0<=e&&0<=t&&0<=i||e<=0&&t<=0&&i<=0||(e+=864e5*gi(vi(i)+t),i=t=0),r.milliseconds=e%1e3,e=p(e/1e3),r.seconds=e%60,e=p(e/60),r.minutes=e%60,e=p(e/60),r.hours=e%24,t+=p(e/24),i+=e=p(yi(t)),t-=gi(vi(e)),e=p(i/12),i%=12,r.days=t,r.months=i,r.years=e,this},I.clone=function(){return B(this)},I.get=function(e){return e=d(e),this.isValid()?this[e+"s"]():NaN},I.milliseconds=ye,I.seconds=_e,I.minutes=Ue,I.hours=y,I.days=_i,I.weeks=function(){return p(this.days()/7)},I.months=xi,I.years=Ci,I.humanize=function(e,t){var i,r;return this.isValid()?(i=!1,r=Ei,"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(i=e),"object"==typeof t&&(r=Object.assign({},Ei,t),null!=t.s)&&null==t.ss&&(r.ss=t.s-1),t=Ti(this,!i,r,e=this.localeData()),i&&(t=e.pastFuture(+this,t)),e.postformat(t)):this.localeData().invalidDate()},I.toISOString=ki,I.toString=ki,I.toJSON=ki,I.locale=Jt,I.localeData=Qt,I.toIsoString=e("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",ki),I.lang=Qe,r("X",0,0,"unix"),r("x",0,0,"valueOf"),b("x",Pe),b("X",/[+-]?\d+(\.\d{1,3})?/),x("X",function(e,t,i){i._d=new Date(1e3*parseFloat(e))}),x("x",function(e,t,i){i._d=new Date(h(e))}),m.version="2.29.4",N=$,m.fn=n,m.min=function(){return Dt("isBefore",[].slice.call(arguments,0))},m.max=function(){return Dt("isAfter",[].slice.call(arguments,0))},m.now=function(){return Date.now?Date.now():+new Date},m.utc=c,m.unix=function(e){return $(1e3*e)},m.months=function(e,t){return pi(e,t,"months")},m.isDate=H,m.locale=ht,m.invalid=U,m.duration=B,m.isMoment=l,m.weekdays=function(e,t,i){return hi(e,t,i,"weekdays")},m.parseZone=function(){return $.apply(null,arguments).parseZone()},m.localeData=D,m.isDuration=It,m.monthsShort=function(e,t){return pi(e,t,"monthsShort")},m.weekdaysMin=function(e,t,i){return hi(e,t,i,"weekdaysMin")},m.defineLocale=mt,m.updateLocale=function(e,t){var i,r;return null!=t?(r=lt,null!=S[e]&&null!=S[e].parentLocale?S[e].set(Q(S[e]._config,t)):(t=Q(r=null!=(i=pt(e))?i._config:r,t),null==i&&(t.abbr=e),(r=new ee(t)).parentLocale=S[e],S[e]=r),ht(e)):null!=S[e]&&(null!=S[e].parentLocale?(S[e]=S[e].parentLocale,e===ht()&&ht(e)):null!=S[e]&&delete S[e]),S[e]},m.locales=function(){return te(S)},m.weekdaysShort=function(e,t,i){return hi(e,t,i,"weekdaysShort")},m.normalizeUnits=d,m.relativeTimeRounding=function(e){return void 0===e?Pi:"function"==typeof e&&(Pi=e,!0)},m.relativeTimeThreshold=function(e,t){return void 0!==Ei[e]&&(void 0===t?Ei[e]:(Ei[e]=t,"s"===e&&(Ei.ss=t-1),!0))},m.calendarFormat=function(e,t){return(e=e.diff(t,"days",!0))<-6?"sameElse":e<-1?"lastWeek":e<0?"lastDay":e<1?"sameDay":e<2?"nextDay":e<7?"nextWeek":"sameElse"},m.prototype=n,m.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"},m}();var Nn,Fn,z=Nn.exports;function On(e,t){B(e,t)}const Rn={en:{title:"Self-Exclusion",selfExclusionText1:"We recognize that gambling can be harmful so to prevent problems associated with gambling, we offer our users the ability to exclude from all forms of betting on our site for a certain indefinite period of time.",selfExclusionText2:'Self-exclusion takes effect from the time it is set for your chosen period. Select a timeframe below then click "Confirm".',selfExclusionText3:"During self-exclusion, you will be able to access your account and withdraw funds but you will not be able to deposit or place any bets. In the case of permanent self-exclusion, it is only possible to revoke Self-exclusion upon written request and only 6 months after its initial application. Please note that an alternative way to request self-exclusion is to contact Customer Service as follows:",selfExclusionText4:"E-mail:",duration:"Duration:",forever:"Forever",save:"Save",temporarySelfExclusion:"Your self-exclusion period will last until the {date} 23:59.",permanentSelfExclusion:"Your self-exclusion period will be permanent."},"zh-hk":{title:"自我排斥",selfExclusionText1:"我們認識到賭博會導致成癮,為了防止這些問題,我們為用戶提供了在一段時間內排除我們網站上所有形式的投注的能力。",selfExclusionText2:"自我排除從您選擇的時間段設置的時間開始生效。 在下方選擇一個時間範圍,然後單擊“確認”。",selfExclusionText3:"在自我排除期間,您將無法訪問您的 帳戶。 在永久自我排除的情況下,只有在書面請求後才能撤銷自我排除,並且只有在首次申請後 6 個月內。 請注意,請求自我排除的另一種方法是聯繫客戶服務,如下所示:",selfExclusionText4:"電子郵件:",duration:"期間:",forever:"永遠",save:"節省",temporarySelfExclusion:"您的自我排除期將持續到 {date} 23:59。",permanentSelfExclusion:"您的自我排除期將是永久性的。"},fr:{title:"Auto exclusion",selfExclusionText1:"reconnait que le jeu peut conduire à l'addition et dans notre effort pour prévenir ces problèmes, nous offrons à nos utilisateurs la possibilité d'exclure toutes les formes de paris sur notre site pour une certaine période de temps indéfinie.",selfExclusionText2:'L\'auto exclusion prend effet à partir du moment où elle est fixée pour la période que vous choisissez. Sélectionnez une periode ci-dessous puis cliquez sur "confirmer".',selfExclusionText3:"Pendant l'auto exclusion ,vous ne pourrez pas accéder à votre compte .dans le cas d'une auto exclusion permanente ,il est seulement possible de révoquer l'auto exclusion sur demande écrit et seulement 6 mois après sa demande initiale. veuillez noter qu'une manière alternative de demander l'auto exclusion est de contacter le service client comme suit:",selfExclusionText4:"E-mail:",duration:"Durée:",forever:"Tout le temps",save:"Sauvez",temporarySelfExclusion:"Votre période d'auto exclusion durera jusqu'au {date} 23:59.",permanentSelfExclusion:"Votre période d'auto exclusion sera permanente."},ro:{title:"Auto-Excludere",selfExclusionText1:"La {operatorname} știm că jocurile de noroc pot provoca dependență și, printre eforturile noastre de a preveni aceste probleme, oferim utilizatorilor posibilitatea de a se exclude de la orice formă de pariere pe o perioadă anume sau chiar nelimitată.",selfExclusionText2:'Auto-excluderea intră în vigoare de la momentul setării, pentru perioada setată. Selectează mai jos o perioadă și apoi apasă pe "Confirmă".',selfExclusionText3:"Pe perioada auto-excluderii nu vei putea accesa contul tău {operatorname}. În cazul unei auto-excluderi permanente, aceasta poate fi revocată doar în urma unei solicitări scrise și doar după 6 luni de la aplicarea inițială a acesteia. De asemenea, o altă posibilitate de a solicita auto-excluderea este contactarea Serviciului Clienți după cum urmează:",selfExclusionText4:"E-mail:",duration:"Durată:",forever:"Permanent",save:"Salvează",temporarySelfExclusion:"Perioada de auto-excludere va dura pană la {date} 23:59.",permanentSelfExclusion:"Auto-excluderea este permanentă."},es:{title:"Autoexclusición",selfExclusionText1:"Reconocemos que el juego puedo conducir a la adicción y en nuestro esfuerzo por prevenir estos problemas",selfExclusionText2:'La autoexclusición surte efecto desde el momento en que se establece para el periodo que elijas. Seleccione un período de tiempo a continuación y luego haga clic en "Confirmar".',selfExclusionText3:"Durante la autoexclusión, no podrá acceder a su cuenta de {operator}. En el caso de autoexclusión permanente, solo es posible revocar la autoexclusión previa solicitud por escrito y solo 6 meses después de su solicitud inicial. Ten en cuenta que una forma alternativa de solicitar la autoexclusión es ponerse en contacto con el Servicio de Atención al Cliente de la siguiente manera: Correo electrónico:",selfExclusionText4:"Email",duration:"Duración:",forever:"Para siempre",save:"Guardar",temporarySelfExclusion:"Tu periodo de autoexclusión durará hasta el {date} 23:59. .",permanentSelfExclusion:"Tu periodo de autoexclusión será permanente."},pt:{title:"Auto-exclusão",selfExclusionText1:"reconhece que o jogo pode levar ao vício e em nosso esforço para evitar esses problemas, oferecemos aos nossos usuários a capacidade de excluir todas as formas de apostas em nosso site por um período de tempo indefinido.",selfExclusionText2:'A autoexclusão entra em vigor a partir do momento em que é definida para o período que você escolher. Selecione um período de tempo abaixo e clique em "Confirmar".',selfExclusionText3:"Durante a autoexclusão, você não poderá acessar sua conta . No caso de autoexclusão permanente, só é possível revogar a Autoexclusão mediante pedido escrito e apenas 6 meses após a sua aplicação inicial. Observe que uma forma alternativa de solicitar a autoexclusão é entrar em contato com o Atendimento ao Cliente da seguinte forma:",selfExclusionText4:"E-mail:",duration:"Duração:",forever:"Para sempre",save:"Guardar",temporarySelfExclusion:"Seu período de autoexclusão durará até {data} 23:59.",permanentSelfExclusion:"Seu período de autoexclusão será permanente."},hr:{title:"Samoisključenje",selfExclusionText1:"Svjesni smo da kockanje može dovesti do ovisnosti i u našem nastojanju da spriječimo te probleme",selfExclusionText2:'Samoisključenje stupa na snagu od trenutka kada je postavljeno za razdoblje koje odaberete. Odaberite vremenski okvir ispod, a zatim kliknite "Potvrdi".',selfExclusionText3:"Tijekom samoisključivanja nećete moći pristupiti svom računu. U slučaju trajnog samoisključenja",selfExclusionText4:"E-mail:",duration:"Trajanje:",forever:"Trajno",save:"Spremi",temporarySelfExclusion:"Vaše razdoblje samoisključenja trajat će do {date} 23:59.",permanentSelfExclusion:"Vaše razdoblje samoisključenja bit će trajno."}};function Hn(e){var t,i=customElements.get(e.is);i?(t=i.version)&&e.version&&t===e.version?console.warn(`The component ${e.is} has been loaded twice`):console.error(`Tried to define ${e.is} version ${e.version} when version ${i.version} is already in use. Something will probably break.`):customElements.define(e.is,e)}class jn extends HTMLElement{static get is(){return"vaadin-lumo-styles"}static get version(){return"24.2.5"}}Hn(jn);const zn=window,Wn=zn.ShadowRoot&&(void 0===zn.ShadyCSS||zn.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Un=Symbol(),Yn=new WeakMap;class Vn{constructor(e,t,i){if(this._$cssResult$=!0,i!==Un)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=t}get styleSheet(){let e=this.o;var t,i=this.t;return Wn&&void 0===e&&(t=void 0!==i&&1===i.length,void 0===(e=t?Yn.get(i):e))&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),t)&&Yn.set(i,e),e}toString(){return this.cssText}}const a=(r,...e)=>{e=1===r.length?r[0]:e.reduce((e,t,i)=>e+(()=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})()+r[i+1],r[0]);return new Vn(e,r,Un)},Gn=Wn?e=>e:t=>{if(!(t instanceof CSSStyleSheet))return t;{let e="";for(const i of t.cssRules)e+=i.cssText;return t=e,new Vn("string"==typeof t?t:t+"",void 0,Un)}},qn=window,Zn=qn.trustedTypes,Kn=Zn?Zn.emptyScript:"",Xn=qn.reactiveElementPolyfillSupport,Jn={toAttribute(e,t){switch(t){case Boolean:e=e?Kn:null;break;case Object:case Array:e=null==e?e:JSON.stringify(e)}return e},fromAttribute(e,t){let i=e;switch(t){case Boolean:i=null!==e;break;case Number:i=null===e?null:Number(e);break;case Object:case Array:try{i=JSON.parse(e)}catch(e){i=null}}return i}},Qn=(e,t)=>t!==e&&(t==t||e==e),eo={attribute:!0,type:String,converter:Jn,reflect:!1,hasChanged:Qn},to="finalized";class io extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this._$Eu()}static addInitializer(e){var t;this.finalize(),(null!=(t=this.h)?t:this.h=[]).push(e)}static get observedAttributes(){this.finalize();const i=[];return this.elementProperties.forEach((e,t)=>{e=this._$Ep(t,e);void 0!==e&&(this._$Ev.set(e,t),i.push(e))}),i}static createProperty(e,t=eo){var i;t.state&&(t.attribute=!1),this.finalize(),this.elementProperties.set(e,t),t.noAccessor||this.prototype.hasOwnProperty(e)||(i="symbol"==typeof e?Symbol():"__"+e,void 0!==(i=this.getPropertyDescriptor(e,i,t))&&Object.defineProperty(this.prototype,e,i))}static getPropertyDescriptor(i,r,n){return{get(){return this[r]},set(e){var t=this[i];this[r]=e,this.requestUpdate(i,t,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)||eo}static finalize(){if(this.hasOwnProperty(to))return!1;this[to]=!0;const e=Object.getPrototypeOf(this);if(e.finalize(),void 0!==e.h&&(this.h=[...e.h]),this.elementProperties=new Map(e.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){const e=this.properties,t=[...Object.getOwnPropertyNames(e),...Object.getOwnPropertySymbols(e)];for(const i of t)this.createProperty(i,e[i])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(e){var t=[];if(Array.isArray(e)){var i=new Set(e.flat(1/0).reverse());for(const e of i)t.unshift(Gn(e))}else void 0!==e&&t.push(Gn(e));return t}static _$Ep(e,t){t=t.attribute;return!1===t?void 0:"string"==typeof t?t:"string"==typeof e?e.toLowerCase():void 0}_$Eu(){var e;this._$E_=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$Eg(),this.requestUpdate(),null!=(e=this.constructor.h)&&e.forEach(e=>e(this))}addController(e){var t;(null!=(t=this._$ES)?t:this._$ES=[]).push(e),void 0!==this.renderRoot&&this.isConnected&&null!=(t=e.hostConnected)&&t.call(e)}removeController(e){var t;null!=(t=this._$ES)&&t.splice(this._$ES.indexOf(e)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach((e,t)=>{this.hasOwnProperty(t)&&(this._$Ei.set(t,this[t]),delete this[t])})}createRenderRoot(){var r,e,t=null!=(t=this.shadowRoot)?t:this.attachShadow(this.constructor.shadowRootOptions);return r=t,e=this.constructor.elementStyles,Wn?r.adoptedStyleSheets=e.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet):e.forEach(e=>{var t=document.createElement("style"),i=zn.litNonce;void 0!==i&&t.setAttribute("nonce",i),t.textContent=e.cssText,r.appendChild(t)}),t}connectedCallback(){var e;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null!=(e=this._$ES)&&e.forEach(e=>{var t;return null==(t=e.hostConnected)?void 0:t.call(e)})}enableUpdating(e){}disconnectedCallback(){var e;null!=(e=this._$ES)&&e.forEach(e=>{var t;return null==(t=e.hostDisconnected)?void 0:t.call(e)})}attributeChangedCallback(e,t,i){this._$AK(e,i)}_$EO(e,t,i=eo){var r,n=this.constructor._$Ep(e,i);void 0!==n&&!0===i.reflect&&(r=(void 0!==(null==(r=i.converter)?void 0:r.toAttribute)?i.converter:Jn).toAttribute(t,i.type),this._$El=e,null==r?this.removeAttribute(n):this.setAttribute(n,r),this._$El=null)}_$AK(e,t){var i=this.constructor,r=i._$Ev.get(e);if(void 0!==r&&this._$El!==r){const e=i.getPropertyOptions(r),n="function"==typeof e.converter?{fromAttribute:e.converter}:void 0!==(null==(i=e.converter)?void 0:i.fromAttribute)?e.converter:Jn;this._$El=r,this[r]=n.fromAttribute(t,e.type),this._$El=null}}requestUpdate(e,t,i){let r=!0;void 0!==e&&(((i=i||this.constructor.getPropertyOptions(e)).hasChanged||Qn)(this[e],t)?(this._$AL.has(e)||this._$AL.set(e,t),!0===i.reflect&&this._$El!==e&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(e,i))):r=!1),!this.isUpdatePending&&r&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(e){Promise.reject(e)}var e=this.scheduleUpdate();return null!=e&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(this.isUpdatePending){this.hasUpdated,this._$Ei&&(this._$Ei.forEach((e,t)=>this[t]=e),this._$Ei=void 0);let e=!1;var i=this._$AL;try{(e=this.shouldUpdate(i))?(this.willUpdate(i),null!=(t=this._$ES)&&t.forEach(e=>{var t;return null==(t=e.hostUpdate)?void 0:t.call(e)}),this.update(i)):this._$Ek()}catch(t){throw e=!1,this._$Ek(),t}e&&this._$AE(i)}}willUpdate(e){}_$AE(e){var t;null!=(t=this._$ES)&&t.forEach(e=>{var t;return null==(t=e.hostUpdated)?void 0:t.call(e)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(e){return!0}update(e){void 0!==this._$EC&&(this._$EC.forEach((e,t)=>this._$EO(t,this[t],e)),this._$EC=void 0),this._$Ek()}updated(e){}firstUpdated(e){}}io[to]=!0,io.elementProperties=new Map,io.elementStyles=[],io.shadowRootOptions={mode:"open"},null!=Xn&&Xn({ReactiveElement:io}),(null!=(Ii=qn.reactiveElementVersions)?Ii:qn.reactiveElementVersions=[]).push("1.6.3");const ro=window,no=ro.trustedTypes,oo=no?no.createPolicy("lit-html",{createHTML:e=>e}):void 0,ao="$lit$",so=`lit$${(Math.random()+"").slice(9)}$`,lo="?"+so,co=`<${lo}>`,uo=document,po=()=>uo.createComment(""),ho=e=>null===e||"object"!=typeof e&&"function"!=typeof e,mo=Array.isArray,fo="[ \t\n\f\r]",go=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,yo=/-->/g,vo=/>/g,wo=RegExp(`>|${fo}(?:([^\\s"'>=/]+)(${fo}*=${fo}*(?:[^
|
|
4
4
|
\r"'\`<>=]|("|')|))|$)`,"g"),bo=/'/g,_o=/"/g,xo=/^(?:script|style|textarea|title)$/i,Co=Symbol.for("lit-noChange"),Po=Symbol.for("lit-nothing"),Eo=new WeakMap,To=uo.createTreeWalker(uo,129,null,!1);function Ao(e,t){if(Array.isArray(e)&&e.hasOwnProperty("raw"))return void 0!==oo?oo.createHTML(t):t;throw Error("invalid template strings array")}class Lo{constructor({strings:t,_$litType$:i},e){var r;this.parts=[];let n=0,o=0;var a=t.length-1,s=this.parts,[t,l]=((o,e)=>{const a=o.length-1,s=[];let l,c=2===e?"<svg>":"",u=go;for(let n=0;n<a;n++){const a=o[n];let e,t,i=-1,r=0;for(;r<a.length&&(u.lastIndex=r,null!==(t=u.exec(a)));)r=u.lastIndex,u===go?"!--"===t[1]?u=yo:void 0!==t[1]?u=vo:void 0!==t[2]?(xo.test(t[2])&&(l=RegExp("</"+t[2],"g")),u=wo):void 0!==t[3]&&(u=wo):u===wo?">"===t[0]?(u=null!=l?l:go,i=-1):void 0===t[1]?i=-2:(i=u.lastIndex-t[2].length,e=t[1],u=void 0===t[3]?wo:'"'===t[3]?_o:bo):u===_o||u===bo?u=wo:u===yo||u===vo?u=go:(u=wo,l=void 0);var d=u===wo&&o[n+1].startsWith("/>")?" ":"";c+=u===go?a+co:0<=i?(s.push(e),a.slice(0,i)+ao+a.slice(i)+so+d):a+so+(-2===i?(s.push(void 0),n):d)}return[Ao(o,c+(o[a]||"<?>")+(2===e?"</svg>":"")),s]})(t,i);if(this.el=Lo.createElement(t,e),To.currentNode=this.el.content,2===i){const t=this.el.content,i=t.firstChild;i.remove(),t.append(...i.childNodes)}for(;null!==(r=To.nextNode())&&s.length<a;){if(1===r.nodeType){if(r.hasAttributes()){const t=[];for(const i of r.getAttributeNames())if(i.endsWith(ao)||i.startsWith(so)){const e=l[o++];if(t.push(i),void 0!==e){const t=r.getAttribute(e.toLowerCase()+ao).split(so),i=/([.?@])?(.*)/.exec(e);s.push({type:1,index:n,name:i[2],strings:t,ctor:"."===i[1]?$o:"?"===i[1]?Io:"@"===i[1]?No:Do})}else s.push({type:6,index:n})}for(const i of t)r.removeAttribute(i)}if(xo.test(r.tagName)){const t=r.textContent.split(so),i=t.length-1;if(0<i){r.textContent=no?no.emptyScript:"";for(let e=0;e<i;e++)r.append(t[e],po()),To.nextNode(),s.push({type:2,index:++n});r.append(t[i],po())}}}else if(8===r.nodeType)if(r.data===lo)s.push({type:2,index:n});else{let e=-1;for(;-1!==(e=r.data.indexOf(so,e+1));)s.push({type:7,index:n}),e+=so.length-1}n++}}static createElement(e,t){var i=uo.createElement("template");return i.innerHTML=e,i}}function ko(t,i,r=t,n){var o;if(i!==Co){let e=void 0!==n?null==(a=r._$Co)?void 0:a[n]:r._$Cl;var a=ho(i)?void 0:i._$litDirective$;(null==e?void 0:e.constructor)!==a&&(null!=(o=null==e?void 0:e._$AO)&&o.call(e,!1),void 0===a?e=void 0:(e=new a(t))._$AT(t,r,n),void 0!==n?(null!=(o=r._$Co)?o:r._$Co=[])[n]=e:r._$Cl=e),void 0!==e&&(i=ko(t,e._$AS(t,i.values),e,n))}return i}class Mo{constructor(e,t){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=t}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){var{el:{content:e},parts:i}=this._$AD,r=(null!=(r=null==t?void 0:t.creationScope)?r:uo).importNode(e,!0);To.currentNode=r;let n=To.nextNode(),o=0,a=0,s=i[0];for(;void 0!==s;){if(o===s.index){let e;2===s.type?e=new So(n,n.nextSibling,this,t):1===s.type?e=new s.ctor(n,s.name,s.strings,this,t):6===s.type&&(e=new Fo(n,this,t)),this._$AV.push(e),s=i[++a]}o!==(null==s?void 0:s.index)&&(n=To.nextNode(),o++)}return To.currentNode=uo,r}v(e){let t=0;for(const i of this._$AV)void 0!==i&&(void 0!==i.strings?(i._$AI(e,i,t),t+=i.strings.length-2):i._$AI(e[t])),t++}}class So{constructor(e,t,i,r){this.type=2,this._$AH=Po,this._$AN=void 0,this._$AA=e,this._$AB=t,this._$AM=i,this.options=r,this._$Cp=null==(e=null==r?void 0:r.isConnected)||e}get _$AU(){var e;return null!=(e=null==(e=this._$AM)?void 0:e._$AU)?e:this._$Cp}get parentNode(){let e=this._$AA.parentNode;var t=this._$AM;return e=void 0!==t&&11===(null==e?void 0:e.nodeType)?t.parentNode:e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,t=this){e=ko(this,e,t),ho(e)?e===Po||null==e||""===e?(this._$AH!==Po&&this._$AR(),this._$AH=Po):e!==this._$AH&&e!==Co&&this._(e):void 0!==e._$litType$?this.g(e):void 0!==e.nodeType?this.$(e):(t=e,mo(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator])?this.T(e):this._(e))}k(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}$(e){this._$AH!==e&&(this._$AR(),this._$AH=this.k(e))}_(e){this._$AH!==Po&&ho(this._$AH)?this._$AA.nextSibling.data=e:this.$(uo.createTextNode(e)),this._$AH=e}g(e){var t,{values:i,_$litType$:r}=e,r="number"==typeof r?this._$AC(e):(void 0===r.el&&(r.el=Lo.createElement(Ao(r.h,r.h[0]),this.options)),r);if((null==(t=this._$AH)?void 0:t._$AD)===r)this._$AH.v(i);else{const e=new Mo(r,this),t=e.u(this.options);e.v(i),this.$(t),this._$AH=e}}_$AC(e){let t=Eo.get(e.strings);return void 0===t&&Eo.set(e.strings,t=new Lo(e)),t}T(e){mo(this._$AH)||(this._$AH=[],this._$AR());var t=this._$AH;let i,r=0;for(const n of e)r===t.length?t.push(i=new So(this.k(po()),this.k(po()),this,this.options)):i=t[r],i._$AI(n),r++;r<t.length&&(this._$AR(i&&i._$AB.nextSibling,r),t.length=r)}_$AR(e=this._$AA.nextSibling,t){var i;for(null!=(i=this._$AP)&&i.call(this,!1,!0,t);e&&e!==this._$AB;){const t=e.nextSibling;e.remove(),e=t}}setConnected(e){var t;void 0===this._$AM&&(this._$Cp=e,null!=(t=this._$AP))&&t.call(this,e)}}class Do{constructor(e,t,i,r,n){this.type=1,this._$AH=Po,this._$AN=void 0,this.element=e,this.name=t,this._$AM=r,this.options=n,2<i.length||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=Po}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(i,r=this,n,o){var a=this.strings;let s=!1;if(void 0===a)i=ko(this,i,r,0),(s=!ho(i)||i!==this._$AH&&i!==Co)&&(this._$AH=i);else{const o=i;let e,t;for(i=a[0],e=0;e<a.length-1;e++)(t=ko(this,o[n+e],r,e))===Co&&(t=this._$AH[e]),s=s||!ho(t)||t!==this._$AH[e],t===Po?i=Po:i!==Po&&(i+=(null!=t?t:"")+a[e+1]),this._$AH[e]=t}s&&!o&&this.j(i)}j(e){e===Po?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=e?e:"")}}class $o extends Do{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===Po?void 0:e}}const Bo=no?no.emptyScript:"";class Io extends Do{constructor(){super(...arguments),this.type=4}j(e){e&&e!==Po?this.element.setAttribute(this.name,Bo):this.element.removeAttribute(this.name)}}class No extends Do{constructor(e,t,i,r,n){super(e,t,i,r,n),this.type=5}_$AI(e,t=this){var i,r;(e=null!=(t=ko(this,e,t,0))?t:Po)!==Co&&(t=this._$AH,i=e===Po&&t!==Po||e.capture!==t.capture||e.once!==t.once||e.passive!==t.passive,r=e!==Po&&(t===Po||i),i&&this.element.removeEventListener(this.name,this,t),r&&this.element.addEventListener(this.name,this,e),this._$AH=e)}handleEvent(e){var t;"function"==typeof this._$AH?this._$AH.call(null!=(t=null==(t=this.options)?void 0:t.host)?t:this.element,e):this._$AH.handleEvent(e)}}class Fo{constructor(e,t,i){this.element=e,this.type=6,this._$AN=void 0,this._$AM=t,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(e){ko(this,e)}}Ni=ro.litHtmlPolyfillSupport;null!=Ni&&Ni(Lo,So),(null!=(Oi=ro.litHtmlVersions)?Oi:ro.litHtmlVersions=[]).push("2.8.0");class Oo extends io{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var e,t=super.createRenderRoot();return null==(e=this.renderOptions).renderBefore&&(e.renderBefore=t.firstChild),t}update(e){var t=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=((e,t,i)=>{var r,n=null!=(n=null==i?void 0:i.renderBefore)?n:t;let o=n._$litPart$;if(void 0===o){const e=null!=(r=null==i?void 0:i.renderBefore)?r:null;n._$litPart$=o=new So(t.insertBefore(po(),e),e,void 0,null!=i?i:{})}return o._$AI(e),o})(t,this.renderRoot,this.renderOptions)}connectedCallback(){var e;super.connectedCallback(),null!=(e=this._$Do)&&e.setConnected(!0)}disconnectedCallback(){var e;super.disconnectedCallback(),null!=(e=this._$Do)&&e.setConnected(!1)}render(){return Co}}Oo.finalized=!0,Oo._$litElement$=!0,null!=(t=globalThis.litElementHydrateSupport)&&t.call(globalThis,{LitElement:Oo});Di=globalThis.litElementPolyfillSupport;null!=Di&&Di({LitElement:Oo}),(null!=(Bi=globalThis.litElementVersions)?Bi:globalThis.litElementVersions=[]).push("3.3.3");const Ro=[];function Ho(e){return e&&Object.prototype.hasOwnProperty.call(e,"__themes")}function jo(e,t,i={}){var r;e&&Ho(customElements.get(e))&&console.warn(`The custom element definition for "${e}"
|
|
5
5
|
was finalized before a style module was registered.
|
|
6
6
|
Make sure to add component specific style modules before
|