@qualityunit/liveagent-ticket-grid 0.0.80 → 0.0.84
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/index.js +1 -1
- package/package.json +3 -3
package/dist/assets/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var ar=Object.defineProperty;var lr=(e,t,n)=>t in e?ar(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var ve=(e,t,n)=>(lr(e,typeof t!="symbol"?t+"":t,n),n);(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))i(r);new MutationObserver(r=>{for(const o of r)if(o.type==="childList")for(const s of o.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&i(s)}).observe(document,{childList:!0,subtree:!0});function n(r){const o={};return r.integrity&&(o.integrity=r.integrity),r.referrerPolicy&&(o.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?o.credentials="include":r.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function i(r){if(r.ep)return;r.ep=!0;const o=n(r);fetch(r.href,o)}})();function J(){}function pt(e,t){for(const n in t)e[n]=t[n];return e}function gi(e){return e()}function On(){return Object.create(null)}function Oe(e){e.forEach(gi)}function Gt(e){return typeof e=="function"}function te(e,t){return e!=e?t==t:e!==t||e&&typeof e=="object"||typeof e=="function"}let St;function Pt(e,t){return e===t?!0:(St||(St=document.createElement("a")),St.href=t,e===St.href)}function ur(e){return Object.keys(e).length===0}function yn(e,...t){if(e==null){for(const i of t)i(void 0);return J}const n=e.subscribe(...t);return n.unsubscribe?()=>n.unsubscribe():n}function ke(e){let t;return yn(e,n=>t=n)(),t}function K(e,t,n){e.$$.on_destroy.push(yn(t,n))}function wt(e,t,n,i){if(e){const r=pi(e,t,n,i);return e[0](r)}}function pi(e,t,n,i){return e[1]&&i?pt(n.ctx.slice(),e[1](i(t))):n.ctx}function Et(e,t,n,i){if(e[2]&&i){const r=e[2](i(n));if(t.dirty===void 0)return r;if(typeof r=="object"){const o=[],s=Math.max(t.dirty.length,r.length);for(let a=0;a<s;a+=1)o[a]=t.dirty[a]|r[a];return o}return t.dirty|r}return t.dirty}function Tt(e,t,n,i,r,o){if(r){const s=pi(t,n,i,o);e.p(s,r)}}function xt(e){if(e.ctx.length>32){const t=[],n=e.ctx.length/32;for(let i=0;i<n;i++)t[i]=-1;return t}return-1}function cr(e){const t={};for(const n in e)n[0]!=="$"&&(t[n]=e[n]);return t}function Rn(e,t){const n={};t=new Set(t);for(const i in e)!t.has(i)&&i[0]!=="$"&&(n[i]=e[i]);return n}function ce(e){return e??""}function fr(e,t,n){return e.set(n),t}const dr=["",!0,1,"true","contenteditable"];function w(e,t){e.appendChild(t)}function ue(e,t,n){const i=hr(e);if(!i.getElementById(t)){const r=x("style");r.id=t,r.textContent=n,mr(i,r)}}function hr(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function mr(e,t){return w(e.head||e,t),t.sheet}function N(e,t,n){e.insertBefore(t,n||null)}function R(e){e.parentNode&&e.parentNode.removeChild(e)}function bn(e,t){for(let n=0;n<e.length;n+=1)e[n]&&e[n].d(t)}function x(e){return document.createElement(e)}function j(e){return document.createTextNode(e)}function V(){return j(" ")}function kt(){return j("")}function he(e,t,n,i){return e.addEventListener(t,n,i),()=>e.removeEventListener(t,n,i)}function sn(e){return function(t){return t.stopPropagation(),e.call(this,t)}}function v(e,t,n){n==null?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}const gr=["width","height"];function Nn(e,t){const n=Object.getOwnPropertyDescriptors(e.__proto__);for(const i in t)t[i]==null?e.removeAttribute(i):i==="style"?e.style.cssText=t[i]:i==="__value"?e.value=e[i]=t[i]:n[i]&&n[i].set&&gr.indexOf(i)===-1?e[i]=t[i]:v(e,i,t[i])}function pr(e){return Array.from(e.childNodes)}function se(e,t){t=""+t,e.data!==t&&(e.data=t)}function _r(e,t){t=""+t,e.wholeText!==t&&(e.data=t)}function vr(e,t,n){~dr.indexOf(n)?_r(e,t):se(e,t)}function In(e,t){e.value=t??""}function Qt(e,t,n,i){n==null?e.style.removeProperty(t):e.style.setProperty(t,n,i?"important":"")}function Dn(e,t,n){e.classList.toggle(t,!!n)}function yr(e,t,{bubbles:n=!1,cancelable:i=!1}={}){return new CustomEvent(e,{detail:t,bubbles:n,cancelable:i})}function br(e){const t={};return e.childNodes.forEach(n=>{t[n.slot||"default"]=!0}),t}let _t;function dt(e){_t=e}function _i(){if(!_t)throw new Error("Function called outside component initialization");return _t}function Ut(e){_i().$$.on_mount.push(e)}function vi(){const e=_i();return(t,n,{cancelable:i=!1}={})=>{const r=e.$$.callbacks[t];if(r){const o=yr(t,n,{cancelable:i});return r.slice().forEach(s=>{s.call(e,o)}),!o.defaultPrevented}return!0}}const Ue=[],Xe=[];let Ke=[];const Hn=[],wr=Promise.resolve();let an=!1;function Er(){an||(an=!0,wr.then(Pe))}function ln(e){Ke.push(e)}const qt=new Set;let $e=0;function Pe(){if($e!==0)return;const e=_t;do{try{for(;$e<Ue.length;){const t=Ue[$e];$e++,dt(t),Tr(t.$$)}}catch(t){throw Ue.length=0,$e=0,t}for(dt(null),Ue.length=0,$e=0;Xe.length;)Xe.pop()();for(let t=0;t<Ke.length;t+=1){const n=Ke[t];qt.has(n)||(qt.add(n),n())}Ke.length=0}while(Ue.length);for(;Hn.length;)Hn.pop()();an=!1,qt.clear(),dt(e)}function Tr(e){if(e.fragment!==null){e.update(),Oe(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(ln)}}function xr(e){const t=[],n=[];Ke.forEach(i=>e.indexOf(i)===-1?t.push(i):n.push(i)),n.forEach(i=>i()),Ke=t}const Rt=new Set;let Me;function be(){Me={r:0,c:[],p:Me}}function we(){Me.r||Oe(Me.c),Me=Me.p}function T(e,t){e&&e.i&&(Rt.delete(e),e.i(t))}function k(e,t,n,i){if(e&&e.o){if(Rt.has(e))return;Rt.add(e),Me.c.push(()=>{Rt.delete(e),i&&(n&&e.d(1),i())}),e.o(t)}else i&&i()}function Ze(e){return(e==null?void 0:e.length)!==void 0?e:Array.from(e)}function yi(e,t){const n={},i={},r={$$scope:1};let o=e.length;for(;o--;){const s=e[o],a=t[o];if(a){for(const u in s)u in a||(i[u]=1);for(const u in a)r[u]||(n[u]=a[u],r[u]=1);e[o]=a}else for(const u in s)r[u]=1}for(const s in i)s in n||(n[s]=void 0);return n}function kr(e){return typeof e=="object"&&e!==null?e:{}}function G(e){e&&e.c()}function F(e,t,n){const{fragment:i,after_update:r}=e.$$;i&&i.m(t,n),ln(()=>{const o=e.$$.on_mount.map(gi).filter(Gt);e.$$.on_destroy?e.$$.on_destroy.push(...o):Oe(o),e.$$.on_mount=[]}),r.forEach(ln)}function $(e,t){const n=e.$$;n.fragment!==null&&(xr(n.after_update),Oe(n.on_destroy),n.fragment&&n.fragment.d(t),n.on_destroy=n.fragment=null,n.ctx=[])}function Cr(e,t){e.$$.dirty[0]===-1&&(Ue.push(e),Er(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function ie(e,t,n,i,r,o,s=null,a=[-1]){const u=_t;dt(e);const l=e.$$={fragment:null,ctx:[],props:o,update:J,not_equal:r,bound:On(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(u?u.$$.context:[])),callbacks:On(),dirty:a,skip_bound:!1,root:t.target||u.$$.root};s&&s(l.root);let c=!1;if(l.ctx=n?n(e,t.props||{},(f,d,...h)=>{const p=h.length?h[0]:d;return l.ctx&&r(l.ctx[f],l.ctx[f]=p)&&(!l.skip_bound&&l.bound[f]&&l.bound[f](p),c&&Cr(e,f)),d}):[],l.update(),c=!0,Oe(l.before_update),l.fragment=i?i(l.ctx):!1,t.target){if(t.hydrate){const f=pr(t.target);l.fragment&&l.fragment.l(f),f.forEach(R)}else l.fragment&&l.fragment.c();t.intro&&T(e.$$.fragment),F(e,t.target,t.anchor),Pe()}dt(u)}let bi;typeof HTMLElement=="function"&&(bi=class extends HTMLElement{constructor(t,n,i){super();ve(this,"$$ctor");ve(this,"$$s");ve(this,"$$c");ve(this,"$$cn",!1);ve(this,"$$d",{});ve(this,"$$r",!1);ve(this,"$$p_d",{});ve(this,"$$l",{});ve(this,"$$l_u",new Map);this.$$ctor=t,this.$$s=n,i&&this.attachShadow({mode:"open"})}addEventListener(t,n,i){if(this.$$l[t]=this.$$l[t]||[],this.$$l[t].push(n),this.$$c){const r=this.$$c.$on(t,n);this.$$l_u.set(n,r)}super.addEventListener(t,n,i)}removeEventListener(t,n,i){if(super.removeEventListener(t,n,i),this.$$c){const r=this.$$l_u.get(n);r&&(r(),this.$$l_u.delete(n))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let n=function(s){return()=>{let a;return{c:function(){a=x("slot"),s!=="default"&&v(a,"name",s)},m:function(c,f){N(c,a,f)},d:function(c){c&&R(a)}}}};var t=n;if(await Promise.resolve(),!this.$$cn)return;const i={},r=br(this);for(const s of this.$$s)s in r&&(i[s]=[n(s)]);for(const s of this.attributes){const a=this.$$g_p(s.name);a in this.$$d||(this.$$d[a]=Nt(a,s.value,this.$$p_d,"toProp"))}for(const s in this.$$p_d)!(s in this.$$d)&&this[s]!==void 0&&(this.$$d[s]=this[s],delete this[s]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:{...this.$$d,$$slots:i,$$scope:{ctx:[]}}});const o=()=>{this.$$r=!0;for(const s in this.$$p_d)if(this.$$d[s]=this.$$c.$$.ctx[this.$$c.$$.props[s]],this.$$p_d[s].reflect){const a=Nt(s,this.$$d[s],this.$$p_d,"toAttribute");a==null?this.removeAttribute(this.$$p_d[s].attribute||s):this.setAttribute(this.$$p_d[s].attribute||s,a)}this.$$r=!1};this.$$c.$$.after_update.push(o),o();for(const s in this.$$l)for(const a of this.$$l[s]){const u=this.$$c.$on(s,a);this.$$l_u.set(a,u)}this.$$l={}}}attributeChangedCallback(t,n,i){var r;this.$$r||(t=this.$$g_p(t),this.$$d[t]=Nt(t,i,this.$$p_d,"toProp"),(r=this.$$c)==null||r.$set({[t]:this.$$d[t]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{this.$$cn||(this.$$c.$destroy(),this.$$c=void 0)})}$$g_p(t){return Object.keys(this.$$p_d).find(n=>this.$$p_d[n].attribute===t||!this.$$p_d[n].attribute&&n.toLowerCase()===t)||t}});function Nt(e,t,n,i){var o;const r=(o=n[e])==null?void 0:o.type;if(t=r==="Boolean"&&typeof t!="boolean"?t!=null:t,!i||!n[e])return t;if(i==="toAttribute")switch(r){case"Object":case"Array":return t==null?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return t??null;default:return t}else switch(r){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function Lr(e,t,n,i,r,o){let s=class extends bi{constructor(){super(e,n,r),this.$$p_d=t}static get observedAttributes(){return Object.keys(t).map(a=>(t[a].attribute||a).toLowerCase())}};return Object.keys(t).forEach(a=>{Object.defineProperty(s.prototype,a,{get(){return this.$$c&&a in this.$$c?this.$$c[a]:this.$$d[a]},set(u){var l;u=Nt(a,u,t),this.$$d[a]=u,(l=this.$$c)==null||l.$set({[a]:u})}})}),i.forEach(a=>{Object.defineProperty(s.prototype,a,{get(){var u;return(u=this.$$c)==null?void 0:u[a]}})}),o&&(s=o(s)),e.element=s,s}class re{constructor(){ve(this,"$$");ve(this,"$$set")}$destroy(){$(this,1),this.$destroy=J}$on(t,n){if(!Gt(n))return J;const i=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return i.push(n),()=>{const r=i.indexOf(n);r!==-1&&i.splice(r,1)}}$set(t){this.$$set&&!ur(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const Sr="4";typeof window<"u"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(Sr);function Ar(e){ue(e,"svelte-uqg1eo",".Icon.svelte-uqg1eo:before{font-family:'la-icon-font';display:inline-block;margin:0;font-style:normal;font-weight:normal;font-variant:normal;text-transform:none;line-height:1;font-size:1em}")}function Or(e){let t,n;return{c(){t=x("span"),v(t,"class",n=ce(`Icon ${e[0]} ${e[1]}`)+" svelte-uqg1eo")},m(i,r){N(i,t,r)},p(i,[r]){r&3&&n!==(n=ce(`Icon ${i[0]} ${i[1]}`)+" svelte-uqg1eo")&&v(t,"class",n)},i:J,o:J,d(i){i&&R(t)}}}function Rr(e,t,n){let{className:i=""}=t,{iconLaClassName:r}=t;return e.$$set=o=>{"className"in o&&n(0,i=o.className),"iconLaClassName"in o&&n(1,r=o.iconLaClassName)},[i,r]}class Ae extends re{constructor(t){super(),ie(this,t,Rr,Or,te,{className:0,iconLaClassName:1},Ar)}}const Ge=[];function Nr(e,t){return{subscribe:me(e,t).subscribe}}function me(e,t=J){let n;const i=new Set;function r(a){if(te(e,a)&&(e=a,n)){const u=!Ge.length;for(const l of i)l[1](),Ge.push(l,e);if(u){for(let l=0;l<Ge.length;l+=2)Ge[l][0](Ge[l+1]);Ge.length=0}}}function o(a){r(a(e))}function s(a,u=J){const l=[a,u];return i.add(l),i.size===1&&(n=t(r,o)||J),a(e),()=>{i.delete(l),i.size===0&&n&&(n(),n=null)}}return{set:r,update:o,subscribe:s}}function tt(e,t,n){const i=!Array.isArray(e),r=i?[e]:e;if(!r.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const o=t.length<2;return Nr(n,(s,a)=>{let u=!1;const l=[];let c=0,f=J;const d=()=>{if(c)return;f();const p=t(i?l[0]:l,s,a);o?s(p):f=Gt(p)?p:J},h=r.map((p,_)=>yn(p,y=>{l[_]=y,c&=~(1<<_),u&&d()},()=>{c|=1<<_}));return u=!0,d(),function(){Oe(h),f(),u=!1}})}var wi=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Vt(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ir=function(t){return Dr(t)&&!Hr(t)};function Dr(e){return!!e&&typeof e=="object"}function Hr(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||Br(e)}var Pr=typeof Symbol=="function"&&Symbol.for,Mr=Pr?Symbol.for("react.element"):60103;function Br(e){return e.$$typeof===Mr}function Fr(e){return Array.isArray(e)?[]:{}}function vt(e,t){return t.clone!==!1&&t.isMergeableObject(e)?Ye(Fr(e),e,t):e}function $r(e,t,n){return e.concat(t).map(function(i){return vt(i,n)})}function Gr(e,t){if(!t.customMerge)return Ye;var n=t.customMerge(e);return typeof n=="function"?n:Ye}function Ur(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}function Pn(e){return Object.keys(e).concat(Ur(e))}function Ei(e,t){try{return t in e}catch{return!1}}function Vr(e,t){return Ei(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function zr(e,t,n){var i={};return n.isMergeableObject(e)&&Pn(e).forEach(function(r){i[r]=vt(e[r],n)}),Pn(t).forEach(function(r){Vr(e,r)||(Ei(e,r)&&n.isMergeableObject(t[r])?i[r]=Gr(r,n)(e[r],t[r],n):i[r]=vt(t[r],n))}),i}function Ye(e,t,n){n=n||{},n.arrayMerge=n.arrayMerge||$r,n.isMergeableObject=n.isMergeableObject||Ir,n.cloneUnlessOtherwiseSpecified=vt;var i=Array.isArray(t),r=Array.isArray(e),o=i===r;return o?i?n.arrayMerge(e,t,n):zr(e,t,n):vt(t,n)}Ye.all=function(t,n){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(i,r){return Ye(i,r,n)},{})};var Kr=Ye,Wr=Kr;const Jr=Vt(Wr);var un=function(e,t){return un=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(n[r]=i[r])},un(e,t)};function zt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");un(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}var q=function(){return q=Object.assign||function(t){for(var n,i=1,r=arguments.length;i<r;i++){n=arguments[i];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},q.apply(this,arguments)};function Xr(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,i=Object.getOwnPropertySymbols(e);r<i.length;r++)t.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(e,i[r])&&(n[i[r]]=e[i[r]]);return n}function jt(e,t,n){if(n||arguments.length===2)for(var i=0,r=t.length,o;i<r;i++)(o||!(i in t))&&(o||(o=Array.prototype.slice.call(t,0,i)),o[i]=t[i]);return e.concat(o||Array.prototype.slice.call(t))}var W;(function(e){e[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG"})(W||(W={}));var le;(function(e){e[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag"})(le||(le={}));var Qe;(function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"})(Qe||(Qe={}));function Mn(e){return e.type===le.literal}function Zr(e){return e.type===le.argument}function Ti(e){return e.type===le.number}function xi(e){return e.type===le.date}function ki(e){return e.type===le.time}function Ci(e){return e.type===le.select}function Li(e){return e.type===le.plural}function Yr(e){return e.type===le.pound}function Si(e){return e.type===le.tag}function Ai(e){return!!(e&&typeof e=="object"&&e.type===Qe.number)}function cn(e){return!!(e&&typeof e=="object"&&e.type===Qe.dateTime)}var Oi=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Qr=/(?:[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 qr(e){var t={};return e.replace(Qr,function(n){var i=n.length;switch(n[0]){case"G":t.era=i===4?"long":i===5?"narrow":"short";break;case"y":t.year=i===2?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":t.month=["numeric","2-digit","short","long","narrow"][i-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][i-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=i===4?"long":i===5?"narrow":"short";break;case"e":if(i<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][i-4];break;case"c":if(i<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][i-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][i-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][i-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][i-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][i-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":t.minute=["numeric","2-digit"][i-1];break;case"s":t.second=["numeric","2-digit"][i-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=i<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),t}var jr=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function eo(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");for(var t=e.split(jr).filter(function(d){return d.length>0}),n=[],i=0,r=t;i<r.length;i++){var o=r[i],s=o.split("/");if(s.length===0)throw new Error("Invalid number skeleton");for(var a=s[0],u=s.slice(1),l=0,c=u;l<c.length;l++){var f=c[l];if(f.length===0)throw new Error("Invalid number skeleton")}n.push({stem:a,options:u})}return n}function to(e){return e.replace(/^(.*?)-/,"")}var Bn=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Ri=/^(@+)?(\+|#+)?[rs]?$/g,no=/(\*)(0+)|(#+)(0+)|(0+)/g,Ni=/^(0+)$/;function Fn(e){var t={};return e[e.length-1]==="r"?t.roundingPriority="morePrecision":e[e.length-1]==="s"&&(t.roundingPriority="lessPrecision"),e.replace(Ri,function(n,i,r){return typeof r!="string"?(t.minimumSignificantDigits=i.length,t.maximumSignificantDigits=i.length):r==="+"?t.minimumSignificantDigits=i.length:i[0]==="#"?t.maximumSignificantDigits=i.length:(t.minimumSignificantDigits=i.length,t.maximumSignificantDigits=i.length+(typeof r=="string"?r.length:0)),""}),t}function Ii(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function io(e){var t;if(e[0]==="E"&&e[1]==="E"?(t={notation:"engineering"},e=e.slice(2)):e[0]==="E"&&(t={notation:"scientific"},e=e.slice(1)),t){var n=e.slice(0,2);if(n==="+!"?(t.signDisplay="always",e=e.slice(2)):n==="+?"&&(t.signDisplay="exceptZero",e=e.slice(2)),!Ni.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function $n(e){var t={},n=Ii(e);return n||t}function ro(e){for(var t={},n=0,i=e;n<i.length;n++){var r=i[n];switch(r.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=r.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=to(r.options[0]);continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=q(q(q({},t),{notation:"scientific"}),r.options.reduce(function(u,l){return q(q({},u),$n(l))},{}));continue;case"engineering":t=q(q(q({},t),{notation:"engineering"}),r.options.reduce(function(u,l){return q(q({},u),$n(l))},{}));continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(r.options[0]);continue;case"rounding-mode-floor":t.roundingMode="floor";continue;case"rounding-mode-ceiling":t.roundingMode="ceil";continue;case"rounding-mode-down":t.roundingMode="trunc";continue;case"rounding-mode-up":t.roundingMode="expand";continue;case"rounding-mode-half-even":t.roundingMode="halfEven";continue;case"rounding-mode-half-down":t.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":t.roundingMode="halfExpand";continue;case"integer-width":if(r.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");r.options[0].replace(no,function(u,l,c,f,d,h){if(l)t.minimumIntegerDigits=c.length;else{if(f&&d)throw new Error("We currently do not support maximum integer digits");if(h)throw new Error("We currently do not support exact integer digits")}return""});continue}if(Ni.test(r.stem)){t.minimumIntegerDigits=r.stem.length;continue}if(Bn.test(r.stem)){if(r.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");r.stem.replace(Bn,function(u,l,c,f,d,h){return c==="*"?t.minimumFractionDigits=l.length:f&&f[0]==="#"?t.maximumFractionDigits=f.length:d&&h?(t.minimumFractionDigits=d.length,t.maximumFractionDigits=d.length+h.length):(t.minimumFractionDigits=l.length,t.maximumFractionDigits=l.length),""});var o=r.options[0];o==="w"?t=q(q({},t),{trailingZeroDisplay:"stripIfInteger"}):o&&(t=q(q({},t),Fn(o)));continue}if(Ri.test(r.stem)){t=q(q({},t),Fn(r.stem));continue}var s=Ii(r.stem);s&&(t=q(q({},t),s));var a=io(r.stem);a&&(t=q(q({},t),a))}return t}var At={"001":["H","h"],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","hB","h","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","hB","h","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","hB","h","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"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["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 oo(e,t){for(var n="",i=0;i<e.length;i++){var r=e.charAt(i);if(r==="j"){for(var o=0;i+1<e.length&&e.charAt(i+1)===r;)o++,i++;var s=1+(o&1),a=o<2?1:3+(o>>1),u="a",l=so(t);for((l=="H"||l=="k")&&(a=0);a-- >0;)n+=u;for(;s-- >0;)n=l+n}else r==="J"?n+="H":n+=r}return n}function so(e){var t=e.hourCycle;if(t===void 0&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var n=e.language,i;n!=="root"&&(i=e.maximize().region);var r=At[i||""]||At[n||""]||At["".concat(n,"-001")]||At["001"];return r[0]}var en,ao=new RegExp("^".concat(Oi.source,"*")),lo=new RegExp("".concat(Oi.source,"*$"));function Z(e,t){return{start:e,end:t}}var uo=!!String.prototype.startsWith&&"_a".startsWith("a",1),co=!!String.fromCodePoint,fo=!!Object.fromEntries,ho=!!String.prototype.codePointAt,mo=!!String.prototype.trimStart,go=!!String.prototype.trimEnd,po=!!Number.isSafeInteger,_o=po?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},fn=!0;try{var vo=Hi("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");fn=((en=vo.exec("a"))===null||en===void 0?void 0:en[0])==="a"}catch{fn=!1}var Gn=uo?function(t,n,i){return t.startsWith(n,i)}:function(t,n,i){return t.slice(i,i+n.length)===n},dn=co?String.fromCodePoint:function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];for(var i="",r=t.length,o=0,s;r>o;){if(s=t[o++],s>1114111)throw RangeError(s+" is not a valid code point");i+=s<65536?String.fromCharCode(s):String.fromCharCode(((s-=65536)>>10)+55296,s%1024+56320)}return i},Un=fo?Object.fromEntries:function(t){for(var n={},i=0,r=t;i<r.length;i++){var o=r[i],s=o[0],a=o[1];n[s]=a}return n},Di=ho?function(t,n){return t.codePointAt(n)}:function(t,n){var i=t.length;if(!(n<0||n>=i)){var r=t.charCodeAt(n),o;return r<55296||r>56319||n+1===i||(o=t.charCodeAt(n+1))<56320||o>57343?r:(r-55296<<10)+(o-56320)+65536}},yo=mo?function(t){return t.trimStart()}:function(t){return t.replace(ao,"")},bo=go?function(t){return t.trimEnd()}:function(t){return t.replace(lo,"")};function Hi(e,t){return new RegExp(e,t)}var hn;if(fn){var Vn=Hi("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");hn=function(t,n){var i;Vn.lastIndex=n;var r=Vn.exec(t);return(i=r[1])!==null&&i!==void 0?i:""}}else hn=function(t,n){for(var i=[];;){var r=Di(t,n);if(r===void 0||Pi(r)||xo(r))break;i.push(r),n+=r>=65536?2:1}return dn.apply(void 0,i)};var wo=function(){function e(t,n){n===void 0&&(n={}),this.message=t,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 e.prototype.parse=function(){if(this.offset()!==0)throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(t,n,i){for(var r=[];!this.isEOF();){var o=this.char();if(o===123){var s=this.parseArgument(t,i);if(s.err)return s;r.push(s.val)}else{if(o===125&&t>0)break;if(o===35&&(n==="plural"||n==="selectordinal")){var a=this.clonePosition();this.bump(),r.push({type:le.pound,location:Z(a,this.clonePosition())})}else if(o===60&&!this.ignoreTag&&this.peek()===47){if(i)break;return this.error(W.UNMATCHED_CLOSING_TAG,Z(this.clonePosition(),this.clonePosition()))}else if(o===60&&!this.ignoreTag&&mn(this.peek()||0)){var s=this.parseTag(t,n);if(s.err)return s;r.push(s.val)}else{var s=this.parseLiteral(t,n);if(s.err)return s;r.push(s.val)}}}return{val:r,err:null}},e.prototype.parseTag=function(t,n){var i=this.clonePosition();this.bump();var r=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:le.literal,value:"<".concat(r,"/>"),location:Z(i,this.clonePosition())},err:null};if(this.bumpIf(">")){var o=this.parseMessage(t+1,n,!0);if(o.err)return o;var s=o.val,a=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!mn(this.char()))return this.error(W.INVALID_TAG,Z(a,this.clonePosition()));var u=this.clonePosition(),l=this.parseTagName();return r!==l?this.error(W.UNMATCHED_CLOSING_TAG,Z(u,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:le.tag,value:r,children:s,location:Z(i,this.clonePosition())},err:null}:this.error(W.INVALID_TAG,Z(a,this.clonePosition())))}else return this.error(W.UNCLOSED_TAG,Z(i,this.clonePosition()))}else return this.error(W.INVALID_TAG,Z(i,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&To(this.char());)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(t,n){for(var i=this.clonePosition(),r="";;){var o=this.tryParseQuote(n);if(o){r+=o;continue}var s=this.tryParseUnquoted(t,n);if(s){r+=s;continue}var a=this.tryParseLeftAngleBracket();if(a){r+=a;continue}break}var u=Z(i,this.clonePosition());return{val:{type:le.literal,value:r,location:u},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!Eo(this.peek()||0))?(this.bump(),"<"):null},e.prototype.tryParseQuote=function(t){if(this.isEOF()||this.char()!==39)return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if(t==="plural"||t==="selectordinal")break;return null;default:return null}this.bump();var n=[this.char()];for(this.bump();!this.isEOF();){var i=this.char();if(i===39)if(this.peek()===39)n.push(39),this.bump();else{this.bump();break}else n.push(i);this.bump()}return dn.apply(void 0,n)},e.prototype.tryParseUnquoted=function(t,n){if(this.isEOF())return null;var i=this.char();return i===60||i===123||i===35&&(n==="plural"||n==="selectordinal")||i===125&&t>0?null:(this.bump(),dn(i))},e.prototype.parseArgument=function(t,n){var i=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(W.EXPECT_ARGUMENT_CLOSING_BRACE,Z(i,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(W.EMPTY_ARGUMENT,Z(i,this.clonePosition()));var r=this.parseIdentifierIfPossible().value;if(!r)return this.error(W.MALFORMED_ARGUMENT,Z(i,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(W.EXPECT_ARGUMENT_CLOSING_BRACE,Z(i,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:le.argument,value:r,location:Z(i,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(W.EXPECT_ARGUMENT_CLOSING_BRACE,Z(i,this.clonePosition())):this.parseArgumentOptions(t,n,r,i);default:return this.error(W.MALFORMED_ARGUMENT,Z(i,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),n=this.offset(),i=hn(this.message,n),r=n+i.length;this.bumpTo(r);var o=this.clonePosition(),s=Z(t,o);return{value:i,location:s}},e.prototype.parseArgumentOptions=function(t,n,i,r){var o,s=this.clonePosition(),a=this.parseIdentifierIfPossible().value,u=this.clonePosition();switch(a){case"":return this.error(W.EXPECT_ARGUMENT_TYPE,Z(s,u));case"number":case"date":case"time":{this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition(),f=this.parseSimpleArgStyleIfPossible();if(f.err)return f;var d=bo(f.val);if(d.length===0)return this.error(W.EXPECT_ARGUMENT_STYLE,Z(this.clonePosition(),this.clonePosition()));var h=Z(c,this.clonePosition());l={style:d,styleLocation:h}}var p=this.tryParseArgumentClose(r);if(p.err)return p;var _=Z(r,this.clonePosition());if(l&&Gn(l==null?void 0:l.style,"::",0)){var y=yo(l.style.slice(2));if(a==="number"){var f=this.parseNumberSkeletonFromString(y,l.styleLocation);return f.err?f:{val:{type:le.number,value:i,location:_,style:f.val},err:null}}else{if(y.length===0)return this.error(W.EXPECT_DATE_TIME_SKELETON,_);var g=y;this.locale&&(g=oo(y,this.locale));var d={type:Qe.dateTime,pattern:g,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?qr(g):{}},E=a==="date"?le.date:le.time;return{val:{type:E,value:i,location:_,style:d},err:null}}}return{val:{type:a==="number"?le.number:a==="date"?le.date:le.time,value:i,location:_,style:(o=l==null?void 0:l.style)!==null&&o!==void 0?o:null},err:null}}case"plural":case"selectordinal":case"select":{var L=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(W.EXPECT_SELECT_ARGUMENT_OPTIONS,Z(L,q({},L)));this.bumpSpace();var O=this.parseIdentifierIfPossible(),I=0;if(a!=="select"&&O.value==="offset"){if(!this.bumpIf(":"))return this.error(W.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Z(this.clonePosition(),this.clonePosition()));this.bumpSpace();var f=this.tryParseDecimalInteger(W.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,W.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(f.err)return f;this.bumpSpace(),O=this.parseIdentifierIfPossible(),I=f.val}var Y=this.tryParsePluralOrSelectOptions(t,a,n,O);if(Y.err)return Y;var p=this.tryParseArgumentClose(r);if(p.err)return p;var de=Z(r,this.clonePosition());return a==="select"?{val:{type:le.select,value:i,options:Un(Y.val),location:de},err:null}:{val:{type:le.plural,value:i,options:Un(Y.val),offset:I,pluralType:a==="plural"?"cardinal":"ordinal",location:de},err:null}}default:return this.error(W.INVALID_ARGUMENT_TYPE,Z(s,u))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(W.EXPECT_ARGUMENT_CLOSING_BRACE,Z(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,n=this.clonePosition();!this.isEOF();){var i=this.char();switch(i){case 39:{this.bump();var r=this.clonePosition();if(!this.bumpUntil("'"))return this.error(W.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,Z(r,this.clonePosition()));this.bump();break}case 123:{t+=1,this.bump();break}case 125:{if(t>0)t-=1;else return{val:this.message.slice(n.offset,this.offset()),err:null};break}default:this.bump();break}}return{val:this.message.slice(n.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(t,n){var i=[];try{i=eo(t)}catch{return this.error(W.INVALID_NUMBER_SKELETON,n)}return{val:{type:Qe.number,tokens:i,location:n,parsedOptions:this.shouldParseSkeletons?ro(i):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(t,n,i,r){for(var o,s=!1,a=[],u=new Set,l=r.value,c=r.location;;){if(l.length===0){var f=this.clonePosition();if(n!=="select"&&this.bumpIf("=")){var d=this.tryParseDecimalInteger(W.EXPECT_PLURAL_ARGUMENT_SELECTOR,W.INVALID_PLURAL_ARGUMENT_SELECTOR);if(d.err)return d;c=Z(f,this.clonePosition()),l=this.message.slice(f.offset,this.offset())}else break}if(u.has(l))return this.error(n==="select"?W.DUPLICATE_SELECT_ARGUMENT_SELECTOR:W.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,c);l==="other"&&(s=!0),this.bumpSpace();var h=this.clonePosition();if(!this.bumpIf("{"))return this.error(n==="select"?W.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:W.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,Z(this.clonePosition(),this.clonePosition()));var p=this.parseMessage(t+1,n,i);if(p.err)return p;var _=this.tryParseArgumentClose(h);if(_.err)return _;a.push([l,{value:p.val,location:Z(h,this.clonePosition())}]),u.add(l),this.bumpSpace(),o=this.parseIdentifierIfPossible(),l=o.value,c=o.location}return a.length===0?this.error(n==="select"?W.EXPECT_SELECT_ARGUMENT_SELECTOR:W.EXPECT_PLURAL_ARGUMENT_SELECTOR,Z(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!s?this.error(W.MISSING_OTHER_CLAUSE,Z(this.clonePosition(),this.clonePosition())):{val:a,err:null}},e.prototype.tryParseDecimalInteger=function(t,n){var i=1,r=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(i=-1);for(var o=!1,s=0;!this.isEOF();){var a=this.char();if(a>=48&&a<=57)o=!0,s=s*10+(a-48),this.bump();else break}var u=Z(r,this.clonePosition());return o?(s*=i,_o(s)?{val:s,err:null}:this.error(n,u)):this.error(t,u)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");var n=Di(this.message,t);if(n===void 0)throw Error("Offset ".concat(t," is at invalid UTF-16 code unit boundary"));return n},e.prototype.error=function(t,n){return{val:null,err:{kind:t,message:this.message,location:n}}},e.prototype.bump=function(){if(!this.isEOF()){var t=this.char();t===10?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=t<65536?1:2)}},e.prototype.bumpIf=function(t){if(Gn(this.message,t,this.offset())){for(var n=0;n<t.length;n++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(t){var n=this.offset(),i=this.message.indexOf(t,n);return i>=0?(this.bumpTo(i),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(t){if(this.offset()>t)throw Error("targetOffset ".concat(t," must be greater than or equal to the current offset ").concat(this.offset()));for(t=Math.min(t,this.message.length);;){var n=this.offset();if(n===t)break;if(n>t)throw Error("targetOffset ".concat(t," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&Pi(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),n=this.offset(),i=this.message.charCodeAt(n+(t>=65536?2:1));return i??null},e}();function mn(e){return e>=97&&e<=122||e>=65&&e<=90}function Eo(e){return mn(e)||e===47}function To(e){return e===45||e===46||e>=48&&e<=57||e===95||e>=97&&e<=122||e>=65&&e<=90||e==183||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}function Pi(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function xo(e){return e>=33&&e<=35||e===36||e>=37&&e<=39||e===40||e===41||e===42||e===43||e===44||e===45||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||e===91||e===92||e===93||e===94||e===96||e===123||e===124||e===125||e===126||e===161||e>=162&&e<=165||e===166||e===167||e===169||e===171||e===172||e===174||e===176||e===177||e===182||e===187||e===191||e===215||e===247||e>=8208&&e<=8213||e>=8214&&e<=8215||e===8216||e===8217||e===8218||e>=8219&&e<=8220||e===8221||e===8222||e===8223||e>=8224&&e<=8231||e>=8240&&e<=8248||e===8249||e===8250||e>=8251&&e<=8254||e>=8257&&e<=8259||e===8260||e===8261||e===8262||e>=8263&&e<=8273||e===8274||e===8275||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||e===8608||e>=8609&&e<=8610||e===8611||e>=8612&&e<=8613||e===8614||e>=8615&&e<=8621||e===8622||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||e===8658||e===8659||e===8660||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||e===8968||e===8969||e===8970||e===8971||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||e===9001||e===9002||e>=9003&&e<=9083||e===9084||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||e===9655||e>=9656&&e<=9664||e===9665||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||e===9839||e>=9840&&e<=10087||e===10088||e===10089||e===10090||e===10091||e===10092||e===10093||e===10094||e===10095||e===10096||e===10097||e===10098||e===10099||e===10100||e===10101||e>=10132&&e<=10175||e>=10176&&e<=10180||e===10181||e===10182||e>=10183&&e<=10213||e===10214||e===10215||e===10216||e===10217||e===10218||e===10219||e===10220||e===10221||e===10222||e===10223||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||e===10627||e===10628||e===10629||e===10630||e===10631||e===10632||e===10633||e===10634||e===10635||e===10636||e===10637||e===10638||e===10639||e===10640||e===10641||e===10642||e===10643||e===10644||e===10645||e===10646||e===10647||e===10648||e>=10649&&e<=10711||e===10712||e===10713||e===10714||e===10715||e>=10716&&e<=10747||e===10748||e===10749||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||e===11158||e>=11159&&e<=11263||e>=11776&&e<=11777||e===11778||e===11779||e===11780||e===11781||e>=11782&&e<=11784||e===11785||e===11786||e===11787||e===11788||e===11789||e>=11790&&e<=11798||e===11799||e>=11800&&e<=11801||e===11802||e===11803||e===11804||e===11805||e>=11806&&e<=11807||e===11808||e===11809||e===11810||e===11811||e===11812||e===11813||e===11814||e===11815||e===11816||e===11817||e>=11818&&e<=11822||e===11823||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||e===11840||e===11841||e===11842||e>=11843&&e<=11855||e>=11856&&e<=11857||e===11858||e>=11859&&e<=11903||e>=12289&&e<=12291||e===12296||e===12297||e===12298||e===12299||e===12300||e===12301||e===12302||e===12303||e===12304||e===12305||e>=12306&&e<=12307||e===12308||e===12309||e===12310||e===12311||e===12312||e===12313||e===12314||e===12315||e===12316||e===12317||e>=12318&&e<=12319||e===12320||e===12336||e===64830||e===64831||e>=65093&&e<=65094}function gn(e){e.forEach(function(t){if(delete t.location,Ci(t)||Li(t))for(var n in t.options)delete t.options[n].location,gn(t.options[n].value);else Ti(t)&&Ai(t.style)||(xi(t)||ki(t))&&cn(t.style)?delete t.style.location:Si(t)&&gn(t.children)})}function ko(e,t){t===void 0&&(t={}),t=q({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var n=new wo(e,t).parse();if(n.err){var i=SyntaxError(W[n.err.kind]);throw i.location=n.err.location,i.originalMessage=n.err.message,i}return t!=null&&t.captureLocation||gn(n.val),n.val}function tn(e,t){var n=t&&t.cache?t.cache:Ro,i=t&&t.serializer?t.serializer:Oo,r=t&&t.strategy?t.strategy:Lo;return r(e,{cache:n,serializer:i})}function Co(e){return e==null||typeof e=="number"||typeof e=="boolean"}function Mi(e,t,n,i){var r=Co(i)?i:n(i),o=t.get(r);return typeof o>"u"&&(o=e.call(this,i),t.set(r,o)),o}function Bi(e,t,n){var i=Array.prototype.slice.call(arguments,3),r=n(i),o=t.get(r);return typeof o>"u"&&(o=e.apply(this,i),t.set(r,o)),o}function wn(e,t,n,i,r){return n.bind(t,e,i,r)}function Lo(e,t){var n=e.length===1?Mi:Bi;return wn(e,this,n,t.cache.create(),t.serializer)}function So(e,t){return wn(e,this,Bi,t.cache.create(),t.serializer)}function Ao(e,t){return wn(e,this,Mi,t.cache.create(),t.serializer)}var Oo=function(){return JSON.stringify(arguments)};function En(){this.cache=Object.create(null)}En.prototype.get=function(e){return this.cache[e]};En.prototype.set=function(e,t){this.cache[e]=t};var Ro={create:function(){return new En}},nn={variadic:So,monadic:Ao},qe;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(qe||(qe={}));var Kt=function(e){zt(t,e);function t(n,i,r){var o=e.call(this,n)||this;return o.code=i,o.originalMessage=r,o}return t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),zn=function(e){zt(t,e);function t(n,i,r,o){return e.call(this,'Invalid values for "'.concat(n,'": "').concat(i,'". Options are "').concat(Object.keys(r).join('", "'),'"'),qe.INVALID_VALUE,o)||this}return t}(Kt),No=function(e){zt(t,e);function t(n,i,r){return e.call(this,'Value for "'.concat(n,'" must be of type ').concat(i),qe.INVALID_VALUE,r)||this}return t}(Kt),Io=function(e){zt(t,e);function t(n,i){return e.call(this,'The intl string context variable "'.concat(n,'" was not provided to the string "').concat(i,'"'),qe.MISSING_VALUE,i)||this}return t}(Kt),pe;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(pe||(pe={}));function Do(e){return e.length<2?e:e.reduce(function(t,n){var i=t[t.length-1];return!i||i.type!==pe.literal||n.type!==pe.literal?t.push(n):i.value+=n.value,t},[])}function Ho(e){return typeof e=="function"}function It(e,t,n,i,r,o,s){if(e.length===1&&Mn(e[0]))return[{type:pe.literal,value:e[0].value}];for(var a=[],u=0,l=e;u<l.length;u++){var c=l[u];if(Mn(c)){a.push({type:pe.literal,value:c.value});continue}if(Yr(c)){typeof o=="number"&&a.push({type:pe.literal,value:n.getNumberFormat(t).format(o)});continue}var f=c.value;if(!(r&&f in r))throw new Io(f,s);var d=r[f];if(Zr(c)){(!d||typeof d=="string"||typeof d=="number")&&(d=typeof d=="string"||typeof d=="number"?String(d):""),a.push({type:typeof d=="string"?pe.literal:pe.object,value:d});continue}if(xi(c)){var h=typeof c.style=="string"?i.date[c.style]:cn(c.style)?c.style.parsedOptions:void 0;a.push({type:pe.literal,value:n.getDateTimeFormat(t,h).format(d)});continue}if(ki(c)){var h=typeof c.style=="string"?i.time[c.style]:cn(c.style)?c.style.parsedOptions:i.time.medium;a.push({type:pe.literal,value:n.getDateTimeFormat(t,h).format(d)});continue}if(Ti(c)){var h=typeof c.style=="string"?i.number[c.style]:Ai(c.style)?c.style.parsedOptions:void 0;h&&h.scale&&(d=d*(h.scale||1)),a.push({type:pe.literal,value:n.getNumberFormat(t,h).format(d)});continue}if(Si(c)){var p=c.children,_=c.value,y=r[_];if(!Ho(y))throw new No(_,"function",s);var g=It(p,t,n,i,r,o),E=y(g.map(function(I){return I.value}));Array.isArray(E)||(E=[E]),a.push.apply(a,E.map(function(I){return{type:typeof I=="string"?pe.literal:pe.object,value:I}}))}if(Ci(c)){var L=c.options[d]||c.options.other;if(!L)throw new zn(c.value,d,Object.keys(c.options),s);a.push.apply(a,It(L.value,t,n,i,r));continue}if(Li(c)){var L=c.options["=".concat(d)];if(!L){if(!Intl.PluralRules)throw new Kt(`Intl.PluralRules is not available in this environment.
|
|
1
|
+
var ar=Object.defineProperty;var lr=(e,t,n)=>t in e?ar(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var ve=(e,t,n)=>(lr(e,typeof t!="symbol"?t+"":t,n),n);(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))i(r);new MutationObserver(r=>{for(const o of r)if(o.type==="childList")for(const s of o.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&i(s)}).observe(document,{childList:!0,subtree:!0});function n(r){const o={};return r.integrity&&(o.integrity=r.integrity),r.referrerPolicy&&(o.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?o.credentials="include":r.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function i(r){if(r.ep)return;r.ep=!0;const o=n(r);fetch(r.href,o)}})();function J(){}function pt(e,t){for(const n in t)e[n]=t[n];return e}function gi(e){return e()}function On(){return Object.create(null)}function Oe(e){e.forEach(gi)}function Gt(e){return typeof e=="function"}function te(e,t){return e!=e?t==t:e!==t||e&&typeof e=="object"||typeof e=="function"}let St;function Pt(e,t){return e===t?!0:(St||(St=document.createElement("a")),St.href=t,e===St.href)}function ur(e){return Object.keys(e).length===0}function yn(e,...t){if(e==null){for(const i of t)i(void 0);return J}const n=e.subscribe(...t);return n.unsubscribe?()=>n.unsubscribe():n}function ke(e){let t;return yn(e,n=>t=n)(),t}function K(e,t,n){e.$$.on_destroy.push(yn(t,n))}function wt(e,t,n,i){if(e){const r=pi(e,t,n,i);return e[0](r)}}function pi(e,t,n,i){return e[1]&&i?pt(n.ctx.slice(),e[1](i(t))):n.ctx}function Et(e,t,n,i){if(e[2]&&i){const r=e[2](i(n));if(t.dirty===void 0)return r;if(typeof r=="object"){const o=[],s=Math.max(t.dirty.length,r.length);for(let a=0;a<s;a+=1)o[a]=t.dirty[a]|r[a];return o}return t.dirty|r}return t.dirty}function Tt(e,t,n,i,r,o){if(r){const s=pi(t,n,i,o);e.p(s,r)}}function xt(e){if(e.ctx.length>32){const t=[],n=e.ctx.length/32;for(let i=0;i<n;i++)t[i]=-1;return t}return-1}function cr(e){const t={};for(const n in e)n[0]!=="$"&&(t[n]=e[n]);return t}function Rn(e,t){const n={};t=new Set(t);for(const i in e)!t.has(i)&&i[0]!=="$"&&(n[i]=e[i]);return n}function ce(e){return e??""}function fr(e,t,n){return e.set(n),t}const dr=["",!0,1,"true","contenteditable"];function w(e,t){e.appendChild(t)}function ue(e,t,n){const i=hr(e);if(!i.getElementById(t)){const r=x("style");r.id=t,r.textContent=n,mr(i,r)}}function hr(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function mr(e,t){return w(e.head||e,t),t.sheet}function N(e,t,n){e.insertBefore(t,n||null)}function R(e){e.parentNode&&e.parentNode.removeChild(e)}function bn(e,t){for(let n=0;n<e.length;n+=1)e[n]&&e[n].d(t)}function x(e){return document.createElement(e)}function j(e){return document.createTextNode(e)}function V(){return j(" ")}function kt(){return j("")}function he(e,t,n,i){return e.addEventListener(t,n,i),()=>e.removeEventListener(t,n,i)}function sn(e){return function(t){return t.stopPropagation(),e.call(this,t)}}function v(e,t,n){n==null?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}const gr=["width","height"];function Nn(e,t){const n=Object.getOwnPropertyDescriptors(e.__proto__);for(const i in t)t[i]==null?e.removeAttribute(i):i==="style"?e.style.cssText=t[i]:i==="__value"?e.value=e[i]=t[i]:n[i]&&n[i].set&&gr.indexOf(i)===-1?e[i]=t[i]:v(e,i,t[i])}function pr(e){return Array.from(e.childNodes)}function se(e,t){t=""+t,e.data!==t&&(e.data=t)}function _r(e,t){t=""+t,e.wholeText!==t&&(e.data=t)}function vr(e,t,n){~dr.indexOf(n)?_r(e,t):se(e,t)}function In(e,t){e.value=t??""}function Qt(e,t,n,i){n==null?e.style.removeProperty(t):e.style.setProperty(t,n,i?"important":"")}function Dn(e,t,n){e.classList.toggle(t,!!n)}function yr(e,t,{bubbles:n=!1,cancelable:i=!1}={}){return new CustomEvent(e,{detail:t,bubbles:n,cancelable:i})}function br(e){const t={};return e.childNodes.forEach(n=>{t[n.slot||"default"]=!0}),t}let _t;function dt(e){_t=e}function _i(){if(!_t)throw new Error("Function called outside component initialization");return _t}function Ut(e){_i().$$.on_mount.push(e)}function vi(){const e=_i();return(t,n,{cancelable:i=!1}={})=>{const r=e.$$.callbacks[t];if(r){const o=yr(t,n,{cancelable:i});return r.slice().forEach(s=>{s.call(e,o)}),!o.defaultPrevented}return!0}}const Ue=[],Xe=[];let Ke=[];const Hn=[],wr=Promise.resolve();let an=!1;function Er(){an||(an=!0,wr.then(Pe))}function ln(e){Ke.push(e)}const qt=new Set;let $e=0;function Pe(){if($e!==0)return;const e=_t;do{try{for(;$e<Ue.length;){const t=Ue[$e];$e++,dt(t),Tr(t.$$)}}catch(t){throw Ue.length=0,$e=0,t}for(dt(null),Ue.length=0,$e=0;Xe.length;)Xe.pop()();for(let t=0;t<Ke.length;t+=1){const n=Ke[t];qt.has(n)||(qt.add(n),n())}Ke.length=0}while(Ue.length);for(;Hn.length;)Hn.pop()();an=!1,qt.clear(),dt(e)}function Tr(e){if(e.fragment!==null){e.update(),Oe(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(ln)}}function xr(e){const t=[],n=[];Ke.forEach(i=>e.indexOf(i)===-1?t.push(i):n.push(i)),n.forEach(i=>i()),Ke=t}const Rt=new Set;let Me;function be(){Me={r:0,c:[],p:Me}}function we(){Me.r||Oe(Me.c),Me=Me.p}function T(e,t){e&&e.i&&(Rt.delete(e),e.i(t))}function k(e,t,n,i){if(e&&e.o){if(Rt.has(e))return;Rt.add(e),Me.c.push(()=>{Rt.delete(e),i&&(n&&e.d(1),i())}),e.o(t)}else i&&i()}function Ze(e){return(e==null?void 0:e.length)!==void 0?e:Array.from(e)}function yi(e,t){const n={},i={},r={$$scope:1};let o=e.length;for(;o--;){const s=e[o],a=t[o];if(a){for(const u in s)u in a||(i[u]=1);for(const u in a)r[u]||(n[u]=a[u],r[u]=1);e[o]=a}else for(const u in s)r[u]=1}for(const s in i)s in n||(n[s]=void 0);return n}function kr(e){return typeof e=="object"&&e!==null?e:{}}function G(e){e&&e.c()}function F(e,t,n){const{fragment:i,after_update:r}=e.$$;i&&i.m(t,n),ln(()=>{const o=e.$$.on_mount.map(gi).filter(Gt);e.$$.on_destroy?e.$$.on_destroy.push(...o):Oe(o),e.$$.on_mount=[]}),r.forEach(ln)}function $(e,t){const n=e.$$;n.fragment!==null&&(xr(n.after_update),Oe(n.on_destroy),n.fragment&&n.fragment.d(t),n.on_destroy=n.fragment=null,n.ctx=[])}function Cr(e,t){e.$$.dirty[0]===-1&&(Ue.push(e),Er(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function ie(e,t,n,i,r,o,s=null,a=[-1]){const u=_t;dt(e);const l=e.$$={fragment:null,ctx:[],props:o,update:J,not_equal:r,bound:On(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(u?u.$$.context:[])),callbacks:On(),dirty:a,skip_bound:!1,root:t.target||u.$$.root};s&&s(l.root);let c=!1;if(l.ctx=n?n(e,t.props||{},(f,d,...h)=>{const p=h.length?h[0]:d;return l.ctx&&r(l.ctx[f],l.ctx[f]=p)&&(!l.skip_bound&&l.bound[f]&&l.bound[f](p),c&&Cr(e,f)),d}):[],l.update(),c=!0,Oe(l.before_update),l.fragment=i?i(l.ctx):!1,t.target){if(t.hydrate){const f=pr(t.target);l.fragment&&l.fragment.l(f),f.forEach(R)}else l.fragment&&l.fragment.c();t.intro&&T(e.$$.fragment),F(e,t.target,t.anchor),Pe()}dt(u)}let bi;typeof HTMLElement=="function"&&(bi=class extends HTMLElement{constructor(t,n,i){super();ve(this,"$$ctor");ve(this,"$$s");ve(this,"$$c");ve(this,"$$cn",!1);ve(this,"$$d",{});ve(this,"$$r",!1);ve(this,"$$p_d",{});ve(this,"$$l",{});ve(this,"$$l_u",new Map);this.$$ctor=t,this.$$s=n,i&&this.attachShadow({mode:"open"})}addEventListener(t,n,i){if(this.$$l[t]=this.$$l[t]||[],this.$$l[t].push(n),this.$$c){const r=this.$$c.$on(t,n);this.$$l_u.set(n,r)}super.addEventListener(t,n,i)}removeEventListener(t,n,i){if(super.removeEventListener(t,n,i),this.$$c){const r=this.$$l_u.get(n);r&&(r(),this.$$l_u.delete(n))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let n=function(s){return()=>{let a;return{c:function(){a=x("slot"),s!=="default"&&v(a,"name",s)},m:function(c,f){N(c,a,f)},d:function(c){c&&R(a)}}}};var t=n;if(await Promise.resolve(),!this.$$cn||this.$$c)return;const i={},r=br(this);for(const s of this.$$s)s in r&&(i[s]=[n(s)]);for(const s of this.attributes){const a=this.$$g_p(s.name);a in this.$$d||(this.$$d[a]=Nt(a,s.value,this.$$p_d,"toProp"))}for(const s in this.$$p_d)!(s in this.$$d)&&this[s]!==void 0&&(this.$$d[s]=this[s],delete this[s]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:{...this.$$d,$$slots:i,$$scope:{ctx:[]}}});const o=()=>{this.$$r=!0;for(const s in this.$$p_d)if(this.$$d[s]=this.$$c.$$.ctx[this.$$c.$$.props[s]],this.$$p_d[s].reflect){const a=Nt(s,this.$$d[s],this.$$p_d,"toAttribute");a==null?this.removeAttribute(this.$$p_d[s].attribute||s):this.setAttribute(this.$$p_d[s].attribute||s,a)}this.$$r=!1};this.$$c.$$.after_update.push(o),o();for(const s in this.$$l)for(const a of this.$$l[s]){const u=this.$$c.$on(s,a);this.$$l_u.set(a,u)}this.$$l={}}}attributeChangedCallback(t,n,i){var r;this.$$r||(t=this.$$g_p(t),this.$$d[t]=Nt(t,i,this.$$p_d,"toProp"),(r=this.$$c)==null||r.$set({[t]:this.$$d[t]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$c=void 0)})}$$g_p(t){return Object.keys(this.$$p_d).find(n=>this.$$p_d[n].attribute===t||!this.$$p_d[n].attribute&&n.toLowerCase()===t)||t}});function Nt(e,t,n,i){var o;const r=(o=n[e])==null?void 0:o.type;if(t=r==="Boolean"&&typeof t!="boolean"?t!=null:t,!i||!n[e])return t;if(i==="toAttribute")switch(r){case"Object":case"Array":return t==null?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return t??null;default:return t}else switch(r){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function Lr(e,t,n,i,r,o){let s=class extends bi{constructor(){super(e,n,r),this.$$p_d=t}static get observedAttributes(){return Object.keys(t).map(a=>(t[a].attribute||a).toLowerCase())}};return Object.keys(t).forEach(a=>{Object.defineProperty(s.prototype,a,{get(){return this.$$c&&a in this.$$c?this.$$c[a]:this.$$d[a]},set(u){var l;u=Nt(a,u,t),this.$$d[a]=u,(l=this.$$c)==null||l.$set({[a]:u})}})}),i.forEach(a=>{Object.defineProperty(s.prototype,a,{get(){var u;return(u=this.$$c)==null?void 0:u[a]}})}),o&&(s=o(s)),e.element=s,s}class re{constructor(){ve(this,"$$");ve(this,"$$set")}$destroy(){$(this,1),this.$destroy=J}$on(t,n){if(!Gt(n))return J;const i=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return i.push(n),()=>{const r=i.indexOf(n);r!==-1&&i.splice(r,1)}}$set(t){this.$$set&&!ur(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const Sr="4";typeof window<"u"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(Sr);function Ar(e){ue(e,"svelte-uqg1eo",".Icon.svelte-uqg1eo:before{font-family:'la-icon-font';display:inline-block;margin:0;font-style:normal;font-weight:normal;font-variant:normal;text-transform:none;line-height:1;font-size:1em}")}function Or(e){let t,n;return{c(){t=x("span"),v(t,"class",n=ce(`Icon ${e[0]} ${e[1]}`)+" svelte-uqg1eo")},m(i,r){N(i,t,r)},p(i,[r]){r&3&&n!==(n=ce(`Icon ${i[0]} ${i[1]}`)+" svelte-uqg1eo")&&v(t,"class",n)},i:J,o:J,d(i){i&&R(t)}}}function Rr(e,t,n){let{className:i=""}=t,{iconLaClassName:r}=t;return e.$$set=o=>{"className"in o&&n(0,i=o.className),"iconLaClassName"in o&&n(1,r=o.iconLaClassName)},[i,r]}class Ae extends re{constructor(t){super(),ie(this,t,Rr,Or,te,{className:0,iconLaClassName:1},Ar)}}const Ge=[];function Nr(e,t){return{subscribe:me(e,t).subscribe}}function me(e,t=J){let n;const i=new Set;function r(a){if(te(e,a)&&(e=a,n)){const u=!Ge.length;for(const l of i)l[1](),Ge.push(l,e);if(u){for(let l=0;l<Ge.length;l+=2)Ge[l][0](Ge[l+1]);Ge.length=0}}}function o(a){r(a(e))}function s(a,u=J){const l=[a,u];return i.add(l),i.size===1&&(n=t(r,o)||J),a(e),()=>{i.delete(l),i.size===0&&n&&(n(),n=null)}}return{set:r,update:o,subscribe:s}}function tt(e,t,n){const i=!Array.isArray(e),r=i?[e]:e;if(!r.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const o=t.length<2;return Nr(n,(s,a)=>{let u=!1;const l=[];let c=0,f=J;const d=()=>{if(c)return;f();const p=t(i?l[0]:l,s,a);o?s(p):f=Gt(p)?p:J},h=r.map((p,_)=>yn(p,y=>{l[_]=y,c&=~(1<<_),u&&d()},()=>{c|=1<<_}));return u=!0,d(),function(){Oe(h),f(),u=!1}})}var wi=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Vt(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ir=function(t){return Dr(t)&&!Hr(t)};function Dr(e){return!!e&&typeof e=="object"}function Hr(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||Br(e)}var Pr=typeof Symbol=="function"&&Symbol.for,Mr=Pr?Symbol.for("react.element"):60103;function Br(e){return e.$$typeof===Mr}function Fr(e){return Array.isArray(e)?[]:{}}function vt(e,t){return t.clone!==!1&&t.isMergeableObject(e)?Ye(Fr(e),e,t):e}function $r(e,t,n){return e.concat(t).map(function(i){return vt(i,n)})}function Gr(e,t){if(!t.customMerge)return Ye;var n=t.customMerge(e);return typeof n=="function"?n:Ye}function Ur(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}function Pn(e){return Object.keys(e).concat(Ur(e))}function Ei(e,t){try{return t in e}catch{return!1}}function Vr(e,t){return Ei(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function zr(e,t,n){var i={};return n.isMergeableObject(e)&&Pn(e).forEach(function(r){i[r]=vt(e[r],n)}),Pn(t).forEach(function(r){Vr(e,r)||(Ei(e,r)&&n.isMergeableObject(t[r])?i[r]=Gr(r,n)(e[r],t[r],n):i[r]=vt(t[r],n))}),i}function Ye(e,t,n){n=n||{},n.arrayMerge=n.arrayMerge||$r,n.isMergeableObject=n.isMergeableObject||Ir,n.cloneUnlessOtherwiseSpecified=vt;var i=Array.isArray(t),r=Array.isArray(e),o=i===r;return o?i?n.arrayMerge(e,t,n):zr(e,t,n):vt(t,n)}Ye.all=function(t,n){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(i,r){return Ye(i,r,n)},{})};var Kr=Ye,Wr=Kr;const Jr=Vt(Wr);var un=function(e,t){return un=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(n[r]=i[r])},un(e,t)};function zt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");un(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}var q=function(){return q=Object.assign||function(t){for(var n,i=1,r=arguments.length;i<r;i++){n=arguments[i];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},q.apply(this,arguments)};function Xr(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,i=Object.getOwnPropertySymbols(e);r<i.length;r++)t.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(e,i[r])&&(n[i[r]]=e[i[r]]);return n}function jt(e,t,n){if(n||arguments.length===2)for(var i=0,r=t.length,o;i<r;i++)(o||!(i in t))&&(o||(o=Array.prototype.slice.call(t,0,i)),o[i]=t[i]);return e.concat(o||Array.prototype.slice.call(t))}var W;(function(e){e[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG"})(W||(W={}));var le;(function(e){e[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag"})(le||(le={}));var Qe;(function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"})(Qe||(Qe={}));function Mn(e){return e.type===le.literal}function Zr(e){return e.type===le.argument}function Ti(e){return e.type===le.number}function xi(e){return e.type===le.date}function ki(e){return e.type===le.time}function Ci(e){return e.type===le.select}function Li(e){return e.type===le.plural}function Yr(e){return e.type===le.pound}function Si(e){return e.type===le.tag}function Ai(e){return!!(e&&typeof e=="object"&&e.type===Qe.number)}function cn(e){return!!(e&&typeof e=="object"&&e.type===Qe.dateTime)}var Oi=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Qr=/(?:[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 qr(e){var t={};return e.replace(Qr,function(n){var i=n.length;switch(n[0]){case"G":t.era=i===4?"long":i===5?"narrow":"short";break;case"y":t.year=i===2?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":t.month=["numeric","2-digit","short","long","narrow"][i-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][i-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=i===4?"long":i===5?"narrow":"short";break;case"e":if(i<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][i-4];break;case"c":if(i<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][i-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][i-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][i-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][i-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][i-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":t.minute=["numeric","2-digit"][i-1];break;case"s":t.second=["numeric","2-digit"][i-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=i<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),t}var jr=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function eo(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");for(var t=e.split(jr).filter(function(d){return d.length>0}),n=[],i=0,r=t;i<r.length;i++){var o=r[i],s=o.split("/");if(s.length===0)throw new Error("Invalid number skeleton");for(var a=s[0],u=s.slice(1),l=0,c=u;l<c.length;l++){var f=c[l];if(f.length===0)throw new Error("Invalid number skeleton")}n.push({stem:a,options:u})}return n}function to(e){return e.replace(/^(.*?)-/,"")}var Bn=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Ri=/^(@+)?(\+|#+)?[rs]?$/g,no=/(\*)(0+)|(#+)(0+)|(0+)/g,Ni=/^(0+)$/;function Fn(e){var t={};return e[e.length-1]==="r"?t.roundingPriority="morePrecision":e[e.length-1]==="s"&&(t.roundingPriority="lessPrecision"),e.replace(Ri,function(n,i,r){return typeof r!="string"?(t.minimumSignificantDigits=i.length,t.maximumSignificantDigits=i.length):r==="+"?t.minimumSignificantDigits=i.length:i[0]==="#"?t.maximumSignificantDigits=i.length:(t.minimumSignificantDigits=i.length,t.maximumSignificantDigits=i.length+(typeof r=="string"?r.length:0)),""}),t}function Ii(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function io(e){var t;if(e[0]==="E"&&e[1]==="E"?(t={notation:"engineering"},e=e.slice(2)):e[0]==="E"&&(t={notation:"scientific"},e=e.slice(1)),t){var n=e.slice(0,2);if(n==="+!"?(t.signDisplay="always",e=e.slice(2)):n==="+?"&&(t.signDisplay="exceptZero",e=e.slice(2)),!Ni.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function $n(e){var t={},n=Ii(e);return n||t}function ro(e){for(var t={},n=0,i=e;n<i.length;n++){var r=i[n];switch(r.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=r.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=to(r.options[0]);continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=q(q(q({},t),{notation:"scientific"}),r.options.reduce(function(u,l){return q(q({},u),$n(l))},{}));continue;case"engineering":t=q(q(q({},t),{notation:"engineering"}),r.options.reduce(function(u,l){return q(q({},u),$n(l))},{}));continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(r.options[0]);continue;case"rounding-mode-floor":t.roundingMode="floor";continue;case"rounding-mode-ceiling":t.roundingMode="ceil";continue;case"rounding-mode-down":t.roundingMode="trunc";continue;case"rounding-mode-up":t.roundingMode="expand";continue;case"rounding-mode-half-even":t.roundingMode="halfEven";continue;case"rounding-mode-half-down":t.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":t.roundingMode="halfExpand";continue;case"integer-width":if(r.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");r.options[0].replace(no,function(u,l,c,f,d,h){if(l)t.minimumIntegerDigits=c.length;else{if(f&&d)throw new Error("We currently do not support maximum integer digits");if(h)throw new Error("We currently do not support exact integer digits")}return""});continue}if(Ni.test(r.stem)){t.minimumIntegerDigits=r.stem.length;continue}if(Bn.test(r.stem)){if(r.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");r.stem.replace(Bn,function(u,l,c,f,d,h){return c==="*"?t.minimumFractionDigits=l.length:f&&f[0]==="#"?t.maximumFractionDigits=f.length:d&&h?(t.minimumFractionDigits=d.length,t.maximumFractionDigits=d.length+h.length):(t.minimumFractionDigits=l.length,t.maximumFractionDigits=l.length),""});var o=r.options[0];o==="w"?t=q(q({},t),{trailingZeroDisplay:"stripIfInteger"}):o&&(t=q(q({},t),Fn(o)));continue}if(Ri.test(r.stem)){t=q(q({},t),Fn(r.stem));continue}var s=Ii(r.stem);s&&(t=q(q({},t),s));var a=io(r.stem);a&&(t=q(q({},t),a))}return t}var At={"001":["H","h"],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","hB","h","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","hB","h","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","hB","h","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"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["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 oo(e,t){for(var n="",i=0;i<e.length;i++){var r=e.charAt(i);if(r==="j"){for(var o=0;i+1<e.length&&e.charAt(i+1)===r;)o++,i++;var s=1+(o&1),a=o<2?1:3+(o>>1),u="a",l=so(t);for((l=="H"||l=="k")&&(a=0);a-- >0;)n+=u;for(;s-- >0;)n=l+n}else r==="J"?n+="H":n+=r}return n}function so(e){var t=e.hourCycle;if(t===void 0&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var n=e.language,i;n!=="root"&&(i=e.maximize().region);var r=At[i||""]||At[n||""]||At["".concat(n,"-001")]||At["001"];return r[0]}var en,ao=new RegExp("^".concat(Oi.source,"*")),lo=new RegExp("".concat(Oi.source,"*$"));function Z(e,t){return{start:e,end:t}}var uo=!!String.prototype.startsWith&&"_a".startsWith("a",1),co=!!String.fromCodePoint,fo=!!Object.fromEntries,ho=!!String.prototype.codePointAt,mo=!!String.prototype.trimStart,go=!!String.prototype.trimEnd,po=!!Number.isSafeInteger,_o=po?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},fn=!0;try{var vo=Hi("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");fn=((en=vo.exec("a"))===null||en===void 0?void 0:en[0])==="a"}catch{fn=!1}var Gn=uo?function(t,n,i){return t.startsWith(n,i)}:function(t,n,i){return t.slice(i,i+n.length)===n},dn=co?String.fromCodePoint:function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];for(var i="",r=t.length,o=0,s;r>o;){if(s=t[o++],s>1114111)throw RangeError(s+" is not a valid code point");i+=s<65536?String.fromCharCode(s):String.fromCharCode(((s-=65536)>>10)+55296,s%1024+56320)}return i},Un=fo?Object.fromEntries:function(t){for(var n={},i=0,r=t;i<r.length;i++){var o=r[i],s=o[0],a=o[1];n[s]=a}return n},Di=ho?function(t,n){return t.codePointAt(n)}:function(t,n){var i=t.length;if(!(n<0||n>=i)){var r=t.charCodeAt(n),o;return r<55296||r>56319||n+1===i||(o=t.charCodeAt(n+1))<56320||o>57343?r:(r-55296<<10)+(o-56320)+65536}},yo=mo?function(t){return t.trimStart()}:function(t){return t.replace(ao,"")},bo=go?function(t){return t.trimEnd()}:function(t){return t.replace(lo,"")};function Hi(e,t){return new RegExp(e,t)}var hn;if(fn){var Vn=Hi("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");hn=function(t,n){var i;Vn.lastIndex=n;var r=Vn.exec(t);return(i=r[1])!==null&&i!==void 0?i:""}}else hn=function(t,n){for(var i=[];;){var r=Di(t,n);if(r===void 0||Pi(r)||xo(r))break;i.push(r),n+=r>=65536?2:1}return dn.apply(void 0,i)};var wo=function(){function e(t,n){n===void 0&&(n={}),this.message=t,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 e.prototype.parse=function(){if(this.offset()!==0)throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(t,n,i){for(var r=[];!this.isEOF();){var o=this.char();if(o===123){var s=this.parseArgument(t,i);if(s.err)return s;r.push(s.val)}else{if(o===125&&t>0)break;if(o===35&&(n==="plural"||n==="selectordinal")){var a=this.clonePosition();this.bump(),r.push({type:le.pound,location:Z(a,this.clonePosition())})}else if(o===60&&!this.ignoreTag&&this.peek()===47){if(i)break;return this.error(W.UNMATCHED_CLOSING_TAG,Z(this.clonePosition(),this.clonePosition()))}else if(o===60&&!this.ignoreTag&&mn(this.peek()||0)){var s=this.parseTag(t,n);if(s.err)return s;r.push(s.val)}else{var s=this.parseLiteral(t,n);if(s.err)return s;r.push(s.val)}}}return{val:r,err:null}},e.prototype.parseTag=function(t,n){var i=this.clonePosition();this.bump();var r=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:le.literal,value:"<".concat(r,"/>"),location:Z(i,this.clonePosition())},err:null};if(this.bumpIf(">")){var o=this.parseMessage(t+1,n,!0);if(o.err)return o;var s=o.val,a=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!mn(this.char()))return this.error(W.INVALID_TAG,Z(a,this.clonePosition()));var u=this.clonePosition(),l=this.parseTagName();return r!==l?this.error(W.UNMATCHED_CLOSING_TAG,Z(u,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:le.tag,value:r,children:s,location:Z(i,this.clonePosition())},err:null}:this.error(W.INVALID_TAG,Z(a,this.clonePosition())))}else return this.error(W.UNCLOSED_TAG,Z(i,this.clonePosition()))}else return this.error(W.INVALID_TAG,Z(i,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&To(this.char());)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(t,n){for(var i=this.clonePosition(),r="";;){var o=this.tryParseQuote(n);if(o){r+=o;continue}var s=this.tryParseUnquoted(t,n);if(s){r+=s;continue}var a=this.tryParseLeftAngleBracket();if(a){r+=a;continue}break}var u=Z(i,this.clonePosition());return{val:{type:le.literal,value:r,location:u},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!Eo(this.peek()||0))?(this.bump(),"<"):null},e.prototype.tryParseQuote=function(t){if(this.isEOF()||this.char()!==39)return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if(t==="plural"||t==="selectordinal")break;return null;default:return null}this.bump();var n=[this.char()];for(this.bump();!this.isEOF();){var i=this.char();if(i===39)if(this.peek()===39)n.push(39),this.bump();else{this.bump();break}else n.push(i);this.bump()}return dn.apply(void 0,n)},e.prototype.tryParseUnquoted=function(t,n){if(this.isEOF())return null;var i=this.char();return i===60||i===123||i===35&&(n==="plural"||n==="selectordinal")||i===125&&t>0?null:(this.bump(),dn(i))},e.prototype.parseArgument=function(t,n){var i=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(W.EXPECT_ARGUMENT_CLOSING_BRACE,Z(i,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(W.EMPTY_ARGUMENT,Z(i,this.clonePosition()));var r=this.parseIdentifierIfPossible().value;if(!r)return this.error(W.MALFORMED_ARGUMENT,Z(i,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(W.EXPECT_ARGUMENT_CLOSING_BRACE,Z(i,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:le.argument,value:r,location:Z(i,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(W.EXPECT_ARGUMENT_CLOSING_BRACE,Z(i,this.clonePosition())):this.parseArgumentOptions(t,n,r,i);default:return this.error(W.MALFORMED_ARGUMENT,Z(i,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),n=this.offset(),i=hn(this.message,n),r=n+i.length;this.bumpTo(r);var o=this.clonePosition(),s=Z(t,o);return{value:i,location:s}},e.prototype.parseArgumentOptions=function(t,n,i,r){var o,s=this.clonePosition(),a=this.parseIdentifierIfPossible().value,u=this.clonePosition();switch(a){case"":return this.error(W.EXPECT_ARGUMENT_TYPE,Z(s,u));case"number":case"date":case"time":{this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition(),f=this.parseSimpleArgStyleIfPossible();if(f.err)return f;var d=bo(f.val);if(d.length===0)return this.error(W.EXPECT_ARGUMENT_STYLE,Z(this.clonePosition(),this.clonePosition()));var h=Z(c,this.clonePosition());l={style:d,styleLocation:h}}var p=this.tryParseArgumentClose(r);if(p.err)return p;var _=Z(r,this.clonePosition());if(l&&Gn(l==null?void 0:l.style,"::",0)){var y=yo(l.style.slice(2));if(a==="number"){var f=this.parseNumberSkeletonFromString(y,l.styleLocation);return f.err?f:{val:{type:le.number,value:i,location:_,style:f.val},err:null}}else{if(y.length===0)return this.error(W.EXPECT_DATE_TIME_SKELETON,_);var g=y;this.locale&&(g=oo(y,this.locale));var d={type:Qe.dateTime,pattern:g,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?qr(g):{}},E=a==="date"?le.date:le.time;return{val:{type:E,value:i,location:_,style:d},err:null}}}return{val:{type:a==="number"?le.number:a==="date"?le.date:le.time,value:i,location:_,style:(o=l==null?void 0:l.style)!==null&&o!==void 0?o:null},err:null}}case"plural":case"selectordinal":case"select":{var L=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(W.EXPECT_SELECT_ARGUMENT_OPTIONS,Z(L,q({},L)));this.bumpSpace();var O=this.parseIdentifierIfPossible(),I=0;if(a!=="select"&&O.value==="offset"){if(!this.bumpIf(":"))return this.error(W.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Z(this.clonePosition(),this.clonePosition()));this.bumpSpace();var f=this.tryParseDecimalInteger(W.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,W.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(f.err)return f;this.bumpSpace(),O=this.parseIdentifierIfPossible(),I=f.val}var Y=this.tryParsePluralOrSelectOptions(t,a,n,O);if(Y.err)return Y;var p=this.tryParseArgumentClose(r);if(p.err)return p;var de=Z(r,this.clonePosition());return a==="select"?{val:{type:le.select,value:i,options:Un(Y.val),location:de},err:null}:{val:{type:le.plural,value:i,options:Un(Y.val),offset:I,pluralType:a==="plural"?"cardinal":"ordinal",location:de},err:null}}default:return this.error(W.INVALID_ARGUMENT_TYPE,Z(s,u))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(W.EXPECT_ARGUMENT_CLOSING_BRACE,Z(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,n=this.clonePosition();!this.isEOF();){var i=this.char();switch(i){case 39:{this.bump();var r=this.clonePosition();if(!this.bumpUntil("'"))return this.error(W.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,Z(r,this.clonePosition()));this.bump();break}case 123:{t+=1,this.bump();break}case 125:{if(t>0)t-=1;else return{val:this.message.slice(n.offset,this.offset()),err:null};break}default:this.bump();break}}return{val:this.message.slice(n.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(t,n){var i=[];try{i=eo(t)}catch{return this.error(W.INVALID_NUMBER_SKELETON,n)}return{val:{type:Qe.number,tokens:i,location:n,parsedOptions:this.shouldParseSkeletons?ro(i):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(t,n,i,r){for(var o,s=!1,a=[],u=new Set,l=r.value,c=r.location;;){if(l.length===0){var f=this.clonePosition();if(n!=="select"&&this.bumpIf("=")){var d=this.tryParseDecimalInteger(W.EXPECT_PLURAL_ARGUMENT_SELECTOR,W.INVALID_PLURAL_ARGUMENT_SELECTOR);if(d.err)return d;c=Z(f,this.clonePosition()),l=this.message.slice(f.offset,this.offset())}else break}if(u.has(l))return this.error(n==="select"?W.DUPLICATE_SELECT_ARGUMENT_SELECTOR:W.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,c);l==="other"&&(s=!0),this.bumpSpace();var h=this.clonePosition();if(!this.bumpIf("{"))return this.error(n==="select"?W.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:W.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,Z(this.clonePosition(),this.clonePosition()));var p=this.parseMessage(t+1,n,i);if(p.err)return p;var _=this.tryParseArgumentClose(h);if(_.err)return _;a.push([l,{value:p.val,location:Z(h,this.clonePosition())}]),u.add(l),this.bumpSpace(),o=this.parseIdentifierIfPossible(),l=o.value,c=o.location}return a.length===0?this.error(n==="select"?W.EXPECT_SELECT_ARGUMENT_SELECTOR:W.EXPECT_PLURAL_ARGUMENT_SELECTOR,Z(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!s?this.error(W.MISSING_OTHER_CLAUSE,Z(this.clonePosition(),this.clonePosition())):{val:a,err:null}},e.prototype.tryParseDecimalInteger=function(t,n){var i=1,r=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(i=-1);for(var o=!1,s=0;!this.isEOF();){var a=this.char();if(a>=48&&a<=57)o=!0,s=s*10+(a-48),this.bump();else break}var u=Z(r,this.clonePosition());return o?(s*=i,_o(s)?{val:s,err:null}:this.error(n,u)):this.error(t,u)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");var n=Di(this.message,t);if(n===void 0)throw Error("Offset ".concat(t," is at invalid UTF-16 code unit boundary"));return n},e.prototype.error=function(t,n){return{val:null,err:{kind:t,message:this.message,location:n}}},e.prototype.bump=function(){if(!this.isEOF()){var t=this.char();t===10?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=t<65536?1:2)}},e.prototype.bumpIf=function(t){if(Gn(this.message,t,this.offset())){for(var n=0;n<t.length;n++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(t){var n=this.offset(),i=this.message.indexOf(t,n);return i>=0?(this.bumpTo(i),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(t){if(this.offset()>t)throw Error("targetOffset ".concat(t," must be greater than or equal to the current offset ").concat(this.offset()));for(t=Math.min(t,this.message.length);;){var n=this.offset();if(n===t)break;if(n>t)throw Error("targetOffset ".concat(t," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&Pi(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),n=this.offset(),i=this.message.charCodeAt(n+(t>=65536?2:1));return i??null},e}();function mn(e){return e>=97&&e<=122||e>=65&&e<=90}function Eo(e){return mn(e)||e===47}function To(e){return e===45||e===46||e>=48&&e<=57||e===95||e>=97&&e<=122||e>=65&&e<=90||e==183||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}function Pi(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function xo(e){return e>=33&&e<=35||e===36||e>=37&&e<=39||e===40||e===41||e===42||e===43||e===44||e===45||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||e===91||e===92||e===93||e===94||e===96||e===123||e===124||e===125||e===126||e===161||e>=162&&e<=165||e===166||e===167||e===169||e===171||e===172||e===174||e===176||e===177||e===182||e===187||e===191||e===215||e===247||e>=8208&&e<=8213||e>=8214&&e<=8215||e===8216||e===8217||e===8218||e>=8219&&e<=8220||e===8221||e===8222||e===8223||e>=8224&&e<=8231||e>=8240&&e<=8248||e===8249||e===8250||e>=8251&&e<=8254||e>=8257&&e<=8259||e===8260||e===8261||e===8262||e>=8263&&e<=8273||e===8274||e===8275||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||e===8608||e>=8609&&e<=8610||e===8611||e>=8612&&e<=8613||e===8614||e>=8615&&e<=8621||e===8622||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||e===8658||e===8659||e===8660||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||e===8968||e===8969||e===8970||e===8971||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||e===9001||e===9002||e>=9003&&e<=9083||e===9084||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||e===9655||e>=9656&&e<=9664||e===9665||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||e===9839||e>=9840&&e<=10087||e===10088||e===10089||e===10090||e===10091||e===10092||e===10093||e===10094||e===10095||e===10096||e===10097||e===10098||e===10099||e===10100||e===10101||e>=10132&&e<=10175||e>=10176&&e<=10180||e===10181||e===10182||e>=10183&&e<=10213||e===10214||e===10215||e===10216||e===10217||e===10218||e===10219||e===10220||e===10221||e===10222||e===10223||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||e===10627||e===10628||e===10629||e===10630||e===10631||e===10632||e===10633||e===10634||e===10635||e===10636||e===10637||e===10638||e===10639||e===10640||e===10641||e===10642||e===10643||e===10644||e===10645||e===10646||e===10647||e===10648||e>=10649&&e<=10711||e===10712||e===10713||e===10714||e===10715||e>=10716&&e<=10747||e===10748||e===10749||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||e===11158||e>=11159&&e<=11263||e>=11776&&e<=11777||e===11778||e===11779||e===11780||e===11781||e>=11782&&e<=11784||e===11785||e===11786||e===11787||e===11788||e===11789||e>=11790&&e<=11798||e===11799||e>=11800&&e<=11801||e===11802||e===11803||e===11804||e===11805||e>=11806&&e<=11807||e===11808||e===11809||e===11810||e===11811||e===11812||e===11813||e===11814||e===11815||e===11816||e===11817||e>=11818&&e<=11822||e===11823||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||e===11840||e===11841||e===11842||e>=11843&&e<=11855||e>=11856&&e<=11857||e===11858||e>=11859&&e<=11903||e>=12289&&e<=12291||e===12296||e===12297||e===12298||e===12299||e===12300||e===12301||e===12302||e===12303||e===12304||e===12305||e>=12306&&e<=12307||e===12308||e===12309||e===12310||e===12311||e===12312||e===12313||e===12314||e===12315||e===12316||e===12317||e>=12318&&e<=12319||e===12320||e===12336||e===64830||e===64831||e>=65093&&e<=65094}function gn(e){e.forEach(function(t){if(delete t.location,Ci(t)||Li(t))for(var n in t.options)delete t.options[n].location,gn(t.options[n].value);else Ti(t)&&Ai(t.style)||(xi(t)||ki(t))&&cn(t.style)?delete t.style.location:Si(t)&&gn(t.children)})}function ko(e,t){t===void 0&&(t={}),t=q({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var n=new wo(e,t).parse();if(n.err){var i=SyntaxError(W[n.err.kind]);throw i.location=n.err.location,i.originalMessage=n.err.message,i}return t!=null&&t.captureLocation||gn(n.val),n.val}function tn(e,t){var n=t&&t.cache?t.cache:Ro,i=t&&t.serializer?t.serializer:Oo,r=t&&t.strategy?t.strategy:Lo;return r(e,{cache:n,serializer:i})}function Co(e){return e==null||typeof e=="number"||typeof e=="boolean"}function Mi(e,t,n,i){var r=Co(i)?i:n(i),o=t.get(r);return typeof o>"u"&&(o=e.call(this,i),t.set(r,o)),o}function Bi(e,t,n){var i=Array.prototype.slice.call(arguments,3),r=n(i),o=t.get(r);return typeof o>"u"&&(o=e.apply(this,i),t.set(r,o)),o}function wn(e,t,n,i,r){return n.bind(t,e,i,r)}function Lo(e,t){var n=e.length===1?Mi:Bi;return wn(e,this,n,t.cache.create(),t.serializer)}function So(e,t){return wn(e,this,Bi,t.cache.create(),t.serializer)}function Ao(e,t){return wn(e,this,Mi,t.cache.create(),t.serializer)}var Oo=function(){return JSON.stringify(arguments)};function En(){this.cache=Object.create(null)}En.prototype.get=function(e){return this.cache[e]};En.prototype.set=function(e,t){this.cache[e]=t};var Ro={create:function(){return new En}},nn={variadic:So,monadic:Ao},qe;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(qe||(qe={}));var Kt=function(e){zt(t,e);function t(n,i,r){var o=e.call(this,n)||this;return o.code=i,o.originalMessage=r,o}return t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),zn=function(e){zt(t,e);function t(n,i,r,o){return e.call(this,'Invalid values for "'.concat(n,'": "').concat(i,'". Options are "').concat(Object.keys(r).join('", "'),'"'),qe.INVALID_VALUE,o)||this}return t}(Kt),No=function(e){zt(t,e);function t(n,i,r){return e.call(this,'Value for "'.concat(n,'" must be of type ').concat(i),qe.INVALID_VALUE,r)||this}return t}(Kt),Io=function(e){zt(t,e);function t(n,i){return e.call(this,'The intl string context variable "'.concat(n,'" was not provided to the string "').concat(i,'"'),qe.MISSING_VALUE,i)||this}return t}(Kt),pe;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(pe||(pe={}));function Do(e){return e.length<2?e:e.reduce(function(t,n){var i=t[t.length-1];return!i||i.type!==pe.literal||n.type!==pe.literal?t.push(n):i.value+=n.value,t},[])}function Ho(e){return typeof e=="function"}function It(e,t,n,i,r,o,s){if(e.length===1&&Mn(e[0]))return[{type:pe.literal,value:e[0].value}];for(var a=[],u=0,l=e;u<l.length;u++){var c=l[u];if(Mn(c)){a.push({type:pe.literal,value:c.value});continue}if(Yr(c)){typeof o=="number"&&a.push({type:pe.literal,value:n.getNumberFormat(t).format(o)});continue}var f=c.value;if(!(r&&f in r))throw new Io(f,s);var d=r[f];if(Zr(c)){(!d||typeof d=="string"||typeof d=="number")&&(d=typeof d=="string"||typeof d=="number"?String(d):""),a.push({type:typeof d=="string"?pe.literal:pe.object,value:d});continue}if(xi(c)){var h=typeof c.style=="string"?i.date[c.style]:cn(c.style)?c.style.parsedOptions:void 0;a.push({type:pe.literal,value:n.getDateTimeFormat(t,h).format(d)});continue}if(ki(c)){var h=typeof c.style=="string"?i.time[c.style]:cn(c.style)?c.style.parsedOptions:i.time.medium;a.push({type:pe.literal,value:n.getDateTimeFormat(t,h).format(d)});continue}if(Ti(c)){var h=typeof c.style=="string"?i.number[c.style]:Ai(c.style)?c.style.parsedOptions:void 0;h&&h.scale&&(d=d*(h.scale||1)),a.push({type:pe.literal,value:n.getNumberFormat(t,h).format(d)});continue}if(Si(c)){var p=c.children,_=c.value,y=r[_];if(!Ho(y))throw new No(_,"function",s);var g=It(p,t,n,i,r,o),E=y(g.map(function(I){return I.value}));Array.isArray(E)||(E=[E]),a.push.apply(a,E.map(function(I){return{type:typeof I=="string"?pe.literal:pe.object,value:I}}))}if(Ci(c)){var L=c.options[d]||c.options.other;if(!L)throw new zn(c.value,d,Object.keys(c.options),s);a.push.apply(a,It(L.value,t,n,i,r));continue}if(Li(c)){var L=c.options["=".concat(d)];if(!L){if(!Intl.PluralRules)throw new Kt(`Intl.PluralRules is not available in this environment.
|
|
2
2
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3
3
|
`,qe.MISSING_INTL_API,s);var O=n.getPluralRules(t,{type:c.pluralType}).select(d-(c.offset||0));L=c.options[O]||c.options.other}if(!L)throw new zn(c.value,d,Object.keys(c.options),s);a.push.apply(a,It(L.value,t,n,i,r,d-(c.offset||0)));continue}}return Do(a)}function Po(e,t){return t?q(q(q({},e||{}),t||{}),Object.keys(e).reduce(function(n,i){return n[i]=q(q({},e[i]),t[i]||{}),n},{})):e}function Mo(e,t){return t?Object.keys(e).reduce(function(n,i){return n[i]=Po(e[i],t[i]),n},q({},e)):e}function rn(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,n){e[t]=n}}}}}function Bo(e){return e===void 0&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:tn(function(){for(var t,n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];return new((t=Intl.NumberFormat).bind.apply(t,jt([void 0],n,!1)))},{cache:rn(e.number),strategy:nn.variadic}),getDateTimeFormat:tn(function(){for(var t,n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];return new((t=Intl.DateTimeFormat).bind.apply(t,jt([void 0],n,!1)))},{cache:rn(e.dateTime),strategy:nn.variadic}),getPluralRules:tn(function(){for(var t,n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];return new((t=Intl.PluralRules).bind.apply(t,jt([void 0],n,!1)))},{cache:rn(e.pluralRules),strategy:nn.variadic})}}var Fi=function(){function e(t,n,i,r){var o=this;if(n===void 0&&(n=e.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(u){var l=o.formatToParts(u);if(l.length===1)return l[0].value;var c=l.reduce(function(f,d){return!f.length||d.type!==pe.literal||typeof f[f.length-1]!="string"?f.push(d.value):f[f.length-1]+=d.value,f},[]);return c.length<=1?c[0]||"":c},this.formatToParts=function(u){return It(o.ast,o.locales,o.formatters,o.formats,u,void 0,o.message)},this.resolvedOptions=function(){var u;return{locale:((u=o.resolvedLocale)===null||u===void 0?void 0:u.toString())||Intl.NumberFormat.supportedLocalesOf(o.locales)[0]}},this.getAst=function(){return o.ast},this.locales=n,this.resolvedLocale=e.resolveLocale(n),typeof t=="string"){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var s=r||{};s.formatters;var a=Xr(s,["formatters"]);this.ast=e.__parse(t,q(q({},a),{locale:this.resolvedLocale}))}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=Mo(e.formats,i),this.formatters=r&&r.formatters||Bo(this.formatterCache)}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=new Intl.NumberFormat().resolvedOptions().locale),e.memoizedDefaultLocale},enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.resolveLocale=function(t){if(!(typeof Intl.Locale>"u")){var n=Intl.NumberFormat.supportedLocalesOf(t);return n.length>0?new Intl.Locale(n[0]):new Intl.Locale(typeof t=="string"?t:t[0])}},e.__parse=ko,e.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"}}},e}();function Fo(e,t){if(t==null)return;if(t in e)return e[t];const n=t.split(".");let i=e;for(let r=0;r<n.length;r++)if(typeof i=="object"){if(r>0){const o=n.slice(r,n.length).join(".");if(o in i){i=i[o];break}}i=i[n[r]]}else i=void 0;return i}const Ie={},$o=(e,t,n)=>n&&(t in Ie||(Ie[t]={}),e in Ie[t]||(Ie[t][e]=n),n),$i=(e,t)=>{if(t==null)return;if(t in Ie&&e in Ie[t])return Ie[t][e];const n=Ct(t);for(let i=0;i<n.length;i++){const r=n[i],o=Uo(r,e);if(o)return $o(e,t,o)}};let Tn;const nt=me({});function Go(e){return Tn[e]||null}function xn(e){return e in Tn}function Uo(e,t){if(!xn(e))return null;const n=Go(e);return Fo(n,t)}function Vo(e){if(e==null)return;const t=Ct(e);for(let n=0;n<t.length;n++){const i=t[n];if(xn(i))return i}}function zo(e,...t){delete Ie[e],nt.update(n=>(n[e]=Jr.all([n[e]||{},...t]),n))}tt([nt],([e])=>Object.keys(e));nt.subscribe(e=>Tn=e);const ht={};function Ko(e){ht[e]=new Set}function Wo(e,t){ht[e].delete(t),ht[e].size===0&&delete ht[e]}function mt(e){return ht[e]}function Jo(e){return Ct(e).map(t=>{const n=mt(t);return[t,n?[...n]:[]]}).filter(([,t])=>t.length>0)}function Mt(e){return e==null?!1:Ct(e).some(t=>{var n;return(n=mt(t))==null?void 0:n.size})}function Xo(e,t){return Promise.all(t.map(i=>(Wo(e,i),i().then(r=>r.default||r)))).then(i=>zo(e,...i))}const at={};function Gi(e){if(!Mt(e))return e in at?at[e]:Promise.resolve();const t=Jo(e);return at[e]=Promise.all(t.map(([n,i])=>Xo(n,i))).then(()=>{if(Mt(e))return Gi(e);delete at[e]}),at[e]}function Kn(e,t){mt(e)||Ko(e);const n=mt(e);mt(e).has(t)||(xn(e)||nt.update(i=>(i[e]={},i)),n.add(t))}var Wn=Object.getOwnPropertySymbols,Zo=Object.prototype.hasOwnProperty,Yo=Object.prototype.propertyIsEnumerable,Qo=(e,t)=>{var n={};for(var i in e)Zo.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(e!=null&&Wn)for(var i of Wn(e))t.indexOf(i)<0&&Yo.call(e,i)&&(n[i]=e[i]);return n};const qo={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 jo({locale:e,id:t}){console.warn(`[svelte-i18n] The message "${t}" was not found in "${Ct(e).join('", "')}".${Mt(De())?`
|
|
4
4
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@qualityunit/liveagent-ticket-grid",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.84",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"predev": "npm run extractLocales",
|
|
@@ -18,12 +18,12 @@
|
|
|
18
18
|
"devDependencies": {
|
|
19
19
|
"@sveltejs/vite-plugin-svelte": "^2.5.3",
|
|
20
20
|
"@tsconfig/svelte": "^5.0.2",
|
|
21
|
-
"svelte": "^4.2.
|
|
21
|
+
"svelte": "^4.2.17",
|
|
22
22
|
"svelte-check": "^3.7.1",
|
|
23
23
|
"svelte-i18n": "^4.0.0",
|
|
24
24
|
"svelte-time": "^0.9.0",
|
|
25
25
|
"tslib": "^2.6.2",
|
|
26
|
-
"typescript": "^5.
|
|
26
|
+
"typescript": "^5.4.5",
|
|
27
27
|
"vite": "^4.0.0"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|