@everymatrix/transaction-history-page 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (45) hide show
  1. package/components/CashierHeader-5zy8g8OM.js +4500 -0
  2. package/components/CashierHeader-D8XyDtbQ.js +4463 -0
  3. package/components/CashierHeader-WepsG79s.cjs +21 -0
  4. package/components/CashierPagination-BAxf9S89.js +287 -0
  5. package/components/CashierPagination-DS04u5aL.js +287 -0
  6. package/components/CashierPagination-OH0bY8kI.cjs +3 -0
  7. package/components/CashierTransactionHistory-ByYI6h3-.js +1606 -0
  8. package/components/CashierTransactionHistory-DDHBkAnM.js +1606 -0
  9. package/components/CashierTransactionHistory-cF3SrkZI.cjs +1 -0
  10. package/components/EmptyStateIcon-BKTXVMxl.js +27 -0
  11. package/components/EmptyStateIcon-BXdFAthb.cjs +1 -0
  12. package/components/EmptyStateIcon-BmntjMXF.js +27 -0
  13. package/components/Tooltip-CH7HmcK4.cjs +1 -0
  14. package/components/Tooltip-WAE69Wpz.js +113 -0
  15. package/components/Tooltip-XvNWUv3X.js +113 -0
  16. package/components/TransactionHistoryCalendar-CGecBXnr.js +5166 -0
  17. package/components/TransactionHistoryCalendar-DqleOuPE.cjs +22 -0
  18. package/components/TransactionHistoryCalendar-p3Cm8jjd.js +5137 -0
  19. package/components/TransactionHistoryPage-C3CWZ4Id.js +898 -0
  20. package/components/TransactionHistoryPage-CvCPQkSZ.cjs +1 -0
  21. package/components/TransactionHistoryPage-eMkQW27N.js +880 -0
  22. package/components/TxnStatusIcon-BkEEMoFp.js +142 -0
  23. package/components/TxnStatusIcon-CknmbHtX.cjs +1 -0
  24. package/components/TxnStatusIcon-ajCxZslH.js +142 -0
  25. package/components/TxnTypeIcons-D70zalMR.js +101 -0
  26. package/components/TxnTypeIcons-DevbhR7w.cjs +1 -0
  27. package/components/TxnTypeIcons-ETOHW7Tq.js +101 -0
  28. package/es2015/transaction-history-page.cjs +1 -0
  29. package/es2015/transaction-history-page.js +16 -0
  30. package/esnext/transaction-history-page.js +14 -0
  31. package/package.json +25 -0
  32. package/stencil/app-globals-0f993ce5-D-kw1sls.js +5 -0
  33. package/stencil/app-globals-0f993ce5-sCt45RkC.cjs +1 -0
  34. package/stencil/index-97d17652-BgKdDb-e.cjs +1 -0
  35. package/stencil/index-97d17652-C7V2DWFg.js +542 -0
  36. package/stencil/index-97d17652-DIpvPU9H.js +558 -0
  37. package/stencil/ui-image-CYuYAlOX.js +7 -0
  38. package/stencil/ui-image-D3_FGUyo.js +25 -0
  39. package/stencil/ui-image-DJWD4G-S.cjs +1 -0
  40. package/stencil/ui-image-b7b48fe5-B-k0kWgx.js +39 -0
  41. package/stencil/ui-image-b7b48fe5-D8-wEkoZ.js +39 -0
  42. package/stencil/ui-image-b7b48fe5-yceZ9WkN.cjs +1 -0
  43. package/stencil/ui-image_2-CzFe50WB.js +157 -0
  44. package/stencil/ui-image_2-Ha_4GYwN.cjs +55 -0
  45. package/stencil/ui-image_2-z5LhXZY2.js +157 -0
@@ -0,0 +1 @@
1
+ "use strict";var T=(e,t,n)=>new Promise((s,r)=>{var i=a=>{try{o(n.next(a))}catch(c){r(c)}},l=a=>{try{o(n.throw(a))}catch(c){r(c)}},o=a=>a.done?s(a.value):Promise.resolve(a.value).then(i,l);o((n=n.apply(e,t)).next())});const he="ui-image",ve={allRenderFn:!0,appendChildSlotFix:!1,asyncLoading:!0,asyncQueue:!1,attachStyles:!0,cloneNodeFix:!1,cmpDidLoad:!0,cmpDidRender:!1,cmpDidUnload:!1,cmpDidUpdate:!1,cmpShouldUpdate:!1,cmpWillLoad:!1,cmpWillRender:!1,cmpWillUpdate:!1,connectedCallback:!1,constructableCSS:!0,cssAnnotations:!0,devTools:!1,disconnectedCallback:!1,element:!1,event:!1,experimentalScopedSlotChanges:!1,experimentalSlotFixes:!1,formAssociated:!1,hasRenderFn:!0,hostListener:!1,hostListenerTarget:!1,hostListenerTargetBody:!1,hostListenerTargetDocument:!1,hostListenerTargetParent:!1,hostListenerTargetWindow:!1,hotModuleReplacement:!1,hydrateClientSide:!1,hydrateServerSide:!1,hydratedAttribute:!1,hydratedClass:!0,hydratedSelectorName:"hydrated",initializeNextTick:!1,invisiblePrehydration:!0,isDebug:!1,isDev:!1,isTesting:!1,lazyLoad:!0,lifecycle:!0,lifecycleDOMEvents:!1,member:!0,method:!1,mode:!1,observeAttribute:!0,profile:!1,prop:!0,propBoolean:!0,propMutable:!1,propNumber:!0,propString:!0,reflect:!1,scoped:!1,scopedSlotTextContentFix:!1,scriptDataOpts:!1,shadowDelegatesFocus:!1,shadowDom:!1,slot:!1,slotChildNodesFix:!1,slotRelocation:!1,state:!0,style:!0,svg:!1,taskQueue:!0,transformTagName:!1,updatable:!0,vdomAttribute:!0,vdomClass:!0,vdomFunctional:!1,vdomKey:!0,vdomListener:!0,vdomPropOrAttr:!0,vdomRef:!0,vdomRender:!0,vdomStyle:!0,vdomText:!0,vdomXlink:!1,watchCallback:!0};var ge=Object.defineProperty,ye=(e,t)=>{for(var n in t)ge(e,n,{get:t[n],enumerable:!0})},z=new WeakMap,E=e=>z.get(e),me=(e,t)=>z.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"]=[],z.set(e,n)},q=(e,t)=>t in e,k=(e,t)=>(0,console.error)(e,t),C=new Map,Ee=(e,t,n)=>{const s=e.$tagName$.replace(/-/g,"_"),r=e.$lazyBundleId$;if(!r)return;const i=C.get(r);if(i)return i[s];{const l=o=>(C.set(r,o),o[s]);switch(r){case"ui-image_2":return Promise.resolve().then(()=>require("./ui-image_2-Ha_4GYwN.cjs")).then(l,k)}}return import(`./${r}.entry.js`).then(l=>(C.set(r,l),l[s]),k)},A=new Map,ke="{visibility:hidden}.hydrated{visibility:inherit}",J="slot-fb{display:contents}slot-fb[hidden]{display:none}",w=typeof window!="undefined"?window:{},m=w.document||{head:{}},v={$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)},K=e=>Promise.resolve(e),be=(()=>{try{return new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function"}catch(e){}return!1})(),j=!1,W=[],Z=[],xe=(e,t)=>n=>{e.push(n),j||(j=!0,v.$flags$&4?B(U):v.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(Z),(j=W.length>0)&&v.raf(U)},B=e=>K().then(e),Te=xe(Z),R={},F=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 Pe={};ye(Pe,{err:()=>V,map:()=>Le,ok:()=>I,unwrap:()=>Ae,unwrapErr:()=>_e});var I=e=>({isOk:!0,isErr:!1,value:e}),V=e=>({isOk:!1,isErr:!0,value:e});function Le(e,t){if(e.isOk){const n=t(e.value);return n instanceof Promise?n.then(s=>I(s)):I(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},_e=e=>{if(e.isErr)return e.value;throw e.value},S=(e,t="")=>()=>{},we=(e,t)=>()=>{},ee=(e,t,...n)=>{let s=null,r=null,i=!1,l=!1;const o=[],a=$=>{for(let f=0;f<$.length;f++)s=$[f],Array.isArray(s)?a(s):s!=null&&typeof s!="boolean"&&((i=typeof e!="function"&&!F(s))&&(s=String(s)),i&&l?o[o.length-1].$text$+=s:o.push(i?D(null,s):s),l=i)};if(a(n),t){t.key&&(r=t.key);{const $=t.className||t.class;$&&(t.class=typeof $!="object"?$:Object.keys($).filter(f=>$[f]).join(" "))}}const c=D(e,null);return c.$attrs$=t,o.length>0&&(c.$children$=o),c.$key$=r,c},D=(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,Ce=(e,t)=>e!=null&&!F(e)?t&4?e==="false"?!1:e===""||!!e:t&2?parseFloat(e):t&1?String(e):e:e,je=e=>E(e).$hostElement$,Ue=(e,t,n)=>{const s=v.ce(t,n);return e.dispatchEvent(s),s},X=new WeakMap,Ie=(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)},De=(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),o;if(l||X.set(e,l=new Set),!l.has(r)){{o=m.createElement("style"),o.innerHTML=i;const a=(s=v.$nonce$)!=null?s:N(m);a!=null&&o.setAttribute("nonce",a),e.insertBefore(o,e.querySelector("link"))}t.$flags$&4&&(o.innerHTML+=J),l&&l.add(r)}}else e.adoptedStyleSheets.includes(i)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,i]);return r},ze=e=>{const t=e.$cmpMeta$,n=e.$hostElement$,s=S("attachStyles",t.$tagName$);De(n.getRootNode(),t),s()},se=(e,t)=>"sc-"+e.$tagName$,G=(e,t,n,s,r,i)=>{if(n!==s){let l=q(e,t),o=t.toLowerCase();if(t==="class"){const a=e.classList,c=Q(n),$=Q(s);a.remove(...c.filter(f=>f&&!$.includes(f))),a.add(...$.filter(f=>f&&!c.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):q(w,o)?t=o.slice(2):t=o[2]+t.slice(3),n||s){const a=t.endsWith(ne);t=t.replace(Fe,""),n&&v.rel(e,t,n,a),s&&v.ael(e,t,s,a)}}else{const a=F(s);if(l||a&&s!==null)try{if(e.tagName.includes("-"))e[t]=s;else{const c=s==null?"":s;t==="list"?l=!1:(n==null||e[t]!=c)&&(e[t]=c)}}catch(c){}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))}}},Be=/\s/,Q=e=>e?e.split(Be):[],ne="Capture",Fe=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$||R,i=t.$attrs$||R;for(const l of Y(Object.keys(r)))l in i||G(s,l,r[l],void 0,n,t.$flags$);for(const l of Y(Object.keys(i)))G(s,l,r[l],i[l],n,t.$flags$)};function Y(e){return e.includes("ref")?[...e.filter(t=>t!=="ref"),"ref"]:e}var le,ae=!1,_=(e,t,n,s)=>{const r=t.$children$[n];let i=0,l,o;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)o=_(e,r,i),o&&l.appendChild(o);return l["s-hn"]=le,l},ie=(e,t,n,s,r,i)=>{let l=e,o;for(;r<=i;++r)s[r]&&(o=_(null,n,r),o&&(s[r].$elm$=o,L(l,o,t)))},oe=(e,t,n)=>{for(let s=t;s<=n;++s){const r=e[s];if(r){const i=r.$elm$;ce(r),i&&i.remove()}}},He=(e,t,n,s,r=!1)=>{let i=0,l=0,o=0,a=0,c=t.length-1,$=t[0],f=t[c],u=s.length-1,d=s[0],p=s[u],h,g;for(;i<=c&&l<=u;)if($==null)$=t[++i];else if(f==null)f=t[--c];else if(d==null)d=s[++l];else if(p==null)p=s[--u];else if(P($,d,r))b($,d,r),$=t[++i],d=s[++l];else if(P(f,p,r))b(f,p,r),f=t[--c],p=s[--u];else if(P($,p,r))b($,p,r),L(e,$.$elm$,f.$elm$.nextSibling),$=t[++i],p=s[--u];else if(P(f,d,r))b(f,d,r),L(e,f.$elm$,$.$elm$),f=t[--c],d=s[++l];else{for(o=-1,a=i;a<=c;++a)if(t[a]&&t[a].$key$!==null&&t[a].$key$===d.$key$){o=a;break}o>=0?(g=t[o],g.$tag$!==d.$tag$?h=_(t&&t[l],n,o):(b(g,d,r),t[o]=void 0,h=g.$elm$),d=s[++l]):(h=_(t&&t[l],n,l),d=s[++l]),h&&L($.$elm$.parentNode,h,$.$elm$)}i>c?ie(e,s[u+1]==null?null:s[u+1].$elm$,n,s,l,u):l>u&&oe(t,i,c)},P=(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?He(s,r,t,i,n):i!==null?(e.$text$!==null&&(s.textContent=""),ie(s,null,t,i,0,i.length-1)):r!==null&&oe(r,0,r.length-1)):e.$text$!==l&&(s.data=l)},ce=e=>{e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null),e.$children$&&e.$children$.map(ce)},L=(e,t,n)=>e==null?void 0:e.insertBefore(t,n),qe=(e,t,n=!1)=>{const s=e.$hostElement$,r=e.$vnode$||D(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)},$e=(e,t)=>{t&&!e.$onRenderResolve$&&t["s-p"]&&t["s-p"].push(new Promise(n=>e.$onRenderResolve$=n))},H=(e,t)=>{if(e.$flags$|=16,e.$flags$&4){e.$flags$|=512;return}return $e(e,e.$ancestorComponent$),Te(()=>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)=>Re(e)?e.then(t).catch(n=>{console.error(n),t()}):t(),Re=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",Xe=(e,t,n)=>T(exports,null,function*(){var s;const r=e.$hostElement$,i=S("update",e.$cmpMeta$.$tagName$),l=r["s-rc"];n&&ze(e);const o=S("render",e.$cmpMeta$.$tagName$);Ge(e,t,r,n),l&&(l.map(a=>a()),r["s-rc"]=void 0),o(),i();{const a=(s=r["s-p"])!=null?s:[],c=()=>Qe(e);a.length===0?c():(Promise.all(a).then(c),e.$flags$|=4,a.length=0)}}),Ge=(e,t,n,s)=>{try{t=t.render(),e.$flags$&=-17,e.$flags$|=2,qe(e,t,s)}catch(r){k(r,e.$hostElement$)}return null},Qe=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),Ye(r,"componentDidLoad"),s(),e.$onReadyResolve$(n),i||fe()),e.$onRenderResolve$&&(e.$onRenderResolve$(),e.$onRenderResolve$=void 0),e.$flags$&512&&B(()=>H(e,!1)),e.$flags$&=-517},fe=e=>{ue(m.documentElement),B(()=>Ue(w,"appload",{detail:{namespace:he}}))},Ye=(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=ve.hydratedSelectorName)!=null?t:"hydrated")},Je=(e,t)=>E(e).$instanceValues$.get(t),Ke=(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),o=r.$flags$,a=r.$lazyInstance$;n=Ce(n,s.$members$[t][0]);const c=Number.isNaN(l)&&Number.isNaN(n),$=n!==l&&!c;if((!(o&8)||l===void 0)&&$&&(r.$instanceValues$.set(t,n),a)){if(s.$watchers$&&o&128){const f=s.$watchers$[t];f&&f.map(u=>{try{a[u](n,l,t)}catch(d){k(d,i)}})}(o&18)===2&&H(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(([o,[a]])=>{(a&31||n&2&&a&32)&&Object.defineProperty(i,o,{get(){return Je(this,o)},set(c){Ke(this,o,c,t)},configurable:!0,enumerable:!0})}),n&1){const o=new Map;i.attributeChangedCallback=function(a,c,$){v.jmp(()=>{var f;const u=o.get(a);if(this.hasOwnProperty(u))$=this[u],delete this[u];else{if(i.hasOwnProperty(u)&&typeof this[u]=="number"&&this[u]==$)return;if(u==null){const d=E(this),p=d==null?void 0:d.$flags$;if(p&&!(p&8)&&p&128&&$!==c){const h=d.$lazyInstance$,g=(f=t.$watchers$)==null?void 0:f[a];g==null||g.forEach(y=>{h[y]!=null&&h[y].call(h,$,c,a)})}return}}this[u]=$===null&&typeof this[u]=="boolean"?!1:$})},e.observedAttributes=Array.from(new Set([...Object.keys((r=t.$watchers$)!=null?r:{}),...l.filter(([a,c])=>c[0]&15).map(([a,c])=>{const $=c[1]||a;return o.set($,a),$})]))}}return e},Ze=(e,t,n,s)=>T(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 $=we();r=yield a,$()}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 c=S("createInstance",n.$tagName$);t.$flags$|=8;try{new r(t)}catch($){k($)}t.$flags$&=-9,t.$flags$|=128,c()}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 c=se(n);if(!A.has(c)){const $=S("registerStyles",n.$tagName$);Ie(c,a,!!(n.$flags$&1)),$()}}}const i=t.$ancestorComponent$,l=()=>H(t,!0);i&&i["s-rc"]?i["s-rc"].push(l):l()}),Ne=e=>{},Ve=e=>{if(!(v.$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"]){$e(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}}),Ze(e,t,n)}s()}},et=e=>{},tt=e=>T(exports,null,function*(){if(!(v.$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=w.customElements,o=m.head,a=o.querySelector("meta[charset]"),c=m.createElement("style"),$=[];let f,u=!0;Object.assign(v,t),v.$resourcesUrl$=new URL(t.resourcesUrl||"./",m.baseURI).href;let d=!1;if(e.map(p=>{p[1].map(h=>{var g;const y={$flags$:h[0],$tagName$:h[1],$members$:h[2],$listeners$:h[3]};y.$flags$&4&&(d=!0),y.$members$=h[2],y.$watchers$=(g=h[4])!=null?g:{};const x=y.$tagName$,pe=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?$.push(this):v.jmp(()=>Ve(this))}disconnectedCallback(){v.jmp(()=>tt(this))}componentOnReady(){return E(this).$onReadyPromise$}};y.$lazyBundleId$=p[0],!i.includes(x)&&!l.get(x)&&(r.push(x),l.define(x,de(pe,y,1)))})}),r.length>0&&(d&&(c.textContent+=J),c.textContent+=r.sort()+ke,c.innerHTML.length)){c.setAttribute("data-styles","");const p=(n=v.$nonce$)!=null?n:N(m);p!=null&&c.setAttribute("nonce",p),o.insertBefore(c,a?a.nextSibling:o.firstChild)}u=!1,$.length?$.map(p=>p.connectedCallback()):v.jmp(()=>f=setTimeout(fe,30)),s()};exports.Host=te;exports.bootstrapLazy=st;exports.getElement=je;exports.h=ee;exports.promiseResolve=K;exports.registerInstance=me;
@@ -0,0 +1,542 @@
1
+ const fe = "ui-image", ue = (
2
+ /* ui-image */
3
+ { allRenderFn: !0, appendChildSlotFix: !1, asyncLoading: !0, asyncQueue: !1, attachStyles: !0, cloneNodeFix: !1, cmpDidLoad: !0, cmpDidRender: !1, cmpDidUnload: !1, cmpDidUpdate: !1, cmpShouldUpdate: !1, cmpWillLoad: !1, cmpWillRender: !1, cmpWillUpdate: !1, connectedCallback: !1, constructableCSS: !0, cssAnnotations: !0, devTools: !1, disconnectedCallback: !1, element: !1, event: !1, experimentalScopedSlotChanges: !1, experimentalSlotFixes: !1, formAssociated: !1, hasRenderFn: !0, hostListener: !1, hostListenerTarget: !1, hostListenerTargetBody: !1, hostListenerTargetDocument: !1, hostListenerTargetParent: !1, hostListenerTargetWindow: !1, hotModuleReplacement: !1, hydrateClientSide: !1, hydrateServerSide: !1, hydratedAttribute: !1, hydratedClass: !0, hydratedSelectorName: "hydrated", initializeNextTick: !1, invisiblePrehydration: !0, isDebug: !1, isDev: !1, isTesting: !1, lazyLoad: !0, lifecycle: !0, lifecycleDOMEvents: !1, member: !0, method: !1, mode: !1, observeAttribute: !0, profile: !1, prop: !0, propBoolean: !0, propMutable: !1, propNumber: !0, propString: !0, reflect: !1, scoped: !1, scopedSlotTextContentFix: !1, scriptDataOpts: !1, shadowDelegatesFocus: !1, shadowDom: !1, slot: !1, slotChildNodesFix: !1, slotRelocation: !1, state: !0, style: !0, svg: !1, taskQueue: !0, transformTagName: !1, updatable: !0, vdomAttribute: !0, vdomClass: !0, vdomFunctional: !1, vdomKey: !0, vdomListener: !0, vdomPropOrAttr: !0, vdomRef: !0, vdomRender: !0, vdomStyle: !0, vdomText: !0, vdomXlink: !1, watchCallback: !0 }
4
+ );
5
+ var de = Object.defineProperty, pe = (e, t) => {
6
+ for (var n in t)
7
+ de(e, n, { get: t[n], enumerable: !0 });
8
+ }, D = /* @__PURE__ */ new WeakMap(), E = (e) => D.get(e), Ve = (e, t) => D.set(t.$lazyInstance$ = e, t), he = (e, t) => {
9
+ const n = {
10
+ $flags$: 0,
11
+ $hostElement$: e,
12
+ $cmpMeta$: t,
13
+ $instanceValues$: /* @__PURE__ */ new Map()
14
+ };
15
+ return n.$onReadyPromise$ = new Promise((s) => n.$onReadyResolve$ = s), e["s-p"] = [], e["s-rc"] = [], D.set(e, n);
16
+ }, z = (e, t) => t in e, k = (e, t) => (0, console.error)(e, t), O = /* @__PURE__ */ new Map(), ve = (e, t, n) => {
17
+ const s = e.$tagName$.replace(/-/g, "_"), r = e.$lazyBundleId$;
18
+ if (!r)
19
+ return;
20
+ const a = O.get(r);
21
+ if (a)
22
+ return a[s];
23
+ {
24
+ const l = (o) => (O.set(r, o), o[s]);
25
+ switch (r) {
26
+ case "ui-image_2":
27
+ return import(
28
+ /* webpackMode: "lazy" */
29
+ "./ui-image_2-z5LhXZY2.js"
30
+ ).then(l, k);
31
+ }
32
+ }
33
+ return import(
34
+ /* @vite-ignore */
35
+ /* webpackInclude: /\.entry\.js$/ */
36
+ /* webpackExclude: /\.system\.entry\.js$/ */
37
+ /* webpackMode: "lazy" */
38
+ `./${r}.entry.js`
39
+ ).then((l) => (O.set(r, l), l[s]), k);
40
+ }, L = /* @__PURE__ */ new Map(), ge = "{visibility:hidden}.hydrated{visibility:inherit}", Y = "slot-fb{display:contents}slot-fb[hidden]{display:none}", _ = typeof window < "u" ? window : {}, m = _.document || { head: {} }, v = {
41
+ $flags$: 0,
42
+ $resourcesUrl$: "",
43
+ jmp: (e) => e(),
44
+ raf: (e) => requestAnimationFrame(e),
45
+ ael: (e, t, n, s) => e.addEventListener(t, n, s),
46
+ rel: (e, t, n, s) => e.removeEventListener(t, n, s),
47
+ ce: (e, t) => new CustomEvent(e, t)
48
+ }, ye = (e) => Promise.resolve(e), me = /* @__PURE__ */ (() => {
49
+ try {
50
+ return new CSSStyleSheet(), typeof new CSSStyleSheet().replaceSync == "function";
51
+ } catch {
52
+ }
53
+ return !1;
54
+ })(), C = !1, q = [], J = [], Se = (e, t) => (n) => {
55
+ e.push(n), C || (C = !0, v.$flags$ & 4 ? B(j) : v.raf(j));
56
+ }, W = (e) => {
57
+ for (let t = 0; t < e.length; t++)
58
+ try {
59
+ e[t](performance.now());
60
+ } catch (n) {
61
+ k(n);
62
+ }
63
+ e.length = 0;
64
+ }, j = () => {
65
+ W(q), W(J), (C = q.length > 0) && v.raf(j);
66
+ }, B = (e) => ye().then(e), Ee = /* @__PURE__ */ Se(J), M = {}, F = (e) => (e = typeof e, e === "object" || e === "function");
67
+ function K(e) {
68
+ var t, n, s;
69
+ 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;
70
+ }
71
+ var ke = {};
72
+ pe(ke, {
73
+ err: () => Z,
74
+ map: () => be,
75
+ ok: () => U,
76
+ unwrap: () => xe,
77
+ unwrapErr: () => Te
78
+ });
79
+ var U = (e) => ({
80
+ isOk: !0,
81
+ isErr: !1,
82
+ value: e
83
+ }), Z = (e) => ({
84
+ isOk: !1,
85
+ isErr: !0,
86
+ value: e
87
+ });
88
+ function be(e, t) {
89
+ if (e.isOk) {
90
+ const n = t(e.value);
91
+ return n instanceof Promise ? n.then((s) => U(s)) : U(n);
92
+ }
93
+ if (e.isErr) {
94
+ const n = e.value;
95
+ return Z(n);
96
+ }
97
+ throw "should never get here";
98
+ }
99
+ var xe = (e) => {
100
+ if (e.isOk)
101
+ return e.value;
102
+ throw e.value;
103
+ }, Te = (e) => {
104
+ if (e.isErr)
105
+ return e.value;
106
+ throw e.value;
107
+ }, S = (e, t = "") => () => {
108
+ }, Pe = (e, t) => () => {
109
+ }, Le = (e, t, ...n) => {
110
+ let s = null, r = null, a = !1, l = !1;
111
+ const o = [], i = ($) => {
112
+ for (let f = 0; f < $.length; f++)
113
+ s = $[f], Array.isArray(s) ? i(s) : s != null && typeof s != "boolean" && ((a = typeof e != "function" && !F(s)) && (s = String(s)), a && l ? o[o.length - 1].$text$ += s : o.push(a ? I(null, s) : s), l = a);
114
+ };
115
+ if (i(n), t) {
116
+ t.key && (r = t.key);
117
+ {
118
+ const $ = t.className || t.class;
119
+ $ && (t.class = typeof $ != "object" ? $ : Object.keys($).filter((f) => $[f]).join(" "));
120
+ }
121
+ }
122
+ const c = I(e, null);
123
+ return c.$attrs$ = t, o.length > 0 && (c.$children$ = o), c.$key$ = r, c;
124
+ }, I = (e, t) => {
125
+ const n = {
126
+ $flags$: 0,
127
+ $tag$: e,
128
+ $text$: t,
129
+ $elm$: null,
130
+ $children$: null
131
+ };
132
+ return n.$attrs$ = null, n.$key$ = null, n;
133
+ }, Ae = {}, _e = (e) => e && e.$tag$ === Ae, we = (e, t) => e != null && !F(e) ? t & 4 ? e === "false" ? !1 : e === "" || !!e : t & 2 ? parseFloat(e) : t & 1 ? String(e) : e : e, et = (e) => E(e).$hostElement$, Oe = (e, t, n) => {
134
+ const s = v.ce(t, n);
135
+ return e.dispatchEvent(s), s;
136
+ }, R = /* @__PURE__ */ new WeakMap(), Ce = (e, t, n) => {
137
+ let s = L.get(e);
138
+ me && n ? (s = s || new CSSStyleSheet(), typeof s == "string" ? s = t : s.replaceSync(t)) : s = t, L.set(e, s);
139
+ }, je = (e, t, n) => {
140
+ var s;
141
+ const r = N(t), a = L.get(r);
142
+ if (e = e.nodeType === 11 ? e : m, a)
143
+ if (typeof a == "string") {
144
+ e = e.head || e;
145
+ let l = R.get(e), o;
146
+ if (l || R.set(e, l = /* @__PURE__ */ new Set()), !l.has(r)) {
147
+ {
148
+ o = m.createElement("style"), o.innerHTML = a;
149
+ const i = (s = v.$nonce$) != null ? s : K(m);
150
+ i != null && o.setAttribute("nonce", i), e.insertBefore(o, e.querySelector("link"));
151
+ }
152
+ t.$flags$ & 4 && (o.innerHTML += Y), l && l.add(r);
153
+ }
154
+ } else
155
+ e.adoptedStyleSheets.includes(a) || (e.adoptedStyleSheets = [...e.adoptedStyleSheets, a]);
156
+ return r;
157
+ }, Ue = (e) => {
158
+ const t = e.$cmpMeta$, n = e.$hostElement$, s = S("attachStyles", t.$tagName$);
159
+ je(
160
+ n.getRootNode(),
161
+ t
162
+ ), s();
163
+ }, N = (e, t) => "sc-" + e.$tagName$, X = (e, t, n, s, r, a) => {
164
+ if (n !== s) {
165
+ let l = z(e, t), o = t.toLowerCase();
166
+ if (t === "class") {
167
+ const i = e.classList, c = G(n), $ = G(s);
168
+ i.remove(...c.filter((f) => f && !$.includes(f))), i.add(...$.filter((f) => f && !c.includes(f)));
169
+ } else if (t === "style") {
170
+ for (const i in n)
171
+ (!s || s[i] == null) && (i.includes("-") ? e.style.removeProperty(i) : e.style[i] = "");
172
+ for (const i in s)
173
+ (!n || s[i] !== n[i]) && (i.includes("-") ? e.style.setProperty(i, s[i]) : e.style[i] = s[i]);
174
+ } else if (t !== "key")
175
+ if (t === "ref")
176
+ s && s(e);
177
+ else if (!l && t[0] === "o" && t[1] === "n") {
178
+ if (t[2] === "-" ? t = t.slice(3) : z(_, o) ? t = o.slice(2) : t = o[2] + t.slice(3), n || s) {
179
+ const i = t.endsWith(V);
180
+ t = t.replace(De, ""), n && v.rel(e, t, n, i), s && v.ael(e, t, s, i);
181
+ }
182
+ } else {
183
+ const i = F(s);
184
+ if (l || i && s !== null)
185
+ try {
186
+ if (e.tagName.includes("-"))
187
+ e[t] = s;
188
+ else {
189
+ const c = s ?? "";
190
+ t === "list" ? l = !1 : (n == null || e[t] != c) && (e[t] = c);
191
+ }
192
+ } catch {
193
+ }
194
+ s == null || s === !1 ? (s !== !1 || e.getAttribute(t) === "") && e.removeAttribute(t) : (!l || a & 4 || r) && !i && (s = s === !0 ? "" : s, e.setAttribute(t, s));
195
+ }
196
+ }
197
+ }, Ie = /\s/, G = (e) => e ? e.split(Ie) : [], V = "Capture", De = new RegExp(V + "$"), ee = (e, t, n) => {
198
+ const s = t.$elm$.nodeType === 11 && t.$elm$.host ? t.$elm$.host : t.$elm$, r = e && e.$attrs$ || M, a = t.$attrs$ || M;
199
+ for (const l of Q(Object.keys(r)))
200
+ l in a || X(s, l, r[l], void 0, n, t.$flags$);
201
+ for (const l of Q(Object.keys(a)))
202
+ X(s, l, r[l], a[l], n, t.$flags$);
203
+ };
204
+ function Q(e) {
205
+ return e.includes("ref") ? (
206
+ // we need to sort these to ensure that `'ref'` is the last attr
207
+ [...e.filter((t) => t !== "ref"), "ref"]
208
+ ) : (
209
+ // no need to sort, return the original array
210
+ e
211
+ );
212
+ }
213
+ var te, se = !1, A = (e, t, n, s) => {
214
+ const r = t.$children$[n];
215
+ let a = 0, l, o;
216
+ if (r.$text$ !== null)
217
+ l = r.$elm$ = m.createTextNode(r.$text$);
218
+ else if (l = r.$elm$ = m.createElement(
219
+ r.$tag$
220
+ ), ee(null, r, se), r.$children$)
221
+ for (a = 0; a < r.$children$.length; ++a)
222
+ o = A(e, r, a), o && l.appendChild(o);
223
+ return l["s-hn"] = te, l;
224
+ }, ne = (e, t, n, s, r, a) => {
225
+ let l = e, o;
226
+ for (; r <= a; ++r)
227
+ s[r] && (o = A(null, n, r), o && (s[r].$elm$ = o, P(l, o, t)));
228
+ }, re = (e, t, n) => {
229
+ for (let s = t; s <= n; ++s) {
230
+ const r = e[s];
231
+ if (r) {
232
+ const a = r.$elm$;
233
+ le(r), a && a.remove();
234
+ }
235
+ }
236
+ }, Be = (e, t, n, s, r = !1) => {
237
+ let a = 0, l = 0, o = 0, i = 0, c = t.length - 1, $ = t[0], f = t[c], u = s.length - 1, d = s[0], p = s[u], h, g;
238
+ for (; a <= c && l <= u; )
239
+ if ($ == null)
240
+ $ = t[++a];
241
+ else if (f == null)
242
+ f = t[--c];
243
+ else if (d == null)
244
+ d = s[++l];
245
+ else if (p == null)
246
+ p = s[--u];
247
+ else if (T($, d, r))
248
+ b($, d, r), $ = t[++a], d = s[++l];
249
+ else if (T(f, p, r))
250
+ b(f, p, r), f = t[--c], p = s[--u];
251
+ else if (T($, p, r))
252
+ b($, p, r), P(e, $.$elm$, f.$elm$.nextSibling), $ = t[++a], p = s[--u];
253
+ else if (T(f, d, r))
254
+ b(f, d, r), P(e, f.$elm$, $.$elm$), f = t[--c], d = s[++l];
255
+ else {
256
+ for (o = -1, i = a; i <= c; ++i)
257
+ if (t[i] && t[i].$key$ !== null && t[i].$key$ === d.$key$) {
258
+ o = i;
259
+ break;
260
+ }
261
+ o >= 0 ? (g = t[o], g.$tag$ !== d.$tag$ ? h = A(t && t[l], n, o) : (b(g, d, r), t[o] = void 0, h = g.$elm$), d = s[++l]) : (h = A(t && t[l], n, l), d = s[++l]), h && P($.$elm$.parentNode, h, $.$elm$);
262
+ }
263
+ a > c ? ne(
264
+ e,
265
+ s[u + 1] == null ? null : s[u + 1].$elm$,
266
+ n,
267
+ s,
268
+ l,
269
+ u
270
+ ) : l > u && re(t, a, c);
271
+ }, T = (e, t, n = !1) => e.$tag$ === t.$tag$ ? n ? !0 : e.$key$ === t.$key$ : !1, b = (e, t, n = !1) => {
272
+ const s = t.$elm$ = e.$elm$, r = e.$children$, a = t.$children$, l = t.$text$;
273
+ l === null ? (ee(e, t, se), r !== null && a !== null ? Be(s, r, t, a, n) : a !== null ? (e.$text$ !== null && (s.textContent = ""), ne(s, null, t, a, 0, a.length - 1)) : r !== null && re(r, 0, r.length - 1)) : e.$text$ !== l && (s.data = l);
274
+ }, le = (e) => {
275
+ e.$attrs$ && e.$attrs$.ref && e.$attrs$.ref(null), e.$children$ && e.$children$.map(le);
276
+ }, P = (e, t, n) => e?.insertBefore(t, n), Fe = (e, t, n = !1) => {
277
+ const s = e.$hostElement$, r = e.$vnode$ || I(null, null), a = _e(t) ? t : Le(null, null, t);
278
+ if (te = s.tagName, n && a.$attrs$)
279
+ for (const l of Object.keys(a.$attrs$))
280
+ s.hasAttribute(l) && !["key", "ref", "style", "class"].includes(l) && (a.$attrs$[l] = s[l]);
281
+ a.$tag$ = null, a.$flags$ |= 4, e.$vnode$ = a, a.$elm$ = r.$elm$ = s, b(r, a, n);
282
+ }, ae = (e, t) => {
283
+ t && !e.$onRenderResolve$ && t["s-p"] && t["s-p"].push(new Promise((n) => e.$onRenderResolve$ = n));
284
+ }, H = (e, t) => {
285
+ if (e.$flags$ |= 16, e.$flags$ & 4) {
286
+ e.$flags$ |= 512;
287
+ return;
288
+ }
289
+ return ae(e, e.$ancestorComponent$), Ee(() => He(e, t));
290
+ }, He = (e, t) => {
291
+ const n = e.$hostElement$, s = S("scheduleUpdate", e.$cmpMeta$.$tagName$), r = e.$lazyInstance$;
292
+ if (!r)
293
+ throw new Error(
294
+ `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`
295
+ );
296
+ let a;
297
+ return s(), ze(a, () => We(e, r, t));
298
+ }, ze = (e, t) => qe(e) ? e.then(t).catch((n) => {
299
+ console.error(n), t();
300
+ }) : t(), qe = (e) => e instanceof Promise || e && e.then && typeof e.then == "function", We = async (e, t, n) => {
301
+ var s;
302
+ const r = e.$hostElement$, a = S("update", e.$cmpMeta$.$tagName$), l = r["s-rc"];
303
+ n && Ue(e);
304
+ const o = S("render", e.$cmpMeta$.$tagName$);
305
+ Me(e, t, r, n), l && (l.map((i) => i()), r["s-rc"] = void 0), o(), a();
306
+ {
307
+ const i = (s = r["s-p"]) != null ? s : [], c = () => Re(e);
308
+ i.length === 0 ? c() : (Promise.all(i).then(c), e.$flags$ |= 4, i.length = 0);
309
+ }
310
+ }, Me = (e, t, n, s) => {
311
+ try {
312
+ t = t.render(), e.$flags$ &= -17, e.$flags$ |= 2, Fe(e, t, s);
313
+ } catch (r) {
314
+ k(r, e.$hostElement$);
315
+ }
316
+ return null;
317
+ }, Re = (e) => {
318
+ const t = e.$cmpMeta$.$tagName$, n = e.$hostElement$, s = S("postUpdate", t), r = e.$lazyInstance$, a = e.$ancestorComponent$;
319
+ e.$flags$ & 64 ? s() : (e.$flags$ |= 64, oe(n), Xe(r, "componentDidLoad"), s(), e.$onReadyResolve$(n), a || ie()), e.$onRenderResolve$ && (e.$onRenderResolve$(), e.$onRenderResolve$ = void 0), e.$flags$ & 512 && B(() => H(e, !1)), e.$flags$ &= -517;
320
+ }, ie = (e) => {
321
+ oe(m.documentElement), B(() => Oe(_, "appload", { detail: { namespace: fe } }));
322
+ }, Xe = (e, t, n) => {
323
+ if (e && e[t])
324
+ try {
325
+ return e[t](n);
326
+ } catch (s) {
327
+ k(s);
328
+ }
329
+ }, oe = (e) => {
330
+ var t;
331
+ return e.classList.add((t = ue.hydratedSelectorName) != null ? t : "hydrated");
332
+ }, Ge = (e, t) => E(e).$instanceValues$.get(t), Qe = (e, t, n, s) => {
333
+ const r = E(e);
334
+ if (!r)
335
+ throw new Error(
336
+ `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).`
337
+ );
338
+ const a = r.$hostElement$, l = r.$instanceValues$.get(t), o = r.$flags$, i = r.$lazyInstance$;
339
+ n = we(n, s.$members$[t][0]);
340
+ const c = Number.isNaN(l) && Number.isNaN(n), $ = n !== l && !c;
341
+ if ((!(o & 8) || l === void 0) && $ && (r.$instanceValues$.set(t, n), i)) {
342
+ if (s.$watchers$ && o & 128) {
343
+ const f = s.$watchers$[t];
344
+ f && f.map((u) => {
345
+ try {
346
+ i[u](n, l, t);
347
+ } catch (d) {
348
+ k(d, a);
349
+ }
350
+ });
351
+ }
352
+ (o & 18) === 2 && H(r, !1);
353
+ }
354
+ }, ce = (e, t, n) => {
355
+ var s, r;
356
+ const a = e.prototype;
357
+ if (t.$members$ || t.$watchers$ || e.watchers) {
358
+ e.watchers && !t.$watchers$ && (t.$watchers$ = e.watchers);
359
+ const l = Object.entries((s = t.$members$) != null ? s : {});
360
+ if (l.map(([o, [i]]) => {
361
+ (i & 31 || n & 2 && i & 32) && Object.defineProperty(a, o, {
362
+ get() {
363
+ return Ge(this, o);
364
+ },
365
+ set(c) {
366
+ Qe(this, o, c, t);
367
+ },
368
+ configurable: !0,
369
+ enumerable: !0
370
+ });
371
+ }), n & 1) {
372
+ const o = /* @__PURE__ */ new Map();
373
+ a.attributeChangedCallback = function(i, c, $) {
374
+ v.jmp(() => {
375
+ var f;
376
+ const u = o.get(i);
377
+ if (this.hasOwnProperty(u))
378
+ $ = this[u], delete this[u];
379
+ else {
380
+ if (a.hasOwnProperty(u) && typeof this[u] == "number" && this[u] == $)
381
+ return;
382
+ if (u == null) {
383
+ const d = E(this), p = d?.$flags$;
384
+ if (p && !(p & 8) && p & 128 && $ !== c) {
385
+ const h = d.$lazyInstance$, g = (f = t.$watchers$) == null ? void 0 : f[i];
386
+ g?.forEach((y) => {
387
+ h[y] != null && h[y].call(h, $, c, i);
388
+ });
389
+ }
390
+ return;
391
+ }
392
+ }
393
+ this[u] = $ === null && typeof this[u] == "boolean" ? !1 : $;
394
+ });
395
+ }, e.observedAttributes = Array.from(
396
+ /* @__PURE__ */ new Set([
397
+ ...Object.keys((r = t.$watchers$) != null ? r : {}),
398
+ ...l.filter(
399
+ ([i, c]) => c[0] & 15
400
+ /* HasAttribute */
401
+ ).map(([i, c]) => {
402
+ const $ = c[1] || i;
403
+ return o.set($, i), $;
404
+ })
405
+ ])
406
+ );
407
+ }
408
+ }
409
+ return e;
410
+ }, Ye = async (e, t, n, s) => {
411
+ let r;
412
+ if (!(t.$flags$ & 32)) {
413
+ if (t.$flags$ |= 32, n.$lazyBundleId$) {
414
+ const i = ve(n);
415
+ if (i && "then" in i) {
416
+ const $ = Pe();
417
+ r = await i, $();
418
+ } else
419
+ r = i;
420
+ if (!r)
421
+ throw new Error(`Constructor for "${n.$tagName$}#${t.$modeName$}" was not found`);
422
+ r.isProxied || (n.$watchers$ = r.watchers, ce(
423
+ r,
424
+ n,
425
+ 2
426
+ /* proxyState */
427
+ ), r.isProxied = !0);
428
+ const c = S("createInstance", n.$tagName$);
429
+ t.$flags$ |= 8;
430
+ try {
431
+ new r(t);
432
+ } catch ($) {
433
+ k($);
434
+ }
435
+ t.$flags$ &= -9, t.$flags$ |= 128, c();
436
+ } else {
437
+ r = e.constructor;
438
+ const i = e.localName;
439
+ customElements.whenDefined(i).then(
440
+ () => t.$flags$ |= 128
441
+ /* isWatchReady */
442
+ );
443
+ }
444
+ if (r && r.style) {
445
+ let i;
446
+ typeof r.style == "string" && (i = r.style);
447
+ const c = N(n);
448
+ if (!L.has(c)) {
449
+ const $ = S("registerStyles", n.$tagName$);
450
+ Ce(c, i, !!(n.$flags$ & 1)), $();
451
+ }
452
+ }
453
+ }
454
+ const a = t.$ancestorComponent$, l = () => H(t, !0);
455
+ a && a["s-rc"] ? a["s-rc"].push(l) : l();
456
+ }, Je = (e) => {
457
+ }, Ke = (e) => {
458
+ if (!(v.$flags$ & 1)) {
459
+ const t = E(e), n = t.$cmpMeta$, s = S("connectedCallback", n.$tagName$);
460
+ if (t.$flags$ & 1)
461
+ t?.$lazyInstance$ || t?.$onReadyPromise$ && t.$onReadyPromise$.then(() => Je());
462
+ else {
463
+ t.$flags$ |= 1;
464
+ {
465
+ let r = e;
466
+ for (; r = r.parentNode || r.host; )
467
+ if (r["s-p"]) {
468
+ ae(t, t.$ancestorComponent$ = r);
469
+ break;
470
+ }
471
+ }
472
+ n.$members$ && Object.entries(n.$members$).map(([r, [a]]) => {
473
+ if (a & 31 && e.hasOwnProperty(r)) {
474
+ const l = e[r];
475
+ delete e[r], e[r] = l;
476
+ }
477
+ }), Ye(e, t, n);
478
+ }
479
+ s();
480
+ }
481
+ }, Ze = (e) => {
482
+ }, Ne = async (e) => {
483
+ if (!(v.$flags$ & 1)) {
484
+ const t = E(e);
485
+ t?.$lazyInstance$ || t?.$onReadyPromise$ && t.$onReadyPromise$.then(() => Ze());
486
+ }
487
+ }, tt = (e, t = {}) => {
488
+ var n;
489
+ const s = S(), r = [], a = t.exclude || [], l = _.customElements, o = m.head, i = /* @__PURE__ */ o.querySelector("meta[charset]"), c = /* @__PURE__ */ m.createElement("style"), $ = [];
490
+ let f, u = !0;
491
+ Object.assign(v, t), v.$resourcesUrl$ = new URL(t.resourcesUrl || "./", m.baseURI).href;
492
+ let d = !1;
493
+ if (e.map((p) => {
494
+ p[1].map((h) => {
495
+ var g;
496
+ const y = {
497
+ $flags$: h[0],
498
+ $tagName$: h[1],
499
+ $members$: h[2],
500
+ $listeners$: h[3]
501
+ };
502
+ y.$flags$ & 4 && (d = !0), y.$members$ = h[2], y.$watchers$ = (g = h[4]) != null ? g : {};
503
+ const x = y.$tagName$, $e = class extends HTMLElement {
504
+ // StencilLazyHost
505
+ constructor(w) {
506
+ super(w), this.hasRegisteredEventListeners = !1, w = this, he(w, y);
507
+ }
508
+ connectedCallback() {
509
+ E(this), this.hasRegisteredEventListeners || (this.hasRegisteredEventListeners = !0), f && (clearTimeout(f), f = null), u ? $.push(this) : v.jmp(() => Ke(this));
510
+ }
511
+ disconnectedCallback() {
512
+ v.jmp(() => Ne(this));
513
+ }
514
+ componentOnReady() {
515
+ return E(this).$onReadyPromise$;
516
+ }
517
+ };
518
+ y.$lazyBundleId$ = p[0], !a.includes(x) && !l.get(x) && (r.push(x), l.define(
519
+ x,
520
+ ce(
521
+ $e,
522
+ y,
523
+ 1
524
+ /* isElementConstructor */
525
+ )
526
+ ));
527
+ });
528
+ }), r.length > 0 && (d && (c.textContent += Y), c.textContent += r.sort() + ge, c.innerHTML.length)) {
529
+ c.setAttribute("data-styles", "");
530
+ const p = (n = v.$nonce$) != null ? n : K(m);
531
+ p != null && c.setAttribute("nonce", p), o.insertBefore(c, i ? i.nextSibling : o.firstChild);
532
+ }
533
+ u = !1, $.length ? $.map((p) => p.connectedCallback()) : v.jmp(() => f = setTimeout(ie, 30)), s();
534
+ };
535
+ export {
536
+ Ae as H,
537
+ tt as b,
538
+ et as g,
539
+ Le as h,
540
+ ye as p,
541
+ Ve as r
542
+ };