@everymatrix/cashier-error 1.69.0 → 1.69.2

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.
@@ -1,4 +1,4 @@
1
- "use strict";var tn=Object.defineProperty,rn=Object.defineProperties;var wn=Object.getOwnPropertyDescriptors;var Ae=Object.getOwnPropertySymbols;var Pn=Object.prototype.hasOwnProperty,sn=Object.prototype.propertyIsEnumerable;var bA=(A,e,n)=>e in A?tn(A,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):A[e]=n,ee=(A,e)=>{for(var n in e||(e={}))Pn.call(e,n)&&bA(A,n,e[n]);if(Ae)for(var n of Ae(e))sn.call(e,n)&&bA(A,n,e[n]);return A},ne=(A,e)=>rn(A,wn(e));var b=(A,e,n)=>(bA(A,typeof e!="symbol"?e+"":e,n),n);var fe=(A,e,n)=>new Promise((f,t)=>{var r=s=>{try{w(n.next(s))}catch(P){t(P)}},i=s=>{try{w(n.throw(s))}catch(P){t(P)}},w=s=>s.done?f(s.value):Promise.resolve(s.value).then(r,i);w((n=n.apply(A,e)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("../stencil/ui-image-CMb1eK44.cjs");function X(){}function vn(A,e){for(const n in e)A[n]=e[n];return A}function be(A){return A()}function te(){return Object.create(null)}function _(A){A.forEach(be)}function WA(A){return typeof A=="function"}function de(A,e){return A!=A?e==e:A!==e||A&&typeof A=="object"||typeof A=="function"}let sA;function JA(A,e){return A===e?!0:(sA||(sA=document.createElement("a")),sA.href=e,A===sA.href)}function gn(A){return Object.keys(A).length===0}function ye(A,...e){if(A==null){for(const f of e)f(void 0);return X}const n=A.subscribe(...e);return n.unsubscribe?()=>n.unsubscribe():n}function En(A,e,n){A.$$.on_destroy.push(ye(e,n))}function gA(A,e,n,f){if(A){const t=Xe(A,e,n,f);return A[0](t)}}function Xe(A,e,n,f){return A[1]&&f?vn(n.ctx.slice(),A[1](f(e))):n.ctx}function EA(A,e,n,f){if(A[2]&&f){const t=A[2](f(n));if(e.dirty===void 0)return t;if(typeof t=="object"){const r=[],i=Math.max(e.dirty.length,t.length);for(let w=0;w<i;w+=1)r[w]=e.dirty[w]|t[w];return r}return e.dirty|t}return e.dirty}function oA(A,e,n,f,t,r){if(t){const i=Xe(e,n,f,r);A.p(i,t)}}function hA(A){if(A.ctx.length>32){const e=[],n=A.ctx.length/32;for(let f=0;f<n;f++)e[f]=-1;return e}return-1}function j(A,e){A.appendChild(e)}function on(A,e,n){const f=hn(A);if(!f.getElementById(e)){const t=z("style");t.id=e,t.textContent=n,Cn(f,t)}}function hn(A){if(!A)return document;const e=A.getRootNode?A.getRootNode():A.ownerDocument;return e&&e.host?e:A.ownerDocument}function Cn(A,e){return j(A.head||A,e),e.sheet}function O(A,e,n){A.insertBefore(e,n||null)}function Q(A){A.parentNode&&A.parentNode.removeChild(A)}function z(A){return document.createElement(A)}function iA(A){return document.createTextNode(A)}function dA(){return iA(" ")}function Bn(){return iA("")}function an(A,e,n,f){return A.addEventListener(e,n,f),()=>A.removeEventListener(e,n,f)}function N(A,e,n){n==null?A.removeAttribute(e):A.getAttribute(e)!==n&&A.setAttribute(e,n)}function R(A,e,n){const f=e.toLowerCase();f in A?A[f]=typeof A[f]=="boolean"&&n===""?!0:n:e in A?A[e]=typeof A[e]=="boolean"&&n===""?!0:n:N(A,e,n)}function un(A){return Array.from(A.childNodes)}function ZA(A,e){e=""+e,A.data!==e&&(A.data=e)}function cn(A){const e={};return A.childNodes.forEach(n=>{e[n.slot||"default"]=!0}),e}let VA;function fA(A){VA=A}const S=[],OA=[];let U=[];const re=[],xn=Promise.resolve();let mA=!1;function Dn(){mA||(mA=!0,xn.then(M))}function RA(A){U.push(A)}const yA=new Set;let Y=0;function M(){if(Y!==0)return;const A=VA;do{try{for(;Y<S.length;){const e=S[Y];Y++,fA(e),ln(e.$$)}}catch(e){throw S.length=0,Y=0,e}for(fA(null),S.length=0,Y=0;OA.length;)OA.pop()();for(let e=0;e<U.length;e+=1){const n=U[e];yA.has(n)||(yA.add(n),n())}U.length=0}while(S.length);for(;re.length;)re.pop()();mA=!1,yA.clear(),fA(A)}function ln(A){if(A.fragment!==null){A.update(),_(A.before_update);const e=A.dirty;A.dirty=[-1],A.fragment&&A.fragment.p(A.ctx,e),A.after_update.forEach(RA)}}function In(A){const e=[],n=[];U.forEach(f=>A.indexOf(f)===-1?e.push(f):n.push(f)),n.forEach(f=>f()),U=e}const CA=new Set;let p;function Hn(){p={r:0,c:[],p}}function Tn(){p.r||_(p.c),p=p.p}function F(A,e){A&&A.i&&(CA.delete(A),A.i(e))}function K(A,e,n,f){if(A&&A.o){if(CA.has(A))return;CA.add(A),p.c.push(()=>{CA.delete(A),f&&(n&&A.d(1),f())}),A.o(e)}else f&&f()}function Ln(A,e,n){const{fragment:f,after_update:t}=A.$$;f&&f.m(e,n),RA(()=>{const r=A.$$.on_mount.map(be).filter(WA);A.$$.on_destroy?A.$$.on_destroy.push(...r):_(r),A.$$.on_mount=[]}),t.forEach(RA)}function bn(A,e){const n=A.$$;n.fragment!==null&&(In(n.after_update),_(n.on_destroy),n.fragment&&n.fragment.d(e),n.on_destroy=n.fragment=null,n.ctx=[])}function dn(A,e){A.$$.dirty[0]===-1&&(S.push(A),Dn(),A.$$.dirty.fill(0)),A.$$.dirty[e/31|0]|=1<<e%31}function yn(A,e,n,f,t,r,i=null,w=[-1]){const s=VA;fA(A);const P=A.$$={fragment:null,ctx:[],props:r,update:X,not_equal:t,bound:te(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(s?s.$$.context:[])),callbacks:te(),dirty:w,skip_bound:!1,root:e.target||s.$$.root};i&&i(P.root);let v=!1;if(P.ctx=n?n(A,e.props||{},(E,g,...C)=>{const c=C.length?C[0]:g;return P.ctx&&t(P.ctx[E],P.ctx[E]=c)&&(!P.skip_bound&&P.bound[E]&&P.bound[E](c),v&&dn(A,E)),g}):[],P.update(),v=!0,_(P.before_update),P.fragment=f?f(P.ctx):!1,e.target){if(e.hydrate){const E=un(e.target);P.fragment&&P.fragment.l(E),E.forEach(Q)}else P.fragment&&P.fragment.c();e.intro&&F(A.$$.fragment),Ln(A,e.target,e.anchor),M()}fA(s)}let ze;typeof HTMLElement=="function"&&(ze=class extends HTMLElement{constructor(e,n,f){super();b(this,"$$ctor");b(this,"$$s");b(this,"$$c");b(this,"$$cn",!1);b(this,"$$d",{});b(this,"$$r",!1);b(this,"$$p_d",{});b(this,"$$l",{});b(this,"$$l_u",new Map);this.$$ctor=e,this.$$s=n,f&&this.attachShadow({mode:"open"})}addEventListener(e,n,f){if(this.$$l[e]=this.$$l[e]||[],this.$$l[e].push(n),this.$$c){const t=this.$$c.$on(e,n);this.$$l_u.set(n,t)}super.addEventListener(e,n,f)}removeEventListener(e,n,f){if(super.removeEventListener(e,n,f),this.$$c){const t=this.$$l_u.get(n);t&&(t(),this.$$l_u.delete(n))}}connectedCallback(){return fe(this,null,function*(){if(this.$$cn=!0,!this.$$c){let e=function(r){return()=>{let i;return{c:function(){i=z("slot"),r!=="default"&&N(i,"name",r)},m:function(P,v){O(P,i,v)},d:function(P){P&&Q(i)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const n={},f=cn(this);for(const r of this.$$s)r in f&&(n[r]=[e(r)]);for(const r of this.attributes){const i=this.$$g_p(r.name);i in this.$$d||(this.$$d[i]=BA(i,r.value,this.$$p_d,"toProp"))}for(const r in this.$$p_d)!(r in this.$$d)&&this[r]!==void 0&&(this.$$d[r]=this[r],delete this[r]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:ne(ee({},this.$$d),{$$slots:n,$$scope:{ctx:[]}})});const t=()=>{this.$$r=!0;for(const r in this.$$p_d)if(this.$$d[r]=this.$$c.$$.ctx[this.$$c.$$.props[r]],this.$$p_d[r].reflect){const i=BA(r,this.$$d[r],this.$$p_d,"toAttribute");i==null?this.removeAttribute(this.$$p_d[r].attribute||r):this.setAttribute(this.$$p_d[r].attribute||r,i)}this.$$r=!1};this.$$c.$$.after_update.push(t),t();for(const r in this.$$l)for(const i of this.$$l[r]){const w=this.$$c.$on(r,i);this.$$l_u.set(i,w)}this.$$l={}}})}attributeChangedCallback(e,n,f){var t;this.$$r||(e=this.$$g_p(e),this.$$d[e]=BA(e,f,this.$$p_d,"toProp"),(t=this.$$c)==null||t.$set({[e]:this.$$d[e]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$c=void 0)})}$$g_p(e){return Object.keys(this.$$p_d).find(n=>this.$$p_d[n].attribute===e||!this.$$p_d[n].attribute&&n.toLowerCase()===e)||e}});function BA(A,e,n,f){var r;const t=(r=n[A])==null?void 0:r.type;if(e=t==="Boolean"&&typeof e!="boolean"?e!=null:e,!f||!n[A])return e;if(f==="toAttribute")switch(t){case"Object":case"Array":return e==null?null:JSON.stringify(e);case"Boolean":return e?"":null;case"Number":return e==null?null:e;default:return e}else switch(t){case"Object":case"Array":return e&&JSON.parse(e);case"Boolean":return e;case"Number":return e!=null?+e:e;default:return e}}function Xn(A,e,n,f,t,r){let i=class extends ze{constructor(){super(A,n,t),this.$$p_d=e}static get observedAttributes(){return Object.keys(e).map(w=>(e[w].attribute||w).toLowerCase())}};return Object.keys(e).forEach(w=>{Object.defineProperty(i.prototype,w,{get(){return this.$$c&&w in this.$$c?this.$$c[w]:this.$$d[w]},set(s){var P;s=BA(w,s,e),this.$$d[w]=s,(P=this.$$c)==null||P.$set({[w]:s})}})}),f.forEach(w=>{Object.defineProperty(i.prototype,w,{get(){var s;return(s=this.$$c)==null?void 0:s[w]}})}),A.element=i,i}class zn{constructor(){b(this,"$$");b(this,"$$set")}$destroy(){bn(this,1),this.$destroy=X}$on(e,n){if(!WA(n))return X;const f=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return f.push(n),()=>{const t=f.indexOf(n);t!==-1&&f.splice(t,1)}}$set(e){this.$$set&&!gn(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}const Mn="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(Mn);const k=[];function jn(A,e){return{subscribe:IA(A,e).subscribe}}function IA(A,e=X){let n;const f=new Set;function t(w){if(de(A,w)&&(A=w,n)){const s=!k.length;for(const P of f)P[1](),k.push(P,A);if(s){for(let P=0;P<k.length;P+=2)k[P][0](k[P+1]);k.length=0}}}function r(w){t(w(A))}function i(w,s=X){const P=[w,s];return f.add(P),f.size===1&&(n=e(t,r)||X),w(A),()=>{f.delete(P),f.size===0&&n&&(n(),n=null)}}return{set:t,update:r,subscribe:i}}function $(A,e,n){const f=!Array.isArray(A),t=f?[A]:A;if(!t.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const r=e.length<2;return jn(n,(i,w)=>{let s=!1;const P=[];let v=0,E=X;const g=()=>{if(v)return;E();const c=e(f?P[0]:P,i,w);r?i(c):E=WA(c)?c:X},C=t.map((c,x)=>ye(c,u=>{P[x]=u,v&=~(1<<x),s&&g()},()=>{v|=1<<x}));return s=!0,g(),function(){_(C),E(),s=!1}})}function Qn(A){return A&&A.__esModule&&Object.prototype.hasOwnProperty.call(A,"default")?A.default:A}var Fn=function(e){return Jn(e)&&!On(e)};function Jn(A){return!!A&&typeof A=="object"}function On(A){var e=Object.prototype.toString.call(A);return e==="[object RegExp]"||e==="[object Date]"||pn(A)}var mn=typeof Symbol=="function"&&Symbol.for,Rn=mn?Symbol.for("react.element"):60103;function pn(A){return A.$$typeof===Rn}function Nn(A){return Array.isArray(A)?[]:{}}function tA(A,e){return e.clone!==!1&&e.isMergeableObject(A)?W(Nn(A),A,e):A}function Gn(A,e,n){return A.concat(e).map(function(f){return tA(f,n)})}function Yn(A,e){if(!e.customMerge)return W;var n=e.customMerge(A);return typeof n=="function"?n:W}function kn(A){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(A).filter(function(e){return Object.propertyIsEnumerable.call(A,e)}):[]}function ie(A){return Object.keys(A).concat(kn(A))}function Me(A,e){try{return e in A}catch(n){return!1}}function Sn(A,e){return Me(A,e)&&!(Object.hasOwnProperty.call(A,e)&&Object.propertyIsEnumerable.call(A,e))}function Kn(A,e,n){var f={};return n.isMergeableObject(A)&&ie(A).forEach(function(t){f[t]=tA(A[t],n)}),ie(e).forEach(function(t){Sn(A,t)||(Me(A,t)&&n.isMergeableObject(e[t])?f[t]=Yn(t,n)(A[t],e[t],n):f[t]=tA(e[t],n))}),f}function W(A,e,n){n=n||{},n.arrayMerge=n.arrayMerge||Gn,n.isMergeableObject=n.isMergeableObject||Fn,n.cloneUnlessOtherwiseSpecified=tA;var f=Array.isArray(e),t=Array.isArray(A),r=f===t;return r?f?n.arrayMerge(A,e,n):Kn(A,e,n):tA(e,n)}W.all=function(e,n){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce(function(f,t){return W(f,t,n)},{})};var Un=W,Wn=Un;const Zn=Qn(Wn);var pA=function(A,e){return pA=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,f){n.__proto__=f}||function(n,f){for(var t in f)Object.prototype.hasOwnProperty.call(f,t)&&(n[t]=f[t])},pA(A,e)};function HA(A,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");pA(A,e);function n(){this.constructor=A}A.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}var y=function(){return y=Object.assign||function(e){for(var n,f=1,t=arguments.length;f<t;f++){n=arguments[f];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},y.apply(this,arguments)};function Vn(A,e){var n={};for(var f in A)Object.prototype.hasOwnProperty.call(A,f)&&e.indexOf(f)<0&&(n[f]=A[f]);if(A!=null&&typeof Object.getOwnPropertySymbols=="function")for(var t=0,f=Object.getOwnPropertySymbols(A);t<f.length;t++)e.indexOf(f[t])<0&&Object.prototype.propertyIsEnumerable.call(A,f[t])&&(n[f[t]]=A[f[t]]);return n}function XA(A,e,n){if(n||arguments.length===2)for(var f=0,t=e.length,r;f<t;f++)(r||!(f in e))&&(r||(r=Array.prototype.slice.call(e,0,f)),r[f]=e[f]);return A.concat(r||Array.prototype.slice.call(e))}function zA(A,e){var n=e&&e.cache?e.cache:ff,f=e&&e.serializer?e.serializer:ef,t=e&&e.strategy?e.strategy:$n;return t(A,{cache:n,serializer:f})}function qn(A){return A==null||typeof A=="number"||typeof A=="boolean"}function _n(A,e,n,f){var t=qn(f)?f:n(f),r=e.get(t);return typeof r=="undefined"&&(r=A.call(this,f),e.set(t,r)),r}function je(A,e,n){var f=Array.prototype.slice.call(arguments,3),t=n(f),r=e.get(t);return typeof r=="undefined"&&(r=A.apply(this,f),e.set(t,r)),r}function Qe(A,e,n,f,t){return n.bind(e,A,f,t)}function $n(A,e){var n=A.length===1?_n:je;return Qe(A,this,n,e.cache.create(),e.serializer)}function Af(A,e){return Qe(A,this,je,e.cache.create(),e.serializer)}var ef=function(){return JSON.stringify(arguments)},nf=function(){function A(){this.cache=Object.create(null)}return A.prototype.get=function(e){return this.cache[e]},A.prototype.set=function(e,n){this.cache[e]=n},A}(),ff={create:function(){return new nf}},MA={variadic:Af},cA=function(){return cA=Object.assign||function(e){for(var n,f=1,t=arguments.length;f<t;f++){n=arguments[f];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},cA.apply(this,arguments)};var B;(function(A){A[A.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",A[A.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",A[A.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",A[A.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",A[A.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",A[A.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",A[A.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",A[A.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",A[A.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",A[A.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",A[A.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",A[A.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",A[A.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",A[A.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",A[A.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",A[A.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",A[A.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",A[A.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",A[A.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",A[A.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",A[A.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",A[A.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",A[A.INVALID_TAG=23]="INVALID_TAG",A[A.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",A[A.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",A[A.UNCLOSED_TAG=27]="UNCLOSED_TAG"})(B||(B={}));var l;(function(A){A[A.literal=0]="literal",A[A.argument=1]="argument",A[A.number=2]="number",A[A.date=3]="date",A[A.time=4]="time",A[A.select=5]="select",A[A.plural=6]="plural",A[A.pound=7]="pound",A[A.tag=8]="tag"})(l||(l={}));var Z;(function(A){A[A.number=0]="number",A[A.dateTime=1]="dateTime"})(Z||(Z={}));function we(A){return A.type===l.literal}function tf(A){return A.type===l.argument}function Fe(A){return A.type===l.number}function Je(A){return A.type===l.date}function Oe(A){return A.type===l.time}function me(A){return A.type===l.select}function Re(A){return A.type===l.plural}function rf(A){return A.type===l.pound}function pe(A){return A.type===l.tag}function Ne(A){return!!(A&&typeof A=="object"&&A.type===Z.number)}function NA(A){return!!(A&&typeof A=="object"&&A.type===Z.dateTime)}var Ge=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,wf=/(?:[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 Pf(A){var e={};return A.replace(wf,function(n){var f=n.length;switch(n[0]){case"G":e.era=f===4?"long":f===5?"narrow":"short";break;case"y":e.year=f===2?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":e.month=["numeric","2-digit","short","long","narrow"][f-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":e.day=["numeric","2-digit"][f-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":e.weekday=f===4?"long":f===5?"narrow":"short";break;case"e":if(f<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");e.weekday=["short","long","narrow","short"][f-4];break;case"c":if(f<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");e.weekday=["short","long","narrow","short"][f-4];break;case"a":e.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":e.hourCycle="h12",e.hour=["numeric","2-digit"][f-1];break;case"H":e.hourCycle="h23",e.hour=["numeric","2-digit"][f-1];break;case"K":e.hourCycle="h11",e.hour=["numeric","2-digit"][f-1];break;case"k":e.hourCycle="h24",e.hour=["numeric","2-digit"][f-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":e.minute=["numeric","2-digit"][f-1];break;case"s":e.second=["numeric","2-digit"][f-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":e.timeZoneName=f<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),e}var I=function(){return I=Object.assign||function(e){for(var n,f=1,t=arguments.length;f<t;f++){n=arguments[f];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},I.apply(this,arguments)};var sf=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function vf(A){if(A.length===0)throw new Error("Number skeleton cannot be empty");for(var e=A.split(sf).filter(function(g){return g.length>0}),n=[],f=0,t=e;f<t.length;f++){var r=t[f],i=r.split("/");if(i.length===0)throw new Error("Invalid number skeleton");for(var w=i[0],s=i.slice(1),P=0,v=s;P<v.length;P++){var E=v[P];if(E.length===0)throw new Error("Invalid number skeleton")}n.push({stem:w,options:s})}return n}function gf(A){return A.replace(/^(.*?)-/,"")}var Pe=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Ye=/^(@+)?(\+|#+)?[rs]?$/g,Ef=/(\*)(0+)|(#+)(0+)|(0+)/g,ke=/^(0+)$/;function se(A){var e={};return A[A.length-1]==="r"?e.roundingPriority="morePrecision":A[A.length-1]==="s"&&(e.roundingPriority="lessPrecision"),A.replace(Ye,function(n,f,t){return typeof t!="string"?(e.minimumSignificantDigits=f.length,e.maximumSignificantDigits=f.length):t==="+"?e.minimumSignificantDigits=f.length:f[0]==="#"?e.maximumSignificantDigits=f.length:(e.minimumSignificantDigits=f.length,e.maximumSignificantDigits=f.length+(typeof t=="string"?t.length:0)),""}),e}function Se(A){switch(A){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function of(A){var e;if(A[0]==="E"&&A[1]==="E"?(e={notation:"engineering"},A=A.slice(2)):A[0]==="E"&&(e={notation:"scientific"},A=A.slice(1)),e){var n=A.slice(0,2);if(n==="+!"?(e.signDisplay="always",A=A.slice(2)):n==="+?"&&(e.signDisplay="exceptZero",A=A.slice(2)),!ke.test(A))throw new Error("Malformed concise eng/scientific notation");e.minimumIntegerDigits=A.length}return e}function ve(A){var e={},n=Se(A);return n||e}function hf(A){for(var e={},n=0,f=A;n<f.length;n++){var t=f[n];switch(t.stem){case"percent":case"%":e.style="percent";continue;case"%x100":e.style="percent",e.scale=100;continue;case"currency":e.style="currency",e.currency=t.options[0];continue;case"group-off":case",_":e.useGrouping=!1;continue;case"precision-integer":case".":e.maximumFractionDigits=0;continue;case"measure-unit":case"unit":e.style="unit",e.unit=gf(t.options[0]);continue;case"compact-short":case"K":e.notation="compact",e.compactDisplay="short";continue;case"compact-long":case"KK":e.notation="compact",e.compactDisplay="long";continue;case"scientific":e=I(I(I({},e),{notation:"scientific"}),t.options.reduce(function(s,P){return I(I({},s),ve(P))},{}));continue;case"engineering":e=I(I(I({},e),{notation:"engineering"}),t.options.reduce(function(s,P){return I(I({},s),ve(P))},{}));continue;case"notation-simple":e.notation="standard";continue;case"unit-width-narrow":e.currencyDisplay="narrowSymbol",e.unitDisplay="narrow";continue;case"unit-width-short":e.currencyDisplay="code",e.unitDisplay="short";continue;case"unit-width-full-name":e.currencyDisplay="name",e.unitDisplay="long";continue;case"unit-width-iso-code":e.currencyDisplay="symbol";continue;case"scale":e.scale=parseFloat(t.options[0]);continue;case"rounding-mode-floor":e.roundingMode="floor";continue;case"rounding-mode-ceiling":e.roundingMode="ceil";continue;case"rounding-mode-down":e.roundingMode="trunc";continue;case"rounding-mode-up":e.roundingMode="expand";continue;case"rounding-mode-half-even":e.roundingMode="halfEven";continue;case"rounding-mode-half-down":e.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":e.roundingMode="halfExpand";continue;case"integer-width":if(t.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");t.options[0].replace(Ef,function(s,P,v,E,g,C){if(P)e.minimumIntegerDigits=v.length;else{if(E&&g)throw new Error("We currently do not support maximum integer digits");if(C)throw new Error("We currently do not support exact integer digits")}return""});continue}if(ke.test(t.stem)){e.minimumIntegerDigits=t.stem.length;continue}if(Pe.test(t.stem)){if(t.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");t.stem.replace(Pe,function(s,P,v,E,g,C){return v==="*"?e.minimumFractionDigits=P.length:E&&E[0]==="#"?e.maximumFractionDigits=E.length:g&&C?(e.minimumFractionDigits=g.length,e.maximumFractionDigits=g.length+C.length):(e.minimumFractionDigits=P.length,e.maximumFractionDigits=P.length),""});var r=t.options[0];r==="w"?e=I(I({},e),{trailingZeroDisplay:"stripIfInteger"}):r&&(e=I(I({},e),se(r)));continue}if(Ye.test(t.stem)){e=I(I({},e),se(t.stem));continue}var i=Se(t.stem);i&&(e=I(I({},e),i));var w=of(t.stem);w&&(e=I(I({},e),w))}return e}var vA={"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 Cf(A,e){for(var n="",f=0;f<A.length;f++){var t=A.charAt(f);if(t==="j"){for(var r=0;f+1<A.length&&A.charAt(f+1)===t;)r++,f++;var i=1+(r&1),w=r<2?1:3+(r>>1),s="a",P=Bf(e);for((P=="H"||P=="k")&&(w=0);w-- >0;)n+=s;for(;i-- >0;)n=P+n}else t==="J"?n+="H":n+=t}return n}function Bf(A){var e=A.hourCycle;if(e===void 0&&A.hourCycles&&A.hourCycles.length&&(e=A.hourCycles[0]),e)switch(e){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var n=A.language,f;n!=="root"&&(f=A.maximize().region);var t=vA[f||""]||vA[n||""]||vA["".concat(n,"-001")]||vA["001"];return t[0]}var jA,af=new RegExp("^".concat(Ge.source,"*")),uf=new RegExp("".concat(Ge.source,"*$"));function a(A,e){return{start:A,end:e}}var cf=!!String.prototype.startsWith&&"_a".startsWith("a",1),xf=!!String.fromCodePoint,Df=!!Object.fromEntries,lf=!!String.prototype.codePointAt,If=!!String.prototype.trimStart,Hf=!!String.prototype.trimEnd,Tf=!!Number.isSafeInteger,Lf=Tf?Number.isSafeInteger:function(A){return typeof A=="number"&&isFinite(A)&&Math.floor(A)===A&&Math.abs(A)<=9007199254740991},GA=!0;try{var bf=Ue("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");GA=((jA=bf.exec("a"))===null||jA===void 0?void 0:jA[0])==="a"}catch(A){GA=!1}var ge=cf?function(e,n,f){return e.startsWith(n,f)}:function(e,n,f){return e.slice(f,f+n.length)===n},YA=xf?String.fromCodePoint:function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];for(var f="",t=e.length,r=0,i;t>r;){if(i=e[r++],i>1114111)throw RangeError(i+" is not a valid code point");f+=i<65536?String.fromCharCode(i):String.fromCharCode(((i-=65536)>>10)+55296,i%1024+56320)}return f},Ee=Df?Object.fromEntries:function(e){for(var n={},f=0,t=e;f<t.length;f++){var r=t[f],i=r[0],w=r[1];n[i]=w}return n},Ke=lf?function(e,n){return e.codePointAt(n)}:function(e,n){var f=e.length;if(!(n<0||n>=f)){var t=e.charCodeAt(n),r;return t<55296||t>56319||n+1===f||(r=e.charCodeAt(n+1))<56320||r>57343?t:(t-55296<<10)+(r-56320)+65536}},df=If?function(e){return e.trimStart()}:function(e){return e.replace(af,"")},yf=Hf?function(e){return e.trimEnd()}:function(e){return e.replace(uf,"")};function Ue(A,e){return new RegExp(A,e)}var kA;if(GA){var oe=Ue("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");kA=function(e,n){var f;oe.lastIndex=n;var t=oe.exec(e);return(f=t[1])!==null&&f!==void 0?f:""}}else kA=function(e,n){for(var f=[];;){var t=Ke(e,n);if(t===void 0||We(t)||jf(t))break;f.push(t),n+=t>=65536?2:1}return YA.apply(void 0,f)};var Xf=function(){function A(e,n){n===void 0&&(n={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!n.ignoreTag,this.locale=n.locale,this.requiresOtherClause=!!n.requiresOtherClause,this.shouldParseSkeletons=!!n.shouldParseSkeletons}return A.prototype.parse=function(){if(this.offset()!==0)throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},A.prototype.parseMessage=function(e,n,f){for(var t=[];!this.isEOF();){var r=this.char();if(r===123){var i=this.parseArgument(e,f);if(i.err)return i;t.push(i.val)}else{if(r===125&&e>0)break;if(r===35&&(n==="plural"||n==="selectordinal")){var w=this.clonePosition();this.bump(),t.push({type:l.pound,location:a(w,this.clonePosition())})}else if(r===60&&!this.ignoreTag&&this.peek()===47){if(f)break;return this.error(B.UNMATCHED_CLOSING_TAG,a(this.clonePosition(),this.clonePosition()))}else if(r===60&&!this.ignoreTag&&SA(this.peek()||0)){var i=this.parseTag(e,n);if(i.err)return i;t.push(i.val)}else{var i=this.parseLiteral(e,n);if(i.err)return i;t.push(i.val)}}}return{val:t,err:null}},A.prototype.parseTag=function(e,n){var f=this.clonePosition();this.bump();var t=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:l.literal,value:"<".concat(t,"/>"),location:a(f,this.clonePosition())},err:null};if(this.bumpIf(">")){var r=this.parseMessage(e+1,n,!0);if(r.err)return r;var i=r.val,w=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!SA(this.char()))return this.error(B.INVALID_TAG,a(w,this.clonePosition()));var s=this.clonePosition(),P=this.parseTagName();return t!==P?this.error(B.UNMATCHED_CLOSING_TAG,a(s,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:l.tag,value:t,children:i,location:a(f,this.clonePosition())},err:null}:this.error(B.INVALID_TAG,a(w,this.clonePosition())))}else return this.error(B.UNCLOSED_TAG,a(f,this.clonePosition()))}else return this.error(B.INVALID_TAG,a(f,this.clonePosition()))},A.prototype.parseTagName=function(){var e=this.offset();for(this.bump();!this.isEOF()&&Mf(this.char());)this.bump();return this.message.slice(e,this.offset())},A.prototype.parseLiteral=function(e,n){for(var f=this.clonePosition(),t="";;){var r=this.tryParseQuote(n);if(r){t+=r;continue}var i=this.tryParseUnquoted(e,n);if(i){t+=i;continue}var w=this.tryParseLeftAngleBracket();if(w){t+=w;continue}break}var s=a(f,this.clonePosition());return{val:{type:l.literal,value:t,location:s},err:null}},A.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!zf(this.peek()||0))?(this.bump(),"<"):null},A.prototype.tryParseQuote=function(e){if(this.isEOF()||this.char()!==39)return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if(e==="plural"||e==="selectordinal")break;return null;default:return null}this.bump();var n=[this.char()];for(this.bump();!this.isEOF();){var f=this.char();if(f===39)if(this.peek()===39)n.push(39),this.bump();else{this.bump();break}else n.push(f);this.bump()}return YA.apply(void 0,n)},A.prototype.tryParseUnquoted=function(e,n){if(this.isEOF())return null;var f=this.char();return f===60||f===123||f===35&&(n==="plural"||n==="selectordinal")||f===125&&e>0?null:(this.bump(),YA(f))},A.prototype.parseArgument=function(e,n){var f=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(B.EXPECT_ARGUMENT_CLOSING_BRACE,a(f,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(B.EMPTY_ARGUMENT,a(f,this.clonePosition()));var t=this.parseIdentifierIfPossible().value;if(!t)return this.error(B.MALFORMED_ARGUMENT,a(f,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(B.EXPECT_ARGUMENT_CLOSING_BRACE,a(f,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:l.argument,value:t,location:a(f,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(B.EXPECT_ARGUMENT_CLOSING_BRACE,a(f,this.clonePosition())):this.parseArgumentOptions(e,n,t,f);default:return this.error(B.MALFORMED_ARGUMENT,a(f,this.clonePosition()))}},A.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),n=this.offset(),f=kA(this.message,n),t=n+f.length;this.bumpTo(t);var r=this.clonePosition(),i=a(e,r);return{value:f,location:i}},A.prototype.parseArgumentOptions=function(e,n,f,t){var r,i=this.clonePosition(),w=this.parseIdentifierIfPossible().value,s=this.clonePosition();switch(w){case"":return this.error(B.EXPECT_ARGUMENT_TYPE,a(i,s));case"number":case"date":case"time":{this.bumpSpace();var P=null;if(this.bumpIf(",")){this.bumpSpace();var v=this.clonePosition(),E=this.parseSimpleArgStyleIfPossible();if(E.err)return E;var g=yf(E.val);if(g.length===0)return this.error(B.EXPECT_ARGUMENT_STYLE,a(this.clonePosition(),this.clonePosition()));var C=a(v,this.clonePosition());P={style:g,styleLocation:C}}var c=this.tryParseArgumentClose(t);if(c.err)return c;var x=a(t,this.clonePosition());if(P&&ge(P==null?void 0:P.style,"::",0)){var u=df(P.style.slice(2));if(w==="number"){var E=this.parseNumberSkeletonFromString(u,P.styleLocation);return E.err?E:{val:{type:l.number,value:f,location:x,style:E.val},err:null}}else{if(u.length===0)return this.error(B.EXPECT_DATE_TIME_SKELETON,x);var o=u;this.locale&&(o=Cf(u,this.locale));var g={type:Z.dateTime,pattern:o,location:P.styleLocation,parsedOptions:this.shouldParseSkeletons?Pf(o):{}},D=w==="date"?l.date:l.time;return{val:{type:D,value:f,location:x,style:g},err:null}}}return{val:{type:w==="number"?l.number:w==="date"?l.date:l.time,value:f,location:x,style:(r=P==null?void 0:P.style)!==null&&r!==void 0?r:null},err:null}}case"plural":case"selectordinal":case"select":{var L=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(B.EXPECT_SELECT_ARGUMENT_OPTIONS,a(L,cA({},L)));this.bumpSpace();var h=this.parseIdentifierIfPossible(),H=0;if(w!=="select"&&h.value==="offset"){if(!this.bumpIf(":"))return this.error(B.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,a(this.clonePosition(),this.clonePosition()));this.bumpSpace();var E=this.tryParseDecimalInteger(B.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,B.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(E.err)return E;this.bumpSpace(),h=this.parseIdentifierIfPossible(),H=E.val}var d=this.tryParsePluralOrSelectOptions(e,w,n,h);if(d.err)return d;var c=this.tryParseArgumentClose(t);if(c.err)return c;var $A=a(t,this.clonePosition());return w==="select"?{val:{type:l.select,value:f,options:Ee(d.val),location:$A},err:null}:{val:{type:l.plural,value:f,options:Ee(d.val),offset:H,pluralType:w==="plural"?"cardinal":"ordinal",location:$A},err:null}}default:return this.error(B.INVALID_ARGUMENT_TYPE,a(i,s))}},A.prototype.tryParseArgumentClose=function(e){return this.isEOF()||this.char()!==125?this.error(B.EXPECT_ARGUMENT_CLOSING_BRACE,a(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},A.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,n=this.clonePosition();!this.isEOF();){var f=this.char();switch(f){case 39:{this.bump();var t=this.clonePosition();if(!this.bumpUntil("'"))return this.error(B.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,a(t,this.clonePosition()));this.bump();break}case 123:{e+=1,this.bump();break}case 125:{if(e>0)e-=1;else return{val:this.message.slice(n.offset,this.offset()),err:null};break}default:this.bump();break}}return{val:this.message.slice(n.offset,this.offset()),err:null}},A.prototype.parseNumberSkeletonFromString=function(e,n){var f=[];try{f=vf(e)}catch(t){return this.error(B.INVALID_NUMBER_SKELETON,n)}return{val:{type:Z.number,tokens:f,location:n,parsedOptions:this.shouldParseSkeletons?hf(f):{}},err:null}},A.prototype.tryParsePluralOrSelectOptions=function(e,n,f,t){for(var r,i=!1,w=[],s=new Set,P=t.value,v=t.location;;){if(P.length===0){var E=this.clonePosition();if(n!=="select"&&this.bumpIf("=")){var g=this.tryParseDecimalInteger(B.EXPECT_PLURAL_ARGUMENT_SELECTOR,B.INVALID_PLURAL_ARGUMENT_SELECTOR);if(g.err)return g;v=a(E,this.clonePosition()),P=this.message.slice(E.offset,this.offset())}else break}if(s.has(P))return this.error(n==="select"?B.DUPLICATE_SELECT_ARGUMENT_SELECTOR:B.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,v);P==="other"&&(i=!0),this.bumpSpace();var C=this.clonePosition();if(!this.bumpIf("{"))return this.error(n==="select"?B.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:B.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,a(this.clonePosition(),this.clonePosition()));var c=this.parseMessage(e+1,n,f);if(c.err)return c;var x=this.tryParseArgumentClose(C);if(x.err)return x;w.push([P,{value:c.val,location:a(C,this.clonePosition())}]),s.add(P),this.bumpSpace(),r=this.parseIdentifierIfPossible(),P=r.value,v=r.location}return w.length===0?this.error(n==="select"?B.EXPECT_SELECT_ARGUMENT_SELECTOR:B.EXPECT_PLURAL_ARGUMENT_SELECTOR,a(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!i?this.error(B.MISSING_OTHER_CLAUSE,a(this.clonePosition(),this.clonePosition())):{val:w,err:null}},A.prototype.tryParseDecimalInteger=function(e,n){var f=1,t=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(f=-1);for(var r=!1,i=0;!this.isEOF();){var w=this.char();if(w>=48&&w<=57)r=!0,i=i*10+(w-48),this.bump();else break}var s=a(t,this.clonePosition());return r?(i*=f,Lf(i)?{val:i,err:null}:this.error(n,s)):this.error(e,s)},A.prototype.offset=function(){return this.position.offset},A.prototype.isEOF=function(){return this.offset()===this.message.length},A.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},A.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var n=Ke(this.message,e);if(n===void 0)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return n},A.prototype.error=function(e,n){return{val:null,err:{kind:e,message:this.message,location:n}}},A.prototype.bump=function(){if(!this.isEOF()){var e=this.char();e===10?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2)}},A.prototype.bumpIf=function(e){if(ge(this.message,e,this.offset())){for(var n=0;n<e.length;n++)this.bump();return!0}return!1},A.prototype.bumpUntil=function(e){var n=this.offset(),f=this.message.indexOf(e,n);return f>=0?(this.bumpTo(f),!0):(this.bumpTo(this.message.length),!1)},A.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset ".concat(e," must be greater than or equal to the current offset ").concat(this.offset()));for(e=Math.min(e,this.message.length);;){var n=this.offset();if(n===e)break;if(n>e)throw Error("targetOffset ".concat(e," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},A.prototype.bumpSpace=function(){for(;!this.isEOF()&&We(this.char());)this.bump()},A.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),n=this.offset(),f=this.message.charCodeAt(n+(e>=65536?2:1));return f!=null?f:null},A}();function SA(A){return A>=97&&A<=122||A>=65&&A<=90}function zf(A){return SA(A)||A===47}function Mf(A){return A===45||A===46||A>=48&&A<=57||A===95||A>=97&&A<=122||A>=65&&A<=90||A==183||A>=192&&A<=214||A>=216&&A<=246||A>=248&&A<=893||A>=895&&A<=8191||A>=8204&&A<=8205||A>=8255&&A<=8256||A>=8304&&A<=8591||A>=11264&&A<=12271||A>=12289&&A<=55295||A>=63744&&A<=64975||A>=65008&&A<=65533||A>=65536&&A<=983039}function We(A){return A>=9&&A<=13||A===32||A===133||A>=8206&&A<=8207||A===8232||A===8233}function jf(A){return A>=33&&A<=35||A===36||A>=37&&A<=39||A===40||A===41||A===42||A===43||A===44||A===45||A>=46&&A<=47||A>=58&&A<=59||A>=60&&A<=62||A>=63&&A<=64||A===91||A===92||A===93||A===94||A===96||A===123||A===124||A===125||A===126||A===161||A>=162&&A<=165||A===166||A===167||A===169||A===171||A===172||A===174||A===176||A===177||A===182||A===187||A===191||A===215||A===247||A>=8208&&A<=8213||A>=8214&&A<=8215||A===8216||A===8217||A===8218||A>=8219&&A<=8220||A===8221||A===8222||A===8223||A>=8224&&A<=8231||A>=8240&&A<=8248||A===8249||A===8250||A>=8251&&A<=8254||A>=8257&&A<=8259||A===8260||A===8261||A===8262||A>=8263&&A<=8273||A===8274||A===8275||A>=8277&&A<=8286||A>=8592&&A<=8596||A>=8597&&A<=8601||A>=8602&&A<=8603||A>=8604&&A<=8607||A===8608||A>=8609&&A<=8610||A===8611||A>=8612&&A<=8613||A===8614||A>=8615&&A<=8621||A===8622||A>=8623&&A<=8653||A>=8654&&A<=8655||A>=8656&&A<=8657||A===8658||A===8659||A===8660||A>=8661&&A<=8691||A>=8692&&A<=8959||A>=8960&&A<=8967||A===8968||A===8969||A===8970||A===8971||A>=8972&&A<=8991||A>=8992&&A<=8993||A>=8994&&A<=9e3||A===9001||A===9002||A>=9003&&A<=9083||A===9084||A>=9085&&A<=9114||A>=9115&&A<=9139||A>=9140&&A<=9179||A>=9180&&A<=9185||A>=9186&&A<=9254||A>=9255&&A<=9279||A>=9280&&A<=9290||A>=9291&&A<=9311||A>=9472&&A<=9654||A===9655||A>=9656&&A<=9664||A===9665||A>=9666&&A<=9719||A>=9720&&A<=9727||A>=9728&&A<=9838||A===9839||A>=9840&&A<=10087||A===10088||A===10089||A===10090||A===10091||A===10092||A===10093||A===10094||A===10095||A===10096||A===10097||A===10098||A===10099||A===10100||A===10101||A>=10132&&A<=10175||A>=10176&&A<=10180||A===10181||A===10182||A>=10183&&A<=10213||A===10214||A===10215||A===10216||A===10217||A===10218||A===10219||A===10220||A===10221||A===10222||A===10223||A>=10224&&A<=10239||A>=10240&&A<=10495||A>=10496&&A<=10626||A===10627||A===10628||A===10629||A===10630||A===10631||A===10632||A===10633||A===10634||A===10635||A===10636||A===10637||A===10638||A===10639||A===10640||A===10641||A===10642||A===10643||A===10644||A===10645||A===10646||A===10647||A===10648||A>=10649&&A<=10711||A===10712||A===10713||A===10714||A===10715||A>=10716&&A<=10747||A===10748||A===10749||A>=10750&&A<=11007||A>=11008&&A<=11055||A>=11056&&A<=11076||A>=11077&&A<=11078||A>=11079&&A<=11084||A>=11085&&A<=11123||A>=11124&&A<=11125||A>=11126&&A<=11157||A===11158||A>=11159&&A<=11263||A>=11776&&A<=11777||A===11778||A===11779||A===11780||A===11781||A>=11782&&A<=11784||A===11785||A===11786||A===11787||A===11788||A===11789||A>=11790&&A<=11798||A===11799||A>=11800&&A<=11801||A===11802||A===11803||A===11804||A===11805||A>=11806&&A<=11807||A===11808||A===11809||A===11810||A===11811||A===11812||A===11813||A===11814||A===11815||A===11816||A===11817||A>=11818&&A<=11822||A===11823||A>=11824&&A<=11833||A>=11834&&A<=11835||A>=11836&&A<=11839||A===11840||A===11841||A===11842||A>=11843&&A<=11855||A>=11856&&A<=11857||A===11858||A>=11859&&A<=11903||A>=12289&&A<=12291||A===12296||A===12297||A===12298||A===12299||A===12300||A===12301||A===12302||A===12303||A===12304||A===12305||A>=12306&&A<=12307||A===12308||A===12309||A===12310||A===12311||A===12312||A===12313||A===12314||A===12315||A===12316||A===12317||A>=12318&&A<=12319||A===12320||A===12336||A===64830||A===64831||A>=65093&&A<=65094}function KA(A){A.forEach(function(e){if(delete e.location,me(e)||Re(e))for(var n in e.options)delete e.options[n].location,KA(e.options[n].value);else Fe(e)&&Ne(e.style)||(Je(e)||Oe(e))&&NA(e.style)?delete e.style.location:pe(e)&&KA(e.children)})}function Qf(A,e){e===void 0&&(e={}),e=cA({shouldParseSkeletons:!0,requiresOtherClause:!0},e);var n=new Xf(A,e).parse();if(n.err){var f=SyntaxError(B[n.err.kind]);throw f.location=n.err.location,f.originalMessage=n.err.message,f}return e!=null&&e.captureLocation||KA(n.val),n.val}var V;(function(A){A.MISSING_VALUE="MISSING_VALUE",A.INVALID_VALUE="INVALID_VALUE",A.MISSING_INTL_API="MISSING_INTL_API"})(V||(V={}));var TA=function(A){HA(e,A);function e(n,f,t){var r=A.call(this,n)||this;return r.code=f,r.originalMessage=t,r}return e.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},e}(Error),he=function(A){HA(e,A);function e(n,f,t,r){return A.call(this,'Invalid values for "'.concat(n,'": "').concat(f,'". Options are "').concat(Object.keys(t).join('", "'),'"'),V.INVALID_VALUE,r)||this}return e}(TA),Ff=function(A){HA(e,A);function e(n,f,t){return A.call(this,'Value for "'.concat(n,'" must be of type ').concat(f),V.INVALID_VALUE,t)||this}return e}(TA),Jf=function(A){HA(e,A);function e(n,f){return A.call(this,'The intl string context variable "'.concat(n,'" was not provided to the string "').concat(f,'"'),V.MISSING_VALUE,f)||this}return e}(TA),T;(function(A){A[A.literal=0]="literal",A[A.object=1]="object"})(T||(T={}));function Of(A){return A.length<2?A:A.reduce(function(e,n){var f=e[e.length-1];return!f||f.type!==T.literal||n.type!==T.literal?e.push(n):f.value+=n.value,e},[])}function mf(A){return typeof A=="function"}function aA(A,e,n,f,t,r,i){if(A.length===1&&we(A[0]))return[{type:T.literal,value:A[0].value}];for(var w=[],s=0,P=A;s<P.length;s++){var v=P[s];if(we(v)){w.push({type:T.literal,value:v.value});continue}if(rf(v)){typeof r=="number"&&w.push({type:T.literal,value:n.getNumberFormat(e).format(r)});continue}var E=v.value;if(!(t&&E in t))throw new Jf(E,i);var g=t[E];if(tf(v)){(!g||typeof g=="string"||typeof g=="number")&&(g=typeof g=="string"||typeof g=="number"?String(g):""),w.push({type:typeof g=="string"?T.literal:T.object,value:g});continue}if(Je(v)){var C=typeof v.style=="string"?f.date[v.style]:NA(v.style)?v.style.parsedOptions:void 0;w.push({type:T.literal,value:n.getDateTimeFormat(e,C).format(g)});continue}if(Oe(v)){var C=typeof v.style=="string"?f.time[v.style]:NA(v.style)?v.style.parsedOptions:f.time.medium;w.push({type:T.literal,value:n.getDateTimeFormat(e,C).format(g)});continue}if(Fe(v)){var C=typeof v.style=="string"?f.number[v.style]:Ne(v.style)?v.style.parsedOptions:void 0;C&&C.scale&&(g=g*(C.scale||1)),w.push({type:T.literal,value:n.getNumberFormat(e,C).format(g)});continue}if(pe(v)){var c=v.children,x=v.value,u=t[x];if(!mf(u))throw new Ff(x,"function",i);var o=aA(c,e,n,f,t,r),D=u(o.map(function(H){return H.value}));Array.isArray(D)||(D=[D]),w.push.apply(w,D.map(function(H){return{type:typeof H=="string"?T.literal:T.object,value:H}}))}if(me(v)){var L=v.options[g]||v.options.other;if(!L)throw new he(v.value,g,Object.keys(v.options),i);w.push.apply(w,aA(L.value,e,n,f,t));continue}if(Re(v)){var L=v.options["=".concat(g)];if(!L){if(!Intl.PluralRules)throw new TA(`Intl.PluralRules is not available in this environment.
1
+ "use strict";var tn=Object.defineProperty,rn=Object.defineProperties;var wn=Object.getOwnPropertyDescriptors;var Ae=Object.getOwnPropertySymbols;var Pn=Object.prototype.hasOwnProperty,sn=Object.prototype.propertyIsEnumerable;var bA=(A,e,n)=>e in A?tn(A,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):A[e]=n,ee=(A,e)=>{for(var n in e||(e={}))Pn.call(e,n)&&bA(A,n,e[n]);if(Ae)for(var n of Ae(e))sn.call(e,n)&&bA(A,n,e[n]);return A},ne=(A,e)=>rn(A,wn(e));var b=(A,e,n)=>(bA(A,typeof e!="symbol"?e+"":e,n),n);var fe=(A,e,n)=>new Promise((f,t)=>{var r=s=>{try{w(n.next(s))}catch(P){t(P)}},i=s=>{try{w(n.throw(s))}catch(P){t(P)}},w=s=>s.done?f(s.value):Promise.resolve(s.value).then(r,i);w((n=n.apply(A,e)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("../stencil/ui-image-CpMjzwxS.cjs");function X(){}function vn(A,e){for(const n in e)A[n]=e[n];return A}function be(A){return A()}function te(){return Object.create(null)}function _(A){A.forEach(be)}function WA(A){return typeof A=="function"}function de(A,e){return A!=A?e==e:A!==e||A&&typeof A=="object"||typeof A=="function"}let sA;function JA(A,e){return A===e?!0:(sA||(sA=document.createElement("a")),sA.href=e,A===sA.href)}function gn(A){return Object.keys(A).length===0}function ye(A,...e){if(A==null){for(const f of e)f(void 0);return X}const n=A.subscribe(...e);return n.unsubscribe?()=>n.unsubscribe():n}function En(A,e,n){A.$$.on_destroy.push(ye(e,n))}function gA(A,e,n,f){if(A){const t=Xe(A,e,n,f);return A[0](t)}}function Xe(A,e,n,f){return A[1]&&f?vn(n.ctx.slice(),A[1](f(e))):n.ctx}function EA(A,e,n,f){if(A[2]&&f){const t=A[2](f(n));if(e.dirty===void 0)return t;if(typeof t=="object"){const r=[],i=Math.max(e.dirty.length,t.length);for(let w=0;w<i;w+=1)r[w]=e.dirty[w]|t[w];return r}return e.dirty|t}return e.dirty}function oA(A,e,n,f,t,r){if(t){const i=Xe(e,n,f,r);A.p(i,t)}}function hA(A){if(A.ctx.length>32){const e=[],n=A.ctx.length/32;for(let f=0;f<n;f++)e[f]=-1;return e}return-1}function j(A,e){A.appendChild(e)}function on(A,e,n){const f=hn(A);if(!f.getElementById(e)){const t=z("style");t.id=e,t.textContent=n,Cn(f,t)}}function hn(A){if(!A)return document;const e=A.getRootNode?A.getRootNode():A.ownerDocument;return e&&e.host?e:A.ownerDocument}function Cn(A,e){return j(A.head||A,e),e.sheet}function O(A,e,n){A.insertBefore(e,n||null)}function Q(A){A.parentNode&&A.parentNode.removeChild(A)}function z(A){return document.createElement(A)}function iA(A){return document.createTextNode(A)}function dA(){return iA(" ")}function Bn(){return iA("")}function an(A,e,n,f){return A.addEventListener(e,n,f),()=>A.removeEventListener(e,n,f)}function N(A,e,n){n==null?A.removeAttribute(e):A.getAttribute(e)!==n&&A.setAttribute(e,n)}function R(A,e,n){const f=e.toLowerCase();f in A?A[f]=typeof A[f]=="boolean"&&n===""?!0:n:e in A?A[e]=typeof A[e]=="boolean"&&n===""?!0:n:N(A,e,n)}function un(A){return Array.from(A.childNodes)}function ZA(A,e){e=""+e,A.data!==e&&(A.data=e)}function cn(A){const e={};return A.childNodes.forEach(n=>{e[n.slot||"default"]=!0}),e}let VA;function fA(A){VA=A}const S=[],OA=[];let U=[];const re=[],xn=Promise.resolve();let mA=!1;function Dn(){mA||(mA=!0,xn.then(M))}function RA(A){U.push(A)}const yA=new Set;let Y=0;function M(){if(Y!==0)return;const A=VA;do{try{for(;Y<S.length;){const e=S[Y];Y++,fA(e),ln(e.$$)}}catch(e){throw S.length=0,Y=0,e}for(fA(null),S.length=0,Y=0;OA.length;)OA.pop()();for(let e=0;e<U.length;e+=1){const n=U[e];yA.has(n)||(yA.add(n),n())}U.length=0}while(S.length);for(;re.length;)re.pop()();mA=!1,yA.clear(),fA(A)}function ln(A){if(A.fragment!==null){A.update(),_(A.before_update);const e=A.dirty;A.dirty=[-1],A.fragment&&A.fragment.p(A.ctx,e),A.after_update.forEach(RA)}}function In(A){const e=[],n=[];U.forEach(f=>A.indexOf(f)===-1?e.push(f):n.push(f)),n.forEach(f=>f()),U=e}const CA=new Set;let p;function Hn(){p={r:0,c:[],p}}function Tn(){p.r||_(p.c),p=p.p}function F(A,e){A&&A.i&&(CA.delete(A),A.i(e))}function K(A,e,n,f){if(A&&A.o){if(CA.has(A))return;CA.add(A),p.c.push(()=>{CA.delete(A),f&&(n&&A.d(1),f())}),A.o(e)}else f&&f()}function Ln(A,e,n){const{fragment:f,after_update:t}=A.$$;f&&f.m(e,n),RA(()=>{const r=A.$$.on_mount.map(be).filter(WA);A.$$.on_destroy?A.$$.on_destroy.push(...r):_(r),A.$$.on_mount=[]}),t.forEach(RA)}function bn(A,e){const n=A.$$;n.fragment!==null&&(In(n.after_update),_(n.on_destroy),n.fragment&&n.fragment.d(e),n.on_destroy=n.fragment=null,n.ctx=[])}function dn(A,e){A.$$.dirty[0]===-1&&(S.push(A),Dn(),A.$$.dirty.fill(0)),A.$$.dirty[e/31|0]|=1<<e%31}function yn(A,e,n,f,t,r,i=null,w=[-1]){const s=VA;fA(A);const P=A.$$={fragment:null,ctx:[],props:r,update:X,not_equal:t,bound:te(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(s?s.$$.context:[])),callbacks:te(),dirty:w,skip_bound:!1,root:e.target||s.$$.root};i&&i(P.root);let v=!1;if(P.ctx=n?n(A,e.props||{},(E,g,...C)=>{const c=C.length?C[0]:g;return P.ctx&&t(P.ctx[E],P.ctx[E]=c)&&(!P.skip_bound&&P.bound[E]&&P.bound[E](c),v&&dn(A,E)),g}):[],P.update(),v=!0,_(P.before_update),P.fragment=f?f(P.ctx):!1,e.target){if(e.hydrate){const E=un(e.target);P.fragment&&P.fragment.l(E),E.forEach(Q)}else P.fragment&&P.fragment.c();e.intro&&F(A.$$.fragment),Ln(A,e.target,e.anchor),M()}fA(s)}let ze;typeof HTMLElement=="function"&&(ze=class extends HTMLElement{constructor(e,n,f){super();b(this,"$$ctor");b(this,"$$s");b(this,"$$c");b(this,"$$cn",!1);b(this,"$$d",{});b(this,"$$r",!1);b(this,"$$p_d",{});b(this,"$$l",{});b(this,"$$l_u",new Map);this.$$ctor=e,this.$$s=n,f&&this.attachShadow({mode:"open"})}addEventListener(e,n,f){if(this.$$l[e]=this.$$l[e]||[],this.$$l[e].push(n),this.$$c){const t=this.$$c.$on(e,n);this.$$l_u.set(n,t)}super.addEventListener(e,n,f)}removeEventListener(e,n,f){if(super.removeEventListener(e,n,f),this.$$c){const t=this.$$l_u.get(n);t&&(t(),this.$$l_u.delete(n))}}connectedCallback(){return fe(this,null,function*(){if(this.$$cn=!0,!this.$$c){let e=function(r){return()=>{let i;return{c:function(){i=z("slot"),r!=="default"&&N(i,"name",r)},m:function(P,v){O(P,i,v)},d:function(P){P&&Q(i)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const n={},f=cn(this);for(const r of this.$$s)r in f&&(n[r]=[e(r)]);for(const r of this.attributes){const i=this.$$g_p(r.name);i in this.$$d||(this.$$d[i]=BA(i,r.value,this.$$p_d,"toProp"))}for(const r in this.$$p_d)!(r in this.$$d)&&this[r]!==void 0&&(this.$$d[r]=this[r],delete this[r]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:ne(ee({},this.$$d),{$$slots:n,$$scope:{ctx:[]}})});const t=()=>{this.$$r=!0;for(const r in this.$$p_d)if(this.$$d[r]=this.$$c.$$.ctx[this.$$c.$$.props[r]],this.$$p_d[r].reflect){const i=BA(r,this.$$d[r],this.$$p_d,"toAttribute");i==null?this.removeAttribute(this.$$p_d[r].attribute||r):this.setAttribute(this.$$p_d[r].attribute||r,i)}this.$$r=!1};this.$$c.$$.after_update.push(t),t();for(const r in this.$$l)for(const i of this.$$l[r]){const w=this.$$c.$on(r,i);this.$$l_u.set(i,w)}this.$$l={}}})}attributeChangedCallback(e,n,f){var t;this.$$r||(e=this.$$g_p(e),this.$$d[e]=BA(e,f,this.$$p_d,"toProp"),(t=this.$$c)==null||t.$set({[e]:this.$$d[e]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$c=void 0)})}$$g_p(e){return Object.keys(this.$$p_d).find(n=>this.$$p_d[n].attribute===e||!this.$$p_d[n].attribute&&n.toLowerCase()===e)||e}});function BA(A,e,n,f){var r;const t=(r=n[A])==null?void 0:r.type;if(e=t==="Boolean"&&typeof e!="boolean"?e!=null:e,!f||!n[A])return e;if(f==="toAttribute")switch(t){case"Object":case"Array":return e==null?null:JSON.stringify(e);case"Boolean":return e?"":null;case"Number":return e==null?null:e;default:return e}else switch(t){case"Object":case"Array":return e&&JSON.parse(e);case"Boolean":return e;case"Number":return e!=null?+e:e;default:return e}}function Xn(A,e,n,f,t,r){let i=class extends ze{constructor(){super(A,n,t),this.$$p_d=e}static get observedAttributes(){return Object.keys(e).map(w=>(e[w].attribute||w).toLowerCase())}};return Object.keys(e).forEach(w=>{Object.defineProperty(i.prototype,w,{get(){return this.$$c&&w in this.$$c?this.$$c[w]:this.$$d[w]},set(s){var P;s=BA(w,s,e),this.$$d[w]=s,(P=this.$$c)==null||P.$set({[w]:s})}})}),f.forEach(w=>{Object.defineProperty(i.prototype,w,{get(){var s;return(s=this.$$c)==null?void 0:s[w]}})}),A.element=i,i}class zn{constructor(){b(this,"$$");b(this,"$$set")}$destroy(){bn(this,1),this.$destroy=X}$on(e,n){if(!WA(n))return X;const f=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return f.push(n),()=>{const t=f.indexOf(n);t!==-1&&f.splice(t,1)}}$set(e){this.$$set&&!gn(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}const Mn="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(Mn);const k=[];function jn(A,e){return{subscribe:IA(A,e).subscribe}}function IA(A,e=X){let n;const f=new Set;function t(w){if(de(A,w)&&(A=w,n)){const s=!k.length;for(const P of f)P[1](),k.push(P,A);if(s){for(let P=0;P<k.length;P+=2)k[P][0](k[P+1]);k.length=0}}}function r(w){t(w(A))}function i(w,s=X){const P=[w,s];return f.add(P),f.size===1&&(n=e(t,r)||X),w(A),()=>{f.delete(P),f.size===0&&n&&(n(),n=null)}}return{set:t,update:r,subscribe:i}}function $(A,e,n){const f=!Array.isArray(A),t=f?[A]:A;if(!t.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const r=e.length<2;return jn(n,(i,w)=>{let s=!1;const P=[];let v=0,E=X;const g=()=>{if(v)return;E();const c=e(f?P[0]:P,i,w);r?i(c):E=WA(c)?c:X},C=t.map((c,x)=>ye(c,u=>{P[x]=u,v&=~(1<<x),s&&g()},()=>{v|=1<<x}));return s=!0,g(),function(){_(C),E(),s=!1}})}function Qn(A){return A&&A.__esModule&&Object.prototype.hasOwnProperty.call(A,"default")?A.default:A}var Fn=function(e){return Jn(e)&&!On(e)};function Jn(A){return!!A&&typeof A=="object"}function On(A){var e=Object.prototype.toString.call(A);return e==="[object RegExp]"||e==="[object Date]"||pn(A)}var mn=typeof Symbol=="function"&&Symbol.for,Rn=mn?Symbol.for("react.element"):60103;function pn(A){return A.$$typeof===Rn}function Nn(A){return Array.isArray(A)?[]:{}}function tA(A,e){return e.clone!==!1&&e.isMergeableObject(A)?W(Nn(A),A,e):A}function Gn(A,e,n){return A.concat(e).map(function(f){return tA(f,n)})}function Yn(A,e){if(!e.customMerge)return W;var n=e.customMerge(A);return typeof n=="function"?n:W}function kn(A){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(A).filter(function(e){return Object.propertyIsEnumerable.call(A,e)}):[]}function ie(A){return Object.keys(A).concat(kn(A))}function Me(A,e){try{return e in A}catch(n){return!1}}function Sn(A,e){return Me(A,e)&&!(Object.hasOwnProperty.call(A,e)&&Object.propertyIsEnumerable.call(A,e))}function Kn(A,e,n){var f={};return n.isMergeableObject(A)&&ie(A).forEach(function(t){f[t]=tA(A[t],n)}),ie(e).forEach(function(t){Sn(A,t)||(Me(A,t)&&n.isMergeableObject(e[t])?f[t]=Yn(t,n)(A[t],e[t],n):f[t]=tA(e[t],n))}),f}function W(A,e,n){n=n||{},n.arrayMerge=n.arrayMerge||Gn,n.isMergeableObject=n.isMergeableObject||Fn,n.cloneUnlessOtherwiseSpecified=tA;var f=Array.isArray(e),t=Array.isArray(A),r=f===t;return r?f?n.arrayMerge(A,e,n):Kn(A,e,n):tA(e,n)}W.all=function(e,n){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce(function(f,t){return W(f,t,n)},{})};var Un=W,Wn=Un;const Zn=Qn(Wn);var pA=function(A,e){return pA=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,f){n.__proto__=f}||function(n,f){for(var t in f)Object.prototype.hasOwnProperty.call(f,t)&&(n[t]=f[t])},pA(A,e)};function HA(A,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");pA(A,e);function n(){this.constructor=A}A.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}var y=function(){return y=Object.assign||function(e){for(var n,f=1,t=arguments.length;f<t;f++){n=arguments[f];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},y.apply(this,arguments)};function Vn(A,e){var n={};for(var f in A)Object.prototype.hasOwnProperty.call(A,f)&&e.indexOf(f)<0&&(n[f]=A[f]);if(A!=null&&typeof Object.getOwnPropertySymbols=="function")for(var t=0,f=Object.getOwnPropertySymbols(A);t<f.length;t++)e.indexOf(f[t])<0&&Object.prototype.propertyIsEnumerable.call(A,f[t])&&(n[f[t]]=A[f[t]]);return n}function XA(A,e,n){if(n||arguments.length===2)for(var f=0,t=e.length,r;f<t;f++)(r||!(f in e))&&(r||(r=Array.prototype.slice.call(e,0,f)),r[f]=e[f]);return A.concat(r||Array.prototype.slice.call(e))}function zA(A,e){var n=e&&e.cache?e.cache:ff,f=e&&e.serializer?e.serializer:ef,t=e&&e.strategy?e.strategy:$n;return t(A,{cache:n,serializer:f})}function qn(A){return A==null||typeof A=="number"||typeof A=="boolean"}function _n(A,e,n,f){var t=qn(f)?f:n(f),r=e.get(t);return typeof r=="undefined"&&(r=A.call(this,f),e.set(t,r)),r}function je(A,e,n){var f=Array.prototype.slice.call(arguments,3),t=n(f),r=e.get(t);return typeof r=="undefined"&&(r=A.apply(this,f),e.set(t,r)),r}function Qe(A,e,n,f,t){return n.bind(e,A,f,t)}function $n(A,e){var n=A.length===1?_n:je;return Qe(A,this,n,e.cache.create(),e.serializer)}function Af(A,e){return Qe(A,this,je,e.cache.create(),e.serializer)}var ef=function(){return JSON.stringify(arguments)},nf=function(){function A(){this.cache=Object.create(null)}return A.prototype.get=function(e){return this.cache[e]},A.prototype.set=function(e,n){this.cache[e]=n},A}(),ff={create:function(){return new nf}},MA={variadic:Af},cA=function(){return cA=Object.assign||function(e){for(var n,f=1,t=arguments.length;f<t;f++){n=arguments[f];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},cA.apply(this,arguments)};var B;(function(A){A[A.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",A[A.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",A[A.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",A[A.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",A[A.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",A[A.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",A[A.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",A[A.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",A[A.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",A[A.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",A[A.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",A[A.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",A[A.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",A[A.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",A[A.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",A[A.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",A[A.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",A[A.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",A[A.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",A[A.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",A[A.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",A[A.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",A[A.INVALID_TAG=23]="INVALID_TAG",A[A.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",A[A.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",A[A.UNCLOSED_TAG=27]="UNCLOSED_TAG"})(B||(B={}));var l;(function(A){A[A.literal=0]="literal",A[A.argument=1]="argument",A[A.number=2]="number",A[A.date=3]="date",A[A.time=4]="time",A[A.select=5]="select",A[A.plural=6]="plural",A[A.pound=7]="pound",A[A.tag=8]="tag"})(l||(l={}));var Z;(function(A){A[A.number=0]="number",A[A.dateTime=1]="dateTime"})(Z||(Z={}));function we(A){return A.type===l.literal}function tf(A){return A.type===l.argument}function Fe(A){return A.type===l.number}function Je(A){return A.type===l.date}function Oe(A){return A.type===l.time}function me(A){return A.type===l.select}function Re(A){return A.type===l.plural}function rf(A){return A.type===l.pound}function pe(A){return A.type===l.tag}function Ne(A){return!!(A&&typeof A=="object"&&A.type===Z.number)}function NA(A){return!!(A&&typeof A=="object"&&A.type===Z.dateTime)}var Ge=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,wf=/(?:[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 Pf(A){var e={};return A.replace(wf,function(n){var f=n.length;switch(n[0]){case"G":e.era=f===4?"long":f===5?"narrow":"short";break;case"y":e.year=f===2?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":e.month=["numeric","2-digit","short","long","narrow"][f-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":e.day=["numeric","2-digit"][f-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":e.weekday=f===4?"long":f===5?"narrow":"short";break;case"e":if(f<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");e.weekday=["short","long","narrow","short"][f-4];break;case"c":if(f<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");e.weekday=["short","long","narrow","short"][f-4];break;case"a":e.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":e.hourCycle="h12",e.hour=["numeric","2-digit"][f-1];break;case"H":e.hourCycle="h23",e.hour=["numeric","2-digit"][f-1];break;case"K":e.hourCycle="h11",e.hour=["numeric","2-digit"][f-1];break;case"k":e.hourCycle="h24",e.hour=["numeric","2-digit"][f-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":e.minute=["numeric","2-digit"][f-1];break;case"s":e.second=["numeric","2-digit"][f-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":e.timeZoneName=f<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),e}var I=function(){return I=Object.assign||function(e){for(var n,f=1,t=arguments.length;f<t;f++){n=arguments[f];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},I.apply(this,arguments)};var sf=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function vf(A){if(A.length===0)throw new Error("Number skeleton cannot be empty");for(var e=A.split(sf).filter(function(g){return g.length>0}),n=[],f=0,t=e;f<t.length;f++){var r=t[f],i=r.split("/");if(i.length===0)throw new Error("Invalid number skeleton");for(var w=i[0],s=i.slice(1),P=0,v=s;P<v.length;P++){var E=v[P];if(E.length===0)throw new Error("Invalid number skeleton")}n.push({stem:w,options:s})}return n}function gf(A){return A.replace(/^(.*?)-/,"")}var Pe=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Ye=/^(@+)?(\+|#+)?[rs]?$/g,Ef=/(\*)(0+)|(#+)(0+)|(0+)/g,ke=/^(0+)$/;function se(A){var e={};return A[A.length-1]==="r"?e.roundingPriority="morePrecision":A[A.length-1]==="s"&&(e.roundingPriority="lessPrecision"),A.replace(Ye,function(n,f,t){return typeof t!="string"?(e.minimumSignificantDigits=f.length,e.maximumSignificantDigits=f.length):t==="+"?e.minimumSignificantDigits=f.length:f[0]==="#"?e.maximumSignificantDigits=f.length:(e.minimumSignificantDigits=f.length,e.maximumSignificantDigits=f.length+(typeof t=="string"?t.length:0)),""}),e}function Se(A){switch(A){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function of(A){var e;if(A[0]==="E"&&A[1]==="E"?(e={notation:"engineering"},A=A.slice(2)):A[0]==="E"&&(e={notation:"scientific"},A=A.slice(1)),e){var n=A.slice(0,2);if(n==="+!"?(e.signDisplay="always",A=A.slice(2)):n==="+?"&&(e.signDisplay="exceptZero",A=A.slice(2)),!ke.test(A))throw new Error("Malformed concise eng/scientific notation");e.minimumIntegerDigits=A.length}return e}function ve(A){var e={},n=Se(A);return n||e}function hf(A){for(var e={},n=0,f=A;n<f.length;n++){var t=f[n];switch(t.stem){case"percent":case"%":e.style="percent";continue;case"%x100":e.style="percent",e.scale=100;continue;case"currency":e.style="currency",e.currency=t.options[0];continue;case"group-off":case",_":e.useGrouping=!1;continue;case"precision-integer":case".":e.maximumFractionDigits=0;continue;case"measure-unit":case"unit":e.style="unit",e.unit=gf(t.options[0]);continue;case"compact-short":case"K":e.notation="compact",e.compactDisplay="short";continue;case"compact-long":case"KK":e.notation="compact",e.compactDisplay="long";continue;case"scientific":e=I(I(I({},e),{notation:"scientific"}),t.options.reduce(function(s,P){return I(I({},s),ve(P))},{}));continue;case"engineering":e=I(I(I({},e),{notation:"engineering"}),t.options.reduce(function(s,P){return I(I({},s),ve(P))},{}));continue;case"notation-simple":e.notation="standard";continue;case"unit-width-narrow":e.currencyDisplay="narrowSymbol",e.unitDisplay="narrow";continue;case"unit-width-short":e.currencyDisplay="code",e.unitDisplay="short";continue;case"unit-width-full-name":e.currencyDisplay="name",e.unitDisplay="long";continue;case"unit-width-iso-code":e.currencyDisplay="symbol";continue;case"scale":e.scale=parseFloat(t.options[0]);continue;case"rounding-mode-floor":e.roundingMode="floor";continue;case"rounding-mode-ceiling":e.roundingMode="ceil";continue;case"rounding-mode-down":e.roundingMode="trunc";continue;case"rounding-mode-up":e.roundingMode="expand";continue;case"rounding-mode-half-even":e.roundingMode="halfEven";continue;case"rounding-mode-half-down":e.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":e.roundingMode="halfExpand";continue;case"integer-width":if(t.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");t.options[0].replace(Ef,function(s,P,v,E,g,C){if(P)e.minimumIntegerDigits=v.length;else{if(E&&g)throw new Error("We currently do not support maximum integer digits");if(C)throw new Error("We currently do not support exact integer digits")}return""});continue}if(ke.test(t.stem)){e.minimumIntegerDigits=t.stem.length;continue}if(Pe.test(t.stem)){if(t.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");t.stem.replace(Pe,function(s,P,v,E,g,C){return v==="*"?e.minimumFractionDigits=P.length:E&&E[0]==="#"?e.maximumFractionDigits=E.length:g&&C?(e.minimumFractionDigits=g.length,e.maximumFractionDigits=g.length+C.length):(e.minimumFractionDigits=P.length,e.maximumFractionDigits=P.length),""});var r=t.options[0];r==="w"?e=I(I({},e),{trailingZeroDisplay:"stripIfInteger"}):r&&(e=I(I({},e),se(r)));continue}if(Ye.test(t.stem)){e=I(I({},e),se(t.stem));continue}var i=Se(t.stem);i&&(e=I(I({},e),i));var w=of(t.stem);w&&(e=I(I({},e),w))}return e}var vA={"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 Cf(A,e){for(var n="",f=0;f<A.length;f++){var t=A.charAt(f);if(t==="j"){for(var r=0;f+1<A.length&&A.charAt(f+1)===t;)r++,f++;var i=1+(r&1),w=r<2?1:3+(r>>1),s="a",P=Bf(e);for((P=="H"||P=="k")&&(w=0);w-- >0;)n+=s;for(;i-- >0;)n=P+n}else t==="J"?n+="H":n+=t}return n}function Bf(A){var e=A.hourCycle;if(e===void 0&&A.hourCycles&&A.hourCycles.length&&(e=A.hourCycles[0]),e)switch(e){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var n=A.language,f;n!=="root"&&(f=A.maximize().region);var t=vA[f||""]||vA[n||""]||vA["".concat(n,"-001")]||vA["001"];return t[0]}var jA,af=new RegExp("^".concat(Ge.source,"*")),uf=new RegExp("".concat(Ge.source,"*$"));function a(A,e){return{start:A,end:e}}var cf=!!String.prototype.startsWith&&"_a".startsWith("a",1),xf=!!String.fromCodePoint,Df=!!Object.fromEntries,lf=!!String.prototype.codePointAt,If=!!String.prototype.trimStart,Hf=!!String.prototype.trimEnd,Tf=!!Number.isSafeInteger,Lf=Tf?Number.isSafeInteger:function(A){return typeof A=="number"&&isFinite(A)&&Math.floor(A)===A&&Math.abs(A)<=9007199254740991},GA=!0;try{var bf=Ue("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");GA=((jA=bf.exec("a"))===null||jA===void 0?void 0:jA[0])==="a"}catch(A){GA=!1}var ge=cf?function(e,n,f){return e.startsWith(n,f)}:function(e,n,f){return e.slice(f,f+n.length)===n},YA=xf?String.fromCodePoint:function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];for(var f="",t=e.length,r=0,i;t>r;){if(i=e[r++],i>1114111)throw RangeError(i+" is not a valid code point");f+=i<65536?String.fromCharCode(i):String.fromCharCode(((i-=65536)>>10)+55296,i%1024+56320)}return f},Ee=Df?Object.fromEntries:function(e){for(var n={},f=0,t=e;f<t.length;f++){var r=t[f],i=r[0],w=r[1];n[i]=w}return n},Ke=lf?function(e,n){return e.codePointAt(n)}:function(e,n){var f=e.length;if(!(n<0||n>=f)){var t=e.charCodeAt(n),r;return t<55296||t>56319||n+1===f||(r=e.charCodeAt(n+1))<56320||r>57343?t:(t-55296<<10)+(r-56320)+65536}},df=If?function(e){return e.trimStart()}:function(e){return e.replace(af,"")},yf=Hf?function(e){return e.trimEnd()}:function(e){return e.replace(uf,"")};function Ue(A,e){return new RegExp(A,e)}var kA;if(GA){var oe=Ue("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");kA=function(e,n){var f;oe.lastIndex=n;var t=oe.exec(e);return(f=t[1])!==null&&f!==void 0?f:""}}else kA=function(e,n){for(var f=[];;){var t=Ke(e,n);if(t===void 0||We(t)||jf(t))break;f.push(t),n+=t>=65536?2:1}return YA.apply(void 0,f)};var Xf=function(){function A(e,n){n===void 0&&(n={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!n.ignoreTag,this.locale=n.locale,this.requiresOtherClause=!!n.requiresOtherClause,this.shouldParseSkeletons=!!n.shouldParseSkeletons}return A.prototype.parse=function(){if(this.offset()!==0)throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},A.prototype.parseMessage=function(e,n,f){for(var t=[];!this.isEOF();){var r=this.char();if(r===123){var i=this.parseArgument(e,f);if(i.err)return i;t.push(i.val)}else{if(r===125&&e>0)break;if(r===35&&(n==="plural"||n==="selectordinal")){var w=this.clonePosition();this.bump(),t.push({type:l.pound,location:a(w,this.clonePosition())})}else if(r===60&&!this.ignoreTag&&this.peek()===47){if(f)break;return this.error(B.UNMATCHED_CLOSING_TAG,a(this.clonePosition(),this.clonePosition()))}else if(r===60&&!this.ignoreTag&&SA(this.peek()||0)){var i=this.parseTag(e,n);if(i.err)return i;t.push(i.val)}else{var i=this.parseLiteral(e,n);if(i.err)return i;t.push(i.val)}}}return{val:t,err:null}},A.prototype.parseTag=function(e,n){var f=this.clonePosition();this.bump();var t=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:l.literal,value:"<".concat(t,"/>"),location:a(f,this.clonePosition())},err:null};if(this.bumpIf(">")){var r=this.parseMessage(e+1,n,!0);if(r.err)return r;var i=r.val,w=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!SA(this.char()))return this.error(B.INVALID_TAG,a(w,this.clonePosition()));var s=this.clonePosition(),P=this.parseTagName();return t!==P?this.error(B.UNMATCHED_CLOSING_TAG,a(s,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:l.tag,value:t,children:i,location:a(f,this.clonePosition())},err:null}:this.error(B.INVALID_TAG,a(w,this.clonePosition())))}else return this.error(B.UNCLOSED_TAG,a(f,this.clonePosition()))}else return this.error(B.INVALID_TAG,a(f,this.clonePosition()))},A.prototype.parseTagName=function(){var e=this.offset();for(this.bump();!this.isEOF()&&Mf(this.char());)this.bump();return this.message.slice(e,this.offset())},A.prototype.parseLiteral=function(e,n){for(var f=this.clonePosition(),t="";;){var r=this.tryParseQuote(n);if(r){t+=r;continue}var i=this.tryParseUnquoted(e,n);if(i){t+=i;continue}var w=this.tryParseLeftAngleBracket();if(w){t+=w;continue}break}var s=a(f,this.clonePosition());return{val:{type:l.literal,value:t,location:s},err:null}},A.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!zf(this.peek()||0))?(this.bump(),"<"):null},A.prototype.tryParseQuote=function(e){if(this.isEOF()||this.char()!==39)return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if(e==="plural"||e==="selectordinal")break;return null;default:return null}this.bump();var n=[this.char()];for(this.bump();!this.isEOF();){var f=this.char();if(f===39)if(this.peek()===39)n.push(39),this.bump();else{this.bump();break}else n.push(f);this.bump()}return YA.apply(void 0,n)},A.prototype.tryParseUnquoted=function(e,n){if(this.isEOF())return null;var f=this.char();return f===60||f===123||f===35&&(n==="plural"||n==="selectordinal")||f===125&&e>0?null:(this.bump(),YA(f))},A.prototype.parseArgument=function(e,n){var f=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(B.EXPECT_ARGUMENT_CLOSING_BRACE,a(f,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(B.EMPTY_ARGUMENT,a(f,this.clonePosition()));var t=this.parseIdentifierIfPossible().value;if(!t)return this.error(B.MALFORMED_ARGUMENT,a(f,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(B.EXPECT_ARGUMENT_CLOSING_BRACE,a(f,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:l.argument,value:t,location:a(f,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(B.EXPECT_ARGUMENT_CLOSING_BRACE,a(f,this.clonePosition())):this.parseArgumentOptions(e,n,t,f);default:return this.error(B.MALFORMED_ARGUMENT,a(f,this.clonePosition()))}},A.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),n=this.offset(),f=kA(this.message,n),t=n+f.length;this.bumpTo(t);var r=this.clonePosition(),i=a(e,r);return{value:f,location:i}},A.prototype.parseArgumentOptions=function(e,n,f,t){var r,i=this.clonePosition(),w=this.parseIdentifierIfPossible().value,s=this.clonePosition();switch(w){case"":return this.error(B.EXPECT_ARGUMENT_TYPE,a(i,s));case"number":case"date":case"time":{this.bumpSpace();var P=null;if(this.bumpIf(",")){this.bumpSpace();var v=this.clonePosition(),E=this.parseSimpleArgStyleIfPossible();if(E.err)return E;var g=yf(E.val);if(g.length===0)return this.error(B.EXPECT_ARGUMENT_STYLE,a(this.clonePosition(),this.clonePosition()));var C=a(v,this.clonePosition());P={style:g,styleLocation:C}}var c=this.tryParseArgumentClose(t);if(c.err)return c;var x=a(t,this.clonePosition());if(P&&ge(P==null?void 0:P.style,"::",0)){var u=df(P.style.slice(2));if(w==="number"){var E=this.parseNumberSkeletonFromString(u,P.styleLocation);return E.err?E:{val:{type:l.number,value:f,location:x,style:E.val},err:null}}else{if(u.length===0)return this.error(B.EXPECT_DATE_TIME_SKELETON,x);var o=u;this.locale&&(o=Cf(u,this.locale));var g={type:Z.dateTime,pattern:o,location:P.styleLocation,parsedOptions:this.shouldParseSkeletons?Pf(o):{}},D=w==="date"?l.date:l.time;return{val:{type:D,value:f,location:x,style:g},err:null}}}return{val:{type:w==="number"?l.number:w==="date"?l.date:l.time,value:f,location:x,style:(r=P==null?void 0:P.style)!==null&&r!==void 0?r:null},err:null}}case"plural":case"selectordinal":case"select":{var L=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(B.EXPECT_SELECT_ARGUMENT_OPTIONS,a(L,cA({},L)));this.bumpSpace();var h=this.parseIdentifierIfPossible(),H=0;if(w!=="select"&&h.value==="offset"){if(!this.bumpIf(":"))return this.error(B.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,a(this.clonePosition(),this.clonePosition()));this.bumpSpace();var E=this.tryParseDecimalInteger(B.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,B.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(E.err)return E;this.bumpSpace(),h=this.parseIdentifierIfPossible(),H=E.val}var d=this.tryParsePluralOrSelectOptions(e,w,n,h);if(d.err)return d;var c=this.tryParseArgumentClose(t);if(c.err)return c;var $A=a(t,this.clonePosition());return w==="select"?{val:{type:l.select,value:f,options:Ee(d.val),location:$A},err:null}:{val:{type:l.plural,value:f,options:Ee(d.val),offset:H,pluralType:w==="plural"?"cardinal":"ordinal",location:$A},err:null}}default:return this.error(B.INVALID_ARGUMENT_TYPE,a(i,s))}},A.prototype.tryParseArgumentClose=function(e){return this.isEOF()||this.char()!==125?this.error(B.EXPECT_ARGUMENT_CLOSING_BRACE,a(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},A.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,n=this.clonePosition();!this.isEOF();){var f=this.char();switch(f){case 39:{this.bump();var t=this.clonePosition();if(!this.bumpUntil("'"))return this.error(B.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,a(t,this.clonePosition()));this.bump();break}case 123:{e+=1,this.bump();break}case 125:{if(e>0)e-=1;else return{val:this.message.slice(n.offset,this.offset()),err:null};break}default:this.bump();break}}return{val:this.message.slice(n.offset,this.offset()),err:null}},A.prototype.parseNumberSkeletonFromString=function(e,n){var f=[];try{f=vf(e)}catch(t){return this.error(B.INVALID_NUMBER_SKELETON,n)}return{val:{type:Z.number,tokens:f,location:n,parsedOptions:this.shouldParseSkeletons?hf(f):{}},err:null}},A.prototype.tryParsePluralOrSelectOptions=function(e,n,f,t){for(var r,i=!1,w=[],s=new Set,P=t.value,v=t.location;;){if(P.length===0){var E=this.clonePosition();if(n!=="select"&&this.bumpIf("=")){var g=this.tryParseDecimalInteger(B.EXPECT_PLURAL_ARGUMENT_SELECTOR,B.INVALID_PLURAL_ARGUMENT_SELECTOR);if(g.err)return g;v=a(E,this.clonePosition()),P=this.message.slice(E.offset,this.offset())}else break}if(s.has(P))return this.error(n==="select"?B.DUPLICATE_SELECT_ARGUMENT_SELECTOR:B.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,v);P==="other"&&(i=!0),this.bumpSpace();var C=this.clonePosition();if(!this.bumpIf("{"))return this.error(n==="select"?B.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:B.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,a(this.clonePosition(),this.clonePosition()));var c=this.parseMessage(e+1,n,f);if(c.err)return c;var x=this.tryParseArgumentClose(C);if(x.err)return x;w.push([P,{value:c.val,location:a(C,this.clonePosition())}]),s.add(P),this.bumpSpace(),r=this.parseIdentifierIfPossible(),P=r.value,v=r.location}return w.length===0?this.error(n==="select"?B.EXPECT_SELECT_ARGUMENT_SELECTOR:B.EXPECT_PLURAL_ARGUMENT_SELECTOR,a(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!i?this.error(B.MISSING_OTHER_CLAUSE,a(this.clonePosition(),this.clonePosition())):{val:w,err:null}},A.prototype.tryParseDecimalInteger=function(e,n){var f=1,t=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(f=-1);for(var r=!1,i=0;!this.isEOF();){var w=this.char();if(w>=48&&w<=57)r=!0,i=i*10+(w-48),this.bump();else break}var s=a(t,this.clonePosition());return r?(i*=f,Lf(i)?{val:i,err:null}:this.error(n,s)):this.error(e,s)},A.prototype.offset=function(){return this.position.offset},A.prototype.isEOF=function(){return this.offset()===this.message.length},A.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},A.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var n=Ke(this.message,e);if(n===void 0)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return n},A.prototype.error=function(e,n){return{val:null,err:{kind:e,message:this.message,location:n}}},A.prototype.bump=function(){if(!this.isEOF()){var e=this.char();e===10?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2)}},A.prototype.bumpIf=function(e){if(ge(this.message,e,this.offset())){for(var n=0;n<e.length;n++)this.bump();return!0}return!1},A.prototype.bumpUntil=function(e){var n=this.offset(),f=this.message.indexOf(e,n);return f>=0?(this.bumpTo(f),!0):(this.bumpTo(this.message.length),!1)},A.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset ".concat(e," must be greater than or equal to the current offset ").concat(this.offset()));for(e=Math.min(e,this.message.length);;){var n=this.offset();if(n===e)break;if(n>e)throw Error("targetOffset ".concat(e," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},A.prototype.bumpSpace=function(){for(;!this.isEOF()&&We(this.char());)this.bump()},A.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),n=this.offset(),f=this.message.charCodeAt(n+(e>=65536?2:1));return f!=null?f:null},A}();function SA(A){return A>=97&&A<=122||A>=65&&A<=90}function zf(A){return SA(A)||A===47}function Mf(A){return A===45||A===46||A>=48&&A<=57||A===95||A>=97&&A<=122||A>=65&&A<=90||A==183||A>=192&&A<=214||A>=216&&A<=246||A>=248&&A<=893||A>=895&&A<=8191||A>=8204&&A<=8205||A>=8255&&A<=8256||A>=8304&&A<=8591||A>=11264&&A<=12271||A>=12289&&A<=55295||A>=63744&&A<=64975||A>=65008&&A<=65533||A>=65536&&A<=983039}function We(A){return A>=9&&A<=13||A===32||A===133||A>=8206&&A<=8207||A===8232||A===8233}function jf(A){return A>=33&&A<=35||A===36||A>=37&&A<=39||A===40||A===41||A===42||A===43||A===44||A===45||A>=46&&A<=47||A>=58&&A<=59||A>=60&&A<=62||A>=63&&A<=64||A===91||A===92||A===93||A===94||A===96||A===123||A===124||A===125||A===126||A===161||A>=162&&A<=165||A===166||A===167||A===169||A===171||A===172||A===174||A===176||A===177||A===182||A===187||A===191||A===215||A===247||A>=8208&&A<=8213||A>=8214&&A<=8215||A===8216||A===8217||A===8218||A>=8219&&A<=8220||A===8221||A===8222||A===8223||A>=8224&&A<=8231||A>=8240&&A<=8248||A===8249||A===8250||A>=8251&&A<=8254||A>=8257&&A<=8259||A===8260||A===8261||A===8262||A>=8263&&A<=8273||A===8274||A===8275||A>=8277&&A<=8286||A>=8592&&A<=8596||A>=8597&&A<=8601||A>=8602&&A<=8603||A>=8604&&A<=8607||A===8608||A>=8609&&A<=8610||A===8611||A>=8612&&A<=8613||A===8614||A>=8615&&A<=8621||A===8622||A>=8623&&A<=8653||A>=8654&&A<=8655||A>=8656&&A<=8657||A===8658||A===8659||A===8660||A>=8661&&A<=8691||A>=8692&&A<=8959||A>=8960&&A<=8967||A===8968||A===8969||A===8970||A===8971||A>=8972&&A<=8991||A>=8992&&A<=8993||A>=8994&&A<=9e3||A===9001||A===9002||A>=9003&&A<=9083||A===9084||A>=9085&&A<=9114||A>=9115&&A<=9139||A>=9140&&A<=9179||A>=9180&&A<=9185||A>=9186&&A<=9254||A>=9255&&A<=9279||A>=9280&&A<=9290||A>=9291&&A<=9311||A>=9472&&A<=9654||A===9655||A>=9656&&A<=9664||A===9665||A>=9666&&A<=9719||A>=9720&&A<=9727||A>=9728&&A<=9838||A===9839||A>=9840&&A<=10087||A===10088||A===10089||A===10090||A===10091||A===10092||A===10093||A===10094||A===10095||A===10096||A===10097||A===10098||A===10099||A===10100||A===10101||A>=10132&&A<=10175||A>=10176&&A<=10180||A===10181||A===10182||A>=10183&&A<=10213||A===10214||A===10215||A===10216||A===10217||A===10218||A===10219||A===10220||A===10221||A===10222||A===10223||A>=10224&&A<=10239||A>=10240&&A<=10495||A>=10496&&A<=10626||A===10627||A===10628||A===10629||A===10630||A===10631||A===10632||A===10633||A===10634||A===10635||A===10636||A===10637||A===10638||A===10639||A===10640||A===10641||A===10642||A===10643||A===10644||A===10645||A===10646||A===10647||A===10648||A>=10649&&A<=10711||A===10712||A===10713||A===10714||A===10715||A>=10716&&A<=10747||A===10748||A===10749||A>=10750&&A<=11007||A>=11008&&A<=11055||A>=11056&&A<=11076||A>=11077&&A<=11078||A>=11079&&A<=11084||A>=11085&&A<=11123||A>=11124&&A<=11125||A>=11126&&A<=11157||A===11158||A>=11159&&A<=11263||A>=11776&&A<=11777||A===11778||A===11779||A===11780||A===11781||A>=11782&&A<=11784||A===11785||A===11786||A===11787||A===11788||A===11789||A>=11790&&A<=11798||A===11799||A>=11800&&A<=11801||A===11802||A===11803||A===11804||A===11805||A>=11806&&A<=11807||A===11808||A===11809||A===11810||A===11811||A===11812||A===11813||A===11814||A===11815||A===11816||A===11817||A>=11818&&A<=11822||A===11823||A>=11824&&A<=11833||A>=11834&&A<=11835||A>=11836&&A<=11839||A===11840||A===11841||A===11842||A>=11843&&A<=11855||A>=11856&&A<=11857||A===11858||A>=11859&&A<=11903||A>=12289&&A<=12291||A===12296||A===12297||A===12298||A===12299||A===12300||A===12301||A===12302||A===12303||A===12304||A===12305||A>=12306&&A<=12307||A===12308||A===12309||A===12310||A===12311||A===12312||A===12313||A===12314||A===12315||A===12316||A===12317||A>=12318&&A<=12319||A===12320||A===12336||A===64830||A===64831||A>=65093&&A<=65094}function KA(A){A.forEach(function(e){if(delete e.location,me(e)||Re(e))for(var n in e.options)delete e.options[n].location,KA(e.options[n].value);else Fe(e)&&Ne(e.style)||(Je(e)||Oe(e))&&NA(e.style)?delete e.style.location:pe(e)&&KA(e.children)})}function Qf(A,e){e===void 0&&(e={}),e=cA({shouldParseSkeletons:!0,requiresOtherClause:!0},e);var n=new Xf(A,e).parse();if(n.err){var f=SyntaxError(B[n.err.kind]);throw f.location=n.err.location,f.originalMessage=n.err.message,f}return e!=null&&e.captureLocation||KA(n.val),n.val}var V;(function(A){A.MISSING_VALUE="MISSING_VALUE",A.INVALID_VALUE="INVALID_VALUE",A.MISSING_INTL_API="MISSING_INTL_API"})(V||(V={}));var TA=function(A){HA(e,A);function e(n,f,t){var r=A.call(this,n)||this;return r.code=f,r.originalMessage=t,r}return e.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},e}(Error),he=function(A){HA(e,A);function e(n,f,t,r){return A.call(this,'Invalid values for "'.concat(n,'": "').concat(f,'". Options are "').concat(Object.keys(t).join('", "'),'"'),V.INVALID_VALUE,r)||this}return e}(TA),Ff=function(A){HA(e,A);function e(n,f,t){return A.call(this,'Value for "'.concat(n,'" must be of type ').concat(f),V.INVALID_VALUE,t)||this}return e}(TA),Jf=function(A){HA(e,A);function e(n,f){return A.call(this,'The intl string context variable "'.concat(n,'" was not provided to the string "').concat(f,'"'),V.MISSING_VALUE,f)||this}return e}(TA),T;(function(A){A[A.literal=0]="literal",A[A.object=1]="object"})(T||(T={}));function Of(A){return A.length<2?A:A.reduce(function(e,n){var f=e[e.length-1];return!f||f.type!==T.literal||n.type!==T.literal?e.push(n):f.value+=n.value,e},[])}function mf(A){return typeof A=="function"}function aA(A,e,n,f,t,r,i){if(A.length===1&&we(A[0]))return[{type:T.literal,value:A[0].value}];for(var w=[],s=0,P=A;s<P.length;s++){var v=P[s];if(we(v)){w.push({type:T.literal,value:v.value});continue}if(rf(v)){typeof r=="number"&&w.push({type:T.literal,value:n.getNumberFormat(e).format(r)});continue}var E=v.value;if(!(t&&E in t))throw new Jf(E,i);var g=t[E];if(tf(v)){(!g||typeof g=="string"||typeof g=="number")&&(g=typeof g=="string"||typeof g=="number"?String(g):""),w.push({type:typeof g=="string"?T.literal:T.object,value:g});continue}if(Je(v)){var C=typeof v.style=="string"?f.date[v.style]:NA(v.style)?v.style.parsedOptions:void 0;w.push({type:T.literal,value:n.getDateTimeFormat(e,C).format(g)});continue}if(Oe(v)){var C=typeof v.style=="string"?f.time[v.style]:NA(v.style)?v.style.parsedOptions:f.time.medium;w.push({type:T.literal,value:n.getDateTimeFormat(e,C).format(g)});continue}if(Fe(v)){var C=typeof v.style=="string"?f.number[v.style]:Ne(v.style)?v.style.parsedOptions:void 0;C&&C.scale&&(g=g*(C.scale||1)),w.push({type:T.literal,value:n.getNumberFormat(e,C).format(g)});continue}if(pe(v)){var c=v.children,x=v.value,u=t[x];if(!mf(u))throw new Ff(x,"function",i);var o=aA(c,e,n,f,t,r),D=u(o.map(function(H){return H.value}));Array.isArray(D)||(D=[D]),w.push.apply(w,D.map(function(H){return{type:typeof H=="string"?T.literal:T.object,value:H}}))}if(me(v)){var L=v.options[g]||v.options.other;if(!L)throw new he(v.value,g,Object.keys(v.options),i);w.push.apply(w,aA(L.value,e,n,f,t));continue}if(Re(v)){var L=v.options["=".concat(g)];if(!L){if(!Intl.PluralRules)throw new TA(`Intl.PluralRules is not available in this environment.
2
2
  Try polyfilling it using "@formatjs/intl-pluralrules"
3
3
  `,V.MISSING_INTL_API,i);var h=n.getPluralRules(e,{type:v.pluralType}).select(g-(v.offset||0));L=v.options[h]||v.options.other}if(!L)throw new he(v.value,g,Object.keys(v.options),i);w.push.apply(w,aA(L.value,e,n,f,t,g-(v.offset||0)));continue}}return Of(w)}function Rf(A,e){return e?y(y(y({},A||{}),e||{}),Object.keys(A).reduce(function(n,f){return n[f]=y(y({},A[f]),e[f]||{}),n},{})):A}function pf(A,e){return e?Object.keys(A).reduce(function(n,f){return n[f]=Rf(A[f],e[f]),n},y({},A)):A}function QA(A){return{create:function(){return{get:function(e){return A[e]},set:function(e,n){A[e]=n}}}}}function Nf(A){return A===void 0&&(A={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:zA(function(){for(var e,n=[],f=0;f<arguments.length;f++)n[f]=arguments[f];return new((e=Intl.NumberFormat).bind.apply(e,XA([void 0],n,!1)))},{cache:QA(A.number),strategy:MA.variadic}),getDateTimeFormat:zA(function(){for(var e,n=[],f=0;f<arguments.length;f++)n[f]=arguments[f];return new((e=Intl.DateTimeFormat).bind.apply(e,XA([void 0],n,!1)))},{cache:QA(A.dateTime),strategy:MA.variadic}),getPluralRules:zA(function(){for(var e,n=[],f=0;f<arguments.length;f++)n[f]=arguments[f];return new((e=Intl.PluralRules).bind.apply(e,XA([void 0],n,!1)))},{cache:QA(A.pluralRules),strategy:MA.variadic})}}var Ze=function(){function A(e,n,f,t){n===void 0&&(n=A.defaultLocale);var r=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(s){var P=r.formatToParts(s);if(P.length===1)return P[0].value;var v=P.reduce(function(E,g){return!E.length||g.type!==T.literal||typeof E[E.length-1]!="string"?E.push(g.value):E[E.length-1]+=g.value,E},[]);return v.length<=1?v[0]||"":v},this.formatToParts=function(s){return aA(r.ast,r.locales,r.formatters,r.formats,s,void 0,r.message)},this.resolvedOptions=function(){var s;return{locale:((s=r.resolvedLocale)===null||s===void 0?void 0:s.toString())||Intl.NumberFormat.supportedLocalesOf(r.locales)[0]}},this.getAst=function(){return r.ast},this.locales=n,this.resolvedLocale=A.resolveLocale(n),typeof e=="string"){if(this.message=e,!A.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var i=t||{};i.formatters;var w=Vn(i,["formatters"]);this.ast=A.__parse(e,y(y({},w),{locale:this.resolvedLocale}))}else this.ast=e;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=pf(A.formats,f),this.formatters=t&&t.formatters||Nf(this.formatterCache)}return Object.defineProperty(A,"defaultLocale",{get:function(){return A.memoizedDefaultLocale||(A.memoizedDefaultLocale=new Intl.NumberFormat().resolvedOptions().locale),A.memoizedDefaultLocale},enumerable:!1,configurable:!0}),A.memoizedDefaultLocale=null,A.resolveLocale=function(e){if(typeof Intl.Locale!="undefined"){var n=Intl.NumberFormat.supportedLocalesOf(e);return n.length>0?new Intl.Locale(n[0]):new Intl.Locale(typeof e=="string"?e:e[0])}},A.__parse=Qf,A.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},A}();function Gf(A,e){if(e==null)return;if(e in A)return A[e];const n=e.split(".");let f=A;for(let t=0;t<n.length;t++)if(typeof f=="object"){if(t>0){const r=n.slice(t,n.length).join(".");if(r in f){f=f[r];break}}f=f[n[t]]}else f=void 0;return f}const J={},Yf=(A,e,n)=>n&&(e in J||(J[e]={}),A in J[e]||(J[e][A]=n),n),Ve=(A,e)=>{if(e==null)return;if(e in J&&A in J[e])return J[e][A];const n=PA(e);for(let f=0;f<n.length;f++){const t=n[f],r=Sf(t,A);if(r)return Yf(A,e,r)}};let qA;const wA=IA({});function kf(A){return qA[A]||null}function qe(A){return A in qA}function Sf(A,e){if(!qe(A))return null;const n=kf(A);return Gf(n,e)}function Kf(A){if(A==null)return;const e=PA(A);for(let n=0;n<e.length;n++){const f=e[n];if(qe(f))return f}}function _e(A,...e){delete J[A],wA.update(n=>(n[A]=Zn.all([n[A]||{},...e]),n))}$([wA],([A])=>Object.keys(A));wA.subscribe(A=>qA=A);const uA={};function Uf(A,e){uA[A].delete(e),uA[A].size===0&&delete uA[A]}function $e(A){return uA[A]}function Wf(A){return PA(A).map(e=>{const n=$e(e);return[e,n?[...n]:[]]}).filter(([,e])=>e.length>0)}function xA(A){return A==null?!1:PA(A).some(e=>{var n;return(n=$e(e))==null?void 0:n.size})}function Zf(A,e){return Promise.all(e.map(f=>(Uf(A,f),f().then(t=>t.default||t)))).then(f=>_e(A,...f))}const eA={};function An(A){if(!xA(A))return A in eA?eA[A]:Promise.resolve();const e=Wf(A);return eA[A]=Promise.all(e.map(([n,f])=>Zf(n,f))).then(()=>{if(xA(A))return An(A);delete eA[A]}),eA[A]}var Ce=Object.getOwnPropertySymbols,Vf=Object.prototype.hasOwnProperty,qf=Object.prototype.propertyIsEnumerable,_f=(A,e)=>{var n={};for(var f in A)Vf.call(A,f)&&e.indexOf(f)<0&&(n[f]=A[f]);if(A!=null&&Ce)for(var f of Ce(A))e.indexOf(f)<0&&qf.call(A,f)&&(n[f]=A[f]);return n};const $f={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 At({locale:A,id:e}){console.warn(`[svelte-i18n] The message "${e}" was not found in "${PA(A).join('", "')}".${xA(m())?`
4
4
 
@@ -27,7 +27,7 @@ var fe = (A, e, n) => new Promise((f, t) => {
27
27
  }, w = (s) => s.done ? f(s.value) : Promise.resolve(s.value).then(r, i);
28
28
  w((n = n.apply(A, e)).next());
29
29
  });
30
- import "../stencil/ui-image-CQQDA5b0.js";
30
+ import "../stencil/ui-image-DT3VkYPr.js";
31
31
  function X() {
32
32
  }
33
33
  function sn(A, e) {
@@ -1,4 +1,4 @@
1
- import "../stencil/ui-image-CmwNU-jf.js";
1
+ import "../stencil/ui-image-C6J6vPTv.js";
2
2
  function y() {
3
3
  }
4
4
  function qe(A, e) {
@@ -1 +1 @@
1
- "use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CashierError-CUYdhL8N.cjs")).then(({default:t})=>{!customElements.get("cashier-error")&&customElements.define("cashier-error",t.element)})}
1
+ "use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CashierError-3w2PdM_e.cjs")).then(({default:t})=>{!customElements.get("cashier-error")&&customElements.define("cashier-error",t.element)})}
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
10
10
  }
11
11
  };
12
12
  };
13
- customElements.define = n(customElements.define), import("../components/CashierError-BWFEjgyl.js").then(({ default: t }) => {
13
+ customElements.define = n(customElements.define), import("../components/CashierError-BwWxvlZS.js").then(({ default: t }) => {
14
14
  !customElements.get("cashier-error") && customElements.define("cashier-error", t.element);
15
15
  });
16
16
  }
@@ -1,4 +1,4 @@
1
- import { C as s } from "../components/CashierError-DC7cZxMe.js";
1
+ import { C as s } from "../components/CashierError-DlyO1qW7.js";
2
2
  function n(t) {
3
3
  return function(...r) {
4
4
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/cashier-error",
3
- "version": "1.69.0",
3
+ "version": "1.69.2",
4
4
  "type": "module",
5
5
  "main": "es2015/cashier-error.cjs",
6
6
  "module": "esnext/cashier-error.js",
@@ -1 +1 @@
1
- "use strict";var x=(e,t,n)=>new Promise((s,r)=>{var i=a=>{try{$(n.next(a))}catch(o){r(o)}},l=a=>{try{$(n.throw(a))}catch(o){r(o)}},$=a=>a.done?s(a.value):Promise.resolve(a.value).then(i,l);$((n=n.apply(e,t)).next())});const ge="ui-image",he={hydratedSelectorName:"hydrated"};var pe=Object.defineProperty,ye=(e,t)=>{for(var n in t)pe(e,n,{get:t[n],enumerable:!0})},B=new WeakMap,E=e=>B.get(e),me=(e,t)=>B.set(t.$lazyInstance$=e,t),Se=(e,t)=>{const n={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};return n.$onReadyPromise$=new Promise(s=>n.$onReadyResolve$=s),e["s-p"]=[],e["s-rc"]=[],B.set(e,n)},D=(e,t)=>t in e,k=(e,t)=>(0,console.error)(e,t),w=new Map,Ee=(e,t,n)=>{const s=e.$tagName$.replace(/-/g,"_"),r=e.$lazyBundleId$;if(!r)return;const i=w.get(r);if(i)return i[s];{const l=$=>(w.set(r,$),$[s]);switch(r){case"ui-image_2":return Promise.resolve().then(()=>require("./ui-image_2-YkYxLKu7.cjs")).then(l,k)}}return import(`./${r}.entry.js`).then(l=>(w.set(r,l),l[s]),k)},A=new Map,ke="{visibility:hidden}.hydrated{visibility:inherit}",Q="slot-fb{display:contents}slot-fb[hidden]{display:none}",j=typeof window!="undefined"?window:{},m=j.document||{head:{}},h={$flags$:0,$resourcesUrl$:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,s)=>e.addEventListener(t,n,s),rel:(e,t,n,s)=>e.removeEventListener(t,n,s),ce:(e,t)=>new CustomEvent(e,t)},Z=e=>Promise.resolve(e),be=(()=>{try{return new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function"}catch(e){}return!1})(),I=!1,W=[],R=[],Pe=(e,t)=>n=>{e.push(n),I||(I=!0,h.$flags$&4?C(U):h.raf(U))},M=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(n){k(n)}e.length=0},U=()=>{M(W),M(R),(I=W.length>0)&&h.raf(U)},C=e=>Z().then(e),xe=Pe(R),G={},q=e=>(e=typeof e,e==="object"||e==="function");function N(e){var t,n,s;return(s=(n=(t=e.head)==null?void 0:t.querySelector('meta[name="csp-nonce"]'))==null?void 0:n.getAttribute("content"))!=null?s:void 0}var Te={};ye(Te,{err:()=>V,map:()=>_e,ok:()=>H,unwrap:()=>Ae,unwrapErr:()=>Le});var H=e=>({isOk:!0,isErr:!1,value:e}),V=e=>({isOk:!1,isErr:!0,value:e});function _e(e,t){if(e.isOk){const n=t(e.value);return n instanceof Promise?n.then(s=>H(s)):H(n)}if(e.isErr){const n=e.value;return V(n)}throw"should never get here"}var Ae=e=>{if(e.isOk)return e.value;throw e.value},Le=e=>{if(e.isErr)return e.value;throw e.value},S=(e,t="")=>()=>{},je=(e,t)=>()=>{},ee=(e,t,...n)=>{let s=null,r=null,i=!1,l=!1;const $=[],a=c=>{for(let f=0;f<c.length;f++)s=c[f],Array.isArray(s)?a(s):s!=null&&typeof s!="boolean"&&((i=typeof e!="function"&&!q(s))&&(s=String(s)),i&&l?$[$.length-1].$text$+=s:$.push(i?z(null,s):s),l=i)};if(a(n),t){t.key&&(r=t.key);{const c=t.className||t.class;c&&(t.class=typeof c!="object"?c:Object.keys(c).filter(f=>c[f]).join(" "))}}const o=z(e,null);return o.$attrs$=t,$.length>0&&(o.$children$=$),o.$key$=r,o},z=(e,t)=>{const n={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};return n.$attrs$=null,n.$key$=null,n},te={},Oe=e=>e&&e.$tag$===te,we=(e,t)=>e!=null&&!q(e)?t&4?e==="false"?!1:e===""||!!e:t&2?parseFloat(e):t&1?String(e):e:e,Ie=e=>E(e).$hostElement$,Ue=(e,t,n)=>{const s=h.ce(t,n);return e.dispatchEvent(s),s},X=new WeakMap,He=(e,t,n)=>{let s=A.get(e);be&&n?(s=s||new CSSStyleSheet,typeof s=="string"?s=t:s.replaceSync(t)):s=t,A.set(e,s)},ze=(e,t,n)=>{var s;const r=se(t),i=A.get(r);if(e=e.nodeType===11?e:m,i)if(typeof i=="string"){e=e.head||e;let l=X.get(e),$;if(l||X.set(e,l=new Set),!l.has(r)){{$=m.createElement("style"),$.innerHTML=i;const a=(s=h.$nonce$)!=null?s:N(m);a!=null&&$.setAttribute("nonce",a),e.insertBefore($,e.querySelector("link"))}t.$flags$&4&&($.innerHTML+=Q),l&&l.add(r)}}else e.adoptedStyleSheets.includes(i)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,i]);return r},Be=e=>{const t=e.$cmpMeta$,n=e.$hostElement$,s=S("attachStyles",t.$tagName$);ze(n.getRootNode(),t),s()},se=(e,t)=>"sc-"+e.$tagName$,Y=(e,t,n,s,r,i)=>{if(n!==s){let l=D(e,t),$=t.toLowerCase();if(t==="class"){const a=e.classList,o=J(n),c=J(s);a.remove(...o.filter(f=>f&&!c.includes(f))),a.add(...c.filter(f=>f&&!o.includes(f)))}else if(t==="style"){for(const a in n)(!s||s[a]==null)&&(a.includes("-")?e.style.removeProperty(a):e.style[a]="");for(const a in s)(!n||s[a]!==n[a])&&(a.includes("-")?e.style.setProperty(a,s[a]):e.style[a]=s[a])}else if(t!=="key")if(t==="ref")s&&s(e);else if(!l&&t[0]==="o"&&t[1]==="n"){if(t[2]==="-"?t=t.slice(3):D(j,$)?t=$.slice(2):t=$[2]+t.slice(3),n||s){const a=t.endsWith(ne);t=t.replace(qe,""),n&&h.rel(e,t,n,a),s&&h.ael(e,t,s,a)}}else{const a=q(s);if(l||a&&s!==null)try{if(e.tagName.includes("-"))e[t]=s;else{const o=s==null?"":s;t==="list"?l=!1:(n==null||e[t]!=o)&&(e[t]=o)}}catch(o){}s==null||s===!1?(s!==!1||e.getAttribute(t)==="")&&e.removeAttribute(t):(!l||i&4||r)&&!a&&(s=s===!0?"":s,e.setAttribute(t,s))}}},Ce=/\s/,J=e=>e?e.split(Ce):[],ne="Capture",qe=new RegExp(ne+"$"),re=(e,t,n)=>{const s=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$,r=e&&e.$attrs$||G,i=t.$attrs$||G;for(const l of K(Object.keys(r)))l in i||Y(s,l,r[l],void 0,n,t.$flags$);for(const l of K(Object.keys(i)))Y(s,l,r[l],i[l],n,t.$flags$)};function K(e){return e.includes("ref")?[...e.filter(t=>t!=="ref"),"ref"]:e}var le,ae=!1,L=(e,t,n,s)=>{const r=t.$children$[n];let i=0,l,$;if(r.$text$!==null)l=r.$elm$=m.createTextNode(r.$text$);else if(l=r.$elm$=m.createElement(r.$tag$),re(null,r,ae),r.$children$)for(i=0;i<r.$children$.length;++i)$=L(e,r,i),$&&l.appendChild($);return l["s-hn"]=le,l},ie=(e,t,n,s,r,i)=>{let l=e,$;for(;r<=i;++r)s[r]&&($=L(null,n,r),$&&(s[r].$elm$=$,_(l,$,t)))},$e=(e,t,n)=>{for(let s=t;s<=n;++s){const r=e[s];if(r){const i=r.$elm$;oe(r),i&&i.remove()}}},Fe=(e,t,n,s,r=!1)=>{let i=0,l=0,$=0,a=0,o=t.length-1,c=t[0],f=t[o],u=s.length-1,d=s[0],v=s[u],g,p;for(;i<=o&&l<=u;)if(c==null)c=t[++i];else if(f==null)f=t[--o];else if(d==null)d=s[++l];else if(v==null)v=s[--u];else if(T(c,d,r))b(c,d,r),c=t[++i],d=s[++l];else if(T(f,v,r))b(f,v,r),f=t[--o],v=s[--u];else if(T(c,v,r))b(c,v,r),_(e,c.$elm$,f.$elm$.nextSibling),c=t[++i],v=s[--u];else if(T(f,d,r))b(f,d,r),_(e,f.$elm$,c.$elm$),f=t[--o],d=s[++l];else{for($=-1,a=i;a<=o;++a)if(t[a]&&t[a].$key$!==null&&t[a].$key$===d.$key$){$=a;break}$>=0?(p=t[$],p.$tag$!==d.$tag$?g=L(t&&t[l],n,$):(b(p,d,r),t[$]=void 0,g=p.$elm$),d=s[++l]):(g=L(t&&t[l],n,l),d=s[++l]),g&&_(c.$elm$.parentNode,g,c.$elm$)}i>o?ie(e,s[u+1]==null?null:s[u+1].$elm$,n,s,l,u):l>u&&$e(t,i,o)},T=(e,t,n=!1)=>e.$tag$===t.$tag$?n?!0:e.$key$===t.$key$:!1,b=(e,t,n=!1)=>{const s=t.$elm$=e.$elm$,r=e.$children$,i=t.$children$,l=t.$text$;l===null?(re(e,t,ae),r!==null&&i!==null?Fe(s,r,t,i,n):i!==null?(e.$text$!==null&&(s.textContent=""),ie(s,null,t,i,0,i.length-1)):r!==null&&$e(r,0,r.length-1)):e.$text$!==l&&(s.data=l)},oe=e=>{e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null),e.$children$&&e.$children$.map(oe)},_=(e,t,n)=>e==null?void 0:e.insertBefore(t,n),De=(e,t,n=!1)=>{const s=e.$hostElement$,r=e.$vnode$||z(null,null),i=Oe(t)?t:ee(null,null,t);if(le=s.tagName,n&&i.$attrs$)for(const l of Object.keys(i.$attrs$))s.hasAttribute(l)&&!["key","ref","style","class"].includes(l)&&(i.$attrs$[l]=s[l]);i.$tag$=null,i.$flags$|=4,e.$vnode$=i,i.$elm$=r.$elm$=s,b(r,i,n)},ce=(e,t)=>{t&&!e.$onRenderResolve$&&t["s-p"]&&t["s-p"].push(new Promise(n=>e.$onRenderResolve$=n))},F=(e,t)=>{if(e.$flags$|=16,e.$flags$&4){e.$flags$|=512;return}return ce(e,e.$ancestorComponent$),xe(()=>We(e,t))},We=(e,t)=>{const n=e.$hostElement$,s=S("scheduleUpdate",e.$cmpMeta$.$tagName$),r=e.$lazyInstance$;if(!r)throw new Error(`Can't render component <${n.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let i;return s(),Me(i,()=>Xe(e,r,t))},Me=(e,t)=>Ge(e)?e.then(t).catch(n=>{console.error(n),t()}):t(),Ge=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",Xe=(e,t,n)=>x(exports,null,function*(){var s;const r=e.$hostElement$,i=S("update",e.$cmpMeta$.$tagName$),l=r["s-rc"];n&&Be(e);const $=S("render",e.$cmpMeta$.$tagName$);Ye(e,t,r,n),l&&(l.map(a=>a()),r["s-rc"]=void 0),$(),i();{const a=(s=r["s-p"])!=null?s:[],o=()=>Je(e);a.length===0?o():(Promise.all(a).then(o),e.$flags$|=4,a.length=0)}}),Ye=(e,t,n,s)=>{try{t=t.render(),e.$flags$&=-17,e.$flags$|=2,De(e,t,s)}catch(r){k(r,e.$hostElement$)}return null},Je=e=>{const t=e.$cmpMeta$.$tagName$,n=e.$hostElement$,s=S("postUpdate",t),r=e.$lazyInstance$,i=e.$ancestorComponent$;e.$flags$&64?s():(e.$flags$|=64,ue(n),Ke(r,"componentDidLoad"),s(),e.$onReadyResolve$(n),i||fe()),e.$onRenderResolve$&&(e.$onRenderResolve$(),e.$onRenderResolve$=void 0),e.$flags$&512&&C(()=>F(e,!1)),e.$flags$&=-517},fe=e=>{ue(m.documentElement),C(()=>Ue(j,"appload",{detail:{namespace:ge}}))},Ke=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(s){k(s)}},ue=e=>{var t;return e.classList.add((t=he.hydratedSelectorName)!=null?t:"hydrated")},Qe=(e,t)=>E(e).$instanceValues$.get(t),Ze=(e,t,n,s)=>{const r=E(e);if(!r)throw new Error(`Couldn't find host element for "${s.$tagName$}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`);const i=r.$hostElement$,l=r.$instanceValues$.get(t),$=r.$flags$,a=r.$lazyInstance$;n=we(n,s.$members$[t][0]);const o=Number.isNaN(l)&&Number.isNaN(n),c=n!==l&&!o;if((!($&8)||l===void 0)&&c&&(r.$instanceValues$.set(t,n),a)){if(s.$watchers$&&$&128){const f=s.$watchers$[t];f&&f.map(u=>{try{a[u](n,l,t)}catch(d){k(d,i)}})}($&18)===2&&F(r,!1)}},de=(e,t,n)=>{var s,r;const i=e.prototype;if(t.$members$||t.$watchers$||e.watchers){e.watchers&&!t.$watchers$&&(t.$watchers$=e.watchers);const l=Object.entries((s=t.$members$)!=null?s:{});if(l.map(([$,[a]])=>{(a&31||n&2&&a&32)&&Object.defineProperty(i,$,{get(){return Qe(this,$)},set(o){Ze(this,$,o,t)},configurable:!0,enumerable:!0})}),n&1){const $=new Map;i.attributeChangedCallback=function(a,o,c){h.jmp(()=>{var f;const u=$.get(a);if(this.hasOwnProperty(u))c=this[u],delete this[u];else{if(i.hasOwnProperty(u)&&typeof this[u]=="number"&&this[u]==c)return;if(u==null){const d=E(this),v=d==null?void 0:d.$flags$;if(v&&!(v&8)&&v&128&&c!==o){const g=d.$lazyInstance$,p=(f=t.$watchers$)==null?void 0:f[a];p==null||p.forEach(y=>{g[y]!=null&&g[y].call(g,c,o,a)})}return}}this[u]=c===null&&typeof this[u]=="boolean"?!1:c})},e.observedAttributes=Array.from(new Set([...Object.keys((r=t.$watchers$)!=null?r:{}),...l.filter(([a,o])=>o[0]&15).map(([a,o])=>{const c=o[1]||a;return $.set(c,a),c})]))}}return e},Re=(e,t,n,s)=>x(exports,null,function*(){let r;if(!(t.$flags$&32)){if(t.$flags$|=32,n.$lazyBundleId$){const a=Ee(n);if(a&&"then"in a){const c=je();r=yield a,c()}else r=a;if(!r)throw new Error(`Constructor for "${n.$tagName$}#${t.$modeName$}" was not found`);r.isProxied||(n.$watchers$=r.watchers,de(r,n,2),r.isProxied=!0);const o=S("createInstance",n.$tagName$);t.$flags$|=8;try{new r(t)}catch(c){k(c)}t.$flags$&=-9,t.$flags$|=128,o()}else{r=e.constructor;const a=e.localName;customElements.whenDefined(a).then(()=>t.$flags$|=128)}if(r&&r.style){let a;typeof r.style=="string"&&(a=r.style);const o=se(n);if(!A.has(o)){const c=S("registerStyles",n.$tagName$);He(o,a,!!(n.$flags$&1)),c()}}}const i=t.$ancestorComponent$,l=()=>F(t,!0);i&&i["s-rc"]?i["s-rc"].push(l):l()}),Ne=e=>{},Ve=e=>{if(!(h.$flags$&1)){const t=E(e),n=t.$cmpMeta$,s=S("connectedCallback",n.$tagName$);if(t.$flags$&1)t!=null&&t.$lazyInstance$||t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>Ne());else{t.$flags$|=1;{let r=e;for(;r=r.parentNode||r.host;)if(r["s-p"]){ce(t,t.$ancestorComponent$=r);break}}n.$members$&&Object.entries(n.$members$).map(([r,[i]])=>{if(i&31&&e.hasOwnProperty(r)){const l=e[r];delete e[r],e[r]=l}}),Re(e,t,n)}s()}},et=e=>{},tt=e=>x(exports,null,function*(){if(!(h.$flags$&1)){const t=E(e);t!=null&&t.$lazyInstance$||t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>et())}}),st=(e,t={})=>{var n;const s=S(),r=[],i=t.exclude||[],l=j.customElements,$=m.head,a=$.querySelector("meta[charset]"),o=m.createElement("style"),c=[];let f,u=!0;Object.assign(h,t),h.$resourcesUrl$=new URL(t.resourcesUrl||"./",m.baseURI).href;let d=!1;if(e.map(v=>{v[1].map(g=>{var p;const y={$flags$:g[0],$tagName$:g[1],$members$:g[2],$listeners$:g[3]};y.$flags$&4&&(d=!0),y.$members$=g[2],y.$watchers$=(p=g[4])!=null?p:{};const P=y.$tagName$,ve=class extends HTMLElement{constructor(O){super(O),this.hasRegisteredEventListeners=!1,O=this,Se(O,y)}connectedCallback(){E(this),this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0),f&&(clearTimeout(f),f=null),u?c.push(this):h.jmp(()=>Ve(this))}disconnectedCallback(){h.jmp(()=>tt(this))}componentOnReady(){return E(this).$onReadyPromise$}};y.$lazyBundleId$=v[0],!i.includes(P)&&!l.get(P)&&(r.push(P),l.define(P,de(ve,y,1)))})}),r.length>0&&(d&&(o.textContent+=Q),o.textContent+=r.sort()+ke,o.innerHTML.length)){o.setAttribute("data-styles","");const v=(n=h.$nonce$)!=null?n:N(m);v!=null&&o.setAttribute("nonce",v),$.insertBefore(o,a?a.nextSibling:$.firstChild)}u=!1,c.length?c.map(v=>v.connectedCallback()):h.jmp(()=>f=setTimeout(fe,30)),s()};exports.Host=te;exports.bootstrapLazy=st;exports.getElement=Ie;exports.h=ee;exports.promiseResolve=Z;exports.registerInstance=me;
1
+ "use strict";var x=(e,t,n)=>new Promise((s,r)=>{var i=a=>{try{$(n.next(a))}catch(o){r(o)}},l=a=>{try{$(n.throw(a))}catch(o){r(o)}},$=a=>a.done?s(a.value):Promise.resolve(a.value).then(i,l);$((n=n.apply(e,t)).next())});const ge="ui-image",he={hydratedSelectorName:"hydrated"};var pe=Object.defineProperty,ye=(e,t)=>{for(var n in t)pe(e,n,{get:t[n],enumerable:!0})},B=new WeakMap,E=e=>B.get(e),me=(e,t)=>B.set(t.$lazyInstance$=e,t),Se=(e,t)=>{const n={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};return n.$onReadyPromise$=new Promise(s=>n.$onReadyResolve$=s),e["s-p"]=[],e["s-rc"]=[],B.set(e,n)},D=(e,t)=>t in e,k=(e,t)=>(0,console.error)(e,t),w=new Map,Ee=(e,t,n)=>{const s=e.$tagName$.replace(/-/g,"_"),r=e.$lazyBundleId$;if(!r)return;const i=w.get(r);if(i)return i[s];{const l=$=>(w.set(r,$),$[s]);switch(r){case"ui-image_2":return Promise.resolve().then(()=>require("./ui-image_2-gOIKmeIr.cjs")).then(l,k)}}return import(`./${r}.entry.js`).then(l=>(w.set(r,l),l[s]),k)},A=new Map,ke="{visibility:hidden}.hydrated{visibility:inherit}",Q="slot-fb{display:contents}slot-fb[hidden]{display:none}",j=typeof window!="undefined"?window:{},m=j.document||{head:{}},h={$flags$:0,$resourcesUrl$:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,s)=>e.addEventListener(t,n,s),rel:(e,t,n,s)=>e.removeEventListener(t,n,s),ce:(e,t)=>new CustomEvent(e,t)},Z=e=>Promise.resolve(e),be=(()=>{try{return new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function"}catch(e){}return!1})(),I=!1,W=[],R=[],Pe=(e,t)=>n=>{e.push(n),I||(I=!0,h.$flags$&4?C(U):h.raf(U))},M=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(n){k(n)}e.length=0},U=()=>{M(W),M(R),(I=W.length>0)&&h.raf(U)},C=e=>Z().then(e),xe=Pe(R),G={},q=e=>(e=typeof e,e==="object"||e==="function");function N(e){var t,n,s;return(s=(n=(t=e.head)==null?void 0:t.querySelector('meta[name="csp-nonce"]'))==null?void 0:n.getAttribute("content"))!=null?s:void 0}var Te={};ye(Te,{err:()=>V,map:()=>_e,ok:()=>H,unwrap:()=>Ae,unwrapErr:()=>Le});var H=e=>({isOk:!0,isErr:!1,value:e}),V=e=>({isOk:!1,isErr:!0,value:e});function _e(e,t){if(e.isOk){const n=t(e.value);return n instanceof Promise?n.then(s=>H(s)):H(n)}if(e.isErr){const n=e.value;return V(n)}throw"should never get here"}var Ae=e=>{if(e.isOk)return e.value;throw e.value},Le=e=>{if(e.isErr)return e.value;throw e.value},S=(e,t="")=>()=>{},je=(e,t)=>()=>{},ee=(e,t,...n)=>{let s=null,r=null,i=!1,l=!1;const $=[],a=c=>{for(let f=0;f<c.length;f++)s=c[f],Array.isArray(s)?a(s):s!=null&&typeof s!="boolean"&&((i=typeof e!="function"&&!q(s))&&(s=String(s)),i&&l?$[$.length-1].$text$+=s:$.push(i?z(null,s):s),l=i)};if(a(n),t){t.key&&(r=t.key);{const c=t.className||t.class;c&&(t.class=typeof c!="object"?c:Object.keys(c).filter(f=>c[f]).join(" "))}}const o=z(e,null);return o.$attrs$=t,$.length>0&&(o.$children$=$),o.$key$=r,o},z=(e,t)=>{const n={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};return n.$attrs$=null,n.$key$=null,n},te={},Oe=e=>e&&e.$tag$===te,we=(e,t)=>e!=null&&!q(e)?t&4?e==="false"?!1:e===""||!!e:t&2?parseFloat(e):t&1?String(e):e:e,Ie=e=>E(e).$hostElement$,Ue=(e,t,n)=>{const s=h.ce(t,n);return e.dispatchEvent(s),s},X=new WeakMap,He=(e,t,n)=>{let s=A.get(e);be&&n?(s=s||new CSSStyleSheet,typeof s=="string"?s=t:s.replaceSync(t)):s=t,A.set(e,s)},ze=(e,t,n)=>{var s;const r=se(t),i=A.get(r);if(e=e.nodeType===11?e:m,i)if(typeof i=="string"){e=e.head||e;let l=X.get(e),$;if(l||X.set(e,l=new Set),!l.has(r)){{$=m.createElement("style"),$.innerHTML=i;const a=(s=h.$nonce$)!=null?s:N(m);a!=null&&$.setAttribute("nonce",a),e.insertBefore($,e.querySelector("link"))}t.$flags$&4&&($.innerHTML+=Q),l&&l.add(r)}}else e.adoptedStyleSheets.includes(i)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,i]);return r},Be=e=>{const t=e.$cmpMeta$,n=e.$hostElement$,s=S("attachStyles",t.$tagName$);ze(n.getRootNode(),t),s()},se=(e,t)=>"sc-"+e.$tagName$,Y=(e,t,n,s,r,i)=>{if(n!==s){let l=D(e,t),$=t.toLowerCase();if(t==="class"){const a=e.classList,o=J(n),c=J(s);a.remove(...o.filter(f=>f&&!c.includes(f))),a.add(...c.filter(f=>f&&!o.includes(f)))}else if(t==="style"){for(const a in n)(!s||s[a]==null)&&(a.includes("-")?e.style.removeProperty(a):e.style[a]="");for(const a in s)(!n||s[a]!==n[a])&&(a.includes("-")?e.style.setProperty(a,s[a]):e.style[a]=s[a])}else if(t!=="key")if(t==="ref")s&&s(e);else if(!l&&t[0]==="o"&&t[1]==="n"){if(t[2]==="-"?t=t.slice(3):D(j,$)?t=$.slice(2):t=$[2]+t.slice(3),n||s){const a=t.endsWith(ne);t=t.replace(qe,""),n&&h.rel(e,t,n,a),s&&h.ael(e,t,s,a)}}else{const a=q(s);if(l||a&&s!==null)try{if(e.tagName.includes("-"))e[t]=s;else{const o=s==null?"":s;t==="list"?l=!1:(n==null||e[t]!=o)&&(e[t]=o)}}catch(o){}s==null||s===!1?(s!==!1||e.getAttribute(t)==="")&&e.removeAttribute(t):(!l||i&4||r)&&!a&&(s=s===!0?"":s,e.setAttribute(t,s))}}},Ce=/\s/,J=e=>e?e.split(Ce):[],ne="Capture",qe=new RegExp(ne+"$"),re=(e,t,n)=>{const s=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$,r=e&&e.$attrs$||G,i=t.$attrs$||G;for(const l of K(Object.keys(r)))l in i||Y(s,l,r[l],void 0,n,t.$flags$);for(const l of K(Object.keys(i)))Y(s,l,r[l],i[l],n,t.$flags$)};function K(e){return e.includes("ref")?[...e.filter(t=>t!=="ref"),"ref"]:e}var le,ae=!1,L=(e,t,n,s)=>{const r=t.$children$[n];let i=0,l,$;if(r.$text$!==null)l=r.$elm$=m.createTextNode(r.$text$);else if(l=r.$elm$=m.createElement(r.$tag$),re(null,r,ae),r.$children$)for(i=0;i<r.$children$.length;++i)$=L(e,r,i),$&&l.appendChild($);return l["s-hn"]=le,l},ie=(e,t,n,s,r,i)=>{let l=e,$;for(;r<=i;++r)s[r]&&($=L(null,n,r),$&&(s[r].$elm$=$,_(l,$,t)))},$e=(e,t,n)=>{for(let s=t;s<=n;++s){const r=e[s];if(r){const i=r.$elm$;oe(r),i&&i.remove()}}},Fe=(e,t,n,s,r=!1)=>{let i=0,l=0,$=0,a=0,o=t.length-1,c=t[0],f=t[o],u=s.length-1,d=s[0],v=s[u],g,p;for(;i<=o&&l<=u;)if(c==null)c=t[++i];else if(f==null)f=t[--o];else if(d==null)d=s[++l];else if(v==null)v=s[--u];else if(T(c,d,r))b(c,d,r),c=t[++i],d=s[++l];else if(T(f,v,r))b(f,v,r),f=t[--o],v=s[--u];else if(T(c,v,r))b(c,v,r),_(e,c.$elm$,f.$elm$.nextSibling),c=t[++i],v=s[--u];else if(T(f,d,r))b(f,d,r),_(e,f.$elm$,c.$elm$),f=t[--o],d=s[++l];else{for($=-1,a=i;a<=o;++a)if(t[a]&&t[a].$key$!==null&&t[a].$key$===d.$key$){$=a;break}$>=0?(p=t[$],p.$tag$!==d.$tag$?g=L(t&&t[l],n,$):(b(p,d,r),t[$]=void 0,g=p.$elm$),d=s[++l]):(g=L(t&&t[l],n,l),d=s[++l]),g&&_(c.$elm$.parentNode,g,c.$elm$)}i>o?ie(e,s[u+1]==null?null:s[u+1].$elm$,n,s,l,u):l>u&&$e(t,i,o)},T=(e,t,n=!1)=>e.$tag$===t.$tag$?n?!0:e.$key$===t.$key$:!1,b=(e,t,n=!1)=>{const s=t.$elm$=e.$elm$,r=e.$children$,i=t.$children$,l=t.$text$;l===null?(re(e,t,ae),r!==null&&i!==null?Fe(s,r,t,i,n):i!==null?(e.$text$!==null&&(s.textContent=""),ie(s,null,t,i,0,i.length-1)):r!==null&&$e(r,0,r.length-1)):e.$text$!==l&&(s.data=l)},oe=e=>{e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null),e.$children$&&e.$children$.map(oe)},_=(e,t,n)=>e==null?void 0:e.insertBefore(t,n),De=(e,t,n=!1)=>{const s=e.$hostElement$,r=e.$vnode$||z(null,null),i=Oe(t)?t:ee(null,null,t);if(le=s.tagName,n&&i.$attrs$)for(const l of Object.keys(i.$attrs$))s.hasAttribute(l)&&!["key","ref","style","class"].includes(l)&&(i.$attrs$[l]=s[l]);i.$tag$=null,i.$flags$|=4,e.$vnode$=i,i.$elm$=r.$elm$=s,b(r,i,n)},ce=(e,t)=>{t&&!e.$onRenderResolve$&&t["s-p"]&&t["s-p"].push(new Promise(n=>e.$onRenderResolve$=n))},F=(e,t)=>{if(e.$flags$|=16,e.$flags$&4){e.$flags$|=512;return}return ce(e,e.$ancestorComponent$),xe(()=>We(e,t))},We=(e,t)=>{const n=e.$hostElement$,s=S("scheduleUpdate",e.$cmpMeta$.$tagName$),r=e.$lazyInstance$;if(!r)throw new Error(`Can't render component <${n.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let i;return s(),Me(i,()=>Xe(e,r,t))},Me=(e,t)=>Ge(e)?e.then(t).catch(n=>{console.error(n),t()}):t(),Ge=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",Xe=(e,t,n)=>x(exports,null,function*(){var s;const r=e.$hostElement$,i=S("update",e.$cmpMeta$.$tagName$),l=r["s-rc"];n&&Be(e);const $=S("render",e.$cmpMeta$.$tagName$);Ye(e,t,r,n),l&&(l.map(a=>a()),r["s-rc"]=void 0),$(),i();{const a=(s=r["s-p"])!=null?s:[],o=()=>Je(e);a.length===0?o():(Promise.all(a).then(o),e.$flags$|=4,a.length=0)}}),Ye=(e,t,n,s)=>{try{t=t.render(),e.$flags$&=-17,e.$flags$|=2,De(e,t,s)}catch(r){k(r,e.$hostElement$)}return null},Je=e=>{const t=e.$cmpMeta$.$tagName$,n=e.$hostElement$,s=S("postUpdate",t),r=e.$lazyInstance$,i=e.$ancestorComponent$;e.$flags$&64?s():(e.$flags$|=64,ue(n),Ke(r,"componentDidLoad"),s(),e.$onReadyResolve$(n),i||fe()),e.$onRenderResolve$&&(e.$onRenderResolve$(),e.$onRenderResolve$=void 0),e.$flags$&512&&C(()=>F(e,!1)),e.$flags$&=-517},fe=e=>{ue(m.documentElement),C(()=>Ue(j,"appload",{detail:{namespace:ge}}))},Ke=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(s){k(s)}},ue=e=>{var t;return e.classList.add((t=he.hydratedSelectorName)!=null?t:"hydrated")},Qe=(e,t)=>E(e).$instanceValues$.get(t),Ze=(e,t,n,s)=>{const r=E(e);if(!r)throw new Error(`Couldn't find host element for "${s.$tagName$}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`);const i=r.$hostElement$,l=r.$instanceValues$.get(t),$=r.$flags$,a=r.$lazyInstance$;n=we(n,s.$members$[t][0]);const o=Number.isNaN(l)&&Number.isNaN(n),c=n!==l&&!o;if((!($&8)||l===void 0)&&c&&(r.$instanceValues$.set(t,n),a)){if(s.$watchers$&&$&128){const f=s.$watchers$[t];f&&f.map(u=>{try{a[u](n,l,t)}catch(d){k(d,i)}})}($&18)===2&&F(r,!1)}},de=(e,t,n)=>{var s,r;const i=e.prototype;if(t.$members$||t.$watchers$||e.watchers){e.watchers&&!t.$watchers$&&(t.$watchers$=e.watchers);const l=Object.entries((s=t.$members$)!=null?s:{});if(l.map(([$,[a]])=>{(a&31||n&2&&a&32)&&Object.defineProperty(i,$,{get(){return Qe(this,$)},set(o){Ze(this,$,o,t)},configurable:!0,enumerable:!0})}),n&1){const $=new Map;i.attributeChangedCallback=function(a,o,c){h.jmp(()=>{var f;const u=$.get(a);if(this.hasOwnProperty(u))c=this[u],delete this[u];else{if(i.hasOwnProperty(u)&&typeof this[u]=="number"&&this[u]==c)return;if(u==null){const d=E(this),v=d==null?void 0:d.$flags$;if(v&&!(v&8)&&v&128&&c!==o){const g=d.$lazyInstance$,p=(f=t.$watchers$)==null?void 0:f[a];p==null||p.forEach(y=>{g[y]!=null&&g[y].call(g,c,o,a)})}return}}this[u]=c===null&&typeof this[u]=="boolean"?!1:c})},e.observedAttributes=Array.from(new Set([...Object.keys((r=t.$watchers$)!=null?r:{}),...l.filter(([a,o])=>o[0]&15).map(([a,o])=>{const c=o[1]||a;return $.set(c,a),c})]))}}return e},Re=(e,t,n,s)=>x(exports,null,function*(){let r;if(!(t.$flags$&32)){if(t.$flags$|=32,n.$lazyBundleId$){const a=Ee(n);if(a&&"then"in a){const c=je();r=yield a,c()}else r=a;if(!r)throw new Error(`Constructor for "${n.$tagName$}#${t.$modeName$}" was not found`);r.isProxied||(n.$watchers$=r.watchers,de(r,n,2),r.isProxied=!0);const o=S("createInstance",n.$tagName$);t.$flags$|=8;try{new r(t)}catch(c){k(c)}t.$flags$&=-9,t.$flags$|=128,o()}else{r=e.constructor;const a=e.localName;customElements.whenDefined(a).then(()=>t.$flags$|=128)}if(r&&r.style){let a;typeof r.style=="string"&&(a=r.style);const o=se(n);if(!A.has(o)){const c=S("registerStyles",n.$tagName$);He(o,a,!!(n.$flags$&1)),c()}}}const i=t.$ancestorComponent$,l=()=>F(t,!0);i&&i["s-rc"]?i["s-rc"].push(l):l()}),Ne=e=>{},Ve=e=>{if(!(h.$flags$&1)){const t=E(e),n=t.$cmpMeta$,s=S("connectedCallback",n.$tagName$);if(t.$flags$&1)t!=null&&t.$lazyInstance$||t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>Ne());else{t.$flags$|=1;{let r=e;for(;r=r.parentNode||r.host;)if(r["s-p"]){ce(t,t.$ancestorComponent$=r);break}}n.$members$&&Object.entries(n.$members$).map(([r,[i]])=>{if(i&31&&e.hasOwnProperty(r)){const l=e[r];delete e[r],e[r]=l}}),Re(e,t,n)}s()}},et=e=>{},tt=e=>x(exports,null,function*(){if(!(h.$flags$&1)){const t=E(e);t!=null&&t.$lazyInstance$||t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>et())}}),st=(e,t={})=>{var n;const s=S(),r=[],i=t.exclude||[],l=j.customElements,$=m.head,a=$.querySelector("meta[charset]"),o=m.createElement("style"),c=[];let f,u=!0;Object.assign(h,t),h.$resourcesUrl$=new URL(t.resourcesUrl||"./",m.baseURI).href;let d=!1;if(e.map(v=>{v[1].map(g=>{var p;const y={$flags$:g[0],$tagName$:g[1],$members$:g[2],$listeners$:g[3]};y.$flags$&4&&(d=!0),y.$members$=g[2],y.$watchers$=(p=g[4])!=null?p:{};const P=y.$tagName$,ve=class extends HTMLElement{constructor(O){super(O),this.hasRegisteredEventListeners=!1,O=this,Se(O,y)}connectedCallback(){E(this),this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0),f&&(clearTimeout(f),f=null),u?c.push(this):h.jmp(()=>Ve(this))}disconnectedCallback(){h.jmp(()=>tt(this))}componentOnReady(){return E(this).$onReadyPromise$}};y.$lazyBundleId$=v[0],!i.includes(P)&&!l.get(P)&&(r.push(P),l.define(P,de(ve,y,1)))})}),r.length>0&&(d&&(o.textContent+=Q),o.textContent+=r.sort()+ke,o.innerHTML.length)){o.setAttribute("data-styles","");const v=(n=h.$nonce$)!=null?n:N(m);v!=null&&o.setAttribute("nonce",v),$.insertBefore(o,a?a.nextSibling:$.firstChild)}u=!1,c.length?c.map(v=>v.connectedCallback()):h.jmp(()=>f=setTimeout(fe,30)),s()};exports.Host=te;exports.bootstrapLazy=st;exports.getElement=Ie;exports.h=ee;exports.promiseResolve=Z;exports.registerInstance=me;
@@ -26,7 +26,7 @@ var de = Object.defineProperty, ve = (e, t) => {
26
26
  case "ui-image_2":
27
27
  return import(
28
28
  /* webpackMode: "lazy" */
29
- "./ui-image_2-BncuYpLi.js"
29
+ "./ui-image_2-CaETIZEN.js"
30
30
  ).then(l, k);
31
31
  }
32
32
  }
@@ -42,7 +42,7 @@ var ve = Object.defineProperty, ge = (e, t) => {
42
42
  case "ui-image_2":
43
43
  return import(
44
44
  /* webpackMode: "lazy" */
45
- "./ui-image_2-B56t6kXT.js"
45
+ "./ui-image_2-BjVQzUTV.js"
46
46
  ).then(l, k);
47
47
  }
48
48
  }
@@ -1,7 +1,7 @@
1
- import { b as o, p as e } from "./index-97d17652-WK_DbPS4.js";
1
+ import { b as o, p as e } from "./index-97d17652-D1-6d0Bk.js";
2
2
  import { g as a } from "./app-globals-0f993ce5-D-kw1sls.js";
3
3
  var i = () => {
4
4
  const r = import.meta.url, t = {};
5
5
  return r !== "" && (t.resourcesUrl = new URL(".", r).href), e(t);
6
6
  };
7
- i().then(async (r) => (await a(), o([["ui-image_2", [[0, "ui-image", { src: [1], width: [1], height: [1], alt: [1], styles: [8], detectDistance: [1, "detect-distance"], imgLoaded: [32], shouldLoad: [32] }, null, { src: ["handleSrc"] }], [0, "ui-skeleton", { structure: [1], width: [1], height: [1], borderRadius: [2, "border-radius"], marginBottom: [2, "margin-bottom"], marginTop: [2, "margin-top"], marginLeft: [2, "margin-left"], marginRight: [2, "margin-right"], animation: [4], rows: [2], size: [1], color: [1], primaryColor: [1, "primary-color"], secondaryColor: [1, "secondary-color"] }, null, { structure: ["handleStructureChange"] }]]]], r)));
7
+ i().then(async (r) => (await a(), o([["ui-image_2", [[0, "ui-image", { src: [1], width: [1], height: [1], alt: [1], styles: [8], detectDistance: [1, "detect-distance"], imgLoaded: [32], shouldLoad: [32] }, null, { src: ["handleSrc"] }], [0, "ui-skeleton", { structure: [1], width: [1], height: [1], borderRadius: [8, "border-radius"], marginBottom: [8, "margin-bottom"], marginTop: [8, "margin-top"], marginLeft: [8, "margin-left"], marginRight: [8, "margin-right"], animation: [4], rows: [2], size: [1], color: [1], primaryColor: [1, "primary-color"], secondaryColor: [1, "secondary-color"] }, null, { structure: ["handleStructureChange"] }]]]], r)));
@@ -1 +1 @@
1
- "use strict";var s=(r,t,i)=>new Promise((l,c)=>{var d=e=>{try{o(i.next(e))}catch(n){c(n)}},m=e=>{try{o(i.throw(e))}catch(n){c(n)}},o=e=>e.done?l(e.value):Promise.resolve(e.value).then(d,m);o((i=i.apply(r,t)).next())});const u=require("./index-97d17652-D5_8Vwfn.cjs"),g=require("./app-globals-0f993ce5-sCt45RkC.cjs");var a=typeof document!="undefined"?document.currentScript:null,h=()=>{const r=typeof document=="undefined"?require("url").pathToFileURL(__filename).href:a&&a.tagName.toUpperCase()==="SCRIPT"&&a.src||new URL("stencil/ui-image-CMb1eK44.cjs",document.baseURI).href,t={};return r!==""&&(t.resourcesUrl=new URL(".",r).href),u.promiseResolve(t)};h().then(r=>s(exports,null,function*(){return yield g.globalScripts(),u.bootstrapLazy([["ui-image_2",[[0,"ui-image",{src:[1],width:[1],height:[1],alt:[1],styles:[8],detectDistance:[1,"detect-distance"],imgLoaded:[32],shouldLoad:[32]},null,{src:["handleSrc"]}],[0,"ui-skeleton",{structure:[1],width:[1],height:[1],borderRadius:[2,"border-radius"],marginBottom:[2,"margin-bottom"],marginTop:[2,"margin-top"],marginLeft:[2,"margin-left"],marginRight:[2,"margin-right"],animation:[4],rows:[2],size:[1],color:[1],primaryColor:[1,"primary-color"],secondaryColor:[1,"secondary-color"]},null,{structure:["handleStructureChange"]}]]]],r)}));
1
+ "use strict";var s=(r,t,i)=>new Promise((l,c)=>{var d=e=>{try{o(i.next(e))}catch(n){c(n)}},m=e=>{try{o(i.throw(e))}catch(n){c(n)}},o=e=>e.done?l(e.value):Promise.resolve(e.value).then(d,m);o((i=i.apply(r,t)).next())});const u=require("./index-97d17652-CjAagVjG.cjs"),g=require("./app-globals-0f993ce5-sCt45RkC.cjs");var a=typeof document!="undefined"?document.currentScript:null,h=()=>{const r=typeof document=="undefined"?require("url").pathToFileURL(__filename).href:a&&a.tagName.toUpperCase()==="SCRIPT"&&a.src||new URL("stencil/ui-image-CpMjzwxS.cjs",document.baseURI).href,t={};return r!==""&&(t.resourcesUrl=new URL(".",r).href),u.promiseResolve(t)};h().then(r=>s(exports,null,function*(){return yield g.globalScripts(),u.bootstrapLazy([["ui-image_2",[[0,"ui-image",{src:[1],width:[1],height:[1],alt:[1],styles:[8],detectDistance:[1,"detect-distance"],imgLoaded:[32],shouldLoad:[32]},null,{src:["handleSrc"]}],[0,"ui-skeleton",{structure:[1],width:[1],height:[1],borderRadius:[8,"border-radius"],marginBottom:[8,"margin-bottom"],marginTop:[8,"margin-top"],marginLeft:[8,"margin-left"],marginRight:[8,"margin-right"],animation:[4],rows:[2],size:[1],color:[1],primaryColor:[1,"primary-color"],secondaryColor:[1,"secondary-color"]},null,{structure:["handleStructureChange"]}]]]],r)}));
@@ -14,12 +14,12 @@ var n = (t, o, e) => new Promise((m, s) => {
14
14
  }, a = (r) => r.done ? m(r.value) : Promise.resolve(r.value).then(c, l);
15
15
  a((e = e.apply(t, o)).next());
16
16
  });
17
- import { b as g, p as u } from "./index-97d17652-BEnqZAxL.js";
17
+ import { b as g, p as u } from "./index-97d17652-IdX2D3yt.js";
18
18
  import { g as d } from "./app-globals-0f993ce5-D-kw1sls.js";
19
19
  var h = () => {
20
20
  const t = import.meta.url, o = {};
21
21
  return t !== "" && (o.resourcesUrl = new URL(".", t).href), u(o);
22
22
  };
23
23
  h().then((t) => n(void 0, null, function* () {
24
- return yield d(), g([["ui-image_2", [[0, "ui-image", { src: [1], width: [1], height: [1], alt: [1], styles: [8], detectDistance: [1, "detect-distance"], imgLoaded: [32], shouldLoad: [32] }, null, { src: ["handleSrc"] }], [0, "ui-skeleton", { structure: [1], width: [1], height: [1], borderRadius: [2, "border-radius"], marginBottom: [2, "margin-bottom"], marginTop: [2, "margin-top"], marginLeft: [2, "margin-left"], marginRight: [2, "margin-right"], animation: [4], rows: [2], size: [1], color: [1], primaryColor: [1, "primary-color"], secondaryColor: [1, "secondary-color"] }, null, { structure: ["handleStructureChange"] }]]]], t);
24
+ return yield d(), g([["ui-image_2", [[0, "ui-image", { src: [1], width: [1], height: [1], alt: [1], styles: [8], detectDistance: [1, "detect-distance"], imgLoaded: [32], shouldLoad: [32] }, null, { src: ["handleSrc"] }], [0, "ui-skeleton", { structure: [1], width: [1], height: [1], borderRadius: [8, "border-radius"], marginBottom: [8, "margin-bottom"], marginTop: [8, "margin-top"], marginLeft: [8, "margin-left"], marginRight: [8, "margin-right"], animation: [4], rows: [2], size: [1], color: [1], primaryColor: [1, "primary-color"], secondaryColor: [1, "secondary-color"] }, null, { structure: ["handleStructureChange"] }]]]], t);
25
25
  }));
@@ -1,4 +1,4 @@
1
- import { r, h as s, H as n, g as a } from "./index-97d17652-WK_DbPS4.js";
1
+ import { r, h as s, H as n, g as a } from "./index-97d17652-IdX2D3yt.js";
2
2
  const d = ".HostContainer{display:block}.UiContainer{height:100%;width:100%;border-radius:inherit;object-fit:inherit}.UiContainer .Image{border-radius:inherit}.Hidden{opacity:0;transition:opacity 0.5s ease-in-out}.Visible{opacity:1;border-radius:var(--emw--border-radius-medium, 10px);transition:opacity 0.5s ease-in-out}", o = d, h = class {
3
3
  constructor(e) {
4
4
  r(this, e), this.src = void 0, this.width = void 0, this.height = void 0, this.alt = void 0, this.styles = void 0, this.detectDistance = "200px", this.imgLoaded = !1, this.shouldLoad = !1;
@@ -1,4 +1,4 @@
1
- import { r, h as s, H as n, g as a } from "./index-97d17652-BEnqZAxL.js";
1
+ import { r, h as s, H as n, g as a } from "./index-97d17652-D1-6d0Bk.js";
2
2
  const d = ".HostContainer{display:block}.UiContainer{height:100%;width:100%;border-radius:inherit;object-fit:inherit}.UiContainer .Image{border-radius:inherit}.Hidden{opacity:0;transition:opacity 0.5s ease-in-out}.Visible{opacity:1;border-radius:var(--emw--border-radius-medium, 10px);transition:opacity 0.5s ease-in-out}", o = d, h = class {
3
3
  constructor(e) {
4
4
  r(this, e), this.src = void 0, this.width = void 0, this.height = void 0, this.alt = void 0, this.styles = void 0, this.detectDistance = "200px", this.imgLoaded = !1, this.shouldLoad = !1;
@@ -1 +1 @@
1
- "use strict";const i=require("./index-97d17652-D5_8Vwfn.cjs"),r=".HostContainer{display:block}.UiContainer{height:100%;width:100%;border-radius:inherit;object-fit:inherit}.UiContainer .Image{border-radius:inherit}.Hidden{opacity:0;transition:opacity 0.5s ease-in-out}.Visible{opacity:1;border-radius:var(--emw--border-radius-medium, 10px);transition:opacity 0.5s ease-in-out}",d=r,n=class{constructor(e){i.registerInstance(this,e),this.src=void 0,this.width=void 0,this.height=void 0,this.alt=void 0,this.styles=void 0,this.detectDistance="200px",this.imgLoaded=!1,this.shouldLoad=!1}handleSrc(){if(!this.shouldLoad)return;const e=new Image;e.onload=()=>{this.image&&(this.image.src=this.src,this.imgLoaded=!0,e.onload=null)},e.src=this.src}componentDidLoad(){"IntersectionObserver"in window?(this.el.__uxComponent=this,window.EMUxObserver||(window.EMUxObserver=new IntersectionObserver(e=>{e.forEach(t=>{if(t.isIntersecting){const s=t.target.__uxComponent;s&&(s.shouldLoad=!0,s.handleSrc()),window.EMUxObserver.unobserve(t.target)}})},{rootMargin:this.detectDistance})),window.EMUxObserver.observe(this.el)):(this.shouldLoad=!0,this.handleSrc())}render(){return i.h(i.Host,{key:"f506ba73852f257ad80bf59ca177d2065a5f365e",class:"HostContainer"},!this.imgLoaded&&i.h("ui-skeleton",{key:"564ebfab701f827ddc2debccb7615926dbc9e876",class:"UiContainer",structure:"image",width:"100%",height:"100%"}),i.h("img",{key:"2188ca4494c10587f064acc5459ffc468948f497",ref:e=>this.image=e,src:this.shouldLoad?this.src:void 0,onLoad:()=>this.imgLoaded=!0,style:this.styles,class:`UiContainer ${this.imgLoaded?"Visible":"Hidden"}`,alt:this.alt,width:this.width,height:this.height,loading:"lazy"}))}get el(){return i.getElement(this)}static get watchers(){return{src:["handleSrc"]}}};n.style=d;exports.UiImage=n;
1
+ "use strict";const i=require("./index-97d17652-CjAagVjG.cjs"),r=".HostContainer{display:block}.UiContainer{height:100%;width:100%;border-radius:inherit;object-fit:inherit}.UiContainer .Image{border-radius:inherit}.Hidden{opacity:0;transition:opacity 0.5s ease-in-out}.Visible{opacity:1;border-radius:var(--emw--border-radius-medium, 10px);transition:opacity 0.5s ease-in-out}",d=r,n=class{constructor(e){i.registerInstance(this,e),this.src=void 0,this.width=void 0,this.height=void 0,this.alt=void 0,this.styles=void 0,this.detectDistance="200px",this.imgLoaded=!1,this.shouldLoad=!1}handleSrc(){if(!this.shouldLoad)return;const e=new Image;e.onload=()=>{this.image&&(this.image.src=this.src,this.imgLoaded=!0,e.onload=null)},e.src=this.src}componentDidLoad(){"IntersectionObserver"in window?(this.el.__uxComponent=this,window.EMUxObserver||(window.EMUxObserver=new IntersectionObserver(e=>{e.forEach(t=>{if(t.isIntersecting){const s=t.target.__uxComponent;s&&(s.shouldLoad=!0,s.handleSrc()),window.EMUxObserver.unobserve(t.target)}})},{rootMargin:this.detectDistance})),window.EMUxObserver.observe(this.el)):(this.shouldLoad=!0,this.handleSrc())}render(){return i.h(i.Host,{key:"f506ba73852f257ad80bf59ca177d2065a5f365e",class:"HostContainer"},!this.imgLoaded&&i.h("ui-skeleton",{key:"564ebfab701f827ddc2debccb7615926dbc9e876",class:"UiContainer",structure:"image",width:"100%",height:"100%"}),i.h("img",{key:"2188ca4494c10587f064acc5459ffc468948f497",ref:e=>this.image=e,src:this.shouldLoad?this.src:void 0,onLoad:()=>this.imgLoaded=!0,style:this.styles,class:`UiContainer ${this.imgLoaded?"Visible":"Hidden"}`,alt:this.alt,width:this.width,height:this.height,loading:"lazy"}))}get el(){return i.getElement(this)}static get watchers(){return{src:["handleSrc"]}}};n.style=d;exports.UiImage=n;
@@ -1,12 +1,32 @@
1
- import { U as h } from "./ui-image-b7b48fe5-V9vp4faA.js";
2
- import { r as o, h as t, H as i } from "./index-97d17652-BEnqZAxL.js";
3
- const n = ":host{display:block;--emw-skeleton-rectangle-background:#c2c2c2;--emw-skeleton-circle-background:#c2c2c2;--emw-skeleton-text-background:#c2c2c2;--emw-skeleton-title-background:#c2c2c2;--emw-skeleton-image-background:#c2c2c2;--emw-skeleton-logo-background:#c2c2c2;--emw-skeleton-primary-color:#e0e0e0;--emw-skeleton-secondary-color:#f0f0f0}.Skeleton{animation:skeleton-loading 1s linear infinite alternate}.Rectangle{background-color:var(--emw-skeleton-rectangle-background, #c2c2c2);width:var(--emw-skeleton-rectangle-width, 400px);height:var(--emw-skeleton-rectangle-height, 200px);border-radius:var(--emw-skeleton-rectangle-border-radius, 2px)}.Circle{background-color:var(--emw-skeleton-circle-background, #c2c2c2);width:var(--emw-skeleton-circle-size, 400px);height:var(--emw-skeleton-circle-size, 400px);border-radius:50%}.Text{background-color:var(--emw-skeleton-text-background, #c2c2c2);width:var(--emw-skeleton-text-width, 500px);height:var(--emw-skeleton-text-height, 20px);border-radius:var(--emw-skeleton-text-border-radius, 5px);margin-bottom:var(--emw-skeleton-text-margin-bottom, 5px)}.Text:last-child{width:var(--emw-skeleton-text-width-100, 300px)}.Title{background-color:var(--emw-skeleton-title-background, #c2c2c2);width:var(--emw-skeleton-title-width, 300px);height:var(--emw-skeleton-title-height, 30px);border-radius:var(--emw-skeleton-title-border-radius, 5px);margin-bottom:var(--emw-skeleton-title-margin-bottom, 5px)}.Image{background-color:var(--emw-skeleton-image-background, #c2c2c2);width:var(--emw-skeleton-image-width, 100%);height:var(--emw-skeleton-image-height, 100%);border-radius:var(--emw-skeleton-image-border-radius, inherit)}.Logo{background-color:var(--emw-skeleton-logo-background, #c2c2c2);width:var(--emw-skeleton-logo-width, 120px);height:var(--emw-skeleton-logo-height, 75px);border-radius:var(--emw-skeleton-logo-border-radius, 5px)}@keyframes skeleton-loading{0%{background-color:var(--emw-skeleton-primary-color, var(--emw-skeleton-color-0, #c2c2c2))}100%{background-color:var(--emw-skeleton-secondary-color, var(--emw-skeleton-color-100, #f0f0f0))}}", s = n, a = class {
1
+ import { U as m } from "./ui-image-b7b48fe5-C2NxBIqB.js";
2
+ import { r as i, h as t, H as o } from "./index-97d17652-IdX2D3yt.js";
3
+ const n = ":host{display:block;--emw-skeleton-rectangle-background:#c2c2c2;--emw-skeleton-circle-background:#c2c2c2;--emw-skeleton-text-background:#c2c2c2;--emw-skeleton-title-background:#c2c2c2;--emw-skeleton-image-background:#c2c2c2;--emw-skeleton-logo-background:#c2c2c2;--emw-skeleton-primary-color:#e0e0e0;--emw-skeleton-secondary-color:#f0f0f0}.Skeleton{animation:skeleton-loading 1s linear infinite alternate}.Rectangle{background-color:var(--emw-skeleton-rectangle-background, #c2c2c2);width:var(--emw-skeleton-rectangle-width, 400px);height:var(--emw-skeleton-rectangle-height, 200px);border-radius:var(--emw-skeleton-rectangle-border-radius, 2px)}.Circle{background-color:var(--emw-skeleton-circle-background, #c2c2c2);width:var(--emw-skeleton-circle-size, 400px);height:var(--emw-skeleton-circle-size, 400px);border-radius:50%}.Text{background-color:var(--emw-skeleton-text-background, #c2c2c2);width:var(--emw-skeleton-text-width, 500px);height:var(--emw-skeleton-text-height, 20px);border-radius:var(--emw-skeleton-text-border-radius, 5px);margin-bottom:var(--emw-skeleton-text-margin-bottom, 5px)}.Text:last-child{width:var(--emw-skeleton-text-width-100, 300px)}.Title{background-color:var(--emw-skeleton-title-background, #c2c2c2);width:var(--emw-skeleton-title-width, 300px);height:var(--emw-skeleton-title-height, 30px);border-radius:var(--emw-skeleton-title-border-radius, 5px);margin-bottom:var(--emw-skeleton-title-margin-bottom, 5px)}.Image{background-color:var(--emw-skeleton-image-background, #c2c2c2);width:var(--emw-skeleton-image-width, 100%);height:var(--emw-skeleton-image-height, 100%);border-radius:var(--emw-skeleton-image-border-radius, inherit)}.Logo{background-color:var(--emw-skeleton-logo-background, #c2c2c2);width:var(--emw-skeleton-logo-width, 120px);height:var(--emw-skeleton-logo-height, 75px);border-radius:var(--emw-skeleton-logo-border-radius, 5px)}@keyframes skeleton-loading{0%{background-color:var(--emw-skeleton-primary-color, var(--emw-skeleton-color-0, #c2c2c2))}100%{background-color:var(--emw-skeleton-secondary-color, var(--emw-skeleton-color-100, #f0f0f0))}}", s = n, l = class {
4
4
  constructor(e) {
5
- o(this, e), this.structure = void 0, this.width = void 0, this.height = void 0, this.borderRadius = void 0, this.marginBottom = void 0, this.marginTop = void 0, this.marginLeft = void 0, this.marginRight = void 0, this.animation = !0, this.rows = void 0, this.size = void 0, this.color = void 0, this.primaryColor = void 0, this.secondaryColor = void 0;
5
+ i(this, e), this.stylingValue = {
6
+ width: this.handleStylingProps(this.width),
7
+ height: this.handleStylingProps(this.height),
8
+ borderRadius: this.handleStylingProps(this.borderRadius),
9
+ marginBottom: this.handleStylingProps(this.marginBottom),
10
+ marginTop: this.handleStylingProps(this.marginTop),
11
+ marginLeft: this.handleStylingProps(this.marginLeft),
12
+ marginRight: this.handleStylingProps(this.marginRight)
13
+ }, this.structure = void 0, this.width = "unset", this.height = "unset", this.borderRadius = "unset", this.marginBottom = "unset", this.marginTop = "unset", this.marginLeft = "unset", this.marginRight = "unset", this.animation = !0, this.rows = 0, this.size = "100%", this.color = "#c2c2c2", this.primaryColor = "#c2c2c2", this.secondaryColor = "#ffffff";
6
14
  }
7
15
  handleStructureChange(e, r) {
8
16
  r !== e && this.handleStructure(e);
9
17
  }
18
+ handleStylingProps(e) {
19
+ switch (typeof e) {
20
+ case "number":
21
+ return e === 0 ? 0 : `${e}px`;
22
+ case "undefined":
23
+ return "unset";
24
+ case "string":
25
+ return ["auto", "unset", "none", "inherit", "initial"].includes(e) || e.endsWith("px") || e.endsWith("%") ? e : "unset";
26
+ default:
27
+ return "unset";
28
+ }
29
+ }
10
30
  handleStructure(e) {
11
31
  switch (e) {
12
32
  case "logo":
@@ -49,13 +69,13 @@ const n = ":host{display:block;--emw-skeleton-rectangle-background:#c2c2c2;--emw
49
69
  case "logo":
50
70
  e = `
51
71
  :host {
52
- --emw-skeleton-logo-width: ${this.width};
53
- --emw-skeleton-logo-height: ${this.height};
54
- --emw-skeleton-logo-border-radius: ${this.borderRadius}px;
55
- --emw-skeleton-logo-margin-bottom: ${this.marginBottom}px;
56
- --emw-skeleton-logo-margin-top: ${this.marginTop}px;
57
- --emw-skeleton-logo-margin-left: ${this.marginLeft}px;
58
- --emw-skeleton-logo-margin-right: ${this.marginRight}px;
72
+ --emw-skeleton-logo-width: ${this.stylingValue.width};
73
+ --emw-skeleton-logo-height: ${this.stylingValue.height};
74
+ --emw-skeleton-logo-border-radius: ${this.stylingValue.borderRadius};
75
+ --emw-skeleton-logo-margin-bottom: ${this.stylingValue.marginBottom};
76
+ --emw-skeleton-logo-margin-top: ${this.stylingValue.marginTop};
77
+ --emw-skeleton-logo-margin-left: ${this.stylingValue.marginLeft};
78
+ --emw-skeleton-logo-margin-right: ${this.stylingValue.marginRight};
59
79
  --emw-skeleton-logo-background: ${this.color};
60
80
  --emw-skeleton-primary-color: ${this.primaryColor};
61
81
  --emw-skeleton-secondary-color: ${this.secondaryColor};
@@ -65,13 +85,13 @@ const n = ":host{display:block;--emw-skeleton-rectangle-background:#c2c2c2;--emw
65
85
  case "image":
66
86
  e = `
67
87
  :host {
68
- --emw-skeleton-image-width: ${this.width};
69
- --emw-skeleton-image-height: ${this.height};
70
- --emw-skeleton-image-border-radius: ${this.borderRadius}px;
71
- --emw-skeleton-image-margin-bottom: ${this.marginBottom}px;
72
- --emw-skeleton-image-margin-top: ${this.marginTop}px;
73
- --emw-skeleton-image-margin-left: ${this.marginLeft}px;
74
- --emw-skeleton-image-margin-right: ${this.marginRight}px;
88
+ --emw-skeleton-image-width: ${this.stylingValue.width};
89
+ --emw-skeleton-image-height: ${this.stylingValue.height};
90
+ --emw-skeleton-image-border-radius: ${this.stylingValue.borderRadius};
91
+ --emw-skeleton-image-margin-bottom: ${this.stylingValue.marginBottom};
92
+ --emw-skeleton-image-margin-top: ${this.stylingValue.marginTop};
93
+ --emw-skeleton-image-margin-left: ${this.stylingValue.marginLeft};
94
+ --emw-skeleton-image-margin-right: ${this.stylingValue.marginRight};
75
95
  --emw-skeleton-image-background: ${this.color};
76
96
  --emw-skeleton-primary-color: ${this.primaryColor};
77
97
  --emw-skeleton-secondary-color: ${this.secondaryColor};
@@ -81,13 +101,13 @@ const n = ":host{display:block;--emw-skeleton-rectangle-background:#c2c2c2;--emw
81
101
  case "title":
82
102
  e = `
83
103
  :host {
84
- --emw-skeleton-title-width: ${this.width};
85
- --emw-skeleton-title-height: ${this.height};
86
- --emw-skeleton-title-border-radius: ${this.borderRadius}px;
87
- --emw-skeleton-title-margin-bottom: ${this.marginBottom}px;
88
- --emw-skeleton-title-margin-top: ${this.marginTop}px;
89
- --emw-skeleton-title-margin-left: ${this.marginLeft}px;
90
- --emw-skeleton-title-margin-right: ${this.marginRight}px;
104
+ --emw-skeleton-title-width: ${this.stylingValue.width};
105
+ --emw-skeleton-title-height: ${this.stylingValue.height};
106
+ --emw-skeleton-title-border-radius: ${this.stylingValue.borderRadius};
107
+ --emw-skeleton-title-margin-bottom: ${this.stylingValue.marginBottom};
108
+ --emw-skeleton-title-margin-top: ${this.stylingValue.marginTop};
109
+ --emw-skeleton-title-margin-left: ${this.stylingValue.marginLeft};
110
+ --emw-skeleton-title-margin-right: ${this.stylingValue.marginRight};
91
111
  --emw-skeleton-title-background: ${this.color};
92
112
  --emw-skeleton-primary-color: ${this.primaryColor};
93
113
  --emw-skeleton-secondary-color: ${this.secondaryColor};
@@ -97,13 +117,13 @@ const n = ":host{display:block;--emw-skeleton-rectangle-background:#c2c2c2;--emw
97
117
  case "text":
98
118
  e = `
99
119
  :host {
100
- --emw-skeleton-text-width: ${this.width};
101
- --emw-skeleton-text-height: ${this.height};
102
- --emw-skeleton-text-border-radius: ${this.borderRadius}px;
103
- --emw-skeleton-text-margin-bottom: ${this.marginBottom}px;
104
- --emw-skeleton-text-margin-top: ${this.marginTop}px;
105
- --emw-skeleton-text-margin-left: ${this.marginLeft}px;
106
- --emw-skeleton-text-margin-right: ${this.marginRight}px;
120
+ --emw-skeleton-text-width: ${this.stylingValue.width};
121
+ --emw-skeleton-text-height: ${this.stylingValue.height};
122
+ --emw-skeleton-text-border-radius: ${this.stylingValue.borderRadius};
123
+ --emw-skeleton-text-margin-bottom: ${this.stylingValue.marginBottom};
124
+ --emw-skeleton-text-margin-top: ${this.stylingValue.marginTop};
125
+ --emw-skeleton-text-margin-left: ${this.stylingValue.marginLeft};
126
+ --emw-skeleton-text-margin-right: ${this.stylingValue.marginRight};
107
127
  --emw-skeleton-text-background: ${this.color};
108
128
  --emw-skeleton-primary-color: ${this.primaryColor};
109
129
  --emw-skeleton-secondary-color: ${this.secondaryColor};
@@ -113,13 +133,13 @@ const n = ":host{display:block;--emw-skeleton-rectangle-background:#c2c2c2;--emw
113
133
  case "rectangle":
114
134
  e = `
115
135
  :host {
116
- --emw-skeleton-rectangle-width: ${this.width};
117
- --emw-skeleton-rectangle-height: ${this.height};
118
- --emw-skeleton-rectangle-border-radius: ${this.borderRadius}px;
119
- --emw-skeleton-rectangle-margin-bottom: ${this.marginBottom}px;
120
- --emw-skeleton-rectangle-margin-top: ${this.marginTop}px;
121
- --emw-skeleton-rectangle-margin-left: ${this.marginLeft}px;
122
- --emw-skeleton-rectangle-margin-right: ${this.marginRight}px;
136
+ --emw-skeleton-rectangle-width: ${this.stylingValue.width};
137
+ --emw-skeleton-rectangle-height: ${this.stylingValue.height};
138
+ --emw-skeleton-rectangle-border-radius: ${this.stylingValue.borderRadius};
139
+ --emw-skeleton-rectangle-margin-bottom: ${this.stylingValue.marginBottom};
140
+ --emw-skeleton-rectangle-margin-top: ${this.stylingValue.marginTop};
141
+ --emw-skeleton-rectangle-margin-left: ${this.stylingValue.marginLeft};
142
+ --emw-skeleton-rectangle-margin-right: ${this.stylingValue.marginRight};
123
143
  --emw-skeleton-rectangle-background: ${this.color};
124
144
  --emw-skeleton-primary-color: ${this.primaryColor};
125
145
  --emw-skeleton-secondary-color: ${this.secondaryColor};
@@ -139,7 +159,7 @@ const n = ":host{display:block;--emw-skeleton-rectangle-background:#c2c2c2;--emw
139
159
  default:
140
160
  e = "";
141
161
  }
142
- return t(i, { key: "3bb792a149db7fe732d5cbfa092cdb4d6ca0689e" }, t("style", { key: "a4607599b60659f385ae2660513e38b383739674" }, e), this.handleStructure(this.structure));
162
+ return t(o, { key: "5c185b76c438d20d4ad88bc48d94ff5628410bb7" }, t("style", { key: "de95e60a5955d5b2af83710423fe40329c187f7e" }, e), this.handleStructure(this.structure));
143
163
  }
144
164
  static get watchers() {
145
165
  return {
@@ -147,8 +167,8 @@ const n = ":host{display:block;--emw-skeleton-rectangle-background:#c2c2c2;--emw
147
167
  };
148
168
  }
149
169
  };
150
- a.style = s;
170
+ l.style = s;
151
171
  export {
152
- h as ui_image,
153
- a as ui_skeleton
172
+ m as ui_image,
173
+ l as ui_skeleton
154
174
  };
@@ -1,12 +1,32 @@
1
- import { U as h } from "./ui-image-b7b48fe5-Cf9Vq5pI.js";
2
- import { r as o, h as t, H as i } from "./index-97d17652-WK_DbPS4.js";
3
- const n = ":host{display:block;--emw-skeleton-rectangle-background:#c2c2c2;--emw-skeleton-circle-background:#c2c2c2;--emw-skeleton-text-background:#c2c2c2;--emw-skeleton-title-background:#c2c2c2;--emw-skeleton-image-background:#c2c2c2;--emw-skeleton-logo-background:#c2c2c2;--emw-skeleton-primary-color:#e0e0e0;--emw-skeleton-secondary-color:#f0f0f0}.Skeleton{animation:skeleton-loading 1s linear infinite alternate}.Rectangle{background-color:var(--emw-skeleton-rectangle-background, #c2c2c2);width:var(--emw-skeleton-rectangle-width, 400px);height:var(--emw-skeleton-rectangle-height, 200px);border-radius:var(--emw-skeleton-rectangle-border-radius, 2px)}.Circle{background-color:var(--emw-skeleton-circle-background, #c2c2c2);width:var(--emw-skeleton-circle-size, 400px);height:var(--emw-skeleton-circle-size, 400px);border-radius:50%}.Text{background-color:var(--emw-skeleton-text-background, #c2c2c2);width:var(--emw-skeleton-text-width, 500px);height:var(--emw-skeleton-text-height, 20px);border-radius:var(--emw-skeleton-text-border-radius, 5px);margin-bottom:var(--emw-skeleton-text-margin-bottom, 5px)}.Text:last-child{width:var(--emw-skeleton-text-width-100, 300px)}.Title{background-color:var(--emw-skeleton-title-background, #c2c2c2);width:var(--emw-skeleton-title-width, 300px);height:var(--emw-skeleton-title-height, 30px);border-radius:var(--emw-skeleton-title-border-radius, 5px);margin-bottom:var(--emw-skeleton-title-margin-bottom, 5px)}.Image{background-color:var(--emw-skeleton-image-background, #c2c2c2);width:var(--emw-skeleton-image-width, 100%);height:var(--emw-skeleton-image-height, 100%);border-radius:var(--emw-skeleton-image-border-radius, inherit)}.Logo{background-color:var(--emw-skeleton-logo-background, #c2c2c2);width:var(--emw-skeleton-logo-width, 120px);height:var(--emw-skeleton-logo-height, 75px);border-radius:var(--emw-skeleton-logo-border-radius, 5px)}@keyframes skeleton-loading{0%{background-color:var(--emw-skeleton-primary-color, var(--emw-skeleton-color-0, #c2c2c2))}100%{background-color:var(--emw-skeleton-secondary-color, var(--emw-skeleton-color-100, #f0f0f0))}}", s = n, a = class {
1
+ import { U as m } from "./ui-image-b7b48fe5-CSbk4a-_.js";
2
+ import { r as i, h as t, H as o } from "./index-97d17652-D1-6d0Bk.js";
3
+ const n = ":host{display:block;--emw-skeleton-rectangle-background:#c2c2c2;--emw-skeleton-circle-background:#c2c2c2;--emw-skeleton-text-background:#c2c2c2;--emw-skeleton-title-background:#c2c2c2;--emw-skeleton-image-background:#c2c2c2;--emw-skeleton-logo-background:#c2c2c2;--emw-skeleton-primary-color:#e0e0e0;--emw-skeleton-secondary-color:#f0f0f0}.Skeleton{animation:skeleton-loading 1s linear infinite alternate}.Rectangle{background-color:var(--emw-skeleton-rectangle-background, #c2c2c2);width:var(--emw-skeleton-rectangle-width, 400px);height:var(--emw-skeleton-rectangle-height, 200px);border-radius:var(--emw-skeleton-rectangle-border-radius, 2px)}.Circle{background-color:var(--emw-skeleton-circle-background, #c2c2c2);width:var(--emw-skeleton-circle-size, 400px);height:var(--emw-skeleton-circle-size, 400px);border-radius:50%}.Text{background-color:var(--emw-skeleton-text-background, #c2c2c2);width:var(--emw-skeleton-text-width, 500px);height:var(--emw-skeleton-text-height, 20px);border-radius:var(--emw-skeleton-text-border-radius, 5px);margin-bottom:var(--emw-skeleton-text-margin-bottom, 5px)}.Text:last-child{width:var(--emw-skeleton-text-width-100, 300px)}.Title{background-color:var(--emw-skeleton-title-background, #c2c2c2);width:var(--emw-skeleton-title-width, 300px);height:var(--emw-skeleton-title-height, 30px);border-radius:var(--emw-skeleton-title-border-radius, 5px);margin-bottom:var(--emw-skeleton-title-margin-bottom, 5px)}.Image{background-color:var(--emw-skeleton-image-background, #c2c2c2);width:var(--emw-skeleton-image-width, 100%);height:var(--emw-skeleton-image-height, 100%);border-radius:var(--emw-skeleton-image-border-radius, inherit)}.Logo{background-color:var(--emw-skeleton-logo-background, #c2c2c2);width:var(--emw-skeleton-logo-width, 120px);height:var(--emw-skeleton-logo-height, 75px);border-radius:var(--emw-skeleton-logo-border-radius, 5px)}@keyframes skeleton-loading{0%{background-color:var(--emw-skeleton-primary-color, var(--emw-skeleton-color-0, #c2c2c2))}100%{background-color:var(--emw-skeleton-secondary-color, var(--emw-skeleton-color-100, #f0f0f0))}}", s = n, l = class {
4
4
  constructor(e) {
5
- o(this, e), this.structure = void 0, this.width = void 0, this.height = void 0, this.borderRadius = void 0, this.marginBottom = void 0, this.marginTop = void 0, this.marginLeft = void 0, this.marginRight = void 0, this.animation = !0, this.rows = void 0, this.size = void 0, this.color = void 0, this.primaryColor = void 0, this.secondaryColor = void 0;
5
+ i(this, e), this.stylingValue = {
6
+ width: this.handleStylingProps(this.width),
7
+ height: this.handleStylingProps(this.height),
8
+ borderRadius: this.handleStylingProps(this.borderRadius),
9
+ marginBottom: this.handleStylingProps(this.marginBottom),
10
+ marginTop: this.handleStylingProps(this.marginTop),
11
+ marginLeft: this.handleStylingProps(this.marginLeft),
12
+ marginRight: this.handleStylingProps(this.marginRight)
13
+ }, this.structure = void 0, this.width = "unset", this.height = "unset", this.borderRadius = "unset", this.marginBottom = "unset", this.marginTop = "unset", this.marginLeft = "unset", this.marginRight = "unset", this.animation = !0, this.rows = 0, this.size = "100%", this.color = "#c2c2c2", this.primaryColor = "#c2c2c2", this.secondaryColor = "#ffffff";
6
14
  }
7
15
  handleStructureChange(e, r) {
8
16
  r !== e && this.handleStructure(e);
9
17
  }
18
+ handleStylingProps(e) {
19
+ switch (typeof e) {
20
+ case "number":
21
+ return e === 0 ? 0 : `${e}px`;
22
+ case "undefined":
23
+ return "unset";
24
+ case "string":
25
+ return ["auto", "unset", "none", "inherit", "initial"].includes(e) || e.endsWith("px") || e.endsWith("%") ? e : "unset";
26
+ default:
27
+ return "unset";
28
+ }
29
+ }
10
30
  handleStructure(e) {
11
31
  switch (e) {
12
32
  case "logo":
@@ -49,13 +69,13 @@ const n = ":host{display:block;--emw-skeleton-rectangle-background:#c2c2c2;--emw
49
69
  case "logo":
50
70
  e = `
51
71
  :host {
52
- --emw-skeleton-logo-width: ${this.width};
53
- --emw-skeleton-logo-height: ${this.height};
54
- --emw-skeleton-logo-border-radius: ${this.borderRadius}px;
55
- --emw-skeleton-logo-margin-bottom: ${this.marginBottom}px;
56
- --emw-skeleton-logo-margin-top: ${this.marginTop}px;
57
- --emw-skeleton-logo-margin-left: ${this.marginLeft}px;
58
- --emw-skeleton-logo-margin-right: ${this.marginRight}px;
72
+ --emw-skeleton-logo-width: ${this.stylingValue.width};
73
+ --emw-skeleton-logo-height: ${this.stylingValue.height};
74
+ --emw-skeleton-logo-border-radius: ${this.stylingValue.borderRadius};
75
+ --emw-skeleton-logo-margin-bottom: ${this.stylingValue.marginBottom};
76
+ --emw-skeleton-logo-margin-top: ${this.stylingValue.marginTop};
77
+ --emw-skeleton-logo-margin-left: ${this.stylingValue.marginLeft};
78
+ --emw-skeleton-logo-margin-right: ${this.stylingValue.marginRight};
59
79
  --emw-skeleton-logo-background: ${this.color};
60
80
  --emw-skeleton-primary-color: ${this.primaryColor};
61
81
  --emw-skeleton-secondary-color: ${this.secondaryColor};
@@ -65,13 +85,13 @@ const n = ":host{display:block;--emw-skeleton-rectangle-background:#c2c2c2;--emw
65
85
  case "image":
66
86
  e = `
67
87
  :host {
68
- --emw-skeleton-image-width: ${this.width};
69
- --emw-skeleton-image-height: ${this.height};
70
- --emw-skeleton-image-border-radius: ${this.borderRadius}px;
71
- --emw-skeleton-image-margin-bottom: ${this.marginBottom}px;
72
- --emw-skeleton-image-margin-top: ${this.marginTop}px;
73
- --emw-skeleton-image-margin-left: ${this.marginLeft}px;
74
- --emw-skeleton-image-margin-right: ${this.marginRight}px;
88
+ --emw-skeleton-image-width: ${this.stylingValue.width};
89
+ --emw-skeleton-image-height: ${this.stylingValue.height};
90
+ --emw-skeleton-image-border-radius: ${this.stylingValue.borderRadius};
91
+ --emw-skeleton-image-margin-bottom: ${this.stylingValue.marginBottom};
92
+ --emw-skeleton-image-margin-top: ${this.stylingValue.marginTop};
93
+ --emw-skeleton-image-margin-left: ${this.stylingValue.marginLeft};
94
+ --emw-skeleton-image-margin-right: ${this.stylingValue.marginRight};
75
95
  --emw-skeleton-image-background: ${this.color};
76
96
  --emw-skeleton-primary-color: ${this.primaryColor};
77
97
  --emw-skeleton-secondary-color: ${this.secondaryColor};
@@ -81,13 +101,13 @@ const n = ":host{display:block;--emw-skeleton-rectangle-background:#c2c2c2;--emw
81
101
  case "title":
82
102
  e = `
83
103
  :host {
84
- --emw-skeleton-title-width: ${this.width};
85
- --emw-skeleton-title-height: ${this.height};
86
- --emw-skeleton-title-border-radius: ${this.borderRadius}px;
87
- --emw-skeleton-title-margin-bottom: ${this.marginBottom}px;
88
- --emw-skeleton-title-margin-top: ${this.marginTop}px;
89
- --emw-skeleton-title-margin-left: ${this.marginLeft}px;
90
- --emw-skeleton-title-margin-right: ${this.marginRight}px;
104
+ --emw-skeleton-title-width: ${this.stylingValue.width};
105
+ --emw-skeleton-title-height: ${this.stylingValue.height};
106
+ --emw-skeleton-title-border-radius: ${this.stylingValue.borderRadius};
107
+ --emw-skeleton-title-margin-bottom: ${this.stylingValue.marginBottom};
108
+ --emw-skeleton-title-margin-top: ${this.stylingValue.marginTop};
109
+ --emw-skeleton-title-margin-left: ${this.stylingValue.marginLeft};
110
+ --emw-skeleton-title-margin-right: ${this.stylingValue.marginRight};
91
111
  --emw-skeleton-title-background: ${this.color};
92
112
  --emw-skeleton-primary-color: ${this.primaryColor};
93
113
  --emw-skeleton-secondary-color: ${this.secondaryColor};
@@ -97,13 +117,13 @@ const n = ":host{display:block;--emw-skeleton-rectangle-background:#c2c2c2;--emw
97
117
  case "text":
98
118
  e = `
99
119
  :host {
100
- --emw-skeleton-text-width: ${this.width};
101
- --emw-skeleton-text-height: ${this.height};
102
- --emw-skeleton-text-border-radius: ${this.borderRadius}px;
103
- --emw-skeleton-text-margin-bottom: ${this.marginBottom}px;
104
- --emw-skeleton-text-margin-top: ${this.marginTop}px;
105
- --emw-skeleton-text-margin-left: ${this.marginLeft}px;
106
- --emw-skeleton-text-margin-right: ${this.marginRight}px;
120
+ --emw-skeleton-text-width: ${this.stylingValue.width};
121
+ --emw-skeleton-text-height: ${this.stylingValue.height};
122
+ --emw-skeleton-text-border-radius: ${this.stylingValue.borderRadius};
123
+ --emw-skeleton-text-margin-bottom: ${this.stylingValue.marginBottom};
124
+ --emw-skeleton-text-margin-top: ${this.stylingValue.marginTop};
125
+ --emw-skeleton-text-margin-left: ${this.stylingValue.marginLeft};
126
+ --emw-skeleton-text-margin-right: ${this.stylingValue.marginRight};
107
127
  --emw-skeleton-text-background: ${this.color};
108
128
  --emw-skeleton-primary-color: ${this.primaryColor};
109
129
  --emw-skeleton-secondary-color: ${this.secondaryColor};
@@ -113,13 +133,13 @@ const n = ":host{display:block;--emw-skeleton-rectangle-background:#c2c2c2;--emw
113
133
  case "rectangle":
114
134
  e = `
115
135
  :host {
116
- --emw-skeleton-rectangle-width: ${this.width};
117
- --emw-skeleton-rectangle-height: ${this.height};
118
- --emw-skeleton-rectangle-border-radius: ${this.borderRadius}px;
119
- --emw-skeleton-rectangle-margin-bottom: ${this.marginBottom}px;
120
- --emw-skeleton-rectangle-margin-top: ${this.marginTop}px;
121
- --emw-skeleton-rectangle-margin-left: ${this.marginLeft}px;
122
- --emw-skeleton-rectangle-margin-right: ${this.marginRight}px;
136
+ --emw-skeleton-rectangle-width: ${this.stylingValue.width};
137
+ --emw-skeleton-rectangle-height: ${this.stylingValue.height};
138
+ --emw-skeleton-rectangle-border-radius: ${this.stylingValue.borderRadius};
139
+ --emw-skeleton-rectangle-margin-bottom: ${this.stylingValue.marginBottom};
140
+ --emw-skeleton-rectangle-margin-top: ${this.stylingValue.marginTop};
141
+ --emw-skeleton-rectangle-margin-left: ${this.stylingValue.marginLeft};
142
+ --emw-skeleton-rectangle-margin-right: ${this.stylingValue.marginRight};
123
143
  --emw-skeleton-rectangle-background: ${this.color};
124
144
  --emw-skeleton-primary-color: ${this.primaryColor};
125
145
  --emw-skeleton-secondary-color: ${this.secondaryColor};
@@ -139,7 +159,7 @@ const n = ":host{display:block;--emw-skeleton-rectangle-background:#c2c2c2;--emw
139
159
  default:
140
160
  e = "";
141
161
  }
142
- return t(i, { key: "3bb792a149db7fe732d5cbfa092cdb4d6ca0689e" }, t("style", { key: "a4607599b60659f385ae2660513e38b383739674" }, e), this.handleStructure(this.structure));
162
+ return t(o, { key: "5c185b76c438d20d4ad88bc48d94ff5628410bb7" }, t("style", { key: "de95e60a5955d5b2af83710423fe40329c187f7e" }, e), this.handleStructure(this.structure));
143
163
  }
144
164
  static get watchers() {
145
165
  return {
@@ -147,8 +167,8 @@ const n = ":host{display:block;--emw-skeleton-rectangle-background:#c2c2c2;--emw
147
167
  };
148
168
  }
149
169
  };
150
- a.style = s;
170
+ l.style = s;
151
171
  export {
152
- h as ui_image,
153
- a as ui_skeleton
172
+ m as ui_image,
173
+ l as ui_skeleton
154
174
  };
@@ -0,0 +1,73 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./ui-image-b7b48fe5-DtQlRvK7.cjs"),t=require("./index-97d17652-CjAagVjG.cjs"),n=":host{display:block;--emw-skeleton-rectangle-background:#c2c2c2;--emw-skeleton-circle-background:#c2c2c2;--emw-skeleton-text-background:#c2c2c2;--emw-skeleton-title-background:#c2c2c2;--emw-skeleton-image-background:#c2c2c2;--emw-skeleton-logo-background:#c2c2c2;--emw-skeleton-primary-color:#e0e0e0;--emw-skeleton-secondary-color:#f0f0f0}.Skeleton{animation:skeleton-loading 1s linear infinite alternate}.Rectangle{background-color:var(--emw-skeleton-rectangle-background, #c2c2c2);width:var(--emw-skeleton-rectangle-width, 400px);height:var(--emw-skeleton-rectangle-height, 200px);border-radius:var(--emw-skeleton-rectangle-border-radius, 2px)}.Circle{background-color:var(--emw-skeleton-circle-background, #c2c2c2);width:var(--emw-skeleton-circle-size, 400px);height:var(--emw-skeleton-circle-size, 400px);border-radius:50%}.Text{background-color:var(--emw-skeleton-text-background, #c2c2c2);width:var(--emw-skeleton-text-width, 500px);height:var(--emw-skeleton-text-height, 20px);border-radius:var(--emw-skeleton-text-border-radius, 5px);margin-bottom:var(--emw-skeleton-text-margin-bottom, 5px)}.Text:last-child{width:var(--emw-skeleton-text-width-100, 300px)}.Title{background-color:var(--emw-skeleton-title-background, #c2c2c2);width:var(--emw-skeleton-title-width, 300px);height:var(--emw-skeleton-title-height, 30px);border-radius:var(--emw-skeleton-title-border-radius, 5px);margin-bottom:var(--emw-skeleton-title-margin-bottom, 5px)}.Image{background-color:var(--emw-skeleton-image-background, #c2c2c2);width:var(--emw-skeleton-image-width, 100%);height:var(--emw-skeleton-image-height, 100%);border-radius:var(--emw-skeleton-image-border-radius, inherit)}.Logo{background-color:var(--emw-skeleton-logo-background, #c2c2c2);width:var(--emw-skeleton-logo-width, 120px);height:var(--emw-skeleton-logo-height, 75px);border-radius:var(--emw-skeleton-logo-border-radius, 5px)}@keyframes skeleton-loading{0%{background-color:var(--emw-skeleton-primary-color, var(--emw-skeleton-color-0, #c2c2c2))}100%{background-color:var(--emw-skeleton-secondary-color, var(--emw-skeleton-color-100, #f0f0f0))}}",s=n,r=class{constructor(e){t.registerInstance(this,e),this.stylingValue={width:this.handleStylingProps(this.width),height:this.handleStylingProps(this.height),borderRadius:this.handleStylingProps(this.borderRadius),marginBottom:this.handleStylingProps(this.marginBottom),marginTop:this.handleStylingProps(this.marginTop),marginLeft:this.handleStylingProps(this.marginLeft),marginRight:this.handleStylingProps(this.marginRight)},this.structure=void 0,this.width="unset",this.height="unset",this.borderRadius="unset",this.marginBottom="unset",this.marginTop="unset",this.marginLeft="unset",this.marginRight="unset",this.animation=!0,this.rows=0,this.size="100%",this.color="#c2c2c2",this.primaryColor="#c2c2c2",this.secondaryColor="#ffffff"}handleStructureChange(e,i){i!==e&&this.handleStructure(e)}handleStylingProps(e){switch(typeof e){case"number":return e===0?0:`${e}px`;case"undefined":return"unset";case"string":return["auto","unset","none","inherit","initial"].includes(e)||e.endsWith("px")||e.endsWith("%")?e:"unset";default:return"unset"}}handleStructure(e){switch(e){case"logo":return this.renderLogo();case"image":return this.renderImage();case"title":return this.renderTitle();case"text":return this.renderText();case"rectangle":return this.renderRectangle();case"circle":return this.renderCircle();default:return null}}renderLogo(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"Logo "+(this.animation?"Skeleton":"")}))}renderImage(){return t.h("div",{class:"Image "+(this.animation?"Skeleton":"")})}renderTitle(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"Title "+(this.animation?"Skeleton":"")}))}renderText(){return t.h("div",{class:"SkeletonContainer"},Array.from({length:this.rows>0?this.rows:1}).map((e,i)=>t.h("div",{key:i,class:"Text "+(this.animation?"Skeleton":"")})))}renderRectangle(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"Rectangle "+(this.animation?"Skeleton":"")}))}renderCircle(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"Circle "+(this.animation?"Skeleton":"")}))}render(){let e="";switch(this.structure){case"logo":e=`
2
+ :host {
3
+ --emw-skeleton-logo-width: ${this.stylingValue.width};
4
+ --emw-skeleton-logo-height: ${this.stylingValue.height};
5
+ --emw-skeleton-logo-border-radius: ${this.stylingValue.borderRadius};
6
+ --emw-skeleton-logo-margin-bottom: ${this.stylingValue.marginBottom};
7
+ --emw-skeleton-logo-margin-top: ${this.stylingValue.marginTop};
8
+ --emw-skeleton-logo-margin-left: ${this.stylingValue.marginLeft};
9
+ --emw-skeleton-logo-margin-right: ${this.stylingValue.marginRight};
10
+ --emw-skeleton-logo-background: ${this.color};
11
+ --emw-skeleton-primary-color: ${this.primaryColor};
12
+ --emw-skeleton-secondary-color: ${this.secondaryColor};
13
+ }
14
+ `;break;case"image":e=`
15
+ :host {
16
+ --emw-skeleton-image-width: ${this.stylingValue.width};
17
+ --emw-skeleton-image-height: ${this.stylingValue.height};
18
+ --emw-skeleton-image-border-radius: ${this.stylingValue.borderRadius};
19
+ --emw-skeleton-image-margin-bottom: ${this.stylingValue.marginBottom};
20
+ --emw-skeleton-image-margin-top: ${this.stylingValue.marginTop};
21
+ --emw-skeleton-image-margin-left: ${this.stylingValue.marginLeft};
22
+ --emw-skeleton-image-margin-right: ${this.stylingValue.marginRight};
23
+ --emw-skeleton-image-background: ${this.color};
24
+ --emw-skeleton-primary-color: ${this.primaryColor};
25
+ --emw-skeleton-secondary-color: ${this.secondaryColor};
26
+ }
27
+ `;break;case"title":e=`
28
+ :host {
29
+ --emw-skeleton-title-width: ${this.stylingValue.width};
30
+ --emw-skeleton-title-height: ${this.stylingValue.height};
31
+ --emw-skeleton-title-border-radius: ${this.stylingValue.borderRadius};
32
+ --emw-skeleton-title-margin-bottom: ${this.stylingValue.marginBottom};
33
+ --emw-skeleton-title-margin-top: ${this.stylingValue.marginTop};
34
+ --emw-skeleton-title-margin-left: ${this.stylingValue.marginLeft};
35
+ --emw-skeleton-title-margin-right: ${this.stylingValue.marginRight};
36
+ --emw-skeleton-title-background: ${this.color};
37
+ --emw-skeleton-primary-color: ${this.primaryColor};
38
+ --emw-skeleton-secondary-color: ${this.secondaryColor};
39
+ }
40
+ `;break;case"text":e=`
41
+ :host {
42
+ --emw-skeleton-text-width: ${this.stylingValue.width};
43
+ --emw-skeleton-text-height: ${this.stylingValue.height};
44
+ --emw-skeleton-text-border-radius: ${this.stylingValue.borderRadius};
45
+ --emw-skeleton-text-margin-bottom: ${this.stylingValue.marginBottom};
46
+ --emw-skeleton-text-margin-top: ${this.stylingValue.marginTop};
47
+ --emw-skeleton-text-margin-left: ${this.stylingValue.marginLeft};
48
+ --emw-skeleton-text-margin-right: ${this.stylingValue.marginRight};
49
+ --emw-skeleton-text-background: ${this.color};
50
+ --emw-skeleton-primary-color: ${this.primaryColor};
51
+ --emw-skeleton-secondary-color: ${this.secondaryColor};
52
+ }
53
+ `;break;case"rectangle":e=`
54
+ :host {
55
+ --emw-skeleton-rectangle-width: ${this.stylingValue.width};
56
+ --emw-skeleton-rectangle-height: ${this.stylingValue.height};
57
+ --emw-skeleton-rectangle-border-radius: ${this.stylingValue.borderRadius};
58
+ --emw-skeleton-rectangle-margin-bottom: ${this.stylingValue.marginBottom};
59
+ --emw-skeleton-rectangle-margin-top: ${this.stylingValue.marginTop};
60
+ --emw-skeleton-rectangle-margin-left: ${this.stylingValue.marginLeft};
61
+ --emw-skeleton-rectangle-margin-right: ${this.stylingValue.marginRight};
62
+ --emw-skeleton-rectangle-background: ${this.color};
63
+ --emw-skeleton-primary-color: ${this.primaryColor};
64
+ --emw-skeleton-secondary-color: ${this.secondaryColor};
65
+ }
66
+ `;break;case"circle":e=`
67
+ :host {
68
+ --emw-skeleton-circle-size: ${this.size};
69
+ --emw-skeleton-circle-background: ${this.color};
70
+ --emw-skeleton-primary-color: ${this.primaryColor};
71
+ --emw-skeleton-secondary-color: ${this.secondaryColor};
72
+ }
73
+ `;break;default:e=""}return t.h(t.Host,{key:"5c185b76c438d20d4ad88bc48d94ff5628410bb7"},t.h("style",{key:"de95e60a5955d5b2af83710423fe40329c187f7e"},e),this.handleStructure(this.structure))}static get watchers(){return{structure:["handleStructureChange"]}}};r.style=s;exports.ui_image=o.UiImage;exports.ui_skeleton=r;
@@ -1,73 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./ui-image-b7b48fe5-DCck2kk1.cjs"),t=require("./index-97d17652-D5_8Vwfn.cjs"),n=":host{display:block;--emw-skeleton-rectangle-background:#c2c2c2;--emw-skeleton-circle-background:#c2c2c2;--emw-skeleton-text-background:#c2c2c2;--emw-skeleton-title-background:#c2c2c2;--emw-skeleton-image-background:#c2c2c2;--emw-skeleton-logo-background:#c2c2c2;--emw-skeleton-primary-color:#e0e0e0;--emw-skeleton-secondary-color:#f0f0f0}.Skeleton{animation:skeleton-loading 1s linear infinite alternate}.Rectangle{background-color:var(--emw-skeleton-rectangle-background, #c2c2c2);width:var(--emw-skeleton-rectangle-width, 400px);height:var(--emw-skeleton-rectangle-height, 200px);border-radius:var(--emw-skeleton-rectangle-border-radius, 2px)}.Circle{background-color:var(--emw-skeleton-circle-background, #c2c2c2);width:var(--emw-skeleton-circle-size, 400px);height:var(--emw-skeleton-circle-size, 400px);border-radius:50%}.Text{background-color:var(--emw-skeleton-text-background, #c2c2c2);width:var(--emw-skeleton-text-width, 500px);height:var(--emw-skeleton-text-height, 20px);border-radius:var(--emw-skeleton-text-border-radius, 5px);margin-bottom:var(--emw-skeleton-text-margin-bottom, 5px)}.Text:last-child{width:var(--emw-skeleton-text-width-100, 300px)}.Title{background-color:var(--emw-skeleton-title-background, #c2c2c2);width:var(--emw-skeleton-title-width, 300px);height:var(--emw-skeleton-title-height, 30px);border-radius:var(--emw-skeleton-title-border-radius, 5px);margin-bottom:var(--emw-skeleton-title-margin-bottom, 5px)}.Image{background-color:var(--emw-skeleton-image-background, #c2c2c2);width:var(--emw-skeleton-image-width, 100%);height:var(--emw-skeleton-image-height, 100%);border-radius:var(--emw-skeleton-image-border-radius, inherit)}.Logo{background-color:var(--emw-skeleton-logo-background, #c2c2c2);width:var(--emw-skeleton-logo-width, 120px);height:var(--emw-skeleton-logo-height, 75px);border-radius:var(--emw-skeleton-logo-border-radius, 5px)}@keyframes skeleton-loading{0%{background-color:var(--emw-skeleton-primary-color, var(--emw-skeleton-color-0, #c2c2c2))}100%{background-color:var(--emw-skeleton-secondary-color, var(--emw-skeleton-color-100, #f0f0f0))}}",s=n,o=class{constructor(e){t.registerInstance(this,e),this.structure=void 0,this.width=void 0,this.height=void 0,this.borderRadius=void 0,this.marginBottom=void 0,this.marginTop=void 0,this.marginLeft=void 0,this.marginRight=void 0,this.animation=!0,this.rows=void 0,this.size=void 0,this.color=void 0,this.primaryColor=void 0,this.secondaryColor=void 0}handleStructureChange(e,r){r!==e&&this.handleStructure(e)}handleStructure(e){switch(e){case"logo":return this.renderLogo();case"image":return this.renderImage();case"title":return this.renderTitle();case"text":return this.renderText();case"rectangle":return this.renderRectangle();case"circle":return this.renderCircle();default:return null}}renderLogo(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"Logo "+(this.animation?"Skeleton":"")}))}renderImage(){return t.h("div",{class:"Image "+(this.animation?"Skeleton":"")})}renderTitle(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"Title "+(this.animation?"Skeleton":"")}))}renderText(){return t.h("div",{class:"SkeletonContainer"},Array.from({length:this.rows>0?this.rows:1}).map((e,r)=>t.h("div",{key:r,class:"Text "+(this.animation?"Skeleton":"")})))}renderRectangle(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"Rectangle "+(this.animation?"Skeleton":"")}))}renderCircle(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"Circle "+(this.animation?"Skeleton":"")}))}render(){let e="";switch(this.structure){case"logo":e=`
2
- :host {
3
- --emw-skeleton-logo-width: ${this.width};
4
- --emw-skeleton-logo-height: ${this.height};
5
- --emw-skeleton-logo-border-radius: ${this.borderRadius}px;
6
- --emw-skeleton-logo-margin-bottom: ${this.marginBottom}px;
7
- --emw-skeleton-logo-margin-top: ${this.marginTop}px;
8
- --emw-skeleton-logo-margin-left: ${this.marginLeft}px;
9
- --emw-skeleton-logo-margin-right: ${this.marginRight}px;
10
- --emw-skeleton-logo-background: ${this.color};
11
- --emw-skeleton-primary-color: ${this.primaryColor};
12
- --emw-skeleton-secondary-color: ${this.secondaryColor};
13
- }
14
- `;break;case"image":e=`
15
- :host {
16
- --emw-skeleton-image-width: ${this.width};
17
- --emw-skeleton-image-height: ${this.height};
18
- --emw-skeleton-image-border-radius: ${this.borderRadius}px;
19
- --emw-skeleton-image-margin-bottom: ${this.marginBottom}px;
20
- --emw-skeleton-image-margin-top: ${this.marginTop}px;
21
- --emw-skeleton-image-margin-left: ${this.marginLeft}px;
22
- --emw-skeleton-image-margin-right: ${this.marginRight}px;
23
- --emw-skeleton-image-background: ${this.color};
24
- --emw-skeleton-primary-color: ${this.primaryColor};
25
- --emw-skeleton-secondary-color: ${this.secondaryColor};
26
- }
27
- `;break;case"title":e=`
28
- :host {
29
- --emw-skeleton-title-width: ${this.width};
30
- --emw-skeleton-title-height: ${this.height};
31
- --emw-skeleton-title-border-radius: ${this.borderRadius}px;
32
- --emw-skeleton-title-margin-bottom: ${this.marginBottom}px;
33
- --emw-skeleton-title-margin-top: ${this.marginTop}px;
34
- --emw-skeleton-title-margin-left: ${this.marginLeft}px;
35
- --emw-skeleton-title-margin-right: ${this.marginRight}px;
36
- --emw-skeleton-title-background: ${this.color};
37
- --emw-skeleton-primary-color: ${this.primaryColor};
38
- --emw-skeleton-secondary-color: ${this.secondaryColor};
39
- }
40
- `;break;case"text":e=`
41
- :host {
42
- --emw-skeleton-text-width: ${this.width};
43
- --emw-skeleton-text-height: ${this.height};
44
- --emw-skeleton-text-border-radius: ${this.borderRadius}px;
45
- --emw-skeleton-text-margin-bottom: ${this.marginBottom}px;
46
- --emw-skeleton-text-margin-top: ${this.marginTop}px;
47
- --emw-skeleton-text-margin-left: ${this.marginLeft}px;
48
- --emw-skeleton-text-margin-right: ${this.marginRight}px;
49
- --emw-skeleton-text-background: ${this.color};
50
- --emw-skeleton-primary-color: ${this.primaryColor};
51
- --emw-skeleton-secondary-color: ${this.secondaryColor};
52
- }
53
- `;break;case"rectangle":e=`
54
- :host {
55
- --emw-skeleton-rectangle-width: ${this.width};
56
- --emw-skeleton-rectangle-height: ${this.height};
57
- --emw-skeleton-rectangle-border-radius: ${this.borderRadius}px;
58
- --emw-skeleton-rectangle-margin-bottom: ${this.marginBottom}px;
59
- --emw-skeleton-rectangle-margin-top: ${this.marginTop}px;
60
- --emw-skeleton-rectangle-margin-left: ${this.marginLeft}px;
61
- --emw-skeleton-rectangle-margin-right: ${this.marginRight}px;
62
- --emw-skeleton-rectangle-background: ${this.color};
63
- --emw-skeleton-primary-color: ${this.primaryColor};
64
- --emw-skeleton-secondary-color: ${this.secondaryColor};
65
- }
66
- `;break;case"circle":e=`
67
- :host {
68
- --emw-skeleton-circle-size: ${this.size};
69
- --emw-skeleton-circle-background: ${this.color};
70
- --emw-skeleton-primary-color: ${this.primaryColor};
71
- --emw-skeleton-secondary-color: ${this.secondaryColor};
72
- }
73
- `;break;default:e=""}return t.h(t.Host,{key:"3bb792a149db7fe732d5cbfa092cdb4d6ca0689e"},t.h("style",{key:"a4607599b60659f385ae2660513e38b383739674"},e),this.handleStructure(this.structure))}static get watchers(){return{structure:["handleStructureChange"]}}};o.style=s;exports.ui_image=i.UiImage;exports.ui_skeleton=o;