@everymatrix/cashier-methods-list 1.99.56 → 1.99.59
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{CashierMethodsList-BlSN_5PJ.cjs → CashierMethodsList-CdEDo35Z.cjs} +1 -1
- package/components/{CashierMethodsList-Cf_g2MGA.js → CashierMethodsList-CzDtOdcS.js} +54 -101
- package/components/{CashierMethodsList-H7rJVg1_.js → CashierMethodsList-qT4HI_zO.js} +53 -100
- package/es2015/cashier-methods-list.cjs +1 -1
- package/es2015/cashier-methods-list.js +1 -1
- package/esnext/cashier-methods-list.js +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var Zn=Object.defineProperty,qn=Object.defineProperties;var Jn=Object.getOwnPropertyDescriptors;var hr=Object.getOwnPropertySymbols;var Qn=Object.prototype.hasOwnProperty,Kn=Object.prototype.propertyIsEnumerable;var At=(e,t,r)=>t in e?Zn(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Oe=(e,t)=>{for(var r in t||(t={}))Qn.call(t,r)&&At(e,r,t[r]);if(hr)for(var r of hr(t))Kn.call(t,r)&&At(e,r,t[r]);return e},ut=(e,t)=>qn(e,Jn(t));var de=(e,t,r)=>(At(e,typeof t!="symbol"?t+"":t,r),r);var cr=(e,t,r)=>new Promise((n,i)=>{var o=u=>{try{a(r.next(u))}catch(l){i(l)}},s=u=>{try{a(r.throw(u))}catch(l){i(l)}},a=u=>u.done?n(u.value):Promise.resolve(u.value).then(o,s);a((r=r.apply(e,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function ue(){}function Qr(e){return e()}function fr(){return Object.create(null)}function He(e){e.forEach(Qr)}function tr(e){return typeof e=="function"}function rr(e,t){return e!=e?t==t:e!==t||e&&typeof e=="object"||typeof e=="function"}let lt;function dr(e,t){return e===t?!0:(lt||(lt=document.createElement("a")),lt.href=t,e===lt.href)}function ei(e){return Object.keys(e).length===0}function Kr(e,...t){if(e==null){for(const n of t)n(void 0);return ue}const r=e.subscribe(...t);return r.unsubscribe?()=>r.unsubscribe():r}function mr(e,t,r){e.$$.on_destroy.push(Kr(t,r))}function S(e,t){e.appendChild(t)}function en(e,t,r){const n=ti(e);if(!n.getElementById(t)){const i=C("style");i.id=t,i.textContent=r,ri(n,i)}}function ti(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function ri(e,t){return S(e.head||e,t),t.sheet}function ie(e,t,r){e.insertBefore(t,r||null)}function ee(e){e.parentNode&&e.parentNode.removeChild(e)}function ni(e,t){for(let r=0;r<e.length;r+=1)e[r]&&e[r].d(t)}function C(e){return document.createElement(e)}function K(e){return document.createTextNode(e)}function ne(){return K(" ")}function tn(){return K("")}function vt(e,t,r,n){return e.addEventListener(t,r,n),()=>e.removeEventListener(t,r,n)}function A(e,t,r){r==null?e.removeAttribute(t):e.getAttribute(t)!==r&&e.setAttribute(t,r)}function ae(e,t,r){const n=t.toLowerCase();n in e?e[n]=typeof e[n]=="boolean"&&r===""?!0:r:t in e?e[t]=typeof e[t]=="boolean"&&r===""?!0:r:A(e,t,r)}function ii(e){return Array.from(e.childNodes)}function se(e,t){t=""+t,e.data!==t&&(e.data=t)}function _t(e,t,r){e.classList.toggle(t,!!r)}function oi(e){const t={};return e.childNodes.forEach(r=>{t[r.slot||"default"]=!0}),t}let Je;function qe(e){Je=e}function si(){if(!Je)throw new Error("Function called outside component initialization");return Je}function ai(e){si().$$.on_mount.push(e)}const Be=[],Rt=[];let $e=[];const pr=[],ui=Promise.resolve();let Ut=!1;function li(){Ut||(Ut=!0,ui.then(I))}function kt(e){$e.push(e)}const Ot=new Set;let Le=0;function I(){if(Le!==0)return;const e=Je;do{try{for(;Le<Be.length;){const t=Be[Le];Le++,qe(t),hi(t.$$)}}catch(t){throw Be.length=0,Le=0,t}for(qe(null),Be.length=0,Le=0;Rt.length;)Rt.pop()();for(let t=0;t<$e.length;t+=1){const r=$e[t];Ot.has(r)||(Ot.add(r),r())}$e.length=0}while(Be.length);for(;pr.length;)pr.pop()();Ut=!1,Ot.clear(),qe(e)}function hi(e){if(e.fragment!==null){e.update(),He(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(kt)}}function ci(e){const t=[],r=[];$e.forEach(n=>e.indexOf(n)===-1?t.push(n):r.push(n)),r.forEach(n=>n()),$e=t}const dt=new Set;let Te;function nr(){Te={r:0,c:[],p:Te}}function ir(){Te.r||He(Te.c),Te=Te.p}function ve(e,t){e&&e.i&&(dt.delete(e),e.i(t))}function Pe(e,t,r,n){if(e&&e.o){if(dt.has(e))return;dt.add(e),Te.c.push(()=>{dt.delete(e),n&&(r&&e.d(1),n())}),e.o(t)}else n&&n()}function gr(e){return(e==null?void 0:e.length)!==void 0?e:Array.from(e)}function fi(e){e&&e.c()}function rn(e,t,r){const{fragment:n,after_update:i}=e.$$;n&&n.m(t,r),kt(()=>{const o=e.$$.on_mount.map(Qr).filter(tr);e.$$.on_destroy?e.$$.on_destroy.push(...o):He(o),e.$$.on_mount=[]}),i.forEach(kt)}function nn(e,t){const r=e.$$;r.fragment!==null&&(ci(r.after_update),He(r.on_destroy),r.fragment&&r.fragment.d(t),r.on_destroy=r.fragment=null,r.ctx=[])}function di(e,t){e.$$.dirty[0]===-1&&(Be.push(e),li(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function on(e,t,r,n,i,o,s=null,a=[-1]){const u=Je;qe(e);const l=e.$$={fragment:null,ctx:[],props:o,update:ue,not_equal:i,bound:fr(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(u?u.$$.context:[])),callbacks:fr(),dirty:a,skip_bound:!1,root:t.target||u.$$.root};s&&s(l.root);let h=!1;if(l.ctx=r?r(e,t.props||{},(c,b,...y)=>{const x=y.length?y[0]:b;return l.ctx&&i(l.ctx[c],l.ctx[c]=x)&&(!l.skip_bound&&l.bound[c]&&l.bound[c](x),h&&di(e,c)),b}):[],l.update(),h=!0,He(l.before_update),l.fragment=n?n(l.ctx):!1,t.target){if(t.hydrate){const c=ii(t.target);l.fragment&&l.fragment.l(c),c.forEach(ee)}else l.fragment&&l.fragment.c();t.intro&&ve(e.$$.fragment),rn(e,t.target,t.anchor),I()}qe(u)}let sn;typeof HTMLElement=="function"&&(sn=class extends HTMLElement{constructor(t,r,n){super();de(this,"$$ctor");de(this,"$$s");de(this,"$$c");de(this,"$$cn",!1);de(this,"$$d",{});de(this,"$$r",!1);de(this,"$$p_d",{});de(this,"$$l",{});de(this,"$$l_u",new Map);this.$$ctor=t,this.$$s=r,n&&this.attachShadow({mode:"open"})}addEventListener(t,r,n){if(this.$$l[t]=this.$$l[t]||[],this.$$l[t].push(r),this.$$c){const i=this.$$c.$on(t,r);this.$$l_u.set(r,i)}super.addEventListener(t,r,n)}removeEventListener(t,r,n){if(super.removeEventListener(t,r,n),this.$$c){const i=this.$$l_u.get(r);i&&(i(),this.$$l_u.delete(r))}}connectedCallback(){return cr(this,null,function*(){if(this.$$cn=!0,!this.$$c){let t=function(o){return()=>{let s;return{c:function(){s=C("slot"),o!=="default"&&A(s,"name",o)},m:function(l,h){ie(l,s,h)},d:function(l){l&&ee(s)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const r={},n=oi(this);for(const o of this.$$s)o in n&&(r[o]=[t(o)]);for(const o of this.attributes){const s=this.$$g_p(o.name);s in this.$$d||(this.$$d[s]=mt(s,o.value,this.$$p_d,"toProp"))}for(const o in this.$$p_d)!(o in this.$$d)&&this[o]!==void 0&&(this.$$d[o]=this[o],delete this[o]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:ut(Oe({},this.$$d),{$$slots:r,$$scope:{ctx:[]}})});const i=()=>{this.$$r=!0;for(const o in this.$$p_d)if(this.$$d[o]=this.$$c.$$.ctx[this.$$c.$$.props[o]],this.$$p_d[o].reflect){const s=mt(o,this.$$d[o],this.$$p_d,"toAttribute");s==null?this.removeAttribute(this.$$p_d[o].attribute||o):this.setAttribute(this.$$p_d[o].attribute||o,s)}this.$$r=!1};this.$$c.$$.after_update.push(i),i();for(const o in this.$$l)for(const s of this.$$l[o]){const a=this.$$c.$on(o,s);this.$$l_u.set(s,a)}this.$$l={}}})}attributeChangedCallback(t,r,n){var i;this.$$r||(t=this.$$g_p(t),this.$$d[t]=mt(t,n,this.$$p_d,"toProp"),(i=this.$$c)==null||i.$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(r=>this.$$p_d[r].attribute===t||!this.$$p_d[r].attribute&&r.toLowerCase()===t)||t}});function mt(e,t,r,n){var o;const i=(o=r[e])==null?void 0:o.type;if(t=i==="Boolean"&&typeof t!="boolean"?t!=null:t,!n||!r[e])return t;if(n==="toAttribute")switch(i){case"Object":case"Array":return t==null?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return t==null?null:t;default:return t}else switch(i){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function an(e,t,r,n,i,o){let s=class extends sn{constructor(){super(e,r,i),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=mt(a,u,t),this.$$d[a]=u,(l=this.$$c)==null||l.$set({[a]:u})}})}),n.forEach(a=>{Object.defineProperty(s.prototype,a,{get(){var u;return(u=this.$$c)==null?void 0:u[a]}})}),e.element=s,s}class un{constructor(){de(this,"$$");de(this,"$$set")}$destroy(){nn(this,1),this.$destroy=ue}$on(t,r){if(!tr(r))return ue;const n=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return n.push(r),()=>{const i=n.indexOf(r);i!==-1&&n.splice(i,1)}}$set(t){this.$$set&&!ei(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const mi="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(mi);const pi=(e,t={})=>{const r=new CustomEvent("track-custom-event",{detail:{type:e,data:t},bubbles:!0,composed:!0});document.dispatchEvent(r)},Ce=[];function gi(e,t){return{subscribe:et(e,t).subscribe}}function et(e,t=ue){let r;const n=new Set;function i(a){if(rr(e,a)&&(e=a,r)){const u=!Ce.length;for(const l of n)l[1](),Ce.push(l,e);if(u){for(let l=0;l<Ce.length;l+=2)Ce[l][0](Ce[l+1]);Ce.length=0}}}function o(a){i(a(e))}function s(a,u=ue){const l=[a,u];return n.add(l),n.size===1&&(r=t(i,o)||ue),a(e),()=>{n.delete(l),n.size===0&&r&&(r(),r=null)}}return{set:i,update:o,subscribe:s}}function ke(e,t,r){const n=!Array.isArray(e),i=n?[e]:e;if(!i.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const o=t.length<2;return gi(r,(s,a)=>{let u=!1;const l=[];let h=0,c=ue;const b=()=>{if(h)return;c();const x=t(n?l[0]:l,s,a);o?s(x):c=tr(x)?x:ue},y=i.map((x,d)=>Kr(x,P=>{l[d]=P,h&=~(1<<d),u&&b()},()=>{h|=1<<d}));return u=!0,b(),function(){He(y),c(),u=!1}})}var ln=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function or(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var bi=function(t){return yi(t)&&!vi(t)};function yi(e){return!!e&&typeof e=="object"}function vi(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||wi(e)}var _i=typeof Symbol=="function"&&Symbol.for,Ei=_i?Symbol.for("react.element"):60103;function wi(e){return e.$$typeof===Ei}function xi(e){return Array.isArray(e)?[]:{}}function Qe(e,t){return t.clone!==!1&&t.isMergeableObject(e)?Ie(xi(e),e,t):e}function Si(e,t,r){return e.concat(t).map(function(n){return Qe(n,r)})}function Mi(e,t){if(!t.customMerge)return Ie;var r=t.customMerge(e);return typeof r=="function"?r:Ie}function Ti(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}function br(e){return Object.keys(e).concat(Ti(e))}function hn(e,t){try{return t in e}catch(r){return!1}}function Pi(e,t){return hn(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function Hi(e,t,r){var n={};return r.isMergeableObject(e)&&br(e).forEach(function(i){n[i]=Qe(e[i],r)}),br(t).forEach(function(i){Pi(e,i)||(hn(e,i)&&r.isMergeableObject(t[i])?n[i]=Mi(i,r)(e[i],t[i],r):n[i]=Qe(t[i],r))}),n}function Ie(e,t,r){r=r||{},r.arrayMerge=r.arrayMerge||Si,r.isMergeableObject=r.isMergeableObject||bi,r.cloneUnlessOtherwiseSpecified=Qe;var n=Array.isArray(t),i=Array.isArray(e),o=n===i;return o?n?r.arrayMerge(e,t,r):Hi(e,t,r):Qe(t,r)}Ie.all=function(t,r){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(n,i){return Ie(n,i,r)},{})};var Ai=Ie,Oi=Ai;const Li=or(Oi);var Ft=function(e,t){return Ft=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(r[i]=n[i])},Ft(e,t)};function Mt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");Ft(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var ye=function(){return ye=Object.assign||function(t){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(t[o]=r[o])}return t},ye.apply(this,arguments)};function Ci(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r}function Lt(e,t,r){if(r||arguments.length===2)for(var n=0,i=t.length,o;n<i;n++)(o||!(n in t))&&(o||(o=Array.prototype.slice.call(t,0,n)),o[n]=t[n]);return e.concat(o||Array.prototype.slice.call(t))}function Ct(e,t){var r=t&&t.cache?t.cache:Ui,n=t&&t.serializer?t.serializer:Di,i=t&&t.strategy?t.strategy:$i;return i(e,{cache:r,serializer:n})}function Bi(e){return e==null||typeof e=="number"||typeof e=="boolean"}function Ni(e,t,r,n){var i=Bi(n)?n:r(n),o=t.get(i);return typeof o=="undefined"&&(o=e.call(this,n),t.set(i,o)),o}function cn(e,t,r){var n=Array.prototype.slice.call(arguments,3),i=r(n),o=t.get(i);return typeof o=="undefined"&&(o=e.apply(this,n),t.set(i,o)),o}function fn(e,t,r,n,i){return r.bind(t,e,n,i)}function $i(e,t){var r=e.length===1?Ni:cn;return fn(e,this,r,t.cache.create(),t.serializer)}function Ii(e,t){return fn(e,this,cn,t.cache.create(),t.serializer)}var Di=function(){return JSON.stringify(arguments)},Ri=function(){function e(){this.cache=Object.create(null)}return e.prototype.get=function(t){return this.cache[t]},e.prototype.set=function(t,r){this.cache[t]=r},e}(),Ui={create:function(){return new Ri}},Bt={variadic:Ii},Et=function(){return Et=Object.assign||function(t){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(t[o]=r[o])}return t},Et.apply(this,arguments)};var T;(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"})(T||(T={}));var k;(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"})(k||(k={}));var De;(function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"})(De||(De={}));function yr(e){return e.type===k.literal}function ki(e){return e.type===k.argument}function dn(e){return e.type===k.number}function mn(e){return e.type===k.date}function pn(e){return e.type===k.time}function gn(e){return e.type===k.select}function bn(e){return e.type===k.plural}function Fi(e){return e.type===k.pound}function yn(e){return e.type===k.tag}function vn(e){return!!(e&&typeof e=="object"&&e.type===De.number)}function jt(e){return!!(e&&typeof e=="object"&&e.type===De.dateTime)}var _n=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,ji=/(?:[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 Gi(e){var t={};return e.replace(ji,function(r){var n=r.length;switch(r[0]){case"G":t.era=n===4?"long":n===5?"narrow":"short";break;case"y":t.year=n===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"][n-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][n-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=n===4?"long":n===5?"narrow":"short";break;case"e":if(n<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-4];break;case"c":if(n<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-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"][n-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][n-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][n-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][n-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"][n-1];break;case"s":t.second=["numeric","2-digit"][n-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=n<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 V=function(){return V=Object.assign||function(t){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(t[o]=r[o])}return t},V.apply(this,arguments)};var zi=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function Vi(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");for(var t=e.split(zi).filter(function(b){return b.length>0}),r=[],n=0,i=t;n<i.length;n++){var o=i[n],s=o.split("/");if(s.length===0)throw new Error("Invalid number skeleton");for(var a=s[0],u=s.slice(1),l=0,h=u;l<h.length;l++){var c=h[l];if(c.length===0)throw new Error("Invalid number skeleton")}r.push({stem:a,options:u})}return r}function Wi(e){return e.replace(/^(.*?)-/,"")}var vr=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,En=/^(@+)?(\+|#+)?[rs]?$/g,Xi=/(\*)(0+)|(#+)(0+)|(0+)/g,wn=/^(0+)$/;function _r(e){var t={};return e[e.length-1]==="r"?t.roundingPriority="morePrecision":e[e.length-1]==="s"&&(t.roundingPriority="lessPrecision"),e.replace(En,function(r,n,i){return typeof i!="string"?(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length):i==="+"?t.minimumSignificantDigits=n.length:n[0]==="#"?t.maximumSignificantDigits=n.length:(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length+(typeof i=="string"?i.length:0)),""}),t}function xn(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 Yi(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 r=e.slice(0,2);if(r==="+!"?(t.signDisplay="always",e=e.slice(2)):r==="+?"&&(t.signDisplay="exceptZero",e=e.slice(2)),!wn.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function Er(e){var t={},r=xn(e);return r||t}function Zi(e){for(var t={},r=0,n=e;r<n.length;r++){var i=n[r];switch(i.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=i.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=Wi(i.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=V(V(V({},t),{notation:"scientific"}),i.options.reduce(function(u,l){return V(V({},u),Er(l))},{}));continue;case"engineering":t=V(V(V({},t),{notation:"engineering"}),i.options.reduce(function(u,l){return V(V({},u),Er(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(i.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(i.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace(Xi,function(u,l,h,c,b,y){if(l)t.minimumIntegerDigits=h.length;else{if(c&&b)throw new Error("We currently do not support maximum integer digits");if(y)throw new Error("We currently do not support exact integer digits")}return""});continue}if(wn.test(i.stem)){t.minimumIntegerDigits=i.stem.length;continue}if(vr.test(i.stem)){if(i.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(vr,function(u,l,h,c,b,y){return h==="*"?t.minimumFractionDigits=l.length:c&&c[0]==="#"?t.maximumFractionDigits=c.length:b&&y?(t.minimumFractionDigits=b.length,t.maximumFractionDigits=b.length+y.length):(t.minimumFractionDigits=l.length,t.maximumFractionDigits=l.length),""});var o=i.options[0];o==="w"?t=V(V({},t),{trailingZeroDisplay:"stripIfInteger"}):o&&(t=V(V({},t),_r(o)));continue}if(En.test(i.stem)){t=V(V({},t),_r(i.stem));continue}var s=xn(i.stem);s&&(t=V(V({},t),s));var a=Yi(i.stem);a&&(t=V(V({},t),a))}return t}var ht={"001":["H","h"],419:["h","H","hB","hb"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["h","H","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["h","H","hB","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["h","H","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["h","H","hB","hb"],CU:["h","H","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["h","H","hB","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["h","H","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["h","H","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["h","H","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["h","H","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["h","H","hB","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["h","H","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["h","H","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["h","H","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"en-HK":["h","hb","H","hB"],"en-IL":["H","h","hb","hB"],"en-MY":["h","hb","H","hB"],"es-BR":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]};function qi(e,t){for(var r="",n=0;n<e.length;n++){var i=e.charAt(n);if(i==="j"){for(var o=0;n+1<e.length&&e.charAt(n+1)===i;)o++,n++;var s=1+(o&1),a=o<2?1:3+(o>>1),u="a",l=Ji(t);for((l=="H"||l=="k")&&(a=0);a-- >0;)r+=u;for(;s-- >0;)r=l+r}else i==="J"?r+="H":r+=i}return r}function Ji(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 r=e.language,n;r!=="root"&&(n=e.maximize().region);var i=ht[n||""]||ht[r||""]||ht["".concat(r,"-001")]||ht["001"];return i[0]}var Nt,Qi=new RegExp("^".concat(_n.source,"*")),Ki=new RegExp("".concat(_n.source,"*$"));function H(e,t){return{start:e,end:t}}var eo=!!String.prototype.startsWith&&"_a".startsWith("a",1),to=!!String.fromCodePoint,ro=!!Object.fromEntries,no=!!String.prototype.codePointAt,io=!!String.prototype.trimStart,oo=!!String.prototype.trimEnd,so=!!Number.isSafeInteger,ao=so?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Gt=!0;try{var uo=Mn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Gt=((Nt=uo.exec("a"))===null||Nt===void 0?void 0:Nt[0])==="a"}catch(e){Gt=!1}var wr=eo?function(t,r,n){return t.startsWith(r,n)}:function(t,r,n){return t.slice(n,n+r.length)===r},zt=to?String.fromCodePoint:function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];for(var n="",i=t.length,o=0,s;i>o;){if(s=t[o++],s>1114111)throw RangeError(s+" is not a valid code point");n+=s<65536?String.fromCharCode(s):String.fromCharCode(((s-=65536)>>10)+55296,s%1024+56320)}return n},xr=ro?Object.fromEntries:function(t){for(var r={},n=0,i=t;n<i.length;n++){var o=i[n],s=o[0],a=o[1];r[s]=a}return r},Sn=no?function(t,r){return t.codePointAt(r)}:function(t,r){var n=t.length;if(!(r<0||r>=n)){var i=t.charCodeAt(r),o;return i<55296||i>56319||r+1===n||(o=t.charCodeAt(r+1))<56320||o>57343?i:(i-55296<<10)+(o-56320)+65536}},lo=io?function(t){return t.trimStart()}:function(t){return t.replace(Qi,"")},ho=oo?function(t){return t.trimEnd()}:function(t){return t.replace(Ki,"")};function Mn(e,t){return new RegExp(e,t)}var Vt;if(Gt){var Sr=Mn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Vt=function(t,r){var n;Sr.lastIndex=r;var i=Sr.exec(t);return(n=i[1])!==null&&n!==void 0?n:""}}else Vt=function(t,r){for(var n=[];;){var i=Sn(t,r);if(i===void 0||Tn(i)||po(i))break;n.push(i),r+=i>=65536?2:1}return zt.apply(void 0,n)};var co=function(){function e(t,r){r===void 0&&(r={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!r.ignoreTag,this.locale=r.locale,this.requiresOtherClause=!!r.requiresOtherClause,this.shouldParseSkeletons=!!r.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,r,n){for(var i=[];!this.isEOF();){var o=this.char();if(o===123){var s=this.parseArgument(t,n);if(s.err)return s;i.push(s.val)}else{if(o===125&&t>0)break;if(o===35&&(r==="plural"||r==="selectordinal")){var a=this.clonePosition();this.bump(),i.push({type:k.pound,location:H(a,this.clonePosition())})}else if(o===60&&!this.ignoreTag&&this.peek()===47){if(n)break;return this.error(T.UNMATCHED_CLOSING_TAG,H(this.clonePosition(),this.clonePosition()))}else if(o===60&&!this.ignoreTag&&Wt(this.peek()||0)){var s=this.parseTag(t,r);if(s.err)return s;i.push(s.val)}else{var s=this.parseLiteral(t,r);if(s.err)return s;i.push(s.val)}}}return{val:i,err:null}},e.prototype.parseTag=function(t,r){var n=this.clonePosition();this.bump();var i=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:k.literal,value:"<".concat(i,"/>"),location:H(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var o=this.parseMessage(t+1,r,!0);if(o.err)return o;var s=o.val,a=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!Wt(this.char()))return this.error(T.INVALID_TAG,H(a,this.clonePosition()));var u=this.clonePosition(),l=this.parseTagName();return i!==l?this.error(T.UNMATCHED_CLOSING_TAG,H(u,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:k.tag,value:i,children:s,location:H(n,this.clonePosition())},err:null}:this.error(T.INVALID_TAG,H(a,this.clonePosition())))}else return this.error(T.UNCLOSED_TAG,H(n,this.clonePosition()))}else return this.error(T.INVALID_TAG,H(n,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&mo(this.char());)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(t,r){for(var n=this.clonePosition(),i="";;){var o=this.tryParseQuote(r);if(o){i+=o;continue}var s=this.tryParseUnquoted(t,r);if(s){i+=s;continue}var a=this.tryParseLeftAngleBracket();if(a){i+=a;continue}break}var u=H(n,this.clonePosition());return{val:{type:k.literal,value:i,location:u},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!fo(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 r=[this.char()];for(this.bump();!this.isEOF();){var n=this.char();if(n===39)if(this.peek()===39)r.push(39),this.bump();else{this.bump();break}else r.push(n);this.bump()}return zt.apply(void 0,r)},e.prototype.tryParseUnquoted=function(t,r){if(this.isEOF())return null;var n=this.char();return n===60||n===123||n===35&&(r==="plural"||r==="selectordinal")||n===125&&t>0?null:(this.bump(),zt(n))},e.prototype.parseArgument=function(t,r){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(T.EXPECT_ARGUMENT_CLOSING_BRACE,H(n,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(T.EMPTY_ARGUMENT,H(n,this.clonePosition()));var i=this.parseIdentifierIfPossible().value;if(!i)return this.error(T.MALFORMED_ARGUMENT,H(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(T.EXPECT_ARGUMENT_CLOSING_BRACE,H(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:k.argument,value:i,location:H(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(T.EXPECT_ARGUMENT_CLOSING_BRACE,H(n,this.clonePosition())):this.parseArgumentOptions(t,r,i,n);default:return this.error(T.MALFORMED_ARGUMENT,H(n,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),r=this.offset(),n=Vt(this.message,r),i=r+n.length;this.bumpTo(i);var o=this.clonePosition(),s=H(t,o);return{value:n,location:s}},e.prototype.parseArgumentOptions=function(t,r,n,i){var o,s=this.clonePosition(),a=this.parseIdentifierIfPossible().value,u=this.clonePosition();switch(a){case"":return this.error(T.EXPECT_ARGUMENT_TYPE,H(s,u));case"number":case"date":case"time":{this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var h=this.clonePosition(),c=this.parseSimpleArgStyleIfPossible();if(c.err)return c;var b=ho(c.val);if(b.length===0)return this.error(T.EXPECT_ARGUMENT_STYLE,H(this.clonePosition(),this.clonePosition()));var y=H(h,this.clonePosition());l={style:b,styleLocation:y}}var x=this.tryParseArgumentClose(i);if(x.err)return x;var d=H(i,this.clonePosition());if(l&&wr(l==null?void 0:l.style,"::",0)){var P=lo(l.style.slice(2));if(a==="number"){var c=this.parseNumberSkeletonFromString(P,l.styleLocation);return c.err?c:{val:{type:k.number,value:n,location:d,style:c.val},err:null}}else{if(P.length===0)return this.error(T.EXPECT_DATE_TIME_SKELETON,d);var F=P;this.locale&&(F=qi(P,this.locale));var b={type:De.dateTime,pattern:F,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?Gi(F):{}},j=a==="date"?k.date:k.time;return{val:{type:j,value:n,location:d,style:b},err:null}}}return{val:{type:a==="number"?k.number:a==="date"?k.date:k.time,value:n,location:d,style:(o=l==null?void 0:l.style)!==null&&o!==void 0?o:null},err:null}}case"plural":case"selectordinal":case"select":{var O=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(T.EXPECT_SELECT_ARGUMENT_OPTIONS,H(O,Et({},O)));this.bumpSpace();var X=this.parseIdentifierIfPossible(),$=0;if(a!=="select"&&X.value==="offset"){if(!this.bumpIf(":"))return this.error(T.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,H(this.clonePosition(),this.clonePosition()));this.bumpSpace();var c=this.tryParseDecimalInteger(T.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,T.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(c.err)return c;this.bumpSpace(),X=this.parseIdentifierIfPossible(),$=c.val}var G=this.tryParsePluralOrSelectOptions(t,a,r,X);if(G.err)return G;var x=this.tryParseArgumentClose(i);if(x.err)return x;var Y=H(i,this.clonePosition());return a==="select"?{val:{type:k.select,value:n,options:xr(G.val),location:Y},err:null}:{val:{type:k.plural,value:n,options:xr(G.val),offset:$,pluralType:a==="plural"?"cardinal":"ordinal",location:Y},err:null}}default:return this.error(T.INVALID_ARGUMENT_TYPE,H(s,u))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(T.EXPECT_ARGUMENT_CLOSING_BRACE,H(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,r=this.clonePosition();!this.isEOF();){var n=this.char();switch(n){case 39:{this.bump();var i=this.clonePosition();if(!this.bumpUntil("'"))return this.error(T.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,H(i,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(r.offset,this.offset()),err:null};break}default:this.bump();break}}return{val:this.message.slice(r.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(t,r){var n=[];try{n=Vi(t)}catch(i){return this.error(T.INVALID_NUMBER_SKELETON,r)}return{val:{type:De.number,tokens:n,location:r,parsedOptions:this.shouldParseSkeletons?Zi(n):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(t,r,n,i){for(var o,s=!1,a=[],u=new Set,l=i.value,h=i.location;;){if(l.length===0){var c=this.clonePosition();if(r!=="select"&&this.bumpIf("=")){var b=this.tryParseDecimalInteger(T.EXPECT_PLURAL_ARGUMENT_SELECTOR,T.INVALID_PLURAL_ARGUMENT_SELECTOR);if(b.err)return b;h=H(c,this.clonePosition()),l=this.message.slice(c.offset,this.offset())}else break}if(u.has(l))return this.error(r==="select"?T.DUPLICATE_SELECT_ARGUMENT_SELECTOR:T.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,h);l==="other"&&(s=!0),this.bumpSpace();var y=this.clonePosition();if(!this.bumpIf("{"))return this.error(r==="select"?T.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:T.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,H(this.clonePosition(),this.clonePosition()));var x=this.parseMessage(t+1,r,n);if(x.err)return x;var d=this.tryParseArgumentClose(y);if(d.err)return d;a.push([l,{value:x.val,location:H(y,this.clonePosition())}]),u.add(l),this.bumpSpace(),o=this.parseIdentifierIfPossible(),l=o.value,h=o.location}return a.length===0?this.error(r==="select"?T.EXPECT_SELECT_ARGUMENT_SELECTOR:T.EXPECT_PLURAL_ARGUMENT_SELECTOR,H(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!s?this.error(T.MISSING_OTHER_CLAUSE,H(this.clonePosition(),this.clonePosition())):{val:a,err:null}},e.prototype.tryParseDecimalInteger=function(t,r){var n=1,i=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-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=H(i,this.clonePosition());return o?(s*=n,ao(s)?{val:s,err:null}:this.error(r,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 r=Sn(this.message,t);if(r===void 0)throw Error("Offset ".concat(t," is at invalid UTF-16 code unit boundary"));return r},e.prototype.error=function(t,r){return{val:null,err:{kind:t,message:this.message,location:r}}},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(wr(this.message,t,this.offset())){for(var r=0;r<t.length;r++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(t){var r=this.offset(),n=this.message.indexOf(t,r);return n>=0?(this.bumpTo(n),!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 r=this.offset();if(r===t)break;if(r>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()&&Tn(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),r=this.offset(),n=this.message.charCodeAt(r+(t>=65536?2:1));return n!=null?n:null},e}();function Wt(e){return e>=97&&e<=122||e>=65&&e<=90}function fo(e){return Wt(e)||e===47}function mo(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 Tn(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function po(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 Xt(e){e.forEach(function(t){if(delete t.location,gn(t)||bn(t))for(var r in t.options)delete t.options[r].location,Xt(t.options[r].value);else dn(t)&&vn(t.style)||(mn(t)||pn(t))&&jt(t.style)?delete t.style.location:yn(t)&&Xt(t.children)})}function go(e,t){t===void 0&&(t={}),t=Et({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var r=new co(e,t).parse();if(r.err){var n=SyntaxError(T[r.err.kind]);throw n.location=r.err.location,n.originalMessage=r.err.message,n}return t!=null&&t.captureLocation||Xt(r.val),r.val}var Re;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(Re||(Re={}));var Tt=function(e){Mt(t,e);function t(r,n,i){var o=e.call(this,r)||this;return o.code=n,o.originalMessage=i,o}return t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),Mr=function(e){Mt(t,e);function t(r,n,i,o){return e.call(this,'Invalid values for "'.concat(r,'": "').concat(n,'". Options are "').concat(Object.keys(i).join('", "'),'"'),Re.INVALID_VALUE,o)||this}return t}(Tt),bo=function(e){Mt(t,e);function t(r,n,i){return e.call(this,'Value for "'.concat(r,'" must be of type ').concat(n),Re.INVALID_VALUE,i)||this}return t}(Tt),yo=function(e){Mt(t,e);function t(r,n){return e.call(this,'The intl string context variable "'.concat(r,'" was not provided to the string "').concat(n,'"'),Re.MISSING_VALUE,n)||this}return t}(Tt),re;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(re||(re={}));function vo(e){return e.length<2?e:e.reduce(function(t,r){var n=t[t.length-1];return!n||n.type!==re.literal||r.type!==re.literal?t.push(r):n.value+=r.value,t},[])}function _o(e){return typeof e=="function"}function pt(e,t,r,n,i,o,s){if(e.length===1&&yr(e[0]))return[{type:re.literal,value:e[0].value}];for(var a=[],u=0,l=e;u<l.length;u++){var h=l[u];if(yr(h)){a.push({type:re.literal,value:h.value});continue}if(Fi(h)){typeof o=="number"&&a.push({type:re.literal,value:r.getNumberFormat(t).format(o)});continue}var c=h.value;if(!(i&&c in i))throw new yo(c,s);var b=i[c];if(ki(h)){(!b||typeof b=="string"||typeof b=="number")&&(b=typeof b=="string"||typeof b=="number"?String(b):""),a.push({type:typeof b=="string"?re.literal:re.object,value:b});continue}if(mn(h)){var y=typeof h.style=="string"?n.date[h.style]:jt(h.style)?h.style.parsedOptions:void 0;a.push({type:re.literal,value:r.getDateTimeFormat(t,y).format(b)});continue}if(pn(h)){var y=typeof h.style=="string"?n.time[h.style]:jt(h.style)?h.style.parsedOptions:n.time.medium;a.push({type:re.literal,value:r.getDateTimeFormat(t,y).format(b)});continue}if(dn(h)){var y=typeof h.style=="string"?n.number[h.style]:vn(h.style)?h.style.parsedOptions:void 0;y&&y.scale&&(b=b*(y.scale||1)),a.push({type:re.literal,value:r.getNumberFormat(t,y).format(b)});continue}if(yn(h)){var x=h.children,d=h.value,P=i[d];if(!_o(P))throw new bo(d,"function",s);var F=pt(x,t,r,n,i,o),j=P(F.map(function($){return $.value}));Array.isArray(j)||(j=[j]),a.push.apply(a,j.map(function($){return{type:typeof $=="string"?re.literal:re.object,value:$}}))}if(gn(h)){var O=h.options[b]||h.options.other;if(!O)throw new Mr(h.value,b,Object.keys(h.options),s);a.push.apply(a,pt(O.value,t,r,n,i));continue}if(bn(h)){var O=h.options["=".concat(b)];if(!O){if(!Intl.PluralRules)throw new Tt(`Intl.PluralRules is not available in this environment.
|
|
1
|
+
"use strict";var Zn=Object.defineProperty,qn=Object.defineProperties;var Jn=Object.getOwnPropertyDescriptors;var hr=Object.getOwnPropertySymbols;var Qn=Object.prototype.hasOwnProperty,Kn=Object.prototype.propertyIsEnumerable;var At=(e,t,r)=>t in e?Zn(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Oe=(e,t)=>{for(var r in t||(t={}))Qn.call(t,r)&&At(e,r,t[r]);if(hr)for(var r of hr(t))Kn.call(t,r)&&At(e,r,t[r]);return e},ut=(e,t)=>qn(e,Jn(t));var de=(e,t,r)=>At(e,typeof t!="symbol"?t+"":t,r);var cr=(e,t,r)=>new Promise((n,i)=>{var o=u=>{try{a(r.next(u))}catch(l){i(l)}},s=u=>{try{a(r.throw(u))}catch(l){i(l)}},a=u=>u.done?n(u.value):Promise.resolve(u.value).then(o,s);a((r=r.apply(e,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function ue(){}function Qr(e){return e()}function fr(){return Object.create(null)}function He(e){e.forEach(Qr)}function tr(e){return typeof e=="function"}function rr(e,t){return e!=e?t==t:e!==t||e&&typeof e=="object"||typeof e=="function"}let lt;function dr(e,t){return e===t?!0:(lt||(lt=document.createElement("a")),lt.href=t,e===lt.href)}function ei(e){return Object.keys(e).length===0}function Kr(e,...t){if(e==null){for(const n of t)n(void 0);return ue}const r=e.subscribe(...t);return r.unsubscribe?()=>r.unsubscribe():r}function mr(e,t,r){e.$$.on_destroy.push(Kr(t,r))}function S(e,t){e.appendChild(t)}function en(e,t,r){const n=ti(e);if(!n.getElementById(t)){const i=C("style");i.id=t,i.textContent=r,ri(n,i)}}function ti(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function ri(e,t){return S(e.head||e,t),t.sheet}function ie(e,t,r){e.insertBefore(t,r||null)}function ee(e){e.parentNode&&e.parentNode.removeChild(e)}function ni(e,t){for(let r=0;r<e.length;r+=1)e[r]&&e[r].d(t)}function C(e){return document.createElement(e)}function K(e){return document.createTextNode(e)}function ne(){return K(" ")}function tn(){return K("")}function vt(e,t,r,n){return e.addEventListener(t,r,n),()=>e.removeEventListener(t,r,n)}function A(e,t,r){r==null?e.removeAttribute(t):e.getAttribute(t)!==r&&e.setAttribute(t,r)}function ae(e,t,r){const n=t.toLowerCase();n in e?e[n]=typeof e[n]=="boolean"&&r===""?!0:r:t in e?e[t]=typeof e[t]=="boolean"&&r===""?!0:r:A(e,t,r)}function ii(e){return Array.from(e.childNodes)}function se(e,t){t=""+t,e.data!==t&&(e.data=t)}function _t(e,t,r){e.classList.toggle(t,!!r)}function oi(e){const t={};return e.childNodes.forEach(r=>{t[r.slot||"default"]=!0}),t}let Je;function qe(e){Je=e}function si(){if(!Je)throw new Error("Function called outside component initialization");return Je}function ai(e){si().$$.on_mount.push(e)}const Be=[],Rt=[];let $e=[];const pr=[],ui=Promise.resolve();let Ut=!1;function li(){Ut||(Ut=!0,ui.then(I))}function kt(e){$e.push(e)}const Ot=new Set;let Le=0;function I(){if(Le!==0)return;const e=Je;do{try{for(;Le<Be.length;){const t=Be[Le];Le++,qe(t),hi(t.$$)}}catch(t){throw Be.length=0,Le=0,t}for(qe(null),Be.length=0,Le=0;Rt.length;)Rt.pop()();for(let t=0;t<$e.length;t+=1){const r=$e[t];Ot.has(r)||(Ot.add(r),r())}$e.length=0}while(Be.length);for(;pr.length;)pr.pop()();Ut=!1,Ot.clear(),qe(e)}function hi(e){if(e.fragment!==null){e.update(),He(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(kt)}}function ci(e){const t=[],r=[];$e.forEach(n=>e.indexOf(n)===-1?t.push(n):r.push(n)),r.forEach(n=>n()),$e=t}const dt=new Set;let Te;function nr(){Te={r:0,c:[],p:Te}}function ir(){Te.r||He(Te.c),Te=Te.p}function ve(e,t){e&&e.i&&(dt.delete(e),e.i(t))}function Pe(e,t,r,n){if(e&&e.o){if(dt.has(e))return;dt.add(e),Te.c.push(()=>{dt.delete(e),n&&(r&&e.d(1),n())}),e.o(t)}else n&&n()}function gr(e){return(e==null?void 0:e.length)!==void 0?e:Array.from(e)}function fi(e){e&&e.c()}function rn(e,t,r){const{fragment:n,after_update:i}=e.$$;n&&n.m(t,r),kt(()=>{const o=e.$$.on_mount.map(Qr).filter(tr);e.$$.on_destroy?e.$$.on_destroy.push(...o):He(o),e.$$.on_mount=[]}),i.forEach(kt)}function nn(e,t){const r=e.$$;r.fragment!==null&&(ci(r.after_update),He(r.on_destroy),r.fragment&&r.fragment.d(t),r.on_destroy=r.fragment=null,r.ctx=[])}function di(e,t){e.$$.dirty[0]===-1&&(Be.push(e),li(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function on(e,t,r,n,i,o,s=null,a=[-1]){const u=Je;qe(e);const l=e.$$={fragment:null,ctx:[],props:o,update:ue,not_equal:i,bound:fr(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(u?u.$$.context:[])),callbacks:fr(),dirty:a,skip_bound:!1,root:t.target||u.$$.root};s&&s(l.root);let h=!1;if(l.ctx=r?r(e,t.props||{},(c,b,...y)=>{const x=y.length?y[0]:b;return l.ctx&&i(l.ctx[c],l.ctx[c]=x)&&(!l.skip_bound&&l.bound[c]&&l.bound[c](x),h&&di(e,c)),b}):[],l.update(),h=!0,He(l.before_update),l.fragment=n?n(l.ctx):!1,t.target){if(t.hydrate){const c=ii(t.target);l.fragment&&l.fragment.l(c),c.forEach(ee)}else l.fragment&&l.fragment.c();t.intro&&ve(e.$$.fragment),rn(e,t.target,t.anchor),I()}qe(u)}let sn;typeof HTMLElement=="function"&&(sn=class extends HTMLElement{constructor(t,r,n){super();de(this,"$$ctor");de(this,"$$s");de(this,"$$c");de(this,"$$cn",!1);de(this,"$$d",{});de(this,"$$r",!1);de(this,"$$p_d",{});de(this,"$$l",{});de(this,"$$l_u",new Map);this.$$ctor=t,this.$$s=r,n&&this.attachShadow({mode:"open"})}addEventListener(t,r,n){if(this.$$l[t]=this.$$l[t]||[],this.$$l[t].push(r),this.$$c){const i=this.$$c.$on(t,r);this.$$l_u.set(r,i)}super.addEventListener(t,r,n)}removeEventListener(t,r,n){if(super.removeEventListener(t,r,n),this.$$c){const i=this.$$l_u.get(r);i&&(i(),this.$$l_u.delete(r))}}connectedCallback(){return cr(this,null,function*(){if(this.$$cn=!0,!this.$$c){let t=function(o){return()=>{let s;return{c:function(){s=C("slot"),o!=="default"&&A(s,"name",o)},m:function(l,h){ie(l,s,h)},d:function(l){l&&ee(s)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const r={},n=oi(this);for(const o of this.$$s)o in n&&(r[o]=[t(o)]);for(const o of this.attributes){const s=this.$$g_p(o.name);s in this.$$d||(this.$$d[s]=mt(s,o.value,this.$$p_d,"toProp"))}for(const o in this.$$p_d)!(o in this.$$d)&&this[o]!==void 0&&(this.$$d[o]=this[o],delete this[o]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:ut(Oe({},this.$$d),{$$slots:r,$$scope:{ctx:[]}})});const i=()=>{this.$$r=!0;for(const o in this.$$p_d)if(this.$$d[o]=this.$$c.$$.ctx[this.$$c.$$.props[o]],this.$$p_d[o].reflect){const s=mt(o,this.$$d[o],this.$$p_d,"toAttribute");s==null?this.removeAttribute(this.$$p_d[o].attribute||o):this.setAttribute(this.$$p_d[o].attribute||o,s)}this.$$r=!1};this.$$c.$$.after_update.push(i),i();for(const o in this.$$l)for(const s of this.$$l[o]){const a=this.$$c.$on(o,s);this.$$l_u.set(s,a)}this.$$l={}}})}attributeChangedCallback(t,r,n){var i;this.$$r||(t=this.$$g_p(t),this.$$d[t]=mt(t,n,this.$$p_d,"toProp"),(i=this.$$c)==null||i.$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(r=>this.$$p_d[r].attribute===t||!this.$$p_d[r].attribute&&r.toLowerCase()===t)||t}});function mt(e,t,r,n){var o;const i=(o=r[e])==null?void 0:o.type;if(t=i==="Boolean"&&typeof t!="boolean"?t!=null:t,!n||!r[e])return t;if(n==="toAttribute")switch(i){case"Object":case"Array":return t==null?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return t==null?null:t;default:return t}else switch(i){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function an(e,t,r,n,i,o){let s=class extends sn{constructor(){super(e,r,i),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=mt(a,u,t),this.$$d[a]=u,(l=this.$$c)==null||l.$set({[a]:u})}})}),n.forEach(a=>{Object.defineProperty(s.prototype,a,{get(){var u;return(u=this.$$c)==null?void 0:u[a]}})}),e.element=s,s}class un{constructor(){de(this,"$$");de(this,"$$set")}$destroy(){nn(this,1),this.$destroy=ue}$on(t,r){if(!tr(r))return ue;const n=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return n.push(r),()=>{const i=n.indexOf(r);i!==-1&&n.splice(i,1)}}$set(t){this.$$set&&!ei(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const mi="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(mi);const pi=(e,t={})=>{const r=new CustomEvent("track-custom-event",{detail:{type:e,data:t},bubbles:!0,composed:!0});document.dispatchEvent(r)},Ce=[];function gi(e,t){return{subscribe:et(e,t).subscribe}}function et(e,t=ue){let r;const n=new Set;function i(a){if(rr(e,a)&&(e=a,r)){const u=!Ce.length;for(const l of n)l[1](),Ce.push(l,e);if(u){for(let l=0;l<Ce.length;l+=2)Ce[l][0](Ce[l+1]);Ce.length=0}}}function o(a){i(a(e))}function s(a,u=ue){const l=[a,u];return n.add(l),n.size===1&&(r=t(i,o)||ue),a(e),()=>{n.delete(l),n.size===0&&r&&(r(),r=null)}}return{set:i,update:o,subscribe:s}}function ke(e,t,r){const n=!Array.isArray(e),i=n?[e]:e;if(!i.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const o=t.length<2;return gi(r,(s,a)=>{let u=!1;const l=[];let h=0,c=ue;const b=()=>{if(h)return;c();const x=t(n?l[0]:l,s,a);o?s(x):c=tr(x)?x:ue},y=i.map((x,d)=>Kr(x,P=>{l[d]=P,h&=~(1<<d),u&&b()},()=>{h|=1<<d}));return u=!0,b(),function(){He(y),c(),u=!1}})}var ln=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function or(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var bi=function(t){return yi(t)&&!vi(t)};function yi(e){return!!e&&typeof e=="object"}function vi(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||wi(e)}var _i=typeof Symbol=="function"&&Symbol.for,Ei=_i?Symbol.for("react.element"):60103;function wi(e){return e.$$typeof===Ei}function xi(e){return Array.isArray(e)?[]:{}}function Qe(e,t){return t.clone!==!1&&t.isMergeableObject(e)?Ie(xi(e),e,t):e}function Si(e,t,r){return e.concat(t).map(function(n){return Qe(n,r)})}function Mi(e,t){if(!t.customMerge)return Ie;var r=t.customMerge(e);return typeof r=="function"?r:Ie}function Ti(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}function br(e){return Object.keys(e).concat(Ti(e))}function hn(e,t){try{return t in e}catch(r){return!1}}function Pi(e,t){return hn(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function Hi(e,t,r){var n={};return r.isMergeableObject(e)&&br(e).forEach(function(i){n[i]=Qe(e[i],r)}),br(t).forEach(function(i){Pi(e,i)||(hn(e,i)&&r.isMergeableObject(t[i])?n[i]=Mi(i,r)(e[i],t[i],r):n[i]=Qe(t[i],r))}),n}function Ie(e,t,r){r=r||{},r.arrayMerge=r.arrayMerge||Si,r.isMergeableObject=r.isMergeableObject||bi,r.cloneUnlessOtherwiseSpecified=Qe;var n=Array.isArray(t),i=Array.isArray(e),o=n===i;return o?n?r.arrayMerge(e,t,r):Hi(e,t,r):Qe(t,r)}Ie.all=function(t,r){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(n,i){return Ie(n,i,r)},{})};var Ai=Ie,Oi=Ai;const Li=or(Oi);var Ft=function(e,t){return Ft=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(r[i]=n[i])},Ft(e,t)};function Mt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");Ft(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var ye=function(){return ye=Object.assign||function(t){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(t[o]=r[o])}return t},ye.apply(this,arguments)};function Ci(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r}function Lt(e,t,r){if(r||arguments.length===2)for(var n=0,i=t.length,o;n<i;n++)(o||!(n in t))&&(o||(o=Array.prototype.slice.call(t,0,n)),o[n]=t[n]);return e.concat(o||Array.prototype.slice.call(t))}function Ct(e,t){var r=t&&t.cache?t.cache:Ui,n=t&&t.serializer?t.serializer:Di,i=t&&t.strategy?t.strategy:$i;return i(e,{cache:r,serializer:n})}function Bi(e){return e==null||typeof e=="number"||typeof e=="boolean"}function Ni(e,t,r,n){var i=Bi(n)?n:r(n),o=t.get(i);return typeof o=="undefined"&&(o=e.call(this,n),t.set(i,o)),o}function cn(e,t,r){var n=Array.prototype.slice.call(arguments,3),i=r(n),o=t.get(i);return typeof o=="undefined"&&(o=e.apply(this,n),t.set(i,o)),o}function fn(e,t,r,n,i){return r.bind(t,e,n,i)}function $i(e,t){var r=e.length===1?Ni:cn;return fn(e,this,r,t.cache.create(),t.serializer)}function Ii(e,t){return fn(e,this,cn,t.cache.create(),t.serializer)}var Di=function(){return JSON.stringify(arguments)},Ri=function(){function e(){this.cache=Object.create(null)}return e.prototype.get=function(t){return this.cache[t]},e.prototype.set=function(t,r){this.cache[t]=r},e}(),Ui={create:function(){return new Ri}},Bt={variadic:Ii},Et=function(){return Et=Object.assign||function(t){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(t[o]=r[o])}return t},Et.apply(this,arguments)};var T;(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"})(T||(T={}));var k;(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"})(k||(k={}));var De;(function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"})(De||(De={}));function yr(e){return e.type===k.literal}function ki(e){return e.type===k.argument}function dn(e){return e.type===k.number}function mn(e){return e.type===k.date}function pn(e){return e.type===k.time}function gn(e){return e.type===k.select}function bn(e){return e.type===k.plural}function Fi(e){return e.type===k.pound}function yn(e){return e.type===k.tag}function vn(e){return!!(e&&typeof e=="object"&&e.type===De.number)}function jt(e){return!!(e&&typeof e=="object"&&e.type===De.dateTime)}var _n=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,ji=/(?:[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 Gi(e){var t={};return e.replace(ji,function(r){var n=r.length;switch(r[0]){case"G":t.era=n===4?"long":n===5?"narrow":"short";break;case"y":t.year=n===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"][n-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][n-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=n===4?"long":n===5?"narrow":"short";break;case"e":if(n<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-4];break;case"c":if(n<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-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"][n-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][n-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][n-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][n-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"][n-1];break;case"s":t.second=["numeric","2-digit"][n-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=n<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 V=function(){return V=Object.assign||function(t){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(t[o]=r[o])}return t},V.apply(this,arguments)};var zi=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function Vi(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");for(var t=e.split(zi).filter(function(b){return b.length>0}),r=[],n=0,i=t;n<i.length;n++){var o=i[n],s=o.split("/");if(s.length===0)throw new Error("Invalid number skeleton");for(var a=s[0],u=s.slice(1),l=0,h=u;l<h.length;l++){var c=h[l];if(c.length===0)throw new Error("Invalid number skeleton")}r.push({stem:a,options:u})}return r}function Wi(e){return e.replace(/^(.*?)-/,"")}var vr=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,En=/^(@+)?(\+|#+)?[rs]?$/g,Xi=/(\*)(0+)|(#+)(0+)|(0+)/g,wn=/^(0+)$/;function _r(e){var t={};return e[e.length-1]==="r"?t.roundingPriority="morePrecision":e[e.length-1]==="s"&&(t.roundingPriority="lessPrecision"),e.replace(En,function(r,n,i){return typeof i!="string"?(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length):i==="+"?t.minimumSignificantDigits=n.length:n[0]==="#"?t.maximumSignificantDigits=n.length:(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length+(typeof i=="string"?i.length:0)),""}),t}function xn(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 Yi(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 r=e.slice(0,2);if(r==="+!"?(t.signDisplay="always",e=e.slice(2)):r==="+?"&&(t.signDisplay="exceptZero",e=e.slice(2)),!wn.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function Er(e){var t={},r=xn(e);return r||t}function Zi(e){for(var t={},r=0,n=e;r<n.length;r++){var i=n[r];switch(i.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=i.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=Wi(i.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=V(V(V({},t),{notation:"scientific"}),i.options.reduce(function(u,l){return V(V({},u),Er(l))},{}));continue;case"engineering":t=V(V(V({},t),{notation:"engineering"}),i.options.reduce(function(u,l){return V(V({},u),Er(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(i.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(i.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace(Xi,function(u,l,h,c,b,y){if(l)t.minimumIntegerDigits=h.length;else{if(c&&b)throw new Error("We currently do not support maximum integer digits");if(y)throw new Error("We currently do not support exact integer digits")}return""});continue}if(wn.test(i.stem)){t.minimumIntegerDigits=i.stem.length;continue}if(vr.test(i.stem)){if(i.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(vr,function(u,l,h,c,b,y){return h==="*"?t.minimumFractionDigits=l.length:c&&c[0]==="#"?t.maximumFractionDigits=c.length:b&&y?(t.minimumFractionDigits=b.length,t.maximumFractionDigits=b.length+y.length):(t.minimumFractionDigits=l.length,t.maximumFractionDigits=l.length),""});var o=i.options[0];o==="w"?t=V(V({},t),{trailingZeroDisplay:"stripIfInteger"}):o&&(t=V(V({},t),_r(o)));continue}if(En.test(i.stem)){t=V(V({},t),_r(i.stem));continue}var s=xn(i.stem);s&&(t=V(V({},t),s));var a=Yi(i.stem);a&&(t=V(V({},t),a))}return t}var ht={"001":["H","h"],419:["h","H","hB","hb"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["h","H","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["h","H","hB","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["h","H","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["h","H","hB","hb"],CU:["h","H","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["h","H","hB","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["h","H","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["h","H","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["h","H","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["h","H","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["h","H","hB","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["h","H","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["h","H","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["h","H","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"en-HK":["h","hb","H","hB"],"en-IL":["H","h","hb","hB"],"en-MY":["h","hb","H","hB"],"es-BR":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]};function qi(e,t){for(var r="",n=0;n<e.length;n++){var i=e.charAt(n);if(i==="j"){for(var o=0;n+1<e.length&&e.charAt(n+1)===i;)o++,n++;var s=1+(o&1),a=o<2?1:3+(o>>1),u="a",l=Ji(t);for((l=="H"||l=="k")&&(a=0);a-- >0;)r+=u;for(;s-- >0;)r=l+r}else i==="J"?r+="H":r+=i}return r}function Ji(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 r=e.language,n;r!=="root"&&(n=e.maximize().region);var i=ht[n||""]||ht[r||""]||ht["".concat(r,"-001")]||ht["001"];return i[0]}var Nt,Qi=new RegExp("^".concat(_n.source,"*")),Ki=new RegExp("".concat(_n.source,"*$"));function H(e,t){return{start:e,end:t}}var eo=!!String.prototype.startsWith&&"_a".startsWith("a",1),to=!!String.fromCodePoint,ro=!!Object.fromEntries,no=!!String.prototype.codePointAt,io=!!String.prototype.trimStart,oo=!!String.prototype.trimEnd,so=!!Number.isSafeInteger,ao=so?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Gt=!0;try{var uo=Mn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Gt=((Nt=uo.exec("a"))===null||Nt===void 0?void 0:Nt[0])==="a"}catch(e){Gt=!1}var wr=eo?function(t,r,n){return t.startsWith(r,n)}:function(t,r,n){return t.slice(n,n+r.length)===r},zt=to?String.fromCodePoint:function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];for(var n="",i=t.length,o=0,s;i>o;){if(s=t[o++],s>1114111)throw RangeError(s+" is not a valid code point");n+=s<65536?String.fromCharCode(s):String.fromCharCode(((s-=65536)>>10)+55296,s%1024+56320)}return n},xr=ro?Object.fromEntries:function(t){for(var r={},n=0,i=t;n<i.length;n++){var o=i[n],s=o[0],a=o[1];r[s]=a}return r},Sn=no?function(t,r){return t.codePointAt(r)}:function(t,r){var n=t.length;if(!(r<0||r>=n)){var i=t.charCodeAt(r),o;return i<55296||i>56319||r+1===n||(o=t.charCodeAt(r+1))<56320||o>57343?i:(i-55296<<10)+(o-56320)+65536}},lo=io?function(t){return t.trimStart()}:function(t){return t.replace(Qi,"")},ho=oo?function(t){return t.trimEnd()}:function(t){return t.replace(Ki,"")};function Mn(e,t){return new RegExp(e,t)}var Vt;if(Gt){var Sr=Mn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Vt=function(t,r){var n;Sr.lastIndex=r;var i=Sr.exec(t);return(n=i[1])!==null&&n!==void 0?n:""}}else Vt=function(t,r){for(var n=[];;){var i=Sn(t,r);if(i===void 0||Tn(i)||po(i))break;n.push(i),r+=i>=65536?2:1}return zt.apply(void 0,n)};var co=function(){function e(t,r){r===void 0&&(r={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!r.ignoreTag,this.locale=r.locale,this.requiresOtherClause=!!r.requiresOtherClause,this.shouldParseSkeletons=!!r.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,r,n){for(var i=[];!this.isEOF();){var o=this.char();if(o===123){var s=this.parseArgument(t,n);if(s.err)return s;i.push(s.val)}else{if(o===125&&t>0)break;if(o===35&&(r==="plural"||r==="selectordinal")){var a=this.clonePosition();this.bump(),i.push({type:k.pound,location:H(a,this.clonePosition())})}else if(o===60&&!this.ignoreTag&&this.peek()===47){if(n)break;return this.error(T.UNMATCHED_CLOSING_TAG,H(this.clonePosition(),this.clonePosition()))}else if(o===60&&!this.ignoreTag&&Wt(this.peek()||0)){var s=this.parseTag(t,r);if(s.err)return s;i.push(s.val)}else{var s=this.parseLiteral(t,r);if(s.err)return s;i.push(s.val)}}}return{val:i,err:null}},e.prototype.parseTag=function(t,r){var n=this.clonePosition();this.bump();var i=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:k.literal,value:"<".concat(i,"/>"),location:H(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var o=this.parseMessage(t+1,r,!0);if(o.err)return o;var s=o.val,a=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!Wt(this.char()))return this.error(T.INVALID_TAG,H(a,this.clonePosition()));var u=this.clonePosition(),l=this.parseTagName();return i!==l?this.error(T.UNMATCHED_CLOSING_TAG,H(u,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:k.tag,value:i,children:s,location:H(n,this.clonePosition())},err:null}:this.error(T.INVALID_TAG,H(a,this.clonePosition())))}else return this.error(T.UNCLOSED_TAG,H(n,this.clonePosition()))}else return this.error(T.INVALID_TAG,H(n,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&mo(this.char());)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(t,r){for(var n=this.clonePosition(),i="";;){var o=this.tryParseQuote(r);if(o){i+=o;continue}var s=this.tryParseUnquoted(t,r);if(s){i+=s;continue}var a=this.tryParseLeftAngleBracket();if(a){i+=a;continue}break}var u=H(n,this.clonePosition());return{val:{type:k.literal,value:i,location:u},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!fo(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 r=[this.char()];for(this.bump();!this.isEOF();){var n=this.char();if(n===39)if(this.peek()===39)r.push(39),this.bump();else{this.bump();break}else r.push(n);this.bump()}return zt.apply(void 0,r)},e.prototype.tryParseUnquoted=function(t,r){if(this.isEOF())return null;var n=this.char();return n===60||n===123||n===35&&(r==="plural"||r==="selectordinal")||n===125&&t>0?null:(this.bump(),zt(n))},e.prototype.parseArgument=function(t,r){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(T.EXPECT_ARGUMENT_CLOSING_BRACE,H(n,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(T.EMPTY_ARGUMENT,H(n,this.clonePosition()));var i=this.parseIdentifierIfPossible().value;if(!i)return this.error(T.MALFORMED_ARGUMENT,H(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(T.EXPECT_ARGUMENT_CLOSING_BRACE,H(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:k.argument,value:i,location:H(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(T.EXPECT_ARGUMENT_CLOSING_BRACE,H(n,this.clonePosition())):this.parseArgumentOptions(t,r,i,n);default:return this.error(T.MALFORMED_ARGUMENT,H(n,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),r=this.offset(),n=Vt(this.message,r),i=r+n.length;this.bumpTo(i);var o=this.clonePosition(),s=H(t,o);return{value:n,location:s}},e.prototype.parseArgumentOptions=function(t,r,n,i){var o,s=this.clonePosition(),a=this.parseIdentifierIfPossible().value,u=this.clonePosition();switch(a){case"":return this.error(T.EXPECT_ARGUMENT_TYPE,H(s,u));case"number":case"date":case"time":{this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var h=this.clonePosition(),c=this.parseSimpleArgStyleIfPossible();if(c.err)return c;var b=ho(c.val);if(b.length===0)return this.error(T.EXPECT_ARGUMENT_STYLE,H(this.clonePosition(),this.clonePosition()));var y=H(h,this.clonePosition());l={style:b,styleLocation:y}}var x=this.tryParseArgumentClose(i);if(x.err)return x;var d=H(i,this.clonePosition());if(l&&wr(l==null?void 0:l.style,"::",0)){var P=lo(l.style.slice(2));if(a==="number"){var c=this.parseNumberSkeletonFromString(P,l.styleLocation);return c.err?c:{val:{type:k.number,value:n,location:d,style:c.val},err:null}}else{if(P.length===0)return this.error(T.EXPECT_DATE_TIME_SKELETON,d);var F=P;this.locale&&(F=qi(P,this.locale));var b={type:De.dateTime,pattern:F,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?Gi(F):{}},j=a==="date"?k.date:k.time;return{val:{type:j,value:n,location:d,style:b},err:null}}}return{val:{type:a==="number"?k.number:a==="date"?k.date:k.time,value:n,location:d,style:(o=l==null?void 0:l.style)!==null&&o!==void 0?o:null},err:null}}case"plural":case"selectordinal":case"select":{var O=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(T.EXPECT_SELECT_ARGUMENT_OPTIONS,H(O,Et({},O)));this.bumpSpace();var X=this.parseIdentifierIfPossible(),$=0;if(a!=="select"&&X.value==="offset"){if(!this.bumpIf(":"))return this.error(T.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,H(this.clonePosition(),this.clonePosition()));this.bumpSpace();var c=this.tryParseDecimalInteger(T.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,T.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(c.err)return c;this.bumpSpace(),X=this.parseIdentifierIfPossible(),$=c.val}var G=this.tryParsePluralOrSelectOptions(t,a,r,X);if(G.err)return G;var x=this.tryParseArgumentClose(i);if(x.err)return x;var Y=H(i,this.clonePosition());return a==="select"?{val:{type:k.select,value:n,options:xr(G.val),location:Y},err:null}:{val:{type:k.plural,value:n,options:xr(G.val),offset:$,pluralType:a==="plural"?"cardinal":"ordinal",location:Y},err:null}}default:return this.error(T.INVALID_ARGUMENT_TYPE,H(s,u))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(T.EXPECT_ARGUMENT_CLOSING_BRACE,H(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,r=this.clonePosition();!this.isEOF();){var n=this.char();switch(n){case 39:{this.bump();var i=this.clonePosition();if(!this.bumpUntil("'"))return this.error(T.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,H(i,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(r.offset,this.offset()),err:null};break}default:this.bump();break}}return{val:this.message.slice(r.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(t,r){var n=[];try{n=Vi(t)}catch(i){return this.error(T.INVALID_NUMBER_SKELETON,r)}return{val:{type:De.number,tokens:n,location:r,parsedOptions:this.shouldParseSkeletons?Zi(n):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(t,r,n,i){for(var o,s=!1,a=[],u=new Set,l=i.value,h=i.location;;){if(l.length===0){var c=this.clonePosition();if(r!=="select"&&this.bumpIf("=")){var b=this.tryParseDecimalInteger(T.EXPECT_PLURAL_ARGUMENT_SELECTOR,T.INVALID_PLURAL_ARGUMENT_SELECTOR);if(b.err)return b;h=H(c,this.clonePosition()),l=this.message.slice(c.offset,this.offset())}else break}if(u.has(l))return this.error(r==="select"?T.DUPLICATE_SELECT_ARGUMENT_SELECTOR:T.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,h);l==="other"&&(s=!0),this.bumpSpace();var y=this.clonePosition();if(!this.bumpIf("{"))return this.error(r==="select"?T.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:T.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,H(this.clonePosition(),this.clonePosition()));var x=this.parseMessage(t+1,r,n);if(x.err)return x;var d=this.tryParseArgumentClose(y);if(d.err)return d;a.push([l,{value:x.val,location:H(y,this.clonePosition())}]),u.add(l),this.bumpSpace(),o=this.parseIdentifierIfPossible(),l=o.value,h=o.location}return a.length===0?this.error(r==="select"?T.EXPECT_SELECT_ARGUMENT_SELECTOR:T.EXPECT_PLURAL_ARGUMENT_SELECTOR,H(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!s?this.error(T.MISSING_OTHER_CLAUSE,H(this.clonePosition(),this.clonePosition())):{val:a,err:null}},e.prototype.tryParseDecimalInteger=function(t,r){var n=1,i=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-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=H(i,this.clonePosition());return o?(s*=n,ao(s)?{val:s,err:null}:this.error(r,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 r=Sn(this.message,t);if(r===void 0)throw Error("Offset ".concat(t," is at invalid UTF-16 code unit boundary"));return r},e.prototype.error=function(t,r){return{val:null,err:{kind:t,message:this.message,location:r}}},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(wr(this.message,t,this.offset())){for(var r=0;r<t.length;r++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(t){var r=this.offset(),n=this.message.indexOf(t,r);return n>=0?(this.bumpTo(n),!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 r=this.offset();if(r===t)break;if(r>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()&&Tn(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),r=this.offset(),n=this.message.charCodeAt(r+(t>=65536?2:1));return n!=null?n:null},e}();function Wt(e){return e>=97&&e<=122||e>=65&&e<=90}function fo(e){return Wt(e)||e===47}function mo(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 Tn(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function po(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 Xt(e){e.forEach(function(t){if(delete t.location,gn(t)||bn(t))for(var r in t.options)delete t.options[r].location,Xt(t.options[r].value);else dn(t)&&vn(t.style)||(mn(t)||pn(t))&&jt(t.style)?delete t.style.location:yn(t)&&Xt(t.children)})}function go(e,t){t===void 0&&(t={}),t=Et({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var r=new co(e,t).parse();if(r.err){var n=SyntaxError(T[r.err.kind]);throw n.location=r.err.location,n.originalMessage=r.err.message,n}return t!=null&&t.captureLocation||Xt(r.val),r.val}var Re;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(Re||(Re={}));var Tt=function(e){Mt(t,e);function t(r,n,i){var o=e.call(this,r)||this;return o.code=n,o.originalMessage=i,o}return t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),Mr=function(e){Mt(t,e);function t(r,n,i,o){return e.call(this,'Invalid values for "'.concat(r,'": "').concat(n,'". Options are "').concat(Object.keys(i).join('", "'),'"'),Re.INVALID_VALUE,o)||this}return t}(Tt),bo=function(e){Mt(t,e);function t(r,n,i){return e.call(this,'Value for "'.concat(r,'" must be of type ').concat(n),Re.INVALID_VALUE,i)||this}return t}(Tt),yo=function(e){Mt(t,e);function t(r,n){return e.call(this,'The intl string context variable "'.concat(r,'" was not provided to the string "').concat(n,'"'),Re.MISSING_VALUE,n)||this}return t}(Tt),re;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(re||(re={}));function vo(e){return e.length<2?e:e.reduce(function(t,r){var n=t[t.length-1];return!n||n.type!==re.literal||r.type!==re.literal?t.push(r):n.value+=r.value,t},[])}function _o(e){return typeof e=="function"}function pt(e,t,r,n,i,o,s){if(e.length===1&&yr(e[0]))return[{type:re.literal,value:e[0].value}];for(var a=[],u=0,l=e;u<l.length;u++){var h=l[u];if(yr(h)){a.push({type:re.literal,value:h.value});continue}if(Fi(h)){typeof o=="number"&&a.push({type:re.literal,value:r.getNumberFormat(t).format(o)});continue}var c=h.value;if(!(i&&c in i))throw new yo(c,s);var b=i[c];if(ki(h)){(!b||typeof b=="string"||typeof b=="number")&&(b=typeof b=="string"||typeof b=="number"?String(b):""),a.push({type:typeof b=="string"?re.literal:re.object,value:b});continue}if(mn(h)){var y=typeof h.style=="string"?n.date[h.style]:jt(h.style)?h.style.parsedOptions:void 0;a.push({type:re.literal,value:r.getDateTimeFormat(t,y).format(b)});continue}if(pn(h)){var y=typeof h.style=="string"?n.time[h.style]:jt(h.style)?h.style.parsedOptions:n.time.medium;a.push({type:re.literal,value:r.getDateTimeFormat(t,y).format(b)});continue}if(dn(h)){var y=typeof h.style=="string"?n.number[h.style]:vn(h.style)?h.style.parsedOptions:void 0;y&&y.scale&&(b=b*(y.scale||1)),a.push({type:re.literal,value:r.getNumberFormat(t,y).format(b)});continue}if(yn(h)){var x=h.children,d=h.value,P=i[d];if(!_o(P))throw new bo(d,"function",s);var F=pt(x,t,r,n,i,o),j=P(F.map(function($){return $.value}));Array.isArray(j)||(j=[j]),a.push.apply(a,j.map(function($){return{type:typeof $=="string"?re.literal:re.object,value:$}}))}if(gn(h)){var O=h.options[b]||h.options.other;if(!O)throw new Mr(h.value,b,Object.keys(h.options),s);a.push.apply(a,pt(O.value,t,r,n,i));continue}if(bn(h)){var O=h.options["=".concat(b)];if(!O){if(!Intl.PluralRules)throw new Tt(`Intl.PluralRules is not available in this environment.
|
|
2
2
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3
3
|
`,Re.MISSING_INTL_API,s);var X=r.getPluralRules(t,{type:h.pluralType}).select(b-(h.offset||0));O=h.options[X]||h.options.other}if(!O)throw new Mr(h.value,b,Object.keys(h.options),s);a.push.apply(a,pt(O.value,t,r,n,i,b-(h.offset||0)));continue}}return vo(a)}function Eo(e,t){return t?ye(ye(ye({},e||{}),t||{}),Object.keys(e).reduce(function(r,n){return r[n]=ye(ye({},e[n]),t[n]||{}),r},{})):e}function wo(e,t){return t?Object.keys(e).reduce(function(r,n){return r[n]=Eo(e[n],t[n]),r},ye({},e)):e}function $t(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,r){e[t]=r}}}}}function xo(e){return e===void 0&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:Ct(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.NumberFormat).bind.apply(t,Lt([void 0],r,!1)))},{cache:$t(e.number),strategy:Bt.variadic}),getDateTimeFormat:Ct(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.DateTimeFormat).bind.apply(t,Lt([void 0],r,!1)))},{cache:$t(e.dateTime),strategy:Bt.variadic}),getPluralRules:Ct(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.PluralRules).bind.apply(t,Lt([void 0],r,!1)))},{cache:$t(e.pluralRules),strategy:Bt.variadic})}}var Pn=function(){function e(t,r,n,i){r===void 0&&(r=e.defaultLocale);var o=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(u){var l=o.formatToParts(u);if(l.length===1)return l[0].value;var h=l.reduce(function(c,b){return!c.length||b.type!==re.literal||typeof c[c.length-1]!="string"?c.push(b.value):c[c.length-1]+=b.value,c},[]);return h.length<=1?h[0]||"":h},this.formatToParts=function(u){return pt(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=r,this.resolvedLocale=e.resolveLocale(r),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=i||{};s.formatters;var a=Ci(s,["formatters"]);this.ast=e.__parse(t,ye(ye({},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=wo(e.formats,n),this.formatters=i&&i.formatters||xo(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!="undefined"){var r=Intl.NumberFormat.supportedLocalesOf(t);return r.length>0?new Intl.Locale(r[0]):new Intl.Locale(typeof t=="string"?t:t[0])}},e.__parse=go,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 So(e,t){if(t==null)return;if(t in e)return e[t];const r=t.split(".");let n=e;for(let i=0;i<r.length;i++)if(typeof n=="object"){if(i>0){const o=r.slice(i,r.length).join(".");if(o in n){n=n[o];break}}n=n[r[i]]}else n=void 0;return n}const xe={},Mo=(e,t,r)=>r&&(t in xe||(xe[t]={}),e in xe[t]||(xe[t][e]=r),r),Hn=(e,t)=>{if(t==null)return;if(t in xe&&e in xe[t])return xe[t][e];const r=rt(t);for(let n=0;n<r.length;n++){const i=r[n],o=Po(i,e);if(o)return Mo(e,t,o)}};let sr;const tt=et({});function To(e){return sr[e]||null}function An(e){return e in sr}function Po(e,t){if(!An(e))return null;const r=To(e);return So(r,t)}function Ho(e){if(e==null)return;const t=rt(e);for(let r=0;r<t.length;r++){const n=t[r];if(An(n))return n}}function On(e,...t){delete xe[e],tt.update(r=>(r[e]=Li.all([r[e]||{},...t]),r))}ke([tt],([e])=>Object.keys(e));tt.subscribe(e=>sr=e);const gt={};function Ao(e,t){gt[e].delete(t),gt[e].size===0&&delete gt[e]}function Ln(e){return gt[e]}function Oo(e){return rt(e).map(t=>{const r=Ln(t);return[t,r?[...r]:[]]}).filter(([,t])=>t.length>0)}function wt(e){return e==null?!1:rt(e).some(t=>{var r;return(r=Ln(t))==null?void 0:r.size})}function Lo(e,t){return Promise.all(t.map(n=>(Ao(e,n),n().then(i=>i.default||i)))).then(n=>On(e,...n))}const We={};function Cn(e){if(!wt(e))return e in We?We[e]:Promise.resolve();const t=Oo(e);return We[e]=Promise.all(t.map(([r,n])=>Lo(r,n))).then(()=>{if(wt(e))return Cn(e);delete We[e]}),We[e]}var Tr=Object.getOwnPropertySymbols,Co=Object.prototype.hasOwnProperty,Bo=Object.prototype.propertyIsEnumerable,No=(e,t)=>{var r={};for(var n in e)Co.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&Tr)for(var n of Tr(e))t.indexOf(n)<0&&Bo.call(e,n)&&(r[n]=e[n]);return r};const $o={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 Io({locale:e,id:t}){console.warn(`[svelte-i18n] The message "${t}" was not found in "${rt(e).join('", "')}".${wt(Se())?`
|
|
4
4
|
|
|
@@ -10,7 +10,7 @@ var At = (e, t, r) => t in e ? Yn(e, t, { enumerable: !0, configurable: !0, writ
|
|
|
10
10
|
Qn.call(t, r) && At(e, r, t[r]);
|
|
11
11
|
return e;
|
|
12
12
|
}, ut = (e, t) => Zn(e, qn(t));
|
|
13
|
-
var de = (e, t, r) =>
|
|
13
|
+
var de = (e, t, r) => At(e, typeof t != "symbol" ? t + "" : t, r);
|
|
14
14
|
var cr = (e, t, r) => new Promise((n, i) => {
|
|
15
15
|
var o = (u) => {
|
|
16
16
|
try {
|
|
@@ -74,8 +74,7 @@ function en(e, t, r) {
|
|
|
74
74
|
}
|
|
75
75
|
}
|
|
76
76
|
function ei(e) {
|
|
77
|
-
if (!e)
|
|
78
|
-
return document;
|
|
77
|
+
if (!e) return document;
|
|
79
78
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
80
79
|
return t && /** @type {ShadowRoot} */
|
|
81
80
|
t.host ? (
|
|
@@ -146,8 +145,7 @@ function qe(e) {
|
|
|
146
145
|
Je = e;
|
|
147
146
|
}
|
|
148
147
|
function oi() {
|
|
149
|
-
if (!Je)
|
|
150
|
-
throw new Error("Function called outside component initialization");
|
|
148
|
+
if (!Je) throw new Error("Function called outside component initialization");
|
|
151
149
|
return Je;
|
|
152
150
|
}
|
|
153
151
|
function si(e) {
|
|
@@ -178,8 +176,7 @@ function I() {
|
|
|
178
176
|
} catch (t) {
|
|
179
177
|
throw Be.length = 0, Le = 0, t;
|
|
180
178
|
}
|
|
181
|
-
for (qe(null), Be.length = 0, Le = 0; Rt.length; )
|
|
182
|
-
Rt.pop()();
|
|
179
|
+
for (qe(null), Be.length = 0, Le = 0; Rt.length; ) Rt.pop()();
|
|
183
180
|
for (let t = 0; t < $e.length; t += 1) {
|
|
184
181
|
const r = $e[t];
|
|
185
182
|
Ot.has(r) || (Ot.add(r), r());
|
|
@@ -219,13 +216,11 @@ function ve(e, t) {
|
|
|
219
216
|
}
|
|
220
217
|
function Pe(e, t, r, n) {
|
|
221
218
|
if (e && e.o) {
|
|
222
|
-
if (dt.has(e))
|
|
223
|
-
return;
|
|
219
|
+
if (dt.has(e)) return;
|
|
224
220
|
dt.add(e), Te.c.push(() => {
|
|
225
221
|
dt.delete(e), n && (r && e.d(1), n());
|
|
226
222
|
}), e.o(t);
|
|
227
|
-
} else
|
|
228
|
-
n && n();
|
|
223
|
+
} else n && n();
|
|
229
224
|
}
|
|
230
225
|
function gr(e) {
|
|
231
226
|
return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
|
|
@@ -668,8 +663,7 @@ var Ft = function(e, t) {
|
|
|
668
663
|
return Ft = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
669
664
|
r.__proto__ = n;
|
|
670
665
|
} || function(r, n) {
|
|
671
|
-
for (var i in n)
|
|
672
|
-
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
666
|
+
for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
673
667
|
}, Ft(e, t);
|
|
674
668
|
};
|
|
675
669
|
function Mt(e, t) {
|
|
@@ -685,25 +679,22 @@ var ye = function() {
|
|
|
685
679
|
return ye = Object.assign || function(t) {
|
|
686
680
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
687
681
|
r = arguments[n];
|
|
688
|
-
for (var o in r)
|
|
689
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
682
|
+
for (var o in r) Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
690
683
|
}
|
|
691
684
|
return t;
|
|
692
685
|
}, ye.apply(this, arguments);
|
|
693
686
|
};
|
|
694
687
|
function Li(e, t) {
|
|
695
688
|
var r = {};
|
|
696
|
-
for (var n in e)
|
|
697
|
-
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
689
|
+
for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
698
690
|
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
699
691
|
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
700
692
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
701
693
|
return r;
|
|
702
694
|
}
|
|
703
695
|
function Lt(e, t, r) {
|
|
704
|
-
if (r || arguments.length === 2)
|
|
705
|
-
|
|
706
|
-
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
696
|
+
if (r || arguments.length === 2) for (var n = 0, i = t.length, o; n < i; n++)
|
|
697
|
+
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
707
698
|
return e.concat(o || Array.prototype.slice.call(t));
|
|
708
699
|
}
|
|
709
700
|
function Ct(e, t) {
|
|
@@ -758,8 +749,7 @@ var Ii = function() {
|
|
|
758
749
|
return Et = Object.assign || function(t) {
|
|
759
750
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
760
751
|
r = arguments[n];
|
|
761
|
-
for (var o in r)
|
|
762
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
752
|
+
for (var o in r) Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
763
753
|
}
|
|
764
754
|
return t;
|
|
765
755
|
}, Et.apply(this, arguments);
|
|
@@ -905,8 +895,7 @@ var V = function() {
|
|
|
905
895
|
return V = Object.assign || function(t) {
|
|
906
896
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
907
897
|
r = arguments[n];
|
|
908
|
-
for (var o in r)
|
|
909
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
898
|
+
for (var o in r) Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
910
899
|
}
|
|
911
900
|
return t;
|
|
912
901
|
}, V.apply(this, arguments);
|
|
@@ -2548,8 +2537,7 @@ function Zi(e, t) {
|
|
|
2548
2537
|
r += u;
|
|
2549
2538
|
for (; s-- > 0; )
|
|
2550
2539
|
r = l + r;
|
|
2551
|
-
} else
|
|
2552
|
-
i === "J" ? r += "H" : r += i;
|
|
2540
|
+
} else i === "J" ? r += "H" : r += i;
|
|
2553
2541
|
}
|
|
2554
2542
|
return r;
|
|
2555
2543
|
}
|
|
@@ -3152,8 +3140,7 @@ function Xt(e) {
|
|
|
3152
3140
|
if (delete t.location, gn(t) || bn(t))
|
|
3153
3141
|
for (var r in t.options)
|
|
3154
3142
|
delete t.options[r].location, Xt(t.options[r].value);
|
|
3155
|
-
else
|
|
3156
|
-
dn(t) && vn(t.style) || (mn(t) || pn(t)) && jt(t.style) ? delete t.style.location : yn(t) && Xt(t.children);
|
|
3143
|
+
else dn(t) && vn(t.style) || (mn(t) || pn(t)) && jt(t.style) ? delete t.style.location : yn(t) && Xt(t.children);
|
|
3157
3144
|
});
|
|
3158
3145
|
}
|
|
3159
3146
|
function po(e, t) {
|
|
@@ -3934,8 +3921,7 @@ function as(e, t) {
|
|
|
3934
3921
|
}
|
|
3935
3922
|
}
|
|
3936
3923
|
function us(e, t) {
|
|
3937
|
-
if (!e || !t)
|
|
3938
|
-
return;
|
|
3924
|
+
if (!e || !t) return;
|
|
3939
3925
|
const r = new URL(t);
|
|
3940
3926
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
3941
3927
|
const i = document.createElement("style");
|
|
@@ -3945,8 +3931,7 @@ function us(e, t) {
|
|
|
3945
3931
|
});
|
|
3946
3932
|
}
|
|
3947
3933
|
function ls(e, t, r, n = !1) {
|
|
3948
|
-
if (!window.emMessageBus)
|
|
3949
|
-
return;
|
|
3934
|
+
if (!window.emMessageBus) return;
|
|
3950
3935
|
if (!("adoptedStyleSheets" in Document.prototype) || !n)
|
|
3951
3936
|
return r = hs(e, t), r;
|
|
3952
3937
|
window[Ne] || (window[Ne] = {}), r = cs(e, t);
|
|
@@ -3967,8 +3952,7 @@ function hs(e, t) {
|
|
|
3967
3952
|
}
|
|
3968
3953
|
function cs(e, t) {
|
|
3969
3954
|
return window.emMessageBus.subscribe(t, (r) => {
|
|
3970
|
-
if (!e)
|
|
3971
|
-
return;
|
|
3955
|
+
if (!e) return;
|
|
3972
3956
|
const n = e.getRootNode(), i = window[Ne];
|
|
3973
3957
|
let o = i[t] && i[t].sheet;
|
|
3974
3958
|
o ? i[t].refCount = i[t].refCount + 1 : (o = new CSSStyleSheet(), o.replaceSync(r), i[t] = {
|
|
@@ -4116,8 +4100,7 @@ var Zt = function(e, t) {
|
|
|
4116
4100
|
return Zt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
4117
4101
|
r.__proto__ = n;
|
|
4118
4102
|
} || function(r, n) {
|
|
4119
|
-
for (var i in n)
|
|
4120
|
-
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
4103
|
+
for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
4121
4104
|
}, Zt(e, t);
|
|
4122
4105
|
};
|
|
4123
4106
|
function nt(e, t) {
|
|
@@ -4131,40 +4114,34 @@ function nt(e, t) {
|
|
|
4131
4114
|
}
|
|
4132
4115
|
function qt(e) {
|
|
4133
4116
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
4134
|
-
if (r)
|
|
4135
|
-
|
|
4136
|
-
|
|
4137
|
-
|
|
4138
|
-
|
|
4139
|
-
|
|
4140
|
-
}
|
|
4141
|
-
};
|
|
4117
|
+
if (r) return r.call(e);
|
|
4118
|
+
if (e && typeof e.length == "number") return {
|
|
4119
|
+
next: function() {
|
|
4120
|
+
return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
|
|
4121
|
+
}
|
|
4122
|
+
};
|
|
4142
4123
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
4143
4124
|
}
|
|
4144
4125
|
function Jt(e, t) {
|
|
4145
4126
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
4146
|
-
if (!r)
|
|
4147
|
-
return e;
|
|
4127
|
+
if (!r) return e;
|
|
4148
4128
|
var n = r.call(e), i, o = [], s;
|
|
4149
4129
|
try {
|
|
4150
|
-
for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
|
|
4151
|
-
o.push(i.value);
|
|
4130
|
+
for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; ) o.push(i.value);
|
|
4152
4131
|
} catch (a) {
|
|
4153
4132
|
s = { error: a };
|
|
4154
4133
|
} finally {
|
|
4155
4134
|
try {
|
|
4156
4135
|
i && !i.done && (r = n.return) && r.call(n);
|
|
4157
4136
|
} finally {
|
|
4158
|
-
if (s)
|
|
4159
|
-
throw s.error;
|
|
4137
|
+
if (s) throw s.error;
|
|
4160
4138
|
}
|
|
4161
4139
|
}
|
|
4162
4140
|
return o;
|
|
4163
4141
|
}
|
|
4164
4142
|
function Qt(e, t, r) {
|
|
4165
|
-
if (arguments.length === 2)
|
|
4166
|
-
|
|
4167
|
-
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
4143
|
+
if (arguments.length === 2) for (var n = 0, i = t.length, o; n < i; n++)
|
|
4144
|
+
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
4168
4145
|
return e.concat(o || t);
|
|
4169
4146
|
}
|
|
4170
4147
|
function we(e) {
|
|
@@ -4213,8 +4190,7 @@ var Ht = function() {
|
|
|
4213
4190
|
try {
|
|
4214
4191
|
u && !u.done && (r = a.return) && r.call(a);
|
|
4215
4192
|
} finally {
|
|
4216
|
-
if (t)
|
|
4217
|
-
throw t.error;
|
|
4193
|
+
if (t) throw t.error;
|
|
4218
4194
|
}
|
|
4219
4195
|
}
|
|
4220
4196
|
else
|
|
@@ -4244,8 +4220,7 @@ var Ht = function() {
|
|
|
4244
4220
|
try {
|
|
4245
4221
|
y && !y.done && (i = b.return) && i.call(b);
|
|
4246
4222
|
} finally {
|
|
4247
|
-
if (n)
|
|
4248
|
-
throw n.error;
|
|
4223
|
+
if (n) throw n.error;
|
|
4249
4224
|
}
|
|
4250
4225
|
}
|
|
4251
4226
|
}
|
|
@@ -4512,8 +4487,7 @@ var Ts = In(function(e) {
|
|
|
4512
4487
|
try {
|
|
4513
4488
|
a && !a.done && (o = s.return) && o.call(s);
|
|
4514
4489
|
} finally {
|
|
4515
|
-
if (i)
|
|
4516
|
-
throw i.error;
|
|
4490
|
+
if (i) throw i.error;
|
|
4517
4491
|
}
|
|
4518
4492
|
}
|
|
4519
4493
|
}
|
|
@@ -4663,8 +4637,7 @@ var Gn = { exports: {} };
|
|
|
4663
4637
|
var p = -w.utcOffset(), g = Math.abs(p), v = Math.floor(g / 60), f = g % 60;
|
|
4664
4638
|
return (p <= 0 ? "+" : "-") + O(v, 2, "0") + ":" + O(f, 2, "0");
|
|
4665
4639
|
}, m: function w(p, g) {
|
|
4666
|
-
if (p.date() < g.date())
|
|
4667
|
-
return -w(g, p);
|
|
4640
|
+
if (p.date() < g.date()) return -w(g, p);
|
|
4668
4641
|
var v = 12 * (g.year() - p.year()) + (g.month() - p.month()), f = p.clone().add(v, c), _ = g - f < 0, E = p.clone().add(v + (_ ? -1 : 1), c);
|
|
4669
4642
|
return +(-(v + (g - f) / (_ ? f - E : E - f)) || 0);
|
|
4670
4643
|
}, a: function(w) {
|
|
@@ -4679,22 +4652,19 @@ var Gn = { exports: {} };
|
|
|
4679
4652
|
return w instanceof pe || !(!w || !w[Y]);
|
|
4680
4653
|
}, Q = function w(p, g, v) {
|
|
4681
4654
|
var f;
|
|
4682
|
-
if (!p)
|
|
4683
|
-
return $;
|
|
4655
|
+
if (!p) return $;
|
|
4684
4656
|
if (typeof p == "string") {
|
|
4685
4657
|
var _ = p.toLowerCase();
|
|
4686
4658
|
G[_] && (f = _), g && (G[_] = g, f = _);
|
|
4687
4659
|
var E = p.split("-");
|
|
4688
|
-
if (!f && E.length > 1)
|
|
4689
|
-
return w(E[0]);
|
|
4660
|
+
if (!f && E.length > 1) return w(E[0]);
|
|
4690
4661
|
} else {
|
|
4691
4662
|
var L = p.name;
|
|
4692
4663
|
G[L] = p, f = L;
|
|
4693
4664
|
}
|
|
4694
4665
|
return !v && f && ($ = f), f || !v && $;
|
|
4695
4666
|
}, D = function(w, p) {
|
|
4696
|
-
if (J(w))
|
|
4697
|
-
return w.clone();
|
|
4667
|
+
if (J(w)) return w.clone();
|
|
4698
4668
|
var g = typeof p == "object" ? p : {};
|
|
4699
4669
|
return g.date = w, g.args = arguments, new pe(g);
|
|
4700
4670
|
}, M = X;
|
|
@@ -4709,12 +4679,9 @@ var Gn = { exports: {} };
|
|
|
4709
4679
|
return p.parse = function(g) {
|
|
4710
4680
|
this.$d = function(v) {
|
|
4711
4681
|
var f = v.date, _ = v.utc;
|
|
4712
|
-
if (f === null)
|
|
4713
|
-
|
|
4714
|
-
if (
|
|
4715
|
-
return /* @__PURE__ */ new Date();
|
|
4716
|
-
if (f instanceof Date)
|
|
4717
|
-
return new Date(f);
|
|
4682
|
+
if (f === null) return /* @__PURE__ */ new Date(NaN);
|
|
4683
|
+
if (M.u(f)) return /* @__PURE__ */ new Date();
|
|
4684
|
+
if (f instanceof Date) return new Date(f);
|
|
4718
4685
|
if (typeof f == "string" && !/Z$/i.test(f)) {
|
|
4719
4686
|
var E = f.match(P);
|
|
4720
4687
|
if (E) {
|
|
@@ -4778,8 +4745,7 @@ var Gn = { exports: {} };
|
|
|
4778
4745
|
if (_ === c || _ === y) {
|
|
4779
4746
|
var R = this.clone().set(x, 1);
|
|
4780
4747
|
R.$d[L](B), R.init(), this.$d = R.set(x, Math.min(this.$D, R.daysInMonth())).$d;
|
|
4781
|
-
} else
|
|
4782
|
-
L && this.$d[L](B);
|
|
4748
|
+
} else L && this.$d[L](B);
|
|
4783
4749
|
return this.init(), this;
|
|
4784
4750
|
}, p.set = function(g, v) {
|
|
4785
4751
|
return this.clone().$set(g, v);
|
|
@@ -4792,22 +4758,17 @@ var Gn = { exports: {} };
|
|
|
4792
4758
|
var Z = D(_);
|
|
4793
4759
|
return M.w(Z.date(Z.date() + Math.round(z * g)), _);
|
|
4794
4760
|
};
|
|
4795
|
-
if (E === c)
|
|
4796
|
-
|
|
4797
|
-
if (E ===
|
|
4798
|
-
|
|
4799
|
-
if (E === l)
|
|
4800
|
-
return L(1);
|
|
4801
|
-
if (E === h)
|
|
4802
|
-
return L(7);
|
|
4761
|
+
if (E === c) return this.set(c, this.$M + g);
|
|
4762
|
+
if (E === y) return this.set(y, this.$y + g);
|
|
4763
|
+
if (E === l) return L(1);
|
|
4764
|
+
if (E === h) return L(7);
|
|
4803
4765
|
var B = (f = {}, f[a] = n, f[u] = i, f[s] = r, f)[E] || 1, R = this.$d.getTime() + g * B;
|
|
4804
4766
|
return M.w(R, this);
|
|
4805
4767
|
}, p.subtract = function(g, v) {
|
|
4806
4768
|
return this.add(-1 * g, v);
|
|
4807
4769
|
}, p.format = function(g) {
|
|
4808
4770
|
var v = this, f = this.$locale();
|
|
4809
|
-
if (!this.isValid())
|
|
4810
|
-
return f.invalidDate || d;
|
|
4771
|
+
if (!this.isValid()) return f.invalidDate || d;
|
|
4811
4772
|
var _ = g || "YYYY-MM-DDTHH:mm:ssZ", E = M.z(this), L = this.$H, B = this.$m, R = this.$M, z = f.weekdays, Z = f.months, me = f.meridiem, le = function(N, U, ce, _e) {
|
|
4812
4773
|
return N && (N[U] || N(v, _)) || ce[U].slice(0, _e);
|
|
4813
4774
|
}, ge = function(N) {
|
|
@@ -4911,8 +4872,7 @@ var Gn = { exports: {} };
|
|
|
4911
4872
|
}, p.$locale = function() {
|
|
4912
4873
|
return G[this.$L];
|
|
4913
4874
|
}, p.locale = function(g, v) {
|
|
4914
|
-
if (!g)
|
|
4915
|
-
return this.$L;
|
|
4875
|
+
if (!g) return this.$L;
|
|
4916
4876
|
var f = this.clone(), _ = Q(g, v, !0);
|
|
4917
4877
|
return _ && (f.$L = _), f;
|
|
4918
4878
|
}, p.clone = function() {
|
|
@@ -4966,31 +4926,25 @@ var zn = { exports: {} };
|
|
|
4966
4926
|
if (this.$u) {
|
|
4967
4927
|
var d = this.$d;
|
|
4968
4928
|
this.$y = d.getUTCFullYear(), this.$M = d.getUTCMonth(), this.$D = d.getUTCDate(), this.$W = d.getUTCDay(), this.$H = d.getUTCHours(), this.$m = d.getUTCMinutes(), this.$s = d.getUTCSeconds(), this.$ms = d.getUTCMilliseconds();
|
|
4969
|
-
} else
|
|
4970
|
-
h.call(this);
|
|
4929
|
+
} else h.call(this);
|
|
4971
4930
|
};
|
|
4972
4931
|
var c = u.utcOffset;
|
|
4973
4932
|
u.utcOffset = function(d, P) {
|
|
4974
4933
|
var F = this.$utils().u;
|
|
4975
|
-
if (F(d))
|
|
4976
|
-
return this.$u ? 0 : F(this.$offset) ? c.call(this) : this.$offset;
|
|
4934
|
+
if (F(d)) return this.$u ? 0 : F(this.$offset) ? c.call(this) : this.$offset;
|
|
4977
4935
|
if (typeof d == "string" && (d = function($) {
|
|
4978
4936
|
$ === void 0 && ($ = "");
|
|
4979
4937
|
var G = $.match(n);
|
|
4980
|
-
if (!G)
|
|
4981
|
-
return null;
|
|
4938
|
+
if (!G) return null;
|
|
4982
4939
|
var Y = ("" + G[0]).match(i) || ["-", 0, 0], J = Y[0], Q = 60 * +Y[1] + +Y[2];
|
|
4983
4940
|
return Q === 0 ? 0 : J === "+" ? Q : -Q;
|
|
4984
|
-
}(d), d === null))
|
|
4985
|
-
return this;
|
|
4941
|
+
}(d), d === null)) return this;
|
|
4986
4942
|
var j = Math.abs(d) <= 16 ? 60 * d : d, O = this;
|
|
4987
|
-
if (P)
|
|
4988
|
-
return O.$offset = j, O.$u = d === 0, O;
|
|
4943
|
+
if (P) return O.$offset = j, O.$u = d === 0, O;
|
|
4989
4944
|
if (d !== 0) {
|
|
4990
4945
|
var X = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
|
|
4991
4946
|
(O = this.local().add(j + X, r)).$offset = j, O.$x.$localOffset = X;
|
|
4992
|
-
} else
|
|
4993
|
-
O = this.utc();
|
|
4947
|
+
} else O = this.utc();
|
|
4994
4948
|
return O;
|
|
4995
4949
|
};
|
|
4996
4950
|
var b = u.format;
|
|
@@ -5013,8 +4967,7 @@ var zn = { exports: {} };
|
|
|
5013
4967
|
};
|
|
5014
4968
|
var x = u.diff;
|
|
5015
4969
|
u.diff = function(d, P, F) {
|
|
5016
|
-
if (d && this.$u === d.$u)
|
|
5017
|
-
return x.call(this, d, P, F);
|
|
4970
|
+
if (d && this.$u === d.$u) return x.call(this, d, P, F);
|
|
5018
4971
|
var j = this.local(), O = a(d).local();
|
|
5019
4972
|
return x.call(j, O, P, F);
|
|
5020
4973
|
};
|
|
@@ -45,8 +45,7 @@ function Gr(e, t, r) {
|
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
47
|
function jn(e) {
|
|
48
|
-
if (!e)
|
|
49
|
-
return document;
|
|
48
|
+
if (!e) return document;
|
|
50
49
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
51
50
|
return t && /** @type {ShadowRoot} */
|
|
52
51
|
t.host ? (
|
|
@@ -117,8 +116,7 @@ function Ve(e) {
|
|
|
117
116
|
We = e;
|
|
118
117
|
}
|
|
119
118
|
function Xn() {
|
|
120
|
-
if (!We)
|
|
121
|
-
throw new Error("Function called outside component initialization");
|
|
119
|
+
if (!We) throw new Error("Function called outside component initialization");
|
|
122
120
|
return We;
|
|
123
121
|
}
|
|
124
122
|
function Yn(e) {
|
|
@@ -149,8 +147,7 @@ function I() {
|
|
|
149
147
|
} catch (t) {
|
|
150
148
|
throw Le.length = 0, Ae = 0, t;
|
|
151
149
|
}
|
|
152
|
-
for (Ve(null), Le.length = 0, Ae = 0; Pt.length; )
|
|
153
|
-
Pt.pop()();
|
|
150
|
+
for (Ve(null), Le.length = 0, Ae = 0; Pt.length; ) Pt.pop()();
|
|
154
151
|
for (let t = 0; t < Be.length; t += 1) {
|
|
155
152
|
const r = Be[t];
|
|
156
153
|
vt.has(r) || (vt.add(r), r());
|
|
@@ -190,13 +187,11 @@ function fe(e, t) {
|
|
|
190
187
|
}
|
|
191
188
|
function Me(e, t, r, n) {
|
|
192
189
|
if (e && e.o) {
|
|
193
|
-
if (nt.has(e))
|
|
194
|
-
return;
|
|
190
|
+
if (nt.has(e)) return;
|
|
195
191
|
nt.add(e), Se.c.push(() => {
|
|
196
192
|
nt.delete(e), n && (r && e.d(1), n());
|
|
197
193
|
}), e.o(t);
|
|
198
|
-
} else
|
|
199
|
-
n && n();
|
|
194
|
+
} else n && n();
|
|
200
195
|
}
|
|
201
196
|
function or(e) {
|
|
202
197
|
return e?.length !== void 0 ? e : Array.from(e);
|
|
@@ -631,8 +626,7 @@ var Ot = function(e, t) {
|
|
|
631
626
|
return Ot = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
632
627
|
r.__proto__ = n;
|
|
633
628
|
} || function(r, n) {
|
|
634
|
-
for (var i in n)
|
|
635
|
-
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
629
|
+
for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
636
630
|
}, Ot(e, t);
|
|
637
631
|
};
|
|
638
632
|
function pt(e, t) {
|
|
@@ -648,25 +642,22 @@ var ce = function() {
|
|
|
648
642
|
return ce = Object.assign || function(t) {
|
|
649
643
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
650
644
|
r = arguments[n];
|
|
651
|
-
for (var o in r)
|
|
652
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
645
|
+
for (var o in r) Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
653
646
|
}
|
|
654
647
|
return t;
|
|
655
648
|
}, ce.apply(this, arguments);
|
|
656
649
|
};
|
|
657
650
|
function vi(e, t) {
|
|
658
651
|
var r = {};
|
|
659
|
-
for (var n in e)
|
|
660
|
-
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
652
|
+
for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
661
653
|
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
662
654
|
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
663
655
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
664
656
|
return r;
|
|
665
657
|
}
|
|
666
658
|
function _t(e, t, r) {
|
|
667
|
-
if (r || arguments.length === 2)
|
|
668
|
-
|
|
669
|
-
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
659
|
+
if (r || arguments.length === 2) for (var n = 0, i = t.length, o; n < i; n++)
|
|
660
|
+
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
670
661
|
return e.concat(o || Array.prototype.slice.call(t));
|
|
671
662
|
}
|
|
672
663
|
function Et(e, t) {
|
|
@@ -721,8 +712,7 @@ var Si = function() {
|
|
|
721
712
|
return ct = Object.assign || function(t) {
|
|
722
713
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
723
714
|
r = arguments[n];
|
|
724
|
-
for (var o in r)
|
|
725
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
715
|
+
for (var o in r) Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
726
716
|
}
|
|
727
717
|
return t;
|
|
728
718
|
}, ct.apply(this, arguments);
|
|
@@ -868,8 +858,7 @@ var G = function() {
|
|
|
868
858
|
return G = Object.assign || function(t) {
|
|
869
859
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
870
860
|
r = arguments[n];
|
|
871
|
-
for (var o in r)
|
|
872
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
861
|
+
for (var o in r) Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
873
862
|
}
|
|
874
863
|
return t;
|
|
875
864
|
}, G.apply(this, arguments);
|
|
@@ -2511,8 +2500,7 @@ function Di(e, t) {
|
|
|
2511
2500
|
r += u;
|
|
2512
2501
|
for (; s-- > 0; )
|
|
2513
2502
|
r = l + r;
|
|
2514
|
-
} else
|
|
2515
|
-
i === "J" ? r += "H" : r += i;
|
|
2503
|
+
} else i === "J" ? r += "H" : r += i;
|
|
2516
2504
|
}
|
|
2517
2505
|
return r;
|
|
2518
2506
|
}
|
|
@@ -3115,8 +3103,7 @@ function It(e) {
|
|
|
3115
3103
|
if (delete t.location, on(t) || sn(t))
|
|
3116
3104
|
for (var r in t.options)
|
|
3117
3105
|
delete t.options[r].location, It(t.options[r].value);
|
|
3118
|
-
else
|
|
3119
|
-
tn(t) && un(t.style) || (rn(t) || nn(t)) && Lt(t.style) ? delete t.style.location : an(t) && It(t.children);
|
|
3106
|
+
else tn(t) && un(t.style) || (rn(t) || nn(t)) && Lt(t.style) ? delete t.style.location : an(t) && It(t.children);
|
|
3120
3107
|
});
|
|
3121
3108
|
}
|
|
3122
3109
|
function ro(e, t) {
|
|
@@ -3897,8 +3884,7 @@ function Zo(e, t) {
|
|
|
3897
3884
|
}
|
|
3898
3885
|
}
|
|
3899
3886
|
function qo(e, t) {
|
|
3900
|
-
if (!e || !t)
|
|
3901
|
-
return;
|
|
3887
|
+
if (!e || !t) return;
|
|
3902
3888
|
const r = new URL(t);
|
|
3903
3889
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
3904
3890
|
const i = document.createElement("style");
|
|
@@ -3908,8 +3894,7 @@ function qo(e, t) {
|
|
|
3908
3894
|
});
|
|
3909
3895
|
}
|
|
3910
3896
|
function Jo(e, t, r, n = !1) {
|
|
3911
|
-
if (!window.emMessageBus)
|
|
3912
|
-
return;
|
|
3897
|
+
if (!window.emMessageBus) return;
|
|
3913
3898
|
if (!("adoptedStyleSheets" in Document.prototype) || !n)
|
|
3914
3899
|
return r = Qo(e, t), r;
|
|
3915
3900
|
window[Ce] || (window[Ce] = {}), r = Ko(e, t);
|
|
@@ -3930,8 +3915,7 @@ function Qo(e, t) {
|
|
|
3930
3915
|
}
|
|
3931
3916
|
function Ko(e, t) {
|
|
3932
3917
|
return window.emMessageBus.subscribe(t, (r) => {
|
|
3933
|
-
if (!e)
|
|
3934
|
-
return;
|
|
3918
|
+
if (!e) return;
|
|
3935
3919
|
const n = e.getRootNode(), i = window[Ce];
|
|
3936
3920
|
let o = i[t] && i[t].sheet;
|
|
3937
3921
|
o ? i[t].refCount = i[t].refCount + 1 : (o = new CSSStyleSheet(), o.replaceSync(r), i[t] = {
|
|
@@ -4079,8 +4063,7 @@ var Rt = function(e, t) {
|
|
|
4079
4063
|
return Rt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
4080
4064
|
r.__proto__ = n;
|
|
4081
4065
|
} || function(r, n) {
|
|
4082
|
-
for (var i in n)
|
|
4083
|
-
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
4066
|
+
for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
4084
4067
|
}, Rt(e, t);
|
|
4085
4068
|
};
|
|
4086
4069
|
function Qe(e, t) {
|
|
@@ -4094,40 +4077,34 @@ function Qe(e, t) {
|
|
|
4094
4077
|
}
|
|
4095
4078
|
function Ut(e) {
|
|
4096
4079
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
4097
|
-
if (r)
|
|
4098
|
-
|
|
4099
|
-
|
|
4100
|
-
|
|
4101
|
-
|
|
4102
|
-
|
|
4103
|
-
}
|
|
4104
|
-
};
|
|
4080
|
+
if (r) return r.call(e);
|
|
4081
|
+
if (e && typeof e.length == "number") return {
|
|
4082
|
+
next: function() {
|
|
4083
|
+
return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
|
|
4084
|
+
}
|
|
4085
|
+
};
|
|
4105
4086
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
4106
4087
|
}
|
|
4107
4088
|
function kt(e, t) {
|
|
4108
4089
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
4109
|
-
if (!r)
|
|
4110
|
-
return e;
|
|
4090
|
+
if (!r) return e;
|
|
4111
4091
|
var n = r.call(e), i, o = [], s;
|
|
4112
4092
|
try {
|
|
4113
|
-
for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
|
|
4114
|
-
o.push(i.value);
|
|
4093
|
+
for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; ) o.push(i.value);
|
|
4115
4094
|
} catch (a) {
|
|
4116
4095
|
s = { error: a };
|
|
4117
4096
|
} finally {
|
|
4118
4097
|
try {
|
|
4119
4098
|
i && !i.done && (r = n.return) && r.call(n);
|
|
4120
4099
|
} finally {
|
|
4121
|
-
if (s)
|
|
4122
|
-
throw s.error;
|
|
4100
|
+
if (s) throw s.error;
|
|
4123
4101
|
}
|
|
4124
4102
|
}
|
|
4125
4103
|
return o;
|
|
4126
4104
|
}
|
|
4127
4105
|
function Ft(e, t, r) {
|
|
4128
|
-
if (arguments.length === 2)
|
|
4129
|
-
|
|
4130
|
-
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
4106
|
+
if (arguments.length === 2) for (var n = 0, i = t.length, o; n < i; n++)
|
|
4107
|
+
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
4131
4108
|
return e.concat(o || t);
|
|
4132
4109
|
}
|
|
4133
4110
|
function ge(e) {
|
|
@@ -4176,8 +4153,7 @@ var yt = function() {
|
|
|
4176
4153
|
try {
|
|
4177
4154
|
u && !u.done && (r = a.return) && r.call(a);
|
|
4178
4155
|
} finally {
|
|
4179
|
-
if (t)
|
|
4180
|
-
throw t.error;
|
|
4156
|
+
if (t) throw t.error;
|
|
4181
4157
|
}
|
|
4182
4158
|
}
|
|
4183
4159
|
else
|
|
@@ -4207,8 +4183,7 @@ var yt = function() {
|
|
|
4207
4183
|
try {
|
|
4208
4184
|
y && !y.done && (i = b.return) && i.call(b);
|
|
4209
4185
|
} finally {
|
|
4210
|
-
if (n)
|
|
4211
|
-
throw n.error;
|
|
4186
|
+
if (n) throw n.error;
|
|
4212
4187
|
}
|
|
4213
4188
|
}
|
|
4214
4189
|
}
|
|
@@ -4475,8 +4450,7 @@ var ms = Mn(function(e) {
|
|
|
4475
4450
|
try {
|
|
4476
4451
|
a && !a.done && (o = s.return) && o.call(s);
|
|
4477
4452
|
} finally {
|
|
4478
|
-
if (i)
|
|
4479
|
-
throw i.error;
|
|
4453
|
+
if (i) throw i.error;
|
|
4480
4454
|
}
|
|
4481
4455
|
}
|
|
4482
4456
|
}
|
|
@@ -4628,8 +4602,7 @@ var Cn = { exports: {} };
|
|
|
4628
4602
|
var m = -w.utcOffset(), p = Math.abs(m), v = Math.floor(p / 60), f = p % 60;
|
|
4629
4603
|
return (m <= 0 ? "+" : "-") + C(v, 2, "0") + ":" + C(f, 2, "0");
|
|
4630
4604
|
}, m: function w(m, p) {
|
|
4631
|
-
if (m.date() < p.date())
|
|
4632
|
-
return -w(p, m);
|
|
4605
|
+
if (m.date() < p.date()) return -w(p, m);
|
|
4633
4606
|
var v = 12 * (p.year() - m.year()) + (p.month() - m.month()), f = m.clone().add(v, c), _ = p - f < 0, E = m.clone().add(v + (_ ? -1 : 1), c);
|
|
4634
4607
|
return +(-(v + (p - f) / (_ ? f - E : E - f)) || 0);
|
|
4635
4608
|
}, a: function(w) {
|
|
@@ -4644,22 +4617,19 @@ var Cn = { exports: {} };
|
|
|
4644
4617
|
return w instanceof le || !(!w || !w[W]);
|
|
4645
4618
|
}, Y = function w(m, p, v) {
|
|
4646
4619
|
var f;
|
|
4647
|
-
if (!m)
|
|
4648
|
-
return $;
|
|
4620
|
+
if (!m) return $;
|
|
4649
4621
|
if (typeof m == "string") {
|
|
4650
4622
|
var _ = m.toLowerCase();
|
|
4651
4623
|
j[_] && (f = _), p && (j[_] = p, f = _);
|
|
4652
4624
|
var E = m.split("-");
|
|
4653
|
-
if (!f && E.length > 1)
|
|
4654
|
-
return w(E[0]);
|
|
4625
|
+
if (!f && E.length > 1) return w(E[0]);
|
|
4655
4626
|
} else {
|
|
4656
4627
|
var B = m.name;
|
|
4657
4628
|
j[B] = m, f = B;
|
|
4658
4629
|
}
|
|
4659
4630
|
return !v && f && ($ = f), f || !v && $;
|
|
4660
4631
|
}, D = function(w, m) {
|
|
4661
|
-
if (X(w))
|
|
4662
|
-
return w.clone();
|
|
4632
|
+
if (X(w)) return w.clone();
|
|
4663
4633
|
var p = typeof m == "object" ? m : {};
|
|
4664
4634
|
return p.date = w, p.args = arguments, new le(p);
|
|
4665
4635
|
}, M = V;
|
|
@@ -4674,12 +4644,9 @@ var Cn = { exports: {} };
|
|
|
4674
4644
|
return m.parse = function(p) {
|
|
4675
4645
|
this.$d = function(v) {
|
|
4676
4646
|
var f = v.date, _ = v.utc;
|
|
4677
|
-
if (f === null)
|
|
4678
|
-
|
|
4679
|
-
if (
|
|
4680
|
-
return /* @__PURE__ */ new Date();
|
|
4681
|
-
if (f instanceof Date)
|
|
4682
|
-
return new Date(f);
|
|
4647
|
+
if (f === null) return /* @__PURE__ */ new Date(NaN);
|
|
4648
|
+
if (M.u(f)) return /* @__PURE__ */ new Date();
|
|
4649
|
+
if (f instanceof Date) return new Date(f);
|
|
4683
4650
|
if (typeof f == "string" && !/Z$/i.test(f)) {
|
|
4684
4651
|
var E = f.match(H);
|
|
4685
4652
|
if (E) {
|
|
@@ -4743,8 +4710,7 @@ var Cn = { exports: {} };
|
|
|
4743
4710
|
if (_ === c || _ === y) {
|
|
4744
4711
|
var T = this.clone().set(x, 1);
|
|
4745
4712
|
T.$d[B](A), T.init(), this.$d = T.set(x, Math.min(this.$D, T.daysInMonth())).$d;
|
|
4746
|
-
} else
|
|
4747
|
-
B && this.$d[B](A);
|
|
4713
|
+
} else B && this.$d[B](A);
|
|
4748
4714
|
return this.init(), this;
|
|
4749
4715
|
}, m.set = function(p, v) {
|
|
4750
4716
|
return this.clone().$set(p, v);
|
|
@@ -4757,22 +4723,17 @@ var Cn = { exports: {} };
|
|
|
4757
4723
|
var Z = D(_);
|
|
4758
4724
|
return M.w(Z.date(Z.date() + Math.round(F * p)), _);
|
|
4759
4725
|
};
|
|
4760
|
-
if (E === c)
|
|
4761
|
-
|
|
4762
|
-
if (E ===
|
|
4763
|
-
|
|
4764
|
-
if (E === l)
|
|
4765
|
-
return B(1);
|
|
4766
|
-
if (E === h)
|
|
4767
|
-
return B(7);
|
|
4726
|
+
if (E === c) return this.set(c, this.$M + p);
|
|
4727
|
+
if (E === y) return this.set(y, this.$y + p);
|
|
4728
|
+
if (E === l) return B(1);
|
|
4729
|
+
if (E === h) return B(7);
|
|
4768
4730
|
var A = (f = {}, f[a] = n, f[u] = i, f[s] = r, f)[E] || 1, T = this.$d.getTime() + p * A;
|
|
4769
4731
|
return M.w(T, this);
|
|
4770
4732
|
}, m.subtract = function(p, v) {
|
|
4771
4733
|
return this.add(-1 * p, v);
|
|
4772
4734
|
}, m.format = function(p) {
|
|
4773
4735
|
var v = this, f = this.$locale();
|
|
4774
|
-
if (!this.isValid())
|
|
4775
|
-
return f.invalidDate || d;
|
|
4736
|
+
if (!this.isValid()) return f.invalidDate || d;
|
|
4776
4737
|
var _ = p || "YYYY-MM-DDTHH:mm:ssZ", E = M.z(this), B = this.$H, A = this.$m, T = this.$M, F = f.weekdays, Z = f.months, be = f.meridiem, de = function(q, he, ye, He) {
|
|
4777
4738
|
return q && (q[he] || q(v, _)) || ye[he].slice(0, He);
|
|
4778
4739
|
}, we = function(q) {
|
|
@@ -4876,8 +4837,7 @@ var Cn = { exports: {} };
|
|
|
4876
4837
|
}, m.$locale = function() {
|
|
4877
4838
|
return j[this.$L];
|
|
4878
4839
|
}, m.locale = function(p, v) {
|
|
4879
|
-
if (!p)
|
|
4880
|
-
return this.$L;
|
|
4840
|
+
if (!p) return this.$L;
|
|
4881
4841
|
var f = this.clone(), _ = Y(p, v, !0);
|
|
4882
4842
|
return _ && (f.$L = _), f;
|
|
4883
4843
|
}, m.clone = function() {
|
|
@@ -4931,31 +4891,25 @@ var Bn = { exports: {} };
|
|
|
4931
4891
|
if (this.$u) {
|
|
4932
4892
|
var d = this.$d;
|
|
4933
4893
|
this.$y = d.getUTCFullYear(), this.$M = d.getUTCMonth(), this.$D = d.getUTCDate(), this.$W = d.getUTCDay(), this.$H = d.getUTCHours(), this.$m = d.getUTCMinutes(), this.$s = d.getUTCSeconds(), this.$ms = d.getUTCMilliseconds();
|
|
4934
|
-
} else
|
|
4935
|
-
h.call(this);
|
|
4894
|
+
} else h.call(this);
|
|
4936
4895
|
};
|
|
4937
4896
|
var c = u.utcOffset;
|
|
4938
4897
|
u.utcOffset = function(d, H) {
|
|
4939
4898
|
var U = this.$utils().u;
|
|
4940
|
-
if (U(d))
|
|
4941
|
-
return this.$u ? 0 : U(this.$offset) ? c.call(this) : this.$offset;
|
|
4899
|
+
if (U(d)) return this.$u ? 0 : U(this.$offset) ? c.call(this) : this.$offset;
|
|
4942
4900
|
if (typeof d == "string" && (d = function($) {
|
|
4943
4901
|
$ === void 0 && ($ = "");
|
|
4944
4902
|
var j = $.match(n);
|
|
4945
|
-
if (!j)
|
|
4946
|
-
return null;
|
|
4903
|
+
if (!j) return null;
|
|
4947
4904
|
var W = ("" + j[0]).match(i) || ["-", 0, 0], X = W[0], Y = 60 * +W[1] + +W[2];
|
|
4948
4905
|
return Y === 0 ? 0 : X === "+" ? Y : -Y;
|
|
4949
|
-
}(d), d === null))
|
|
4950
|
-
return this;
|
|
4906
|
+
}(d), d === null)) return this;
|
|
4951
4907
|
var k = Math.abs(d) <= 16 ? 60 * d : d, C = this;
|
|
4952
|
-
if (H)
|
|
4953
|
-
return C.$offset = k, C.$u = d === 0, C;
|
|
4908
|
+
if (H) return C.$offset = k, C.$u = d === 0, C;
|
|
4954
4909
|
if (d !== 0) {
|
|
4955
4910
|
var V = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
|
|
4956
4911
|
(C = this.local().add(k + V, r)).$offset = k, C.$x.$localOffset = V;
|
|
4957
|
-
} else
|
|
4958
|
-
C = this.utc();
|
|
4912
|
+
} else C = this.utc();
|
|
4959
4913
|
return C;
|
|
4960
4914
|
};
|
|
4961
4915
|
var b = u.format;
|
|
@@ -4978,8 +4932,7 @@ var Bn = { exports: {} };
|
|
|
4978
4932
|
};
|
|
4979
4933
|
var x = u.diff;
|
|
4980
4934
|
u.diff = function(d, H, U) {
|
|
4981
|
-
if (d && this.$u === d.$u)
|
|
4982
|
-
return x.call(this, d, H, U);
|
|
4935
|
+
if (d && this.$u === d.$u) return x.call(this, d, H, U);
|
|
4983
4936
|
var k = this.local(), C = a(d).local();
|
|
4984
4937
|
return x.call(k, C, H, U);
|
|
4985
4938
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";if(typeof window!="undefined"){let s=function(t){return function(...n){try{return t.apply(this,n)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=s(customElements.define),Promise.resolve().then(()=>require("../components/CashierMethodsList-
|
|
1
|
+
"use strict";if(typeof window!="undefined"){let s=function(t){return function(...n){try{return t.apply(this,n)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=s(customElements.define),Promise.resolve().then(()=>require("../components/CashierMethodsList-CdEDo35Z.cjs")).then(({default:t})=>{!customElements.get("cashier-methods-list")&&customElements.define("cashier-methods-list",t.element)})}
|
|
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
|
|
|
10
10
|
}
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
|
-
customElements.define = s(customElements.define), import("../components/CashierMethodsList-
|
|
13
|
+
customElements.define = s(customElements.define), import("../components/CashierMethodsList-CzDtOdcS.js").then(({ default: t }) => {
|
|
14
14
|
!customElements.get("cashier-methods-list") && customElements.define("cashier-methods-list", t.element);
|
|
15
15
|
});
|
|
16
16
|
}
|