@everymatrix/general-player-forgot-password-form 1.85.17 → 1.85.18
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.
- package/components/{GeneralPlayerForgotPasswordForm-qn34Qf_3.cjs → GeneralPlayerForgotPasswordForm-3hSUGacB.cjs} +1 -1
- package/components/{GeneralPlayerForgotPasswordForm-jRyk4u0S.js → GeneralPlayerForgotPasswordForm-BCRv_FLj.js} +3 -0
- package/components/{GeneralPlayerForgotPasswordForm-CAxK2f_T.js → GeneralPlayerForgotPasswordForm-C9eek7fw.js} +3 -0
- package/es2015/general-player-forgot-password-form.cjs +1 -1
- package/es2015/general-player-forgot-password-form.js +1 -1
- package/esnext/general-player-forgot-password-form.js +1 -1
- package/package.json +1 -1
|
@@ -15,7 +15,7 @@ PERFORMANCE OF THIS SOFTWARE.
|
|
|
15
15
|
`+e.map(function(i,s){return s+1+") "+i.toString()}).join(`
|
|
16
16
|
`):"",this.name="UnsubscriptionError",this.errors=e}});function pi(r,t){if(r){var e=r.indexOf(t);0<=e&&r.splice(e,1)}}var vr=function(){function r(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}return r.prototype.unsubscribe=function(){var t,e,i,s,o;if(!this.closed){this.closed=!0;var n=this._parentage;if(n)if(this._parentage=null,Array.isArray(n))try{for(var a=ui(n),l=a.next();!l.done;l=a.next()){var d=l.value;d.remove(this)}}catch(b){t={error:b}}finally{try{l&&!l.done&&(e=a.return)&&e.call(a)}finally{if(t)throw t.error}}else n.remove(this);var h=this.initialTeardown;if(Oe(h))try{h()}catch(b){o=b instanceof Hr?b.errors:[b]}var u=this._finalizers;if(u){this._finalizers=null;try{for(var f=ui(u),m=f.next();!m.done;m=f.next()){var _=m.value;try{ws(_)}catch(b){o=o!=null?o:[],b instanceof Hr?o=fi(fi([],ci(o)),ci(b.errors)):o.push(b)}}}catch(b){i={error:b}}finally{try{m&&!m.done&&(s=f.return)&&s.call(f)}finally{if(i)throw i.error}}}if(o)throw new Hr(o)}},r.prototype.add=function(t){var e;if(t&&t!==this)if(this.closed)ws(t);else{if(t instanceof r){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(e=this._finalizers)!==null&&e!==void 0?e:[]).push(t)}},r.prototype._hasParent=function(t){var e=this._parentage;return e===t||Array.isArray(e)&&e.includes(t)},r.prototype._addParent=function(t){var e=this._parentage;this._parentage=Array.isArray(e)?(e.push(t),e):e?[e,t]:t},r.prototype._removeParent=function(t){var e=this._parentage;e===t?this._parentage=null:Array.isArray(e)&&pi(e,t)},r.prototype.remove=function(t){var e=this._finalizers;e&&pi(e,t),t instanceof r&&t._removeParent(this)},r.EMPTY=function(){var t=new r;return t.closed=!0,t}(),r}(),qo=vr.EMPTY;function Yo(r){return r instanceof vr||r&&"closed"in r&&Oe(r.remove)&&Oe(r.add)&&Oe(r.unsubscribe)}function ws(r){Oe(r)?r():r.unsubscribe()}var Tl={Promise:void 0},Il={setTimeout:function(r,t){for(var e=[],i=2;i<arguments.length;i++)e[i-2]=arguments[i];return setTimeout.apply(void 0,fi([r,t],ci(e)))},clearTimeout:function(r){return clearTimeout(r)},delegate:void 0};function Ol(r){Il.setTimeout(function(){throw r})}function xs(){}function rr(r){r()}var Zo=function(r){Vt(t,r);function t(e){var i=r.call(this)||this;return i.isStopped=!1,e?(i.destination=e,Yo(e)&&e.add(i)):i.destination=Ml,i}return t.create=function(e,i,s){return new mi(e,i,s)},t.prototype.next=function(e){this.isStopped||this._next(e)},t.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,r.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(e){this.destination.next(e)},t.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(vr),Nl=function(){function r(t){this.partialObserver=t}return r.prototype.next=function(t){var e=this.partialObserver;if(e.next)try{e.next(t)}catch(i){Yt(i)}},r.prototype.error=function(t){var e=this.partialObserver;if(e.error)try{e.error(t)}catch(i){Yt(i)}else Yt(t)},r.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(e){Yt(e)}},r}(),mi=function(r){Vt(t,r);function t(e,i,s){var o=r.call(this)||this,n;return Oe(e)||!e?n={next:e!=null?e:void 0,error:i!=null?i:void 0,complete:s!=null?s:void 0}:n=e,o.destination=new Nl(n),o}return t}(Zo);function Yt(r){Ol(r)}function kl(r){throw r}var Ml={closed:!0,next:xs,error:kl,complete:xs},Ll=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function Bl(r){return r}function Rl(r){return r.length===0?Bl:r.length===1?r[0]:function(e){return r.reduce(function(i,s){return s(i)},e)}}var Ps=function(){function r(t){t&&(this._subscribe=t)}return r.prototype.lift=function(t){var e=new r;return e.source=this,e.operator=t,e},r.prototype.subscribe=function(t,e,i){var s=this,o=Hl(t)?t:new mi(t,e,i);return rr(function(){var n=s,a=n.operator,l=n.source;o.add(a?a.call(o,l):l?s._subscribe(o):s._trySubscribe(o))}),o},r.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},r.prototype.forEach=function(t,e){var i=this;return e=Es(e),new e(function(s,o){var n=new mi({next:function(a){try{t(a)}catch(l){o(l),n.unsubscribe()}},error:o,complete:s});i.subscribe(n)})},r.prototype._subscribe=function(t){var e;return(e=this.source)===null||e===void 0?void 0:e.subscribe(t)},r.prototype[Ll]=function(){return this},r.prototype.pipe=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return Rl(t)(this)},r.prototype.toPromise=function(t){var e=this;return t=Es(t),new t(function(i,s){var o;e.subscribe(function(n){return o=n},function(n){return s(n)},function(){return i(o)})})},r.create=function(t){return new r(t)},r}();function Es(r){var t;return(t=r!=null?r:Tl.Promise)!==null&&t!==void 0?t:Promise}function Dl(r){return r&&Oe(r.next)&&Oe(r.error)&&Oe(r.complete)}function Hl(r){return r&&r instanceof Zo||Dl(r)&&Yo(r)}var zl=Wo(function(r){return function(){r(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),Xo=function(r){Vt(t,r);function t(){var e=r.call(this)||this;return e.closed=!1,e.currentObservers=null,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}return t.prototype.lift=function(e){var i=new Cs(this,this);return i.operator=e,i},t.prototype._throwIfClosed=function(){if(this.closed)throw new zl},t.prototype.next=function(e){var i=this;rr(function(){var s,o;if(i._throwIfClosed(),!i.isStopped){i.currentObservers||(i.currentObservers=Array.from(i.observers));try{for(var n=ui(i.currentObservers),a=n.next();!a.done;a=n.next()){var l=a.value;l.next(e)}}catch(d){s={error:d}}finally{try{a&&!a.done&&(o=n.return)&&o.call(n)}finally{if(s)throw s.error}}}})},t.prototype.error=function(e){var i=this;rr(function(){if(i._throwIfClosed(),!i.isStopped){i.hasError=i.isStopped=!0,i.thrownError=e;for(var s=i.observers;s.length;)s.shift().error(e)}})},t.prototype.complete=function(){var e=this;rr(function(){if(e._throwIfClosed(),!e.isStopped){e.isStopped=!0;for(var i=e.observers;i.length;)i.shift().complete()}})},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var e;return((e=this.observers)===null||e===void 0?void 0:e.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(e){return this._throwIfClosed(),r.prototype._trySubscribe.call(this,e)},t.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},t.prototype._innerSubscribe=function(e){var i=this,s=this,o=s.hasError,n=s.isStopped,a=s.observers;return o||n?qo:(this.currentObservers=null,a.push(e),new vr(function(){i.currentObservers=null,pi(a,e)}))},t.prototype._checkFinalizedStatuses=function(e){var i=this,s=i.hasError,o=i.thrownError,n=i.isStopped;s?e.error(o):n&&e.complete()},t.prototype.asObservable=function(){var e=new Ps;return e.source=this,e},t.create=function(e,i){return new Cs(e,i)},t}(Ps),Cs=function(r){Vt(t,r);function t(e,i){var s=r.call(this)||this;return s.destination=e,s.source=i,s}return t.prototype.next=function(e){var i,s;(s=(i=this.destination)===null||i===void 0?void 0:i.next)===null||s===void 0||s.call(i,e)},t.prototype.error=function(e){var i,s;(s=(i=this.destination)===null||i===void 0?void 0:i.error)===null||s===void 0||s.call(i,e)},t.prototype.complete=function(){var e,i;(i=(e=this.destination)===null||e===void 0?void 0:e.complete)===null||i===void 0||i.call(e)},t.prototype._subscribe=function(e){var i,s;return(s=(i=this.source)===null||i===void 0?void 0:i.subscribe(e))!==null&&s!==void 0?s:qo},t}(Xo),Jo={now:function(){return(Jo.delegate||Date).now()},delegate:void 0},Fl=function(r){Vt(t,r);function t(e,i,s){e===void 0&&(e=1/0),i===void 0&&(i=1/0),s===void 0&&(s=Jo);var o=r.call(this)||this;return o._bufferSize=e,o._windowTime=i,o._timestampProvider=s,o._buffer=[],o._infiniteTimeWindow=!0,o._infiniteTimeWindow=i===1/0,o._bufferSize=Math.max(1,e),o._windowTime=Math.max(1,i),o}return t.prototype.next=function(e){var i=this,s=i.isStopped,o=i._buffer,n=i._infiniteTimeWindow,a=i._timestampProvider,l=i._windowTime;s||(o.push(e),!n&&o.push(a.now()+l)),this._trimBuffer(),r.prototype.next.call(this,e)},t.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var i=this._innerSubscribe(e),s=this,o=s._infiniteTimeWindow,n=s._buffer,a=n.slice(),l=0;l<a.length&&!e.closed;l+=o?1:2)e.next(a[l]);return this._checkFinalizedStatuses(e),i},t.prototype._trimBuffer=function(){var e=this,i=e._bufferSize,s=e._timestampProvider,o=e._buffer,n=e._infiniteTimeWindow,a=(n?1:2)*i;if(i<1/0&&a<o.length&&o.splice(0,o.length-a),!n){for(var l=s.now(),d=0,h=1;h<o.length&&o[h]<=l;h+=2)d=h;d&&o.splice(0,d+1)}},t}(Xo);const Ss=[],As={},Vl=(r,t=0)=>{if(Ss.indexOf(r)==-1){const e=new Fl(t);As[r]=e,Ss.push(r)}return As[r]},qe=[];function $l(r,t){return{subscribe:yr(r,t).subscribe}}function yr(r,t=Ee){let e;const i=new Set;function s(a){if($o(r,a)&&(r=a,e)){const l=!qe.length;for(const d of i)d[1](),qe.push(d,r);if(l){for(let d=0;d<qe.length;d+=2)qe[d][0](qe[d+1]);qe.length=0}}}function o(a){s(a(r))}function n(a,l=Ee){const d=[a,l];return i.add(d),i.size===1&&(e=t(s,o)||Ee),a(r),()=>{i.delete(d),i.size===0&&e&&(e(),e=null)}}return{set:s,update:o,subscribe:n}}function dt(r,t,e){const i=!Array.isArray(r),s=i?[r]:r;if(!s.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const o=t.length<2;return $l(e,(n,a)=>{let l=!1;const d=[];let h=0,u=Ee;const f=()=>{if(h)return;u();const _=t(i?d[0]:d,n,a);o?n(_):u=It(_)?_:Ee},m=s.map((_,b)=>Uo(_,w=>{d[b]=w,h&=~(1<<b),l&&f()},()=>{h|=1<<b}));return l=!0,f(),function(){$e(m),u(),l=!1}})}function Ul(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}var jl=function(t){return Gl(t)&&!Wl(t)};function Gl(r){return!!r&&typeof r=="object"}function Wl(r){var t=Object.prototype.toString.call(r);return t==="[object RegExp]"||t==="[object Date]"||Zl(r)}var ql=typeof Symbol=="function"&&Symbol.for,Yl=ql?Symbol.for("react.element"):60103;function Zl(r){return r.$$typeof===Yl}function Xl(r){return Array.isArray(r)?[]:{}}function Nt(r,t){return t.clone!==!1&&t.isMergeableObject(r)?rt(Xl(r),r,t):r}function Jl(r,t,e){return r.concat(t).map(function(i){return Nt(i,e)})}function Kl(r,t){if(!t.customMerge)return rt;var e=t.customMerge(r);return typeof e=="function"?e:rt}function Ql(r){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(r).filter(function(t){return Object.propertyIsEnumerable.call(r,t)}):[]}function Ts(r){return Object.keys(r).concat(Ql(r))}function Ko(r,t){try{return t in r}catch(e){return!1}}function ed(r,t){return Ko(r,t)&&!(Object.hasOwnProperty.call(r,t)&&Object.propertyIsEnumerable.call(r,t))}function td(r,t,e){var i={};return e.isMergeableObject(r)&&Ts(r).forEach(function(s){i[s]=Nt(r[s],e)}),Ts(t).forEach(function(s){ed(r,s)||(Ko(r,s)&&e.isMergeableObject(t[s])?i[s]=Kl(s,e)(r[s],t[s],e):i[s]=Nt(t[s],e))}),i}function rt(r,t,e){e=e||{},e.arrayMerge=e.arrayMerge||Jl,e.isMergeableObject=e.isMergeableObject||jl,e.cloneUnlessOtherwiseSpecified=Nt;var i=Array.isArray(t),s=Array.isArray(r),o=i===s;return o?i?e.arrayMerge(r,t,e):td(r,t,e):Nt(t,e)}rt.all=function(t,e){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(i,s){return rt(i,s,e)},{})};var rd=rt,id=rd;const sd=Ul(id);var _i=function(r,t){return _i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,i){e.__proto__=i}||function(e,i){for(var s in i)Object.prototype.hasOwnProperty.call(i,s)&&(e[s]=i[s])},_i(r,t)};function wr(r,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");_i(r,t);function e(){this.constructor=r}r.prototype=t===null?Object.create(t):(e.prototype=t.prototype,new e)}var Te=function(){return Te=Object.assign||function(t){for(var e,i=1,s=arguments.length;i<s;i++){e=arguments[i];for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])}return t},Te.apply(this,arguments)};function od(r,t){var e={};for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&t.indexOf(i)<0&&(e[i]=r[i]);if(r!=null&&typeof Object.getOwnPropertySymbols=="function")for(var s=0,i=Object.getOwnPropertySymbols(r);s<i.length;s++)t.indexOf(i[s])<0&&Object.prototype.propertyIsEnumerable.call(r,i[s])&&(e[i[s]]=r[i[s]]);return e}function zr(r,t,e){if(e||arguments.length===2)for(var i=0,s=t.length,o;i<s;i++)(o||!(i in t))&&(o||(o=Array.prototype.slice.call(t,0,i)),o[i]=t[i]);return r.concat(o||Array.prototype.slice.call(t))}function Fr(r,t){var e=t&&t.cache?t.cache:cd,i=t&&t.serializer?t.serializer:hd,s=t&&t.strategy?t.strategy:ld;return s(r,{cache:e,serializer:i})}function nd(r){return r==null||typeof r=="number"||typeof r=="boolean"}function ad(r,t,e,i){var s=nd(i)?i:e(i),o=t.get(s);return typeof o=="undefined"&&(o=r.call(this,i),t.set(s,o)),o}function Qo(r,t,e){var i=Array.prototype.slice.call(arguments,3),s=e(i),o=t.get(s);return typeof o=="undefined"&&(o=r.apply(this,i),t.set(s,o)),o}function en(r,t,e,i,s){return e.bind(t,r,i,s)}function ld(r,t){var e=r.length===1?ad:Qo;return en(r,this,e,t.cache.create(),t.serializer)}function dd(r,t){return en(r,this,Qo,t.cache.create(),t.serializer)}var hd=function(){return JSON.stringify(arguments)},ud=function(){function r(){this.cache=Object.create(null)}return r.prototype.get=function(t){return this.cache[t]},r.prototype.set=function(t,e){this.cache[t]=e},r}(),cd={create:function(){return new ud}},Vr={variadic:dd},lr=function(){return lr=Object.assign||function(t){for(var e,i=1,s=arguments.length;i<s;i++){e=arguments[i];for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])}return t},lr.apply(this,arguments)};var T;(function(r){r[r.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",r[r.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",r[r.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",r[r.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",r[r.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",r[r.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",r[r.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",r[r.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",r[r.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",r[r.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",r[r.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",r[r.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",r[r.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",r[r.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",r[r.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",r[r.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",r[r.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",r[r.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",r[r.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",r[r.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",r[r.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",r[r.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",r[r.INVALID_TAG=23]="INVALID_TAG",r[r.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",r[r.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",r[r.UNCLOSED_TAG=27]="UNCLOSED_TAG"})(T||(T={}));var j;(function(r){r[r.literal=0]="literal",r[r.argument=1]="argument",r[r.number=2]="number",r[r.date=3]="date",r[r.time=4]="time",r[r.select=5]="select",r[r.plural=6]="plural",r[r.pound=7]="pound",r[r.tag=8]="tag"})(j||(j={}));var it;(function(r){r[r.number=0]="number",r[r.dateTime=1]="dateTime"})(it||(it={}));function Is(r){return r.type===j.literal}function fd(r){return r.type===j.argument}function tn(r){return r.type===j.number}function rn(r){return r.type===j.date}function sn(r){return r.type===j.time}function on(r){return r.type===j.select}function nn(r){return r.type===j.plural}function pd(r){return r.type===j.pound}function an(r){return r.type===j.tag}function ln(r){return!!(r&&typeof r=="object"&&r.type===it.number)}function gi(r){return!!(r&&typeof r=="object"&&r.type===it.dateTime)}var dn=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,md=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function _d(r){var t={};return r.replace(md,function(e){var i=e.length;switch(e[0]){case"G":t.era=i===4?"long":i===5?"narrow":"short";break;case"y":t.year=i===2?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":t.month=["numeric","2-digit","short","long","narrow"][i-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][i-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=i===4?"long":i===5?"narrow":"short";break;case"e":if(i<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][i-4];break;case"c":if(i<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][i-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][i-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][i-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][i-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][i-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":t.minute=["numeric","2-digit"][i-1];break;case"s":t.second=["numeric","2-digit"][i-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=i<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),t}var X=function(){return X=Object.assign||function(t){for(var e,i=1,s=arguments.length;i<s;i++){e=arguments[i];for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])}return t},X.apply(this,arguments)};var gd=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function bd(r){if(r.length===0)throw new Error("Number skeleton cannot be empty");for(var t=r.split(gd).filter(function(f){return f.length>0}),e=[],i=0,s=t;i<s.length;i++){var o=s[i],n=o.split("/");if(n.length===0)throw new Error("Invalid number skeleton");for(var a=n[0],l=n.slice(1),d=0,h=l;d<h.length;d++){var u=h[d];if(u.length===0)throw new Error("Invalid number skeleton")}e.push({stem:a,options:l})}return e}function vd(r){return r.replace(/^(.*?)-/,"")}var Os=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,hn=/^(@+)?(\+|#+)?[rs]?$/g,yd=/(\*)(0+)|(#+)(0+)|(0+)/g,un=/^(0+)$/;function Ns(r){var t={};return r[r.length-1]==="r"?t.roundingPriority="morePrecision":r[r.length-1]==="s"&&(t.roundingPriority="lessPrecision"),r.replace(hn,function(e,i,s){return typeof s!="string"?(t.minimumSignificantDigits=i.length,t.maximumSignificantDigits=i.length):s==="+"?t.minimumSignificantDigits=i.length:i[0]==="#"?t.maximumSignificantDigits=i.length:(t.minimumSignificantDigits=i.length,t.maximumSignificantDigits=i.length+(typeof s=="string"?s.length:0)),""}),t}function cn(r){switch(r){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 wd(r){var t;if(r[0]==="E"&&r[1]==="E"?(t={notation:"engineering"},r=r.slice(2)):r[0]==="E"&&(t={notation:"scientific"},r=r.slice(1)),t){var e=r.slice(0,2);if(e==="+!"?(t.signDisplay="always",r=r.slice(2)):e==="+?"&&(t.signDisplay="exceptZero",r=r.slice(2)),!un.test(r))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=r.length}return t}function ks(r){var t={},e=cn(r);return e||t}function xd(r){for(var t={},e=0,i=r;e<i.length;e++){var s=i[e];switch(s.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=s.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=vd(s.options[0]);continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=X(X(X({},t),{notation:"scientific"}),s.options.reduce(function(l,d){return X(X({},l),ks(d))},{}));continue;case"engineering":t=X(X(X({},t),{notation:"engineering"}),s.options.reduce(function(l,d){return X(X({},l),ks(d))},{}));continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(s.options[0]);continue;case"rounding-mode-floor":t.roundingMode="floor";continue;case"rounding-mode-ceiling":t.roundingMode="ceil";continue;case"rounding-mode-down":t.roundingMode="trunc";continue;case"rounding-mode-up":t.roundingMode="expand";continue;case"rounding-mode-half-even":t.roundingMode="halfEven";continue;case"rounding-mode-half-down":t.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":t.roundingMode="halfExpand";continue;case"integer-width":if(s.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");s.options[0].replace(yd,function(l,d,h,u,f,m){if(d)t.minimumIntegerDigits=h.length;else{if(u&&f)throw new Error("We currently do not support maximum integer digits");if(m)throw new Error("We currently do not support exact integer digits")}return""});continue}if(un.test(s.stem)){t.minimumIntegerDigits=s.stem.length;continue}if(Os.test(s.stem)){if(s.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");s.stem.replace(Os,function(l,d,h,u,f,m){return h==="*"?t.minimumFractionDigits=d.length:u&&u[0]==="#"?t.maximumFractionDigits=u.length:f&&m?(t.minimumFractionDigits=f.length,t.maximumFractionDigits=f.length+m.length):(t.minimumFractionDigits=d.length,t.maximumFractionDigits=d.length),""});var o=s.options[0];o==="w"?t=X(X({},t),{trailingZeroDisplay:"stripIfInteger"}):o&&(t=X(X({},t),Ns(o)));continue}if(hn.test(s.stem)){t=X(X({},t),Ns(s.stem));continue}var n=cn(s.stem);n&&(t=X(X({},t),n));var a=wd(s.stem);a&&(t=X(X({},t),a))}return t}var Zt={"001":["H","h"],419:["h","H","hB","hb"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["h","H","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["h","H","hB","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["h","H","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["h","H","hB","hb"],CU:["h","H","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["h","H","hB","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["h","H","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["h","H","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["h","H","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["h","H","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["h","H","hB","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["h","H","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["h","H","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["h","H","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"en-HK":["h","hb","H","hB"],"en-IL":["H","h","hb","hB"],"en-MY":["h","hb","H","hB"],"es-BR":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]};function Pd(r,t){for(var e="",i=0;i<r.length;i++){var s=r.charAt(i);if(s==="j"){for(var o=0;i+1<r.length&&r.charAt(i+1)===s;)o++,i++;var n=1+(o&1),a=o<2?1:3+(o>>1),l="a",d=Ed(t);for((d=="H"||d=="k")&&(a=0);a-- >0;)e+=l;for(;n-- >0;)e=d+e}else s==="J"?e+="H":e+=s}return e}function Ed(r){var t=r.hourCycle;if(t===void 0&&r.hourCycles&&r.hourCycles.length&&(t=r.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var e=r.language,i;e!=="root"&&(i=r.maximize().region);var s=Zt[i||""]||Zt[e||""]||Zt["".concat(e,"-001")]||Zt["001"];return s[0]}var $r,Cd=new RegExp("^".concat(dn.source,"*")),Sd=new RegExp("".concat(dn.source,"*$"));function O(r,t){return{start:r,end:t}}var Ad=!!String.prototype.startsWith&&"_a".startsWith("a",1),Td=!!String.fromCodePoint,Id=!!Object.fromEntries,Od=!!String.prototype.codePointAt,Nd=!!String.prototype.trimStart,kd=!!String.prototype.trimEnd,Md=!!Number.isSafeInteger,Ld=Md?Number.isSafeInteger:function(r){return typeof r=="number"&&isFinite(r)&&Math.floor(r)===r&&Math.abs(r)<=9007199254740991},bi=!0;try{var Bd=pn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");bi=(($r=Bd.exec("a"))===null||$r===void 0?void 0:$r[0])==="a"}catch(r){bi=!1}var Ms=Ad?function(t,e,i){return t.startsWith(e,i)}:function(t,e,i){return t.slice(i,i+e.length)===e},vi=Td?String.fromCodePoint:function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];for(var i="",s=t.length,o=0,n;s>o;){if(n=t[o++],n>1114111)throw RangeError(n+" is not a valid code point");i+=n<65536?String.fromCharCode(n):String.fromCharCode(((n-=65536)>>10)+55296,n%1024+56320)}return i},Ls=Id?Object.fromEntries:function(t){for(var e={},i=0,s=t;i<s.length;i++){var o=s[i],n=o[0],a=o[1];e[n]=a}return e},fn=Od?function(t,e){return t.codePointAt(e)}:function(t,e){var i=t.length;if(!(e<0||e>=i)){var s=t.charCodeAt(e),o;return s<55296||s>56319||e+1===i||(o=t.charCodeAt(e+1))<56320||o>57343?s:(s-55296<<10)+(o-56320)+65536}},Rd=Nd?function(t){return t.trimStart()}:function(t){return t.replace(Cd,"")},Dd=kd?function(t){return t.trimEnd()}:function(t){return t.replace(Sd,"")};function pn(r,t){return new RegExp(r,t)}var yi;if(bi){var Bs=pn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");yi=function(t,e){var i;Bs.lastIndex=e;var s=Bs.exec(t);return(i=s[1])!==null&&i!==void 0?i:""}}else yi=function(t,e){for(var i=[];;){var s=fn(t,e);if(s===void 0||mn(s)||Vd(s))break;i.push(s),e+=s>=65536?2:1}return vi.apply(void 0,i)};var Hd=function(){function r(t,e){e===void 0&&(e={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!e.ignoreTag,this.locale=e.locale,this.requiresOtherClause=!!e.requiresOtherClause,this.shouldParseSkeletons=!!e.shouldParseSkeletons}return r.prototype.parse=function(){if(this.offset()!==0)throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},r.prototype.parseMessage=function(t,e,i){for(var s=[];!this.isEOF();){var o=this.char();if(o===123){var n=this.parseArgument(t,i);if(n.err)return n;s.push(n.val)}else{if(o===125&&t>0)break;if(o===35&&(e==="plural"||e==="selectordinal")){var a=this.clonePosition();this.bump(),s.push({type:j.pound,location:O(a,this.clonePosition())})}else if(o===60&&!this.ignoreTag&&this.peek()===47){if(i)break;return this.error(T.UNMATCHED_CLOSING_TAG,O(this.clonePosition(),this.clonePosition()))}else if(o===60&&!this.ignoreTag&&wi(this.peek()||0)){var n=this.parseTag(t,e);if(n.err)return n;s.push(n.val)}else{var n=this.parseLiteral(t,e);if(n.err)return n;s.push(n.val)}}}return{val:s,err:null}},r.prototype.parseTag=function(t,e){var i=this.clonePosition();this.bump();var s=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:j.literal,value:"<".concat(s,"/>"),location:O(i,this.clonePosition())},err:null};if(this.bumpIf(">")){var o=this.parseMessage(t+1,e,!0);if(o.err)return o;var n=o.val,a=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!wi(this.char()))return this.error(T.INVALID_TAG,O(a,this.clonePosition()));var l=this.clonePosition(),d=this.parseTagName();return s!==d?this.error(T.UNMATCHED_CLOSING_TAG,O(l,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:j.tag,value:s,children:n,location:O(i,this.clonePosition())},err:null}:this.error(T.INVALID_TAG,O(a,this.clonePosition())))}else return this.error(T.UNCLOSED_TAG,O(i,this.clonePosition()))}else return this.error(T.INVALID_TAG,O(i,this.clonePosition()))},r.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&Fd(this.char());)this.bump();return this.message.slice(t,this.offset())},r.prototype.parseLiteral=function(t,e){for(var i=this.clonePosition(),s="";;){var o=this.tryParseQuote(e);if(o){s+=o;continue}var n=this.tryParseUnquoted(t,e);if(n){s+=n;continue}var a=this.tryParseLeftAngleBracket();if(a){s+=a;continue}break}var l=O(i,this.clonePosition());return{val:{type:j.literal,value:s,location:l},err:null}},r.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!zd(this.peek()||0))?(this.bump(),"<"):null},r.prototype.tryParseQuote=function(t){if(this.isEOF()||this.char()!==39)return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if(t==="plural"||t==="selectordinal")break;return null;default:return null}this.bump();var e=[this.char()];for(this.bump();!this.isEOF();){var i=this.char();if(i===39)if(this.peek()===39)e.push(39),this.bump();else{this.bump();break}else e.push(i);this.bump()}return vi.apply(void 0,e)},r.prototype.tryParseUnquoted=function(t,e){if(this.isEOF())return null;var i=this.char();return i===60||i===123||i===35&&(e==="plural"||e==="selectordinal")||i===125&&t>0?null:(this.bump(),vi(i))},r.prototype.parseArgument=function(t,e){var i=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(T.EXPECT_ARGUMENT_CLOSING_BRACE,O(i,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(T.EMPTY_ARGUMENT,O(i,this.clonePosition()));var s=this.parseIdentifierIfPossible().value;if(!s)return this.error(T.MALFORMED_ARGUMENT,O(i,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(T.EXPECT_ARGUMENT_CLOSING_BRACE,O(i,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:j.argument,value:s,location:O(i,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(T.EXPECT_ARGUMENT_CLOSING_BRACE,O(i,this.clonePosition())):this.parseArgumentOptions(t,e,s,i);default:return this.error(T.MALFORMED_ARGUMENT,O(i,this.clonePosition()))}},r.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),e=this.offset(),i=yi(this.message,e),s=e+i.length;this.bumpTo(s);var o=this.clonePosition(),n=O(t,o);return{value:i,location:n}},r.prototype.parseArgumentOptions=function(t,e,i,s){var o,n=this.clonePosition(),a=this.parseIdentifierIfPossible().value,l=this.clonePosition();switch(a){case"":return this.error(T.EXPECT_ARGUMENT_TYPE,O(n,l));case"number":case"date":case"time":{this.bumpSpace();var d=null;if(this.bumpIf(",")){this.bumpSpace();var h=this.clonePosition(),u=this.parseSimpleArgStyleIfPossible();if(u.err)return u;var f=Dd(u.val);if(f.length===0)return this.error(T.EXPECT_ARGUMENT_STYLE,O(this.clonePosition(),this.clonePosition()));var m=O(h,this.clonePosition());d={style:f,styleLocation:m}}var _=this.tryParseArgumentClose(s);if(_.err)return _;var b=O(s,this.clonePosition());if(d&&Ms(d==null?void 0:d.style,"::",0)){var w=Rd(d.style.slice(2));if(a==="number"){var u=this.parseNumberSkeletonFromString(w,d.styleLocation);return u.err?u:{val:{type:j.number,value:i,location:b,style:u.val},err:null}}else{if(w.length===0)return this.error(T.EXPECT_DATE_TIME_SKELETON,b);var y=w;this.locale&&(y=Pd(w,this.locale));var f={type:it.dateTime,pattern:y,location:d.styleLocation,parsedOptions:this.shouldParseSkeletons?_d(y):{}},v=a==="date"?j.date:j.time;return{val:{type:v,value:i,location:b,style:f},err:null}}}return{val:{type:a==="number"?j.number:a==="date"?j.date:j.time,value:i,location:b,style:(o=d==null?void 0:d.style)!==null&&o!==void 0?o:null},err:null}}case"plural":case"selectordinal":case"select":{var C=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(T.EXPECT_SELECT_ARGUMENT_OPTIONS,O(C,lr({},C)));this.bumpSpace();var E=this.parseIdentifierIfPossible(),S=0;if(a!=="select"&&E.value==="offset"){if(!this.bumpIf(":"))return this.error(T.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,O(this.clonePosition(),this.clonePosition()));this.bumpSpace();var u=this.tryParseDecimalInteger(T.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,T.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(u.err)return u;this.bumpSpace(),E=this.parseIdentifierIfPossible(),S=u.val}var $=this.tryParsePluralOrSelectOptions(t,a,e,E);if($.err)return $;var _=this.tryParseArgumentClose(s);if(_.err)return _;var L=O(s,this.clonePosition());return a==="select"?{val:{type:j.select,value:i,options:Ls($.val),location:L},err:null}:{val:{type:j.plural,value:i,options:Ls($.val),offset:S,pluralType:a==="plural"?"cardinal":"ordinal",location:L},err:null}}default:return this.error(T.INVALID_ARGUMENT_TYPE,O(n,l))}},r.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(T.EXPECT_ARGUMENT_CLOSING_BRACE,O(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},r.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,e=this.clonePosition();!this.isEOF();){var i=this.char();switch(i){case 39:{this.bump();var s=this.clonePosition();if(!this.bumpUntil("'"))return this.error(T.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,O(s,this.clonePosition()));this.bump();break}case 123:{t+=1,this.bump();break}case 125:{if(t>0)t-=1;else return{val:this.message.slice(e.offset,this.offset()),err:null};break}default:this.bump();break}}return{val:this.message.slice(e.offset,this.offset()),err:null}},r.prototype.parseNumberSkeletonFromString=function(t,e){var i=[];try{i=bd(t)}catch(s){return this.error(T.INVALID_NUMBER_SKELETON,e)}return{val:{type:it.number,tokens:i,location:e,parsedOptions:this.shouldParseSkeletons?xd(i):{}},err:null}},r.prototype.tryParsePluralOrSelectOptions=function(t,e,i,s){for(var o,n=!1,a=[],l=new Set,d=s.value,h=s.location;;){if(d.length===0){var u=this.clonePosition();if(e!=="select"&&this.bumpIf("=")){var f=this.tryParseDecimalInteger(T.EXPECT_PLURAL_ARGUMENT_SELECTOR,T.INVALID_PLURAL_ARGUMENT_SELECTOR);if(f.err)return f;h=O(u,this.clonePosition()),d=this.message.slice(u.offset,this.offset())}else break}if(l.has(d))return this.error(e==="select"?T.DUPLICATE_SELECT_ARGUMENT_SELECTOR:T.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,h);d==="other"&&(n=!0),this.bumpSpace();var m=this.clonePosition();if(!this.bumpIf("{"))return this.error(e==="select"?T.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:T.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,O(this.clonePosition(),this.clonePosition()));var _=this.parseMessage(t+1,e,i);if(_.err)return _;var b=this.tryParseArgumentClose(m);if(b.err)return b;a.push([d,{value:_.val,location:O(m,this.clonePosition())}]),l.add(d),this.bumpSpace(),o=this.parseIdentifierIfPossible(),d=o.value,h=o.location}return a.length===0?this.error(e==="select"?T.EXPECT_SELECT_ARGUMENT_SELECTOR:T.EXPECT_PLURAL_ARGUMENT_SELECTOR,O(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!n?this.error(T.MISSING_OTHER_CLAUSE,O(this.clonePosition(),this.clonePosition())):{val:a,err:null}},r.prototype.tryParseDecimalInteger=function(t,e){var i=1,s=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(i=-1);for(var o=!1,n=0;!this.isEOF();){var a=this.char();if(a>=48&&a<=57)o=!0,n=n*10+(a-48),this.bump();else break}var l=O(s,this.clonePosition());return o?(n*=i,Ld(n)?{val:n,err:null}:this.error(e,l)):this.error(t,l)},r.prototype.offset=function(){return this.position.offset},r.prototype.isEOF=function(){return this.offset()===this.message.length},r.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},r.prototype.char=function(){var t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");var e=fn(this.message,t);if(e===void 0)throw Error("Offset ".concat(t," is at invalid UTF-16 code unit boundary"));return e},r.prototype.error=function(t,e){return{val:null,err:{kind:t,message:this.message,location:e}}},r.prototype.bump=function(){if(!this.isEOF()){var t=this.char();t===10?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=t<65536?1:2)}},r.prototype.bumpIf=function(t){if(Ms(this.message,t,this.offset())){for(var e=0;e<t.length;e++)this.bump();return!0}return!1},r.prototype.bumpUntil=function(t){var e=this.offset(),i=this.message.indexOf(t,e);return i>=0?(this.bumpTo(i),!0):(this.bumpTo(this.message.length),!1)},r.prototype.bumpTo=function(t){if(this.offset()>t)throw Error("targetOffset ".concat(t," must be greater than or equal to the current offset ").concat(this.offset()));for(t=Math.min(t,this.message.length);;){var e=this.offset();if(e===t)break;if(e>t)throw Error("targetOffset ".concat(t," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},r.prototype.bumpSpace=function(){for(;!this.isEOF()&&mn(this.char());)this.bump()},r.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),e=this.offset(),i=this.message.charCodeAt(e+(t>=65536?2:1));return i!=null?i:null},r}();function wi(r){return r>=97&&r<=122||r>=65&&r<=90}function zd(r){return wi(r)||r===47}function Fd(r){return r===45||r===46||r>=48&&r<=57||r===95||r>=97&&r<=122||r>=65&&r<=90||r==183||r>=192&&r<=214||r>=216&&r<=246||r>=248&&r<=893||r>=895&&r<=8191||r>=8204&&r<=8205||r>=8255&&r<=8256||r>=8304&&r<=8591||r>=11264&&r<=12271||r>=12289&&r<=55295||r>=63744&&r<=64975||r>=65008&&r<=65533||r>=65536&&r<=983039}function mn(r){return r>=9&&r<=13||r===32||r===133||r>=8206&&r<=8207||r===8232||r===8233}function Vd(r){return r>=33&&r<=35||r===36||r>=37&&r<=39||r===40||r===41||r===42||r===43||r===44||r===45||r>=46&&r<=47||r>=58&&r<=59||r>=60&&r<=62||r>=63&&r<=64||r===91||r===92||r===93||r===94||r===96||r===123||r===124||r===125||r===126||r===161||r>=162&&r<=165||r===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<=8213||r>=8214&&r<=8215||r===8216||r===8217||r===8218||r>=8219&&r<=8220||r===8221||r===8222||r===8223||r>=8224&&r<=8231||r>=8240&&r<=8248||r===8249||r===8250||r>=8251&&r<=8254||r>=8257&&r<=8259||r===8260||r===8261||r===8262||r>=8263&&r<=8273||r===8274||r===8275||r>=8277&&r<=8286||r>=8592&&r<=8596||r>=8597&&r<=8601||r>=8602&&r<=8603||r>=8604&&r<=8607||r===8608||r>=8609&&r<=8610||r===8611||r>=8612&&r<=8613||r===8614||r>=8615&&r<=8621||r===8622||r>=8623&&r<=8653||r>=8654&&r<=8655||r>=8656&&r<=8657||r===8658||r===8659||r===8660||r>=8661&&r<=8691||r>=8692&&r<=8959||r>=8960&&r<=8967||r===8968||r===8969||r===8970||r===8971||r>=8972&&r<=8991||r>=8992&&r<=8993||r>=8994&&r<=9e3||r===9001||r===9002||r>=9003&&r<=9083||r===9084||r>=9085&&r<=9114||r>=9115&&r<=9139||r>=9140&&r<=9179||r>=9180&&r<=9185||r>=9186&&r<=9254||r>=9255&&r<=9279||r>=9280&&r<=9290||r>=9291&&r<=9311||r>=9472&&r<=9654||r===9655||r>=9656&&r<=9664||r===9665||r>=9666&&r<=9719||r>=9720&&r<=9727||r>=9728&&r<=9838||r===9839||r>=9840&&r<=10087||r===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<=10175||r>=10176&&r<=10180||r===10181||r===10182||r>=10183&&r<=10213||r===10214||r===10215||r===10216||r===10217||r===10218||r===10219||r===10220||r===10221||r===10222||r===10223||r>=10224&&r<=10239||r>=10240&&r<=10495||r>=10496&&r<=10626||r===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<=10711||r===10712||r===10713||r===10714||r===10715||r>=10716&&r<=10747||r===10748||r===10749||r>=10750&&r<=11007||r>=11008&&r<=11055||r>=11056&&r<=11076||r>=11077&&r<=11078||r>=11079&&r<=11084||r>=11085&&r<=11123||r>=11124&&r<=11125||r>=11126&&r<=11157||r===11158||r>=11159&&r<=11263||r>=11776&&r<=11777||r===11778||r===11779||r===11780||r===11781||r>=11782&&r<=11784||r===11785||r===11786||r===11787||r===11788||r===11789||r>=11790&&r<=11798||r===11799||r>=11800&&r<=11801||r===11802||r===11803||r===11804||r===11805||r>=11806&&r<=11807||r===11808||r===11809||r===11810||r===11811||r===11812||r===11813||r===11814||r===11815||r===11816||r===11817||r>=11818&&r<=11822||r===11823||r>=11824&&r<=11833||r>=11834&&r<=11835||r>=11836&&r<=11839||r===11840||r===11841||r===11842||r>=11843&&r<=11855||r>=11856&&r<=11857||r===11858||r>=11859&&r<=11903||r>=12289&&r<=12291||r===12296||r===12297||r===12298||r===12299||r===12300||r===12301||r===12302||r===12303||r===12304||r===12305||r>=12306&&r<=12307||r===12308||r===12309||r===12310||r===12311||r===12312||r===12313||r===12314||r===12315||r===12316||r===12317||r>=12318&&r<=12319||r===12320||r===12336||r===64830||r===64831||r>=65093&&r<=65094}function xi(r){r.forEach(function(t){if(delete t.location,on(t)||nn(t))for(var e in t.options)delete t.options[e].location,xi(t.options[e].value);else tn(t)&&ln(t.style)||(rn(t)||sn(t))&&gi(t.style)?delete t.style.location:an(t)&&xi(t.children)})}function $d(r,t){t===void 0&&(t={}),t=lr({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var e=new Hd(r,t).parse();if(e.err){var i=SyntaxError(T[e.err.kind]);throw i.location=e.err.location,i.originalMessage=e.err.message,i}return t!=null&&t.captureLocation||xi(e.val),e.val}var st;(function(r){r.MISSING_VALUE="MISSING_VALUE",r.INVALID_VALUE="INVALID_VALUE",r.MISSING_INTL_API="MISSING_INTL_API"})(st||(st={}));var xr=function(r){wr(t,r);function t(e,i,s){var o=r.call(this,e)||this;return o.code=i,o.originalMessage=s,o}return t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),Rs=function(r){wr(t,r);function t(e,i,s,o){return r.call(this,'Invalid values for "'.concat(e,'": "').concat(i,'". Options are "').concat(Object.keys(s).join('", "'),'"'),st.INVALID_VALUE,o)||this}return t}(xr),Ud=function(r){wr(t,r);function t(e,i,s){return r.call(this,'Value for "'.concat(e,'" must be of type ').concat(i),st.INVALID_VALUE,s)||this}return t}(xr),jd=function(r){wr(t,r);function t(e,i){return r.call(this,'The intl string context variable "'.concat(e,'" was not provided to the string "').concat(i,'"'),st.MISSING_VALUE,i)||this}return t}(xr),fe;(function(r){r[r.literal=0]="literal",r[r.object=1]="object"})(fe||(fe={}));function Gd(r){return r.length<2?r:r.reduce(function(t,e){var i=t[t.length-1];return!i||i.type!==fe.literal||e.type!==fe.literal?t.push(e):i.value+=e.value,t},[])}function Wd(r){return typeof r=="function"}function ir(r,t,e,i,s,o,n){if(r.length===1&&Is(r[0]))return[{type:fe.literal,value:r[0].value}];for(var a=[],l=0,d=r;l<d.length;l++){var h=d[l];if(Is(h)){a.push({type:fe.literal,value:h.value});continue}if(pd(h)){typeof o=="number"&&a.push({type:fe.literal,value:e.getNumberFormat(t).format(o)});continue}var u=h.value;if(!(s&&u in s))throw new jd(u,n);var f=s[u];if(fd(h)){(!f||typeof f=="string"||typeof f=="number")&&(f=typeof f=="string"||typeof f=="number"?String(f):""),a.push({type:typeof f=="string"?fe.literal:fe.object,value:f});continue}if(rn(h)){var m=typeof h.style=="string"?i.date[h.style]:gi(h.style)?h.style.parsedOptions:void 0;a.push({type:fe.literal,value:e.getDateTimeFormat(t,m).format(f)});continue}if(sn(h)){var m=typeof h.style=="string"?i.time[h.style]:gi(h.style)?h.style.parsedOptions:i.time.medium;a.push({type:fe.literal,value:e.getDateTimeFormat(t,m).format(f)});continue}if(tn(h)){var m=typeof h.style=="string"?i.number[h.style]:ln(h.style)?h.style.parsedOptions:void 0;m&&m.scale&&(f=f*(m.scale||1)),a.push({type:fe.literal,value:e.getNumberFormat(t,m).format(f)});continue}if(an(h)){var _=h.children,b=h.value,w=s[b];if(!Wd(w))throw new Ud(b,"function",n);var y=ir(_,t,e,i,s,o),v=w(y.map(function(S){return S.value}));Array.isArray(v)||(v=[v]),a.push.apply(a,v.map(function(S){return{type:typeof S=="string"?fe.literal:fe.object,value:S}}))}if(on(h)){var C=h.options[f]||h.options.other;if(!C)throw new Rs(h.value,f,Object.keys(h.options),n);a.push.apply(a,ir(C.value,t,e,i,s));continue}if(nn(h)){var C=h.options["=".concat(f)];if(!C){if(!Intl.PluralRules)throw new xr(`Intl.PluralRules is not available in this environment.
|
|
17
17
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
18
|
-
`,st.MISSING_INTL_API,n);var E=e.getPluralRules(t,{type:h.pluralType}).select(f-(h.offset||0));C=h.options[E]||h.options.other}if(!C)throw new Rs(h.value,f,Object.keys(h.options),n);a.push.apply(a,ir(C.value,t,e,i,s,f-(h.offset||0)));continue}}return Gd(a)}function qd(r,t){return t?Te(Te(Te({},r||{}),t||{}),Object.keys(r).reduce(function(e,i){return e[i]=Te(Te({},r[i]),t[i]||{}),e},{})):r}function Yd(r,t){return t?Object.keys(r).reduce(function(e,i){return e[i]=qd(r[i],t[i]),e},Te({},r)):r}function Ur(r){return{create:function(){return{get:function(t){return r[t]},set:function(t,e){r[t]=e}}}}}function Zd(r){return r===void 0&&(r={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:Fr(function(){for(var t,e=[],i=0;i<arguments.length;i++)e[i]=arguments[i];return new((t=Intl.NumberFormat).bind.apply(t,zr([void 0],e,!1)))},{cache:Ur(r.number),strategy:Vr.variadic}),getDateTimeFormat:Fr(function(){for(var t,e=[],i=0;i<arguments.length;i++)e[i]=arguments[i];return new((t=Intl.DateTimeFormat).bind.apply(t,zr([void 0],e,!1)))},{cache:Ur(r.dateTime),strategy:Vr.variadic}),getPluralRules:Fr(function(){for(var t,e=[],i=0;i<arguments.length;i++)e[i]=arguments[i];return new((t=Intl.PluralRules).bind.apply(t,zr([void 0],e,!1)))},{cache:Ur(r.pluralRules),strategy:Vr.variadic})}}var Xd=function(){function r(t,e,i,s){e===void 0&&(e=r.defaultLocale);var o=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(l){var d=o.formatToParts(l);if(d.length===1)return d[0].value;var h=d.reduce(function(u,f){return!u.length||f.type!==fe.literal||typeof u[u.length-1]!="string"?u.push(f.value):u[u.length-1]+=f.value,u},[]);return h.length<=1?h[0]||"":h},this.formatToParts=function(l){return ir(o.ast,o.locales,o.formatters,o.formats,l,void 0,o.message)},this.resolvedOptions=function(){var l;return{locale:((l=o.resolvedLocale)===null||l===void 0?void 0:l.toString())||Intl.NumberFormat.supportedLocalesOf(o.locales)[0]}},this.getAst=function(){return o.ast},this.locales=e,this.resolvedLocale=r.resolveLocale(e),typeof t=="string"){if(this.message=t,!r.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var n=s||{};n.formatters;var a=od(n,["formatters"]);this.ast=r.__parse(t,Te(Te({},a),{locale:this.resolvedLocale}))}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=Yd(r.formats,i),this.formatters=s&&s.formatters||Zd(this.formatterCache)}return Object.defineProperty(r,"defaultLocale",{get:function(){return r.memoizedDefaultLocale||(r.memoizedDefaultLocale=new Intl.NumberFormat().resolvedOptions().locale),r.memoizedDefaultLocale},enumerable:!1,configurable:!0}),r.memoizedDefaultLocale=null,r.resolveLocale=function(t){if(typeof Intl.Locale!="undefined"){var e=Intl.NumberFormat.supportedLocalesOf(t);return e.length>0?new Intl.Locale(e[0]):new Intl.Locale(typeof t=="string"?t:t[0])}},r.__parse=$d,r.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"}}},r}();function Jd(r,t){if(t==null)return;if(t in r)return r[t];const e=t.split(".");let i=r;for(let s=0;s<e.length;s++)if(typeof i=="object"){if(s>0){const o=e.slice(s,e.length).join(".");if(o in i){i=i[o];break}}i=i[e[s]]}else i=void 0;return i}const Me={},Kd=(r,t,e)=>e&&(t in Me||(Me[t]={}),r in Me[t]||(Me[t][r]=e),e),_n=(r,t)=>{if(t==null)return;if(t in Me&&r in Me[t])return Me[t][r];const e=Pr(t);for(let i=0;i<e.length;i++){const s=e[i],o=eh(s,r);if(o)return Kd(r,t,o)}};let Ui;const ht=yr({});function Qd(r){return Ui[r]||null}function gn(r){return r in Ui}function eh(r,t){if(!gn(r))return null;const e=Qd(r);return Jd(e,t)}function th(r){if(r==null)return;const t=Pr(r);for(let e=0;e<t.length;e++){const i=t[e];if(gn(i))return i}}function bn(r,...t){delete Me[r],ht.update(e=>(e[r]=sd.all([e[r]||{},...t]),e))}dt([ht],([r])=>Object.keys(r));ht.subscribe(r=>Ui=r);const sr={};function rh(r,t){sr[r].delete(t),sr[r].size===0&&delete sr[r]}function vn(r){return sr[r]}function ih(r){return Pr(r).map(t=>{const e=vn(t);return[t,e?[...e]:[]]}).filter(([,t])=>t.length>0)}function Pi(r){return r==null?!1:Pr(r).some(t=>{var e;return(e=vn(t))==null?void 0:e.size})}function sh(r,t){return Promise.all(t.map(i=>(rh(r,i),i().then(s=>s.default||s)))).then(i=>bn(r,...i))}const gt={};function yn(r){if(!Pi(r))return r in gt?gt[r]:Promise.resolve();const t=ih(r);return gt[r]=Promise.all(t.map(([e,i])=>sh(e,i))).then(()=>{if(Pi(r))return yn(r);delete gt[r]}),gt[r]}const oh={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"}}},nh={fallbackLocale:null,loadingDelay:200,formats:oh,warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0},ah=nh;function ot(){return ah}const jr=yr(!1);var lh=Object.defineProperty,dh=Object.defineProperties,hh=Object.getOwnPropertyDescriptors,Ds=Object.getOwnPropertySymbols,uh=Object.prototype.hasOwnProperty,ch=Object.prototype.propertyIsEnumerable,Hs=(r,t,e)=>t in r?lh(r,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):r[t]=e,fh=(r,t)=>{for(var e in t||(t={}))uh.call(t,e)&&Hs(r,e,t[e]);if(Ds)for(var e of Ds(t))ch.call(t,e)&&Hs(r,e,t[e]);return r},ph=(r,t)=>dh(r,hh(t));let Ei;const dr=yr(null);function zs(r){return r.split("-").map((t,e,i)=>i.slice(0,e+1).join("-")).reverse()}function Pr(r,t=ot().fallbackLocale){const e=zs(r);return t?[...new Set([...e,...zs(t)])]:e}function Ue(){return Ei!=null?Ei:void 0}dr.subscribe(r=>{Ei=r!=null?r:void 0,typeof window!="undefined"&&r!=null&&document.documentElement.setAttribute("lang",r)});const mh=r=>{if(r&&th(r)&&Pi(r)){const{loadingDelay:t}=ot();let e;return typeof window!="undefined"&&Ue()!=null&&t?e=window.setTimeout(()=>jr.set(!0),t):jr.set(!0),yn(r).then(()=>{dr.set(r)}).finally(()=>{clearTimeout(e),jr.set(!1)})}return dr.set(r)},Be=ph(fh({},dr),{set:mh}),Er=r=>{const t=Object.create(null);return i=>{const s=JSON.stringify(i);return s in t?t[s]:t[s]=r(i)}};var _h=Object.defineProperty,hr=Object.getOwnPropertySymbols,wn=Object.prototype.hasOwnProperty,xn=Object.prototype.propertyIsEnumerable,Fs=(r,t,e)=>t in r?_h(r,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):r[t]=e,ji=(r,t)=>{for(var e in t||(t={}))wn.call(t,e)&&Fs(r,e,t[e]);if(hr)for(var e of hr(t))xn.call(t,e)&&Fs(r,e,t[e]);return r},ut=(r,t)=>{var e={};for(var i in r)wn.call(r,i)&&t.indexOf(i)<0&&(e[i]=r[i]);if(r!=null&&hr)for(var i of hr(r))t.indexOf(i)<0&&xn.call(r,i)&&(e[i]=r[i]);return e};const kt=(r,t)=>{const{formats:e}=ot();if(r in e&&t in e[r])return e[r][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${r} format.`)},gh=Er(r=>{var t=r,{locale:e,format:i}=t,s=ut(t,["locale","format"]);if(e==null)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return i&&(s=kt("number",i)),new Intl.NumberFormat(e,s)}),bh=Er(r=>{var t=r,{locale:e,format:i}=t,s=ut(t,["locale","format"]);if(e==null)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return i?s=kt("date",i):Object.keys(s).length===0&&(s=kt("date","short")),new Intl.DateTimeFormat(e,s)}),vh=Er(r=>{var t=r,{locale:e,format:i}=t,s=ut(t,["locale","format"]);if(e==null)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return i?s=kt("time",i):Object.keys(s).length===0&&(s=kt("time","short")),new Intl.DateTimeFormat(e,s)}),yh=(r={})=>{var t=r,{locale:e=Ue()}=t,i=ut(t,["locale"]);return gh(ji({locale:e},i))},wh=(r={})=>{var t=r,{locale:e=Ue()}=t,i=ut(t,["locale"]);return bh(ji({locale:e},i))},xh=(r={})=>{var t=r,{locale:e=Ue()}=t,i=ut(t,["locale"]);return vh(ji({locale:e},i))},Ph=Er((r,t=Ue())=>new Xd(r,t,ot().formats,{ignoreTag:ot().ignoreTag})),Eh=(r,t={})=>{var e,i,s,o;let n=t;typeof r=="object"&&(n=r,r=n.id);const{values:a,locale:l=Ue(),default:d}=n;if(l==null)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let h=_n(r,l);if(!h)h=(o=(s=(i=(e=ot()).handleMissingMessage)==null?void 0:i.call(e,{locale:l,id:r,defaultValue:d}))!=null?s:d)!=null?o:r;else if(typeof h!="string")return console.warn(`[svelte-i18n] Message with id "${r}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),h;if(!a)return h;let u=h;try{u=Ph(h,l).format(a)}catch(f){f instanceof Error&&console.warn(`[svelte-i18n] Message "${r}" has syntax error:`,f.message)}return u},Ch=(r,t)=>xh(t).format(r),Sh=(r,t)=>wh(t).format(r),Ah=(r,t)=>yh(t).format(r),Th=(r,t=Ue())=>_n(r,t),Ih=dt([Be,ht],()=>Eh);dt([Be],()=>Ch);dt([Be],()=>Sh);dt([Be],()=>Ah);dt([Be,ht],()=>Th);window.emWidgets={topic:Vl};const Oh=r=>!!(r.toLowerCase().match(/android/i)||r.toLowerCase().match(/blackberry|bb/i)||r.toLowerCase().match(/iphone|ipad|ipod/i)||r.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));function Nh({withLocale:r,translations:t}){Be.subscribe(e=>{e==null&&(ht.set(t),Be.set(r))})}function Vs(r,t){bn(r,t)}function kh(r){Be.set(r)}const $s={en:{day:"Day",month:"Month",year:"Year",goToLogin:"Back to Sign In",forgotPasswordTitle:"Forgot Password",resetPasswordSubtitle:"Please reset your password.",hasToSetPassTitle:"Reset Password",forgotPasswordEmail:"Email",forgotPasswordEmailInputError:"Email should contain '@' and a 2-3 letter long domain.",forgotPasswordEmailError:"This email does not exist.",forgotPasswordReset:"Reset Password",forgotPasswordSuccess:"Success!",forgotPasswordSuccessDescription:"We sent an email with the instructions to reset your password.",forgotNewPasswordTitle:"New Password",forgotNewPasswordPassword:"Password",forgotNewPasswordPasswordError:"The password should be 8-20 characters long, and contain at least 1 uppercase letter, 1 number and 1 special character.",forgotNewPasswordConfirmPassword:"Confirm Password",forgotNewPasswordConfirmPasswordError:"Confirm password must match the new password and must follow the same rules.",forgotNewPasswordButton:"Change Password",forgotChangePasswordTitle:"Success!",forgotChangePasswordDescription:"Your password has been changed successfully.",forgotChangePasswordLogin:"Click here to Login",simplePasswordError:"Password must be 8-20 characters long.",dobFormatError:"The format for the date of birth isn't done according with the widget documentation.",generalError:"There was an error while making your request. Please try again...",1e3:"Invalid, used or expired user key",1164:"Your new password is too similar to a previous one. Please choose a password that you haven’t used recently."},hr:{day:"Dan",month:"Mjesec",year:"Godina",goToLogin:"Natrag na prijavu",forgotPasswordTitle:"Zaboravljena lozinka",resetPasswordSubtitle:"Molimo resetirajte svoju lozinku.",hasToSetPassTitle:"Resetiraj Lozinku",forgotPasswordEmail:"Email",forgotPasswordEmailInputError:"Email treba sadržavati '@' i domenu od 2-3 slova.",forgotPasswordEmailError:"Ovaj email ne postoji.",forgotPasswordReset:"Resetiranje lozinke",forgotPasswordSuccess:"Uspjelo!",forgotPasswordSuccessDescription:"Poslali smo e-mail s uputama za ponovno postavljanje lozinke.",forgotNewPasswordTitle:"Nova Lozinka",forgotNewPasswordPassword:"Lozinka",forgotNewPasswordPasswordError:"Lozinka bi trebala imati 8-20 znakova",forgotNewPasswordConfirmPassword:"Potvrdi lozinku",forgotNewPasswordConfirmPasswordError:"Lozinka za potvrdu mora odgovarati novoj lozinci i mora slijediti ista pravila.",forgotNewPasswordButton:"Promjena lozinke",forgotChangePasswordTitle:"Uspjelo!",forgotChangePasswordDescription:"Vaša lozinka je uspješno promijenjena.",forgotChangePasswordLogin:"Kliknite ovdje za prijavu",simplePasswordError:"Lozinka mora imati 8-20 znakova.","forgotPasswordE-mail":"E-mail","forgotPasswordE-mailInputError":"E-mail treba sadržavati '@' i domenu od 2-3 slova.","forgotPasswordE-mailError":"Ovaj E-mail ne postoji.",dobFormatError:"Format datuma rođenja nije u skladu s dokumentacijom widgeta.",generalError:"Došlo je do pogreške prilikom obrade vašeg zahtjeva. Molimo pokušajte ponovno...",1e3:"Nevažeći, korišten ili istekao korisnički ključ",1164:"Vaša nova lozinka je previše slična prethodnoj. Molimo odaberite lozinku koju nedavno niste koristili."},"zh-hk":{day:"天",month:"月",year:"年",goToLogin:"返回登錄",forgotPasswordTitle:"忘記密碼",resetPasswordSubtitle:"Please reset your password.",hasToSetPassTitle:"Reset Password",forgotPasswordEmail:"電子郵件",forgotPasswordEmailInputError:"电子邮件应包含“@”和 2-3 个字母长的域。",forgotPasswordEmailError:"此電子郵件不存在。",forgotPasswordReset:"重設密碼",forgotPasswordSuccess:"成功!",forgotPasswordSuccessDescription:"我們發送了一封電子郵件,其中包含重置密碼的說明。",forgotNewPasswordTitle:"新密碼",forgotNewPasswordPassword:"密碼",forgotNewPasswordPasswordError:"密碼長度為 8-20 個字符,至少包含 1 個大寫字母、1 個數字和 1 個特殊字符。",forgotNewPasswordConfirmPassword:"確認密碼",forgotNewPasswordConfirmPasswordError:"確認密碼必須與新密碼匹配,並且必須遵循相同的規則。",forgotNewPasswordButton:"更改密碼",forgotChangePasswordTitle:"成功!",forgotChangePasswordDescription:"你已經成功更改密碼。",forgotChangePasswordLogin:"點擊此處登錄",simplePasswordError:"密码长度必须为 8-20 个字符。",dobFormatError:"出生日期的格式不符合小部件文件的規定。",generalError:"您的請求出現錯誤。請再試一次...",1e3:"無效、已使用或過期的用戶密鑰",1164:"您的新密碼與之前使用的密碼過於相似。請選擇一個最近未曾使用過的密碼。"},fr:{day:"Jour",month:"Mois",year:"Année",goToLogin:"Retour à la page d'accueil",forgotPasswordTitle:"Mot de passe oublié",resetPasswordSubtitle:"Please reset your password.",hasToSetPassTitle:"Reset Password",forgotPasswordEmail:"Email",forgotPasswordEmailInputError:"L'e-mail doit contenir '@' et un domaine de 2-3 lettres.",forgotPasswordEmailError:"Cette adresse mail n'existe pas",forgotPasswordReset:"Réinitialiser le mot de passe",forgotPasswordSuccess:"Succès!",forgotPasswordSuccessDescription:"Nous vous avons envoyé un e-mail contenant les instructions pour reinitialiser votre mot de passe.",forgotNewPasswordTitle:"Nouveau mot de passe",forgotNewPasswordPassword:"Mot de passe",forgotNewPasswordPasswordError:"Le mot de passe doit comporter de 8 à 20 charactères et contenir au moins une lettre majuscule, un chiffre et un caractère spécial",forgotNewPasswordConfirmPassword:"Confirmer le mot de passe",forgotNewPasswordConfirmPasswordError:"Le mot de passe de confirmation doit correspondre au nouveau mot de passe et doit suivre les mêmes règles.",forgotNewPasswordButton:"Modifier le mot de passe",forgotChangePasswordTitle:"Succès!",forgotChangePasswordDescription:"Votre mot de passe a été modifié avec succès.",forgotChangePasswordLogin:"Cliquez ici pour vous connecter",simplePasswordError:"Le mot de passe doit comporter entre 8 et 20 caractères.",dobFormatError:"Le format de la date de naissance n'est pas conforme à la documentation du widget.",generalError:"Une erreur s'est produite lors de votre demande. Veuillez réessayer...",1e3:"Clé utilisateur invalide, utilisée ou expirée",1164:"Votre nouveau mot de passe est trop similaire à un ancien. Veuillez en choisir un que vous n’avez pas utilisé récemment."},tr:{day:"Gün",month:"Ay",year:"Yıl",goToLogin:"Oturum Açmaya Geri Dön",forgotPasswordTitle:"Parolanızı mı unuttunuz",resetPasswordSubtitle:"Lütfen şifrenizi sıfırlayın.",hasToSetPassTitle:"Şifreyi yenile",forgotPasswordEmail:"E-posta",forgotPasswordEmailInputError:"E-posta '@' ve 2-3 harf uzunluğunda bir alan adı içermelidir.",forgotPasswordEmailError:"Bu e-posta mevcut değil.",forgotPasswordReset:"Şifreyi yenile",forgotPasswordSuccess:"Başarı!",forgotPasswordSuccessDescription:"Şifrenizi sıfırlama talimatlarını içeren bir e-posta gönderdik.",forgotNewPasswordTitle:"Yeni Şifre",forgotNewPasswordPassword:"Şifre",forgotNewPasswordPasswordError:"Şifre 8-20 karakter uzunluğunda olmalı ve en az 1 büyük harf, 1 rakam ve 1 özel karakter içermelidir.",forgotNewPasswordConfirmPassword:"Şifreyi Onayla",forgotNewPasswordConfirmPasswordError:"Parolayı onayla, yeni parolayla eşleşmeli ve aynı kurallara uymalıdır.",forgotNewPasswordButton:"Şifre değiştir",forgotChangePasswordTitle:"Başarı!",forgotChangePasswordDescription:"Şifreniz başarıyla değiştirildi.",forgotChangePasswordLogin:"Giriş yapmak için buraya tıklayın",simplePasswordError:"Şifre 8-20 karakter uzunluğunda olmalı ve en az 1 büyük harf, 1 rakam ve 1 özel karakter içermelidir.",dobFormatError:"Doğum tarihi formatı widget dokümantasyonuna uygun yapılmamış.",generalError:"İsteğiniz yapılırken bir hata oluştu. Lütfen tekrar deneyin...",1e3:"Geçersiz, kullanılmış veya süresi dolmuş kullanıcı anahtarı",1164:"Yeni şifreniz daha önce kullandığınız bir şifreye çok benziyor. Lütfen son zamanlarda kullanmadığınız farklı bir şifre seçin."},ro:{day:"Zi",month:"Luna",year:"An",goToLogin:"Inapoi la autentificare",forgotPasswordTitle:"Parolă Uitată",resetPasswordSubtitle:"Vă rugăm sa resetați parola.",hasToSetPassTitle:"Resetează parola",forgotPasswordEmail:"Email",forgotPasswordEmailInputError:"Email-ul ar trebui să conțină '@' și 2-3 litere.",forgotPasswordEmailError:"Acest email nu există",forgotPasswordReset:"Resetează parola",forgotPasswordSuccess:"Succes!",forgotPasswordSuccessDescription:"Am trimis un email cu instrucțiunile pentru resetarea parolei.",forgotNewPasswordTitle:"Noua parolă",forgotNewPasswordPassword:"Parola",forgotNewPasswordPasswordError:"Parola trebuie să fie între 8 si 20 de caractere, să contțină o literă mare, o cifră și un caracter special",forgotNewPasswordConfirmPassword:"Confirma parola",forgotNewPasswordConfirmPasswordError:"Parola confirmată trebuie să fie la fel ca parola nouă și să respecte aceleași reguli",forgotNewPasswordButton:"Schimbă parola",forgotChangePasswordTitle:"Succes!",forgotChangePasswordDescription:"Parola a fost schimbată cu succes.",forgotChangePasswordLogin:"Autentificare",simplePasswordError:"Parola trebuie să aibă 8-20 de caractere.",dobFormatError:"Formatul pentru data nașterii nu este realizat conform documentației widget-ului.",generalError:"A apărut o eroare în timpul solicitării dvs. Vă rugăm să încercați din nou...",1e3:"Cheie de utilizator invalidă, utilizată sau expirată",1164:"Noua parolă este prea asemănătoare cu una utilizată anterior. Vă rugăm să alegeți o parolă pe care nu ați folosit-o recent."},es:{day:"Día",month:"Mes",year:"Año",goToLogin:"Volver a iniciar sesión",forgotPasswordTitle:"Olvide mi contraseña",resetPasswordSubtitle:"Please reset your password.",hasToSetPassTitle:"Reset Password",forgotPasswordEmail:"Email",forgotPasswordEmailInputError:"Email debe contener '@' y 2-3 letras de longitud.",forgotPasswordEmailError:"Este Email no existe",forgotPasswordReset:"Reestablecer contraseña",forgotPasswordSuccess:"Éxito!",forgotPasswordSuccessDescription:"Te hemos enviado un Email con las instrucciones para Reestablecer tu contraseña.",forgotNewPasswordTitle:"Nueva contraseña",forgotNewPasswordPassword:"Contraseña",forgotNewPasswordPasswordError:"La contraseña debe tener entre 8 a 20 caracteres y contener al menos 1 letra mayúscula, 1 número y 1 carácter especial.",forgotNewPasswordConfirmPassword:"Confirmar constraseña",forgotNewPasswordConfirmPasswordError:"Confirmar contraseña debe coincidir con la Nueva contraseña y debe seguir las mismas reglas.",forgotNewPasswordButton:"Cambiar Contraseña",forgotChangePasswordTitle:"Éxito!!",forgotChangePasswordDescription:"Tu contraseña se ha cambiado con éxito",forgotChangePasswordLogin:"Click aquí para Iniciar sesión",simplePasswordError:"La contraseña debe tener entre 8 a 20 caracteres",dobFormatError:"El formato de la fecha de nacimiento no se realiza de acuerdo con la documentación del widget.",generalError:"Hubo un error al realizar su solicitud. Por favor, inténtelo de nuevo...",1e3:"Clave de usuario inválida, usada o expirada",1164:"Tu nueva contraseña es demasiado similar a una que usaste anteriormente. Por favor, elige una que no hayas usado recientemente."},pt:{day:"Dia",month:"Mês",year:"Ano",goToLogin:"Voltar a Entrar",forgotPasswordTitle:"Esqueceu sua senha",resetPasswordSubtitle:"Please reset your password.",hasToSetPassTitle:"Reset Password",forgotPasswordEmail:"E-mail",forgotPasswordEmailInputError:"O e-mail deve conter '@' e um domínio de 2 a 3 letras.",forgotPasswordEmailError:"Este e-mail não existe.",forgotPasswordReset:"Redefinir senha",forgotPasswordSuccess:"Sucesso!",forgotPasswordSuccessDescription:"Enviamos um e-mail com as instruções para redefinir sua senha.",forgotNewPasswordTitle:"Senha",forgotNewPasswordPassword:"Password",forgotNewPasswordPasswordError:"A senha deve ter de 8 a 20 caracteres e conter pelo menos 1 letra maiúscula, 1 número e 1 caractere especial.",forgotNewPasswordConfirmPassword:"Confirme sua senha",forgotNewPasswordConfirmPasswordError:"A senha de confirmação deve corresponder à nova senha e deve seguir as mesmas regras.",forgotNewPasswordButton:"Mudar senha",forgotChangePasswordTitle:"Sucesso!",forgotChangePasswordDescription:"Sua senha foi alterada com sucesso.",forgotChangePasswordLogin:"Clique aqui para entrar",simplePasswordError:"A senha deve ter de 8 a 20 caracteres.",dobFormatError:"O formato da data de nascimento não está de acordo com a documentação do widget.",generalError:"Houve um erro ao fazer sua solicitação. Por favor, tente novamente...",1e3:"Chave de usuário inválida, usada ou expirada",1164:"A sua nova palavra-passe é demasiado semelhante a uma que já usou. Por favor, escolha uma que não tenha usado recentemente."},"en-us":{day:"Day",month:"Month",year:"Year",goToLogin:"Back to Sign In",forgotPasswordTitle:"Forgot Password",resetPasswordSubtitle:"Please reset your password.",hasToSetPassTitle:"Reset Password",forgotPasswordEmail:"Email",forgotPasswordEmailInputError:"Email should contain '@' and a 2-3 letter long domain.",forgotPasswordEmailError:"This email does not exist.",forgotPasswordReset:"Reset Password",forgotPasswordSuccess:"Success!",forgotPasswordSuccessDescription:"We sent an email with the instructions to reset your password.",forgotNewPasswordTitle:"New Password",forgotNewPasswordPassword:"Password",forgotNewPasswordPasswordError:"The password should be 8-20 characters long, and contain at least 1 uppercase letter, 1 number and 1 special character.",forgotNewPasswordConfirmPassword:"Confirm Password",forgotNewPasswordConfirmPasswordError:"Confirm password must match the new password and must follow the same rules.",forgotNewPasswordButton:"Change Password",forgotChangePasswordTitle:"Success!",forgotChangePasswordDescription:"Your password has been changed successfully.",forgotChangePasswordLogin:"Click here to Login",simplePasswordError:"Password must be 8-20 characters long.",dobFormatError:"The format for the date of birth isn't done according with the widget documentation.",generalError:"There was an error while making your request. Please try again...",1e3:"Invalid, used or expired user key",1164:"Your new password is too similar to a previous one. Please choose a password that you haven’t used recently."}};function Mh(r,t){if(r){const e=document.createElement("style");e.innerHTML=t,r.appendChild(e)}}function Lh(r,t){const e=new URL(t);fetch(e.href).then(i=>i.text()).then(i=>{const s=document.createElement("style");s.innerHTML=i,r&&r.appendChild(s)}).catch(i=>{console.error("There was an error while trying to load client styling from URL",i)})}function Bh(r,t,e){if(window.emMessageBus){const i=document.createElement("style");window.emMessageBus.subscribe(t,s=>{i.innerHTML=s,r&&r.appendChild(i)})}}/**
|
|
18
|
+
`,st.MISSING_INTL_API,n);var E=e.getPluralRules(t,{type:h.pluralType}).select(f-(h.offset||0));C=h.options[E]||h.options.other}if(!C)throw new Rs(h.value,f,Object.keys(h.options),n);a.push.apply(a,ir(C.value,t,e,i,s,f-(h.offset||0)));continue}}return Gd(a)}function qd(r,t){return t?Te(Te(Te({},r||{}),t||{}),Object.keys(r).reduce(function(e,i){return e[i]=Te(Te({},r[i]),t[i]||{}),e},{})):r}function Yd(r,t){return t?Object.keys(r).reduce(function(e,i){return e[i]=qd(r[i],t[i]),e},Te({},r)):r}function Ur(r){return{create:function(){return{get:function(t){return r[t]},set:function(t,e){r[t]=e}}}}}function Zd(r){return r===void 0&&(r={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:Fr(function(){for(var t,e=[],i=0;i<arguments.length;i++)e[i]=arguments[i];return new((t=Intl.NumberFormat).bind.apply(t,zr([void 0],e,!1)))},{cache:Ur(r.number),strategy:Vr.variadic}),getDateTimeFormat:Fr(function(){for(var t,e=[],i=0;i<arguments.length;i++)e[i]=arguments[i];return new((t=Intl.DateTimeFormat).bind.apply(t,zr([void 0],e,!1)))},{cache:Ur(r.dateTime),strategy:Vr.variadic}),getPluralRules:Fr(function(){for(var t,e=[],i=0;i<arguments.length;i++)e[i]=arguments[i];return new((t=Intl.PluralRules).bind.apply(t,zr([void 0],e,!1)))},{cache:Ur(r.pluralRules),strategy:Vr.variadic})}}var Xd=function(){function r(t,e,i,s){e===void 0&&(e=r.defaultLocale);var o=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(l){var d=o.formatToParts(l);if(d.length===1)return d[0].value;var h=d.reduce(function(u,f){return!u.length||f.type!==fe.literal||typeof u[u.length-1]!="string"?u.push(f.value):u[u.length-1]+=f.value,u},[]);return h.length<=1?h[0]||"":h},this.formatToParts=function(l){return ir(o.ast,o.locales,o.formatters,o.formats,l,void 0,o.message)},this.resolvedOptions=function(){var l;return{locale:((l=o.resolvedLocale)===null||l===void 0?void 0:l.toString())||Intl.NumberFormat.supportedLocalesOf(o.locales)[0]}},this.getAst=function(){return o.ast},this.locales=e,this.resolvedLocale=r.resolveLocale(e),typeof t=="string"){if(this.message=t,!r.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var n=s||{};n.formatters;var a=od(n,["formatters"]);this.ast=r.__parse(t,Te(Te({},a),{locale:this.resolvedLocale}))}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=Yd(r.formats,i),this.formatters=s&&s.formatters||Zd(this.formatterCache)}return Object.defineProperty(r,"defaultLocale",{get:function(){return r.memoizedDefaultLocale||(r.memoizedDefaultLocale=new Intl.NumberFormat().resolvedOptions().locale),r.memoizedDefaultLocale},enumerable:!1,configurable:!0}),r.memoizedDefaultLocale=null,r.resolveLocale=function(t){if(typeof Intl.Locale!="undefined"){var e=Intl.NumberFormat.supportedLocalesOf(t);return e.length>0?new Intl.Locale(e[0]):new Intl.Locale(typeof t=="string"?t:t[0])}},r.__parse=$d,r.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"}}},r}();function Jd(r,t){if(t==null)return;if(t in r)return r[t];const e=t.split(".");let i=r;for(let s=0;s<e.length;s++)if(typeof i=="object"){if(s>0){const o=e.slice(s,e.length).join(".");if(o in i){i=i[o];break}}i=i[e[s]]}else i=void 0;return i}const Me={},Kd=(r,t,e)=>e&&(t in Me||(Me[t]={}),r in Me[t]||(Me[t][r]=e),e),_n=(r,t)=>{if(t==null)return;if(t in Me&&r in Me[t])return Me[t][r];const e=Pr(t);for(let i=0;i<e.length;i++){const s=e[i],o=eh(s,r);if(o)return Kd(r,t,o)}};let Ui;const ht=yr({});function Qd(r){return Ui[r]||null}function gn(r){return r in Ui}function eh(r,t){if(!gn(r))return null;const e=Qd(r);return Jd(e,t)}function th(r){if(r==null)return;const t=Pr(r);for(let e=0;e<t.length;e++){const i=t[e];if(gn(i))return i}}function bn(r,...t){delete Me[r],ht.update(e=>(e[r]=sd.all([e[r]||{},...t]),e))}dt([ht],([r])=>Object.keys(r));ht.subscribe(r=>Ui=r);const sr={};function rh(r,t){sr[r].delete(t),sr[r].size===0&&delete sr[r]}function vn(r){return sr[r]}function ih(r){return Pr(r).map(t=>{const e=vn(t);return[t,e?[...e]:[]]}).filter(([,t])=>t.length>0)}function Pi(r){return r==null?!1:Pr(r).some(t=>{var e;return(e=vn(t))==null?void 0:e.size})}function sh(r,t){return Promise.all(t.map(i=>(rh(r,i),i().then(s=>s.default||s)))).then(i=>bn(r,...i))}const gt={};function yn(r){if(!Pi(r))return r in gt?gt[r]:Promise.resolve();const t=ih(r);return gt[r]=Promise.all(t.map(([e,i])=>sh(e,i))).then(()=>{if(Pi(r))return yn(r);delete gt[r]}),gt[r]}const oh={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"}}},nh={fallbackLocale:null,loadingDelay:200,formats:oh,warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0},ah=nh;function ot(){return ah}const jr=yr(!1);var lh=Object.defineProperty,dh=Object.defineProperties,hh=Object.getOwnPropertyDescriptors,Ds=Object.getOwnPropertySymbols,uh=Object.prototype.hasOwnProperty,ch=Object.prototype.propertyIsEnumerable,Hs=(r,t,e)=>t in r?lh(r,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):r[t]=e,fh=(r,t)=>{for(var e in t||(t={}))uh.call(t,e)&&Hs(r,e,t[e]);if(Ds)for(var e of Ds(t))ch.call(t,e)&&Hs(r,e,t[e]);return r},ph=(r,t)=>dh(r,hh(t));let Ei;const dr=yr(null);function zs(r){return r.split("-").map((t,e,i)=>i.slice(0,e+1).join("-")).reverse()}function Pr(r,t=ot().fallbackLocale){const e=zs(r);return t?[...new Set([...e,...zs(t)])]:e}function Ue(){return Ei!=null?Ei:void 0}dr.subscribe(r=>{Ei=r!=null?r:void 0,typeof window!="undefined"&&r!=null&&document.documentElement.setAttribute("lang",r)});const mh=r=>{if(r&&th(r)&&Pi(r)){const{loadingDelay:t}=ot();let e;return typeof window!="undefined"&&Ue()!=null&&t?e=window.setTimeout(()=>jr.set(!0),t):jr.set(!0),yn(r).then(()=>{dr.set(r)}).finally(()=>{clearTimeout(e),jr.set(!1)})}return dr.set(r)},Be=ph(fh({},dr),{set:mh}),Er=r=>{const t=Object.create(null);return i=>{const s=JSON.stringify(i);return s in t?t[s]:t[s]=r(i)}};var _h=Object.defineProperty,hr=Object.getOwnPropertySymbols,wn=Object.prototype.hasOwnProperty,xn=Object.prototype.propertyIsEnumerable,Fs=(r,t,e)=>t in r?_h(r,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):r[t]=e,ji=(r,t)=>{for(var e in t||(t={}))wn.call(t,e)&&Fs(r,e,t[e]);if(hr)for(var e of hr(t))xn.call(t,e)&&Fs(r,e,t[e]);return r},ut=(r,t)=>{var e={};for(var i in r)wn.call(r,i)&&t.indexOf(i)<0&&(e[i]=r[i]);if(r!=null&&hr)for(var i of hr(r))t.indexOf(i)<0&&xn.call(r,i)&&(e[i]=r[i]);return e};const kt=(r,t)=>{const{formats:e}=ot();if(r in e&&t in e[r])return e[r][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${r} format.`)},gh=Er(r=>{var t=r,{locale:e,format:i}=t,s=ut(t,["locale","format"]);if(e==null)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return i&&(s=kt("number",i)),new Intl.NumberFormat(e,s)}),bh=Er(r=>{var t=r,{locale:e,format:i}=t,s=ut(t,["locale","format"]);if(e==null)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return i?s=kt("date",i):Object.keys(s).length===0&&(s=kt("date","short")),new Intl.DateTimeFormat(e,s)}),vh=Er(r=>{var t=r,{locale:e,format:i}=t,s=ut(t,["locale","format"]);if(e==null)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return i?s=kt("time",i):Object.keys(s).length===0&&(s=kt("time","short")),new Intl.DateTimeFormat(e,s)}),yh=(r={})=>{var t=r,{locale:e=Ue()}=t,i=ut(t,["locale"]);return gh(ji({locale:e},i))},wh=(r={})=>{var t=r,{locale:e=Ue()}=t,i=ut(t,["locale"]);return bh(ji({locale:e},i))},xh=(r={})=>{var t=r,{locale:e=Ue()}=t,i=ut(t,["locale"]);return vh(ji({locale:e},i))},Ph=Er((r,t=Ue())=>new Xd(r,t,ot().formats,{ignoreTag:ot().ignoreTag})),Eh=(r,t={})=>{var e,i,s,o;let n=t;typeof r=="object"&&(n=r,r=n.id);const{values:a,locale:l=Ue(),default:d}=n;if(l==null)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let h=_n(r,l);if(!h)h=(o=(s=(i=(e=ot()).handleMissingMessage)==null?void 0:i.call(e,{locale:l,id:r,defaultValue:d}))!=null?s:d)!=null?o:r;else if(typeof h!="string")return console.warn(`[svelte-i18n] Message with id "${r}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),h;if(!a)return h;let u=h;try{u=Ph(h,l).format(a)}catch(f){f instanceof Error&&console.warn(`[svelte-i18n] Message "${r}" has syntax error:`,f.message)}return u},Ch=(r,t)=>xh(t).format(r),Sh=(r,t)=>wh(t).format(r),Ah=(r,t)=>yh(t).format(r),Th=(r,t=Ue())=>_n(r,t),Ih=dt([Be,ht],()=>Eh);dt([Be],()=>Ch);dt([Be],()=>Sh);dt([Be],()=>Ah);dt([Be,ht],()=>Th);window.emWidgets={topic:Vl};const Oh=r=>!!(r.toLowerCase().match(/android/i)||r.toLowerCase().match(/blackberry|bb/i)||r.toLowerCase().match(/iphone|ipad|ipod/i)||r.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));String(Number.MAX_SAFE_INTEGER).length;function Nh({withLocale:r,translations:t}){Be.subscribe(e=>{e==null&&(ht.set(t),Be.set(r))})}function Vs(r,t){bn(r,t)}function kh(r){Be.set(r)}const $s={en:{day:"Day",month:"Month",year:"Year",goToLogin:"Back to Sign In",forgotPasswordTitle:"Forgot Password",resetPasswordSubtitle:"Please reset your password.",hasToSetPassTitle:"Reset Password",forgotPasswordEmail:"Email",forgotPasswordEmailInputError:"Email should contain '@' and a 2-3 letter long domain.",forgotPasswordEmailError:"This email does not exist.",forgotPasswordReset:"Reset Password",forgotPasswordSuccess:"Success!",forgotPasswordSuccessDescription:"We sent an email with the instructions to reset your password.",forgotNewPasswordTitle:"New Password",forgotNewPasswordPassword:"Password",forgotNewPasswordPasswordError:"The password should be 8-20 characters long, and contain at least 1 uppercase letter, 1 number and 1 special character.",forgotNewPasswordConfirmPassword:"Confirm Password",forgotNewPasswordConfirmPasswordError:"Confirm password must match the new password and must follow the same rules.",forgotNewPasswordButton:"Change Password",forgotChangePasswordTitle:"Success!",forgotChangePasswordDescription:"Your password has been changed successfully.",forgotChangePasswordLogin:"Click here to Login",simplePasswordError:"Password must be 8-20 characters long.",dobFormatError:"The format for the date of birth isn't done according with the widget documentation.",generalError:"There was an error while making your request. Please try again...",1e3:"Invalid, used or expired user key",1164:"Your new password is too similar to a previous one. Please choose a password that you haven’t used recently."},hr:{day:"Dan",month:"Mjesec",year:"Godina",goToLogin:"Natrag na prijavu",forgotPasswordTitle:"Zaboravljena lozinka",resetPasswordSubtitle:"Molimo resetirajte svoju lozinku.",hasToSetPassTitle:"Resetiraj Lozinku",forgotPasswordEmail:"Email",forgotPasswordEmailInputError:"Email treba sadržavati '@' i domenu od 2-3 slova.",forgotPasswordEmailError:"Ovaj email ne postoji.",forgotPasswordReset:"Resetiranje lozinke",forgotPasswordSuccess:"Uspjelo!",forgotPasswordSuccessDescription:"Poslali smo e-mail s uputama za ponovno postavljanje lozinke.",forgotNewPasswordTitle:"Nova Lozinka",forgotNewPasswordPassword:"Lozinka",forgotNewPasswordPasswordError:"Lozinka bi trebala imati 8-20 znakova",forgotNewPasswordConfirmPassword:"Potvrdi lozinku",forgotNewPasswordConfirmPasswordError:"Lozinka za potvrdu mora odgovarati novoj lozinci i mora slijediti ista pravila.",forgotNewPasswordButton:"Promjena lozinke",forgotChangePasswordTitle:"Uspjelo!",forgotChangePasswordDescription:"Vaša lozinka je uspješno promijenjena.",forgotChangePasswordLogin:"Kliknite ovdje za prijavu",simplePasswordError:"Lozinka mora imati 8-20 znakova.","forgotPasswordE-mail":"E-mail","forgotPasswordE-mailInputError":"E-mail treba sadržavati '@' i domenu od 2-3 slova.","forgotPasswordE-mailError":"Ovaj E-mail ne postoji.",dobFormatError:"Format datuma rođenja nije u skladu s dokumentacijom widgeta.",generalError:"Došlo je do pogreške prilikom obrade vašeg zahtjeva. Molimo pokušajte ponovno...",1e3:"Nevažeći, korišten ili istekao korisnički ključ",1164:"Vaša nova lozinka je previše slična prethodnoj. Molimo odaberite lozinku koju nedavno niste koristili."},"zh-hk":{day:"天",month:"月",year:"年",goToLogin:"返回登錄",forgotPasswordTitle:"忘記密碼",resetPasswordSubtitle:"Please reset your password.",hasToSetPassTitle:"Reset Password",forgotPasswordEmail:"電子郵件",forgotPasswordEmailInputError:"电子邮件应包含“@”和 2-3 个字母长的域。",forgotPasswordEmailError:"此電子郵件不存在。",forgotPasswordReset:"重設密碼",forgotPasswordSuccess:"成功!",forgotPasswordSuccessDescription:"我們發送了一封電子郵件,其中包含重置密碼的說明。",forgotNewPasswordTitle:"新密碼",forgotNewPasswordPassword:"密碼",forgotNewPasswordPasswordError:"密碼長度為 8-20 個字符,至少包含 1 個大寫字母、1 個數字和 1 個特殊字符。",forgotNewPasswordConfirmPassword:"確認密碼",forgotNewPasswordConfirmPasswordError:"確認密碼必須與新密碼匹配,並且必須遵循相同的規則。",forgotNewPasswordButton:"更改密碼",forgotChangePasswordTitle:"成功!",forgotChangePasswordDescription:"你已經成功更改密碼。",forgotChangePasswordLogin:"點擊此處登錄",simplePasswordError:"密码长度必须为 8-20 个字符。",dobFormatError:"出生日期的格式不符合小部件文件的規定。",generalError:"您的請求出現錯誤。請再試一次...",1e3:"無效、已使用或過期的用戶密鑰",1164:"您的新密碼與之前使用的密碼過於相似。請選擇一個最近未曾使用過的密碼。"},fr:{day:"Jour",month:"Mois",year:"Année",goToLogin:"Retour à la page d'accueil",forgotPasswordTitle:"Mot de passe oublié",resetPasswordSubtitle:"Please reset your password.",hasToSetPassTitle:"Reset Password",forgotPasswordEmail:"Email",forgotPasswordEmailInputError:"L'e-mail doit contenir '@' et un domaine de 2-3 lettres.",forgotPasswordEmailError:"Cette adresse mail n'existe pas",forgotPasswordReset:"Réinitialiser le mot de passe",forgotPasswordSuccess:"Succès!",forgotPasswordSuccessDescription:"Nous vous avons envoyé un e-mail contenant les instructions pour reinitialiser votre mot de passe.",forgotNewPasswordTitle:"Nouveau mot de passe",forgotNewPasswordPassword:"Mot de passe",forgotNewPasswordPasswordError:"Le mot de passe doit comporter de 8 à 20 charactères et contenir au moins une lettre majuscule, un chiffre et un caractère spécial",forgotNewPasswordConfirmPassword:"Confirmer le mot de passe",forgotNewPasswordConfirmPasswordError:"Le mot de passe de confirmation doit correspondre au nouveau mot de passe et doit suivre les mêmes règles.",forgotNewPasswordButton:"Modifier le mot de passe",forgotChangePasswordTitle:"Succès!",forgotChangePasswordDescription:"Votre mot de passe a été modifié avec succès.",forgotChangePasswordLogin:"Cliquez ici pour vous connecter",simplePasswordError:"Le mot de passe doit comporter entre 8 et 20 caractères.",dobFormatError:"Le format de la date de naissance n'est pas conforme à la documentation du widget.",generalError:"Une erreur s'est produite lors de votre demande. Veuillez réessayer...",1e3:"Clé utilisateur invalide, utilisée ou expirée",1164:"Votre nouveau mot de passe est trop similaire à un ancien. Veuillez en choisir un que vous n’avez pas utilisé récemment."},tr:{day:"Gün",month:"Ay",year:"Yıl",goToLogin:"Oturum Açmaya Geri Dön",forgotPasswordTitle:"Parolanızı mı unuttunuz",resetPasswordSubtitle:"Lütfen şifrenizi sıfırlayın.",hasToSetPassTitle:"Şifreyi yenile",forgotPasswordEmail:"E-posta",forgotPasswordEmailInputError:"E-posta '@' ve 2-3 harf uzunluğunda bir alan adı içermelidir.",forgotPasswordEmailError:"Bu e-posta mevcut değil.",forgotPasswordReset:"Şifreyi yenile",forgotPasswordSuccess:"Başarı!",forgotPasswordSuccessDescription:"Şifrenizi sıfırlama talimatlarını içeren bir e-posta gönderdik.",forgotNewPasswordTitle:"Yeni Şifre",forgotNewPasswordPassword:"Şifre",forgotNewPasswordPasswordError:"Şifre 8-20 karakter uzunluğunda olmalı ve en az 1 büyük harf, 1 rakam ve 1 özel karakter içermelidir.",forgotNewPasswordConfirmPassword:"Şifreyi Onayla",forgotNewPasswordConfirmPasswordError:"Parolayı onayla, yeni parolayla eşleşmeli ve aynı kurallara uymalıdır.",forgotNewPasswordButton:"Şifre değiştir",forgotChangePasswordTitle:"Başarı!",forgotChangePasswordDescription:"Şifreniz başarıyla değiştirildi.",forgotChangePasswordLogin:"Giriş yapmak için buraya tıklayın",simplePasswordError:"Şifre 8-20 karakter uzunluğunda olmalı ve en az 1 büyük harf, 1 rakam ve 1 özel karakter içermelidir.",dobFormatError:"Doğum tarihi formatı widget dokümantasyonuna uygun yapılmamış.",generalError:"İsteğiniz yapılırken bir hata oluştu. Lütfen tekrar deneyin...",1e3:"Geçersiz, kullanılmış veya süresi dolmuş kullanıcı anahtarı",1164:"Yeni şifreniz daha önce kullandığınız bir şifreye çok benziyor. Lütfen son zamanlarda kullanmadığınız farklı bir şifre seçin."},ro:{day:"Zi",month:"Luna",year:"An",goToLogin:"Inapoi la autentificare",forgotPasswordTitle:"Parolă Uitată",resetPasswordSubtitle:"Vă rugăm sa resetați parola.",hasToSetPassTitle:"Resetează parola",forgotPasswordEmail:"Email",forgotPasswordEmailInputError:"Email-ul ar trebui să conțină '@' și 2-3 litere.",forgotPasswordEmailError:"Acest email nu există",forgotPasswordReset:"Resetează parola",forgotPasswordSuccess:"Succes!",forgotPasswordSuccessDescription:"Am trimis un email cu instrucțiunile pentru resetarea parolei.",forgotNewPasswordTitle:"Noua parolă",forgotNewPasswordPassword:"Parola",forgotNewPasswordPasswordError:"Parola trebuie să fie între 8 si 20 de caractere, să contțină o literă mare, o cifră și un caracter special",forgotNewPasswordConfirmPassword:"Confirma parola",forgotNewPasswordConfirmPasswordError:"Parola confirmată trebuie să fie la fel ca parola nouă și să respecte aceleași reguli",forgotNewPasswordButton:"Schimbă parola",forgotChangePasswordTitle:"Succes!",forgotChangePasswordDescription:"Parola a fost schimbată cu succes.",forgotChangePasswordLogin:"Autentificare",simplePasswordError:"Parola trebuie să aibă 8-20 de caractere.",dobFormatError:"Formatul pentru data nașterii nu este realizat conform documentației widget-ului.",generalError:"A apărut o eroare în timpul solicitării dvs. Vă rugăm să încercați din nou...",1e3:"Cheie de utilizator invalidă, utilizată sau expirată",1164:"Noua parolă este prea asemănătoare cu una utilizată anterior. Vă rugăm să alegeți o parolă pe care nu ați folosit-o recent."},es:{day:"Día",month:"Mes",year:"Año",goToLogin:"Volver a iniciar sesión",forgotPasswordTitle:"Olvide mi contraseña",resetPasswordSubtitle:"Please reset your password.",hasToSetPassTitle:"Reset Password",forgotPasswordEmail:"Email",forgotPasswordEmailInputError:"Email debe contener '@' y 2-3 letras de longitud.",forgotPasswordEmailError:"Este Email no existe",forgotPasswordReset:"Reestablecer contraseña",forgotPasswordSuccess:"Éxito!",forgotPasswordSuccessDescription:"Te hemos enviado un Email con las instrucciones para Reestablecer tu contraseña.",forgotNewPasswordTitle:"Nueva contraseña",forgotNewPasswordPassword:"Contraseña",forgotNewPasswordPasswordError:"La contraseña debe tener entre 8 a 20 caracteres y contener al menos 1 letra mayúscula, 1 número y 1 carácter especial.",forgotNewPasswordConfirmPassword:"Confirmar constraseña",forgotNewPasswordConfirmPasswordError:"Confirmar contraseña debe coincidir con la Nueva contraseña y debe seguir las mismas reglas.",forgotNewPasswordButton:"Cambiar Contraseña",forgotChangePasswordTitle:"Éxito!!",forgotChangePasswordDescription:"Tu contraseña se ha cambiado con éxito",forgotChangePasswordLogin:"Click aquí para Iniciar sesión",simplePasswordError:"La contraseña debe tener entre 8 a 20 caracteres",dobFormatError:"El formato de la fecha de nacimiento no se realiza de acuerdo con la documentación del widget.",generalError:"Hubo un error al realizar su solicitud. Por favor, inténtelo de nuevo...",1e3:"Clave de usuario inválida, usada o expirada",1164:"Tu nueva contraseña es demasiado similar a una que usaste anteriormente. Por favor, elige una que no hayas usado recientemente."},pt:{day:"Dia",month:"Mês",year:"Ano",goToLogin:"Voltar a Entrar",forgotPasswordTitle:"Esqueceu sua senha",resetPasswordSubtitle:"Please reset your password.",hasToSetPassTitle:"Reset Password",forgotPasswordEmail:"E-mail",forgotPasswordEmailInputError:"O e-mail deve conter '@' e um domínio de 2 a 3 letras.",forgotPasswordEmailError:"Este e-mail não existe.",forgotPasswordReset:"Redefinir senha",forgotPasswordSuccess:"Sucesso!",forgotPasswordSuccessDescription:"Enviamos um e-mail com as instruções para redefinir sua senha.",forgotNewPasswordTitle:"Senha",forgotNewPasswordPassword:"Password",forgotNewPasswordPasswordError:"A senha deve ter de 8 a 20 caracteres e conter pelo menos 1 letra maiúscula, 1 número e 1 caractere especial.",forgotNewPasswordConfirmPassword:"Confirme sua senha",forgotNewPasswordConfirmPasswordError:"A senha de confirmação deve corresponder à nova senha e deve seguir as mesmas regras.",forgotNewPasswordButton:"Mudar senha",forgotChangePasswordTitle:"Sucesso!",forgotChangePasswordDescription:"Sua senha foi alterada com sucesso.",forgotChangePasswordLogin:"Clique aqui para entrar",simplePasswordError:"A senha deve ter de 8 a 20 caracteres.",dobFormatError:"O formato da data de nascimento não está de acordo com a documentação do widget.",generalError:"Houve um erro ao fazer sua solicitação. Por favor, tente novamente...",1e3:"Chave de usuário inválida, usada ou expirada",1164:"A sua nova palavra-passe é demasiado semelhante a uma que já usou. Por favor, escolha uma que não tenha usado recentemente."},"en-us":{day:"Day",month:"Month",year:"Year",goToLogin:"Back to Sign In",forgotPasswordTitle:"Forgot Password",resetPasswordSubtitle:"Please reset your password.",hasToSetPassTitle:"Reset Password",forgotPasswordEmail:"Email",forgotPasswordEmailInputError:"Email should contain '@' and a 2-3 letter long domain.",forgotPasswordEmailError:"This email does not exist.",forgotPasswordReset:"Reset Password",forgotPasswordSuccess:"Success!",forgotPasswordSuccessDescription:"We sent an email with the instructions to reset your password.",forgotNewPasswordTitle:"New Password",forgotNewPasswordPassword:"Password",forgotNewPasswordPasswordError:"The password should be 8-20 characters long, and contain at least 1 uppercase letter, 1 number and 1 special character.",forgotNewPasswordConfirmPassword:"Confirm Password",forgotNewPasswordConfirmPasswordError:"Confirm password must match the new password and must follow the same rules.",forgotNewPasswordButton:"Change Password",forgotChangePasswordTitle:"Success!",forgotChangePasswordDescription:"Your password has been changed successfully.",forgotChangePasswordLogin:"Click here to Login",simplePasswordError:"Password must be 8-20 characters long.",dobFormatError:"The format for the date of birth isn't done according with the widget documentation.",generalError:"There was an error while making your request. Please try again...",1e3:"Invalid, used or expired user key",1164:"Your new password is too similar to a previous one. Please choose a password that you haven’t used recently."}};function Mh(r,t){if(r){const e=document.createElement("style");e.innerHTML=t,r.appendChild(e)}}function Lh(r,t){if(!r||!t)return;const e=new URL(t);fetch(e.href).then(i=>i.text()).then(i=>{const s=document.createElement("style");s.innerHTML=i,r&&r.appendChild(s)}).catch(i=>{console.error("There was an error while trying to load client styling from URL",i)})}function Bh(r,t,e){if(window.emMessageBus){const i=document.createElement("style");window.emMessageBus.subscribe(t,s=>{i.innerHTML=s,r&&r.appendChild(i)})}}/**
|
|
19
19
|
* @license
|
|
20
20
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
21
21
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
@@ -4271,6 +4271,7 @@ dt([Be], () => Sh);
|
|
|
4271
4271
|
dt([Be, ht], () => Ah);
|
|
4272
4272
|
window.emWidgets = { topic: Fl };
|
|
4273
4273
|
const Ih = (r) => !!(r.toLowerCase().match(/android/i) || r.toLowerCase().match(/blackberry|bb/i) || r.toLowerCase().match(/iphone|ipad|ipod/i) || r.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
|
|
4274
|
+
String(Number.MAX_SAFE_INTEGER).length;
|
|
4274
4275
|
function Oh({ withLocale: r, translations: t }) {
|
|
4275
4276
|
Be.subscribe((e) => {
|
|
4276
4277
|
e == null && (ht.set(t), Be.set(r));
|
|
@@ -4555,6 +4556,8 @@ function kh(r, t) {
|
|
|
4555
4556
|
}
|
|
4556
4557
|
}
|
|
4557
4558
|
function Mh(r, t) {
|
|
4559
|
+
if (!r || !t)
|
|
4560
|
+
return;
|
|
4558
4561
|
const e = new URL(t);
|
|
4559
4562
|
fetch(e.href).then((i) => i.text()).then((i) => {
|
|
4560
4563
|
const s = document.createElement("style");
|
|
@@ -4234,6 +4234,7 @@ st([Me], () => nh);
|
|
|
4234
4234
|
st([Me, ot], () => ah);
|
|
4235
4235
|
window.emWidgets = { topic: yl };
|
|
4236
4236
|
const dh = (t) => !!(t.toLowerCase().match(/android/i) || t.toLowerCase().match(/blackberry|bb/i) || t.toLowerCase().match(/iphone|ipad|ipod/i) || t.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
|
|
4237
|
+
String(Number.MAX_SAFE_INTEGER).length;
|
|
4237
4238
|
function hh({ withLocale: t, translations: e }) {
|
|
4238
4239
|
Me.subscribe((r) => {
|
|
4239
4240
|
r == null && (ot.set(e), Me.set(t));
|
|
@@ -4518,6 +4519,8 @@ function ch(t, e) {
|
|
|
4518
4519
|
}
|
|
4519
4520
|
}
|
|
4520
4521
|
function fh(t, e) {
|
|
4522
|
+
if (!t || !e)
|
|
4523
|
+
return;
|
|
4521
4524
|
const r = new URL(e);
|
|
4522
4525
|
fetch(r.href).then((i) => i.text()).then((i) => {
|
|
4523
4526
|
const s = document.createElement("style");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/GeneralPlayerForgotPasswordForm-
|
|
1
|
+
"use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/GeneralPlayerForgotPasswordForm-3hSUGacB.cjs")).then(({default:t})=>{!customElements.get("general-player-forgot-password-form")&&customElements.define("general-player-forgot-password-form",t.element)})}
|
|
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
|
|
|
10
10
|
}
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
|
-
customElements.define = n(customElements.define), import("../components/GeneralPlayerForgotPasswordForm-
|
|
13
|
+
customElements.define = n(customElements.define), import("../components/GeneralPlayerForgotPasswordForm-BCRv_FLj.js").then(({ default: t }) => {
|
|
14
14
|
!customElements.get("general-player-forgot-password-form") && customElements.define("general-player-forgot-password-form", t.element);
|
|
15
15
|
});
|
|
16
16
|
}
|
package/package.json
CHANGED