1import{a as he,c as le,d as ue,e as fe}from"./chunk-URH6PLIN-dd11b59904.js";import{c as Ee}from"./chunk-QHPTNIXP-dd11b59904.js";import{B as me,F as ge,G as be,f as ie,g as oe,h as ae,j as se,p as ce,y as pe}from"./chunk-ZDRV3PZ5-dd11b59904.js";import{$ as Jt,Fb as $,Gb as R,Hb as ne,Ka as y,Mb as S,N as Yt,Nb as P,Qa as Q,Sb as re,Va as qt,Wa as Qt,Za as vt,Zb as de,_ as Wt,jb as te,kb as w,pb as C,qb as M,rb as _t,sb as N,tb as I,wb as ee}from"./chunk-MWUOXPJB-dd11b59904.js";import{a as Zt,b as zt}from"./chunk-HU6DUUP4-dd11b59904.js";function H(){}function Ue(t){return t()}function ye(){return Object.create(null)}function ot(t){t.forEach(Ue)}function xt(t){return typeof t=="function"}function De(t,e){return t!=t?e==e:t!==e||t&&typeof t=="object"||typeof t=="function"}function dn(t){return Object.keys(t).length===0}function Ge(t,...e){if(t==null){for(let r of e)r(void 0);return H}let n=t.subscribe(...e);return n.unsubscribe?()=>n.unsubscribe():n}function bn(t,e,n){t.$$.on_destroy.push(Ge(e,n))}function ke(t,e,n){t.insertBefore(e,n||null)}function Ft(t){t.parentNode&&t.parentNode.removeChild(t)}function xe(t){return document.createElement(t)}function En(t,e,n){n==null?t.removeAttribute(e):t.getAttribute(e)!==n&&t.setAttribute(e,n)}function yn(t){return Array.from(t.childNodes)}function vn(t){let e={};return t.childNodes.forEach(n=>{e[n.slot||"default"]=!0}),e}var Vt;function et(t){Vt=t}var x=[],ve=[],V=[],_e=[],_n=Promise.resolve(),$t=!1;function Hn(){$t||($t=!0,_n.then(F))}function Lt(t){V.push(t)}var Ht=new Set,G=0;function F(){if(G!==0)return;let t=Vt;do{try{for(;G<x.length;){let e=x[G];G++,et(e),Tn(e.$$)}}catch(e){throw x.length=0,G=0,e}for(et(null),x.length=0,G=0;ve.length;)ve.pop()();for(let e=0;e<V.length;e+=1){let n=V[e];Ht.has(n)||(Ht.add(n),n())}V.length=0}while(x.length);for(;_e.length;)_e.pop()();$t=!1,Ht.clear(),et(t)}function Tn(t){if(t.fragment!==null){t.update(),ot(t.before_update);let e=t.dirty;t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(Lt)}}function Bn(t){let e=[],n=[];V.forEach(r=>t.indexOf(r)===-1?e.push(r):n.push(r)),n.forEach(r=>r()),V=e}var An=new Set;function Sn(t,e){t&&t.i&&(An.delete(t),t.i(e))}function Pn(t,e,n){let{fragment:r,after_update:i}=t.$$;r&&r.m(e,n),Lt(()=>{let o=t.$$.on_mount.map(Ue).filter(xt);t.$$.on_destroy?t.$$.on_destroy.push(...o):ot(o),t.$$.on_mount=[]}),i.forEach(Lt)}function wn(t,e){let n=t.$$;n.fragment!==null&&(Bn(n.after_update),ot(n.on_destroy),n.fragment&&n.fragment.d(e),n.on_destroy=n.fragment=null,n.ctx=[])}function Cn(t,e){t.$$.dirty[0]===-1&&(x.push(t),Hn(),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<<e%31}function $n(t,e,n,r,i,o,s=null,a=[-1]){let u=Vt;et(t);let c=t.$$={fragment:null,ctx:[],props:o,update:H,not_equal:i,bound:ye(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(u?u.$$.context:[])),callbacks:ye(),dirty:a,skip_bound:!1,root:e.target||u.$$.root};s&&s(c.root);let l=!1;if(c.ctx=n?n(t,e.props||{},(h,f,...g)=>{let E=g.length?g[0]:f;return c.ctx&&i(c.ctx[h],c.ctx[h]=E)&&(!c.skip_bound&&c.bound[h]&&c.bound[h](E),l&&Cn(t,h)),f}):[],c.update(),l=!0,ot(c.before_update),c.fragment=r?r(c.ctx):!1,e.target){if(e.hydrate){let h=yn(e.target);c.fragment&&c.fragment.l(h),h.forEach(Ft)}else c.fragment&&c.fragment.c();e.intro&&Sn(t.$$.fragment),Pn(t,e.target,e.anchor),F()}et(u)}var Fe;typeof HTMLElement=="function"&&(Fe=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;constructor(t,e,n){super(),this.$$ctor=t,this.$$s=e,n&&this.attachShadow({mode:"open"})}addEventListener(t,e,n){if(this.$$l[t]=this.$$l[t]||[],this.$$l[t].push(e),this.$$c){let r=this.$$c.$on(t,e);this.$$l_u.set(e,r)}super.addEventListener(t,e,n)}removeEventListener(t,e,n){if(super.removeEventListener(t,e,n),this.$$c){let r=this.$$l_u.get(e);r&&(r(),this.$$l_u.delete(e))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let t=function(i){return()=>{let o;return{c:function(){o=xe("slot"),i!=="default"&&En(o,"name",i)},m:function(s,a){ke(s,o,a)},d:function(s){s&&Ft(o)}}}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;let e={},n=vn(this);for(let i of this.$$s)i in n&&(e[i]=[t(i)]);for(let i of this.attributes){let o=this.$$g_p(i.name);o in this.$$d||(this.$$d[o]=ht(o,i.value,this.$$p_d,"toProp"))}for(let i in this.$$p_d)!(i in this.$$d)&&this[i]!==void 0&&(this.$$d[i]=this[i],delete this[i]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:zt(Zt({},this.$$d),{$$slots:e,$$scope:{ctx:[]}})});let r=()=>{this.$$r=!0;for(let i in this.$$p_d)if(this.$$d[i]=this.$$c.$$.ctx[this.$$c.$$.props[i]],this.$$p_d[i].reflect){let o=ht(i,this.$$d[i],this.$$p_d,"toAttribute");o==null?this.removeAttribute(this.$$p_d[i].attribute||i):this.setAttribute(this.$$p_d[i].attribute||i,o)}this.$$r=!1};this.$$c.$$.after_update.push(r),r();for(let i in this.$$l)for(let o of this.$$l[i]){let s=this.$$c.$on(i,o);this.$$l_u.set(o,s)}this.$$l={}}}attributeChangedCallback(t,e,n){this.$$r||(t=this.$$g_p(t),this.$$d[t]=ht(t,n,this.$$p_d,"toProp"),this.$$c?.$set({[t]:this.$$d[t]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$c=void 0)})}$$g_p(t){return Object.keys(this.$$p_d).find(e=>this.$$p_d[e].attribute===t||!this.$$p_d[e].attribute&&e.toLowerCase()===t)||t}});function ht(t,e,n,r){let i=n[t]?.type;if(e=i==="Boolean"&&typeof e!="boolean"?e!=null:e,!r||!n[t])return e;if(r==="toAttribute")switch(i){case"Object":case"Array":return e==null?null:JSON.stringify(e);case"Boolean":return e?"":null;case"Number":return e??null;default:return e}else switch(i){case"Object":case"Array":return e&&JSON.parse(e);case"Boolean":return e;case"Number":return e!=null?+e:e;default:return e}}function Ln(t,e,n,r,i,o){let s=class extends Fe{constructor(){super(t,n,i),this.$$p_d=e}static get observedAttributes(){return Object.keys(e).map(a=>(e[a].attribute||a).toLowerCase())}};return Object.keys(e).forEach(a=>{Object.defineProperty(s.prototype,a,{get(){return this.$$c&&a in this.$$c?this.$$c[a]:this.$$d[a]},set(u){u=ht(a,u,e),this.$$d[a]=u,this.$$c?.$set({[a]:u})}})}),r.forEach(a=>{Object.defineProperty(s.prototype,a,{get(){return this.$$c?.[a]}})}),t.element=s,s}var Ot=class{$$=void 0;$$set=void 0;$destroy(){wn(this,1),this.$destroy=H}$on(e,n){if(!xt(n))return H;let r=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return r.push(n),()=>{let i=r.indexOf(n);i!==-1&&r.splice(i,1)}}$set(e){this.$$set&&!dn(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}},On="4";
1typeof window<"u"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(On);var k=[];function Mn(t,e){return{subscribe:gt(t,e).subscribe}}function gt(t,e=H){let n,r=new Set;function i(a){if(De(t,a)&&(t=a,n)){let u=!k.length;for(let c of r)c[1](),k.push(c,t);if(u){for(let c=0;c<k.length;c+=2)k[c][0](k[c+1]);k.length=0}}}function o(a){i(a(t))}function s(a,u=H){let c=[a,u];return r.add(c),r.size===1&&(n=e(i,o)||H),a(t),()=>{r.delete(c),r.size===0&&n&&(n(),n=null)}}return{set:i,update:o,subscribe:s}}function z(t,e,n){let r=!Array.isArray(t),i=r?[t]:t;if(!i.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");let o=e.length<2;return Mn(n,(s,a)=>{let u=!1,c=[],l=0,h=H,f=()=>{if(l)return;h();let E=e(r?c[0]:c,s,a);o?s(E):h=xt(E)?E:H},g=i.map((E,_)=>Ge(E,A=>{c[_]=A,l&=~(1<<_),u&&f()},()=>{l|=1<<_}));return u=!0,f(),function(){ot(g),h(),u=!1}})}function Nn(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var In=function(t){return Rn(t)&&!Un(t)};function Rn(t){return!!t&&typeof t=="object"}function Un(t){var e=Object.prototype.toString.call(t);return e==="[object RegExp]"||e==="[object Date]"||kn(t)}var Dn=typeof Symbol=="function"&&Symbol.for,Gn=Dn?Symbol.for("react.element"):60103;function kn(t){return t.$$typeof===Gn}function xn(t){return Array.isArray(t)?[]:{}}function nt(t,e){return e.clone!==!1&&e.isMergeableObject(t)?j(xn(t),t,e):t}function Fn(t,e,n){return t.concat(e).map(function(r){return nt(r,n)})}function Vn(t,e){if(!e.customMerge)return j;var n=e.customMerge(t);return typeof n=="function"?n:j}function jn(t){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return Object.propertyIsEnumerable.call(t,e)}):[]}function He(t){return Object.keys(t).concat(jn(t))}function Ve(t,e){try{return e in t}catch{return!1}}function Xn(t,e){return Ve(t,e)&&!(Object.hasOwnProperty.call(t,e)&&Object.propertyIsEnumerable.call(t,e))}function Kn(t,e,n){var r={};return n.isMergeableObject(t)&&He(t).forEach(function(i){r[i]=nt(t[i],n)}),He(e).forEach(function(i){Xn(t,i)||(Ve(t,i)&&n.isMergeableObject(e[i])?r[i]=Vn(i,n)(t[i],e[i],n):r[i]=nt(e[i],n))}),r}function j(t,e,n){n=n||{},n.arrayMerge=n.arrayMerge||Fn,n.isMergeableObject=n.isMergeableObject||In,n.cloneUnlessOtherwiseSpecified=nt;var r=Array.isArray(e),i=Array.isArray(t),o=r===i;return o?r?n.arrayMerge(t,e,n):Kn(t,e,n):nt(e,n)}j.all=function(t,e){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(n,r){return j(n,r,e)},{})};var Zn=j,zn=Zn,Yn=Nn(zn),Mt=function(t,e){return Mt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[i]=r[i])},Mt(t,e)};function dt(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");Mt(t,e);function n(){this.constructor=t}t.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}var B=function(){return B=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++){e=arguments[n];for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])}return t},B.apply(this,arguments)};function Wn(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(t);i<r.length;i++)e.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n}function Tt(t,e,n){if(n||arguments.length===2)for(var r=0,i=e.length,o;r<i;r++)(o||!(r in e))&&(o||(o=Array.prototype.slice.call(e,0,r)),o[r]=e[r]);return t.concat(o||Array.prototype.slice.call(e))}function Bt(t,e){var n=e&&e.cache?e.cache:rr,r=e&&e.serializer?e.serializer:er,i=e&&e.strategy?e.strategy:Qn;return i(t,{cache:n,serializer:r})}function Jn(t){return t==null||typeof t=="number"||typeof t=="boolean"}function qn(t,e,n,r){var i=Jn(r)?r:n(r),o=e.get(i);return typeof o>"u"&&(o=t.call(this,r),e.set(i,o)),o}function je(t,e,n){var r=Array.prototype.slice.call(arguments,3),i=n(r),o=e.get(i);return typeof o>"u"&&(o=t.apply(this,r),e.set(i,o)),o}function Xe(t,e,n,r,i){return n.bind(e,t,r,i)}function Qn(t,e){var n=t.length===1?qn:je;return Xe(t,this,n,e.cache.create(),e.serializer)}function tr(t,e){return Xe(t,this,je,e.cache.create(),e.serializer)}var er=function(){return JSON.stringify(arguments)},nr=(function(){function t(){this.cache=Object.create(null)}return t.prototype.get=function(e){return this.cache[e]},t.prototype.set=function(e,n){this.cache[e]=n},t})(),rr={create:function(){return new nr}},At={variadic:tr},ft=function(){return ft=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++){e=arguments[n];for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])}return t},ft.apply(this,arguments)},p;(function(t){t[t.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",t[t.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",t[t.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",t[t.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",t[t.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",t[t.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",t[t.INVALID_
vendor: 5,336 bytes, line 1
1NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",t[t.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",t[t.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",t[t.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",t[t.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",t[t.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",t[t.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",t[t.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",t[t.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",t[t.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",t[t.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",t[t.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",t[t.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",t[t.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",t[t.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",t[t.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",t[t.INVALID_TAG=23]="INVALID_TAG",t[t.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",t[t.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",t[t.UNCLOSED_TAG=27]="UNCLOSED_TAG"})(p||(p={}));var d;(function(t){t[t.literal=0]="literal",t[t.argument=1]="argument",t[t.number=2]="number",t[t.date=3]="date",t[t.time=4]="time",t[t.select=5]="select",t[t.plural=6]="plural",t[t.pound=7]="pound",t[t.tag=8]="tag"})(d||(d={}));var X;(function(t){t[t.number=0]="number",t[t.dateTime=1]="dateTime"})(X||(X={}));function Te(t){return t.type===d.literal}function ir(t){return t.type===d.argument}function Ke(t){return t.type===d.number}function Ze(t){return t.type===d.date}function ze(t){return t.type===d.time}function Ye(t){return t.type===d.select}function We(t){return t.type===d.plural}function or(t){return t.type===d.pound}function Je(t){return t.type===d.tag}function qe(t){return!!(t&&typeof t=="object"&&t.type===X.number)}function Nt(t){return!!(t&&typeof t=="object"&&t.type===X.dateTime)}var Qe=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,ar=/(?:[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 sr(t){var e={};return t.replace(ar,function(n){var r=n.length;switch(n[0]){case"G":e.era=r===4?"long":r===5?"narrow":"short";break;case"y":e.year=r===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":e.month=["numeric","2-digit","short","long","narrow"][r-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":e.day=["numeric","2-digit"][r-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":e.weekday=r===4?"long":r===5?"narrow":"short";break;case"e":if(r<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");e.weekday=["short","long","narrow","short"][r-4];break;case"c":if(r<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");e.weekday=["short","long","narrow","short"][r-4];break;case"a":e.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":e.hourCycle="h12",e.hour=["numeric","2-digit"][r-1];break;case"H":e.hourCycle="h23",e.hour=["numeric","2-digit"][r-1];break;case"K":e.hourCycle="h11",e.hour=["numeric","2-digit"][r-1];break;case"k":e.hourCycle="h24",e.hour=["numeric","2-digit"][r-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":e.minute=["numeric","2-digit"][r-1];break;case"s":e.second=["numeric","2-digit"][r-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":e.timeZoneName=r<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""}),e}var b=function(){return b=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++){e=arguments[n];for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])}return t},b.apply(this,arguments)},cr=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function hr(t){if(t.length===0)throw new Error("Number skeleton cannot be empty");for(var e=t.split(cr).filter(function(f){return f.length>0}),n=[],r=0,i=e;r<i.length;r++){var o=i[r],s=o.split("/");if(s.length===0)throw new Error("Invalid number skeleton");for(var a=s[0],u=s.slice(1),c=0,l=u;c<l.length;c++){var h=l[c];if(h.length===0)throw new Error("Invalid number skeleton")}n.push({stem:a,options:u})}return n}function lr(t){return t.replace(/^(.*?)-/,"")}var Be=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,tn=/^(@+)?(\+|#+)?[rs]?$/g,ur=/(\*)(0+)|(#+)(0+)|(0+)/g,en=/^(0+)$/;function Ae(t){var e={};return t[t.length-1]==="r"?e.roundingPriority="morePrecision":t[t.length-1]==="s"&&(e.roundingPriority="lessPrecision"),t.replace(tn,function(n,r,i){return typeof i!="str
1ing"?(e.minimumSignificantDigits=r.length,e.maximumSignificantDigits=r.length):i==="+"?e.minimumSignificantDigits=r.length:r[0]==="#"?e.maximumSignificantDigits=r.length:(e.minimumSignificantDigits=r.length,e.maximumSignificantDigits=r.length+(typeof i=="string"?i.length:0)),""}),e}function nn(t){switch(t){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function fr(t){var e;if(t[0]==="E"&&t[1]==="E"?(e={notation:"engineering"},t=t.slice(2)):t[0]==="E"&&(e={notation:"scientific"},t=t.slice(1)),e){var n=t.slice(0,2);if(n==="+!"?(e.signDisplay="always",t=t.slice(2)):n==="+?"&&(e.signDisplay="exceptZero",t=t.slice(2)),!en.test(t))throw new Error("Malformed concise eng/scientific notation");e.minimumIntegerDigits=t.length}return e}function Se(t){var e={},n=nn(t);return n||e}function pr(t){for(var e={},n=0,r=t;n<r.length;n++){var i=r[n];switch(i.stem){case"percent":case"%":e.style="percent";continue;case"%x100":e.style="percent",e.scale=100;continue;case"currency":e.style="currency",e.currency=i.options[0];continue;case"group-off":case",_":e.useGrouping=!1;continue;case"precision-integer":case".":e.maximumFractionDigits=0;continue;case"measure-unit":case"unit":e.style="unit",e.unit=lr(i.options[0]);continue;case"compact-short":case"K":e.notation="compact",e.compactDisplay="short";continue;case"compact-long":case"KK":e.notation="compact",e.compactDisplay="long";continue;case"scientific":e=b(b(b({},e),{notation:"scientific"}),i.options.reduce(function(u,c){return b(b({},u),Se(c))},{}));continue;case"engineering":e=b(b(b({},e),{notation:"engineering"}),i.options.reduce(function(u,c){return b(b({},u),Se(c))},{}));continue;case"notation-simple":e.notation="standard";continue;case"unit-width-narrow":e.currencyDisplay="narrowSymbol",e.unitDisplay="narrow";continue;case"unit-width-short":e.currencyDisplay="code",e.unitDisplay="short";continue;case"unit-width-full-name":e.currencyDisplay="name",e.unitDisplay="long";continue;case"unit-width-iso-code":e.currencyDisplay="symbol";continue;case"scale":e.scale=parseFloat(i.options[0]);continue;case"rounding-mode-floor":e.roundingMode="floor";continue;case"rounding-mode-ceiling":e.roundingMode="ceil";continue;case"rounding-mode-down":e.roundingMode="trunc";continue;case"rounding-mode-up":e.roundingMode="expand";continue;case"rounding-mode-half-even":e.roundingMode="halfEven";continue;case"rounding-mode-half-down":e.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":e.roundingMode="halfExpand";continue;case"integer-width":if(i.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace(ur,function(u,c,l,h,f,g){if(c)e.minimumIntegerDigits=l.length;else{if(h&&f)throw new Error("We currently do not support maximum integer digits");if(g)throw new Error("We currently do not support exact integer digits")}return""});continue}if(en.test(i.stem)){e.minimumIntegerDigits=i.stem.length;continue}if(Be.test(i.stem)){if(i.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(Be,function(u,c,l,h,f,g){return l==="*"?e.minimumFractionDigits=c.length:h&&h[0]==="#"?e.maximumFractionDigits=h.length:f&&g?(e.minimumFractionDigits=f.length,e.maximumFractionDigits=f.length+g.length):(e.minimumFractionDigits=c.length,e.maximumFractionDigits=c.length),""});var o=i.options[0];o==="w"?e=b(b({},e),{trailingZeroDisplay:"stripIfInteger"}):o&&(e=b(b({},e),Ae(o)));continue}if(tn.test(i.stem)){e=b(b({},e),Ae(i.stem));continue}var s=nn(i.stem);s&&(e=b(b({},e),s));var a=fr(i.stem);a&&(e=b(b({},e),a))}return e}var ct={"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
vendor: 12,716 bytes, line 1
1:["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 mr(t,e){for(var n="",r=0;r<t.length;r++){var i=t.charAt(r);if(i==="j"){for(var o=0;r+1<t.length&&t.charAt(r+1)===i;)o++,r++;var s=1+(o&1),a=o<2?1:3+(o>>1),u="a",c=gr(e);for((c=="H"||c=="k")&&(a=0);a-- >0;)n+=u;for(;s-- >0;)n=c+n}else i==="J"?n+="H":n+=i}return n}function gr(t){var e=t.hourCycle;if(e===void 0&&t.hourCycles&&t.hourCycles.length&&(e=t.hourCycles[0]),e)switch(e){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var n=t.language,r;n!=="root"&&(r=t.maximize().region);var i=ct[r||""]||ct[n||""]||ct["".concat(n,"-001")]||ct["001"];return i[0]}var St,dr=new RegExp("^".concat(Qe.source,"*")),br=new RegExp("".concat(Qe.source,"*$"));function m(t,e){return{start:t,end:e}}var Er=!!String.prototype.startsWith&&"_a".startsWith("a",1),yr=!!String.fromCodePoint,vr=!!Object.fromEntries,_r=!!String.prototype.codePointAt,Hr=!!String.prototype.trimStart,Tr=!!String.prototype.trimEnd,Br=!!Number.isSafeInteger,Ar=Br?Number.isSafeInteger:function(t){return typeof t=="number"&&isFinite(t)&&Math.floor(t)===t&&Math.abs(t)<=9007199254740991},It=!0;try{Pe=on("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),It=((St=Pe.exec("a"))===null||St===void 0?void 0:St[0])==="a"}catch{It=!1}var Pe,we=Er?function(t,e,n){return t.startsWith(e,n)}:function(t,e,n){return t.slice(n,n+e.length)===e},Rt=yr?String.fromCodePoint:function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];for(var n="",r=t.length,i=0,o;r>i;){if(o=t[i++],o>1114111)throw RangeError(o+" is not a valid code point");n+=o<65536?String.fromCharCode(o):String.fromCharCode(((o-=65536)>>10)+55296,o%1024+56320)}return n},Ce=vr?Object.fromEntries:function(t){for(var e={},n=0,r=t;n<r.length;n++){var i=r[n],o=i[0],s=i[1];e[o]=s}return e},rn=_r?function(t,e){return t.codePointAt(e)}:function(t,e){var n=t.length;if(!(e<0||e>=n)){var r=t.charCodeAt(e),i;return r<55296||r>56319||e+1===n||(i=t.charCodeAt(e+1))<56320||i>57343?r:(r-55296<<10)+(i-56320)+65536}},Sr=Hr?function(t){return t.trimStart()}:function(t){return t.replace(dr,"")},Pr=Tr?function(t){return t.trimEnd()}:function(t){return t.replace(br,"")};function on(t,e){return new RegExp(t,e)}var Ut;It?(Pt=on("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),Ut=function(t,e){var n;Pt.lastIndex=e;var r=Pt.exec(t);return(n=r[1])!==null&&n!==void 0?n:""}):Ut=function(t,e){for(var n=[];;){var r=rn(t,e);if(r===void 0||an(r)||Lr(r))break;n.push(r),e+=r>=65536?2:1}return Rt.apply(void 0,n)};var Pt,wr=(function(){function t(e,n){n===void 0&&(n={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!n.ignoreTag,this.locale=n.locale,this.requiresOtherClause=!!n.requiresOtherClause,this.shouldParseSkeletons=!!n.shouldParseSkeletons}return t.prototype.parse=function(){if(this.offset()!==0)throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},t.prototype.parseMessage=function(e,n,r){for(var i=[];!this.isEOF();){var o=this.char();if(o===123){var s=this.parseArgument(e,r);if(s.err)return s;i.push(s.val)}else{if(o===125&&e>0)break;if(o===35&&(n==="plural"||n==="selectordinal")){var a=this.clonePosition();this.bump(),i.push({type:d.pound,location:m(a,this.clonePosition())})}else if(o===60&&!this.ignoreTag&&this.peek()===47){if(r)break;return this.error(p.UNMATCHED_CLOSING_TAG,m(this.clonePosition(),this.clonePosition()))}else if(o===60&&!this.ignoreTag&&Dt(this.peek()||0)){var s=this.parseTag(e,n);if(s.err)return s;i.push(s.val)}else{var s=this.parseLiteral(e,n);if(s.err)return s;i.push(s.val)}}}return{val:i,err:null}},t.prototype.parseTag=function(e,n){var r=this.clonePosition();this.bump();var i=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:d.literal,value:"<".concat(i,"/>"),location:m(r,this.clonePosition())},err:null};if(this.bumpIf(">")){var o=this.parseMessage(e+1,n,!0);if(o.err)return o;var s=o.val,a=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!Dt(this.char()))return this.error(p.INVALID_TAG,m(a,this.clonePosition()));var u=this.clonePosition(),c=this.parseTagName();return i!==c?this.error(p.UNMATCHED_CLOSING_TAG,m(u,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:d.tag,value:i,children:s,location:m(r,this.clonePosition())},err:null}:this.error(p.INVALID_TAG,m(a,this.clonePosition())))}else return this.error(p.UNCLOSED_TAG,m(r,this.clonePosition()))}else return this.error(p.INVALID_TAG,m(r,this.clonePosition()))},t.prototype.parseTagName=function(){var e=this.offset();for(this.bump();!this.isEOF()&&$r(this.char());)this.bump();return this.message.slice(e,this.offset())},t.prototype.parseLiteral=function(e,n){for(var r=this.clonePosition(),i="";;){var o=this.tryParseQuote(n);if(o){i+=o;continue}var s=this.tryParseUnquoted(e,n);if(s){i+=s;continue}var a=this.tryParseLeftAngleBracket();if(a){i+=a;continue}break}var u=m(r,this.clonePosition());return{val:{type:d.literal,value:i,location:u},err:null}},t.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!Cr(this.peek()||0))?(this.bump(),"<"):null},t.prototype.tryParseQuote=function(e){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(e==="plural"||e==="selectordinal")break;return null;default:return null}this.bump();var n=[this.char()];for(this.bump();!this.isEOF();){var r=this.char();if(r===39)if(this.peek()===39)n.push(39),this.bump();else{this.bump();break}else n.push(r);this.bump()}return Rt.apply(void 0,n)},t.prototype.tryParseUnquoted=function(e,n){if(this.isEOF())return null;var r=this.char();return r===60||r===123||r===35&&(n==="plural"||n==="selectordinal")||r===125&&e>0?null:(this.bump(),Rt(r))},t.prototype.parseArgument=function(e,n){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE,m(r,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(p.EMPTY_ARGUMENT,m(r,this.clonePosition()));var i=this.parseIdentifierIfPossible().value;if(!i)return this.error(p.MALFORMED_ARGUMENT,m(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE,m(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:d.argument,value:i,location:m(r,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE,m(r,this.clonePosition())):this.parseArgumentOptions(e,n,i,r);default:return this.error(p.MALFORMED_ARGUMENT,m(r,this.clonePosition()))}},t.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),n=this.offset(),r=Ut(this.message,n),i=n+r.length;this.bumpTo(i);var o=this.clonePosition(),s=m(e,o);return{value:r,location:s}},t.prototype.parseArgumentOptions=function(e,n,r,i){var o,s=this.clonePosition(),a=this.parseIdentifierIfPossible().value,u=this.clonePosition();switch(a){case"":return this.error(p.EXPECT_ARGUMENT_TYPE,m(s,u));case"number":case"date":case"time":{this.bumpSpace();var c=null;if(this.bumpIf(",")){this.bumpSpace();var l=this.clonePosition(),h=this.parseSimpleArgStyleIfPossible();if(h.err)return h;var f=Pr(h.val);if(f.length===0)return this.error(p.EXPECT_ARGUMENT_STYLE,m(this.clonePosition(),this.clonePosition()));var g=m(l,this.clonePosition());c={style:f,styleLocation:g}}var E=this.tryParseArgumentClose(i);if(E.err)return E;var _=m(i,this.clonePosition());if(c&&we(c?.style,"::",0)){var A=Sr(c.style.slice(2));if(a==="number"){var h=this.parseNumberSkeletonFromString(A,c.styleLocation);return h.err?h:{val:{type:d.number,value:r,location:_,style:h.val},err:null}}else{if(A.length===0)return this.error(p.EXPECT_DATE_TIME_SKELETON,_);var J=A;this.locale&&(J=mr(A,this.locale));var f={type:X.dateTime,pattern:J,location:c.styleLocation,parsedOptions:this.shouldParseSkeletons?sr(J):{}},D=a==="date"?d.date:d.time;return{val:{type:D,value:r,location:_,style:f},err:null}}}return{val:{type:a==="number"?d.number:a==="date"?d.date:d.time,value:r,location:_,style:(o=c?.style)!==null&&o!==void 0?o:null},err:null}}case"plural":case"selectordinal":case"select":{var T=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS,m(T,ft({},T)));this.bumpSpace();var q=this.parseIdentifierIfPossible(),O=0;if(a!=="select"&&q.value==="offset"){if(!this.bumpIf(":"))return this.error(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,m(this.clonePosition(),this.clonePosition()));this.bumpSpace();var h=this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,p.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(h.err)return h;this.bumpSpace(),q=this.parseIdentifierIfPossible(),O=h.val}var st=this.tryParsePluralOrSelectOptions(e,a,n,q);if(st.err)return st;var E=this.tryParseArgumentClose(i);if(E.err)return E;var Kt=m(i,this.clonePosition());return a==="select"?{val:{type:d.select,value:r,options:Ce(st.val),location:Kt},err:null}:{val:{type:d.plural,value:r,options:Ce(st.val),offset:O,pluralType:a==="plural"?"cardinal":"ordinal",location:Kt},err:null}}default:return this.error(p.INVALID_ARGUMENT_TYPE,m(s,u))}},t.prototype.tryParseArgumentClose=function(e){return this.isEOF()||this.char()!==125?this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE,m(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},t.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,n=this.clonePosition();!this.isEOF();){var r=this.char();switch(r){case 39:{this.bump();var i=this.clonePosition();if(!this.bumpUntil("'"))return this.error(p.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,m(i,this.clonePosition()));this.bump();break}case 123:{e+=1,this.bump();break}case 125:{if(e>0)e-=1;else return{val:this.message.slice(n.offset,this.offset()),err:null};break}default:this.bump();break}}return{val:this.message.slice(n.offset,this.offset()),err:null}},t.prototype.parseNumberSkeletonFromString=function(e,n){var r=[];try{r=hr(e)}
vendor: 9,840 bytes, line 1
1catch{return this.error(p.INVALID_NUMBER_SKELETON,n)}return{val:{type:X.number,tokens:r,location:n,parsedOptions:this.shouldParseSkeletons?pr(r):{}},err:null}},t.prototype.tryParsePluralOrSelectOptions=function(e,n,r,i){for(var o,s=!1,a=[],u=new Set,c=i.value,l=i.location;;){if(c.length===0){var h=this.clonePosition();if(n!=="select"&&this.bumpIf("=")){var f=this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_SELECTOR,p.INVALID_PLURAL_ARGUMENT_SELECTOR);if(f.err)return f;l=m(h,this.clonePosition()),c=this.message.slice(h.offset,this.offset())}else break}if(u.has(c))return this.error(n==="select"?p.DUPLICATE_SELECT_ARGUMENT_SELECTOR:p.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);c==="other"&&(s=!0),this.bumpSpace();var g=this.clonePosition();if(!this.bumpIf("{"))return this.error(n==="select"?p.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:p.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,m(this.clonePosition(),this.clonePosition()));var E=this.parseMessage(e+1,n,r);if(E.err)return E;var _=this.tryParseArgumentClose(g);if(_.err)return _;a.push([c,{value:E.val,location:m(g,this.clonePosition())}]),u.add(c),this.bumpSpace(),o=this.parseIdentifierIfPossible(),c=o.value,l=o.location}return a.length===0?this.error(n==="select"?p.EXPECT_SELECT_ARGUMENT_SELECTOR:p.EXPECT_PLURAL_ARGUMENT_SELECTOR,m(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!s?this.error(p.MISSING_OTHER_CLAUSE,m(this.clonePosition(),this.clonePosition())):{val:a,err:null}},t.prototype.tryParseDecimalInteger=function(e,n){var r=1,i=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-1);for(var o=!1,s=0;!this.isEOF();){var a=this.char();if(a>=48&&a<=57)o=!0,s=s*10+(a-48),this.bump();else break}var u=m(i,this.clonePosition());return o?(s*=r,Ar(s)?{val:s,err:null}:this.error(n,u)):this.error(e,u)},t.prototype.offset=function(){return this.position.offset},t.prototype.isEOF=function(){return this.offset()===this.message.length},t.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},t.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var n=rn(this.message,e);if(n===void 0)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return n},t.prototype.error=function(e,n){return{val:null,err:{kind:e,message:this.message,location:n}}},t.prototype.bump=function(){if(!this.isEOF()){var e=this.char();e===10?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2)}},t.prototype.bumpIf=function(e){if(we(this.message,e,this.offset())){for(var n=0;n<e.length;n++)this.bump();return!0}return!1},t.prototype.bumpUntil=function(e){var n=this.offset(),r=this.message.indexOf(e,n);return r>=0?(this.bumpTo(r),!0):(this.bumpTo(this.message.length),!1)},t.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset ".concat(e," must be greater than or equal to the current offset ").concat(this.offset()));for(e=Math.min(e,this.message.length);;){var n=this.offset();if(n===e)break;if(n>e)throw Error("targetOffset ".concat(e," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},t.prototype.bumpSpace=function(){for(;!this.isEOF()&&an(this.char());)this.bump()},t.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),n=this.offset(),r=this.message.charCodeAt(n+(e>=65536?2:1));return r??null},t})();function Dt(t){return t>=97&&t<=122||t>=65&&t<=90}function Cr(t){return Dt(t)||t===47}function $r(t){return t===45||t===46||t>=48&&t<=57||t===95||t>=97&&t<=122||t>=65&&t<=90||t==183||t>=192&&t<=214||t>=216&&t<=246||t>=248&&t<=893||t>=895&&t<=8191||t>=8204&&t<=8205||t>=8255&&t<=8256||t>=8304&&t<=8591||t>=11264&&t<=12271||t>=12289&&t<=55295||t>=63744&&t<=64975||t>=65008&&t<=65533||t>=65536&&t<=983039}function an(t){return t>=9&&t<=13||t===32||t===133||t>=8206&&t<=8207||t===8232||t===8233}function Lr(t){return t>=33&&t<=35||t===36||t>=37&&t<=39||t===40||t===41||t===42||t===43||t===44||t===45||t>=46&&t<=47||t>=58&&t<=59||t>=60&&t<=62||t>=63&&t<=64||t===91||t===92||t===93||t===94||t===96||t===123||t===124||t===125||t===126||t===161||t>=162&&t<=165||t===166||t===167||t===169||t===171||t===172||t===174||t===176||t===177||t===182||t===187||t===191||t===215||t===247||t>=8208&&t<=8213||t>=8214&&t<=8215||t===8216||t===8217||t===8218||t>=8219&&t<=8220||t===8221||t===8222||t===8223||t>=8224&&t<=8231||t>=8240&&t<=8248||t===8249||t===8250||t>=8251&&t<=8254||t>=8257&&t<=8259||t===8260||t===8261||t===8262||t>=8263&&t<=8273||t===8274||t===8275||t>=8277&&t<=8286||t>=8592&&t<=8596||t>=8597&&t<=8601||t>=8602&&t<=8603||t>=8604&&t<=8607||t===8608||t>=8609&&t<=8610||t===8611||t>=8612&&t<=8613||t===8614||t>=8615&&t<=8621||t===8622||t>=8623&&t<=8653||t>=8654&&t<=8655||t>=8656&&t<=8657||t===8658||t===8659||t===8660||t>=8661&&t<=8691||t>=8692&&t<=8959||t>=8960&&t<=8967||t===8968||t===8969||t===8970||t===8971||t>=8972&&t<=8991||t>=8992&&t<=8993||t>=8994&&t<=9e3||t===9001||t===9002||t>=9003&&t<=9083||t===9084||t>=9085&&t<=9114||t>=9115&&t<=9139||t>=9140&&t<=9179||t>=9180&&t<=9185||t>=9186&&t<=9254||t>=9255&&t<=9279||t>=9280&&t<=9290||t>=9291&&t<=9311||t>=9472&&t<=9654||t===9655||t>=9656&&t<=9664||t===9665||t>=9666&&t<=9719||t>=9720&&t<=9727||t>=9728&&t<=9838||t===9839||t>=9840&&t<=10087||t===10088||t===10089||t===10090||t===10091||t===10092||t===10093||t===10094||t===10095||t===10096||t===10097||t===10098||t===10099||t===10100||t===10101||t>=10132&&t<=10175||t>=10176&&t<=10180||t===10181||t===10182||t>=10183&&t<=10213||t===10214||t===10215||t===10216||t===10217||t===10218||t===10219||t===10220||t===10221||t===10222||t===10223||t>=10224&&t<=10239||t>=10240&&t<=10495||t>=10496&&t<=10626||t===10627||t===10628||t===10629||t===10630||t===10631||t===10632||t===10633||t===10634||t===10635||t===10636||t===10637||t===10638||t===10639||t===10640||t===10641||t===10642||t===10643||t===10644||t===10645||t===10646||t===10647||t===10648||t>=10649&&t<=10711||t===10712||t===10713||t===10714||t===10715||t>=10716&&t<=10747||t===10748||t===10749||t>=10750&&t<=11007||t>=11008&&t<=11055||t>=11056&&t<=11076||t>=11077&&t<=11078||t>=11079&&t<=11084||t>=11085&&t<=11123||t>=11124&&t<=11125||t>=11126&&t<=11157||t===11158||t>=11159&&t<=11263||t>=11776&&t<=11777||t===11778||t===11779||t===11780||t===11781||t>=11782&&t<=11784||t===11785||t===11786||t===11787||t===11788||t===11789||t>=11790&&t<=11798||t===11799||t>=11800&&t<=11801||t===11802||t===11803||t===11804||t===11805||t>=11806&&t<=11807||t===11808||t===11809||t===11810||t===11811||t===11812||t===11813||t===11814||t===11815||t===11816||t===11817||t>=11818&&t<=11822||t===11823||t>=11824&&t<=11833||t>=11834&&t<=11835||t>=11836&&t<=11839||t===11840||t===11841||t===11842||t>=11843&&t<=11855||t>=11856&&t<=11857||t===11858||t>=11859&&t<=11903||t>=12289&&t<=12291||t===12296||t===12297||t===12298||t===12299||t===12300||t===12301||t===12302||t===12303||t===12304||t===12305||t>=12306&&t<=12307||t===12308||t===12309||t===12310||t===12311||t===12312||t===12313||t===12314||t===12315||t===12316||t===12317||t>=12318&&t<=12319||t===12320||t===12336||t===64830||t===64831||t>=65093&&t<=65094}function Gt(t){t.forEach(function(e){if(delete e.location,Ye(e)||We(e))for(var n in e.options)delete e.options[n].location,Gt(e.options[n].value);else Ke(e)&&qe(e.style)||(Ze(e)||ze(e))&&Nt(e.style)?delete e.style.location:Je(e)&&Gt(e.children)})}function Or(t,e){e===void 0&&(e={}),e=ft({shouldParseSkeletons:!0,requiresOtherClause:!0},e);var n=new wr(t,e).parse();if(n.err){var r=SyntaxError(p[n.err.kind]);throw r.location=n.err.location,r.originalMessage=n.err.message,r}return e?.captureLocation||Gt(n.val),n.val}var K;(function(t){t.MISSING_VALUE="MISSING_VALUE",t.INVALID_VALUE="INVALID_VALUE",t.MISSING_INTL_API="MISSING_INTL_API"})(K||(K={}));var bt=(function(t){dt(e,t);function e(n,r,i){var o=t.call(this,n)||this;return o.code=r,o.originalMessage=i,o}return e.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},e})(Error),$e=(function(t){dt(e,t);function e(n,r,i,o){return t.call(this,'Invalid values for "'.concat(n,'": "').concat(r,'". Options are "').concat(Object.keys(i).join('", "'),'"'),K.INVALID_VALUE,o)||this}return e})(bt),Mr=(function(t){dt(e,t);function e(n,r,i){return t.call(this,'Value for "'.concat(n,'" must be of type ').concat(r),K.INVALID_VALUE,i)||this}return e})(bt),Nr=(function(t){dt(e,t);function e(n,r){return t.call(this,'The intl string context variable "'.concat(n,'" was not provided to the string "').concat(r,'"'),K.MISSING_VALUE,r)||this}return e})(bt),v;(function(t){t[t.literal=0]="literal",t[t.object=1]="object"})(v||(v={}));function Ir(t){return t.length<2?t:t.reduce(function(e,n){var r=e[e.length-1];return!r||r.type!==v.literal||n.type!==v.literal?e.push(n):r.value+=n.value,e},[])}function Rr(t){return typeof t=="function"}function lt(t,e,n,r,i,o,s){if(t.length===1&&Te(t[0]))return[{type:v.literal,value:t[0].value}];for(var a=[],u=0,c=t;u<c.length;u++){var l=c[u];if(Te(l)){a.push({type:v.literal,value:l.value});continue}if(or(l)){typeof o=="number"&&a.push({type:v.literal,value:n.getNumberFormat(e).format(o)});continue}var h=l.value;if(!(i&&h in i))throw new Nr(h,s);var f=i[h];if(ir(l)){(!f||typeof f=="string"||typeof f=="number")&&(f=typeof f=="string"||typeof f=="number"?String(f):""),a.push({type:typeof f=="string"?v.literal:v.object,value:f});continue}if(Ze(l)){var g=typeof l.style=="string"?r.date[l.style]:Nt(l.style)?l.style.parsedOptions:void 0;a.push({type:v.literal,value:n.getDateTimeFormat(e,g).format(f)});continue}if(ze(l)){var g=typeof l.style=="string"?r.time[l.style]:Nt(l.style)?l.style.parsedOptions:r.time.medium;a.push({type:v.literal,value:n.getDateTimeFormat(e,g).format(f)});continue}
vendor: 5,601 bytes, lines 1-3
1if(Ke(l)){var g=typeof l.style=="string"?r.number[l.style]:qe(l.style)?l.style.parsedOptions:void 0;g&&g.scale&&(f=f*(g.scale||1)),a.push({type:v.literal,value:n.getNumberFormat(e,g).format(f)});continue}if(Je(l)){var E=l.children,_=l.value,A=i[_];if(!Rr(A))throw new Mr(_,"function",s);var J=lt(E,e,n,r,i,o),D=A(J.map(function(O){return O.value}));Array.isArray(D)||(D=[D]),a.push.apply(a,D.map(function(O){return{type:typeof O=="string"?v.literal:v.object,value:O}}))}if(Ye(l)){var T=l.options[f]||l.options.other;if(!T)throw new $e(l.value,f,Object.keys(l.options),s);a.push.apply(a,lt(T.value,e,n,r,i));continue}if(We(l)){var T=l.options["=".concat(f)];if(!T){if(!Intl.PluralRules)throw new bt(`Intl.PluralRules is not available in this environment. 2Try polyfilling it using "@formatjs/intl-pluralrules" 3`,K.MISSING_INTL_API,s);var q=n.getPluralRules(e,{type:l.pluralType}).select(f-(l.offset||0));T=l.options[q]||l.options.other}if(!T)throw new $e(l.value,f,Object.keys(l.options),s);a.push.apply(a,lt(T.value,e,n,r,i,f-(l.offset||0)));continue}}return Ir(a)}function Ur(t,e){return e?B(B(B({},t||{}),e||{}),Object.keys(t).reduce(function(n,r){return n[r]=B(B({},t[r]),e[r]||{}),n},{})):t}function Dr(t,e){return e?Object.keys(t).reduce(function(n,r){return n[r]=Ur(t[r],e[r]),n},B({},t)):t}function wt(t){return{create:function(){return{get:function(e){return t[e]},set:function(e,n){t[e]=n}}}}}function Gr(t){return t===void 0&&(t={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:Bt(function(){for(var e,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return new((e=Intl.NumberFormat).bind.apply(e,Tt([void 0],n,!1)))},{cache:wt(t.number),strategy:At.variadic}),getDateTimeFormat:Bt(function(){for(var e,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return new((e=Intl.DateTimeFormat).bind.apply(e,Tt([void 0],n,!1)))},{cache:wt(t.dateTime),strategy:At.variadic}),getPluralRules:Bt(function(){for(var e,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return new((e=Intl.PluralRules).bind.apply(e,Tt([void 0],n,!1)))},{cache:wt(t.pluralRules),strategy:At.variadic})}}var kr=(function(){function t(e,n,r,i){n===void 0&&(n=t.defaultLocale);var o=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(u){var c=o.formatToParts(u);if(c.length===1)return c[0].value;var l=c.reduce(function(h,f){return!h.length||f.type!==v.literal||typeof h[h.length-1]!="string"?h.push(f.value):h[h.length-1]+=f.value,h},[]);return l.length<=1?l[0]||"":l},this.formatToParts=function(u){return lt(o.ast,o.locales,o.formatters,o.formats,u,void 0,o.message)},this.resolvedOptions=function(){var u;return{locale:((u=o.resolvedLocale)===null||u===void 0?void 0:u.toString())||Intl.NumberFormat.supportedLocalesOf(o.locales)[0]}},this.getAst=function(){return o.ast},this.locales=n,this.resolvedLocale=t.resolveLocale(n),typeof e=="string"){if(this.message=e,!t.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var s=i||{};s.formatters;var a=Wn(s,["formatters"]);this.ast=t.__parse(e,B(B({},a),{locale:this.resolvedLocale}))}else this.ast=e;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=Dr(t.formats,r),this.formatters=i&&i.formatters||Gr(this.formatterCache)}return Object.defineProperty(t,"defaultLocale",{get:function(){return t.memoizedDefaultLocale||(t.memoizedDefaultLocale=new Intl.NumberFormat().resolvedOptions().locale),t.memoizedDefaultLocale},enumerable:!1,configurable:!0}),t.memoizedDefaultLocale=null,t.resolveLocale=function(e){if(!(typeof Intl.Locale>"u")){var n=Intl.NumberFormat.supportedLocalesOf(e);return n.length>0?new Intl.Locale(n[0]):new Intl.Locale(typeof e=="string"?e:e[0])}},t.__parse=Or,t.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"}}},t})();function xr(t,e){if(e==null)return;if(e in t)return t[e];let n=e.split("."),r=t;for(let i=0;i<n.length;i++)if(typeof r=="object"){if(i>0){let o=n.slice(i,n.length).join(".");if(o in r){r=r[o];break}}r=r[n[i]]}else r=void 0;return r}var L={},Fr=(t,e,n)=>n&&(e in L||(L[e]={}),t in L[e]||(L[e][t]=n),n),sn=(t,e)=>{if(e==null)return;if(e in L&&t in L[e])return L[e][t];let n=Et(e);for(let r=0;r<n.length;r++){let i=n[r],o=jr(i,t);if(o)return Fr(t,e,o)}},jt,at=gt({});function Vr(t){return jt[t]||null}function cn(t){return t in jt}function jr(t,e){if(!cn(t))return null;let n=Vr(t);return xr(n,e)}function Xr(t){if(t==null)return;let e=Et(t);for(let n=0;n<e.length;n++){let r=e[n];if(cn(r))return r}}function hn(t,...e){delete L[t],at.update(n=>(n[t]=Yn.all([n[t]||{},...e]),n))}z([at],([t])=>Object.keys(t));at.subscribe(t=>jt=t);var ut={};function Kr(t,e){ut[t].delete(e),ut[t].size===0&&delete ut[t]}function ln(t){return ut[t]}function Zr(t){return Et(t).map(e=>{let n=ln(e);return[e,n?[...n]:[]]}).filter(([,e])=>e.length>0)}function kt(t){return t==null?!1:Et(t).some(e=>{var n;return(n=ln(e))==null?void 0:n.size})}function zr(t,e){return Promise.all(e.map(n=>(Kr(t,n),n().then(r=>r.default||r)))).then(n=>hn(t,...n))}var tt={};
3function un(t){if(!kt(t))return t in tt?tt[t]:Promise.resolve();let e=Zr(t);return tt[t]=Promise.all(e.map(([n,r])=>zr(n,r))).then(()=>{if(kt(t))return un(t);delete tt[t]}),tt[t]}var Yr={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"}}},Wr={fallbackLocale:null,loadingDelay:200,formats:Yr,warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0},Jr=Wr;function Z(){return Jr}var Ct=gt(!1),qr=Object.defineProperty,Qr=Object.defineProperties,ti=Object.getOwnPropertyDescriptors,Le=Object.getOwnPropertySymbols,ei=Object.prototype.hasOwnProperty,ni=Object.prototype.propertyIsEnumerable,Oe=(t,e,n)=>e in t?qr(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,ri=(t,e)=>{for(var n in e||(e={}))ei.call(e,n)&&Oe(t,n,e[n]);if(Le)for(var n of Le(e))ni.call(e,n)&&Oe(t,n,e[n]);return t},ii=(t,e)=>Qr(t,ti(e)),fn,pt=gt(null);function Me(t){return t.split("-").map((e,n,r)=>r.slice(0,n+1).join("-")).reverse()}function Et(t,e=Z().fallbackLocale){let n=Me(t);return e?[...new Set([...n,...Me(e)])]:n}function U(){return fn??void 0}pt.subscribe(t=>{fn=t??void 0,typeof window<"u"&&t!=null&&document.documentElement.setAttribute("lang",t)});var oi=t=>{if(t&&Xr(t)&&kt(t)){let{loadingDelay:e}=Z(),n;return typeof window<"u"&&U()!=null&&e?n=window.setTimeout(()=>Ct.set(!0),e):Ct.set(!0),un(t).then(()=>{pt.set(t)}).finally(()=>{clearTimeout(n),Ct.set(!1)})}return pt.set(t)},Y=ii(ri({},pt),{set:oi}),yt=t=>{let e=Object.create(null);return n=>{let r=JSON.stringify(n);return r in e?e[r]:e[r]=t(n)}},ai=Object.defineProperty,mt=Object.getOwnPropertySymbols,pn=Object.prototype.hasOwnProperty,mn=Object.prototype.propertyIsEnumerable,Ne=(t,e,n)=>e in t?ai(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Xt=(t,e)=>{for(var n in e||(e={}))pn.call(e,n)&&Ne(t,n,e[n]);if(mt)for(var n of mt(e))mn.call(e,n)&&Ne(t,n,e[n]);return t},W=(t,e)=>{var n={};for(var r in t)pn.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(t!=null&&mt)for(var r of mt(t))e.indexOf(r)<0&&mn.call(t,r)&&(n[r]=t[r]);return n},rt=(t,e)=>{let{formats:n}=Z();if(t in n&&e in n[t])return n[t][e];throw new Error(`[svelte-i18n] Unknown "${e}" ${t} format.`)},si=yt(t=>{var e=t,{locale:n,format:r}=e,i=W(e,["locale","format"]);if(n==null)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return r&&(i=rt("number",r)),new Intl.NumberFormat(n,i)}),ci=yt(t=>{var e=t,{locale:n,format:r}=e,i=W(e,["locale","format"]);if(n==null)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return r?i=rt("date",r):Object.keys(i).length===0&&(i=rt("date","short")),new Intl.DateTimeFormat(n,i)}),hi=yt(t=>{var e=t,{locale:n,format:r}=e,i=W(e,["locale","format"]);if(n==null)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return r?i=rt("time",r):Object.keys(i).length===0&&(i=rt("time","short")),new Intl.DateTimeFormat(n,i)}),li=(t={})=>{var e=t,{locale:n=U()}=e,r=W(e,["locale"]);return si(Xt({locale:n},r))},ui=(t={})=>{var e=t,{locale:n=U()}=e,r=W(e,["locale"]);return ci(Xt({locale:n},r))},fi=(t={})=>{var e=t,{locale:n=U()}=e,r=W(e,["locale"]);return hi(Xt({locale:n},r))},pi=yt((t,e=U())=>new kr(t,e,Z().formats,{ignoreTag:Z().ignoreTag})),mi=(t,e={})=>{var n,r,i,o;let s=e;typeof t=="object"&&(s=t,t=s.id);let{values:a,locale:u=U(),default:c}=s;if(u==null)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let l=sn(t,u);if(!l)l=(o=(i=(r=(n=Z()).handleMissingMessage)==null?void 0:r.call(n,{locale:u,id:t,defaultValue:c}))!=null?i:c)!=null?o:t;else if(typeof l!="string")return console.warn(`[svelte-i18n] Me
3ssage with id "${t}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),l;if(!a)return l;let h=l;try{h=pi(l,u).format(a)}catch(f){f instanceof Error&&console.warn(`[svelte-i18n] Message "${t}" has syntax error:`,f.message)}return h},gi=(t,e)=>fi(e).format(t),di=(t,e)=>ui(e).format(t),bi=(t,e)=>li(e).format(t),Ei=(t,e=U())=>sn(t,e),yi=z([Y,at],()=>mi);z([Y],()=>gi);z([Y],()=>di);z([Y],()=>bi);z([Y,at],()=>Ei);function Ie(t,e){hn(t,e)}function vi(t){Y.set(t)}var Re={en:{errServerUnavailable:"Server unavailable",errEmailVerification:"Sorry! Your e-mail could not be verified. Please try again",infoInvalidHashKey:"Invalid, used or expired hash key",msgEmailVerificationSuccess:"Success! Your e-mail has been successfully verified"},ro:{errServerUnavailable:"Server indisponibil",errEmailVerification:"Ne pare r\u0103u! E-mailul t\u0103u nu a putut fi verificat. Te rug\u0103m s\u0103 \xEEncerci din nou",infoInvalidHashKey:"Cheie hash invalid\u0103, utilizat\u0103 sau expirat\u0103",msgEmailVerificationSuccess:"Succes! E-mailul t\u0103u a fost verificat cu succes"}};function _i(t){let e;return{c(){e=xe("div")},m(n,r){ke(n,e,r)},p:H,i:H,o:H,d(n){n&&Ft(e)}}}function Hi(t,e,n){let r;bn(t,yi,h=>n(4,r=h));let{lang:i="en"}=e,{endpoint:o=""}=e,{key:s=""}=e,{translationurl:a=""}=e,u=()=>{fetch(a).then(h=>h.json()).then(h=>{Object.keys(h).forEach(f=>{Ie(f,h[f])})}).catch(h=>{console.log(h)})};Object.keys(Re).forEach(h=>{Ie(h,Re[h])});let c=()=>{vi(i)},l=()=>{let h=new URL(`${o}/v1/player/activatePlayerByHashKey`),f={method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({hashKey:s})};fetch(h.href,f).then(g=>(g.status>500&&(window.postMessage({type:"ActivatePlayerResponseFailed"},window.location.href),window.postMessage({type:"WidgetNotification",data:{type:"error",message:r("errServerUnavailable")}},window.location.href)),g.json())).then(g=>{window.postMessage({type:"ActivatePlayerResponse",data:g},window.location.href),g.error&&(window.postMessage({type:"WidgetNotification",data:{type:"error",message:r("errEmailVerification")}},window.location.href),window.postMessage({type:"WidgetNotification",data:{type:"info",message:r("infoInvalidHashKey")}},window.location.href)),g.SESSION_ID&&window.postMessage({type:"WidgetNotification",data:{type:"success",message:r("msgEmailVerificationSuccess")}},window.location.href)})};return t.$$set=h=>{"lang"in h&&n(0,i=h.lang),"endpoint"in h&&n(1,o=h.endpoint),"key"in h&&n(2,s=h.key),"translationurl"in h&&n(3,a=h.translationurl)},t.$$.update=()=>{t.$$.dirty&1&&i&&c(),t.$$.dirty&8&&a&&u(),t.$$.dirty&6&&o&&s&&l()},[i,o,s,a]}var it=class extends Ot{constructor(e){super(),$n(this,e,Hi,_i,De,{lang:0,endpoint:1,key:2,translationurl:3})}get lang(){return this.$$.ctx[0]}set lang(e){this.$$set({lang:e}),F()}get endpoint(){return this.$$.ctx[1]}set endpoint(e){this.$$set({endpoint:e}),F()}get key(){return this.$$.ctx[2]}set key(e){this.$$set({key:e}),F()}get translationurl(){return this.$$.ctx[3]}set translationurl(e){this.$$set({translationurl:e}),F()}};Ln(it,{lang:{},endpoint:{},key:{},translationurl:{}},[],[],!0);function Ti(t){return function(...e){try{return t.apply(this,e)}catch(n){if(n instanceof DOMException&&n.message.includes("has already been used with this registry")||n.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw n}}}customElements.define=Ti(customElements.define);!customElements.get("player-email-verification")&&customElements.define("player-email-verification",it.element);function Ai(t,e){t&1&&(N(0),$(1),S(2,"translate"),I()),t&2&&(y(),R(P(2,1,"EmailVerification.loading")))}function Si(t,e){t&1&&(N(0),$(1),S(2,"translate"),I()),t&2&&(y(),R(P(2,1,"EmailVerification.success")))}function Pi(t,e){t&1&&(N(0),C(1,"span",13),$(2),S(3,"translate"),M(),I()),t&2&&(y(2),R(P(3,1,"EmailVerification.failed")))}function wi(t,e){t&1&&(N(0),$(1),S(2,"translate"),I()),t&2&&(y(),R(P(2,1,"EmailVerification.verifying")))}function Ci(t,e){t&1&&(N(0),$(1),S(2,"translate"),I()),t&2&&(y(),R(P(2,1,"EmailVerification.successMessage")))}function $i(t,e){t&1&&(N(0),C(1,"span",14),$(2),S(3,"translate"),M(),I()),t&2&&(y(2),R(P(3,1,"EmailVerification.failedMessage")))}var gn=(()=>{class t{constructor(n,r,i,o){this.route=n,this.router=r,this.localizationService=i,this.cdr=o,this.emailVerificationConfig={},this.success=!1,this.isLoading=!0,this.lang="en",this.localizationSubject=this.localizationService.currentLang().subscribe(s=>{this.lang=s}),this.setConfig(de),window.addEventListener("message",this.messageHandler.bind(this),!1)}setConfig(n){let{app:r,emailVerification:i}=Ee(n,window.navigator.userAgent);this.emailVerificationConfig={endpoint:r.endpoint,defaultRoute:r.defaultRoute,showLoginAfterGotoHome:i?.showLoginAfterGotoHome}}goToHome(){this.success&&this.emailVerificationConfig.showLoginAfterGotoHome?this.router.navigate([`/${this.lang}/login`]):this.router.navigate([`/${this.lang}${this.emailVerificationConfig.defaultRoute}`])}messageHandler(n){if(n.data)switch(n.data.type){case"ActivatePlayerResponseFailed":this.success=!1,this.isLoading=!1,this.cdr.detectChanges();break;case"ActivatePlayerResponse":this.success=!!n.data.data.SESSION_ID,this.isLoading=!1,this.cdr.detectChanges();break}}ngOnInit(){this.paramsSubject=this.route.paramMap.subscribe(n=>{this.localizationService.setLang(n.get("languageCode")),this.emailVerificationConfig.key=n.get("key")})}ngOnDestroy(){window.removeEventListener("message",this.messageHandler),this.localizationSubject.unsubscribe(),this.paramsSubject.unsubscribe()}static{this.\u0275fac=function(r){return new(r||t)(Q(pe),Q(me),Q(be),Q(re))}}static{this.\u0275cmp=qt({type:t,selectors:[["app-email-verification"]],standalone:!1,decls:21,vars:15,consts:[[1,"PageWrapper"],[1,"EmailConfirmationPage"],["xmlns","http://www.w3.org/2000/svg","width","130.345","height","130.345","viewBox","0 0 130.345 130.345"],["transform","translate(-9.37 -9.34)"],["d","M22.819,139.685H126.266a13.422,13.422,0,0,0,13.449-13.449V22.789A13.422,13.422,0,0,0,126.266,9.34H22.819A13.422,13.422,0,0,0,9.37,22.789V126.236A13.422,13.422,0,0,0,22.819,139.685Zm-7.241-116.9a7.2,7.2,0,0,1,7.241-7.241H126.266a7.2,7.2,0,0,1,7.241,7.241V38.3H15.572Zm0,21.725H133.513v81.723a7.2,7.2,0,0,1-7.241,7.241H22.824a7.2,7.2,0,0,1-7.241-7.241Z",1,"a"],["d","M147.866,140.62h-4.138a3.1,3.1,0,0,0,0,6.207h4.138a3.1,3.1,0,0,0,0-6.207Z","transform","translate(-116.772 -116.794)",1,"a"],["d","M297.866,140.62h-4.138a3.1,3.1,0,1,0,0,6.207h4.138a3.1,3.1,0,0,0,0-6.207Z","transform","translate(-250.22 -116.794)",1,"a"],["d","M144.243,216.259a6.14,6.14,0,0,0-6.139-6.139H83.539a6.14,6.14,0,0,0-6.139,6.139v37.6A6.14,6.14,0,0,0,83.539,260
3H138.1a6.14,6.14,0,0,0,6.139-6.139Zm-60.7-3.07H138.1a3.075,3.075,0,0,1,.483.046l-25.548,26.7a3.07,3.07,0,0,1-4.428,0l-25.555-26.7a3.074,3.074,0,0,1,.483-.046Zm-3.07,3.07h0a3.071,3.071,0,0,1,.207-1.074L96.793,232.03,80.47,252.091ZM138.1,256.933H83.539a3.07,3.07,0,0,1-2.241-.982l17.636-21.665,7.459,7.8a6.14,6.14,0,0,0,8.864,0l6.968-7.283,18.111,21.173a3.068,3.068,0,0,1-2.233.944Zm3.07-4.7-16.822-19.677,16.615-17.367a3.07,3.07,0,0,1,.207,1.074Z","transform","translate(-36.279 -147.919)",1,"a"],[1,"PageTitle",3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],[1,"PageContent",3,"ngSwitch"],[1,"RedirectButton",3,"click","disabled"],[1,"FailedTitle"],[1,"FailedMessage"]],template:function(r,i){r&1&&(_t(0,"player-email-verification"),C(1,"div",0)(2,"div",1),Wt(),C(3,"svg",2)(4,"g",3),_t(5,"path",4)(6,"path",5)(7,"path",6)(8,"path",7),M()(),Jt(),C(9,"p",8),vt(10,Ai,3,3,"ng-container",9)(11,Si,3,3,"ng-container",9)(12,Pi,4,3,"ng-container",10),M(),C(13,"p",11),vt(14,wi,3,3,"ng-container",9)(15,Ci,3,3,"ng-container",9)(16,$i,4,3,"ng-container",10),M(),C(17,"button",12),ee("click",function(){return i.goToHome()}),$(18),S(19,"translate"),S(20,"translate"),M()()()),r&2&&(te("lang",i.lang)("endpoint",i.emailVerificationConfig.endpoint)("key",i.emailVerificationConfig.key),y(9),w("ngSwitch",!0),y(),w("ngSwitchCase",i.isLoading),y(),w("ngSwitchCase",i.success),y(2),w("ngSwitch",!0),y(),w("ngSwitchCase",i.isLoading),y(),w("ngSwitchCase",i.success),y(2),w("disabled",i.isLoading),y(),ne(" ",i.success&&i.emailVerificationConfig.showLoginAfterGotoHome?P(19,11,"EmailVerification.goToLogin"):P(20,13,"EmailVerification.goToDefaultRoute")," "))},dependencies:[ie,oe,ae,le],styles:["*[_ngcontent-%COMP%], *[_ngcontent-%COMP%]:before, *[_ngcontent-%COMP%]:after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.PageWrapper[_ngcontent-%COMP%]{background:var(--emw--color-background, #fff);padding:50px 0;width:100%;text-align:center}.EmailConfirmationPage[_ngcontent-%COMP%]{display:flex;flex-direction:column;margin:auto;gap:40px;align-items:center;max-width:800px;padding:50px;font-size:18px;color:var(--emw--color-gray-150, #D1D1D1)}.EmailConfirmationPage[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{fill:var(--emw--color-primary, #D0046C)}.EmailConfirmationPage[_ngcontent-%COMP%] .PageTitle[_ngcontent-%COMP%]{color:var(--emw--misc-typography, var(--emw--color-primary, #000));font-size:24px;font-weight:500}.EmailConfirmationPage[_ngcontent-%COMP%] .RedirectButton[_ngcontent-%COMP%]{background:var(--emw--color-primary, #D0046C);border:1px solid var(--emw--color-primary, #D0046C);color:var(--emw--button-typography, var(--emw--color-white, #fff));border-radius:var(--emw--border-radius, 10px);width:100%;height:50px;font-size:14px;display:flex;align-items:center;justify-content:center;text-transform:uppercase;transition:all;transition-duration:.3s;box-sizing:border-box;cursor:pointer}.EmailConfirmationPage[_ngcontent-%COMP%] .RedirectButton[_ngcontent-%COMP%]:disabled, .EmailConfirmationPage[_ngcontent-%COMP%] .RedirectButton[disabled][_ngcontent-%COMP%]{opacity:.4}@media(min-width:420px){.EmailConfirmationPage[_ngcontent-%COMP%] .RedirectButton[_ngcontent-%COMP%]{width:auto;height:60px;padding:0 48px;font-size:16px}}"]})}}return t})();var Li=[{path:"",component:gn}],qi=(()=>{class t{static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275mod=Qt({type:t})}static{this.\u0275inj=Yt({imports:[se,ue.forChild({loader:{provide:he,useFactory:Oi,deps:[ce]}}),ge.forChild(Li)]})}}return t})();function Oi(t){return new fe(t)}export{qi as EmailVerificationModule,Oi as HttpLoaderFactory};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.