@everymatrix/general-player-forgot-password-form 0.0.249 → 0.0.252
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,2 +1,2 @@
|
|
|
1
|
-
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t="undefined"!=typeof globalThis?globalThis:t||self).app=e()}(this,function(){"use strict";function f(){}function p(t){return t()}function h(){return Object.create(null)}function H(t){t.forEach(p)}function Z(t){return"function"==typeof t}function r(t,e){return t!=t?e==e:t!==e||t&&"object"==typeof t||"function"==typeof t}function M(t,...e){if(null==t)return f;const r=t.subscribe(...e);return r.unsubscribe?()=>r.unsubscribe():r}function q(t,e){t.appendChild(e)}function Y(t,e,r){t.insertBefore(e,r||null)}function K(t){t.parentNode.removeChild(t)}function e(t){return document.createElement(t)}function B(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function W(t){return document.createTextNode(t)}function Q(){return W(" ")}function c(){return W("")}function J(t,e,r,o){return t.addEventListener(e,r,o),()=>t.removeEventListener(e,r,o)}function tt(t,e,r){null==r?t.removeAttribute(e):t.getAttribute(e)!==r&&t.setAttribute(e,r)}function et(t,e){t.wholeText!==(e=""+e)&&(t.data=e)}function rt(t,e){t.value=null==e?"":e}function o(t,e,r,o){t.style.setProperty(e,r,o?"important":"")}let D;function d(t){D=t}const m=[],G=[],n=[],t=[],g=Promise.resolve();let y=!1;function w(t){n.push(t)}let i=!1;const s=new Set;function b(){if(!i){i=!0;do{for(let t=0;t<m.length;t+=1){var e=m[t];d(e),function(t){{var e;null!==t.fragment&&(t.update(),H(t.before_update),e=t.dirty,t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(w))}}(e.$$)}for(d(null),m.length=0;G.length;)G.pop()();for(let t=0;t<n.length;t+=1){const r=n[t];s.has(r)||(s.add(r),r())}}while(n.length=0,m.length);for(;t.length;)t.pop()();y=!1,i=!1,s.clear()}}const v=new Set;function a(o,t,e,r,n,i,s=[-1]){var a,l=D;d(o);const c=o.$$={fragment:null,ctx:null,props:i,update:f,not_equal:n,bound:h(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(l?l.$$.context:t.context||[]),callbacks:h(),dirty:s,skip_bound:!1};let u=!1;if(c.ctx=e?e(o,t.props||{},(t,e,...r)=>{r=r.length?r[0]:e;return c.ctx&&n(c.ctx[t],c.ctx[t]=r)&&(!c.skip_bound&&c.bound[t]&&c.bound[t](r),u&&(r=t,-1===(t=o).$$.dirty[0]&&(m.push(t),y||(y=!0,g.then(b)),t.$$.dirty.fill(0)),t.$$.dirty[r/31|0]|=1<<r%31)),e}):[],c.update(),u=!0,H(c.before_update),c.fragment=!!r&&r(c.ctx),t.target){if(t.hydrate){const f=(r=t.target,Array.from(r.childNodes));c.fragment&&c.fragment.l(f),f.forEach(K)}else c.fragment&&c.fragment.c();t.intro&&(a=o.$$.fragment)&&a.i&&(v.delete(a),a.i(void 0)),function(e,t,r,o){const{fragment:n,on_mount:i,on_destroy:s,after_update:a}=e.$$;n&&n.m(t,r),o||w(()=>{var t=i.map(p).filter(Z);s?s.push(...t):H(t),e.$$.on_mount=[]}),a.forEach(w)}(o,t.target,t.anchor,t.customElement),b()}d(l)}let l;"function"==typeof HTMLElement&&(l=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:t}=this.$$;this.$$.on_disconnect=t.map(p).filter(Z);for(const t in this.$$.slotted)this.appendChild(this.$$.slotted[t])}attributeChangedCallback(t,e,r){this[t]=r}disconnectedCallback(){H(this.$$.on_disconnect)}$destroy(){!function(t){const e=t.$$;null!==e.fragment&&(H(e.on_destroy),e.fragment&&e.fragment.d(1),e.on_destroy=e.fragment=null,e.ctx=[])}(this),this.$destroy=f}$on(t,e){const r=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return r.push(e),()=>{var t=r.indexOf(e);-1!==t&&r.splice(t,1)}}$set(t){this.$$set&&0!==Object.keys(t).length&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}});var u,E,P="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==P&&P,T="URLSearchParams"in P,_="Symbol"in P&&"iterator"in Symbol,A="FileReader"in P&&"Blob"in P&&function(){try{return new Blob,!0}catch(t){return!1}}(),S="FormData"in P,F="ArrayBuffer"in P;function L(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(t)||""===t)throw new TypeError('Invalid character in header field name: "'+t+'"');return t.toLowerCase()}function C(t){return t="string"!=typeof t?String(t):t}function N(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return _&&(t[Symbol.iterator]=function(){return t}),t}function x(e){this.map={},e instanceof x?e.forEach(function(t,e){this.append(e,t)},this):Array.isArray(e)?e.forEach(function(t){this.append(t[0],t[1])},this):e&&Object.getOwnPropertyNames(e).forEach(function(t){this.append(t,e[t])},this)}function O(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function I(r){return new Promise(function(t,e){r.onload=function(){t(r.result)},r.onerror=function(){e(r.error)}})}function R(t){var e=new FileReader,r=I(e);return e.readAsArrayBuffer(t),r}function k(t){if(t.slice)return t.slice(0);var e=new Uint8Array(t.byteLength);return e.set(new Uint8Array(t)),e.buffer}function U(){return this.bodyUsed=!1,this._initBody=function(t){this.bodyUsed=this.bodyUsed,(this._bodyInit=t)?"string"==typeof t?this._bodyText=t:A&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:S&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:T&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():F&&A&&t&&DataView.prototype.isPrototypeOf(t)?(this._bodyArrayBuffer=k(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):F&&(ArrayBuffer.prototype.isPrototypeOf(t)||E(t))?this._bodyArrayBuffer=k(t):this._bodyText=t=Object.prototype.toString.call(t):this._bodyText="",this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):T&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},A&&(this.blob=function(){var t=O(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?O(this)||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer)):this.blob().then(R)}),this.text=function(){var t,e,r=O(this);if(r)return r;if(this._bodyBlob)return t=this._bodyBlob,r=I(e=new FileReader),e.readAsText(t),r;if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var e=new Uint8Array(t),r=new Array(e.length),o=0;o<e.length;o++)r[o]=String.fromCharCode(e[o]);return r.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},S&&(this.formData=function(){return this.text().then(V)}),this.json=function(){return this.text().then(JSON.parse)},this}F&&(u=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],E=ArrayBuffer.isView||function(t){return t&&-1<u.indexOf(Object.prototype.toString.call(t))}),x.prototype.append=function(t,e){t=L(t),e=C(e);var r=this.map[t];this.map[t]=r?r+", "+e:e},x.prototype.delete=function(t){delete this.map[L(t)]},x.prototype.get=function(t){return t=L(t),this.has(t)?this.map[t]:null},x.prototype.has=function(t){return this.map.hasOwnProperty(L(t))},x.prototype.set=function(t,e){this.map[L(t)]=C(e)},x.prototype.forEach=function(t,e){for(var r in this.map)this.map.hasOwnProperty(r)&&t.call(e,this.map[r],r,this)},x.prototype.keys=function(){var r=[];return this.forEach(function(t,e){r.push(e)}),N(r)},x.prototype.values=function(){var e=[];return this.forEach(function(t){e.push(t)}),N(e)},x.prototype.entries=function(){var r=[];return this.forEach(function(t,e){r.push([e,t])}),N(r)},_&&(x.prototype[Symbol.iterator]=x.prototype.entries);var j=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function $(t,e){if(!(this instanceof $))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var r,o=(e=e||{}).body;if(t instanceof $){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,e.headers||(this.headers=new x(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,o||null==t._bodyInit||(o=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=e.credentials||this.credentials||"same-origin",!e.headers&&this.headers||(this.headers=new x(e.headers)),this.method=(t=(r=e.method||this.method||"GET").toUpperCase(),-1<j.indexOf(t)?t:r),this.mode=e.mode||this.mode||null,this.signal=e.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&o)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(o),"GET"!==this.method&&"HEAD"!==this.method||"no-store"!==e.cache&&"no-cache"!==e.cache||((e=/([?&])_=[^&]*/).test(this.url)?this.url=this.url.replace(e,"$1_="+(new Date).getTime()):this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime())}function V(t){var r=new FormData;return t.trim().split("&").forEach(function(t){var e;t&&(t=(e=t.split("=")).shift().replace(/\+/g," "),e=e.join("=").replace(/\+/g," "),r.append(decodeURIComponent(t),decodeURIComponent(e)))}),r}function z(t,e){if(!(this instanceof z))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');e=e||{},this.type="default",this.status=void 0===e.status?200:e.status,this.ok=200<=this.status&&this.status<300,this.statusText=void 0===e.statusText?"":""+e.statusText,this.headers=new x(e.headers),this.url=e.url||"",this._initBody(t)}$.prototype.clone=function(){return new $(this,{body:this._bodyInit})},U.call($.prototype),U.call(z.prototype),z.prototype.clone=function(){return new z(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new x(this.headers),url:this.url})},z.error=function(){var t=new z(null,{status:0,statusText:""});return t.type="error",t};var X=[301,302,303,307,308];z.redirect=function(t,e){if(-1===X.indexOf(e))throw new RangeError("Invalid status code");return new z(null,{status:e,headers:{location:t}})};var ot=P.DOMException;try{new ot}catch(f){(ot=function(t,e){this.message=t,this.name=e;t=Error(t);this.stack=t.stack}).prototype=Object.create(Error.prototype),ot.prototype.constructor=ot}function nt(o,s){return new Promise(function(n,t){var e=new $(o,s);if(e.signal&&e.signal.aborted)return t(new ot("Aborted","AbortError"));var i=new XMLHttpRequest;function r(){i.abort()}i.onload=function(){var t,r,e={status:i.status,statusText:i.statusText,headers:(t=i.getAllResponseHeaders()||"",r=new x,t.replace(/\r?\n[\t ]+/g," ").split("\r").map(function(t){return 0===t.indexOf("\n")?t.substr(1,t.length):t}).forEach(function(t){var e=t.split(":"),t=e.shift().trim();t&&(e=e.join(":").trim(),r.append(t,e))}),r)};e.url="responseURL"in i?i.responseURL:e.headers.get("X-Request-URL");var o="response"in i?i.response:i.responseText;setTimeout(function(){n(new z(o,e))},0)},i.onerror=function(){setTimeout(function(){t(new TypeError("Network request failed"))},0)},i.ontimeout=function(){setTimeout(function(){t(new TypeError("Network request failed"))},0)},i.onabort=function(){setTimeout(function(){t(new ot("Aborted","AbortError"))},0)},i.open(e.method,function(e){try{return""===e&&P.location.href?P.location.href:e}catch(t){return e}}(e.url),!0),"include"===e.credentials?i.withCredentials=!0:"omit"===e.credentials&&(i.withCredentials=!1),"responseType"in i&&(A?i.responseType="blob":F&&e.headers.get("Content-Type")&&-1!==e.headers.get("Content-Type").indexOf("application/octet-stream")&&(i.responseType="arraybuffer")),!s||"object"!=typeof s.headers||s.headers instanceof x?e.headers.forEach(function(t,e){i.setRequestHeader(e,t)}):Object.getOwnPropertyNames(s.headers).forEach(function(t){i.setRequestHeader(t,C(s.headers[t]))}),e.signal&&(e.signal.addEventListener("abort",r),i.onreadystatechange=function(){4===i.readyState&&e.signal.removeEventListener("abort",r)}),i.send(void 0===e._bodyInit?null:e._bodyInit)})}nt.polyfill=!0,P.fetch||(P.fetch=nt,P.Headers=x,P.Request=$,P.Response=z),self.fetch.bind(self);var it=function(t,e){return(it=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])})(t,e)};function st(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=t}it(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}function at(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],o=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return{value:(t=t&&o>=t.length?void 0:t)&&t[o++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function lt(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var o,n,i=r.call(t),s=[];try{for(;(void 0===e||0<e--)&&!(o=i.next()).done;)s.push(o.value)}catch(t){n={error:t}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return s}function ct(t,e){for(var r=0,o=e.length,n=t.length;r<o;r++,n++)t[n]=e[r];return t}function ut(t){return"function"==typeof t}function ft(t){t=t(function(t){Error.call(t),t.stack=(new Error).stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t}var pt=ft(function(e){return function(t){e(this),this.message=t?t.length+" errors occurred during unsubscription:\n"+t.map(function(t,e){return e+1+") "+t.toString()}).join("\n "):"",this.name="UnsubscriptionError",this.errors=t}});function ht(t,e){!t||0<=(e=t.indexOf(e))&&t.splice(e,1)}var dt=(gt.prototype.unsubscribe=function(){var t,e,r,o,n;if(!this.closed){this.closed=!0;var i=this._parentage;if(i)if(this._parentage=null,Array.isArray(i))try{for(var s=at(i),a=s.next();!a.done;a=s.next())a.value.remove(this)}catch(e){t={error:e}}finally{try{a&&!a.done&&(e=s.return)&&e.call(s)}finally{if(t)throw t.error}}else i.remove(this);i=this.initialTeardown;if(ut(i))try{i()}catch(t){n=t instanceof pt?t.errors:[t]}i=this._teardowns;if(i){this._teardowns=null;try{for(var l=at(i),c=l.next();!c.done;c=l.next()){var u=c.value;try{wt(u)}catch(t){n=null!=n?n:[],t instanceof pt?n=ct(ct([],lt(n)),lt(t.errors)):n.push(t)}}}catch(t){r={error:t}}finally{try{c&&!c.done&&(o=l.return)&&o.call(l)}finally{if(r)throw r.error}}}if(n)throw new pt(n)}},gt.prototype.add=function(t){var e;if(t&&t!==this)if(this.closed)wt(t);else{if(t instanceof gt){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._teardowns=null!==(e=this._teardowns)&&void 0!==e?e:[]).push(t)}},gt.prototype._hasParent=function(t){var e=this._parentage;return e===t||Array.isArray(e)&&e.includes(t)},gt.prototype._addParent=function(t){var e=this._parentage;this._parentage=Array.isArray(e)?(e.push(t),e):e?[e,t]:t},gt.prototype._removeParent=function(t){var e=this._parentage;e===t?this._parentage=null:Array.isArray(e)&&ht(e,t)},gt.prototype.remove=function(t){var e=this._teardowns;e&&ht(e,t),t instanceof gt&&t._removeParent(this)},gt.EMPTY=((je=new gt).closed=!0,je),gt),mt=dt.EMPTY;function gt(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._teardowns=null}function yt(t){return t instanceof dt||t&&"closed"in t&&ut(t.remove)&&ut(t.add)&&ut(t.unsubscribe)}function wt(t){ut(t)?t():t.unsubscribe()}var bt=void 0,vt=!1,Et=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return setTimeout.apply(void 0,ct([],lt(t)))};function Pt(){}function Tt(t){t()}var _t,At,St=(st(Ct,At=dt),Ct.create=function(t,e,r){return new Ft(t,e,r)},Ct.prototype.next=function(t){this.isStopped||this._next(t)},Ct.prototype.error=function(t){this.isStopped||(this.isStopped=!0,this._error(t))},Ct.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},Ct.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,At.prototype.unsubscribe.call(this),this.destination=null)},Ct.prototype._next=function(t){this.destination.next(t)},Ct.prototype._error=function(t){try{this.destination.error(t)}finally{this.unsubscribe()}},Ct.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},Ct),Ft=(st(Lt,_t=St),Lt);function Lt(t,e,r){var o,n,i=_t.call(this)||this;return ut(t)?n=t:t&&(n=t.next,e=t.error,r=t.complete,i&&vt?(o=Object.create(t)).unsubscribe=function(){return i.unsubscribe()}:o=t,n=null==n?void 0:n.bind(o),e=null==e?void 0:e.bind(o),r=null==r?void 0:r.bind(o)),i.destination={next:n?Nt(n):Pt,error:Nt(null!=e?e:xt),complete:r?Nt(r):Pt},i}function Ct(t){var e=At.call(this)||this;return e.isStopped=!1,t?yt(e.destination=t)&&t.add(e):e.destination=Ot,e}function Nt(o){return function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];try{o.apply(void 0,ct([],lt(t)))}catch(t){e=t,Et(function(){throw e})}}}function xt(t){throw t}var Ot={closed:!0,next:Pt,error:xt,complete:Pt},It="function"==typeof Symbol&&Symbol.observable||"@@observable";function Rt(t){return t}var kt=(Ut.prototype.lift=function(t){var e=new Ut;return e.source=this,e.operator=t,e},Ut.prototype.subscribe=function(t,e,r){var o,n=this,i=(o=t)&&o instanceof St||o&&ut(o.next)&&ut(o.error)&&ut(o.complete)&&yt(o)?t:new Ft(t,e,r);return Tt(function(){var t=n.operator,e=n.source;i.add(t?t.call(i,e):e?n._subscribe(i):n._trySubscribe(i))}),i},Ut.prototype._trySubscribe=function(e){try{return this._subscribe(e)}catch(t){e.error(t)}},Ut.prototype.forEach=function(o,t){var n=this;return new(t=Mt(t))(function(t,e){var r=n.subscribe(function(t){try{o(t)}catch(t){e(t),null==r||r.unsubscribe()}},e,t)})},Ut.prototype._subscribe=function(t){var e;return null===(e=this.source)||void 0===e?void 0:e.subscribe(t)},Ut.prototype[It]=function(){return this},Ut.prototype.pipe=function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return(0===(e=t).length?Rt:1===e.length?e[0]:function(t){return e.reduce(function(t,e){return e(t)},t)})(this)},Ut.prototype.toPromise=function(t){var o=this;return new(t=Mt(t))(function(t,e){var r;o.subscribe(function(t){return r=t},function(t){return e(t)},function(){return t(r)})})},Ut.create=function(t){return new Ut(t)},Ut);function Ut(t){t&&(this._subscribe=t)}function Mt(t){return null!==(t=null!=t?t:bt)&&void 0!==t?t:Promise}var Dt,Gt,jt,Bt=ft(function(t){return function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),$t=(st(qt,jt=kt),qt.prototype.lift=function(t){var e=new Vt(this,this);return e.operator=t,e},qt.prototype._throwIfClosed=function(){if(this.closed)throw new Bt},qt.prototype.next=function(i){var s=this;Tt(function(){var e,t;if(s._throwIfClosed(),!s.isStopped){var r=s.observers.slice();try{for(var o=at(r),n=o.next();!n.done;n=o.next())n.value.next(i)}catch(t){e={error:t}}finally{try{n&&!n.done&&(t=o.return)&&t.call(o)}finally{if(e)throw e.error}}}})},qt.prototype.error=function(e){var r=this;Tt(function(){if(r._throwIfClosed(),!r.isStopped){r.hasError=r.isStopped=!0,r.thrownError=e;for(var t=r.observers;t.length;)t.shift().error(e)}})},qt.prototype.complete=function(){var e=this;Tt(function(){if(e._throwIfClosed(),!e.isStopped){e.isStopped=!0;for(var t=e.observers;t.length;)t.shift().complete()}})},qt.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=null},Object.defineProperty(qt.prototype,"observed",{get:function(){var t;return 0<(null===(t=this.observers)||void 0===t?void 0:t.length)},enumerable:!1,configurable:!0}),qt.prototype._trySubscribe=function(t){return this._throwIfClosed(),jt.prototype._trySubscribe.call(this,t)},qt.prototype._subscribe=function(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)},qt.prototype._innerSubscribe=function(t){var e=this.hasError,r=this.isStopped,o=this.observers;return e||r?mt:(o.push(t),new dt(function(){return ht(o,t)}))},qt.prototype._checkFinalizedStatuses=function(t){var e=this.hasError,r=this.thrownError,o=this.isStopped;e?t.error(r):o&&t.complete()},qt.prototype.asObservable=function(){var t=new kt;return t.source=this,t},qt.create=function(t,e){return new Vt(t,e)},qt),Vt=(st(Zt,Gt=$t),Zt.prototype.next=function(t){var e,r;null===(r=null===(e=this.destination)||void 0===e?void 0:e.next)||void 0===r||r.call(e,t)},Zt.prototype.error=function(t){var e,r;null===(r=null===(e=this.destination)||void 0===e?void 0:e.error)||void 0===r||r.call(e,t)},Zt.prototype.complete=function(){var t,e;null===(e=null===(t=this.destination)||void 0===t?void 0:t.complete)||void 0===e||e.call(t)},Zt.prototype._subscribe=function(t){var e;return null!==(t=null===(e=this.source)||void 0===e?void 0:e.subscribe(t))&&void 0!==t?t:mt},Zt),zt={now:function(){return(zt.delegate||Date).now()},delegate:void 0},Xt=(st(Ht,Dt=$t),Ht.prototype.next=function(t){var e=this,r=e.isStopped,o=e._buffer,n=e._infiniteTimeWindow,i=e._timestampProvider,e=e._windowTime;r||(o.push(t),n||o.push(i.now()+e)),this._trimBuffer(),Dt.prototype.next.call(this,t)},Ht.prototype._subscribe=function(t){this._throwIfClosed(),this._trimBuffer();for(var e=this._innerSubscribe(t),r=this._infiniteTimeWindow,o=this._buffer.slice(),n=0;n<o.length&&!t.closed;n+=r?1:2)t.next(o[n]);return this._checkFinalizedStatuses(t),e},Ht.prototype._trimBuffer=function(){var t=this._bufferSize,e=this._timestampProvider,r=this._buffer,o=this._infiniteTimeWindow,n=(o?1:2)*t;if(t<1/0&&n<r.length&&r.splice(0,r.length-n),!o){for(var i=e.now(),s=0,a=1;a<r.length&&r[a]<=i;a+=2)s=a;s&&r.splice(0,s+1)}},Ht);function Ht(t,e,r){void 0===t&&(t=1/0),void 0===e&&(e=1/0),void 0===r&&(r=zt);var o=Dt.call(this)||this;return o._bufferSize=t,o._windowTime=e,o._timestampProvider=r,o._buffer=[],o._infiniteTimeWindow=!0,o._infiniteTimeWindow=e===1/0,o._bufferSize=Math.max(1,t),o._windowTime=Math.max(1,e),o}function Zt(t,e){var r=Gt.call(this)||this;return r.destination=t,r.source=e,r}function qt(){var t=jt.call(this)||this;return t.closed=!1,t.observers=[],t.isStopped=!1,t.hasError=!1,t.thrownError=null,t}let Yt=[],Kt={};const Wt=[];function Qt(o,n=f){let i;const s=[];function a(t){if(r(o,t)&&(o=t,i)){const t=!Wt.length;for(let t=0;t<s.length;t+=1){const e=s[t];e[1](),Wt.push(e,o)}if(t){for(let t=0;t<Wt.length;t+=2)Wt[t][0](Wt[t+1]);Wt.length=0}}}return{set:a,update:function(t){a(t(o))},subscribe:function(t,e=f){const r=[t,e];return s.push(r),1===s.length&&(i=n(a)||f),t(o),()=>{var t=s.indexOf(r);-1!==t&&s.splice(t,1),0===s.length&&(i(),i=null)}}}}function Jt(t,a,e){const l=!Array.isArray(t),c=l?[t]:t,u=a.length<2;return{subscribe:Qt(e,e=>{let r=!1;const o=[];let n=0,i=f;const s=()=>{var t;n||(i(),t=a(l?o[0]:o,e),u?e(t):i=Z(t)?t:f)},t=c.map((t,e)=>M(t,t=>{o[e]=t,n&=~(1<<e),r&&s()},()=>{n|=1<<e}));return r=!0,s(),function(){H(t),i()}}).subscribe}}var te=function(t){return!(!t||"object"!=typeof t||(e=t,"[object RegExp]"===(t=Object.prototype.toString.call(e))||"[object Date]"===t||e.$$typeof===ee));var e},ee="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function re(t,e){return!1!==e.clone&&e.isMergeableObject(t)?ae(Array.isArray(t)?[]:{},t,e):t}function oe(t,e,r){return t.concat(e).map(function(t){return re(t,r)})}function ne(t){return Object.keys(t).concat((e=t,Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return e.propertyIsEnumerable(t)}):[]));var e}function ie(t,e){try{return e in t}catch(t){return!1}}function se(o,n,i){var s={};return i.isMergeableObject(o)&&ne(o).forEach(function(t){s[t]=re(o[t],i)}),ne(n).forEach(function(e){var t,r;(!ie(t=o,r=e)||Object.hasOwnProperty.call(t,r)&&Object.propertyIsEnumerable.call(t,r))&&(ie(o,e)&&i.isMergeableObject(n[e])?s[e]=function(){if(!i.customMerge)return ae;var t=i.customMerge(e);return"function"==typeof t?t:ae}()(o[e],n[e],i):s[e]=re(n[e],i))}),s}function ae(t,e,r){(r=r||{}).arrayMerge=r.arrayMerge||oe,r.isMergeableObject=r.isMergeableObject||te,r.cloneUnlessOtherwiseSpecified=re;var o=Array.isArray(e);return o===Array.isArray(t)?o?r.arrayMerge(t,e,r):se(t,e,r):re(e,r)}ae.all=function(t,r){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(t,e){return ae(t,e,r)},{})};var le=ae,ce=function(t,e){return(ce=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])})(t,e)};function ue(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=t}ce(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}var fe,pe,he,de=function(){return(de=Object.assign||function(t){for(var e,r=1,o=arguments.length;r<o;r++)for(var n in e=arguments[r])Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t}).apply(this,arguments)};function me(t,e){for(var r=0,o=e.length,n=t.length;r<o;r++,n++)t[n]=e[r];return t}function ge(t){return t.type===pe.literal}function ye(t){return t.type===pe.number}function we(t){return t.type===pe.date}function be(t){return t.type===pe.time}function ve(t){return t.type===pe.select}function Ee(t){return t.type===pe.plural}function Pe(t){return t.type===pe.tag}function Te(t){return t&&"object"==typeof t&&t.type===he.number}function _e(t){return t&&"object"==typeof t&&t.type===he.dateTime}(Be=fe=fe||{})[Be.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",Be[Be.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",Be[Be.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",Be[Be.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",Be[Be.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",Be[Be.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",Be[Be.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",Be[Be.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",Be[Be.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",Be[Be.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",Be[Be.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",Be[Be.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",Be[Be.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",Be[Be.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",Be[Be.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",Be[Be.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",Be[Be.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",Be[Be.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",Be[Be.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",Be[Be.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",Be[Be.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",Be[Be.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",Be[Be.INVALID_TAG=23]="INVALID_TAG",Be[Be.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",Be[Be.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",Be[Be.UNCLOSED_TAG=27]="UNCLOSED_TAG",($e=pe=pe||{})[$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",(Ve=he=he||{})[Ve.number=0]="number",Ve[Ve.dateTime=1]="dateTime";var Ae=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Se=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;var Fe,Le=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,Ce=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Ne=/^(@+)?(\+|#+)?$/g,xe=/(\*)(0+)|(#+)(0+)|(0+)/g,Oe=/^(0+)$/;function Ie(t){var o={};return t.replace(Ne,function(t,e,r){return"string"!=typeof r?(o.minimumSignificantDigits=e.length,o.maximumSignificantDigits=e.length):"+"===r?o.minimumSignificantDigits=e.length:"#"===e[0]?o.maximumSignificantDigits=e.length:(o.minimumSignificantDigits=e.length,o.maximumSignificantDigits=e.length+("string"==typeof r?r.length:0)),""}),o}function Re(t){switch(t){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 ke(t){return Re(t)||{}}function Ue(t){for(var s={},e=0,r=t;e<r.length;e++){var o,n=r[e];switch(n.stem){case"percent":case"%":s.style="percent";continue;case"%x100":s.style="percent",s.scale=100;continue;case"currency":s.style="currency",s.currency=n.options[0];continue;case"group-off":case",_":s.useGrouping=!1;continue;case"precision-integer":case".":s.maximumFractionDigits=0;continue;case"measure-unit":case"unit":s.style="unit",s.unit=n.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":s.notation="compact",s.compactDisplay="short";continue;case"compact-long":case"KK":s.notation="compact",s.compactDisplay="long";continue;case"scientific":s=de(de(de({},s),{notation:"scientific"}),n.options.reduce(function(t,e){return de(de({},t),ke(e))},{}));continue;case"engineering":s=de(de(de({},s),{notation:"engineering"}),n.options.reduce(function(t,e){return de(de({},t),ke(e))},{}));continue;case"notation-simple":s.notation="standard";continue;case"unit-width-narrow":s.currencyDisplay="narrowSymbol",s.unitDisplay="narrow";continue;case"unit-width-short":s.currencyDisplay="code",s.unitDisplay="short";continue;case"unit-width-full-name":s.currencyDisplay="name",s.unitDisplay="long";continue;case"unit-width-iso-code":s.currencyDisplay="symbol";continue;case"scale":s.scale=parseFloat(n.options[0]);continue;case"integer-width":if(1<n.options.length)throw new RangeError("integer-width stems only accept a single optional option");n.options[0].replace(xe,function(t,e,r,o,n,i){if(e)s.minimumIntegerDigits=r.length;else{if(o&&n)throw new Error("We currently do not support maximum integer digits");if(i)throw new Error("We currently do not support exact integer digits")}return""});continue}if(Oe.test(n.stem))s.minimumIntegerDigits=n.stem.length;else if(Ce.test(n.stem)){if(1<n.options.length)throw new RangeError("Fraction-precision stems only accept a single optional option");n.stem.replace(Ce,function(t,e,r,o,n,i){return"*"===r?s.minimumFractionDigits=e.length:o&&"#"===o[0]?s.maximumFractionDigits=o.length:n&&i?(s.minimumFractionDigits=n.length,s.maximumFractionDigits=n.length+i.length):(s.minimumFractionDigits=e.length,s.maximumFractionDigits=e.length),""}),n.options.length&&(s=de(de({},s),Ie(n.options[0])))}else Ne.test(n.stem)?s=de(de({},s),Ie(n.stem)):((o=Re(n.stem))&&(s=de(de({},s),o)),(o=function(t){var e;if("E"===t[0]&&"E"===t[1]?(e={notation:"engineering"},t=t.slice(2)):"E"===t[0]&&(e={notation:"scientific"},t=t.slice(1)),e){var r=t.slice(0,2);if("+!"===r?(e.signDisplay="always",t=t.slice(2)):"+?"===r&&(e.signDisplay="exceptZero",t=t.slice(2)),!Oe.test(t))throw new Error("Malformed concise eng/scientific notation");e.minimumIntegerDigits=t.length}return e}(n.stem))&&(s=de(de({},s),o)))}return s}var Me=new RegExp("^"+Ae.source+"*"),De=new RegExp(Ae.source+"*$");function Ge(t,e){return{start:t,end:e}}var je=!!String.prototype.startsWith,It=!!String.fromCodePoint,$t=!!Object.fromEntries,Be=!!String.prototype.codePointAt,$e=!!String.prototype.trimStart,Ve=!!String.prototype.trimEnd,ze=Number.isSafeInteger||function(t){return"number"==typeof t&&isFinite(t)&&Math.floor(t)===t&&Math.abs(t)<=9007199254740991},Ae=!0;try{Ae="a"===(null===(Fe=Je("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===Fe?void 0:Fe[0])}catch(f){Ae=!1}var Xe,He,Ze=je?function(t,e,r){return t.startsWith(e,r)}:function(t,e,r){return t.slice(r,r+e.length)===e},qe=It?String.fromCodePoint:function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];for(var r,o="",n=t.length,i=0;i<n;){if(1114111<(r=t[i++]))throw RangeError(r+" is not a valid code point");o+=r<65536?String.fromCharCode(r):String.fromCharCode(55296+((r-=65536)>>10),r%1024+56320)}return o},Ye=$t?Object.fromEntries:function(t){for(var e={},r=0,o=t;r<o.length;r++){var n=o[r],i=n[0],n=n[1];e[i]=n}return e},Ke=Be?function(t,e){return t.codePointAt(e)}:function(t,e){var r=t.length;if(!(e<0||r<=e)){var o,n=t.charCodeAt(e);return n<55296||56319<n||e+1===r||(o=t.charCodeAt(e+1))<56320||57343<o?n:o-56320+(n-55296<<10)+65536}},We=$e?function(t){return t.trimStart()}:function(t){return t.replace(Me,"")},Qe=Ve?function(t){return t.trimEnd()}:function(t){return t.replace(De,"")};function Je(t,e){return new RegExp(t,e)}He=Ae?(Xe=Je("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),function(t,e){return Xe.lastIndex=e,null!==(t=Xe.exec(t)[1])&&void 0!==t?t:""}):function(t,e){for(var r,o=[];;){var n=Ke(t,e);if(void 0===n||or(n)||(33<=(r=n)&&r<=35||36===r||37<=r&&r<=39||40===r||41===r||42===r||43===r||44===r||45===r||46<=r&&r<=47||58<=r&&r<=59||60<=r&&r<=62||63<=r&&r<=64||91===r||92===r||93===r||94===r||96===r||123===r||124===r||125===r||126===r||161===r||162<=r&&r<=165||166===r||167===r||169===r||171===r||172===r||174===r||176===r||177===r||182===r||187===r||191===r||215===r||247===r||8208<=r&&r<=8213||8214<=r&&r<=8215||8216===r||8217===r||8218===r||8219<=r&&r<=8220||8221===r||8222===r||8223===r||8224<=r&&r<=8231||8240<=r&&r<=8248||8249===r||8250===r||8251<=r&&r<=8254||8257<=r&&r<=8259||8260===r||8261===r||8262===r||8263<=r&&r<=8273||8274===r||8275===r||8277<=r&&r<=8286||8592<=r&&r<=8596||8597<=r&&r<=8601||8602<=r&&r<=8603||8604<=r&&r<=8607||8608===r||8609<=r&&r<=8610||8611===r||8612<=r&&r<=8613||8614===r||8615<=r&&r<=8621||8622===r||8623<=r&&r<=8653||8654<=r&&r<=8655||8656<=r&&r<=8657||8658===r||8659===r||8660===r||8661<=r&&r<=8691||8692<=r&&r<=8959||8960<=r&&r<=8967||8968===r||8969===r||8970===r||8971===r||8972<=r&&r<=8991||8992<=r&&r<=8993||8994<=r&&r<=9e3||9001===r||9002===r||9003<=r&&r<=9083||9084===r||9085<=r&&r<=9114||9115<=r&&r<=9139||9140<=r&&r<=9179||9180<=r&&r<=9185||9186<=r&&r<=9254||9255<=r&&r<=9279||9280<=r&&r<=9290||9291<=r&&r<=9311||9472<=r&&r<=9654||9655===r||9656<=r&&r<=9664||9665===r||9666<=r&&r<=9719||9720<=r&&r<=9727||9728<=r&&r<=9838||9839===r||9840<=r&&r<=10087||10088===r||10089===r||10090===r||10091===r||10092===r||10093===r||10094===r||10095===r||10096===r||10097===r||10098===r||10099===r||10100===r||10101===r||10132<=r&&r<=10175||10176<=r&&r<=10180||10181===r||10182===r||10183<=r&&r<=10213||10214===r||10215===r||10216===r||10217===r||10218===r||10219===r||10220===r||10221===r||10222===r||10223===r||10224<=r&&r<=10239||10240<=r&&r<=10495||10496<=r&&r<=10626||10627===r||10628===r||10629===r||10630===r||10631===r||10632===r||10633===r||10634===r||10635===r||10636===r||10637===r||10638===r||10639===r||10640===r||10641===r||10642===r||10643===r||10644===r||10645===r||10646===r||10647===r||10648===r||10649<=r&&r<=10711||10712===r||10713===r||10714===r||10715===r||10716<=r&&r<=10747||10748===r||10749===r||10750<=r&&r<=11007||11008<=r&&r<=11055||11056<=r&&r<=11076||11077<=r&&r<=11078||11079<=r&&r<=11084||11085<=r&&r<=11123||11124<=r&&r<=11125||11126<=r&&r<=11157||11158===r||11159<=r&&r<=11263||11776<=r&&r<=11777||11778===r||11779===r||11780===r||11781===r||11782<=r&&r<=11784||11785===r||11786===r||11787===r||11788===r||11789===r||11790<=r&&r<=11798||11799===r||11800<=r&&r<=11801||11802===r||11803===r||11804===r||11805===r||11806<=r&&r<=11807||11808===r||11809===r||11810===r||11811===r||11812===r||11813===r||11814===r||11815===r||11816===r||11817===r||11818<=r&&r<=11822||11823===r||11824<=r&&r<=11833||11834<=r&&r<=11835||11836<=r&&r<=11839||11840===r||11841===r||11842===r||11843<=r&&r<=11855||11856<=r&&r<=11857||11858===r||11859<=r&&r<=11903||12289<=r&&r<=12291||12296===r||12297===r||12298===r||12299===r||12300===r||12301===r||12302===r||12303===r||12304===r||12305===r||12306<=r&&r<=12307||12308===r||12309===r||12310===r||12311===r||12312===r||12313===r||12314===r||12315===r||12316===r||12317===r||12318<=r&&r<=12319||12320===r||12336===r||64830===r||64831===r||65093<=r&&r<=65094))break;o.push(n),e+=65536<=n?2:1}return qe.apply(void 0,o)};var tr=(er.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},er.prototype.parseMessage=function(t,e,r){for(var o=[];!this.isEOF();){var n,i=this.char();if(123===i){if((n=this.parseArgument(t,r)).err)return n;o.push(n.val)}else{if(125===i&&0<t)break;if(35!==i||"plural"!==e&&"selectordinal"!==e){if(60===i&&!this.ignoreTag&&47===this.peek()){if(r)break;return this.error(fe.UNMATCHED_CLOSING_TAG,Ge(this.clonePosition(),this.clonePosition()))}if(60===i&&!this.ignoreTag&&rr(this.peek()||0)){if((n=this.parseTag(t,e)).err)return n;o.push(n.val)}else{if((n=this.parseLiteral(t,e)).err)return n;o.push(n.val)}}else{i=this.clonePosition();this.bump(),o.push({type:pe.pound,location:Ge(i,this.clonePosition())})}}}return{val:o,err:null}},er.prototype.parseTag=function(t,e){var r=this.clonePosition();this.bump();var o=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:pe.literal,value:"<"+o+"/>",location:Ge(r,this.clonePosition())},err:null};if(this.bumpIf(">")){var n=this.parseMessage(t+1,e,!0);if(n.err)return n;t=n.val,e=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!rr(this.char()))return this.error(fe.INVALID_TAG,Ge(e,this.clonePosition()));n=this.clonePosition();return o!==this.parseTagName()?this.error(fe.UNMATCHED_CLOSING_TAG,Ge(n,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:pe.tag,value:o,children:t,location:Ge(r,this.clonePosition())},err:null}:this.error(fe.INVALID_TAG,Ge(e,this.clonePosition())))}return this.error(fe.UNCLOSED_TAG,Ge(r,this.clonePosition()))}return this.error(fe.INVALID_TAG,Ge(r,this.clonePosition()))},er.prototype.parseTagName=function(){var t,e=this.offset();for(this.bump();!this.isEOF()&&(45===(t=this.char())||46===t||48<=t&&t<=57||95===t||97<=t&&t<=122||65<=t&&t<=90||183==t||192<=t&&t<=214||216<=t&&t<=246||248<=t&&t<=893||895<=t&&t<=8191||8204<=t&&t<=8205||8255<=t&&t<=8256||8304<=t&&t<=8591||11264<=t&&t<=12271||12289<=t&&t<=55295||63744<=t&&t<=64975||65008<=t&&t<=65533||65536<=t&&t<=983039);)this.bump();return this.message.slice(e,this.offset())},er.prototype.parseLiteral=function(t,e){for(var r=this.clonePosition(),o="";;){var n=this.tryParseQuote(e);if(n)o+=n;else{n=this.tryParseUnquoted(t,e);if(n)o+=n;else{n=this.tryParseLeftAngleBracket();if(!n)break;o+=n}}}r=Ge(r,this.clonePosition());return{val:{type:pe.literal,value:o,location:r},err:null}},er.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(rr(t=this.peek()||0)||47===t)?null:(this.bump(),"<");var t},er.prototype.tryParseQuote=function(t){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===t||"selectordinal"===t)break;return null;default:return null}this.bump();var e=[this.char()];for(this.bump();!this.isEOF();){var r=this.char();if(39===r){if(39!==this.peek()){this.bump();break}e.push(39),this.bump()}else e.push(r);this.bump()}return qe.apply(void 0,e)},er.prototype.tryParseUnquoted=function(t,e){if(this.isEOF())return null;var r=this.char();return 60===r||123===r||35===r&&("plural"===e||"selectordinal"===e)||125===r&&0<t?null:(this.bump(),qe(r))},er.prototype.parseArgument=function(t,e){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(fe.EXPECT_ARGUMENT_CLOSING_BRACE,Ge(r,this.clonePosition()));if(125===this.char())return this.bump(),this.error(fe.EMPTY_ARGUMENT,Ge(r,this.clonePosition()));var o=this.parseIdentifierIfPossible().value;if(!o)return this.error(fe.MALFORMED_ARGUMENT,Ge(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(fe.EXPECT_ARGUMENT_CLOSING_BRACE,Ge(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:pe.argument,value:o,location:Ge(r,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(fe.EXPECT_ARGUMENT_CLOSING_BRACE,Ge(r,this.clonePosition())):this.parseArgumentOptions(t,e,o,r);default:return this.error(fe.MALFORMED_ARGUMENT,Ge(r,this.clonePosition()))}},er.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),e=this.offset(),r=He(this.message,e),e=e+r.length;return this.bumpTo(e),{value:r,location:Ge(t,this.clonePosition())}},er.prototype.parseArgumentOptions=function(t,e,r,o){var n,i=this.clonePosition(),s=this.parseIdentifierIfPossible().value,a=this.clonePosition();switch(s){case"":return this.error(fe.EXPECT_ARGUMENT_TYPE,Ge(i,a));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition();if((p=this.parseSimpleArgStyleIfPossible()).err)return p;if(0===(f=Qe(p.val)).length)return this.error(fe.EXPECT_ARGUMENT_STYLE,Ge(this.clonePosition(),this.clonePosition()));l={style:f,styleLocation:Ge(c,this.clonePosition())}}if((h=this.tryParseArgumentClose(o)).err)return h;var u=Ge(o,this.clonePosition());if(l&&Ze(null==l?void 0:l.style,"::",0)){c=We(l.style.slice(2));if("number"===s)return(p=this.parseNumberSkeletonFromString(c,l.styleLocation)).err?p:{val:{type:pe.number,value:r,location:u,style:p.val},err:null};if(0===c.length)return this.error(fe.EXPECT_DATE_TIME_SKELETON,u);var f={type:he.dateTime,pattern:c,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?(n={},c.replace(Se,function(t){var e=t.length;switch(t[0]){case"G":n.era=4===e?"long":5===e?"narrow":"short";break;case"y":n.year=2===e?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":n.month=["numeric","2-digit","short","long","narrow"][e-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":n.day=["numeric","2-digit"][e-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":n.weekday=4!==e&&5===e?"narrow":"short";break;case"e":if(e<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");n.weekday=["short","long","narrow","short"][e-4];break;case"c":if(e<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");n.weekday=["short","long","narrow","short"][e-4];break;case"a":n.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":n.hourCycle="h12",n.hour=["numeric","2-digit"][e-1];break;case"H":n.hourCycle="h23",n.hour=["numeric","2-digit"][e-1];break;case"K":n.hourCycle="h11",n.hour=["numeric","2-digit"][e-1];break;case"k":n.hourCycle="h24",n.hour=["numeric","2-digit"][e-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":n.minute=["numeric","2-digit"][e-1];break;case"s":n.second=["numeric","2-digit"][e-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":n.timeZoneName=e<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),n):{}};return{val:{type:"date"===s?pe.date:pe.time,value:r,location:u,style:f},err:null}}return{val:{type:"number"===s?pe.number:"date"===s?pe.date:pe.time,value:r,location:u,style:null!==(u=null==l?void 0:l.style)&&void 0!==u?u:null},err:null};case"plural":case"selectordinal":case"select":l=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(fe.EXPECT_SELECT_ARGUMENT_OPTIONS,Ge(l,de({},l)));this.bumpSpace();var p,u=this.parseIdentifierIfPossible(),l=0;if("select"!==s&&"offset"===u.value){if(!this.bumpIf(":"))return this.error(fe.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Ge(this.clonePosition(),this.clonePosition()));if(this.bumpSpace(),(p=this.tryParseDecimalInteger(fe.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,fe.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return p;this.bumpSpace(),u=this.parseIdentifierIfPossible(),l=p.val}u=this.tryParsePluralOrSelectOptions(t,s,e,u);if(u.err)return u;if((h=this.tryParseArgumentClose(o)).err)return h;var h=Ge(o,this.clonePosition());return"select"===s?{val:{type:pe.select,value:r,options:Ye(u.val),location:h},err:null}:{val:{type:pe.plural,value:r,options:Ye(u.val),offset:l,pluralType:"plural"===s?"cardinal":"ordinal",location:h},err:null};default:return this.error(fe.INVALID_ARGUMENT_TYPE,Ge(i,a))}},er.prototype.tryParseArgumentClose=function(t){return this.isEOF()||125!==this.char()?this.error(fe.EXPECT_ARGUMENT_CLOSING_BRACE,Ge(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},er.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,e=this.clonePosition();!this.isEOF();)switch(this.char()){case 39:this.bump();var r=this.clonePosition();if(!this.bumpUntil("'"))return this.error(fe.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,Ge(r,this.clonePosition()));this.bump();break;case 123:t+=1,this.bump();break;case 125:if(!(0<t))return{val:this.message.slice(e.offset,this.offset()),err:null};--t;break;default:this.bump()}return{val:this.message.slice(e.offset,this.offset()),err:null}},er.prototype.parseNumberSkeletonFromString=function(t,e){var r=[];try{r=function(t){if(0===t.length)throw new Error("Number skeleton cannot be empty");for(var e=[],r=0,o=t.split(Le).filter(function(t){return 0<t.length});r<o.length;r++){var n=o[r].split("/");if(0===n.length)throw new Error("Invalid number skeleton");for(var i=n[0],n=n.slice(1),s=0,a=n;s<a.length;s++)if(0===a[s].length)throw new Error("Invalid number skeleton");e.push({stem:i,options:n})}return e}(t)}catch(t){return this.error(fe.INVALID_NUMBER_SKELETON,e)}return{val:{type:he.number,tokens:r,location:e,parsedOptions:this.shouldParseSkeletons?Ue(r):{}},err:null}},er.prototype.tryParsePluralOrSelectOptions=function(t,e,r,o){for(var n=!1,i=[],s=new Set,a=o.value,l=o.location;;){if(0===a.length){var c=this.clonePosition();if("select"===e||!this.bumpIf("="))break;var u=this.tryParseDecimalInteger(fe.EXPECT_PLURAL_ARGUMENT_SELECTOR,fe.INVALID_PLURAL_ARGUMENT_SELECTOR);if(u.err)return u;l=Ge(c,this.clonePosition()),a=this.message.slice(c.offset,this.offset())}if(s.has(a))return this.error("select"===e?fe.DUPLICATE_SELECT_ARGUMENT_SELECTOR:fe.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);"other"===a&&(n=!0),this.bumpSpace();var f=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===e?fe.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:fe.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,Ge(this.clonePosition(),this.clonePosition()));u=this.parseMessage(t+1,e,r);if(u.err)return u;c=this.tryParseArgumentClose(f);if(c.err)return c;i.push([a,{value:u.val,location:Ge(f,this.clonePosition())}]),s.add(a),this.bumpSpace(),a=(f=this.parseIdentifierIfPossible()).value,l=f.location}return 0===i.length?this.error("select"===e?fe.EXPECT_SELECT_ARGUMENT_SELECTOR:fe.EXPECT_PLURAL_ARGUMENT_SELECTOR,Ge(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!n?this.error(fe.MISSING_OTHER_CLAUSE,Ge(this.clonePosition(),this.clonePosition())):{val:i,err:null}},er.prototype.tryParseDecimalInteger=function(t,e){var r=1,o=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-1);for(var n=!1,i=0;!this.isEOF();){var s=this.char();if(!(48<=s&&s<=57))break;n=!0,i=10*i+(s-48),this.bump()}o=Ge(o,this.clonePosition());return n?ze(i*=r)?{val:i,err:null}:this.error(e,o):this.error(t,o)},er.prototype.offset=function(){return this.position.offset},er.prototype.isEOF=function(){return this.offset()===this.message.length},er.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},er.prototype.char=function(){var t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");var e=Ke(this.message,t);if(void 0===e)throw Error("Offset "+t+" is at invalid UTF-16 code unit boundary");return e},er.prototype.error=function(t,e){return{val:null,err:{kind:t,message:this.message,location:e}}},er.prototype.bump=function(){var t;this.isEOF()||(10===(t=this.char())?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=t<65536?1:2))},er.prototype.bumpIf=function(t){if(Ze(this.message,t,this.offset())){for(var e=0;e<t.length;e++)this.bump();return!0}return!1},er.prototype.bumpUntil=function(t){var e=this.offset(),e=this.message.indexOf(t,e);return 0<=e?(this.bumpTo(e),!0):(this.bumpTo(this.message.length),!1)},er.prototype.bumpTo=function(t){if(this.offset()>t)throw Error("targetOffset "+t+" must be greater than or equal to the current offset "+this.offset());for(t=Math.min(t,this.message.length);;){var e=this.offset();if(e===t)break;if(t<e)throw Error("targetOffset "+t+" is at invalid UTF-16 code unit boundary");if(this.bump(),this.isEOF())break}},er.prototype.bumpSpace=function(){for(;!this.isEOF()&&or(this.char());)this.bump()},er.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),e=this.offset(),t=this.message.charCodeAt(e+(65536<=t?2:1));return null!=t?t:null},er);function er(t,e){void 0===e&&(e={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!e.ignoreTag,this.requiresOtherClause=!!e.requiresOtherClause,this.shouldParseSkeletons=!!e.shouldParseSkeletons}function rr(t){return 97<=t&&t<=122||65<=t&&t<=90}function or(t){return 9<=t&&t<=13||32===t||133===t||8206<=t&&t<=8207||8232===t||8233===t}function nr(t,e){e=de({shouldParseSkeletons:!0,requiresOtherClause:!0},e=void 0===e?{}:e);var r=new tr(t,e).parse();if(r.err){t=SyntaxError(fe[r.err.kind]);throw t.location=r.err.location,t.originalMessage=r.err.message,t}return null!=e&&e.captureLocation||function r(t){t.forEach(function(t){if(delete t.location,ve(t)||Ee(t))for(var e in t.options)delete t.options[e].location,r(t.options[e].value);else ye(t)&&Te(t.style)||(we(t)||be(t))&&_e(t.style)?delete t.style.location:Pe(t)&&r(t.children)})}(r.val),r.val}function ir(t,e){var r=e&&e.cache?e.cache:pr,o=e&&e.serializer?e.serializer:cr;return(e&&e.strategy?e.strategy:function(t,e){return lr(t,this,1===t.length?sr:ar,e.cache.create(),e.serializer)})(t,{cache:r,serializer:o})}function sr(t,e,r,o){var n=null==o||"number"==typeof o||"boolean"==typeof o?o:r(o),r=e.get(n);return void 0===r&&(r=t.call(this,o),e.set(n,r)),r}function ar(t,e,r){var o=Array.prototype.slice.call(arguments,3),n=r(o),r=e.get(n);return void 0===r&&(r=t.apply(this,o),e.set(n,r)),r}function lr(t,e,r,o,n){return r.bind(e,t,o,n)}var cr=function(){return JSON.stringify(arguments)};function ur(){this.cache=Object.create(null)}ur.prototype.has=function(t){return t in this.cache},ur.prototype.get=function(t){return this.cache[t]},ur.prototype.set=function(t,e){this.cache[t]=e};var fr,pr={create:function(){return new ur}},hr={variadic:function(t,e){return lr(t,this,ar,e.cache.create(),e.serializer)},monadic:function(t,e){return lr(t,this,sr,e.cache.create(),e.serializer)}};(Ae=fr=fr||{}).MISSING_VALUE="MISSING_VALUE",Ae.INVALID_VALUE="INVALID_VALUE",Ae.MISSING_INTL_API="MISSING_INTL_API";var dr,mr,gr,yr,wr,br=(ue(Sr,wr=Error),Sr.prototype.toString=function(){return"[formatjs Error: "+this.code+"] "+this.message},Sr),vr=(ue(Ar,yr=br),Ar),Er=(ue(_r,gr=br),_r),Pr=(ue(Tr,mr=br),Tr);function Tr(t,e){return mr.call(this,'The intl string context variable "'+t+'" was not provided to the string "'+e+'"',fr.MISSING_VALUE,e)||this}function _r(t,e,r){return gr.call(this,'Value for "'+t+'" must be of type '+e,fr.INVALID_VALUE,r)||this}function Ar(t,e,r,o){return yr.call(this,'Invalid values for "'+t+'": "'+e+'". Options are "'+Object.keys(r).join('", "')+'"',fr.INVALID_VALUE,o)||this}function Sr(t,e,r){t=wr.call(this,t)||this;return t.code=e,t.originalMessage=r,t}function Fr(t,e,r,o,n,i,s){if(1===t.length&&ge(t[0]))return[{type:dr.literal,value:t[0].value}];for(var a=[],l=0,c=t;l<c.length;l++){var u=c[l];if(ge(u))a.push({type:dr.literal,value:u.value});else if(u.type===pe.pound)"number"==typeof i&&a.push({type:dr.literal,value:r.getNumberFormat(e).format(i)});else{var f=u.value;if(!(n&&f in n))throw new Pr(f,s);var p=n[f];if(u.type===pe.argument)p&&"string"!=typeof p&&"number"!=typeof p||(p="string"==typeof p||"number"==typeof p?String(p):""),a.push({type:"string"==typeof p?dr.literal:dr.object,value:p});else if(we(u)){var h="string"==typeof u.style?o.date[u.style]:_e(u.style)?u.style.parsedOptions:void 0;a.push({type:dr.literal,value:r.getDateTimeFormat(e,h).format(p)})}else if(be(u))h="string"==typeof u.style?o.time[u.style]:_e(u.style)?u.style.parsedOptions:void 0,a.push({type:dr.literal,value:r.getDateTimeFormat(e,h).format(p)});else if(ye(u))(h="string"==typeof u.style?o.number[u.style]:Te(u.style)?u.style.parsedOptions:void 0)&&h.scale&&(p*=h.scale||1),a.push({type:dr.literal,value:r.getNumberFormat(e,h).format(p)});else{if(Pe(u)){var d=u.children,m=u.value,f=n[m];if("function"!=typeof f)throw new Er(m,"function",s);d=f(Fr(d,e,r,o,n,i).map(function(t){return t.value}));Array.isArray(d)||(d=[d]),a.push.apply(a,d.map(function(t){return{type:"string"==typeof t?dr.literal:dr.object,value:t}}))}if(ve(u)){if(!(g=u.options[p]||u.options.other))throw new vr(u.value,p,Object.keys(u.options),s);a.push.apply(a,Fr(g.value,e,r,o,n))}else if(Ee(u)){if(!(g=u.options["="+p])){if(!Intl.PluralRules)throw new br('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',fr.MISSING_INTL_API,s);var d=r.getPluralRules(e,{type:u.pluralType}).select(p-(u.offset||0)),g=u.options[d]||u.options.other}if(!g)throw new vr(u.value,p,Object.keys(u.options),s);a.push.apply(a,Fr(g.value,e,r,o,n,p-(u.offset||0)))}}}}return a.length<2?a:a.reduce(function(t,e){var r=t[t.length-1];return r&&r.type===dr.literal&&e.type===dr.literal?r.value+=e.value:t.push(e),t},[])}function Lr(r){return{create:function(){return{has:function(t){return t in r},get:function(t){return r[t]},set:function(t,e){r[t]=e}}}}}(Ae=dr=dr||{})[Ae.literal=0]="literal",Ae[Ae.object=1]="object";var Cr=(Object.defineProperty(Nr,"defaultLocale",{get:function(){return Nr.memoizedDefaultLocale||(Nr.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),Nr.memoizedDefaultLocale},enumerable:!1,configurable:!0}),Nr.memoizedDefaultLocale=null,Nr.__parse=nr,Nr.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"}}},Nr);function Nr(t,e,r,o){var n,i,s=this;if(void 0===e&&(e=Nr.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(t){t=s.formatToParts(t);if(1===t.length)return t[0].value;t=t.reduce(function(t,e){return t.length&&e.type===dr.literal&&"string"==typeof t[t.length-1]?t[t.length-1]+=e.value:t.push(e.value),t},[]);return t.length<=1?t[0]||"":t},this.formatToParts=function(t){return Fr(s.ast,s.locales,s.formatters,s.formats,t,void 0,s.message)},this.resolvedOptions=function(){return{locale:Intl.NumberFormat.supportedLocalesOf(s.locales)[0]}},this.getAst=function(){return s.ast},"string"==typeof t){if(this.message=t,!Nr.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=Nr.__parse(t,{ignoreTag:null==o?void 0:o.ignoreTag})}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=(n=Nr.formats,(i=r)?Object.keys(n).reduce(function(t,e){var r,o;return t[e]=(r=n[e],(o=i[e])?de(de(de({},r||{}),o||{}),Object.keys(r).reduce(function(t,e){return t[e]=de(de({},r[e]),o[e]||{}),t},{})):r),t},de({},n)):n),this.locales=e,this.formatters=o&&o.formatters||{getNumberFormat:ir(function(){for(var t,e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return new((t=Intl.NumberFormat).bind.apply(t,me([void 0],e)))},{cache:Lr((o=void 0===(o=this.formatterCache)?{number:{},dateTime:{},pluralRules:{}}:o).number),strategy:hr.variadic}),getDateTimeFormat:ir(function(){for(var t,e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return new((t=Intl.DateTimeFormat).bind.apply(t,me([void 0],e)))},{cache:Lr(o.dateTime),strategy:hr.variadic}),getPluralRules:ir(function(){for(var t,e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return new((t=Intl.PluralRules).bind.apply(t,me([void 0],e)))},{cache:Lr(o.pluralRules),strategy:hr.variadic})}}const xr={},Or=(e,r)=>{if(null!=r){if(r in xr&&e in xr[r])return xr[r][e];var o,n,i=qr(r);for(let t=0;t<i.length;t++){var s=(o=i[t],n=e,kr(o)?function(t,e){if(e in t)return t[e];const r=e.split(".");let o=t;for(let t=0;t<r.length;t++)if("object"==typeof o){if(0<t){const e=r.slice(t,r.length).join(".");if(e in o){o=o[e];break}}o=o[r[t]]}else o=void 0;return o}(function(t){return Ir[t]||null}(o),n):null);if(s)return o=e,n=r,(s=s)&&(n in xr||(xr[n]={}),o in xr[n]||(xr[n][o]=s),s)}}};let Ir;const Rr=Qt({});function kr(t){return t in Ir}function Ur(e,...r){delete xr[e],Rr.update(t=>(t[e]=le.all([t[e]||{},...r]),t))}Jt([Rr],([t])=>Object.keys(t)),Rr.subscribe(t=>Ir=t);const Mr={};function Dr(t){return Mr[t]}function Gr(t){return qr(t).some(t=>{return null===(t=Dr(t))||void 0===t?void 0:t.size})}const jr={};function Br(t){if(!Gr(t))return t in jr?jr[t]:void 0;const e=qr(t).map(t=>{var e=Dr(t);return[t,e?[...e]:[]]}).filter(([,t])=>0<t.length);return jr[t]=Promise.all(e.map(([t,r])=>function(e){return Promise.all(r.map(t=>(function(t,e){Mr[t].delete(e),0===Mr[t].size&&delete Mr[t]}(e,t),t().then(t=>t.default||t)))).then(t=>Ur(e,...t))}(t))).then(()=>Gr(t)?Br(t):void delete jr[t]),jr[t]}function $r(t,e){var r={};for(n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(t);o<n.length;o++)e.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(t,n[o])&&(r[n[o]]=t[n[o]]);return r}const Vr={fallbackLocale:null,initialLocale:null,loadingDelay:200,formats:{number:{scientific:{notation:"scientific"},engineering:{notation:"engineering"},compactLong:{notation:"compact",compactDisplay:"long"},compactShort:{notation:"compact",compactDisplay:"short"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},warnOnMissingMessages:!0,ignoreTag:!0};const zr=Qt(!1);let Xr;const Hr=Qt(null);function Zr(t){return t.split("-").map((t,e,r)=>r.slice(0,e+1).join("-")).reverse()}function qr(t,e=Vr.fallbackLocale){t=Zr(t);return e?[...new Set([...t,...Zr(e)])]:t}Hr.subscribe(t=>{Xr=t,"undefined"!=typeof window&&null!==t&&document.documentElement.setAttribute("lang",t)});const Yr=Hr.set;Hr.set=e=>{if(function(t){if(null!=t){var e=qr(t);for(let t=0;t<e.length;t++){var r=e[t];if(kr(r))return r}}}(e)&&Gr(e)){var{loadingDelay:r}=Vr;let t;return"undefined"!=typeof window&&null!=Xr&&r?t=window.setTimeout(()=>zr.set(!0),r):zr.set(!0),Br(e).then(()=>{Yr(e)}).finally(()=>{clearTimeout(t),zr.set(!1)})}return Yr(e)},Hr.update=t=>Yr(t(Xr));const Kr=r=>{const o=Object.create(null);return t=>{var e=JSON.stringify(t);return e in o?o[e]:o[e]=r(t)}},Wr=(t,e)=>{var{formats:r}=Vr;if(t in r&&e in r[t])return r[t][e];throw new Error(`[svelte-i18n] Unknown "${e}" ${t} format.`)},Qr=Kr(t=>{var{locale:e,format:r}=t,t=$r(t,["locale","format"]);if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return r&&(t=Wr("number",r)),new Intl.NumberFormat(e,t)}),Jr=Kr(t=>{var{locale:e,format:r}=t,t=$r(t,["locale","format"]);if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return r?t=Wr("date",r):0===Object.keys(t).length&&(t=Wr("date","short")),new Intl.DateTimeFormat(e,t)}),to=Kr(t=>{var{locale:e,format:r}=t,t=$r(t,["locale","format"]);if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return r?t=Wr("time",r):0===Object.keys(t).length&&(t=Wr("time","short")),new Intl.DateTimeFormat(e,t)}),eo=Kr((t,e=Xr)=>new Cr(t,e,Vr.formats,{ignoreTag:Vr.ignoreTag})),ro=Jt([Hr,Rr],()=>(t,e={})=>{"object"==typeof t&&(t=(e=t).id);var{values:r,locale:o=Xr,default:n}=e;if(null==o)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let i=Or(t,o);if(i){if("string"!=typeof i)return console.warn(`[svelte-i18n] Message with id "${t}" must be of type "string", found: "${typeof i}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),i}else Vr.warnOnMissingMessages&&console.warn(`[svelte-i18n] The message "${t}" was not found in "${qr(o).join('", "')}".${Gr(Xr)?"\n\nNote: there are at least one loader still registered to this locale that wasn't executed.":""}`),i=n||t;if(!r)return i;let s=i;try{s=eo(i,o).format(r)}catch(e){console.warn(`[svelte-i18n] Message "${t}" has syntax error:`,e.message)}return s});Jt([Hr],()=>(t,e)=>((t={})=>{var{locale:e=Xr}=t,t=$r(t,["locale"]);return to(Object.assign({locale:e},t))})(e).format(t)),Jt([Hr],()=>(t,e)=>((t={})=>{var{locale:e=Xr}=t,t=$r(t,["locale"]);return Jr(Object.assign({locale:e},t))})(e).format(t)),Jt([Hr],()=>(t,e)=>((t={})=>{var{locale:e=Xr}=t,t=$r(t,["locale"]);return Qr(Object.assign({locale:e},t))})(e).format(t)),Jt([Hr,Rr],()=>(t,e=Xr)=>Or(t,e)),window.emWidgets={topic:(t,e=0)=>{return-1==Yt.indexOf(t)&&(e=new Xt(e),Kt[t]=e,Yt.push(t)),Kt[t]}};const oo={en:{forgotPasswordForm:{goToLogin:"Back to Sign In",forgotPasswordTitle:"Forgot 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"}},tr:{forgotPasswordForm:{goToLogin:"Oturum Açmaya Geri Dön",forgotPasswordTitle:"Parolanızı mı unuttunuz",forgotPasswordEmail:"E-posta",forgotPasswordEmailInputError:"E-posta '@' ve 2-3 harf uzunluğunda bir etki alanı içermelidir.",forgotPasswordEmailError:"Bu e-posta mevcut değil.",forgotPasswordReset:"Şifreyi yenile",forgotPasswordSuccess:"Başarı!",forgotPasswordSuccessDescription:"Şifrenizi sıfırlamak için talimatları içeren bir e-posta gönderdik.",forgotNewPasswordTitle:"Yeni Şifre",forgotNewPasswordPassword:"Parola",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:"Onay şifresi yeni şifreyle 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 tıklayınız"}},ro:{forgotPasswordForm:{goToLogin:"Inapoi la autentificare",forgotPasswordTitle:"Parola Uitata",forgotPasswordEmail:"Email",forgotPasswordEmailInputError:"Email-ul ar trebui sa contina '@' si 2-3 litere.",forgotPasswordEmailError:"Acest email nu exista",forgotPasswordReset:"Reseteaza parola",forgotPasswordSuccess:"Succes!",forgotPasswordSuccessDescription:"Am trimis un email cu instructiunile pentru resetarea parolei.",forgotNewPasswordTitle:"Noua parola",forgotNewPasswordPassword:"Parola",forgotNewPasswordPasswordError:"Parola trebuie sa fie intre 8 si 20 de caractere, sa contina o litera mare, o cifra si un caracter special",forgotNewPasswordConfirmPassword:"Confirma parola",forgotNewPasswordConfirmPasswordError:"Parola confirmata trebuie sa fie la fel ca parola noua si sa respecte aceleasi reguli",forgotNewPasswordButton:"Schimba parola",forgotChangePasswordTitle:"Succes!",forgotChangePasswordDescription:"Parola a fost schimbata cu succes.",forgotChangePasswordLogin:"Autentificare"}}};function no(t){let r,o;return{c(){r=e("script"),r.src!==(o="//www.google.com/recaptcha/api.js?render="+t[1])&&tt(r,"src",o),r.async=!0,r.defer=!0},m(t,e){Y(t,r,e)},p(t,e){2&e[0]&&r.src!==(o="//www.google.com/recaptcha/api.js?render="+t[1])&&tt(r,"src",o)},d(t){t&&K(r)}}}function io(r){let o,n,i,s,a,l,c,u,f,p,h,d,m,g,y,w,b,v,E,P,T,_,A,S,F=r[20]("forgotPasswordForm.forgotChangePasswordTitle")+"",L=r[20]("forgotPasswordForm.forgotChangePasswordDescription")+"",C=r[20]("forgotPasswordForm.forgotChangePasswordLogin")+"";return{c(){o=e("div"),n=e("div"),i=e("div"),s=B("svg"),a=B("defs"),l=B("style"),c=W(".a{fill:#16ce16;}.b,.d{fill:none;}.b{stroke:#16ce16;stroke-width:2px;}.c{stroke:none;}"),u=B("g"),f=B("g"),p=B("path"),h=B("g"),d=B("circle"),m=B("circle"),g=Q(),y=e("h4"),w=W(F),b=Q(),v=e("p"),E=W(L),P=Q(),T=e("button"),_=W(C),tt(p,"class","a"),tt(p,"d","M16.1,28,0,11.9,3.267,8.633,16.1,21.233,37.333,0,40.6,3.267Z"),tt(p,"transform","translate(264.272 482.563)"),tt(f,"transform","translate(-7360.574 8503.438)"),tt(d,"class","c"),tt(d,"cx","30"),tt(d,"cy","30"),tt(d,"r","30"),tt(m,"class","d"),tt(m,"cx","30"),tt(m,"cy","30"),tt(m,"r","29"),tt(h,"class","b"),tt(h,"transform","translate(-7106 8970)"),tt(u,"transform","translate(7106 -8970)"),tt(s,"xmlns","http://www.w3.org/2000/svg"),tt(s,"width","60"),tt(s,"height","60"),tt(s,"viewBox","0 0 60 60"),tt(i,"class","NewPasswordSuccess"),tt(i,"part","NewPasswordSuccess"),tt(T,"class","resetPasswordButton"),tt(T,"part","resetPasswordButton"),tt(n,"class","FormContent"),tt(n,"part","FormContent"),tt(o,"class","FormLeftSide"),tt(o,"part","FormLeftSide")},m(t,e){Y(t,o,e),q(o,n),q(n,i),q(i,s),q(s,a),q(a,l),q(l,c),q(s,u),q(u,f),q(f,p),q(u,h),q(h,d),q(h,m),q(i,g),q(i,y),q(y,w),q(i,b),q(i,v),q(v,E),q(n,P),q(n,T),q(T,_),A||(S=J(T,"click",r[42]),A=!0)},p(t,e){1048576&e[0]&&F!==(F=t[20]("forgotPasswordForm.forgotChangePasswordTitle")+"")&&et(w,F),1048576&e[0]&&L!==(L=t[20]("forgotPasswordForm.forgotChangePasswordDescription")+"")&&et(E,L),1048576&e[0]&&C!==(C=t[20]("forgotPasswordForm.forgotChangePasswordLogin")+"")&&et(_,C)},d(t){t&&K(o),A=!1,S()}}}function so(r){let o,n,i,s,a,l,c,u,f,p,h,d,m,g,y,w,b,v,E,P,T,_,A,S,F,L,C,N,x,O,I,R=r[20]("forgotPasswordForm.forgotNewPasswordTitle")+"",k=r[20]("forgotPasswordForm.forgotNewPasswordPassword")+"",U=r[20]("forgotPasswordForm.forgotNewPasswordConfirmPassword")+"",M=r[20]("forgotPasswordForm.forgotNewPasswordButton")+"";function D(t){return t[16]?uo:co}let G=D(r),j=G(r),B=r[12]&&fo(r);function $(t){return t[17]?ho:po}let V=$(r),z=V(r),X=r[13]&&mo(r);return{c(){o=e("div"),n=e("div"),i=e("h4"),s=W(R),a=Q(),l=e("div"),c=e("div"),u=e("label"),f=W(k),p=W(":"),h=e("span"),h.textContent="*",d=Q(),m=e("input"),g=Q(),j.c(),y=Q(),B&&B.c(),w=Q(),b=e("div"),v=e("label"),E=W(U),P=W(":"),T=e("span"),T.textContent="*",_=Q(),A=e("input"),S=Q(),z.c(),F=Q(),X&&X.c(),L=Q(),C=e("button"),N=W(M),tt(i,"class","FormHeaderTitle"),tt(i,"part","FormHeaderTitle"),tt(n,"class","FormHeader"),tt(n,"part","FormHeader"),tt(h,"class","FormRequired"),tt(h,"part","FormRequired"),tt(u,"for","NewPassword"),tt(m,"type","password"),tt(m,"id","NewPassword"),tt(c,"class","NewPassword"),tt(c,"part","NewPassword"),tt(T,"class","FormRequired"),tt(T,"part","FormRequired"),tt(v,"for","RetypePassword"),tt(A,"type","password"),tt(A,"id","RetypePassword"),tt(b,"class","ConfirmPassword"),tt(b,"part","ConfirmPassword"),tt(C,"class","resetPasswordButton"),tt(C,"part","resetPasswordButton"),C.disabled=x=!r[11],tt(l,"class","FormContent"),tt(l,"part","FormContent"),tt(o,"class","FormLeftSide test"),tt(o,"part","FormLeftSide test")},m(t,e){Y(t,o,e),q(o,n),q(n,i),q(i,s),q(o,a),q(o,l),q(l,c),q(c,u),q(u,f),q(u,p),q(u,h),q(c,d),q(c,m),rt(m,r[18]),r[34](m),q(c,g),j.m(c,null),q(c,y),B&&B.m(c,null),q(l,w),q(l,b),q(b,v),q(v,E),q(v,P),q(v,T),q(b,_),q(b,A),rt(A,r[19]),r[38](A),q(b,S),z.m(b,null),q(b,F),X&&X.m(b,null),q(l,L),q(l,C),q(C,N),O||(I=[J(m,"input",r[33]),J(m,"blur",function(){Z(r[26](r[12],r[18],r[14]))&&r[26](r[12],r[18],r[14]).apply(this,arguments)}),J(A,"input",r[37]),J(A,"keyup",function(){Z(r[26](r[13],r[19],r[15]))&&r[26](r[13],r[19],r[15]).apply(this,arguments)}),J(C,"click",r[41])],O=!0)},p(t,e){r=t,1048576&e[0]&&R!==(R=r[20]("forgotPasswordForm.forgotNewPasswordTitle")+"")&&et(s,R),1048576&e[0]&&k!==(k=r[20]("forgotPasswordForm.forgotNewPasswordPassword")+"")&&et(f,k),262144&e[0]&&m.value!==r[18]&&rt(m,r[18]),G===(G=D(r))&&j?j.p(r,e):(j.d(1),j=G(r),j&&(j.c(),j.m(c,y))),r[12]?B?B.p(r,e):(B=fo(r),B.c(),B.m(c,null)):B&&(B.d(1),B=null),1048576&e[0]&&U!==(U=r[20]("forgotPasswordForm.forgotNewPasswordConfirmPassword")+"")&&et(E,U),524288&e[0]&&A.value!==r[19]&&rt(A,r[19]),V===(V=$(r))&&z?z.p(r,e):(z.d(1),z=V(r),z&&(z.c(),z.m(b,F))),r[13]?X?X.p(r,e):(X=mo(r),X.c(),X.m(b,null)):X&&(X.d(1),X=null),1048576&e[0]&&M!==(M=r[20]("forgotPasswordForm.forgotNewPasswordButton")+"")&&et(N,M),2048&e[0]&&x!==(x=!r[11])&&(C.disabled=x)},d(t){t&&K(o),r[34](null),j.d(),B&&B.d(),r[38](null),z.d(),X&&X.d(),O=!1,H(I)}}}function ao(t){let r,o,n,i,s,a,l,c,u,f,p,h,d,m,g,y,w,b,v,E=t[20]("forgotPasswordForm.forgotPasswordSuccess")+"",P=t[20]("forgotPasswordForm.forgotPasswordSuccessDescription")+"";return{c(){r=e("div"),o=e("div"),n=e("div"),i=B("svg"),s=B("defs"),a=B("style"),l=W(".a{fill:#16ce16;}.b,.d{fill:none;}.b{stroke:#16ce16;stroke-width:2px;}.c{stroke:none;}"),c=B("g"),u=B("g"),f=B("path"),p=B("g"),h=B("circle"),d=B("circle"),m=Q(),g=e("h4"),y=W(E),w=Q(),b=e("p"),v=W(P),tt(f,"class","a"),tt(f,"d","M16.1,28,0,11.9,3.267,8.633,16.1,21.233,37.333,0,40.6,3.267Z"),tt(f,"transform","translate(264.272 482.563)"),tt(u,"transform","translate(-7360.574 8503.438)"),tt(h,"class","c"),tt(h,"cx","30"),tt(h,"cy","30"),tt(h,"r","30"),tt(d,"class","d"),tt(d,"cx","30"),tt(d,"cy","30"),tt(d,"r","29"),tt(p,"class","b"),tt(p,"transform","translate(-7106 8970)"),tt(c,"transform","translate(7106 -8970)"),tt(i,"xmlns","http://www.w3.org/2000/svg"),tt(i,"width","60"),tt(i,"height","60"),tt(i,"viewBox","0 0 60 60"),tt(n,"class","NewPasswordSuccess"),tt(n,"part","NewPasswordSuccess"),tt(o,"class","FormContent"),tt(o,"part","FormContent"),tt(r,"class","FormLeftSide"),tt(r,"part","FormLeftSide")},m(t,e){Y(t,r,e),q(r,o),q(o,n),q(n,i),q(i,s),q(s,a),q(a,l),q(i,c),q(c,u),q(u,f),q(c,p),q(p,h),q(p,d),q(n,m),q(n,g),q(g,y),q(n,w),q(n,b),q(b,v)},p(t,e){1048576&e[0]&&E!==(E=t[20]("forgotPasswordForm.forgotPasswordSuccess")+"")&&et(y,E),1048576&e[0]&&P!==(P=t[20]("forgotPasswordForm.forgotPasswordSuccessDescription")+"")&&et(v,P)},d(t){t&&K(r)}}}function lo(r){let o,n,i,s,a,l,c,u,f,p,h,d,m,g,y,w,b,v,E,P,T,_,A,S,F,L,C,N,x,O,I,R,k=r[20]("forgotPasswordForm.goToLogin")+"",U=r[20]("forgotPasswordForm.forgotPasswordTitle")+"",M=r[20]("forgotPasswordForm.forgotPasswordEmail")+"",D=r[20]("forgotPasswordForm.forgotPasswordReset")+"",G=r[9]&&go(r),j=r[3]&&yo(r);return{c(){o=e("div"),n=e("div"),i=e("button"),s=B("svg"),a=B("defs"),l=B("style"),c=W(".a{fill:var(--emfe-w-color-primary, #D0046C);}"),u=B("path"),f=Q(),p=W(k),h=Q(),d=e("h4"),m=W(U),g=Q(),y=e("div"),w=e("div"),b=e("label"),v=W(M),E=W(":"),P=e("span"),P.textContent="*",T=Q(),_=e("input"),A=Q(),G&&G.c(),S=Q(),j&&j.c(),C=Q(),N=e("button"),x=W(D),tt(u,"class","a"),tt(u,"d","M12,0,9.818,2.182l8.26,8.26H0v3.117H18.078l-8.26,8.26L12,24,24,12Z"),tt(u,"transform","translate(24 24) rotate(180)"),tt(s,"xmlns","http://www.w3.org/2000/svg"),tt(s,"viewBox","0 0 24 24"),tt(i,"class","backButtonForgotPassword"),tt(i,"part","backButtonForgotPassword"),tt(d,"class","FormHeaderTitle"),tt(d,"part","FormHeaderTitle"),tt(n,"class","FormHeader"),tt(n,"part","FormHeader"),tt(P,"class","FormRequired"),tt(P,"part","FormRequired"),tt(b,"for","ResetPasswordByEmail"),tt(_,"type","text"),tt(_,"id","ResetPasswordByEmail"),tt(w,"class",F="ResetPasswordByEmail "+(r[9]?"InvalidField":"")),tt(w,"part",L="ResetPasswordByEmail "+(r[9]?"InvalidField":"")),tt(N,"class","resetPasswordButton"),tt(N,"part","resetPasswordButton"),N.disabled=O=!r[10],tt(y,"class","FormContent"),tt(y,"part","FormContent"),tt(o,"class","FormLeftSide"),tt(o,"part","FormLeftSide")},m(t,e){Y(t,o,e),q(o,n),q(n,i),q(i,s),q(s,a),q(a,l),q(l,c),q(s,u),q(i,f),q(i,p),q(n,h),q(n,d),q(d,m),q(o,g),q(o,y),q(y,w),q(w,b),q(b,v),q(b,E),q(b,P),q(w,T),q(w,_),rt(_,r[5]),q(w,A),G&&G.m(w,null),q(w,S),j&&j.m(w,null),q(y,C),q(y,N),q(N,x),I||(R=[J(i,"click",r[30]),J(_,"input",r[31]),J(_,"keyup",r[21]),J(N,"click",r[32])],I=!0)},p(t,e){1048576&e[0]&&k!==(k=t[20]("forgotPasswordForm.goToLogin")+"")&&et(p,k),1048576&e[0]&&U!==(U=t[20]("forgotPasswordForm.forgotPasswordTitle")+"")&&et(m,U),1048576&e[0]&&M!==(M=t[20]("forgotPasswordForm.forgotPasswordEmail")+"")&&et(v,M),32&e[0]&&_.value!==t[5]&&rt(_,t[5]),t[9]?G?G.p(t,e):(G=go(t),G.c(),G.m(w,S)):G&&(G.d(1),G=null),t[3]?j?j.p(t,e):(j=yo(t),j.c(),j.m(w,null)):j&&(j.d(1),j=null),512&e[0]&&F!==(F="ResetPasswordByEmail "+(t[9]?"InvalidField":""))&&tt(w,"class",F),512&e[0]&&L!==(L="ResetPasswordByEmail "+(t[9]?"InvalidField":""))&&tt(w,"part",L),1048576&e[0]&&D!==(D=t[20]("forgotPasswordForm.forgotPasswordReset")+"")&&et(x,D),1024&e[0]&&O!==(O=!t[10])&&(N.disabled=O)},d(t){t&&K(o),G&&G.d(),j&&j.d(),I=!1,H(R)}}}function co(r){let o,n,i,s,a,l,c,u,f,p;return{c(){o=B("svg"),n=B("defs"),i=B("style"),s=W(".a{fill:var(--emfe-w-color-white, #FFFFFF);}"),a=B("g"),l=B("path"),c=B("circle"),tt(l,"class","a"),tt(l,"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"),tt(l,"transform","translate(0)"),tt(c,"class","a"),tt(c,"cx","2.779"),tt(c,"cy","2.779"),tt(c,"r","2.779"),tt(c,"transform","translate(20.827 30.303)"),tt(a,"transform","translate(-14.185 -27.832)"),tt(o,"class",u="TogglePasswordVisibility "+(r[12]?"InvalidToggle":"")),tt(o,"xmlns","http://www.w3.org/2000/svg"),tt(o,"width","18.843"),tt(o,"height","10.5"),tt(o,"viewBox","0 0 18.843 10.5")},m(t,e){Y(t,o,e),q(o,n),q(n,i),q(i,s),q(o,a),q(a,l),q(a,c),f||(p=J(o,"click",r[36]),f=!0)},p(t,e){4096&e[0]&&u!==(u="TogglePasswordVisibility "+(t[12]?"InvalidToggle":""))&&tt(o,"class",u)},d(t){t&&K(o),f=!1,p()}}}function uo(r){let o,n,i,s,a,l,c,u,f,p,h,d,m,g,y,w;return{c(){o=B("svg"),n=B("defs"),i=B("style"),s=W(".a{fill:var(--emfe-w-color-white, #FFFFFF);}"),a=B("g"),l=B("circle"),c=B("g"),u=B("path"),f=B("path"),p=B("g"),h=B("path"),d=B("path"),m=B("rect"),tt(l,"class","a"),tt(l,"cx","0.05"),tt(l,"cy","0.05"),tt(l,"r","0.05"),tt(l,"transform","translate(121.017 31.148)"),tt(u,"class","a"),tt(u,"d","M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z"),tt(u,"transform","translate(-142.164 -39.123)"),tt(f,"class","a"),tt(f,"d","M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z"),tt(f,"transform","translate(-136.413 -42.068)"),tt(c,"transform","translate(117.499 27.37)"),tt(h,"class","a"),tt(h,"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"),tt(h,"transform","translate(-110.856 -33.157)"),tt(d,"class","a"),tt(d,"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"),tt(d,"transform","translate(-130.743 -29.617)"),tt(p,"transform","translate(110.856 24.899)"),tt(m,"class","a"),tt(m,"width","0.972"),tt(m,"height","15.861"),tt(m,"rx","0.486"),tt(m,"transform","translate(114.827 23.858) rotate(-39.315)"),tt(a,"transform","translate(-110.856 -23.242)"),tt(o,"class",g="TogglePasswordVisibility "+(r[12]?"InvalidToggle":"")),tt(o,"xmlns","http://www.w3.org/2000/svg"),tt(o,"width","18.844"),tt(o,"height","12.887"),tt(o,"viewBox","0 0 18.844 12.887")},m(t,e){Y(t,o,e),q(o,n),q(n,i),q(i,s),q(o,a),q(a,l),q(a,c),q(c,u),q(c,f),q(a,p),q(p,h),q(p,d),q(a,m),y||(w=J(o,"click",r[35]),y=!0)},p(t,e){4096&e[0]&&g!==(g="TogglePasswordVisibility "+(t[12]?"InvalidToggle":""))&&tt(o,"class",g)},d(t){t&&K(o),y=!1,w()}}}function fo(t){let r,o,n=t[20]("forgotPasswordForm.forgotNewPasswordPasswordError")+"";return{c(){r=e("p"),o=W(n),tt(r,"class","InvalidInput"),tt(r,"part","InvalidInput")},m(t,e){Y(t,r,e),q(r,o)},p(t,e){1048576&e[0]&&n!==(n=t[20]("forgotPasswordForm.forgotNewPasswordPasswordError")+"")&&et(o,n)},d(t){t&&K(r)}}}function po(r){let o,n,i,s,a,l,c,u,f,p,h;return{c(){o=B("svg"),n=B("defs"),i=B("style"),s=W(".a{fill:var(--emfe-w-color-white, #FFFFFF);}"),a=B("g"),l=B("path"),c=B("circle"),tt(l,"class","a"),tt(l,"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"),tt(l,"transform","translate(0)"),tt(c,"class","a"),tt(c,"cx","2.779"),tt(c,"cy","2.779"),tt(c,"r","2.779"),tt(c,"transform","translate(20.827 30.303)"),tt(a,"transform","translate(-14.185 -27.832)"),tt(o,"class",u="TogglePasswordVisibility "+(r[13]?"InvalidToggle":"")),tt(o,"part",f="TogglePasswordVisibility "+(r[13]?"InvalidToggle":"")),tt(o,"xmlns","http://www.w3.org/2000/svg"),tt(o,"width","18.843"),tt(o,"height","10.5"),tt(o,"viewBox","0 0 18.843 10.5")},m(t,e){Y(t,o,e),q(o,n),q(n,i),q(i,s),q(o,a),q(a,l),q(a,c),p||(h=J(o,"click",r[40]),p=!0)},p(t,e){8192&e[0]&&u!==(u="TogglePasswordVisibility "+(t[13]?"InvalidToggle":""))&&tt(o,"class",u),8192&e[0]&&f!==(f="TogglePasswordVisibility "+(t[13]?"InvalidToggle":""))&&tt(o,"part",f)},d(t){t&&K(o),p=!1,h()}}}function ho(r){let o,n,i,s,a,l,c,u,f,p,h,d,m,g,y,w,b;return{c(){o=B("svg"),n=B("defs"),i=B("style"),s=W(".a{fill:var(--emfe-w-color-white, #FFFFFF);}"),a=B("g"),l=B("circle"),c=B("g"),u=B("path"),f=B("path"),p=B("g"),h=B("path"),d=B("path"),m=B("rect"),tt(l,"class","a"),tt(l,"cx","0.05"),tt(l,"cy","0.05"),tt(l,"r","0.05"),tt(l,"transform","translate(121.017 31.148)"),tt(u,"class","a"),tt(u,"d","M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z"),tt(u,"transform","translate(-142.164 -39.123)"),tt(f,"class","a"),tt(f,"d","M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z"),tt(f,"transform","translate(-136.413 -42.068)"),tt(c,"transform","translate(117.499 27.37)"),tt(h,"class","a"),tt(h,"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"),tt(h,"transform","translate(-110.856 -33.157)"),tt(d,"class","a"),tt(d,"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"),tt(d,"transform","translate(-130.743 -29.617)"),tt(p,"transform","translate(110.856 24.899)"),tt(m,"class","a"),tt(m,"width","0.972"),tt(m,"height","15.861"),tt(m,"rx","0.486"),tt(m,"transform","translate(114.827 23.858) rotate(-39.315)"),tt(a,"transform","translate(-110.856 -23.242)"),tt(o,"class",g="TogglePasswordVisibility "+(r[13]?"InvalidToggle":"")),tt(o,"part",y="TogglePasswordVisibility "+(r[13]?"InvalidToggle":"")),tt(o,"xmlns","http://www.w3.org/2000/svg"),tt(o,"width","18.844"),tt(o,"height","12.887"),tt(o,"viewBox","0 0 18.844 12.887")},m(t,e){Y(t,o,e),q(o,n),q(n,i),q(i,s),q(o,a),q(a,l),q(a,c),q(c,u),q(c,f),q(a,p),q(p,h),q(p,d),q(a,m),w||(b=J(o,"click",r[39]),w=!0)},p(t,e){8192&e[0]&&g!==(g="TogglePasswordVisibility "+(t[13]?"InvalidToggle":""))&&tt(o,"class",g),8192&e[0]&&y!==(y="TogglePasswordVisibility "+(t[13]?"InvalidToggle":""))&&tt(o,"part",y)},d(t){t&&K(o),w=!1,b()}}}function mo(t){let r,o,n=t[20]("forgotPasswordForm.forgotNewPasswordConfirmPasswordError")+"";return{c(){r=e("p"),o=W(n),tt(r,"class","InvalidInput"),tt(r,"part","InvalidInput")},m(t,e){Y(t,r,e),q(r,o)},p(t,e){1048576&e[0]&&n!==(n=t[20]("forgotPasswordForm.forgotNewPasswordConfirmPasswordError")+"")&&et(o,n)},d(t){t&&K(r)}}}function go(t){let r,o,n=t[20]("forgotPasswordForm.forgotPasswordEmailInputError")+"";return{c(){r=e("p"),o=W(n),tt(r,"class","ForgotPasswordError"),tt(r,"part","ForgotPasswordError")},m(t,e){Y(t,r,e),q(r,o)},p(t,e){1048576&e[0]&&n!==(n=t[20]("forgotPasswordForm.forgotPasswordEmailInputError")+"")&&et(o,n)},d(t){t&&K(r)}}}function yo(t){let r,o,n=t[20]("forgotPasswordForm.forgotPasswordEmailError")+"";return{c(){r=e("p"),o=W(n),tt(r,"class","ForgotPasswordError"),tt(r,"part","ForgotPasswordError")},m(t,e){Y(t,r,e),q(r,o)},p(t,e){1048576&e[0]&&n!==(n=t[20]("forgotPasswordForm.forgotPasswordEmailError")+"")&&et(o,n)},d(t){t&&K(r)}}}function wo(t){let r;return{c(){r=e("div"),tt(r,"class","FormRightSide"),tt(r,"part","FormRightSide"),o(r,"background-image","url('"+t[0]+"')")},m(t,e){Y(t,r,e)},p(t,e){1&e[0]&&o(r,"background-image","url('"+t[0]+"')")},d(t){t&&K(r)}}}function bo(t){let r,o,n,i,s,a=t[1]&&no(t),l=function(t){let r,o;function n(t){return t[2]?lo:t[4]?ao:t[6]?so:t[7]?io:void 0}let i=n(t),s=i&&i(t),a=!t[8]&&wo(t);return{c(){r=e("div"),s&&s.c(),o=Q(),a&&a.c(),tt(r,"class","FormContainer"),tt(r,"part","FormContainer")},m(t,e){Y(t,r,e),s&&s.m(r,null),q(r,o),a&&a.m(r,null)},p(t,e){i===(i=n(t))&&s?s.p(t,e):(s&&s.d(1),s=i&&i(t),s&&(s.c(),s.m(r,o))),t[8]?a&&(a.d(1),a=null):a?a.p(t,e):(a=wo(t),a.c(),a.m(r,null))},d(t){t&&K(r),s&&s.d(),a&&a.d()}}}(t);return{c(){a&&a.c(),r=c(),o=Q(),n=e("div"),i=Q(),l.c(),s=c(),this.c=f,tt(n,"class","g-recaptcha"),tt(n,"data-sitekey",t[1])},m(t,e){a&&a.m(document.head,null),q(document.head,r),Y(t,o,e),Y(t,n,e),Y(t,i,e),l.m(t,e),Y(t,s,e)},p(t,e){t[1]?a?a.p(t,e):(a=no(t),a.c(),a.m(r.parentNode,r)):a&&(a.d(1),a=null),2&e[0]&&tt(n,"data-sitekey",t[1]),l.p(t,e)},i:f,o:f,d(t){a&&a.d(t),K(r),t&&K(o),t&&K(n),t&&K(i),l.d(t),t&&K(s)}}}function vo(e,t,o){let r;var n=ro;e.$$.on_destroy.push(M(n,t=>o(20,r=t)));var i=this&&this.__awaiter||function(t,s,a,l){return new(a=a||Promise)(function(r,e){function o(t){try{i(l.next(t))}catch(t){e(t)}}function n(t){try{i(l.throw(t))}catch(t){e(t)}}function i(t){var e;t.done?r(t.value):((e=t.value)instanceof a?e:new a(function(t){t(e)})).then(o,n)}i((l=l.apply(t,s||[])).next())})};let s,a,{endpoint:l=""}=t,{forgotpasswordkey:c=""}=t,{imagedesktop:u=""}=t,{captchakey:f=""}=t,{lang:p=""}=t,h=!0,d=!1,m=!1,g="",y=!1,w=!1,b=!1,v,E,P=window.navigator.userAgent,T,_=!1,A=!1,S=!1,F=!1,L="",C="";Object.keys(oo).forEach(t=>{Ur(t,oo[t])});const N={email:/^(([^<>()[\]\.,;:\s@\"]+(\.[^<>()[\]\.,;:\s@\"]+)*)|(\".+\"))@(([^<>()[\]\.,;:\s@\"]+\.)+[^<>()[\]\.,;:\s@\"]{2,})$/i,password:/^(?=.*?[A-Z])(?=.*?[a-z])(?=.*?[0-9])(?=.*?[^\w\s]).{8,20}$/},x=t=>{switch(t){case"userNewPassword":o(16,S=!S),o(14,s.type=S?"text":"password",s);break;case"userConfirmPassword":o(17,F=!F),o(15,a.type=F?"text":"password",a)}},O=t=>{switch(t){case"ToEmailSuccess":o(3,d=!1),o(2,h=!1),o(4,m=!0);break;case"ToReset":o(2,h=!1),o(6,y=!0);break;case"ToSuccess":o(6,y=!1),o(7,w=!0)}},I=()=>{window.postMessage({type:"ToLogin"},window.location.href)},R=()=>{new Promise((e,t)=>{grecaptcha.ready(()=>{grecaptcha.execute(f,{action:"submit"}).then(t=>{e(t)})})}).then(t=>{let e=new URL(`${l}/player/resetpassword`),r={method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json","g-recaptcha-response":t}};e.searchParams.append("email",g),fetch(e,r).then(t=>{200==t.status?O("ToEmailSuccess"):o(3,d=!0)})})},k=()=>{var t=new URL(`${l}/player/ResetPasswordByHashKey`),e={hashKey:c,plainTextPassword:L},e={method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(e)};fetch(t,e).then(t=>{200==t.status&&O("ToSuccess")})},U=t=>!!N.password.test(t);return t=()=>i(void 0,void 0,void 0,function*(){var t;((t=P).toLowerCase().match(/android/i)||t.toLowerCase().match(/blackberry|bb/i)||t.toLowerCase().match(/iphone|ipad|ipod/i)||t.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i))&&o(8,b=!0)}),function(){if(!D)throw new Error("Function called outside component initialization");return D}().$$.on_mount.push(t),e.$$set=t=>{"endpoint"in t&&o(27,l=t.endpoint),"forgotpasswordkey"in t&&o(28,c=t.forgotpasswordkey),"imagedesktop"in t&&o(0,u=t.imagedesktop),"captchakey"in t&&o(1,f=t.captchakey),"lang"in t&&o(29,p=t.lang)},e.$$.update=()=>{var t;268435456&e.$$.dirty[0]&&c&&c&&0<c.length&&O("ToReset"),536870912&e.$$.dirty[0]&&p&&(t=p,Hr.set(t))},[u,f,h,d,m,g,y,w,b,!1,!1,!1,_,A,s,a,S,F,L,C,r,()=>{var t;o(9,(t=g,v=!(N.email.test(t)&&t.length<=100))),o(10,E=!v)},x,I,R,k,(t,e,r)=>{"NewPassword"===r.id?(o(12,_=!U(e)),C&&o(13,A=L!==C||!U(e))):o(13,A=L!==C||!U(e)),o(11,T=!(_||A||!L||!C))},l,c,p,()=>I(),function(){g=this.value,o(5,g)},()=>R(),function(){L=this.value,o(18,L)},function(t){G[t?"unshift":"push"](()=>{s=t,o(14,s)})},()=>x("userNewPassword"),()=>x("userNewPassword"),function(){C=this.value,o(19,C)},function(t){G[t?"unshift":"push"](()=>{a=t,o(15,a)})},()=>x("userConfirmPassword"),()=>x("userConfirmPassword"),()=>k(),()=>I()]}class Eo extends l{constructor(t){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.backButtonForgotPassword{display:inline-flex;color:var(--emfe-w-color-contrast, #07072A);height:24px !important;line-height:24px;border-radius:5px;border:none;background:transparent;height:60px;padding:0;text-transform:uppercase;font-size:16px;cursor:pointer;margin-bottom:30px}.backButtonForgotPassword svg{width:24px;height:24px;margin-right:20px;fill:var(--emfe-w-color-primary, #D0046C)}.FormContainer{display:inline-flex;width:100%}.FormLeftSide,.FormRightSide{flex:1 1 100%;padding:50px}.FormLeftSide{background:var(--emfe-w-color-gray-50, #F9F8F8)}.FormRightSide{background-repeat:no-repeat;background-size:cover;background-position:center}.FormHeaderTitle{color:var(--emfe-w-color-black, #000000);font-size:28px;font-weight:300;padding:0;text-transform:uppercase;margin:0}.FormRequired{color:var(--emfe-w-color-error, #FD2839)}.ForgotPasswordError{color:var(--emfe-w-color-error, #FD2839);font-size:10px;line-height:10px;margin-top:10px}.FormContent{padding-top:20px}.NewPasswordSuccess{display:flex;flex-direction:column;flex-wrap:nowrap;justify-content:space-around;align-items:center}.NewPasswordSuccess h4{margin-top:10px;color:var(--emfe-w-color-green, #48952a);font-size:28px;font-weight:500;padding:0;text-transform:uppercase}.NewPasswordSuccess p{text-align:center;font-size:16px;color:var(--emfe-w-color-black, #000000);text-transform:initial;padding:15px 0;margin-bottom:110px}.TogglePasswordVisibility{height:19px;position:absolute;right:8px;top:34px;cursor:pointer}.TogglePasswordVisibility.InvalidToggle path,.TogglePasswordVisibility.InvalidToggle circle,.TogglePasswordVisibility.InvalidToggle rect{fill:var(--emfe-w-color-primary, #D0046C)}.TogglePasswordVisibility path,.TogglePasswordVisibility circle,.TogglePasswordVisibility rect{fill:var(--emfe-w-color-gray-300, #58586B)}.ResetPasswordByEmail,.NewPassword,.ConfirmPassword{color:var(--emfe-w-color-gray-300, #58586B);display:flex;flex-direction:column;padding-bottom:20px;position:relative}.ResetPasswordByEmail label,.NewPassword label,.ConfirmPassword label{font-size:14px;font-weight:300;padding-bottom:5px}.ResetPasswordByEmail input,.NewPassword input,.ConfirmPassword input{width:100%;height:44px;border:1px solid var(--emfe-w-color-gray-100, #E6E6E6);border-radius:5px;padding:5px;font-size:14px;box-sizing:border-box;padding:5px 15px;font-size:16px;line-height:18px}.ResetPasswordByEmail.InvalidField input{border:1px solid var(--emfe-w-color-primary, #D0046C);background:var(--emfe-w-color-primary-50, #FBECF4);color:var(--emfe-w-color-primary, #D0046C)}.resetPasswordButton{color:var(--emfe-w-color-white, #FFFFFF);background:var(--emfe-w-color-primary, #D0046C);border:1px solid var(--emfe-w-color-primary, #D0046C);border-radius:5px;width:100%;height:60px;padding:0;text-transform:uppercase;font-size:18px;cursor:pointer}.resetPasswordButton[disabled]{background:var(--emfe-w-color-gray-100, #E6E6E6);border:1px solid var(--emfe-w-color-gray-150, #828282);cursor:not-allowed}.ResetPasswordByEmail,.NewPassword,.ConfirmPassword{padding-bottom:30px}.InvalidInput{color:var(--emfe-w-color-error, #FD2839);font-size:10px;position:absolute;bottom:10px;line-height:10px}.FormLeftSide{padding:40px 20px;height:460px}.FormMobileContainer .ResetPasswordByEmail input{max-width:unset}input::-ms-reveal,input::-ms-clear{display:none}</style>",a(this,{target:this.shadowRoot,props:function(t){const e={};for(const r of t)e[r.name]=r.value;return e}(this.attributes),customElement:!0},vo,bo,r,{endpoint:27,forgotpasswordkey:28,imagedesktop:0,captchakey:1,lang:29},[-1,-1]),t&&(t.target&&Y(t.target,this,t.anchor),t.props&&(this.$set(t.props),b()))}static get observedAttributes(){return["endpoint","forgotpasswordkey","imagedesktop","captchakey","lang"]}get endpoint(){return this.$$.ctx[27]}set endpoint(t){this.$set({endpoint:t}),b()}get forgotpasswordkey(){return this.$$.ctx[28]}set forgotpasswordkey(t){this.$set({forgotpasswordkey:t}),b()}get imagedesktop(){return this.$$.ctx[0]}set imagedesktop(t){this.$set({imagedesktop:t}),b()}get captchakey(){return this.$$.ctx[1]}set captchakey(t){this.$set({captchakey:t}),b()}get lang(){return this.$$.ctx[29]}set lang(t){this.$set({lang:t}),b()}}return customElements.get("general-player-forgot-password-form")||customElements.define("general-player-forgot-password-form",Eo),Eo});
|
|
1
|
+
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t="undefined"!=typeof globalThis?globalThis:t||self).app=e()}(this,function(){"use strict";function f(){}function p(t){return t()}function h(){return Object.create(null)}function H(t){t.forEach(p)}function Z(t){return"function"==typeof t}function r(t,e){return t!=t?e==e:t!==e||t&&"object"==typeof t||"function"==typeof t}function M(t,...e){if(null==t)return f;const r=t.subscribe(...e);return r.unsubscribe?()=>r.unsubscribe():r}function q(t,e){t.appendChild(e)}function Y(t,e,r){t.insertBefore(e,r||null)}function K(t){t.parentNode.removeChild(t)}function e(t){return document.createElement(t)}function B(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function W(t){return document.createTextNode(t)}function Q(){return W(" ")}function c(){return W("")}function J(t,e,r,o){return t.addEventListener(e,r,o),()=>t.removeEventListener(e,r,o)}function tt(t,e,r){null==r?t.removeAttribute(e):t.getAttribute(e)!==r&&t.setAttribute(e,r)}function et(t,e){t.wholeText!==(e=""+e)&&(t.data=e)}function rt(t,e){t.value=null==e?"":e}function o(t,e,r,o){t.style.setProperty(e,r,o?"important":"")}let D;function d(t){D=t}const m=[],G=[],n=[],t=[],g=Promise.resolve();let y=!1;function w(t){n.push(t)}let i=!1;const s=new Set;function b(){if(!i){i=!0;do{for(let t=0;t<m.length;t+=1){var e=m[t];d(e),function(t){{var e;null!==t.fragment&&(t.update(),H(t.before_update),e=t.dirty,t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(w))}}(e.$$)}for(d(null),m.length=0;G.length;)G.pop()();for(let t=0;t<n.length;t+=1){const r=n[t];s.has(r)||(s.add(r),r())}}while(n.length=0,m.length);for(;t.length;)t.pop()();y=!1,i=!1,s.clear()}}const v=new Set;function a(o,t,e,r,n,i,s=[-1]){var a,l=D;d(o);const c=o.$$={fragment:null,ctx:null,props:i,update:f,not_equal:n,bound:h(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(l?l.$$.context:t.context||[]),callbacks:h(),dirty:s,skip_bound:!1};let u=!1;if(c.ctx=e?e(o,t.props||{},(t,e,...r)=>{r=r.length?r[0]:e;return c.ctx&&n(c.ctx[t],c.ctx[t]=r)&&(!c.skip_bound&&c.bound[t]&&c.bound[t](r),u&&(r=t,-1===(t=o).$$.dirty[0]&&(m.push(t),y||(y=!0,g.then(b)),t.$$.dirty.fill(0)),t.$$.dirty[r/31|0]|=1<<r%31)),e}):[],c.update(),u=!0,H(c.before_update),c.fragment=!!r&&r(c.ctx),t.target){if(t.hydrate){const f=(r=t.target,Array.from(r.childNodes));c.fragment&&c.fragment.l(f),f.forEach(K)}else c.fragment&&c.fragment.c();t.intro&&(a=o.$$.fragment)&&a.i&&(v.delete(a),a.i(void 0)),function(e,t,r,o){const{fragment:n,on_mount:i,on_destroy:s,after_update:a}=e.$$;n&&n.m(t,r),o||w(()=>{var t=i.map(p).filter(Z);s?s.push(...t):H(t),e.$$.on_mount=[]}),a.forEach(w)}(o,t.target,t.anchor,t.customElement),b()}d(l)}let l;"function"==typeof HTMLElement&&(l=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:t}=this.$$;this.$$.on_disconnect=t.map(p).filter(Z);for(const t in this.$$.slotted)this.appendChild(this.$$.slotted[t])}attributeChangedCallback(t,e,r){this[t]=r}disconnectedCallback(){H(this.$$.on_disconnect)}$destroy(){!function(t){const e=t.$$;null!==e.fragment&&(H(e.on_destroy),e.fragment&&e.fragment.d(1),e.on_destroy=e.fragment=null,e.ctx=[])}(this),this.$destroy=f}$on(t,e){const r=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return r.push(e),()=>{var t=r.indexOf(e);-1!==t&&r.splice(t,1)}}$set(t){this.$$set&&0!==Object.keys(t).length&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}});var u,E,P="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==P&&P,T="URLSearchParams"in P,_="Symbol"in P&&"iterator"in Symbol,A="FileReader"in P&&"Blob"in P&&function(){try{return new Blob,!0}catch(t){return!1}}(),S="FormData"in P,F="ArrayBuffer"in P;function L(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(t)||""===t)throw new TypeError('Invalid character in header field name: "'+t+'"');return t.toLowerCase()}function C(t){return t="string"!=typeof t?String(t):t}function N(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return _&&(t[Symbol.iterator]=function(){return t}),t}function x(e){this.map={},e instanceof x?e.forEach(function(t,e){this.append(e,t)},this):Array.isArray(e)?e.forEach(function(t){this.append(t[0],t[1])},this):e&&Object.getOwnPropertyNames(e).forEach(function(t){this.append(t,e[t])},this)}function O(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function I(r){return new Promise(function(t,e){r.onload=function(){t(r.result)},r.onerror=function(){e(r.error)}})}function R(t){var e=new FileReader,r=I(e);return e.readAsArrayBuffer(t),r}function k(t){if(t.slice)return t.slice(0);var e=new Uint8Array(t.byteLength);return e.set(new Uint8Array(t)),e.buffer}function U(){return this.bodyUsed=!1,this._initBody=function(t){this.bodyUsed=this.bodyUsed,(this._bodyInit=t)?"string"==typeof t?this._bodyText=t:A&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:S&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:T&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():F&&A&&t&&DataView.prototype.isPrototypeOf(t)?(this._bodyArrayBuffer=k(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):F&&(ArrayBuffer.prototype.isPrototypeOf(t)||E(t))?this._bodyArrayBuffer=k(t):this._bodyText=t=Object.prototype.toString.call(t):this._bodyText="",this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):T&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},A&&(this.blob=function(){var t=O(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?O(this)||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer)):this.blob().then(R)}),this.text=function(){var t,e,r=O(this);if(r)return r;if(this._bodyBlob)return t=this._bodyBlob,r=I(e=new FileReader),e.readAsText(t),r;if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var e=new Uint8Array(t),r=new Array(e.length),o=0;o<e.length;o++)r[o]=String.fromCharCode(e[o]);return r.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},S&&(this.formData=function(){return this.text().then(V)}),this.json=function(){return this.text().then(JSON.parse)},this}F&&(u=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],E=ArrayBuffer.isView||function(t){return t&&-1<u.indexOf(Object.prototype.toString.call(t))}),x.prototype.append=function(t,e){t=L(t),e=C(e);var r=this.map[t];this.map[t]=r?r+", "+e:e},x.prototype.delete=function(t){delete this.map[L(t)]},x.prototype.get=function(t){return t=L(t),this.has(t)?this.map[t]:null},x.prototype.has=function(t){return this.map.hasOwnProperty(L(t))},x.prototype.set=function(t,e){this.map[L(t)]=C(e)},x.prototype.forEach=function(t,e){for(var r in this.map)this.map.hasOwnProperty(r)&&t.call(e,this.map[r],r,this)},x.prototype.keys=function(){var r=[];return this.forEach(function(t,e){r.push(e)}),N(r)},x.prototype.values=function(){var e=[];return this.forEach(function(t){e.push(t)}),N(e)},x.prototype.entries=function(){var r=[];return this.forEach(function(t,e){r.push([e,t])}),N(r)},_&&(x.prototype[Symbol.iterator]=x.prototype.entries);var j=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function $(t,e){if(!(this instanceof $))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var r,o=(e=e||{}).body;if(t instanceof $){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,e.headers||(this.headers=new x(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,o||null==t._bodyInit||(o=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=e.credentials||this.credentials||"same-origin",!e.headers&&this.headers||(this.headers=new x(e.headers)),this.method=(t=(r=e.method||this.method||"GET").toUpperCase(),-1<j.indexOf(t)?t:r),this.mode=e.mode||this.mode||null,this.signal=e.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&o)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(o),"GET"!==this.method&&"HEAD"!==this.method||"no-store"!==e.cache&&"no-cache"!==e.cache||((e=/([?&])_=[^&]*/).test(this.url)?this.url=this.url.replace(e,"$1_="+(new Date).getTime()):this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime())}function V(t){var r=new FormData;return t.trim().split("&").forEach(function(t){var e;t&&(t=(e=t.split("=")).shift().replace(/\+/g," "),e=e.join("=").replace(/\+/g," "),r.append(decodeURIComponent(t),decodeURIComponent(e)))}),r}function z(t,e){if(!(this instanceof z))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');e=e||{},this.type="default",this.status=void 0===e.status?200:e.status,this.ok=200<=this.status&&this.status<300,this.statusText=void 0===e.statusText?"":""+e.statusText,this.headers=new x(e.headers),this.url=e.url||"",this._initBody(t)}$.prototype.clone=function(){return new $(this,{body:this._bodyInit})},U.call($.prototype),U.call(z.prototype),z.prototype.clone=function(){return new z(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new x(this.headers),url:this.url})},z.error=function(){var t=new z(null,{status:0,statusText:""});return t.type="error",t};var X=[301,302,303,307,308];z.redirect=function(t,e){if(-1===X.indexOf(e))throw new RangeError("Invalid status code");return new z(null,{status:e,headers:{location:t}})};var ot=P.DOMException;try{new ot}catch(f){(ot=function(t,e){this.message=t,this.name=e;t=Error(t);this.stack=t.stack}).prototype=Object.create(Error.prototype),ot.prototype.constructor=ot}function nt(o,s){return new Promise(function(n,t){var e=new $(o,s);if(e.signal&&e.signal.aborted)return t(new ot("Aborted","AbortError"));var i=new XMLHttpRequest;function r(){i.abort()}i.onload=function(){var t,r,e={status:i.status,statusText:i.statusText,headers:(t=i.getAllResponseHeaders()||"",r=new x,t.replace(/\r?\n[\t ]+/g," ").split("\r").map(function(t){return 0===t.indexOf("\n")?t.substr(1,t.length):t}).forEach(function(t){var e=t.split(":"),t=e.shift().trim();t&&(e=e.join(":").trim(),r.append(t,e))}),r)};e.url="responseURL"in i?i.responseURL:e.headers.get("X-Request-URL");var o="response"in i?i.response:i.responseText;setTimeout(function(){n(new z(o,e))},0)},i.onerror=function(){setTimeout(function(){t(new TypeError("Network request failed"))},0)},i.ontimeout=function(){setTimeout(function(){t(new TypeError("Network request failed"))},0)},i.onabort=function(){setTimeout(function(){t(new ot("Aborted","AbortError"))},0)},i.open(e.method,function(e){try{return""===e&&P.location.href?P.location.href:e}catch(t){return e}}(e.url),!0),"include"===e.credentials?i.withCredentials=!0:"omit"===e.credentials&&(i.withCredentials=!1),"responseType"in i&&(A?i.responseType="blob":F&&e.headers.get("Content-Type")&&-1!==e.headers.get("Content-Type").indexOf("application/octet-stream")&&(i.responseType="arraybuffer")),!s||"object"!=typeof s.headers||s.headers instanceof x?e.headers.forEach(function(t,e){i.setRequestHeader(e,t)}):Object.getOwnPropertyNames(s.headers).forEach(function(t){i.setRequestHeader(t,C(s.headers[t]))}),e.signal&&(e.signal.addEventListener("abort",r),i.onreadystatechange=function(){4===i.readyState&&e.signal.removeEventListener("abort",r)}),i.send(void 0===e._bodyInit?null:e._bodyInit)})}nt.polyfill=!0,P.fetch||(P.fetch=nt,P.Headers=x,P.Request=$,P.Response=z),self.fetch.bind(self);var it=function(t,e){return(it=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])})(t,e)};function st(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=t}it(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}function at(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],o=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return{value:(t=t&&o>=t.length?void 0:t)&&t[o++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function lt(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var o,n,i=r.call(t),s=[];try{for(;(void 0===e||0<e--)&&!(o=i.next()).done;)s.push(o.value)}catch(t){n={error:t}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return s}function ct(t,e){for(var r=0,o=e.length,n=t.length;r<o;r++,n++)t[n]=e[r];return t}function ut(t){return"function"==typeof t}function ft(t){t=t(function(t){Error.call(t),t.stack=(new Error).stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t}var pt=ft(function(e){return function(t){e(this),this.message=t?t.length+" errors occurred during unsubscription:\n"+t.map(function(t,e){return e+1+") "+t.toString()}).join("\n "):"",this.name="UnsubscriptionError",this.errors=t}});function ht(t,e){!t||0<=(e=t.indexOf(e))&&t.splice(e,1)}var dt=(gt.prototype.unsubscribe=function(){var t,e,r,o,n;if(!this.closed){this.closed=!0;var i=this._parentage;if(i)if(this._parentage=null,Array.isArray(i))try{for(var s=at(i),a=s.next();!a.done;a=s.next())a.value.remove(this)}catch(e){t={error:e}}finally{try{a&&!a.done&&(e=s.return)&&e.call(s)}finally{if(t)throw t.error}}else i.remove(this);i=this.initialTeardown;if(ut(i))try{i()}catch(t){n=t instanceof pt?t.errors:[t]}i=this._teardowns;if(i){this._teardowns=null;try{for(var l=at(i),c=l.next();!c.done;c=l.next()){var u=c.value;try{wt(u)}catch(t){n=null!=n?n:[],t instanceof pt?n=ct(ct([],lt(n)),lt(t.errors)):n.push(t)}}}catch(t){r={error:t}}finally{try{c&&!c.done&&(o=l.return)&&o.call(l)}finally{if(r)throw r.error}}}if(n)throw new pt(n)}},gt.prototype.add=function(t){var e;if(t&&t!==this)if(this.closed)wt(t);else{if(t instanceof gt){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._teardowns=null!==(e=this._teardowns)&&void 0!==e?e:[]).push(t)}},gt.prototype._hasParent=function(t){var e=this._parentage;return e===t||Array.isArray(e)&&e.includes(t)},gt.prototype._addParent=function(t){var e=this._parentage;this._parentage=Array.isArray(e)?(e.push(t),e):e?[e,t]:t},gt.prototype._removeParent=function(t){var e=this._parentage;e===t?this._parentage=null:Array.isArray(e)&&ht(e,t)},gt.prototype.remove=function(t){var e=this._teardowns;e&&ht(e,t),t instanceof gt&&t._removeParent(this)},gt.EMPTY=((je=new gt).closed=!0,je),gt),mt=dt.EMPTY;function gt(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._teardowns=null}function yt(t){return t instanceof dt||t&&"closed"in t&&ut(t.remove)&&ut(t.add)&&ut(t.unsubscribe)}function wt(t){ut(t)?t():t.unsubscribe()}var bt=void 0,vt=!1,Et=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return setTimeout.apply(void 0,ct([],lt(t)))};function Pt(){}function Tt(t){t()}var _t,At,St=(st(Ct,At=dt),Ct.create=function(t,e,r){return new Ft(t,e,r)},Ct.prototype.next=function(t){this.isStopped||this._next(t)},Ct.prototype.error=function(t){this.isStopped||(this.isStopped=!0,this._error(t))},Ct.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},Ct.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,At.prototype.unsubscribe.call(this),this.destination=null)},Ct.prototype._next=function(t){this.destination.next(t)},Ct.prototype._error=function(t){try{this.destination.error(t)}finally{this.unsubscribe()}},Ct.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},Ct),Ft=(st(Lt,_t=St),Lt);function Lt(t,e,r){var o,n,i=_t.call(this)||this;return ut(t)?n=t:t&&(n=t.next,e=t.error,r=t.complete,i&&vt?(o=Object.create(t)).unsubscribe=function(){return i.unsubscribe()}:o=t,n=null==n?void 0:n.bind(o),e=null==e?void 0:e.bind(o),r=null==r?void 0:r.bind(o)),i.destination={next:n?Nt(n):Pt,error:Nt(null!=e?e:xt),complete:r?Nt(r):Pt},i}function Ct(t){var e=At.call(this)||this;return e.isStopped=!1,t?yt(e.destination=t)&&t.add(e):e.destination=Ot,e}function Nt(o){return function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];try{o.apply(void 0,ct([],lt(t)))}catch(t){e=t,Et(function(){throw e})}}}function xt(t){throw t}var Ot={closed:!0,next:Pt,error:xt,complete:Pt},It="function"==typeof Symbol&&Symbol.observable||"@@observable";function Rt(t){return t}var kt=(Ut.prototype.lift=function(t){var e=new Ut;return e.source=this,e.operator=t,e},Ut.prototype.subscribe=function(t,e,r){var o,n=this,i=(o=t)&&o instanceof St||o&&ut(o.next)&&ut(o.error)&&ut(o.complete)&&yt(o)?t:new Ft(t,e,r);return Tt(function(){var t=n.operator,e=n.source;i.add(t?t.call(i,e):e?n._subscribe(i):n._trySubscribe(i))}),i},Ut.prototype._trySubscribe=function(e){try{return this._subscribe(e)}catch(t){e.error(t)}},Ut.prototype.forEach=function(o,t){var n=this;return new(t=Mt(t))(function(t,e){var r=n.subscribe(function(t){try{o(t)}catch(t){e(t),null==r||r.unsubscribe()}},e,t)})},Ut.prototype._subscribe=function(t){var e;return null===(e=this.source)||void 0===e?void 0:e.subscribe(t)},Ut.prototype[It]=function(){return this},Ut.prototype.pipe=function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return(0===(e=t).length?Rt:1===e.length?e[0]:function(t){return e.reduce(function(t,e){return e(t)},t)})(this)},Ut.prototype.toPromise=function(t){var o=this;return new(t=Mt(t))(function(t,e){var r;o.subscribe(function(t){return r=t},function(t){return e(t)},function(){return t(r)})})},Ut.create=function(t){return new Ut(t)},Ut);function Ut(t){t&&(this._subscribe=t)}function Mt(t){return null!==(t=null!=t?t:bt)&&void 0!==t?t:Promise}var Dt,Gt,jt,Bt=ft(function(t){return function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),$t=(st(qt,jt=kt),qt.prototype.lift=function(t){var e=new Vt(this,this);return e.operator=t,e},qt.prototype._throwIfClosed=function(){if(this.closed)throw new Bt},qt.prototype.next=function(i){var s=this;Tt(function(){var e,t;if(s._throwIfClosed(),!s.isStopped){var r=s.observers.slice();try{for(var o=at(r),n=o.next();!n.done;n=o.next())n.value.next(i)}catch(t){e={error:t}}finally{try{n&&!n.done&&(t=o.return)&&t.call(o)}finally{if(e)throw e.error}}}})},qt.prototype.error=function(e){var r=this;Tt(function(){if(r._throwIfClosed(),!r.isStopped){r.hasError=r.isStopped=!0,r.thrownError=e;for(var t=r.observers;t.length;)t.shift().error(e)}})},qt.prototype.complete=function(){var e=this;Tt(function(){if(e._throwIfClosed(),!e.isStopped){e.isStopped=!0;for(var t=e.observers;t.length;)t.shift().complete()}})},qt.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=null},Object.defineProperty(qt.prototype,"observed",{get:function(){var t;return 0<(null===(t=this.observers)||void 0===t?void 0:t.length)},enumerable:!1,configurable:!0}),qt.prototype._trySubscribe=function(t){return this._throwIfClosed(),jt.prototype._trySubscribe.call(this,t)},qt.prototype._subscribe=function(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)},qt.prototype._innerSubscribe=function(t){var e=this.hasError,r=this.isStopped,o=this.observers;return e||r?mt:(o.push(t),new dt(function(){return ht(o,t)}))},qt.prototype._checkFinalizedStatuses=function(t){var e=this.hasError,r=this.thrownError,o=this.isStopped;e?t.error(r):o&&t.complete()},qt.prototype.asObservable=function(){var t=new kt;return t.source=this,t},qt.create=function(t,e){return new Vt(t,e)},qt),Vt=(st(Zt,Gt=$t),Zt.prototype.next=function(t){var e,r;null===(r=null===(e=this.destination)||void 0===e?void 0:e.next)||void 0===r||r.call(e,t)},Zt.prototype.error=function(t){var e,r;null===(r=null===(e=this.destination)||void 0===e?void 0:e.error)||void 0===r||r.call(e,t)},Zt.prototype.complete=function(){var t,e;null===(e=null===(t=this.destination)||void 0===t?void 0:t.complete)||void 0===e||e.call(t)},Zt.prototype._subscribe=function(t){var e;return null!==(t=null===(e=this.source)||void 0===e?void 0:e.subscribe(t))&&void 0!==t?t:mt},Zt),zt={now:function(){return(zt.delegate||Date).now()},delegate:void 0},Xt=(st(Ht,Dt=$t),Ht.prototype.next=function(t){var e=this,r=e.isStopped,o=e._buffer,n=e._infiniteTimeWindow,i=e._timestampProvider,e=e._windowTime;r||(o.push(t),n||o.push(i.now()+e)),this._trimBuffer(),Dt.prototype.next.call(this,t)},Ht.prototype._subscribe=function(t){this._throwIfClosed(),this._trimBuffer();for(var e=this._innerSubscribe(t),r=this._infiniteTimeWindow,o=this._buffer.slice(),n=0;n<o.length&&!t.closed;n+=r?1:2)t.next(o[n]);return this._checkFinalizedStatuses(t),e},Ht.prototype._trimBuffer=function(){var t=this._bufferSize,e=this._timestampProvider,r=this._buffer,o=this._infiniteTimeWindow,n=(o?1:2)*t;if(t<1/0&&n<r.length&&r.splice(0,r.length-n),!o){for(var i=e.now(),s=0,a=1;a<r.length&&r[a]<=i;a+=2)s=a;s&&r.splice(0,s+1)}},Ht);function Ht(t,e,r){void 0===t&&(t=1/0),void 0===e&&(e=1/0),void 0===r&&(r=zt);var o=Dt.call(this)||this;return o._bufferSize=t,o._windowTime=e,o._timestampProvider=r,o._buffer=[],o._infiniteTimeWindow=!0,o._infiniteTimeWindow=e===1/0,o._bufferSize=Math.max(1,t),o._windowTime=Math.max(1,e),o}function Zt(t,e){var r=Gt.call(this)||this;return r.destination=t,r.source=e,r}function qt(){var t=jt.call(this)||this;return t.closed=!1,t.observers=[],t.isStopped=!1,t.hasError=!1,t.thrownError=null,t}let Yt=[],Kt={};const Wt=[];function Qt(o,n=f){let i;const s=[];function a(t){if(r(o,t)&&(o=t,i)){const t=!Wt.length;for(let t=0;t<s.length;t+=1){const e=s[t];e[1](),Wt.push(e,o)}if(t){for(let t=0;t<Wt.length;t+=2)Wt[t][0](Wt[t+1]);Wt.length=0}}}return{set:a,update:function(t){a(t(o))},subscribe:function(t,e=f){const r=[t,e];return s.push(r),1===s.length&&(i=n(a)||f),t(o),()=>{var t=s.indexOf(r);-1!==t&&s.splice(t,1),0===s.length&&(i(),i=null)}}}}function Jt(t,a,e){const l=!Array.isArray(t),c=l?[t]:t,u=a.length<2;return{subscribe:Qt(e,e=>{let r=!1;const o=[];let n=0,i=f;const s=()=>{var t;n||(i(),t=a(l?o[0]:o,e),u?e(t):i=Z(t)?t:f)},t=c.map((t,e)=>M(t,t=>{o[e]=t,n&=~(1<<e),r&&s()},()=>{n|=1<<e}));return r=!0,s(),function(){H(t),i()}}).subscribe}}var te=function(t){return!(!t||"object"!=typeof t||(e=t,"[object RegExp]"===(t=Object.prototype.toString.call(e))||"[object Date]"===t||e.$$typeof===ee));var e},ee="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function re(t,e){return!1!==e.clone&&e.isMergeableObject(t)?ae(Array.isArray(t)?[]:{},t,e):t}function oe(t,e,r){return t.concat(e).map(function(t){return re(t,r)})}function ne(t){return Object.keys(t).concat((e=t,Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return e.propertyIsEnumerable(t)}):[]));var e}function ie(t,e){try{return e in t}catch(t){return!1}}function se(o,n,i){var s={};return i.isMergeableObject(o)&&ne(o).forEach(function(t){s[t]=re(o[t],i)}),ne(n).forEach(function(e){var t,r;(!ie(t=o,r=e)||Object.hasOwnProperty.call(t,r)&&Object.propertyIsEnumerable.call(t,r))&&(ie(o,e)&&i.isMergeableObject(n[e])?s[e]=function(){if(!i.customMerge)return ae;var t=i.customMerge(e);return"function"==typeof t?t:ae}()(o[e],n[e],i):s[e]=re(n[e],i))}),s}function ae(t,e,r){(r=r||{}).arrayMerge=r.arrayMerge||oe,r.isMergeableObject=r.isMergeableObject||te,r.cloneUnlessOtherwiseSpecified=re;var o=Array.isArray(e);return o===Array.isArray(t)?o?r.arrayMerge(t,e,r):se(t,e,r):re(e,r)}ae.all=function(t,r){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(t,e){return ae(t,e,r)},{})};var le=ae,ce=function(t,e){return(ce=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])})(t,e)};function ue(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=t}ce(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}var fe,pe,he,de=function(){return(de=Object.assign||function(t){for(var e,r=1,o=arguments.length;r<o;r++)for(var n in e=arguments[r])Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t}).apply(this,arguments)};function me(t,e){for(var r=0,o=e.length,n=t.length;r<o;r++,n++)t[n]=e[r];return t}function ge(t){return t.type===pe.literal}function ye(t){return t.type===pe.number}function we(t){return t.type===pe.date}function be(t){return t.type===pe.time}function ve(t){return t.type===pe.select}function Ee(t){return t.type===pe.plural}function Pe(t){return t.type===pe.tag}function Te(t){return t&&"object"==typeof t&&t.type===he.number}function _e(t){return t&&"object"==typeof t&&t.type===he.dateTime}(Be=fe=fe||{})[Be.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",Be[Be.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",Be[Be.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",Be[Be.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",Be[Be.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",Be[Be.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",Be[Be.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",Be[Be.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",Be[Be.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",Be[Be.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",Be[Be.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",Be[Be.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",Be[Be.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",Be[Be.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",Be[Be.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",Be[Be.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",Be[Be.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",Be[Be.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",Be[Be.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",Be[Be.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",Be[Be.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",Be[Be.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",Be[Be.INVALID_TAG=23]="INVALID_TAG",Be[Be.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",Be[Be.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",Be[Be.UNCLOSED_TAG=27]="UNCLOSED_TAG",($e=pe=pe||{})[$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",(Ve=he=he||{})[Ve.number=0]="number",Ve[Ve.dateTime=1]="dateTime";var Ae=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Se=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;var Fe,Le=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,Ce=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Ne=/^(@+)?(\+|#+)?$/g,xe=/(\*)(0+)|(#+)(0+)|(0+)/g,Oe=/^(0+)$/;function Ie(t){var o={};return t.replace(Ne,function(t,e,r){return"string"!=typeof r?(o.minimumSignificantDigits=e.length,o.maximumSignificantDigits=e.length):"+"===r?o.minimumSignificantDigits=e.length:"#"===e[0]?o.maximumSignificantDigits=e.length:(o.minimumSignificantDigits=e.length,o.maximumSignificantDigits=e.length+("string"==typeof r?r.length:0)),""}),o}function Re(t){switch(t){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 ke(t){return Re(t)||{}}function Ue(t){for(var s={},e=0,r=t;e<r.length;e++){var o,n=r[e];switch(n.stem){case"percent":case"%":s.style="percent";continue;case"%x100":s.style="percent",s.scale=100;continue;case"currency":s.style="currency",s.currency=n.options[0];continue;case"group-off":case",_":s.useGrouping=!1;continue;case"precision-integer":case".":s.maximumFractionDigits=0;continue;case"measure-unit":case"unit":s.style="unit",s.unit=n.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":s.notation="compact",s.compactDisplay="short";continue;case"compact-long":case"KK":s.notation="compact",s.compactDisplay="long";continue;case"scientific":s=de(de(de({},s),{notation:"scientific"}),n.options.reduce(function(t,e){return de(de({},t),ke(e))},{}));continue;case"engineering":s=de(de(de({},s),{notation:"engineering"}),n.options.reduce(function(t,e){return de(de({},t),ke(e))},{}));continue;case"notation-simple":s.notation="standard";continue;case"unit-width-narrow":s.currencyDisplay="narrowSymbol",s.unitDisplay="narrow";continue;case"unit-width-short":s.currencyDisplay="code",s.unitDisplay="short";continue;case"unit-width-full-name":s.currencyDisplay="name",s.unitDisplay="long";continue;case"unit-width-iso-code":s.currencyDisplay="symbol";continue;case"scale":s.scale=parseFloat(n.options[0]);continue;case"integer-width":if(1<n.options.length)throw new RangeError("integer-width stems only accept a single optional option");n.options[0].replace(xe,function(t,e,r,o,n,i){if(e)s.minimumIntegerDigits=r.length;else{if(o&&n)throw new Error("We currently do not support maximum integer digits");if(i)throw new Error("We currently do not support exact integer digits")}return""});continue}if(Oe.test(n.stem))s.minimumIntegerDigits=n.stem.length;else if(Ce.test(n.stem)){if(1<n.options.length)throw new RangeError("Fraction-precision stems only accept a single optional option");n.stem.replace(Ce,function(t,e,r,o,n,i){return"*"===r?s.minimumFractionDigits=e.length:o&&"#"===o[0]?s.maximumFractionDigits=o.length:n&&i?(s.minimumFractionDigits=n.length,s.maximumFractionDigits=n.length+i.length):(s.minimumFractionDigits=e.length,s.maximumFractionDigits=e.length),""}),n.options.length&&(s=de(de({},s),Ie(n.options[0])))}else Ne.test(n.stem)?s=de(de({},s),Ie(n.stem)):((o=Re(n.stem))&&(s=de(de({},s),o)),(o=function(t){var e;if("E"===t[0]&&"E"===t[1]?(e={notation:"engineering"},t=t.slice(2)):"E"===t[0]&&(e={notation:"scientific"},t=t.slice(1)),e){var r=t.slice(0,2);if("+!"===r?(e.signDisplay="always",t=t.slice(2)):"+?"===r&&(e.signDisplay="exceptZero",t=t.slice(2)),!Oe.test(t))throw new Error("Malformed concise eng/scientific notation");e.minimumIntegerDigits=t.length}return e}(n.stem))&&(s=de(de({},s),o)))}return s}var Me=new RegExp("^"+Ae.source+"*"),De=new RegExp(Ae.source+"*$");function Ge(t,e){return{start:t,end:e}}var je=!!String.prototype.startsWith,It=!!String.fromCodePoint,$t=!!Object.fromEntries,Be=!!String.prototype.codePointAt,$e=!!String.prototype.trimStart,Ve=!!String.prototype.trimEnd,ze=Number.isSafeInteger||function(t){return"number"==typeof t&&isFinite(t)&&Math.floor(t)===t&&Math.abs(t)<=9007199254740991},Ae=!0;try{Ae="a"===(null===(Fe=Je("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===Fe?void 0:Fe[0])}catch(f){Ae=!1}var Xe,He,Ze=je?function(t,e,r){return t.startsWith(e,r)}:function(t,e,r){return t.slice(r,r+e.length)===e},qe=It?String.fromCodePoint:function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];for(var r,o="",n=t.length,i=0;i<n;){if(1114111<(r=t[i++]))throw RangeError(r+" is not a valid code point");o+=r<65536?String.fromCharCode(r):String.fromCharCode(55296+((r-=65536)>>10),r%1024+56320)}return o},Ye=$t?Object.fromEntries:function(t){for(var e={},r=0,o=t;r<o.length;r++){var n=o[r],i=n[0],n=n[1];e[i]=n}return e},Ke=Be?function(t,e){return t.codePointAt(e)}:function(t,e){var r=t.length;if(!(e<0||r<=e)){var o,n=t.charCodeAt(e);return n<55296||56319<n||e+1===r||(o=t.charCodeAt(e+1))<56320||57343<o?n:o-56320+(n-55296<<10)+65536}},We=$e?function(t){return t.trimStart()}:function(t){return t.replace(Me,"")},Qe=Ve?function(t){return t.trimEnd()}:function(t){return t.replace(De,"")};function Je(t,e){return new RegExp(t,e)}He=Ae?(Xe=Je("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),function(t,e){return Xe.lastIndex=e,null!==(t=Xe.exec(t)[1])&&void 0!==t?t:""}):function(t,e){for(var r,o=[];;){var n=Ke(t,e);if(void 0===n||or(n)||(33<=(r=n)&&r<=35||36===r||37<=r&&r<=39||40===r||41===r||42===r||43===r||44===r||45===r||46<=r&&r<=47||58<=r&&r<=59||60<=r&&r<=62||63<=r&&r<=64||91===r||92===r||93===r||94===r||96===r||123===r||124===r||125===r||126===r||161===r||162<=r&&r<=165||166===r||167===r||169===r||171===r||172===r||174===r||176===r||177===r||182===r||187===r||191===r||215===r||247===r||8208<=r&&r<=8213||8214<=r&&r<=8215||8216===r||8217===r||8218===r||8219<=r&&r<=8220||8221===r||8222===r||8223===r||8224<=r&&r<=8231||8240<=r&&r<=8248||8249===r||8250===r||8251<=r&&r<=8254||8257<=r&&r<=8259||8260===r||8261===r||8262===r||8263<=r&&r<=8273||8274===r||8275===r||8277<=r&&r<=8286||8592<=r&&r<=8596||8597<=r&&r<=8601||8602<=r&&r<=8603||8604<=r&&r<=8607||8608===r||8609<=r&&r<=8610||8611===r||8612<=r&&r<=8613||8614===r||8615<=r&&r<=8621||8622===r||8623<=r&&r<=8653||8654<=r&&r<=8655||8656<=r&&r<=8657||8658===r||8659===r||8660===r||8661<=r&&r<=8691||8692<=r&&r<=8959||8960<=r&&r<=8967||8968===r||8969===r||8970===r||8971===r||8972<=r&&r<=8991||8992<=r&&r<=8993||8994<=r&&r<=9e3||9001===r||9002===r||9003<=r&&r<=9083||9084===r||9085<=r&&r<=9114||9115<=r&&r<=9139||9140<=r&&r<=9179||9180<=r&&r<=9185||9186<=r&&r<=9254||9255<=r&&r<=9279||9280<=r&&r<=9290||9291<=r&&r<=9311||9472<=r&&r<=9654||9655===r||9656<=r&&r<=9664||9665===r||9666<=r&&r<=9719||9720<=r&&r<=9727||9728<=r&&r<=9838||9839===r||9840<=r&&r<=10087||10088===r||10089===r||10090===r||10091===r||10092===r||10093===r||10094===r||10095===r||10096===r||10097===r||10098===r||10099===r||10100===r||10101===r||10132<=r&&r<=10175||10176<=r&&r<=10180||10181===r||10182===r||10183<=r&&r<=10213||10214===r||10215===r||10216===r||10217===r||10218===r||10219===r||10220===r||10221===r||10222===r||10223===r||10224<=r&&r<=10239||10240<=r&&r<=10495||10496<=r&&r<=10626||10627===r||10628===r||10629===r||10630===r||10631===r||10632===r||10633===r||10634===r||10635===r||10636===r||10637===r||10638===r||10639===r||10640===r||10641===r||10642===r||10643===r||10644===r||10645===r||10646===r||10647===r||10648===r||10649<=r&&r<=10711||10712===r||10713===r||10714===r||10715===r||10716<=r&&r<=10747||10748===r||10749===r||10750<=r&&r<=11007||11008<=r&&r<=11055||11056<=r&&r<=11076||11077<=r&&r<=11078||11079<=r&&r<=11084||11085<=r&&r<=11123||11124<=r&&r<=11125||11126<=r&&r<=11157||11158===r||11159<=r&&r<=11263||11776<=r&&r<=11777||11778===r||11779===r||11780===r||11781===r||11782<=r&&r<=11784||11785===r||11786===r||11787===r||11788===r||11789===r||11790<=r&&r<=11798||11799===r||11800<=r&&r<=11801||11802===r||11803===r||11804===r||11805===r||11806<=r&&r<=11807||11808===r||11809===r||11810===r||11811===r||11812===r||11813===r||11814===r||11815===r||11816===r||11817===r||11818<=r&&r<=11822||11823===r||11824<=r&&r<=11833||11834<=r&&r<=11835||11836<=r&&r<=11839||11840===r||11841===r||11842===r||11843<=r&&r<=11855||11856<=r&&r<=11857||11858===r||11859<=r&&r<=11903||12289<=r&&r<=12291||12296===r||12297===r||12298===r||12299===r||12300===r||12301===r||12302===r||12303===r||12304===r||12305===r||12306<=r&&r<=12307||12308===r||12309===r||12310===r||12311===r||12312===r||12313===r||12314===r||12315===r||12316===r||12317===r||12318<=r&&r<=12319||12320===r||12336===r||64830===r||64831===r||65093<=r&&r<=65094))break;o.push(n),e+=65536<=n?2:1}return qe.apply(void 0,o)};var tr=(er.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},er.prototype.parseMessage=function(t,e,r){for(var o=[];!this.isEOF();){var n,i=this.char();if(123===i){if((n=this.parseArgument(t,r)).err)return n;o.push(n.val)}else{if(125===i&&0<t)break;if(35!==i||"plural"!==e&&"selectordinal"!==e){if(60===i&&!this.ignoreTag&&47===this.peek()){if(r)break;return this.error(fe.UNMATCHED_CLOSING_TAG,Ge(this.clonePosition(),this.clonePosition()))}if(60===i&&!this.ignoreTag&&rr(this.peek()||0)){if((n=this.parseTag(t,e)).err)return n;o.push(n.val)}else{if((n=this.parseLiteral(t,e)).err)return n;o.push(n.val)}}else{i=this.clonePosition();this.bump(),o.push({type:pe.pound,location:Ge(i,this.clonePosition())})}}}return{val:o,err:null}},er.prototype.parseTag=function(t,e){var r=this.clonePosition();this.bump();var o=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:pe.literal,value:"<"+o+"/>",location:Ge(r,this.clonePosition())},err:null};if(this.bumpIf(">")){var n=this.parseMessage(t+1,e,!0);if(n.err)return n;t=n.val,e=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!rr(this.char()))return this.error(fe.INVALID_TAG,Ge(e,this.clonePosition()));n=this.clonePosition();return o!==this.parseTagName()?this.error(fe.UNMATCHED_CLOSING_TAG,Ge(n,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:pe.tag,value:o,children:t,location:Ge(r,this.clonePosition())},err:null}:this.error(fe.INVALID_TAG,Ge(e,this.clonePosition())))}return this.error(fe.UNCLOSED_TAG,Ge(r,this.clonePosition()))}return this.error(fe.INVALID_TAG,Ge(r,this.clonePosition()))},er.prototype.parseTagName=function(){var t,e=this.offset();for(this.bump();!this.isEOF()&&(45===(t=this.char())||46===t||48<=t&&t<=57||95===t||97<=t&&t<=122||65<=t&&t<=90||183==t||192<=t&&t<=214||216<=t&&t<=246||248<=t&&t<=893||895<=t&&t<=8191||8204<=t&&t<=8205||8255<=t&&t<=8256||8304<=t&&t<=8591||11264<=t&&t<=12271||12289<=t&&t<=55295||63744<=t&&t<=64975||65008<=t&&t<=65533||65536<=t&&t<=983039);)this.bump();return this.message.slice(e,this.offset())},er.prototype.parseLiteral=function(t,e){for(var r=this.clonePosition(),o="";;){var n=this.tryParseQuote(e);if(n)o+=n;else{n=this.tryParseUnquoted(t,e);if(n)o+=n;else{n=this.tryParseLeftAngleBracket();if(!n)break;o+=n}}}r=Ge(r,this.clonePosition());return{val:{type:pe.literal,value:o,location:r},err:null}},er.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(rr(t=this.peek()||0)||47===t)?null:(this.bump(),"<");var t},er.prototype.tryParseQuote=function(t){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===t||"selectordinal"===t)break;return null;default:return null}this.bump();var e=[this.char()];for(this.bump();!this.isEOF();){var r=this.char();if(39===r){if(39!==this.peek()){this.bump();break}e.push(39),this.bump()}else e.push(r);this.bump()}return qe.apply(void 0,e)},er.prototype.tryParseUnquoted=function(t,e){if(this.isEOF())return null;var r=this.char();return 60===r||123===r||35===r&&("plural"===e||"selectordinal"===e)||125===r&&0<t?null:(this.bump(),qe(r))},er.prototype.parseArgument=function(t,e){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(fe.EXPECT_ARGUMENT_CLOSING_BRACE,Ge(r,this.clonePosition()));if(125===this.char())return this.bump(),this.error(fe.EMPTY_ARGUMENT,Ge(r,this.clonePosition()));var o=this.parseIdentifierIfPossible().value;if(!o)return this.error(fe.MALFORMED_ARGUMENT,Ge(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(fe.EXPECT_ARGUMENT_CLOSING_BRACE,Ge(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:pe.argument,value:o,location:Ge(r,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(fe.EXPECT_ARGUMENT_CLOSING_BRACE,Ge(r,this.clonePosition())):this.parseArgumentOptions(t,e,o,r);default:return this.error(fe.MALFORMED_ARGUMENT,Ge(r,this.clonePosition()))}},er.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),e=this.offset(),r=He(this.message,e),e=e+r.length;return this.bumpTo(e),{value:r,location:Ge(t,this.clonePosition())}},er.prototype.parseArgumentOptions=function(t,e,r,o){var n,i=this.clonePosition(),s=this.parseIdentifierIfPossible().value,a=this.clonePosition();switch(s){case"":return this.error(fe.EXPECT_ARGUMENT_TYPE,Ge(i,a));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition();if((p=this.parseSimpleArgStyleIfPossible()).err)return p;if(0===(f=Qe(p.val)).length)return this.error(fe.EXPECT_ARGUMENT_STYLE,Ge(this.clonePosition(),this.clonePosition()));l={style:f,styleLocation:Ge(c,this.clonePosition())}}if((h=this.tryParseArgumentClose(o)).err)return h;var u=Ge(o,this.clonePosition());if(l&&Ze(null==l?void 0:l.style,"::",0)){c=We(l.style.slice(2));if("number"===s)return(p=this.parseNumberSkeletonFromString(c,l.styleLocation)).err?p:{val:{type:pe.number,value:r,location:u,style:p.val},err:null};if(0===c.length)return this.error(fe.EXPECT_DATE_TIME_SKELETON,u);var f={type:he.dateTime,pattern:c,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?(n={},c.replace(Se,function(t){var e=t.length;switch(t[0]){case"G":n.era=4===e?"long":5===e?"narrow":"short";break;case"y":n.year=2===e?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":n.month=["numeric","2-digit","short","long","narrow"][e-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":n.day=["numeric","2-digit"][e-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":n.weekday=4!==e&&5===e?"narrow":"short";break;case"e":if(e<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");n.weekday=["short","long","narrow","short"][e-4];break;case"c":if(e<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");n.weekday=["short","long","narrow","short"][e-4];break;case"a":n.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":n.hourCycle="h12",n.hour=["numeric","2-digit"][e-1];break;case"H":n.hourCycle="h23",n.hour=["numeric","2-digit"][e-1];break;case"K":n.hourCycle="h11",n.hour=["numeric","2-digit"][e-1];break;case"k":n.hourCycle="h24",n.hour=["numeric","2-digit"][e-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":n.minute=["numeric","2-digit"][e-1];break;case"s":n.second=["numeric","2-digit"][e-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":n.timeZoneName=e<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),n):{}};return{val:{type:"date"===s?pe.date:pe.time,value:r,location:u,style:f},err:null}}return{val:{type:"number"===s?pe.number:"date"===s?pe.date:pe.time,value:r,location:u,style:null!==(u=null==l?void 0:l.style)&&void 0!==u?u:null},err:null};case"plural":case"selectordinal":case"select":l=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(fe.EXPECT_SELECT_ARGUMENT_OPTIONS,Ge(l,de({},l)));this.bumpSpace();var p,u=this.parseIdentifierIfPossible(),l=0;if("select"!==s&&"offset"===u.value){if(!this.bumpIf(":"))return this.error(fe.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Ge(this.clonePosition(),this.clonePosition()));if(this.bumpSpace(),(p=this.tryParseDecimalInteger(fe.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,fe.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return p;this.bumpSpace(),u=this.parseIdentifierIfPossible(),l=p.val}u=this.tryParsePluralOrSelectOptions(t,s,e,u);if(u.err)return u;if((h=this.tryParseArgumentClose(o)).err)return h;var h=Ge(o,this.clonePosition());return"select"===s?{val:{type:pe.select,value:r,options:Ye(u.val),location:h},err:null}:{val:{type:pe.plural,value:r,options:Ye(u.val),offset:l,pluralType:"plural"===s?"cardinal":"ordinal",location:h},err:null};default:return this.error(fe.INVALID_ARGUMENT_TYPE,Ge(i,a))}},er.prototype.tryParseArgumentClose=function(t){return this.isEOF()||125!==this.char()?this.error(fe.EXPECT_ARGUMENT_CLOSING_BRACE,Ge(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},er.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,e=this.clonePosition();!this.isEOF();)switch(this.char()){case 39:this.bump();var r=this.clonePosition();if(!this.bumpUntil("'"))return this.error(fe.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,Ge(r,this.clonePosition()));this.bump();break;case 123:t+=1,this.bump();break;case 125:if(!(0<t))return{val:this.message.slice(e.offset,this.offset()),err:null};--t;break;default:this.bump()}return{val:this.message.slice(e.offset,this.offset()),err:null}},er.prototype.parseNumberSkeletonFromString=function(t,e){var r=[];try{r=function(t){if(0===t.length)throw new Error("Number skeleton cannot be empty");for(var e=[],r=0,o=t.split(Le).filter(function(t){return 0<t.length});r<o.length;r++){var n=o[r].split("/");if(0===n.length)throw new Error("Invalid number skeleton");for(var i=n[0],n=n.slice(1),s=0,a=n;s<a.length;s++)if(0===a[s].length)throw new Error("Invalid number skeleton");e.push({stem:i,options:n})}return e}(t)}catch(t){return this.error(fe.INVALID_NUMBER_SKELETON,e)}return{val:{type:he.number,tokens:r,location:e,parsedOptions:this.shouldParseSkeletons?Ue(r):{}},err:null}},er.prototype.tryParsePluralOrSelectOptions=function(t,e,r,o){for(var n=!1,i=[],s=new Set,a=o.value,l=o.location;;){if(0===a.length){var c=this.clonePosition();if("select"===e||!this.bumpIf("="))break;var u=this.tryParseDecimalInteger(fe.EXPECT_PLURAL_ARGUMENT_SELECTOR,fe.INVALID_PLURAL_ARGUMENT_SELECTOR);if(u.err)return u;l=Ge(c,this.clonePosition()),a=this.message.slice(c.offset,this.offset())}if(s.has(a))return this.error("select"===e?fe.DUPLICATE_SELECT_ARGUMENT_SELECTOR:fe.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);"other"===a&&(n=!0),this.bumpSpace();var f=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===e?fe.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:fe.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,Ge(this.clonePosition(),this.clonePosition()));u=this.parseMessage(t+1,e,r);if(u.err)return u;c=this.tryParseArgumentClose(f);if(c.err)return c;i.push([a,{value:u.val,location:Ge(f,this.clonePosition())}]),s.add(a),this.bumpSpace(),a=(f=this.parseIdentifierIfPossible()).value,l=f.location}return 0===i.length?this.error("select"===e?fe.EXPECT_SELECT_ARGUMENT_SELECTOR:fe.EXPECT_PLURAL_ARGUMENT_SELECTOR,Ge(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!n?this.error(fe.MISSING_OTHER_CLAUSE,Ge(this.clonePosition(),this.clonePosition())):{val:i,err:null}},er.prototype.tryParseDecimalInteger=function(t,e){var r=1,o=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-1);for(var n=!1,i=0;!this.isEOF();){var s=this.char();if(!(48<=s&&s<=57))break;n=!0,i=10*i+(s-48),this.bump()}o=Ge(o,this.clonePosition());return n?ze(i*=r)?{val:i,err:null}:this.error(e,o):this.error(t,o)},er.prototype.offset=function(){return this.position.offset},er.prototype.isEOF=function(){return this.offset()===this.message.length},er.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},er.prototype.char=function(){var t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");var e=Ke(this.message,t);if(void 0===e)throw Error("Offset "+t+" is at invalid UTF-16 code unit boundary");return e},er.prototype.error=function(t,e){return{val:null,err:{kind:t,message:this.message,location:e}}},er.prototype.bump=function(){var t;this.isEOF()||(10===(t=this.char())?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=t<65536?1:2))},er.prototype.bumpIf=function(t){if(Ze(this.message,t,this.offset())){for(var e=0;e<t.length;e++)this.bump();return!0}return!1},er.prototype.bumpUntil=function(t){var e=this.offset(),e=this.message.indexOf(t,e);return 0<=e?(this.bumpTo(e),!0):(this.bumpTo(this.message.length),!1)},er.prototype.bumpTo=function(t){if(this.offset()>t)throw Error("targetOffset "+t+" must be greater than or equal to the current offset "+this.offset());for(t=Math.min(t,this.message.length);;){var e=this.offset();if(e===t)break;if(t<e)throw Error("targetOffset "+t+" is at invalid UTF-16 code unit boundary");if(this.bump(),this.isEOF())break}},er.prototype.bumpSpace=function(){for(;!this.isEOF()&&or(this.char());)this.bump()},er.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),e=this.offset(),t=this.message.charCodeAt(e+(65536<=t?2:1));return null!=t?t:null},er);function er(t,e){void 0===e&&(e={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!e.ignoreTag,this.requiresOtherClause=!!e.requiresOtherClause,this.shouldParseSkeletons=!!e.shouldParseSkeletons}function rr(t){return 97<=t&&t<=122||65<=t&&t<=90}function or(t){return 9<=t&&t<=13||32===t||133===t||8206<=t&&t<=8207||8232===t||8233===t}function nr(t,e){e=de({shouldParseSkeletons:!0,requiresOtherClause:!0},e=void 0===e?{}:e);var r=new tr(t,e).parse();if(r.err){t=SyntaxError(fe[r.err.kind]);throw t.location=r.err.location,t.originalMessage=r.err.message,t}return null!=e&&e.captureLocation||function r(t){t.forEach(function(t){if(delete t.location,ve(t)||Ee(t))for(var e in t.options)delete t.options[e].location,r(t.options[e].value);else ye(t)&&Te(t.style)||(we(t)||be(t))&&_e(t.style)?delete t.style.location:Pe(t)&&r(t.children)})}(r.val),r.val}function ir(t,e){var r=e&&e.cache?e.cache:pr,o=e&&e.serializer?e.serializer:cr;return(e&&e.strategy?e.strategy:function(t,e){return lr(t,this,1===t.length?sr:ar,e.cache.create(),e.serializer)})(t,{cache:r,serializer:o})}function sr(t,e,r,o){var n=null==o||"number"==typeof o||"boolean"==typeof o?o:r(o),r=e.get(n);return void 0===r&&(r=t.call(this,o),e.set(n,r)),r}function ar(t,e,r){var o=Array.prototype.slice.call(arguments,3),n=r(o),r=e.get(n);return void 0===r&&(r=t.apply(this,o),e.set(n,r)),r}function lr(t,e,r,o,n){return r.bind(e,t,o,n)}var cr=function(){return JSON.stringify(arguments)};function ur(){this.cache=Object.create(null)}ur.prototype.has=function(t){return t in this.cache},ur.prototype.get=function(t){return this.cache[t]},ur.prototype.set=function(t,e){this.cache[t]=e};var fr,pr={create:function(){return new ur}},hr={variadic:function(t,e){return lr(t,this,ar,e.cache.create(),e.serializer)},monadic:function(t,e){return lr(t,this,sr,e.cache.create(),e.serializer)}};(Ae=fr=fr||{}).MISSING_VALUE="MISSING_VALUE",Ae.INVALID_VALUE="INVALID_VALUE",Ae.MISSING_INTL_API="MISSING_INTL_API";var dr,mr,gr,yr,wr,br=(ue(Sr,wr=Error),Sr.prototype.toString=function(){return"[formatjs Error: "+this.code+"] "+this.message},Sr),vr=(ue(Ar,yr=br),Ar),Er=(ue(_r,gr=br),_r),Pr=(ue(Tr,mr=br),Tr);function Tr(t,e){return mr.call(this,'The intl string context variable "'+t+'" was not provided to the string "'+e+'"',fr.MISSING_VALUE,e)||this}function _r(t,e,r){return gr.call(this,'Value for "'+t+'" must be of type '+e,fr.INVALID_VALUE,r)||this}function Ar(t,e,r,o){return yr.call(this,'Invalid values for "'+t+'": "'+e+'". Options are "'+Object.keys(r).join('", "')+'"',fr.INVALID_VALUE,o)||this}function Sr(t,e,r){t=wr.call(this,t)||this;return t.code=e,t.originalMessage=r,t}function Fr(t,e,r,o,n,i,s){if(1===t.length&&ge(t[0]))return[{type:dr.literal,value:t[0].value}];for(var a=[],l=0,c=t;l<c.length;l++){var u=c[l];if(ge(u))a.push({type:dr.literal,value:u.value});else if(u.type===pe.pound)"number"==typeof i&&a.push({type:dr.literal,value:r.getNumberFormat(e).format(i)});else{var f=u.value;if(!(n&&f in n))throw new Pr(f,s);var p=n[f];if(u.type===pe.argument)p&&"string"!=typeof p&&"number"!=typeof p||(p="string"==typeof p||"number"==typeof p?String(p):""),a.push({type:"string"==typeof p?dr.literal:dr.object,value:p});else if(we(u)){var h="string"==typeof u.style?o.date[u.style]:_e(u.style)?u.style.parsedOptions:void 0;a.push({type:dr.literal,value:r.getDateTimeFormat(e,h).format(p)})}else if(be(u))h="string"==typeof u.style?o.time[u.style]:_e(u.style)?u.style.parsedOptions:void 0,a.push({type:dr.literal,value:r.getDateTimeFormat(e,h).format(p)});else if(ye(u))(h="string"==typeof u.style?o.number[u.style]:Te(u.style)?u.style.parsedOptions:void 0)&&h.scale&&(p*=h.scale||1),a.push({type:dr.literal,value:r.getNumberFormat(e,h).format(p)});else{if(Pe(u)){var d=u.children,m=u.value,f=n[m];if("function"!=typeof f)throw new Er(m,"function",s);d=f(Fr(d,e,r,o,n,i).map(function(t){return t.value}));Array.isArray(d)||(d=[d]),a.push.apply(a,d.map(function(t){return{type:"string"==typeof t?dr.literal:dr.object,value:t}}))}if(ve(u)){if(!(g=u.options[p]||u.options.other))throw new vr(u.value,p,Object.keys(u.options),s);a.push.apply(a,Fr(g.value,e,r,o,n))}else if(Ee(u)){if(!(g=u.options["="+p])){if(!Intl.PluralRules)throw new br('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',fr.MISSING_INTL_API,s);var d=r.getPluralRules(e,{type:u.pluralType}).select(p-(u.offset||0)),g=u.options[d]||u.options.other}if(!g)throw new vr(u.value,p,Object.keys(u.options),s);a.push.apply(a,Fr(g.value,e,r,o,n,p-(u.offset||0)))}}}}return a.length<2?a:a.reduce(function(t,e){var r=t[t.length-1];return r&&r.type===dr.literal&&e.type===dr.literal?r.value+=e.value:t.push(e),t},[])}function Lr(r){return{create:function(){return{has:function(t){return t in r},get:function(t){return r[t]},set:function(t,e){r[t]=e}}}}}(Ae=dr=dr||{})[Ae.literal=0]="literal",Ae[Ae.object=1]="object";var Cr=(Object.defineProperty(Nr,"defaultLocale",{get:function(){return Nr.memoizedDefaultLocale||(Nr.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),Nr.memoizedDefaultLocale},enumerable:!1,configurable:!0}),Nr.memoizedDefaultLocale=null,Nr.__parse=nr,Nr.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"}}},Nr);function Nr(t,e,r,o){var n,i,s=this;if(void 0===e&&(e=Nr.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(t){t=s.formatToParts(t);if(1===t.length)return t[0].value;t=t.reduce(function(t,e){return t.length&&e.type===dr.literal&&"string"==typeof t[t.length-1]?t[t.length-1]+=e.value:t.push(e.value),t},[]);return t.length<=1?t[0]||"":t},this.formatToParts=function(t){return Fr(s.ast,s.locales,s.formatters,s.formats,t,void 0,s.message)},this.resolvedOptions=function(){return{locale:Intl.NumberFormat.supportedLocalesOf(s.locales)[0]}},this.getAst=function(){return s.ast},"string"==typeof t){if(this.message=t,!Nr.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=Nr.__parse(t,{ignoreTag:null==o?void 0:o.ignoreTag})}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=(n=Nr.formats,(i=r)?Object.keys(n).reduce(function(t,e){var r,o;return t[e]=(r=n[e],(o=i[e])?de(de(de({},r||{}),o||{}),Object.keys(r).reduce(function(t,e){return t[e]=de(de({},r[e]),o[e]||{}),t},{})):r),t},de({},n)):n),this.locales=e,this.formatters=o&&o.formatters||{getNumberFormat:ir(function(){for(var t,e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return new((t=Intl.NumberFormat).bind.apply(t,me([void 0],e)))},{cache:Lr((o=void 0===(o=this.formatterCache)?{number:{},dateTime:{},pluralRules:{}}:o).number),strategy:hr.variadic}),getDateTimeFormat:ir(function(){for(var t,e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return new((t=Intl.DateTimeFormat).bind.apply(t,me([void 0],e)))},{cache:Lr(o.dateTime),strategy:hr.variadic}),getPluralRules:ir(function(){for(var t,e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return new((t=Intl.PluralRules).bind.apply(t,me([void 0],e)))},{cache:Lr(o.pluralRules),strategy:hr.variadic})}}const xr={},Or=(e,r)=>{if(null!=r){if(r in xr&&e in xr[r])return xr[r][e];var o,n,i=qr(r);for(let t=0;t<i.length;t++){var s=(o=i[t],n=e,kr(o)?function(t,e){if(e in t)return t[e];const r=e.split(".");let o=t;for(let t=0;t<r.length;t++)if("object"==typeof o){if(0<t){const e=r.slice(t,r.length).join(".");if(e in o){o=o[e];break}}o=o[r[t]]}else o=void 0;return o}(function(t){return Ir[t]||null}(o),n):null);if(s)return o=e,n=r,(s=s)&&(n in xr||(xr[n]={}),o in xr[n]||(xr[n][o]=s),s)}}};let Ir;const Rr=Qt({});function kr(t){return t in Ir}function Ur(e,...r){delete xr[e],Rr.update(t=>(t[e]=le.all([t[e]||{},...r]),t))}Jt([Rr],([t])=>Object.keys(t)),Rr.subscribe(t=>Ir=t);const Mr={};function Dr(t){return Mr[t]}function Gr(t){return qr(t).some(t=>{return null===(t=Dr(t))||void 0===t?void 0:t.size})}const jr={};function Br(t){if(!Gr(t))return t in jr?jr[t]:void 0;const e=qr(t).map(t=>{var e=Dr(t);return[t,e?[...e]:[]]}).filter(([,t])=>0<t.length);return jr[t]=Promise.all(e.map(([t,r])=>function(e){return Promise.all(r.map(t=>(function(t,e){Mr[t].delete(e),0===Mr[t].size&&delete Mr[t]}(e,t),t().then(t=>t.default||t)))).then(t=>Ur(e,...t))}(t))).then(()=>Gr(t)?Br(t):void delete jr[t]),jr[t]}function $r(t,e){var r={};for(n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(t);o<n.length;o++)e.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(t,n[o])&&(r[n[o]]=t[n[o]]);return r}const Vr={fallbackLocale:null,initialLocale:null,loadingDelay:200,formats:{number:{scientific:{notation:"scientific"},engineering:{notation:"engineering"},compactLong:{notation:"compact",compactDisplay:"long"},compactShort:{notation:"compact",compactDisplay:"short"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},warnOnMissingMessages:!0,ignoreTag:!0};const zr=Qt(!1);let Xr;const Hr=Qt(null);function Zr(t){return t.split("-").map((t,e,r)=>r.slice(0,e+1).join("-")).reverse()}function qr(t,e=Vr.fallbackLocale){t=Zr(t);return e?[...new Set([...t,...Zr(e)])]:t}Hr.subscribe(t=>{Xr=t,"undefined"!=typeof window&&null!==t&&document.documentElement.setAttribute("lang",t)});const Yr=Hr.set;Hr.set=e=>{if(function(t){if(null!=t){var e=qr(t);for(let t=0;t<e.length;t++){var r=e[t];if(kr(r))return r}}}(e)&&Gr(e)){var{loadingDelay:r}=Vr;let t;return"undefined"!=typeof window&&null!=Xr&&r?t=window.setTimeout(()=>zr.set(!0),r):zr.set(!0),Br(e).then(()=>{Yr(e)}).finally(()=>{clearTimeout(t),zr.set(!1)})}return Yr(e)},Hr.update=t=>Yr(t(Xr));const Kr=r=>{const o=Object.create(null);return t=>{var e=JSON.stringify(t);return e in o?o[e]:o[e]=r(t)}},Wr=(t,e)=>{var{formats:r}=Vr;if(t in r&&e in r[t])return r[t][e];throw new Error(`[svelte-i18n] Unknown "${e}" ${t} format.`)},Qr=Kr(t=>{var{locale:e,format:r}=t,t=$r(t,["locale","format"]);if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return r&&(t=Wr("number",r)),new Intl.NumberFormat(e,t)}),Jr=Kr(t=>{var{locale:e,format:r}=t,t=$r(t,["locale","format"]);if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return r?t=Wr("date",r):0===Object.keys(t).length&&(t=Wr("date","short")),new Intl.DateTimeFormat(e,t)}),to=Kr(t=>{var{locale:e,format:r}=t,t=$r(t,["locale","format"]);if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return r?t=Wr("time",r):0===Object.keys(t).length&&(t=Wr("time","short")),new Intl.DateTimeFormat(e,t)}),eo=Kr((t,e=Xr)=>new Cr(t,e,Vr.formats,{ignoreTag:Vr.ignoreTag})),ro=Jt([Hr,Rr],()=>(t,e={})=>{"object"==typeof t&&(t=(e=t).id);var{values:r,locale:o=Xr,default:n}=e;if(null==o)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let i=Or(t,o);if(i){if("string"!=typeof i)return console.warn(`[svelte-i18n] Message with id "${t}" must be of type "string", found: "${typeof i}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),i}else Vr.warnOnMissingMessages&&console.warn(`[svelte-i18n] The message "${t}" was not found in "${qr(o).join('", "')}".${Gr(Xr)?"\n\nNote: there are at least one loader still registered to this locale that wasn't executed.":""}`),i=n||t;if(!r)return i;let s=i;try{s=eo(i,o).format(r)}catch(e){console.warn(`[svelte-i18n] Message "${t}" has syntax error:`,e.message)}return s});Jt([Hr],()=>(t,e)=>((t={})=>{var{locale:e=Xr}=t,t=$r(t,["locale"]);return to(Object.assign({locale:e},t))})(e).format(t)),Jt([Hr],()=>(t,e)=>((t={})=>{var{locale:e=Xr}=t,t=$r(t,["locale"]);return Jr(Object.assign({locale:e},t))})(e).format(t)),Jt([Hr],()=>(t,e)=>((t={})=>{var{locale:e=Xr}=t,t=$r(t,["locale"]);return Qr(Object.assign({locale:e},t))})(e).format(t)),Jt([Hr,Rr],()=>(t,e=Xr)=>Or(t,e)),window.emWidgets={topic:(t,e=0)=>{return-1==Yt.indexOf(t)&&(e=new Xt(e),Kt[t]=e,Yt.push(t)),Kt[t]}};const oo={en:{forgotPasswordForm:{goToLogin:"Back to Sign In",forgotPasswordTitle:"Forgot 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"}},tr:{forgotPasswordForm:{goToLogin:"Oturum Açmaya Geri Dön",forgotPasswordTitle:"Parolanızı mı unuttunuz",forgotPasswordEmail:"E-posta",forgotPasswordEmailInputError:"E-posta '@' ve 2-3 harf uzunluğunda bir etki alanı içermelidir.",forgotPasswordEmailError:"Bu e-posta mevcut değil.",forgotPasswordReset:"Şifreyi yenile",forgotPasswordSuccess:"Başarı!",forgotPasswordSuccessDescription:"Şifrenizi sıfırlamak için talimatları içeren bir e-posta gönderdik.",forgotNewPasswordTitle:"Yeni Şifre",forgotNewPasswordPassword:"Parola",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:"Onay şifresi yeni şifreyle 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 tıklayınız"}},ro:{forgotPasswordForm:{goToLogin:"Inapoi la autentificare",forgotPasswordTitle:"Parola Uitata",forgotPasswordEmail:"Email",forgotPasswordEmailInputError:"Email-ul ar trebui sa contina '@' si 2-3 litere.",forgotPasswordEmailError:"Acest email nu exista",forgotPasswordReset:"Reseteaza parola",forgotPasswordSuccess:"Succes!",forgotPasswordSuccessDescription:"Am trimis un email cu instructiunile pentru resetarea parolei.",forgotNewPasswordTitle:"Noua parola",forgotNewPasswordPassword:"Parola",forgotNewPasswordPasswordError:"Parola trebuie sa fie intre 8 si 20 de caractere, sa contina o litera mare, o cifra si un caracter special",forgotNewPasswordConfirmPassword:"Confirma parola",forgotNewPasswordConfirmPasswordError:"Parola confirmata trebuie sa fie la fel ca parola noua si sa respecte aceleasi reguli",forgotNewPasswordButton:"Schimba parola",forgotChangePasswordTitle:"Succes!",forgotChangePasswordDescription:"Parola a fost schimbata cu succes.",forgotChangePasswordLogin:"Autentificare"}}};function no(t){let r,o;return{c(){r=e("script"),r.src!==(o="//www.google.com/recaptcha/api.js?render="+t[1])&&tt(r,"src",o),r.async=!0,r.defer=!0},m(t,e){Y(t,r,e)},p(t,e){2&e[0]&&r.src!==(o="//www.google.com/recaptcha/api.js?render="+t[1])&&tt(r,"src",o)},d(t){t&&K(r)}}}function io(r){let o,n,i,s,a,l,c,u,f,p,h,d,m,g,y,w,b,v,E,P,T,_,A,S,F=r[20]("forgotPasswordForm.forgotChangePasswordTitle")+"",L=r[20]("forgotPasswordForm.forgotChangePasswordDescription")+"",C=r[20]("forgotPasswordForm.forgotChangePasswordLogin")+"";return{c(){o=e("div"),n=e("div"),i=e("div"),s=B("svg"),a=B("defs"),l=B("style"),c=W(".a{fill:#16ce16;}.b,.d{fill:none;}.b{stroke:#16ce16;stroke-width:2px;}.c{stroke:none;}"),u=B("g"),f=B("g"),p=B("path"),h=B("g"),d=B("circle"),m=B("circle"),g=Q(),y=e("h4"),w=W(F),b=Q(),v=e("p"),E=W(L),P=Q(),T=e("button"),_=W(C),tt(p,"class","a"),tt(p,"d","M16.1,28,0,11.9,3.267,8.633,16.1,21.233,37.333,0,40.6,3.267Z"),tt(p,"transform","translate(264.272 482.563)"),tt(f,"transform","translate(-7360.574 8503.438)"),tt(d,"class","c"),tt(d,"cx","30"),tt(d,"cy","30"),tt(d,"r","30"),tt(m,"class","d"),tt(m,"cx","30"),tt(m,"cy","30"),tt(m,"r","29"),tt(h,"class","b"),tt(h,"transform","translate(-7106 8970)"),tt(u,"transform","translate(7106 -8970)"),tt(s,"xmlns","http://www.w3.org/2000/svg"),tt(s,"width","60"),tt(s,"height","60"),tt(s,"viewBox","0 0 60 60"),tt(i,"class","NewPasswordSuccess"),tt(i,"part","NewPasswordSuccess"),tt(T,"class","resetPasswordButton"),tt(T,"part","resetPasswordButton"),tt(n,"class","FormContent"),tt(n,"part","FormContent"),tt(o,"class","FormLeftSide"),tt(o,"part","FormLeftSide")},m(t,e){Y(t,o,e),q(o,n),q(n,i),q(i,s),q(s,a),q(a,l),q(l,c),q(s,u),q(u,f),q(f,p),q(u,h),q(h,d),q(h,m),q(i,g),q(i,y),q(y,w),q(i,b),q(i,v),q(v,E),q(n,P),q(n,T),q(T,_),A||(S=J(T,"click",r[42]),A=!0)},p(t,e){1048576&e[0]&&F!==(F=t[20]("forgotPasswordForm.forgotChangePasswordTitle")+"")&&et(w,F),1048576&e[0]&&L!==(L=t[20]("forgotPasswordForm.forgotChangePasswordDescription")+"")&&et(E,L),1048576&e[0]&&C!==(C=t[20]("forgotPasswordForm.forgotChangePasswordLogin")+"")&&et(_,C)},d(t){t&&K(o),A=!1,S()}}}function so(r){let o,n,i,s,a,l,c,u,f,p,h,d,m,g,y,w,b,v,E,P,T,_,A,S,F,L,C,N,x,O,I,R=r[20]("forgotPasswordForm.forgotNewPasswordTitle")+"",k=r[20]("forgotPasswordForm.forgotNewPasswordPassword")+"",U=r[20]("forgotPasswordForm.forgotNewPasswordConfirmPassword")+"",M=r[20]("forgotPasswordForm.forgotNewPasswordButton")+"";function D(t){return t[16]?uo:co}let G=D(r),j=G(r),B=r[12]&&fo(r);function $(t){return t[17]?ho:po}let V=$(r),z=V(r),X=r[13]&&mo(r);return{c(){o=e("div"),n=e("div"),i=e("h4"),s=W(R),a=Q(),l=e("div"),c=e("div"),u=e("label"),f=W(k),p=W(":"),h=e("span"),h.textContent="*",d=Q(),m=e("input"),g=Q(),j.c(),y=Q(),B&&B.c(),w=Q(),b=e("div"),v=e("label"),E=W(U),P=W(":"),T=e("span"),T.textContent="*",_=Q(),A=e("input"),S=Q(),z.c(),F=Q(),X&&X.c(),L=Q(),C=e("button"),N=W(M),tt(i,"class","FormHeaderTitle"),tt(i,"part","FormHeaderTitle"),tt(n,"class","FormHeader"),tt(n,"part","FormHeader"),tt(h,"class","FormRequired"),tt(h,"part","FormRequired"),tt(u,"for","NewPassword"),tt(m,"type","password"),tt(m,"id","NewPassword"),tt(c,"class","NewPassword"),tt(c,"part","NewPassword"),tt(T,"class","FormRequired"),tt(T,"part","FormRequired"),tt(v,"for","RetypePassword"),tt(A,"type","password"),tt(A,"id","RetypePassword"),tt(b,"class","ConfirmPassword"),tt(b,"part","ConfirmPassword"),tt(C,"class","resetPasswordButton"),tt(C,"part","resetPasswordButton"),C.disabled=x=!r[11],tt(l,"class","FormContent"),tt(l,"part","FormContent"),tt(o,"class","FormLeftSide test"),tt(o,"part","FormLeftSide test")},m(t,e){Y(t,o,e),q(o,n),q(n,i),q(i,s),q(o,a),q(o,l),q(l,c),q(c,u),q(u,f),q(u,p),q(u,h),q(c,d),q(c,m),rt(m,r[18]),r[34](m),q(c,g),j.m(c,null),q(c,y),B&&B.m(c,null),q(l,w),q(l,b),q(b,v),q(v,E),q(v,P),q(v,T),q(b,_),q(b,A),rt(A,r[19]),r[38](A),q(b,S),z.m(b,null),q(b,F),X&&X.m(b,null),q(l,L),q(l,C),q(C,N),O||(I=[J(m,"input",r[33]),J(m,"blur",function(){Z(r[26](r[12],r[18],r[14]))&&r[26](r[12],r[18],r[14]).apply(this,arguments)}),J(A,"input",r[37]),J(A,"keyup",function(){Z(r[26](r[13],r[19],r[15]))&&r[26](r[13],r[19],r[15]).apply(this,arguments)}),J(C,"click",r[41])],O=!0)},p(t,e){r=t,1048576&e[0]&&R!==(R=r[20]("forgotPasswordForm.forgotNewPasswordTitle")+"")&&et(s,R),1048576&e[0]&&k!==(k=r[20]("forgotPasswordForm.forgotNewPasswordPassword")+"")&&et(f,k),262144&e[0]&&m.value!==r[18]&&rt(m,r[18]),G===(G=D(r))&&j?j.p(r,e):(j.d(1),j=G(r),j&&(j.c(),j.m(c,y))),r[12]?B?B.p(r,e):(B=fo(r),B.c(),B.m(c,null)):B&&(B.d(1),B=null),1048576&e[0]&&U!==(U=r[20]("forgotPasswordForm.forgotNewPasswordConfirmPassword")+"")&&et(E,U),524288&e[0]&&A.value!==r[19]&&rt(A,r[19]),V===(V=$(r))&&z?z.p(r,e):(z.d(1),z=V(r),z&&(z.c(),z.m(b,F))),r[13]?X?X.p(r,e):(X=mo(r),X.c(),X.m(b,null)):X&&(X.d(1),X=null),1048576&e[0]&&M!==(M=r[20]("forgotPasswordForm.forgotNewPasswordButton")+"")&&et(N,M),2048&e[0]&&x!==(x=!r[11])&&(C.disabled=x)},d(t){t&&K(o),r[34](null),j.d(),B&&B.d(),r[38](null),z.d(),X&&X.d(),O=!1,H(I)}}}function ao(t){let r,o,n,i,s,a,l,c,u,f,p,h,d,m,g,y,w,b,v,E=t[20]("forgotPasswordForm.forgotPasswordSuccess")+"",P=t[20]("forgotPasswordForm.forgotPasswordSuccessDescription")+"";return{c(){r=e("div"),o=e("div"),n=e("div"),i=B("svg"),s=B("defs"),a=B("style"),l=W(".a{fill:#16ce16;}.b,.d{fill:none;}.b{stroke:#16ce16;stroke-width:2px;}.c{stroke:none;}"),c=B("g"),u=B("g"),f=B("path"),p=B("g"),h=B("circle"),d=B("circle"),m=Q(),g=e("h4"),y=W(E),w=Q(),b=e("p"),v=W(P),tt(f,"class","a"),tt(f,"d","M16.1,28,0,11.9,3.267,8.633,16.1,21.233,37.333,0,40.6,3.267Z"),tt(f,"transform","translate(264.272 482.563)"),tt(u,"transform","translate(-7360.574 8503.438)"),tt(h,"class","c"),tt(h,"cx","30"),tt(h,"cy","30"),tt(h,"r","30"),tt(d,"class","d"),tt(d,"cx","30"),tt(d,"cy","30"),tt(d,"r","29"),tt(p,"class","b"),tt(p,"transform","translate(-7106 8970)"),tt(c,"transform","translate(7106 -8970)"),tt(i,"xmlns","http://www.w3.org/2000/svg"),tt(i,"width","60"),tt(i,"height","60"),tt(i,"viewBox","0 0 60 60"),tt(n,"class","NewPasswordSuccess"),tt(n,"part","NewPasswordSuccess"),tt(o,"class","FormContent"),tt(o,"part","FormContent"),tt(r,"class","FormLeftSide"),tt(r,"part","FormLeftSide")},m(t,e){Y(t,r,e),q(r,o),q(o,n),q(n,i),q(i,s),q(s,a),q(a,l),q(i,c),q(c,u),q(u,f),q(c,p),q(p,h),q(p,d),q(n,m),q(n,g),q(g,y),q(n,w),q(n,b),q(b,v)},p(t,e){1048576&e[0]&&E!==(E=t[20]("forgotPasswordForm.forgotPasswordSuccess")+"")&&et(y,E),1048576&e[0]&&P!==(P=t[20]("forgotPasswordForm.forgotPasswordSuccessDescription")+"")&&et(v,P)},d(t){t&&K(r)}}}function lo(r){let o,n,i,s,a,l,c,u,f,p,h,d,m,g,y,w,b,v,E,P,T,_,A,S,F,L,C,N,x,O,I,R,k=r[20]("forgotPasswordForm.goToLogin")+"",U=r[20]("forgotPasswordForm.forgotPasswordTitle")+"",M=r[20]("forgotPasswordForm.forgotPasswordEmail")+"",D=r[20]("forgotPasswordForm.forgotPasswordReset")+"",G=r[9]&&go(r),j=r[3]&&yo(r);return{c(){o=e("div"),n=e("div"),i=e("button"),s=B("svg"),a=B("defs"),l=B("style"),c=W(".a{fill:var(--emfe-w-color-primary, #D0046C);}"),u=B("path"),f=Q(),p=W(k),h=Q(),d=e("h4"),m=W(U),g=Q(),y=e("div"),w=e("div"),b=e("label"),v=W(M),E=W(":"),P=e("span"),P.textContent="*",T=Q(),_=e("input"),A=Q(),G&&G.c(),S=Q(),j&&j.c(),C=Q(),N=e("button"),x=W(D),tt(u,"class","a"),tt(u,"d","M12,0,9.818,2.182l8.26,8.26H0v3.117H18.078l-8.26,8.26L12,24,24,12Z"),tt(u,"transform","translate(24 24) rotate(180)"),tt(s,"xmlns","http://www.w3.org/2000/svg"),tt(s,"viewBox","0 0 24 24"),tt(i,"class","backButtonForgotPassword"),tt(i,"part","backButtonForgotPassword"),tt(d,"class","FormHeaderTitle"),tt(d,"part","FormHeaderTitle"),tt(n,"class","FormHeader"),tt(n,"part","FormHeader"),tt(P,"class","FormRequired"),tt(P,"part","FormRequired"),tt(b,"for","ResetPasswordByEmail"),tt(_,"type","text"),tt(_,"id","ResetPasswordByEmail"),tt(w,"class",F="ResetPasswordByEmail "+(r[9]?"InvalidField":"")),tt(w,"part",L="ResetPasswordByEmail "+(r[9]?"InvalidField":"")),tt(N,"class","resetPasswordButton"),tt(N,"part","resetPasswordButton"),N.disabled=O=!r[10],tt(y,"class","FormContent"),tt(y,"part","FormContent"),tt(o,"class","FormLeftSide"),tt(o,"part","FormLeftSide")},m(t,e){Y(t,o,e),q(o,n),q(n,i),q(i,s),q(s,a),q(a,l),q(l,c),q(s,u),q(i,f),q(i,p),q(n,h),q(n,d),q(d,m),q(o,g),q(o,y),q(y,w),q(w,b),q(b,v),q(b,E),q(b,P),q(w,T),q(w,_),rt(_,r[5]),q(w,A),G&&G.m(w,null),q(w,S),j&&j.m(w,null),q(y,C),q(y,N),q(N,x),I||(R=[J(i,"click",r[30]),J(_,"input",r[31]),J(_,"keyup",r[21]),J(N,"click",r[32])],I=!0)},p(t,e){1048576&e[0]&&k!==(k=t[20]("forgotPasswordForm.goToLogin")+"")&&et(p,k),1048576&e[0]&&U!==(U=t[20]("forgotPasswordForm.forgotPasswordTitle")+"")&&et(m,U),1048576&e[0]&&M!==(M=t[20]("forgotPasswordForm.forgotPasswordEmail")+"")&&et(v,M),32&e[0]&&_.value!==t[5]&&rt(_,t[5]),t[9]?G?G.p(t,e):(G=go(t),G.c(),G.m(w,S)):G&&(G.d(1),G=null),t[3]?j?j.p(t,e):(j=yo(t),j.c(),j.m(w,null)):j&&(j.d(1),j=null),512&e[0]&&F!==(F="ResetPasswordByEmail "+(t[9]?"InvalidField":""))&&tt(w,"class",F),512&e[0]&&L!==(L="ResetPasswordByEmail "+(t[9]?"InvalidField":""))&&tt(w,"part",L),1048576&e[0]&&D!==(D=t[20]("forgotPasswordForm.forgotPasswordReset")+"")&&et(x,D),1024&e[0]&&O!==(O=!t[10])&&(N.disabled=O)},d(t){t&&K(o),G&&G.d(),j&&j.d(),I=!1,H(R)}}}function co(r){let o,n,i,s,a,l,c,u,f,p;return{c(){o=B("svg"),n=B("defs"),i=B("style"),s=W(".a{fill:var(--emfe-w-color-white, #FFFFFF);}"),a=B("g"),l=B("path"),c=B("circle"),tt(l,"class","a"),tt(l,"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"),tt(l,"transform","translate(0)"),tt(c,"class","a"),tt(c,"cx","2.779"),tt(c,"cy","2.779"),tt(c,"r","2.779"),tt(c,"transform","translate(20.827 30.303)"),tt(a,"transform","translate(-14.185 -27.832)"),tt(o,"class",u="TogglePasswordVisibility "+(r[12]?"InvalidToggle":"")),tt(o,"xmlns","http://www.w3.org/2000/svg"),tt(o,"width","18.843"),tt(o,"height","10.5"),tt(o,"viewBox","0 0 18.843 10.5")},m(t,e){Y(t,o,e),q(o,n),q(n,i),q(i,s),q(o,a),q(a,l),q(a,c),f||(p=J(o,"click",r[36]),f=!0)},p(t,e){4096&e[0]&&u!==(u="TogglePasswordVisibility "+(t[12]?"InvalidToggle":""))&&tt(o,"class",u)},d(t){t&&K(o),f=!1,p()}}}function uo(r){let o,n,i,s,a,l,c,u,f,p,h,d,m,g,y,w;return{c(){o=B("svg"),n=B("defs"),i=B("style"),s=W(".a{fill:var(--emfe-w-color-white, #FFFFFF);}"),a=B("g"),l=B("circle"),c=B("g"),u=B("path"),f=B("path"),p=B("g"),h=B("path"),d=B("path"),m=B("rect"),tt(l,"class","a"),tt(l,"cx","0.05"),tt(l,"cy","0.05"),tt(l,"r","0.05"),tt(l,"transform","translate(121.017 31.148)"),tt(u,"class","a"),tt(u,"d","M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z"),tt(u,"transform","translate(-142.164 -39.123)"),tt(f,"class","a"),tt(f,"d","M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z"),tt(f,"transform","translate(-136.413 -42.068)"),tt(c,"transform","translate(117.499 27.37)"),tt(h,"class","a"),tt(h,"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"),tt(h,"transform","translate(-110.856 -33.157)"),tt(d,"class","a"),tt(d,"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"),tt(d,"transform","translate(-130.743 -29.617)"),tt(p,"transform","translate(110.856 24.899)"),tt(m,"class","a"),tt(m,"width","0.972"),tt(m,"height","15.861"),tt(m,"rx","0.486"),tt(m,"transform","translate(114.827 23.858) rotate(-39.315)"),tt(a,"transform","translate(-110.856 -23.242)"),tt(o,"class",g="TogglePasswordVisibility "+(r[12]?"InvalidToggle":"")),tt(o,"xmlns","http://www.w3.org/2000/svg"),tt(o,"width","18.844"),tt(o,"height","12.887"),tt(o,"viewBox","0 0 18.844 12.887")},m(t,e){Y(t,o,e),q(o,n),q(n,i),q(i,s),q(o,a),q(a,l),q(a,c),q(c,u),q(c,f),q(a,p),q(p,h),q(p,d),q(a,m),y||(w=J(o,"click",r[35]),y=!0)},p(t,e){4096&e[0]&&g!==(g="TogglePasswordVisibility "+(t[12]?"InvalidToggle":""))&&tt(o,"class",g)},d(t){t&&K(o),y=!1,w()}}}function fo(t){let r,o,n=t[20]("forgotPasswordForm.forgotNewPasswordPasswordError")+"";return{c(){r=e("p"),o=W(n),tt(r,"class","InvalidInput"),tt(r,"part","InvalidInput")},m(t,e){Y(t,r,e),q(r,o)},p(t,e){1048576&e[0]&&n!==(n=t[20]("forgotPasswordForm.forgotNewPasswordPasswordError")+"")&&et(o,n)},d(t){t&&K(r)}}}function po(r){let o,n,i,s,a,l,c,u,f,p,h;return{c(){o=B("svg"),n=B("defs"),i=B("style"),s=W(".a{fill:var(--emfe-w-color-white, #FFFFFF);}"),a=B("g"),l=B("path"),c=B("circle"),tt(l,"class","a"),tt(l,"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"),tt(l,"transform","translate(0)"),tt(c,"class","a"),tt(c,"cx","2.779"),tt(c,"cy","2.779"),tt(c,"r","2.779"),tt(c,"transform","translate(20.827 30.303)"),tt(a,"transform","translate(-14.185 -27.832)"),tt(o,"class",u="TogglePasswordVisibility "+(r[13]?"InvalidToggle":"")),tt(o,"part",f="TogglePasswordVisibility "+(r[13]?"InvalidToggle":"")),tt(o,"xmlns","http://www.w3.org/2000/svg"),tt(o,"width","18.843"),tt(o,"height","10.5"),tt(o,"viewBox","0 0 18.843 10.5")},m(t,e){Y(t,o,e),q(o,n),q(n,i),q(i,s),q(o,a),q(a,l),q(a,c),p||(h=J(o,"click",r[40]),p=!0)},p(t,e){8192&e[0]&&u!==(u="TogglePasswordVisibility "+(t[13]?"InvalidToggle":""))&&tt(o,"class",u),8192&e[0]&&f!==(f="TogglePasswordVisibility "+(t[13]?"InvalidToggle":""))&&tt(o,"part",f)},d(t){t&&K(o),p=!1,h()}}}function ho(r){let o,n,i,s,a,l,c,u,f,p,h,d,m,g,y,w,b;return{c(){o=B("svg"),n=B("defs"),i=B("style"),s=W(".a{fill:var(--emfe-w-color-white, #FFFFFF);}"),a=B("g"),l=B("circle"),c=B("g"),u=B("path"),f=B("path"),p=B("g"),h=B("path"),d=B("path"),m=B("rect"),tt(l,"class","a"),tt(l,"cx","0.05"),tt(l,"cy","0.05"),tt(l,"r","0.05"),tt(l,"transform","translate(121.017 31.148)"),tt(u,"class","a"),tt(u,"d","M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z"),tt(u,"transform","translate(-142.164 -39.123)"),tt(f,"class","a"),tt(f,"d","M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z"),tt(f,"transform","translate(-136.413 -42.068)"),tt(c,"transform","translate(117.499 27.37)"),tt(h,"class","a"),tt(h,"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"),tt(h,"transform","translate(-110.856 -33.157)"),tt(d,"class","a"),tt(d,"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"),tt(d,"transform","translate(-130.743 -29.617)"),tt(p,"transform","translate(110.856 24.899)"),tt(m,"class","a"),tt(m,"width","0.972"),tt(m,"height","15.861"),tt(m,"rx","0.486"),tt(m,"transform","translate(114.827 23.858) rotate(-39.315)"),tt(a,"transform","translate(-110.856 -23.242)"),tt(o,"class",g="TogglePasswordVisibility "+(r[13]?"InvalidToggle":"")),tt(o,"part",y="TogglePasswordVisibility "+(r[13]?"InvalidToggle":"")),tt(o,"xmlns","http://www.w3.org/2000/svg"),tt(o,"width","18.844"),tt(o,"height","12.887"),tt(o,"viewBox","0 0 18.844 12.887")},m(t,e){Y(t,o,e),q(o,n),q(n,i),q(i,s),q(o,a),q(a,l),q(a,c),q(c,u),q(c,f),q(a,p),q(p,h),q(p,d),q(a,m),w||(b=J(o,"click",r[39]),w=!0)},p(t,e){8192&e[0]&&g!==(g="TogglePasswordVisibility "+(t[13]?"InvalidToggle":""))&&tt(o,"class",g),8192&e[0]&&y!==(y="TogglePasswordVisibility "+(t[13]?"InvalidToggle":""))&&tt(o,"part",y)},d(t){t&&K(o),w=!1,b()}}}function mo(t){let r,o,n=t[20]("forgotPasswordForm.forgotNewPasswordConfirmPasswordError")+"";return{c(){r=e("p"),o=W(n),tt(r,"class","InvalidInput"),tt(r,"part","InvalidInput")},m(t,e){Y(t,r,e),q(r,o)},p(t,e){1048576&e[0]&&n!==(n=t[20]("forgotPasswordForm.forgotNewPasswordConfirmPasswordError")+"")&&et(o,n)},d(t){t&&K(r)}}}function go(t){let r,o,n=t[20]("forgotPasswordForm.forgotPasswordEmailInputError")+"";return{c(){r=e("p"),o=W(n),tt(r,"class","ForgotPasswordError"),tt(r,"part","ForgotPasswordError")},m(t,e){Y(t,r,e),q(r,o)},p(t,e){1048576&e[0]&&n!==(n=t[20]("forgotPasswordForm.forgotPasswordEmailInputError")+"")&&et(o,n)},d(t){t&&K(r)}}}function yo(t){let r,o,n=t[20]("forgotPasswordForm.forgotPasswordEmailError")+"";return{c(){r=e("p"),o=W(n),tt(r,"class","ForgotPasswordError"),tt(r,"part","ForgotPasswordError")},m(t,e){Y(t,r,e),q(r,o)},p(t,e){1048576&e[0]&&n!==(n=t[20]("forgotPasswordForm.forgotPasswordEmailError")+"")&&et(o,n)},d(t){t&&K(r)}}}function wo(t){let r;return{c(){r=e("div"),tt(r,"class","FormRightSide"),tt(r,"part","FormRightSide"),o(r,"background-image","url('"+t[0]+"')")},m(t,e){Y(t,r,e)},p(t,e){1&e[0]&&o(r,"background-image","url('"+t[0]+"')")},d(t){t&&K(r)}}}function bo(t){let r,o,n,i,s,a=t[1]&&no(t),l=function(t){let r,o;function n(t){return t[2]?lo:t[4]?ao:t[6]?so:t[7]?io:void 0}let i=n(t),s=i&&i(t),a=!t[8]&&wo(t);return{c(){r=e("div"),s&&s.c(),o=Q(),a&&a.c(),tt(r,"class","FormContainer"),tt(r,"part","FormContainer")},m(t,e){Y(t,r,e),s&&s.m(r,null),q(r,o),a&&a.m(r,null)},p(t,e){i===(i=n(t))&&s?s.p(t,e):(s&&s.d(1),s=i&&i(t),s&&(s.c(),s.m(r,o))),t[8]?a&&(a.d(1),a=null):a?a.p(t,e):(a=wo(t),a.c(),a.m(r,null))},d(t){t&&K(r),s&&s.d(),a&&a.d()}}}(t);return{c(){a&&a.c(),r=c(),o=Q(),n=e("div"),i=Q(),l.c(),s=c(),this.c=f,tt(n,"class","g-recaptcha"),tt(n,"data-sitekey",t[1])},m(t,e){a&&a.m(document.head,null),q(document.head,r),Y(t,o,e),Y(t,n,e),Y(t,i,e),l.m(t,e),Y(t,s,e)},p(t,e){t[1]?a?a.p(t,e):(a=no(t),a.c(),a.m(r.parentNode,r)):a&&(a.d(1),a=null),2&e[0]&&tt(n,"data-sitekey",t[1]),l.p(t,e)},i:f,o:f,d(t){a&&a.d(t),K(r),t&&K(o),t&&K(n),t&&K(i),l.d(t),t&&K(s)}}}function vo(e,t,o){let r;var n=ro;e.$$.on_destroy.push(M(n,t=>o(20,r=t)));var i=this&&this.__awaiter||function(t,s,a,l){return new(a=a||Promise)(function(r,e){function o(t){try{i(l.next(t))}catch(t){e(t)}}function n(t){try{i(l.throw(t))}catch(t){e(t)}}function i(t){var e;t.done?r(t.value):((e=t.value)instanceof a?e:new a(function(t){t(e)})).then(o,n)}i((l=l.apply(t,s||[])).next())})};let s,a,{endpoint:l=""}=t,{forgotpasswordkey:c=""}=t,{imagedesktop:u=""}=t,{captchakey:f=""}=t,{lang:p=""}=t,h=!0,d=!1,m=!1,g="",y=!1,w=!1,b=!1,v,E,P=window.navigator.userAgent,T,_=!1,A=!1,S=!1,F=!1,L="",C="";Object.keys(oo).forEach(t=>{Ur(t,oo[t])});const N={email:/^(([^<>()[\]\.,;:\s@\"]+(\.[^<>()[\]\.,;:\s@\"]+)*)|(\".+\"))@(([^<>()[\]\.,;:\s@\"]+\.)+[^<>()[\]\.,;:\s@\"]{2,})$/i,password:/^(?=.*?[A-Z])(?=.*?[a-z])(?=.*?[0-9])(?=.*?[^\w\s]).{8,20}$/},x=t=>{switch(t){case"userNewPassword":o(16,S=!S),o(14,s.type=S?"text":"password",s);break;case"userConfirmPassword":o(17,F=!F),o(15,a.type=F?"text":"password",a)}},O=t=>{switch(t){case"ToEmailSuccess":o(3,d=!1),o(2,h=!1),o(4,m=!0);break;case"ToReset":o(2,h=!1),o(6,y=!0);break;case"ToSuccess":o(6,y=!1),o(7,w=!0)}},I=()=>{window.postMessage({type:"ToLogin"},window.location.href)},R=()=>{new Promise((e,t)=>{grecaptcha.ready(()=>{grecaptcha.execute(f,{action:"submit"}).then(t=>{e(t)})})}).then(t=>{let e=new URL(`${l}/player/resetpassword`),r={method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json","g-recaptcha-response":t}};e.searchParams.append("email",g),fetch(e,r).then(t=>{200==t.status?O("ToEmailSuccess"):o(3,d=!0)})})},k=()=>{var t=new URL(`${l}/player/ResetPasswordByHashKey`),e={hashKey:c,plainTextPassword:L},e={method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(e)};fetch(t,e).then(t=>{200==t.status&&O("ToSuccess")})},U=t=>!!N.password.test(t);return t=()=>i(void 0,void 0,void 0,function*(){var t;((t=P).toLowerCase().match(/android/i)||t.toLowerCase().match(/blackberry|bb/i)||t.toLowerCase().match(/iphone|ipad|ipod/i)||t.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i))&&o(8,b=!0)}),function(){if(!D)throw new Error("Function called outside component initialization");return D}().$$.on_mount.push(t),e.$$set=t=>{"endpoint"in t&&o(27,l=t.endpoint),"forgotpasswordkey"in t&&o(28,c=t.forgotpasswordkey),"imagedesktop"in t&&o(0,u=t.imagedesktop),"captchakey"in t&&o(1,f=t.captchakey),"lang"in t&&o(29,p=t.lang)},e.$$.update=()=>{var t;268435456&e.$$.dirty[0]&&c&&c&&0<c.length&&O("ToReset"),536870912&e.$$.dirty[0]&&p&&(t=p,Hr.set(t))},[u,f,h,d,m,g,y,w,b,!1,!1,!1,_,A,s,a,S,F,L,C,r,()=>{var t;o(9,(t=g,v=!(N.email.test(t)&&t.length<=100))),o(10,E=!v)},x,I,R,k,(t,e,r)=>{"NewPassword"===r.id?(o(12,_=!U(e)),C&&o(13,A=L!==C||!U(e))):o(13,A=L!==C||!U(e)),o(11,T=!(_||A||!L||!C))},l,c,p,()=>I(),function(){g=this.value,o(5,g)},()=>R(),function(){L=this.value,o(18,L)},function(t){G[t?"unshift":"push"](()=>{s=t,o(14,s)})},()=>x("userNewPassword"),()=>x("userNewPassword"),function(){C=this.value,o(19,C)},function(t){G[t?"unshift":"push"](()=>{a=t,o(15,a)})},()=>x("userConfirmPassword"),()=>x("userConfirmPassword"),()=>k(),()=>I()]}class Eo extends l{constructor(t){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.backButtonForgotPassword{display:inline-flex;color:var(--emfe-w-color-contrast, #07072A);height:24px !important;line-height:24px;border-radius:5px;border:none;background:transparent;height:60px;padding:0;text-transform:uppercase;font-size:16px;cursor:pointer;margin-bottom:30px}.backButtonForgotPassword svg{width:24px;height:24px;margin-right:20px;fill:var(--emfe-w-color-primary, #D0046C)}.FormContainer{display:inline-flex;width:100%}.FormLeftSide,.FormRightSide{flex:1 1 100%;padding:50px}.FormLeftSide{background:var(--emfe-w-color-gray-50, #F9F8F8)}.FormRightSide{background-repeat:no-repeat;background-size:cover;background-position:center}.FormHeaderTitle{color:var(--emfe-w-color-black, #000000);font-size:28px;font-weight:300;padding:0;text-transform:uppercase;margin:0}.FormRequired{color:var(--emfe-w-color-error, #FD2839)}.ForgotPasswordError{color:var(--emfe-w-color-error, #FD2839);font-size:10px;line-height:10px;margin-top:10px}.FormContent{padding-top:20px}.NewPasswordSuccess{display:flex;flex-direction:column;flex-wrap:nowrap;justify-content:space-around;align-items:center}.NewPasswordSuccess h4{margin-top:10px;color:var(--emfe-w-color-green, #48952a);font-size:28px;font-weight:500;padding:0;text-transform:uppercase}.NewPasswordSuccess p{text-align:center;font-size:16px;color:var(--emfe-w-color-black, #000000);text-transform:initial;padding:15px 0;margin-bottom:110px}.TogglePasswordVisibility{height:19px;position:absolute;right:8px;top:34px;cursor:pointer}.TogglePasswordVisibility.InvalidToggle path,.TogglePasswordVisibility.InvalidToggle circle,.TogglePasswordVisibility.InvalidToggle rect{fill:var(--emfe-w-color-primary, #D0046C)}.TogglePasswordVisibility path,.TogglePasswordVisibility circle,.TogglePasswordVisibility rect{fill:var(--emfe-w-color-gray-300, #58586B)}.ResetPasswordByEmail,.NewPassword,.ConfirmPassword{color:var(--emfe-w-color-gray-300, #58586B);display:flex;flex-direction:column;padding-bottom:20px;position:relative}.ResetPasswordByEmail label,.NewPassword label,.ConfirmPassword label{font-size:14px;font-weight:300;padding-bottom:5px}.ResetPasswordByEmail input,.NewPassword input,.ConfirmPassword input{width:100%;height:44px;border:1px solid var(--emfe-w-color-gray-100, #E6E6E6);border-radius:5px;padding:5px;font-size:14px;box-sizing:border-box;padding:5px 15px;font-size:16px;line-height:18px}.ResetPasswordByEmail.InvalidField input{border:1px solid var(--emfe-w-color-primary, #D0046C);background:var(--emfe-w-color-primary-50, #FBECF4);color:var(--emfe-w-color-primary, #D0046C)}.resetPasswordButton{color:var(--emfe-w-color-white, #FFFFFF);background:var(--emfe-w-color-primary, #D0046C);border:1px solid var(--emfe-w-color-primary, #D0046C);border-radius:5px;width:100%;height:60px;padding:0;text-transform:uppercase;font-size:18px;cursor:pointer}.resetPasswordButton[disabled]{background:var(--emfe-w-color-gray-100, #E6E6E6);border:1px solid var(--emfe-w-color-gray-150, #828282);cursor:not-allowed}.ResetPasswordByEmail,.NewPassword,.ConfirmPassword{padding-bottom:30px}.InvalidInput{color:var(--emfe-w-color-error, #FD2839);font-size:10px;position:absolute;bottom:10px;line-height:10px}.FormLeftSide{flex:1 1 100%;padding:50px}.FormMobileContainer .ResetPasswordByEmail input{max-width:unset}input::-ms-reveal,input::-ms-clear{display:none}</style>",a(this,{target:this.shadowRoot,props:function(t){const e={};for(const r of t)e[r.name]=r.value;return e}(this.attributes),customElement:!0},vo,bo,r,{endpoint:27,forgotpasswordkey:28,imagedesktop:0,captchakey:1,lang:29},[-1,-1]),t&&(t.target&&Y(t.target,this,t.anchor),t.props&&(this.$set(t.props),b()))}static get observedAttributes(){return["endpoint","forgotpasswordkey","imagedesktop","captchakey","lang"]}get endpoint(){return this.$$.ctx[27]}set endpoint(t){this.$set({endpoint:t}),b()}get forgotpasswordkey(){return this.$$.ctx[28]}set forgotpasswordkey(t){this.$set({forgotpasswordkey:t}),b()}get imagedesktop(){return this.$$.ctx[0]}set imagedesktop(t){this.$set({imagedesktop:t}),b()}get captchakey(){return this.$$.ctx[1]}set captchakey(t){this.$set({captchakey:t}),b()}get lang(){return this.$$.ctx[29]}set lang(t){this.$set({lang:t}),b()}}return customElements.get("general-player-forgot-password-form")||customElements.define("general-player-forgot-password-form",Eo),Eo});
|
|
2
2
|
//# sourceMappingURL=general-player-forgot-password-form.js.map
|