@everymatrix/player-bonus-history 1.37.8 → 1.37.10

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,4 +1,4 @@
1
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).app=t()}(this,function(){"use strict";function z(){}function S(e){return e()}function P(){return Object.create(null)}function D(e){e.forEach(S)}function k(e){return"function"==typeof e}function O(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}function M(e,...t){if(null==e)return z;const r=e.subscribe(...t);return r.unsubscribe?()=>r.unsubscribe():r}function N(e,t,r){e.$$.on_destroy.push(M(t,r))}function U(e,t){e.appendChild(t)}function j(e,t,r){e.insertBefore(t,r||null)}function V(e){e.parentNode&&e.parentNode.removeChild(e)}function B(t,r){for(let e=0;e<t.length;e+=1)t[e]&&t[e].d(r)}function t(e){return document.createElement(e)}function F(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function W(e){return document.createTextNode(e)}function G(){return W(" ")}function I(){return W("")}function Y(e,t,r,o){return e.addEventListener(t,r,o),()=>e.removeEventListener(t,r,o)}function q(e,t,r){null==r?e.removeAttribute(t):e.getAttribute(t)!==r&&e.setAttribute(t,r)}function R(e,t,r){t in e?e[t]="boolean"==typeof e[t]&&""===r||r:q(e,t,r)}function K(e,t){e.data!==(t=""+t)&&(e.data=t)}function H(e){var t={};for(const r of e)t[r.name]=r.value;return t}let L;function $(e){L=e}const X=[],Z=[];let J=[];const Q=[],ee=Promise.resolve();let te=!1;function re(e){J.push(e)}const oe=new Set;let ne=0;function d(){if(0===ne){const o=L;do{try{for(;ne<X.length;){const o=X[ne];ne++,$(o),e=t=void 0;var e,t=o.$$;null!==t.fragment&&(t.update(),D(t.before_update),e=t.dirty,t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(re))}}catch(o){throw X.length=0,ne=0,o}for($(null),X.length=0,ne=0;Z.length;)Z.pop()();for(let e=0;e<J.length;e+=1){var r=J[e];oe.has(r)||(oe.add(r),r())}}while(J.length=0,X.length);for(;Q.length;)Q.pop()();te=!1,oe.clear(),$(o)}}const ie=new Set;function se(o,e,t,r,n,i,s,a=[-1]){var l=L;$(o);const h=o.$$={fragment:null,ctx:[],props:i,update:z,not_equal:n,bound:P(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(l?l.$$.context:[])),callbacks:P(),dirty:a,skip_bound:!1,root:e.target||l.$$.root};s&&s(h.root);let u=!1;if(h.ctx=t?t(o,e.props||{},(e,t,...r)=>{var r=r.length?r[0]:t;return h.ctx&&n(h.ctx[e],h.ctx[e]=r)&&(!h.skip_bound&&h.bound[e]&&h.bound[e](r),u)&&(r=e,-1===(e=o).$$.dirty[0]&&(X.push(e),te||(te=!0,ee.then(d)),e.$$.dirty.fill(0)),e.$$.dirty[r/31|0]|=1<<r%31),t}):[],h.update(),u=!0,D(h.before_update),h.fragment=!!r&&r(h.ctx),e.target){if(e.hydrate){i=e.target;const z=Array.from(i.childNodes);h.fragment&&h.fragment.l(z),z.forEach(V)}else h.fragment&&h.fragment.c();e.intro&&(a=o.$$.fragment)&&a.i&&(ie.delete(a),a.i(void 0));var c=o,s=e.target,t=e.anchor,r=e.customElement,{fragment:i,after_update:a}=c.$$;i&&i.m(s,t),r||re(()=>{var e=c.$$.on_mount.map(S).filter(k);c.$$.on_destroy?c.$$.on_destroy.push(...e):D(e),c.$$.on_mount=[]}),a.forEach(re),d()}$(l)}let ae;"function"==typeof HTMLElement&&(ae=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const e=this.$$["on_mount"];this.$$.on_disconnect=e.map(S).filter(k);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,r){this[e]=r}disconnectedCallback(){D(this.$$.on_disconnect)}$destroy(){var e=this,t=1;if(null!==(e=e.$$).fragment){{var r=e.after_update;const o=[],n=[];J.forEach(e=>(-1===r.indexOf(e)?o:n).push(e)),n.forEach(e=>e()),J=o}D(e.on_destroy),e.fragment&&e.fragment.d(t),e.on_destroy=e.fragment=null,e.ctx=[]}this.$destroy=z}$on(e,t){if(!k(t))return z;const r=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return r.push(t),()=>{var e=r.indexOf(t);-1!==e&&r.splice(e,1)}}$set(e){this.$$set&&0!==Object.keys(e).length&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}});var le,he,l="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||"undefined"!=typeof global&&global||{},ue="URLSearchParams"in l,ce="Symbol"in l&&"iterator"in Symbol,de="FileReader"in l&&"Blob"in l&&function(){try{return new Blob,!0}catch(e){return!1}}(),pe="FormData"in l,me="ArrayBuffer"in l;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 _e(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 ce&&(e[Symbol.iterator]=function(){return e}),e}function h(t){this.map={},t instanceof h?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 ge(e){if(!e._noBody)return e.bodyUsed?Promise.reject(new TypeError("Already read")):void(e.bodyUsed=!0)}function ve(r){return new Promise(function(e,t){r.onload=function(){e(r.result)},r.onerror=function(){t(r.error)}})}function be(e){var t=new FileReader,r=ve(t);return t.readAsArrayBuffer(e),r}function we(e){var t;return e.slice?e.slice(0):((t=new Uint8Array(e.byteLength)).set(new Uint8Array(e)),t.buffer)}function xe(){return this.bodyUsed=!1,this._initBody=function(e){var t;this.bodyUsed=this.bodyUsed,(this._bodyInit=e)?"string"==typeof e?this._bodyText=e:de&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:pe&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:ue&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():me&&de&&(t=e)&&DataView.prototype.isPrototypeOf(t)?(this._bodyArrayBuffer=we(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):me&&(ArrayBuffer.prototype.isPrototypeOf(e)||he(e))?this._bodyArrayBuffer=we(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):ue&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},de&&(this.blob=function(){var e=ge(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 ge(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(de)return this.blob().then(be);throw new Error("could not read as ArrayBuffer")},this.text=function(){var e,t,r,o=ge(this);if(o)return o;if(this._bodyBlob)return o=this._bodyBlob,t=ve(e=new FileReader),r=(r=/charset=([A-Za-z0-9_-]+)/.exec(o.type))?r[1]:"utf-8",e.readAsText(o,r),t;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),r=new Array(t.length),o=0;o<t.length;o++)r[o]=String.fromCharCode(t[o]);return r.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},pe&&(this.formData=function(){return this.text().then(Ce)}),this.json=function(){return this.text().then(JSON.parse)},this}me&&(le=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],he=ArrayBuffer.isView||function(e){return e&&-1<le.indexOf(Object.prototype.toString.call(e))}),h.prototype.append=function(e,t){e=fe(e),t=_e(t);var r=this.map[e];this.map[e]=r?r+", "+t:t},h.prototype.delete=function(e){delete this.map[fe(e)]},h.prototype.get=function(e){return e=fe(e),this.has(e)?this.map[e]:null},h.prototype.has=function(e){return this.map.hasOwnProperty(fe(e))},h.prototype.set=function(e,t){this.map[fe(e)]=_e(t)},h.prototype.forEach=function(e,t){for(var r in this.map)this.map.hasOwnProperty(r)&&e.call(t,this.map[r],r,this)},h.prototype.keys=function(){var r=[];return this.forEach(function(e,t){r.push(t)}),ye(r)},h.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),ye(t)},h.prototype.entries=function(){var r=[];return this.forEach(function(e,t){r.push([t,e])}),ye(r)},ce&&(h.prototype[Symbol.iterator]=h.prototype.entries);var Ee=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];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.');var r,o=(t=t||{}).body;if(e instanceof Ae){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new h(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,o||null==e._bodyInit||(o=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 h(t.headers)),this.method=(r=(e=t.method||this.method||"GET").toUpperCase(),-1<Ee.indexOf(r)?r:e),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal||function(){if("AbortController"in l)return(new AbortController).signal}(),this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&o)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(o),"GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache||((r=/([?&])_=[^&]*/).test(this.url)?this.url=this.url.replace(r,"$1_="+(new Date).getTime()):this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime())}function Ce(e){var r=new FormData;return e.trim().split("&").forEach(function(e){var t;e&&(t=(e=e.split("=")).shift().replace(/\+/g," "),e=e.join("=").replace(/\+/g," "),r.append(decodeURIComponent(t),decodeURIComponent(e)))}),r}function Te(e,t){if(!(this instanceof Te))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 h(t.headers),this.url=t.url||"",this._initBody(e)}Ae.prototype.clone=function(){return new Ae(this,{body:this._bodyInit})},xe.call(Ae.prototype),xe.call(Te.prototype),Te.prototype.clone=function(){return new Te(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new h(this.headers),url:this.url})},Te.error=function(){var e=new Te(null,{status:200,statusText:""});return e.status=0,e.type="error",e};var Se=[301,302,303,307,308],Pe=(Te.redirect=function(e,t){if(-1===Se.indexOf(t))throw new RangeError("Invalid status code");return new Te(null,{status:t,headers:{location:e}})},l.DOMException);try{new Pe}catch(z){(Pe=function(e,t){this.message=e,this.name=t;t=Error(e);this.stack=t.stack}).prototype=Object.create(Error.prototype),Pe.prototype.constructor=Pe}function De(o,a){return new Promise(function(n,e){var i=new Ae(o,a);if(i.signal&&i.signal.aborted)return e(new Pe("Aborted","AbortError"));var r,s=new XMLHttpRequest;function t(){s.abort()}s.onload=function(){var e,o,t={statusText:s.statusText,headers:(e=s.getAllResponseHeaders()||"",o=new h,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(":"),r=t.shift().trim();if(r){t=t.join(":").trim();try{o.append(r,t)}catch(e){console.warn("Response "+e.message)}}}),o)},r=(i.url.startsWith("file://")&&(s.status<200||599<s.status)?t.status=200:t.status=s.status,t.url="responseURL"in s?s.responseURL:t.headers.get("X-Request-URL"),"response"in s?s.response:s.responseText);setTimeout(function(){n(new Te(r,t))},0)},s.onerror=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},s.ontimeout=function(){setTimeout(function(){e(new TypeError("Network request timed out"))},0)},s.onabort=function(){setTimeout(function(){e(new Pe("Aborted","AbortError"))},0)},s.open(i.method,function(t){try{return""===t&&l.location.href?l.location.href:t}catch(e){return t}}(i.url),!0),"include"===i.credentials?s.withCredentials=!0:"omit"===i.credentials&&(s.withCredentials=!1),"responseType"in s&&(de?s.responseType="blob":me&&(s.responseType="arraybuffer")),a&&"object"==typeof a.headers&&!(a.headers instanceof h||l.Headers&&a.headers instanceof l.Headers)?(r=[],Object.getOwnPropertyNames(a.headers).forEach(function(e){r.push(fe(e)),s.setRequestHeader(e,_e(a.headers[e]))}),i.headers.forEach(function(e,t){-1===r.indexOf(t)&&s.setRequestHeader(t,e)})):i.headers.forEach(function(e,t){s.setRequestHeader(t,e)}),i.signal&&(i.signal.addEventListener("abort",t),s.onreadystatechange=function(){4===s.readyState&&i.signal.removeEventListener("abort",t)}),s.send(void 0===i._bodyInit?null:i._bodyInit)})}function kr(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}De.polyfill=!0,l.fetch||(l.fetch=De,l.Headers=h,l.Request=Ae,l.Response=Te),self.fetch.bind(self);var ke=function(e,t){return(ke=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}))(e,t)};function Oe(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}ke(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}function Me(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],o=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return{value:(e=e&&o>=e.length?void 0:e)&&e[o++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function Ne(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var o,n,i=r.call(e),s=[];try{for(;(void 0===t||0<t--)&&!(o=i.next()).done;)s.push(o.value)}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return s}function Be(e,t,r){if(r||2===arguments.length)for(var o,n=0,i=t.length;n<i;n++)!o&&n in t||((o=o||Array.prototype.slice.call(t,0,n))[n]=t[n]);return e.concat(o||Array.prototype.slice.call(t))}function Ie(e){return"function"==typeof e}function He(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 Le=He(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 Re(e,t){e&&0<=(t=e.indexOf(t))&&e.splice(t,1)}r.prototype.unsubscribe=function(){var e,t,r,o,n;if(!this.closed){this.closed=!0;var i=this._parentage;if(i)if(this._parentage=null,Array.isArray(i))try{for(var s=Me(i),a=s.next();!a.done;a=s.next())a.value.remove(this)}catch(t){e={error:t}}finally{try{a&&!a.done&&(t=s.return)&&t.call(s)}finally{if(e)throw e.error}}else i.remove(this);i=this.initialTeardown;if(Ie(i))try{i()}catch(e){n=e instanceof Le?e.errors:[e]}i=this._finalizers;if(i){this._finalizers=null;try{for(var l=Me(i),h=l.next();!h.done;h=l.next()){var u=h.value;try{ze(u)}catch(e){n=null!=n?n:[],e instanceof Le?n=Be(Be([],Ne(n)),Ne(e.errors)):n.push(e)}}}catch(e){r={error:e}}finally{try{h&&!h.done&&(o=l.return)&&o.call(l)}finally{if(r)throw r.error}}}if(n)throw new Le(n)}},r.prototype.add=function(e){var t;if(e&&e!==this)if(this.closed)ze(e);else{if(e instanceof r){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=null!=(t=this._finalizers)?t:[]).push(e)}},r.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},r.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},r.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&Re(t,e)},r.prototype.remove=function(e){var t=this._finalizers;t&&Re(t,e),e instanceof r&&e._removeParent(this)},r.EMPTY=((e=new r).closed=!0,e);var Fe=r,Ye=Fe.EMPTY;function r(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}function $e(e){return e instanceof Fe||e&&"closed"in e&&Ie(e.remove)&&Ie(e.add)&&Ie(e.unsubscribe)}function ze(e){Ie(e)?e():e.unsubscribe()}var Ue=void 0,je=!1,Ve=!1,We={setTimeout:function(e,t){for(var r=[],o=2;o<arguments.length;o++)r[o-2]=arguments[o];var n=We.delegate;return null!=n&&n.setTimeout?n.setTimeout.apply(n,Be([e,t],Ne(r))):setTimeout.apply(void 0,Be([e,t],Ne(r)))},clearTimeout:function(e){var t=We.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function Ge(){}var qe=null;function Ke(e){if(je){var t=!qe;if(t&&(qe={errorThrown:!1,error:null}),e(),t){var t=qe,r=t.errorThrown,t=t.error;if(qe=null,r)throw t}}else e()}Oe(Qe,Xe=Fe),Qe.create=function(e,t,r){return new ot(e,t,r)},Qe.prototype.next=function(e){this.isStopped||this._next(e)},Qe.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},Qe.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},Qe.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,Xe.prototype.unsubscribe.call(this),this.destination=null)},Qe.prototype._next=function(e){this.destination.next(e)},Qe.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},Qe.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}};var Xe,Ze=Qe,Je=Function.prototype.bind;function Qe(e){var t=Xe.call(this)||this;return t.isStopped=!1,e?$e(t.destination=e)&&e.add(t):t.destination=at,t}function et(e,t){return Je.call(e,t)}it.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(e){st(e)}},it.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){st(e)}else st(e)},it.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){st(e)}};var tt,rt=it,ot=(Oe(nt,tt=Ze),nt);function nt(e,t,r){var o=tt.call(this)||this,r=Ie(e)||!e?{next:null!=e?e:void 0,error:null!=t?t:void 0,complete:null!=r?r:void 0}:o&&Ve?((t=Object.create(e)).unsubscribe=function(){return o.unsubscribe()},{next:e.next&&et(e.next,t),error:e.error&&et(e.error,t),complete:e.complete&&et(e.complete,t)}):e;return o.destination=new rt(r),o}function it(e){this.partialObserver=e}function st(e){var t=e;We.setTimeout(function(){throw t})}var at={closed:!0,next:Ge,error:function(e){throw e},complete:Ge},e="function"==typeof Symbol&&Symbol.observable||"@@observable";o.prototype.lift=function(e){var t=new o;return t.source=this,t.operator=e,t},o.prototype.subscribe=function(e,t,r){var o,n=this,i=(o=e)&&o instanceof Ze||o&&Ie(o.next)&&Ie(o.error)&&Ie(o.complete)&&$e(o)?e:new ot(e,t,r);return Ke(function(){var e=n.operator,t=n.source;i.add(e?e.call(i,t):t?n._subscribe(i):n._trySubscribe(i))}),i},o.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},o.prototype.forEach=function(o,e){var n=this;return new(e=ht(e))(function(e,t){var r=new ot({next:function(e){try{o(e)}catch(e){t(e),r.unsubscribe()}},error:t,complete:e});n.subscribe(r)})},o.prototype._subscribe=function(e){var t;return null==(t=this.source)?void 0:t.subscribe(e)},o.prototype[e]=function(){return this},o.prototype.pipe=function(){for(var t,e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];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)},o.prototype.toPromise=function(e){var o=this;return new(e=ht(e))(function(e,t){var r;o.subscribe(function(e){return r=e},function(e){return t(e)},function(){return e(r)})})},o.create=function(e){return new o(e)};var lt=o;function o(e){e&&(this._subscribe=e)}function ht(e){return null!=(e=null!=e?e:Ue)?e:Promise}var ut,ct,dt,pt=He(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),e=(Oe(n,dt=lt),n.prototype.lift=function(e){var t=new mt(this,this);return t.operator=e,t},n.prototype._throwIfClosed=function(){if(this.closed)throw new pt},n.prototype.next=function(n){var i=this;Ke(function(){var t,e;if(i._throwIfClosed(),!i.isStopped){i.currentObservers||(i.currentObservers=Array.from(i.observers));try{for(var r=Me(i.currentObservers),o=r.next();!o.done;o=r.next())o.value.next(n)}catch(e){t={error:e}}finally{try{o&&!o.done&&(e=r.return)&&e.call(r)}finally{if(t)throw t.error}}}})},n.prototype.error=function(t){var r=this;Ke(function(){if(r._throwIfClosed(),!r.isStopped){r.hasError=r.isStopped=!0,r.thrownError=t;for(var e=r.observers;e.length;)e.shift().error(t)}})},n.prototype.complete=function(){var t=this;Ke(function(){if(t._throwIfClosed(),!t.isStopped){t.isStopped=!0;for(var e=t.observers;e.length;)e.shift().complete()}})},n.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(n.prototype,"observed",{get:function(){var e;return 0<(null==(e=this.observers)?void 0:e.length)},enumerable:!1,configurable:!0}),n.prototype._trySubscribe=function(e){return this._throwIfClosed(),dt.prototype._trySubscribe.call(this,e)},n.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},n.prototype._innerSubscribe=function(e){var t=this,r=this.hasError,o=this.isStopped,n=this.observers;return r||o?Ye:(this.currentObservers=null,n.push(e),new Fe(function(){t.currentObservers=null,Re(n,e)}))},n.prototype._checkFinalizedStatuses=function(e){var t=this.hasError,r=this.thrownError,o=this.isStopped;t?e.error(r):o&&e.complete()},n.prototype.asObservable=function(){var e=new lt;return e.source=this,e},n.create=function(e,t){return new mt(e,t)},n),mt=(Oe(gt,ct=e),gt.prototype.next=function(e){var t,r;null!=(r=null==(t=this.destination)?void 0:t.next)&&r.call(t,e)},gt.prototype.error=function(e){var t,r;null!=(r=null==(t=this.destination)?void 0:t.error)&&r.call(t,e)},gt.prototype.complete=function(){var e,t;null!=(t=null==(e=this.destination)?void 0:e.complete)&&t.call(e)},gt.prototype._subscribe=function(e){var t;return null!=(t=null==(t=this.source)?void 0:t.subscribe(e))?t:Ye},gt),ft={now:function(){return(ft.delegate||Date).now()},delegate:void 0},_t=(Oe(yt,ut=e),yt.prototype.next=function(e){var t=this,r=t.isStopped,o=t._buffer,n=t._infiniteTimeWindow,i=t._timestampProvider,t=t._windowTime;r||(o.push(e),n)||o.push(i.now()+t),this._trimBuffer(),ut.prototype.next.call(this,e)},yt.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),r=this._infiniteTimeWindow,o=this._buffer.slice(),n=0;n<o.length&&!e.closed;n+=r?1:2)e.next(o[n]);return this._checkFinalizedStatuses(e),t},yt.prototype._trimBuffer=function(){var e=this._bufferSize,t=this._timestampProvider,r=this._buffer,o=this._infiniteTimeWindow,n=(o?1:2)*e;if(e<1/0&&n<r.length&&r.splice(0,r.length-n),!o){for(var i=t.now(),s=0,a=1;a<r.length&&r[a]<=i;a+=2)s=a;s&&r.splice(0,s+1)}},yt);function yt(e,t,r){void 0===e&&(e=1/0),void 0===t&&(t=1/0),void 0===r&&(r=ft);var o=ut.call(this)||this;return o._bufferSize=e,o._windowTime=t,o._timestampProvider=r,o._buffer=[],o._infiniteTimeWindow=!0,o._infiniteTimeWindow=t===1/0,o._bufferSize=Math.max(1,e),o._windowTime=Math.max(1,t),o}function gt(e,t){var r=ct.call(this)||this;return r.destination=e,r.source=t,r}function n(){var e=dt.call(this)||this;return e.closed=!1,e.currentObservers=null,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}let vt=[],bt={};const wt=[];function xt(o,n=z){let i;const s=new Set;function a(e){if(O(o,e)&&(o=e,i)){const e=!wt.length;for(const e of s)e[1](),wt.push(e,o);if(e){for(let e=0;e<wt.length;e+=2)wt[e][0](wt[e+1]);wt.length=0}}}return{set:a,update:function(e){a(e(o))},subscribe:function(e,t=z){const r=[e,t];return s.add(r),1===s.size&&(i=n(a)||z),e(o),()=>{s.delete(r),0===s.size&&i&&(i(),i=null)}}}}function Et(e,a,t){const l=!Array.isArray(e),h=l?[e]:e,u=a.length<2;return{subscribe:xt(t,t=>{let r=!1;const o=[];let n=0,i=z;const s=()=>{var e;n||(i(),e=a(l?o[0]:o,t),u?t(e):i=k(e)?e:z)},e=h.map((e,t)=>M(e,e=>{o[t]=e,n&=~(1<<t),r&&s()},()=>{n|=1<<t}));return r=!0,s(),function(){D(e),i(),r=!1}}).subscribe}}function At(e){return!(!e||"object"!=typeof e||(e=e,"[object RegExp]"===(t=Object.prototype.toString.call(e)))||"[object Date]"===t||e.$$typeof===Ct);var t}var Ct="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function Tt(e,t){return!1!==t.clone&&t.isMergeableObject(e)?Ot(Array.isArray(e)?[]:{},e,t):e}function St(e,t,r){return e.concat(t).map(function(e){return Tt(e,r)})}function Pt(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 Dt(e,t){try{return t in e}catch(e){return!1}}function kt(o,n,i){var s={};return i.isMergeableObject(o)&&Pt(o).forEach(function(e){s[e]=Tt(o[e],i)}),Pt(n).forEach(function(e){var t,r;(!Dt(t=o,r=e)||Object.hasOwnProperty.call(t,r)&&Object.propertyIsEnumerable.call(t,r))&&(Dt(o,e)&&i.isMergeableObject(n[e])?s[e]=((t=i).customMerge&&"function"==typeof(t=t.customMerge(e))?t:Ot)(o[e],n[e],i):s[e]=Tt(n[e],i))}),s}function Ot(e,t,r){(r=r||{}).arrayMerge=r.arrayMerge||St,r.isMergeableObject=r.isMergeableObject||At,r.cloneUnlessOtherwiseSpecified=Tt;var o=Array.isArray(t);return o===Array.isArray(e)?o?r.arrayMerge(e,t,r):kt(e,t,r):Tt(t,r)}Ot.all=function(e,r){if(Array.isArray(e))return e.reduce(function(e,t){return Ot(e,t,r)},{});throw new Error("first argument should be an array")};var Mt=Ot,Nt=function(e,t){return(Nt=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}))(e,t)};function Bt(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}Nt(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var f,y,It,_=function(){return(_=Object.assign||function(e){for(var t,r=1,o=arguments.length;r<o;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}).apply(this,arguments)};function Ht(e,t,r){if(r||2===arguments.length)for(var o,n=0,i=t.length;n<i;n++)!o&&n in t||((o=o||Array.prototype.slice.call(t,0,n))[n]=t[n]);return e.concat(o||Array.prototype.slice.call(t))}function Lt(e){return e.type===y.literal}function Rt(e){return e.type===y.number}function Ft(e){return e.type===y.date}function Yt(e){return e.type===y.time}function $t(e){return e.type===y.select}function zt(e){return e.type===y.plural}function Ut(e){return e.type===y.tag}function jt(e){return e&&"object"==typeof e&&e.type===It.number}function Vt(e){return e&&"object"==typeof e&&e.type===It.dateTime}(e=f=f||{})[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG",(e=y=y||{})[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag",(e=It=It||{})[e.number=0]="number",e[e.dateTime=1]="dateTime";var e=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Wt=/(?:[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 Gt=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,qt=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Kt=/^(@+)?(\+|#+)?[rs]?$/g,Xt=/(\*)(0+)|(#+)(0+)|(0+)/g,Zt=/^(0+)$/;function Jt(e){var o={};return"r"===e[e.length-1]?o.roundingPriority="morePrecision":"s"===e[e.length-1]&&(o.roundingPriority="lessPrecision"),e.replace(Kt,function(e,t,r){return"string"!=typeof r?(o.minimumSignificantDigits=t.length,o.maximumSignificantDigits=t.length):"+"===r?o.minimumSignificantDigits=t.length:"#"===t[0]?o.maximumSignificantDigits=t.length:(o.minimumSignificantDigits=t.length,o.maximumSignificantDigits=t.length+("string"==typeof r?r.length:0)),""}),o}function Qt(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 er(e){return Qt(e)||{}}function tr(e){for(var s={},t=0,r=e;t<r.length;t++){var o,n=r[t];switch(n.stem){case"percent":case"%":s.style="percent";continue;case"%x100":s.style="percent",s.scale=100;continue;case"currency":s.style="currency",s.currency=n.options[0];continue;case"group-off":case",_":s.useGrouping=!1;continue;case"precision-integer":case".":s.maximumFractionDigits=0;continue;case"measure-unit":case"unit":s.style="unit",s.unit=n.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":s.notation="compact",s.compactDisplay="short";continue;case"compact-long":case"KK":s.notation="compact",s.compactDisplay="long";continue;case"scientific":s=_(_(_({},s),{notation:"scientific"}),n.options.reduce(function(e,t){return _(_({},e),er(t))},{}));continue;case"engineering":s=_(_(_({},s),{notation:"engineering"}),n.options.reduce(function(e,t){return _(_({},e),er(t))},{}));continue;case"notation-simple":s.notation="standard";continue;case"unit-width-narrow":s.currencyDisplay="narrowSymbol",s.unitDisplay="narrow";continue;case"unit-width-short":s.currencyDisplay="code",s.unitDisplay="short";continue;case"unit-width-full-name":s.currencyDisplay="name",s.unitDisplay="long";continue;case"unit-width-iso-code":s.currencyDisplay="symbol";continue;case"scale":s.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(Xt,function(e,t,r,o,n,i){if(t)s.minimumIntegerDigits=r.length;else{if(o&&n)throw new Error("We currently do not support maximum integer digits");if(i)throw new Error("We currently do not support exact integer digits")}return""});continue}if(Zt.test(n.stem))s.minimumIntegerDigits=n.stem.length;else if(qt.test(n.stem)){if(1<n.options.length)throw new RangeError("Fraction-precision stems only accept a single optional option");n.stem.replace(qt,function(e,t,r,o,n,i){return"*"===r?s.minimumFractionDigits=t.length:o&&"#"===o[0]?s.maximumFractionDigits=o.length:n&&i?(s.minimumFractionDigits=n.length,s.maximumFractionDigits=n.length+i.length):(s.minimumFractionDigits=t.length,s.maximumFractionDigits=t.length),""});var i=n.options[0];"w"===i?s=_(_({},s),{trailingZeroDisplay:"stripIfInteger"}):i&&(s=_(_({},s),Jt(i)))}else Kt.test(n.stem)?s=_(_({},s),Jt(n.stem)):((i=Qt(n.stem))&&(s=_(_({},s),i)),(o=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 r=e.slice(0,2);if("+!"===r?(t.signDisplay="always",e=e.slice(2)):"+?"===r&&(t.signDisplay="exceptZero",e=e.slice(2)),!Zt.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(n.stem))&&(s=_(_({},s),o)))}return s}var rr={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 or=new RegExp("^".concat(e.source,"*")),nr=new RegExp("".concat(e.source,"*$"));function g(e,t){return{start:e,end:t}}var e=!!String.prototype.startsWith,i=!!String.fromCodePoint,ir=!!Object.fromEntries,sr=!!String.prototype.codePointAt,s=!!String.prototype.trimStart,ar=!!String.prototype.trimEnd,lr=Number.isSafeInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},a=!0;try{a="a"===(null==(Dr=yr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))?void 0:Dr[0])}catch(An){a=!1}var hr,ur,cr=e?function(e,t,r){return e.startsWith(t,r)}:function(e,t,r){return e.slice(r,r+t.length)===t},dr=i?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r,o="",n=e.length,i=0;i<n;){if(1114111<(r=e[i++]))throw RangeError(r+" is not a valid code point");o+=r<65536?String.fromCharCode(r):String.fromCharCode(55296+((r-=65536)>>10),r%1024+56320)}return o},pr=ir?Object.fromEntries:function(e){for(var t={},r=0,o=e;r<o.length;r++){var n=o[r],i=n[0],n=n[1];t[i]=n}return t},mr=sr?function(e,t){return e.codePointAt(t)}:function(e,t){var r,o=e.length;if(!(t<0||o<=t))return(r=e.charCodeAt(t))<55296||56319<r||t+1===o||(o=e.charCodeAt(t+1))<56320||57343<o?r:o-56320+(r-55296<<10)+65536},fr=s?function(e){return e.trimStart()}:function(e){return e.replace(or,"")},_r=ar?function(e){return e.trimEnd()}:function(e){return e.replace(nr,"")};function yr(e,t){return new RegExp(e,t)}ur=a?(hr=yr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),function(e,t){return hr.lastIndex=t,null!=(t=hr.exec(e)[1])?t:""}):function(e,t){for(var r,o=[];;){var n=mr(e,t);if(void 0===n||br(n)||33<=(r=n)&&r<=35||36===r||37<=r&&r<=39||40===r||41===r||42===r||43===r||44===r||45===r||46<=r&&r<=47||58<=r&&r<=59||60<=r&&r<=62||63<=r&&r<=64||91===r||92===r||93===r||94===r||96===r||123===r||124===r||125===r||126===r||161===r||162<=r&&r<=165||166===r||167===r||169===r||171===r||172===r||174===r||176===r||177===r||182===r||187===r||191===r||215===r||247===r||8208<=r&&r<=8213||8214<=r&&r<=8215||8216===r||8217===r||8218===r||8219<=r&&r<=8220||8221===r||8222===r||8223===r||8224<=r&&r<=8231||8240<=r&&r<=8248||8249===r||8250===r||8251<=r&&r<=8254||8257<=r&&r<=8259||8260===r||8261===r||8262===r||8263<=r&&r<=8273||8274===r||8275===r||8277<=r&&r<=8286||8592<=r&&r<=8596||8597<=r&&r<=8601||8602<=r&&r<=8603||8604<=r&&r<=8607||8608===r||8609<=r&&r<=8610||8611===r||8612<=r&&r<=8613||8614===r||8615<=r&&r<=8621||8622===r||8623<=r&&r<=8653||8654<=r&&r<=8655||8656<=r&&r<=8657||8658===r||8659===r||8660===r||8661<=r&&r<=8691||8692<=r&&r<=8959||8960<=r&&r<=8967||8968===r||8969===r||8970===r||8971===r||8972<=r&&r<=8991||8992<=r&&r<=8993||8994<=r&&r<=9e3||9001===r||9002===r||9003<=r&&r<=9083||9084===r||9085<=r&&r<=9114||9115<=r&&r<=9139||9140<=r&&r<=9179||9180<=r&&r<=9185||9186<=r&&r<=9254||9255<=r&&r<=9279||9280<=r&&r<=9290||9291<=r&&r<=9311||9472<=r&&r<=9654||9655===r||9656<=r&&r<=9664||9665===r||9666<=r&&r<=9719||9720<=r&&r<=9727||9728<=r&&r<=9838||9839===r||9840<=r&&r<=10087||10088===r||10089===r||10090===r||10091===r||10092===r||10093===r||10094===r||10095===r||10096===r||10097===r||10098===r||10099===r||10100===r||10101===r||10132<=r&&r<=10175||10176<=r&&r<=10180||10181===r||10182===r||10183<=r&&r<=10213||10214===r||10215===r||10216===r||10217===r||10218===r||10219===r||10220===r||10221===r||10222===r||10223===r||10224<=r&&r<=10239||10240<=r&&r<=10495||10496<=r&&r<=10626||10627===r||10628===r||10629===r||10630===r||10631===r||10632===r||10633===r||10634===r||10635===r||10636===r||10637===r||10638===r||10639===r||10640===r||10641===r||10642===r||10643===r||10644===r||10645===r||10646===r||10647===r||10648===r||10649<=r&&r<=10711||10712===r||10713===r||10714===r||10715===r||10716<=r&&r<=10747||10748===r||10749===r||10750<=r&&r<=11007||11008<=r&&r<=11055||11056<=r&&r<=11076||11077<=r&&r<=11078||11079<=r&&r<=11084||11085<=r&&r<=11123||11124<=r&&r<=11125||11126<=r&&r<=11157||11158===r||11159<=r&&r<=11263||11776<=r&&r<=11777||11778===r||11779===r||11780===r||11781===r||11782<=r&&r<=11784||11785===r||11786===r||11787===r||11788===r||11789===r||11790<=r&&r<=11798||11799===r||11800<=r&&r<=11801||11802===r||11803===r||11804===r||11805===r||11806<=r&&r<=11807||11808===r||11809===r||11810===r||11811===r||11812===r||11813===r||11814===r||11815===r||11816===r||11817===r||11818<=r&&r<=11822||11823===r||11824<=r&&r<=11833||11834<=r&&r<=11835||11836<=r&&r<=11839||11840===r||11841===r||11842===r||11843<=r&&r<=11855||11856<=r&&r<=11857||11858===r||11859<=r&&r<=11903||12289<=r&&r<=12291||12296===r||12297===r||12298===r||12299===r||12300===r||12301===r||12302===r||12303===r||12304===r||12305===r||12306<=r&&r<=12307||12308===r||12309===r||12310===r||12311===r||12312===r||12313===r||12314===r||12315===r||12316===r||12317===r||12318<=r&&r<=12319||12320===r||12336===r||64830===r||64831===r||65093<=r&&r<=65094)break;o.push(n),t+=65536<=n?2:1}return dr.apply(void 0,o)};u.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},u.prototype.parseMessage=function(e,t,r){for(var o=[];!this.isEOF();){var n,i=this.char();if(123===i){if((n=this.parseArgument(e,r)).err)return n;o.push(n.val)}else{if(125===i&&0<e)break;if(35!==i||"plural"!==t&&"selectordinal"!==t){if(60===i&&!this.ignoreTag&&47===this.peek()){if(r)break;return this.error(f.UNMATCHED_CLOSING_TAG,g(this.clonePosition(),this.clonePosition()))}if(60===i&&!this.ignoreTag&&vr(this.peek()||0)){if((n=this.parseTag(e,t)).err)return n}else if((n=this.parseLiteral(e,t)).err)return n;o.push(n.val)}else{i=this.clonePosition();this.bump(),o.push({type:y.pound,location:g(i,this.clonePosition())})}}}return{val:o,err:null}},u.prototype.parseTag=function(e,t){var r,o=this.clonePosition(),n=(this.bump(),this.parseTagName());return this.bumpSpace(),this.bumpIf("/>")?{val:{type:y.literal,value:"<".concat(n,"/>"),location:g(o,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()||!vr(this.char())?this.error(f.INVALID_TAG,g(e,this.clonePosition())):(r=this.clonePosition(),n!==this.parseTagName()?this.error(f.UNMATCHED_CLOSING_TAG,g(r,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:y.tag,value:n,children:t,location:g(o,this.clonePosition())},err:null}:this.error(f.INVALID_TAG,g(e,this.clonePosition())))):this.error(f.UNCLOSED_TAG,g(o,this.clonePosition()))):this.error(f.INVALID_TAG,g(o,this.clonePosition()))},u.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())},u.prototype.parseLiteral=function(e,t){for(var r=this.clonePosition(),o="";;){var n=this.tryParseQuote(t);if(n)o+=n;else{n=this.tryParseUnquoted(e,t);if(n)o+=n;else{n=this.tryParseLeftAngleBracket();if(!n)break;o+=n}}}r=g(r,this.clonePosition());return{val:{type:y.literal,value:o,location:r},err:null}},u.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(vr(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},u.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 r=this.char();if(39===r){if(39!==this.peek()){this.bump();break}t.push(39),this.bump()}else t.push(r);this.bump()}return dr.apply(void 0,t)},u.prototype.tryParseUnquoted=function(e,t){var r;return this.isEOF()||60===(r=this.char())||123===r||35===r&&("plural"===t||"selectordinal"===t)||125===r&&0<e?null:(this.bump(),dr(r))},u.prototype.parseArgument=function(e,t){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(f.EXPECT_ARGUMENT_CLOSING_BRACE,g(r,this.clonePosition()));if(125===this.char())return this.bump(),this.error(f.EMPTY_ARGUMENT,g(r,this.clonePosition()));var o=this.parseIdentifierIfPossible().value;if(!o)return this.error(f.MALFORMED_ARGUMENT,g(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(f.EXPECT_ARGUMENT_CLOSING_BRACE,g(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:y.argument,value:o,location:g(r,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(f.EXPECT_ARGUMENT_CLOSING_BRACE,g(r,this.clonePosition())):this.parseArgumentOptions(e,t,o,r);default:return this.error(f.MALFORMED_ARGUMENT,g(r,this.clonePosition()))}},u.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),r=ur(this.message,t),t=t+r.length;return this.bumpTo(t),{value:r,location:g(e,this.clonePosition())}},u.prototype.parseArgumentOptions=function(e,t,r,o){var n,i=this.clonePosition(),s=this.parseIdentifierIfPossible().value,a=this.clonePosition();switch(s){case"":return this.error(f.EXPECT_ARGUMENT_TYPE,g(i,a));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var h=this.clonePosition();if((c=this.parseSimpleArgStyleIfPossible()).err)return c;if(0===(d=_r(c.val)).length)return this.error(f.EXPECT_ARGUMENT_STYLE,g(this.clonePosition(),this.clonePosition()));l={style:d,styleLocation:g(h,this.clonePosition())}}return(h=this.tryParseArgumentClose(o)).err?h:(p=g(o,this.clonePosition()),l&&cr(null==l?void 0:l.style,"::",0)?(m=fr(l.style.slice(2)),"number"===s?(c=this.parseNumberSkeletonFromString(m,l.styleLocation)).err?c:{val:{type:y.number,value:r,location:p,style:c.val},err:null}:0===m.length?this.error(f.EXPECT_DATE_TIME_SKELETON,p):(u=m,this.locale&&(u=function(e,t){for(var r="",o=0;o<e.length;o++){var n=e.charAt(o);if("j"===n){for(var i=0;o+1<e.length&&e.charAt(o+1)===n;)i++,o++;var s=1+(1&i),a=i<2?1:3+(i>>1),l=function(e){var t,r=e.hourCycle;if(r=void 0===r&&e.hourCycles&&e.hourCycles.length?e.hourCycles[0]:r)switch(r){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}return"root"!==(r=e.language)&&(t=e.maximize().region),(rr[t||""]||rr[r||""]||rr["".concat(r,"-001")]||rr["001"])[0]}(t);for("H"!=l&&"k"!=l||(a=0);0<a--;)r+="a";for(;0<s--;)r=l+r}else r+="J"===n?"H":n}return r}(m,this.locale)),d={type:It.dateTime,pattern:u,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?(n={},u.replace(Wt,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"===s?y.date:y.time,value:r,location:p,style:d},err:null})):{val:{type:"number"===s?y.number:"date"===s?y.date:y.time,value:r,location:p,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,g(u,_({},u)));this.bumpSpace();var c,d=this.parseIdentifierIfPossible(),p=0;if("select"!==s&&"offset"===d.value){if(!this.bumpIf(":"))return this.error(f.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,g(this.clonePosition(),this.clonePosition()));if(this.bumpSpace(),(c=this.tryParseDecimalInteger(f.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,f.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return c;this.bumpSpace(),d=this.parseIdentifierIfPossible(),p=c.val}var m,l=this.tryParsePluralOrSelectOptions(e,s,t,d);return l.err?l:(h=this.tryParseArgumentClose(o)).err?h:(m=g(o,this.clonePosition()),"select"===s?{val:{type:y.select,value:r,options:pr(l.val),location:m},err:null}:{val:{type:y.plural,value:r,options:pr(l.val),offset:p,pluralType:"plural"===s?"cardinal":"ordinal",location:m},err:null});default:return this.error(f.INVALID_ARGUMENT_TYPE,g(i,a))}},u.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(f.EXPECT_ARGUMENT_CLOSING_BRACE,g(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},u.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();)switch(this.char()){case 39:this.bump();var r=this.clonePosition();if(!this.bumpUntil("'"))return this.error(f.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,g(r,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}},u.prototype.parseNumberSkeletonFromString=function(e,t){var r=[];try{r=function(e){if(0===e.length)throw new Error("Number skeleton cannot be empty");for(var t=[],r=0,o=e.split(Gt).filter(function(e){return 0<e.length});r<o.length;r++){var n=o[r].split("/");if(0===n.length)throw new Error("Invalid number skeleton");for(var i=n[0],n=n.slice(1),s=0,a=n;s<a.length;s++)if(0===a[s].length)throw new Error("Invalid number skeleton");t.push({stem:i,options:n})}return t}(e)}catch(e){return this.error(f.INVALID_NUMBER_SKELETON,t)}return{val:{type:It.number,tokens:r,location:t,parsedOptions:this.shouldParseSkeletons?tr(r):{}},err:null}},u.prototype.tryParsePluralOrSelectOptions=function(e,t,r,o){for(var n=!1,i=[],s=new Set,a=o.value,l=o.location;;){if(0===a.length){var h=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=g(h,this.clonePosition()),a=this.message.slice(h.offset,this.offset())}if(s.has(a))return this.error("select"===t?f.DUPLICATE_SELECT_ARGUMENT_SELECTOR:f.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);"other"===a&&(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,g(this.clonePosition(),this.clonePosition()));h=this.parseMessage(e+1,t,r);if(h.err)return h;var c=this.tryParseArgumentClose(u);if(c.err)return c;i.push([a,{value:h.val,location:g(u,this.clonePosition())}]),s.add(a),this.bumpSpace(),a=(c=this.parseIdentifierIfPossible()).value,l=c.location}return 0===i.length?this.error("select"===t?f.EXPECT_SELECT_ARGUMENT_SELECTOR:f.EXPECT_PLURAL_ARGUMENT_SELECTOR,g(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!n?this.error(f.MISSING_OTHER_CLAUSE,g(this.clonePosition(),this.clonePosition())):{val:i,err:null}},u.prototype.tryParseDecimalInteger=function(e,t){var r=1,o=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-1);for(var n=!1,i=0;!this.isEOF();){var s=this.char();if(!(48<=s&&s<=57))break;n=!0,i=10*i+(s-48),this.bump()}o=g(o,this.clonePosition());return n?lr(i*=r)?{val:i,err:null}:this.error(t,o):this.error(e,o)},u.prototype.offset=function(){return this.position.offset},u.prototype.isEOF=function(){return this.offset()===this.message.length},u.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},u.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=mr(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},u.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},u.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))},u.prototype.bumpIf=function(e){if(cr(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},u.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)},u.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}},u.prototype.bumpSpace=function(){for(;!this.isEOF()&&br(this.char());)this.bump()},u.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 gr=u;function u(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 vr(e){return 97<=e&&e<=122||65<=e&&e<=90}function br(e){return 9<=e&&e<=13||32===e||133===e||8206<=e&&e<=8207||8232===e||8233===e}function wr(e,t){t=_({shouldParseSkeletons:!0,requiresOtherClause:!0},t=void 0===t?{}:t);var r,e=new gr(e,t).parse();if(e.err)throw(r=SyntaxError(f[e.err.kind])).location=e.err.location,r.originalMessage=e.err.message,r;return null!=t&&t.captureLocation||function r(e){e.forEach(function(e){if(delete e.location,$t(e)||zt(e))for(var t in e.options)delete e.options[t].location,r(e.options[t].value);else Rt(e)&&jt(e.style)||(Ft(e)||Yt(e))&&Vt(e.style)?delete e.style.location:Ut(e)&&r(e.children)})}(e.val),e.val}function xr(e,t){var r=t&&t.cache?t.cache:Or,o=t&&t.serializer?t.serializer:Tr;return(t&&t.strategy?t.strategy:function(e,t){return Cr(e,this,1===e.length?Er:Ar,t.cache.create(),t.serializer)})(e,{cache:r,serializer:o})}function Er(e,t,r,o){var r=null==o||"number"==typeof o||"boolean"==typeof o?o:r(o),n=t.get(r);return void 0===n&&(n=e.call(this,o),t.set(r,n)),n}function Ar(e,t,r){var o=Array.prototype.slice.call(arguments,3),r=r(o),n=t.get(r);return void 0===n&&(n=e.apply(this,o),t.set(r,n)),n}function Cr(e,t,r,o,n){return r.bind(t,e,o,n)}var Tr=function(){return JSON.stringify(arguments)};function Sr(){this.cache=Object.create(null)}Sr.prototype.get=function(e){return this.cache[e]},Sr.prototype.set=function(e,t){this.cache[e]=t};var Pr,Dr,Or={create:function(){return new Sr}},Mr={variadic:function(e,t){return Cr(e,this,Ar,t.cache.create(),t.serializer)},monadic:function(e,t){return Cr(e,this,Er,t.cache.create(),t.serializer)}};(Dr=Pr=Pr||{}).MISSING_VALUE="MISSING_VALUE",Dr.INVALID_VALUE="INVALID_VALUE",Dr.MISSING_INTL_API="MISSING_INTL_API";Bt(jr,Hr=Error),jr.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)};var v,Nr,Br,Ir,Hr,Lr=jr,Rr=(Bt(Ur,Ir=Lr),Ur),Fr=(Bt(zr,Br=Lr),zr),Yr=(Bt($r,Nr=Lr),$r);function $r(e,t){return Nr.call(this,'The intl string context variable "'.concat(e,'" was not provided to the string "').concat(t,'"'),Pr.MISSING_VALUE,t)||this}function zr(e,t,r){return Br.call(this,'Value for "'.concat(e,'" must be of type ').concat(t),Pr.INVALID_VALUE,r)||this}function Ur(e,t,r,o){return Ir.call(this,'Invalid values for "'.concat(e,'": "').concat(t,'". Options are "').concat(Object.keys(r).join('", "'),'"'),Pr.INVALID_VALUE,o)||this}function jr(e,t,r){e=Hr.call(this,e)||this;return e.code=t,e.originalMessage=r,e}function Vr(e,t,r,o,n,i,s){if(1===e.length&&Lt(e[0]))return[{type:v.literal,value:e[0].value}];for(var a=[],l=0,h=e;l<h.length;l++){var u=h[l];if(Lt(u))a.push({type:v.literal,value:u.value});else if(u.type===y.pound)"number"==typeof i&&a.push({type:v.literal,value:r.getNumberFormat(t).format(i)});else{var c=u.value;if(!(n&&c in n))throw new Yr(c,s);c=n[c];if(u.type===y.argument)c&&"string"!=typeof c&&"number"!=typeof c||(c="string"==typeof c||"number"==typeof c?String(c):""),a.push({type:"string"==typeof c?v.literal:v.object,value:c});else if(Ft(u)){var d="string"==typeof u.style?o.date[u.style]:Vt(u.style)?u.style.parsedOptions:void 0;a.push({type:v.literal,value:r.getDateTimeFormat(t,d).format(c)})}else if(Yt(u))d="string"==typeof u.style?o.time[u.style]:Vt(u.style)?u.style.parsedOptions:o.time.medium,a.push({type:v.literal,value:r.getDateTimeFormat(t,d).format(c)});else if(Rt(u))(d="string"==typeof u.style?o.number[u.style]:jt(u.style)?u.style.parsedOptions:void 0)&&d.scale&&(c*=d.scale||1),a.push({type:v.literal,value:r.getNumberFormat(t,d).format(c)});else{if(Ut(u)){var p=u.children,m=u.value,f=n[m];if("function"!=typeof f)throw new Fr(m,"function",s);m=f(Vr(p,t,r,o,n,i).map(function(e){return e.value}));Array.isArray(m)||(m=[m]),a.push.apply(a,m.map(function(e){return{type:"string"==typeof e?v.literal:v.object,value:e}}))}if($t(u)){if(!(_=u.options[c]||u.options.other))throw new Rr(u.value,c,Object.keys(u.options),s);a.push.apply(a,Vr(_.value,t,r,o,n))}else if(zt(u)){if(!(_=u.options["=".concat(c)])){if(!Intl.PluralRules)throw new Lr('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',Pr.MISSING_INTL_API,s);var f=r.getPluralRules(t,{type:u.pluralType}).select(c-(u.offset||0)),_=u.options[f]||u.options.other}if(!_)throw new Rr(u.value,c,Object.keys(u.options),s);a.push.apply(a,Vr(_.value,t,r,o,n,c-(u.offset||0)))}}}}return(e=a).length<2?e:e.reduce(function(e,t){var r=e[e.length-1];return r&&r.type===v.literal&&t.type===v.literal?r.value+=t.value:e.push(t),e},[])}function Wr(r){return{create:function(){return{get:function(e){return r[e]},set:function(e,t){r[e]=t}}}}}(e=v=v||{})[e.literal=0]="literal",e[e.object=1]="object";Object.defineProperty(c,"defaultLocale",{get:function(){return c.memoizedDefaultLocale||(c.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),c.memoizedDefaultLocale},enumerable:!1,configurable:!0}),c.memoizedDefaultLocale=null,c.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])},c.__parse=wr,c.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 Gr=c;function c(e,t,r,o){var n,i,s=this;if(void 0===t&&(t=c.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var e=s.formatToParts(e);return 1===e.length?e[0].value:(e=e.reduce(function(e,t){return e.length&&t.type===v.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 Vr(s.ast,s.locales,s.formatters,s.formats,e,void 0,s.message)},this.resolvedOptions=function(){return{locale:s.resolvedLocale.toString()}},this.getAst=function(){return s.ast},this.locales=t,this.resolvedLocale=c.resolveLocale(t),"string"==typeof e){if(this.message=e,!c.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=c.__parse(e,{ignoreTag:null==o?void 0:o.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=c.formats,(i=r)?Object.keys(n).reduce(function(e,t){var r,o;return e[t]=(r=n[t],(o=i[t])?_(_(_({},r||{}),o||{}),Object.keys(r).reduce(function(e,t){return e[t]=_(_({},r[t]),o[t]||{}),e},{})):r),e},_({},n)):n),this.formatters=o&&o.formatters||{getNumberFormat:xr(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.NumberFormat).bind.apply(e,Ht([void 0],t,!1)))},{cache:Wr((t=void 0===(t=this.formatterCache)?{number:{},dateTime:{},pluralRules:{}}:t).number),strategy:Mr.variadic}),getDateTimeFormat:xr(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.DateTimeFormat).bind.apply(e,Ht([void 0],t,!1)))},{cache:Wr(t.dateTime),strategy:Mr.variadic}),getPluralRules:xr(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.PluralRules).bind.apply(e,Ht([void 0],t,!1)))},{cache:Wr(t.pluralRules),strategy:Mr.variadic})}}const qr={},Kr=(e,t,r)=>r&&(t in qr||(qr[t]={}),e in qr[t]||(qr[t][e]=r),r),Xr=(t,r)=>{if(null!=r){if(r in qr&&t in qr[r])return qr[r][t];var o=vo(r);for(let e=0;e<o.length;e++){var n=function(e,t){if(!Qr(e))return null;e=function(e){return Zr[e]||null}(e),e=function(e,r){if(null!=r){if(r in e)return e[r];var o=r.split(".");let t=e;for(let e=0;e<o.length;e++)if("object"==typeof t){if(0<e){const r=o.slice(e,o.length).join(".");if(r in t){t=t[r];break}}t=t[o[e]]}else t=void 0;return t}}(e,t);return e}(o[e],t);if(n)return Kr(t,r,n)}}};let Zr;const Jr=xt({});function Qr(e){return e in Zr}function eo(t,...r){delete qr[t],Jr.update(e=>(e[t]=Mt.all([e[t]||{},...r]),e))}Et([Jr],([e])=>Object.keys(e)),Jr.subscribe(e=>Zr=e);const to={};function ro(e){return to[e]}function oo(e){return null!=e&&vo(e).some(e=>{return null==(e=ro(e))?void 0:e.size})}function no(o,e){return Promise.all(e.map(e=>{return t=o,r=e,to[t].delete(r),0===to[t].size&&delete to[t],e().then(e=>e.default||e);var t,r})).then(e=>eo(o,...e))}const io={};function so(e){var t;return oo(e)?(t=vo(e).map(e=>{var t=ro(e);return[e,t?[...t]:[]]}).filter(([,e])=>0<e.length),io[e]=Promise.all(t.map(([e,t])=>no(e,t))).then(()=>{if(oo(e))return so(e);delete io[e]}),io[e]):e in io?io[e]:Promise.resolve()}const ao={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 lo(){return ao}const ho=xt(!1);var uo=Object.defineProperty,i=Object.defineProperties,ir=Object.getOwnPropertyDescriptors,co=Object.getOwnPropertySymbols,po=Object.prototype.hasOwnProperty,mo=Object.prototype.propertyIsEnumerable,fo=(e,t,r)=>t in e?uo(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;let _o;const yo=xt(null);function go(e){return e.split("-").map((e,t,r)=>r.slice(0,t+1).join("-")).reverse()}function vo(e,t=ao.fallbackLocale){e=go(e);return t?[...new Set([...e,...go(t)])]:e}function bo(){return null!=_o?_o:void 0}yo.subscribe(e=>{_o=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)});sr=((e,t)=>{for(var r in t=t||{})po.call(t,r)&&fo(e,r,t[r]);if(co)for(var r of co(t))mo.call(t,r)&&fo(e,r,t[r]);return e})({},yo);const wo=i(sr,ir({set:t=>{if(t&&function(e){if(null==e)return;const t=vo(e);for(let e=0;e<t.length;e++){const r=t[e];if(Qr(r))return r}}(t)&&oo(t)){const{loadingDelay:r}=lo();let e;return"undefined"!=typeof window&&null!=bo()&&r?e=window.setTimeout(()=>ho.set(!0),r):ho.set(!0),so(t).then(()=>{yo.set(t)}).finally(()=>{clearTimeout(e),ho.set(!1)})}return yo.set(t)}})),xo=r=>{const o=Object.create(null);return e=>{var t=JSON.stringify(e);return t in o?o[t]:o[t]=r(e)}};var Eo=Object.defineProperty,Ao=Object.getOwnPropertySymbols,Co=Object.prototype.hasOwnProperty,To=Object.prototype.propertyIsEnumerable,So=(e,t,r)=>t in e?Eo(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Po=(e,t)=>{for(var r in t=t||{})Co.call(t,r)&&So(e,r,t[r]);if(Ao)for(var r of Ao(t))To.call(t,r)&&So(e,r,t[r]);return e},Do=(e,t)=>{var r={};for(o in e)Co.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(null!=e&&Ao)for(var o of Ao(e))t.indexOf(o)<0&&To.call(e,o)&&(r[o]=e[o]);return r};const ko=(e,t)=>{var r=ao["formats"];if(e in r&&t in r[e])return r[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},Oo=xo(e=>{var{locale:t,format:r}=e,e=Do(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return r&&(e=ko("number",r)),new Intl.NumberFormat(t,e)}),Mo=xo(e=>{var{locale:t,format:r}=e,e=Do(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return r?e=ko("date",r):0===Object.keys(e).length&&(e=ko("date","short")),new Intl.DateTimeFormat(t,e)}),No=xo(e=>{var{locale:t,format:r}=e,e=Do(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return r?e=ko("time",r):0===Object.keys(e).length&&(e=ko("time","short")),new Intl.DateTimeFormat(t,e)}),Bo=xo((e,t=bo())=>new Gr(e,t,ao.formats,{ignoreTag:ao.ignoreTag})),Io=Et([wo,Jr],()=>(e,t={})=>{var r,o;let n=t;"object"==typeof e&&(e=(n=e).id);var{values:i,locale:s=bo(),default:a}=n;if(null==s)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let l=Xr(e,s);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!=(o=null!=(r=null==(r=(o=ao).handleMissingMessage)?void 0:r.call(o,{locale:s,id:e,defaultValue:a}))?r:a)?o:e;if(!i)return l;let h=l;try{h=Bo(l,s).format(i)}catch(t){t instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return h}),Ho=(Et([wo],()=>(e,t)=>((e={})=>{var{locale:t=bo()}=e,e=Do(e,["locale"]);return No(Po({locale:t},e))})(t).format(e)),Et([wo],()=>(e,t)=>((e={})=>{var{locale:t=bo()}=e,e=Do(e,["locale"]);return Mo(Po({locale:t},e))})(t).format(e)),Et([wo],()=>(e,t)=>((e={})=>{var{locale:t=bo()}=e,e=Do(e,["locale"]);return Oo(Po({locale:t},e))})(t).format(e)),Et([wo,Jr],()=>(e,t=bo())=>Xr(e,t)),window.emWidgets={topic:(e,t=0)=>{return-1==vt.indexOf(e)&&(t=new _t(t),bt[e]=t,vt.push(e)),bt[e]}},e=>e.toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC");Ro=Lo={path:void 0,exports:{},require:function(e,t){return kr(null==t&&Lo.path)}},Lo.exports,Ro.exports=function(){var H;function m(){return H.apply(null,arguments)}function s(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function L(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function f(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function R(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;for(var t in e)if(f(e,t))return;return 1}function a(e){return void 0===e}function F(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function Y(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function $(e,t){for(var r=[],o=e.length,n=0;n<o;++n)r.push(t(e[n],n));return r}function z(e,t){for(var r in t)f(t,r)&&(e[r]=t[r]);return f(t,"toString")&&(e.toString=t.toString),f(t,"valueOf")&&(e.valueOf=t.valueOf),e}function h(e,t,r,o){return Ot(e,t,r,o,!0).utc()}function _(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 U(e){if(null==e._isValid){var t=_(e),r=V.call(t.parsedDateParts,function(e){return null!=e}),r=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&r);if(e._strict&&(r=r&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return r;e._isValid=r}return e._isValid}function j(e){var t=h(NaN);return null!=e?z(_(t),e):_(t).userInvalidated=!0,t}var V=Array.prototype.some||function(e){for(var t=Object(this),r=t.length>>>0,o=0;o<r;o++)if(o in t&&e.call(this,t[o],o,t))return!0;return!1},W=m.momentProperties=[],G=!1;function q(e,t){var r,o,n,i=W.length;if(a(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),a(t._i)||(e._i=t._i),a(t._f)||(e._f=t._f),a(t._l)||(e._l=t._l),a(t._strict)||(e._strict=t._strict),a(t._tzm)||(e._tzm=t._tzm),a(t._isUTC)||(e._isUTC=t._isUTC),a(t._offset)||(e._offset=t._offset),a(t._pf)||(e._pf=_(t)),a(t._locale)||(e._locale=t._locale),0<i)for(r=0;r<i;r++)a(n=t[o=W[r]])||(e[o]=n);return e}function K(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 K||null!=e&&null!=e._isAMomentObject}function X(e){!1===m.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function e(i,s){var a=!0;return z(function(){if(null!=m.deprecationHandler&&m.deprecationHandler(null,i),a){for(var e,t,r=[],o=arguments.length,n=0;n<o;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];r.push(e)}X(i+"\nArguments: "+Array.prototype.slice.call(r).join("")+"\n"+(new Error).stack),a=!1}return s.apply(this,arguments)},s)}var Z={};function J(e,t){null!=m.deprecationHandler&&m.deprecationHandler(e,t),Z[e]||(X(t),Z[e]=!0)}function u(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function Q(e,t){var r,o=z({},e);for(r in t)f(t,r)&&(L(e[r])&&L(t[r])?(o[r]={},z(o[r],e[r]),z(o[r],t[r])):null!=t[r]?o[r]=t[r]:delete o[r]);for(r in e)f(e,r)&&!f(t,r)&&L(e[r])&&(o[r]=z({},o[r]));return o}function ee(e){null!=e&&this.set(e)}m.suppressDeprecationWarnings=!1,m.deprecationHandler=null;var te=Object.keys||function(e){var t,r=[];for(t in e)f(e,t)&&r.push(t);return r};function i(e,t,r){var o=""+Math.abs(e);return(0<=e?r?"+":"":"-")+Math.pow(10,Math.max(0,t-o.length)).toString().substr(1)+o}var re=/(\[[^\[]*\])|(\\)?([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,oe=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,ne={},ie={};function o(e,t,r,o){var n="string"==typeof o?function(){return this[o]()}:o;e&&(ie[e]=n),t&&(ie[t[0]]=function(){return i(n.apply(this,arguments),t[1],t[2])}),r&&(ie[r]=function(){return this.localeData().ordinal(n.apply(this,arguments),e)})}function se(e,t){return e.isValid()?(t=ae(t,e.localeData()),ne[t]=ne[t]||function(o){for(var e,n=o.match(re),t=0,i=n.length;t<i;t++)ie[n[t]]?n[t]=ie[n[t]]:n[t]=(e=n[t]).match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"");return function(e){for(var t="",r=0;r<i;r++)t+=u(n[r])?n[r].call(e,o):n[r];return t}}(t),ne[t](e)):e.localeData().invalidDate()}function ae(e,t){var r=5;function o(e){return t.longDateFormat(e)||e}for(oe.lastIndex=0;0<=r&&oe.test(e);)e=e.replace(oe,o),oe.lastIndex=0,--r;return e}var le={};function t(e,t){var r=e.toLowerCase();le[r]=le[r+"s"]=le[t]=e}function c(e){return"string"==typeof e?le[e]||le[e.toLowerCase()]:void 0}function he(e){var t,r,o={};for(r in e)f(e,r)&&(t=c(r))&&(o[t]=e[r]);return o}var ue={};function r(e,t){ue[e]=t}function ce(e){return e%4==0&&e%100!=0||e%400==0}function d(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function p(e){var e=+e,t=0;return t=0!=e&&isFinite(e)?d(e):t}function de(t,r){return function(e){return null!=e?(me(this,t,e),m.updateOffset(this,r),this):pe(this,t)}}function pe(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function me(e,t,r){e.isValid()&&!isNaN(r)&&("FullYear"===t&&ce(e.year())&&1===e.month()&&29===e.date()?(r=p(r),e._d["set"+(e._isUTC?"UTC":"")+t](r,e.month(),Be(r,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](r))}var n=/\d/,y=/\d\d/,fe=/\d{3}/,_e=/\d{4}/,ye=/[+-]?\d{6}/,g=/\d\d?/,ge=/\d\d\d\d?/,ve=/\d\d\d\d\d\d?/,be=/\d{1,3}/,we=/\d{1,4}/,xe=/[+-]?\d{1,6}/,Ee=/\d+/,Ae=/[+-]?\d+/,Ce=/Z|[+-]\d\d:?\d\d/gi,Te=/Z|[+-]\d\d(?::?\d\d)?/gi,v=/[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,r,o){Pe[e]=u(r)?r:function(e,t){return e&&o?o:r}}function Se(e,t){return f(Pe,e)?Pe[e](t._strict,t._locale):new RegExp(w(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,r,o,n){return t||r||o||n})))}function w(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var Pe={},De={};function x(e,r){var t,o,n=r;for("string"==typeof e&&(e=[e]),F(r)&&(n=function(e,t){t[r]=p(e)}),o=e.length,t=0;t<o;t++)De[e[t]]=n}function ke(e,n){x(e,function(e,t,r,o){r._w=r._w||{},n(e,r._w,r,o)})}var E,A=0,C=1,T=2,S=3,P=4,D=5,Oe=6,Me=7,Ne=8;function Be(e,t){var r;return isNaN(e)||isNaN(t)?NaN:(r=(t%(r=12)+r)%r,e+=(t-r)/12,1==r?ce(e)?29:28:31-r%7%2)}E=Array.prototype.indexOf||function(e){for(var t=0;t<this.length;++t)if(this[t]===e)return t;return-1},o("M",["MM",2],"Mo",function(){return this.month()+1}),o("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),o("MMMM",0,0,function(e){return this.localeData().months(this,e)}),t("month","M"),r("month",8),b("M",g),b("MM",g,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[C]=p(e)-1}),x(["MMM","MMMM"],function(e,t,r,o){o=r._locale.monthsParse(e,o,r._strict);null!=o?t[C]=o:_(r).invalidMonth=e});var Ie="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),He="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Le=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Re=v,Fe=v;function Ye(e,t){var r;if(e.isValid()){if("string"==typeof t)if(/^\d+$/.test(t))t=p(t);else if(!F(t=e.localeData().monthsParse(t)))return;r=Math.min(e.date(),Be(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,r)}}function $e(e){return null!=e?(Ye(this,e),m.updateOffset(this,!0),this):pe(this,"Month")}function ze(){function e(e,t){return t.length-e.length}for(var t,r=[],o=[],n=[],i=0;i<12;i++)t=h([2e3,i]),r.push(this.monthsShort(t,"")),o.push(this.months(t,"")),n.push(this.months(t,"")),n.push(this.monthsShort(t,""));for(r.sort(e),o.sort(e),n.sort(e),i=0;i<12;i++)r[i]=w(r[i]),o[i]=w(o[i]);for(i=0;i<24;i++)n[i]=w(n[i]);this._monthsRegex=new RegExp("^("+n.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+r.join("|")+")","i")}function Ue(e){return ce(e)?366:365}o("Y",0,0,function(){var e=this.year();return e<=9999?i(e,4):"+"+e}),o(0,["YY",2],0,function(){return this.year()%100}),o(0,["YYYY",4],0,"year"),o(0,["YYYYY",5],0,"year"),o(0,["YYYYYY",6,!0],0,"year"),t("year","y"),r("year",1),b("Y",Ae),b("YY",g,y),b("YYYY",we,_e),b("YYYYY",xe,ye),b("YYYYYY",xe,ye),x(["YYYYY","YYYYYY"],A),x("YYYY",function(e,t){t[A]=2===e.length?m.parseTwoDigitYear(e):p(e)}),x("YY",function(e,t){t[A]=m.parseTwoDigitYear(e)}),x("Y",function(e,t){t[A]=parseInt(e,10)}),m.parseTwoDigitYear=function(e){return p(e)+(68<p(e)?1900:2e3)};var je=de("FullYear",!0);function Ve(e,t,r,o,n,i,s){var a;return e<100&&0<=e?(a=new Date(e+400,t,r,o,n,i,s),isFinite(a.getFullYear())&&a.setFullYear(e)):a=new Date(e,t,r,o,n,i,s),a}function We(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,r){r=7+t-r;return-(7+We(e,0,r).getUTCDay()-t)%7+r-1}function qe(e,t,r,o,n){var i,t=1+7*(t-1)+(7+r-o)%7+Ge(e,o,n),r=t<=0?Ue(i=e-1)+t:t>Ue(e)?(i=e+1,t-Ue(e)):(i=e,t);return{year:i,dayOfYear:r}}function Ke(e,t,r){var o,n,i=Ge(e.year(),t,r),i=Math.floor((e.dayOfYear()-i-1)/7)+1;return i<1?o=i+k(n=e.year()-1,t,r):i>k(e.year(),t,r)?(o=i-k(e.year(),t,r),n=e.year()+1):(n=e.year(),o=i),{week:o,year:n}}function k(e,t,r){var o=Ge(e,t,r),t=Ge(e+1,t,r);return(Ue(e)-o+t)/7}o("w",["ww",2],"wo","week"),o("W",["WW",2],"Wo","isoWeek"),t("week","w"),t("isoWeek","W"),r("week",5),r("isoWeek",5),b("w",g),b("ww",g,y),b("W",g),b("WW",g,y),ke(["w","ww","W","WW"],function(e,t,r,o){t[o.substr(0,1)]=p(e)});function Xe(e,t){return e.slice(t,7).concat(e.slice(0,t))}o("d",0,"do","day"),o("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),o("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),o("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),o("e",0,0,"weekday"),o("E",0,0,"isoWeekday"),t("day","d"),t("weekday","e"),t("isoWeekday","E"),r("day",11),r("weekday",11),r("isoWeekday",11),b("d",g),b("e",g),b("E",g),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)}),ke(["dd","ddd","dddd"],function(e,t,r,o){o=r._locale.weekdaysParse(e,o,r._strict);null!=o?t.d=o:_(r).invalidWeekday=e}),ke(["d","e","E"],function(e,t,r,o){t[o]=p(e)});var Ze="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=v,tt=v,rt=v;function ot(){function e(e,t){return t.length-e.length}for(var t,r,o,n=[],i=[],s=[],a=[],l=0;l<7;l++)o=h([2e3,1]).day(l),t=w(this.weekdaysMin(o,"")),r=w(this.weekdaysShort(o,"")),o=w(this.weekdays(o,"")),n.push(t),i.push(r),s.push(o),a.push(t),a.push(r),a.push(o);n.sort(e),i.sort(e),s.sort(e),a.sort(e),this._weekdaysRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+n.join("|")+")","i")}function nt(){return this.hours()%12||12}function it(e,t){o(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function st(e,t){return t._meridiemParse}o("H",["HH",2],0,"hour"),o("h",["hh",2],0,nt),o("k",["kk",2],0,function(){return this.hours()||24}),o("hmm",0,0,function(){return""+nt.apply(this)+i(this.minutes(),2)}),o("hmmss",0,0,function(){return""+nt.apply(this)+i(this.minutes(),2)+i(this.seconds(),2)}),o("Hmm",0,0,function(){return""+this.hours()+i(this.minutes(),2)}),o("Hmmss",0,0,function(){return""+this.hours()+i(this.minutes(),2)+i(this.seconds(),2)}),it("a",!0),it("A",!1),t("hour","h"),r("hour",13),b("a",st),b("A",st),b("H",g),b("h",g),b("k",g),b("HH",g,y),b("hh",g,y),b("kk",g,y),b("hmm",ge),b("hmmss",ve),b("Hmm",ge),b("Hmmss",ve),x(["H","HH"],S),x(["k","kk"],function(e,t,r){e=p(e);t[S]=24===e?0:e}),x(["a","A"],function(e,t,r){r._isPm=r._locale.isPM(e),r._meridiem=e}),x(["h","hh"],function(e,t,r){t[S]=p(e),_(r).bigHour=!0}),x("hmm",function(e,t,r){var o=e.length-2;t[S]=p(e.substr(0,o)),t[P]=p(e.substr(o)),_(r).bigHour=!0}),x("hmmss",function(e,t,r){var o=e.length-4,n=e.length-2;t[S]=p(e.substr(0,o)),t[P]=p(e.substr(o,2)),t[D]=p(e.substr(n)),_(r).bigHour=!0}),x("Hmm",function(e,t,r){var o=e.length-2;t[S]=p(e.substr(0,o)),t[P]=p(e.substr(o))}),x("Hmmss",function(e,t,r){var o=e.length-4,n=e.length-2;t[S]=p(e.substr(0,o)),t[P]=p(e.substr(o,2)),t[D]=p(e.substr(n))});v=de("Hours",!0);var at,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:He,week:{dow:0,doy:6},weekdays:Ze,weekdaysMin:Qe,weekdaysShort:Je,meridiemParse:/[ap]\.?m?\.?/i},O={},ht={};function ut(e){return e&&e.toLowerCase().replace("_","-")}function ct(e){for(var t,r,o,n,i=0;i<e.length;){for(t=(n=ut(e[i]).split("-")).length,r=(r=ut(e[i+1]))?r.split("-"):null;0<t;){if(o=dt(n.slice(0,t).join("-")))return o;if(r&&r.length>=t&&function(e,t){for(var r=Math.min(e.length,t.length),o=0;o<r;o+=1)if(e[o]!==t[o])return o;return r}(n,r)>=t-1)break;t--}i++}return at}function dt(t){var e;if(void 0===O[t]&&Ro&&Ro.exports&&null!=t.match("^[^/\\\\]*$"))try{e=at._abbr,kr(),pt(e)}catch(e){O[t]=null}return O[t]}function pt(e,t){return e&&((t=a(t)?M(e):mt(e,t))?at=t:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),at._abbr}function mt(e,t){if(null===t)return delete O[e],null;var r,o=lt;if(t.abbr=e,null!=O[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."),o=O[e]._config;else if(null!=t.parentLocale)if(null!=O[t.parentLocale])o=O[t.parentLocale]._config;else{if(null==(r=dt(t.parentLocale)))return ht[t.parentLocale]||(ht[t.parentLocale]=[]),ht[t.parentLocale].push({name:e,config:t}),null;o=r._config}return O[e]=new ee(Q(o,t)),ht[e]&&ht[e].forEach(function(e){mt(e.name,e.config)}),pt(e),O[e]}function M(e){var t;if(!(e=e&&e._locale&&e._locale._abbr?e._locale._abbr:e))return at;if(!s(e)){if(t=dt(e))return t;e=[e]}return ct(e)}function ft(e){var t=e._a;return t&&-2===_(e).overflow&&(t=t[C]<0||11<t[C]?C:t[T]<1||t[T]>Be(t[A],t[C])?T:t[S]<0||24<t[S]||24===t[S]&&(0!==t[P]||0!==t[D]||0!==t[Oe])?S:t[P]<0||59<t[P]?P:t[D]<0||59<t[D]?D:t[Oe]<0||999<t[Oe]?Oe:-1,_(e)._overflowDayOfYear&&(t<A||T<t)&&(t=T),_(e)._overflowWeeks&&-1===t&&(t=Me),_(e)._overflowWeekday&&-1===t&&(t=Ne),_(e).overflow=t),e}var _t=/^\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)?)?$/,gt=/Z|[+-]\d\d(?::?\d\d)?/,vt=[["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/]],wt=/^\/?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}))$/,Et={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function At(e){var t,r,o,n,i,s,a=e._i,l=_t.exec(a)||yt.exec(a),a=vt.length,h=bt.length;if(l){for(_(e).iso=!0,t=0,r=a;t<r;t++)if(vt[t][1].exec(l[1])){n=vt[t][0],o=!1!==vt[t][2];break}if(null==n)return e._isValid=!1;if(l[3]){for(t=0,r=h;t<r;t++)if(bt[t][1].exec(l[3])){i=(l[2]||" ")+bt[t][0];break}if(null==i)return e._isValid=!1}if(!o&&null!=i)return e._isValid=!1;if(l[4]){if(!gt.exec(l[4]))return e._isValid=!1;s="Z"}e._f=n+(i||"")+(s||""),Dt(e)}else e._isValid=!1}function Ct(e,t,r,o,n,i){e=[function(e){e=parseInt(e,10);return e<=49?2e3+e:e<=999?1900+e:e}(e),He.indexOf(t),parseInt(r,10),parseInt(o,10),parseInt(n,10)];return i&&e.push(parseInt(i,10)),e}function Tt(e){var t,r,o,n,i=xt.exec(e._i.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));i?(t=Ct(i[4],i[3],i[2],i[5],i[6],i[7]),r=i[1],o=t,n=e,r&&Je.indexOf(r)!==new Date(o[0],o[1],o[2]).getDay()?(_(n).weekdayMismatch=!0,n._isValid=!1):(e._a=t,e._tzm=(r=i[8],o=i[9],n=i[10],r?Et[r]:o?0:((r=parseInt(n,10))-(o=r%100))/100*60+o),e._d=We.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),_(e).rfc2822=!0)):e._isValid=!1}function St(e,t,r){return null!=e?e:null!=t?t:r}function Pt(e){var t,r,o,n,i,s,a,l,h,u,c,d=[];if(!e._d){for(u=e,c=new Date(m.now()),r=u._useUTC?[c.getUTCFullYear(),c.getUTCMonth(),c.getUTCDate()]:[c.getFullYear(),c.getMonth(),c.getDate()],e._w&&null==e._a[T]&&null==e._a[C]&&(null!=(c=(u=e)._w).GG||null!=c.W||null!=c.E?(s=1,a=4,o=St(c.GG,u._a[A],Ke(N(),1,4).year),n=St(c.W,1),((i=St(c.E,1))<1||7<i)&&(l=!0)):(s=u._locale._week.dow,a=u._locale._week.doy,h=Ke(N(),s,a),o=St(c.gg,u._a[A],h.year),n=St(c.w,h.week),null!=c.d?((i=c.d)<0||6<i)&&(l=!0):null!=c.e?(i=c.e+s,(c.e<0||6<c.e)&&(l=!0)):i=s),n<1||n>k(o,s,a)?_(u)._overflowWeeks=!0:null!=l?_(u)._overflowWeekday=!0:(h=qe(o,n,i,s,a),u._a[A]=h.year,u._dayOfYear=h.dayOfYear)),null!=e._dayOfYear&&(c=St(e._a[A],r[A]),(e._dayOfYear>Ue(c)||0===e._dayOfYear)&&(_(e)._overflowDayOfYear=!0),l=We(c,0,e._dayOfYear),e._a[C]=l.getUTCMonth(),e._a[T]=l.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=d[t]=r[t];for(;t<7;t++)e._a[t]=d[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[S]&&0===e._a[P]&&0===e._a[D]&&0===e._a[Oe]&&(e._nextDay=!0,e._a[S]=0),e._d=(e._useUTC?We:Ve).apply(null,d),o=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[S]=24),e._w&&void 0!==e._w.d&&e._w.d!==o&&(_(e).weekdayMismatch=!0)}}function Dt(e){if(e._f!==m.ISO_8601)if(e._f!==m.RFC_2822){e._a=[],_(e).empty=!0;for(var t,r,o,n=""+e._i,i=n.length,s=0,a=(r=ae(e._f,e._locale).match(re)||[]).length,l=0;l<a;l++)o=r[l],(t=(n.match(Se(o,e))||[])[0])&&(0<(c=n.substr(0,n.indexOf(t))).length&&_(e).unusedInput.push(c),n=n.slice(n.indexOf(t)+t.length),s+=t.length),ie[o]?(t?_(e).empty=!1:_(e).unusedTokens.push(o),c=o,p=e,null!=(d=t)&&f(De,c)&&De[c](d,p._a,p,c)):e._strict&&!t&&_(e).unusedTokens.push(o);_(e).charsLeftOver=i-s,0<n.length&&_(e).unusedInput.push(n),e._a[S]<=12&&!0===_(e).bigHour&&0<e._a[S]&&(_(e).bigHour=void 0),_(e).parsedDateParts=e._a.slice(0),_(e).meridiem=e._meridiem,e._a[S]=(i=e._locale,h=e._a[S],null==(u=e._meridiem)?h:null!=i.meridiemHour?i.meridiemHour(h,u):null!=i.isPM?((i=i.isPM(u))&&h<12&&(h+=12),h=i||12!==h?h:0):h),null!==(u=_(e).era)&&(e._a[A]=e._locale.erasConvertYear(u,e._a[A])),Pt(e),ft(e)}else Tt(e);else At(e);var h,u,c,d,p}function kt(e){var t,r=e._i,o=e._f;{var n,i;return(e._locale=e._locale||M(e._l),null===r||void 0===o&&""===r)?j({nullInput:!0}):("string"==typeof r&&(e._i=r=e._locale.preparse(r)),l(r)?new K(ft(r)):(Y(r)?e._d=r:s(o)?function(e){var t,r,o,n,i,s,a=!1,l=e._f.length;if(0===l)return _(e).invalidFormat=!0,e._d=new Date(NaN);for(n=0;n<l;n++)i=0,s=!1,t=q({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[n],Dt(t),U(t)&&(s=!0),i=(i+=_(t).charsLeftOver)+10*_(t).unusedTokens.length,_(t).score=i,a?i<o&&(o=i,r=t):(null==o||i<o||s)&&(o=i,r=t,s)&&(a=!0);z(e,r||t)}(e):o?Dt(e):a(o=(r=e)._i)?r._d=new Date(m.now()):Y(o)?r._d=new Date(o.valueOf()):"string"==typeof o?(n=r,null===(i=wt.exec(n._i))?(At(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(+i[1])):s(o)?(r._a=$(o.slice(0),function(e){return parseInt(e,10)}),Pt(r)):L(o)?(n=r)._d||(t=void 0===(i=he(n._i)).day?i.date:i.day,n._a=$([i.year,i.month,t,i.hour,i.minute,i.second,i.millisecond],function(e){return e&&parseInt(e,10)}),Pt(n)):F(o)?r._d=new Date(o):m.createFromInputFallback(r),U(e)||(e._d=null),e))}}function Ot(e,t,r,o,n){var i={};return!0!==t&&!1!==t||(o=t,t=void 0),!0!==r&&!1!==r||(o=r,r=void 0),(L(e)&&R(e)||s(e)&&0===e.length)&&(e=void 0),i._isAMomentObject=!0,i._useUTC=i._isUTC=n,i._l=r,i._i=e,i._f=t,i._strict=o,(n=new K(ft(kt(n=i))))._nextDay&&(n.add(1,"d"),n._nextDay=void 0),n}function N(e,t,r,o){return Ot(e,t,r,o,!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(){};ge=e("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=N.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:j()}),ve=e("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=N.apply(null,arguments);return this.isValid()&&e.isValid()?this<e?this:e:j()});function Mt(e,t){var r,o;if(!(t=1===t.length&&s(t[0])?t[0]:t).length)return N();for(r=t[0],o=1;o<t.length;++o)t[o].isValid()&&!t[o][e](r)||(r=t[o]);return r}var Nt=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Bt(e){var e=he(e),t=e.year||0,r=e.quarter||0,o=e.month||0,n=e.week||e.isoWeek||0,i=e.day||0,s=e.hour||0,a=e.minute||0,l=e.second||0,h=e.millisecond||0;this._isValid=function(e){var t,r,o=!1,n=Nt.length;for(t in e)if(f(e,t)&&(-1===E.call(Nt,t)||null!=e[t]&&isNaN(e[t])))return!1;for(r=0;r<n;++r)if(e[Nt[r]]){if(o)return!1;parseFloat(e[Nt[r]])!==p(e[Nt[r]])&&(o=!0)}return!0}(e),this._milliseconds=+h+1e3*l+6e4*a+1e3*s*60*60,this._days=+i+7*n,this._months=+o+3*r+12*t,this._data={},this._locale=M(),this._bubble()}function It(e){return e instanceof Bt}function Ht(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function Lt(e,r){o(e,0,0,function(){var e=this.utcOffset(),t="+";return e<0&&(e=-e,t="-"),t+i(~~(e/60),2)+r+i(~~e%60,2)})}Lt("Z",":"),Lt("ZZ",""),b("Z",Te),b("ZZ",Te),x(["Z","ZZ"],function(e,t,r){r._useUTC=!0,r._tzm=Ft(Te,e)});var Rt=/([\+\-]|\d\d)/gi;function Ft(e,t){var t=(t||"").match(e);return null===t?null:0===(t=60*(e=((t[t.length-1]||[])+"").match(Rt)||["-",0,0])[1]+p(e[2]))?0:"+"===e[0]?t:-t}function Yt(e,t){var r;return t._isUTC?(t=t.clone(),r=(l(e)||Y(e)?e:N(e)).valueOf()-t.valueOf(),t._d.setTime(t._d.valueOf()+r),m.updateOffset(t,!1),t):N(e).local()}function $t(e){return-Math.round(e._d.getTimezoneOffset())}function zt(){return!!this.isValid()&&this._isUTC&&0===this._offset}m.updateOffset=function(){};var Ut=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,jt=/^(-|\+)?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 r,o,n=e;return It(e)?n={ms:e._milliseconds,d:e._days,M:e._months}:F(e)||!isNaN(+e)?(n={},t?n[t]=+e:n.milliseconds=+e):(t=Ut.exec(e))?(r="-"===t[1]?-1:1,n={y:0,d:p(t[T])*r,h:p(t[S])*r,m:p(t[P])*r,s:p(t[D])*r,ms:p(Ht(1e3*t[Oe]))*r}):(t=jt.exec(e))?(r="-"===t[1]?-1:1,n={y:Vt(t[2],r),M:Vt(t[3],r),w:Vt(t[4],r),d:Vt(t[5],r),h:Vt(t[6],r),m:Vt(t[7],r),s:Vt(t[8],r)}):null==n?n={}:"object"==typeof n&&("from"in n||"to"in n)&&(t=N(n.from),r=N(n.to),t=t.isValid()&&r.isValid()?(r=Yt(r,t),t.isBefore(r)?o=Wt(t,r):((o=Wt(r,t)).milliseconds=-o.milliseconds,o.months=-o.months),o):{milliseconds:0,months:0},(n={}).ms=t.milliseconds,n.M=t.months),o=new Bt(n),It(e)&&f(e,"_locale")&&(o._locale=e._locale),It(e)&&f(e,"_isValid")&&(o._isValid=e._isValid),o}function Vt(e,t){e=e&&parseFloat(e.replace(",","."));return(isNaN(e)?0:e)*t}function Wt(e,t){var r={};return r.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(r.months,"M").isAfter(t)&&--r.months,r.milliseconds=+t-+e.clone().add(r.months,"M"),r}function Gt(o,n){return function(e,t){var r;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."),r=e,e=t,t=r),qt(this,B(e,t),o),this}}function qt(e,t,r,o){var n=t._milliseconds,i=Ht(t._days),t=Ht(t._months);e.isValid()&&(o=null==o||o,t&&Ye(e,pe(e,"Month")+t*r),i&&me(e,"Date",pe(e,"Date")+i*r),n&&e._d.setTime(e._d.valueOf()+n*r),o)&&m.updateOffset(e,i||t)}B.fn=Bt.prototype,B.invalid=function(){return B(NaN)};Ie=Gt(1,"add"),Ze=Gt(-1,"subtract");function Kt(e){return"string"==typeof e||e instanceof String}function Xt(e){return l(e)||Y(e)||Kt(e)||F(e)||(r=s(t=e),o=!1,r&&(o=0===t.filter(function(e){return!F(e)&&Kt(t)}).length),r&&o)||function(e){var t,r,o=L(e)&&!R(e),n=!1,i=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],s=i.length;for(t=0;t<s;t+=1)r=i[t],n=n||f(e,r);return o&&n}(e)||null==e;var t,r,o}function Zt(e,t){var r,o;return e.date()<t.date()?-Zt(t,e):-((r=12*(t.year()-e.year())+(t.month()-e.month()))+(t-(o=e.clone().add(r,"months"))<0?(t-o)/(o-e.clone().add(r-1,"months")):(t-o)/(e.clone().add(1+r,"months")-o)))||0}function Jt(e){return void 0===e?this._locale._abbr:(null!=(e=M(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 er=126227808e5;function tr(e,t){return(e%t+t)%t}function rr(e,t,r){return e<100&&0<=e?new Date(e+400,t,r)-er:new Date(e,t,r).valueOf()}function or(e,t,r){return e<100&&0<=e?Date.UTC(e+400,t,r)-er:Date.UTC(e,t,r)}function nr(e,t){return t.erasAbbrRegex(e)}function ir(){for(var e=[],t=[],r=[],o=[],n=this.eras(),i=0,s=n.length;i<s;++i)t.push(w(n[i].name)),e.push(w(n[i].abbr)),r.push(w(n[i].narrow)),o.push(w(n[i].name)),o.push(w(n[i].abbr)),o.push(w(n[i].narrow));this._erasRegex=new RegExp("^("+o.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+t.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+r.join("|")+")","i")}function sr(e,t){o(0,[e,e.length],0,t)}function ar(e,t,r,o,n){var i;return null==e?Ke(this,o,n).year:(t>(i=k(e,o,n))&&(t=i),function(e,t,r,o,n){e=qe(e,t,r,o,n),t=We(e.year,0,e.dayOfYear);return this.year(t.getUTCFullYear()),this.month(t.getUTCMonth()),this.date(t.getUTCDate()),this}.call(this,e,t,r,o,n))}o("N",0,0,"eraAbbr"),o("NN",0,0,"eraAbbr"),o("NNN",0,0,"eraAbbr"),o("NNNN",0,0,"eraName"),o("NNNNN",0,0,"eraNarrow"),o("y",["y",1],"yo","eraYear"),o("y",["yy",2],0,"eraYear"),o("y",["yyy",3],0,"eraYear"),o("y",["yyyy",4],0,"eraYear"),b("N",nr),b("NN",nr),b("NNN",nr),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,r,o){o=r._locale.erasParse(e,o,r._strict);o?_(r).era=o:_(r).invalidEra=e}),b("y",Ee),b("yy",Ee),b("yyy",Ee),b("yyyy",Ee),b("yo",function(e,t){return t._eraYearOrdinalRegex||Ee}),x(["y","yy","yyy","yyyy"],A),x(["yo"],function(e,t,r,o){var n;r._locale._eraYearOrdinalRegex&&(n=e.match(r._locale._eraYearOrdinalRegex)),r._locale.eraYearOrdinalParse?t[A]=r._locale.eraYearOrdinalParse(e,n):t[A]=parseInt(e,10)}),o(0,["gg",2],0,function(){return this.weekYear()%100}),o(0,["GG",2],0,function(){return this.isoWeekYear()%100}),sr("gggg","weekYear"),sr("ggggg","weekYear"),sr("GGGG","isoWeekYear"),sr("GGGGG","isoWeekYear"),t("weekYear","gg"),t("isoWeekYear","GG"),r("weekYear",1),r("isoWeekYear",1),b("G",Ae),b("g",Ae),b("GG",g,y),b("gg",g,y),b("GGGG",we,_e),b("gggg",we,_e),b("GGGGG",xe,ye),b("ggggg",xe,ye),ke(["gggg","ggggg","GGGG","GGGGG"],function(e,t,r,o){t[o.substr(0,2)]=p(e)}),ke(["gg","GG"],function(e,t,r,o){t[o]=m.parseTwoDigitYear(e)}),o("Q",0,"Qo","quarter"),t("quarter","Q"),r("quarter",7),b("Q",n),x("Q",function(e,t){t[C]=3*(p(e)-1)}),o("D",["DD",2],"Do","date"),t("date","D"),r("date",9),b("D",g),b("DD",g,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]=p(e.match(g)[0])});we=de("Date",!0);o("DDD",["DDDD",3],"DDDo","dayOfYear"),t("dayOfYear","DDD"),r("dayOfYear",4),b("DDD",be),b("DDDD",fe),x(["DDD","DDDD"],function(e,t,r){r._dayOfYear=p(e)}),o("m",["mm",2],0,"minute"),t("minute","m"),r("minute",14),b("m",g),b("mm",g,y),x(["m","mm"],P);_e=de("Minutes",!1);o("s",["ss",2],0,"second"),t("second","s"),r("second",15),b("s",g),b("ss",g,y),x(["s","ss"],D);var lr,xe=de("Seconds",!1);for(o("S",0,0,function(){return~~(this.millisecond()/100)}),o(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),o(0,["SSS",3],0,"millisecond"),o(0,["SSSS",4],0,function(){return 10*this.millisecond()}),o(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),o(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),o(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),o(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),o(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),t("millisecond","ms"),r("millisecond",16),b("S",be,n),b("SS",be,y),b("SSS",be,fe),lr="SSSS";lr.length<=9;lr+="S")b(lr,Ee);function hr(e,t){t[Oe]=p(1e3*("0."+e))}for(lr="S";lr.length<=9;lr+="S")x(lr,hr);ye=de("Milliseconds",!1),o("z",0,0,"zoneAbbr"),o("zz",0,0,"zoneName");n=K.prototype;function ur(e){return e}n.add=Ie,n.calendar=function(e,t){1===arguments.length&&(arguments[0]?Xt(arguments[0])?(e=arguments[0],t=void 0):function(e){for(var t=L(e)&&!R(e),r=!1,o=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],n=0;n<o.length;n+=1)r=r||f(e,o[n]);return t&&r}(arguments[0])&&(t=arguments[0],e=void 0):t=e=void 0);var e=e||N(),r=Yt(e,this).startOf("day"),r=m.calendarFormat(this,r)||"sameElse",t=t&&(u(t[r])?t[r].call(this,e):t[r]);return this.format(t||this.localeData().calendar(r,this,N(e)))},n.clone=function(){return new K(this)},n.diff=function(e,t,r){var o,n,i;if(!this.isValid())return NaN;if(!(o=Yt(e,this)).isValid())return NaN;switch(n=6e4*(o.utcOffset()-this.utcOffset()),t=c(t)){case"year":i=Zt(this,o)/12;break;case"month":i=Zt(this,o);break;case"quarter":i=Zt(this,o)/3;break;case"second":i=(this-o)/1e3;break;case"minute":i=(this-o)/6e4;break;case"hour":i=(this-o)/36e5;break;case"day":i=(this-o-n)/864e5;break;case"week":i=(this-o-n)/6048e5;break;default:i=this-o}return r?i:d(i)},n.endOf=function(e){var t,r;if(void 0!==(e=c(e))&&"millisecond"!==e&&this.isValid()){switch(r=this._isUTC?or:rr,e){case"year":t=r(this.year()+1,0,1)-1;break;case"quarter":t=r(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=r(this.year(),this.month()+1,1)-1;break;case"week":t=r(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=r(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=36e5-tr(t+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":t=this._d.valueOf(),t+=6e4-tr(t,6e4)-1;break;case"second":t=this._d.valueOf(),t+=1e3-tr(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=se(this,e),this.localeData().postformat(e)},n.from=function(e,t){return this.isValid()&&(l(e)&&e.isValid()||N(e).isValid())?B({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},n.fromNow=function(e){return this.from(N(),e)},n.to=function(e,t){return this.isValid()&&(l(e)&&e.isValid()||N(e).isValid())?B({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},n.toNow=function(e){return this.to(N(),e)},n.get=function(e){return u(this[e=c(e)])?this[e]():this},n.invalidAt=function(){return _(this).overflow},n.isAfter=function(e,t){return e=l(e)?e:N(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=c(t)||"millisecond")?this.valueOf()>e.valueOf():e.valueOf()<this.clone().startOf(t).valueOf())},n.isBefore=function(e,t){return e=l(e)?e:N(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=c(t)||"millisecond")?this.valueOf()<e.valueOf():this.clone().endOf(t).valueOf()<e.valueOf())},n.isBetween=function(e,t,r,o){return e=l(e)?e:N(e),t=l(t)?t:N(t),!!(this.isValid()&&e.isValid()&&t.isValid())&&("("===(o=o||"()")[0]?this.isAfter(e,r):!this.isBefore(e,r))&&(")"===o[1]?this.isBefore(t,r):!this.isAfter(t,r))},n.isSame=function(e,t){var e=l(e)?e:N(e);return!(!this.isValid()||!e.isValid())&&("millisecond"===(t=c(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 U(this)},n.lang=Qe,n.locale=Jt,n.localeData=Qt,n.max=ve,n.min=ge,n.parsingFlags=function(){return z({},_(this))},n.set=function(e,t){if("object"==typeof e)for(var r=function(e){var t,r=[];for(t in e)f(e,t)&&r.push({unit:t,priority:ue[t]});return r.sort(function(e,t){return e.priority-t.priority}),r}(e=he(e)),o=r.length,n=0;n<o;n++)this[r[n].unit](e[r[n].unit]);else if(u(this[e=c(e)]))return this[e](t);return this},n.startOf=function(e){var t,r;if(void 0!==(e=c(e))&&"millisecond"!==e&&this.isValid()){switch(r=this._isUTC?or:rr,e){case"year":t=r(this.year(),0,1);break;case"quarter":t=r(this.year(),this.month()-this.month()%3,1);break;case"month":t=r(this.year(),this.month(),1);break;case"week":t=r(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=r(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=tr(t+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":t=this._d.valueOf(),t-=tr(t,6e4);break;case"second":t=this._d.valueOf(),t-=tr(t,1e3)}this._d.setTime(t),m.updateOffset(this,!0)}return this},n.subtract=Ze,n.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},n.toObject=function(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}},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()?se(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",se(t,"Z")):se(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,r;return this.isValid()?(t="moment",r="",this.isLocal()||(t=0===this.utcOffset()?"moment.utc":"moment.parseZone",r="Z"),t="["+t+'("]',e=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(t+e+"-MM-DD[T]HH:mm:ss.SSS"+(r+'[")]'))):"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(),r=0,o=t.length;r<o;++r){if(e=this.clone().startOf("day").valueOf(),t[r].since<=e&&e<=t[r].until)return t[r].name;if(t[r].until<=e&&e<=t[r].since)return t[r].name}return""},n.eraNarrow=function(){for(var e,t=this.localeData().eras(),r=0,o=t.length;r<o;++r){if(e=this.clone().startOf("day").valueOf(),t[r].since<=e&&e<=t[r].until)return t[r].narrow;if(t[r].until<=e&&e<=t[r].since)return t[r].narrow}return""},n.eraAbbr=function(){for(var e,t=this.localeData().eras(),r=0,o=t.length;r<o;++r){if(e=this.clone().startOf("day").valueOf(),t[r].since<=e&&e<=t[r].until)return t[r].abbr;if(t[r].until<=e&&e<=t[r].since)return t[r].abbr}return""},n.eraYear=function(){for(var e,t,r=this.localeData().eras(),o=0,n=r.length;o<n;++o)if(e=r[o].since<=r[o].until?1:-1,t=this.clone().startOf("day").valueOf(),r[o].since<=t&&t<=r[o].until||r[o].until<=t&&t<=r[o].since)return(this.year()-m(r[o].since).year())*e+r[o].offset;return this.year()},n.year=je,n.isLeapYear=function(){return ce(this.year())},n.weekYear=function(e){return ar.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},n.isoWeekYear=function(e){return ar.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=$e,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=Ke(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},n.weeksInYear=function(){var e=this.localeData()._week;return k(this.year(),e.dow,e.doy)},n.weeksInWeekYear=function(){var e=this.localeData()._week;return k(this.weekYear(),e.dow,e.doy)},n.isoWeeksInYear=function(){return k(this.year(),1,4)},n.isoWeeksInISOWeekYear=function(){return k(this.isoWeekYear(),1,4)},n.date=we,n.day=n.days=function(e){var t,r,o;return this.isValid()?(t=this._isUTC?this._d.getUTCDay():this._d.getDay(),null!=e?(r=e,o=this.localeData(),e="string"!=typeof r?r:isNaN(r)?"number"==typeof(r=o.weekdaysParse(r))?r:null:parseInt(r,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,r;return this.isValid()?null!=e?(t=e,r=this.localeData(),r="string"==typeof t?r.weekdaysParse(t)%7||7:isNaN(t)?null:t,this.day(this.day()%7?r:r-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=v,n.minute=n.minutes=_e,n.second=n.seconds=xe,n.millisecond=n.milliseconds=ye,n.utcOffset=function(e,t,r){var o,n=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null==e)return this._isUTC?n:$t(this);if("string"==typeof e){if(null===(e=Ft(Te,e)))return this}else Math.abs(e)<16&&!r&&(e*=60);return!this._isUTC&&t&&(o=$t(this)),this._offset=e,this._isUTC=!0,null!=o&&this.add(o,"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($t(this),"m"),this},n.parseZone=function(){var e;return null!=this._tzm?this.utcOffset(this._tzm,!1,!0):"string"==typeof this._i&&(null!=(e=Ft(Ce,this._i))?this.utcOffset(e):this.utcOffset(0,!0)),this},n.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?N(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.",we),n.months=e("months accessor is deprecated. Use month instead",$e),n.years=e("years accessor is deprecated. Use year instead",je),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 a(this._isDSTShifted)&&(q(t={},this),(t=kt(t))._a?(e=(t._isUTC?h:N)(t._a),this._isDSTShifted=this.isValid()&&0<function(e,t,r){for(var o=Math.min(e.length,t.length),n=Math.abs(e.length-t.length),i=0,s=0;s<o;s++)(r&&e[s]!==t[s]||!r&&p(e[s])!==p(t[s]))&&i++;return i+n}(t._a,e.toArray())):this._isDSTShifted=!1),this._isDSTShifted});y=ee.prototype;function cr(e,t,r,o){var n=M(),o=h().set(o,t);return n[r](o,e)}function dr(e,t,r){if(F(e)&&(t=e,e=void 0),e=e||"",null!=t)return cr(e,t,r,"month");for(var o=[],n=0;n<12;n++)o[n]=cr(e,n,r,"month");return o}function pr(e,t,r,o){t=("boolean"==typeof e||(r=t=e,e=!1),F(t)&&(r=t,t=void 0),t||"");var n,i=M(),s=e?i._week.dow:0,a=[];if(null!=r)return cr(t,(r+s)%7,o,"day");for(n=0;n<7;n++)a[n]=cr(t,(n+s)%7,o,"day");return a}y.calendar=function(e,t,r){return u(e=this._calendar[e]||this._calendar.sameElse)?e.call(t,r):e},y.longDateFormat=function(e){var t=this._longDateFormat[e],r=this._longDateFormat[e.toUpperCase()];return t||!r?t:(this._longDateFormat[e]=r.match(re).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=ur,y.postformat=ur,y.relativeTime=function(e,t,r,o){var n=this._relativeTime[r];return u(n)?n(e,t,r,o):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,r;for(r in e)f(e,r)&&(u(t=e[r])?this[r]=t:this["_"+r]=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 r,o=this._eras||M("en")._eras,n=0,i=o.length;n<i;++n)switch("string"==typeof o[n].since&&(r=m(o[n].since).startOf("day"),o[n].since=r.valueOf()),typeof o[n].until){case"undefined":o[n].until=1/0;break;case"string":r=m(o[n].until).startOf("day").valueOf(),o[n].until=r.valueOf()}return o},y.erasParse=function(e,t,r){var o,n,i,s,a,l=this.eras();for(e=e.toUpperCase(),o=0,n=l.length;o<n;++o)if(i=l[o].name.toUpperCase(),s=l[o].abbr.toUpperCase(),a=l[o].narrow.toUpperCase(),r)switch(t){case"N":case"NN":case"NNN":if(s===e)return l[o];break;case"NNNN":if(i===e)return l[o];break;case"NNNNN":if(a===e)return l[o]}else if(0<=[i,s,a].indexOf(e))return l[o]},y.erasConvertYear=function(e,t){var r=e.since<=e.until?1:-1;return void 0===t?m(e.since).year():m(e.since).year()+(t-e.offset)*r},y.erasAbbrRegex=function(e){return f(this,"_erasAbbrRegex")||ir.call(this),e?this._erasAbbrRegex:this._erasRegex},y.erasNameRegex=function(e){return f(this,"_erasNameRegex")||ir.call(this),e?this._erasNameRegex:this._erasRegex},y.erasNarrowRegex=function(e){return f(this,"_erasNarrowRegex")||ir.call(this),e?this._erasNarrowRegex:this._erasRegex},y.months=function(e,t){return e?(s(this._months)?this._months:this._months[(this._months.isFormat||Le).test(t)?"format":"standalone"])[e.month()]:s(this._months)?this._months:this._months.standalone},y.monthsShort=function(e,t){return e?(s(this._monthsShort)?this._monthsShort:this._monthsShort[Le.test(t)?"format":"standalone"])[e.month()]:s(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},y.monthsParse=function(e,t,r){var o,n;if(this._monthsParseExact)return function(e,t,r){var o,n,i,e=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],o=0;o<12;++o)i=h([2e3,o]),this._shortMonthsParse[o]=this.monthsShort(i,"").toLocaleLowerCase(),this._longMonthsParse[o]=this.months(i,"").toLocaleLowerCase();return r?"MMM"===t?-1!==(n=E.call(this._shortMonthsParse,e))?n:null:-1!==(n=E.call(this._longMonthsParse,e))?n:null:"MMM"===t?-1!==(n=E.call(this._shortMonthsParse,e))||-1!==(n=E.call(this._longMonthsParse,e))?n:null:-1!==(n=E.call(this._longMonthsParse,e))||-1!==(n=E.call(this._shortMonthsParse,e))?n:null}.call(this,e,t,r);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),o=0;o<12;o++){if(n=h([2e3,o]),r&&!this._longMonthsParse[o]&&(this._longMonthsParse[o]=new RegExp("^"+this.months(n,"").replace(".","")+"$","i"),this._shortMonthsParse[o]=new RegExp("^"+this.monthsShort(n,"").replace(".","")+"$","i")),r||this._monthsParse[o]||(n="^"+this.months(n,"")+"|^"+this.monthsShort(n,""),this._monthsParse[o]=new RegExp(n.replace(".",""),"i")),r&&"MMMM"===t&&this._longMonthsParse[o].test(e))return o;if(r&&"MMM"===t&&this._shortMonthsParse[o].test(e))return o;if(!r&&this._monthsParse[o].test(e))return o}},y.monthsRegex=function(e){return this._monthsParseExact?(f(this,"_monthsRegex")||ze.call(this),e?this._monthsStrictRegex:this._monthsRegex):(f(this,"_monthsRegex")||(this._monthsRegex=Fe),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=Re),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},y.week=function(e){return Ke(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=s(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"],!0===e?Xe(t,this._week.dow):e?t[e.day()]:t},y.weekdaysMin=function(e){return!0===e?Xe(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},y.weekdaysShort=function(e){return!0===e?Xe(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},y.weekdaysParse=function(e,t,r){var o,n;if(this._weekdaysParseExact)return function(e,t,r){var o,n,i,e=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],o=0;o<7;++o)i=h([2e3,1]).day(o),this._minWeekdaysParse[o]=this.weekdaysMin(i,"").toLocaleLowerCase(),this._shortWeekdaysParse[o]=this.weekdaysShort(i,"").toLocaleLowerCase(),this._weekdaysParse[o]=this.weekdays(i,"").toLocaleLowerCase();return r?"dddd"===t?-1!==(n=E.call(this._weekdaysParse,e))?n:null:"ddd"===t?-1!==(n=E.call(this._shortWeekdaysParse,e))?n:null:-1!==(n=E.call(this._minWeekdaysParse,e))?n:null:"dddd"===t?-1!==(n=E.call(this._weekdaysParse,e))||-1!==(n=E.call(this._shortWeekdaysParse,e))||-1!==(n=E.call(this._minWeekdaysParse,e))?n:null:"ddd"===t?-1!==(n=E.call(this._shortWeekdaysParse,e))||-1!==(n=E.call(this._weekdaysParse,e))||-1!==(n=E.call(this._minWeekdaysParse,e))?n:null:-1!==(n=E.call(this._minWeekdaysParse,e))||-1!==(n=E.call(this._weekdaysParse,e))||-1!==(n=E.call(this._shortWeekdaysParse,e))?n:null}.call(this,e,t,r);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),o=0;o<7;o++){if(n=h([2e3,1]).day(o),r&&!this._fullWeekdaysParse[o]&&(this._fullWeekdaysParse[o]=new RegExp("^"+this.weekdays(n,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[o]=new RegExp("^"+this.weekdaysShort(n,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[o]=new RegExp("^"+this.weekdaysMin(n,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[o]||(n="^"+this.weekdays(n,"")+"|^"+this.weekdaysShort(n,"")+"|^"+this.weekdaysMin(n,""),this._weekdaysParse[o]=new RegExp(n.replace(".",""),"i")),r&&"dddd"===t&&this._fullWeekdaysParse[o].test(e))return o;if(r&&"ddd"===t&&this._shortWeekdaysParse[o].test(e))return o;if(r&&"dd"===t&&this._minWeekdaysParse[o].test(e))return o;if(!r&&this._weekdaysParse[o].test(e))return o}},y.weekdaysRegex=function(e){return this._weekdaysParseExact?(f(this,"_weekdaysRegex")||ot.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")||ot.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")||ot.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(f(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=rt),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},y.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},y.meridiem=function(e,t,r){return 11<e?r?"pm":"PM":r?"am":"AM"},pt("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===p(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.",pt),m.langData=e("moment.langData is deprecated. Use moment.localeData instead.",M);var mr=Math.abs;function fr(e,t,r,o){t=B(t,r);return e._milliseconds+=o*t._milliseconds,e._days+=o*t._days,e._months+=o*t._months,e._bubble()}function _r(e){return e<0?Math.floor(e):Math.ceil(e)}function yr(e){return 4800*e/146097}function gr(e){return 146097*e/4800}function vr(e){return function(){return this.as(e)}}be=vr("ms"),fe=vr("s"),Ie=vr("m"),ve=vr("h"),ge=vr("d"),Ze=vr("w"),v=vr("M"),_e=vr("Q"),xe=vr("y");function br(e){return function(){return this.isValid()?this._data[e]:NaN}}var ye=br("milliseconds"),we=br("seconds"),je=br("minutes"),y=br("hours"),wr=br("days"),xr=br("months"),Er=br("years");var Ar=Math.round,Cr={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Tr(e,t,r,o){var n=B(e).abs(),i=Ar(n.as("s")),s=Ar(n.as("m")),a=Ar(n.as("h")),l=Ar(n.as("d")),h=Ar(n.as("M")),u=Ar(n.as("w")),n=Ar(n.as("y")),i=(i<=r.ss?["s",i]:i<r.s&&["ss",i])||(s<=1?["m"]:s<r.m&&["mm",s])||(a<=1?["h"]:a<r.h&&["hh",a])||(l<=1?["d"]:l<r.d&&["dd",l]);return(i=(i=null!=r.w?i||(u<=1?["w"]:u<r.w&&["ww",u]):i)||(h<=1?["M"]:h<r.M&&["MM",h])||(n<=1?["y"]:["yy",n]))[2]=t,i[3]=0<+e,i[4]=o,function(e,t,r,o,n){return n.relativeTime(t||1,!!r,e,o)}.apply(null,i)}var Sr=Math.abs;function Pr(e){return(0<e)-(e<0)||+e}function Dr(){var e,t,r,o,n,i,s,a,l,h,u;return this.isValid()?(a=Sr(this._milliseconds)/1e3,l=Sr(this._days),h=Sr(this._months),(u=this.asSeconds())?(e=d(a/60),t=d(e/60),a%=60,e%=60,r=d(h/12),h%=12,o=a?a.toFixed(3).replace(/\.?0+$/,""):"",n=Pr(this._months)!==Pr(u)?"-":"",i=Pr(this._days)!==Pr(u)?"-":"",s=Pr(this._milliseconds)!==Pr(u)?"-":"",(u<0?"-":"")+"P"+(r?n+r+"Y":"")+(h?n+h+"M":"")+(l?i+l+"D":"")+(t||e||a?"T":"")+(t?s+t+"H":"")+(e?s+e+"M":"")+(a?s+o+"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=mr(this._milliseconds),this._days=mr(this._days),this._months=mr(this._months),e.milliseconds=mr(e.milliseconds),e.seconds=mr(e.seconds),e.minutes=mr(e.minutes),e.hours=mr(e.hours),e.months=mr(e.months),e.years=mr(e.years),this},I.add=function(e,t){return fr(this,e,t,1)},I.subtract=function(e,t){return fr(this,e,t,-1)},I.as=function(e){if(!this.isValid())return NaN;var t,r,o=this._milliseconds;if("month"===(e=c(e))||"quarter"===e||"year"===e)switch(t=this._days+o/864e5,r=this._months+yr(t),e){case"month":return r;case"quarter":return r/3;case"year":return r/12}else switch(t=this._days+Math.round(gr(this._months)),e){case"week":return t/7+o/6048e5;case"day":return t+o/864e5;case"hour":return 24*t+o/36e5;case"minute":return 1440*t+o/6e4;case"second":return 86400*t+o/1e3;case"millisecond":return Math.floor(864e5*t)+o;default:throw new Error("Unknown unit "+e)}},I.asMilliseconds=be,I.asSeconds=fe,I.asMinutes=Ie,I.asHours=ve,I.asDays=ge,I.asWeeks=Ze,I.asMonths=v,I.asQuarters=_e,I.asYears=xe,I.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*p(this._months/12):NaN},I._bubble=function(){var e=this._milliseconds,t=this._days,r=this._months,o=this._data;return 0<=e&&0<=t&&0<=r||e<=0&&t<=0&&r<=0||(e+=864e5*_r(gr(r)+t),r=t=0),o.milliseconds=e%1e3,e=d(e/1e3),o.seconds=e%60,e=d(e/60),o.minutes=e%60,e=d(e/60),o.hours=e%24,t+=d(e/24),r+=e=d(yr(t)),t-=_r(gr(e)),e=d(r/12),r%=12,o.days=t,o.months=r,o.years=e,this},I.clone=function(){return B(this)},I.get=function(e){return e=c(e),this.isValid()?this[e+"s"]():NaN},I.milliseconds=ye,I.seconds=we,I.minutes=je,I.hours=y,I.days=wr,I.weeks=function(){return d(this.days()/7)},I.months=xr,I.years=Er,I.humanize=function(e,t){var r,o;return this.isValid()?(r=!1,o=Cr,"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(r=e),"object"==typeof t&&(o=Object.assign({},Cr,t),null!=t.s)&&null==t.ss&&(o.ss=t.s-1),t=Tr(this,!r,o,e=this.localeData()),r&&(t=e.pastFuture(+this,t)),e.postformat(t)):this.localeData().invalidDate()},I.toISOString=Dr,I.toString=Dr,I.toJSON=Dr,I.locale=Jt,I.localeData=Qt,I.toIsoString=e("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Dr),I.lang=Qe,o("X",0,0,"unix"),o("x",0,0,"valueOf"),b("x",Ae),b("X",/[+-]?\d+(\.\d{1,3})?/),x("X",function(e,t,r){r._d=new Date(1e3*parseFloat(e))}),x("x",function(e,t,r){r._d=new Date(p(e))}),m.version="2.29.4",H=N,m.fn=n,m.min=function(){return Mt("isBefore",[].slice.call(arguments,0))},m.max=function(){return Mt("isAfter",[].slice.call(arguments,0))},m.now=function(){return Date.now?Date.now():+new Date},m.utc=h,m.unix=function(e){return N(1e3*e)},m.months=function(e,t){return dr(e,t,"months")},m.isDate=Y,m.locale=pt,m.invalid=j,m.duration=B,m.isMoment=l,m.weekdays=function(e,t,r){return pr(e,t,r,"weekdays")},m.parseZone=function(){return N.apply(null,arguments).parseZone()},m.localeData=M,m.isDuration=It,m.monthsShort=function(e,t){return dr(e,t,"monthsShort")},m.weekdaysMin=function(e,t,r){return pr(e,t,r,"weekdaysMin")},m.defineLocale=mt,m.updateLocale=function(e,t){var r,o;return null!=t?(o=lt,null!=O[e]&&null!=O[e].parentLocale?O[e].set(Q(O[e]._config,t)):(t=Q(o=null!=(r=dt(e))?r._config:o,t),null==r&&(t.abbr=e),(o=new ee(t)).parentLocale=O[e],O[e]=o),pt(e)):null!=O[e]&&(null!=O[e].parentLocale?(O[e]=O[e].parentLocale,e===pt()&&pt(e)):null!=O[e]&&delete O[e]),O[e]},m.locales=function(){return te(O)},m.weekdaysShort=function(e,t,r){return pr(e,t,r,"weekdaysShort")},m.normalizeUnits=c,m.relativeTimeRounding=function(e){return void 0===e?Ar:"function"==typeof e&&(Ar=e,!0)},m.relativeTimeThreshold=function(e,t){return void 0!==Cr[e]&&(void 0===t?Cr[e]:(Cr[e]=t,"s"===e&&(Cr.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 Lo,Ro,Fo=Lo.exports;function Yo(e,t){eo(e,t)}const $o={en:{date:"Granted date:",bonusName:"Bonus Name",bonusType:"Bonus Type",bonusAmount:"Bonus Amount",wageringAmount:"Wagering Progress (Rollover)",remainingBonus:"Current Bonus Balance",forfeitBonus:"Forfeit Bonus",active:"active",released:"released",expired:"expired",forfeited:"forfeited"},"zh-hk":{date:"授予日期:",bonusName:"獎金名稱",bonusType:"獎金類型",bonusAmount:"獎金金額",wageringAmount:"投注進展",remainingBonus:"剩餘紅利金額",forfeitBonus:"沒收獎金",active:"active",released:"released",expired:"expired",forfeited:"forfeited"},fr:{date:"Date d'attribution:",bonusName:"Nom du bonus",bonusType:"Type de bonus",bonusAmount:"Montant du bonus",wageringAmount:"Changer les progrès",remainingBonus:"Montant du bonus restant",forfeitBonus:"Supprimer le bonus",active:"active",released:"released",expired:"expired",forfeited:"forfeited"},ro:{date:"Dată Alocare:",bonusName:"Nume bonus",bonusType:"Tip de bonus",bonusAmount:"Sumă",wageringAmount:"Progresul de pariere",remainingBonus:"Bonus rămas",forfeitBonus:"Anulează bonusul",active:"active",released:"released",expired:"expired",forfeited:"forfeited"},es:{date:"Fecha de Canje",bonusName:"Nombre de Bono",bonusType:"Tipo de Bono",bonusAmount:"Monto de Bono",wageringAmount:"Progreso ( Rollover)",remainingBonus:"Saldo Actual de Bono",forfeitBonus:"cancelar bono",active:"Activo",released:"released",expired:"expired",forfeited:"forfeited"},pt:{date:"Data de atribuição do bônus:",bonusName:"Nome do bônus",bonusType:"Tipo de bônus",bonusAmount:"Valor do bônus",wageringAmount:"Progresso de apostas",remainingBonus:"Valor do bônus restante",forfeitBonus:"Bônus de Perda",active:"active",released:"released",expired:"expired",forfeited:"forfeited"},hr:{date:"Odobreni datum:",bonusName:"Ime bonusa",bonusType:"Vrsta bonusa",bonusAmount:"Iznos bonusa",wageringAmount:"Potrebno odigrati",remainingBonus:"Trenutno stanje bonusa",forfeitBonus:"Otkaži bonus",active:"aktivan",released:"razriješen",expired:"Istekao",forfeited:"otkazan"},"pt-br":{date:"Data concedida:",bonusName:"Nome do bônus:",bonusType:"Tipo de bônus:",bonusAmount:"Valor do bônus:",wageringAmount:"Progresso da Quantidade de Apostas (Rollover)",remainingBonus:"Saldo atual de bônus:",forfeitBonus:"Recusar bônus",active:"Ativo",released:"Lançado",expired:"Expirado",forfeited:"Perdido"},"es-mx":{date:"Fecha concedida:",bonusName:"Nombre de bono:",bonusType:"Tipo de Bono:",bonusAmount:"valor de Bono:",wageringAmount:"Progreso de monto de apuestas (Rollover)",remainingBonus:"Saldo de bono actual:",forfeitBonus:"Declinar bono",active:"Activo",released:"Liberado",expired:"Expirado",forfeited:"Perdido"},tr:{date:"Verilen tarih:",bonusName:"Bonus Adı",bonusType:"Bonus Türü",bonusAmount:"Bonus Tutarı",wageringAmount:"Bahis İlerlemesi (Rollover)",remainingBonus:"Mevcut Bonus Bakiyesi",forfeitBonus:"Fesih Bonusu",active:"aktif",released:"piyasaya sürülmüş",expired:"günü geçmiş",forfeited:"kaybedilen"}};function zo(e){let r,o,n,i,s,a,l,h,u=e[9]("bonusAmount")+"";return{c(){r=t("div"),o=t("p"),n=W(u),i=G(),s=t("p"),a=W(e[3]),l=G(),h=W(e[6]),q(o,"class","BonusCardRowTitle"),q(s,"class","BonusCardRowText"),q(r,"class","BonusCardRow")},m(e,t){j(e,r,t),U(r,o),U(o,n),U(r,i),U(r,s),U(s,a),U(s,l),U(s,h)},p(e,t){512&t&&u!==(u=e[9]("bonusAmount")+"")&&K(n,u),8&t&&K(a,e[3]),64&t&&K(h,e[6])},d(e){e&&V(r)}}}function Uo(e){let r,o,n,i,s,a,l,h,u=e[9]("wageringAmount")+"";return{c(){r=t("div"),o=t("p"),n=W(u),i=G(),s=t("p"),a=W(e[4]),l=G(),h=W(e[6]),q(o,"class","BonusCardRowTitle"),q(s,"class","BonusCardRowText"),q(r,"class","BonusCardRow")},m(e,t){j(e,r,t),U(r,o),U(o,n),U(r,i),U(r,s),U(s,a),U(s,l),U(s,h)},p(e,t){512&t&&u!==(u=e[9]("wageringAmount")+"")&&K(n,u),16&t&&K(a,e[4]),64&t&&K(h,e[6])},d(e){e&&V(r)}}}function jo(e){let r,o,n,i,s,a,l,h,u=e[9]("remainingBonus")+"";return{c(){r=t("div"),o=t("p"),n=W(u),i=G(),s=t("p"),a=W(e[5]),l=G(),h=W(e[6]),q(o,"class","BonusCardRowTitle"),q(s,"class","BonusCardRowText"),q(r,"class","BonusCardRow")},m(e,t){j(e,r,t),U(r,o),U(o,n),U(r,i),U(r,s),U(s,a),U(s,l),U(s,h)},p(e,t){512&t&&u!==(u=e[9]("remainingBonus")+"")&&K(n,u),32&t&&K(a,e[5]),64&t&&K(h,e[6])},d(e){e&&V(r)}}}function Vo(r){let o,n,i,s,a=r[9]("forfeitBonus")+"";return{c(){o=t("button"),n=W(a),q(o,"class","DeleteBonus "+(r[10]?"DeleteBonusMobile":""))},m(e,t){j(e,o,t),U(o,n),i||(s=Y(o,"click",r[11]),i=!0)},p(e,t){512&t&&a!==(a=e[9]("forfeitBonus")+"")&&K(n,a)},d(e){e&&V(o),i=!1,s()}}}function Wo(r){let o,n,i,s,a,l,h,u,c,d,p,m,f,_,y,g,v,b,w,R,x,E,A,F,C,T,Y,S,P,$,D=r[9]("date")+"",k=Fo(r[0]).format("DD/MM/YYYY h:mm A")+"",O=r[9](""+r[1])+"",M=r[9]("bonusName")+"",N=r[9]("bonusType")+"",B=r[3]&&zo(r),I=r[4]&&Uo(r),H=r[5]&&jo(r),L="active"===r[1]&&Vo(r);return{c(){o=t("div"),n=t("div"),i=t("div"),s=t("p"),a=W(D),l=G(),h=t("span"),u=W(k),c=G(),d=t("p"),p=W(O),f=G(),_=t("div"),y=t("p"),g=W(M),v=G(),b=t("p"),w=W(r[2]),R=G(),x=t("div"),E=t("p"),A=W(N),F=G(),C=t("p"),T=W(r[8]),Y=G(),B&&B.c(),S=G(),I&&I.c(),P=G(),H&&H.c(),$=G(),L&&L.c(),this.c=z,q(s,"class","BonusCardRowTitle"),q(d,"class",m="BonusCardRowText BonusCardStatus TextCapitalize "+("active"===r[1]||"released"===r[1]?"StatusActive":"")+" "+("expired"===r[1]?"StatusExpired":"")+" "+("forfeited"===r[1]?"StatusForfeited":"")),q(i,"class","BonusCardRow"),q(y,"class","BonusCardRowTitle"),q(b,"class","BonusCardRowText"),q(_,"class","BonusCardRow"),q(E,"class","BonusCardRowTitle"),q(C,"class","BonusCardRowText TextCapitalize"),q(x,"class","BonusCardRow"),q(n,"class","BonusCardInfo"),q(o,"class","BonusCard")},m(e,t){j(e,o,t),U(o,n),U(n,i),U(i,s),U(s,a),U(s,l),U(s,h),U(h,u),U(i,c),U(i,d),U(d,p),U(n,f),U(n,_),U(_,y),U(y,g),U(_,v),U(_,b),U(b,w),U(n,R),U(n,x),U(x,E),U(E,A),U(x,F),U(x,C),U(C,T),U(n,Y),B&&B.m(n,null),U(n,S),I&&I.m(n,null),U(n,P),H&&H.m(n,null),U(o,$),L&&L.m(o,null),r[18](o)},p(e,[t]){512&t&&D!==(D=e[9]("date")+"")&&K(a,D),1&t&&k!==(k=Fo(e[0]).format("DD/MM/YYYY h:mm A")+"")&&K(u,k),514&t&&O!==(O=e[9](""+e[1])+"")&&K(p,O),2&t&&m!==(m="BonusCardRowText BonusCardStatus TextCapitalize "+("active"===e[1]||"released"===e[1]?"StatusActive":"")+" "+("expired"===e[1]?"StatusExpired":"")+" "+("forfeited"===e[1]?"StatusForfeited":""))&&q(d,"class",m),512&t&&M!==(M=e[9]("bonusName")+"")&&K(g,M),4&t&&K(w,e[2]),512&t&&N!==(N=e[9]("bonusType")+"")&&K(A,N),256&t&&K(T,e[8]),e[3]?B?B.p(e,t):((B=zo(e)).c(),B.m(n,S)):B&&(B.d(1),B=null),e[4]?I?I.p(e,t):((I=Uo(e)).c(),I.m(n,P)):I&&(I.d(1),I=null),e[5]?H?H.p(e,t):((H=jo(e)).c(),H.m(n,null)):H&&(H.d(1),H=null),"active"===e[1]?L?L.p(e,t):((L=Vo(e)).c(),L.m(o,null)):L&&(L.d(1),L=null)},i:z,o:z,d(e){e&&V(o),B&&B.d(),I&&I.d(),H&&H.d(),L&&L.d(),r[18](null)}}}function Go(t,e,r){let o;N(t,Io,e=>r(9,o=e));let n,{bonuswalletid:i=""}=e,{bonusdate:s=""}=e,{bonusstatus:a=""}=e,{bonusname:l=""}=e,{bonustype:h=""}=e,{bonusamount:u=""}=e,{bonuswageringamount:c=""}=e,{bonusremainingamount:d=""}=e,{bonuscurrency:p=""}=e,{lang:m="en"}=e,{clientstyling:f=""}=e,{clientstylingurl:_=""}=e,{translationurl:y=""}=e,g=window.navigator.userAgent,v="PC"!==Ho(g),b="";Object.keys($o).forEach(e=>{Yo(e,$o[e])});return t.$$set=e=>{"bonuswalletid"in e&&r(12,i=e.bonuswalletid),"bonusdate"in e&&r(0,s=e.bonusdate),"bonusstatus"in e&&r(1,a=e.bonusstatus),"bonusname"in e&&r(2,l=e.bonusname),"bonustype"in e&&r(13,h=e.bonustype),"bonusamount"in e&&r(3,u=e.bonusamount),"bonuswageringamount"in e&&r(4,c=e.bonuswageringamount),"bonusremainingamount"in e&&r(5,d=e.bonusremainingamount),"bonuscurrency"in e&&r(6,p=e.bonuscurrency),"lang"in e&&r(14,m=e.lang),"clientstyling"in e&&r(15,f=e.clientstyling),"clientstylingurl"in e&&r(16,_=e.clientstylingurl),"translationurl"in e&&r(17,y=e.translationurl)},t.$$.update=()=>{if(16384&t.$$.dirty&&m&&(e=m,wo.set(e)),8192&t.$$.dirty&&h&&(r(8,b=h),"freeRound"===b?r(8,b="Free Spins"):"freeBet"===b&&r(8,b="Free Bet")),65664&t.$$.dirty&&_&&n){let e=new URL(_),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{n.appendChild(t)},1)})}var e;32896&t.$$.dirty&&f&&n&&((e=document.createElement("style")).innerHTML=f,n.appendChild(e)),131072&t.$$.dirty&&y&&fetch(y).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Yo(e,t[e])})}).catch(e=>{console.log(e)})},[s,a,l,u,c,d,p,n,b,o,v,()=>{window.postMessage({type:"DisableScroll"},window.location.href),window.postMessage({type:"DeleteActiveBonus",bonuswalletid:i},window.location.href)},i,h,m,f,_,y,function(e){Z[e?"unshift":"push"](()=>{n=e,r(7,n)})}]}function p(e){var t,r=customElements.get(e.is);r?(t=r.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 ${r.version} is already in use. Something will probably break.`):customElements.define(e.is,e)}customElements.get("player-bonus-card")||customElements.define("player-bonus-card",class extends ae{constructor(e){super();var t=document.createElement("style");t.textContent=".BonusCard{background-color:var(--emw--color-white, #FFFFFF);padding:10px 20px 20px;border-radius:var(--emw--border-radius-large, 20px);box-shadow:0px 5px 12px 5px var(--emw--color-gray-100, #E6E6E6)}.BonusCardRow{display:flex;justify-content:space-between;align-items:center;padding:2px 10px;font-size:var(--emw--font-size-small, 14px)}.BonusCardRow .BonusCardRowTitle{color:var(--emw--color-typography-cotrast, #444444);font-weight:var(--emw--font-weight-bold, 700)}.BonusCardRow .BonusCardRowTitle span{font-weight:var(--emw--font-weigh-normal, 400);color:var(--emw--color-gray-300, #58586B)}.BonusCardRow .BonusCardRowText{color:var(--emw--color-gray-300, #58586B)}.BonusCardRow .BonusCardRowText.BonusCardStatus{font-weight:var(--emw--font-weight-bold, 700);color:vvar(--emw--color-typography-cotrast, #444444)}.BonusCardRow .BonusCardRowText.StatusActive{color:var(--emw--color-valid, #48952a)}.BonusCardRow .BonusCardRowText.StatusExpired{color:var(--emw--color-error, #FD2839)}.BonusCardRow .BonusCardRowText.StatusForfeited{color:#fd8c2d}.BonusCardRow .BonusCardRowText.TextCapitalize{text-transform:capitalize}.BonusCardRow:nth-child(even){background-color:var(--emw--color-gray-50, #F9F8F8);border-radius:var(--emw--border-radius-small, 5px)}.DeleteBonus{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));cursor:pointer;border-radius:var(--emw--border-radius-small, 5px);width:50%;height:44px;font-size:var(--emw--font-size-medium, 15px);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px;margin-top:10px}.DeleteBonus.DeleteBonusMobile{width:100%}.DeleteBonus:active{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}",this.shadowRoot.appendChild(t),se(this,{target:this.shadowRoot,props:H(this.attributes),customElement:!0},Go,Wo,O,{bonuswalletid:12,bonusdate:0,bonusstatus:1,bonusname:2,bonustype:13,bonusamount:3,bonuswageringamount:4,bonusremainingamount:5,bonuscurrency:6,lang:14,clientstyling:15,clientstylingurl:16,translationurl:17},null),e&&(e.target&&j(e.target,this,e.anchor),e.props)&&(this.$set(e.props),d())}static get observedAttributes(){return["bonuswalletid","bonusdate","bonusstatus","bonusname","bonustype","bonusamount","bonuswageringamount","bonusremainingamount","bonuscurrency","lang","clientstyling","clientstylingurl","translationurl"]}get bonuswalletid(){return this.$$.ctx[12]}set bonuswalletid(e){this.$$set({bonuswalletid:e}),d()}get bonusdate(){return this.$$.ctx[0]}set bonusdate(e){this.$$set({bonusdate:e}),d()}get bonusstatus(){return this.$$.ctx[1]}set bonusstatus(e){this.$$set({bonusstatus:e}),d()}get bonusname(){return this.$$.ctx[2]}set bonusname(e){this.$$set({bonusname:e}),d()}get bonustype(){return this.$$.ctx[13]}set bonustype(e){this.$$set({bonustype:e}),d()}get bonusamount(){return this.$$.ctx[3]}set bonusamount(e){this.$$set({bonusamount:e}),d()}get bonuswageringamount(){return this.$$.ctx[4]}set bonuswageringamount(e){this.$$set({bonuswageringamount:e}),d()}get bonusremainingamount(){return this.$$.ctx[5]}set bonusremainingamount(e){this.$$set({bonusremainingamount:e}),d()}get bonuscurrency(){return this.$$.ctx[6]}set bonuscurrency(e){this.$$set({bonuscurrency:e}),d()}get lang(){return this.$$.ctx[14]}set lang(e){this.$$set({lang:e}),d()}get clientstyling(){return this.$$.ctx[15]}set clientstyling(e){this.$$set({clientstyling:e}),d()}get clientstylingurl(){return this.$$.ctx[16]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),d()}get translationurl(){return this.$$.ctx[17]}set translationurl(e){this.$$set({translationurl:e}),d()}});class qo extends HTMLElement{static get is(){return"vaadin-lumo-styles"}static get version(){return"24.2.8"}}p(qo);const Ko=window,Xo=Ko.ShadowRoot&&(void 0===Ko.ShadyCSS||Ko.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Zo=Symbol(),Jo=new WeakMap;class Qo{constructor(e,t,r){if(this._$cssResult$=!0,r!==Zo)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,r=this.t;return Xo&&void 0===e&&(t=void 0!==r&&1===r.length,void 0===(e=t?Jo.get(r):e))&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),t)&&Jo.set(r,e),e}toString(){return this.cssText}}const m=(o,...e)=>{e=1===o.length?o[0]:e.reduce((e,t,r)=>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.")})()+o[r+1],o[0]);return new Qo(e,o,Zo)},en=Xo?e=>e:t=>{if(!(t instanceof CSSStyleSheet))return t;{let e="";for(const r of t.cssRules)e+=r.cssText;return t=e,new Qo("string"==typeof t?t:t+"",void 0,Zo)}},tn=window,rn=tn.trustedTypes,on=rn?rn.emptyScript:"",nn=tn.reactiveElementPolyfillSupport,sn={toAttribute(e,t){switch(t){case Boolean:e=e?on:null;break;case Object:case Array:e=null==e?e:JSON.stringify(e)}return e},fromAttribute(e,t){let r=e;switch(t){case Boolean:r=null!==e;break;case Number:r=null===e?null:Number(e);break;case Object:case Array:try{r=JSON.parse(e)}catch(e){r=null}}return r}},an=(e,t)=>t!==e&&(t==t||e==e),ln={attribute:!0,type:String,converter:sn,reflect:!1,hasChanged:an},hn="finalized";class un 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 r=[];return this.elementProperties.forEach((e,t)=>{e=this._$Ep(t,e);void 0!==e&&(this._$Ev.set(e,t),r.push(e))}),r}static createProperty(e,t=ln){var r;t.state&&(t.attribute=!1),this.finalize(),this.elementProperties.set(e,t),t.noAccessor||this.prototype.hasOwnProperty(e)||(r="symbol"==typeof e?Symbol():"__"+e,void 0!==(r=this.getPropertyDescriptor(e,r,t))&&Object.defineProperty(this.prototype,e,r))}static getPropertyDescriptor(r,o,n){return{get(){return this[o]},set(e){var t=this[r];this[o]=e,this.requestUpdate(r,t,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)||ln}static finalize(){if(this.hasOwnProperty(hn))return!1;this[hn]=!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 r of t)this.createProperty(r,e[r])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(e){var t=[];if(Array.isArray(e)){var r=new Set(e.flat(1/0).reverse());for(const e of r)t.unshift(en(e))}else void 0!==e&&t.push(en(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 o,e,t=null!=(t=this.shadowRoot)?t:this.attachShadow(this.constructor.shadowRootOptions);return o=t,e=this.constructor.elementStyles,Xo?o.adoptedStyleSheets=e.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet):e.forEach(e=>{var t=document.createElement("style"),r=Ko.litNonce;void 0!==r&&t.setAttribute("nonce",r),t.textContent=e.cssText,o.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,r){this._$AK(e,r)}_$EO(e,t,r=ln){var o,n=this.constructor._$Ep(e,r);void 0!==n&&!0===r.reflect&&(o=(void 0!==(null==(o=r.converter)?void 0:o.toAttribute)?r.converter:sn).toAttribute(t,r.type),this._$El=e,null==o?this.removeAttribute(n):this.setAttribute(n,o),this._$El=null)}_$AK(e,t){var r=this.constructor,o=r._$Ev.get(e);if(void 0!==o&&this._$El!==o){const e=r.getPropertyOptions(o),n="function"==typeof e.converter?{fromAttribute:e.converter}:void 0!==(null==(r=e.converter)?void 0:r.fromAttribute)?e.converter:sn;this._$El=o,this[o]=n.fromAttribute(t,e.type),this._$El=null}}requestUpdate(e,t,r){let o=!0;void 0!==e&&(((r=r||this.constructor.getPropertyOptions(e)).hasChanged||an)(this[e],t)?(this._$AL.has(e)||this._$AL.set(e,t),!0===r.reflect&&this._$El!==e&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(e,r))):o=!1),!this.isUpdatePending&&o&&(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 r=this._$AL;try{(e=this.shouldUpdate(r))?(this.willUpdate(r),null!=(t=this._$ES)&&t.forEach(e=>{var t;return null==(t=e.hostUpdate)?void 0:t.call(e)}),this.update(r)):this._$Ek()}catch(t){throw e=!1,this._$Ek(),t}e&&this._$AE(r)}}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){}}un[hn]=!0,un.elementProperties=new Map,un.elementStyles=[],un.shadowRootOptions={mode:"open"},null!=nn&&nn({ReactiveElement:un}),(null!=(s=tn.reactiveElementVersions)?s:tn.reactiveElementVersions=[]).push("1.6.3");const cn=window,dn=cn.trustedTypes,pn=dn?dn.createPolicy("lit-html",{createHTML:e=>e}):void 0,mn="$lit$",fn=`lit$${(Math.random()+"").slice(9)}$`,_n="?"+fn,yn=`<${_n}>`,gn=document,vn=()=>gn.createComment(""),bn=e=>null===e||"object"!=typeof e&&"function"!=typeof e,wn=Array.isArray,xn="[ \t\n\f\r]",En=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,An=/-->/g,Cn=/>/g,Tn=RegExp(`>|${xn}(?:([^\\s"'>=/]+)(${xn}*=${xn}*(?:[^
1
+ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).app=t()}(this,function(){"use strict";function z(){}function S(e){return e()}function P(){return Object.create(null)}function D(e){e.forEach(S)}function k(e){return"function"==typeof e}function O(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}function M(e,...t){if(null==e)return z;const r=e.subscribe(...t);return r.unsubscribe?()=>r.unsubscribe():r}function N(e,t,r){e.$$.on_destroy.push(M(t,r))}function U(e,t){e.appendChild(t)}function j(e,t,r){e.insertBefore(t,r||null)}function V(e){e.parentNode&&e.parentNode.removeChild(e)}function B(t,r){for(let e=0;e<t.length;e+=1)t[e]&&t[e].d(r)}function t(e){return document.createElement(e)}function F(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function W(e){return document.createTextNode(e)}function G(){return W(" ")}function I(){return W("")}function Y(e,t,r,o){return e.addEventListener(t,r,o),()=>e.removeEventListener(t,r,o)}function q(e,t,r){null==r?e.removeAttribute(t):e.getAttribute(t)!==r&&e.setAttribute(t,r)}function R(e,t,r){t in e?e[t]="boolean"==typeof e[t]&&""===r||r:q(e,t,r)}function K(e,t){e.data!==(t=""+t)&&(e.data=t)}function H(e){var t={};for(const r of e)t[r.name]=r.value;return t}let L;function $(e){L=e}const X=[],Z=[];let J=[];const Q=[],ee=Promise.resolve();let te=!1;function re(e){J.push(e)}const oe=new Set;let ne=0;function d(){if(0===ne){const o=L;do{try{for(;ne<X.length;){const o=X[ne];ne++,$(o),e=t=void 0;var e,t=o.$$;null!==t.fragment&&(t.update(),D(t.before_update),e=t.dirty,t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(re))}}catch(o){throw X.length=0,ne=0,o}for($(null),X.length=0,ne=0;Z.length;)Z.pop()();for(let e=0;e<J.length;e+=1){var r=J[e];oe.has(r)||(oe.add(r),r())}}while(J.length=0,X.length);for(;Q.length;)Q.pop()();te=!1,oe.clear(),$(o)}}const ie=new Set;function se(o,e,t,r,n,i,s,a=[-1]){var l=L;$(o);const h=o.$$={fragment:null,ctx:[],props:i,update:z,not_equal:n,bound:P(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(l?l.$$.context:[])),callbacks:P(),dirty:a,skip_bound:!1,root:e.target||l.$$.root};s&&s(h.root);let u=!1;if(h.ctx=t?t(o,e.props||{},(e,t,...r)=>{var r=r.length?r[0]:t;return h.ctx&&n(h.ctx[e],h.ctx[e]=r)&&(!h.skip_bound&&h.bound[e]&&h.bound[e](r),u)&&(r=e,-1===(e=o).$$.dirty[0]&&(X.push(e),te||(te=!0,ee.then(d)),e.$$.dirty.fill(0)),e.$$.dirty[r/31|0]|=1<<r%31),t}):[],h.update(),u=!0,D(h.before_update),h.fragment=!!r&&r(h.ctx),e.target){if(e.hydrate){i=e.target;const z=Array.from(i.childNodes);h.fragment&&h.fragment.l(z),z.forEach(V)}else h.fragment&&h.fragment.c();e.intro&&(a=o.$$.fragment)&&a.i&&(ie.delete(a),a.i(void 0));var c=o,s=e.target,t=e.anchor,r=e.customElement,{fragment:i,after_update:a}=c.$$;i&&i.m(s,t),r||re(()=>{var e=c.$$.on_mount.map(S).filter(k);c.$$.on_destroy?c.$$.on_destroy.push(...e):D(e),c.$$.on_mount=[]}),a.forEach(re),d()}$(l)}let ae;"function"==typeof HTMLElement&&(ae=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const e=this.$$["on_mount"];this.$$.on_disconnect=e.map(S).filter(k);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,r){this[e]=r}disconnectedCallback(){D(this.$$.on_disconnect)}$destroy(){var e=this,t=1;if(null!==(e=e.$$).fragment){{var r=e.after_update;const o=[],n=[];J.forEach(e=>(-1===r.indexOf(e)?o:n).push(e)),n.forEach(e=>e()),J=o}D(e.on_destroy),e.fragment&&e.fragment.d(t),e.on_destroy=e.fragment=null,e.ctx=[]}this.$destroy=z}$on(e,t){if(!k(t))return z;const r=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return r.push(t),()=>{var e=r.indexOf(t);-1!==e&&r.splice(e,1)}}$set(e){this.$$set&&0!==Object.keys(e).length&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}});var le,he,l="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||"undefined"!=typeof global&&global||{},ue="URLSearchParams"in l,ce="Symbol"in l&&"iterator"in Symbol,de="FileReader"in l&&"Blob"in l&&function(){try{return new Blob,!0}catch(e){return!1}}(),pe="FormData"in l,me="ArrayBuffer"in l;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 _e(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 ce&&(e[Symbol.iterator]=function(){return e}),e}function h(t){this.map={},t instanceof h?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 ge(e){if(!e._noBody)return e.bodyUsed?Promise.reject(new TypeError("Already read")):void(e.bodyUsed=!0)}function ve(r){return new Promise(function(e,t){r.onload=function(){e(r.result)},r.onerror=function(){t(r.error)}})}function be(e){var t=new FileReader,r=ve(t);return t.readAsArrayBuffer(e),r}function we(e){var t;return e.slice?e.slice(0):((t=new Uint8Array(e.byteLength)).set(new Uint8Array(e)),t.buffer)}function xe(){return this.bodyUsed=!1,this._initBody=function(e){var t;this.bodyUsed=this.bodyUsed,(this._bodyInit=e)?"string"==typeof e?this._bodyText=e:de&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:pe&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:ue&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():me&&de&&(t=e)&&DataView.prototype.isPrototypeOf(t)?(this._bodyArrayBuffer=we(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):me&&(ArrayBuffer.prototype.isPrototypeOf(e)||he(e))?this._bodyArrayBuffer=we(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):ue&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},de&&(this.blob=function(){var e=ge(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 ge(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(de)return this.blob().then(be);throw new Error("could not read as ArrayBuffer")},this.text=function(){var e,t,r,o=ge(this);if(o)return o;if(this._bodyBlob)return o=this._bodyBlob,t=ve(e=new FileReader),r=(r=/charset=([A-Za-z0-9_-]+)/.exec(o.type))?r[1]:"utf-8",e.readAsText(o,r),t;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),r=new Array(t.length),o=0;o<t.length;o++)r[o]=String.fromCharCode(t[o]);return r.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},pe&&(this.formData=function(){return this.text().then(Ce)}),this.json=function(){return this.text().then(JSON.parse)},this}me&&(le=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],he=ArrayBuffer.isView||function(e){return e&&-1<le.indexOf(Object.prototype.toString.call(e))}),h.prototype.append=function(e,t){e=fe(e),t=_e(t);var r=this.map[e];this.map[e]=r?r+", "+t:t},h.prototype.delete=function(e){delete this.map[fe(e)]},h.prototype.get=function(e){return e=fe(e),this.has(e)?this.map[e]:null},h.prototype.has=function(e){return this.map.hasOwnProperty(fe(e))},h.prototype.set=function(e,t){this.map[fe(e)]=_e(t)},h.prototype.forEach=function(e,t){for(var r in this.map)this.map.hasOwnProperty(r)&&e.call(t,this.map[r],r,this)},h.prototype.keys=function(){var r=[];return this.forEach(function(e,t){r.push(t)}),ye(r)},h.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),ye(t)},h.prototype.entries=function(){var r=[];return this.forEach(function(e,t){r.push([t,e])}),ye(r)},ce&&(h.prototype[Symbol.iterator]=h.prototype.entries);var Ee=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];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.');var r,o=(t=t||{}).body;if(e instanceof Ae){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new h(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,o||null==e._bodyInit||(o=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 h(t.headers)),this.method=(r=(e=t.method||this.method||"GET").toUpperCase(),-1<Ee.indexOf(r)?r:e),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal||function(){if("AbortController"in l)return(new AbortController).signal}(),this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&o)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(o),"GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache||((r=/([?&])_=[^&]*/).test(this.url)?this.url=this.url.replace(r,"$1_="+(new Date).getTime()):this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime())}function Ce(e){var r=new FormData;return e.trim().split("&").forEach(function(e){var t;e&&(t=(e=e.split("=")).shift().replace(/\+/g," "),e=e.join("=").replace(/\+/g," "),r.append(decodeURIComponent(t),decodeURIComponent(e)))}),r}function Te(e,t){if(!(this instanceof Te))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 h(t.headers),this.url=t.url||"",this._initBody(e)}Ae.prototype.clone=function(){return new Ae(this,{body:this._bodyInit})},xe.call(Ae.prototype),xe.call(Te.prototype),Te.prototype.clone=function(){return new Te(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new h(this.headers),url:this.url})},Te.error=function(){var e=new Te(null,{status:200,statusText:""});return e.status=0,e.type="error",e};var Se=[301,302,303,307,308],Pe=(Te.redirect=function(e,t){if(-1===Se.indexOf(t))throw new RangeError("Invalid status code");return new Te(null,{status:t,headers:{location:e}})},l.DOMException);try{new Pe}catch(z){(Pe=function(e,t){this.message=e,this.name=t;t=Error(e);this.stack=t.stack}).prototype=Object.create(Error.prototype),Pe.prototype.constructor=Pe}function De(o,a){return new Promise(function(n,e){var i=new Ae(o,a);if(i.signal&&i.signal.aborted)return e(new Pe("Aborted","AbortError"));var r,s=new XMLHttpRequest;function t(){s.abort()}s.onload=function(){var e,o,t={statusText:s.statusText,headers:(e=s.getAllResponseHeaders()||"",o=new h,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(":"),r=t.shift().trim();if(r){t=t.join(":").trim();try{o.append(r,t)}catch(e){console.warn("Response "+e.message)}}}),o)},r=(i.url.startsWith("file://")&&(s.status<200||599<s.status)?t.status=200:t.status=s.status,t.url="responseURL"in s?s.responseURL:t.headers.get("X-Request-URL"),"response"in s?s.response:s.responseText);setTimeout(function(){n(new Te(r,t))},0)},s.onerror=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},s.ontimeout=function(){setTimeout(function(){e(new TypeError("Network request timed out"))},0)},s.onabort=function(){setTimeout(function(){e(new Pe("Aborted","AbortError"))},0)},s.open(i.method,function(t){try{return""===t&&l.location.href?l.location.href:t}catch(e){return t}}(i.url),!0),"include"===i.credentials?s.withCredentials=!0:"omit"===i.credentials&&(s.withCredentials=!1),"responseType"in s&&(de?s.responseType="blob":me&&(s.responseType="arraybuffer")),a&&"object"==typeof a.headers&&!(a.headers instanceof h||l.Headers&&a.headers instanceof l.Headers)?(r=[],Object.getOwnPropertyNames(a.headers).forEach(function(e){r.push(fe(e)),s.setRequestHeader(e,_e(a.headers[e]))}),i.headers.forEach(function(e,t){-1===r.indexOf(t)&&s.setRequestHeader(t,e)})):i.headers.forEach(function(e,t){s.setRequestHeader(t,e)}),i.signal&&(i.signal.addEventListener("abort",t),s.onreadystatechange=function(){4===s.readyState&&i.signal.removeEventListener("abort",t)}),s.send(void 0===i._bodyInit?null:i._bodyInit)})}function kr(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}De.polyfill=!0,l.fetch||(l.fetch=De,l.Headers=h,l.Request=Ae,l.Response=Te),self.fetch.bind(self);var ke=function(e,t){return(ke=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}))(e,t)};function Oe(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}ke(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}function Me(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],o=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return{value:(e=e&&o>=e.length?void 0:e)&&e[o++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function Ne(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var o,n,i=r.call(e),s=[];try{for(;(void 0===t||0<t--)&&!(o=i.next()).done;)s.push(o.value)}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return s}function Be(e,t,r){if(r||2===arguments.length)for(var o,n=0,i=t.length;n<i;n++)!o&&n in t||((o=o||Array.prototype.slice.call(t,0,n))[n]=t[n]);return e.concat(o||Array.prototype.slice.call(t))}function Ie(e){return"function"==typeof e}function He(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 Le=He(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 Re(e,t){e&&0<=(t=e.indexOf(t))&&e.splice(t,1)}r.prototype.unsubscribe=function(){var e,t,r,o,n;if(!this.closed){this.closed=!0;var i=this._parentage;if(i)if(this._parentage=null,Array.isArray(i))try{for(var s=Me(i),a=s.next();!a.done;a=s.next())a.value.remove(this)}catch(t){e={error:t}}finally{try{a&&!a.done&&(t=s.return)&&t.call(s)}finally{if(e)throw e.error}}else i.remove(this);i=this.initialTeardown;if(Ie(i))try{i()}catch(e){n=e instanceof Le?e.errors:[e]}i=this._finalizers;if(i){this._finalizers=null;try{for(var l=Me(i),h=l.next();!h.done;h=l.next()){var u=h.value;try{ze(u)}catch(e){n=null!=n?n:[],e instanceof Le?n=Be(Be([],Ne(n)),Ne(e.errors)):n.push(e)}}}catch(e){r={error:e}}finally{try{h&&!h.done&&(o=l.return)&&o.call(l)}finally{if(r)throw r.error}}}if(n)throw new Le(n)}},r.prototype.add=function(e){var t;if(e&&e!==this)if(this.closed)ze(e);else{if(e instanceof r){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=null!=(t=this._finalizers)?t:[]).push(e)}},r.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},r.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},r.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&Re(t,e)},r.prototype.remove=function(e){var t=this._finalizers;t&&Re(t,e),e instanceof r&&e._removeParent(this)},r.EMPTY=((e=new r).closed=!0,e);var Fe=r,Ye=Fe.EMPTY;function r(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}function $e(e){return e instanceof Fe||e&&"closed"in e&&Ie(e.remove)&&Ie(e.add)&&Ie(e.unsubscribe)}function ze(e){Ie(e)?e():e.unsubscribe()}var Ue=void 0,je=!1,Ve=!1,We={setTimeout:function(e,t){for(var r=[],o=2;o<arguments.length;o++)r[o-2]=arguments[o];var n=We.delegate;return null!=n&&n.setTimeout?n.setTimeout.apply(n,Be([e,t],Ne(r))):setTimeout.apply(void 0,Be([e,t],Ne(r)))},clearTimeout:function(e){var t=We.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function Ge(){}var qe=null;function Ke(e){if(je){var t=!qe;if(t&&(qe={errorThrown:!1,error:null}),e(),t){var t=qe,r=t.errorThrown,t=t.error;if(qe=null,r)throw t}}else e()}Oe(Qe,Xe=Fe),Qe.create=function(e,t,r){return new ot(e,t,r)},Qe.prototype.next=function(e){this.isStopped||this._next(e)},Qe.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},Qe.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},Qe.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,Xe.prototype.unsubscribe.call(this),this.destination=null)},Qe.prototype._next=function(e){this.destination.next(e)},Qe.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},Qe.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}};var Xe,Ze=Qe,Je=Function.prototype.bind;function Qe(e){var t=Xe.call(this)||this;return t.isStopped=!1,e?$e(t.destination=e)&&e.add(t):t.destination=at,t}function et(e,t){return Je.call(e,t)}it.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(e){st(e)}},it.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){st(e)}else st(e)},it.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){st(e)}};var tt,rt=it,ot=(Oe(nt,tt=Ze),nt);function nt(e,t,r){var o=tt.call(this)||this,r=Ie(e)||!e?{next:null!=e?e:void 0,error:null!=t?t:void 0,complete:null!=r?r:void 0}:o&&Ve?((t=Object.create(e)).unsubscribe=function(){return o.unsubscribe()},{next:e.next&&et(e.next,t),error:e.error&&et(e.error,t),complete:e.complete&&et(e.complete,t)}):e;return o.destination=new rt(r),o}function it(e){this.partialObserver=e}function st(e){var t=e;We.setTimeout(function(){throw t})}var at={closed:!0,next:Ge,error:function(e){throw e},complete:Ge},e="function"==typeof Symbol&&Symbol.observable||"@@observable";o.prototype.lift=function(e){var t=new o;return t.source=this,t.operator=e,t},o.prototype.subscribe=function(e,t,r){var o,n=this,i=(o=e)&&o instanceof Ze||o&&Ie(o.next)&&Ie(o.error)&&Ie(o.complete)&&$e(o)?e:new ot(e,t,r);return Ke(function(){var e=n.operator,t=n.source;i.add(e?e.call(i,t):t?n._subscribe(i):n._trySubscribe(i))}),i},o.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},o.prototype.forEach=function(o,e){var n=this;return new(e=ht(e))(function(e,t){var r=new ot({next:function(e){try{o(e)}catch(e){t(e),r.unsubscribe()}},error:t,complete:e});n.subscribe(r)})},o.prototype._subscribe=function(e){var t;return null==(t=this.source)?void 0:t.subscribe(e)},o.prototype[e]=function(){return this},o.prototype.pipe=function(){for(var t,e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];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)},o.prototype.toPromise=function(e){var o=this;return new(e=ht(e))(function(e,t){var r;o.subscribe(function(e){return r=e},function(e){return t(e)},function(){return e(r)})})},o.create=function(e){return new o(e)};var lt=o;function o(e){e&&(this._subscribe=e)}function ht(e){return null!=(e=null!=e?e:Ue)?e:Promise}var ut,ct,dt,pt=He(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),e=(Oe(n,dt=lt),n.prototype.lift=function(e){var t=new mt(this,this);return t.operator=e,t},n.prototype._throwIfClosed=function(){if(this.closed)throw new pt},n.prototype.next=function(n){var i=this;Ke(function(){var t,e;if(i._throwIfClosed(),!i.isStopped){i.currentObservers||(i.currentObservers=Array.from(i.observers));try{for(var r=Me(i.currentObservers),o=r.next();!o.done;o=r.next())o.value.next(n)}catch(e){t={error:e}}finally{try{o&&!o.done&&(e=r.return)&&e.call(r)}finally{if(t)throw t.error}}}})},n.prototype.error=function(t){var r=this;Ke(function(){if(r._throwIfClosed(),!r.isStopped){r.hasError=r.isStopped=!0,r.thrownError=t;for(var e=r.observers;e.length;)e.shift().error(t)}})},n.prototype.complete=function(){var t=this;Ke(function(){if(t._throwIfClosed(),!t.isStopped){t.isStopped=!0;for(var e=t.observers;e.length;)e.shift().complete()}})},n.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(n.prototype,"observed",{get:function(){var e;return 0<(null==(e=this.observers)?void 0:e.length)},enumerable:!1,configurable:!0}),n.prototype._trySubscribe=function(e){return this._throwIfClosed(),dt.prototype._trySubscribe.call(this,e)},n.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},n.prototype._innerSubscribe=function(e){var t=this,r=this.hasError,o=this.isStopped,n=this.observers;return r||o?Ye:(this.currentObservers=null,n.push(e),new Fe(function(){t.currentObservers=null,Re(n,e)}))},n.prototype._checkFinalizedStatuses=function(e){var t=this.hasError,r=this.thrownError,o=this.isStopped;t?e.error(r):o&&e.complete()},n.prototype.asObservable=function(){var e=new lt;return e.source=this,e},n.create=function(e,t){return new mt(e,t)},n),mt=(Oe(gt,ct=e),gt.prototype.next=function(e){var t,r;null!=(r=null==(t=this.destination)?void 0:t.next)&&r.call(t,e)},gt.prototype.error=function(e){var t,r;null!=(r=null==(t=this.destination)?void 0:t.error)&&r.call(t,e)},gt.prototype.complete=function(){var e,t;null!=(t=null==(e=this.destination)?void 0:e.complete)&&t.call(e)},gt.prototype._subscribe=function(e){var t;return null!=(t=null==(t=this.source)?void 0:t.subscribe(e))?t:Ye},gt),ft={now:function(){return(ft.delegate||Date).now()},delegate:void 0},_t=(Oe(yt,ut=e),yt.prototype.next=function(e){var t=this,r=t.isStopped,o=t._buffer,n=t._infiniteTimeWindow,i=t._timestampProvider,t=t._windowTime;r||(o.push(e),n)||o.push(i.now()+t),this._trimBuffer(),ut.prototype.next.call(this,e)},yt.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),r=this._infiniteTimeWindow,o=this._buffer.slice(),n=0;n<o.length&&!e.closed;n+=r?1:2)e.next(o[n]);return this._checkFinalizedStatuses(e),t},yt.prototype._trimBuffer=function(){var e=this._bufferSize,t=this._timestampProvider,r=this._buffer,o=this._infiniteTimeWindow,n=(o?1:2)*e;if(e<1/0&&n<r.length&&r.splice(0,r.length-n),!o){for(var i=t.now(),s=0,a=1;a<r.length&&r[a]<=i;a+=2)s=a;s&&r.splice(0,s+1)}},yt);function yt(e,t,r){void 0===e&&(e=1/0),void 0===t&&(t=1/0),void 0===r&&(r=ft);var o=ut.call(this)||this;return o._bufferSize=e,o._windowTime=t,o._timestampProvider=r,o._buffer=[],o._infiniteTimeWindow=!0,o._infiniteTimeWindow=t===1/0,o._bufferSize=Math.max(1,e),o._windowTime=Math.max(1,t),o}function gt(e,t){var r=ct.call(this)||this;return r.destination=e,r.source=t,r}function n(){var e=dt.call(this)||this;return e.closed=!1,e.currentObservers=null,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}let vt=[],bt={};const wt=[];function xt(o,n=z){let i;const s=new Set;function a(e){if(O(o,e)&&(o=e,i)){const e=!wt.length;for(const e of s)e[1](),wt.push(e,o);if(e){for(let e=0;e<wt.length;e+=2)wt[e][0](wt[e+1]);wt.length=0}}}return{set:a,update:function(e){a(e(o))},subscribe:function(e,t=z){const r=[e,t];return s.add(r),1===s.size&&(i=n(a)||z),e(o),()=>{s.delete(r),0===s.size&&i&&(i(),i=null)}}}}function Et(e,a,t){const l=!Array.isArray(e),h=l?[e]:e,u=a.length<2;return{subscribe:xt(t,t=>{let r=!1;const o=[];let n=0,i=z;const s=()=>{var e;n||(i(),e=a(l?o[0]:o,t),u?t(e):i=k(e)?e:z)},e=h.map((e,t)=>M(e,e=>{o[t]=e,n&=~(1<<t),r&&s()},()=>{n|=1<<t}));return r=!0,s(),function(){D(e),i(),r=!1}}).subscribe}}function At(e){return!(!e||"object"!=typeof e||(e=e,"[object RegExp]"===(t=Object.prototype.toString.call(e)))||"[object Date]"===t||e.$$typeof===Ct);var t}var Ct="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function Tt(e,t){return!1!==t.clone&&t.isMergeableObject(e)?Ot(Array.isArray(e)?[]:{},e,t):e}function St(e,t,r){return e.concat(t).map(function(e){return Tt(e,r)})}function Pt(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 Dt(e,t){try{return t in e}catch(e){return!1}}function kt(o,n,i){var s={};return i.isMergeableObject(o)&&Pt(o).forEach(function(e){s[e]=Tt(o[e],i)}),Pt(n).forEach(function(e){var t,r;(!Dt(t=o,r=e)||Object.hasOwnProperty.call(t,r)&&Object.propertyIsEnumerable.call(t,r))&&(Dt(o,e)&&i.isMergeableObject(n[e])?s[e]=((t=i).customMerge&&"function"==typeof(t=t.customMerge(e))?t:Ot)(o[e],n[e],i):s[e]=Tt(n[e],i))}),s}function Ot(e,t,r){(r=r||{}).arrayMerge=r.arrayMerge||St,r.isMergeableObject=r.isMergeableObject||At,r.cloneUnlessOtherwiseSpecified=Tt;var o=Array.isArray(t);return o===Array.isArray(e)?o?r.arrayMerge(e,t,r):kt(e,t,r):Tt(t,r)}Ot.all=function(e,r){if(Array.isArray(e))return e.reduce(function(e,t){return Ot(e,t,r)},{});throw new Error("first argument should be an array")};var Mt=Ot,Nt=function(e,t){return(Nt=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}))(e,t)};function Bt(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}Nt(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var f,y,It,_=function(){return(_=Object.assign||function(e){for(var t,r=1,o=arguments.length;r<o;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}).apply(this,arguments)};function Ht(e,t,r){if(r||2===arguments.length)for(var o,n=0,i=t.length;n<i;n++)!o&&n in t||((o=o||Array.prototype.slice.call(t,0,n))[n]=t[n]);return e.concat(o||Array.prototype.slice.call(t))}function Lt(e){return e.type===y.literal}function Rt(e){return e.type===y.number}function Ft(e){return e.type===y.date}function Yt(e){return e.type===y.time}function $t(e){return e.type===y.select}function zt(e){return e.type===y.plural}function Ut(e){return e.type===y.tag}function jt(e){return e&&"object"==typeof e&&e.type===It.number}function Vt(e){return e&&"object"==typeof e&&e.type===It.dateTime}(e=f=f||{})[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG",(e=y=y||{})[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag",(e=It=It||{})[e.number=0]="number",e[e.dateTime=1]="dateTime";var e=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Wt=/(?:[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 Gt=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,qt=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Kt=/^(@+)?(\+|#+)?[rs]?$/g,Xt=/(\*)(0+)|(#+)(0+)|(0+)/g,Zt=/^(0+)$/;function Jt(e){var o={};return"r"===e[e.length-1]?o.roundingPriority="morePrecision":"s"===e[e.length-1]&&(o.roundingPriority="lessPrecision"),e.replace(Kt,function(e,t,r){return"string"!=typeof r?(o.minimumSignificantDigits=t.length,o.maximumSignificantDigits=t.length):"+"===r?o.minimumSignificantDigits=t.length:"#"===t[0]?o.maximumSignificantDigits=t.length:(o.minimumSignificantDigits=t.length,o.maximumSignificantDigits=t.length+("string"==typeof r?r.length:0)),""}),o}function Qt(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 er(e){return Qt(e)||{}}function tr(e){for(var s={},t=0,r=e;t<r.length;t++){var o,n=r[t];switch(n.stem){case"percent":case"%":s.style="percent";continue;case"%x100":s.style="percent",s.scale=100;continue;case"currency":s.style="currency",s.currency=n.options[0];continue;case"group-off":case",_":s.useGrouping=!1;continue;case"precision-integer":case".":s.maximumFractionDigits=0;continue;case"measure-unit":case"unit":s.style="unit",s.unit=n.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":s.notation="compact",s.compactDisplay="short";continue;case"compact-long":case"KK":s.notation="compact",s.compactDisplay="long";continue;case"scientific":s=_(_(_({},s),{notation:"scientific"}),n.options.reduce(function(e,t){return _(_({},e),er(t))},{}));continue;case"engineering":s=_(_(_({},s),{notation:"engineering"}),n.options.reduce(function(e,t){return _(_({},e),er(t))},{}));continue;case"notation-simple":s.notation="standard";continue;case"unit-width-narrow":s.currencyDisplay="narrowSymbol",s.unitDisplay="narrow";continue;case"unit-width-short":s.currencyDisplay="code",s.unitDisplay="short";continue;case"unit-width-full-name":s.currencyDisplay="name",s.unitDisplay="long";continue;case"unit-width-iso-code":s.currencyDisplay="symbol";continue;case"scale":s.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(Xt,function(e,t,r,o,n,i){if(t)s.minimumIntegerDigits=r.length;else{if(o&&n)throw new Error("We currently do not support maximum integer digits");if(i)throw new Error("We currently do not support exact integer digits")}return""});continue}if(Zt.test(n.stem))s.minimumIntegerDigits=n.stem.length;else if(qt.test(n.stem)){if(1<n.options.length)throw new RangeError("Fraction-precision stems only accept a single optional option");n.stem.replace(qt,function(e,t,r,o,n,i){return"*"===r?s.minimumFractionDigits=t.length:o&&"#"===o[0]?s.maximumFractionDigits=o.length:n&&i?(s.minimumFractionDigits=n.length,s.maximumFractionDigits=n.length+i.length):(s.minimumFractionDigits=t.length,s.maximumFractionDigits=t.length),""});var i=n.options[0];"w"===i?s=_(_({},s),{trailingZeroDisplay:"stripIfInteger"}):i&&(s=_(_({},s),Jt(i)))}else Kt.test(n.stem)?s=_(_({},s),Jt(n.stem)):((i=Qt(n.stem))&&(s=_(_({},s),i)),(o=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 r=e.slice(0,2);if("+!"===r?(t.signDisplay="always",e=e.slice(2)):"+?"===r&&(t.signDisplay="exceptZero",e=e.slice(2)),!Zt.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(n.stem))&&(s=_(_({},s),o)))}return s}var rr={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 or=new RegExp("^".concat(e.source,"*")),nr=new RegExp("".concat(e.source,"*$"));function g(e,t){return{start:e,end:t}}var e=!!String.prototype.startsWith,i=!!String.fromCodePoint,ir=!!Object.fromEntries,sr=!!String.prototype.codePointAt,s=!!String.prototype.trimStart,ar=!!String.prototype.trimEnd,lr=Number.isSafeInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},a=!0;try{a="a"===(null==(Dr=yr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))?void 0:Dr[0])}catch(An){a=!1}var hr,ur,cr=e?function(e,t,r){return e.startsWith(t,r)}:function(e,t,r){return e.slice(r,r+t.length)===t},dr=i?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r,o="",n=e.length,i=0;i<n;){if(1114111<(r=e[i++]))throw RangeError(r+" is not a valid code point");o+=r<65536?String.fromCharCode(r):String.fromCharCode(55296+((r-=65536)>>10),r%1024+56320)}return o},pr=ir?Object.fromEntries:function(e){for(var t={},r=0,o=e;r<o.length;r++){var n=o[r],i=n[0],n=n[1];t[i]=n}return t},mr=sr?function(e,t){return e.codePointAt(t)}:function(e,t){var r,o=e.length;if(!(t<0||o<=t))return(r=e.charCodeAt(t))<55296||56319<r||t+1===o||(o=e.charCodeAt(t+1))<56320||57343<o?r:o-56320+(r-55296<<10)+65536},fr=s?function(e){return e.trimStart()}:function(e){return e.replace(or,"")},_r=ar?function(e){return e.trimEnd()}:function(e){return e.replace(nr,"")};function yr(e,t){return new RegExp(e,t)}ur=a?(hr=yr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),function(e,t){return hr.lastIndex=t,null!=(t=hr.exec(e)[1])?t:""}):function(e,t){for(var r,o=[];;){var n=mr(e,t);if(void 0===n||br(n)||33<=(r=n)&&r<=35||36===r||37<=r&&r<=39||40===r||41===r||42===r||43===r||44===r||45===r||46<=r&&r<=47||58<=r&&r<=59||60<=r&&r<=62||63<=r&&r<=64||91===r||92===r||93===r||94===r||96===r||123===r||124===r||125===r||126===r||161===r||162<=r&&r<=165||166===r||167===r||169===r||171===r||172===r||174===r||176===r||177===r||182===r||187===r||191===r||215===r||247===r||8208<=r&&r<=8213||8214<=r&&r<=8215||8216===r||8217===r||8218===r||8219<=r&&r<=8220||8221===r||8222===r||8223===r||8224<=r&&r<=8231||8240<=r&&r<=8248||8249===r||8250===r||8251<=r&&r<=8254||8257<=r&&r<=8259||8260===r||8261===r||8262===r||8263<=r&&r<=8273||8274===r||8275===r||8277<=r&&r<=8286||8592<=r&&r<=8596||8597<=r&&r<=8601||8602<=r&&r<=8603||8604<=r&&r<=8607||8608===r||8609<=r&&r<=8610||8611===r||8612<=r&&r<=8613||8614===r||8615<=r&&r<=8621||8622===r||8623<=r&&r<=8653||8654<=r&&r<=8655||8656<=r&&r<=8657||8658===r||8659===r||8660===r||8661<=r&&r<=8691||8692<=r&&r<=8959||8960<=r&&r<=8967||8968===r||8969===r||8970===r||8971===r||8972<=r&&r<=8991||8992<=r&&r<=8993||8994<=r&&r<=9e3||9001===r||9002===r||9003<=r&&r<=9083||9084===r||9085<=r&&r<=9114||9115<=r&&r<=9139||9140<=r&&r<=9179||9180<=r&&r<=9185||9186<=r&&r<=9254||9255<=r&&r<=9279||9280<=r&&r<=9290||9291<=r&&r<=9311||9472<=r&&r<=9654||9655===r||9656<=r&&r<=9664||9665===r||9666<=r&&r<=9719||9720<=r&&r<=9727||9728<=r&&r<=9838||9839===r||9840<=r&&r<=10087||10088===r||10089===r||10090===r||10091===r||10092===r||10093===r||10094===r||10095===r||10096===r||10097===r||10098===r||10099===r||10100===r||10101===r||10132<=r&&r<=10175||10176<=r&&r<=10180||10181===r||10182===r||10183<=r&&r<=10213||10214===r||10215===r||10216===r||10217===r||10218===r||10219===r||10220===r||10221===r||10222===r||10223===r||10224<=r&&r<=10239||10240<=r&&r<=10495||10496<=r&&r<=10626||10627===r||10628===r||10629===r||10630===r||10631===r||10632===r||10633===r||10634===r||10635===r||10636===r||10637===r||10638===r||10639===r||10640===r||10641===r||10642===r||10643===r||10644===r||10645===r||10646===r||10647===r||10648===r||10649<=r&&r<=10711||10712===r||10713===r||10714===r||10715===r||10716<=r&&r<=10747||10748===r||10749===r||10750<=r&&r<=11007||11008<=r&&r<=11055||11056<=r&&r<=11076||11077<=r&&r<=11078||11079<=r&&r<=11084||11085<=r&&r<=11123||11124<=r&&r<=11125||11126<=r&&r<=11157||11158===r||11159<=r&&r<=11263||11776<=r&&r<=11777||11778===r||11779===r||11780===r||11781===r||11782<=r&&r<=11784||11785===r||11786===r||11787===r||11788===r||11789===r||11790<=r&&r<=11798||11799===r||11800<=r&&r<=11801||11802===r||11803===r||11804===r||11805===r||11806<=r&&r<=11807||11808===r||11809===r||11810===r||11811===r||11812===r||11813===r||11814===r||11815===r||11816===r||11817===r||11818<=r&&r<=11822||11823===r||11824<=r&&r<=11833||11834<=r&&r<=11835||11836<=r&&r<=11839||11840===r||11841===r||11842===r||11843<=r&&r<=11855||11856<=r&&r<=11857||11858===r||11859<=r&&r<=11903||12289<=r&&r<=12291||12296===r||12297===r||12298===r||12299===r||12300===r||12301===r||12302===r||12303===r||12304===r||12305===r||12306<=r&&r<=12307||12308===r||12309===r||12310===r||12311===r||12312===r||12313===r||12314===r||12315===r||12316===r||12317===r||12318<=r&&r<=12319||12320===r||12336===r||64830===r||64831===r||65093<=r&&r<=65094)break;o.push(n),t+=65536<=n?2:1}return dr.apply(void 0,o)};u.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},u.prototype.parseMessage=function(e,t,r){for(var o=[];!this.isEOF();){var n,i=this.char();if(123===i){if((n=this.parseArgument(e,r)).err)return n;o.push(n.val)}else{if(125===i&&0<e)break;if(35!==i||"plural"!==t&&"selectordinal"!==t){if(60===i&&!this.ignoreTag&&47===this.peek()){if(r)break;return this.error(f.UNMATCHED_CLOSING_TAG,g(this.clonePosition(),this.clonePosition()))}if(60===i&&!this.ignoreTag&&vr(this.peek()||0)){if((n=this.parseTag(e,t)).err)return n}else if((n=this.parseLiteral(e,t)).err)return n;o.push(n.val)}else{i=this.clonePosition();this.bump(),o.push({type:y.pound,location:g(i,this.clonePosition())})}}}return{val:o,err:null}},u.prototype.parseTag=function(e,t){var r,o=this.clonePosition(),n=(this.bump(),this.parseTagName());return this.bumpSpace(),this.bumpIf("/>")?{val:{type:y.literal,value:"<".concat(n,"/>"),location:g(o,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()||!vr(this.char())?this.error(f.INVALID_TAG,g(e,this.clonePosition())):(r=this.clonePosition(),n!==this.parseTagName()?this.error(f.UNMATCHED_CLOSING_TAG,g(r,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:y.tag,value:n,children:t,location:g(o,this.clonePosition())},err:null}:this.error(f.INVALID_TAG,g(e,this.clonePosition())))):this.error(f.UNCLOSED_TAG,g(o,this.clonePosition()))):this.error(f.INVALID_TAG,g(o,this.clonePosition()))},u.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())},u.prototype.parseLiteral=function(e,t){for(var r=this.clonePosition(),o="";;){var n=this.tryParseQuote(t);if(n)o+=n;else{n=this.tryParseUnquoted(e,t);if(n)o+=n;else{n=this.tryParseLeftAngleBracket();if(!n)break;o+=n}}}r=g(r,this.clonePosition());return{val:{type:y.literal,value:o,location:r},err:null}},u.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(vr(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},u.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 r=this.char();if(39===r){if(39!==this.peek()){this.bump();break}t.push(39),this.bump()}else t.push(r);this.bump()}return dr.apply(void 0,t)},u.prototype.tryParseUnquoted=function(e,t){var r;return this.isEOF()||60===(r=this.char())||123===r||35===r&&("plural"===t||"selectordinal"===t)||125===r&&0<e?null:(this.bump(),dr(r))},u.prototype.parseArgument=function(e,t){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(f.EXPECT_ARGUMENT_CLOSING_BRACE,g(r,this.clonePosition()));if(125===this.char())return this.bump(),this.error(f.EMPTY_ARGUMENT,g(r,this.clonePosition()));var o=this.parseIdentifierIfPossible().value;if(!o)return this.error(f.MALFORMED_ARGUMENT,g(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(f.EXPECT_ARGUMENT_CLOSING_BRACE,g(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:y.argument,value:o,location:g(r,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(f.EXPECT_ARGUMENT_CLOSING_BRACE,g(r,this.clonePosition())):this.parseArgumentOptions(e,t,o,r);default:return this.error(f.MALFORMED_ARGUMENT,g(r,this.clonePosition()))}},u.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),r=ur(this.message,t),t=t+r.length;return this.bumpTo(t),{value:r,location:g(e,this.clonePosition())}},u.prototype.parseArgumentOptions=function(e,t,r,o){var n,i=this.clonePosition(),s=this.parseIdentifierIfPossible().value,a=this.clonePosition();switch(s){case"":return this.error(f.EXPECT_ARGUMENT_TYPE,g(i,a));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var h=this.clonePosition();if((c=this.parseSimpleArgStyleIfPossible()).err)return c;if(0===(d=_r(c.val)).length)return this.error(f.EXPECT_ARGUMENT_STYLE,g(this.clonePosition(),this.clonePosition()));l={style:d,styleLocation:g(h,this.clonePosition())}}return(h=this.tryParseArgumentClose(o)).err?h:(p=g(o,this.clonePosition()),l&&cr(null==l?void 0:l.style,"::",0)?(m=fr(l.style.slice(2)),"number"===s?(c=this.parseNumberSkeletonFromString(m,l.styleLocation)).err?c:{val:{type:y.number,value:r,location:p,style:c.val},err:null}:0===m.length?this.error(f.EXPECT_DATE_TIME_SKELETON,p):(u=m,this.locale&&(u=function(e,t){for(var r="",o=0;o<e.length;o++){var n=e.charAt(o);if("j"===n){for(var i=0;o+1<e.length&&e.charAt(o+1)===n;)i++,o++;var s=1+(1&i),a=i<2?1:3+(i>>1),l=function(e){var t,r=e.hourCycle;if(r=void 0===r&&e.hourCycles&&e.hourCycles.length?e.hourCycles[0]:r)switch(r){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}return"root"!==(r=e.language)&&(t=e.maximize().region),(rr[t||""]||rr[r||""]||rr["".concat(r,"-001")]||rr["001"])[0]}(t);for("H"!=l&&"k"!=l||(a=0);0<a--;)r+="a";for(;0<s--;)r=l+r}else r+="J"===n?"H":n}return r}(m,this.locale)),d={type:It.dateTime,pattern:u,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?(n={},u.replace(Wt,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"===s?y.date:y.time,value:r,location:p,style:d},err:null})):{val:{type:"number"===s?y.number:"date"===s?y.date:y.time,value:r,location:p,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,g(u,_({},u)));this.bumpSpace();var c,d=this.parseIdentifierIfPossible(),p=0;if("select"!==s&&"offset"===d.value){if(!this.bumpIf(":"))return this.error(f.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,g(this.clonePosition(),this.clonePosition()));if(this.bumpSpace(),(c=this.tryParseDecimalInteger(f.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,f.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return c;this.bumpSpace(),d=this.parseIdentifierIfPossible(),p=c.val}var m,l=this.tryParsePluralOrSelectOptions(e,s,t,d);return l.err?l:(h=this.tryParseArgumentClose(o)).err?h:(m=g(o,this.clonePosition()),"select"===s?{val:{type:y.select,value:r,options:pr(l.val),location:m},err:null}:{val:{type:y.plural,value:r,options:pr(l.val),offset:p,pluralType:"plural"===s?"cardinal":"ordinal",location:m},err:null});default:return this.error(f.INVALID_ARGUMENT_TYPE,g(i,a))}},u.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(f.EXPECT_ARGUMENT_CLOSING_BRACE,g(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},u.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();)switch(this.char()){case 39:this.bump();var r=this.clonePosition();if(!this.bumpUntil("'"))return this.error(f.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,g(r,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}},u.prototype.parseNumberSkeletonFromString=function(e,t){var r=[];try{r=function(e){if(0===e.length)throw new Error("Number skeleton cannot be empty");for(var t=[],r=0,o=e.split(Gt).filter(function(e){return 0<e.length});r<o.length;r++){var n=o[r].split("/");if(0===n.length)throw new Error("Invalid number skeleton");for(var i=n[0],n=n.slice(1),s=0,a=n;s<a.length;s++)if(0===a[s].length)throw new Error("Invalid number skeleton");t.push({stem:i,options:n})}return t}(e)}catch(e){return this.error(f.INVALID_NUMBER_SKELETON,t)}return{val:{type:It.number,tokens:r,location:t,parsedOptions:this.shouldParseSkeletons?tr(r):{}},err:null}},u.prototype.tryParsePluralOrSelectOptions=function(e,t,r,o){for(var n=!1,i=[],s=new Set,a=o.value,l=o.location;;){if(0===a.length){var h=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=g(h,this.clonePosition()),a=this.message.slice(h.offset,this.offset())}if(s.has(a))return this.error("select"===t?f.DUPLICATE_SELECT_ARGUMENT_SELECTOR:f.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);"other"===a&&(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,g(this.clonePosition(),this.clonePosition()));h=this.parseMessage(e+1,t,r);if(h.err)return h;var c=this.tryParseArgumentClose(u);if(c.err)return c;i.push([a,{value:h.val,location:g(u,this.clonePosition())}]),s.add(a),this.bumpSpace(),a=(c=this.parseIdentifierIfPossible()).value,l=c.location}return 0===i.length?this.error("select"===t?f.EXPECT_SELECT_ARGUMENT_SELECTOR:f.EXPECT_PLURAL_ARGUMENT_SELECTOR,g(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!n?this.error(f.MISSING_OTHER_CLAUSE,g(this.clonePosition(),this.clonePosition())):{val:i,err:null}},u.prototype.tryParseDecimalInteger=function(e,t){var r=1,o=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-1);for(var n=!1,i=0;!this.isEOF();){var s=this.char();if(!(48<=s&&s<=57))break;n=!0,i=10*i+(s-48),this.bump()}o=g(o,this.clonePosition());return n?lr(i*=r)?{val:i,err:null}:this.error(t,o):this.error(e,o)},u.prototype.offset=function(){return this.position.offset},u.prototype.isEOF=function(){return this.offset()===this.message.length},u.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},u.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=mr(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},u.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},u.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))},u.prototype.bumpIf=function(e){if(cr(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},u.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)},u.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}},u.prototype.bumpSpace=function(){for(;!this.isEOF()&&br(this.char());)this.bump()},u.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 gr=u;function u(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 vr(e){return 97<=e&&e<=122||65<=e&&e<=90}function br(e){return 9<=e&&e<=13||32===e||133===e||8206<=e&&e<=8207||8232===e||8233===e}function wr(e,t){t=_({shouldParseSkeletons:!0,requiresOtherClause:!0},t=void 0===t?{}:t);var r,e=new gr(e,t).parse();if(e.err)throw(r=SyntaxError(f[e.err.kind])).location=e.err.location,r.originalMessage=e.err.message,r;return null!=t&&t.captureLocation||function r(e){e.forEach(function(e){if(delete e.location,$t(e)||zt(e))for(var t in e.options)delete e.options[t].location,r(e.options[t].value);else Rt(e)&&jt(e.style)||(Ft(e)||Yt(e))&&Vt(e.style)?delete e.style.location:Ut(e)&&r(e.children)})}(e.val),e.val}function xr(e,t){var r=t&&t.cache?t.cache:Or,o=t&&t.serializer?t.serializer:Tr;return(t&&t.strategy?t.strategy:function(e,t){return Cr(e,this,1===e.length?Er:Ar,t.cache.create(),t.serializer)})(e,{cache:r,serializer:o})}function Er(e,t,r,o){var r=null==o||"number"==typeof o||"boolean"==typeof o?o:r(o),n=t.get(r);return void 0===n&&(n=e.call(this,o),t.set(r,n)),n}function Ar(e,t,r){var o=Array.prototype.slice.call(arguments,3),r=r(o),n=t.get(r);return void 0===n&&(n=e.apply(this,o),t.set(r,n)),n}function Cr(e,t,r,o,n){return r.bind(t,e,o,n)}var Tr=function(){return JSON.stringify(arguments)};function Sr(){this.cache=Object.create(null)}Sr.prototype.get=function(e){return this.cache[e]},Sr.prototype.set=function(e,t){this.cache[e]=t};var Pr,Dr,Or={create:function(){return new Sr}},Mr={variadic:function(e,t){return Cr(e,this,Ar,t.cache.create(),t.serializer)},monadic:function(e,t){return Cr(e,this,Er,t.cache.create(),t.serializer)}};(Dr=Pr=Pr||{}).MISSING_VALUE="MISSING_VALUE",Dr.INVALID_VALUE="INVALID_VALUE",Dr.MISSING_INTL_API="MISSING_INTL_API";Bt(jr,Hr=Error),jr.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)};var v,Nr,Br,Ir,Hr,Lr=jr,Rr=(Bt(Ur,Ir=Lr),Ur),Fr=(Bt(zr,Br=Lr),zr),Yr=(Bt($r,Nr=Lr),$r);function $r(e,t){return Nr.call(this,'The intl string context variable "'.concat(e,'" was not provided to the string "').concat(t,'"'),Pr.MISSING_VALUE,t)||this}function zr(e,t,r){return Br.call(this,'Value for "'.concat(e,'" must be of type ').concat(t),Pr.INVALID_VALUE,r)||this}function Ur(e,t,r,o){return Ir.call(this,'Invalid values for "'.concat(e,'": "').concat(t,'". Options are "').concat(Object.keys(r).join('", "'),'"'),Pr.INVALID_VALUE,o)||this}function jr(e,t,r){e=Hr.call(this,e)||this;return e.code=t,e.originalMessage=r,e}function Vr(e,t,r,o,n,i,s){if(1===e.length&&Lt(e[0]))return[{type:v.literal,value:e[0].value}];for(var a=[],l=0,h=e;l<h.length;l++){var u=h[l];if(Lt(u))a.push({type:v.literal,value:u.value});else if(u.type===y.pound)"number"==typeof i&&a.push({type:v.literal,value:r.getNumberFormat(t).format(i)});else{var c=u.value;if(!(n&&c in n))throw new Yr(c,s);c=n[c];if(u.type===y.argument)c&&"string"!=typeof c&&"number"!=typeof c||(c="string"==typeof c||"number"==typeof c?String(c):""),a.push({type:"string"==typeof c?v.literal:v.object,value:c});else if(Ft(u)){var d="string"==typeof u.style?o.date[u.style]:Vt(u.style)?u.style.parsedOptions:void 0;a.push({type:v.literal,value:r.getDateTimeFormat(t,d).format(c)})}else if(Yt(u))d="string"==typeof u.style?o.time[u.style]:Vt(u.style)?u.style.parsedOptions:o.time.medium,a.push({type:v.literal,value:r.getDateTimeFormat(t,d).format(c)});else if(Rt(u))(d="string"==typeof u.style?o.number[u.style]:jt(u.style)?u.style.parsedOptions:void 0)&&d.scale&&(c*=d.scale||1),a.push({type:v.literal,value:r.getNumberFormat(t,d).format(c)});else{if(Ut(u)){var p=u.children,m=u.value,f=n[m];if("function"!=typeof f)throw new Fr(m,"function",s);m=f(Vr(p,t,r,o,n,i).map(function(e){return e.value}));Array.isArray(m)||(m=[m]),a.push.apply(a,m.map(function(e){return{type:"string"==typeof e?v.literal:v.object,value:e}}))}if($t(u)){if(!(_=u.options[c]||u.options.other))throw new Rr(u.value,c,Object.keys(u.options),s);a.push.apply(a,Vr(_.value,t,r,o,n))}else if(zt(u)){if(!(_=u.options["=".concat(c)])){if(!Intl.PluralRules)throw new Lr('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',Pr.MISSING_INTL_API,s);var f=r.getPluralRules(t,{type:u.pluralType}).select(c-(u.offset||0)),_=u.options[f]||u.options.other}if(!_)throw new Rr(u.value,c,Object.keys(u.options),s);a.push.apply(a,Vr(_.value,t,r,o,n,c-(u.offset||0)))}}}}return(e=a).length<2?e:e.reduce(function(e,t){var r=e[e.length-1];return r&&r.type===v.literal&&t.type===v.literal?r.value+=t.value:e.push(t),e},[])}function Wr(r){return{create:function(){return{get:function(e){return r[e]},set:function(e,t){r[e]=t}}}}}(e=v=v||{})[e.literal=0]="literal",e[e.object=1]="object";Object.defineProperty(c,"defaultLocale",{get:function(){return c.memoizedDefaultLocale||(c.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),c.memoizedDefaultLocale},enumerable:!1,configurable:!0}),c.memoizedDefaultLocale=null,c.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])},c.__parse=wr,c.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 Gr=c;function c(e,t,r,o){var n,i,s=this;if(void 0===t&&(t=c.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var e=s.formatToParts(e);return 1===e.length?e[0].value:(e=e.reduce(function(e,t){return e.length&&t.type===v.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 Vr(s.ast,s.locales,s.formatters,s.formats,e,void 0,s.message)},this.resolvedOptions=function(){return{locale:s.resolvedLocale.toString()}},this.getAst=function(){return s.ast},this.locales=t,this.resolvedLocale=c.resolveLocale(t),"string"==typeof e){if(this.message=e,!c.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=c.__parse(e,{ignoreTag:null==o?void 0:o.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=c.formats,(i=r)?Object.keys(n).reduce(function(e,t){var r,o;return e[t]=(r=n[t],(o=i[t])?_(_(_({},r||{}),o||{}),Object.keys(r).reduce(function(e,t){return e[t]=_(_({},r[t]),o[t]||{}),e},{})):r),e},_({},n)):n),this.formatters=o&&o.formatters||{getNumberFormat:xr(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.NumberFormat).bind.apply(e,Ht([void 0],t,!1)))},{cache:Wr((t=void 0===(t=this.formatterCache)?{number:{},dateTime:{},pluralRules:{}}:t).number),strategy:Mr.variadic}),getDateTimeFormat:xr(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.DateTimeFormat).bind.apply(e,Ht([void 0],t,!1)))},{cache:Wr(t.dateTime),strategy:Mr.variadic}),getPluralRules:xr(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.PluralRules).bind.apply(e,Ht([void 0],t,!1)))},{cache:Wr(t.pluralRules),strategy:Mr.variadic})}}const qr={},Kr=(e,t,r)=>r&&(t in qr||(qr[t]={}),e in qr[t]||(qr[t][e]=r),r),Xr=(t,r)=>{if(null!=r){if(r in qr&&t in qr[r])return qr[r][t];var o=vo(r);for(let e=0;e<o.length;e++){var n=function(e,t){if(!Qr(e))return null;e=function(e){return Zr[e]||null}(e),e=function(e,r){if(null!=r){if(r in e)return e[r];var o=r.split(".");let t=e;for(let e=0;e<o.length;e++)if("object"==typeof t){if(0<e){const r=o.slice(e,o.length).join(".");if(r in t){t=t[r];break}}t=t[o[e]]}else t=void 0;return t}}(e,t);return e}(o[e],t);if(n)return Kr(t,r,n)}}};let Zr;const Jr=xt({});function Qr(e){return e in Zr}function eo(t,...r){delete qr[t],Jr.update(e=>(e[t]=Mt.all([e[t]||{},...r]),e))}Et([Jr],([e])=>Object.keys(e)),Jr.subscribe(e=>Zr=e);const to={};function ro(e){return to[e]}function oo(e){return null!=e&&vo(e).some(e=>{return null==(e=ro(e))?void 0:e.size})}function no(o,e){return Promise.all(e.map(e=>{return t=o,r=e,to[t].delete(r),0===to[t].size&&delete to[t],e().then(e=>e.default||e);var t,r})).then(e=>eo(o,...e))}const io={};function so(e){var t;return oo(e)?(t=vo(e).map(e=>{var t=ro(e);return[e,t?[...t]:[]]}).filter(([,e])=>0<e.length),io[e]=Promise.all(t.map(([e,t])=>no(e,t))).then(()=>{if(oo(e))return so(e);delete io[e]}),io[e]):e in io?io[e]:Promise.resolve()}const ao={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 lo(){return ao}const ho=xt(!1);var uo=Object.defineProperty,i=Object.defineProperties,ir=Object.getOwnPropertyDescriptors,co=Object.getOwnPropertySymbols,po=Object.prototype.hasOwnProperty,mo=Object.prototype.propertyIsEnumerable,fo=(e,t,r)=>t in e?uo(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;let _o;const yo=xt(null);function go(e){return e.split("-").map((e,t,r)=>r.slice(0,t+1).join("-")).reverse()}function vo(e,t=ao.fallbackLocale){e=go(e);return t?[...new Set([...e,...go(t)])]:e}function bo(){return null!=_o?_o:void 0}yo.subscribe(e=>{_o=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)});sr=((e,t)=>{for(var r in t=t||{})po.call(t,r)&&fo(e,r,t[r]);if(co)for(var r of co(t))mo.call(t,r)&&fo(e,r,t[r]);return e})({},yo);const wo=i(sr,ir({set:t=>{if(t&&function(e){if(null==e)return;const t=vo(e);for(let e=0;e<t.length;e++){const r=t[e];if(Qr(r))return r}}(t)&&oo(t)){const{loadingDelay:r}=lo();let e;return"undefined"!=typeof window&&null!=bo()&&r?e=window.setTimeout(()=>ho.set(!0),r):ho.set(!0),so(t).then(()=>{yo.set(t)}).finally(()=>{clearTimeout(e),ho.set(!1)})}return yo.set(t)}})),xo=r=>{const o=Object.create(null);return e=>{var t=JSON.stringify(e);return t in o?o[t]:o[t]=r(e)}};var Eo=Object.defineProperty,Ao=Object.getOwnPropertySymbols,Co=Object.prototype.hasOwnProperty,To=Object.prototype.propertyIsEnumerable,So=(e,t,r)=>t in e?Eo(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Po=(e,t)=>{for(var r in t=t||{})Co.call(t,r)&&So(e,r,t[r]);if(Ao)for(var r of Ao(t))To.call(t,r)&&So(e,r,t[r]);return e},Do=(e,t)=>{var r={};for(o in e)Co.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(null!=e&&Ao)for(var o of Ao(e))t.indexOf(o)<0&&To.call(e,o)&&(r[o]=e[o]);return r};const ko=(e,t)=>{var r=ao["formats"];if(e in r&&t in r[e])return r[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},Oo=xo(e=>{var{locale:t,format:r}=e,e=Do(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return r&&(e=ko("number",r)),new Intl.NumberFormat(t,e)}),Mo=xo(e=>{var{locale:t,format:r}=e,e=Do(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return r?e=ko("date",r):0===Object.keys(e).length&&(e=ko("date","short")),new Intl.DateTimeFormat(t,e)}),No=xo(e=>{var{locale:t,format:r}=e,e=Do(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return r?e=ko("time",r):0===Object.keys(e).length&&(e=ko("time","short")),new Intl.DateTimeFormat(t,e)}),Bo=xo((e,t=bo())=>new Gr(e,t,ao.formats,{ignoreTag:ao.ignoreTag})),Io=Et([wo,Jr],()=>(e,t={})=>{var r,o;let n=t;"object"==typeof e&&(e=(n=e).id);var{values:i,locale:s=bo(),default:a}=n;if(null==s)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let l=Xr(e,s);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!=(o=null!=(r=null==(r=(o=ao).handleMissingMessage)?void 0:r.call(o,{locale:s,id:e,defaultValue:a}))?r:a)?o:e;if(!i)return l;let h=l;try{h=Bo(l,s).format(i)}catch(t){t instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return h}),Ho=(Et([wo],()=>(e,t)=>((e={})=>{var{locale:t=bo()}=e,e=Do(e,["locale"]);return No(Po({locale:t},e))})(t).format(e)),Et([wo],()=>(e,t)=>((e={})=>{var{locale:t=bo()}=e,e=Do(e,["locale"]);return Mo(Po({locale:t},e))})(t).format(e)),Et([wo],()=>(e,t)=>((e={})=>{var{locale:t=bo()}=e,e=Do(e,["locale"]);return Oo(Po({locale:t},e))})(t).format(e)),Et([wo,Jr],()=>(e,t=bo())=>Xr(e,t)),window.emWidgets={topic:(e,t=0)=>{return-1==vt.indexOf(e)&&(t=new _t(t),bt[e]=t,vt.push(e)),bt[e]}},e=>e.toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC");Ro=Lo={path:void 0,exports:{},require:function(e,t){return kr(null==t&&Lo.path)}},Lo.exports,Ro.exports=function(){var H;function m(){return H.apply(null,arguments)}function s(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function L(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function f(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function R(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;for(var t in e)if(f(e,t))return;return 1}function a(e){return void 0===e}function F(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function Y(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function $(e,t){for(var r=[],o=e.length,n=0;n<o;++n)r.push(t(e[n],n));return r}function z(e,t){for(var r in t)f(t,r)&&(e[r]=t[r]);return f(t,"toString")&&(e.toString=t.toString),f(t,"valueOf")&&(e.valueOf=t.valueOf),e}function h(e,t,r,o){return Ot(e,t,r,o,!0).utc()}function _(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 U(e){if(null==e._isValid){var t=_(e),r=V.call(t.parsedDateParts,function(e){return null!=e}),r=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&r);if(e._strict&&(r=r&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return r;e._isValid=r}return e._isValid}function j(e){var t=h(NaN);return null!=e?z(_(t),e):_(t).userInvalidated=!0,t}var V=Array.prototype.some||function(e){for(var t=Object(this),r=t.length>>>0,o=0;o<r;o++)if(o in t&&e.call(this,t[o],o,t))return!0;return!1},W=m.momentProperties=[],G=!1;function q(e,t){var r,o,n,i=W.length;if(a(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),a(t._i)||(e._i=t._i),a(t._f)||(e._f=t._f),a(t._l)||(e._l=t._l),a(t._strict)||(e._strict=t._strict),a(t._tzm)||(e._tzm=t._tzm),a(t._isUTC)||(e._isUTC=t._isUTC),a(t._offset)||(e._offset=t._offset),a(t._pf)||(e._pf=_(t)),a(t._locale)||(e._locale=t._locale),0<i)for(r=0;r<i;r++)a(n=t[o=W[r]])||(e[o]=n);return e}function K(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 K||null!=e&&null!=e._isAMomentObject}function X(e){!1===m.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function e(i,s){var a=!0;return z(function(){if(null!=m.deprecationHandler&&m.deprecationHandler(null,i),a){for(var e,t,r=[],o=arguments.length,n=0;n<o;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];r.push(e)}X(i+"\nArguments: "+Array.prototype.slice.call(r).join("")+"\n"+(new Error).stack),a=!1}return s.apply(this,arguments)},s)}var Z={};function J(e,t){null!=m.deprecationHandler&&m.deprecationHandler(e,t),Z[e]||(X(t),Z[e]=!0)}function u(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function Q(e,t){var r,o=z({},e);for(r in t)f(t,r)&&(L(e[r])&&L(t[r])?(o[r]={},z(o[r],e[r]),z(o[r],t[r])):null!=t[r]?o[r]=t[r]:delete o[r]);for(r in e)f(e,r)&&!f(t,r)&&L(e[r])&&(o[r]=z({},o[r]));return o}function ee(e){null!=e&&this.set(e)}m.suppressDeprecationWarnings=!1,m.deprecationHandler=null;var te=Object.keys||function(e){var t,r=[];for(t in e)f(e,t)&&r.push(t);return r};function i(e,t,r){var o=""+Math.abs(e);return(0<=e?r?"+":"":"-")+Math.pow(10,Math.max(0,t-o.length)).toString().substr(1)+o}var re=/(\[[^\[]*\])|(\\)?([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,oe=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,ne={},ie={};function o(e,t,r,o){var n="string"==typeof o?function(){return this[o]()}:o;e&&(ie[e]=n),t&&(ie[t[0]]=function(){return i(n.apply(this,arguments),t[1],t[2])}),r&&(ie[r]=function(){return this.localeData().ordinal(n.apply(this,arguments),e)})}function se(e,t){return e.isValid()?(t=ae(t,e.localeData()),ne[t]=ne[t]||function(o){for(var e,n=o.match(re),t=0,i=n.length;t<i;t++)ie[n[t]]?n[t]=ie[n[t]]:n[t]=(e=n[t]).match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"");return function(e){for(var t="",r=0;r<i;r++)t+=u(n[r])?n[r].call(e,o):n[r];return t}}(t),ne[t](e)):e.localeData().invalidDate()}function ae(e,t){var r=5;function o(e){return t.longDateFormat(e)||e}for(oe.lastIndex=0;0<=r&&oe.test(e);)e=e.replace(oe,o),oe.lastIndex=0,--r;return e}var le={};function t(e,t){var r=e.toLowerCase();le[r]=le[r+"s"]=le[t]=e}function c(e){return"string"==typeof e?le[e]||le[e.toLowerCase()]:void 0}function he(e){var t,r,o={};for(r in e)f(e,r)&&(t=c(r))&&(o[t]=e[r]);return o}var ue={};function r(e,t){ue[e]=t}function ce(e){return e%4==0&&e%100!=0||e%400==0}function d(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function p(e){var e=+e,t=0;return t=0!=e&&isFinite(e)?d(e):t}function de(t,r){return function(e){return null!=e?(me(this,t,e),m.updateOffset(this,r),this):pe(this,t)}}function pe(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function me(e,t,r){e.isValid()&&!isNaN(r)&&("FullYear"===t&&ce(e.year())&&1===e.month()&&29===e.date()?(r=p(r),e._d["set"+(e._isUTC?"UTC":"")+t](r,e.month(),Be(r,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](r))}var n=/\d/,y=/\d\d/,fe=/\d{3}/,_e=/\d{4}/,ye=/[+-]?\d{6}/,g=/\d\d?/,ge=/\d\d\d\d?/,ve=/\d\d\d\d\d\d?/,be=/\d{1,3}/,we=/\d{1,4}/,xe=/[+-]?\d{1,6}/,Ee=/\d+/,Ae=/[+-]?\d+/,Ce=/Z|[+-]\d\d:?\d\d/gi,Te=/Z|[+-]\d\d(?::?\d\d)?/gi,v=/[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,r,o){Pe[e]=u(r)?r:function(e,t){return e&&o?o:r}}function Se(e,t){return f(Pe,e)?Pe[e](t._strict,t._locale):new RegExp(w(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,r,o,n){return t||r||o||n})))}function w(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var Pe={},De={};function x(e,r){var t,o,n=r;for("string"==typeof e&&(e=[e]),F(r)&&(n=function(e,t){t[r]=p(e)}),o=e.length,t=0;t<o;t++)De[e[t]]=n}function ke(e,n){x(e,function(e,t,r,o){r._w=r._w||{},n(e,r._w,r,o)})}var E,A=0,C=1,T=2,S=3,P=4,D=5,Oe=6,Me=7,Ne=8;function Be(e,t){var r;return isNaN(e)||isNaN(t)?NaN:(r=(t%(r=12)+r)%r,e+=(t-r)/12,1==r?ce(e)?29:28:31-r%7%2)}E=Array.prototype.indexOf||function(e){for(var t=0;t<this.length;++t)if(this[t]===e)return t;return-1},o("M",["MM",2],"Mo",function(){return this.month()+1}),o("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),o("MMMM",0,0,function(e){return this.localeData().months(this,e)}),t("month","M"),r("month",8),b("M",g),b("MM",g,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[C]=p(e)-1}),x(["MMM","MMMM"],function(e,t,r,o){o=r._locale.monthsParse(e,o,r._strict);null!=o?t[C]=o:_(r).invalidMonth=e});var Ie="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),He="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Le=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Re=v,Fe=v;function Ye(e,t){var r;if(e.isValid()){if("string"==typeof t)if(/^\d+$/.test(t))t=p(t);else if(!F(t=e.localeData().monthsParse(t)))return;r=Math.min(e.date(),Be(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,r)}}function $e(e){return null!=e?(Ye(this,e),m.updateOffset(this,!0),this):pe(this,"Month")}function ze(){function e(e,t){return t.length-e.length}for(var t,r=[],o=[],n=[],i=0;i<12;i++)t=h([2e3,i]),r.push(this.monthsShort(t,"")),o.push(this.months(t,"")),n.push(this.months(t,"")),n.push(this.monthsShort(t,""));for(r.sort(e),o.sort(e),n.sort(e),i=0;i<12;i++)r[i]=w(r[i]),o[i]=w(o[i]);for(i=0;i<24;i++)n[i]=w(n[i]);this._monthsRegex=new RegExp("^("+n.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+r.join("|")+")","i")}function Ue(e){return ce(e)?366:365}o("Y",0,0,function(){var e=this.year();return e<=9999?i(e,4):"+"+e}),o(0,["YY",2],0,function(){return this.year()%100}),o(0,["YYYY",4],0,"year"),o(0,["YYYYY",5],0,"year"),o(0,["YYYYYY",6,!0],0,"year"),t("year","y"),r("year",1),b("Y",Ae),b("YY",g,y),b("YYYY",we,_e),b("YYYYY",xe,ye),b("YYYYYY",xe,ye),x(["YYYYY","YYYYYY"],A),x("YYYY",function(e,t){t[A]=2===e.length?m.parseTwoDigitYear(e):p(e)}),x("YY",function(e,t){t[A]=m.parseTwoDigitYear(e)}),x("Y",function(e,t){t[A]=parseInt(e,10)}),m.parseTwoDigitYear=function(e){return p(e)+(68<p(e)?1900:2e3)};var je=de("FullYear",!0);function Ve(e,t,r,o,n,i,s){var a;return e<100&&0<=e?(a=new Date(e+400,t,r,o,n,i,s),isFinite(a.getFullYear())&&a.setFullYear(e)):a=new Date(e,t,r,o,n,i,s),a}function We(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,r){r=7+t-r;return-(7+We(e,0,r).getUTCDay()-t)%7+r-1}function qe(e,t,r,o,n){var i,t=1+7*(t-1)+(7+r-o)%7+Ge(e,o,n),r=t<=0?Ue(i=e-1)+t:t>Ue(e)?(i=e+1,t-Ue(e)):(i=e,t);return{year:i,dayOfYear:r}}function Ke(e,t,r){var o,n,i=Ge(e.year(),t,r),i=Math.floor((e.dayOfYear()-i-1)/7)+1;return i<1?o=i+k(n=e.year()-1,t,r):i>k(e.year(),t,r)?(o=i-k(e.year(),t,r),n=e.year()+1):(n=e.year(),o=i),{week:o,year:n}}function k(e,t,r){var o=Ge(e,t,r),t=Ge(e+1,t,r);return(Ue(e)-o+t)/7}o("w",["ww",2],"wo","week"),o("W",["WW",2],"Wo","isoWeek"),t("week","w"),t("isoWeek","W"),r("week",5),r("isoWeek",5),b("w",g),b("ww",g,y),b("W",g),b("WW",g,y),ke(["w","ww","W","WW"],function(e,t,r,o){t[o.substr(0,1)]=p(e)});function Xe(e,t){return e.slice(t,7).concat(e.slice(0,t))}o("d",0,"do","day"),o("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),o("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),o("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),o("e",0,0,"weekday"),o("E",0,0,"isoWeekday"),t("day","d"),t("weekday","e"),t("isoWeekday","E"),r("day",11),r("weekday",11),r("isoWeekday",11),b("d",g),b("e",g),b("E",g),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)}),ke(["dd","ddd","dddd"],function(e,t,r,o){o=r._locale.weekdaysParse(e,o,r._strict);null!=o?t.d=o:_(r).invalidWeekday=e}),ke(["d","e","E"],function(e,t,r,o){t[o]=p(e)});var Ze="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=v,tt=v,rt=v;function ot(){function e(e,t){return t.length-e.length}for(var t,r,o,n=[],i=[],s=[],a=[],l=0;l<7;l++)o=h([2e3,1]).day(l),t=w(this.weekdaysMin(o,"")),r=w(this.weekdaysShort(o,"")),o=w(this.weekdays(o,"")),n.push(t),i.push(r),s.push(o),a.push(t),a.push(r),a.push(o);n.sort(e),i.sort(e),s.sort(e),a.sort(e),this._weekdaysRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+n.join("|")+")","i")}function nt(){return this.hours()%12||12}function it(e,t){o(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function st(e,t){return t._meridiemParse}o("H",["HH",2],0,"hour"),o("h",["hh",2],0,nt),o("k",["kk",2],0,function(){return this.hours()||24}),o("hmm",0,0,function(){return""+nt.apply(this)+i(this.minutes(),2)}),o("hmmss",0,0,function(){return""+nt.apply(this)+i(this.minutes(),2)+i(this.seconds(),2)}),o("Hmm",0,0,function(){return""+this.hours()+i(this.minutes(),2)}),o("Hmmss",0,0,function(){return""+this.hours()+i(this.minutes(),2)+i(this.seconds(),2)}),it("a",!0),it("A",!1),t("hour","h"),r("hour",13),b("a",st),b("A",st),b("H",g),b("h",g),b("k",g),b("HH",g,y),b("hh",g,y),b("kk",g,y),b("hmm",ge),b("hmmss",ve),b("Hmm",ge),b("Hmmss",ve),x(["H","HH"],S),x(["k","kk"],function(e,t,r){e=p(e);t[S]=24===e?0:e}),x(["a","A"],function(e,t,r){r._isPm=r._locale.isPM(e),r._meridiem=e}),x(["h","hh"],function(e,t,r){t[S]=p(e),_(r).bigHour=!0}),x("hmm",function(e,t,r){var o=e.length-2;t[S]=p(e.substr(0,o)),t[P]=p(e.substr(o)),_(r).bigHour=!0}),x("hmmss",function(e,t,r){var o=e.length-4,n=e.length-2;t[S]=p(e.substr(0,o)),t[P]=p(e.substr(o,2)),t[D]=p(e.substr(n)),_(r).bigHour=!0}),x("Hmm",function(e,t,r){var o=e.length-2;t[S]=p(e.substr(0,o)),t[P]=p(e.substr(o))}),x("Hmmss",function(e,t,r){var o=e.length-4,n=e.length-2;t[S]=p(e.substr(0,o)),t[P]=p(e.substr(o,2)),t[D]=p(e.substr(n))});v=de("Hours",!0);var at,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:He,week:{dow:0,doy:6},weekdays:Ze,weekdaysMin:Qe,weekdaysShort:Je,meridiemParse:/[ap]\.?m?\.?/i},O={},ht={};function ut(e){return e&&e.toLowerCase().replace("_","-")}function ct(e){for(var t,r,o,n,i=0;i<e.length;){for(t=(n=ut(e[i]).split("-")).length,r=(r=ut(e[i+1]))?r.split("-"):null;0<t;){if(o=dt(n.slice(0,t).join("-")))return o;if(r&&r.length>=t&&function(e,t){for(var r=Math.min(e.length,t.length),o=0;o<r;o+=1)if(e[o]!==t[o])return o;return r}(n,r)>=t-1)break;t--}i++}return at}function dt(t){var e;if(void 0===O[t]&&Ro&&Ro.exports&&null!=t.match("^[^/\\\\]*$"))try{e=at._abbr,kr(),pt(e)}catch(e){O[t]=null}return O[t]}function pt(e,t){return e&&((t=a(t)?M(e):mt(e,t))?at=t:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),at._abbr}function mt(e,t){if(null===t)return delete O[e],null;var r,o=lt;if(t.abbr=e,null!=O[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."),o=O[e]._config;else if(null!=t.parentLocale)if(null!=O[t.parentLocale])o=O[t.parentLocale]._config;else{if(null==(r=dt(t.parentLocale)))return ht[t.parentLocale]||(ht[t.parentLocale]=[]),ht[t.parentLocale].push({name:e,config:t}),null;o=r._config}return O[e]=new ee(Q(o,t)),ht[e]&&ht[e].forEach(function(e){mt(e.name,e.config)}),pt(e),O[e]}function M(e){var t;if(!(e=e&&e._locale&&e._locale._abbr?e._locale._abbr:e))return at;if(!s(e)){if(t=dt(e))return t;e=[e]}return ct(e)}function ft(e){var t=e._a;return t&&-2===_(e).overflow&&(t=t[C]<0||11<t[C]?C:t[T]<1||t[T]>Be(t[A],t[C])?T:t[S]<0||24<t[S]||24===t[S]&&(0!==t[P]||0!==t[D]||0!==t[Oe])?S:t[P]<0||59<t[P]?P:t[D]<0||59<t[D]?D:t[Oe]<0||999<t[Oe]?Oe:-1,_(e)._overflowDayOfYear&&(t<A||T<t)&&(t=T),_(e)._overflowWeeks&&-1===t&&(t=Me),_(e)._overflowWeekday&&-1===t&&(t=Ne),_(e).overflow=t),e}var _t=/^\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)?)?$/,gt=/Z|[+-]\d\d(?::?\d\d)?/,vt=[["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/]],wt=/^\/?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}))$/,Et={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function At(e){var t,r,o,n,i,s,a=e._i,l=_t.exec(a)||yt.exec(a),a=vt.length,h=bt.length;if(l){for(_(e).iso=!0,t=0,r=a;t<r;t++)if(vt[t][1].exec(l[1])){n=vt[t][0],o=!1!==vt[t][2];break}if(null==n)return e._isValid=!1;if(l[3]){for(t=0,r=h;t<r;t++)if(bt[t][1].exec(l[3])){i=(l[2]||" ")+bt[t][0];break}if(null==i)return e._isValid=!1}if(!o&&null!=i)return e._isValid=!1;if(l[4]){if(!gt.exec(l[4]))return e._isValid=!1;s="Z"}e._f=n+(i||"")+(s||""),Dt(e)}else e._isValid=!1}function Ct(e,t,r,o,n,i){e=[function(e){e=parseInt(e,10);return e<=49?2e3+e:e<=999?1900+e:e}(e),He.indexOf(t),parseInt(r,10),parseInt(o,10),parseInt(n,10)];return i&&e.push(parseInt(i,10)),e}function Tt(e){var t,r,o,n,i=xt.exec(e._i.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));i?(t=Ct(i[4],i[3],i[2],i[5],i[6],i[7]),r=i[1],o=t,n=e,r&&Je.indexOf(r)!==new Date(o[0],o[1],o[2]).getDay()?(_(n).weekdayMismatch=!0,n._isValid=!1):(e._a=t,e._tzm=(r=i[8],o=i[9],n=i[10],r?Et[r]:o?0:((r=parseInt(n,10))-(o=r%100))/100*60+o),e._d=We.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),_(e).rfc2822=!0)):e._isValid=!1}function St(e,t,r){return null!=e?e:null!=t?t:r}function Pt(e){var t,r,o,n,i,s,a,l,h,u,c,d=[];if(!e._d){for(u=e,c=new Date(m.now()),r=u._useUTC?[c.getUTCFullYear(),c.getUTCMonth(),c.getUTCDate()]:[c.getFullYear(),c.getMonth(),c.getDate()],e._w&&null==e._a[T]&&null==e._a[C]&&(null!=(c=(u=e)._w).GG||null!=c.W||null!=c.E?(s=1,a=4,o=St(c.GG,u._a[A],Ke(N(),1,4).year),n=St(c.W,1),((i=St(c.E,1))<1||7<i)&&(l=!0)):(s=u._locale._week.dow,a=u._locale._week.doy,h=Ke(N(),s,a),o=St(c.gg,u._a[A],h.year),n=St(c.w,h.week),null!=c.d?((i=c.d)<0||6<i)&&(l=!0):null!=c.e?(i=c.e+s,(c.e<0||6<c.e)&&(l=!0)):i=s),n<1||n>k(o,s,a)?_(u)._overflowWeeks=!0:null!=l?_(u)._overflowWeekday=!0:(h=qe(o,n,i,s,a),u._a[A]=h.year,u._dayOfYear=h.dayOfYear)),null!=e._dayOfYear&&(c=St(e._a[A],r[A]),(e._dayOfYear>Ue(c)||0===e._dayOfYear)&&(_(e)._overflowDayOfYear=!0),l=We(c,0,e._dayOfYear),e._a[C]=l.getUTCMonth(),e._a[T]=l.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=d[t]=r[t];for(;t<7;t++)e._a[t]=d[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[S]&&0===e._a[P]&&0===e._a[D]&&0===e._a[Oe]&&(e._nextDay=!0,e._a[S]=0),e._d=(e._useUTC?We:Ve).apply(null,d),o=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[S]=24),e._w&&void 0!==e._w.d&&e._w.d!==o&&(_(e).weekdayMismatch=!0)}}function Dt(e){if(e._f!==m.ISO_8601)if(e._f!==m.RFC_2822){e._a=[],_(e).empty=!0;for(var t,r,o,n=""+e._i,i=n.length,s=0,a=(r=ae(e._f,e._locale).match(re)||[]).length,l=0;l<a;l++)o=r[l],(t=(n.match(Se(o,e))||[])[0])&&(0<(c=n.substr(0,n.indexOf(t))).length&&_(e).unusedInput.push(c),n=n.slice(n.indexOf(t)+t.length),s+=t.length),ie[o]?(t?_(e).empty=!1:_(e).unusedTokens.push(o),c=o,p=e,null!=(d=t)&&f(De,c)&&De[c](d,p._a,p,c)):e._strict&&!t&&_(e).unusedTokens.push(o);_(e).charsLeftOver=i-s,0<n.length&&_(e).unusedInput.push(n),e._a[S]<=12&&!0===_(e).bigHour&&0<e._a[S]&&(_(e).bigHour=void 0),_(e).parsedDateParts=e._a.slice(0),_(e).meridiem=e._meridiem,e._a[S]=(i=e._locale,h=e._a[S],null==(u=e._meridiem)?h:null!=i.meridiemHour?i.meridiemHour(h,u):null!=i.isPM?((i=i.isPM(u))&&h<12&&(h+=12),h=i||12!==h?h:0):h),null!==(u=_(e).era)&&(e._a[A]=e._locale.erasConvertYear(u,e._a[A])),Pt(e),ft(e)}else Tt(e);else At(e);var h,u,c,d,p}function kt(e){var t,r=e._i,o=e._f;{var n,i;return(e._locale=e._locale||M(e._l),null===r||void 0===o&&""===r)?j({nullInput:!0}):("string"==typeof r&&(e._i=r=e._locale.preparse(r)),l(r)?new K(ft(r)):(Y(r)?e._d=r:s(o)?function(e){var t,r,o,n,i,s,a=!1,l=e._f.length;if(0===l)return _(e).invalidFormat=!0,e._d=new Date(NaN);for(n=0;n<l;n++)i=0,s=!1,t=q({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[n],Dt(t),U(t)&&(s=!0),i=(i+=_(t).charsLeftOver)+10*_(t).unusedTokens.length,_(t).score=i,a?i<o&&(o=i,r=t):(null==o||i<o||s)&&(o=i,r=t,s)&&(a=!0);z(e,r||t)}(e):o?Dt(e):a(o=(r=e)._i)?r._d=new Date(m.now()):Y(o)?r._d=new Date(o.valueOf()):"string"==typeof o?(n=r,null===(i=wt.exec(n._i))?(At(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(+i[1])):s(o)?(r._a=$(o.slice(0),function(e){return parseInt(e,10)}),Pt(r)):L(o)?(n=r)._d||(t=void 0===(i=he(n._i)).day?i.date:i.day,n._a=$([i.year,i.month,t,i.hour,i.minute,i.second,i.millisecond],function(e){return e&&parseInt(e,10)}),Pt(n)):F(o)?r._d=new Date(o):m.createFromInputFallback(r),U(e)||(e._d=null),e))}}function Ot(e,t,r,o,n){var i={};return!0!==t&&!1!==t||(o=t,t=void 0),!0!==r&&!1!==r||(o=r,r=void 0),(L(e)&&R(e)||s(e)&&0===e.length)&&(e=void 0),i._isAMomentObject=!0,i._useUTC=i._isUTC=n,i._l=r,i._i=e,i._f=t,i._strict=o,(n=new K(ft(kt(n=i))))._nextDay&&(n.add(1,"d"),n._nextDay=void 0),n}function N(e,t,r,o){return Ot(e,t,r,o,!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(){};ge=e("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=N.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:j()}),ve=e("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=N.apply(null,arguments);return this.isValid()&&e.isValid()?this<e?this:e:j()});function Mt(e,t){var r,o;if(!(t=1===t.length&&s(t[0])?t[0]:t).length)return N();for(r=t[0],o=1;o<t.length;++o)t[o].isValid()&&!t[o][e](r)||(r=t[o]);return r}var Nt=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Bt(e){var e=he(e),t=e.year||0,r=e.quarter||0,o=e.month||0,n=e.week||e.isoWeek||0,i=e.day||0,s=e.hour||0,a=e.minute||0,l=e.second||0,h=e.millisecond||0;this._isValid=function(e){var t,r,o=!1,n=Nt.length;for(t in e)if(f(e,t)&&(-1===E.call(Nt,t)||null!=e[t]&&isNaN(e[t])))return!1;for(r=0;r<n;++r)if(e[Nt[r]]){if(o)return!1;parseFloat(e[Nt[r]])!==p(e[Nt[r]])&&(o=!0)}return!0}(e),this._milliseconds=+h+1e3*l+6e4*a+1e3*s*60*60,this._days=+i+7*n,this._months=+o+3*r+12*t,this._data={},this._locale=M(),this._bubble()}function It(e){return e instanceof Bt}function Ht(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function Lt(e,r){o(e,0,0,function(){var e=this.utcOffset(),t="+";return e<0&&(e=-e,t="-"),t+i(~~(e/60),2)+r+i(~~e%60,2)})}Lt("Z",":"),Lt("ZZ",""),b("Z",Te),b("ZZ",Te),x(["Z","ZZ"],function(e,t,r){r._useUTC=!0,r._tzm=Ft(Te,e)});var Rt=/([\+\-]|\d\d)/gi;function Ft(e,t){var t=(t||"").match(e);return null===t?null:0===(t=60*(e=((t[t.length-1]||[])+"").match(Rt)||["-",0,0])[1]+p(e[2]))?0:"+"===e[0]?t:-t}function Yt(e,t){var r;return t._isUTC?(t=t.clone(),r=(l(e)||Y(e)?e:N(e)).valueOf()-t.valueOf(),t._d.setTime(t._d.valueOf()+r),m.updateOffset(t,!1),t):N(e).local()}function $t(e){return-Math.round(e._d.getTimezoneOffset())}function zt(){return!!this.isValid()&&this._isUTC&&0===this._offset}m.updateOffset=function(){};var Ut=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,jt=/^(-|\+)?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 r,o,n=e;return It(e)?n={ms:e._milliseconds,d:e._days,M:e._months}:F(e)||!isNaN(+e)?(n={},t?n[t]=+e:n.milliseconds=+e):(t=Ut.exec(e))?(r="-"===t[1]?-1:1,n={y:0,d:p(t[T])*r,h:p(t[S])*r,m:p(t[P])*r,s:p(t[D])*r,ms:p(Ht(1e3*t[Oe]))*r}):(t=jt.exec(e))?(r="-"===t[1]?-1:1,n={y:Vt(t[2],r),M:Vt(t[3],r),w:Vt(t[4],r),d:Vt(t[5],r),h:Vt(t[6],r),m:Vt(t[7],r),s:Vt(t[8],r)}):null==n?n={}:"object"==typeof n&&("from"in n||"to"in n)&&(t=N(n.from),r=N(n.to),t=t.isValid()&&r.isValid()?(r=Yt(r,t),t.isBefore(r)?o=Wt(t,r):((o=Wt(r,t)).milliseconds=-o.milliseconds,o.months=-o.months),o):{milliseconds:0,months:0},(n={}).ms=t.milliseconds,n.M=t.months),o=new Bt(n),It(e)&&f(e,"_locale")&&(o._locale=e._locale),It(e)&&f(e,"_isValid")&&(o._isValid=e._isValid),o}function Vt(e,t){e=e&&parseFloat(e.replace(",","."));return(isNaN(e)?0:e)*t}function Wt(e,t){var r={};return r.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(r.months,"M").isAfter(t)&&--r.months,r.milliseconds=+t-+e.clone().add(r.months,"M"),r}function Gt(o,n){return function(e,t){var r;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."),r=e,e=t,t=r),qt(this,B(e,t),o),this}}function qt(e,t,r,o){var n=t._milliseconds,i=Ht(t._days),t=Ht(t._months);e.isValid()&&(o=null==o||o,t&&Ye(e,pe(e,"Month")+t*r),i&&me(e,"Date",pe(e,"Date")+i*r),n&&e._d.setTime(e._d.valueOf()+n*r),o)&&m.updateOffset(e,i||t)}B.fn=Bt.prototype,B.invalid=function(){return B(NaN)};Ie=Gt(1,"add"),Ze=Gt(-1,"subtract");function Kt(e){return"string"==typeof e||e instanceof String}function Xt(e){return l(e)||Y(e)||Kt(e)||F(e)||(r=s(t=e),o=!1,r&&(o=0===t.filter(function(e){return!F(e)&&Kt(t)}).length),r&&o)||function(e){var t,r,o=L(e)&&!R(e),n=!1,i=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],s=i.length;for(t=0;t<s;t+=1)r=i[t],n=n||f(e,r);return o&&n}(e)||null==e;var t,r,o}function Zt(e,t){var r,o;return e.date()<t.date()?-Zt(t,e):-((r=12*(t.year()-e.year())+(t.month()-e.month()))+(t-(o=e.clone().add(r,"months"))<0?(t-o)/(o-e.clone().add(r-1,"months")):(t-o)/(e.clone().add(1+r,"months")-o)))||0}function Jt(e){return void 0===e?this._locale._abbr:(null!=(e=M(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 er=126227808e5;function tr(e,t){return(e%t+t)%t}function rr(e,t,r){return e<100&&0<=e?new Date(e+400,t,r)-er:new Date(e,t,r).valueOf()}function or(e,t,r){return e<100&&0<=e?Date.UTC(e+400,t,r)-er:Date.UTC(e,t,r)}function nr(e,t){return t.erasAbbrRegex(e)}function ir(){for(var e=[],t=[],r=[],o=[],n=this.eras(),i=0,s=n.length;i<s;++i)t.push(w(n[i].name)),e.push(w(n[i].abbr)),r.push(w(n[i].narrow)),o.push(w(n[i].name)),o.push(w(n[i].abbr)),o.push(w(n[i].narrow));this._erasRegex=new RegExp("^("+o.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+t.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+r.join("|")+")","i")}function sr(e,t){o(0,[e,e.length],0,t)}function ar(e,t,r,o,n){var i;return null==e?Ke(this,o,n).year:(t>(i=k(e,o,n))&&(t=i),function(e,t,r,o,n){e=qe(e,t,r,o,n),t=We(e.year,0,e.dayOfYear);return this.year(t.getUTCFullYear()),this.month(t.getUTCMonth()),this.date(t.getUTCDate()),this}.call(this,e,t,r,o,n))}o("N",0,0,"eraAbbr"),o("NN",0,0,"eraAbbr"),o("NNN",0,0,"eraAbbr"),o("NNNN",0,0,"eraName"),o("NNNNN",0,0,"eraNarrow"),o("y",["y",1],"yo","eraYear"),o("y",["yy",2],0,"eraYear"),o("y",["yyy",3],0,"eraYear"),o("y",["yyyy",4],0,"eraYear"),b("N",nr),b("NN",nr),b("NNN",nr),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,r,o){o=r._locale.erasParse(e,o,r._strict);o?_(r).era=o:_(r).invalidEra=e}),b("y",Ee),b("yy",Ee),b("yyy",Ee),b("yyyy",Ee),b("yo",function(e,t){return t._eraYearOrdinalRegex||Ee}),x(["y","yy","yyy","yyyy"],A),x(["yo"],function(e,t,r,o){var n;r._locale._eraYearOrdinalRegex&&(n=e.match(r._locale._eraYearOrdinalRegex)),r._locale.eraYearOrdinalParse?t[A]=r._locale.eraYearOrdinalParse(e,n):t[A]=parseInt(e,10)}),o(0,["gg",2],0,function(){return this.weekYear()%100}),o(0,["GG",2],0,function(){return this.isoWeekYear()%100}),sr("gggg","weekYear"),sr("ggggg","weekYear"),sr("GGGG","isoWeekYear"),sr("GGGGG","isoWeekYear"),t("weekYear","gg"),t("isoWeekYear","GG"),r("weekYear",1),r("isoWeekYear",1),b("G",Ae),b("g",Ae),b("GG",g,y),b("gg",g,y),b("GGGG",we,_e),b("gggg",we,_e),b("GGGGG",xe,ye),b("ggggg",xe,ye),ke(["gggg","ggggg","GGGG","GGGGG"],function(e,t,r,o){t[o.substr(0,2)]=p(e)}),ke(["gg","GG"],function(e,t,r,o){t[o]=m.parseTwoDigitYear(e)}),o("Q",0,"Qo","quarter"),t("quarter","Q"),r("quarter",7),b("Q",n),x("Q",function(e,t){t[C]=3*(p(e)-1)}),o("D",["DD",2],"Do","date"),t("date","D"),r("date",9),b("D",g),b("DD",g,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]=p(e.match(g)[0])});we=de("Date",!0);o("DDD",["DDDD",3],"DDDo","dayOfYear"),t("dayOfYear","DDD"),r("dayOfYear",4),b("DDD",be),b("DDDD",fe),x(["DDD","DDDD"],function(e,t,r){r._dayOfYear=p(e)}),o("m",["mm",2],0,"minute"),t("minute","m"),r("minute",14),b("m",g),b("mm",g,y),x(["m","mm"],P);_e=de("Minutes",!1);o("s",["ss",2],0,"second"),t("second","s"),r("second",15),b("s",g),b("ss",g,y),x(["s","ss"],D);var lr,xe=de("Seconds",!1);for(o("S",0,0,function(){return~~(this.millisecond()/100)}),o(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),o(0,["SSS",3],0,"millisecond"),o(0,["SSSS",4],0,function(){return 10*this.millisecond()}),o(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),o(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),o(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),o(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),o(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),t("millisecond","ms"),r("millisecond",16),b("S",be,n),b("SS",be,y),b("SSS",be,fe),lr="SSSS";lr.length<=9;lr+="S")b(lr,Ee);function hr(e,t){t[Oe]=p(1e3*("0."+e))}for(lr="S";lr.length<=9;lr+="S")x(lr,hr);ye=de("Milliseconds",!1),o("z",0,0,"zoneAbbr"),o("zz",0,0,"zoneName");n=K.prototype;function ur(e){return e}n.add=Ie,n.calendar=function(e,t){1===arguments.length&&(arguments[0]?Xt(arguments[0])?(e=arguments[0],t=void 0):function(e){for(var t=L(e)&&!R(e),r=!1,o=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],n=0;n<o.length;n+=1)r=r||f(e,o[n]);return t&&r}(arguments[0])&&(t=arguments[0],e=void 0):t=e=void 0);var e=e||N(),r=Yt(e,this).startOf("day"),r=m.calendarFormat(this,r)||"sameElse",t=t&&(u(t[r])?t[r].call(this,e):t[r]);return this.format(t||this.localeData().calendar(r,this,N(e)))},n.clone=function(){return new K(this)},n.diff=function(e,t,r){var o,n,i;if(!this.isValid())return NaN;if(!(o=Yt(e,this)).isValid())return NaN;switch(n=6e4*(o.utcOffset()-this.utcOffset()),t=c(t)){case"year":i=Zt(this,o)/12;break;case"month":i=Zt(this,o);break;case"quarter":i=Zt(this,o)/3;break;case"second":i=(this-o)/1e3;break;case"minute":i=(this-o)/6e4;break;case"hour":i=(this-o)/36e5;break;case"day":i=(this-o-n)/864e5;break;case"week":i=(this-o-n)/6048e5;break;default:i=this-o}return r?i:d(i)},n.endOf=function(e){var t,r;if(void 0!==(e=c(e))&&"millisecond"!==e&&this.isValid()){switch(r=this._isUTC?or:rr,e){case"year":t=r(this.year()+1,0,1)-1;break;case"quarter":t=r(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=r(this.year(),this.month()+1,1)-1;break;case"week":t=r(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=r(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=36e5-tr(t+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":t=this._d.valueOf(),t+=6e4-tr(t,6e4)-1;break;case"second":t=this._d.valueOf(),t+=1e3-tr(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=se(this,e),this.localeData().postformat(e)},n.from=function(e,t){return this.isValid()&&(l(e)&&e.isValid()||N(e).isValid())?B({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},n.fromNow=function(e){return this.from(N(),e)},n.to=function(e,t){return this.isValid()&&(l(e)&&e.isValid()||N(e).isValid())?B({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},n.toNow=function(e){return this.to(N(),e)},n.get=function(e){return u(this[e=c(e)])?this[e]():this},n.invalidAt=function(){return _(this).overflow},n.isAfter=function(e,t){return e=l(e)?e:N(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=c(t)||"millisecond")?this.valueOf()>e.valueOf():e.valueOf()<this.clone().startOf(t).valueOf())},n.isBefore=function(e,t){return e=l(e)?e:N(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=c(t)||"millisecond")?this.valueOf()<e.valueOf():this.clone().endOf(t).valueOf()<e.valueOf())},n.isBetween=function(e,t,r,o){return e=l(e)?e:N(e),t=l(t)?t:N(t),!!(this.isValid()&&e.isValid()&&t.isValid())&&("("===(o=o||"()")[0]?this.isAfter(e,r):!this.isBefore(e,r))&&(")"===o[1]?this.isBefore(t,r):!this.isAfter(t,r))},n.isSame=function(e,t){var e=l(e)?e:N(e);return!(!this.isValid()||!e.isValid())&&("millisecond"===(t=c(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 U(this)},n.lang=Qe,n.locale=Jt,n.localeData=Qt,n.max=ve,n.min=ge,n.parsingFlags=function(){return z({},_(this))},n.set=function(e,t){if("object"==typeof e)for(var r=function(e){var t,r=[];for(t in e)f(e,t)&&r.push({unit:t,priority:ue[t]});return r.sort(function(e,t){return e.priority-t.priority}),r}(e=he(e)),o=r.length,n=0;n<o;n++)this[r[n].unit](e[r[n].unit]);else if(u(this[e=c(e)]))return this[e](t);return this},n.startOf=function(e){var t,r;if(void 0!==(e=c(e))&&"millisecond"!==e&&this.isValid()){switch(r=this._isUTC?or:rr,e){case"year":t=r(this.year(),0,1);break;case"quarter":t=r(this.year(),this.month()-this.month()%3,1);break;case"month":t=r(this.year(),this.month(),1);break;case"week":t=r(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=r(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=tr(t+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":t=this._d.valueOf(),t-=tr(t,6e4);break;case"second":t=this._d.valueOf(),t-=tr(t,1e3)}this._d.setTime(t),m.updateOffset(this,!0)}return this},n.subtract=Ze,n.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},n.toObject=function(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}},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()?se(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",se(t,"Z")):se(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,r;return this.isValid()?(t="moment",r="",this.isLocal()||(t=0===this.utcOffset()?"moment.utc":"moment.parseZone",r="Z"),t="["+t+'("]',e=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(t+e+"-MM-DD[T]HH:mm:ss.SSS"+(r+'[")]'))):"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(),r=0,o=t.length;r<o;++r){if(e=this.clone().startOf("day").valueOf(),t[r].since<=e&&e<=t[r].until)return t[r].name;if(t[r].until<=e&&e<=t[r].since)return t[r].name}return""},n.eraNarrow=function(){for(var e,t=this.localeData().eras(),r=0,o=t.length;r<o;++r){if(e=this.clone().startOf("day").valueOf(),t[r].since<=e&&e<=t[r].until)return t[r].narrow;if(t[r].until<=e&&e<=t[r].since)return t[r].narrow}return""},n.eraAbbr=function(){for(var e,t=this.localeData().eras(),r=0,o=t.length;r<o;++r){if(e=this.clone().startOf("day").valueOf(),t[r].since<=e&&e<=t[r].until)return t[r].abbr;if(t[r].until<=e&&e<=t[r].since)return t[r].abbr}return""},n.eraYear=function(){for(var e,t,r=this.localeData().eras(),o=0,n=r.length;o<n;++o)if(e=r[o].since<=r[o].until?1:-1,t=this.clone().startOf("day").valueOf(),r[o].since<=t&&t<=r[o].until||r[o].until<=t&&t<=r[o].since)return(this.year()-m(r[o].since).year())*e+r[o].offset;return this.year()},n.year=je,n.isLeapYear=function(){return ce(this.year())},n.weekYear=function(e){return ar.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},n.isoWeekYear=function(e){return ar.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=$e,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=Ke(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},n.weeksInYear=function(){var e=this.localeData()._week;return k(this.year(),e.dow,e.doy)},n.weeksInWeekYear=function(){var e=this.localeData()._week;return k(this.weekYear(),e.dow,e.doy)},n.isoWeeksInYear=function(){return k(this.year(),1,4)},n.isoWeeksInISOWeekYear=function(){return k(this.isoWeekYear(),1,4)},n.date=we,n.day=n.days=function(e){var t,r,o;return this.isValid()?(t=this._isUTC?this._d.getUTCDay():this._d.getDay(),null!=e?(r=e,o=this.localeData(),e="string"!=typeof r?r:isNaN(r)?"number"==typeof(r=o.weekdaysParse(r))?r:null:parseInt(r,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,r;return this.isValid()?null!=e?(t=e,r=this.localeData(),r="string"==typeof t?r.weekdaysParse(t)%7||7:isNaN(t)?null:t,this.day(this.day()%7?r:r-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=v,n.minute=n.minutes=_e,n.second=n.seconds=xe,n.millisecond=n.milliseconds=ye,n.utcOffset=function(e,t,r){var o,n=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null==e)return this._isUTC?n:$t(this);if("string"==typeof e){if(null===(e=Ft(Te,e)))return this}else Math.abs(e)<16&&!r&&(e*=60);return!this._isUTC&&t&&(o=$t(this)),this._offset=e,this._isUTC=!0,null!=o&&this.add(o,"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($t(this),"m"),this},n.parseZone=function(){var e;return null!=this._tzm?this.utcOffset(this._tzm,!1,!0):"string"==typeof this._i&&(null!=(e=Ft(Ce,this._i))?this.utcOffset(e):this.utcOffset(0,!0)),this},n.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?N(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.",we),n.months=e("months accessor is deprecated. Use month instead",$e),n.years=e("years accessor is deprecated. Use year instead",je),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 a(this._isDSTShifted)&&(q(t={},this),(t=kt(t))._a?(e=(t._isUTC?h:N)(t._a),this._isDSTShifted=this.isValid()&&0<function(e,t,r){for(var o=Math.min(e.length,t.length),n=Math.abs(e.length-t.length),i=0,s=0;s<o;s++)(r&&e[s]!==t[s]||!r&&p(e[s])!==p(t[s]))&&i++;return i+n}(t._a,e.toArray())):this._isDSTShifted=!1),this._isDSTShifted});y=ee.prototype;function cr(e,t,r,o){var n=M(),o=h().set(o,t);return n[r](o,e)}function dr(e,t,r){if(F(e)&&(t=e,e=void 0),e=e||"",null!=t)return cr(e,t,r,"month");for(var o=[],n=0;n<12;n++)o[n]=cr(e,n,r,"month");return o}function pr(e,t,r,o){t=("boolean"==typeof e||(r=t=e,e=!1),F(t)&&(r=t,t=void 0),t||"");var n,i=M(),s=e?i._week.dow:0,a=[];if(null!=r)return cr(t,(r+s)%7,o,"day");for(n=0;n<7;n++)a[n]=cr(t,(n+s)%7,o,"day");return a}y.calendar=function(e,t,r){return u(e=this._calendar[e]||this._calendar.sameElse)?e.call(t,r):e},y.longDateFormat=function(e){var t=this._longDateFormat[e],r=this._longDateFormat[e.toUpperCase()];return t||!r?t:(this._longDateFormat[e]=r.match(re).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=ur,y.postformat=ur,y.relativeTime=function(e,t,r,o){var n=this._relativeTime[r];return u(n)?n(e,t,r,o):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,r;for(r in e)f(e,r)&&(u(t=e[r])?this[r]=t:this["_"+r]=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 r,o=this._eras||M("en")._eras,n=0,i=o.length;n<i;++n)switch("string"==typeof o[n].since&&(r=m(o[n].since).startOf("day"),o[n].since=r.valueOf()),typeof o[n].until){case"undefined":o[n].until=1/0;break;case"string":r=m(o[n].until).startOf("day").valueOf(),o[n].until=r.valueOf()}return o},y.erasParse=function(e,t,r){var o,n,i,s,a,l=this.eras();for(e=e.toUpperCase(),o=0,n=l.length;o<n;++o)if(i=l[o].name.toUpperCase(),s=l[o].abbr.toUpperCase(),a=l[o].narrow.toUpperCase(),r)switch(t){case"N":case"NN":case"NNN":if(s===e)return l[o];break;case"NNNN":if(i===e)return l[o];break;case"NNNNN":if(a===e)return l[o]}else if(0<=[i,s,a].indexOf(e))return l[o]},y.erasConvertYear=function(e,t){var r=e.since<=e.until?1:-1;return void 0===t?m(e.since).year():m(e.since).year()+(t-e.offset)*r},y.erasAbbrRegex=function(e){return f(this,"_erasAbbrRegex")||ir.call(this),e?this._erasAbbrRegex:this._erasRegex},y.erasNameRegex=function(e){return f(this,"_erasNameRegex")||ir.call(this),e?this._erasNameRegex:this._erasRegex},y.erasNarrowRegex=function(e){return f(this,"_erasNarrowRegex")||ir.call(this),e?this._erasNarrowRegex:this._erasRegex},y.months=function(e,t){return e?(s(this._months)?this._months:this._months[(this._months.isFormat||Le).test(t)?"format":"standalone"])[e.month()]:s(this._months)?this._months:this._months.standalone},y.monthsShort=function(e,t){return e?(s(this._monthsShort)?this._monthsShort:this._monthsShort[Le.test(t)?"format":"standalone"])[e.month()]:s(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},y.monthsParse=function(e,t,r){var o,n;if(this._monthsParseExact)return function(e,t,r){var o,n,i,e=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],o=0;o<12;++o)i=h([2e3,o]),this._shortMonthsParse[o]=this.monthsShort(i,"").toLocaleLowerCase(),this._longMonthsParse[o]=this.months(i,"").toLocaleLowerCase();return r?"MMM"===t?-1!==(n=E.call(this._shortMonthsParse,e))?n:null:-1!==(n=E.call(this._longMonthsParse,e))?n:null:"MMM"===t?-1!==(n=E.call(this._shortMonthsParse,e))||-1!==(n=E.call(this._longMonthsParse,e))?n:null:-1!==(n=E.call(this._longMonthsParse,e))||-1!==(n=E.call(this._shortMonthsParse,e))?n:null}.call(this,e,t,r);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),o=0;o<12;o++){if(n=h([2e3,o]),r&&!this._longMonthsParse[o]&&(this._longMonthsParse[o]=new RegExp("^"+this.months(n,"").replace(".","")+"$","i"),this._shortMonthsParse[o]=new RegExp("^"+this.monthsShort(n,"").replace(".","")+"$","i")),r||this._monthsParse[o]||(n="^"+this.months(n,"")+"|^"+this.monthsShort(n,""),this._monthsParse[o]=new RegExp(n.replace(".",""),"i")),r&&"MMMM"===t&&this._longMonthsParse[o].test(e))return o;if(r&&"MMM"===t&&this._shortMonthsParse[o].test(e))return o;if(!r&&this._monthsParse[o].test(e))return o}},y.monthsRegex=function(e){return this._monthsParseExact?(f(this,"_monthsRegex")||ze.call(this),e?this._monthsStrictRegex:this._monthsRegex):(f(this,"_monthsRegex")||(this._monthsRegex=Fe),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=Re),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},y.week=function(e){return Ke(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=s(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"],!0===e?Xe(t,this._week.dow):e?t[e.day()]:t},y.weekdaysMin=function(e){return!0===e?Xe(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},y.weekdaysShort=function(e){return!0===e?Xe(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},y.weekdaysParse=function(e,t,r){var o,n;if(this._weekdaysParseExact)return function(e,t,r){var o,n,i,e=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],o=0;o<7;++o)i=h([2e3,1]).day(o),this._minWeekdaysParse[o]=this.weekdaysMin(i,"").toLocaleLowerCase(),this._shortWeekdaysParse[o]=this.weekdaysShort(i,"").toLocaleLowerCase(),this._weekdaysParse[o]=this.weekdays(i,"").toLocaleLowerCase();return r?"dddd"===t?-1!==(n=E.call(this._weekdaysParse,e))?n:null:"ddd"===t?-1!==(n=E.call(this._shortWeekdaysParse,e))?n:null:-1!==(n=E.call(this._minWeekdaysParse,e))?n:null:"dddd"===t?-1!==(n=E.call(this._weekdaysParse,e))||-1!==(n=E.call(this._shortWeekdaysParse,e))||-1!==(n=E.call(this._minWeekdaysParse,e))?n:null:"ddd"===t?-1!==(n=E.call(this._shortWeekdaysParse,e))||-1!==(n=E.call(this._weekdaysParse,e))||-1!==(n=E.call(this._minWeekdaysParse,e))?n:null:-1!==(n=E.call(this._minWeekdaysParse,e))||-1!==(n=E.call(this._weekdaysParse,e))||-1!==(n=E.call(this._shortWeekdaysParse,e))?n:null}.call(this,e,t,r);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),o=0;o<7;o++){if(n=h([2e3,1]).day(o),r&&!this._fullWeekdaysParse[o]&&(this._fullWeekdaysParse[o]=new RegExp("^"+this.weekdays(n,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[o]=new RegExp("^"+this.weekdaysShort(n,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[o]=new RegExp("^"+this.weekdaysMin(n,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[o]||(n="^"+this.weekdays(n,"")+"|^"+this.weekdaysShort(n,"")+"|^"+this.weekdaysMin(n,""),this._weekdaysParse[o]=new RegExp(n.replace(".",""),"i")),r&&"dddd"===t&&this._fullWeekdaysParse[o].test(e))return o;if(r&&"ddd"===t&&this._shortWeekdaysParse[o].test(e))return o;if(r&&"dd"===t&&this._minWeekdaysParse[o].test(e))return o;if(!r&&this._weekdaysParse[o].test(e))return o}},y.weekdaysRegex=function(e){return this._weekdaysParseExact?(f(this,"_weekdaysRegex")||ot.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")||ot.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")||ot.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(f(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=rt),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},y.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},y.meridiem=function(e,t,r){return 11<e?r?"pm":"PM":r?"am":"AM"},pt("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===p(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.",pt),m.langData=e("moment.langData is deprecated. Use moment.localeData instead.",M);var mr=Math.abs;function fr(e,t,r,o){t=B(t,r);return e._milliseconds+=o*t._milliseconds,e._days+=o*t._days,e._months+=o*t._months,e._bubble()}function _r(e){return e<0?Math.floor(e):Math.ceil(e)}function yr(e){return 4800*e/146097}function gr(e){return 146097*e/4800}function vr(e){return function(){return this.as(e)}}be=vr("ms"),fe=vr("s"),Ie=vr("m"),ve=vr("h"),ge=vr("d"),Ze=vr("w"),v=vr("M"),_e=vr("Q"),xe=vr("y");function br(e){return function(){return this.isValid()?this._data[e]:NaN}}var ye=br("milliseconds"),we=br("seconds"),je=br("minutes"),y=br("hours"),wr=br("days"),xr=br("months"),Er=br("years");var Ar=Math.round,Cr={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Tr(e,t,r,o){var n=B(e).abs(),i=Ar(n.as("s")),s=Ar(n.as("m")),a=Ar(n.as("h")),l=Ar(n.as("d")),h=Ar(n.as("M")),u=Ar(n.as("w")),n=Ar(n.as("y")),i=(i<=r.ss?["s",i]:i<r.s&&["ss",i])||(s<=1?["m"]:s<r.m&&["mm",s])||(a<=1?["h"]:a<r.h&&["hh",a])||(l<=1?["d"]:l<r.d&&["dd",l]);return(i=(i=null!=r.w?i||(u<=1?["w"]:u<r.w&&["ww",u]):i)||(h<=1?["M"]:h<r.M&&["MM",h])||(n<=1?["y"]:["yy",n]))[2]=t,i[3]=0<+e,i[4]=o,function(e,t,r,o,n){return n.relativeTime(t||1,!!r,e,o)}.apply(null,i)}var Sr=Math.abs;function Pr(e){return(0<e)-(e<0)||+e}function Dr(){var e,t,r,o,n,i,s,a,l,h,u;return this.isValid()?(a=Sr(this._milliseconds)/1e3,l=Sr(this._days),h=Sr(this._months),(u=this.asSeconds())?(e=d(a/60),t=d(e/60),a%=60,e%=60,r=d(h/12),h%=12,o=a?a.toFixed(3).replace(/\.?0+$/,""):"",n=Pr(this._months)!==Pr(u)?"-":"",i=Pr(this._days)!==Pr(u)?"-":"",s=Pr(this._milliseconds)!==Pr(u)?"-":"",(u<0?"-":"")+"P"+(r?n+r+"Y":"")+(h?n+h+"M":"")+(l?i+l+"D":"")+(t||e||a?"T":"")+(t?s+t+"H":"")+(e?s+e+"M":"")+(a?s+o+"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=mr(this._milliseconds),this._days=mr(this._days),this._months=mr(this._months),e.milliseconds=mr(e.milliseconds),e.seconds=mr(e.seconds),e.minutes=mr(e.minutes),e.hours=mr(e.hours),e.months=mr(e.months),e.years=mr(e.years),this},I.add=function(e,t){return fr(this,e,t,1)},I.subtract=function(e,t){return fr(this,e,t,-1)},I.as=function(e){if(!this.isValid())return NaN;var t,r,o=this._milliseconds;if("month"===(e=c(e))||"quarter"===e||"year"===e)switch(t=this._days+o/864e5,r=this._months+yr(t),e){case"month":return r;case"quarter":return r/3;case"year":return r/12}else switch(t=this._days+Math.round(gr(this._months)),e){case"week":return t/7+o/6048e5;case"day":return t+o/864e5;case"hour":return 24*t+o/36e5;case"minute":return 1440*t+o/6e4;case"second":return 86400*t+o/1e3;case"millisecond":return Math.floor(864e5*t)+o;default:throw new Error("Unknown unit "+e)}},I.asMilliseconds=be,I.asSeconds=fe,I.asMinutes=Ie,I.asHours=ve,I.asDays=ge,I.asWeeks=Ze,I.asMonths=v,I.asQuarters=_e,I.asYears=xe,I.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*p(this._months/12):NaN},I._bubble=function(){var e=this._milliseconds,t=this._days,r=this._months,o=this._data;return 0<=e&&0<=t&&0<=r||e<=0&&t<=0&&r<=0||(e+=864e5*_r(gr(r)+t),r=t=0),o.milliseconds=e%1e3,e=d(e/1e3),o.seconds=e%60,e=d(e/60),o.minutes=e%60,e=d(e/60),o.hours=e%24,t+=d(e/24),r+=e=d(yr(t)),t-=_r(gr(e)),e=d(r/12),r%=12,o.days=t,o.months=r,o.years=e,this},I.clone=function(){return B(this)},I.get=function(e){return e=c(e),this.isValid()?this[e+"s"]():NaN},I.milliseconds=ye,I.seconds=we,I.minutes=je,I.hours=y,I.days=wr,I.weeks=function(){return d(this.days()/7)},I.months=xr,I.years=Er,I.humanize=function(e,t){var r,o;return this.isValid()?(r=!1,o=Cr,"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(r=e),"object"==typeof t&&(o=Object.assign({},Cr,t),null!=t.s)&&null==t.ss&&(o.ss=t.s-1),t=Tr(this,!r,o,e=this.localeData()),r&&(t=e.pastFuture(+this,t)),e.postformat(t)):this.localeData().invalidDate()},I.toISOString=Dr,I.toString=Dr,I.toJSON=Dr,I.locale=Jt,I.localeData=Qt,I.toIsoString=e("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Dr),I.lang=Qe,o("X",0,0,"unix"),o("x",0,0,"valueOf"),b("x",Ae),b("X",/[+-]?\d+(\.\d{1,3})?/),x("X",function(e,t,r){r._d=new Date(1e3*parseFloat(e))}),x("x",function(e,t,r){r._d=new Date(p(e))}),m.version="2.29.4",H=N,m.fn=n,m.min=function(){return Mt("isBefore",[].slice.call(arguments,0))},m.max=function(){return Mt("isAfter",[].slice.call(arguments,0))},m.now=function(){return Date.now?Date.now():+new Date},m.utc=h,m.unix=function(e){return N(1e3*e)},m.months=function(e,t){return dr(e,t,"months")},m.isDate=Y,m.locale=pt,m.invalid=j,m.duration=B,m.isMoment=l,m.weekdays=function(e,t,r){return pr(e,t,r,"weekdays")},m.parseZone=function(){return N.apply(null,arguments).parseZone()},m.localeData=M,m.isDuration=It,m.monthsShort=function(e,t){return dr(e,t,"monthsShort")},m.weekdaysMin=function(e,t,r){return pr(e,t,r,"weekdaysMin")},m.defineLocale=mt,m.updateLocale=function(e,t){var r,o;return null!=t?(o=lt,null!=O[e]&&null!=O[e].parentLocale?O[e].set(Q(O[e]._config,t)):(t=Q(o=null!=(r=dt(e))?r._config:o,t),null==r&&(t.abbr=e),(o=new ee(t)).parentLocale=O[e],O[e]=o),pt(e)):null!=O[e]&&(null!=O[e].parentLocale?(O[e]=O[e].parentLocale,e===pt()&&pt(e)):null!=O[e]&&delete O[e]),O[e]},m.locales=function(){return te(O)},m.weekdaysShort=function(e,t,r){return pr(e,t,r,"weekdaysShort")},m.normalizeUnits=c,m.relativeTimeRounding=function(e){return void 0===e?Ar:"function"==typeof e&&(Ar=e,!0)},m.relativeTimeThreshold=function(e,t){return void 0!==Cr[e]&&(void 0===t?Cr[e]:(Cr[e]=t,"s"===e&&(Cr.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 Lo,Ro,Fo=Lo.exports;function Yo(e,t){eo(e,t)}const $o={en:{date:"Granted date:",bonusName:"Bonus Name",bonusType:"Bonus Type",bonusAmount:"Bonus Amount",wageringAmount:"Wagering Progress (Rollover)",remainingBonus:"Current Bonus Balance",forfeitBonus:"Forfeit Bonus",active:"active",released:"released",expired:"expired",forfeited:"forfeited"},"zh-hk":{date:"授予日期:",bonusName:"獎金名稱",bonusType:"獎金類型",bonusAmount:"獎金金額",wageringAmount:"投注進展",remainingBonus:"剩餘紅利金額",forfeitBonus:"沒收獎金",active:"active",released:"released",expired:"expired",forfeited:"forfeited"},fr:{date:"Date d'attribution:",bonusName:"Nom du bonus",bonusType:"Type de bonus",bonusAmount:"Montant du bonus",wageringAmount:"Changer les progrès",remainingBonus:"Montant du bonus restant",forfeitBonus:"Supprimer le bonus",active:"active",released:"released",expired:"expired",forfeited:"forfeited"},ro:{date:"Dată Alocare:",bonusName:"Nume bonus",bonusType:"Tip de bonus",bonusAmount:"Sumă",wageringAmount:"Progresul de pariere",remainingBonus:"Bonus rămas",forfeitBonus:"Anulează bonusul",active:"active",released:"released",expired:"expired",forfeited:"forfeited"},es:{date:"Fecha de Canje",bonusName:"Nombre de Bono",bonusType:"Tipo de Bono",bonusAmount:"Monto de Bono",wageringAmount:"Progreso ( Rollover)",remainingBonus:"Saldo Actual de Bono",forfeitBonus:"cancelar bono",active:"Activo",released:"released",expired:"expired",forfeited:"forfeited"},pt:{date:"Data de atribuição do bônus:",bonusName:"Nome do bônus",bonusType:"Tipo de bônus",bonusAmount:"Valor do bônus",wageringAmount:"Progresso de apostas",remainingBonus:"Valor do bônus restante",forfeitBonus:"Bônus de Perda",active:"active",released:"released",expired:"expired",forfeited:"forfeited"},hr:{date:"Datum:",bonusName:"Ime bonusa",bonusType:"Vrsta bonusa",bonusAmount:"Iznos bonusa",wageringAmount:"Odigravanje",remainingBonus:"Trenutno stanje bonusa",forfeitBonus:"Otkaži bonus",active:"aktivan",released:"razriješen",expired:"Istekao",forfeited:"otkazan"},"pt-br":{date:"Data concedida:",bonusName:"Nome do bônus:",bonusType:"Tipo de bônus:",bonusAmount:"Valor do bônus:",wageringAmount:"Progresso da Quantidade de Apostas (Rollover)",remainingBonus:"Saldo atual de bônus:",forfeitBonus:"Recusar bônus",active:"Ativo",released:"Lançado",expired:"Expirado",forfeited:"Perdido"},"es-mx":{date:"Fecha concedida:",bonusName:"Nombre de bono:",bonusType:"Tipo de Bono:",bonusAmount:"valor de Bono:",wageringAmount:"Progreso de monto de apuestas (Rollover)",remainingBonus:"Saldo de bono actual:",forfeitBonus:"Declinar bono",active:"Activo",released:"Liberado",expired:"Expirado",forfeited:"Perdido"},tr:{date:"Verilen tarih:",bonusName:"Bonus Adı",bonusType:"Bonus Türü",bonusAmount:"Bonus Tutarı",wageringAmount:"Bahis İlerlemesi (Rollover)",remainingBonus:"Mevcut Bonus Bakiyesi",forfeitBonus:"Fesih Bonusu",active:"aktif",released:"piyasaya sürülmüş",expired:"günü geçmiş",forfeited:"kaybedilen"}};function zo(e){let r,o,n,i,s,a,l,h,u=e[9]("bonusAmount")+"";return{c(){r=t("div"),o=t("p"),n=W(u),i=G(),s=t("p"),a=W(e[3]),l=G(),h=W(e[6]),q(o,"class","BonusCardRowTitle"),q(s,"class","BonusCardRowText"),q(r,"class","BonusCardRow")},m(e,t){j(e,r,t),U(r,o),U(o,n),U(r,i),U(r,s),U(s,a),U(s,l),U(s,h)},p(e,t){512&t&&u!==(u=e[9]("bonusAmount")+"")&&K(n,u),8&t&&K(a,e[3]),64&t&&K(h,e[6])},d(e){e&&V(r)}}}function Uo(e){let r,o,n,i,s,a,l,h,u=e[9]("wageringAmount")+"";return{c(){r=t("div"),o=t("p"),n=W(u),i=G(),s=t("p"),a=W(e[4]),l=G(),h=W(e[6]),q(o,"class","BonusCardRowTitle"),q(s,"class","BonusCardRowText"),q(r,"class","BonusCardRow")},m(e,t){j(e,r,t),U(r,o),U(o,n),U(r,i),U(r,s),U(s,a),U(s,l),U(s,h)},p(e,t){512&t&&u!==(u=e[9]("wageringAmount")+"")&&K(n,u),16&t&&K(a,e[4]),64&t&&K(h,e[6])},d(e){e&&V(r)}}}function jo(e){let r,o,n,i,s,a,l,h,u=e[9]("remainingBonus")+"";return{c(){r=t("div"),o=t("p"),n=W(u),i=G(),s=t("p"),a=W(e[5]),l=G(),h=W(e[6]),q(o,"class","BonusCardRowTitle"),q(s,"class","BonusCardRowText"),q(r,"class","BonusCardRow")},m(e,t){j(e,r,t),U(r,o),U(o,n),U(r,i),U(r,s),U(s,a),U(s,l),U(s,h)},p(e,t){512&t&&u!==(u=e[9]("remainingBonus")+"")&&K(n,u),32&t&&K(a,e[5]),64&t&&K(h,e[6])},d(e){e&&V(r)}}}function Vo(r){let o,n,i,s,a=r[9]("forfeitBonus")+"";return{c(){o=t("button"),n=W(a),q(o,"class","DeleteBonus "+(r[10]?"DeleteBonusMobile":""))},m(e,t){j(e,o,t),U(o,n),i||(s=Y(o,"click",r[11]),i=!0)},p(e,t){512&t&&a!==(a=e[9]("forfeitBonus")+"")&&K(n,a)},d(e){e&&V(o),i=!1,s()}}}function Wo(r){let o,n,i,s,a,l,h,u,c,d,p,m,f,_,y,g,v,b,w,R,x,E,A,F,C,T,Y,S,P,$,D=r[9]("date")+"",k=Fo(r[0]).format("DD/MM/YYYY h:mm A")+"",O=r[9](""+r[1])+"",M=r[9]("bonusName")+"",N=r[9]("bonusType")+"",B=r[3]&&zo(r),I=r[4]&&Uo(r),H=r[5]&&jo(r),L="active"===r[1]&&Vo(r);return{c(){o=t("div"),n=t("div"),i=t("div"),s=t("p"),a=W(D),l=G(),h=t("span"),u=W(k),c=G(),d=t("p"),p=W(O),f=G(),_=t("div"),y=t("p"),g=W(M),v=G(),b=t("p"),w=W(r[2]),R=G(),x=t("div"),E=t("p"),A=W(N),F=G(),C=t("p"),T=W(r[8]),Y=G(),B&&B.c(),S=G(),I&&I.c(),P=G(),H&&H.c(),$=G(),L&&L.c(),this.c=z,q(s,"class","BonusCardRowTitle"),q(d,"class",m="BonusCardRowText BonusCardStatus TextCapitalize "+("active"===r[1]||"released"===r[1]?"StatusActive":"")+" "+("expired"===r[1]?"StatusExpired":"")+" "+("forfeited"===r[1]?"StatusForfeited":"")),q(i,"class","BonusCardRow"),q(y,"class","BonusCardRowTitle"),q(b,"class","BonusCardRowText"),q(_,"class","BonusCardRow"),q(E,"class","BonusCardRowTitle"),q(C,"class","BonusCardRowText TextCapitalize"),q(x,"class","BonusCardRow"),q(n,"class","BonusCardInfo"),q(o,"class","BonusCard")},m(e,t){j(e,o,t),U(o,n),U(n,i),U(i,s),U(s,a),U(s,l),U(s,h),U(h,u),U(i,c),U(i,d),U(d,p),U(n,f),U(n,_),U(_,y),U(y,g),U(_,v),U(_,b),U(b,w),U(n,R),U(n,x),U(x,E),U(E,A),U(x,F),U(x,C),U(C,T),U(n,Y),B&&B.m(n,null),U(n,S),I&&I.m(n,null),U(n,P),H&&H.m(n,null),U(o,$),L&&L.m(o,null),r[18](o)},p(e,[t]){512&t&&D!==(D=e[9]("date")+"")&&K(a,D),1&t&&k!==(k=Fo(e[0]).format("DD/MM/YYYY h:mm A")+"")&&K(u,k),514&t&&O!==(O=e[9](""+e[1])+"")&&K(p,O),2&t&&m!==(m="BonusCardRowText BonusCardStatus TextCapitalize "+("active"===e[1]||"released"===e[1]?"StatusActive":"")+" "+("expired"===e[1]?"StatusExpired":"")+" "+("forfeited"===e[1]?"StatusForfeited":""))&&q(d,"class",m),512&t&&M!==(M=e[9]("bonusName")+"")&&K(g,M),4&t&&K(w,e[2]),512&t&&N!==(N=e[9]("bonusType")+"")&&K(A,N),256&t&&K(T,e[8]),e[3]?B?B.p(e,t):((B=zo(e)).c(),B.m(n,S)):B&&(B.d(1),B=null),e[4]?I?I.p(e,t):((I=Uo(e)).c(),I.m(n,P)):I&&(I.d(1),I=null),e[5]?H?H.p(e,t):((H=jo(e)).c(),H.m(n,null)):H&&(H.d(1),H=null),"active"===e[1]?L?L.p(e,t):((L=Vo(e)).c(),L.m(o,null)):L&&(L.d(1),L=null)},i:z,o:z,d(e){e&&V(o),B&&B.d(),I&&I.d(),H&&H.d(),L&&L.d(),r[18](null)}}}function Go(t,e,r){let o;N(t,Io,e=>r(9,o=e));let n,{bonuswalletid:i=""}=e,{bonusdate:s=""}=e,{bonusstatus:a=""}=e,{bonusname:l=""}=e,{bonustype:h=""}=e,{bonusamount:u=""}=e,{bonuswageringamount:c=""}=e,{bonusremainingamount:d=""}=e,{bonuscurrency:p=""}=e,{lang:m="en"}=e,{clientstyling:f=""}=e,{clientstylingurl:_=""}=e,{translationurl:y=""}=e,g=window.navigator.userAgent,v="PC"!==Ho(g),b="";Object.keys($o).forEach(e=>{Yo(e,$o[e])});return t.$$set=e=>{"bonuswalletid"in e&&r(12,i=e.bonuswalletid),"bonusdate"in e&&r(0,s=e.bonusdate),"bonusstatus"in e&&r(1,a=e.bonusstatus),"bonusname"in e&&r(2,l=e.bonusname),"bonustype"in e&&r(13,h=e.bonustype),"bonusamount"in e&&r(3,u=e.bonusamount),"bonuswageringamount"in e&&r(4,c=e.bonuswageringamount),"bonusremainingamount"in e&&r(5,d=e.bonusremainingamount),"bonuscurrency"in e&&r(6,p=e.bonuscurrency),"lang"in e&&r(14,m=e.lang),"clientstyling"in e&&r(15,f=e.clientstyling),"clientstylingurl"in e&&r(16,_=e.clientstylingurl),"translationurl"in e&&r(17,y=e.translationurl)},t.$$.update=()=>{if(16384&t.$$.dirty&&m&&(e=m,wo.set(e)),8192&t.$$.dirty&&h&&(r(8,b=h),"freeRound"===b?r(8,b="Free Spins"):"freeBet"===b&&r(8,b="Free Bet")),65664&t.$$.dirty&&_&&n){let e=new URL(_),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{n.appendChild(t)},1)})}var e;32896&t.$$.dirty&&f&&n&&((e=document.createElement("style")).innerHTML=f,n.appendChild(e)),131072&t.$$.dirty&&y&&fetch(y).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Yo(e,t[e])})}).catch(e=>{console.log(e)})},[s,a,l,u,c,d,p,n,b,o,v,()=>{window.postMessage({type:"DisableScroll"},window.location.href),window.postMessage({type:"DeleteActiveBonus",bonuswalletid:i},window.location.href)},i,h,m,f,_,y,function(e){Z[e?"unshift":"push"](()=>{n=e,r(7,n)})}]}function p(e){var t,r=customElements.get(e.is);r?(t=r.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 ${r.version} is already in use. Something will probably break.`):customElements.define(e.is,e)}customElements.get("player-bonus-card")||customElements.define("player-bonus-card",class extends ae{constructor(e){super();var t=document.createElement("style");t.textContent=".BonusCard{background-color:var(--emw--color-white, #FFFFFF);padding:10px 20px 20px;border-radius:var(--emw--border-radius-large, 20px);box-shadow:0px 5px 12px 5px var(--emw--color-gray-100, #E6E6E6)}.BonusCardRow{display:flex;justify-content:space-between;align-items:center;padding:2px 10px;font-size:var(--emw--font-size-small, 14px)}.BonusCardRow .BonusCardRowTitle{color:var(--emw--color-typography-cotrast, #444444);font-weight:var(--emw--font-weight-bold, 700)}.BonusCardRow .BonusCardRowTitle span{font-weight:var(--emw--font-weigh-normal, 400);color:var(--emw--color-gray-300, #58586B)}.BonusCardRow .BonusCardRowText{color:var(--emw--color-gray-300, #58586B)}.BonusCardRow .BonusCardRowText.BonusCardStatus{font-weight:var(--emw--font-weight-bold, 700);color:vvar(--emw--color-typography-cotrast, #444444)}.BonusCardRow .BonusCardRowText.StatusActive{color:var(--emw--color-valid, #48952a)}.BonusCardRow .BonusCardRowText.StatusExpired{color:var(--emw--color-error, #FD2839)}.BonusCardRow .BonusCardRowText.StatusForfeited{color:#fd8c2d}.BonusCardRow .BonusCardRowText.TextCapitalize{text-transform:capitalize}.BonusCardRow:nth-child(even){background-color:var(--emw--color-gray-50, #F9F8F8);border-radius:var(--emw--border-radius-small, 5px)}.DeleteBonus{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));cursor:pointer;border-radius:var(--emw--border-radius-small, 5px);width:50%;height:44px;font-size:var(--emw--font-size-medium, 15px);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px;margin-top:10px}.DeleteBonus.DeleteBonusMobile{width:100%}.DeleteBonus:active{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}",this.shadowRoot.appendChild(t),se(this,{target:this.shadowRoot,props:H(this.attributes),customElement:!0},Go,Wo,O,{bonuswalletid:12,bonusdate:0,bonusstatus:1,bonusname:2,bonustype:13,bonusamount:3,bonuswageringamount:4,bonusremainingamount:5,bonuscurrency:6,lang:14,clientstyling:15,clientstylingurl:16,translationurl:17},null),e&&(e.target&&j(e.target,this,e.anchor),e.props)&&(this.$set(e.props),d())}static get observedAttributes(){return["bonuswalletid","bonusdate","bonusstatus","bonusname","bonustype","bonusamount","bonuswageringamount","bonusremainingamount","bonuscurrency","lang","clientstyling","clientstylingurl","translationurl"]}get bonuswalletid(){return this.$$.ctx[12]}set bonuswalletid(e){this.$$set({bonuswalletid:e}),d()}get bonusdate(){return this.$$.ctx[0]}set bonusdate(e){this.$$set({bonusdate:e}),d()}get bonusstatus(){return this.$$.ctx[1]}set bonusstatus(e){this.$$set({bonusstatus:e}),d()}get bonusname(){return this.$$.ctx[2]}set bonusname(e){this.$$set({bonusname:e}),d()}get bonustype(){return this.$$.ctx[13]}set bonustype(e){this.$$set({bonustype:e}),d()}get bonusamount(){return this.$$.ctx[3]}set bonusamount(e){this.$$set({bonusamount:e}),d()}get bonuswageringamount(){return this.$$.ctx[4]}set bonuswageringamount(e){this.$$set({bonuswageringamount:e}),d()}get bonusremainingamount(){return this.$$.ctx[5]}set bonusremainingamount(e){this.$$set({bonusremainingamount:e}),d()}get bonuscurrency(){return this.$$.ctx[6]}set bonuscurrency(e){this.$$set({bonuscurrency:e}),d()}get lang(){return this.$$.ctx[14]}set lang(e){this.$$set({lang:e}),d()}get clientstyling(){return this.$$.ctx[15]}set clientstyling(e){this.$$set({clientstyling:e}),d()}get clientstylingurl(){return this.$$.ctx[16]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),d()}get translationurl(){return this.$$.ctx[17]}set translationurl(e){this.$$set({translationurl:e}),d()}});class qo extends HTMLElement{static get is(){return"vaadin-lumo-styles"}static get version(){return"24.2.8"}}p(qo);const Ko=window,Xo=Ko.ShadowRoot&&(void 0===Ko.ShadyCSS||Ko.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Zo=Symbol(),Jo=new WeakMap;class Qo{constructor(e,t,r){if(this._$cssResult$=!0,r!==Zo)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,r=this.t;return Xo&&void 0===e&&(t=void 0!==r&&1===r.length,void 0===(e=t?Jo.get(r):e))&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),t)&&Jo.set(r,e),e}toString(){return this.cssText}}const m=(o,...e)=>{e=1===o.length?o[0]:e.reduce((e,t,r)=>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.")})()+o[r+1],o[0]);return new Qo(e,o,Zo)},en=Xo?e=>e:t=>{if(!(t instanceof CSSStyleSheet))return t;{let e="";for(const r of t.cssRules)e+=r.cssText;return t=e,new Qo("string"==typeof t?t:t+"",void 0,Zo)}},tn=window,rn=tn.trustedTypes,on=rn?rn.emptyScript:"",nn=tn.reactiveElementPolyfillSupport,sn={toAttribute(e,t){switch(t){case Boolean:e=e?on:null;break;case Object:case Array:e=null==e?e:JSON.stringify(e)}return e},fromAttribute(e,t){let r=e;switch(t){case Boolean:r=null!==e;break;case Number:r=null===e?null:Number(e);break;case Object:case Array:try{r=JSON.parse(e)}catch(e){r=null}}return r}},an=(e,t)=>t!==e&&(t==t||e==e),ln={attribute:!0,type:String,converter:sn,reflect:!1,hasChanged:an},hn="finalized";class un 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 r=[];return this.elementProperties.forEach((e,t)=>{e=this._$Ep(t,e);void 0!==e&&(this._$Ev.set(e,t),r.push(e))}),r}static createProperty(e,t=ln){var r;t.state&&(t.attribute=!1),this.finalize(),this.elementProperties.set(e,t),t.noAccessor||this.prototype.hasOwnProperty(e)||(r="symbol"==typeof e?Symbol():"__"+e,void 0!==(r=this.getPropertyDescriptor(e,r,t))&&Object.defineProperty(this.prototype,e,r))}static getPropertyDescriptor(r,o,n){return{get(){return this[o]},set(e){var t=this[r];this[o]=e,this.requestUpdate(r,t,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)||ln}static finalize(){if(this.hasOwnProperty(hn))return!1;this[hn]=!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 r of t)this.createProperty(r,e[r])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(e){var t=[];if(Array.isArray(e)){var r=new Set(e.flat(1/0).reverse());for(const e of r)t.unshift(en(e))}else void 0!==e&&t.push(en(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 o,e,t=null!=(t=this.shadowRoot)?t:this.attachShadow(this.constructor.shadowRootOptions);return o=t,e=this.constructor.elementStyles,Xo?o.adoptedStyleSheets=e.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet):e.forEach(e=>{var t=document.createElement("style"),r=Ko.litNonce;void 0!==r&&t.setAttribute("nonce",r),t.textContent=e.cssText,o.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,r){this._$AK(e,r)}_$EO(e,t,r=ln){var o,n=this.constructor._$Ep(e,r);void 0!==n&&!0===r.reflect&&(o=(void 0!==(null==(o=r.converter)?void 0:o.toAttribute)?r.converter:sn).toAttribute(t,r.type),this._$El=e,null==o?this.removeAttribute(n):this.setAttribute(n,o),this._$El=null)}_$AK(e,t){var r=this.constructor,o=r._$Ev.get(e);if(void 0!==o&&this._$El!==o){const e=r.getPropertyOptions(o),n="function"==typeof e.converter?{fromAttribute:e.converter}:void 0!==(null==(r=e.converter)?void 0:r.fromAttribute)?e.converter:sn;this._$El=o,this[o]=n.fromAttribute(t,e.type),this._$El=null}}requestUpdate(e,t,r){let o=!0;void 0!==e&&(((r=r||this.constructor.getPropertyOptions(e)).hasChanged||an)(this[e],t)?(this._$AL.has(e)||this._$AL.set(e,t),!0===r.reflect&&this._$El!==e&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(e,r))):o=!1),!this.isUpdatePending&&o&&(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 r=this._$AL;try{(e=this.shouldUpdate(r))?(this.willUpdate(r),null!=(t=this._$ES)&&t.forEach(e=>{var t;return null==(t=e.hostUpdate)?void 0:t.call(e)}),this.update(r)):this._$Ek()}catch(t){throw e=!1,this._$Ek(),t}e&&this._$AE(r)}}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){}}un[hn]=!0,un.elementProperties=new Map,un.elementStyles=[],un.shadowRootOptions={mode:"open"},null!=nn&&nn({ReactiveElement:un}),(null!=(s=tn.reactiveElementVersions)?s:tn.reactiveElementVersions=[]).push("1.6.3");const cn=window,dn=cn.trustedTypes,pn=dn?dn.createPolicy("lit-html",{createHTML:e=>e}):void 0,mn="$lit$",fn=`lit$${(Math.random()+"").slice(9)}$`,_n="?"+fn,yn=`<${_n}>`,gn=document,vn=()=>gn.createComment(""),bn=e=>null===e||"object"!=typeof e&&"function"!=typeof e,wn=Array.isArray,xn="[ \t\n\f\r]",En=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,An=/-->/g,Cn=/>/g,Tn=RegExp(`>|${xn}(?:([^\\s"'>=/]+)(${xn}*=${xn}*(?:[^
2
2
  \r"'\`<>=]|("|')|))|$)`,"g"),Sn=/'/g,Pn=/"/g,Dn=/^(?:script|style|textarea|title)$/i,kn=Symbol.for("lit-noChange"),b=Symbol.for("lit-nothing"),On=new WeakMap,Mn=gn.createTreeWalker(gn,129,null,!1);function Nn(e,t){if(Array.isArray(e)&&e.hasOwnProperty("raw"))return void 0!==pn?pn.createHTML(t):t;throw Error("invalid template strings array")}class Bn{constructor({strings:t,_$litType$:r},e){var o;this.parts=[];let n=0,i=0;var s=t.length-1,a=this.parts,[t,l]=((i,e)=>{const s=i.length-1,a=[];let l,h=2===e?"<svg>":"",u=En;for(let n=0;n<s;n++){const s=i[n];let e,t,r=-1,o=0;for(;o<s.length&&(u.lastIndex=o,null!==(t=u.exec(s)));)o=u.lastIndex,u===En?"!--"===t[1]?u=An:void 0!==t[1]?u=Cn:void 0!==t[2]?(Dn.test(t[2])&&(l=RegExp("</"+t[2],"g")),u=Tn):void 0!==t[3]&&(u=Tn):u===Tn?">"===t[0]?(u=null!=l?l:En,r=-1):void 0===t[1]?r=-2:(r=u.lastIndex-t[2].length,e=t[1],u=void 0===t[3]?Tn:'"'===t[3]?Pn:Sn):u===Pn||u===Sn?u=Tn:u===An||u===Cn?u=En:(u=Tn,l=void 0);var c=u===Tn&&i[n+1].startsWith("/>")?" ":"";h+=u===En?s+yn:0<=r?(a.push(e),s.slice(0,r)+mn+s.slice(r)+fn+c):s+fn+(-2===r?(a.push(void 0),n):c)}return[Nn(i,h+(i[s]||"<?>")+(2===e?"</svg>":"")),a]})(t,r);if(this.el=Bn.createElement(t,e),Mn.currentNode=this.el.content,2===r){const t=this.el.content,r=t.firstChild;r.remove(),t.append(...r.childNodes)}for(;null!==(o=Mn.nextNode())&&a.length<s;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const r of o.getAttributeNames())if(r.endsWith(mn)||r.startsWith(fn)){const e=l[i++];if(t.push(r),void 0!==e){const t=o.getAttribute(e.toLowerCase()+mn).split(fn),r=/([.?@])?(.*)/.exec(e);a.push({type:1,index:n,name:r[2],strings:t,ctor:"."===r[1]?Fn:"?"===r[1]?$n:"@"===r[1]?zn:Rn})}else a.push({type:6,index:n})}for(const r of t)o.removeAttribute(r)}if(Dn.test(o.tagName)){const t=o.textContent.split(fn),r=t.length-1;if(0<r){o.textContent=dn?dn.emptyScript:"";for(let e=0;e<r;e++)o.append(t[e],vn()),Mn.nextNode(),a.push({type:2,index:++n});o.append(t[r],vn())}}}else if(8===o.nodeType)if(o.data===_n)a.push({type:2,index:n});else{let e=-1;for(;-1!==(e=o.data.indexOf(fn,e+1));)a.push({type:7,index:n}),e+=fn.length-1}n++}}static createElement(e,t){var r=gn.createElement("template");return r.innerHTML=e,r}}function In(t,r,o=t,n){var i;if(r!==kn){let e=void 0!==n?null==(s=o._$Co)?void 0:s[n]:o._$Cl;var s=bn(r)?void 0:r._$litDirective$;(null==e?void 0:e.constructor)!==s&&(null!=(i=null==e?void 0:e._$AO)&&i.call(e,!1),void 0===s?e=void 0:(e=new s(t))._$AT(t,o,n),void 0!==n?(null!=(i=o._$Co)?i:o._$Co=[])[n]=e:o._$Cl=e),void 0!==e&&(r=In(t,e._$AS(t,r.values),e,n))}return r}class Hn{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:r}=this._$AD,o=(null!=(o=null==t?void 0:t.creationScope)?o:gn).importNode(e,!0);Mn.currentNode=o;let n=Mn.nextNode(),i=0,s=0,a=r[0];for(;void 0!==a;){if(i===a.index){let e;2===a.type?e=new Ln(n,n.nextSibling,this,t):1===a.type?e=new a.ctor(n,a.name,a.strings,this,t):6===a.type&&(e=new Un(n,this,t)),this._$AV.push(e),a=r[++s]}i!==(null==a?void 0:a.index)&&(n=Mn.nextNode(),i++)}return Mn.currentNode=gn,o}v(e){let t=0;for(const r of this._$AV)void 0!==r&&(void 0!==r.strings?(r._$AI(e,r,t),t+=r.strings.length-2):r._$AI(e[t])),t++}}class Ln{constructor(e,t,r,o){this.type=2,this._$AH=b,this._$AN=void 0,this._$AA=e,this._$AB=t,this._$AM=r,this.options=o,this._$Cp=null==(e=null==o?void 0:o.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=In(this,e,t),bn(e)?e===b||null==e||""===e?(this._$AH!==b&&this._$AR(),this._$AH=b):e!==this._$AH&&e!==kn&&this._(e):void 0!==e._$litType$?this.g(e):void 0!==e.nodeType?this.$(e):(t=e,wn(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!==b&&bn(this._$AH)?this._$AA.nextSibling.data=e:this.$(gn.createTextNode(e)),this._$AH=e}g(e){var t,{values:r,_$litType$:o}=e,o="number"==typeof o?this._$AC(e):(void 0===o.el&&(o.el=Bn.createElement(Nn(o.h,o.h[0]),this.options)),o);if((null==(t=this._$AH)?void 0:t._$AD)===o)this._$AH.v(r);else{const e=new Hn(o,this),t=e.u(this.options);e.v(r),this.$(t),this._$AH=e}}_$AC(e){let t=On.get(e.strings);return void 0===t&&On.set(e.strings,t=new Bn(e)),t}T(e){wn(this._$AH)||(this._$AH=[],this._$AR());var t=this._$AH;let r,o=0;for(const n of e)o===t.length?t.push(r=new Ln(this.k(vn()),this.k(vn()),this,this.options)):r=t[o],r._$AI(n),o++;o<t.length&&(this._$AR(r&&r._$AB.nextSibling,o),t.length=o)}_$AR(e=this._$AA.nextSibling,t){var r;for(null!=(r=this._$AP)&&r.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 Rn{constructor(e,t,r,o,n){this.type=1,this._$AH=b,this._$AN=void 0,this.element=e,this.name=t,this._$AM=o,this.options=n,2<r.length||""!==r[0]||""!==r[1]?(this._$AH=Array(r.length-1).fill(new String),this.strings=r):this._$AH=b}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(r,o=this,n,i){var s=this.strings;let a=!1;if(void 0===s)r=In(this,r,o,0),(a=!bn(r)||r!==this._$AH&&r!==kn)&&(this._$AH=r);else{const i=r;let e,t;for(r=s[0],e=0;e<s.length-1;e++)(t=In(this,i[n+e],o,e))===kn&&(t=this._$AH[e]),a=a||!bn(t)||t!==this._$AH[e],t===b?r=b:r!==b&&(r+=(null!=t?t:"")+s[e+1]),this._$AH[e]=t}a&&!i&&this.j(r)}j(e){e===b?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=e?e:"")}}class Fn extends Rn{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===b?void 0:e}}const Yn=dn?dn.emptyScript:"";class $n extends Rn{constructor(){super(...arguments),this.type=4}j(e){e&&e!==b?this.element.setAttribute(this.name,Yn):this.element.removeAttribute(this.name)}}class zn extends Rn{constructor(e,t,r,o,n){super(e,t,r,o,n),this.type=5}_$AI(e,t=this){var r,o;(e=null!=(t=In(this,e,t,0))?t:b)!==kn&&(t=this._$AH,r=e===b&&t!==b||e.capture!==t.capture||e.once!==t.once||e.passive!==t.passive,o=e!==b&&(t===b||r),r&&this.element.removeEventListener(this.name,this,t),o&&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 Un{constructor(e,t,r){this.element=e,this.type=6,this._$AN=void 0,this._$AM=t,this.options=r}get _$AU(){return this._$AM._$AU}_$AI(e){In(this,e)}}ar=cn.litHtmlPolyfillSupport;null!=ar&&ar(Bn,Ln),(null!=(a=cn.litHtmlVersions)?a:cn.litHtmlVersions=[]).push("2.8.0");class jn extends un{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,r)=>{var o,n=null!=(n=null==r?void 0:r.renderBefore)?n:t;let i=n._$litPart$;if(void 0===i){const e=null!=(o=null==r?void 0:r.renderBefore)?o:null;n._$litPart$=i=new Ln(t.insertBefore(vn(),e),e,void 0,null!=r?r:{})}return i._$AI(e),i})(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 kn}}jn.finalized=!0,jn._$litElement$=!0,null!=(e=globalThis.litElementHydrateSupport)&&e.call(globalThis,{LitElement:jn});i=globalThis.litElementPolyfillSupport;null!=i&&i({LitElement:jn}),(null!=(sr=globalThis.litElementVersions)?sr:globalThis.litElementVersions=[]).push("3.3.3");const Vn=[];function Wn(e){return e&&Object.prototype.hasOwnProperty.call(e,"__themes")}function w(e,t,r={}){var o;e&&Wn(customElements.get(e))&&console.warn(`The custom element definition for "${e}"
3
3
  was finalized before a style module was registered.
4
4
  Make sure to add component specific style modules before