@everymatrix/general-player-forgot-password-form-nd 1.45.0 → 1.45.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- "use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/GeneralPlayerForgotPasswordFormNd-CD4E1oVn.cjs")).then(({default:t})=>{!customElements.get("general-player-forgot-password-form-nd")&&customElements.define("general-player-forgot-password-form-nd",t.element)})}
1
+ "use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/GeneralPlayerForgotPasswordFormNd-BeBy9lr9.cjs")).then(({default:t})=>{!customElements.get("general-player-forgot-password-form-nd")&&customElements.define("general-player-forgot-password-form-nd",t.element)})}
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
10
10
  }
11
11
  };
12
12
  };
13
- customElements.define = n(customElements.define), import("../components/GeneralPlayerForgotPasswordFormNd-i2CxrO_R.js").then(({ default: t }) => {
13
+ customElements.define = n(customElements.define), import("../components/GeneralPlayerForgotPasswordFormNd-_ETKYahG.js").then(({ default: t }) => {
14
14
  !customElements.get("general-player-forgot-password-form-nd") && customElements.define(
15
15
  "general-player-forgot-password-form-nd",
16
16
  t.element
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/general-player-forgot-password-form-nd",
3
- "version": "1.45.0",
3
+ "version": "1.45.3",
4
4
  "type": "module",
5
5
  "main": "es2015/general-player-forgot-password-form-nd.cjs",
6
6
  "module": "es2015/general-player-forgot-password-form-nd.js",
@@ -11,7 +11,7 @@
11
11
  },
12
12
  "./es2015/general-player-forgot-password-form-nd.cjs": "./es2015/general-player-forgot-password-form-nd.cjs"
13
13
  },
14
- "files": [
14
+ "files": [
15
15
  "es2015/",
16
16
  "components"
17
17
  ],
@@ -1,5 +0,0 @@
1
- "use strict";var _s=Object.defineProperty,xs=Object.defineProperties;var Ts=Object.getOwnPropertyDescriptors;var Lt=Object.getOwnPropertySymbols;var Ss=Object.prototype.hasOwnProperty,Bs=Object.prototype.propertyIsEnumerable;var it=(e,t,r)=>t in e?_s(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Ft=(e,t)=>{for(var r in t||(t={}))Ss.call(t,r)&&it(e,r,t[r]);if(Lt)for(var r of Lt(t))Bs.call(t,r)&&it(e,r,t[r]);return e},qt=(e,t)=>xs(e,Ts(t));var fe=(e,t,r)=>it(e,typeof t!="symbol"?t+"":t,r);var at=(e,t,r)=>new Promise((s,o)=>{var n=u=>{try{l(r.next(u))}catch(c){o(c)}},a=u=>{try{l(r.throw(u))}catch(c){o(c)}},l=u=>u.done?s(u.value):Promise.resolve(u.value).then(n,a);l((r=r.apply(e,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function de(){}function br(e){return e()}function Rt(){return Object.create(null)}function ye(e){e.forEach(br)}function Me(e){return typeof e=="function"}function wr(e,t){return e!=e?t==t:e!==t||e&&typeof e=="object"||typeof e=="function"}let je;function Mt(e,t){return e===t?!0:(je||(je=document.createElement("a")),je.href=t,e===je.href)}function Cs(e){return Object.keys(e).length===0}function yr(e,...t){if(e==null){for(const s of t)s(void 0);return de}const r=e.subscribe(...t);return r.unsubscribe?()=>r.unsubscribe():r}function Hs(e,t,r){e.$$.on_destroy.push(yr(t,r))}const Ns=typeof window!="undefined"?window:typeof globalThis!="undefined"?globalThis:global;function h(e,t){e.appendChild(t)}function zs(e,t,r){const s=As(e);if(!s.getElementById(t)){const o=y("style");o.id=t,o.textContent=r,Is(s,o)}}function As(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function Is(e,t){return h(e.head||e,t),t.sheet}function M(e,t,r){e.insertBefore(t,r||null)}function q(e){e.parentNode&&e.parentNode.removeChild(e)}function y(e){return document.createElement(e)}function b(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function C(e){return document.createTextNode(e)}function F(){return C(" ")}function Pr(){return C("")}function ie(e,t,r,s){return e.addEventListener(t,r,s),()=>e.removeEventListener(t,r,s)}function i(e,t,r){r==null?e.removeAttribute(t):e.getAttribute(t)!==r&&e.setAttribute(t,r)}function Os(e){return Array.from(e.childNodes)}function G(e,t){t=""+t,e.data!==t&&(e.data=t)}function Se(e,t){e.value=t==null?"":t}function Ls(e){const t={};return e.childNodes.forEach(r=>{t[r.slot||"default"]=!0}),t}let ke;function qe(e){ke=e}function Fs(){if(!ke)throw new Error("Function called outside component initialization");return ke}function qs(e){Fs().$$.on_mount.push(e)}const Te=[],Re=[];let Be=[];const kt=[],Rs=Promise.resolve();let gt=!1;function Ms(){gt||(gt=!0,Rs.then(le))}function vt(e){Be.push(e)}const lt=new Set;let _e=0;function le(){if(_e!==0)return;const e=ke;do{try{for(;_e<Te.length;){const t=Te[_e];_e++,qe(t),ks(t.$$)}}catch(t){throw Te.length=0,_e=0,t}for(qe(null),Te.length=0,_e=0;Re.length;)Re.pop()();for(let t=0;t<Be.length;t+=1){const r=Be[t];lt.has(r)||(lt.add(r),r())}Be.length=0}while(Te.length);for(;kt.length;)kt.pop()();gt=!1,lt.clear(),qe(e)}function ks(e){if(e.fragment!==null){e.update(),ye(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(vt)}}function Ds(e){const t=[],r=[];Be.forEach(s=>e.indexOf(s)===-1?t.push(s):r.push(s)),r.forEach(s=>s()),Be=t}const Us=new Set;function Gs(e,t){e&&e.i&&(Us.delete(e),e.i(t))}function js(e,t,r){const{fragment:s,after_update:o}=e.$$;s&&s.m(t,r),vt(()=>{const n=e.$$.on_mount.map(br).filter(Me);e.$$.on_destroy?e.$$.on_destroy.push(...n):ye(n),e.$$.on_mount=[]}),o.forEach(vt)}function $s(e,t){const r=e.$$;r.fragment!==null&&(Ds(r.after_update),ye(r.on_destroy),r.fragment&&r.fragment.d(t),r.on_destroy=r.fragment=null,r.ctx=[])}function Vs(e,t){e.$$.dirty[0]===-1&&(Te.push(e),Ms(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function Xs(e,t,r,s,o,n,a=null,l=[-1]){const u=ke;qe(e);const c=e.$$={fragment:null,ctx:[],props:n,update:de,not_equal:o,bound:Rt(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(u?u.$$.context:[])),callbacks:Rt(),dirty:l,skip_bound:!1,root:t.target||u.$$.root};a&&a(c.root);let f=!1;if(c.ctx=r?r(e,t.props||{},(d,p,...m)=>{const w=m.length?m[0]:p;return c.ctx&&o(c.ctx[d],c.ctx[d]=w)&&(!c.skip_bound&&c.bound[d]&&c.bound[d](w),f&&Vs(e,d)),p}):[],c.update(),f=!0,ye(c.before_update),c.fragment=s?s(c.ctx):!1,t.target){if(t.hydrate){const d=Os(t.target);c.fragment&&c.fragment.l(d),d.forEach(q)}else c.fragment&&c.fragment.c();t.intro&&Gs(e.$$.fragment),js(e,t.target,t.anchor),le()}qe(u)}let Er;typeof HTMLElement=="function"&&(Er=class extends HTMLElement{constructor(t,r,s){super();fe(this,"$$ctor");fe(this,"$$s");fe(this,"$$c");fe(this,"$$cn",!1);fe(this,"$$d",{});fe(this,"$$r",!1);fe(this,"$$p_d",{});fe(this,"$$l",{});fe(this,"$$l_u",new Map);this.$$ctor=t,this.$$s=r,s&&this.attachShadow({mode:"open"})}addEventListener(t,r,s){if(this.$$l[t]=this.$$l[t]||[],this.$$l[t].push(r),this.$$c){const o=this.$$c.$on(t,r);this.$$l_u.set(r,o)}super.addEventListener(t,r,s)}removeEventListener(t,r,s){if(super.removeEventListener(t,r,s),this.$$c){const o=this.$$l_u.get(r);o&&(o(),this.$$l_u.delete(r))}}connectedCallback(){return at(this,null,function*(){if(this.$$cn=!0,!this.$$c){let t=function(n){return()=>{let a;return{c:function(){a=y("slot"),n!=="default"&&i(a,"name",n)},m:function(c,f){M(c,a,f)},d:function(c){c&&q(a)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const r={},s=Ls(this);for(const n of this.$$s)n in s&&(r[n]=[t(n)]);for(const n of this.attributes){const a=this.$$g_p(n.name);a in this.$$d||(this.$$d[a]=Xe(a,n.value,this.$$p_d,"toProp"))}for(const n in this.$$p_d)!(n in this.$$d)&&this[n]!==void 0&&(this.$$d[n]=this[n],delete this[n]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:qt(Ft({},this.$$d),{$$slots:r,$$scope:{ctx:[]}})});const o=()=>{this.$$r=!0;for(const n in this.$$p_d)if(this.$$d[n]=this.$$c.$$.ctx[this.$$c.$$.props[n]],this.$$p_d[n].reflect){const a=Xe(n,this.$$d[n],this.$$p_d,"toAttribute");a==null?this.removeAttribute(this.$$p_d[n].attribute||n):this.setAttribute(this.$$p_d[n].attribute||n,a)}this.$$r=!1};this.$$c.$$.after_update.push(o),o();for(const n in this.$$l)for(const a of this.$$l[n]){const l=this.$$c.$on(n,a);this.$$l_u.set(a,l)}this.$$l={}}})}attributeChangedCallback(t,r,s){var o;this.$$r||(t=this.$$g_p(t),this.$$d[t]=Xe(t,s,this.$$p_d,"toProp"),(o=this.$$c)==null||o.$set({[t]:this.$$d[t]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$c=void 0)})}$$g_p(t){return Object.keys(this.$$p_d).find(r=>this.$$p_d[r].attribute===t||!this.$$p_d[r].attribute&&r.toLowerCase()===t)||t}});function Xe(e,t,r,s){var n;const o=(n=r[e])==null?void 0:n.type;if(t=o==="Boolean"&&typeof t!="boolean"?t!=null:t,!s||!r[e])return t;if(s==="toAttribute")switch(o){case"Object":case"Array":return t==null?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return t==null?null:t;default:return t}else switch(o){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function Zs(e,t,r,s,o,n){let a=class extends Er{constructor(){super(e,r,o),this.$$p_d=t}static get observedAttributes(){return Object.keys(t).map(l=>(t[l].attribute||l).toLowerCase())}};return Object.keys(t).forEach(l=>{Object.defineProperty(a.prototype,l,{get(){return this.$$c&&l in this.$$c?this.$$c[l]:this.$$d[l]},set(u){var c;u=Xe(l,u,t),this.$$d[l]=u,(c=this.$$c)==null||c.$set({[l]:u})}})}),s.forEach(l=>{Object.defineProperty(a.prototype,l,{get(){var u;return(u=this.$$c)==null?void 0:u[l]}})}),e.element=a,a}class Ws{constructor(){fe(this,"$$");fe(this,"$$set")}$destroy(){$s(this,1),this.$destroy=de}$on(t,r){if(!Me(r))return de;const s=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return s.push(r),()=>{const o=s.indexOf(r);o!==-1&&s.splice(o,1)}}$set(t){this.$$set&&!Cs(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const Qs="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(Qs);var bt=function(e,t){return bt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,s){r.__proto__=s}||function(r,s){for(var o in s)Object.prototype.hasOwnProperty.call(s,o)&&(r[o]=s[o])},bt(e,t)};function ve(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");bt(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var z=function(){return z=Object.assign||function(t){for(var r,s=1,o=arguments.length;s<o;s++){r=arguments[s];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},z.apply(this,arguments)};function Js(e,t){var r={};for(var s in e)Object.prototype.hasOwnProperty.call(e,s)&&t.indexOf(s)<0&&(r[s]=e[s]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,s=Object.getOwnPropertySymbols(e);o<s.length;o++)t.indexOf(s[o])<0&&Object.prototype.propertyIsEnumerable.call(e,s[o])&&(r[s[o]]=e[s[o]]);return r}function wt(e){var t=typeof Symbol=="function"&&Symbol.iterator,r=t&&e[t],s=0;if(r)return r.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&s>=e.length&&(e=void 0),{value:e&&e[s++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function yt(e,t){var r=typeof Symbol=="function"&&e[Symbol.iterator];if(!r)return e;var s=r.call(e),o,n=[],a;try{for(;(t===void 0||t-- >0)&&!(o=s.next()).done;)n.push(o.value)}catch(l){a={error:l}}finally{try{o&&!o.done&&(r=s.return)&&r.call(s)}finally{if(a)throw a.error}}return n}function Ce(e,t,r){if(r||arguments.length===2)for(var s=0,o=t.length,n;s<o;s++)(n||!(s in t))&&(n||(n=Array.prototype.slice.call(t,0,s)),n[s]=t[s]);return e.concat(n||Array.prototype.slice.call(t))}function ge(e){return typeof e=="function"}function _r(e){var t=function(s){Error.call(s),s.stack=new Error().stack},r=e(t);return r.prototype=Object.create(Error.prototype),r.prototype.constructor=r,r}var ut=_r(function(e){return function(r){e(this),this.message=r?r.length+` errors occurred during unsubscription:
2
- `+r.map(function(s,o){return o+1+") "+s.toString()}).join(`
3
- `):"",this.name="UnsubscriptionError",this.errors=r}});function Pt(e,t){if(e){var r=e.indexOf(t);0<=r&&e.splice(r,1)}}var Ke=function(){function e(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}return e.prototype.unsubscribe=function(){var t,r,s,o,n;if(!this.closed){this.closed=!0;var a=this._parentage;if(a)if(this._parentage=null,Array.isArray(a))try{for(var l=wt(a),u=l.next();!u.done;u=l.next()){var c=u.value;c.remove(this)}}catch(g){t={error:g}}finally{try{u&&!u.done&&(r=l.return)&&r.call(l)}finally{if(t)throw t.error}}else a.remove(this);var f=this.initialTeardown;if(ge(f))try{f()}catch(g){n=g instanceof ut?g.errors:[g]}var d=this._finalizers;if(d){this._finalizers=null;try{for(var p=wt(d),m=p.next();!m.done;m=p.next()){var w=m.value;try{Dt(w)}catch(g){n=n!=null?n:[],g instanceof ut?n=Ce(Ce([],yt(n)),yt(g.errors)):n.push(g)}}}catch(g){s={error:g}}finally{try{m&&!m.done&&(o=p.return)&&o.call(p)}finally{if(s)throw s.error}}}if(n)throw new ut(n)}},e.prototype.add=function(t){var r;if(t&&t!==this)if(this.closed)Dt(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(r=this._finalizers)!==null&&r!==void 0?r:[]).push(t)}},e.prototype._hasParent=function(t){var r=this._parentage;return r===t||Array.isArray(r)&&r.includes(t)},e.prototype._addParent=function(t){var r=this._parentage;this._parentage=Array.isArray(r)?(r.push(t),r):r?[r,t]:t},e.prototype._removeParent=function(t){var r=this._parentage;r===t?this._parentage=null:Array.isArray(r)&&Pt(r,t)},e.prototype.remove=function(t){var r=this._finalizers;r&&Pt(r,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}(),xr=Ke.EMPTY;function Tr(e){return e instanceof Ke||e&&"closed"in e&&ge(e.remove)&&ge(e.add)&&ge(e.unsubscribe)}function Dt(e){ge(e)?e():e.unsubscribe()}var Sr={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Br={setTimeout:function(e,t){for(var r=[],s=2;s<arguments.length;s++)r[s-2]=arguments[s];return setTimeout.apply(void 0,Ce([e,t],yt(r)))},clearTimeout:function(e){var t=Br.delegate;return((t==null?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function Ys(e){Br.setTimeout(function(){throw e})}function Ut(){}function Ze(e){e()}var Cr=function(e){ve(t,e);function t(r){var s=e.call(this)||this;return s.isStopped=!1,r?(s.destination=r,Tr(r)&&r.add(s)):s.destination=ro,s}return t.create=function(r,s,o){return new Et(r,s,o)},t.prototype.next=function(r){this.isStopped||this._next(r)},t.prototype.error=function(r){this.isStopped||(this.isStopped=!0,this._error(r))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(r){this.destination.next(r)},t.prototype._error=function(r){try{this.destination.error(r)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(Ke),Ks=Function.prototype.bind;function ct(e,t){return Ks.call(e,t)}var eo=function(){function e(t){this.partialObserver=t}return e.prototype.next=function(t){var r=this.partialObserver;if(r.next)try{r.next(t)}catch(s){$e(s)}},e.prototype.error=function(t){var r=this.partialObserver;if(r.error)try{r.error(t)}catch(s){$e(s)}else $e(t)},e.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(r){$e(r)}},e}(),Et=function(e){ve(t,e);function t(r,s,o){var n=e.call(this)||this,a;if(ge(r)||!r)a={next:r!=null?r:void 0,error:s!=null?s:void 0,complete:o!=null?o:void 0};else{var l;n&&Sr.useDeprecatedNextContext?(l=Object.create(r),l.unsubscribe=function(){return n.unsubscribe()},a={next:r.next&&ct(r.next,l),error:r.error&&ct(r.error,l),complete:r.complete&&ct(r.complete,l)}):a=r}return n.destination=new eo(a),n}return t}(Cr);function $e(e){Ys(e)}function to(e){throw e}var ro={closed:!0,next:Ut,error:to,complete:Ut},so=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function oo(e){return e}function no(e){return e.length===0?oo:e.length===1?e[0]:function(r){return e.reduce(function(s,o){return o(s)},r)}}var Gt=function(){function e(t){t&&(this._subscribe=t)}return e.prototype.lift=function(t){var r=new e;return r.source=this,r.operator=t,r},e.prototype.subscribe=function(t,r,s){var o=this,n=ao(t)?t:new Et(t,r,s);return Ze(function(){var a=o,l=a.operator,u=a.source;n.add(l?l.call(n,u):u?o._subscribe(n):o._trySubscribe(n))}),n},e.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(r){t.error(r)}},e.prototype.forEach=function(t,r){var s=this;return r=jt(r),new r(function(o,n){var a=new Et({next:function(l){try{t(l)}catch(u){n(u),a.unsubscribe()}},error:n,complete:o});s.subscribe(a)})},e.prototype._subscribe=function(t){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(t)},e.prototype[so]=function(){return this},e.prototype.pipe=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return no(t)(this)},e.prototype.toPromise=function(t){var r=this;return t=jt(t),new t(function(s,o){var n;r.subscribe(function(a){return n=a},function(a){return o(a)},function(){return s(n)})})},e.create=function(t){return new e(t)},e}();function jt(e){var t;return(t=e!=null?e:Sr.Promise)!==null&&t!==void 0?t:Promise}function io(e){return e&&ge(e.next)&&ge(e.error)&&ge(e.complete)}function ao(e){return e&&e instanceof Cr||io(e)&&Tr(e)}var lo=_r(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),Hr=function(e){ve(t,e);function t(){var r=e.call(this)||this;return r.closed=!1,r.currentObservers=null,r.observers=[],r.isStopped=!1,r.hasError=!1,r.thrownError=null,r}return t.prototype.lift=function(r){var s=new $t(this,this);return s.operator=r,s},t.prototype._throwIfClosed=function(){if(this.closed)throw new lo},t.prototype.next=function(r){var s=this;Ze(function(){var o,n;if(s._throwIfClosed(),!s.isStopped){s.currentObservers||(s.currentObservers=Array.from(s.observers));try{for(var a=wt(s.currentObservers),l=a.next();!l.done;l=a.next()){var u=l.value;u.next(r)}}catch(c){o={error:c}}finally{try{l&&!l.done&&(n=a.return)&&n.call(a)}finally{if(o)throw o.error}}}})},t.prototype.error=function(r){var s=this;Ze(function(){if(s._throwIfClosed(),!s.isStopped){s.hasError=s.isStopped=!0,s.thrownError=r;for(var o=s.observers;o.length;)o.shift().error(r)}})},t.prototype.complete=function(){var r=this;Ze(function(){if(r._throwIfClosed(),!r.isStopped){r.isStopped=!0;for(var s=r.observers;s.length;)s.shift().complete()}})},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var r;return((r=this.observers)===null||r===void 0?void 0:r.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(r){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,r)},t.prototype._subscribe=function(r){return this._throwIfClosed(),this._checkFinalizedStatuses(r),this._innerSubscribe(r)},t.prototype._innerSubscribe=function(r){var s=this,o=this,n=o.hasError,a=o.isStopped,l=o.observers;return n||a?xr:(this.currentObservers=null,l.push(r),new Ke(function(){s.currentObservers=null,Pt(l,r)}))},t.prototype._checkFinalizedStatuses=function(r){var s=this,o=s.hasError,n=s.thrownError,a=s.isStopped;o?r.error(n):a&&r.complete()},t.prototype.asObservable=function(){var r=new Gt;return r.source=this,r},t.create=function(r,s){return new $t(r,s)},t}(Gt),$t=function(e){ve(t,e);function t(r,s){var o=e.call(this)||this;return o.destination=r,o.source=s,o}return t.prototype.next=function(r){var s,o;(o=(s=this.destination)===null||s===void 0?void 0:s.next)===null||o===void 0||o.call(s,r)},t.prototype.error=function(r){var s,o;(o=(s=this.destination)===null||s===void 0?void 0:s.error)===null||o===void 0||o.call(s,r)},t.prototype.complete=function(){var r,s;(s=(r=this.destination)===null||r===void 0?void 0:r.complete)===null||s===void 0||s.call(r)},t.prototype._subscribe=function(r){var s,o;return(o=(s=this.source)===null||s===void 0?void 0:s.subscribe(r))!==null&&o!==void 0?o:xr},t}(Hr),Nr={now:function(){return(Nr.delegate||Date).now()},delegate:void 0},uo=function(e){ve(t,e);function t(r,s,o){r===void 0&&(r=1/0),s===void 0&&(s=1/0),o===void 0&&(o=Nr);var n=e.call(this)||this;return n._bufferSize=r,n._windowTime=s,n._timestampProvider=o,n._buffer=[],n._infiniteTimeWindow=!0,n._infiniteTimeWindow=s===1/0,n._bufferSize=Math.max(1,r),n._windowTime=Math.max(1,s),n}return t.prototype.next=function(r){var s=this,o=s.isStopped,n=s._buffer,a=s._infiniteTimeWindow,l=s._timestampProvider,u=s._windowTime;o||(n.push(r),!a&&n.push(l.now()+u)),this._trimBuffer(),e.prototype.next.call(this,r)},t.prototype._subscribe=function(r){this._throwIfClosed(),this._trimBuffer();for(var s=this._innerSubscribe(r),o=this,n=o._infiniteTimeWindow,a=o._buffer,l=a.slice(),u=0;u<l.length&&!r.closed;u+=n?1:2)r.next(l[u]);return this._checkFinalizedStatuses(r),s},t.prototype._trimBuffer=function(){var r=this,s=r._bufferSize,o=r._timestampProvider,n=r._buffer,a=r._infiniteTimeWindow,l=(a?1:2)*s;if(s<1/0&&l<n.length&&n.splice(0,n.length-l),!a){for(var u=o.now(),c=0,f=1;f<n.length&&n[f]<=u;f+=2)c=f;c&&n.splice(0,c+1)}},t}(Hr);const Vt=[],Xt={},co=(e,t=0)=>{if(Vt.indexOf(e)==-1){const r=new uo(t);Xt[e]=r,Vt.push(e)}return Xt[e]},xe=[];function fo(e,t){return{subscribe:et(e,t).subscribe}}function et(e,t=de){let r;const s=new Set;function o(l){if(wr(e,l)&&(e=l,r)){const u=!xe.length;for(const c of s)c[1](),xe.push(c,e);if(u){for(let c=0;c<xe.length;c+=2)xe[c][0](xe[c+1]);xe.length=0}}}function n(l){o(l(e))}function a(l,u=de){const c=[l,u];return s.add(c),s.size===1&&(r=t(o,n)||de),l(e),()=>{s.delete(c),s.size===0&&r&&(r(),r=null)}}return{set:o,update:n,subscribe:a}}function Ie(e,t,r){const s=!Array.isArray(e),o=s?[e]:e;if(!o.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const n=t.length<2;return fo(r,(a,l)=>{let u=!1;const c=[];let f=0,d=de;const p=()=>{if(f)return;d();const w=t(s?c[0]:c,a,l);n?a(w):d=Me(w)?w:de},m=o.map((w,g)=>yr(w,_=>{c[g]=_,f&=~(1<<g),u&&p()},()=>{f|=1<<g}));return u=!0,p(),function(){ye(m),d(),u=!1}})}function ho(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var po=function(t){return mo(t)&&!go(t)};function mo(e){return!!e&&typeof e=="object"}function go(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||wo(e)}var vo=typeof Symbol=="function"&&Symbol.for,bo=vo?Symbol.for("react.element"):60103;function wo(e){return e.$$typeof===bo}function yo(e){return Array.isArray(e)?[]:{}}function De(e,t){return t.clone!==!1&&t.isMergeableObject(e)?He(yo(e),e,t):e}function Po(e,t,r){return e.concat(t).map(function(s){return De(s,r)})}function Eo(e,t){if(!t.customMerge)return He;var r=t.customMerge(e);return typeof r=="function"?r:He}function _o(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}function Zt(e){return Object.keys(e).concat(_o(e))}function zr(e,t){try{return t in e}catch(r){return!1}}function xo(e,t){return zr(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function To(e,t,r){var s={};return r.isMergeableObject(e)&&Zt(e).forEach(function(o){s[o]=De(e[o],r)}),Zt(t).forEach(function(o){xo(e,o)||(zr(e,o)&&r.isMergeableObject(t[o])?s[o]=Eo(o,r)(e[o],t[o],r):s[o]=De(t[o],r))}),s}function He(e,t,r){r=r||{},r.arrayMerge=r.arrayMerge||Po,r.isMergeableObject=r.isMergeableObject||po,r.cloneUnlessOtherwiseSpecified=De;var s=Array.isArray(t),o=Array.isArray(e),n=s===o;return n?s?r.arrayMerge(e,t,r):To(e,t,r):De(t,r)}He.all=function(t,r){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(s,o){return He(s,o,r)},{})};var So=He,Bo=So;const Co=ho(Bo);var S;(function(e){e[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG"})(S||(S={}));var R;(function(e){e[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag"})(R||(R={}));var Ne;(function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"})(Ne||(Ne={}));function Wt(e){return e.type===R.literal}function Ho(e){return e.type===R.argument}function Ar(e){return e.type===R.number}function Ir(e){return e.type===R.date}function Or(e){return e.type===R.time}function Lr(e){return e.type===R.select}function Fr(e){return e.type===R.plural}function No(e){return e.type===R.pound}function qr(e){return e.type===R.tag}function Rr(e){return!!(e&&typeof e=="object"&&e.type===Ne.number)}function _t(e){return!!(e&&typeof e=="object"&&e.type===Ne.dateTime)}var Mr=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,zo=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function Ao(e){var t={};return e.replace(zo,function(r){var s=r.length;switch(r[0]){case"G":t.era=s===4?"long":s===5?"narrow":"short";break;case"y":t.year=s===2?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":t.month=["numeric","2-digit","short","long","narrow"][s-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][s-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=s===4?"long":s===5?"narrow":"short";break;case"e":if(s<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][s-4];break;case"c":if(s<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][s-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][s-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][s-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][s-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][s-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":t.minute=["numeric","2-digit"][s-1];break;case"s":t.second=["numeric","2-digit"][s-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=s<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),t}var Io=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function Oo(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");for(var t=e.split(Io).filter(function(p){return p.length>0}),r=[],s=0,o=t;s<o.length;s++){var n=o[s],a=n.split("/");if(a.length===0)throw new Error("Invalid number skeleton");for(var l=a[0],u=a.slice(1),c=0,f=u;c<f.length;c++){var d=f[c];if(d.length===0)throw new Error("Invalid number skeleton")}r.push({stem:l,options:u})}return r}function Lo(e){return e.replace(/^(.*?)-/,"")}var Qt=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,kr=/^(@+)?(\+|#+)?[rs]?$/g,Fo=/(\*)(0+)|(#+)(0+)|(0+)/g,Dr=/^(0+)$/;function Jt(e){var t={};return e[e.length-1]==="r"?t.roundingPriority="morePrecision":e[e.length-1]==="s"&&(t.roundingPriority="lessPrecision"),e.replace(kr,function(r,s,o){return typeof o!="string"?(t.minimumSignificantDigits=s.length,t.maximumSignificantDigits=s.length):o==="+"?t.minimumSignificantDigits=s.length:s[0]==="#"?t.maximumSignificantDigits=s.length:(t.minimumSignificantDigits=s.length,t.maximumSignificantDigits=s.length+(typeof o=="string"?o.length:0)),""}),t}function Ur(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 qo(e){var t;if(e[0]==="E"&&e[1]==="E"?(t={notation:"engineering"},e=e.slice(2)):e[0]==="E"&&(t={notation:"scientific"},e=e.slice(1)),t){var r=e.slice(0,2);if(r==="+!"?(t.signDisplay="always",e=e.slice(2)):r==="+?"&&(t.signDisplay="exceptZero",e=e.slice(2)),!Dr.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function Yt(e){var t={},r=Ur(e);return r||t}function Ro(e){for(var t={},r=0,s=e;r<s.length;r++){var o=s[r];switch(o.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=o.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=Lo(o.options[0]);continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=z(z(z({},t),{notation:"scientific"}),o.options.reduce(function(u,c){return z(z({},u),Yt(c))},{}));continue;case"engineering":t=z(z(z({},t),{notation:"engineering"}),o.options.reduce(function(u,c){return z(z({},u),Yt(c))},{}));continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(o.options[0]);continue;case"rounding-mode-floor":t.roundingMode="floor";continue;case"rounding-mode-ceiling":t.roundingMode="ceil";continue;case"rounding-mode-down":t.roundingMode="trunc";continue;case"rounding-mode-up":t.roundingMode="expand";continue;case"rounding-mode-half-even":t.roundingMode="halfEven";continue;case"rounding-mode-half-down":t.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":t.roundingMode="halfExpand";continue;case"integer-width":if(o.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");o.options[0].replace(Fo,function(u,c,f,d,p,m){if(c)t.minimumIntegerDigits=f.length;else{if(d&&p)throw new Error("We currently do not support maximum integer digits");if(m)throw new Error("We currently do not support exact integer digits")}return""});continue}if(Dr.test(o.stem)){t.minimumIntegerDigits=o.stem.length;continue}if(Qt.test(o.stem)){if(o.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");o.stem.replace(Qt,function(u,c,f,d,p,m){return f==="*"?t.minimumFractionDigits=c.length:d&&d[0]==="#"?t.maximumFractionDigits=d.length:p&&m?(t.minimumFractionDigits=p.length,t.maximumFractionDigits=p.length+m.length):(t.minimumFractionDigits=c.length,t.maximumFractionDigits=c.length),""});var n=o.options[0];n==="w"?t=z(z({},t),{trailingZeroDisplay:"stripIfInteger"}):n&&(t=z(z({},t),Jt(n)));continue}if(kr.test(o.stem)){t=z(z({},t),Jt(o.stem));continue}var a=Ur(o.stem);a&&(t=z(z({},t),a));var l=qo(o.stem);l&&(t=z(z({},t),l))}return t}var Ve={"001":["H","h"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["H","h","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["H","hB","h","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["H","h","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["H","hB","h","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["H","h","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["H","h","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["H","h","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["H","h","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["H","hB","h","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["H","h","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["H","h","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["H","h","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"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"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]};function Mo(e,t){for(var r="",s=0;s<e.length;s++){var o=e.charAt(s);if(o==="j"){for(var n=0;s+1<e.length&&e.charAt(s+1)===o;)n++,s++;var a=1+(n&1),l=n<2?1:3+(n>>1),u="a",c=ko(t);for((c=="H"||c=="k")&&(l=0);l-- >0;)r+=u;for(;a-- >0;)r=c+r}else o==="J"?r+="H":r+=o}return r}function ko(e){var t=e.hourCycle;if(t===void 0&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var r=e.language,s;r!=="root"&&(s=e.maximize().region);var o=Ve[s||""]||Ve[r||""]||Ve["".concat(r,"-001")]||Ve["001"];return o[0]}var ft,Do=new RegExp("^".concat(Mr.source,"*")),Uo=new RegExp("".concat(Mr.source,"*$"));function B(e,t){return{start:e,end:t}}var Go=!!String.prototype.startsWith&&"_a".startsWith("a",1),jo=!!String.fromCodePoint,$o=!!Object.fromEntries,Vo=!!String.prototype.codePointAt,Xo=!!String.prototype.trimStart,Zo=!!String.prototype.trimEnd,Wo=!!Number.isSafeInteger,Qo=Wo?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},xt=!0;try{var Jo=jr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");xt=((ft=Jo.exec("a"))===null||ft===void 0?void 0:ft[0])==="a"}catch(e){xt=!1}var Kt=Go?function(t,r,s){return t.startsWith(r,s)}:function(t,r,s){return t.slice(s,s+r.length)===r},Tt=jo?String.fromCodePoint:function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];for(var s="",o=t.length,n=0,a;o>n;){if(a=t[n++],a>1114111)throw RangeError(a+" is not a valid code point");s+=a<65536?String.fromCharCode(a):String.fromCharCode(((a-=65536)>>10)+55296,a%1024+56320)}return s},er=$o?Object.fromEntries:function(t){for(var r={},s=0,o=t;s<o.length;s++){var n=o[s],a=n[0],l=n[1];r[a]=l}return r},Gr=Vo?function(t,r){return t.codePointAt(r)}:function(t,r){var s=t.length;if(!(r<0||r>=s)){var o=t.charCodeAt(r),n;return o<55296||o>56319||r+1===s||(n=t.charCodeAt(r+1))<56320||n>57343?o:(o-55296<<10)+(n-56320)+65536}},Yo=Xo?function(t){return t.trimStart()}:function(t){return t.replace(Do,"")},Ko=Zo?function(t){return t.trimEnd()}:function(t){return t.replace(Uo,"")};function jr(e,t){return new RegExp(e,t)}var St;if(xt){var tr=jr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");St=function(t,r){var s;tr.lastIndex=r;var o=tr.exec(t);return(s=o[1])!==null&&s!==void 0?s:""}}else St=function(t,r){for(var s=[];;){var o=Gr(t,r);if(o===void 0||$r(o)||sn(o))break;s.push(o),r+=o>=65536?2:1}return Tt.apply(void 0,s)};var en=function(){function e(t,r){r===void 0&&(r={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!r.ignoreTag,this.locale=r.locale,this.requiresOtherClause=!!r.requiresOtherClause,this.shouldParseSkeletons=!!r.shouldParseSkeletons}return e.prototype.parse=function(){if(this.offset()!==0)throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(t,r,s){for(var o=[];!this.isEOF();){var n=this.char();if(n===123){var a=this.parseArgument(t,s);if(a.err)return a;o.push(a.val)}else{if(n===125&&t>0)break;if(n===35&&(r==="plural"||r==="selectordinal")){var l=this.clonePosition();this.bump(),o.push({type:R.pound,location:B(l,this.clonePosition())})}else if(n===60&&!this.ignoreTag&&this.peek()===47){if(s)break;return this.error(S.UNMATCHED_CLOSING_TAG,B(this.clonePosition(),this.clonePosition()))}else if(n===60&&!this.ignoreTag&&Bt(this.peek()||0)){var a=this.parseTag(t,r);if(a.err)return a;o.push(a.val)}else{var a=this.parseLiteral(t,r);if(a.err)return a;o.push(a.val)}}}return{val:o,err:null}},e.prototype.parseTag=function(t,r){var s=this.clonePosition();this.bump();var o=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:R.literal,value:"<".concat(o,"/>"),location:B(s,this.clonePosition())},err:null};if(this.bumpIf(">")){var n=this.parseMessage(t+1,r,!0);if(n.err)return n;var a=n.val,l=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!Bt(this.char()))return this.error(S.INVALID_TAG,B(l,this.clonePosition()));var u=this.clonePosition(),c=this.parseTagName();return o!==c?this.error(S.UNMATCHED_CLOSING_TAG,B(u,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:R.tag,value:o,children:a,location:B(s,this.clonePosition())},err:null}:this.error(S.INVALID_TAG,B(l,this.clonePosition())))}else return this.error(S.UNCLOSED_TAG,B(s,this.clonePosition()))}else return this.error(S.INVALID_TAG,B(s,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&rn(this.char());)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(t,r){for(var s=this.clonePosition(),o="";;){var n=this.tryParseQuote(r);if(n){o+=n;continue}var a=this.tryParseUnquoted(t,r);if(a){o+=a;continue}var l=this.tryParseLeftAngleBracket();if(l){o+=l;continue}break}var u=B(s,this.clonePosition());return{val:{type:R.literal,value:o,location:u},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!tn(this.peek()||0))?(this.bump(),"<"):null},e.prototype.tryParseQuote=function(t){if(this.isEOF()||this.char()!==39)return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if(t==="plural"||t==="selectordinal")break;return null;default:return null}this.bump();var r=[this.char()];for(this.bump();!this.isEOF();){var s=this.char();if(s===39)if(this.peek()===39)r.push(39),this.bump();else{this.bump();break}else r.push(s);this.bump()}return Tt.apply(void 0,r)},e.prototype.tryParseUnquoted=function(t,r){if(this.isEOF())return null;var s=this.char();return s===60||s===123||s===35&&(r==="plural"||r==="selectordinal")||s===125&&t>0?null:(this.bump(),Tt(s))},e.prototype.parseArgument=function(t,r){var s=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(S.EXPECT_ARGUMENT_CLOSING_BRACE,B(s,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(S.EMPTY_ARGUMENT,B(s,this.clonePosition()));var o=this.parseIdentifierIfPossible().value;if(!o)return this.error(S.MALFORMED_ARGUMENT,B(s,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(S.EXPECT_ARGUMENT_CLOSING_BRACE,B(s,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:R.argument,value:o,location:B(s,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(S.EXPECT_ARGUMENT_CLOSING_BRACE,B(s,this.clonePosition())):this.parseArgumentOptions(t,r,o,s);default:return this.error(S.MALFORMED_ARGUMENT,B(s,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),r=this.offset(),s=St(this.message,r),o=r+s.length;this.bumpTo(o);var n=this.clonePosition(),a=B(t,n);return{value:s,location:a}},e.prototype.parseArgumentOptions=function(t,r,s,o){var n,a=this.clonePosition(),l=this.parseIdentifierIfPossible().value,u=this.clonePosition();switch(l){case"":return this.error(S.EXPECT_ARGUMENT_TYPE,B(a,u));case"number":case"date":case"time":{this.bumpSpace();var c=null;if(this.bumpIf(",")){this.bumpSpace();var f=this.clonePosition(),d=this.parseSimpleArgStyleIfPossible();if(d.err)return d;var p=Ko(d.val);if(p.length===0)return this.error(S.EXPECT_ARGUMENT_STYLE,B(this.clonePosition(),this.clonePosition()));var m=B(f,this.clonePosition());c={style:p,styleLocation:m}}var w=this.tryParseArgumentClose(o);if(w.err)return w;var g=B(o,this.clonePosition());if(c&&Kt(c==null?void 0:c.style,"::",0)){var _=Yo(c.style.slice(2));if(l==="number"){var d=this.parseNumberSkeletonFromString(_,c.styleLocation);return d.err?d:{val:{type:R.number,value:s,location:g,style:d.val},err:null}}else{if(_.length===0)return this.error(S.EXPECT_DATE_TIME_SKELETON,g);var E=_;this.locale&&(E=Mo(_,this.locale));var p={type:Ne.dateTime,pattern:E,location:c.styleLocation,parsedOptions:this.shouldParseSkeletons?Ao(E):{}},P=l==="date"?R.date:R.time;return{val:{type:P,value:s,location:g,style:p},err:null}}}return{val:{type:l==="number"?R.number:l==="date"?R.date:R.time,value:s,location:g,style:(n=c==null?void 0:c.style)!==null&&n!==void 0?n:null},err:null}}case"plural":case"selectordinal":case"select":{var T=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(S.EXPECT_SELECT_ARGUMENT_OPTIONS,B(T,z({},T)));this.bumpSpace();var x=this.parseIdentifierIfPossible(),A=0;if(l!=="select"&&x.value==="offset"){if(!this.bumpIf(":"))return this.error(S.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,B(this.clonePosition(),this.clonePosition()));this.bumpSpace();var d=this.tryParseDecimalInteger(S.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,S.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(d.err)return d;this.bumpSpace(),x=this.parseIdentifierIfPossible(),A=d.val}var O=this.tryParsePluralOrSelectOptions(t,l,r,x);if(O.err)return O;var w=this.tryParseArgumentClose(o);if(w.err)return w;var I=B(o,this.clonePosition());return l==="select"?{val:{type:R.select,value:s,options:er(O.val),location:I},err:null}:{val:{type:R.plural,value:s,options:er(O.val),offset:A,pluralType:l==="plural"?"cardinal":"ordinal",location:I},err:null}}default:return this.error(S.INVALID_ARGUMENT_TYPE,B(a,u))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(S.EXPECT_ARGUMENT_CLOSING_BRACE,B(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,r=this.clonePosition();!this.isEOF();){var s=this.char();switch(s){case 39:{this.bump();var o=this.clonePosition();if(!this.bumpUntil("'"))return this.error(S.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,B(o,this.clonePosition()));this.bump();break}case 123:{t+=1,this.bump();break}case 125:{if(t>0)t-=1;else return{val:this.message.slice(r.offset,this.offset()),err:null};break}default:this.bump();break}}return{val:this.message.slice(r.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(t,r){var s=[];try{s=Oo(t)}catch(o){return this.error(S.INVALID_NUMBER_SKELETON,r)}return{val:{type:Ne.number,tokens:s,location:r,parsedOptions:this.shouldParseSkeletons?Ro(s):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(t,r,s,o){for(var n,a=!1,l=[],u=new Set,c=o.value,f=o.location;;){if(c.length===0){var d=this.clonePosition();if(r!=="select"&&this.bumpIf("=")){var p=this.tryParseDecimalInteger(S.EXPECT_PLURAL_ARGUMENT_SELECTOR,S.INVALID_PLURAL_ARGUMENT_SELECTOR);if(p.err)return p;f=B(d,this.clonePosition()),c=this.message.slice(d.offset,this.offset())}else break}if(u.has(c))return this.error(r==="select"?S.DUPLICATE_SELECT_ARGUMENT_SELECTOR:S.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,f);c==="other"&&(a=!0),this.bumpSpace();var m=this.clonePosition();if(!this.bumpIf("{"))return this.error(r==="select"?S.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:S.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,B(this.clonePosition(),this.clonePosition()));var w=this.parseMessage(t+1,r,s);if(w.err)return w;var g=this.tryParseArgumentClose(m);if(g.err)return g;l.push([c,{value:w.val,location:B(m,this.clonePosition())}]),u.add(c),this.bumpSpace(),n=this.parseIdentifierIfPossible(),c=n.value,f=n.location}return l.length===0?this.error(r==="select"?S.EXPECT_SELECT_ARGUMENT_SELECTOR:S.EXPECT_PLURAL_ARGUMENT_SELECTOR,B(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!a?this.error(S.MISSING_OTHER_CLAUSE,B(this.clonePosition(),this.clonePosition())):{val:l,err:null}},e.prototype.tryParseDecimalInteger=function(t,r){var s=1,o=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(s=-1);for(var n=!1,a=0;!this.isEOF();){var l=this.char();if(l>=48&&l<=57)n=!0,a=a*10+(l-48),this.bump();else break}var u=B(o,this.clonePosition());return n?(a*=s,Qo(a)?{val:a,err:null}:this.error(r,u)):this.error(t,u)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");var r=Gr(this.message,t);if(r===void 0)throw Error("Offset ".concat(t," is at invalid UTF-16 code unit boundary"));return r},e.prototype.error=function(t,r){return{val:null,err:{kind:t,message:this.message,location:r}}},e.prototype.bump=function(){if(!this.isEOF()){var t=this.char();t===10?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=t<65536?1:2)}},e.prototype.bumpIf=function(t){if(Kt(this.message,t,this.offset())){for(var r=0;r<t.length;r++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(t){var r=this.offset(),s=this.message.indexOf(t,r);return s>=0?(this.bumpTo(s),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(t){if(this.offset()>t)throw Error("targetOffset ".concat(t," must be greater than or equal to the current offset ").concat(this.offset()));for(t=Math.min(t,this.message.length);;){var r=this.offset();if(r===t)break;if(r>t)throw Error("targetOffset ".concat(t," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&$r(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),r=this.offset(),s=this.message.charCodeAt(r+(t>=65536?2:1));return s!=null?s:null},e}();function Bt(e){return e>=97&&e<=122||e>=65&&e<=90}function tn(e){return Bt(e)||e===47}function rn(e){return e===45||e===46||e>=48&&e<=57||e===95||e>=97&&e<=122||e>=65&&e<=90||e==183||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}function $r(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function sn(e){return e>=33&&e<=35||e===36||e>=37&&e<=39||e===40||e===41||e===42||e===43||e===44||e===45||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||e===91||e===92||e===93||e===94||e===96||e===123||e===124||e===125||e===126||e===161||e>=162&&e<=165||e===166||e===167||e===169||e===171||e===172||e===174||e===176||e===177||e===182||e===187||e===191||e===215||e===247||e>=8208&&e<=8213||e>=8214&&e<=8215||e===8216||e===8217||e===8218||e>=8219&&e<=8220||e===8221||e===8222||e===8223||e>=8224&&e<=8231||e>=8240&&e<=8248||e===8249||e===8250||e>=8251&&e<=8254||e>=8257&&e<=8259||e===8260||e===8261||e===8262||e>=8263&&e<=8273||e===8274||e===8275||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||e===8608||e>=8609&&e<=8610||e===8611||e>=8612&&e<=8613||e===8614||e>=8615&&e<=8621||e===8622||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||e===8658||e===8659||e===8660||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||e===8968||e===8969||e===8970||e===8971||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||e===9001||e===9002||e>=9003&&e<=9083||e===9084||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||e===9655||e>=9656&&e<=9664||e===9665||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||e===9839||e>=9840&&e<=10087||e===10088||e===10089||e===10090||e===10091||e===10092||e===10093||e===10094||e===10095||e===10096||e===10097||e===10098||e===10099||e===10100||e===10101||e>=10132&&e<=10175||e>=10176&&e<=10180||e===10181||e===10182||e>=10183&&e<=10213||e===10214||e===10215||e===10216||e===10217||e===10218||e===10219||e===10220||e===10221||e===10222||e===10223||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||e===10627||e===10628||e===10629||e===10630||e===10631||e===10632||e===10633||e===10634||e===10635||e===10636||e===10637||e===10638||e===10639||e===10640||e===10641||e===10642||e===10643||e===10644||e===10645||e===10646||e===10647||e===10648||e>=10649&&e<=10711||e===10712||e===10713||e===10714||e===10715||e>=10716&&e<=10747||e===10748||e===10749||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||e===11158||e>=11159&&e<=11263||e>=11776&&e<=11777||e===11778||e===11779||e===11780||e===11781||e>=11782&&e<=11784||e===11785||e===11786||e===11787||e===11788||e===11789||e>=11790&&e<=11798||e===11799||e>=11800&&e<=11801||e===11802||e===11803||e===11804||e===11805||e>=11806&&e<=11807||e===11808||e===11809||e===11810||e===11811||e===11812||e===11813||e===11814||e===11815||e===11816||e===11817||e>=11818&&e<=11822||e===11823||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||e===11840||e===11841||e===11842||e>=11843&&e<=11855||e>=11856&&e<=11857||e===11858||e>=11859&&e<=11903||e>=12289&&e<=12291||e===12296||e===12297||e===12298||e===12299||e===12300||e===12301||e===12302||e===12303||e===12304||e===12305||e>=12306&&e<=12307||e===12308||e===12309||e===12310||e===12311||e===12312||e===12313||e===12314||e===12315||e===12316||e===12317||e>=12318&&e<=12319||e===12320||e===12336||e===64830||e===64831||e>=65093&&e<=65094}function Ct(e){e.forEach(function(t){if(delete t.location,Lr(t)||Fr(t))for(var r in t.options)delete t.options[r].location,Ct(t.options[r].value);else Ar(t)&&Rr(t.style)||(Ir(t)||Or(t))&&_t(t.style)?delete t.style.location:qr(t)&&Ct(t.children)})}function on(e,t){t===void 0&&(t={}),t=z({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var r=new en(e,t).parse();if(r.err){var s=SyntaxError(S[r.err.kind]);throw s.location=r.err.location,s.originalMessage=r.err.message,s}return t!=null&&t.captureLocation||Ct(r.val),r.val}function ht(e,t){var r=t&&t.cache?t.cache:fn,s=t&&t.serializer?t.serializer:cn,o=t&&t.strategy?t.strategy:an;return o(e,{cache:r,serializer:s})}function nn(e){return e==null||typeof e=="number"||typeof e=="boolean"}function Vr(e,t,r,s){var o=nn(s)?s:r(s),n=t.get(o);return typeof n=="undefined"&&(n=e.call(this,s),t.set(o,n)),n}function Xr(e,t,r){var s=Array.prototype.slice.call(arguments,3),o=r(s),n=t.get(o);return typeof n=="undefined"&&(n=e.apply(this,s),t.set(o,n)),n}function zt(e,t,r,s,o){return r.bind(t,e,s,o)}function an(e,t){var r=e.length===1?Vr:Xr;return zt(e,this,r,t.cache.create(),t.serializer)}function ln(e,t){return zt(e,this,Xr,t.cache.create(),t.serializer)}function un(e,t){return zt(e,this,Vr,t.cache.create(),t.serializer)}var cn=function(){return JSON.stringify(arguments)};function At(){this.cache=Object.create(null)}At.prototype.get=function(e){return this.cache[e]};At.prototype.set=function(e,t){this.cache[e]=t};var fn={create:function(){return new At}},dt={variadic:ln,monadic:un},ze;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(ze||(ze={}));var tt=function(e){ve(t,e);function t(r,s,o){var n=e.call(this,r)||this;return n.code=s,n.originalMessage=o,n}return t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),rr=function(e){ve(t,e);function t(r,s,o,n){return e.call(this,'Invalid values for "'.concat(r,'": "').concat(s,'". Options are "').concat(Object.keys(o).join('", "'),'"'),ze.INVALID_VALUE,n)||this}return t}(tt),hn=function(e){ve(t,e);function t(r,s,o){return e.call(this,'Value for "'.concat(r,'" must be of type ').concat(s),ze.INVALID_VALUE,o)||this}return t}(tt),dn=function(e){ve(t,e);function t(r,s){return e.call(this,'The intl string context variable "'.concat(r,'" was not provided to the string "').concat(s,'"'),ze.MISSING_VALUE,s)||this}return t}(tt),se;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(se||(se={}));function pn(e){return e.length<2?e:e.reduce(function(t,r){var s=t[t.length-1];return!s||s.type!==se.literal||r.type!==se.literal?t.push(r):s.value+=r.value,t},[])}function mn(e){return typeof e=="function"}function We(e,t,r,s,o,n,a){if(e.length===1&&Wt(e[0]))return[{type:se.literal,value:e[0].value}];for(var l=[],u=0,c=e;u<c.length;u++){var f=c[u];if(Wt(f)){l.push({type:se.literal,value:f.value});continue}if(No(f)){typeof n=="number"&&l.push({type:se.literal,value:r.getNumberFormat(t).format(n)});continue}var d=f.value;if(!(o&&d in o))throw new dn(d,a);var p=o[d];if(Ho(f)){(!p||typeof p=="string"||typeof p=="number")&&(p=typeof p=="string"||typeof p=="number"?String(p):""),l.push({type:typeof p=="string"?se.literal:se.object,value:p});continue}if(Ir(f)){var m=typeof f.style=="string"?s.date[f.style]:_t(f.style)?f.style.parsedOptions:void 0;l.push({type:se.literal,value:r.getDateTimeFormat(t,m).format(p)});continue}if(Or(f)){var m=typeof f.style=="string"?s.time[f.style]:_t(f.style)?f.style.parsedOptions:s.time.medium;l.push({type:se.literal,value:r.getDateTimeFormat(t,m).format(p)});continue}if(Ar(f)){var m=typeof f.style=="string"?s.number[f.style]:Rr(f.style)?f.style.parsedOptions:void 0;m&&m.scale&&(p=p*(m.scale||1)),l.push({type:se.literal,value:r.getNumberFormat(t,m).format(p)});continue}if(qr(f)){var w=f.children,g=f.value,_=o[g];if(!mn(_))throw new hn(g,"function",a);var E=We(w,t,r,s,o,n),P=_(E.map(function(A){return A.value}));Array.isArray(P)||(P=[P]),l.push.apply(l,P.map(function(A){return{type:typeof A=="string"?se.literal:se.object,value:A}}))}if(Lr(f)){var T=f.options[p]||f.options.other;if(!T)throw new rr(f.value,p,Object.keys(f.options),a);l.push.apply(l,We(T.value,t,r,s,o));continue}if(Fr(f)){var T=f.options["=".concat(p)];if(!T){if(!Intl.PluralRules)throw new tt(`Intl.PluralRules is not available in this environment.
4
- Try polyfilling it using "@formatjs/intl-pluralrules"
5
- `,ze.MISSING_INTL_API,a);var x=r.getPluralRules(t,{type:f.pluralType}).select(p-(f.offset||0));T=f.options[x]||f.options.other}if(!T)throw new rr(f.value,p,Object.keys(f.options),a);l.push.apply(l,We(T.value,t,r,s,o,p-(f.offset||0)));continue}}return pn(l)}function gn(e,t){return t?z(z(z({},e||{}),t||{}),Object.keys(e).reduce(function(r,s){return r[s]=z(z({},e[s]),t[s]||{}),r},{})):e}function vn(e,t){return t?Object.keys(e).reduce(function(r,s){return r[s]=gn(e[s],t[s]),r},z({},e)):e}function pt(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,r){e[t]=r}}}}}function bn(e){return e===void 0&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:ht(function(){for(var t,r=[],s=0;s<arguments.length;s++)r[s]=arguments[s];return new((t=Intl.NumberFormat).bind.apply(t,Ce([void 0],r,!1)))},{cache:pt(e.number),strategy:dt.variadic}),getDateTimeFormat:ht(function(){for(var t,r=[],s=0;s<arguments.length;s++)r[s]=arguments[s];return new((t=Intl.DateTimeFormat).bind.apply(t,Ce([void 0],r,!1)))},{cache:pt(e.dateTime),strategy:dt.variadic}),getPluralRules:ht(function(){for(var t,r=[],s=0;s<arguments.length;s++)r[s]=arguments[s];return new((t=Intl.PluralRules).bind.apply(t,Ce([void 0],r,!1)))},{cache:pt(e.pluralRules),strategy:dt.variadic})}}var wn=function(){function e(t,r,s,o){var n=this;if(r===void 0&&(r=e.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(u){var c=n.formatToParts(u);if(c.length===1)return c[0].value;var f=c.reduce(function(d,p){return!d.length||p.type!==se.literal||typeof d[d.length-1]!="string"?d.push(p.value):d[d.length-1]+=p.value,d},[]);return f.length<=1?f[0]||"":f},this.formatToParts=function(u){return We(n.ast,n.locales,n.formatters,n.formats,u,void 0,n.message)},this.resolvedOptions=function(){var u;return{locale:((u=n.resolvedLocale)===null||u===void 0?void 0:u.toString())||Intl.NumberFormat.supportedLocalesOf(n.locales)[0]}},this.getAst=function(){return n.ast},this.locales=r,this.resolvedLocale=e.resolveLocale(r),typeof t=="string"){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var a=o||{};a.formatters;var l=Js(a,["formatters"]);this.ast=e.__parse(t,z(z({},l),{locale:this.resolvedLocale}))}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=vn(e.formats,s),this.formatters=o&&o.formatters||bn(this.formatterCache)}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=new Intl.NumberFormat().resolvedOptions().locale),e.memoizedDefaultLocale},enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.resolveLocale=function(t){if(typeof Intl.Locale!="undefined"){var r=Intl.NumberFormat.supportedLocalesOf(t);return r.length>0?new Intl.Locale(r[0]):new Intl.Locale(typeof t=="string"?t:t[0])}},e.__parse=on,e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}();function yn(e,t){if(t==null)return;if(t in e)return e[t];const r=t.split(".");let s=e;for(let o=0;o<r.length;o++)if(typeof s=="object"){if(o>0){const n=r.slice(o,r.length).join(".");if(n in s){s=s[n];break}}s=s[r[o]]}else s=void 0;return s}const be={},Pn=(e,t,r)=>r&&(t in be||(be[t]={}),e in be[t]||(be[t][e]=r),r),Zr=(e,t)=>{if(t==null)return;if(t in be&&e in be[t])return be[t][e];const r=rt(t);for(let s=0;s<r.length;s++){const o=r[s],n=_n(o,e);if(n)return Pn(e,t,n)}};let It;const Oe=et({});function En(e){return It[e]||null}function Wr(e){return e in It}function _n(e,t){if(!Wr(e))return null;const r=En(e);return yn(r,t)}function xn(e){if(e==null)return;const t=rt(e);for(let r=0;r<t.length;r++){const s=t[r];if(Wr(s))return s}}function Qr(e,...t){delete be[e],Oe.update(r=>(r[e]=Co.all([r[e]||{},...t]),r))}Ie([Oe],([e])=>Object.keys(e));Oe.subscribe(e=>It=e);const Qe={};function Tn(e,t){Qe[e].delete(t),Qe[e].size===0&&delete Qe[e]}function Jr(e){return Qe[e]}function Sn(e){return rt(e).map(t=>{const r=Jr(t);return[t,r?[...r]:[]]}).filter(([,t])=>t.length>0)}function Ht(e){return e==null?!1:rt(e).some(t=>{var r;return(r=Jr(t))==null?void 0:r.size})}function Bn(e,t){return Promise.all(t.map(s=>(Tn(e,s),s().then(o=>o.default||o)))).then(s=>Qr(e,...s))}const Fe={};function Yr(e){if(!Ht(e))return e in Fe?Fe[e]:Promise.resolve();const t=Sn(e);return Fe[e]=Promise.all(t.map(([r,s])=>Bn(r,s))).then(()=>{if(Ht(e))return Yr(e);delete Fe[e]}),Fe[e]}const Cn={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"}}},Hn={fallbackLocale:null,loadingDelay:200,formats:Cn,warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0},Nn=Hn;function Ae(){return Nn}const mt=et(!1);var zn=Object.defineProperty,An=Object.defineProperties,In=Object.getOwnPropertyDescriptors,sr=Object.getOwnPropertySymbols,On=Object.prototype.hasOwnProperty,Ln=Object.prototype.propertyIsEnumerable,or=(e,t,r)=>t in e?zn(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Fn=(e,t)=>{for(var r in t||(t={}))On.call(t,r)&&or(e,r,t[r]);if(sr)for(var r of sr(t))Ln.call(t,r)&&or(e,r,t[r]);return e},qn=(e,t)=>An(e,In(t));let Nt;const Je=et(null);function nr(e){return e.split("-").map((t,r,s)=>s.slice(0,r+1).join("-")).reverse()}function rt(e,t=Ae().fallbackLocale){const r=nr(e);return t?[...new Set([...r,...nr(t)])]:r}function Pe(){return Nt!=null?Nt:void 0}Je.subscribe(e=>{Nt=e!=null?e:void 0,typeof window!="undefined"&&e!=null&&document.documentElement.setAttribute("lang",e)});const Rn=e=>{if(e&&xn(e)&&Ht(e)){const{loadingDelay:t}=Ae();let r;return typeof window!="undefined"&&Pe()!=null&&t?r=window.setTimeout(()=>mt.set(!0),t):mt.set(!0),Yr(e).then(()=>{Je.set(e)}).finally(()=>{clearTimeout(r),mt.set(!1)})}return Je.set(e)},we=qn(Fn({},Je),{set:Rn}),st=e=>{const t=Object.create(null);return s=>{const o=JSON.stringify(s);return o in t?t[o]:t[o]=e(s)}};var Mn=Object.defineProperty,Ye=Object.getOwnPropertySymbols,Kr=Object.prototype.hasOwnProperty,es=Object.prototype.propertyIsEnumerable,ir=(e,t,r)=>t in e?Mn(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Ot=(e,t)=>{for(var r in t||(t={}))Kr.call(t,r)&&ir(e,r,t[r]);if(Ye)for(var r of Ye(t))es.call(t,r)&&ir(e,r,t[r]);return e},Le=(e,t)=>{var r={};for(var s in e)Kr.call(e,s)&&t.indexOf(s)<0&&(r[s]=e[s]);if(e!=null&&Ye)for(var s of Ye(e))t.indexOf(s)<0&&es.call(e,s)&&(r[s]=e[s]);return r};const Ue=(e,t)=>{const{formats:r}=Ae();if(e in r&&t in r[e])return r[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},kn=st(e=>{var t=e,{locale:r,format:s}=t,o=Le(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return s&&(o=Ue("number",s)),new Intl.NumberFormat(r,o)}),Dn=st(e=>{var t=e,{locale:r,format:s}=t,o=Le(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return s?o=Ue("date",s):Object.keys(o).length===0&&(o=Ue("date","short")),new Intl.DateTimeFormat(r,o)}),Un=st(e=>{var t=e,{locale:r,format:s}=t,o=Le(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return s?o=Ue("time",s):Object.keys(o).length===0&&(o=Ue("time","short")),new Intl.DateTimeFormat(r,o)}),Gn=(e={})=>{var t=e,{locale:r=Pe()}=t,s=Le(t,["locale"]);return kn(Ot({locale:r},s))},jn=(e={})=>{var t=e,{locale:r=Pe()}=t,s=Le(t,["locale"]);return Dn(Ot({locale:r},s))},$n=(e={})=>{var t=e,{locale:r=Pe()}=t,s=Le(t,["locale"]);return Un(Ot({locale:r},s))},Vn=st((e,t=Pe())=>new wn(e,t,Ae().formats,{ignoreTag:Ae().ignoreTag})),Xn=(e,t={})=>{var r,s,o,n;let a=t;typeof e=="object"&&(a=e,e=a.id);const{values:l,locale:u=Pe(),default:c}=a;if(u==null)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let f=Zr(e,u);if(!f)f=(n=(o=(s=(r=Ae()).handleMissingMessage)==null?void 0:s.call(r,{locale:u,id:e,defaultValue:c}))!=null?o:c)!=null?n:e;else if(typeof f!="string")return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof f}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),f;if(!l)return f;let d=f;try{d=Vn(f,u).format(l)}catch(p){p instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,p.message)}return d},Zn=(e,t)=>$n(t).format(e),Wn=(e,t)=>jn(t).format(e),Qn=(e,t)=>Gn(t).format(e),Jn=(e,t=Pe())=>Zr(e,t),Yn=Ie([we,Oe],()=>Xn);Ie([we],()=>Zn);Ie([we],()=>Wn);Ie([we],()=>Qn);Ie([we,Oe],()=>Jn);window.emWidgets={topic:co};const Kn=e=>!!(e.toLowerCase().match(/android/i)||e.toLowerCase().match(/blackberry|bb/i)||e.toLowerCase().match(/iphone|ipad|ipod/i)||e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));function ei({withLocale:e,translations:t}){we.subscribe(r=>{r==null&&(Oe.set(t),we.set(e))})}function ar(e,t){Qr(e,t)}function ti(e){we.set(e)}const lr={en:{goToLogin:"Back to Sign In",forgotPasswordTitle:"Forgot Password",resetPasswordSubtitle:"Please reset your password.",hasToSetPassTitle:"Reset Password",forgotPasswordEmail:"Email",forgotPasswordEmailInputError:"Email should contain '@' and a 2-3 letter long domain.",forgotPasswordEmailError:"This email does not exist.",forgotPasswordReset:"Reset Password",forgotPasswordSuccess:"Success!",forgotPasswordSuccessDescription:"We sent an email with the instructions to reset your password.",forgotNewPasswordTitle:"New Password",forgotNewPasswordPassword:"Password",forgotNewPasswordPasswordError:"The password should be 8-20 characters long, and contain at least 1 uppercase letter, 1 number and 1 special character.",forgotNewPasswordConfirmPassword:"Confirm Password",forgotNewPasswordConfirmPasswordError:"Confirm password must match the new password and must follow the same rules.",forgotNewPasswordButton:"Change Password",forgotChangePasswordTitle:"Success!",forgotChangePasswordDescription:"Your password has been changed successfully.",forgotChangePasswordLogin:"Click here to Login",simplePasswordError:"Password must be 8-20 characters long."},hr:{goToLogin:"Natrag na prijavu",forgotPasswordTitle:"Zaboravljena lozinka",resetPasswordSubtitle:"Molimo resetirajte svoju lozinku.",hasToSetPassTitle:"Resetiraj Lozinku",forgotPasswordEmail:"Email",forgotPasswordEmailInputError:"Email treba sadržavati '@' i domenu od 2-3 slova.",forgotPasswordEmailError:"Ovaj email ne postoji.",forgotPasswordReset:"Resetiranje lozinke",forgotPasswordSuccess:"Uspjelo!",forgotPasswordSuccessDescription:"Poslali smo e-mail s uputama za ponovno postavljanje lozinke.",forgotNewPasswordTitle:"Nova Lozinka",forgotNewPasswordPassword:"Lozinka",forgotNewPasswordPasswordError:"Lozinka bi trebala imati 8-20 znakova",forgotNewPasswordConfirmPassword:"Potvrdi lozinku",forgotNewPasswordConfirmPasswordError:"Lozinka za potvrdu mora odgovarati novoj lozinci i mora slijediti ista pravila.",forgotNewPasswordButton:"Promjena lozinke",forgotChangePasswordTitle:"Uspjelo!",forgotChangePasswordDescription:"Vaša lozinka je uspješno promijenjena.",forgotChangePasswordLogin:"Kliknite ovdje za prijavu",simplePasswordError:"Lozinka mora imati 8-20 znakova.","forgotPasswordE-mail":"E-mail","forgotPasswordE-mailInputError":"E-mail treba sadržavati '@' i domenu od 2-3 slova.","forgotPasswordE-mailError":"Ovaj E-mail ne postoji."},"zh-hk":{goToLogin:"返回登錄",forgotPasswordTitle:"忘記密碼",resetPasswordSubtitle:"Please reset your password.",hasToSetPassTitle:"Reset Password",forgotPasswordEmail:"電子郵件",forgotPasswordEmailInputError:"电子邮件应包含“@”和 2-3 个字母长的域。",forgotPasswordEmailError:"此電子郵件不存在。",forgotPasswordReset:"重設密碼",forgotPasswordSuccess:"成功!",forgotPasswordSuccessDescription:"我們發送了一封電子郵件,其中包含重置密碼的說明。",forgotNewPasswordTitle:"新密碼",forgotNewPasswordPassword:"密碼",forgotNewPasswordPasswordError:"密碼長度為 8-20 個字符,至少包含 1 個大寫字母、1 個數字和 1 個特殊字符。",forgotNewPasswordConfirmPassword:"確認密碼",forgotNewPasswordConfirmPasswordError:"確認密碼必須與新密碼匹配,並且必須遵循相同的規則。",forgotNewPasswordButton:"更改密碼",forgotChangePasswordTitle:"成功!",forgotChangePasswordDescription:"你已經成功更改密碼。",forgotChangePasswordLogin:"點擊此處登錄",simplePasswordError:"密码长度必须为 8-20 个字符。"},fr:{goToLogin:"Retour à la page d'accueil",forgotPasswordTitle:"Mot de passe oublié",resetPasswordSubtitle:"Please reset your password.",hasToSetPassTitle:"Reset Password",forgotPasswordEmail:"Email",forgotPasswordEmailInputError:"L'e-mail doit contenir '@' et un domaine de 2-3 lettres.",forgotPasswordEmailError:"Cette adresse mail n'existe pas",forgotPasswordReset:"Réinitialiser le mot de passe",forgotPasswordSuccess:"Succès!",forgotPasswordSuccessDescription:"Nous vous avons envoyé un e-mail contenant les instructions pour reinitialiser votre mot de passe.",forgotNewPasswordTitle:"Nouveau mot de passe",forgotNewPasswordPassword:"Mot de passe",forgotNewPasswordPasswordError:"Le mot de passe doit comporter de 8 à 20 charactères et contenir au moins une lettre majuscule, un chiffre et un caractère spécial",forgotNewPasswordConfirmPassword:"Confirmer le mot de passe",forgotNewPasswordConfirmPasswordError:"Le mot de passe de confirmation doit correspondre au nouveau mot de passe et doit suivre les mêmes règles.",forgotNewPasswordButton:"Modifier le mot de passe",forgotChangePasswordTitle:"Succès!",forgotChangePasswordDescription:"Votre mot de passe a été modifié avec succès.",forgotChangePasswordLogin:"Cliquez ici pour vous connecter",simplePasswordError:"Le mot de passe doit comporter entre 8 et 20 caractères."},tr:{goToLogin:"Oturum Açmaya Geri Dön",forgotPasswordTitle:"Parolanızı mı unuttunuz",resetPasswordSubtitle:"Lütfen şifrenizi sıfırlayın.",hasToSetPassTitle:"Şifreyi yenile",forgotPasswordEmail:"E-posta",forgotPasswordEmailInputError:"E-posta '@' ve 2-3 harf uzunluğunda bir alan adı içermelidir.",forgotPasswordEmailError:"Bu e-posta mevcut değil.",forgotPasswordReset:"Şifreyi yenile",forgotPasswordSuccess:"Başarı!",forgotPasswordSuccessDescription:"Şifrenizi sıfırlama talimatlarını içeren bir e-posta gönderdik.",forgotNewPasswordTitle:"Yeni Şifre",forgotNewPasswordPassword:"Şifre",forgotNewPasswordPasswordError:"Şifre 8-20 karakter uzunluğunda olmalı ve en az 1 büyük harf, 1 rakam ve 1 özel karakter içermelidir.",forgotNewPasswordConfirmPassword:"Şifreyi Onayla",forgotNewPasswordConfirmPasswordError:"Parolayı onayla, yeni parolayla eşleşmeli ve aynı kurallara uymalıdır.",forgotNewPasswordButton:"Şifre değiştir",forgotChangePasswordTitle:"Başarı!",forgotChangePasswordDescription:"Şifreniz başarıyla değiştirildi.",forgotChangePasswordLogin:"Giriş yapmak için buraya tıklayın",simplePasswordError:"Şifre 8-20 karakter uzunluğunda olmalı ve en az 1 büyük harf, 1 rakam ve 1 özel karakter içermelidir."},ro:{goToLogin:"Inapoi la autentificare",forgotPasswordTitle:"Parolă Uitată",resetPasswordSubtitle:"Vă rugăm sa resetați parola.",hasToSetPassTitle:"Resetează parola",forgotPasswordEmail:"Email",forgotPasswordEmailInputError:"Email-ul ar trebui să conțină '@' și 2-3 litere.",forgotPasswordEmailError:"Acest email nu există",forgotPasswordReset:"Resetează parola",forgotPasswordSuccess:"Succes!",forgotPasswordSuccessDescription:"Am trimis un email cu instrucțiunile pentru resetarea parolei.",forgotNewPasswordTitle:"Noua parolă",forgotNewPasswordPassword:"Parola",forgotNewPasswordPasswordError:"Parola trebuie să fie între 8 si 20 de caractere, să contțină o literă mare, o cifră și un caracter special",forgotNewPasswordConfirmPassword:"Confirma parola",forgotNewPasswordConfirmPasswordError:"Parola confirmată trebuie să fie la fel ca parola nouă și să respecte aceleași reguli",forgotNewPasswordButton:"Schimbă parola",forgotChangePasswordTitle:"Succes!",forgotChangePasswordDescription:"Parola a fost schimbată cu succes.",forgotChangePasswordLogin:"Autentificare",simplePasswordError:"Parola trebuie să aibă 8-20 de caractere."},es:{goToLogin:"Volver a iniciar sesión",forgotPasswordTitle:"Olvide mi contraseña",resetPasswordSubtitle:"Please reset your password.",hasToSetPassTitle:"Reset Password",forgotPasswordEmail:"Email",forgotPasswordEmailInputError:"Email debe contener '@' y 2-3 letras de longitud.",forgotPasswordEmailError:"Este Email no existe",forgotPasswordReset:"Reestablecer contraseña",forgotPasswordSuccess:"Éxito!",forgotPasswordSuccessDescription:"Te hemos enviado un Email con las instrucciones para Reestablecer tu contraseña.",forgotNewPasswordTitle:"Nueva contraseña",forgotNewPasswordPassword:"Contraseña",forgotNewPasswordPasswordError:"La contraseña debe tener entre 8 a 20 caracteres y contener al menos 1 letra mayúscula, 1 número y 1 carácter especial.",forgotNewPasswordConfirmPassword:"Confirmar constraseña",forgotNewPasswordConfirmPasswordError:"Confirmar contraseña debe coincidir con la Nueva contraseña y debe seguir las mismas reglas.",forgotNewPasswordButton:"Cambiar Contraseña",forgotChangePasswordTitle:"Éxito!!",forgotChangePasswordDescription:"Tu contraseña se ha cambiado con éxito",forgotChangePasswordLogin:"Click aquí para Iniciar sesión",simplePasswordError:"La contraseña debe tener entre 8 a 20 caracteres"},pt:{goToLogin:"Voltar a Entrar",forgotPasswordTitle:"Esqueceu sua senha",resetPasswordSubtitle:"Please reset your password.",hasToSetPassTitle:"Reset Password",forgotPasswordEmail:"E-mail",forgotPasswordEmailInputError:"O e-mail deve conter '@' e um domínio de 2 a 3 letras.",forgotPasswordEmailError:"Este e-mail não existe.",forgotPasswordReset:"Redefinir senha",forgotPasswordSuccess:"Sucesso!",forgotPasswordSuccessDescription:"Enviamos um e-mail com as instruções para redefinir sua senha.",forgotNewPasswordTitle:"Senha",forgotNewPasswordPassword:"Password",forgotNewPasswordPasswordError:"A senha deve ter de 8 a 20 caracteres e conter pelo menos 1 letra maiúscula, 1 número e 1 caractere especial.",forgotNewPasswordConfirmPassword:"Confirme sua senha",forgotNewPasswordConfirmPasswordError:"A senha de confirmação deve corresponder à nova senha e deve seguir as mesmas regras.",forgotNewPasswordButton:"Mudar senha",forgotChangePasswordTitle:"Sucesso!",forgotChangePasswordDescription:"Sua senha foi alterada com sucesso.",forgotChangePasswordLogin:"Clique aqui para entrar",simplePasswordError:"A senha deve ter de 8 a 20 caracteres."}},{document:ur}=Ns;function ri(e){zs(e,"svelte-19qz969",".svelte-19qz969.svelte-19qz969,.svelte-19qz969.svelte-19qz969::before,.svelte-19qz969.svelte-19qz969::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}input.svelte-19qz969.svelte-19qz969{font-family:inherit}.GeneralPlayerForgotPasswordForm.svelte-19qz969.svelte-19qz969{height:auto}.backButtonForgotPassword.svelte-19qz969.svelte-19qz969{display:inline-flex;color:var(--emw--registration-contrast, var(--emw--color-typography-cotrast, #444444));height:24px;line-height:24px;border-radius:var(--emw--border-radius-medium, 15px);border:none;background:transparent;padding:0;text-transform:uppercase;font-size:var(--emw--font-size-medium, 16px);cursor:pointer;margin-bottom:30px}.backButtonForgotPassword.svelte-19qz969 svg.svelte-19qz969{width:24px;height:24px;margin-right:20px;fill:var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E))}.FormContainer.svelte-19qz969.svelte-19qz969{width:100%}.FormForgotPassword.svelte-19qz969.svelte-19qz969{background:var(--emw--registration-color-bg, var(--emw--color-gray-50, #F9F8F8))}.FormHeaderTitle.svelte-19qz969.svelte-19qz969{color:var(--emw--registration-contrast, var(--emw--color-typography-cotrast, #444444));font-size:var(--emw--font-size-large, 20px);font-weight:var(--emw--font-weight-light, 300);padding:0;text-transform:uppercase;margin:0}.FormHeaderSubtitle.svelte-19qz969.svelte-19qz969{color:var(--emw--registration-contrast, var(--emw--color-typography-cotrast, #444444));font-weight:var(--emw--font-weight-light, 300);padding-top:14px}.FormRequired.svelte-19qz969.svelte-19qz969{color:var(--emw--color-error, #ed0909)}.ForgotPasswordError.svelte-19qz969.svelte-19qz969{color:var(--emw--color-error, #ed0909);font-size:10px;line-height:10px;margin-top:10px}.FormContent.svelte-19qz969.svelte-19qz969{padding-top:20px}.NewPasswordSuccess.svelte-19qz969.svelte-19qz969{display:flex;flex-direction:column;flex-wrap:nowrap;justify-content:space-around;align-items:center}.NewPasswordSuccess.svelte-19qz969 h4.svelte-19qz969{margin-top:10px;color:var(--emw--color-valid, var(--emw--color-valid, #48952a));font-size:28px;font-weight:500;padding:0;text-transform:uppercase}.NewPasswordSuccess.svelte-19qz969 p.svelte-19qz969{text-align:center;font-size:var(--emw--font-size-medium, 16px);color:var(--emw--registration-contrast, var(--emw--color-typography-cotrast, #444444));text-transform:initial;padding:15px 0;margin-bottom:110px}.TogglePasswordVisibility.svelte-19qz969.svelte-19qz969{height:19px;position:absolute;right:8px;top:34px;cursor:pointer}.TogglePasswordVisibility.InvalidToggle.svelte-19qz969 path.svelte-19qz969,.TogglePasswordVisibility.InvalidToggle.svelte-19qz969 circle.svelte-19qz969,.TogglePasswordVisibility.InvalidToggle.svelte-19qz969 rect.svelte-19qz969{fill:var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E))}.TogglePasswordVisibility.svelte-19qz969 path.svelte-19qz969,.TogglePasswordVisibility.svelte-19qz969 circle.svelte-19qz969,.TogglePasswordVisibility.svelte-19qz969 rect.svelte-19qz969{fill:var(--emw--registration-contrast, var(--emw--color-typography-cotrast, #444444))}.ResetPasswordByEmail.svelte-19qz969.svelte-19qz969,.NewPassword.svelte-19qz969.svelte-19qz969,.ConfirmPassword.svelte-19qz969.svelte-19qz969{color:var(--emw--registration-contrast, var(--emw--color-typography-cotrast, #444444));display:flex;flex-direction:column;padding-bottom:20px;position:relative}.ResetPasswordByEmail.svelte-19qz969 label.svelte-19qz969,.NewPassword.svelte-19qz969 label.svelte-19qz969,.ConfirmPassword.svelte-19qz969 label.svelte-19qz969{font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-light, 300);padding-bottom:5px}.ResetPasswordByEmail.svelte-19qz969 input.svelte-19qz969,.NewPassword.svelte-19qz969 input.svelte-19qz969,.ConfirmPassword.svelte-19qz969 input.svelte-19qz969{width:100%;height:44px;border-radius:var(--emw--border-radius-medium, 15px);border:1px solid var(--emw--registration-contrast, var(--emw--color-typography-cotrast, #444444));padding:5px;font-size:var(--emw--font-size-small, 14px);box-sizing:border-box;padding:5px 15px;font-size:var(--emw--font-size-medium, 16px);line-height:18px}.ResetPasswordByEmail.svelte-19qz969 input.svelte-19qz969:focus,.NewPassword.svelte-19qz969 input.svelte-19qz969:focus,.ConfirmPassword.svelte-19qz969 input.svelte-19qz969:focus{border:2px solid var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E));outline:none}.ResetPasswordByEmail.InvalidField.svelte-19qz969 input.svelte-19qz969{border:1px solid var(--emw--color-error, #ed0909);background:var(--emw--color-pale, #FBECF4);color:var(--emw--registration-contrast, var(--emw--color-typography-cotrast, #444444))}.resetPasswordButton.svelte-19qz969.svelte-19qz969{background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, black 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, white 30%));border:2px solid var(--emw--button-border-color, #0E5924);border-radius:var(--emw--button-border-radius, 50px);color:var(--emw--button-typography, var(--emw--button-text-color, #FFFFFF));font-family:var(--emw--button-typography);width:100%;height:60px;padding:0;text-transform:uppercase;font-size:var(--emw--font-size-medium, 16px);cursor:pointer}.resetPasswordButton[disabled].svelte-19qz969.svelte-19qz969{background:var(--emw--color-gray-100, #E6E6E6);border:1px solid var(--emw--color-gray-150, #828282);cursor:not-allowed}.ResetPasswordByEmail.svelte-19qz969.svelte-19qz969,.NewPassword.svelte-19qz969.svelte-19qz969,.ConfirmPassword.svelte-19qz969.svelte-19qz969{padding-bottom:30px}.InvalidInput.svelte-19qz969.svelte-19qz969{color:var(--emw--color-error, #ed0909);font-size:10px;position:absolute;bottom:10px;line-height:10px}.ErrorMessage.svelte-19qz969.svelte-19qz969{margin:0 0 15px 0;font-size:var(--emw--font-size-x-small, 12px);color:var(--emw--color-error, #ed0909)}.FormForgotPassword.svelte-19qz969.svelte-19qz969{padding:50px}.FormMobileContainer.svelte-19qz969.svelte-19qz969{height:100%;background-color:var(--emw--color-gray-50, #F9F8F8)}.FormMobileContainer.svelte-19qz969 .resetPasswordButton.svelte-19qz969,.FormMobileContainer.svelte-19qz969 .ResetPasswordByEmail input.svelte-19qz969{max-width:unset;border-radius:var(--emw--border-radius-medium, 15px)}.FormMobileContainer.svelte-19qz969.svelte-19qz969{height:100%}.FormMobileContainer.svelte-19qz969 .FormForgotPassword.svelte-19qz969{padding:40px 20px}.FormMobileContainer.svelte-19qz969 .resetPasswordButton.svelte-19qz969,.FormMobileContainer.svelte-19qz969 .UserContainer input.svelte-19qz969{max-width:unset}input.svelte-19qz969.svelte-19qz969::-ms-reveal,input.svelte-19qz969.svelte-19qz969::-ms-clear{display:none}")}function cr(e){let t,r;return{c(){t=y("script"),Mt(t.src,r="//www.google.com/recaptcha/api.js?render="+e[0])||i(t,"src",r),t.async=!0,t.defer=!0,i(t,"class","svelte-19qz969")},m(s,o){M(s,t,o)},p(s,o){o[0]&1&&!Mt(t.src,r="//www.google.com/recaptcha/api.js?render="+s[0])&&i(t,"src",r)},d(s){s&&q(t)}}}function si(e){let t,r;function s(a,l){if(a[4])return ai;if(a[6])return ii;if(a[8])return ni;if(a[9])return oi}let o=s(e),n=o&&o(e);return{c(){t=y("div"),n&&n.c(),i(t,"class",r="FormContainer "+(e[10]?"FormMobileContainer":"")+" svelte-19qz969")},m(a,l){M(a,t,l),n&&n.m(t,null)},p(a,l){o===(o=s(a))&&n?n.p(a,l):(n&&n.d(1),n=o&&o(a),n&&(n.c(),n.m(t,null))),l[0]&1024&&r!==(r="FormContainer "+(a[10]?"FormMobileContainer":"")+" svelte-19qz969")&&i(t,"class",r)},d(a){a&&q(t),n&&n.d()}}}function oi(e){let t,r,s,o,n,a,l,u,c,f,d,p,m,w,g,_=e[26]("forgotChangePasswordTitle")+"",E,P,T,x=e[26]("forgotChangePasswordDescription")+"",A,O,I,ue=e[26]("forgotChangePasswordLogin")+"",k,ae,D;return{c(){t=y("div"),r=y("div"),s=y("div"),o=b("svg"),n=b("defs"),a=b("style"),l=C(".a{fill:var(--emw--color-valid, var(--emw--color-valid, #48952a));}.b,.d{fill:none;}.b{stroke:var(--emw--color-valid, var(--emw--color-green, #48952a));stroke-width:2px;}.c{stroke:none;}"),u=b("g"),c=b("g"),f=b("path"),d=b("g"),p=b("circle"),m=b("circle"),w=F(),g=y("h4"),E=C(_),P=F(),T=y("p"),A=C(x),O=F(),I=y("button"),k=C(ue),i(a,"class","svelte-19qz969"),i(n,"class","svelte-19qz969"),i(f,"class","a svelte-19qz969"),i(f,"d","M16.1,28,0,11.9,3.267,8.633,16.1,21.233,37.333,0,40.6,3.267Z"),i(f,"transform","translate(264.272 482.563)"),i(c,"transform","translate(-7360.574 8503.438)"),i(c,"class","svelte-19qz969"),i(p,"class","c svelte-19qz969"),i(p,"cx","30"),i(p,"cy","30"),i(p,"r","30"),i(m,"class","d svelte-19qz969"),i(m,"cx","30"),i(m,"cy","30"),i(m,"r","29"),i(d,"class","b svelte-19qz969"),i(d,"transform","translate(-7106 8970)"),i(u,"transform","translate(7106 -8970)"),i(u,"class","svelte-19qz969"),i(o,"xmlns","http://www.w3.org/2000/svg"),i(o,"width","60"),i(o,"height","60"),i(o,"viewBox","0 0 60 60"),i(o,"class","svelte-19qz969"),i(g,"class","svelte-19qz969"),i(T,"class","svelte-19qz969"),i(s,"class","NewPasswordSuccess svelte-19qz969"),i(s,"part","NewPasswordSuccess"),i(I,"class","resetPasswordButton svelte-19qz969"),i(I,"part","resetPasswordButton"),i(r,"class","FormContent svelte-19qz969"),i(r,"part","FormContent"),i(t,"class","FormForgotPassword svelte-19qz969"),i(t,"part","FormForgotPassword")},m(j,$){M(j,t,$),h(t,r),h(r,s),h(s,o),h(o,n),h(n,a),h(a,l),h(o,u),h(u,c),h(c,f),h(u,d),h(d,p),h(d,m),h(s,w),h(s,g),h(g,E),h(s,P),h(s,T),h(T,A),h(r,O),h(r,I),h(I,k),ae||(D=ie(I,"click",e[53]),ae=!0)},p(j,$){$[0]&67108864&&_!==(_=j[26]("forgotChangePasswordTitle")+"")&&G(E,_),$[0]&67108864&&x!==(x=j[26]("forgotChangePasswordDescription")+"")&&G(A,x),$[0]&67108864&&ue!==(ue=j[26]("forgotChangePasswordLogin")+"")&&G(k,ue)},d(j){j&&q(t),ae=!1,D()}}}function ni(e){let t,r,s,o,n,a,l,u,c,f=e[26]("forgotNewPasswordPassword")+"",d,p,m,w,g,_,E,P,T,x,A,O=e[26]("forgotNewPasswordConfirmPassword")+"",I,ue,k,ae,D,j,$,he,J,Z,Y=e[26]("forgotNewPasswordButton")+"",K,ee,pe,V,H=e[25]&&fr(e);function X(ce,U){return ce[19]?ui:li}let N=X(e),L=N(e),te=e[15]&&hr(e);function Ge(ce,U){return ce[20]?di:hi}let me=Ge(e),oe=me(e),W=e[16]&&dr(e),re=e[23]&&pr(e);return{c(){t=y("div"),r=y("div"),s=y("h4"),o=C(e[24]),n=F(),H&&H.c(),a=F(),l=y("form"),u=y("div"),c=y("label"),d=C(f),p=C(":"),m=y("span"),m.textContent="*",w=F(),g=y("input"),E=F(),L.c(),P=F(),te&&te.c(),T=F(),x=y("div"),A=y("label"),I=C(O),ue=C(":"),k=y("span"),k.textContent="*",ae=F(),D=y("input"),j=F(),oe.c(),$=F(),W&&W.c(),he=F(),re&&re.c(),J=F(),Z=y("button"),K=C(Y),i(s,"class","FormHeaderTitle svelte-19qz969"),i(s,"part","FormHeaderTitle"),i(r,"class","FormHeader svelte-19qz969"),i(r,"part","FormHeader"),i(m,"class","FormRequired svelte-19qz969"),i(m,"part","FormRequired"),i(c,"for","NewPassword"),i(c,"class","svelte-19qz969"),i(g,"type","password"),i(g,"id","new-password"),i(g,"autocomplete",_=e[2]?"new-password":"off"),i(g,"class","svelte-19qz969"),i(u,"class","NewPassword svelte-19qz969"),i(u,"part","NewPassword"),i(k,"class","FormRequired svelte-19qz969"),i(k,"part","FormRequired"),i(A,"for","RetypePassword"),i(A,"class","svelte-19qz969"),i(D,"type","password"),i(D,"id","RetypePassword"),i(D,"class","svelte-19qz969"),i(x,"class","ConfirmPassword svelte-19qz969"),i(x,"part","ConfirmPassword"),i(Z,"class","resetPasswordButton svelte-19qz969"),i(Z,"part","resetPasswordButton"),Z.disabled=ee=!e[14],i(l,"class","FormContent svelte-19qz969"),i(l,"part","FormContent"),i(t,"class","FormForgotPassword test svelte-19qz969"),i(t,"part","FormForgotPassword test")},m(ce,U){M(ce,t,U),h(t,r),h(r,s),h(s,o),h(r,n),H&&H.m(r,null),h(t,a),h(t,l),h(l,u),h(u,c),h(c,d),h(c,p),h(c,m),h(u,w),h(u,g),Se(g,e[21]),e[45](g),h(u,E),L.m(u,null),h(u,P),te&&te.m(u,null),h(l,T),h(l,x),h(x,A),h(A,I),h(A,ue),h(A,k),h(x,ae),h(x,D),Se(D,e[22]),e[49](D),h(x,j),oe.m(x,null),h(x,$),W&&W.m(x,null),h(l,he),re&&re.m(l,null),h(l,J),h(l,Z),h(Z,K),pe||(V=[ie(g,"input",e[44]),ie(g,"keyup",function(){Me(e[32](e[15],e[21],e[17]))&&e[32](e[15],e[21],e[17]).apply(this,arguments)}),ie(D,"input",e[48]),ie(D,"keyup",function(){Me(e[32](e[16],e[22],e[18]))&&e[32](e[16],e[22],e[18]).apply(this,arguments)}),ie(Z,"click",e[52])],pe=!0)},p(ce,U){e=ce,U[0]&16777216&&G(o,e[24]),e[25]?H?H.p(e,U):(H=fr(e),H.c(),H.m(r,null)):H&&(H.d(1),H=null),U[0]&67108864&&f!==(f=e[26]("forgotNewPasswordPassword")+"")&&G(d,f),U[0]&4&&_!==(_=e[2]?"new-password":"off")&&i(g,"autocomplete",_),U[0]&2097152&&g.value!==e[21]&&Se(g,e[21]),N===(N=X(e))&&L?L.p(e,U):(L.d(1),L=N(e),L&&(L.c(),L.m(u,P))),e[15]?te?te.p(e,U):(te=hr(e),te.c(),te.m(u,null)):te&&(te.d(1),te=null),U[0]&67108864&&O!==(O=e[26]("forgotNewPasswordConfirmPassword")+"")&&G(I,O),U[0]&4194304&&D.value!==e[22]&&Se(D,e[22]),me===(me=Ge(e))&&oe?oe.p(e,U):(oe.d(1),oe=me(e),oe&&(oe.c(),oe.m(x,$))),e[16]?W?W.p(e,U):(W=dr(e),W.c(),W.m(x,null)):W&&(W.d(1),W=null),e[23]?re?re.p(e,U):(re=pr(e),re.c(),re.m(l,J)):re&&(re.d(1),re=null),U[0]&67108864&&Y!==(Y=e[26]("forgotNewPasswordButton")+"")&&G(K,Y),U[0]&16384&&ee!==(ee=!e[14])&&(Z.disabled=ee)},d(ce){ce&&q(t),H&&H.d(),e[45](null),L.d(),te&&te.d(),e[49](null),oe.d(),W&&W.d(),re&&re.d(),pe=!1,ye(V)}}}function ii(e){let t,r,s,o,n,a,l,u,c,f,d,p,m,w,g,_=e[26]("forgotPasswordSuccess")+"",E,P,T,x=e[26]("forgotPasswordSuccessDescription")+"",A;return{c(){t=y("div"),r=y("div"),s=y("div"),o=b("svg"),n=b("defs"),a=b("style"),l=C(".a{fill:#16ce16;}.b,.d{fill:none;}.b{stroke:#16ce16;stroke-width:2px;}.c{stroke:none;}"),u=b("g"),c=b("g"),f=b("path"),d=b("g"),p=b("circle"),m=b("circle"),w=F(),g=y("h4"),E=C(_),P=F(),T=y("p"),A=C(x),i(a,"class","svelte-19qz969"),i(n,"class","svelte-19qz969"),i(f,"class","a svelte-19qz969"),i(f,"d","M16.1,28,0,11.9,3.267,8.633,16.1,21.233,37.333,0,40.6,3.267Z"),i(f,"transform","translate(264.272 482.563)"),i(c,"transform","translate(-7360.574 8503.438)"),i(c,"class","svelte-19qz969"),i(p,"class","c svelte-19qz969"),i(p,"cx","30"),i(p,"cy","30"),i(p,"r","30"),i(m,"class","d svelte-19qz969"),i(m,"cx","30"),i(m,"cy","30"),i(m,"r","29"),i(d,"class","b svelte-19qz969"),i(d,"transform","translate(-7106 8970)"),i(u,"transform","translate(7106 -8970)"),i(u,"class","svelte-19qz969"),i(o,"xmlns","http://www.w3.org/2000/svg"),i(o,"width","60"),i(o,"height","60"),i(o,"viewBox","0 0 60 60"),i(o,"class","svelte-19qz969"),i(g,"class","svelte-19qz969"),i(T,"class","svelte-19qz969"),i(s,"class","NewPasswordSuccess svelte-19qz969"),i(s,"part","NewPasswordSuccess"),i(r,"class","FormContent svelte-19qz969"),i(r,"part","FormContent"),i(t,"class","FormForgotPassword svelte-19qz969"),i(t,"part","FormForgotPassword")},m(O,I){M(O,t,I),h(t,r),h(r,s),h(s,o),h(o,n),h(n,a),h(a,l),h(o,u),h(u,c),h(c,f),h(u,d),h(d,p),h(d,m),h(s,w),h(s,g),h(g,E),h(s,P),h(s,T),h(T,A)},p(O,I){I[0]&67108864&&_!==(_=O[26]("forgotPasswordSuccess")+"")&&G(E,_),I[0]&67108864&&x!==(x=O[26]("forgotPasswordSuccessDescription")+"")&&G(A,x)},d(O){O&&q(t)}}}function ai(e){let t,r,s,o,n,a,l,u,c,f=e[26]("goToLogin")+"",d,p,m,w,g,_,E,P,T,x=e[26]("forgotPasswordEmail")+"",A,O,I,ue,k,ae,D,j,$,he,J,Z=e[26]("forgotPasswordReset")+"",Y,K,ee,pe,V=e[25]&&mr(e),H=e[11]&&gr(e),X=e[5]&&vr(e);return{c(){t=y("div"),r=y("div"),s=y("button"),o=b("svg"),n=b("defs"),a=b("style"),l=C(".a{fill:var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E));}"),u=b("path"),c=F(),d=C(f),p=F(),m=y("h4"),w=C(e[24]),g=F(),V&&V.c(),_=F(),E=y("form"),P=y("div"),T=y("label"),A=C(x),O=C(":"),I=y("span"),I.textContent="*",ue=F(),k=y("input"),ae=F(),H&&H.c(),D=F(),X&&X.c(),he=F(),J=y("button"),Y=C(Z),i(a,"class","svelte-19qz969"),i(n,"class","svelte-19qz969"),i(u,"class","a svelte-19qz969"),i(u,"d","M12,0,9.818,2.182l8.26,8.26H0v3.117H18.078l-8.26,8.26L12,24,24,12Z"),i(u,"transform","translate(24 24) rotate(180)"),i(o,"xmlns","http://www.w3.org/2000/svg"),i(o,"viewBox","0 0 24 24"),i(o,"class","svelte-19qz969"),i(s,"class","backButtonForgotPassword svelte-19qz969"),i(m,"class","FormHeaderTitle svelte-19qz969"),i(m,"part","FormHeaderTitle"),i(r,"class","FormHeader svelte-19qz969"),i(I,"class","FormRequired svelte-19qz969"),i(I,"part","FormRequired"),i(T,"for","ResetPasswordByEmail"),i(T,"class","svelte-19qz969"),i(k,"type","text"),i(k,"id","ResetPasswordByEmail"),i(k,"class","svelte-19qz969"),i(P,"class",j="ResetPasswordByEmail "+(e[11]?"InvalidField":"")+" svelte-19qz969"),i(P,"part",$="ResetPasswordByEmail "+(e[11]?"InvalidField":"")),i(J,"class","resetPasswordButton svelte-19qz969"),i(J,"part","resetPasswordButton"),J.disabled=K=!e[12],i(E,"class","FormContent svelte-19qz969"),i(E,"part","FormContent"),i(t,"class","FormForgotPassword svelte-19qz969")},m(N,L){M(N,t,L),h(t,r),h(r,s),h(s,o),h(o,n),h(n,a),h(a,l),h(o,u),h(s,c),h(s,d),h(r,p),h(r,m),h(m,w),h(r,g),V&&V.m(r,null),h(t,_),h(t,E),h(E,P),h(P,T),h(T,A),h(T,O),h(T,I),h(P,ue),h(P,k),Se(k,e[7]),h(P,ae),H&&H.m(P,null),h(P,D),X&&X.m(P,null),h(E,he),h(E,J),h(J,Y),ee||(pe=[ie(s,"click",e[41]),ie(k,"input",e[42]),ie(k,"keyup",e[27]),ie(J,"click",e[43])],ee=!0)},p(N,L){L[0]&67108864&&f!==(f=N[26]("goToLogin")+"")&&G(d,f),L[0]&16777216&&G(w,N[24]),N[25]?V?V.p(N,L):(V=mr(N),V.c(),V.m(r,null)):V&&(V.d(1),V=null),L[0]&67108864&&x!==(x=N[26]("forgotPasswordEmail")+"")&&G(A,x),L[0]&128&&k.value!==N[7]&&Se(k,N[7]),N[11]?H?H.p(N,L):(H=gr(N),H.c(),H.m(P,D)):H&&(H.d(1),H=null),N[5]?X?X.p(N,L):(X=vr(N),X.c(),X.m(P,null)):X&&(X.d(1),X=null),L[0]&2048&&j!==(j="ResetPasswordByEmail "+(N[11]?"InvalidField":"")+" svelte-19qz969")&&i(P,"class",j),L[0]&2048&&$!==($="ResetPasswordByEmail "+(N[11]?"InvalidField":""))&&i(P,"part",$),L[0]&67108864&&Z!==(Z=N[26]("forgotPasswordReset")+"")&&G(Y,Z),L[0]&4096&&K!==(K=!N[12])&&(J.disabled=K)},d(N){N&&q(t),V&&V.d(),H&&H.d(),X&&X.d(),ee=!1,ye(pe)}}}function fr(e){let t,r;return{c(){t=y("p"),r=C(e[25]),i(t,"class","FormHeaderSubtitle svelte-19qz969"),i(t,"part","FormHeaderSubtitle")},m(s,o){M(s,t,o),h(t,r)},p(s,o){o[0]&33554432&&G(r,s[25])},d(s){s&&q(t)}}}function li(e){let t,r,s,o,n,a,l,u,c,f;return{c(){t=b("svg"),r=b("defs"),s=b("style"),o=C(".a{fill:var(--emw--color-white, #FFFFFF);}"),n=b("g"),a=b("path"),l=b("circle"),i(s,"class","svelte-19qz969"),i(r,"class","svelte-19qz969"),i(a,"class","a svelte-19qz969"),i(a,"d","M23.541,38.332a11.467,11.467,0,0,1-4.886-1.611,34.413,34.413,0,0,1-3.976-2.469,1.1,1.1,0,0,1-.494-.936,1.21,1.21,0,0,1,.442-.962A37.986,37.986,0,0,1,18.6,29.625a16.06,16.06,0,0,1,2.521-1.248,6.862,6.862,0,0,1,2.417-.546,6.862,6.862,0,0,1,2.417.546,20.541,20.541,0,0,1,2.547,1.248,45.872,45.872,0,0,1,4.054,2.729,1.159,1.159,0,0,1,.468.962,1.067,1.067,0,0,1-.52.936,36.353,36.353,0,0,1-4.054,2.469A11.2,11.2,0,0,1,23.541,38.332Zm0-9.46a9.813,9.813,0,0,0-4.392,1.663,44.138,44.138,0,0,0-3.873,2.651.13.13,0,0,0,0,.208,36.5,36.5,0,0,0,3.873,2.391,10.372,10.372,0,0,0,4.392,1.481,11.051,11.051,0,0,0,4.444-1.481,40.2,40.2,0,0,0,3.925-2.391.13.13,0,0,0,0-.208h0a34.132,34.132,0,0,0-3.925-2.651A10.072,10.072,0,0,0,23.541,28.872Z"),i(a,"transform","translate(0)"),i(l,"class","a svelte-19qz969"),i(l,"cx","2.779"),i(l,"cy","2.779"),i(l,"r","2.779"),i(l,"transform","translate(20.827 30.303)"),i(n,"transform","translate(-14.185 -27.832)"),i(n,"class","svelte-19qz969"),i(t,"class",u="TogglePasswordVisibility "+(e[15]?"InvalidToggle":"")+" svelte-19qz969"),i(t,"xmlns","http://www.w3.org/2000/svg"),i(t,"width","18.843"),i(t,"height","10.5"),i(t,"viewBox","0 0 18.843 10.5")},m(d,p){M(d,t,p),h(t,r),h(r,s),h(s,o),h(t,n),h(n,a),h(n,l),c||(f=ie(t,"click",e[47]),c=!0)},p(d,p){p[0]&32768&&u!==(u="TogglePasswordVisibility "+(d[15]?"InvalidToggle":"")+" svelte-19qz969")&&i(t,"class",u)},d(d){d&&q(t),c=!1,f()}}}function ui(e){let t,r,s,o,n,a,l,u,c,f,d,p,m,w,g,_;return{c(){t=b("svg"),r=b("defs"),s=b("style"),o=C(".a{fill:var(--emw--color-white, #FFFFFF);}"),n=b("g"),a=b("circle"),l=b("g"),u=b("path"),c=b("path"),f=b("g"),d=b("path"),p=b("path"),m=b("rect"),i(s,"class","svelte-19qz969"),i(r,"class","svelte-19qz969"),i(a,"class","a svelte-19qz969"),i(a,"cx","0.05"),i(a,"cy","0.05"),i(a,"r","0.05"),i(a,"transform","translate(121.017 31.148)"),i(u,"class","a svelte-19qz969"),i(u,"d","M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z"),i(u,"transform","translate(-142.164 -39.123)"),i(c,"class","a svelte-19qz969"),i(c,"d","M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z"),i(c,"transform","translate(-136.413 -42.068)"),i(l,"transform","translate(117.499 27.37)"),i(l,"class","svelte-19qz969"),i(d,"class","a svelte-19qz969"),i(d,"d","M122.538,42.061a7.043,7.043,0,0,1-2.325.53,10.373,10.373,0,0,1-4.393-1.482,36.509,36.509,0,0,1-3.873-2.391.13.13,0,0,1,0-.208,44.141,44.141,0,0,1,3.873-2.651c.394-.233.768-.437,1.13-.622l-.686-.838c-.322.167-.651.347-.99.55a37.989,37.989,0,0,0-3.977,2.729,1.21,1.21,0,0,0-.442.962,1.1,1.1,0,0,0,.494.936,34.416,34.416,0,0,0,3.977,2.469,11.468,11.468,0,0,0,4.886,1.611,8.427,8.427,0,0,0,3.039-.725Z"),i(d,"transform","translate(-110.856 -33.157)"),i(p,"class","a svelte-19qz969"),i(p,"d","M149.119,34.14a45.875,45.875,0,0,0-4.055-2.729,20.541,20.541,0,0,0-2.547-1.248,5.6,5.6,0,0,0-4.79-.017l.7.856a5.254,5.254,0,0,1,1.672-.346,10.072,10.072,0,0,1,4.445,1.663,34.132,34.132,0,0,1,3.925,2.651.13.13,0,0,1,0,.208,40.2,40.2,0,0,1-3.925,2.391c-.179.092-.352.176-.525.26l.684.835c.1-.054.2-.1.309-.159a36.356,36.356,0,0,0,4.055-2.469,1.067,1.067,0,0,0,.52-.936A1.159,1.159,0,0,0,149.119,34.14Z"),i(p,"transform","translate(-130.743 -29.617)"),i(f,"transform","translate(110.856 24.899)"),i(f,"class","svelte-19qz969"),i(m,"class","a svelte-19qz969"),i(m,"width","0.972"),i(m,"height","15.861"),i(m,"rx","0.486"),i(m,"transform","translate(114.827 23.858) rotate(-39.315)"),i(n,"transform","translate(-110.856 -23.242)"),i(n,"class","svelte-19qz969"),i(t,"class",w="TogglePasswordVisibility "+(e[15]?"InvalidToggle":"")+" svelte-19qz969"),i(t,"xmlns","http://www.w3.org/2000/svg"),i(t,"width","18.844"),i(t,"height","12.887"),i(t,"viewBox","0 0 18.844 12.887")},m(E,P){M(E,t,P),h(t,r),h(r,s),h(s,o),h(t,n),h(n,a),h(n,l),h(l,u),h(l,c),h(n,f),h(f,d),h(f,p),h(n,m),g||(_=ie(t,"click",e[46]),g=!0)},p(E,P){P[0]&32768&&w!==(w="TogglePasswordVisibility "+(E[15]?"InvalidToggle":"")+" svelte-19qz969")&&i(t,"class",w)},d(E){E&&q(t),g=!1,_()}}}function hr(e){let t;function r(n,a){return n[1]=="true"?fi:ci}let s=r(e),o=s(e);return{c(){o.c(),t=Pr()},m(n,a){o.m(n,a),M(n,t,a)},p(n,a){s===(s=r(n))&&o?o.p(n,a):(o.d(1),o=s(n),o&&(o.c(),o.m(t.parentNode,t)))},d(n){n&&q(t),o.d(n)}}}function ci(e){let t,r=e[26]("forgotNewPasswordPasswordError")+"",s;return{c(){t=y("p"),s=C(r),i(t,"class","InvalidInput svelte-19qz969"),i(t,"part","InvalidInput")},m(o,n){M(o,t,n),h(t,s)},p(o,n){n[0]&67108864&&r!==(r=o[26]("forgotNewPasswordPasswordError")+"")&&G(s,r)},d(o){o&&q(t)}}}function fi(e){let t,r=e[26]("simplePasswordError")+"",s;return{c(){t=y("p"),s=C(r),i(t,"class","InvalidInput svelte-19qz969"),i(t,"part","InvalidInput")},m(o,n){M(o,t,n),h(t,s)},p(o,n){n[0]&67108864&&r!==(r=o[26]("simplePasswordError")+"")&&G(s,r)},d(o){o&&q(t)}}}function hi(e){let t,r,s,o,n,a,l,u,c,f;return{c(){t=b("svg"),r=b("defs"),s=b("style"),o=C(".a{fill:var(--emw--color-white, #FFFFFF);}"),n=b("g"),a=b("path"),l=b("circle"),i(s,"class","svelte-19qz969"),i(r,"class","svelte-19qz969"),i(a,"class","a svelte-19qz969"),i(a,"d","M23.541,38.332a11.467,11.467,0,0,1-4.886-1.611,34.413,34.413,0,0,1-3.976-2.469,1.1,1.1,0,0,1-.494-.936,1.21,1.21,0,0,1,.442-.962A37.986,37.986,0,0,1,18.6,29.625a16.06,16.06,0,0,1,2.521-1.248,6.862,6.862,0,0,1,2.417-.546,6.862,6.862,0,0,1,2.417.546,20.541,20.541,0,0,1,2.547,1.248,45.872,45.872,0,0,1,4.054,2.729,1.159,1.159,0,0,1,.468.962,1.067,1.067,0,0,1-.52.936,36.353,36.353,0,0,1-4.054,2.469A11.2,11.2,0,0,1,23.541,38.332Zm0-9.46a9.813,9.813,0,0,0-4.392,1.663,44.138,44.138,0,0,0-3.873,2.651.13.13,0,0,0,0,.208,36.5,36.5,0,0,0,3.873,2.391,10.372,10.372,0,0,0,4.392,1.481,11.051,11.051,0,0,0,4.444-1.481,40.2,40.2,0,0,0,3.925-2.391.13.13,0,0,0,0-.208h0a34.132,34.132,0,0,0-3.925-2.651A10.072,10.072,0,0,0,23.541,28.872Z"),i(a,"transform","translate(0)"),i(l,"class","a svelte-19qz969"),i(l,"cx","2.779"),i(l,"cy","2.779"),i(l,"r","2.779"),i(l,"transform","translate(20.827 30.303)"),i(n,"transform","translate(-14.185 -27.832)"),i(n,"class","svelte-19qz969"),i(t,"class",u="TogglePasswordVisibility "+(e[16]?"InvalidToggle":"")+" svelte-19qz969"),i(t,"xmlns","http://www.w3.org/2000/svg"),i(t,"width","18.843"),i(t,"height","10.5"),i(t,"viewBox","0 0 18.843 10.5")},m(d,p){M(d,t,p),h(t,r),h(r,s),h(s,o),h(t,n),h(n,a),h(n,l),c||(f=ie(t,"click",e[51]),c=!0)},p(d,p){p[0]&65536&&u!==(u="TogglePasswordVisibility "+(d[16]?"InvalidToggle":"")+" svelte-19qz969")&&i(t,"class",u)},d(d){d&&q(t),c=!1,f()}}}function di(e){let t,r,s,o,n,a,l,u,c,f,d,p,m,w,g,_;return{c(){t=b("svg"),r=b("defs"),s=b("style"),o=C(".a{fill:var(--emw--color-white, #FFFFFF);}"),n=b("g"),a=b("circle"),l=b("g"),u=b("path"),c=b("path"),f=b("g"),d=b("path"),p=b("path"),m=b("rect"),i(s,"class","svelte-19qz969"),i(r,"class","svelte-19qz969"),i(a,"class","a svelte-19qz969"),i(a,"cx","0.05"),i(a,"cy","0.05"),i(a,"r","0.05"),i(a,"transform","translate(121.017 31.148)"),i(u,"class","a svelte-19qz969"),i(u,"d","M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z"),i(u,"transform","translate(-142.164 -39.123)"),i(c,"class","a svelte-19qz969"),i(c,"d","M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z"),i(c,"transform","translate(-136.413 -42.068)"),i(l,"transform","translate(117.499 27.37)"),i(l,"class","svelte-19qz969"),i(d,"class","a svelte-19qz969"),i(d,"d","M122.538,42.061a7.043,7.043,0,0,1-2.325.53,10.373,10.373,0,0,1-4.393-1.482,36.509,36.509,0,0,1-3.873-2.391.13.13,0,0,1,0-.208,44.141,44.141,0,0,1,3.873-2.651c.394-.233.768-.437,1.13-.622l-.686-.838c-.322.167-.651.347-.99.55a37.989,37.989,0,0,0-3.977,2.729,1.21,1.21,0,0,0-.442.962,1.1,1.1,0,0,0,.494.936,34.416,34.416,0,0,0,3.977,2.469,11.468,11.468,0,0,0,4.886,1.611,8.427,8.427,0,0,0,3.039-.725Z"),i(d,"transform","translate(-110.856 -33.157)"),i(p,"class","a svelte-19qz969"),i(p,"d","M149.119,34.14a45.875,45.875,0,0,0-4.055-2.729,20.541,20.541,0,0,0-2.547-1.248,5.6,5.6,0,0,0-4.79-.017l.7.856a5.254,5.254,0,0,1,1.672-.346,10.072,10.072,0,0,1,4.445,1.663,34.132,34.132,0,0,1,3.925,2.651.13.13,0,0,1,0,.208,40.2,40.2,0,0,1-3.925,2.391c-.179.092-.352.176-.525.26l.684.835c.1-.054.2-.1.309-.159a36.356,36.356,0,0,0,4.055-2.469,1.067,1.067,0,0,0,.52-.936A1.159,1.159,0,0,0,149.119,34.14Z"),i(p,"transform","translate(-130.743 -29.617)"),i(f,"transform","translate(110.856 24.899)"),i(f,"class","svelte-19qz969"),i(m,"class","a svelte-19qz969"),i(m,"width","0.972"),i(m,"height","15.861"),i(m,"rx","0.486"),i(m,"transform","translate(114.827 23.858) rotate(-39.315)"),i(n,"transform","translate(-110.856 -23.242)"),i(n,"class","svelte-19qz969"),i(t,"class",w="TogglePasswordVisibility "+(e[16]?"InvalidToggle":"")+" svelte-19qz969"),i(t,"xmlns","http://www.w3.org/2000/svg"),i(t,"width","18.844"),i(t,"height","12.887"),i(t,"viewBox","0 0 18.844 12.887")},m(E,P){M(E,t,P),h(t,r),h(r,s),h(s,o),h(t,n),h(n,a),h(n,l),h(l,u),h(l,c),h(n,f),h(f,d),h(f,p),h(n,m),g||(_=ie(t,"click",e[50]),g=!0)},p(E,P){P[0]&65536&&w!==(w="TogglePasswordVisibility "+(E[16]?"InvalidToggle":"")+" svelte-19qz969")&&i(t,"class",w)},d(E){E&&q(t),g=!1,_()}}}function dr(e){let t,r=e[26]("forgotNewPasswordConfirmPasswordError")+"",s;return{c(){t=y("p"),s=C(r),i(t,"class","InvalidInput svelte-19qz969"),i(t,"part","InvalidInput")},m(o,n){M(o,t,n),h(t,s)},p(o,n){n[0]&67108864&&r!==(r=o[26]("forgotNewPasswordConfirmPasswordError")+"")&&G(s,r)},d(o){o&&q(t)}}}function pr(e){let t,r;return{c(){t=y("p"),r=C(e[13]),i(t,"class","ErrorMessage svelte-19qz969"),i(t,"part","ErrorMessage")},m(s,o){M(s,t,o),h(t,r)},p(s,o){o[0]&8192&&G(r,s[13])},d(s){s&&q(t)}}}function mr(e){let t,r;return{c(){t=y("p"),r=C(e[25]),i(t,"class","FormHeaderSubtitle svelte-19qz969"),i(t,"part","FormHeaderSubtitle")},m(s,o){M(s,t,o),h(t,r)},p(s,o){o[0]&33554432&&G(r,s[25])},d(s){s&&q(t)}}}function gr(e){let t,r=e[26]("forgotPasswordEmailInputError")+"",s;return{c(){t=y("p"),s=C(r),i(t,"class","ForgotPasswordError svelte-19qz969"),i(t,"part","ForgotPasswordError")},m(o,n){M(o,t,n),h(t,s)},p(o,n){n[0]&67108864&&r!==(r=o[26]("forgotPasswordEmailInputError")+"")&&G(s,r)},d(o){o&&q(t)}}}function vr(e){let t,r=e[26]("forgotPasswordEmailError")+"",s;return{c(){t=y("p"),s=C(r),i(t,"class","ForgotPasswordError svelte-19qz969"),i(t,"part","ForgotPasswordError")},m(o,n){M(o,t,n),h(t,s)},p(o,n){n[0]&67108864&&r!==(r=o[26]("forgotPasswordEmailError")+"")&&G(s,r)},d(o){o&&q(t)}}}function pi(e){let t,r,s,o,n,a=e[0]&&cr(e);function l(f,d){return si}let c=l()(e);return{c(){a&&a.c(),t=Pr(),r=F(),s=y("div"),o=F(),n=y("div"),c.c(),i(s,"class","g-recaptcha svelte-19qz969"),i(s,"data-sitekey",e[0]),i(n,"class","GeneralPlayerForgotPasswordForm svelte-19qz969")},m(f,d){a&&a.m(ur.head,null),h(ur.head,t),M(f,r,d),M(f,s,d),M(f,o,d),M(f,n,d),c.m(n,null),e[54](n)},p(f,d){f[0]?a?a.p(f,d):(a=cr(f),a.c(),a.m(t.parentNode,t)):a&&(a.d(1),a=null),d[0]&1&&i(s,"data-sitekey",f[0]),c.p(f,d)},i:de,o:de,d(f){f&&(q(r),q(s),q(o),q(n)),a&&a.d(f),q(t),c.d(),e[54](null)}}}function mi(e,t,r){let s;Hs(e,Yn,v=>r(26,s=v));let{endpoint:o=""}=t,{forgotpasswordkey:n=""}=t,{captchakey:a=""}=t,{lang:l="en"}=t,{simplepasswordvalidation:u="false"}=t,{clientstyling:c=""}=t,{clientstylingurl:f=""}=t,{translationurl:d=""}=t,{savecredentials:p=""}=t,{hastosetpass:m="false"}=t,{passwordregex:w=""}=t,g=!0,_=!1,E=!1,P="",T=!1,x=!1,A=!1,O=!1,I=!1,ue=window.navigator.userAgent,k="",ae=!1,D=!1,j=!1,$,he,J=!1,Z=!1,Y="",K="",ee,pe=!1,V,H;ei({withLocale:"en",translations:{}});const X=()=>{fetch(d).then(Q=>Q.json()).then(Q=>{Object.keys(Q).forEach(ne=>{ar(ne,Q[ne])})}).catch(Q=>{console.log(Q)})};Object.keys(lr).forEach(v=>{ar(v,lr[v])});const N={email:/^(([^<>()[\]\.,;:\s@\"]+(\.[^<>()[\]\.,;:\s@\"]+)*)|(\".+\"))@(([^<>()[\]\.,;:\s@\"]+\.)+[^<>()[\]\.,;:\s@\"]{2,})$/i,password:/^(?=.*?[A-Z])(?=.*?[a-z])(?=.*?[0-9])(?=.*?[^\w\s]).{8,20}$/},L=()=>{O?r(12,I=!1):r(12,I=!0)},te=v=>!!(N.email.test(v)&&v.length<=100),Ge=()=>{r(11,O=!te(P)),L()},me=v=>{switch(v){case"userNewPassword":r(19,J=!J),r(17,$.type=J?"text":"password",$);break;case"userConfirmPassword":r(20,Z=!Z),r(18,he.type=Z?"text":"password",he);break}},oe=v=>{switch(v){case"ToEmailSuccess":r(5,_=!1),r(4,g=!1),r(6,E=!0);break;case"ToReset":r(4,g=!1),r(8,T=!0);break;case"ToSuccess":r(8,T=!1),r(9,x=!0);break}},W=()=>{window.postMessage({type:"ToLogin"},window.location.href)},re=()=>new Promise((v,Q)=>{grecaptcha.ready(()=>{grecaptcha.execute(a,{action:"submit"}).then(ne=>{v(ne)})})}),ce=v=>{v.preventDefault(),re().then(Q=>{let ne=new URL(`${o}/v1/player/resetpassword`),nt={method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json","g-recaptcha-response":Q}};ne.searchParams.append("email",P),fetch(ne,nt).then(Ee=>{Ee.status==200?oe("ToEmailSuccess"):r(5,_=!0)})})},U=v=>{v.preventDefault();let Q=new URL(`${o}/v1/player/ResetPasswordByHashKey`),nt={method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({hashKey:n,plainTextPassword:Y})};fetch(Q,nt).then(Ee=>(Ee.status==200?(r(23,pe=!1),oe("ToSuccess")):r(23,pe=!0),Ee.json())).then(Ee=>{r(13,k=Ee.error)})},rs=()=>{n&&n.length>0&&oe("ToReset")},ss=()=>{!D&&!j&&Y&&K?r(14,ae=!0):r(14,ae=!1)},ot=v=>(u=="true"&&(N.password=/^(?!.* ).{8,20}$/),!!N.password.test(v)),os=(v,Q,ne)=>{ne.id==="new-password"?(r(15,D=!ot(Q)),K&&r(16,j=Y===K?!ot(Q):!0)):r(16,j=Y===K?!ot(Q):!0),ss()},ns=()=>{ti(l)},is=()=>{r(24,V=s(m==="true"?"hasToSetPassTitle":"forgotPasswordTitle")),r(25,H=m==="true"?s("resetPasswordSubtitle"):"")},as=()=>{let v=document.createElement("style");v.innerHTML=c,ee.appendChild(v)},ls=()=>{let v=new URL(f),Q=document.createElement("style");fetch(v.href).then(ne=>ne.text()).then(ne=>{Q.innerHTML=ne,setTimeout(()=>{ee.appendChild(Q)},1),setTimeout(()=>{},500)})};qs(()=>at(this,null,function*(){Kn(ue)&&r(10,A=!0)}));const us=()=>W();function cs(){P=this.value,r(7,P)}const fs=v=>ce(v);function hs(){Y=this.value,r(21,Y)}function ds(v){Re[v?"unshift":"push"](()=>{$=v,r(17,$)})}const ps=()=>me("userNewPassword"),ms=()=>me("userNewPassword");function gs(){K=this.value,r(22,K)}function vs(v){Re[v?"unshift":"push"](()=>{he=v,r(18,he)})}const bs=()=>me("userConfirmPassword"),ws=()=>me("userConfirmPassword"),ys=v=>U(v),Ps=()=>W();function Es(v){Re[v?"unshift":"push"](()=>{ee=v,r(3,ee)})}return e.$$set=v=>{"endpoint"in v&&r(33,o=v.endpoint),"forgotpasswordkey"in v&&r(34,n=v.forgotpasswordkey),"captchakey"in v&&r(0,a=v.captchakey),"lang"in v&&r(35,l=v.lang),"simplepasswordvalidation"in v&&r(1,u=v.simplepasswordvalidation),"clientstyling"in v&&r(36,c=v.clientstyling),"clientstylingurl"in v&&r(37,f=v.clientstylingurl),"translationurl"in v&&r(38,d=v.translationurl),"savecredentials"in v&&r(2,p=v.savecredentials),"hastosetpass"in v&&r(39,m=v.hastosetpass),"passwordregex"in v&&r(40,w=v.passwordregex)},e.$$.update=()=>{e.$$.dirty[1]&8&&n&&rs(),e.$$.dirty[1]&16&&l&&ns(),e.$$.dirty[0]&8|e.$$.dirty[1]&32&&c&&ee&&as(),e.$$.dirty[0]&8|e.$$.dirty[1]&64&&f&&ee&&ls(),e.$$.dirty[1]&128&&d&&X(),e.$$.dirty[1]&272&&m&&l&&is(),e.$$.dirty[1]&512&&w&&(N.password=new RegExp(w))},[a,u,p,ee,g,_,E,P,T,x,A,O,I,k,ae,D,j,$,he,J,Z,Y,K,pe,V,H,s,Ge,me,W,ce,U,os,o,n,l,c,f,d,m,w,us,cs,fs,hs,ds,ps,ms,gs,vs,bs,ws,ys,Ps,Es]}class ts extends Ws{constructor(t){super(),Xs(this,t,mi,pi,wr,{endpoint:33,forgotpasswordkey:34,captchakey:0,lang:35,simplepasswordvalidation:1,clientstyling:36,clientstylingurl:37,translationurl:38,savecredentials:2,hastosetpass:39,passwordregex:40},ri,[-1,-1,-1])}get endpoint(){return this.$$.ctx[33]}set endpoint(t){this.$$set({endpoint:t}),le()}get forgotpasswordkey(){return this.$$.ctx[34]}set forgotpasswordkey(t){this.$$set({forgotpasswordkey:t}),le()}get captchakey(){return this.$$.ctx[0]}set captchakey(t){this.$$set({captchakey:t}),le()}get lang(){return this.$$.ctx[35]}set lang(t){this.$$set({lang:t}),le()}get simplepasswordvalidation(){return this.$$.ctx[1]}set simplepasswordvalidation(t){this.$$set({simplepasswordvalidation:t}),le()}get clientstyling(){return this.$$.ctx[36]}set clientstyling(t){this.$$set({clientstyling:t}),le()}get clientstylingurl(){return this.$$.ctx[37]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),le()}get translationurl(){return this.$$.ctx[38]}set translationurl(t){this.$$set({translationurl:t}),le()}get savecredentials(){return this.$$.ctx[2]}set savecredentials(t){this.$$set({savecredentials:t}),le()}get hastosetpass(){return this.$$.ctx[39]}set hastosetpass(t){this.$$set({hastosetpass:t}),le()}get passwordregex(){return this.$$.ctx[40]}set passwordregex(t){this.$$set({passwordregex:t}),le()}}Zs(ts,{endpoint:{},forgotpasswordkey:{},captchakey:{},lang:{},simplepasswordvalidation:{},clientstyling:{},clientstylingurl:{},translationurl:{},savecredentials:{},hastosetpass:{},passwordregex:{}},[],[],!0);exports.default=ts;