@everymatrix/player-change-password 0.0.201 → 0.0.205

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(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).app=t()}(this,function(){"use strict";function h(){}function p(e){return e()}function d(){return Object.create(null)}function ue(e){e.forEach(p)}function he(e){return"function"==typeof e}function r(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}function N(e,...t){if(null==e)return h;const r=e.subscribe(...t);return r.unsubscribe?()=>r.unsubscribe():r}function pe(e,t){e.appendChild(t)}function de(e,t,r){e.insertBefore(t,r||null)}function fe(e){e.parentNode.removeChild(e)}function t(e){return document.createElement(e)}function e(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function ge(e){return document.createTextNode(e)}function me(){return ge(" ")}function ye(e,t,r,n){return e.addEventListener(t,r,n),()=>e.removeEventListener(t,r,n)}function we(e,t,r){null==r?e.removeAttribute(t):e.getAttribute(t)!==r&&e.setAttribute(t,r)}function be(e,t){e.wholeText!==(t=""+t)&&(e.data=t)}function Pe(e,t){e.value=null==t?"":t}let M;function f(e){M=e}const g=[],R=[],n=[],o=[],m=Promise.resolve();let y=!1;function w(e){n.push(e)}let s=!1;const i=new Set;function b(){if(!s){s=!0;do{for(let e=0;e<g.length;e+=1){var t=g[e];f(t),function(e){{var t;null!==e.fragment&&(e.update(),ue(e.before_update),t=e.dirty,e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(w))}}(t.$$)}for(f(null),g.length=0;R.length;)R.pop()();for(let e=0;e<n.length;e+=1){const r=n[e];i.has(r)||(i.add(r),r())}}while(n.length=0,g.length);for(;o.length;)o.pop()();y=!1,s=!1,i.clear()}}const P=new Set;function a(n,e,t,r,o,s,i=[-1]){var a,l=M;f(n);const c=n.$$={fragment:null,ctx:null,props:s,update:h,not_equal:o,bound:d(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(l?l.$$.context:e.context||[]),callbacks:d(),dirty:i,skip_bound:!1};let u=!1;if(c.ctx=t?t(n,e.props||{},(e,t,...r)=>{r=r.length?r[0]:t;return c.ctx&&o(c.ctx[e],c.ctx[e]=r)&&(!c.skip_bound&&c.bound[e]&&c.bound[e](r),u&&(r=e,-1===(e=n).$$.dirty[0]&&(g.push(e),y||(y=!0,m.then(b)),e.$$.dirty.fill(0)),e.$$.dirty[r/31|0]|=1<<r%31)),t}):[],c.update(),u=!0,ue(c.before_update),c.fragment=!!r&&r(c.ctx),e.target){if(e.hydrate){const h=(r=e.target,Array.from(r.childNodes));c.fragment&&c.fragment.l(h),h.forEach(fe)}else c.fragment&&c.fragment.c();e.intro&&(a=n.$$.fragment)&&a.i&&(P.delete(a),a.i(void 0)),function(t,e,r,n){const{fragment:o,on_mount:s,on_destroy:i,after_update:a}=t.$$;o&&o.m(e,r),n||w(()=>{var e=s.map(p).filter(he);i?i.push(...e):ue(e),t.$$.on_mount=[]}),a.forEach(w)}(n,e.target,e.anchor,e.customElement),b()}f(l)}let l;"function"==typeof HTMLElement&&(l=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:e}=this.$$;this.$$.on_disconnect=e.map(p).filter(he);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,r){this[e]=r}disconnectedCallback(){ue(this.$$.on_disconnect)}$destroy(){!function(e){const t=e.$$;null!==t.fragment&&(ue(t.on_destroy),t.fragment&&t.fragment.d(1),t.on_destroy=t.fragment=null,t.ctx=[])}(this),this.$destroy=h}$on(e,t){const r=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return r.push(t),()=>{var e=r.indexOf(t);-1!==e&&r.splice(e,1)}}$set(e){this.$$set&&0!==Object.keys(e).length&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}});var c,u,v="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==v&&v,E="URLSearchParams"in v,T="Symbol"in v&&"iterator"in Symbol,_="FileReader"in v&&"Blob"in v&&function(){try{return new Blob,!0}catch(e){return!1}}(),C="FormData"in v,A="ArrayBuffer"in v;function x(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e)||""===e)throw new TypeError('Invalid character in header field name: "'+e+'"');return e.toLowerCase()}function S(e){return e="string"!=typeof e?String(e):e}function I(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return T&&(e[Symbol.iterator]=function(){return e}),e}function O(t){this.map={},t instanceof O?t.forEach(function(e,t){this.append(t,e)},this):Array.isArray(t)?t.forEach(function(e){this.append(e[0],e[1])},this):t&&Object.getOwnPropertyNames(t).forEach(function(e){this.append(e,t[e])},this)}function L(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function U(r){return new Promise(function(e,t){r.onload=function(){e(r.result)},r.onerror=function(){t(r.error)}})}function B(e){var t=new FileReader,r=U(t);return t.readAsArrayBuffer(e),r}function D(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function k(){return this.bodyUsed=!1,this._initBody=function(e){this.bodyUsed=this.bodyUsed,(this._bodyInit=e)?"string"==typeof e?this._bodyText=e:_&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:C&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:E&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():A&&_&&e&&DataView.prototype.isPrototypeOf(e)?(this._bodyArrayBuffer=D(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):A&&(ArrayBuffer.prototype.isPrototypeOf(e)||u(e))?this._bodyArrayBuffer=D(e):this._bodyText=e=Object.prototype.toString.call(e):this._bodyText="",this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):E&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},_&&(this.blob=function(){var e=L(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?L(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(B)}),this.text=function(){var e,t,r=L(this);if(r)return r;if(this._bodyBlob)return e=this._bodyBlob,r=U(t=new FileReader),t.readAsText(e),r;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),r=new Array(t.length),n=0;n<t.length;n++)r[n]=String.fromCharCode(t[n]);return r.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},C&&(this.formData=function(){return this.text().then(j)}),this.json=function(){return this.text().then(JSON.parse)},this}A&&(c=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],u=ArrayBuffer.isView||function(e){return e&&-1<c.indexOf(Object.prototype.toString.call(e))}),O.prototype.append=function(e,t){e=x(e),t=S(t);var r=this.map[e];this.map[e]=r?r+", "+t:t},O.prototype.delete=function(e){delete this.map[x(e)]},O.prototype.get=function(e){return e=x(e),this.has(e)?this.map[e]:null},O.prototype.has=function(e){return this.map.hasOwnProperty(x(e))},O.prototype.set=function(e,t){this.map[x(e)]=S(t)},O.prototype.forEach=function(e,t){for(var r in this.map)this.map.hasOwnProperty(r)&&e.call(t,this.map[r],r,this)},O.prototype.keys=function(){var r=[];return this.forEach(function(e,t){r.push(t)}),I(r)},O.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),I(t)},O.prototype.entries=function(){var r=[];return this.forEach(function(e,t){r.push([t,e])}),I(r)},T&&(O.prototype[Symbol.iterator]=O.prototype.entries);var F=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function G(e,t){if(!(this instanceof G))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var r,n=(t=t||{}).body;if(e instanceof G){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new O(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,n||null==e._bodyInit||(n=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new O(t.headers)),this.method=(e=(r=t.method||this.method||"GET").toUpperCase(),-1<F.indexOf(e)?e:r),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&n)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(n),"GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache||((t=/([?&])_=[^&]*/).test(this.url)?this.url=this.url.replace(t,"$1_="+(new Date).getTime()):this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime())}function j(e){var r=new FormData;return e.trim().split("&").forEach(function(e){var t;e&&(e=(t=e.split("=")).shift().replace(/\+/g," "),t=t.join("=").replace(/\+/g," "),r.append(decodeURIComponent(e),decodeURIComponent(t)))}),r}function V(e,t){if(!(this instanceof V))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');t=t||{},this.type="default",this.status=void 0===t.status?200:t.status,this.ok=200<=this.status&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new O(t.headers),this.url=t.url||"",this._initBody(e)}G.prototype.clone=function(){return new G(this,{body:this._bodyInit})},k.call(G.prototype),k.call(V.prototype),V.prototype.clone=function(){return new V(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new O(this.headers),url:this.url})},V.error=function(){var e=new V(null,{status:0,statusText:""});return e.type="error",e};var $=[301,302,303,307,308];V.redirect=function(e,t){if(-1===$.indexOf(t))throw new RangeError("Invalid status code");return new V(null,{status:t,headers:{location:e}})};var W=v.DOMException;try{new W}catch(h){(W=function(e,t){this.message=e,this.name=t;e=Error(e);this.stack=e.stack}).prototype=Object.create(Error.prototype),W.prototype.constructor=W}function z(n,i){return new Promise(function(o,e){var t=new G(n,i);if(t.signal&&t.signal.aborted)return e(new W("Aborted","AbortError"));var s=new XMLHttpRequest;function r(){s.abort()}s.onload=function(){var e,r,t={status:s.status,statusText:s.statusText,headers:(e=s.getAllResponseHeaders()||"",r=new O,e.replace(/\r?\n[\t ]+/g," ").split("\r").map(function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e}).forEach(function(e){var t=e.split(":"),e=t.shift().trim();e&&(t=t.join(":").trim(),r.append(e,t))}),r)};t.url="responseURL"in s?s.responseURL:t.headers.get("X-Request-URL");var n="response"in s?s.response:s.responseText;setTimeout(function(){o(new V(n,t))},0)},s.onerror=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},s.ontimeout=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},s.onabort=function(){setTimeout(function(){e(new W("Aborted","AbortError"))},0)},s.open(t.method,function(t){try{return""===t&&v.location.href?v.location.href:t}catch(e){return t}}(t.url),!0),"include"===t.credentials?s.withCredentials=!0:"omit"===t.credentials&&(s.withCredentials=!1),"responseType"in s&&(_?s.responseType="blob":A&&t.headers.get("Content-Type")&&-1!==t.headers.get("Content-Type").indexOf("application/octet-stream")&&(s.responseType="arraybuffer")),!i||"object"!=typeof i.headers||i.headers instanceof O?t.headers.forEach(function(e,t){s.setRequestHeader(t,e)}):Object.getOwnPropertyNames(i.headers).forEach(function(e){s.setRequestHeader(e,S(i.headers[e]))}),t.signal&&(t.signal.addEventListener("abort",r),s.onreadystatechange=function(){4===s.readyState&&t.signal.removeEventListener("abort",r)}),s.send(void 0===t._bodyInit?null:t._bodyInit)})}z.polyfill=!0,v.fetch||(v.fetch=z,v.Headers=O,v.Request=G,v.Response=V),self.fetch.bind(self);var X=function(e,t){return(X=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)};function Z(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}X(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}function H(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return{value:(e=e&&n>=e.length?void 0:e)&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function Y(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,s=r.call(e),i=[];try{for(;(void 0===t||0<t--)&&!(n=s.next()).done;)i.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=s.return)&&r.call(s)}finally{if(o)throw o.error}}return i}function q(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e}function K(e){return"function"==typeof e}function Q(e){e=e(function(e){Error.call(e),e.stack=(new Error).stack});return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e}var J=Q(function(t){return function(e){t(this),this.message=e?e.length+" errors occurred during unsubscription:\n"+e.map(function(e,t){return t+1+") "+e.toString()}).join("\n "):"",this.name="UnsubscriptionError",this.errors=e}});function ee(e,t){!e||0<=(t=e.indexOf(t))&&e.splice(t,1)}var te=(ne.prototype.unsubscribe=function(){var e,t,r,n,o;if(!this.closed){this.closed=!0;var s=this._parentage;if(s)if(this._parentage=null,Array.isArray(s))try{for(var i=H(s),a=i.next();!a.done;a=i.next())a.value.remove(this)}catch(t){e={error:t}}finally{try{a&&!a.done&&(t=i.return)&&t.call(i)}finally{if(e)throw e.error}}else s.remove(this);s=this.initialTeardown;if(K(s))try{s()}catch(e){o=e instanceof J?e.errors:[e]}s=this._teardowns;if(s){this._teardowns=null;try{for(var l=H(s),c=l.next();!c.done;c=l.next()){var u=c.value;try{se(u)}catch(e){o=null!=o?o:[],e instanceof J?o=q(q([],Y(o)),Y(e.errors)):o.push(e)}}}catch(e){r={error:e}}finally{try{c&&!c.done&&(n=l.return)&&n.call(l)}finally{if(r)throw r.error}}}if(o)throw new J(o)}},ne.prototype.add=function(e){var t;if(e&&e!==this)if(this.closed)se(e);else{if(e instanceof ne){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._teardowns=null!==(t=this._teardowns)&&void 0!==t?t:[]).push(e)}},ne.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},ne.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},ne.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&ee(t,e)},ne.prototype.remove=function(e){var t=this._teardowns;t&&ee(t,e),e instanceof ne&&e._removeParent(this)},ne.EMPTY=((kt=new ne).closed=!0,kt),ne),re=te.EMPTY;function ne(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._teardowns=null}function oe(e){return e instanceof te||e&&"closed"in e&&K(e.remove)&&K(e.add)&&K(e.unsubscribe)}function se(e){K(e)?e():e.unsubscribe()}var ie=void 0,ae=!1,le=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return setTimeout.apply(void 0,q([],Y(e)))};function ce(){}function ve(e){e()}var Ee,Te,_e=(Z(xe,Te=te),xe.create=function(e,t,r){return new Ce(e,t,r)},xe.prototype.next=function(e){this.isStopped||this._next(e)},xe.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},xe.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},xe.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,Te.prototype.unsubscribe.call(this),this.destination=null)},xe.prototype._next=function(e){this.destination.next(e)},xe.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},xe.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},xe),Ce=(Z(Ae,Ee=_e),Ae);function Ae(e,t,r){var n,o,s=Ee.call(this)||this;return K(e)?o=e:e&&(o=e.next,t=e.error,r=e.complete,s&&ae?(n=Object.create(e)).unsubscribe=function(){return s.unsubscribe()}:n=e,o=null==o?void 0:o.bind(n),t=null==t?void 0:t.bind(n),r=null==r?void 0:r.bind(n)),s.destination={next:o?Se(o):ce,error:Se(null!=t?t:Ie),complete:r?Se(r):ce},s}function xe(e){var t=Te.call(this)||this;return t.isStopped=!1,e?oe(t.destination=e)&&e.add(t):t.destination=Oe,t}function Se(n){return function(){for(var t,e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];try{n.apply(void 0,q([],Y(e)))}catch(e){t=e,le(function(){throw t})}}}function Ie(e){throw e}var Oe={closed:!0,next:ce,error:Ie,complete:ce},Le="function"==typeof Symbol&&Symbol.observable||"@@observable";function Ne(e){return e}var Me=(Re.prototype.lift=function(e){var t=new Re;return t.source=this,t.operator=e,t},Re.prototype.subscribe=function(e,t,r){var n,o=this,s=(n=e)&&n instanceof _e||n&&K(n.next)&&K(n.error)&&K(n.complete)&&oe(n)?e:new Ce(e,t,r);return ve(function(){var e=o.operator,t=o.source;s.add(e?e.call(s,t):t?o._subscribe(s):o._trySubscribe(s))}),s},Re.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},Re.prototype.forEach=function(n,e){var o=this;return new(e=Ue(e))(function(e,t){var r=o.subscribe(function(e){try{n(e)}catch(e){t(e),null==r||r.unsubscribe()}},t,e)})},Re.prototype._subscribe=function(e){var t;return null===(t=this.source)||void 0===t?void 0:t.subscribe(e)},Re.prototype[Le]=function(){return this},Re.prototype.pipe=function(){for(var t,e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return(0===(t=e).length?Ne:1===t.length?t[0]:function(e){return t.reduce(function(e,t){return t(e)},e)})(this)},Re.prototype.toPromise=function(e){var n=this;return new(e=Ue(e))(function(e,t){var r;n.subscribe(function(e){return r=e},function(e){return t(e)},function(){return e(r)})})},Re.create=function(e){return new Re(e)},Re);function Re(e){e&&(this._subscribe=e)}function Ue(e){return null!==(e=null!=e?e:ie)&&void 0!==e?e:Promise}var Be,De,ke,Fe=Q(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),Ge=(Z(Xe,ke=Me),Xe.prototype.lift=function(e){var t=new je(this,this);return t.operator=e,t},Xe.prototype._throwIfClosed=function(){if(this.closed)throw new Fe},Xe.prototype.next=function(s){var i=this;ve(function(){var t,e;if(i._throwIfClosed(),!i.isStopped){var r=i.observers.slice();try{for(var n=H(r),o=n.next();!o.done;o=n.next())o.value.next(s)}catch(e){t={error:e}}finally{try{o&&!o.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}}})},Xe.prototype.error=function(t){var r=this;ve(function(){if(r._throwIfClosed(),!r.isStopped){r.hasError=r.isStopped=!0,r.thrownError=t;for(var e=r.observers;e.length;)e.shift().error(t)}})},Xe.prototype.complete=function(){var t=this;ve(function(){if(t._throwIfClosed(),!t.isStopped){t.isStopped=!0;for(var e=t.observers;e.length;)e.shift().complete()}})},Xe.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=null},Object.defineProperty(Xe.prototype,"observed",{get:function(){var e;return 0<(null===(e=this.observers)||void 0===e?void 0:e.length)},enumerable:!1,configurable:!0}),Xe.prototype._trySubscribe=function(e){return this._throwIfClosed(),ke.prototype._trySubscribe.call(this,e)},Xe.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},Xe.prototype._innerSubscribe=function(e){var t=this.hasError,r=this.isStopped,n=this.observers;return t||r?re:(n.push(e),new te(function(){return ee(n,e)}))},Xe.prototype._checkFinalizedStatuses=function(e){var t=this.hasError,r=this.thrownError,n=this.isStopped;t?e.error(r):n&&e.complete()},Xe.prototype.asObservable=function(){var e=new Me;return e.source=this,e},Xe.create=function(e,t){return new je(e,t)},Xe),je=(Z(ze,De=Ge),ze.prototype.next=function(e){var t,r;null===(r=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===r||r.call(t,e)},ze.prototype.error=function(e){var t,r;null===(r=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===r||r.call(t,e)},ze.prototype.complete=function(){var e,t;null===(t=null===(e=this.destination)||void 0===e?void 0:e.complete)||void 0===t||t.call(e)},ze.prototype._subscribe=function(e){var t;return null!==(e=null===(t=this.source)||void 0===t?void 0:t.subscribe(e))&&void 0!==e?e:re},ze),Ve={now:function(){return(Ve.delegate||Date).now()},delegate:void 0},$e=(Z(We,Be=Ge),We.prototype.next=function(e){var t=this,r=t.isStopped,n=t._buffer,o=t._infiniteTimeWindow,s=t._timestampProvider,t=t._windowTime;r||(n.push(e),o||n.push(s.now()+t)),this._trimBuffer(),Be.prototype.next.call(this,e)},We.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),r=this._infiniteTimeWindow,n=this._buffer.slice(),o=0;o<n.length&&!e.closed;o+=r?1:2)e.next(n[o]);return this._checkFinalizedStatuses(e),t},We.prototype._trimBuffer=function(){var e=this._bufferSize,t=this._timestampProvider,r=this._buffer,n=this._infiniteTimeWindow,o=(n?1:2)*e;if(e<1/0&&o<r.length&&r.splice(0,r.length-o),!n){for(var s=t.now(),i=0,a=1;a<r.length&&r[a]<=s;a+=2)i=a;i&&r.splice(0,i+1)}},We);function We(e,t,r){void 0===e&&(e=1/0),void 0===t&&(t=1/0),void 0===r&&(r=Ve);var n=Be.call(this)||this;return n._bufferSize=e,n._windowTime=t,n._timestampProvider=r,n._buffer=[],n._infiniteTimeWindow=!0,n._infiniteTimeWindow=t===1/0,n._bufferSize=Math.max(1,e),n._windowTime=Math.max(1,t),n}function ze(e,t){var r=De.call(this)||this;return r.destination=e,r.source=t,r}function Xe(){var e=ke.call(this)||this;return e.closed=!1,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}let Ze=[],He={};const Ye=[];function qe(n,o=h){let s;const i=[];function a(e){if(r(n,e)&&(n=e,s)){const e=!Ye.length;for(let e=0;e<i.length;e+=1){const t=i[e];t[1](),Ye.push(t,n)}if(e){for(let e=0;e<Ye.length;e+=2)Ye[e][0](Ye[e+1]);Ye.length=0}}}return{set:a,update:function(e){a(e(n))},subscribe:function(e,t=h){const r=[e,t];return i.push(r),1===i.length&&(s=o(a)||h),e(n),()=>{var e=i.indexOf(r);-1!==e&&i.splice(e,1),0===i.length&&(s(),s=null)}}}}function Ke(e,a,t){const l=!Array.isArray(e),c=l?[e]:e,u=a.length<2;return{subscribe:qe(t,t=>{let r=!1;const n=[];let o=0,s=h;const i=()=>{var e;o||(s(),e=a(l?n[0]:n,t),u?t(e):s=he(e)?e:h)},e=c.map((e,t)=>N(e,e=>{n[t]=e,o&=~(1<<t),r&&i()},()=>{o|=1<<t}));return r=!0,i(),function(){ue(e),s()}}).subscribe}}var Qe=function(e){return!(!e||"object"!=typeof e||(t=e,"[object RegExp]"===(e=Object.prototype.toString.call(t))||"[object Date]"===e||t.$$typeof===Je));var t},Je="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function et(e,t){return!1!==t.clone&&t.isMergeableObject(e)?st(Array.isArray(e)?[]:{},e,t):e}function tt(e,t,r){return e.concat(t).map(function(e){return et(e,r)})}function rt(e){return Object.keys(e).concat((t=e,Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return t.propertyIsEnumerable(e)}):[]));var t}function nt(e,t){try{return t in e}catch(e){return!1}}function ot(n,o,s){var i={};return s.isMergeableObject(n)&&rt(n).forEach(function(e){i[e]=et(n[e],s)}),rt(o).forEach(function(t){var e,r;(!nt(e=n,r=t)||Object.hasOwnProperty.call(e,r)&&Object.propertyIsEnumerable.call(e,r))&&(nt(n,t)&&s.isMergeableObject(o[t])?i[t]=function(){if(!s.customMerge)return st;var e=s.customMerge(t);return"function"==typeof e?e:st}()(n[t],o[t],s):i[t]=et(o[t],s))}),i}function st(e,t,r){(r=r||{}).arrayMerge=r.arrayMerge||tt,r.isMergeableObject=r.isMergeableObject||Qe,r.cloneUnlessOtherwiseSpecified=et;var n=Array.isArray(t);return n===Array.isArray(e)?n?r.arrayMerge(e,t,r):ot(e,t,r):et(t,r)}st.all=function(e,r){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce(function(e,t){return st(e,t,r)},{})};var it=st,at=function(e,t){return(at=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)};function lt(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}at(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var ct,ut,ht,pt=function(){return(pt=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function dt(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e}function ft(e){return e.type===ut.literal}function gt(e){return e.type===ut.number}function mt(e){return e.type===ut.date}function yt(e){return e.type===ut.time}function wt(e){return e.type===ut.select}function bt(e){return e.type===ut.plural}function Pt(e){return e.type===ut.tag}function vt(e){return e&&"object"==typeof e&&e.type===ht.number}function Et(e){return e&&"object"==typeof e&&e.type===ht.dateTime}(Ft=ct=ct||{})[Ft.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",Ft[Ft.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",Ft[Ft.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",Ft[Ft.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",Ft[Ft.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",Ft[Ft.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",Ft[Ft.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",Ft[Ft.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",Ft[Ft.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",Ft[Ft.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",Ft[Ft.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",Ft[Ft.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",Ft[Ft.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",Ft[Ft.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",Ft[Ft.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",Ft[Ft.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",Ft[Ft.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",Ft[Ft.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",Ft[Ft.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",Ft[Ft.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",Ft[Ft.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",Ft[Ft.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",Ft[Ft.INVALID_TAG=23]="INVALID_TAG",Ft[Ft.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",Ft[Ft.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",Ft[Ft.UNCLOSED_TAG=27]="UNCLOSED_TAG",(Gt=ut=ut||{})[Gt.literal=0]="literal",Gt[Gt.argument=1]="argument",Gt[Gt.number=2]="number",Gt[Gt.date=3]="date",Gt[Gt.time=4]="time",Gt[Gt.select=5]="select",Gt[Gt.plural=6]="plural",Gt[Gt.pound=7]="pound",Gt[Gt.tag=8]="tag",(jt=ht=ht||{})[jt.number=0]="number",jt[jt.dateTime=1]="dateTime";var Tt=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,_t=/(?:[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 Ct,At=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,xt=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,St=/^(@+)?(\+|#+)?$/g,It=/(\*)(0+)|(#+)(0+)|(0+)/g,Ot=/^(0+)$/;function Lt(e){var n={};return e.replace(St,function(e,t,r){return"string"!=typeof r?(n.minimumSignificantDigits=t.length,n.maximumSignificantDigits=t.length):"+"===r?n.minimumSignificantDigits=t.length:"#"===t[0]?n.maximumSignificantDigits=t.length:(n.minimumSignificantDigits=t.length,n.maximumSignificantDigits=t.length+("string"==typeof r?r.length:0)),""}),n}function Nt(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function Mt(e){return Nt(e)||{}}function Rt(e){for(var i={},t=0,r=e;t<r.length;t++){var n,o=r[t];switch(o.stem){case"percent":case"%":i.style="percent";continue;case"%x100":i.style="percent",i.scale=100;continue;case"currency":i.style="currency",i.currency=o.options[0];continue;case"group-off":case",_":i.useGrouping=!1;continue;case"precision-integer":case".":i.maximumFractionDigits=0;continue;case"measure-unit":case"unit":i.style="unit",i.unit=o.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":i.notation="compact",i.compactDisplay="short";continue;case"compact-long":case"KK":i.notation="compact",i.compactDisplay="long";continue;case"scientific":i=pt(pt(pt({},i),{notation:"scientific"}),o.options.reduce(function(e,t){return pt(pt({},e),Mt(t))},{}));continue;case"engineering":i=pt(pt(pt({},i),{notation:"engineering"}),o.options.reduce(function(e,t){return pt(pt({},e),Mt(t))},{}));continue;case"notation-simple":i.notation="standard";continue;case"unit-width-narrow":i.currencyDisplay="narrowSymbol",i.unitDisplay="narrow";continue;case"unit-width-short":i.currencyDisplay="code",i.unitDisplay="short";continue;case"unit-width-full-name":i.currencyDisplay="name",i.unitDisplay="long";continue;case"unit-width-iso-code":i.currencyDisplay="symbol";continue;case"scale":i.scale=parseFloat(o.options[0]);continue;case"integer-width":if(1<o.options.length)throw new RangeError("integer-width stems only accept a single optional option");o.options[0].replace(It,function(e,t,r,n,o,s){if(t)i.minimumIntegerDigits=r.length;else{if(n&&o)throw new Error("We currently do not support maximum integer digits");if(s)throw new Error("We currently do not support exact integer digits")}return""});continue}if(Ot.test(o.stem))i.minimumIntegerDigits=o.stem.length;else if(xt.test(o.stem)){if(1<o.options.length)throw new RangeError("Fraction-precision stems only accept a single optional option");o.stem.replace(xt,function(e,t,r,n,o,s){return"*"===r?i.minimumFractionDigits=t.length:n&&"#"===n[0]?i.maximumFractionDigits=n.length:o&&s?(i.minimumFractionDigits=o.length,i.maximumFractionDigits=o.length+s.length):(i.minimumFractionDigits=t.length,i.maximumFractionDigits=t.length),""}),o.options.length&&(i=pt(pt({},i),Lt(o.options[0])))}else St.test(o.stem)?i=pt(pt({},i),Lt(o.stem)):((n=Nt(o.stem))&&(i=pt(pt({},i),n)),(n=function(e){var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var r=e.slice(0,2);if("+!"===r?(t.signDisplay="always",e=e.slice(2)):"+?"===r&&(t.signDisplay="exceptZero",e=e.slice(2)),!Ot.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(o.stem))&&(i=pt(pt({},i),n)))}return i}var Ut=new RegExp("^"+Tt.source+"*"),Bt=new RegExp(Tt.source+"*$");function Dt(e,t){return{start:e,end:t}}var kt=!!String.prototype.startsWith,Le=!!String.fromCodePoint,Ge=!!Object.fromEntries,Ft=!!String.prototype.codePointAt,Gt=!!String.prototype.trimStart,jt=!!String.prototype.trimEnd,Vt=Number.isSafeInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Tt=!0;try{Tt="a"===(null===(Ct=Kt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===Ct?void 0:Ct[0])}catch(h){Tt=!1}var $t,Wt,zt=kt?function(e,t,r){return e.startsWith(t,r)}:function(e,t,r){return e.slice(r,r+t.length)===t},Xt=Le?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r,n="",o=e.length,s=0;s<o;){if(1114111<(r=e[s++]))throw RangeError(r+" is not a valid code point");n+=r<65536?String.fromCharCode(r):String.fromCharCode(55296+((r-=65536)>>10),r%1024+56320)}return n},Zt=Ge?Object.fromEntries:function(e){for(var t={},r=0,n=e;r<n.length;r++){var o=n[r],s=o[0],o=o[1];t[s]=o}return t},Ht=Ft?function(e,t){return e.codePointAt(t)}:function(e,t){var r=e.length;if(!(t<0||r<=t)){var n,o=e.charCodeAt(t);return o<55296||56319<o||t+1===r||(n=e.charCodeAt(t+1))<56320||57343<n?o:n-56320+(o-55296<<10)+65536}},Yt=Gt?function(e){return e.trimStart()}:function(e){return e.replace(Ut,"")},qt=jt?function(e){return e.trimEnd()}:function(e){return e.replace(Bt,"")};function Kt(e,t){return new RegExp(e,t)}Wt=Tt?($t=Kt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),function(e,t){return $t.lastIndex=t,null!==(e=$t.exec(e)[1])&&void 0!==e?e:""}):function(e,t){for(var r,n=[];;){var o=Ht(e,t);if(void 0===o||tr(o)||(33<=(r=o)&&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;n.push(o),t+=65536<=o?2:1}return Xt.apply(void 0,n)};var Qt=(Jt.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},Jt.prototype.parseMessage=function(e,t,r){for(var n=[];!this.isEOF();){var o,s=this.char();if(123===s){if((o=this.parseArgument(e,r)).err)return o;n.push(o.val)}else{if(125===s&&0<e)break;if(35!==s||"plural"!==t&&"selectordinal"!==t){if(60===s&&!this.ignoreTag&&47===this.peek()){if(r)break;return this.error(ct.UNMATCHED_CLOSING_TAG,Dt(this.clonePosition(),this.clonePosition()))}if(60===s&&!this.ignoreTag&&er(this.peek()||0)){if((o=this.parseTag(e,t)).err)return o;n.push(o.val)}else{if((o=this.parseLiteral(e,t)).err)return o;n.push(o.val)}}else{s=this.clonePosition();this.bump(),n.push({type:ut.pound,location:Dt(s,this.clonePosition())})}}}return{val:n,err:null}},Jt.prototype.parseTag=function(e,t){var r=this.clonePosition();this.bump();var n=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:ut.literal,value:"<"+n+"/>",location:Dt(r,this.clonePosition())},err:null};if(this.bumpIf(">")){var o=this.parseMessage(e+1,t,!0);if(o.err)return o;e=o.val,t=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!er(this.char()))return this.error(ct.INVALID_TAG,Dt(t,this.clonePosition()));o=this.clonePosition();return n!==this.parseTagName()?this.error(ct.UNMATCHED_CLOSING_TAG,Dt(o,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:ut.tag,value:n,children:e,location:Dt(r,this.clonePosition())},err:null}:this.error(ct.INVALID_TAG,Dt(t,this.clonePosition())))}return this.error(ct.UNCLOSED_TAG,Dt(r,this.clonePosition()))}return this.error(ct.INVALID_TAG,Dt(r,this.clonePosition()))},Jt.prototype.parseTagName=function(){var e,t=this.offset();for(this.bump();!this.isEOF()&&(45===(e=this.char())||46===e||48<=e&&e<=57||95===e||97<=e&&e<=122||65<=e&&e<=90||183==e||192<=e&&e<=214||216<=e&&e<=246||248<=e&&e<=893||895<=e&&e<=8191||8204<=e&&e<=8205||8255<=e&&e<=8256||8304<=e&&e<=8591||11264<=e&&e<=12271||12289<=e&&e<=55295||63744<=e&&e<=64975||65008<=e&&e<=65533||65536<=e&&e<=983039);)this.bump();return this.message.slice(t,this.offset())},Jt.prototype.parseLiteral=function(e,t){for(var r=this.clonePosition(),n="";;){var o=this.tryParseQuote(t);if(o)n+=o;else{o=this.tryParseUnquoted(e,t);if(o)n+=o;else{o=this.tryParseLeftAngleBracket();if(!o)break;n+=o}}}r=Dt(r,this.clonePosition());return{val:{type:ut.literal,value:n,location:r},err:null}},Jt.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(er(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},Jt.prototype.tryParseQuote=function(e){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===e||"selectordinal"===e)break;return null;default:return null}this.bump();var t=[this.char()];for(this.bump();!this.isEOF();){var r=this.char();if(39===r){if(39!==this.peek()){this.bump();break}t.push(39),this.bump()}else t.push(r);this.bump()}return Xt.apply(void 0,t)},Jt.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var r=this.char();return 60===r||123===r||35===r&&("plural"===t||"selectordinal"===t)||125===r&&0<e?null:(this.bump(),Xt(r))},Jt.prototype.parseArgument=function(e,t){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(ct.EXPECT_ARGUMENT_CLOSING_BRACE,Dt(r,this.clonePosition()));if(125===this.char())return this.bump(),this.error(ct.EMPTY_ARGUMENT,Dt(r,this.clonePosition()));var n=this.parseIdentifierIfPossible().value;if(!n)return this.error(ct.MALFORMED_ARGUMENT,Dt(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(ct.EXPECT_ARGUMENT_CLOSING_BRACE,Dt(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:ut.argument,value:n,location:Dt(r,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(ct.EXPECT_ARGUMENT_CLOSING_BRACE,Dt(r,this.clonePosition())):this.parseArgumentOptions(e,t,n,r);default:return this.error(ct.MALFORMED_ARGUMENT,Dt(r,this.clonePosition()))}},Jt.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),r=Wt(this.message,t),t=t+r.length;return this.bumpTo(t),{value:r,location:Dt(e,this.clonePosition())}},Jt.prototype.parseArgumentOptions=function(e,t,r,n){var o,s=this.clonePosition(),i=this.parseIdentifierIfPossible().value,a=this.clonePosition();switch(i){case"":return this.error(ct.EXPECT_ARGUMENT_TYPE,Dt(s,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===(h=qt(p.val)).length)return this.error(ct.EXPECT_ARGUMENT_STYLE,Dt(this.clonePosition(),this.clonePosition()));l={style:h,styleLocation:Dt(c,this.clonePosition())}}if((d=this.tryParseArgumentClose(n)).err)return d;var u=Dt(n,this.clonePosition());if(l&&zt(null==l?void 0:l.style,"::",0)){c=Yt(l.style.slice(2));if("number"===i)return(p=this.parseNumberSkeletonFromString(c,l.styleLocation)).err?p:{val:{type:ut.number,value:r,location:u,style:p.val},err:null};if(0===c.length)return this.error(ct.EXPECT_DATE_TIME_SKELETON,u);var h={type:ht.dateTime,pattern:c,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?(o={},c.replace(_t,function(e){var t=e.length;switch(e[0]){case"G":o.era=4===t?"long":5===t?"narrow":"short";break;case"y":o.year=2===t?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":o.month=["numeric","2-digit","short","long","narrow"][t-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":o.day=["numeric","2-digit"][t-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":o.weekday=4!==t&&5===t?"narrow":"short";break;case"e":if(t<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");o.weekday=["short","long","narrow","short"][t-4];break;case"c":if(t<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");o.weekday=["short","long","narrow","short"][t-4];break;case"a":o.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":o.hourCycle="h12",o.hour=["numeric","2-digit"][t-1];break;case"H":o.hourCycle="h23",o.hour=["numeric","2-digit"][t-1];break;case"K":o.hourCycle="h11",o.hour=["numeric","2-digit"][t-1];break;case"k":o.hourCycle="h24",o.hour=["numeric","2-digit"][t-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":o.minute=["numeric","2-digit"][t-1];break;case"s":o.second=["numeric","2-digit"][t-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":o.timeZoneName=t<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),o):{}};return{val:{type:"date"===i?ut.date:ut.time,value:r,location:u,style:h},err:null}}return{val:{type:"number"===i?ut.number:"date"===i?ut.date:ut.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(ct.EXPECT_SELECT_ARGUMENT_OPTIONS,Dt(l,pt({},l)));this.bumpSpace();var p,u=this.parseIdentifierIfPossible(),l=0;if("select"!==i&&"offset"===u.value){if(!this.bumpIf(":"))return this.error(ct.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Dt(this.clonePosition(),this.clonePosition()));if(this.bumpSpace(),(p=this.tryParseDecimalInteger(ct.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,ct.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return p;this.bumpSpace(),u=this.parseIdentifierIfPossible(),l=p.val}u=this.tryParsePluralOrSelectOptions(e,i,t,u);if(u.err)return u;if((d=this.tryParseArgumentClose(n)).err)return d;var d=Dt(n,this.clonePosition());return"select"===i?{val:{type:ut.select,value:r,options:Zt(u.val),location:d},err:null}:{val:{type:ut.plural,value:r,options:Zt(u.val),offset:l,pluralType:"plural"===i?"cardinal":"ordinal",location:d},err:null};default:return this.error(ct.INVALID_ARGUMENT_TYPE,Dt(s,a))}},Jt.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(ct.EXPECT_ARGUMENT_CLOSING_BRACE,Dt(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},Jt.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();)switch(this.char()){case 39:this.bump();var r=this.clonePosition();if(!this.bumpUntil("'"))return this.error(ct.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,Dt(r,this.clonePosition()));this.bump();break;case 123:e+=1,this.bump();break;case 125:if(!(0<e))return{val:this.message.slice(t.offset,this.offset()),err:null};--e;break;default:this.bump()}return{val:this.message.slice(t.offset,this.offset()),err:null}},Jt.prototype.parseNumberSkeletonFromString=function(e,t){var r=[];try{r=function(e){if(0===e.length)throw new Error("Number skeleton cannot be empty");for(var t=[],r=0,n=e.split(At).filter(function(e){return 0<e.length});r<n.length;r++){var o=n[r].split("/");if(0===o.length)throw new Error("Invalid number skeleton");for(var s=o[0],o=o.slice(1),i=0,a=o;i<a.length;i++)if(0===a[i].length)throw new Error("Invalid number skeleton");t.push({stem:s,options:o})}return t}(e)}catch(e){return this.error(ct.INVALID_NUMBER_SKELETON,t)}return{val:{type:ht.number,tokens:r,location:t,parsedOptions:this.shouldParseSkeletons?Rt(r):{}},err:null}},Jt.prototype.tryParsePluralOrSelectOptions=function(e,t,r,n){for(var o=!1,s=[],i=new Set,a=n.value,l=n.location;;){if(0===a.length){var c=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var u=this.tryParseDecimalInteger(ct.EXPECT_PLURAL_ARGUMENT_SELECTOR,ct.INVALID_PLURAL_ARGUMENT_SELECTOR);if(u.err)return u;l=Dt(c,this.clonePosition()),a=this.message.slice(c.offset,this.offset())}if(i.has(a))return this.error("select"===t?ct.DUPLICATE_SELECT_ARGUMENT_SELECTOR:ct.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);"other"===a&&(o=!0),this.bumpSpace();var h=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?ct.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:ct.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,Dt(this.clonePosition(),this.clonePosition()));u=this.parseMessage(e+1,t,r);if(u.err)return u;c=this.tryParseArgumentClose(h);if(c.err)return c;s.push([a,{value:u.val,location:Dt(h,this.clonePosition())}]),i.add(a),this.bumpSpace(),a=(h=this.parseIdentifierIfPossible()).value,l=h.location}return 0===s.length?this.error("select"===t?ct.EXPECT_SELECT_ARGUMENT_SELECTOR:ct.EXPECT_PLURAL_ARGUMENT_SELECTOR,Dt(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!o?this.error(ct.MISSING_OTHER_CLAUSE,Dt(this.clonePosition(),this.clonePosition())):{val:s,err:null}},Jt.prototype.tryParseDecimalInteger=function(e,t){var r=1,n=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-1);for(var o=!1,s=0;!this.isEOF();){var i=this.char();if(!(48<=i&&i<=57))break;o=!0,s=10*s+(i-48),this.bump()}n=Dt(n,this.clonePosition());return o?Vt(s*=r)?{val:s,err:null}:this.error(t,n):this.error(e,n)},Jt.prototype.offset=function(){return this.position.offset},Jt.prototype.isEOF=function(){return this.offset()===this.message.length},Jt.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},Jt.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=Ht(this.message,e);if(void 0===t)throw Error("Offset "+e+" is at invalid UTF-16 code unit boundary");return t},Jt.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},Jt.prototype.bump=function(){var e;this.isEOF()||(10===(e=this.char())?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2))},Jt.prototype.bumpIf=function(e){if(zt(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},Jt.prototype.bumpUntil=function(e){var t=this.offset(),t=this.message.indexOf(e,t);return 0<=t?(this.bumpTo(t),!0):(this.bumpTo(this.message.length),!1)},Jt.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset "+e+" must be greater than or equal to the current offset "+this.offset());for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(e<t)throw Error("targetOffset "+e+" is at invalid UTF-16 code unit boundary");if(this.bump(),this.isEOF())break}},Jt.prototype.bumpSpace=function(){for(;!this.isEOF()&&tr(this.char());)this.bump()},Jt.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),e=this.message.charCodeAt(t+(65536<=e?2:1));return null!=e?e:null},Jt);function Jt(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}function er(e){return 97<=e&&e<=122||65<=e&&e<=90}function tr(e){return 9<=e&&e<=13||32===e||133===e||8206<=e&&e<=8207||8232===e||8233===e}function rr(e,t){t=pt({shouldParseSkeletons:!0,requiresOtherClause:!0},t=void 0===t?{}:t);var r=new Qt(e,t).parse();if(r.err){e=SyntaxError(ct[r.err.kind]);throw e.location=r.err.location,e.originalMessage=r.err.message,e}return null!=t&&t.captureLocation||function r(e){e.forEach(function(e){if(delete e.location,wt(e)||bt(e))for(var t in e.options)delete e.options[t].location,r(e.options[t].value);else gt(e)&&vt(e.style)||(mt(e)||yt(e))&&Et(e.style)?delete e.style.location:Pt(e)&&r(e.children)})}(r.val),r.val}function nr(e,t){var r=t&&t.cache?t.cache:ur,n=t&&t.serializer?t.serializer:ar;return(t&&t.strategy?t.strategy:function(e,t){return ir(e,this,1===e.length?or:sr,t.cache.create(),t.serializer)})(e,{cache:r,serializer:n})}function or(e,t,r,n){var o=null==n||"number"==typeof n||"boolean"==typeof n?n:r(n),r=t.get(o);return void 0===r&&(r=e.call(this,n),t.set(o,r)),r}function sr(e,t,r){var n=Array.prototype.slice.call(arguments,3),o=r(n),r=t.get(o);return void 0===r&&(r=e.apply(this,n),t.set(o,r)),r}function ir(e,t,r,n,o){return r.bind(t,e,n,o)}var ar=function(){return JSON.stringify(arguments)};function lr(){this.cache=Object.create(null)}lr.prototype.has=function(e){return e in this.cache},lr.prototype.get=function(e){return this.cache[e]},lr.prototype.set=function(e,t){this.cache[e]=t};var cr,ur={create:function(){return new lr}},hr={variadic:function(e,t){return ir(e,this,sr,t.cache.create(),t.serializer)},monadic:function(e,t){return ir(e,this,or,t.cache.create(),t.serializer)}};(Tt=cr=cr||{}).MISSING_VALUE="MISSING_VALUE",Tt.INVALID_VALUE="INVALID_VALUE",Tt.MISSING_INTL_API="MISSING_INTL_API";var pr,dr,fr,gr,mr,yr=(lt(_r,mr=Error),_r.prototype.toString=function(){return"[formatjs Error: "+this.code+"] "+this.message},_r),wr=(lt(Tr,gr=yr),Tr),br=(lt(Er,fr=yr),Er),Pr=(lt(vr,dr=yr),vr);function vr(e,t){return dr.call(this,'The intl string context variable "'+e+'" was not provided to the string "'+t+'"',cr.MISSING_VALUE,t)||this}function Er(e,t,r){return fr.call(this,'Value for "'+e+'" must be of type '+t,cr.INVALID_VALUE,r)||this}function Tr(e,t,r,n){return gr.call(this,'Invalid values for "'+e+'": "'+t+'". Options are "'+Object.keys(r).join('", "')+'"',cr.INVALID_VALUE,n)||this}function _r(e,t,r){e=mr.call(this,e)||this;return e.code=t,e.originalMessage=r,e}function Cr(e,t,r,n,o,s,i){if(1===e.length&&ft(e[0]))return[{type:pr.literal,value:e[0].value}];for(var a=[],l=0,c=e;l<c.length;l++){var u=c[l];if(ft(u))a.push({type:pr.literal,value:u.value});else if(u.type===ut.pound)"number"==typeof s&&a.push({type:pr.literal,value:r.getNumberFormat(t).format(s)});else{var h=u.value;if(!(o&&h in o))throw new Pr(h,i);var p=o[h];if(u.type===ut.argument)p&&"string"!=typeof p&&"number"!=typeof p||(p="string"==typeof p||"number"==typeof p?String(p):""),a.push({type:"string"==typeof p?pr.literal:pr.object,value:p});else if(mt(u)){var d="string"==typeof u.style?n.date[u.style]:Et(u.style)?u.style.parsedOptions:void 0;a.push({type:pr.literal,value:r.getDateTimeFormat(t,d).format(p)})}else if(yt(u))d="string"==typeof u.style?n.time[u.style]:Et(u.style)?u.style.parsedOptions:void 0,a.push({type:pr.literal,value:r.getDateTimeFormat(t,d).format(p)});else if(gt(u))(d="string"==typeof u.style?n.number[u.style]:vt(u.style)?u.style.parsedOptions:void 0)&&d.scale&&(p*=d.scale||1),a.push({type:pr.literal,value:r.getNumberFormat(t,d).format(p)});else{if(Pt(u)){var f=u.children,g=u.value,h=o[g];if("function"!=typeof h)throw new br(g,"function",i);f=h(Cr(f,t,r,n,o,s).map(function(e){return e.value}));Array.isArray(f)||(f=[f]),a.push.apply(a,f.map(function(e){return{type:"string"==typeof e?pr.literal:pr.object,value:e}}))}if(wt(u)){if(!(m=u.options[p]||u.options.other))throw new wr(u.value,p,Object.keys(u.options),i);a.push.apply(a,Cr(m.value,t,r,n,o))}else if(bt(u)){if(!(m=u.options["="+p])){if(!Intl.PluralRules)throw new yr('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',cr.MISSING_INTL_API,i);var f=r.getPluralRules(t,{type:u.pluralType}).select(p-(u.offset||0)),m=u.options[f]||u.options.other}if(!m)throw new wr(u.value,p,Object.keys(u.options),i);a.push.apply(a,Cr(m.value,t,r,n,o,p-(u.offset||0)))}}}}return a.length<2?a:a.reduce(function(e,t){var r=e[e.length-1];return r&&r.type===pr.literal&&t.type===pr.literal?r.value+=t.value:e.push(t),e},[])}function Ar(r){return{create:function(){return{has:function(e){return e in r},get:function(e){return r[e]},set:function(e,t){r[e]=t}}}}}(Tt=pr=pr||{})[Tt.literal=0]="literal",Tt[Tt.object=1]="object";var xr=(Object.defineProperty(Sr,"defaultLocale",{get:function(){return Sr.memoizedDefaultLocale||(Sr.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),Sr.memoizedDefaultLocale},enumerable:!1,configurable:!0}),Sr.memoizedDefaultLocale=null,Sr.__parse=rr,Sr.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"}}},Sr);function Sr(e,t,r,n){var o,s,i=this;if(void 0===t&&(t=Sr.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){e=i.formatToParts(e);if(1===e.length)return e[0].value;e=e.reduce(function(e,t){return e.length&&t.type===pr.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e},[]);return e.length<=1?e[0]||"":e},this.formatToParts=function(e){return Cr(i.ast,i.locales,i.formatters,i.formats,e,void 0,i.message)},this.resolvedOptions=function(){return{locale:Intl.NumberFormat.supportedLocalesOf(i.locales)[0]}},this.getAst=function(){return i.ast},"string"==typeof e){if(this.message=e,!Sr.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=Sr.__parse(e,{ignoreTag:null==n?void 0:n.ignoreTag})}else this.ast=e;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=(o=Sr.formats,(s=r)?Object.keys(o).reduce(function(e,t){var r,n;return e[t]=(r=o[t],(n=s[t])?pt(pt(pt({},r||{}),n||{}),Object.keys(r).reduce(function(e,t){return e[t]=pt(pt({},r[t]),n[t]||{}),e},{})):r),e},pt({},o)):o),this.locales=t,this.formatters=n&&n.formatters||{getNumberFormat:nr(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.NumberFormat).bind.apply(e,dt([void 0],t)))},{cache:Ar((n=void 0===(n=this.formatterCache)?{number:{},dateTime:{},pluralRules:{}}:n).number),strategy:hr.variadic}),getDateTimeFormat:nr(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.DateTimeFormat).bind.apply(e,dt([void 0],t)))},{cache:Ar(n.dateTime),strategy:hr.variadic}),getPluralRules:nr(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.PluralRules).bind.apply(e,dt([void 0],t)))},{cache:Ar(n.pluralRules),strategy:hr.variadic})}}const Ir={},Or=(t,r)=>{if(null!=r){if(r in Ir&&t in Ir[r])return Ir[r][t];var n,o,s=Xr(r);for(let e=0;e<s.length;e++){var i=(n=s[e],o=t,Mr(n)?function(e,t){if(t in e)return e[t];const r=t.split(".");let n=e;for(let e=0;e<r.length;e++)if("object"==typeof n){if(0<e){const t=r.slice(e,r.length).join(".");if(t in n){n=n[t];break}}n=n[r[e]]}else n=void 0;return n}(function(e){return Lr[e]||null}(n),o):null);if(i)return n=t,o=r,(i=i)&&(o in Ir||(Ir[o]={}),n in Ir[o]||(Ir[o][n]=i),i)}}};let Lr;const Nr=qe({});function Mr(e){return e in Lr}function Rr(t,...r){delete Ir[t],Nr.update(e=>(e[t]=it.all([e[t]||{},...r]),e))}Ke([Nr],([e])=>Object.keys(e)),Nr.subscribe(e=>Lr=e);const Ur={};function Br(e){return Ur[e]}function Dr(e){return Xr(e).some(e=>{return null===(e=Br(e))||void 0===e?void 0:e.size})}const kr={};function Fr(e){if(!Dr(e))return e in kr?kr[e]:void 0;const t=Xr(e).map(e=>{var t=Br(e);return[e,t?[...t]:[]]}).filter(([,e])=>0<e.length);return kr[e]=Promise.all(t.map(([e,r])=>function(t){return Promise.all(r.map(e=>(function(e,t){Ur[e].delete(t),0===Ur[e].size&&delete Ur[e]}(t,e),e().then(e=>e.default||e)))).then(e=>Rr(t,...e))}(e))).then(()=>Dr(e)?Fr(e):void delete kr[e]),kr[e]}function Gr(e,t){var r={};for(o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,o=Object.getOwnPropertySymbols(e);n<o.length;n++)t.indexOf(o[n])<0&&Object.prototype.propertyIsEnumerable.call(e,o[n])&&(r[o[n]]=e[o[n]]);return r}const jr={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 Vr=qe(!1);let $r;const Wr=qe(null);function zr(e){return e.split("-").map((e,t,r)=>r.slice(0,t+1).join("-")).reverse()}function Xr(e,t=jr.fallbackLocale){e=zr(e);return t?[...new Set([...e,...zr(t)])]:e}Wr.subscribe(e=>{$r=e,"undefined"!=typeof window&&null!==e&&document.documentElement.setAttribute("lang",e)});const Zr=Wr.set;Wr.set=t=>{if(function(e){if(null!=e){var t=Xr(e);for(let e=0;e<t.length;e++){var r=t[e];if(Mr(r))return r}}}(t)&&Dr(t)){var{loadingDelay:r}=jr;let e;return"undefined"!=typeof window&&null!=$r&&r?e=window.setTimeout(()=>Vr.set(!0),r):Vr.set(!0),Fr(t).then(()=>{Zr(t)}).finally(()=>{clearTimeout(e),Vr.set(!1)})}return Zr(t)},Wr.update=e=>Zr(e($r));const Hr=r=>{const n=Object.create(null);return e=>{var t=JSON.stringify(e);return t in n?n[t]:n[t]=r(e)}},Yr=(e,t)=>{var{formats:r}=jr;if(e in r&&t in r[e])return r[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},qr=Hr(e=>{var{locale:t,format:r}=e,e=Gr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return r&&(e=Yr("number",r)),new Intl.NumberFormat(t,e)}),Kr=Hr(e=>{var{locale:t,format:r}=e,e=Gr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return r?e=Yr("date",r):0===Object.keys(e).length&&(e=Yr("date","short")),new Intl.DateTimeFormat(t,e)}),Qr=Hr(e=>{var{locale:t,format:r}=e,e=Gr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return r?e=Yr("time",r):0===Object.keys(e).length&&(e=Yr("time","short")),new Intl.DateTimeFormat(t,e)}),Jr=Hr((e,t=$r)=>new xr(e,t,jr.formats,{ignoreTag:jr.ignoreTag})),en=Ke([Wr,Nr],()=>(e,t={})=>{"object"==typeof e&&(e=(t=e).id);var{values:r,locale:n=$r,default:o}=t;if(null==n)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let s=Or(e,n);if(s){if("string"!=typeof s)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof s}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),s}else jr.warnOnMissingMessages&&console.warn(`[svelte-i18n] The message "${e}" was not found in "${Xr(n).join('", "')}".${Dr($r)?"\n\nNote: there are at least one loader still registered to this locale that wasn't executed.":""}`),s=o||e;if(!r)return s;let i=s;try{i=Jr(s,n).format(r)}catch(t){console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return i});Ke([Wr],()=>(e,t)=>((e={})=>{var{locale:t=$r}=e,e=Gr(e,["locale"]);return Qr(Object.assign({locale:t},e))})(t).format(e)),Ke([Wr],()=>(e,t)=>((e={})=>{var{locale:t=$r}=e,e=Gr(e,["locale"]);return Kr(Object.assign({locale:t},e))})(t).format(e)),Ke([Wr],()=>(e,t)=>((e={})=>{var{locale:t=$r}=e,e=Gr(e,["locale"]);return qr(Object.assign({locale:t},e))})(t).format(e)),Ke([Wr,Nr],()=>(e,t=$r)=>Or(e,t)),window.emWidgets={topic:(e,t=0)=>{return-1==Ze.indexOf(e)&&(t=new $e(t),He[e]=t,Ze.push(e)),He[e]}};const tn={en:{changePassword:{title:"Change Password",currentPassword:"Current Password:",invalidCurrentPassword:"The password should be 8-20 characters long, and contain at least 1 uppercase letter, 1 number and 1 special character.",newPassword:"New Password:",invalidNewPassword:"The new password must be different from the old password.",invalidNewPasswordSecondary:"The password should be 8-20 characters long, and contain at least 1 uppercase letter, 1 number and 1 special character.",confirmPassword:"Confirm Password:",confirmPasswordInvalid:"Password must match the new password and must follow the same rules.",submitChangePassword:"Change Password",returnToMenu:"Return to menu",changePasswordText:"Change Password",passwordReset:"PASSWORD RESET",passwordResetConfirmation:"Your password has been reset successfully.",backButtonText:"Back to Casino"}},ro:{changePassword:{title:"Change Password",currentPassword:"Current Password:",invalidCurrentPassword:"The password should be 8-20 characters long, and contain at least 1 uppercase letter, 1 number and 1 special character.",newPassword:"New Password:",invalidNewPassword:"The new password must be different from the old password.",invalidNewPasswordSecondary:"The password should be 8-20 characters long, and contain at least 1 uppercase letter, 1 number and 1 special character.",confirmPassword:"Confirm Password:",confirmPasswordInvalid:"Password must match the new password and must follow the same rules.",submitChangePassword:"Change Password",returnToMenu:"Return to menu",changePasswordText:"Change Password",passwordReset:"PASSWORD RESET",passwordResetConfirmation:"Your password has been reset successfully.",backButtonText:"Back to Casino"}}};function rn(r){let n,o,s,i,a,l,c,u,h,p,d,f,g,m,y,w,b,P,v,E,T=r[17]("changePassword.changePasswordText")+"",_=r[17]("changePassword.passwordReset")+"",C=r[17]("changePassword.passwordResetConfirmation")+"",A=r[17]("changePassword.backButtonText")+"",x=r[18]&&function(r){let n,o,s,i,a,l,c,u,h,p=r[17]("changePassword.returnToMenu")+"";return{c(){n=t("div"),o=e("svg"),s=e("g"),i=e("path"),a=me(),l=t("span"),c=ge(p),we(i,"id","Chevron_Right"),we(i,"d","M57.633,129.007L165.93,237.268c4.752,4.74,12.451,4.74,17.215,0c4.752-4.74,4.752-12.439,0-17.179\n l-99.707-99.671l99.695-99.671c4.752-4.74,4.752-12.439,0-17.191c-4.752-4.74-12.463-4.74-17.215,0L57.621,111.816\n C52.942,116.507,52.942,124.327,57.633,129.007z"),we(o,"version","1.1"),we(o,"id","Capa_1"),we(o,"xmlns","http://www.w3.org/2000/svg"),we(o,"xmlns:xlink","http://www.w3.org/1999/xlink"),we(o,"x","0px"),we(o,"y","0px"),we(o,"viewBox","0 0 240.823 240.823"),o.style.setProperty("enable-background","new 0 0 240.823 240.823",""),we(o,"xml:space","preserve"),we(o,"width","18px"),we(o,"fill","#58586B"),we(n,"class","MenuReturnButton")},m(e,t){de(e,n,t),pe(n,o),pe(o,s),pe(s,i),pe(n,a),pe(n,l),pe(l,c),u||(h=ye(n,"click",r[40]),u=!0)},p(e,t){131072&t[0]&&p!==(p=e[17]("changePassword.returnToMenu")+"")&&be(c,p)},d(e){e&&fe(n),u=!1,h()}}}(r);return{c(){x&&x.c(),n=me(),o=t("div"),s=t("h3"),i=ge(T),a=me(),l=t("div"),c=t("div"),u=t("div"),u.innerHTML='<div class="Checkmark"></div>',h=me(),p=t("div"),d=t("h3"),f=ge(_),g=me(),m=t("p"),y=ge(C),w=me(),b=t("div"),P=ge(A),we(o,"class","PlayerChangePasswordHeader"),we(u,"class","IconContainer"),we(p,"class","TextContainer"),we(c,"class","SuccessWrapper"),we(b,"class","PlayerChangePasswordBackButton"),we(l,"class","ChangedPasswordSuccessfully")},m(e,t){x&&x.m(e,t),de(e,n,t),de(e,o,t),pe(o,s),pe(s,i),de(e,a,t),de(e,l,t),pe(l,c),pe(c,u),pe(c,h),pe(c,p),pe(p,d),pe(d,f),pe(p,g),pe(p,m),pe(m,y),pe(l,w),pe(l,b),pe(b,P),v||(E=ye(b,"click",r[41]),v=!0)},p(e,t){e[18]&&x.p(e,t),131072&t[0]&&T!==(T=e[17]("changePassword.changePasswordText")+"")&&be(i,T),131072&t[0]&&_!==(_=e[17]("changePassword.passwordReset")+"")&&be(f,_),131072&t[0]&&C!==(C=e[17]("changePassword.passwordResetConfirmation")+"")&&be(y,C),131072&t[0]&&A!==(A=e[17]("changePassword.backButtonText")+"")&&be(P,A)},d(e){x&&x.d(e),e&&fe(n),e&&fe(o),e&&fe(a),e&&fe(l),v=!1,E()}}}function nn(r){let n,o,s,i,a,l,c,u,h,p,d,f,g,m,y,w,b,P,v,E,T,_,C,A,x,S,I,O,L,N,M,R,U,B,D,k,F,G,j,V,$=r[17]("changePassword.title")+"",W=r[17]("changePassword.currentPassword")+"",z=r[17]("changePassword.newPassword")+"",X=r[17]("changePassword.confirmPassword")+"",Z=r[17]("changePassword.submitChangePassword")+"",H=r[18]&&function(r){let n,o,s,i,a,l,c,u,h,p,d,f,g,m=r[17]("changePassword.title")+"";return{c(){n=t("div"),o=e("svg"),s=e("defs"),i=e("style"),a=ge(".aaa{fill:#d0046c;}"),l=e("g"),c=e("g"),u=e("path"),h=me(),p=t("h2"),d=ge(m),we(u,"class","aaa"),we(u,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),we(u,"transform","translate(15 15) rotate(180)"),we(c,"transform","translate(20 158)"),we(l,"transform","translate(-20 -158)"),we(o,"xmlns","http://www.w3.org/2000/svg"),we(o,"width","15"),we(o,"height","15"),we(o,"viewBox","0 0 15 15"),we(p,"class","ChangePasswordTitleMobile"),we(n,"class","MenuReturnButton")},m(e,t){de(e,n,t),pe(n,o),pe(o,s),pe(s,i),pe(i,a),pe(o,l),pe(l,c),pe(c,u),pe(n,h),pe(n,p),pe(p,d),f||(g=ye(n,"click",r[26]),f=!0)},p(e,t){131072&t[0]&&m!==(m=e[17]("changePassword.title")+"")&&be(d,m)},d(e){e&&fe(n),f=!1,g()}}}(r);function Y(e){return e[8]?sn:on}let q=Y(r),K=q(r),Q=r[2]&&an(r);function J(e){return e[9]?cn:ln}let ee=J(r),te=ee(r);function re(e){return e[11]?hn:e[3]?un:void 0}let ne=re(r),oe=ne&&ne(r);function se(e){return e[10]?dn:pn}let ie=se(r),ae=ie(r),le=r[4]&&fn(r),ce=r[16]&&gn(r);return{c(){H&&H.c(),n=me(),o=t("h2"),s=ge($),i=me(),a=t("section"),l=t("div"),c=t("label"),u=ge(W),h=me(),p=t("input"),d=me(),K.c(),f=me(),Q&&Q.c(),m=me(),y=t("div"),w=t("label"),b=ge(z),P=me(),v=t("input"),E=me(),te.c(),T=me(),oe&&oe.c(),C=me(),A=t("div"),x=t("label"),S=ge(X),I=me(),O=t("input"),L=me(),ae.c(),N=me(),le&&le.c(),R=me(),ce&&ce.c(),U=me(),B=t("section"),D=t("div"),k=ge(Z),we(o,"class","ChangePasswordTitle "+(r[18]?"ChangePasswordTitleNone":"")),we(c,"for","CurrentPassword"),we(p,"id","CurrentPassword"),we(p,"type","password"),we(l,"class",g="PlayerChangePasswordBox "+(r[2]?"InvalidField":"")),we(w,"for","NewPassword"),we(v,"id","NewPassword"),we(v,"type","password"),we(y,"class",_="PlayerChangePasswordBox "+(r[3]?"InvalidField":"")),we(x,"for","ConfirmPassword"),we(O,"id","ConfirmPassword"),we(O,"type","password"),we(A,"class",M="PlayerChangePasswordBox "+(r[4]?"InvalidField":"")),we(a,"class","PlayerChangePasswordContent"),we(D,"class",F="PlayerChangePasswordSaveButton "+(r[1]?"":"ButtonInactive")),we(D,"disabled",G=!r[1]),we(B,"class","PlayerChangePasswordButtonsArea")},m(e,t){H&&H.m(e,t),de(e,n,t),de(e,o,t),pe(o,s),de(e,i,t),de(e,a,t),pe(a,l),pe(l,c),pe(c,u),pe(l,h),pe(l,p),Pe(p,r[12]),r[28](p),pe(l,d),K.m(l,null),pe(l,f),Q&&Q.m(l,null),pe(a,m),pe(a,y),pe(y,w),pe(w,b),pe(y,P),pe(y,v),Pe(v,r[13]),r[32](v),pe(y,E),te.m(y,null),pe(y,T),oe&&oe.m(y,null),pe(a,C),pe(a,A),pe(A,x),pe(x,S),pe(A,I),pe(A,O),Pe(O,r[14]),r[36](O),pe(A,L),ae.m(A,null),pe(A,N),le&&le.m(A,null),de(e,R,t),ce&&ce.m(e,t),de(e,U,t),de(e,B,t),pe(B,D),pe(D,k),j||(V=[ye(p,"input",r[27]),ye(p,"blur",function(){he(r[21](r[2],r[12],r[5]))&&r[21](r[2],r[12],r[5]).apply(this,arguments)}),ye(v,"input",r[31]),ye(v,"blur",function(){he(r[21](r[3],r[13],r[6]))&&r[21](r[3],r[13],r[6]).apply(this,arguments)}),ye(O,"input",r[35]),ye(O,"blur",function(){he(r[21](r[4],r[14],r[7]))&&r[21](r[4],r[14],r[7]).apply(this,arguments)}),ye(D,"click",r[39])],j=!0)},p(e,t){(r=e)[18]&&H.p(r,t),131072&t[0]&&$!==($=r[17]("changePassword.title")+"")&&be(s,$),131072&t[0]&&W!==(W=r[17]("changePassword.currentPassword")+"")&&be(u,W),4096&t[0]&&p.value!==r[12]&&Pe(p,r[12]),q===(q=Y(r))&&K?K.p(r,t):(K.d(1),K=q(r),K&&(K.c(),K.m(l,f))),r[2]?Q?Q.p(r,t):(Q=an(r),Q.c(),Q.m(l,null)):Q&&(Q.d(1),Q=null),4&t[0]&&g!==(g="PlayerChangePasswordBox "+(r[2]?"InvalidField":""))&&we(l,"class",g),131072&t[0]&&z!==(z=r[17]("changePassword.newPassword")+"")&&be(b,z),8192&t[0]&&v.value!==r[13]&&Pe(v,r[13]),ee===(ee=J(r))&&te?te.p(r,t):(te.d(1),te=ee(r),te&&(te.c(),te.m(y,T))),ne===(ne=re(r))&&oe?oe.p(r,t):(oe&&oe.d(1),oe=ne&&ne(r),oe&&(oe.c(),oe.m(y,null))),8&t[0]&&_!==(_="PlayerChangePasswordBox "+(r[3]?"InvalidField":""))&&we(y,"class",_),131072&t[0]&&X!==(X=r[17]("changePassword.confirmPassword")+"")&&be(S,X),16384&t[0]&&O.value!==r[14]&&Pe(O,r[14]),ie===(ie=se(r))&&ae?ae.p(r,t):(ae.d(1),ae=ie(r),ae&&(ae.c(),ae.m(A,N))),r[4]?le?le.p(r,t):(le=fn(r),le.c(),le.m(A,null)):le&&(le.d(1),le=null),16&t[0]&&M!==(M="PlayerChangePasswordBox "+(r[4]?"InvalidField":""))&&we(A,"class",M),r[16]?ce?ce.p(r,t):(ce=gn(r),ce.c(),ce.m(U.parentNode,U)):ce&&(ce.d(1),ce=null),131072&t[0]&&Z!==(Z=r[17]("changePassword.submitChangePassword")+"")&&be(k,Z),2&t[0]&&F!==(F="PlayerChangePasswordSaveButton "+(r[1]?"":"ButtonInactive"))&&we(D,"class",F),2&t[0]&&G!==(G=!r[1])&&we(D,"disabled",G)},d(e){H&&H.d(e),e&&fe(n),e&&fe(o),e&&fe(i),e&&fe(a),r[28](null),K.d(),Q&&Q.d(),r[32](null),te.d(),oe&&oe.d(),r[36](null),ae.d(),le&&le.d(),e&&fe(R),ce&&ce.d(e),e&&fe(U),e&&fe(B),j=!1,ue(V)}}}function on(r){let n,o,s,i,a,l,c,u,h,p;return{c(){n=e("svg"),o=e("defs"),s=e("style"),i=ge(".a{fill:#fff;}"),a=e("g"),l=e("path"),c=e("circle"),we(l,"class","a"),we(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"),we(l,"transform","translate(0)"),we(c,"class","a"),we(c,"cx","2.779"),we(c,"cy","2.779"),we(c,"r","2.779"),we(c,"transform","translate(20.827 30.303)"),we(a,"transform","translate(-14.185 -27.832)"),we(n,"class",u="TogglePasswordVisibility "+(r[2]?"InvalidToggle":"")+" "+(r[18]?"TogglePasswordVisibilityMobile":"")),we(n,"xmlns","http://www.w3.org/2000/svg"),we(n,"width","18.843"),we(n,"height","10.5"),we(n,"viewBox","0 0 18.843 10.5")},m(e,t){de(e,n,t),pe(n,o),pe(o,s),pe(s,i),pe(n,a),pe(a,l),pe(a,c),h||(p=ye(n,"click",r[30]),h=!0)},p(e,t){4&t[0]&&u!==(u="TogglePasswordVisibility "+(e[2]?"InvalidToggle":"")+" "+(e[18]?"TogglePasswordVisibilityMobile":""))&&we(n,"class",u)},d(e){e&&fe(n),h=!1,p()}}}function sn(r){let n,o,s,i,a,l,c,u,h,p,d,f,g,m,y,w;return{c(){n=e("svg"),o=e("defs"),s=e("style"),i=ge(".a{fill:#fff;}"),a=e("g"),l=e("circle"),c=e("g"),u=e("path"),h=e("path"),p=e("g"),d=e("path"),f=e("path"),g=e("rect"),we(l,"class","a"),we(l,"cx","0.05"),we(l,"cy","0.05"),we(l,"r","0.05"),we(l,"transform","translate(121.017 31.148)"),we(u,"class","a"),we(u,"d","M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z"),we(u,"transform","translate(-142.164 -39.123)"),we(h,"class","a"),we(h,"d","M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z"),we(h,"transform","translate(-136.413 -42.068)"),we(c,"transform","translate(117.499 27.37)"),we(d,"class","a"),we(d,"d","M122.538,42.061a7.043,7.043,0,0,1-2.325.53,10.373,10.373,0,0,1-4.393-1.482,36.509,36.509,0,0,1-3.873-2.391.13.13,0,0,1,0-.208,44.141,44.141,0,0,1,3.873-2.651c.394-.233.768-.437,1.13-.622l-.686-.838c-.322.167-.651.347-.99.55a37.989,37.989,0,0,0-3.977,2.729,1.21,1.21,0,0,0-.442.962,1.1,1.1,0,0,0,.494.936,34.416,34.416,0,0,0,3.977,2.469,11.468,11.468,0,0,0,4.886,1.611,8.427,8.427,0,0,0,3.039-.725Z"),we(d,"transform","translate(-110.856 -33.157)"),we(f,"class","a"),we(f,"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"),we(f,"transform","translate(-130.743 -29.617)"),we(p,"transform","translate(110.856 24.899)"),we(g,"class","a"),we(g,"width","0.972"),we(g,"height","15.861"),we(g,"rx","0.486"),we(g,"transform","translate(114.827 23.858) rotate(-39.315)"),we(a,"transform","translate(-110.856 -23.242)"),we(n,"class",m="TogglePasswordVisibility "+(r[2]?"InvalidToggle":"")+" "+(r[18]?"TogglePasswordVisibilityMobile":"")),we(n,"xmlns","http://www.w3.org/2000/svg"),we(n,"width","18.844"),we(n,"height","12.887"),we(n,"viewBox","0 0 18.844 12.887")},m(e,t){de(e,n,t),pe(n,o),pe(o,s),pe(s,i),pe(n,a),pe(a,l),pe(a,c),pe(c,u),pe(c,h),pe(a,p),pe(p,d),pe(p,f),pe(a,g),y||(w=ye(n,"click",r[29]),y=!0)},p(e,t){4&t[0]&&m!==(m="TogglePasswordVisibility "+(e[2]?"InvalidToggle":"")+" "+(e[18]?"TogglePasswordVisibilityMobile":""))&&we(n,"class",m)},d(e){e&&fe(n),y=!1,w()}}}function an(e){let r,n,o=e[17]("changePassword.invalidCurrentPassword")+"";return{c(){r=t("p"),n=ge(o),we(r,"class","InvalidInput")},m(e,t){de(e,r,t),pe(r,n)},p(e,t){131072&t[0]&&o!==(o=e[17]("changePassword.invalidCurrentPassword")+"")&&be(n,o)},d(e){e&&fe(r)}}}function ln(r){let n,o,s,i,a,l,c,u,h,p;return{c(){n=e("svg"),o=e("defs"),s=e("style"),i=ge(".a{fill:#fff;}"),a=e("g"),l=e("path"),c=e("circle"),we(l,"class","a"),we(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"),we(l,"transform","translate(0)"),we(c,"class","a"),we(c,"cx","2.779"),we(c,"cy","2.779"),we(c,"r","2.779"),we(c,"transform","translate(20.827 30.303)"),we(a,"transform","translate(-14.185 -27.832)"),we(n,"class",u="TogglePasswordVisibility "+(r[3]?"InvalidToggle":"")+" "+(r[18]?"TogglePasswordVisibilityMobile":"")),we(n,"xmlns","http://www.w3.org/2000/svg"),we(n,"width","18.843"),we(n,"height","10.5"),we(n,"viewBox","0 0 18.843 10.5")},m(e,t){de(e,n,t),pe(n,o),pe(o,s),pe(s,i),pe(n,a),pe(a,l),pe(a,c),h||(p=ye(n,"click",r[34]),h=!0)},p(e,t){8&t[0]&&u!==(u="TogglePasswordVisibility "+(e[3]?"InvalidToggle":"")+" "+(e[18]?"TogglePasswordVisibilityMobile":""))&&we(n,"class",u)},d(e){e&&fe(n),h=!1,p()}}}function cn(r){let n,o,s,i,a,l,c,u,h,p,d,f,g,m,y,w;return{c(){n=e("svg"),o=e("defs"),s=e("style"),i=ge(".a{fill:#fff;}"),a=e("g"),l=e("circle"),c=e("g"),u=e("path"),h=e("path"),p=e("g"),d=e("path"),f=e("path"),g=e("rect"),we(l,"class","a"),we(l,"cx","0.05"),we(l,"cy","0.05"),we(l,"r","0.05"),we(l,"transform","translate(121.017 31.148)"),we(u,"class","a"),we(u,"d","M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z"),we(u,"transform","translate(-142.164 -39.123)"),we(h,"class","a"),we(h,"d","M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z"),we(h,"transform","translate(-136.413 -42.068)"),we(c,"transform","translate(117.499 27.37)"),we(d,"class","a"),we(d,"d","M122.538,42.061a7.043,7.043,0,0,1-2.325.53,10.373,10.373,0,0,1-4.393-1.482,36.509,36.509,0,0,1-3.873-2.391.13.13,0,0,1,0-.208,44.141,44.141,0,0,1,3.873-2.651c.394-.233.768-.437,1.13-.622l-.686-.838c-.322.167-.651.347-.99.55a37.989,37.989,0,0,0-3.977,2.729,1.21,1.21,0,0,0-.442.962,1.1,1.1,0,0,0,.494.936,34.416,34.416,0,0,0,3.977,2.469,11.468,11.468,0,0,0,4.886,1.611,8.427,8.427,0,0,0,3.039-.725Z"),we(d,"transform","translate(-110.856 -33.157)"),we(f,"class","a"),we(f,"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"),we(f,"transform","translate(-130.743 -29.617)"),we(p,"transform","translate(110.856 24.899)"),we(g,"class","a"),we(g,"width","0.972"),we(g,"height","15.861"),we(g,"rx","0.486"),we(g,"transform","translate(114.827 23.858) rotate(-39.315)"),we(a,"transform","translate(-110.856 -23.242)"),we(n,"class",m="TogglePasswordVisibility "+(r[3]?"InvalidToggle":"")+" "+(r[18]?"TogglePasswordVisibilityMobile":"")),we(n,"xmlns","http://www.w3.org/2000/svg"),we(n,"width","18.844"),we(n,"height","12.887"),we(n,"viewBox","0 0 18.844 12.887")},m(e,t){de(e,n,t),pe(n,o),pe(o,s),pe(s,i),pe(n,a),pe(a,l),pe(a,c),pe(c,u),pe(c,h),pe(a,p),pe(p,d),pe(p,f),pe(a,g),y||(w=ye(n,"click",r[33]),y=!0)},p(e,t){8&t[0]&&m!==(m="TogglePasswordVisibility "+(e[3]?"InvalidToggle":"")+" "+(e[18]?"TogglePasswordVisibilityMobile":""))&&we(n,"class",m)},d(e){e&&fe(n),y=!1,w()}}}function un(e){let r,n,o=e[17]("changePassword.invalidNewPasswordSecondary")+"";return{c(){r=t("p"),n=ge(o),we(r,"class","InvalidInput")},m(e,t){de(e,r,t),pe(r,n)},p(e,t){131072&t[0]&&o!==(o=e[17]("changePassword.invalidNewPasswordSecondary")+"")&&be(n,o)},d(e){e&&fe(r)}}}function hn(e){let r,n,o=e[17]("changePassword.invalidNewPassword")+"";return{c(){r=t("p"),n=ge(o),we(r,"class","InvalidInputNew")},m(e,t){de(e,r,t),pe(r,n)},p(e,t){131072&t[0]&&o!==(o=e[17]("changePassword.invalidNewPassword")+"")&&be(n,o)},d(e){e&&fe(r)}}}function pn(r){let n,o,s,i,a,l,c,u,h,p;return{c(){n=e("svg"),o=e("defs"),s=e("style"),i=ge(".a{fill:#fff;}"),a=e("g"),l=e("path"),c=e("circle"),we(l,"class","a"),we(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"),we(l,"transform","translate(0)"),we(c,"class","a"),we(c,"cx","2.779"),we(c,"cy","2.779"),we(c,"r","2.779"),we(c,"transform","translate(20.827 30.303)"),we(a,"transform","translate(-14.185 -27.832)"),we(n,"class",u="TogglePasswordVisibility "+(r[4]?"InvalidToggle":"")+" "+(r[18]?"TogglePasswordVisibilityMobile":"")),we(n,"xmlns","http://www.w3.org/2000/svg"),we(n,"width","18.843"),we(n,"height","10.5"),we(n,"viewBox","0 0 18.843 10.5")},m(e,t){de(e,n,t),pe(n,o),pe(o,s),pe(s,i),pe(n,a),pe(a,l),pe(a,c),h||(p=ye(n,"click",r[38]),h=!0)},p(e,t){16&t[0]&&u!==(u="TogglePasswordVisibility "+(e[4]?"InvalidToggle":"")+" "+(e[18]?"TogglePasswordVisibilityMobile":""))&&we(n,"class",u)},d(e){e&&fe(n),h=!1,p()}}}function dn(r){let n,o,s,i,a,l,c,u,h,p,d,f,g,m,y,w;return{c(){n=e("svg"),o=e("defs"),s=e("style"),i=ge(".a{fill:#fff;}"),a=e("g"),l=e("circle"),c=e("g"),u=e("path"),h=e("path"),p=e("g"),d=e("path"),f=e("path"),g=e("rect"),we(l,"class","a"),we(l,"cx","0.05"),we(l,"cy","0.05"),we(l,"r","0.05"),we(l,"transform","translate(121.017 31.148)"),we(u,"class","a"),we(u,"d","M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z"),we(u,"transform","translate(-142.164 -39.123)"),we(h,"class","a"),we(h,"d","M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z"),we(h,"transform","translate(-136.413 -42.068)"),we(c,"transform","translate(117.499 27.37)"),we(d,"class","a"),we(d,"d","M122.538,42.061a7.043,7.043,0,0,1-2.325.53,10.373,10.373,0,0,1-4.393-1.482,36.509,36.509,0,0,1-3.873-2.391.13.13,0,0,1,0-.208,44.141,44.141,0,0,1,3.873-2.651c.394-.233.768-.437,1.13-.622l-.686-.838c-.322.167-.651.347-.99.55a37.989,37.989,0,0,0-3.977,2.729,1.21,1.21,0,0,0-.442.962,1.1,1.1,0,0,0,.494.936,34.416,34.416,0,0,0,3.977,2.469,11.468,11.468,0,0,0,4.886,1.611,8.427,8.427,0,0,0,3.039-.725Z"),we(d,"transform","translate(-110.856 -33.157)"),we(f,"class","a"),we(f,"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"),we(f,"transform","translate(-130.743 -29.617)"),we(p,"transform","translate(110.856 24.899)"),we(g,"class","a"),we(g,"width","0.972"),we(g,"height","15.861"),we(g,"rx","0.486"),we(g,"transform","translate(114.827 23.858) rotate(-39.315)"),we(a,"transform","translate(-110.856 -23.242)"),we(n,"class",m="TogglePasswordVisibility "+(r[4]?"InvalidToggle":"")+" "+(r[18]?"TogglePasswordVisibilityMobile":"")),we(n,"xmlns","http://www.w3.org/2000/svg"),we(n,"width","18.844"),we(n,"height","12.887"),we(n,"viewBox","0 0 18.844 12.887")},m(e,t){de(e,n,t),pe(n,o),pe(o,s),pe(s,i),pe(n,a),pe(a,l),pe(a,c),pe(c,u),pe(c,h),pe(a,p),pe(p,d),pe(p,f),pe(a,g),y||(w=ye(n,"click",r[37]),y=!0)},p(e,t){16&t[0]&&m!==(m="TogglePasswordVisibility "+(e[4]?"InvalidToggle":"")+" "+(e[18]?"TogglePasswordVisibilityMobile":""))&&we(n,"class",m)},d(e){e&&fe(n),y=!1,w()}}}function fn(e){let r,n,o=e[17]("changePassword.confirmPasswordInvalid")+"";return{c(){r=t("p"),n=ge(o),we(r,"class","InvalidInput")},m(e,t){de(e,r,t),pe(r,n)},p(e,t){131072&t[0]&&o!==(o=e[17]("changePassword.confirmPasswordInvalid")+"")&&be(n,o)},d(e){e&&fe(r)}}}function gn(e){let r,n,o;return{c(){r=t("div"),n=t("p"),o=ge(e[15]),we(n,"class","PasswordChangedError")},m(e,t){de(e,r,t),pe(r,n),pe(n,o)},p(e,t){32768&t[0]&&be(o,e[15])},d(e){e&&fe(r)}}}function mn(e){let r,n=function(e){let r;function n(e){return e[0]?rn:nn}let o=n(e),s=o(e);return{c(){r=t("form"),s.c(),we(r,"class","PlayerChangePasswordWrapper "+(e[18]?"PlayerChangePasswordWrapperMobile":"")+" "+(e[19].matches&&e[18]?"PlayerChangePasswordWrapperTablet":""))},m(e,t){de(e,r,t),s.m(r,null)},p(e,t){o===(o=n(e))&&s?s.p(e,t):(s.d(1),s=o(e),s&&(s.c(),s.m(r,null)))},d(e){e&&fe(r),s.d()}}}(e);return{c(){n.c(),r=ge(""),this.c=h},m(e,t){n.m(e,t),de(e,r,t)},p(e,t){n.p(e,t)},i:h,o:h,d(e){n.d(e),e&&fe(r)}}}function yn(t,e,n){let r;var o=en;t.$$.on_destroy.push(N(o,e=>n(17,r=e)));let{lang:s="en"}=e,i="PC"!=((e=window.navigator.userAgent).toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC"),a=!1;const l=window.matchMedia("(min-width: 768px)"),c={password:/^(?=.*?[A-Z])(?=.*?[a-z])(?=.*?[0-9])(?=.*?[^\w\s]).{8,20}$/};let u,h,p,d=!1,f=!1,g=!1,m=!1,y=!1,w=!1,b,P="",v="",E="",T=!1,_="",C=!1;Object.keys(tn).forEach(e=>{Rr(e,tn[e])});const A=e=>{switch(e){case"userCurrentPassword":n(8,m=!m),n(5,u.type=m?"text":"password",u);break;case"userNewPassword":n(9,y=!y),n(6,h.type=y?"text":"password",h);break;case"userConfirmPassword":n(10,w=!w),n(7,p.type=w?"text":"password",p)}},x=e=>!!c.password.test(e),S=()=>{a&&window.postMessage({type:"ChangePassword",userCurrentPassword:P,userNewPassword:v},window.location.href)},I=()=>{window.postMessage({type:"ReturnToMenu"},window.location.href)},O=()=>{window.postMessage({type:"GoToCasino"},window.location.href)},L=e=>{if(e.data)switch(e.data.type){case"PasswordChangedSuccessfully":n(0,T=!0);break;case"ShowPasswordChangedError":n(16,C=e.data.showErrorPasswordChanged),n(15,_=e.data.errorPasswordChanged)}};return e=()=>(window.addEventListener("message",L,!1),()=>{window.removeEventListener("message",L)}),function(){if(!M)throw new Error("Function called outside component initialization");return M}().$$.on_mount.push(e),t.$$set=e=>{"lang"in e&&n(25,s=e.lang)},t.$$.update=()=>{var e;33554432&t.$$.dirty[0]&&s&&(e=s,Wr.set(e)),t.$$.dirty[0]},[T,a,d,f,g,u,h,p,m,y,w,!1,P,v,E,_,C,r,i,l,A,(e,t,r)=>{"CurrentPassword"===r.id?n(2,d=!x(t)):"NewPassword"===r.id?(n(3,f=!x(t)),P&&n(11,b=P===v),E&&n(4,g=v!==E||!x(t))):n(4,g=v!==E||!x(t)),n(1,a=!(d||f||g||!P||!v||!E))},S,I,O,s,()=>I(),function(){P=this.value,n(12,P)},function(e){R[e?"unshift":"push"](()=>{u=e,n(5,u)})},()=>A("userCurrentPassword"),()=>A("userCurrentPassword"),function(){v=this.value,n(13,v)},function(e){R[e?"unshift":"push"](()=>{h=e,n(6,h)})},()=>A("userNewPassword"),()=>A("userNewPassword"),function(){E=this.value,n(14,E)},function(e){R[e?"unshift":"push"](()=>{p=e,n(7,p)})},()=>A("userConfirmPassword"),()=>A("userConfirmPassword"),()=>S(),()=>I(),()=>O()]}class wn extends l{constructor(e){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'}.PlayerChangePasswordWrapper{color:#07072A;padding:50px;max-width:400px}.ChangePasswordTitle{font-size:26px;color:#D0046C;font-weight:400}.ChangePasswordTitleMobile{font-size:16px;color:#D0046C}.ChangePasswordTitleNone{display:none}.PlayerChangePasswordContent{display:grid;grid-column-gap:50px;grid-row-gap:30px;grid-template-rows:auto;grid-template-columns:1fr;padding-bottom:30px}.PlayerChangePasswordButtonsArea{display:grid;grid-column-gap:10px;grid-template-rows:auto;grid-template-columns:1fr}.PlayerChangePasswordSaveButton{cursor:pointer;border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:15px;color:#FFF;text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.PlayerChangePasswordSaveButton.ButtonInactive{opacity:0.3}.PlayerChangePasswordSaveButton{background:#D0046C;border:1px solid #D0046C;color:#fff}.PlayerChangePasswordBox{display:flex;flex-direction:column;position:relative}.PlayerChangePasswordBox label{font-size:14px;font-weight:300;margin-bottom:10px}.PlayerChangePasswordBox input{font-size:14px;font-weight:300;color:#07072A;padding:10px;line-height:16px;border:1px solid #D1D1D1;background:#FFFFFF;border-radius:5px;outline:none;transition-duration:0.3s}.PlayerChangePasswordBox input:focus,.PlayerChangePasswordBox input :focus-within,.PlayerChangePasswordBox input :focus-visible,.PlayerChangePasswordBox input :visited{border:1px solid #D0046C;box-shadow:0 0 0 1pt #D0046C}.PlayerChangePasswordBox input::-webkit-outer-spin-button,.PlayerChangePasswordBox input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.PlayerChangePasswordBox input::-ms-reveal,.PlayerChangePasswordBox input::-ms-clear{display:none}.PlayerChangePasswordBox.InvalidField input{border:1px solid #D0046C;background:#FBECF4;color:#D0046C}.PlayerChangePasswordBox:last-child.InvalidField .InvalidInput{bottom:-16px}.PlayerChangePasswordBox:last-child.InvalidField .InvalidInputNew{bottom:-24px}.TogglePasswordVisibility{height:20px;position:absolute;right:10px;top:38px;cursor:pointer;color:#58586B}.TogglePasswordVisibility.InvalidToggle path,.TogglePasswordVisibility.InvalidToggle circle,.TogglePasswordVisibility.InvalidToggle rect{fill:#D0046C}.TogglePasswordVisibility path,.TogglePasswordVisibility circle,.TogglePasswordVisibility rect{fill:#58586B}.TogglePasswordVisibilityMobile{top:35px}.InvalidInput,.InvalidInputNew{color:#D0046C;font-size:10px;position:absolute;bottom:-25px;margin:0;line-height:10px}.InvalidInputNew{bottom:-24px}.PasswordChangedError{color:#FD2839;font-size:16px;line-height:19.2px;margin-top:0}.ChangedPasswordSuccessfully{color:#fff;position:relative}.ChangedPasswordSuccessfully .SuccessWrapper{display:inline-flex;align-items:center;margin-bottom:20px}.ChangedPasswordSuccessfully .IconContainer{width:45px;height:45px;border:1px solid #16CE16;border-radius:50px;display:flex;align-items:center;justify-content:center}.ChangedPasswordSuccessfully .Checkmark{width:12px;height:22px;border:solid #16CE16;border-width:0 2px 2px 0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg);position:relative;top:-3px}.ChangedPasswordSuccessfully h3{font-size:20px;font-weight:400;margin:10px 0;color:#16CE16}.ChangedPasswordSuccessfully p{margin:0;font-size:14px;font-weight:300;color:#07072A}.ChangedPasswordSuccessfully .TextContainer{display:flex;flex-direction:column;padding:10px 20px}.ChangedPasswordSuccessfully .PlayerChangePasswordBackButton{cursor:pointer;border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:15px;color:#FFF;text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px;border:1px solid #D0046C;background:#D0046C;max-width:185px}.ChangedPasswordSuccessfully .PlayerChangePasswordBackButton:hover{color:#D0046C;background:#fff}.PlayerChangePasswordWrapperMobile{height:100%;max-width:unset;padding:20px 20px 40px 20px;display:flex;flex-flow:column;height:100%}.PlayerChangePasswordWrapperMobile:after{content:'';position:absolute;bottom:0}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordHeader h3{color:#D0046C;font-size:14px;font-weight:400}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordBox label{color:#58586B;font-size:12px;font-weight:400}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordBox input{color:#58586B;font-size:12px;font-weight:300}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordButtonsArea{grid-column-gap:10px}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordSaveButton{font-size:12px;height:44px;color:#58586B}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordSaveButton{color:#fff}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordSaveButton.ButtonInactive{opacity:0.3}.PlayerChangePasswordWrapperMobile .ChangedPasswordSuccessfully{color:#58586B}.MenuReturnButton{color:#58586B;display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.PlayerChangePasswordWrapperTablet{padding:40px 25% 100% 25%}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordContent{grid-row-gap:20px}.PlayerChangePasswordWrapperTablet .MenuReturnButton{margin-bottom:30px}.PlayerChangePasswordWrapperTablet .MenuReturnButton span{font-size:20px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox label{font-size:20px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox input{height:30px;font-size:20px;line-height:30px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox .TogglePasswordVisibility{width:30px;top:46px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox .TogglePasswordVisibility.InvalidToggle path,.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox .TogglePasswordVisibility.InvalidToggle circle,.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox .TogglePasswordVisibility.InvalidToggle rect{fill:#D0046C}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox .TogglePasswordVisibility path,.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox .TogglePasswordVisibility circle,.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox .TogglePasswordVisibility rect{fill:#58586B}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox .InvalidInput{font-size:16px;bottom:-50px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox:last-child .InvalidInput{font-size:16px;bottom:-50px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordButtonsArea{grid-column-gap:40px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordButtonsArea .PlayerChangePasswordSaveButton{font-size:18px;height:56px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordButtonsArea .PlayerChangePasswordSaveButton{color:#fff}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordButtonsArea .PlayerChangePasswordSaveButton.ButtonInactive{color:#58586B}</style>",a(this,{target:this.shadowRoot,props:function(e){const t={};for(const r of e)t[r.name]=r.value;return t}(this.attributes),customElement:!0},yn,mn,r,{lang:25},[-1,-1]),e&&(e.target&&de(e.target,this,e.anchor),e.props&&(this.$set(e.props),b()))}static get observedAttributes(){return["lang"]}get lang(){return this.$$.ctx[25]}set lang(e){this.$set({lang:e}),b()}}return customElements.get("player-change-password")||customElements.define("player-change-password",wn),wn});
1
+ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).app=t()}(this,function(){"use strict";function h(){}function p(e){return e()}function f(){return Object.create(null)}function ue(e){e.forEach(p)}function he(e){return"function"==typeof e}function r(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}function N(e,...t){if(null==e)return h;const r=e.subscribe(...t);return r.unsubscribe?()=>r.unsubscribe():r}function pe(e,t){e.appendChild(t)}function fe(e,t,r){e.insertBefore(t,r||null)}function de(e){e.parentNode.removeChild(e)}function t(e){return document.createElement(e)}function e(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function ge(e){return document.createTextNode(e)}function me(){return ge(" ")}function ye(e,t,r,n){return e.addEventListener(t,r,n),()=>e.removeEventListener(t,r,n)}function we(e,t,r){null==r?e.removeAttribute(t):e.getAttribute(t)!==r&&e.setAttribute(t,r)}function be(e,t){e.wholeText!==(t=""+t)&&(e.data=t)}function Pe(e,t){e.value=null==t?"":t}let M;function d(e){M=e}const g=[],R=[],n=[],o=[],m=Promise.resolve();let y=!1;function w(e){n.push(e)}let i=!1;const s=new Set;function b(){if(!i){i=!0;do{for(let e=0;e<g.length;e+=1){var t=g[e];d(t),function(e){{var t;null!==e.fragment&&(e.update(),ue(e.before_update),t=e.dirty,e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(w))}}(t.$$)}for(d(null),g.length=0;R.length;)R.pop()();for(let e=0;e<n.length;e+=1){const r=n[e];s.has(r)||(s.add(r),r())}}while(n.length=0,g.length);for(;o.length;)o.pop()();y=!1,i=!1,s.clear()}}const P=new Set;function a(n,e,t,r,o,i,s=[-1]){var a,l=M;d(n);const c=n.$$={fragment:null,ctx:null,props:i,update:h,not_equal:o,bound:f(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(l?l.$$.context:e.context||[]),callbacks:f(),dirty:s,skip_bound:!1};let u=!1;if(c.ctx=t?t(n,e.props||{},(e,t,...r)=>{r=r.length?r[0]:t;return c.ctx&&o(c.ctx[e],c.ctx[e]=r)&&(!c.skip_bound&&c.bound[e]&&c.bound[e](r),u&&(r=e,-1===(e=n).$$.dirty[0]&&(g.push(e),y||(y=!0,m.then(b)),e.$$.dirty.fill(0)),e.$$.dirty[r/31|0]|=1<<r%31)),t}):[],c.update(),u=!0,ue(c.before_update),c.fragment=!!r&&r(c.ctx),e.target){if(e.hydrate){const h=(r=e.target,Array.from(r.childNodes));c.fragment&&c.fragment.l(h),h.forEach(de)}else c.fragment&&c.fragment.c();e.intro&&(a=n.$$.fragment)&&a.i&&(P.delete(a),a.i(void 0)),function(t,e,r,n){const{fragment:o,on_mount:i,on_destroy:s,after_update:a}=t.$$;o&&o.m(e,r),n||w(()=>{var e=i.map(p).filter(he);s?s.push(...e):ue(e),t.$$.on_mount=[]}),a.forEach(w)}(n,e.target,e.anchor,e.customElement),b()}d(l)}let l;"function"==typeof HTMLElement&&(l=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:e}=this.$$;this.$$.on_disconnect=e.map(p).filter(he);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,r){this[e]=r}disconnectedCallback(){ue(this.$$.on_disconnect)}$destroy(){!function(e){const t=e.$$;null!==t.fragment&&(ue(t.on_destroy),t.fragment&&t.fragment.d(1),t.on_destroy=t.fragment=null,t.ctx=[])}(this),this.$destroy=h}$on(e,t){const r=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return r.push(t),()=>{var e=r.indexOf(t);-1!==e&&r.splice(e,1)}}$set(e){this.$$set&&0!==Object.keys(e).length&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}});var c,u,v="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==v&&v,E="URLSearchParams"in v,T="Symbol"in v&&"iterator"in Symbol,_="FileReader"in v&&"Blob"in v&&function(){try{return new Blob,!0}catch(e){return!1}}(),C="FormData"in v,x="ArrayBuffer"in v;function A(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e)||""===e)throw new TypeError('Invalid character in header field name: "'+e+'"');return e.toLowerCase()}function S(e){return e="string"!=typeof e?String(e):e}function I(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return T&&(e[Symbol.iterator]=function(){return e}),e}function O(t){this.map={},t instanceof O?t.forEach(function(e,t){this.append(t,e)},this):Array.isArray(t)?t.forEach(function(e){this.append(e[0],e[1])},this):t&&Object.getOwnPropertyNames(t).forEach(function(e){this.append(e,t[e])},this)}function L(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function U(r){return new Promise(function(e,t){r.onload=function(){e(r.result)},r.onerror=function(){t(r.error)}})}function B(e){var t=new FileReader,r=U(t);return t.readAsArrayBuffer(e),r}function D(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function k(){return this.bodyUsed=!1,this._initBody=function(e){this.bodyUsed=this.bodyUsed,(this._bodyInit=e)?"string"==typeof e?this._bodyText=e:_&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:C&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:E&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():x&&_&&e&&DataView.prototype.isPrototypeOf(e)?(this._bodyArrayBuffer=D(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):x&&(ArrayBuffer.prototype.isPrototypeOf(e)||u(e))?this._bodyArrayBuffer=D(e):this._bodyText=e=Object.prototype.toString.call(e):this._bodyText="",this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):E&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},_&&(this.blob=function(){var e=L(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?L(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(B)}),this.text=function(){var e,t,r=L(this);if(r)return r;if(this._bodyBlob)return e=this._bodyBlob,r=U(t=new FileReader),t.readAsText(e),r;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),r=new Array(t.length),n=0;n<t.length;n++)r[n]=String.fromCharCode(t[n]);return r.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},C&&(this.formData=function(){return this.text().then(j)}),this.json=function(){return this.text().then(JSON.parse)},this}x&&(c=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],u=ArrayBuffer.isView||function(e){return e&&-1<c.indexOf(Object.prototype.toString.call(e))}),O.prototype.append=function(e,t){e=A(e),t=S(t);var r=this.map[e];this.map[e]=r?r+", "+t:t},O.prototype.delete=function(e){delete this.map[A(e)]},O.prototype.get=function(e){return e=A(e),this.has(e)?this.map[e]:null},O.prototype.has=function(e){return this.map.hasOwnProperty(A(e))},O.prototype.set=function(e,t){this.map[A(e)]=S(t)},O.prototype.forEach=function(e,t){for(var r in this.map)this.map.hasOwnProperty(r)&&e.call(t,this.map[r],r,this)},O.prototype.keys=function(){var r=[];return this.forEach(function(e,t){r.push(t)}),I(r)},O.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),I(t)},O.prototype.entries=function(){var r=[];return this.forEach(function(e,t){r.push([t,e])}),I(r)},T&&(O.prototype[Symbol.iterator]=O.prototype.entries);var F=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function G(e,t){if(!(this instanceof G))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var r,n=(t=t||{}).body;if(e instanceof G){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new O(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,n||null==e._bodyInit||(n=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new O(t.headers)),this.method=(e=(r=t.method||this.method||"GET").toUpperCase(),-1<F.indexOf(e)?e:r),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&n)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(n),"GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache||((t=/([?&])_=[^&]*/).test(this.url)?this.url=this.url.replace(t,"$1_="+(new Date).getTime()):this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime())}function j(e){var r=new FormData;return e.trim().split("&").forEach(function(e){var t;e&&(e=(t=e.split("=")).shift().replace(/\+/g," "),t=t.join("=").replace(/\+/g," "),r.append(decodeURIComponent(e),decodeURIComponent(t)))}),r}function V(e,t){if(!(this instanceof V))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');t=t||{},this.type="default",this.status=void 0===t.status?200:t.status,this.ok=200<=this.status&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new O(t.headers),this.url=t.url||"",this._initBody(e)}G.prototype.clone=function(){return new G(this,{body:this._bodyInit})},k.call(G.prototype),k.call(V.prototype),V.prototype.clone=function(){return new V(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new O(this.headers),url:this.url})},V.error=function(){var e=new V(null,{status:0,statusText:""});return e.type="error",e};var $=[301,302,303,307,308];V.redirect=function(e,t){if(-1===$.indexOf(t))throw new RangeError("Invalid status code");return new V(null,{status:t,headers:{location:e}})};var z=v.DOMException;try{new z}catch(h){(z=function(e,t){this.message=e,this.name=t;e=Error(e);this.stack=e.stack}).prototype=Object.create(Error.prototype),z.prototype.constructor=z}function W(n,s){return new Promise(function(o,e){var t=new G(n,s);if(t.signal&&t.signal.aborted)return e(new z("Aborted","AbortError"));var i=new XMLHttpRequest;function r(){i.abort()}i.onload=function(){var e,r,t={status:i.status,statusText:i.statusText,headers:(e=i.getAllResponseHeaders()||"",r=new O,e.replace(/\r?\n[\t ]+/g," ").split("\r").map(function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e}).forEach(function(e){var t=e.split(":"),e=t.shift().trim();e&&(t=t.join(":").trim(),r.append(e,t))}),r)};t.url="responseURL"in i?i.responseURL:t.headers.get("X-Request-URL");var n="response"in i?i.response:i.responseText;setTimeout(function(){o(new V(n,t))},0)},i.onerror=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},i.ontimeout=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},i.onabort=function(){setTimeout(function(){e(new z("Aborted","AbortError"))},0)},i.open(t.method,function(t){try{return""===t&&v.location.href?v.location.href:t}catch(e){return t}}(t.url),!0),"include"===t.credentials?i.withCredentials=!0:"omit"===t.credentials&&(i.withCredentials=!1),"responseType"in i&&(_?i.responseType="blob":x&&t.headers.get("Content-Type")&&-1!==t.headers.get("Content-Type").indexOf("application/octet-stream")&&(i.responseType="arraybuffer")),!s||"object"!=typeof s.headers||s.headers instanceof O?t.headers.forEach(function(e,t){i.setRequestHeader(t,e)}):Object.getOwnPropertyNames(s.headers).forEach(function(e){i.setRequestHeader(e,S(s.headers[e]))}),t.signal&&(t.signal.addEventListener("abort",r),i.onreadystatechange=function(){4===i.readyState&&t.signal.removeEventListener("abort",r)}),i.send(void 0===t._bodyInit?null:t._bodyInit)})}W.polyfill=!0,v.fetch||(v.fetch=W,v.Headers=O,v.Request=G,v.Response=V),self.fetch.bind(self);var X=function(e,t){return(X=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)};function Z(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}X(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}function H(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return{value:(e=e&&n>=e.length?void 0:e)&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function Y(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),s=[];try{for(;(void 0===t||0<t--)&&!(n=i.next()).done;)s.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return s}function q(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e}function K(e){return"function"==typeof e}function Q(e){e=e(function(e){Error.call(e),e.stack=(new Error).stack});return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e}var J=Q(function(t){return function(e){t(this),this.message=e?e.length+" errors occurred during unsubscription:\n"+e.map(function(e,t){return t+1+") "+e.toString()}).join("\n "):"",this.name="UnsubscriptionError",this.errors=e}});function ee(e,t){!e||0<=(t=e.indexOf(t))&&e.splice(t,1)}var te=(ne.prototype.unsubscribe=function(){var e,t,r,n,o;if(!this.closed){this.closed=!0;var i=this._parentage;if(i)if(this._parentage=null,Array.isArray(i))try{for(var s=H(i),a=s.next();!a.done;a=s.next())a.value.remove(this)}catch(t){e={error:t}}finally{try{a&&!a.done&&(t=s.return)&&t.call(s)}finally{if(e)throw e.error}}else i.remove(this);i=this.initialTeardown;if(K(i))try{i()}catch(e){o=e instanceof J?e.errors:[e]}i=this._teardowns;if(i){this._teardowns=null;try{for(var l=H(i),c=l.next();!c.done;c=l.next()){var u=c.value;try{ie(u)}catch(e){o=null!=o?o:[],e instanceof J?o=q(q([],Y(o)),Y(e.errors)):o.push(e)}}}catch(e){r={error:e}}finally{try{c&&!c.done&&(n=l.return)&&n.call(l)}finally{if(r)throw r.error}}}if(o)throw new J(o)}},ne.prototype.add=function(e){var t;if(e&&e!==this)if(this.closed)ie(e);else{if(e instanceof ne){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._teardowns=null!==(t=this._teardowns)&&void 0!==t?t:[]).push(e)}},ne.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},ne.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},ne.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&ee(t,e)},ne.prototype.remove=function(e){var t=this._teardowns;t&&ee(t,e),e instanceof ne&&e._removeParent(this)},ne.EMPTY=((kt=new ne).closed=!0,kt),ne),re=te.EMPTY;function ne(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._teardowns=null}function oe(e){return e instanceof te||e&&"closed"in e&&K(e.remove)&&K(e.add)&&K(e.unsubscribe)}function ie(e){K(e)?e():e.unsubscribe()}var se=void 0,ae=!1,le=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return setTimeout.apply(void 0,q([],Y(e)))};function ce(){}function ve(e){e()}var Ee,Te,_e=(Z(Ae,Te=te),Ae.create=function(e,t,r){return new Ce(e,t,r)},Ae.prototype.next=function(e){this.isStopped||this._next(e)},Ae.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},Ae.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},Ae.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,Te.prototype.unsubscribe.call(this),this.destination=null)},Ae.prototype._next=function(e){this.destination.next(e)},Ae.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},Ae.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},Ae),Ce=(Z(xe,Ee=_e),xe);function xe(e,t,r){var n,o,i=Ee.call(this)||this;return K(e)?o=e:e&&(o=e.next,t=e.error,r=e.complete,i&&ae?(n=Object.create(e)).unsubscribe=function(){return i.unsubscribe()}:n=e,o=null==o?void 0:o.bind(n),t=null==t?void 0:t.bind(n),r=null==r?void 0:r.bind(n)),i.destination={next:o?Se(o):ce,error:Se(null!=t?t:Ie),complete:r?Se(r):ce},i}function Ae(e){var t=Te.call(this)||this;return t.isStopped=!1,e?oe(t.destination=e)&&e.add(t):t.destination=Oe,t}function Se(n){return function(){for(var t,e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];try{n.apply(void 0,q([],Y(e)))}catch(e){t=e,le(function(){throw t})}}}function Ie(e){throw e}var Oe={closed:!0,next:ce,error:Ie,complete:ce},Le="function"==typeof Symbol&&Symbol.observable||"@@observable";function Ne(e){return e}var Me=(Re.prototype.lift=function(e){var t=new Re;return t.source=this,t.operator=e,t},Re.prototype.subscribe=function(e,t,r){var n,o=this,i=(n=e)&&n instanceof _e||n&&K(n.next)&&K(n.error)&&K(n.complete)&&oe(n)?e:new Ce(e,t,r);return ve(function(){var e=o.operator,t=o.source;i.add(e?e.call(i,t):t?o._subscribe(i):o._trySubscribe(i))}),i},Re.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},Re.prototype.forEach=function(n,e){var o=this;return new(e=Ue(e))(function(e,t){var r=o.subscribe(function(e){try{n(e)}catch(e){t(e),null==r||r.unsubscribe()}},t,e)})},Re.prototype._subscribe=function(e){var t;return null===(t=this.source)||void 0===t?void 0:t.subscribe(e)},Re.prototype[Le]=function(){return this},Re.prototype.pipe=function(){for(var t,e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return(0===(t=e).length?Ne:1===t.length?t[0]:function(e){return t.reduce(function(e,t){return t(e)},e)})(this)},Re.prototype.toPromise=function(e){var n=this;return new(e=Ue(e))(function(e,t){var r;n.subscribe(function(e){return r=e},function(e){return t(e)},function(){return e(r)})})},Re.create=function(e){return new Re(e)},Re);function Re(e){e&&(this._subscribe=e)}function Ue(e){return null!==(e=null!=e?e:se)&&void 0!==e?e:Promise}var Be,De,ke,Fe=Q(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),Ge=(Z(Xe,ke=Me),Xe.prototype.lift=function(e){var t=new je(this,this);return t.operator=e,t},Xe.prototype._throwIfClosed=function(){if(this.closed)throw new Fe},Xe.prototype.next=function(i){var s=this;ve(function(){var t,e;if(s._throwIfClosed(),!s.isStopped){var r=s.observers.slice();try{for(var n=H(r),o=n.next();!o.done;o=n.next())o.value.next(i)}catch(e){t={error:e}}finally{try{o&&!o.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}}})},Xe.prototype.error=function(t){var r=this;ve(function(){if(r._throwIfClosed(),!r.isStopped){r.hasError=r.isStopped=!0,r.thrownError=t;for(var e=r.observers;e.length;)e.shift().error(t)}})},Xe.prototype.complete=function(){var t=this;ve(function(){if(t._throwIfClosed(),!t.isStopped){t.isStopped=!0;for(var e=t.observers;e.length;)e.shift().complete()}})},Xe.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=null},Object.defineProperty(Xe.prototype,"observed",{get:function(){var e;return 0<(null===(e=this.observers)||void 0===e?void 0:e.length)},enumerable:!1,configurable:!0}),Xe.prototype._trySubscribe=function(e){return this._throwIfClosed(),ke.prototype._trySubscribe.call(this,e)},Xe.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},Xe.prototype._innerSubscribe=function(e){var t=this.hasError,r=this.isStopped,n=this.observers;return t||r?re:(n.push(e),new te(function(){return ee(n,e)}))},Xe.prototype._checkFinalizedStatuses=function(e){var t=this.hasError,r=this.thrownError,n=this.isStopped;t?e.error(r):n&&e.complete()},Xe.prototype.asObservable=function(){var e=new Me;return e.source=this,e},Xe.create=function(e,t){return new je(e,t)},Xe),je=(Z(We,De=Ge),We.prototype.next=function(e){var t,r;null===(r=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===r||r.call(t,e)},We.prototype.error=function(e){var t,r;null===(r=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===r||r.call(t,e)},We.prototype.complete=function(){var e,t;null===(t=null===(e=this.destination)||void 0===e?void 0:e.complete)||void 0===t||t.call(e)},We.prototype._subscribe=function(e){var t;return null!==(e=null===(t=this.source)||void 0===t?void 0:t.subscribe(e))&&void 0!==e?e:re},We),Ve={now:function(){return(Ve.delegate||Date).now()},delegate:void 0},$e=(Z(ze,Be=Ge),ze.prototype.next=function(e){var t=this,r=t.isStopped,n=t._buffer,o=t._infiniteTimeWindow,i=t._timestampProvider,t=t._windowTime;r||(n.push(e),o||n.push(i.now()+t)),this._trimBuffer(),Be.prototype.next.call(this,e)},ze.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),r=this._infiniteTimeWindow,n=this._buffer.slice(),o=0;o<n.length&&!e.closed;o+=r?1:2)e.next(n[o]);return this._checkFinalizedStatuses(e),t},ze.prototype._trimBuffer=function(){var e=this._bufferSize,t=this._timestampProvider,r=this._buffer,n=this._infiniteTimeWindow,o=(n?1:2)*e;if(e<1/0&&o<r.length&&r.splice(0,r.length-o),!n){for(var i=t.now(),s=0,a=1;a<r.length&&r[a]<=i;a+=2)s=a;s&&r.splice(0,s+1)}},ze);function ze(e,t,r){void 0===e&&(e=1/0),void 0===t&&(t=1/0),void 0===r&&(r=Ve);var n=Be.call(this)||this;return n._bufferSize=e,n._windowTime=t,n._timestampProvider=r,n._buffer=[],n._infiniteTimeWindow=!0,n._infiniteTimeWindow=t===1/0,n._bufferSize=Math.max(1,e),n._windowTime=Math.max(1,t),n}function We(e,t){var r=De.call(this)||this;return r.destination=e,r.source=t,r}function Xe(){var e=ke.call(this)||this;return e.closed=!1,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}let Ze=[],He={};const Ye=[];function qe(n,o=h){let i;const s=[];function a(e){if(r(n,e)&&(n=e,i)){const e=!Ye.length;for(let e=0;e<s.length;e+=1){const t=s[e];t[1](),Ye.push(t,n)}if(e){for(let e=0;e<Ye.length;e+=2)Ye[e][0](Ye[e+1]);Ye.length=0}}}return{set:a,update:function(e){a(e(n))},subscribe:function(e,t=h){const r=[e,t];return s.push(r),1===s.length&&(i=o(a)||h),e(n),()=>{var e=s.indexOf(r);-1!==e&&s.splice(e,1),0===s.length&&(i(),i=null)}}}}function Ke(e,a,t){const l=!Array.isArray(e),c=l?[e]:e,u=a.length<2;return{subscribe:qe(t,t=>{let r=!1;const n=[];let o=0,i=h;const s=()=>{var e;o||(i(),e=a(l?n[0]:n,t),u?t(e):i=he(e)?e:h)},e=c.map((e,t)=>N(e,e=>{n[t]=e,o&=~(1<<t),r&&s()},()=>{o|=1<<t}));return r=!0,s(),function(){ue(e),i()}}).subscribe}}var Qe=function(e){return!(!e||"object"!=typeof e||(t=e,"[object RegExp]"===(e=Object.prototype.toString.call(t))||"[object Date]"===e||t.$$typeof===Je));var t},Je="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function et(e,t){return!1!==t.clone&&t.isMergeableObject(e)?it(Array.isArray(e)?[]:{},e,t):e}function tt(e,t,r){return e.concat(t).map(function(e){return et(e,r)})}function rt(e){return Object.keys(e).concat((t=e,Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return t.propertyIsEnumerable(e)}):[]));var t}function nt(e,t){try{return t in e}catch(e){return!1}}function ot(n,o,i){var s={};return i.isMergeableObject(n)&&rt(n).forEach(function(e){s[e]=et(n[e],i)}),rt(o).forEach(function(t){var e,r;(!nt(e=n,r=t)||Object.hasOwnProperty.call(e,r)&&Object.propertyIsEnumerable.call(e,r))&&(nt(n,t)&&i.isMergeableObject(o[t])?s[t]=function(){if(!i.customMerge)return it;var e=i.customMerge(t);return"function"==typeof e?e:it}()(n[t],o[t],i):s[t]=et(o[t],i))}),s}function it(e,t,r){(r=r||{}).arrayMerge=r.arrayMerge||tt,r.isMergeableObject=r.isMergeableObject||Qe,r.cloneUnlessOtherwiseSpecified=et;var n=Array.isArray(t);return n===Array.isArray(e)?n?r.arrayMerge(e,t,r):ot(e,t,r):et(t,r)}it.all=function(e,r){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce(function(e,t){return it(e,t,r)},{})};var st=it,at=function(e,t){return(at=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)};function lt(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}at(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var ct,ut,ht,pt=function(){return(pt=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function ft(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e}function dt(e){return e.type===ut.literal}function gt(e){return e.type===ut.number}function mt(e){return e.type===ut.date}function yt(e){return e.type===ut.time}function wt(e){return e.type===ut.select}function bt(e){return e.type===ut.plural}function Pt(e){return e.type===ut.tag}function vt(e){return e&&"object"==typeof e&&e.type===ht.number}function Et(e){return e&&"object"==typeof e&&e.type===ht.dateTime}(Ft=ct=ct||{})[Ft.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",Ft[Ft.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",Ft[Ft.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",Ft[Ft.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",Ft[Ft.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",Ft[Ft.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",Ft[Ft.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",Ft[Ft.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",Ft[Ft.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",Ft[Ft.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",Ft[Ft.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",Ft[Ft.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",Ft[Ft.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",Ft[Ft.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",Ft[Ft.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",Ft[Ft.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",Ft[Ft.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",Ft[Ft.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",Ft[Ft.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",Ft[Ft.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",Ft[Ft.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",Ft[Ft.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",Ft[Ft.INVALID_TAG=23]="INVALID_TAG",Ft[Ft.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",Ft[Ft.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",Ft[Ft.UNCLOSED_TAG=27]="UNCLOSED_TAG",(Gt=ut=ut||{})[Gt.literal=0]="literal",Gt[Gt.argument=1]="argument",Gt[Gt.number=2]="number",Gt[Gt.date=3]="date",Gt[Gt.time=4]="time",Gt[Gt.select=5]="select",Gt[Gt.plural=6]="plural",Gt[Gt.pound=7]="pound",Gt[Gt.tag=8]="tag",(jt=ht=ht||{})[jt.number=0]="number",jt[jt.dateTime=1]="dateTime";var Tt=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,_t=/(?:[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 Ct,xt=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,At=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,St=/^(@+)?(\+|#+)?$/g,It=/(\*)(0+)|(#+)(0+)|(0+)/g,Ot=/^(0+)$/;function Lt(e){var n={};return e.replace(St,function(e,t,r){return"string"!=typeof r?(n.minimumSignificantDigits=t.length,n.maximumSignificantDigits=t.length):"+"===r?n.minimumSignificantDigits=t.length:"#"===t[0]?n.maximumSignificantDigits=t.length:(n.minimumSignificantDigits=t.length,n.maximumSignificantDigits=t.length+("string"==typeof r?r.length:0)),""}),n}function Nt(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function Mt(e){return Nt(e)||{}}function Rt(e){for(var s={},t=0,r=e;t<r.length;t++){var n,o=r[t];switch(o.stem){case"percent":case"%":s.style="percent";continue;case"%x100":s.style="percent",s.scale=100;continue;case"currency":s.style="currency",s.currency=o.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=o.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=pt(pt(pt({},s),{notation:"scientific"}),o.options.reduce(function(e,t){return pt(pt({},e),Mt(t))},{}));continue;case"engineering":s=pt(pt(pt({},s),{notation:"engineering"}),o.options.reduce(function(e,t){return pt(pt({},e),Mt(t))},{}));continue;case"notation-simple":s.notation="standard";continue;case"unit-width-narrow":s.currencyDisplay="narrowSymbol",s.unitDisplay="narrow";continue;case"unit-width-short":s.currencyDisplay="code",s.unitDisplay="short";continue;case"unit-width-full-name":s.currencyDisplay="name",s.unitDisplay="long";continue;case"unit-width-iso-code":s.currencyDisplay="symbol";continue;case"scale":s.scale=parseFloat(o.options[0]);continue;case"integer-width":if(1<o.options.length)throw new RangeError("integer-width stems only accept a single optional option");o.options[0].replace(It,function(e,t,r,n,o,i){if(t)s.minimumIntegerDigits=r.length;else{if(n&&o)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(Ot.test(o.stem))s.minimumIntegerDigits=o.stem.length;else if(At.test(o.stem)){if(1<o.options.length)throw new RangeError("Fraction-precision stems only accept a single optional option");o.stem.replace(At,function(e,t,r,n,o,i){return"*"===r?s.minimumFractionDigits=t.length:n&&"#"===n[0]?s.maximumFractionDigits=n.length:o&&i?(s.minimumFractionDigits=o.length,s.maximumFractionDigits=o.length+i.length):(s.minimumFractionDigits=t.length,s.maximumFractionDigits=t.length),""}),o.options.length&&(s=pt(pt({},s),Lt(o.options[0])))}else St.test(o.stem)?s=pt(pt({},s),Lt(o.stem)):((n=Nt(o.stem))&&(s=pt(pt({},s),n)),(n=function(e){var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var r=e.slice(0,2);if("+!"===r?(t.signDisplay="always",e=e.slice(2)):"+?"===r&&(t.signDisplay="exceptZero",e=e.slice(2)),!Ot.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(o.stem))&&(s=pt(pt({},s),n)))}return s}var Ut=new RegExp("^"+Tt.source+"*"),Bt=new RegExp(Tt.source+"*$");function Dt(e,t){return{start:e,end:t}}var kt=!!String.prototype.startsWith,Le=!!String.fromCodePoint,Ge=!!Object.fromEntries,Ft=!!String.prototype.codePointAt,Gt=!!String.prototype.trimStart,jt=!!String.prototype.trimEnd,Vt=Number.isSafeInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Tt=!0;try{Tt="a"===(null===(Ct=Kt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===Ct?void 0:Ct[0])}catch(h){Tt=!1}var $t,zt,Wt=kt?function(e,t,r){return e.startsWith(t,r)}:function(e,t,r){return e.slice(r,r+t.length)===t},Xt=Le?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r,n="",o=e.length,i=0;i<o;){if(1114111<(r=e[i++]))throw RangeError(r+" is not a valid code point");n+=r<65536?String.fromCharCode(r):String.fromCharCode(55296+((r-=65536)>>10),r%1024+56320)}return n},Zt=Ge?Object.fromEntries:function(e){for(var t={},r=0,n=e;r<n.length;r++){var o=n[r],i=o[0],o=o[1];t[i]=o}return t},Ht=Ft?function(e,t){return e.codePointAt(t)}:function(e,t){var r=e.length;if(!(t<0||r<=t)){var n,o=e.charCodeAt(t);return o<55296||56319<o||t+1===r||(n=e.charCodeAt(t+1))<56320||57343<n?o:n-56320+(o-55296<<10)+65536}},Yt=Gt?function(e){return e.trimStart()}:function(e){return e.replace(Ut,"")},qt=jt?function(e){return e.trimEnd()}:function(e){return e.replace(Bt,"")};function Kt(e,t){return new RegExp(e,t)}zt=Tt?($t=Kt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),function(e,t){return $t.lastIndex=t,null!==(e=$t.exec(e)[1])&&void 0!==e?e:""}):function(e,t){for(var r,n=[];;){var o=Ht(e,t);if(void 0===o||tr(o)||(33<=(r=o)&&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;n.push(o),t+=65536<=o?2:1}return Xt.apply(void 0,n)};var Qt=(Jt.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},Jt.prototype.parseMessage=function(e,t,r){for(var n=[];!this.isEOF();){var o,i=this.char();if(123===i){if((o=this.parseArgument(e,r)).err)return o;n.push(o.val)}else{if(125===i&&0<e)break;if(35!==i||"plural"!==t&&"selectordinal"!==t){if(60===i&&!this.ignoreTag&&47===this.peek()){if(r)break;return this.error(ct.UNMATCHED_CLOSING_TAG,Dt(this.clonePosition(),this.clonePosition()))}if(60===i&&!this.ignoreTag&&er(this.peek()||0)){if((o=this.parseTag(e,t)).err)return o;n.push(o.val)}else{if((o=this.parseLiteral(e,t)).err)return o;n.push(o.val)}}else{i=this.clonePosition();this.bump(),n.push({type:ut.pound,location:Dt(i,this.clonePosition())})}}}return{val:n,err:null}},Jt.prototype.parseTag=function(e,t){var r=this.clonePosition();this.bump();var n=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:ut.literal,value:"<"+n+"/>",location:Dt(r,this.clonePosition())},err:null};if(this.bumpIf(">")){var o=this.parseMessage(e+1,t,!0);if(o.err)return o;e=o.val,t=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!er(this.char()))return this.error(ct.INVALID_TAG,Dt(t,this.clonePosition()));o=this.clonePosition();return n!==this.parseTagName()?this.error(ct.UNMATCHED_CLOSING_TAG,Dt(o,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:ut.tag,value:n,children:e,location:Dt(r,this.clonePosition())},err:null}:this.error(ct.INVALID_TAG,Dt(t,this.clonePosition())))}return this.error(ct.UNCLOSED_TAG,Dt(r,this.clonePosition()))}return this.error(ct.INVALID_TAG,Dt(r,this.clonePosition()))},Jt.prototype.parseTagName=function(){var e,t=this.offset();for(this.bump();!this.isEOF()&&(45===(e=this.char())||46===e||48<=e&&e<=57||95===e||97<=e&&e<=122||65<=e&&e<=90||183==e||192<=e&&e<=214||216<=e&&e<=246||248<=e&&e<=893||895<=e&&e<=8191||8204<=e&&e<=8205||8255<=e&&e<=8256||8304<=e&&e<=8591||11264<=e&&e<=12271||12289<=e&&e<=55295||63744<=e&&e<=64975||65008<=e&&e<=65533||65536<=e&&e<=983039);)this.bump();return this.message.slice(t,this.offset())},Jt.prototype.parseLiteral=function(e,t){for(var r=this.clonePosition(),n="";;){var o=this.tryParseQuote(t);if(o)n+=o;else{o=this.tryParseUnquoted(e,t);if(o)n+=o;else{o=this.tryParseLeftAngleBracket();if(!o)break;n+=o}}}r=Dt(r,this.clonePosition());return{val:{type:ut.literal,value:n,location:r},err:null}},Jt.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(er(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},Jt.prototype.tryParseQuote=function(e){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===e||"selectordinal"===e)break;return null;default:return null}this.bump();var t=[this.char()];for(this.bump();!this.isEOF();){var r=this.char();if(39===r){if(39!==this.peek()){this.bump();break}t.push(39),this.bump()}else t.push(r);this.bump()}return Xt.apply(void 0,t)},Jt.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var r=this.char();return 60===r||123===r||35===r&&("plural"===t||"selectordinal"===t)||125===r&&0<e?null:(this.bump(),Xt(r))},Jt.prototype.parseArgument=function(e,t){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(ct.EXPECT_ARGUMENT_CLOSING_BRACE,Dt(r,this.clonePosition()));if(125===this.char())return this.bump(),this.error(ct.EMPTY_ARGUMENT,Dt(r,this.clonePosition()));var n=this.parseIdentifierIfPossible().value;if(!n)return this.error(ct.MALFORMED_ARGUMENT,Dt(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(ct.EXPECT_ARGUMENT_CLOSING_BRACE,Dt(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:ut.argument,value:n,location:Dt(r,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(ct.EXPECT_ARGUMENT_CLOSING_BRACE,Dt(r,this.clonePosition())):this.parseArgumentOptions(e,t,n,r);default:return this.error(ct.MALFORMED_ARGUMENT,Dt(r,this.clonePosition()))}},Jt.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),r=zt(this.message,t),t=t+r.length;return this.bumpTo(t),{value:r,location:Dt(e,this.clonePosition())}},Jt.prototype.parseArgumentOptions=function(e,t,r,n){var o,i=this.clonePosition(),s=this.parseIdentifierIfPossible().value,a=this.clonePosition();switch(s){case"":return this.error(ct.EXPECT_ARGUMENT_TYPE,Dt(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===(h=qt(p.val)).length)return this.error(ct.EXPECT_ARGUMENT_STYLE,Dt(this.clonePosition(),this.clonePosition()));l={style:h,styleLocation:Dt(c,this.clonePosition())}}if((f=this.tryParseArgumentClose(n)).err)return f;var u=Dt(n,this.clonePosition());if(l&&Wt(null==l?void 0:l.style,"::",0)){c=Yt(l.style.slice(2));if("number"===s)return(p=this.parseNumberSkeletonFromString(c,l.styleLocation)).err?p:{val:{type:ut.number,value:r,location:u,style:p.val},err:null};if(0===c.length)return this.error(ct.EXPECT_DATE_TIME_SKELETON,u);var h={type:ht.dateTime,pattern:c,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?(o={},c.replace(_t,function(e){var t=e.length;switch(e[0]){case"G":o.era=4===t?"long":5===t?"narrow":"short";break;case"y":o.year=2===t?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":o.month=["numeric","2-digit","short","long","narrow"][t-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":o.day=["numeric","2-digit"][t-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":o.weekday=4!==t&&5===t?"narrow":"short";break;case"e":if(t<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");o.weekday=["short","long","narrow","short"][t-4];break;case"c":if(t<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");o.weekday=["short","long","narrow","short"][t-4];break;case"a":o.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":o.hourCycle="h12",o.hour=["numeric","2-digit"][t-1];break;case"H":o.hourCycle="h23",o.hour=["numeric","2-digit"][t-1];break;case"K":o.hourCycle="h11",o.hour=["numeric","2-digit"][t-1];break;case"k":o.hourCycle="h24",o.hour=["numeric","2-digit"][t-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":o.minute=["numeric","2-digit"][t-1];break;case"s":o.second=["numeric","2-digit"][t-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":o.timeZoneName=t<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),o):{}};return{val:{type:"date"===s?ut.date:ut.time,value:r,location:u,style:h},err:null}}return{val:{type:"number"===s?ut.number:"date"===s?ut.date:ut.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(ct.EXPECT_SELECT_ARGUMENT_OPTIONS,Dt(l,pt({},l)));this.bumpSpace();var p,u=this.parseIdentifierIfPossible(),l=0;if("select"!==s&&"offset"===u.value){if(!this.bumpIf(":"))return this.error(ct.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Dt(this.clonePosition(),this.clonePosition()));if(this.bumpSpace(),(p=this.tryParseDecimalInteger(ct.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,ct.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return p;this.bumpSpace(),u=this.parseIdentifierIfPossible(),l=p.val}u=this.tryParsePluralOrSelectOptions(e,s,t,u);if(u.err)return u;if((f=this.tryParseArgumentClose(n)).err)return f;var f=Dt(n,this.clonePosition());return"select"===s?{val:{type:ut.select,value:r,options:Zt(u.val),location:f},err:null}:{val:{type:ut.plural,value:r,options:Zt(u.val),offset:l,pluralType:"plural"===s?"cardinal":"ordinal",location:f},err:null};default:return this.error(ct.INVALID_ARGUMENT_TYPE,Dt(i,a))}},Jt.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(ct.EXPECT_ARGUMENT_CLOSING_BRACE,Dt(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},Jt.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();)switch(this.char()){case 39:this.bump();var r=this.clonePosition();if(!this.bumpUntil("'"))return this.error(ct.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,Dt(r,this.clonePosition()));this.bump();break;case 123:e+=1,this.bump();break;case 125:if(!(0<e))return{val:this.message.slice(t.offset,this.offset()),err:null};--e;break;default:this.bump()}return{val:this.message.slice(t.offset,this.offset()),err:null}},Jt.prototype.parseNumberSkeletonFromString=function(e,t){var r=[];try{r=function(e){if(0===e.length)throw new Error("Number skeleton cannot be empty");for(var t=[],r=0,n=e.split(xt).filter(function(e){return 0<e.length});r<n.length;r++){var o=n[r].split("/");if(0===o.length)throw new Error("Invalid number skeleton");for(var i=o[0],o=o.slice(1),s=0,a=o;s<a.length;s++)if(0===a[s].length)throw new Error("Invalid number skeleton");t.push({stem:i,options:o})}return t}(e)}catch(e){return this.error(ct.INVALID_NUMBER_SKELETON,t)}return{val:{type:ht.number,tokens:r,location:t,parsedOptions:this.shouldParseSkeletons?Rt(r):{}},err:null}},Jt.prototype.tryParsePluralOrSelectOptions=function(e,t,r,n){for(var o=!1,i=[],s=new Set,a=n.value,l=n.location;;){if(0===a.length){var c=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var u=this.tryParseDecimalInteger(ct.EXPECT_PLURAL_ARGUMENT_SELECTOR,ct.INVALID_PLURAL_ARGUMENT_SELECTOR);if(u.err)return u;l=Dt(c,this.clonePosition()),a=this.message.slice(c.offset,this.offset())}if(s.has(a))return this.error("select"===t?ct.DUPLICATE_SELECT_ARGUMENT_SELECTOR:ct.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);"other"===a&&(o=!0),this.bumpSpace();var h=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?ct.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:ct.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,Dt(this.clonePosition(),this.clonePosition()));u=this.parseMessage(e+1,t,r);if(u.err)return u;c=this.tryParseArgumentClose(h);if(c.err)return c;i.push([a,{value:u.val,location:Dt(h,this.clonePosition())}]),s.add(a),this.bumpSpace(),a=(h=this.parseIdentifierIfPossible()).value,l=h.location}return 0===i.length?this.error("select"===t?ct.EXPECT_SELECT_ARGUMENT_SELECTOR:ct.EXPECT_PLURAL_ARGUMENT_SELECTOR,Dt(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!o?this.error(ct.MISSING_OTHER_CLAUSE,Dt(this.clonePosition(),this.clonePosition())):{val:i,err:null}},Jt.prototype.tryParseDecimalInteger=function(e,t){var r=1,n=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-1);for(var o=!1,i=0;!this.isEOF();){var s=this.char();if(!(48<=s&&s<=57))break;o=!0,i=10*i+(s-48),this.bump()}n=Dt(n,this.clonePosition());return o?Vt(i*=r)?{val:i,err:null}:this.error(t,n):this.error(e,n)},Jt.prototype.offset=function(){return this.position.offset},Jt.prototype.isEOF=function(){return this.offset()===this.message.length},Jt.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},Jt.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=Ht(this.message,e);if(void 0===t)throw Error("Offset "+e+" is at invalid UTF-16 code unit boundary");return t},Jt.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},Jt.prototype.bump=function(){var e;this.isEOF()||(10===(e=this.char())?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2))},Jt.prototype.bumpIf=function(e){if(Wt(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},Jt.prototype.bumpUntil=function(e){var t=this.offset(),t=this.message.indexOf(e,t);return 0<=t?(this.bumpTo(t),!0):(this.bumpTo(this.message.length),!1)},Jt.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset "+e+" must be greater than or equal to the current offset "+this.offset());for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(e<t)throw Error("targetOffset "+e+" is at invalid UTF-16 code unit boundary");if(this.bump(),this.isEOF())break}},Jt.prototype.bumpSpace=function(){for(;!this.isEOF()&&tr(this.char());)this.bump()},Jt.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),e=this.message.charCodeAt(t+(65536<=e?2:1));return null!=e?e:null},Jt);function Jt(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}function er(e){return 97<=e&&e<=122||65<=e&&e<=90}function tr(e){return 9<=e&&e<=13||32===e||133===e||8206<=e&&e<=8207||8232===e||8233===e}function rr(e,t){t=pt({shouldParseSkeletons:!0,requiresOtherClause:!0},t=void 0===t?{}:t);var r=new Qt(e,t).parse();if(r.err){e=SyntaxError(ct[r.err.kind]);throw e.location=r.err.location,e.originalMessage=r.err.message,e}return null!=t&&t.captureLocation||function r(e){e.forEach(function(e){if(delete e.location,wt(e)||bt(e))for(var t in e.options)delete e.options[t].location,r(e.options[t].value);else gt(e)&&vt(e.style)||(mt(e)||yt(e))&&Et(e.style)?delete e.style.location:Pt(e)&&r(e.children)})}(r.val),r.val}function nr(e,t){var r=t&&t.cache?t.cache:ur,n=t&&t.serializer?t.serializer:ar;return(t&&t.strategy?t.strategy:function(e,t){return sr(e,this,1===e.length?or:ir,t.cache.create(),t.serializer)})(e,{cache:r,serializer:n})}function or(e,t,r,n){var o=null==n||"number"==typeof n||"boolean"==typeof n?n:r(n),r=t.get(o);return void 0===r&&(r=e.call(this,n),t.set(o,r)),r}function ir(e,t,r){var n=Array.prototype.slice.call(arguments,3),o=r(n),r=t.get(o);return void 0===r&&(r=e.apply(this,n),t.set(o,r)),r}function sr(e,t,r,n,o){return r.bind(t,e,n,o)}var ar=function(){return JSON.stringify(arguments)};function lr(){this.cache=Object.create(null)}lr.prototype.has=function(e){return e in this.cache},lr.prototype.get=function(e){return this.cache[e]},lr.prototype.set=function(e,t){this.cache[e]=t};var cr,ur={create:function(){return new lr}},hr={variadic:function(e,t){return sr(e,this,ir,t.cache.create(),t.serializer)},monadic:function(e,t){return sr(e,this,or,t.cache.create(),t.serializer)}};(Tt=cr=cr||{}).MISSING_VALUE="MISSING_VALUE",Tt.INVALID_VALUE="INVALID_VALUE",Tt.MISSING_INTL_API="MISSING_INTL_API";var pr,fr,dr,gr,mr,yr=(lt(_r,mr=Error),_r.prototype.toString=function(){return"[formatjs Error: "+this.code+"] "+this.message},_r),wr=(lt(Tr,gr=yr),Tr),br=(lt(Er,dr=yr),Er),Pr=(lt(vr,fr=yr),vr);function vr(e,t){return fr.call(this,'The intl string context variable "'+e+'" was not provided to the string "'+t+'"',cr.MISSING_VALUE,t)||this}function Er(e,t,r){return dr.call(this,'Value for "'+e+'" must be of type '+t,cr.INVALID_VALUE,r)||this}function Tr(e,t,r,n){return gr.call(this,'Invalid values for "'+e+'": "'+t+'". Options are "'+Object.keys(r).join('", "')+'"',cr.INVALID_VALUE,n)||this}function _r(e,t,r){e=mr.call(this,e)||this;return e.code=t,e.originalMessage=r,e}function Cr(e,t,r,n,o,i,s){if(1===e.length&&dt(e[0]))return[{type:pr.literal,value:e[0].value}];for(var a=[],l=0,c=e;l<c.length;l++){var u=c[l];if(dt(u))a.push({type:pr.literal,value:u.value});else if(u.type===ut.pound)"number"==typeof i&&a.push({type:pr.literal,value:r.getNumberFormat(t).format(i)});else{var h=u.value;if(!(o&&h in o))throw new Pr(h,s);var p=o[h];if(u.type===ut.argument)p&&"string"!=typeof p&&"number"!=typeof p||(p="string"==typeof p||"number"==typeof p?String(p):""),a.push({type:"string"==typeof p?pr.literal:pr.object,value:p});else if(mt(u)){var f="string"==typeof u.style?n.date[u.style]:Et(u.style)?u.style.parsedOptions:void 0;a.push({type:pr.literal,value:r.getDateTimeFormat(t,f).format(p)})}else if(yt(u))f="string"==typeof u.style?n.time[u.style]:Et(u.style)?u.style.parsedOptions:void 0,a.push({type:pr.literal,value:r.getDateTimeFormat(t,f).format(p)});else if(gt(u))(f="string"==typeof u.style?n.number[u.style]:vt(u.style)?u.style.parsedOptions:void 0)&&f.scale&&(p*=f.scale||1),a.push({type:pr.literal,value:r.getNumberFormat(t,f).format(p)});else{if(Pt(u)){var d=u.children,g=u.value,h=o[g];if("function"!=typeof h)throw new br(g,"function",s);d=h(Cr(d,t,r,n,o,i).map(function(e){return e.value}));Array.isArray(d)||(d=[d]),a.push.apply(a,d.map(function(e){return{type:"string"==typeof e?pr.literal:pr.object,value:e}}))}if(wt(u)){if(!(m=u.options[p]||u.options.other))throw new wr(u.value,p,Object.keys(u.options),s);a.push.apply(a,Cr(m.value,t,r,n,o))}else if(bt(u)){if(!(m=u.options["="+p])){if(!Intl.PluralRules)throw new yr('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',cr.MISSING_INTL_API,s);var d=r.getPluralRules(t,{type:u.pluralType}).select(p-(u.offset||0)),m=u.options[d]||u.options.other}if(!m)throw new wr(u.value,p,Object.keys(u.options),s);a.push.apply(a,Cr(m.value,t,r,n,o,p-(u.offset||0)))}}}}return a.length<2?a:a.reduce(function(e,t){var r=e[e.length-1];return r&&r.type===pr.literal&&t.type===pr.literal?r.value+=t.value:e.push(t),e},[])}function xr(r){return{create:function(){return{has:function(e){return e in r},get:function(e){return r[e]},set:function(e,t){r[e]=t}}}}}(Tt=pr=pr||{})[Tt.literal=0]="literal",Tt[Tt.object=1]="object";var Ar=(Object.defineProperty(Sr,"defaultLocale",{get:function(){return Sr.memoizedDefaultLocale||(Sr.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),Sr.memoizedDefaultLocale},enumerable:!1,configurable:!0}),Sr.memoizedDefaultLocale=null,Sr.__parse=rr,Sr.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"}}},Sr);function Sr(e,t,r,n){var o,i,s=this;if(void 0===t&&(t=Sr.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){e=s.formatToParts(e);if(1===e.length)return e[0].value;e=e.reduce(function(e,t){return e.length&&t.type===pr.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e},[]);return e.length<=1?e[0]||"":e},this.formatToParts=function(e){return Cr(s.ast,s.locales,s.formatters,s.formats,e,void 0,s.message)},this.resolvedOptions=function(){return{locale:Intl.NumberFormat.supportedLocalesOf(s.locales)[0]}},this.getAst=function(){return s.ast},"string"==typeof e){if(this.message=e,!Sr.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=Sr.__parse(e,{ignoreTag:null==n?void 0:n.ignoreTag})}else this.ast=e;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=(o=Sr.formats,(i=r)?Object.keys(o).reduce(function(e,t){var r,n;return e[t]=(r=o[t],(n=i[t])?pt(pt(pt({},r||{}),n||{}),Object.keys(r).reduce(function(e,t){return e[t]=pt(pt({},r[t]),n[t]||{}),e},{})):r),e},pt({},o)):o),this.locales=t,this.formatters=n&&n.formatters||{getNumberFormat:nr(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.NumberFormat).bind.apply(e,ft([void 0],t)))},{cache:xr((n=void 0===(n=this.formatterCache)?{number:{},dateTime:{},pluralRules:{}}:n).number),strategy:hr.variadic}),getDateTimeFormat:nr(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.DateTimeFormat).bind.apply(e,ft([void 0],t)))},{cache:xr(n.dateTime),strategy:hr.variadic}),getPluralRules:nr(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.PluralRules).bind.apply(e,ft([void 0],t)))},{cache:xr(n.pluralRules),strategy:hr.variadic})}}const Ir={},Or=(t,r)=>{if(null!=r){if(r in Ir&&t in Ir[r])return Ir[r][t];var n,o,i=Xr(r);for(let e=0;e<i.length;e++){var s=(n=i[e],o=t,Mr(n)?function(e,t){if(t in e)return e[t];const r=t.split(".");let n=e;for(let e=0;e<r.length;e++)if("object"==typeof n){if(0<e){const t=r.slice(e,r.length).join(".");if(t in n){n=n[t];break}}n=n[r[e]]}else n=void 0;return n}(function(e){return Lr[e]||null}(n),o):null);if(s)return n=t,o=r,(s=s)&&(o in Ir||(Ir[o]={}),n in Ir[o]||(Ir[o][n]=s),s)}}};let Lr;const Nr=qe({});function Mr(e){return e in Lr}function Rr(t,...r){delete Ir[t],Nr.update(e=>(e[t]=st.all([e[t]||{},...r]),e))}Ke([Nr],([e])=>Object.keys(e)),Nr.subscribe(e=>Lr=e);const Ur={};function Br(e){return Ur[e]}function Dr(e){return Xr(e).some(e=>{return null===(e=Br(e))||void 0===e?void 0:e.size})}const kr={};function Fr(e){if(!Dr(e))return e in kr?kr[e]:void 0;const t=Xr(e).map(e=>{var t=Br(e);return[e,t?[...t]:[]]}).filter(([,e])=>0<e.length);return kr[e]=Promise.all(t.map(([e,r])=>function(t){return Promise.all(r.map(e=>(function(e,t){Ur[e].delete(t),0===Ur[e].size&&delete Ur[e]}(t,e),e().then(e=>e.default||e)))).then(e=>Rr(t,...e))}(e))).then(()=>Dr(e)?Fr(e):void delete kr[e]),kr[e]}function Gr(e,t){var r={};for(o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,o=Object.getOwnPropertySymbols(e);n<o.length;n++)t.indexOf(o[n])<0&&Object.prototype.propertyIsEnumerable.call(e,o[n])&&(r[o[n]]=e[o[n]]);return r}const jr={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 Vr=qe(!1);let $r;const zr=qe(null);function Wr(e){return e.split("-").map((e,t,r)=>r.slice(0,t+1).join("-")).reverse()}function Xr(e,t=jr.fallbackLocale){e=Wr(e);return t?[...new Set([...e,...Wr(t)])]:e}zr.subscribe(e=>{$r=e,"undefined"!=typeof window&&null!==e&&document.documentElement.setAttribute("lang",e)});const Zr=zr.set;zr.set=t=>{if(function(e){if(null!=e){var t=Xr(e);for(let e=0;e<t.length;e++){var r=t[e];if(Mr(r))return r}}}(t)&&Dr(t)){var{loadingDelay:r}=jr;let e;return"undefined"!=typeof window&&null!=$r&&r?e=window.setTimeout(()=>Vr.set(!0),r):Vr.set(!0),Fr(t).then(()=>{Zr(t)}).finally(()=>{clearTimeout(e),Vr.set(!1)})}return Zr(t)},zr.update=e=>Zr(e($r));const Hr=r=>{const n=Object.create(null);return e=>{var t=JSON.stringify(e);return t in n?n[t]:n[t]=r(e)}},Yr=(e,t)=>{var{formats:r}=jr;if(e in r&&t in r[e])return r[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},qr=Hr(e=>{var{locale:t,format:r}=e,e=Gr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return r&&(e=Yr("number",r)),new Intl.NumberFormat(t,e)}),Kr=Hr(e=>{var{locale:t,format:r}=e,e=Gr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return r?e=Yr("date",r):0===Object.keys(e).length&&(e=Yr("date","short")),new Intl.DateTimeFormat(t,e)}),Qr=Hr(e=>{var{locale:t,format:r}=e,e=Gr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return r?e=Yr("time",r):0===Object.keys(e).length&&(e=Yr("time","short")),new Intl.DateTimeFormat(t,e)}),Jr=Hr((e,t=$r)=>new Ar(e,t,jr.formats,{ignoreTag:jr.ignoreTag})),en=Ke([zr,Nr],()=>(e,t={})=>{"object"==typeof e&&(e=(t=e).id);var{values:r,locale:n=$r,default:o}=t;if(null==n)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let i=Or(e,n);if(i){if("string"!=typeof i)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof i}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),i}else jr.warnOnMissingMessages&&console.warn(`[svelte-i18n] The message "${e}" was not found in "${Xr(n).join('", "')}".${Dr($r)?"\n\nNote: there are at least one loader still registered to this locale that wasn't executed.":""}`),i=o||e;if(!r)return i;let s=i;try{s=Jr(i,n).format(r)}catch(t){console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return s});Ke([zr],()=>(e,t)=>((e={})=>{var{locale:t=$r}=e,e=Gr(e,["locale"]);return Qr(Object.assign({locale:t},e))})(t).format(e)),Ke([zr],()=>(e,t)=>((e={})=>{var{locale:t=$r}=e,e=Gr(e,["locale"]);return Kr(Object.assign({locale:t},e))})(t).format(e)),Ke([zr],()=>(e,t)=>((e={})=>{var{locale:t=$r}=e,e=Gr(e,["locale"]);return qr(Object.assign({locale:t},e))})(t).format(e)),Ke([zr,Nr],()=>(e,t=$r)=>Or(e,t)),window.emWidgets={topic:(e,t=0)=>{return-1==Ze.indexOf(e)&&(t=new $e(t),He[e]=t,Ze.push(e)),He[e]}};const tn={en:{changePassword:{title:"Change Password",currentPassword:"Current Password:",invalidCurrentPassword:"The password should be 8-20 characters long, and contain at least 1 uppercase letter, 1 number and 1 special character.",newPassword:"New Password:",invalidNewPassword:"The new password must be different from the old password.",invalidNewPasswordSecondary:"The password should be 8-20 characters long, and contain at least 1 uppercase letter, 1 number and 1 special character.",confirmPassword:"Confirm Password:",confirmPasswordInvalid:"Password must match the new password and must follow the same rules.",submitChangePassword:"Change Password",returnToMenu:"Return to menu",changePasswordText:"Change Password",passwordReset:"PASSWORD RESET",passwordResetConfirmation:"Your password has been reset successfully.",backButtonText:"Back to Casino"}},ro:{changePassword:{title:"Schimbă parola",currentPassword:"Parola curentă",invalidCurrentPassword:"Parola ar trebui să aibă între 8 și 20 de caractere și să conțină cel putin 1 majusculă, 1 număr și 1 caracter special. ",newPassword:"Parola nouă",invalidNewPassword:"Noua parolă trebuie să fie diferită de cea veche.",invalidNewPasswordSecondary:"Parola ar trebui să aibă între 8 și 20 de caractere și să conțină cel putin 1 majusculă, 1 număr și 1 caracter special.",confirmPassword:"Confirmă parola",confirmPasswordInvalid:"Parolele trebuie să coincidă și să îndeplinească aceleași condiții.",submitChangePassword:"Schimbă parola",returnToMenu:"Înapoi la meniu",changePasswordText:"Schimbă parola",passwordReset:"Resetează parola",passwordResetConfirmation:"Parola a fost resetată cu succes.",backButtonText:"Înapoi la Cazino"}}};function rn(r){let n,o,i,s,a,l,c,u,h,p,f,d,g,m,y,w,b,P,v,E,T=r[17]("changePassword.changePasswordText")+"",_=r[17]("changePassword.passwordReset")+"",C=r[17]("changePassword.passwordResetConfirmation")+"",x=r[17]("changePassword.backButtonText")+"",A=r[18]&&function(r){let n,o,i,s,a,l,c,u,h,p=r[17]("changePassword.returnToMenu")+"";return{c(){n=t("div"),o=e("svg"),i=e("g"),s=e("path"),a=me(),l=t("span"),c=ge(p),we(s,"id","Chevron_Right"),we(s,"d","M57.633,129.007L165.93,237.268c4.752,4.74,12.451,4.74,17.215,0c4.752-4.74,4.752-12.439,0-17.179\n l-99.707-99.671l99.695-99.671c4.752-4.74,4.752-12.439,0-17.191c-4.752-4.74-12.463-4.74-17.215,0L57.621,111.816\n C52.942,116.507,52.942,124.327,57.633,129.007z"),we(o,"version","1.1"),we(o,"id","Capa_1"),we(o,"xmlns","http://www.w3.org/2000/svg"),we(o,"xmlns:xlink","http://www.w3.org/1999/xlink"),we(o,"x","0px"),we(o,"y","0px"),we(o,"viewBox","0 0 240.823 240.823"),o.style.setProperty("enable-background","new 0 0 240.823 240.823",""),we(o,"xml:space","preserve"),we(o,"width","18px"),we(o,"fill","#58586B"),we(n,"class","MenuReturnButton")},m(e,t){fe(e,n,t),pe(n,o),pe(o,i),pe(i,s),pe(n,a),pe(n,l),pe(l,c),u||(h=ye(n,"click",r[40]),u=!0)},p(e,t){131072&t[0]&&p!==(p=e[17]("changePassword.returnToMenu")+"")&&be(c,p)},d(e){e&&de(n),u=!1,h()}}}(r);return{c(){A&&A.c(),n=me(),o=t("div"),i=t("h3"),s=ge(T),a=me(),l=t("div"),c=t("div"),u=t("div"),u.innerHTML='<div class="Checkmark"></div>',h=me(),p=t("div"),f=t("h3"),d=ge(_),g=me(),m=t("p"),y=ge(C),w=me(),b=t("div"),P=ge(x),we(o,"class","PlayerChangePasswordHeader"),we(u,"class","IconContainer"),we(p,"class","TextContainer"),we(c,"class","SuccessWrapper"),we(b,"class","PlayerChangePasswordBackButton"),we(l,"class","ChangedPasswordSuccessfully")},m(e,t){A&&A.m(e,t),fe(e,n,t),fe(e,o,t),pe(o,i),pe(i,s),fe(e,a,t),fe(e,l,t),pe(l,c),pe(c,u),pe(c,h),pe(c,p),pe(p,f),pe(f,d),pe(p,g),pe(p,m),pe(m,y),pe(l,w),pe(l,b),pe(b,P),v||(E=ye(b,"click",r[41]),v=!0)},p(e,t){e[18]&&A.p(e,t),131072&t[0]&&T!==(T=e[17]("changePassword.changePasswordText")+"")&&be(s,T),131072&t[0]&&_!==(_=e[17]("changePassword.passwordReset")+"")&&be(d,_),131072&t[0]&&C!==(C=e[17]("changePassword.passwordResetConfirmation")+"")&&be(y,C),131072&t[0]&&x!==(x=e[17]("changePassword.backButtonText")+"")&&be(P,x)},d(e){A&&A.d(e),e&&de(n),e&&de(o),e&&de(a),e&&de(l),v=!1,E()}}}function nn(r){let n,o,i,s,a,l,c,u,h,p,f,d,g,m,y,w,b,P,v,E,T,_,C,x,A,S,I,O,L,N,M,R,U,B,D,k,F,G,j,V,$=r[17]("changePassword.title")+"",z=r[17]("changePassword.currentPassword")+"",W=r[17]("changePassword.newPassword")+"",X=r[17]("changePassword.confirmPassword")+"",Z=r[17]("changePassword.submitChangePassword")+"",H=r[18]&&function(r){let n,o,i,s,a,l,c,u,h,p,f,d,g,m=r[17]("changePassword.title")+"";return{c(){n=t("div"),o=e("svg"),i=e("defs"),s=e("style"),a=ge(".aaa{fill:#d0046c;}"),l=e("g"),c=e("g"),u=e("path"),h=me(),p=t("h2"),f=ge(m),we(u,"class","aaa"),we(u,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),we(u,"transform","translate(15 15) rotate(180)"),we(c,"transform","translate(20 158)"),we(l,"transform","translate(-20 -158)"),we(o,"xmlns","http://www.w3.org/2000/svg"),we(o,"width","15"),we(o,"height","15"),we(o,"viewBox","0 0 15 15"),we(p,"class","ChangePasswordTitleMobile"),we(n,"class","MenuReturnButton")},m(e,t){fe(e,n,t),pe(n,o),pe(o,i),pe(i,s),pe(s,a),pe(o,l),pe(l,c),pe(c,u),pe(n,h),pe(n,p),pe(p,f),d||(g=ye(n,"click",r[26]),d=!0)},p(e,t){131072&t[0]&&m!==(m=e[17]("changePassword.title")+"")&&be(f,m)},d(e){e&&de(n),d=!1,g()}}}(r);function Y(e){return e[8]?sn:on}let q=Y(r),K=q(r),Q=r[2]&&an(r);function J(e){return e[9]?cn:ln}let ee=J(r),te=ee(r);function re(e){return e[11]?hn:e[3]?un:void 0}let ne=re(r),oe=ne&&ne(r);function ie(e){return e[10]?fn:pn}let se=ie(r),ae=se(r),le=r[4]&&dn(r),ce=r[16]&&gn(r);return{c(){H&&H.c(),n=me(),o=t("h2"),i=ge($),s=me(),a=t("section"),l=t("div"),c=t("label"),u=ge(z),h=me(),p=t("input"),f=me(),K.c(),d=me(),Q&&Q.c(),m=me(),y=t("div"),w=t("label"),b=ge(W),P=me(),v=t("input"),E=me(),te.c(),T=me(),oe&&oe.c(),C=me(),x=t("div"),A=t("label"),S=ge(X),I=me(),O=t("input"),L=me(),ae.c(),N=me(),le&&le.c(),R=me(),ce&&ce.c(),U=me(),B=t("section"),D=t("div"),k=ge(Z),we(o,"class","ChangePasswordTitle "+(r[18]?"ChangePasswordTitleNone":"")),we(c,"for","CurrentPassword"),we(p,"id","CurrentPassword"),we(p,"type","password"),we(l,"class",g="PlayerChangePasswordBox "+(r[2]?"InvalidField":"")),we(w,"for","NewPassword"),we(v,"id","NewPassword"),we(v,"type","password"),we(y,"class",_="PlayerChangePasswordBox "+(r[3]?"InvalidField":"")),we(A,"for","ConfirmPassword"),we(O,"id","ConfirmPassword"),we(O,"type","password"),we(x,"class",M="PlayerChangePasswordBox "+(r[4]?"InvalidField":"")),we(a,"class","PlayerChangePasswordContent"),we(D,"class",F="PlayerChangePasswordSaveButton "+(r[1]?"":"ButtonInactive")),we(D,"disabled",G=!r[1]),we(B,"class","PlayerChangePasswordButtonsArea")},m(e,t){H&&H.m(e,t),fe(e,n,t),fe(e,o,t),pe(o,i),fe(e,s,t),fe(e,a,t),pe(a,l),pe(l,c),pe(c,u),pe(l,h),pe(l,p),Pe(p,r[12]),r[28](p),pe(l,f),K.m(l,null),pe(l,d),Q&&Q.m(l,null),pe(a,m),pe(a,y),pe(y,w),pe(w,b),pe(y,P),pe(y,v),Pe(v,r[13]),r[32](v),pe(y,E),te.m(y,null),pe(y,T),oe&&oe.m(y,null),pe(a,C),pe(a,x),pe(x,A),pe(A,S),pe(x,I),pe(x,O),Pe(O,r[14]),r[36](O),pe(x,L),ae.m(x,null),pe(x,N),le&&le.m(x,null),fe(e,R,t),ce&&ce.m(e,t),fe(e,U,t),fe(e,B,t),pe(B,D),pe(D,k),j||(V=[ye(p,"input",r[27]),ye(p,"blur",function(){he(r[21](r[2],r[12],r[5]))&&r[21](r[2],r[12],r[5]).apply(this,arguments)}),ye(v,"input",r[31]),ye(v,"blur",function(){he(r[21](r[3],r[13],r[6]))&&r[21](r[3],r[13],r[6]).apply(this,arguments)}),ye(O,"input",r[35]),ye(O,"blur",function(){he(r[21](r[4],r[14],r[7]))&&r[21](r[4],r[14],r[7]).apply(this,arguments)}),ye(D,"click",r[39])],j=!0)},p(e,t){(r=e)[18]&&H.p(r,t),131072&t[0]&&$!==($=r[17]("changePassword.title")+"")&&be(i,$),131072&t[0]&&z!==(z=r[17]("changePassword.currentPassword")+"")&&be(u,z),4096&t[0]&&p.value!==r[12]&&Pe(p,r[12]),q===(q=Y(r))&&K?K.p(r,t):(K.d(1),K=q(r),K&&(K.c(),K.m(l,d))),r[2]?Q?Q.p(r,t):(Q=an(r),Q.c(),Q.m(l,null)):Q&&(Q.d(1),Q=null),4&t[0]&&g!==(g="PlayerChangePasswordBox "+(r[2]?"InvalidField":""))&&we(l,"class",g),131072&t[0]&&W!==(W=r[17]("changePassword.newPassword")+"")&&be(b,W),8192&t[0]&&v.value!==r[13]&&Pe(v,r[13]),ee===(ee=J(r))&&te?te.p(r,t):(te.d(1),te=ee(r),te&&(te.c(),te.m(y,T))),ne===(ne=re(r))&&oe?oe.p(r,t):(oe&&oe.d(1),oe=ne&&ne(r),oe&&(oe.c(),oe.m(y,null))),8&t[0]&&_!==(_="PlayerChangePasswordBox "+(r[3]?"InvalidField":""))&&we(y,"class",_),131072&t[0]&&X!==(X=r[17]("changePassword.confirmPassword")+"")&&be(S,X),16384&t[0]&&O.value!==r[14]&&Pe(O,r[14]),se===(se=ie(r))&&ae?ae.p(r,t):(ae.d(1),ae=se(r),ae&&(ae.c(),ae.m(x,N))),r[4]?le?le.p(r,t):(le=dn(r),le.c(),le.m(x,null)):le&&(le.d(1),le=null),16&t[0]&&M!==(M="PlayerChangePasswordBox "+(r[4]?"InvalidField":""))&&we(x,"class",M),r[16]?ce?ce.p(r,t):(ce=gn(r),ce.c(),ce.m(U.parentNode,U)):ce&&(ce.d(1),ce=null),131072&t[0]&&Z!==(Z=r[17]("changePassword.submitChangePassword")+"")&&be(k,Z),2&t[0]&&F!==(F="PlayerChangePasswordSaveButton "+(r[1]?"":"ButtonInactive"))&&we(D,"class",F),2&t[0]&&G!==(G=!r[1])&&we(D,"disabled",G)},d(e){H&&H.d(e),e&&de(n),e&&de(o),e&&de(s),e&&de(a),r[28](null),K.d(),Q&&Q.d(),r[32](null),te.d(),oe&&oe.d(),r[36](null),ae.d(),le&&le.d(),e&&de(R),ce&&ce.d(e),e&&de(U),e&&de(B),j=!1,ue(V)}}}function on(r){let n,o,i,s,a,l,c,u,h,p;return{c(){n=e("svg"),o=e("defs"),i=e("style"),s=ge(".a{fill:#fff;}"),a=e("g"),l=e("path"),c=e("circle"),we(l,"class","a"),we(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"),we(l,"transform","translate(0)"),we(c,"class","a"),we(c,"cx","2.779"),we(c,"cy","2.779"),we(c,"r","2.779"),we(c,"transform","translate(20.827 30.303)"),we(a,"transform","translate(-14.185 -27.832)"),we(n,"class",u="TogglePasswordVisibility "+(r[2]?"InvalidToggle":"")+" "+(r[18]?"TogglePasswordVisibilityMobile":"")),we(n,"xmlns","http://www.w3.org/2000/svg"),we(n,"width","18.843"),we(n,"height","10.5"),we(n,"viewBox","0 0 18.843 10.5")},m(e,t){fe(e,n,t),pe(n,o),pe(o,i),pe(i,s),pe(n,a),pe(a,l),pe(a,c),h||(p=ye(n,"click",r[30]),h=!0)},p(e,t){4&t[0]&&u!==(u="TogglePasswordVisibility "+(e[2]?"InvalidToggle":"")+" "+(e[18]?"TogglePasswordVisibilityMobile":""))&&we(n,"class",u)},d(e){e&&de(n),h=!1,p()}}}function sn(r){let n,o,i,s,a,l,c,u,h,p,f,d,g,m,y,w;return{c(){n=e("svg"),o=e("defs"),i=e("style"),s=ge(".a{fill:#fff;}"),a=e("g"),l=e("circle"),c=e("g"),u=e("path"),h=e("path"),p=e("g"),f=e("path"),d=e("path"),g=e("rect"),we(l,"class","a"),we(l,"cx","0.05"),we(l,"cy","0.05"),we(l,"r","0.05"),we(l,"transform","translate(121.017 31.148)"),we(u,"class","a"),we(u,"d","M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z"),we(u,"transform","translate(-142.164 -39.123)"),we(h,"class","a"),we(h,"d","M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z"),we(h,"transform","translate(-136.413 -42.068)"),we(c,"transform","translate(117.499 27.37)"),we(f,"class","a"),we(f,"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"),we(f,"transform","translate(-110.856 -33.157)"),we(d,"class","a"),we(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"),we(d,"transform","translate(-130.743 -29.617)"),we(p,"transform","translate(110.856 24.899)"),we(g,"class","a"),we(g,"width","0.972"),we(g,"height","15.861"),we(g,"rx","0.486"),we(g,"transform","translate(114.827 23.858) rotate(-39.315)"),we(a,"transform","translate(-110.856 -23.242)"),we(n,"class",m="TogglePasswordVisibility "+(r[2]?"InvalidToggle":"")+" "+(r[18]?"TogglePasswordVisibilityMobile":"")),we(n,"xmlns","http://www.w3.org/2000/svg"),we(n,"width","18.844"),we(n,"height","12.887"),we(n,"viewBox","0 0 18.844 12.887")},m(e,t){fe(e,n,t),pe(n,o),pe(o,i),pe(i,s),pe(n,a),pe(a,l),pe(a,c),pe(c,u),pe(c,h),pe(a,p),pe(p,f),pe(p,d),pe(a,g),y||(w=ye(n,"click",r[29]),y=!0)},p(e,t){4&t[0]&&m!==(m="TogglePasswordVisibility "+(e[2]?"InvalidToggle":"")+" "+(e[18]?"TogglePasswordVisibilityMobile":""))&&we(n,"class",m)},d(e){e&&de(n),y=!1,w()}}}function an(e){let r,n,o=e[17]("changePassword.invalidCurrentPassword")+"";return{c(){r=t("p"),n=ge(o),we(r,"class","InvalidInput")},m(e,t){fe(e,r,t),pe(r,n)},p(e,t){131072&t[0]&&o!==(o=e[17]("changePassword.invalidCurrentPassword")+"")&&be(n,o)},d(e){e&&de(r)}}}function ln(r){let n,o,i,s,a,l,c,u,h,p;return{c(){n=e("svg"),o=e("defs"),i=e("style"),s=ge(".a{fill:#fff;}"),a=e("g"),l=e("path"),c=e("circle"),we(l,"class","a"),we(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"),we(l,"transform","translate(0)"),we(c,"class","a"),we(c,"cx","2.779"),we(c,"cy","2.779"),we(c,"r","2.779"),we(c,"transform","translate(20.827 30.303)"),we(a,"transform","translate(-14.185 -27.832)"),we(n,"class",u="TogglePasswordVisibility "+(r[3]?"InvalidToggle":"")+" "+(r[18]?"TogglePasswordVisibilityMobile":"")),we(n,"xmlns","http://www.w3.org/2000/svg"),we(n,"width","18.843"),we(n,"height","10.5"),we(n,"viewBox","0 0 18.843 10.5")},m(e,t){fe(e,n,t),pe(n,o),pe(o,i),pe(i,s),pe(n,a),pe(a,l),pe(a,c),h||(p=ye(n,"click",r[34]),h=!0)},p(e,t){8&t[0]&&u!==(u="TogglePasswordVisibility "+(e[3]?"InvalidToggle":"")+" "+(e[18]?"TogglePasswordVisibilityMobile":""))&&we(n,"class",u)},d(e){e&&de(n),h=!1,p()}}}function cn(r){let n,o,i,s,a,l,c,u,h,p,f,d,g,m,y,w;return{c(){n=e("svg"),o=e("defs"),i=e("style"),s=ge(".a{fill:#fff;}"),a=e("g"),l=e("circle"),c=e("g"),u=e("path"),h=e("path"),p=e("g"),f=e("path"),d=e("path"),g=e("rect"),we(l,"class","a"),we(l,"cx","0.05"),we(l,"cy","0.05"),we(l,"r","0.05"),we(l,"transform","translate(121.017 31.148)"),we(u,"class","a"),we(u,"d","M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z"),we(u,"transform","translate(-142.164 -39.123)"),we(h,"class","a"),we(h,"d","M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z"),we(h,"transform","translate(-136.413 -42.068)"),we(c,"transform","translate(117.499 27.37)"),we(f,"class","a"),we(f,"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"),we(f,"transform","translate(-110.856 -33.157)"),we(d,"class","a"),we(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"),we(d,"transform","translate(-130.743 -29.617)"),we(p,"transform","translate(110.856 24.899)"),we(g,"class","a"),we(g,"width","0.972"),we(g,"height","15.861"),we(g,"rx","0.486"),we(g,"transform","translate(114.827 23.858) rotate(-39.315)"),we(a,"transform","translate(-110.856 -23.242)"),we(n,"class",m="TogglePasswordVisibility "+(r[3]?"InvalidToggle":"")+" "+(r[18]?"TogglePasswordVisibilityMobile":"")),we(n,"xmlns","http://www.w3.org/2000/svg"),we(n,"width","18.844"),we(n,"height","12.887"),we(n,"viewBox","0 0 18.844 12.887")},m(e,t){fe(e,n,t),pe(n,o),pe(o,i),pe(i,s),pe(n,a),pe(a,l),pe(a,c),pe(c,u),pe(c,h),pe(a,p),pe(p,f),pe(p,d),pe(a,g),y||(w=ye(n,"click",r[33]),y=!0)},p(e,t){8&t[0]&&m!==(m="TogglePasswordVisibility "+(e[3]?"InvalidToggle":"")+" "+(e[18]?"TogglePasswordVisibilityMobile":""))&&we(n,"class",m)},d(e){e&&de(n),y=!1,w()}}}function un(e){let r,n,o=e[17]("changePassword.invalidNewPasswordSecondary")+"";return{c(){r=t("p"),n=ge(o),we(r,"class","InvalidInput")},m(e,t){fe(e,r,t),pe(r,n)},p(e,t){131072&t[0]&&o!==(o=e[17]("changePassword.invalidNewPasswordSecondary")+"")&&be(n,o)},d(e){e&&de(r)}}}function hn(e){let r,n,o=e[17]("changePassword.invalidNewPassword")+"";return{c(){r=t("p"),n=ge(o),we(r,"class","InvalidInputNew")},m(e,t){fe(e,r,t),pe(r,n)},p(e,t){131072&t[0]&&o!==(o=e[17]("changePassword.invalidNewPassword")+"")&&be(n,o)},d(e){e&&de(r)}}}function pn(r){let n,o,i,s,a,l,c,u,h,p;return{c(){n=e("svg"),o=e("defs"),i=e("style"),s=ge(".a{fill:#fff;}"),a=e("g"),l=e("path"),c=e("circle"),we(l,"class","a"),we(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"),we(l,"transform","translate(0)"),we(c,"class","a"),we(c,"cx","2.779"),we(c,"cy","2.779"),we(c,"r","2.779"),we(c,"transform","translate(20.827 30.303)"),we(a,"transform","translate(-14.185 -27.832)"),we(n,"class",u="TogglePasswordVisibility "+(r[4]?"InvalidToggle":"")+" "+(r[18]?"TogglePasswordVisibilityMobile":"")),we(n,"xmlns","http://www.w3.org/2000/svg"),we(n,"width","18.843"),we(n,"height","10.5"),we(n,"viewBox","0 0 18.843 10.5")},m(e,t){fe(e,n,t),pe(n,o),pe(o,i),pe(i,s),pe(n,a),pe(a,l),pe(a,c),h||(p=ye(n,"click",r[38]),h=!0)},p(e,t){16&t[0]&&u!==(u="TogglePasswordVisibility "+(e[4]?"InvalidToggle":"")+" "+(e[18]?"TogglePasswordVisibilityMobile":""))&&we(n,"class",u)},d(e){e&&de(n),h=!1,p()}}}function fn(r){let n,o,i,s,a,l,c,u,h,p,f,d,g,m,y,w;return{c(){n=e("svg"),o=e("defs"),i=e("style"),s=ge(".a{fill:#fff;}"),a=e("g"),l=e("circle"),c=e("g"),u=e("path"),h=e("path"),p=e("g"),f=e("path"),d=e("path"),g=e("rect"),we(l,"class","a"),we(l,"cx","0.05"),we(l,"cy","0.05"),we(l,"r","0.05"),we(l,"transform","translate(121.017 31.148)"),we(u,"class","a"),we(u,"d","M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z"),we(u,"transform","translate(-142.164 -39.123)"),we(h,"class","a"),we(h,"d","M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z"),we(h,"transform","translate(-136.413 -42.068)"),we(c,"transform","translate(117.499 27.37)"),we(f,"class","a"),we(f,"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"),we(f,"transform","translate(-110.856 -33.157)"),we(d,"class","a"),we(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"),we(d,"transform","translate(-130.743 -29.617)"),we(p,"transform","translate(110.856 24.899)"),we(g,"class","a"),we(g,"width","0.972"),we(g,"height","15.861"),we(g,"rx","0.486"),we(g,"transform","translate(114.827 23.858) rotate(-39.315)"),we(a,"transform","translate(-110.856 -23.242)"),we(n,"class",m="TogglePasswordVisibility "+(r[4]?"InvalidToggle":"")+" "+(r[18]?"TogglePasswordVisibilityMobile":"")),we(n,"xmlns","http://www.w3.org/2000/svg"),we(n,"width","18.844"),we(n,"height","12.887"),we(n,"viewBox","0 0 18.844 12.887")},m(e,t){fe(e,n,t),pe(n,o),pe(o,i),pe(i,s),pe(n,a),pe(a,l),pe(a,c),pe(c,u),pe(c,h),pe(a,p),pe(p,f),pe(p,d),pe(a,g),y||(w=ye(n,"click",r[37]),y=!0)},p(e,t){16&t[0]&&m!==(m="TogglePasswordVisibility "+(e[4]?"InvalidToggle":"")+" "+(e[18]?"TogglePasswordVisibilityMobile":""))&&we(n,"class",m)},d(e){e&&de(n),y=!1,w()}}}function dn(e){let r,n,o=e[17]("changePassword.confirmPasswordInvalid")+"";return{c(){r=t("p"),n=ge(o),we(r,"class","InvalidInput")},m(e,t){fe(e,r,t),pe(r,n)},p(e,t){131072&t[0]&&o!==(o=e[17]("changePassword.confirmPasswordInvalid")+"")&&be(n,o)},d(e){e&&de(r)}}}function gn(e){let r,n,o;return{c(){r=t("div"),n=t("p"),o=ge(e[15]),we(n,"class","PasswordChangedError")},m(e,t){fe(e,r,t),pe(r,n),pe(n,o)},p(e,t){32768&t[0]&&be(o,e[15])},d(e){e&&de(r)}}}function mn(e){let r,n=function(e){let r;function n(e){return e[0]?rn:nn}let o=n(e),i=o(e);return{c(){r=t("form"),i.c(),we(r,"class","PlayerChangePasswordWrapper "+(e[18]?"PlayerChangePasswordWrapperMobile":"")+" "+(e[19].matches&&e[18]?"PlayerChangePasswordWrapperTablet":""))},m(e,t){fe(e,r,t),i.m(r,null)},p(e,t){o===(o=n(e))&&i?i.p(e,t):(i.d(1),i=o(e),i&&(i.c(),i.m(r,null)))},d(e){e&&de(r),i.d()}}}(e);return{c(){n.c(),r=ge(""),this.c=h},m(e,t){n.m(e,t),fe(e,r,t)},p(e,t){n.p(e,t)},i:h,o:h,d(e){n.d(e),e&&de(r)}}}function yn(t,e,n){let r;var o=en;t.$$.on_destroy.push(N(o,e=>n(17,r=e)));let{lang:i="en"}=e,s="PC"!=((e=window.navigator.userAgent).toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC"),a=!1;const l=window.matchMedia("(min-width: 768px)"),c={password:/^(?=.*?[A-Z])(?=.*?[a-z])(?=.*?[0-9])(?=.*?[^\w\s]).{8,20}$/};let u,h,p,f=!1,d=!1,g=!1,m=!1,y=!1,w=!1,b,P="",v="",E="",T=!1,_="",C=!1;Object.keys(tn).forEach(e=>{Rr(e,tn[e])});const x=e=>{switch(e){case"userCurrentPassword":n(8,m=!m),n(5,u.type=m?"text":"password",u);break;case"userNewPassword":n(9,y=!y),n(6,h.type=y?"text":"password",h);break;case"userConfirmPassword":n(10,w=!w),n(7,p.type=w?"text":"password",p)}},A=e=>!!c.password.test(e),S=()=>{a&&window.postMessage({type:"ChangePassword",userCurrentPassword:P,userNewPassword:v},window.location.href)},I=()=>{window.postMessage({type:"ReturnToMenu"},window.location.href)},O=()=>{window.postMessage({type:"GoToCasino"},window.location.href)},L=e=>{if(e.data)switch(e.data.type){case"PasswordChangedSuccessfully":n(0,T=!0);break;case"ShowPasswordChangedError":n(16,C=e.data.showErrorPasswordChanged),n(15,_=e.data.errorPasswordChanged)}};return e=()=>(window.addEventListener("message",L,!1),()=>{window.removeEventListener("message",L)}),function(){if(!M)throw new Error("Function called outside component initialization");return M}().$$.on_mount.push(e),t.$$set=e=>{"lang"in e&&n(25,i=e.lang)},t.$$.update=()=>{var e;33554432&t.$$.dirty[0]&&i&&(e=i,zr.set(e)),t.$$.dirty[0]},[T,a,f,d,g,u,h,p,m,y,w,!1,P,v,E,_,C,r,s,l,x,(e,t,r)=>{"CurrentPassword"===r.id?n(2,f=!A(t)):"NewPassword"===r.id?(n(3,d=!A(t)),P&&n(11,b=P===v),E&&n(4,g=v!==E||!A(t))):n(4,g=v!==E||!A(t)),n(1,a=!(f||d||g||!P||!v||!E))},S,I,O,i,()=>I(),function(){P=this.value,n(12,P)},function(e){R[e?"unshift":"push"](()=>{u=e,n(5,u)})},()=>x("userCurrentPassword"),()=>x("userCurrentPassword"),function(){v=this.value,n(13,v)},function(e){R[e?"unshift":"push"](()=>{h=e,n(6,h)})},()=>x("userNewPassword"),()=>x("userNewPassword"),function(){E=this.value,n(14,E)},function(e){R[e?"unshift":"push"](()=>{p=e,n(7,p)})},()=>x("userConfirmPassword"),()=>x("userConfirmPassword"),()=>S(),()=>I(),()=>O()]}class wn extends l{constructor(e){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'}.PlayerChangePasswordWrapper{color:#07072A;padding:50px;max-width:400px}.ChangePasswordTitle{font-size:26px;color:#D0046C;font-weight:400}.ChangePasswordTitleMobile{font-size:16px;color:#D0046C}.ChangePasswordTitleNone{display:none}.PlayerChangePasswordContent{display:grid;grid-column-gap:50px;grid-row-gap:30px;grid-template-rows:auto;grid-template-columns:1fr;padding-bottom:30px}.PlayerChangePasswordButtonsArea{display:grid;grid-column-gap:10px;grid-template-rows:auto;grid-template-columns:1fr}.PlayerChangePasswordSaveButton{cursor:pointer;border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:15px;color:#FFF;text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.PlayerChangePasswordSaveButton.ButtonInactive{opacity:0.3}.PlayerChangePasswordSaveButton{background:#D0046C;border:1px solid #D0046C;color:#fff}.PlayerChangePasswordBox{display:flex;flex-direction:column;position:relative}.PlayerChangePasswordBox label{font-size:14px;font-weight:300;margin-bottom:10px}.PlayerChangePasswordBox input{font-size:14px;font-weight:300;color:#07072A;padding:10px;line-height:16px;border:1px solid #D1D1D1;background:#FFFFFF;border-radius:5px;outline:none;transition-duration:0.3s}.PlayerChangePasswordBox input:focus,.PlayerChangePasswordBox input :focus-within,.PlayerChangePasswordBox input :focus-visible,.PlayerChangePasswordBox input :visited{border:1px solid #D0046C;box-shadow:0 0 0 1pt #D0046C}.PlayerChangePasswordBox input::-webkit-outer-spin-button,.PlayerChangePasswordBox input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.PlayerChangePasswordBox input::-ms-reveal,.PlayerChangePasswordBox input::-ms-clear{display:none}.PlayerChangePasswordBox.InvalidField input{border:1px solid #D0046C;background:#FBECF4;color:#D0046C}.PlayerChangePasswordBox:last-child.InvalidField .InvalidInput{bottom:-16px}.PlayerChangePasswordBox:last-child.InvalidField .InvalidInputNew{bottom:-24px}.TogglePasswordVisibility{height:20px;position:absolute;right:10px;top:38px;cursor:pointer;color:#58586B}.TogglePasswordVisibility.InvalidToggle path,.TogglePasswordVisibility.InvalidToggle circle,.TogglePasswordVisibility.InvalidToggle rect{fill:#D0046C}.TogglePasswordVisibility path,.TogglePasswordVisibility circle,.TogglePasswordVisibility rect{fill:#58586B}.TogglePasswordVisibilityMobile{top:35px}.InvalidInput,.InvalidInputNew{color:#D0046C;font-size:10px;position:absolute;bottom:-25px;margin:0;line-height:10px}.InvalidInputNew{bottom:-24px}.PasswordChangedError{color:#FD2839;font-size:16px;line-height:19.2px;margin-top:0}.ChangedPasswordSuccessfully{color:#fff;position:relative}.ChangedPasswordSuccessfully .SuccessWrapper{display:inline-flex;align-items:center;margin-bottom:20px}.ChangedPasswordSuccessfully .IconContainer{width:45px;height:45px;border:1px solid #16CE16;border-radius:50px;display:flex;align-items:center;justify-content:center}.ChangedPasswordSuccessfully .Checkmark{width:12px;height:22px;border:solid #16CE16;border-width:0 2px 2px 0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg);position:relative;top:-3px}.ChangedPasswordSuccessfully h3{font-size:20px;font-weight:400;margin:10px 0;color:#16CE16}.ChangedPasswordSuccessfully p{margin:0;font-size:14px;font-weight:300;color:#07072A}.ChangedPasswordSuccessfully .TextContainer{display:flex;flex-direction:column;padding:10px 20px}.ChangedPasswordSuccessfully .PlayerChangePasswordBackButton{cursor:pointer;border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:15px;color:#FFF;text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px;border:1px solid #D0046C;background:#D0046C;max-width:185px}.ChangedPasswordSuccessfully .PlayerChangePasswordBackButton:hover{color:#D0046C;background:#fff}.PlayerChangePasswordWrapperMobile{height:100%;max-width:unset;padding:20px 20px 40px 20px;display:flex;flex-flow:column;height:100%}.PlayerChangePasswordWrapperMobile:after{content:'';position:absolute;bottom:0}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordHeader h3{color:#D0046C;font-size:14px;font-weight:400}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordBox label{color:#58586B;font-size:12px;font-weight:400}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordBox input{color:#58586B;font-size:12px;font-weight:300}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordButtonsArea{grid-column-gap:10px}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordSaveButton{font-size:12px;height:44px;color:#58586B}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordSaveButton{color:#fff}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordSaveButton.ButtonInactive{opacity:0.3}.PlayerChangePasswordWrapperMobile .ChangedPasswordSuccessfully{color:#58586B}.MenuReturnButton{color:#58586B;display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.PlayerChangePasswordWrapperTablet{padding:40px 25% 100% 25%}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordContent{grid-row-gap:20px}.PlayerChangePasswordWrapperTablet .MenuReturnButton{margin-bottom:30px}.PlayerChangePasswordWrapperTablet .MenuReturnButton span{font-size:20px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox label{font-size:20px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox input{height:30px;font-size:20px;line-height:30px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox .TogglePasswordVisibility{width:30px;top:46px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox .TogglePasswordVisibility.InvalidToggle path,.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox .TogglePasswordVisibility.InvalidToggle circle,.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox .TogglePasswordVisibility.InvalidToggle rect{fill:#D0046C}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox .TogglePasswordVisibility path,.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox .TogglePasswordVisibility circle,.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox .TogglePasswordVisibility rect{fill:#58586B}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox .InvalidInput{font-size:16px;bottom:-50px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox:last-child .InvalidInput{font-size:16px;bottom:-50px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordButtonsArea{grid-column-gap:40px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordButtonsArea .PlayerChangePasswordSaveButton{font-size:18px;height:56px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordButtonsArea .PlayerChangePasswordSaveButton{color:#fff}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordButtonsArea .PlayerChangePasswordSaveButton.ButtonInactive{color:#58586B}</style>",a(this,{target:this.shadowRoot,props:function(e){const t={};for(const r of e)t[r.name]=r.value;return t}(this.attributes),customElement:!0},yn,mn,r,{lang:25},[-1,-1]),e&&(e.target&&fe(e.target,this,e.anchor),e.props&&(this.$set(e.props),b()))}static get observedAttributes(){return["lang"]}get lang(){return this.$$.ctx[25]}set lang(e){this.$set({lang:e}),b()}}return customElements.get("player-change-password")||customElements.define("player-change-password",wn),wn});
2
2
  //# sourceMappingURL=player-change-password.js.map