@everymatrix/cashier-receipt-page 1.69.0 → 1.69.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (28) hide show
  1. package/components/{CashierError-Bs7kSPa5.cjs → CashierError-CStIZU2h.cjs} +1 -1
  2. package/components/{CashierError-Dc-lS3si.js → CashierError-CgXGKzHH.js} +1 -1
  3. package/components/{CashierError-BC1r7Ha_.js → CashierError-DHis6aff.js} +1 -1
  4. package/components/{CashierReceiptPage-DRa849nR.cjs → CashierReceiptPage--BlYO8Y2.cjs} +1 -1
  5. package/components/{CashierReceiptPage-mRlIIKjJ.js → CashierReceiptPage-BlZVXQ-H.js} +2 -2
  6. package/components/{CashierReceiptPage-ChXTAGn8.js → CashierReceiptPage-DfRoCur0.js} +2 -2
  7. package/es2015/cashier-receipt-page.cjs +1 -1
  8. package/es2015/cashier-receipt-page.js +1 -1
  9. package/esnext/cashier-receipt-page.js +1 -1
  10. package/package.json +1 -1
  11. package/stencil/{index-97d17652-BEnqZAxL.js → index-97d17652-B0NIExnR.js} +1 -1
  12. package/stencil/{index-97d17652-WK_DbPS4.js → index-97d17652-D6HPqRtr.js} +1 -1
  13. package/stencil/{index-97d17652-D5_8Vwfn.cjs → index-97d17652-DNpK20ur.cjs} +1 -1
  14. package/stencil/ui-image-BY8ZO6br.js +7 -0
  15. package/stencil/ui-image-DJSOH8ZL.cjs +1 -0
  16. package/stencil/ui-image-DfVgiF6v.js +25 -0
  17. package/stencil/{ui-image-b7b48fe5-Cf9Vq5pI.js → ui-image-b7b48fe5-BXmf73Ou.js} +1 -1
  18. package/stencil/{ui-image-b7b48fe5-DCck2kk1.cjs → ui-image-b7b48fe5-DaWM2RbJ.cjs} +1 -1
  19. package/stencil/{ui-image-b7b48fe5-V9vp4faA.js → ui-image-b7b48fe5-c0NIgcTj.js} +1 -1
  20. package/stencil/ui-image_2-Cdo33umq.cjs +55 -0
  21. package/stencil/ui-image_2-DbQ7SENq.js +157 -0
  22. package/stencil/ui-image_2-L-CYescb.js +157 -0
  23. package/stencil/ui-image-CMb1eK44.cjs +0 -1
  24. package/stencil/ui-image-CQQDA5b0.js +0 -25
  25. package/stencil/ui-image-CmwNU-jf.js +0 -7
  26. package/stencil/ui-image_2-B56t6kXT.js +0 -154
  27. package/stencil/ui-image_2-BncuYpLi.js +0 -154
  28. package/stencil/ui-image_2-YkYxLKu7.cjs +0 -73
@@ -1,4 +1,4 @@
1
- "use strict";var Cn=Object.defineProperty,an=Object.defineProperties;var Bn=Object.getOwnPropertyDescriptors;var ne=Object.getOwnPropertySymbols;var un=Object.prototype.hasOwnProperty,cn=Object.prototype.propertyIsEnumerable;var MA=(A,e,n)=>e in A?Cn(A,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):A[e]=n,fe=(A,e)=>{for(var n in e||(e={}))un.call(e,n)&&MA(A,n,e[n]);if(ne)for(var n of ne(e))cn.call(e,n)&&MA(A,n,e[n]);return A},te=(A,e)=>an(A,Bn(e));var b=(A,e,n)=>(MA(A,typeof e!="symbol"?e+"":e,n),n);var re=(A,e,n)=>new Promise((f,t)=>{var r=s=>{try{w(n.next(s))}catch(P){t(P)}},i=s=>{try{w(n.throw(s))}catch(P){t(P)}},w=s=>s.done?f(s.value):Promise.resolve(s.value).then(r,i);w((n=n.apply(A,e)).next())});require("../stencil/ui-image-CMb1eK44.cjs");function y(){}function xn(A,e){for(const n in e)A[n]=e[n];return A}function ye(A){return A()}function ie(){return Object.create(null)}function _(A){A.forEach(ye)}function VA(A){return typeof A=="function"}function qA(A,e){return A!=A?e==e:A!==e||A&&typeof A=="object"||typeof A=="function"}let vA;function lA(A,e){return A===e?!0:(vA||(vA=document.createElement("a")),vA.href=e,A===vA.href)}function ln(A){return Object.keys(A).length===0}function Xe(A,...e){if(A==null){for(const f of e)f(void 0);return y}const n=A.subscribe(...e);return n.unsubscribe?()=>n.unsubscribe():n}function ze(A,e,n){A.$$.on_destroy.push(Xe(e,n))}function oA(A,e,n,f){if(A){const t=Me(A,e,n,f);return A[0](t)}}function Me(A,e,n,f){return A[1]&&f?xn(n.ctx.slice(),A[1](f(e))):n.ctx}function EA(A,e,n,f){if(A[2]&&f){const t=A[2](f(n));if(e.dirty===void 0)return t;if(typeof t=="object"){const r=[],i=Math.max(e.dirty.length,t.length);for(let w=0;w<i;w+=1)r[w]=e.dirty[w]|t[w];return r}return e.dirty|t}return e.dirty}function hA(A,e,n,f,t,r){if(t){const i=Me(e,n,f,r);A.p(i,t)}}function CA(A){if(A.ctx.length>32){const e=[],n=A.ctx.length/32;for(let f=0;f<n;f++)e[f]=-1;return e}return-1}const Dn=typeof window!="undefined"?window:typeof globalThis!="undefined"?globalThis:global;function j(A,e){A.appendChild(e)}function je(A,e,n){const f=In(A);if(!f.getElementById(e)){const t=X("style");t.id=e,t.textContent=n,Hn(f,t)}}function In(A){if(!A)return document;const e=A.getRootNode?A.getRootNode():A.ownerDocument;return e&&e.host?e:A.ownerDocument}function Hn(A,e){return j(A.head||A,e),e.sheet}function F(A,e,n){A.insertBefore(e,n||null)}function Q(A){A.parentNode&&A.parentNode.removeChild(A)}function Tn(A,e){for(let n=0;n<A.length;n+=1)A[n]&&A[n].d(e)}function X(A){return document.createElement(A)}function $(A){return document.createTextNode(A)}function aA(){return $(" ")}function Qe(){return $("")}function Fe(A,e,n,f){return A.addEventListener(e,n,f),()=>A.removeEventListener(e,n,f)}function R(A,e,n){n==null?A.removeAttribute(e):A.getAttribute(e)!==n&&A.setAttribute(e,n)}function O(A,e,n){const f=e.toLowerCase();f in A?A[f]=typeof A[f]=="boolean"&&n===""?!0:n:e in A?A[e]=typeof A[e]=="boolean"&&n===""?!0:n:R(A,e,n)}function Ln(A){return Array.from(A.childNodes)}function bA(A,e){e=""+e,A.data!==e&&(A.data=e)}function bn(A){const e={};return A.childNodes.forEach(n=>{e[n.slot||"default"]=!0}),e}let rA;function tA(A){rA=A}function dn(){if(!rA)throw new Error("Function called outside component initialization");return rA}function yn(A){dn().$$.on_mount.push(A)}const S=[],DA=[];let U=[];const we=[],Xn=Promise.resolve();let pA=!1;function zn(){pA||(pA=!0,Xn.then(z))}function NA(A){U.push(A)}const jA=new Set;let Y=0;function z(){if(Y!==0)return;const A=rA;do{try{for(;Y<S.length;){const e=S[Y];Y++,tA(e),Mn(e.$$)}}catch(e){throw S.length=0,Y=0,e}for(tA(null),S.length=0,Y=0;DA.length;)DA.pop()();for(let e=0;e<U.length;e+=1){const n=U[e];jA.has(n)||(jA.add(n),n())}U.length=0}while(S.length);for(;we.length;)we.pop()();pA=!1,jA.clear(),tA(A)}function Mn(A){if(A.fragment!==null){A.update(),_(A.before_update);const e=A.dirty;A.dirty=[-1],A.fragment&&A.fragment.p(A.ctx,e),A.after_update.forEach(NA)}}function jn(A){const e=[],n=[];U.forEach(f=>A.indexOf(f)===-1?e.push(f):n.push(f)),n.forEach(f=>f()),U=e}const BA=new Set;let G;function Qn(){G={r:0,c:[],p:G}}function Fn(){G.r||_(G.c),G=G.p}function J(A,e){A&&A.i&&(BA.delete(A),A.i(e))}function K(A,e,n,f){if(A&&A.o){if(BA.has(A))return;BA.add(A),G.c.push(()=>{BA.delete(A),f&&(n&&A.d(1),f())}),A.o(e)}else f&&f()}function Jn(A){return(A==null?void 0:A.length)!==void 0?A:Array.from(A)}function On(A,e,n){const{fragment:f,after_update:t}=A.$$;f&&f.m(e,n),NA(()=>{const r=A.$$.on_mount.map(ye).filter(VA);A.$$.on_destroy?A.$$.on_destroy.push(...r):_(r),A.$$.on_mount=[]}),t.forEach(NA)}function mn(A,e){const n=A.$$;n.fragment!==null&&(jn(n.after_update),_(n.on_destroy),n.fragment&&n.fragment.d(e),n.on_destroy=n.fragment=null,n.ctx=[])}function Rn(A,e){A.$$.dirty[0]===-1&&(S.push(A),zn(),A.$$.dirty.fill(0)),A.$$.dirty[e/31|0]|=1<<e%31}function Je(A,e,n,f,t,r,i=null,w=[-1]){const s=rA;tA(A);const P=A.$$={fragment:null,ctx:[],props:r,update:y,not_equal:t,bound:ie(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(s?s.$$.context:[])),callbacks:ie(),dirty:w,skip_bound:!1,root:e.target||s.$$.root};i&&i(P.root);let v=!1;if(P.ctx=n?n(A,e.props||{},(o,g,...C)=>{const c=C.length?C[0]:g;return P.ctx&&t(P.ctx[o],P.ctx[o]=c)&&(!P.skip_bound&&P.bound[o]&&P.bound[o](c),v&&Rn(A,o)),g}):[],P.update(),v=!0,_(P.before_update),P.fragment=f?f(P.ctx):!1,e.target){if(e.hydrate){const o=Ln(e.target);P.fragment&&P.fragment.l(o),o.forEach(Q)}else P.fragment&&P.fragment.c();e.intro&&J(A.$$.fragment),On(A,e.target,e.anchor),z()}tA(s)}let Oe;typeof HTMLElement=="function"&&(Oe=class extends HTMLElement{constructor(e,n,f){super();b(this,"$$ctor");b(this,"$$s");b(this,"$$c");b(this,"$$cn",!1);b(this,"$$d",{});b(this,"$$r",!1);b(this,"$$p_d",{});b(this,"$$l",{});b(this,"$$l_u",new Map);this.$$ctor=e,this.$$s=n,f&&this.attachShadow({mode:"open"})}addEventListener(e,n,f){if(this.$$l[e]=this.$$l[e]||[],this.$$l[e].push(n),this.$$c){const t=this.$$c.$on(e,n);this.$$l_u.set(n,t)}super.addEventListener(e,n,f)}removeEventListener(e,n,f){if(super.removeEventListener(e,n,f),this.$$c){const t=this.$$l_u.get(n);t&&(t(),this.$$l_u.delete(n))}}connectedCallback(){return re(this,null,function*(){if(this.$$cn=!0,!this.$$c){let e=function(r){return()=>{let i;return{c:function(){i=X("slot"),r!=="default"&&R(i,"name",r)},m:function(P,v){F(P,i,v)},d:function(P){P&&Q(i)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const n={},f=bn(this);for(const r of this.$$s)r in f&&(n[r]=[e(r)]);for(const r of this.attributes){const i=this.$$g_p(r.name);i in this.$$d||(this.$$d[i]=uA(i,r.value,this.$$p_d,"toProp"))}for(const r in this.$$p_d)!(r in this.$$d)&&this[r]!==void 0&&(this.$$d[r]=this[r],delete this[r]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:te(fe({},this.$$d),{$$slots:n,$$scope:{ctx:[]}})});const t=()=>{this.$$r=!0;for(const r in this.$$p_d)if(this.$$d[r]=this.$$c.$$.ctx[this.$$c.$$.props[r]],this.$$p_d[r].reflect){const i=uA(r,this.$$d[r],this.$$p_d,"toAttribute");i==null?this.removeAttribute(this.$$p_d[r].attribute||r):this.setAttribute(this.$$p_d[r].attribute||r,i)}this.$$r=!1};this.$$c.$$.after_update.push(t),t();for(const r in this.$$l)for(const i of this.$$l[r]){const w=this.$$c.$on(r,i);this.$$l_u.set(i,w)}this.$$l={}}})}attributeChangedCallback(e,n,f){var t;this.$$r||(e=this.$$g_p(e),this.$$d[e]=uA(e,f,this.$$p_d,"toProp"),(t=this.$$c)==null||t.$set({[e]:this.$$d[e]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$c=void 0)})}$$g_p(e){return Object.keys(this.$$p_d).find(n=>this.$$p_d[n].attribute===e||!this.$$p_d[n].attribute&&n.toLowerCase()===e)||e}});function uA(A,e,n,f){var r;const t=(r=n[A])==null?void 0:r.type;if(e=t==="Boolean"&&typeof e!="boolean"?e!=null:e,!f||!n[A])return e;if(f==="toAttribute")switch(t){case"Object":case"Array":return e==null?null:JSON.stringify(e);case"Boolean":return e?"":null;case"Number":return e==null?null:e;default:return e}else switch(t){case"Object":case"Array":return e&&JSON.parse(e);case"Boolean":return e;case"Number":return e!=null?+e:e;default:return e}}function me(A,e,n,f,t,r){let i=class extends Oe{constructor(){super(A,n,t),this.$$p_d=e}static get observedAttributes(){return Object.keys(e).map(w=>(e[w].attribute||w).toLowerCase())}};return Object.keys(e).forEach(w=>{Object.defineProperty(i.prototype,w,{get(){return this.$$c&&w in this.$$c?this.$$c[w]:this.$$d[w]},set(s){var P;s=uA(w,s,e),this.$$d[w]=s,(P=this.$$c)==null||P.$set({[w]:s})}})}),f.forEach(w=>{Object.defineProperty(i.prototype,w,{get(){var s;return(s=this.$$c)==null?void 0:s[w]}})}),A.element=i,i}class Re{constructor(){b(this,"$$");b(this,"$$set")}$destroy(){mn(this,1),this.$destroy=y}$on(e,n){if(!VA(n))return y;const f=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return f.push(n),()=>{const t=f.indexOf(n);t!==-1&&f.splice(t,1)}}$set(e){this.$$set&&!ln(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}const pn="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(pn);const k=[];function Nn(A,e){return{subscribe:dA(A,e).subscribe}}function dA(A,e=y){let n;const f=new Set;function t(w){if(qA(A,w)&&(A=w,n)){const s=!k.length;for(const P of f)P[1](),k.push(P,A);if(s){for(let P=0;P<k.length;P+=2)k[P][0](k[P+1]);k.length=0}}}function r(w){t(w(A))}function i(w,s=y){const P=[w,s];return f.add(P),f.size===1&&(n=e(t,r)||y),w(A),()=>{f.delete(P),f.size===0&&n&&(n(),n=null)}}return{set:t,update:r,subscribe:i}}function AA(A,e,n){const f=!Array.isArray(A),t=f?[A]:A;if(!t.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const r=e.length<2;return Nn(n,(i,w)=>{let s=!1;const P=[];let v=0,o=y;const g=()=>{if(v)return;o();const c=e(f?P[0]:P,i,w);r?i(c):o=VA(c)?c:y},C=t.map((c,x)=>Xe(c,u=>{P[x]=u,v&=~(1<<x),s&&g()},()=>{v|=1<<x}));return s=!0,g(),function(){_(C),o(),s=!1}})}var Gn=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function pe(A){return A&&A.__esModule&&Object.prototype.hasOwnProperty.call(A,"default")?A.default:A}var Yn=function(e){return kn(e)&&!Sn(e)};function kn(A){return!!A&&typeof A=="object"}function Sn(A){var e=Object.prototype.toString.call(A);return e==="[object RegExp]"||e==="[object Date]"||Wn(A)}var Kn=typeof Symbol=="function"&&Symbol.for,Un=Kn?Symbol.for("react.element"):60103;function Wn(A){return A.$$typeof===Un}function Zn(A){return Array.isArray(A)?[]:{}}function iA(A,e){return e.clone!==!1&&e.isMergeableObject(A)?W(Zn(A),A,e):A}function Vn(A,e,n){return A.concat(e).map(function(f){return iA(f,n)})}function qn(A,e){if(!e.customMerge)return W;var n=e.customMerge(A);return typeof n=="function"?n:W}function _n(A){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(A).filter(function(e){return Object.propertyIsEnumerable.call(A,e)}):[]}function Pe(A){return Object.keys(A).concat(_n(A))}function Ne(A,e){try{return e in A}catch(n){return!1}}function $n(A,e){return Ne(A,e)&&!(Object.hasOwnProperty.call(A,e)&&Object.propertyIsEnumerable.call(A,e))}function Af(A,e,n){var f={};return n.isMergeableObject(A)&&Pe(A).forEach(function(t){f[t]=iA(A[t],n)}),Pe(e).forEach(function(t){$n(A,t)||(Ne(A,t)&&n.isMergeableObject(e[t])?f[t]=qn(t,n)(A[t],e[t],n):f[t]=iA(e[t],n))}),f}function W(A,e,n){n=n||{},n.arrayMerge=n.arrayMerge||Vn,n.isMergeableObject=n.isMergeableObject||Yn,n.cloneUnlessOtherwiseSpecified=iA;var f=Array.isArray(e),t=Array.isArray(A),r=f===t;return r?f?n.arrayMerge(A,e,n):Af(A,e,n):iA(e,n)}W.all=function(e,n){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce(function(f,t){return W(f,t,n)},{})};var ef=W,nf=ef;const ff=pe(nf);var GA=function(A,e){return GA=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,f){n.__proto__=f}||function(n,f){for(var t in f)Object.prototype.hasOwnProperty.call(f,t)&&(n[t]=f[t])},GA(A,e)};function yA(A,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");GA(A,e);function n(){this.constructor=A}A.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}var M=function(){return M=Object.assign||function(e){for(var n,f=1,t=arguments.length;f<t;f++){n=arguments[f];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},M.apply(this,arguments)};function tf(A,e){var n={};for(var f in A)Object.prototype.hasOwnProperty.call(A,f)&&e.indexOf(f)<0&&(n[f]=A[f]);if(A!=null&&typeof Object.getOwnPropertySymbols=="function")for(var t=0,f=Object.getOwnPropertySymbols(A);t<f.length;t++)e.indexOf(f[t])<0&&Object.prototype.propertyIsEnumerable.call(A,f[t])&&(n[f[t]]=A[f[t]]);return n}function QA(A,e,n){if(n||arguments.length===2)for(var f=0,t=e.length,r;f<t;f++)(r||!(f in e))&&(r||(r=Array.prototype.slice.call(e,0,f)),r[f]=e[f]);return A.concat(r||Array.prototype.slice.call(e))}function FA(A,e){var n=e&&e.cache?e.cache:of,f=e&&e.serializer?e.serializer:vf,t=e&&e.strategy?e.strategy:Pf;return t(A,{cache:n,serializer:f})}function rf(A){return A==null||typeof A=="number"||typeof A=="boolean"}function wf(A,e,n,f){var t=rf(f)?f:n(f),r=e.get(t);return typeof r=="undefined"&&(r=A.call(this,f),e.set(t,r)),r}function Ge(A,e,n){var f=Array.prototype.slice.call(arguments,3),t=n(f),r=e.get(t);return typeof r=="undefined"&&(r=A.apply(this,f),e.set(t,r)),r}function Ye(A,e,n,f,t){return n.bind(e,A,f,t)}function Pf(A,e){var n=A.length===1?wf:Ge;return Ye(A,this,n,e.cache.create(),e.serializer)}function sf(A,e){return Ye(A,this,Ge,e.cache.create(),e.serializer)}var vf=function(){return JSON.stringify(arguments)},gf=function(){function A(){this.cache=Object.create(null)}return A.prototype.get=function(e){return this.cache[e]},A.prototype.set=function(e,n){this.cache[e]=n},A}(),of={create:function(){return new gf}},JA={variadic:sf},IA=function(){return IA=Object.assign||function(e){for(var n,f=1,t=arguments.length;f<t;f++){n=arguments[f];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},IA.apply(this,arguments)};var a;(function(A){A[A.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",A[A.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",A[A.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",A[A.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",A[A.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",A[A.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",A[A.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",A[A.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",A[A.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",A[A.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",A[A.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",A[A.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",A[A.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",A[A.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",A[A.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",A[A.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",A[A.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",A[A.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",A[A.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",A[A.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",A[A.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",A[A.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",A[A.INVALID_TAG=23]="INVALID_TAG",A[A.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",A[A.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",A[A.UNCLOSED_TAG=27]="UNCLOSED_TAG"})(a||(a={}));var D;(function(A){A[A.literal=0]="literal",A[A.argument=1]="argument",A[A.number=2]="number",A[A.date=3]="date",A[A.time=4]="time",A[A.select=5]="select",A[A.plural=6]="plural",A[A.pound=7]="pound",A[A.tag=8]="tag"})(D||(D={}));var Z;(function(A){A[A.number=0]="number",A[A.dateTime=1]="dateTime"})(Z||(Z={}));function se(A){return A.type===D.literal}function Ef(A){return A.type===D.argument}function ke(A){return A.type===D.number}function Se(A){return A.type===D.date}function Ke(A){return A.type===D.time}function Ue(A){return A.type===D.select}function We(A){return A.type===D.plural}function hf(A){return A.type===D.pound}function Ze(A){return A.type===D.tag}function Ve(A){return!!(A&&typeof A=="object"&&A.type===Z.number)}function YA(A){return!!(A&&typeof A=="object"&&A.type===Z.dateTime)}var qe=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Cf=/(?:[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 af(A){var e={};return A.replace(Cf,function(n){var f=n.length;switch(n[0]){case"G":e.era=f===4?"long":f===5?"narrow":"short";break;case"y":e.year=f===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"][f-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":e.day=["numeric","2-digit"][f-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=f===4?"long":f===5?"narrow":"short";break;case"e":if(f<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");e.weekday=["short","long","narrow","short"][f-4];break;case"c":if(f<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");e.weekday=["short","long","narrow","short"][f-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"][f-1];break;case"H":e.hourCycle="h23",e.hour=["numeric","2-digit"][f-1];break;case"K":e.hourCycle="h11",e.hour=["numeric","2-digit"][f-1];break;case"k":e.hourCycle="h24",e.hour=["numeric","2-digit"][f-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"][f-1];break;case"s":e.second=["numeric","2-digit"][f-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":e.timeZoneName=f<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 I=function(){return I=Object.assign||function(e){for(var n,f=1,t=arguments.length;f<t;f++){n=arguments[f];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},I.apply(this,arguments)};var Bf=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function uf(A){if(A.length===0)throw new Error("Number skeleton cannot be empty");for(var e=A.split(Bf).filter(function(g){return g.length>0}),n=[],f=0,t=e;f<t.length;f++){var r=t[f],i=r.split("/");if(i.length===0)throw new Error("Invalid number skeleton");for(var w=i[0],s=i.slice(1),P=0,v=s;P<v.length;P++){var o=v[P];if(o.length===0)throw new Error("Invalid number skeleton")}n.push({stem:w,options:s})}return n}function cf(A){return A.replace(/^(.*?)-/,"")}var ve=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,_e=/^(@+)?(\+|#+)?[rs]?$/g,xf=/(\*)(0+)|(#+)(0+)|(0+)/g,$e=/^(0+)$/;function ge(A){var e={};return A[A.length-1]==="r"?e.roundingPriority="morePrecision":A[A.length-1]==="s"&&(e.roundingPriority="lessPrecision"),A.replace(_e,function(n,f,t){return typeof t!="string"?(e.minimumSignificantDigits=f.length,e.maximumSignificantDigits=f.length):t==="+"?e.minimumSignificantDigits=f.length:f[0]==="#"?e.maximumSignificantDigits=f.length:(e.minimumSignificantDigits=f.length,e.maximumSignificantDigits=f.length+(typeof t=="string"?t.length:0)),""}),e}function An(A){switch(A){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 lf(A){var e;if(A[0]==="E"&&A[1]==="E"?(e={notation:"engineering"},A=A.slice(2)):A[0]==="E"&&(e={notation:"scientific"},A=A.slice(1)),e){var n=A.slice(0,2);if(n==="+!"?(e.signDisplay="always",A=A.slice(2)):n==="+?"&&(e.signDisplay="exceptZero",A=A.slice(2)),!$e.test(A))throw new Error("Malformed concise eng/scientific notation");e.minimumIntegerDigits=A.length}return e}function oe(A){var e={},n=An(A);return n||e}function Df(A){for(var e={},n=0,f=A;n<f.length;n++){var t=f[n];switch(t.stem){case"percent":case"%":e.style="percent";continue;case"%x100":e.style="percent",e.scale=100;continue;case"currency":e.style="currency",e.currency=t.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=cf(t.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=I(I(I({},e),{notation:"scientific"}),t.options.reduce(function(s,P){return I(I({},s),oe(P))},{}));continue;case"engineering":e=I(I(I({},e),{notation:"engineering"}),t.options.reduce(function(s,P){return I(I({},s),oe(P))},{}));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(t.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(t.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");t.options[0].replace(xf,function(s,P,v,o,g,C){if(P)e.minimumIntegerDigits=v.length;else{if(o&&g)throw new Error("We currently do not support maximum integer digits");if(C)throw new Error("We currently do not support exact integer digits")}return""});continue}if($e.test(t.stem)){e.minimumIntegerDigits=t.stem.length;continue}if(ve.test(t.stem)){if(t.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");t.stem.replace(ve,function(s,P,v,o,g,C){return v==="*"?e.minimumFractionDigits=P.length:o&&o[0]==="#"?e.maximumFractionDigits=o.length:g&&C?(e.minimumFractionDigits=g.length,e.maximumFractionDigits=g.length+C.length):(e.minimumFractionDigits=P.length,e.maximumFractionDigits=P.length),""});var r=t.options[0];r==="w"?e=I(I({},e),{trailingZeroDisplay:"stripIfInteger"}):r&&(e=I(I({},e),ge(r)));continue}if(_e.test(t.stem)){e=I(I({},e),ge(t.stem));continue}var i=An(t.stem);i&&(e=I(I({},e),i));var w=lf(t.stem);w&&(e=I(I({},e),w))}return e}var gA={"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 If(A,e){for(var n="",f=0;f<A.length;f++){var t=A.charAt(f);if(t==="j"){for(var r=0;f+1<A.length&&A.charAt(f+1)===t;)r++,f++;var i=1+(r&1),w=r<2?1:3+(r>>1),s="a",P=Hf(e);for((P=="H"||P=="k")&&(w=0);w-- >0;)n+=s;for(;i-- >0;)n=P+n}else t==="J"?n+="H":n+=t}return n}function Hf(A){var e=A.hourCycle;if(e===void 0&&A.hourCycles&&A.hourCycles.length&&(e=A.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=A.language,f;n!=="root"&&(f=A.maximize().region);var t=gA[f||""]||gA[n||""]||gA["".concat(n,"-001")]||gA["001"];return t[0]}var OA,Tf=new RegExp("^".concat(qe.source,"*")),Lf=new RegExp("".concat(qe.source,"*$"));function B(A,e){return{start:A,end:e}}var bf=!!String.prototype.startsWith&&"_a".startsWith("a",1),df=!!String.fromCodePoint,yf=!!Object.fromEntries,Xf=!!String.prototype.codePointAt,zf=!!String.prototype.trimStart,Mf=!!String.prototype.trimEnd,jf=!!Number.isSafeInteger,Qf=jf?Number.isSafeInteger:function(A){return typeof A=="number"&&isFinite(A)&&Math.floor(A)===A&&Math.abs(A)<=9007199254740991},kA=!0;try{var Ff=nn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");kA=((OA=Ff.exec("a"))===null||OA===void 0?void 0:OA[0])==="a"}catch(A){kA=!1}var Ee=bf?function(e,n,f){return e.startsWith(n,f)}:function(e,n,f){return e.slice(f,f+n.length)===n},SA=df?String.fromCodePoint:function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];for(var f="",t=e.length,r=0,i;t>r;){if(i=e[r++],i>1114111)throw RangeError(i+" is not a valid code point");f+=i<65536?String.fromCharCode(i):String.fromCharCode(((i-=65536)>>10)+55296,i%1024+56320)}return f},he=yf?Object.fromEntries:function(e){for(var n={},f=0,t=e;f<t.length;f++){var r=t[f],i=r[0],w=r[1];n[i]=w}return n},en=Xf?function(e,n){return e.codePointAt(n)}:function(e,n){var f=e.length;if(!(n<0||n>=f)){var t=e.charCodeAt(n),r;return t<55296||t>56319||n+1===f||(r=e.charCodeAt(n+1))<56320||r>57343?t:(t-55296<<10)+(r-56320)+65536}},Jf=zf?function(e){return e.trimStart()}:function(e){return e.replace(Tf,"")},Of=Mf?function(e){return e.trimEnd()}:function(e){return e.replace(Lf,"")};function nn(A,e){return new RegExp(A,e)}var KA;if(kA){var Ce=nn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");KA=function(e,n){var f;Ce.lastIndex=n;var t=Ce.exec(e);return(f=t[1])!==null&&f!==void 0?f:""}}else KA=function(e,n){for(var f=[];;){var t=en(e,n);if(t===void 0||fn(t)||Nf(t))break;f.push(t),n+=t>=65536?2:1}return SA.apply(void 0,f)};var mf=function(){function A(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 A.prototype.parse=function(){if(this.offset()!==0)throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},A.prototype.parseMessage=function(e,n,f){for(var t=[];!this.isEOF();){var r=this.char();if(r===123){var i=this.parseArgument(e,f);if(i.err)return i;t.push(i.val)}else{if(r===125&&e>0)break;if(r===35&&(n==="plural"||n==="selectordinal")){var w=this.clonePosition();this.bump(),t.push({type:D.pound,location:B(w,this.clonePosition())})}else if(r===60&&!this.ignoreTag&&this.peek()===47){if(f)break;return this.error(a.UNMATCHED_CLOSING_TAG,B(this.clonePosition(),this.clonePosition()))}else if(r===60&&!this.ignoreTag&&UA(this.peek()||0)){var i=this.parseTag(e,n);if(i.err)return i;t.push(i.val)}else{var i=this.parseLiteral(e,n);if(i.err)return i;t.push(i.val)}}}return{val:t,err:null}},A.prototype.parseTag=function(e,n){var f=this.clonePosition();this.bump();var t=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:D.literal,value:"<".concat(t,"/>"),location:B(f,this.clonePosition())},err:null};if(this.bumpIf(">")){var r=this.parseMessage(e+1,n,!0);if(r.err)return r;var i=r.val,w=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!UA(this.char()))return this.error(a.INVALID_TAG,B(w,this.clonePosition()));var s=this.clonePosition(),P=this.parseTagName();return t!==P?this.error(a.UNMATCHED_CLOSING_TAG,B(s,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:D.tag,value:t,children:i,location:B(f,this.clonePosition())},err:null}:this.error(a.INVALID_TAG,B(w,this.clonePosition())))}else return this.error(a.UNCLOSED_TAG,B(f,this.clonePosition()))}else return this.error(a.INVALID_TAG,B(f,this.clonePosition()))},A.prototype.parseTagName=function(){var e=this.offset();for(this.bump();!this.isEOF()&&pf(this.char());)this.bump();return this.message.slice(e,this.offset())},A.prototype.parseLiteral=function(e,n){for(var f=this.clonePosition(),t="";;){var r=this.tryParseQuote(n);if(r){t+=r;continue}var i=this.tryParseUnquoted(e,n);if(i){t+=i;continue}var w=this.tryParseLeftAngleBracket();if(w){t+=w;continue}break}var s=B(f,this.clonePosition());return{val:{type:D.literal,value:t,location:s},err:null}},A.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!Rf(this.peek()||0))?(this.bump(),"<"):null},A.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 f=this.char();if(f===39)if(this.peek()===39)n.push(39),this.bump();else{this.bump();break}else n.push(f);this.bump()}return SA.apply(void 0,n)},A.prototype.tryParseUnquoted=function(e,n){if(this.isEOF())return null;var f=this.char();return f===60||f===123||f===35&&(n==="plural"||n==="selectordinal")||f===125&&e>0?null:(this.bump(),SA(f))},A.prototype.parseArgument=function(e,n){var f=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(a.EXPECT_ARGUMENT_CLOSING_BRACE,B(f,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(a.EMPTY_ARGUMENT,B(f,this.clonePosition()));var t=this.parseIdentifierIfPossible().value;if(!t)return this.error(a.MALFORMED_ARGUMENT,B(f,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(a.EXPECT_ARGUMENT_CLOSING_BRACE,B(f,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:D.argument,value:t,location:B(f,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(a.EXPECT_ARGUMENT_CLOSING_BRACE,B(f,this.clonePosition())):this.parseArgumentOptions(e,n,t,f);default:return this.error(a.MALFORMED_ARGUMENT,B(f,this.clonePosition()))}},A.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),n=this.offset(),f=KA(this.message,n),t=n+f.length;this.bumpTo(t);var r=this.clonePosition(),i=B(e,r);return{value:f,location:i}},A.prototype.parseArgumentOptions=function(e,n,f,t){var r,i=this.clonePosition(),w=this.parseIdentifierIfPossible().value,s=this.clonePosition();switch(w){case"":return this.error(a.EXPECT_ARGUMENT_TYPE,B(i,s));case"number":case"date":case"time":{this.bumpSpace();var P=null;if(this.bumpIf(",")){this.bumpSpace();var v=this.clonePosition(),o=this.parseSimpleArgStyleIfPossible();if(o.err)return o;var g=Of(o.val);if(g.length===0)return this.error(a.EXPECT_ARGUMENT_STYLE,B(this.clonePosition(),this.clonePosition()));var C=B(v,this.clonePosition());P={style:g,styleLocation:C}}var c=this.tryParseArgumentClose(t);if(c.err)return c;var x=B(t,this.clonePosition());if(P&&Ee(P==null?void 0:P.style,"::",0)){var u=Jf(P.style.slice(2));if(w==="number"){var o=this.parseNumberSkeletonFromString(u,P.styleLocation);return o.err?o:{val:{type:D.number,value:f,location:x,style:o.val},err:null}}else{if(u.length===0)return this.error(a.EXPECT_DATE_TIME_SKELETON,x);var E=u;this.locale&&(E=If(u,this.locale));var g={type:Z.dateTime,pattern:E,location:P.styleLocation,parsedOptions:this.shouldParseSkeletons?af(E):{}},l=w==="date"?D.date:D.time;return{val:{type:l,value:f,location:x,style:g},err:null}}}return{val:{type:w==="number"?D.number:w==="date"?D.date:D.time,value:f,location:x,style:(r=P==null?void 0:P.style)!==null&&r!==void 0?r:null},err:null}}case"plural":case"selectordinal":case"select":{var L=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(a.EXPECT_SELECT_ARGUMENT_OPTIONS,B(L,IA({},L)));this.bumpSpace();var h=this.parseIdentifierIfPossible(),H=0;if(w!=="select"&&h.value==="offset"){if(!this.bumpIf(":"))return this.error(a.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,B(this.clonePosition(),this.clonePosition()));this.bumpSpace();var o=this.tryParseDecimalInteger(a.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,a.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(o.err)return o;this.bumpSpace(),h=this.parseIdentifierIfPossible(),H=o.val}var d=this.tryParsePluralOrSelectOptions(e,w,n,h);if(d.err)return d;var c=this.tryParseArgumentClose(t);if(c.err)return c;var ee=B(t,this.clonePosition());return w==="select"?{val:{type:D.select,value:f,options:he(d.val),location:ee},err:null}:{val:{type:D.plural,value:f,options:he(d.val),offset:H,pluralType:w==="plural"?"cardinal":"ordinal",location:ee},err:null}}default:return this.error(a.INVALID_ARGUMENT_TYPE,B(i,s))}},A.prototype.tryParseArgumentClose=function(e){return this.isEOF()||this.char()!==125?this.error(a.EXPECT_ARGUMENT_CLOSING_BRACE,B(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},A.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,n=this.clonePosition();!this.isEOF();){var f=this.char();switch(f){case 39:{this.bump();var t=this.clonePosition();if(!this.bumpUntil("'"))return this.error(a.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,B(t,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}},A.prototype.parseNumberSkeletonFromString=function(e,n){var f=[];try{f=uf(e)}catch(t){return this.error(a.INVALID_NUMBER_SKELETON,n)}return{val:{type:Z.number,tokens:f,location:n,parsedOptions:this.shouldParseSkeletons?Df(f):{}},err:null}},A.prototype.tryParsePluralOrSelectOptions=function(e,n,f,t){for(var r,i=!1,w=[],s=new Set,P=t.value,v=t.location;;){if(P.length===0){var o=this.clonePosition();if(n!=="select"&&this.bumpIf("=")){var g=this.tryParseDecimalInteger(a.EXPECT_PLURAL_ARGUMENT_SELECTOR,a.INVALID_PLURAL_ARGUMENT_SELECTOR);if(g.err)return g;v=B(o,this.clonePosition()),P=this.message.slice(o.offset,this.offset())}else break}if(s.has(P))return this.error(n==="select"?a.DUPLICATE_SELECT_ARGUMENT_SELECTOR:a.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,v);P==="other"&&(i=!0),this.bumpSpace();var C=this.clonePosition();if(!this.bumpIf("{"))return this.error(n==="select"?a.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:a.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,B(this.clonePosition(),this.clonePosition()));var c=this.parseMessage(e+1,n,f);if(c.err)return c;var x=this.tryParseArgumentClose(C);if(x.err)return x;w.push([P,{value:c.val,location:B(C,this.clonePosition())}]),s.add(P),this.bumpSpace(),r=this.parseIdentifierIfPossible(),P=r.value,v=r.location}return w.length===0?this.error(n==="select"?a.EXPECT_SELECT_ARGUMENT_SELECTOR:a.EXPECT_PLURAL_ARGUMENT_SELECTOR,B(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!i?this.error(a.MISSING_OTHER_CLAUSE,B(this.clonePosition(),this.clonePosition())):{val:w,err:null}},A.prototype.tryParseDecimalInteger=function(e,n){var f=1,t=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(f=-1);for(var r=!1,i=0;!this.isEOF();){var w=this.char();if(w>=48&&w<=57)r=!0,i=i*10+(w-48),this.bump();else break}var s=B(t,this.clonePosition());return r?(i*=f,Qf(i)?{val:i,err:null}:this.error(n,s)):this.error(e,s)},A.prototype.offset=function(){return this.position.offset},A.prototype.isEOF=function(){return this.offset()===this.message.length},A.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},A.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var n=en(this.message,e);if(n===void 0)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return n},A.prototype.error=function(e,n){return{val:null,err:{kind:e,message:this.message,location:n}}},A.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)}},A.prototype.bumpIf=function(e){if(Ee(this.message,e,this.offset())){for(var n=0;n<e.length;n++)this.bump();return!0}return!1},A.prototype.bumpUntil=function(e){var n=this.offset(),f=this.message.indexOf(e,n);return f>=0?(this.bumpTo(f),!0):(this.bumpTo(this.message.length),!1)},A.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}},A.prototype.bumpSpace=function(){for(;!this.isEOF()&&fn(this.char());)this.bump()},A.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),n=this.offset(),f=this.message.charCodeAt(n+(e>=65536?2:1));return f!=null?f:null},A}();function UA(A){return A>=97&&A<=122||A>=65&&A<=90}function Rf(A){return UA(A)||A===47}function pf(A){return A===45||A===46||A>=48&&A<=57||A===95||A>=97&&A<=122||A>=65&&A<=90||A==183||A>=192&&A<=214||A>=216&&A<=246||A>=248&&A<=893||A>=895&&A<=8191||A>=8204&&A<=8205||A>=8255&&A<=8256||A>=8304&&A<=8591||A>=11264&&A<=12271||A>=12289&&A<=55295||A>=63744&&A<=64975||A>=65008&&A<=65533||A>=65536&&A<=983039}function fn(A){return A>=9&&A<=13||A===32||A===133||A>=8206&&A<=8207||A===8232||A===8233}function Nf(A){return A>=33&&A<=35||A===36||A>=37&&A<=39||A===40||A===41||A===42||A===43||A===44||A===45||A>=46&&A<=47||A>=58&&A<=59||A>=60&&A<=62||A>=63&&A<=64||A===91||A===92||A===93||A===94||A===96||A===123||A===124||A===125||A===126||A===161||A>=162&&A<=165||A===166||A===167||A===169||A===171||A===172||A===174||A===176||A===177||A===182||A===187||A===191||A===215||A===247||A>=8208&&A<=8213||A>=8214&&A<=8215||A===8216||A===8217||A===8218||A>=8219&&A<=8220||A===8221||A===8222||A===8223||A>=8224&&A<=8231||A>=8240&&A<=8248||A===8249||A===8250||A>=8251&&A<=8254||A>=8257&&A<=8259||A===8260||A===8261||A===8262||A>=8263&&A<=8273||A===8274||A===8275||A>=8277&&A<=8286||A>=8592&&A<=8596||A>=8597&&A<=8601||A>=8602&&A<=8603||A>=8604&&A<=8607||A===8608||A>=8609&&A<=8610||A===8611||A>=8612&&A<=8613||A===8614||A>=8615&&A<=8621||A===8622||A>=8623&&A<=8653||A>=8654&&A<=8655||A>=8656&&A<=8657||A===8658||A===8659||A===8660||A>=8661&&A<=8691||A>=8692&&A<=8959||A>=8960&&A<=8967||A===8968||A===8969||A===8970||A===8971||A>=8972&&A<=8991||A>=8992&&A<=8993||A>=8994&&A<=9e3||A===9001||A===9002||A>=9003&&A<=9083||A===9084||A>=9085&&A<=9114||A>=9115&&A<=9139||A>=9140&&A<=9179||A>=9180&&A<=9185||A>=9186&&A<=9254||A>=9255&&A<=9279||A>=9280&&A<=9290||A>=9291&&A<=9311||A>=9472&&A<=9654||A===9655||A>=9656&&A<=9664||A===9665||A>=9666&&A<=9719||A>=9720&&A<=9727||A>=9728&&A<=9838||A===9839||A>=9840&&A<=10087||A===10088||A===10089||A===10090||A===10091||A===10092||A===10093||A===10094||A===10095||A===10096||A===10097||A===10098||A===10099||A===10100||A===10101||A>=10132&&A<=10175||A>=10176&&A<=10180||A===10181||A===10182||A>=10183&&A<=10213||A===10214||A===10215||A===10216||A===10217||A===10218||A===10219||A===10220||A===10221||A===10222||A===10223||A>=10224&&A<=10239||A>=10240&&A<=10495||A>=10496&&A<=10626||A===10627||A===10628||A===10629||A===10630||A===10631||A===10632||A===10633||A===10634||A===10635||A===10636||A===10637||A===10638||A===10639||A===10640||A===10641||A===10642||A===10643||A===10644||A===10645||A===10646||A===10647||A===10648||A>=10649&&A<=10711||A===10712||A===10713||A===10714||A===10715||A>=10716&&A<=10747||A===10748||A===10749||A>=10750&&A<=11007||A>=11008&&A<=11055||A>=11056&&A<=11076||A>=11077&&A<=11078||A>=11079&&A<=11084||A>=11085&&A<=11123||A>=11124&&A<=11125||A>=11126&&A<=11157||A===11158||A>=11159&&A<=11263||A>=11776&&A<=11777||A===11778||A===11779||A===11780||A===11781||A>=11782&&A<=11784||A===11785||A===11786||A===11787||A===11788||A===11789||A>=11790&&A<=11798||A===11799||A>=11800&&A<=11801||A===11802||A===11803||A===11804||A===11805||A>=11806&&A<=11807||A===11808||A===11809||A===11810||A===11811||A===11812||A===11813||A===11814||A===11815||A===11816||A===11817||A>=11818&&A<=11822||A===11823||A>=11824&&A<=11833||A>=11834&&A<=11835||A>=11836&&A<=11839||A===11840||A===11841||A===11842||A>=11843&&A<=11855||A>=11856&&A<=11857||A===11858||A>=11859&&A<=11903||A>=12289&&A<=12291||A===12296||A===12297||A===12298||A===12299||A===12300||A===12301||A===12302||A===12303||A===12304||A===12305||A>=12306&&A<=12307||A===12308||A===12309||A===12310||A===12311||A===12312||A===12313||A===12314||A===12315||A===12316||A===12317||A>=12318&&A<=12319||A===12320||A===12336||A===64830||A===64831||A>=65093&&A<=65094}function WA(A){A.forEach(function(e){if(delete e.location,Ue(e)||We(e))for(var n in e.options)delete e.options[n].location,WA(e.options[n].value);else ke(e)&&Ve(e.style)||(Se(e)||Ke(e))&&YA(e.style)?delete e.style.location:Ze(e)&&WA(e.children)})}function Gf(A,e){e===void 0&&(e={}),e=IA({shouldParseSkeletons:!0,requiresOtherClause:!0},e);var n=new mf(A,e).parse();if(n.err){var f=SyntaxError(a[n.err.kind]);throw f.location=n.err.location,f.originalMessage=n.err.message,f}return e!=null&&e.captureLocation||WA(n.val),n.val}var V;(function(A){A.MISSING_VALUE="MISSING_VALUE",A.INVALID_VALUE="INVALID_VALUE",A.MISSING_INTL_API="MISSING_INTL_API"})(V||(V={}));var XA=function(A){yA(e,A);function e(n,f,t){var r=A.call(this,n)||this;return r.code=f,r.originalMessage=t,r}return e.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},e}(Error),ae=function(A){yA(e,A);function e(n,f,t,r){return A.call(this,'Invalid values for "'.concat(n,'": "').concat(f,'". Options are "').concat(Object.keys(t).join('", "'),'"'),V.INVALID_VALUE,r)||this}return e}(XA),Yf=function(A){yA(e,A);function e(n,f,t){return A.call(this,'Value for "'.concat(n,'" must be of type ').concat(f),V.INVALID_VALUE,t)||this}return e}(XA),kf=function(A){yA(e,A);function e(n,f){return A.call(this,'The intl string context variable "'.concat(n,'" was not provided to the string "').concat(f,'"'),V.MISSING_VALUE,f)||this}return e}(XA),T;(function(A){A[A.literal=0]="literal",A[A.object=1]="object"})(T||(T={}));function Sf(A){return A.length<2?A:A.reduce(function(e,n){var f=e[e.length-1];return!f||f.type!==T.literal||n.type!==T.literal?e.push(n):f.value+=n.value,e},[])}function Kf(A){return typeof A=="function"}function cA(A,e,n,f,t,r,i){if(A.length===1&&se(A[0]))return[{type:T.literal,value:A[0].value}];for(var w=[],s=0,P=A;s<P.length;s++){var v=P[s];if(se(v)){w.push({type:T.literal,value:v.value});continue}if(hf(v)){typeof r=="number"&&w.push({type:T.literal,value:n.getNumberFormat(e).format(r)});continue}var o=v.value;if(!(t&&o in t))throw new kf(o,i);var g=t[o];if(Ef(v)){(!g||typeof g=="string"||typeof g=="number")&&(g=typeof g=="string"||typeof g=="number"?String(g):""),w.push({type:typeof g=="string"?T.literal:T.object,value:g});continue}if(Se(v)){var C=typeof v.style=="string"?f.date[v.style]:YA(v.style)?v.style.parsedOptions:void 0;w.push({type:T.literal,value:n.getDateTimeFormat(e,C).format(g)});continue}if(Ke(v)){var C=typeof v.style=="string"?f.time[v.style]:YA(v.style)?v.style.parsedOptions:f.time.medium;w.push({type:T.literal,value:n.getDateTimeFormat(e,C).format(g)});continue}if(ke(v)){var C=typeof v.style=="string"?f.number[v.style]:Ve(v.style)?v.style.parsedOptions:void 0;C&&C.scale&&(g=g*(C.scale||1)),w.push({type:T.literal,value:n.getNumberFormat(e,C).format(g)});continue}if(Ze(v)){var c=v.children,x=v.value,u=t[x];if(!Kf(u))throw new Yf(x,"function",i);var E=cA(c,e,n,f,t,r),l=u(E.map(function(H){return H.value}));Array.isArray(l)||(l=[l]),w.push.apply(w,l.map(function(H){return{type:typeof H=="string"?T.literal:T.object,value:H}}))}if(Ue(v)){var L=v.options[g]||v.options.other;if(!L)throw new ae(v.value,g,Object.keys(v.options),i);w.push.apply(w,cA(L.value,e,n,f,t));continue}if(We(v)){var L=v.options["=".concat(g)];if(!L){if(!Intl.PluralRules)throw new XA(`Intl.PluralRules is not available in this environment.
1
+ "use strict";var Cn=Object.defineProperty,an=Object.defineProperties;var Bn=Object.getOwnPropertyDescriptors;var ne=Object.getOwnPropertySymbols;var un=Object.prototype.hasOwnProperty,cn=Object.prototype.propertyIsEnumerable;var MA=(A,e,n)=>e in A?Cn(A,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):A[e]=n,fe=(A,e)=>{for(var n in e||(e={}))un.call(e,n)&&MA(A,n,e[n]);if(ne)for(var n of ne(e))cn.call(e,n)&&MA(A,n,e[n]);return A},te=(A,e)=>an(A,Bn(e));var b=(A,e,n)=>(MA(A,typeof e!="symbol"?e+"":e,n),n);var re=(A,e,n)=>new Promise((f,t)=>{var r=s=>{try{w(n.next(s))}catch(P){t(P)}},i=s=>{try{w(n.throw(s))}catch(P){t(P)}},w=s=>s.done?f(s.value):Promise.resolve(s.value).then(r,i);w((n=n.apply(A,e)).next())});require("../stencil/ui-image-DJSOH8ZL.cjs");function y(){}function xn(A,e){for(const n in e)A[n]=e[n];return A}function ye(A){return A()}function ie(){return Object.create(null)}function _(A){A.forEach(ye)}function VA(A){return typeof A=="function"}function qA(A,e){return A!=A?e==e:A!==e||A&&typeof A=="object"||typeof A=="function"}let vA;function lA(A,e){return A===e?!0:(vA||(vA=document.createElement("a")),vA.href=e,A===vA.href)}function ln(A){return Object.keys(A).length===0}function Xe(A,...e){if(A==null){for(const f of e)f(void 0);return y}const n=A.subscribe(...e);return n.unsubscribe?()=>n.unsubscribe():n}function ze(A,e,n){A.$$.on_destroy.push(Xe(e,n))}function oA(A,e,n,f){if(A){const t=Me(A,e,n,f);return A[0](t)}}function Me(A,e,n,f){return A[1]&&f?xn(n.ctx.slice(),A[1](f(e))):n.ctx}function EA(A,e,n,f){if(A[2]&&f){const t=A[2](f(n));if(e.dirty===void 0)return t;if(typeof t=="object"){const r=[],i=Math.max(e.dirty.length,t.length);for(let w=0;w<i;w+=1)r[w]=e.dirty[w]|t[w];return r}return e.dirty|t}return e.dirty}function hA(A,e,n,f,t,r){if(t){const i=Me(e,n,f,r);A.p(i,t)}}function CA(A){if(A.ctx.length>32){const e=[],n=A.ctx.length/32;for(let f=0;f<n;f++)e[f]=-1;return e}return-1}const Dn=typeof window!="undefined"?window:typeof globalThis!="undefined"?globalThis:global;function j(A,e){A.appendChild(e)}function je(A,e,n){const f=In(A);if(!f.getElementById(e)){const t=X("style");t.id=e,t.textContent=n,Hn(f,t)}}function In(A){if(!A)return document;const e=A.getRootNode?A.getRootNode():A.ownerDocument;return e&&e.host?e:A.ownerDocument}function Hn(A,e){return j(A.head||A,e),e.sheet}function F(A,e,n){A.insertBefore(e,n||null)}function Q(A){A.parentNode&&A.parentNode.removeChild(A)}function Tn(A,e){for(let n=0;n<A.length;n+=1)A[n]&&A[n].d(e)}function X(A){return document.createElement(A)}function $(A){return document.createTextNode(A)}function aA(){return $(" ")}function Qe(){return $("")}function Fe(A,e,n,f){return A.addEventListener(e,n,f),()=>A.removeEventListener(e,n,f)}function R(A,e,n){n==null?A.removeAttribute(e):A.getAttribute(e)!==n&&A.setAttribute(e,n)}function O(A,e,n){const f=e.toLowerCase();f in A?A[f]=typeof A[f]=="boolean"&&n===""?!0:n:e in A?A[e]=typeof A[e]=="boolean"&&n===""?!0:n:R(A,e,n)}function Ln(A){return Array.from(A.childNodes)}function bA(A,e){e=""+e,A.data!==e&&(A.data=e)}function bn(A){const e={};return A.childNodes.forEach(n=>{e[n.slot||"default"]=!0}),e}let rA;function tA(A){rA=A}function dn(){if(!rA)throw new Error("Function called outside component initialization");return rA}function yn(A){dn().$$.on_mount.push(A)}const S=[],DA=[];let U=[];const we=[],Xn=Promise.resolve();let pA=!1;function zn(){pA||(pA=!0,Xn.then(z))}function NA(A){U.push(A)}const jA=new Set;let Y=0;function z(){if(Y!==0)return;const A=rA;do{try{for(;Y<S.length;){const e=S[Y];Y++,tA(e),Mn(e.$$)}}catch(e){throw S.length=0,Y=0,e}for(tA(null),S.length=0,Y=0;DA.length;)DA.pop()();for(let e=0;e<U.length;e+=1){const n=U[e];jA.has(n)||(jA.add(n),n())}U.length=0}while(S.length);for(;we.length;)we.pop()();pA=!1,jA.clear(),tA(A)}function Mn(A){if(A.fragment!==null){A.update(),_(A.before_update);const e=A.dirty;A.dirty=[-1],A.fragment&&A.fragment.p(A.ctx,e),A.after_update.forEach(NA)}}function jn(A){const e=[],n=[];U.forEach(f=>A.indexOf(f)===-1?e.push(f):n.push(f)),n.forEach(f=>f()),U=e}const BA=new Set;let G;function Qn(){G={r:0,c:[],p:G}}function Fn(){G.r||_(G.c),G=G.p}function J(A,e){A&&A.i&&(BA.delete(A),A.i(e))}function K(A,e,n,f){if(A&&A.o){if(BA.has(A))return;BA.add(A),G.c.push(()=>{BA.delete(A),f&&(n&&A.d(1),f())}),A.o(e)}else f&&f()}function Jn(A){return(A==null?void 0:A.length)!==void 0?A:Array.from(A)}function On(A,e,n){const{fragment:f,after_update:t}=A.$$;f&&f.m(e,n),NA(()=>{const r=A.$$.on_mount.map(ye).filter(VA);A.$$.on_destroy?A.$$.on_destroy.push(...r):_(r),A.$$.on_mount=[]}),t.forEach(NA)}function mn(A,e){const n=A.$$;n.fragment!==null&&(jn(n.after_update),_(n.on_destroy),n.fragment&&n.fragment.d(e),n.on_destroy=n.fragment=null,n.ctx=[])}function Rn(A,e){A.$$.dirty[0]===-1&&(S.push(A),zn(),A.$$.dirty.fill(0)),A.$$.dirty[e/31|0]|=1<<e%31}function Je(A,e,n,f,t,r,i=null,w=[-1]){const s=rA;tA(A);const P=A.$$={fragment:null,ctx:[],props:r,update:y,not_equal:t,bound:ie(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(s?s.$$.context:[])),callbacks:ie(),dirty:w,skip_bound:!1,root:e.target||s.$$.root};i&&i(P.root);let v=!1;if(P.ctx=n?n(A,e.props||{},(o,g,...C)=>{const c=C.length?C[0]:g;return P.ctx&&t(P.ctx[o],P.ctx[o]=c)&&(!P.skip_bound&&P.bound[o]&&P.bound[o](c),v&&Rn(A,o)),g}):[],P.update(),v=!0,_(P.before_update),P.fragment=f?f(P.ctx):!1,e.target){if(e.hydrate){const o=Ln(e.target);P.fragment&&P.fragment.l(o),o.forEach(Q)}else P.fragment&&P.fragment.c();e.intro&&J(A.$$.fragment),On(A,e.target,e.anchor),z()}tA(s)}let Oe;typeof HTMLElement=="function"&&(Oe=class extends HTMLElement{constructor(e,n,f){super();b(this,"$$ctor");b(this,"$$s");b(this,"$$c");b(this,"$$cn",!1);b(this,"$$d",{});b(this,"$$r",!1);b(this,"$$p_d",{});b(this,"$$l",{});b(this,"$$l_u",new Map);this.$$ctor=e,this.$$s=n,f&&this.attachShadow({mode:"open"})}addEventListener(e,n,f){if(this.$$l[e]=this.$$l[e]||[],this.$$l[e].push(n),this.$$c){const t=this.$$c.$on(e,n);this.$$l_u.set(n,t)}super.addEventListener(e,n,f)}removeEventListener(e,n,f){if(super.removeEventListener(e,n,f),this.$$c){const t=this.$$l_u.get(n);t&&(t(),this.$$l_u.delete(n))}}connectedCallback(){return re(this,null,function*(){if(this.$$cn=!0,!this.$$c){let e=function(r){return()=>{let i;return{c:function(){i=X("slot"),r!=="default"&&R(i,"name",r)},m:function(P,v){F(P,i,v)},d:function(P){P&&Q(i)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const n={},f=bn(this);for(const r of this.$$s)r in f&&(n[r]=[e(r)]);for(const r of this.attributes){const i=this.$$g_p(r.name);i in this.$$d||(this.$$d[i]=uA(i,r.value,this.$$p_d,"toProp"))}for(const r in this.$$p_d)!(r in this.$$d)&&this[r]!==void 0&&(this.$$d[r]=this[r],delete this[r]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:te(fe({},this.$$d),{$$slots:n,$$scope:{ctx:[]}})});const t=()=>{this.$$r=!0;for(const r in this.$$p_d)if(this.$$d[r]=this.$$c.$$.ctx[this.$$c.$$.props[r]],this.$$p_d[r].reflect){const i=uA(r,this.$$d[r],this.$$p_d,"toAttribute");i==null?this.removeAttribute(this.$$p_d[r].attribute||r):this.setAttribute(this.$$p_d[r].attribute||r,i)}this.$$r=!1};this.$$c.$$.after_update.push(t),t();for(const r in this.$$l)for(const i of this.$$l[r]){const w=this.$$c.$on(r,i);this.$$l_u.set(i,w)}this.$$l={}}})}attributeChangedCallback(e,n,f){var t;this.$$r||(e=this.$$g_p(e),this.$$d[e]=uA(e,f,this.$$p_d,"toProp"),(t=this.$$c)==null||t.$set({[e]:this.$$d[e]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$c=void 0)})}$$g_p(e){return Object.keys(this.$$p_d).find(n=>this.$$p_d[n].attribute===e||!this.$$p_d[n].attribute&&n.toLowerCase()===e)||e}});function uA(A,e,n,f){var r;const t=(r=n[A])==null?void 0:r.type;if(e=t==="Boolean"&&typeof e!="boolean"?e!=null:e,!f||!n[A])return e;if(f==="toAttribute")switch(t){case"Object":case"Array":return e==null?null:JSON.stringify(e);case"Boolean":return e?"":null;case"Number":return e==null?null:e;default:return e}else switch(t){case"Object":case"Array":return e&&JSON.parse(e);case"Boolean":return e;case"Number":return e!=null?+e:e;default:return e}}function me(A,e,n,f,t,r){let i=class extends Oe{constructor(){super(A,n,t),this.$$p_d=e}static get observedAttributes(){return Object.keys(e).map(w=>(e[w].attribute||w).toLowerCase())}};return Object.keys(e).forEach(w=>{Object.defineProperty(i.prototype,w,{get(){return this.$$c&&w in this.$$c?this.$$c[w]:this.$$d[w]},set(s){var P;s=uA(w,s,e),this.$$d[w]=s,(P=this.$$c)==null||P.$set({[w]:s})}})}),f.forEach(w=>{Object.defineProperty(i.prototype,w,{get(){var s;return(s=this.$$c)==null?void 0:s[w]}})}),A.element=i,i}class Re{constructor(){b(this,"$$");b(this,"$$set")}$destroy(){mn(this,1),this.$destroy=y}$on(e,n){if(!VA(n))return y;const f=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return f.push(n),()=>{const t=f.indexOf(n);t!==-1&&f.splice(t,1)}}$set(e){this.$$set&&!ln(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}const pn="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(pn);const k=[];function Nn(A,e){return{subscribe:dA(A,e).subscribe}}function dA(A,e=y){let n;const f=new Set;function t(w){if(qA(A,w)&&(A=w,n)){const s=!k.length;for(const P of f)P[1](),k.push(P,A);if(s){for(let P=0;P<k.length;P+=2)k[P][0](k[P+1]);k.length=0}}}function r(w){t(w(A))}function i(w,s=y){const P=[w,s];return f.add(P),f.size===1&&(n=e(t,r)||y),w(A),()=>{f.delete(P),f.size===0&&n&&(n(),n=null)}}return{set:t,update:r,subscribe:i}}function AA(A,e,n){const f=!Array.isArray(A),t=f?[A]:A;if(!t.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const r=e.length<2;return Nn(n,(i,w)=>{let s=!1;const P=[];let v=0,o=y;const g=()=>{if(v)return;o();const c=e(f?P[0]:P,i,w);r?i(c):o=VA(c)?c:y},C=t.map((c,x)=>Xe(c,u=>{P[x]=u,v&=~(1<<x),s&&g()},()=>{v|=1<<x}));return s=!0,g(),function(){_(C),o(),s=!1}})}var Gn=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function pe(A){return A&&A.__esModule&&Object.prototype.hasOwnProperty.call(A,"default")?A.default:A}var Yn=function(e){return kn(e)&&!Sn(e)};function kn(A){return!!A&&typeof A=="object"}function Sn(A){var e=Object.prototype.toString.call(A);return e==="[object RegExp]"||e==="[object Date]"||Wn(A)}var Kn=typeof Symbol=="function"&&Symbol.for,Un=Kn?Symbol.for("react.element"):60103;function Wn(A){return A.$$typeof===Un}function Zn(A){return Array.isArray(A)?[]:{}}function iA(A,e){return e.clone!==!1&&e.isMergeableObject(A)?W(Zn(A),A,e):A}function Vn(A,e,n){return A.concat(e).map(function(f){return iA(f,n)})}function qn(A,e){if(!e.customMerge)return W;var n=e.customMerge(A);return typeof n=="function"?n:W}function _n(A){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(A).filter(function(e){return Object.propertyIsEnumerable.call(A,e)}):[]}function Pe(A){return Object.keys(A).concat(_n(A))}function Ne(A,e){try{return e in A}catch(n){return!1}}function $n(A,e){return Ne(A,e)&&!(Object.hasOwnProperty.call(A,e)&&Object.propertyIsEnumerable.call(A,e))}function Af(A,e,n){var f={};return n.isMergeableObject(A)&&Pe(A).forEach(function(t){f[t]=iA(A[t],n)}),Pe(e).forEach(function(t){$n(A,t)||(Ne(A,t)&&n.isMergeableObject(e[t])?f[t]=qn(t,n)(A[t],e[t],n):f[t]=iA(e[t],n))}),f}function W(A,e,n){n=n||{},n.arrayMerge=n.arrayMerge||Vn,n.isMergeableObject=n.isMergeableObject||Yn,n.cloneUnlessOtherwiseSpecified=iA;var f=Array.isArray(e),t=Array.isArray(A),r=f===t;return r?f?n.arrayMerge(A,e,n):Af(A,e,n):iA(e,n)}W.all=function(e,n){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce(function(f,t){return W(f,t,n)},{})};var ef=W,nf=ef;const ff=pe(nf);var GA=function(A,e){return GA=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,f){n.__proto__=f}||function(n,f){for(var t in f)Object.prototype.hasOwnProperty.call(f,t)&&(n[t]=f[t])},GA(A,e)};function yA(A,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");GA(A,e);function n(){this.constructor=A}A.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}var M=function(){return M=Object.assign||function(e){for(var n,f=1,t=arguments.length;f<t;f++){n=arguments[f];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},M.apply(this,arguments)};function tf(A,e){var n={};for(var f in A)Object.prototype.hasOwnProperty.call(A,f)&&e.indexOf(f)<0&&(n[f]=A[f]);if(A!=null&&typeof Object.getOwnPropertySymbols=="function")for(var t=0,f=Object.getOwnPropertySymbols(A);t<f.length;t++)e.indexOf(f[t])<0&&Object.prototype.propertyIsEnumerable.call(A,f[t])&&(n[f[t]]=A[f[t]]);return n}function QA(A,e,n){if(n||arguments.length===2)for(var f=0,t=e.length,r;f<t;f++)(r||!(f in e))&&(r||(r=Array.prototype.slice.call(e,0,f)),r[f]=e[f]);return A.concat(r||Array.prototype.slice.call(e))}function FA(A,e){var n=e&&e.cache?e.cache:of,f=e&&e.serializer?e.serializer:vf,t=e&&e.strategy?e.strategy:Pf;return t(A,{cache:n,serializer:f})}function rf(A){return A==null||typeof A=="number"||typeof A=="boolean"}function wf(A,e,n,f){var t=rf(f)?f:n(f),r=e.get(t);return typeof r=="undefined"&&(r=A.call(this,f),e.set(t,r)),r}function Ge(A,e,n){var f=Array.prototype.slice.call(arguments,3),t=n(f),r=e.get(t);return typeof r=="undefined"&&(r=A.apply(this,f),e.set(t,r)),r}function Ye(A,e,n,f,t){return n.bind(e,A,f,t)}function Pf(A,e){var n=A.length===1?wf:Ge;return Ye(A,this,n,e.cache.create(),e.serializer)}function sf(A,e){return Ye(A,this,Ge,e.cache.create(),e.serializer)}var vf=function(){return JSON.stringify(arguments)},gf=function(){function A(){this.cache=Object.create(null)}return A.prototype.get=function(e){return this.cache[e]},A.prototype.set=function(e,n){this.cache[e]=n},A}(),of={create:function(){return new gf}},JA={variadic:sf},IA=function(){return IA=Object.assign||function(e){for(var n,f=1,t=arguments.length;f<t;f++){n=arguments[f];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},IA.apply(this,arguments)};var a;(function(A){A[A.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",A[A.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",A[A.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",A[A.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",A[A.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",A[A.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",A[A.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",A[A.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",A[A.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",A[A.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",A[A.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",A[A.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",A[A.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",A[A.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",A[A.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",A[A.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",A[A.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",A[A.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",A[A.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",A[A.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",A[A.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",A[A.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",A[A.INVALID_TAG=23]="INVALID_TAG",A[A.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",A[A.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",A[A.UNCLOSED_TAG=27]="UNCLOSED_TAG"})(a||(a={}));var D;(function(A){A[A.literal=0]="literal",A[A.argument=1]="argument",A[A.number=2]="number",A[A.date=3]="date",A[A.time=4]="time",A[A.select=5]="select",A[A.plural=6]="plural",A[A.pound=7]="pound",A[A.tag=8]="tag"})(D||(D={}));var Z;(function(A){A[A.number=0]="number",A[A.dateTime=1]="dateTime"})(Z||(Z={}));function se(A){return A.type===D.literal}function Ef(A){return A.type===D.argument}function ke(A){return A.type===D.number}function Se(A){return A.type===D.date}function Ke(A){return A.type===D.time}function Ue(A){return A.type===D.select}function We(A){return A.type===D.plural}function hf(A){return A.type===D.pound}function Ze(A){return A.type===D.tag}function Ve(A){return!!(A&&typeof A=="object"&&A.type===Z.number)}function YA(A){return!!(A&&typeof A=="object"&&A.type===Z.dateTime)}var qe=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Cf=/(?:[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 af(A){var e={};return A.replace(Cf,function(n){var f=n.length;switch(n[0]){case"G":e.era=f===4?"long":f===5?"narrow":"short";break;case"y":e.year=f===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"][f-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":e.day=["numeric","2-digit"][f-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=f===4?"long":f===5?"narrow":"short";break;case"e":if(f<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");e.weekday=["short","long","narrow","short"][f-4];break;case"c":if(f<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");e.weekday=["short","long","narrow","short"][f-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"][f-1];break;case"H":e.hourCycle="h23",e.hour=["numeric","2-digit"][f-1];break;case"K":e.hourCycle="h11",e.hour=["numeric","2-digit"][f-1];break;case"k":e.hourCycle="h24",e.hour=["numeric","2-digit"][f-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"][f-1];break;case"s":e.second=["numeric","2-digit"][f-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":e.timeZoneName=f<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 I=function(){return I=Object.assign||function(e){for(var n,f=1,t=arguments.length;f<t;f++){n=arguments[f];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},I.apply(this,arguments)};var Bf=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function uf(A){if(A.length===0)throw new Error("Number skeleton cannot be empty");for(var e=A.split(Bf).filter(function(g){return g.length>0}),n=[],f=0,t=e;f<t.length;f++){var r=t[f],i=r.split("/");if(i.length===0)throw new Error("Invalid number skeleton");for(var w=i[0],s=i.slice(1),P=0,v=s;P<v.length;P++){var o=v[P];if(o.length===0)throw new Error("Invalid number skeleton")}n.push({stem:w,options:s})}return n}function cf(A){return A.replace(/^(.*?)-/,"")}var ve=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,_e=/^(@+)?(\+|#+)?[rs]?$/g,xf=/(\*)(0+)|(#+)(0+)|(0+)/g,$e=/^(0+)$/;function ge(A){var e={};return A[A.length-1]==="r"?e.roundingPriority="morePrecision":A[A.length-1]==="s"&&(e.roundingPriority="lessPrecision"),A.replace(_e,function(n,f,t){return typeof t!="string"?(e.minimumSignificantDigits=f.length,e.maximumSignificantDigits=f.length):t==="+"?e.minimumSignificantDigits=f.length:f[0]==="#"?e.maximumSignificantDigits=f.length:(e.minimumSignificantDigits=f.length,e.maximumSignificantDigits=f.length+(typeof t=="string"?t.length:0)),""}),e}function An(A){switch(A){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 lf(A){var e;if(A[0]==="E"&&A[1]==="E"?(e={notation:"engineering"},A=A.slice(2)):A[0]==="E"&&(e={notation:"scientific"},A=A.slice(1)),e){var n=A.slice(0,2);if(n==="+!"?(e.signDisplay="always",A=A.slice(2)):n==="+?"&&(e.signDisplay="exceptZero",A=A.slice(2)),!$e.test(A))throw new Error("Malformed concise eng/scientific notation");e.minimumIntegerDigits=A.length}return e}function oe(A){var e={},n=An(A);return n||e}function Df(A){for(var e={},n=0,f=A;n<f.length;n++){var t=f[n];switch(t.stem){case"percent":case"%":e.style="percent";continue;case"%x100":e.style="percent",e.scale=100;continue;case"currency":e.style="currency",e.currency=t.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=cf(t.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=I(I(I({},e),{notation:"scientific"}),t.options.reduce(function(s,P){return I(I({},s),oe(P))},{}));continue;case"engineering":e=I(I(I({},e),{notation:"engineering"}),t.options.reduce(function(s,P){return I(I({},s),oe(P))},{}));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(t.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(t.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");t.options[0].replace(xf,function(s,P,v,o,g,C){if(P)e.minimumIntegerDigits=v.length;else{if(o&&g)throw new Error("We currently do not support maximum integer digits");if(C)throw new Error("We currently do not support exact integer digits")}return""});continue}if($e.test(t.stem)){e.minimumIntegerDigits=t.stem.length;continue}if(ve.test(t.stem)){if(t.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");t.stem.replace(ve,function(s,P,v,o,g,C){return v==="*"?e.minimumFractionDigits=P.length:o&&o[0]==="#"?e.maximumFractionDigits=o.length:g&&C?(e.minimumFractionDigits=g.length,e.maximumFractionDigits=g.length+C.length):(e.minimumFractionDigits=P.length,e.maximumFractionDigits=P.length),""});var r=t.options[0];r==="w"?e=I(I({},e),{trailingZeroDisplay:"stripIfInteger"}):r&&(e=I(I({},e),ge(r)));continue}if(_e.test(t.stem)){e=I(I({},e),ge(t.stem));continue}var i=An(t.stem);i&&(e=I(I({},e),i));var w=lf(t.stem);w&&(e=I(I({},e),w))}return e}var gA={"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 If(A,e){for(var n="",f=0;f<A.length;f++){var t=A.charAt(f);if(t==="j"){for(var r=0;f+1<A.length&&A.charAt(f+1)===t;)r++,f++;var i=1+(r&1),w=r<2?1:3+(r>>1),s="a",P=Hf(e);for((P=="H"||P=="k")&&(w=0);w-- >0;)n+=s;for(;i-- >0;)n=P+n}else t==="J"?n+="H":n+=t}return n}function Hf(A){var e=A.hourCycle;if(e===void 0&&A.hourCycles&&A.hourCycles.length&&(e=A.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=A.language,f;n!=="root"&&(f=A.maximize().region);var t=gA[f||""]||gA[n||""]||gA["".concat(n,"-001")]||gA["001"];return t[0]}var OA,Tf=new RegExp("^".concat(qe.source,"*")),Lf=new RegExp("".concat(qe.source,"*$"));function B(A,e){return{start:A,end:e}}var bf=!!String.prototype.startsWith&&"_a".startsWith("a",1),df=!!String.fromCodePoint,yf=!!Object.fromEntries,Xf=!!String.prototype.codePointAt,zf=!!String.prototype.trimStart,Mf=!!String.prototype.trimEnd,jf=!!Number.isSafeInteger,Qf=jf?Number.isSafeInteger:function(A){return typeof A=="number"&&isFinite(A)&&Math.floor(A)===A&&Math.abs(A)<=9007199254740991},kA=!0;try{var Ff=nn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");kA=((OA=Ff.exec("a"))===null||OA===void 0?void 0:OA[0])==="a"}catch(A){kA=!1}var Ee=bf?function(e,n,f){return e.startsWith(n,f)}:function(e,n,f){return e.slice(f,f+n.length)===n},SA=df?String.fromCodePoint:function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];for(var f="",t=e.length,r=0,i;t>r;){if(i=e[r++],i>1114111)throw RangeError(i+" is not a valid code point");f+=i<65536?String.fromCharCode(i):String.fromCharCode(((i-=65536)>>10)+55296,i%1024+56320)}return f},he=yf?Object.fromEntries:function(e){for(var n={},f=0,t=e;f<t.length;f++){var r=t[f],i=r[0],w=r[1];n[i]=w}return n},en=Xf?function(e,n){return e.codePointAt(n)}:function(e,n){var f=e.length;if(!(n<0||n>=f)){var t=e.charCodeAt(n),r;return t<55296||t>56319||n+1===f||(r=e.charCodeAt(n+1))<56320||r>57343?t:(t-55296<<10)+(r-56320)+65536}},Jf=zf?function(e){return e.trimStart()}:function(e){return e.replace(Tf,"")},Of=Mf?function(e){return e.trimEnd()}:function(e){return e.replace(Lf,"")};function nn(A,e){return new RegExp(A,e)}var KA;if(kA){var Ce=nn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");KA=function(e,n){var f;Ce.lastIndex=n;var t=Ce.exec(e);return(f=t[1])!==null&&f!==void 0?f:""}}else KA=function(e,n){for(var f=[];;){var t=en(e,n);if(t===void 0||fn(t)||Nf(t))break;f.push(t),n+=t>=65536?2:1}return SA.apply(void 0,f)};var mf=function(){function A(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 A.prototype.parse=function(){if(this.offset()!==0)throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},A.prototype.parseMessage=function(e,n,f){for(var t=[];!this.isEOF();){var r=this.char();if(r===123){var i=this.parseArgument(e,f);if(i.err)return i;t.push(i.val)}else{if(r===125&&e>0)break;if(r===35&&(n==="plural"||n==="selectordinal")){var w=this.clonePosition();this.bump(),t.push({type:D.pound,location:B(w,this.clonePosition())})}else if(r===60&&!this.ignoreTag&&this.peek()===47){if(f)break;return this.error(a.UNMATCHED_CLOSING_TAG,B(this.clonePosition(),this.clonePosition()))}else if(r===60&&!this.ignoreTag&&UA(this.peek()||0)){var i=this.parseTag(e,n);if(i.err)return i;t.push(i.val)}else{var i=this.parseLiteral(e,n);if(i.err)return i;t.push(i.val)}}}return{val:t,err:null}},A.prototype.parseTag=function(e,n){var f=this.clonePosition();this.bump();var t=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:D.literal,value:"<".concat(t,"/>"),location:B(f,this.clonePosition())},err:null};if(this.bumpIf(">")){var r=this.parseMessage(e+1,n,!0);if(r.err)return r;var i=r.val,w=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!UA(this.char()))return this.error(a.INVALID_TAG,B(w,this.clonePosition()));var s=this.clonePosition(),P=this.parseTagName();return t!==P?this.error(a.UNMATCHED_CLOSING_TAG,B(s,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:D.tag,value:t,children:i,location:B(f,this.clonePosition())},err:null}:this.error(a.INVALID_TAG,B(w,this.clonePosition())))}else return this.error(a.UNCLOSED_TAG,B(f,this.clonePosition()))}else return this.error(a.INVALID_TAG,B(f,this.clonePosition()))},A.prototype.parseTagName=function(){var e=this.offset();for(this.bump();!this.isEOF()&&pf(this.char());)this.bump();return this.message.slice(e,this.offset())},A.prototype.parseLiteral=function(e,n){for(var f=this.clonePosition(),t="";;){var r=this.tryParseQuote(n);if(r){t+=r;continue}var i=this.tryParseUnquoted(e,n);if(i){t+=i;continue}var w=this.tryParseLeftAngleBracket();if(w){t+=w;continue}break}var s=B(f,this.clonePosition());return{val:{type:D.literal,value:t,location:s},err:null}},A.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!Rf(this.peek()||0))?(this.bump(),"<"):null},A.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 f=this.char();if(f===39)if(this.peek()===39)n.push(39),this.bump();else{this.bump();break}else n.push(f);this.bump()}return SA.apply(void 0,n)},A.prototype.tryParseUnquoted=function(e,n){if(this.isEOF())return null;var f=this.char();return f===60||f===123||f===35&&(n==="plural"||n==="selectordinal")||f===125&&e>0?null:(this.bump(),SA(f))},A.prototype.parseArgument=function(e,n){var f=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(a.EXPECT_ARGUMENT_CLOSING_BRACE,B(f,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(a.EMPTY_ARGUMENT,B(f,this.clonePosition()));var t=this.parseIdentifierIfPossible().value;if(!t)return this.error(a.MALFORMED_ARGUMENT,B(f,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(a.EXPECT_ARGUMENT_CLOSING_BRACE,B(f,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:D.argument,value:t,location:B(f,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(a.EXPECT_ARGUMENT_CLOSING_BRACE,B(f,this.clonePosition())):this.parseArgumentOptions(e,n,t,f);default:return this.error(a.MALFORMED_ARGUMENT,B(f,this.clonePosition()))}},A.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),n=this.offset(),f=KA(this.message,n),t=n+f.length;this.bumpTo(t);var r=this.clonePosition(),i=B(e,r);return{value:f,location:i}},A.prototype.parseArgumentOptions=function(e,n,f,t){var r,i=this.clonePosition(),w=this.parseIdentifierIfPossible().value,s=this.clonePosition();switch(w){case"":return this.error(a.EXPECT_ARGUMENT_TYPE,B(i,s));case"number":case"date":case"time":{this.bumpSpace();var P=null;if(this.bumpIf(",")){this.bumpSpace();var v=this.clonePosition(),o=this.parseSimpleArgStyleIfPossible();if(o.err)return o;var g=Of(o.val);if(g.length===0)return this.error(a.EXPECT_ARGUMENT_STYLE,B(this.clonePosition(),this.clonePosition()));var C=B(v,this.clonePosition());P={style:g,styleLocation:C}}var c=this.tryParseArgumentClose(t);if(c.err)return c;var x=B(t,this.clonePosition());if(P&&Ee(P==null?void 0:P.style,"::",0)){var u=Jf(P.style.slice(2));if(w==="number"){var o=this.parseNumberSkeletonFromString(u,P.styleLocation);return o.err?o:{val:{type:D.number,value:f,location:x,style:o.val},err:null}}else{if(u.length===0)return this.error(a.EXPECT_DATE_TIME_SKELETON,x);var E=u;this.locale&&(E=If(u,this.locale));var g={type:Z.dateTime,pattern:E,location:P.styleLocation,parsedOptions:this.shouldParseSkeletons?af(E):{}},l=w==="date"?D.date:D.time;return{val:{type:l,value:f,location:x,style:g},err:null}}}return{val:{type:w==="number"?D.number:w==="date"?D.date:D.time,value:f,location:x,style:(r=P==null?void 0:P.style)!==null&&r!==void 0?r:null},err:null}}case"plural":case"selectordinal":case"select":{var L=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(a.EXPECT_SELECT_ARGUMENT_OPTIONS,B(L,IA({},L)));this.bumpSpace();var h=this.parseIdentifierIfPossible(),H=0;if(w!=="select"&&h.value==="offset"){if(!this.bumpIf(":"))return this.error(a.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,B(this.clonePosition(),this.clonePosition()));this.bumpSpace();var o=this.tryParseDecimalInteger(a.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,a.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(o.err)return o;this.bumpSpace(),h=this.parseIdentifierIfPossible(),H=o.val}var d=this.tryParsePluralOrSelectOptions(e,w,n,h);if(d.err)return d;var c=this.tryParseArgumentClose(t);if(c.err)return c;var ee=B(t,this.clonePosition());return w==="select"?{val:{type:D.select,value:f,options:he(d.val),location:ee},err:null}:{val:{type:D.plural,value:f,options:he(d.val),offset:H,pluralType:w==="plural"?"cardinal":"ordinal",location:ee},err:null}}default:return this.error(a.INVALID_ARGUMENT_TYPE,B(i,s))}},A.prototype.tryParseArgumentClose=function(e){return this.isEOF()||this.char()!==125?this.error(a.EXPECT_ARGUMENT_CLOSING_BRACE,B(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},A.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,n=this.clonePosition();!this.isEOF();){var f=this.char();switch(f){case 39:{this.bump();var t=this.clonePosition();if(!this.bumpUntil("'"))return this.error(a.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,B(t,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}},A.prototype.parseNumberSkeletonFromString=function(e,n){var f=[];try{f=uf(e)}catch(t){return this.error(a.INVALID_NUMBER_SKELETON,n)}return{val:{type:Z.number,tokens:f,location:n,parsedOptions:this.shouldParseSkeletons?Df(f):{}},err:null}},A.prototype.tryParsePluralOrSelectOptions=function(e,n,f,t){for(var r,i=!1,w=[],s=new Set,P=t.value,v=t.location;;){if(P.length===0){var o=this.clonePosition();if(n!=="select"&&this.bumpIf("=")){var g=this.tryParseDecimalInteger(a.EXPECT_PLURAL_ARGUMENT_SELECTOR,a.INVALID_PLURAL_ARGUMENT_SELECTOR);if(g.err)return g;v=B(o,this.clonePosition()),P=this.message.slice(o.offset,this.offset())}else break}if(s.has(P))return this.error(n==="select"?a.DUPLICATE_SELECT_ARGUMENT_SELECTOR:a.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,v);P==="other"&&(i=!0),this.bumpSpace();var C=this.clonePosition();if(!this.bumpIf("{"))return this.error(n==="select"?a.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:a.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,B(this.clonePosition(),this.clonePosition()));var c=this.parseMessage(e+1,n,f);if(c.err)return c;var x=this.tryParseArgumentClose(C);if(x.err)return x;w.push([P,{value:c.val,location:B(C,this.clonePosition())}]),s.add(P),this.bumpSpace(),r=this.parseIdentifierIfPossible(),P=r.value,v=r.location}return w.length===0?this.error(n==="select"?a.EXPECT_SELECT_ARGUMENT_SELECTOR:a.EXPECT_PLURAL_ARGUMENT_SELECTOR,B(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!i?this.error(a.MISSING_OTHER_CLAUSE,B(this.clonePosition(),this.clonePosition())):{val:w,err:null}},A.prototype.tryParseDecimalInteger=function(e,n){var f=1,t=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(f=-1);for(var r=!1,i=0;!this.isEOF();){var w=this.char();if(w>=48&&w<=57)r=!0,i=i*10+(w-48),this.bump();else break}var s=B(t,this.clonePosition());return r?(i*=f,Qf(i)?{val:i,err:null}:this.error(n,s)):this.error(e,s)},A.prototype.offset=function(){return this.position.offset},A.prototype.isEOF=function(){return this.offset()===this.message.length},A.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},A.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var n=en(this.message,e);if(n===void 0)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return n},A.prototype.error=function(e,n){return{val:null,err:{kind:e,message:this.message,location:n}}},A.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)}},A.prototype.bumpIf=function(e){if(Ee(this.message,e,this.offset())){for(var n=0;n<e.length;n++)this.bump();return!0}return!1},A.prototype.bumpUntil=function(e){var n=this.offset(),f=this.message.indexOf(e,n);return f>=0?(this.bumpTo(f),!0):(this.bumpTo(this.message.length),!1)},A.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}},A.prototype.bumpSpace=function(){for(;!this.isEOF()&&fn(this.char());)this.bump()},A.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),n=this.offset(),f=this.message.charCodeAt(n+(e>=65536?2:1));return f!=null?f:null},A}();function UA(A){return A>=97&&A<=122||A>=65&&A<=90}function Rf(A){return UA(A)||A===47}function pf(A){return A===45||A===46||A>=48&&A<=57||A===95||A>=97&&A<=122||A>=65&&A<=90||A==183||A>=192&&A<=214||A>=216&&A<=246||A>=248&&A<=893||A>=895&&A<=8191||A>=8204&&A<=8205||A>=8255&&A<=8256||A>=8304&&A<=8591||A>=11264&&A<=12271||A>=12289&&A<=55295||A>=63744&&A<=64975||A>=65008&&A<=65533||A>=65536&&A<=983039}function fn(A){return A>=9&&A<=13||A===32||A===133||A>=8206&&A<=8207||A===8232||A===8233}function Nf(A){return A>=33&&A<=35||A===36||A>=37&&A<=39||A===40||A===41||A===42||A===43||A===44||A===45||A>=46&&A<=47||A>=58&&A<=59||A>=60&&A<=62||A>=63&&A<=64||A===91||A===92||A===93||A===94||A===96||A===123||A===124||A===125||A===126||A===161||A>=162&&A<=165||A===166||A===167||A===169||A===171||A===172||A===174||A===176||A===177||A===182||A===187||A===191||A===215||A===247||A>=8208&&A<=8213||A>=8214&&A<=8215||A===8216||A===8217||A===8218||A>=8219&&A<=8220||A===8221||A===8222||A===8223||A>=8224&&A<=8231||A>=8240&&A<=8248||A===8249||A===8250||A>=8251&&A<=8254||A>=8257&&A<=8259||A===8260||A===8261||A===8262||A>=8263&&A<=8273||A===8274||A===8275||A>=8277&&A<=8286||A>=8592&&A<=8596||A>=8597&&A<=8601||A>=8602&&A<=8603||A>=8604&&A<=8607||A===8608||A>=8609&&A<=8610||A===8611||A>=8612&&A<=8613||A===8614||A>=8615&&A<=8621||A===8622||A>=8623&&A<=8653||A>=8654&&A<=8655||A>=8656&&A<=8657||A===8658||A===8659||A===8660||A>=8661&&A<=8691||A>=8692&&A<=8959||A>=8960&&A<=8967||A===8968||A===8969||A===8970||A===8971||A>=8972&&A<=8991||A>=8992&&A<=8993||A>=8994&&A<=9e3||A===9001||A===9002||A>=9003&&A<=9083||A===9084||A>=9085&&A<=9114||A>=9115&&A<=9139||A>=9140&&A<=9179||A>=9180&&A<=9185||A>=9186&&A<=9254||A>=9255&&A<=9279||A>=9280&&A<=9290||A>=9291&&A<=9311||A>=9472&&A<=9654||A===9655||A>=9656&&A<=9664||A===9665||A>=9666&&A<=9719||A>=9720&&A<=9727||A>=9728&&A<=9838||A===9839||A>=9840&&A<=10087||A===10088||A===10089||A===10090||A===10091||A===10092||A===10093||A===10094||A===10095||A===10096||A===10097||A===10098||A===10099||A===10100||A===10101||A>=10132&&A<=10175||A>=10176&&A<=10180||A===10181||A===10182||A>=10183&&A<=10213||A===10214||A===10215||A===10216||A===10217||A===10218||A===10219||A===10220||A===10221||A===10222||A===10223||A>=10224&&A<=10239||A>=10240&&A<=10495||A>=10496&&A<=10626||A===10627||A===10628||A===10629||A===10630||A===10631||A===10632||A===10633||A===10634||A===10635||A===10636||A===10637||A===10638||A===10639||A===10640||A===10641||A===10642||A===10643||A===10644||A===10645||A===10646||A===10647||A===10648||A>=10649&&A<=10711||A===10712||A===10713||A===10714||A===10715||A>=10716&&A<=10747||A===10748||A===10749||A>=10750&&A<=11007||A>=11008&&A<=11055||A>=11056&&A<=11076||A>=11077&&A<=11078||A>=11079&&A<=11084||A>=11085&&A<=11123||A>=11124&&A<=11125||A>=11126&&A<=11157||A===11158||A>=11159&&A<=11263||A>=11776&&A<=11777||A===11778||A===11779||A===11780||A===11781||A>=11782&&A<=11784||A===11785||A===11786||A===11787||A===11788||A===11789||A>=11790&&A<=11798||A===11799||A>=11800&&A<=11801||A===11802||A===11803||A===11804||A===11805||A>=11806&&A<=11807||A===11808||A===11809||A===11810||A===11811||A===11812||A===11813||A===11814||A===11815||A===11816||A===11817||A>=11818&&A<=11822||A===11823||A>=11824&&A<=11833||A>=11834&&A<=11835||A>=11836&&A<=11839||A===11840||A===11841||A===11842||A>=11843&&A<=11855||A>=11856&&A<=11857||A===11858||A>=11859&&A<=11903||A>=12289&&A<=12291||A===12296||A===12297||A===12298||A===12299||A===12300||A===12301||A===12302||A===12303||A===12304||A===12305||A>=12306&&A<=12307||A===12308||A===12309||A===12310||A===12311||A===12312||A===12313||A===12314||A===12315||A===12316||A===12317||A>=12318&&A<=12319||A===12320||A===12336||A===64830||A===64831||A>=65093&&A<=65094}function WA(A){A.forEach(function(e){if(delete e.location,Ue(e)||We(e))for(var n in e.options)delete e.options[n].location,WA(e.options[n].value);else ke(e)&&Ve(e.style)||(Se(e)||Ke(e))&&YA(e.style)?delete e.style.location:Ze(e)&&WA(e.children)})}function Gf(A,e){e===void 0&&(e={}),e=IA({shouldParseSkeletons:!0,requiresOtherClause:!0},e);var n=new mf(A,e).parse();if(n.err){var f=SyntaxError(a[n.err.kind]);throw f.location=n.err.location,f.originalMessage=n.err.message,f}return e!=null&&e.captureLocation||WA(n.val),n.val}var V;(function(A){A.MISSING_VALUE="MISSING_VALUE",A.INVALID_VALUE="INVALID_VALUE",A.MISSING_INTL_API="MISSING_INTL_API"})(V||(V={}));var XA=function(A){yA(e,A);function e(n,f,t){var r=A.call(this,n)||this;return r.code=f,r.originalMessage=t,r}return e.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},e}(Error),ae=function(A){yA(e,A);function e(n,f,t,r){return A.call(this,'Invalid values for "'.concat(n,'": "').concat(f,'". Options are "').concat(Object.keys(t).join('", "'),'"'),V.INVALID_VALUE,r)||this}return e}(XA),Yf=function(A){yA(e,A);function e(n,f,t){return A.call(this,'Value for "'.concat(n,'" must be of type ').concat(f),V.INVALID_VALUE,t)||this}return e}(XA),kf=function(A){yA(e,A);function e(n,f){return A.call(this,'The intl string context variable "'.concat(n,'" was not provided to the string "').concat(f,'"'),V.MISSING_VALUE,f)||this}return e}(XA),T;(function(A){A[A.literal=0]="literal",A[A.object=1]="object"})(T||(T={}));function Sf(A){return A.length<2?A:A.reduce(function(e,n){var f=e[e.length-1];return!f||f.type!==T.literal||n.type!==T.literal?e.push(n):f.value+=n.value,e},[])}function Kf(A){return typeof A=="function"}function cA(A,e,n,f,t,r,i){if(A.length===1&&se(A[0]))return[{type:T.literal,value:A[0].value}];for(var w=[],s=0,P=A;s<P.length;s++){var v=P[s];if(se(v)){w.push({type:T.literal,value:v.value});continue}if(hf(v)){typeof r=="number"&&w.push({type:T.literal,value:n.getNumberFormat(e).format(r)});continue}var o=v.value;if(!(t&&o in t))throw new kf(o,i);var g=t[o];if(Ef(v)){(!g||typeof g=="string"||typeof g=="number")&&(g=typeof g=="string"||typeof g=="number"?String(g):""),w.push({type:typeof g=="string"?T.literal:T.object,value:g});continue}if(Se(v)){var C=typeof v.style=="string"?f.date[v.style]:YA(v.style)?v.style.parsedOptions:void 0;w.push({type:T.literal,value:n.getDateTimeFormat(e,C).format(g)});continue}if(Ke(v)){var C=typeof v.style=="string"?f.time[v.style]:YA(v.style)?v.style.parsedOptions:f.time.medium;w.push({type:T.literal,value:n.getDateTimeFormat(e,C).format(g)});continue}if(ke(v)){var C=typeof v.style=="string"?f.number[v.style]:Ve(v.style)?v.style.parsedOptions:void 0;C&&C.scale&&(g=g*(C.scale||1)),w.push({type:T.literal,value:n.getNumberFormat(e,C).format(g)});continue}if(Ze(v)){var c=v.children,x=v.value,u=t[x];if(!Kf(u))throw new Yf(x,"function",i);var E=cA(c,e,n,f,t,r),l=u(E.map(function(H){return H.value}));Array.isArray(l)||(l=[l]),w.push.apply(w,l.map(function(H){return{type:typeof H=="string"?T.literal:T.object,value:H}}))}if(Ue(v)){var L=v.options[g]||v.options.other;if(!L)throw new ae(v.value,g,Object.keys(v.options),i);w.push.apply(w,cA(L.value,e,n,f,t));continue}if(We(v)){var L=v.options["=".concat(g)];if(!L){if(!Intl.PluralRules)throw new XA(`Intl.PluralRules is not available in this environment.
2
2
  Try polyfilling it using "@formatjs/intl-pluralrules"
3
3
  `,V.MISSING_INTL_API,i);var h=n.getPluralRules(e,{type:v.pluralType}).select(g-(v.offset||0));L=v.options[h]||v.options.other}if(!L)throw new ae(v.value,g,Object.keys(v.options),i);w.push.apply(w,cA(L.value,e,n,f,t,g-(v.offset||0)));continue}}return Sf(w)}function Uf(A,e){return e?M(M(M({},A||{}),e||{}),Object.keys(A).reduce(function(n,f){return n[f]=M(M({},A[f]),e[f]||{}),n},{})):A}function Wf(A,e){return e?Object.keys(A).reduce(function(n,f){return n[f]=Uf(A[f],e[f]),n},M({},A)):A}function mA(A){return{create:function(){return{get:function(e){return A[e]},set:function(e,n){A[e]=n}}}}}function Zf(A){return A===void 0&&(A={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:FA(function(){for(var e,n=[],f=0;f<arguments.length;f++)n[f]=arguments[f];return new((e=Intl.NumberFormat).bind.apply(e,QA([void 0],n,!1)))},{cache:mA(A.number),strategy:JA.variadic}),getDateTimeFormat:FA(function(){for(var e,n=[],f=0;f<arguments.length;f++)n[f]=arguments[f];return new((e=Intl.DateTimeFormat).bind.apply(e,QA([void 0],n,!1)))},{cache:mA(A.dateTime),strategy:JA.variadic}),getPluralRules:FA(function(){for(var e,n=[],f=0;f<arguments.length;f++)n[f]=arguments[f];return new((e=Intl.PluralRules).bind.apply(e,QA([void 0],n,!1)))},{cache:mA(A.pluralRules),strategy:JA.variadic})}}var tn=function(){function A(e,n,f,t){n===void 0&&(n=A.defaultLocale);var r=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(s){var P=r.formatToParts(s);if(P.length===1)return P[0].value;var v=P.reduce(function(o,g){return!o.length||g.type!==T.literal||typeof o[o.length-1]!="string"?o.push(g.value):o[o.length-1]+=g.value,o},[]);return v.length<=1?v[0]||"":v},this.formatToParts=function(s){return cA(r.ast,r.locales,r.formatters,r.formats,s,void 0,r.message)},this.resolvedOptions=function(){var s;return{locale:((s=r.resolvedLocale)===null||s===void 0?void 0:s.toString())||Intl.NumberFormat.supportedLocalesOf(r.locales)[0]}},this.getAst=function(){return r.ast},this.locales=n,this.resolvedLocale=A.resolveLocale(n),typeof e=="string"){if(this.message=e,!A.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var i=t||{};i.formatters;var w=tf(i,["formatters"]);this.ast=A.__parse(e,M(M({},w),{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=Wf(A.formats,f),this.formatters=t&&t.formatters||Zf(this.formatterCache)}return Object.defineProperty(A,"defaultLocale",{get:function(){return A.memoizedDefaultLocale||(A.memoizedDefaultLocale=new Intl.NumberFormat().resolvedOptions().locale),A.memoizedDefaultLocale},enumerable:!1,configurable:!0}),A.memoizedDefaultLocale=null,A.resolveLocale=function(e){if(typeof Intl.Locale!="undefined"){var n=Intl.NumberFormat.supportedLocalesOf(e);return n.length>0?new Intl.Locale(n[0]):new Intl.Locale(typeof e=="string"?e:e[0])}},A.__parse=Gf,A.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"}}},A}();function Vf(A,e){if(e==null)return;if(e in A)return A[e];const n=e.split(".");let f=A;for(let t=0;t<n.length;t++)if(typeof f=="object"){if(t>0){const r=n.slice(t,n.length).join(".");if(r in f){f=f[r];break}}f=f[n[t]]}else f=void 0;return f}const m={},qf=(A,e,n)=>n&&(e in m||(m[e]={}),A in m[e]||(m[e][A]=n),n),rn=(A,e)=>{if(e==null)return;if(e in m&&A in m[e])return m[e][A];const n=sA(e);for(let f=0;f<n.length;f++){const t=n[f],r=$f(t,A);if(r)return qf(A,e,r)}};let _A;const PA=dA({});function _f(A){return _A[A]||null}function wn(A){return A in _A}function $f(A,e){if(!wn(A))return null;const n=_f(A);return Vf(n,e)}function At(A){if(A==null)return;const e=sA(A);for(let n=0;n<e.length;n++){const f=e[n];if(wn(f))return f}}function $A(A,...e){delete m[A],PA.update(n=>(n[A]=ff.all([n[A]||{},...e]),n))}AA([PA],([A])=>Object.keys(A));PA.subscribe(A=>_A=A);const xA={};function et(A,e){xA[A].delete(e),xA[A].size===0&&delete xA[A]}function Pn(A){return xA[A]}function nt(A){return sA(A).map(e=>{const n=Pn(e);return[e,n?[...n]:[]]}).filter(([,e])=>e.length>0)}function HA(A){return A==null?!1:sA(A).some(e=>{var n;return(n=Pn(e))==null?void 0:n.size})}function ft(A,e){return Promise.all(e.map(f=>(et(A,f),f().then(t=>t.default||t)))).then(f=>$A(A,...f))}const nA={};function sn(A){if(!HA(A))return A in nA?nA[A]:Promise.resolve();const e=nt(A);return nA[A]=Promise.all(e.map(([n,f])=>ft(n,f))).then(()=>{if(HA(A))return sn(A);delete nA[A]}),nA[A]}var Be=Object.getOwnPropertySymbols,tt=Object.prototype.hasOwnProperty,rt=Object.prototype.propertyIsEnumerable,it=(A,e)=>{var n={};for(var f in A)tt.call(A,f)&&e.indexOf(f)<0&&(n[f]=A[f]);if(A!=null&&Be)for(var f of Be(A))e.indexOf(f)<0&&rt.call(A,f)&&(n[f]=A[f]);return n};const wt={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"}}};function Pt({locale:A,id:e}){console.warn(`[svelte-i18n] The message "${e}" was not found in "${sA(A).join('", "')}".${HA(p())?`
4
4
 
@@ -1,4 +1,4 @@
1
- import "../stencil/ui-image-CmwNU-jf.js";
1
+ import "../stencil/ui-image-BY8ZO6br.js";
2
2
  function y() {
3
3
  }
4
4
  function _e(A, e) {
@@ -27,7 +27,7 @@ var fe = (A, e, n) => new Promise((f, t) => {
27
27
  }, w = (s) => s.done ? f(s.value) : Promise.resolve(s.value).then(r, i);
28
28
  w((n = n.apply(A, e)).next());
29
29
  });
30
- import "../stencil/ui-image-CQQDA5b0.js";
30
+ import "../stencil/ui-image-DfVgiF6v.js";
31
31
  function z() {
32
32
  }
33
33
  function vn(A, e) {