@session-services/web-elements 0.1.20 → 0.1.21

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 (32) hide show
  1. package/dist/cjs/{index-C6e98Atu.js → index-BYBgrATL.js} +1 -0
  2. package/dist/cjs/loader.cjs.js +2 -2
  3. package/dist/cjs/session-services-elements.cjs.js +2 -2
  4. package/dist/cjs/session-services-formatted-text.cjs.entry.js +181 -165
  5. package/dist/cjs/session-services-ticketing.cjs.entry.js +24398 -19334
  6. package/dist/collection/components/session-services-formatted-text/session-services-formatted-text.js +33 -34
  7. package/dist/collection/components/session-services-ticketing/session-services-ticketing.css +401 -339
  8. package/dist/collection/components/session-services-ticketing/session-services-ticketing.js +1087 -269
  9. package/dist/collection/components/session-services-ticketing/session-services-ticketing.logic.js +263 -0
  10. package/dist/collection/components/session-services-ticketing/session-services-ticketing.logic.test.js +276 -0
  11. package/dist/collection/components/session-services-ticketing/session-services-ticketing.test.js +264 -0
  12. package/dist/components/session-services-formatted-text.js +180 -164
  13. package/dist/components/session-services-ticketing.js +24442 -19360
  14. package/dist/esm/{index-CeXOR4aK.js → index-CNOpF6tk.js} +1 -1
  15. package/dist/esm/loader.js +3 -3
  16. package/dist/esm/session-services-elements.js +3 -3
  17. package/dist/esm/session-services-formatted-text.entry.js +181 -165
  18. package/dist/esm/session-services-ticketing.entry.js +24406 -19342
  19. package/dist/session-services-elements/{p-a2404c46.entry.js → p-703444ed.entry.js} +1 -1
  20. package/dist/session-services-elements/p-CNOpF6tk.js +2 -0
  21. package/dist/session-services-elements/p-b8703bf3.entry.js +1 -0
  22. package/dist/session-services-elements/session-services-elements.esm.js +1 -1
  23. package/dist/sst-env.d.ts +1 -0
  24. package/dist/types/components/session-services-formatted-text/session-services-formatted-text.d.ts +3 -0
  25. package/dist/types/components/session-services-ticketing/session-services-ticketing.d.ts +117 -3
  26. package/dist/types/components/session-services-ticketing/session-services-ticketing.logic.d.ts +193 -0
  27. package/dist/types/components/session-services-ticketing/session-services-ticketing.logic.test.d.ts +1 -0
  28. package/dist/types/components/session-services-ticketing/session-services-ticketing.test.d.ts +1 -0
  29. package/dist/types/components.d.ts +18 -0
  30. package/package.json +8 -7
  31. package/dist/session-services-elements/p-3bb6ceef.entry.js +0 -1
  32. package/dist/session-services-elements/p-CeXOR4aK.js +0 -2
@@ -1,2 +0,0 @@
1
- var e=Object.defineProperty,t=(e,t)=>{var n;Object.entries(null!=(n=t.o.t)?n:{}).map((([n,[o]])=>{if(31&o||32&o){const o=e[n],l=function(e,t){for(;e;){const n=Object.getOwnPropertyDescriptor(e,t);if(null==n?void 0:n.get)return n;e=Object.getPrototypeOf(e)}}(Object.getPrototypeOf(e),n)||Object.getOwnPropertyDescriptor(e,n);l&&Object.defineProperty(e,n,{get(){return l.get.call(this)},set(e){l.set.call(this,e)},configurable:!0,enumerable:!0}),e[n]=t.l.has(n)?t.l.get(n):o}}))},n=e=>{if(e.__stencil__getHostRef)return e.__stencil__getHostRef()},o=(e,n)=>{n&&(e.__stencil__getHostRef=()=>n,n.i=e,512&n.o.u&&t(e,n))},l=(e,t)=>t in e,i=(e,t)=>(0,console.error)(e,t),s=new Map,r=new Map,c="slot-fb{display:contents}slot-fb[hidden]{display:none}",u="undefined"!=typeof window?window:{},a={u:0,h:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,o)=>e.addEventListener(t,n,o),rel:(e,t,n,o)=>e.removeEventListener(t,n,o),ce:(e,t)=>new CustomEvent(e,t)},f=e=>Promise.resolve(e),d=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1})(),h=!!d&&(()=>!!u.document&&Object.getOwnPropertyDescriptor(u.document.adoptedStyleSheets,"length").writable)(),p=!1,m=[],v=[],b=(e,t)=>n=>{e.push(n),p||(p=!0,t&&4&a.u?$(w):a.raf(w))},y=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){i(e)}e.length=0},w=()=>{y(m),y(v),(p=m.length>0)&&a.raf(w)},$=e=>f().then(e),g=b(v,!0),j=e=>"object"==(e=typeof e)||"function"===e;function S(e){var t,n,o;return null!=(o=null==(n=null==(t=e.head)?void 0:t.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?o:void 0}((t,n)=>{for(var o in n)e(t,o,{get:n[o],enumerable:!0})})({},{err:()=>k,map:()=>E,ok:()=>O,unwrap:()=>M,unwrapErr:()=>x});var O=e=>({isOk:!0,isErr:!1,value:e}),k=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((e=>O(e))):O(n)}if(e.isErr)return k(e.value);throw"should never get here"}var C,M=e=>{if(e.isOk)return e.value;throw e.value},x=e=>{if(e.isErr)return e.value;throw e.value};function P(){const e=this.attachShadow({mode:"open"});void 0===C&&(C=null),C&&(h?e.adoptedStyleSheets.push(C):e.adoptedStyleSheets=[...e.adoptedStyleSheets,C])}var R=new WeakMap,D=e=>"sc-"+e.p,U=(e,t,...n)=>{let o=null,l=null,i=!1,s=!1;const r=[],c=t=>{for(let n=0;n<t.length;n++)o=t[n],Array.isArray(o)?c(o):null!=o&&"boolean"!=typeof o&&((i="function"!=typeof e&&!j(o))&&(o+=""),i&&s?r[r.length-1].m+=o:r.push(i?W(null,o):o),s=i)};if(c(n),t){t.key&&(l=t.key);{const e=t.className||t.class;e&&(t.class="object"!=typeof e?e:Object.keys(e).filter((t=>e[t])).join(" "))}}if("function"==typeof e)return e(null===t?{}:t,r,N);const u=W(e,null);return u.v=t,r.length>0&&(u.$=r),u.j=l,u},W=(e,t)=>({u:0,S:e,m:t,O:null,$:null,v:null,j:null}),A={},N={forEach:(e,t)=>e.map(H).forEach(t),map:(e,t)=>e.map(H).map(t).map(L)},H=e=>({vattrs:e.v,vchildren:e.$,vkey:e.j,vname:e.k,vtag:e.S,vtext:e.m}),L=e=>{if("function"==typeof e.vtag){const t={...e.vattrs};return e.vkey&&(t.key=e.vkey),e.vname&&(t.name=e.vname),U(e.vtag,t,...e.vchildren||[])}const t=W(e.vtag,e.vtext);return t.v=e.vattrs,t.$=e.vchildren,t.j=e.vkey,t.k=e.vname,t},T=e=>{const t=(e=>e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"))(e);return RegExp(`(^|[^@]|@(?!supports\\s+selector\\s*\\([^{]*?${t}))(${t}\\b)`,"g")};T("::slotted"),T(":host"),T(":host-context");var z,V=(e,t)=>null==e||j(e)?e:4&t?"false"!==e&&(""===e||!!e):1&t?e+"":e,q=(e,t)=>{const o=(e=>{var t;return null==(t=n(e))?void 0:t.$hostElement$})(e);return{emit:e=>F(o,t,{bubbles:!0,composed:!0,cancelable:!0,detail:e})}},F=(e,t,n)=>{const o=a.ce(t,n);return e.dispatchEvent(o),o},G=(e,t,n,o,i,s)=>{if(n===o)return;let r=l(e,t),c=t.toLowerCase();if("class"===t){const t=e.classList,l=Y(n);let i=Y(o);t.remove(...l.filter((e=>e&&!i.includes(e)))),t.add(...i.filter((e=>e&&!l.includes(e))))}else if("key"===t);else if(r||"o"!==t[0]||"n"!==t[1]){const l=j(o);if((r||l&&null!==o)&&!i)try{if(e.tagName.includes("-"))e[t]!==o&&(e[t]=o);else{const l=null==o?"":o;"list"===t?r=!1:null!=n&&e[t]==l||("function"==typeof e.__lookupSetter__(t)?e[t]=l:e.setAttribute(t,l))}}catch(e){}null==o||!1===o?!1===o&&""!==e.getAttribute(t)||e.removeAttribute(t):(!r||4&s||i)&&!l&&1===e.nodeType&&e.setAttribute(t,o=!0===o?"":o)}else if(t="-"===t[2]?t.slice(3):l(u,c)?c.slice(2):c[2]+t.slice(3),n||o){const l=t.endsWith(_);t=t.replace(B,""),n&&a.rel(e,t,n,l),o&&a.ael(e,t,o,l)}},I=/\s/,Y=e=>("object"==typeof e&&e&&"baseVal"in e&&(e=e.baseVal),e&&"string"==typeof e?e.split(I):[]),_="Capture",B=RegExp(_+"$"),J=(e,t,n)=>{const o=11===t.O.nodeType&&t.O.host?t.O.host:t.O,l=e&&e.v||{},i=t.v||{};for(const e of K(Object.keys(l)))e in i||G(o,e,l[e],void 0,n,t.u);for(const e of K(Object.keys(i)))G(o,e,l[e],i[e],n,t.u)};function K(e){return e.includes("ref")?[...e.filter((e=>"ref"!==e)),"ref"]:e}var Q=!1,X=(e,t,n)=>{const o=t.$[n];let l,i,s=0;if(null!==o.m)l=o.O=u.document.createTextNode(o.m);else{if(Q||(Q="svg"===o.S),!u.document)throw Error("You are trying to render a Stencil component in an environment that doesn't support the DOM. Make sure to populate the [`window`](https://developer.mozilla.org/en-US/docs/Web/API/Window/window) object before rendering a component.");if(l=o.O=u.document.createElementNS(Q?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",o.S),Q&&"foreignObject"===o.S&&(Q=!1),J(null,o,Q),o.$)for(s=0;s<o.$.length;++s)i=X(e,o,s),i&&l.appendChild(i);"svg"===o.S?Q=!1:"foreignObject"===l.tagName&&(Q=!0)}return l["s-hn"]=z,l},Z=(e,t,n,o,l,i)=>{let s,r=e;for(r.shadowRoot&&r.tagName===z&&(r=r.shadowRoot);l<=i;++l)o[l]&&(s=X(null,n,l),s&&(o[l].O=s,oe(r,s,t)))},ee=(e,t,n)=>{for(let o=t;o<=n;++o){const t=e[o];if(t){const e=t.O;e&&e.remove()}}},te=(e,t,n=!1)=>e.S===t.S&&(n?(n&&!e.j&&t.j&&(e.j=t.j),!0):e.j===t.j),ne=(e,t,n=!1)=>{const o=t.O=e.O,l=e.$,i=t.$,s=t.S,r=t.m;null===r?(J(e,t,Q="svg"===s||"foreignObject"!==s&&Q),null!==l&&null!==i?((e,t,n,o,l=!1)=>{let i,s,r=0,c=0,u=0,a=0,f=t.length-1,d=t[0],h=t[f],p=o.length-1,m=o[0],v=o[p];for(;r<=f&&c<=p;)if(null==d)d=t[++r];else if(null==h)h=t[--f];else if(null==m)m=o[++c];else if(null==v)v=o[--p];else if(te(d,m,l))ne(d,m,l),d=t[++r],m=o[++c];else if(te(h,v,l))ne(h,v,l),h=t[--f],v=o[--p];else if(te(d,v,l))ne(d,v,l),oe(e,d.O,h.O.nextSibling),d=t[++r],v=o[--p];else if(te(h,m,l))ne(h,m,l),oe(e,h.O,d.O),h=t[--f],m=o[++c];else{for(u=-1,a=r;a<=f;++a)if(t[a]&&null!==t[a].j&&t[a].j===m.j){u=a;break}u>=0?(s=t[u],s.S!==m.S?i=X(t&&t[c],n,u):(ne(s,m,l),t[u]=void 0,i=s.O),m=o[++c]):(i=X(t&&t[c],n,c),m=o[++c]),i&&oe(d.O.parentNode,i,d.O)}r>f?Z(e,null==o[p+1]?null:o[p+1].O,n,o,c,p):c>p&&ee(t,r,f)})(o,l,t,i,n):null!==i?(null!==e.m&&(o.textContent=""),Z(o,null,t,i,0,i.length-1)):!n&&null!==l&&ee(l,0,l.length-1),Q&&"svg"===s&&(Q=!1)):e.m!==r&&(o.data=r)},oe=(e,t,n)=>null==e?void 0:e.insertBefore(t,n),le=(e,t)=>{if(t&&!e.C&&t["s-p"]){const n=t["s-p"].push(new Promise((o=>e.C=()=>{t["s-p"].splice(n-1,1),o()})))}},ie=(e,t)=>{if(e.u|=16,4&e.u)return void(e.u|=512);le(e,e.M);const n=()=>se(e,t);if(!t)return g(n);queueMicrotask((()=>{n()}))},se=(e,t)=>{const n=e.$hostElement$,o=e.i;if(!o)throw 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 l;return t?(e.P.length&&e.P.forEach((e=>e(n))),l=he(o,"componentWillLoad",void 0,n)):l=he(o,"componentWillUpdate",void 0,n),l=re(l,(()=>he(o,"componentWillRender",void 0,n))),re(l,(()=>ue(e,o,t)))},re=(e,t)=>ce(e)?e.then(t).catch((e=>{console.error(e),t()})):t(),ce=e=>e instanceof Promise||e&&e.then&&"function"==typeof e.then,ue=async(e,t,n)=>{var o;const l=e.$hostElement$,i=l["s-rc"];n&&(e=>{const t=e.o,n=e.$hostElement$,o=t.u,l=((e,t)=>{var n;const o=D(t),l=r.get(o);if(!u.document)return o;if(e=11===e.nodeType?e:u.document,l)if("string"==typeof l){let i,s=R.get(e=e.head||e);if(s||R.set(e,s=new Set),!s.has(o)){{i=u.document.createElement("style"),i.innerHTML=l;const o=null!=(n=a.R)?n:S(u.document);if(null!=o&&i.setAttribute("nonce",o),!(1&t.u))if("HEAD"===e.nodeName){const t=e.querySelectorAll("link[rel=preconnect]"),n=t.length>0?t[t.length-1].nextSibling:e.querySelector("style");e.insertBefore(i,(null==n?void 0:n.parentNode)===e?n:null)}else if("host"in e)if(d){const t=new CSSStyleSheet;t.replaceSync(l),h?e.adoptedStyleSheets.unshift(t):e.adoptedStyleSheets=[t,...e.adoptedStyleSheets]}else{const t=e.querySelector("style");t?t.innerHTML=l+t.innerHTML:e.prepend(i)}else e.append(i);1&t.u&&e.insertBefore(i,null)}4&t.u&&(i.innerHTML+=c),s&&s.add(o)}}else e.adoptedStyleSheets.includes(l)||(h?e.adoptedStyleSheets.push(l):e.adoptedStyleSheets=[...e.adoptedStyleSheets,l]);return o})(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);10&o&&(n["s-sc"]=l,n.classList.add(l+"-h"))})(e);ae(e,t,l,n),i&&(i.map((e=>e())),l["s-rc"]=void 0);{const t=null!=(o=l["s-p"])?o:[],n=()=>fe(e);0===t.length?n():(Promise.all(t).then(n),e.u|=4,t.length=0)}},ae=(e,t,n,o)=>{try{t=t.render(),e.u&=-17,e.u|=2,((e,t,n=!1)=>{const o=e.$hostElement$,l=e.D||W(null,null),i=(e=>e&&e.S===A)(t)?t:U(null,null,t);if(z=o.tagName,n&&i.v)for(const e of Object.keys(i.v))o.hasAttribute(e)&&!["key","ref","style","class"].includes(e)&&(i.v[e]=o[e]);i.S=null,i.u|=4,e.D=i,i.O=l.O=o.shadowRoot||o,ne(l,i,n)})(e,t,o)}catch(t){i(t,e.$hostElement$)}return null},fe=e=>{const t=e.$hostElement$,n=e.i,o=e.M;he(n,"componentDidRender",void 0,t),64&e.u?he(n,"componentDidUpdate",void 0,t):(e.u|=64,pe(t),he(n,"componentDidLoad",void 0,t),e.U(t),o||de()),e.C&&(e.C(),e.C=void 0),512&e.u&&$((()=>ie(e,!1))),e.u&=-517},de=()=>{$((()=>F(u,"appload",{detail:{namespace:"session-services-elements"}})))},he=(e,t,n,o)=>{if(e&&e[t])try{return e[t](n)}catch(e){i(e,o)}},pe=e=>e.classList.add("hydrated"),me=(e,t,o,l)=>{const s=n(e);if(!s)return;if(!s)throw Error(`Couldn't find host element for "${l.p}" 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/stenciljs/core/issues/5457).`);const r=s.$hostElement$,c=s.l.get(t),u=s.u,a=s.i;if(o=V(o,l.t[t][0]),(!(8&u)||void 0===c)&&o!==c&&(!Number.isNaN(c)||!Number.isNaN(o))&&(s.l.set(t,o),a)){if(l.W&&128&u){const e=l.W[t];e&&e.map((e=>{try{a[e](o,c,t)}catch(e){i(e,r)}}))}if(2==(18&u)){if(a.componentShouldUpdate&&!1===a.componentShouldUpdate(o,c,t))return;ie(s,!1)}}},ve=(e,t,o)=>{var l,i;const s=e.prototype;{e.watchers&&!t.W&&(t.W=e.watchers),e.deserializers&&!t.A&&(t.A=e.deserializers),e.serializers&&!t.N&&(t.N=e.serializers);const r=Object.entries(null!=(l=t.t)?l:{});if(r.map((([e,[l]])=>{if(31&l||2&o&&32&l){const{get:i,set:r}=Object.getOwnPropertyDescriptor(s,e)||{};i&&(t.t[e][0]|=2048),r&&(t.t[e][0]|=4096),(1&o||!i)&&Object.defineProperty(s,e,{get(){{if(!(2048&t.t[e][0]))return((e,t)=>n(this).l.get(t))(0,e);const o=n(this),l=o?o.i:s;if(!l)return;return l[e]}},configurable:!0,enumerable:!0}),Object.defineProperty(s,e,{set(i){const s=n(this);if(s){if(r)return void 0===(32&l?this[e]:s.$hostElement$[e])&&s.l.get(e)&&(i=s.l.get(e)),r.call(this,V(i,l)),void me(this,e,i=32&l?this[e]:s.$hostElement$[e],t);{if(!(1&o&&4096&t.t[e][0]))return me(this,e,i,t),void(1&o&&!s.i&&s.P.push((()=>{4096&t.t[e][0]&&s.i[e]!==s.l.get(e)&&(s.i[e]=i)})));const n=()=>{const n=s.i[e];!s.l.get(e)&&n&&s.l.set(e,n),s.i[e]=V(i,l),me(this,e,s.i[e],t)};s.i?n():s.P.push((()=>{n()}))}}}})}})),1&o){const o=new Map;s.attributeChangedCallback=function(e,l,i){a.jmp((()=>{var c;const u=o.get(e),a=n(this);if(this.hasOwnProperty(u)&&(i=this[u],delete this[u]),s.hasOwnProperty(u)&&"number"==typeof this[u]&&this[u]==i)return;if(null==u){const n=null==a?void 0:a.u;if(a&&n&&!(8&n)&&128&n&&i!==l){const n=a.i,o=null==(c=t.W)?void 0:c[e];null==o||o.forEach((t=>{null!=n[t]&&n[t].call(n,i,l,e)}))}return}const f=r.find((([e])=>e===u));f&&4&f[1][0]&&(i=null!==i&&"false"!==i);const d=Object.getOwnPropertyDescriptor(s,u);i==this[u]||d.get&&!d.set||(this[u]=i)}))},e.observedAttributes=Array.from(new Set([...Object.keys(null!=(i=t.W)?i:{}),...r.filter((([e,t])=>31&t[0])).map((([e,t])=>{const n=t[1]||e;return o.set(n,e),n}))]))}}return e},be=(e,t)=>{he(e,"connectedCallback",void 0,t)},ye=(e,t)=>{he(e,"disconnectedCallback",void 0,t||e)},we=(e,t={})=>{var o;if(!u.document)return void console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");const l=[],f=t.exclude||[],h=u.customElements,p=u.document.head,m=p.querySelector("meta[charset]"),v=u.document.createElement("style"),b=[];let y,w=!0;Object.assign(a,t),a.h=new URL(t.resourcesUrl||"./",u.document.baseURI).href;let $=!1;if(e.map((e=>{e[1].map((t=>{var o,c,u;const p={u:t[0],p:t[1],t:t[2],H:t[3]};4&p.u&&($=!0),p.t=t[2],p.W=null!=(o=t[4])?o:{},p.N=null!=(c=t[5])?c:{},p.A=null!=(u=t[6])?u:{};const m=p.p,v=class extends HTMLElement{constructor(e){if(super(e),this.hasRegisteredEventListeners=!1,((e,t)=>{const n={u:0,$hostElement$:e,o:t,l:new Map,L:new Map};n.T=new Promise((e=>n.U=e)),e["s-p"]=[],e["s-rc"]=[],n.P=[];const o=n;e.__stencil__getHostRef=()=>o})(e=this,p),1&p.u)if(e.shadowRoot){if("open"!==e.shadowRoot.mode)throw Error(`Unable to re-use existing shadow root for ${p.p}! Mode is set to ${e.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else P.call(e,p)}connectedCallback(){n(this)&&(this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0),y&&(clearTimeout(y),y=null),w?b.push(this):a.jmp((()=>(e=>{if(!(1&a.u)){const t=n(e);if(!t)return;const o=t.o,l=()=>{};if(1&t.u)(null==t?void 0:t.i)?be(t.i,e):(null==t?void 0:t.T)&&t.T.then((()=>be(t.i,e)));else{t.u|=1;{let n=e;for(;n=n.parentNode||n.host;)if(n["s-p"]){le(t,t.M=n);break}}o.t&&Object.entries(o.t).map((([t,[n]])=>{if(31&n&&t in e&&e[t]!==Object.prototype[t]){const n=e[t];delete e[t],e[t]=n}})),(async(e,t,n)=>{let o;if(!(32&t.u)){if(t.u|=32,n.V){const l=((e,t)=>{const n=e.p.replace(/-/g,"_"),o=e.V;if(!o)return;const l=s.get(o);return l?l[n]:import(`./${o}.entry.js`).then((e=>(s.set(o,e),e[n])),(e=>{i(e,t.$hostElement$)}))
2
- /*!__STENCIL_STATIC_IMPORT_SWITCH__*/})(n,t);if(l&&"then"in l){const e=()=>{};o=await l,e()}else o=l;if(!o)throw Error(`Constructor for "${n.p}#${t.q}" was not found`);o.isProxied||(n.W=o.watchers,n.N=o.serializers,n.A=o.deserializers,ve(o,n,2),o.isProxied=!0);const r=()=>{};t.u|=8;try{new o(t)}catch(t){i(t,e)}t.u&=-9,t.u|=128,r(),be(t.i,e)}else o=e.constructor,customElements.whenDefined(e.localName).then((()=>t.u|=128));if(o&&o.style){let e;"string"==typeof o.style&&(e=o.style);const t=D(n);if(!r.has(t)){const o=()=>{};((e,t,n)=>{let o=r.get(e);d&&n?(o=o||new CSSStyleSheet,"string"==typeof o?o=t:o.replaceSync(t)):o=t,r.set(e,o)})(t,e,!!(1&n.u)),o()}}}const l=t.M,c=()=>ie(t,!0);l&&l["s-rc"]?l["s-rc"].push(c):c()})(e,t,o)}l()}})(this))))}disconnectedCallback(){a.jmp((()=>(async e=>{if(!(1&a.u)){const t=n(e);(null==t?void 0:t.i)?ye(t.i,e):(null==t?void 0:t.T)&&t.T.then((()=>ye(t.i,e)))}R.has(e)&&R.delete(e),e.shadowRoot&&R.has(e.shadowRoot)&&R.delete(e.shadowRoot)})(this))),a.raf((()=>{var e;const t=n(this);if(!t)return;const o=b.findIndex((e=>e===this));o>-1&&b.splice(o,1),(null==(e=null==t?void 0:t.D)?void 0:e.O)instanceof Node&&!t.D.O.isConnected&&delete t.D.O}))}componentOnReady(){var e;return null==(e=n(this))?void 0:e.T}};p.V=e[0],f.includes(m)||h.get(m)||(l.push(m),h.define(m,ve(v,p,1)))}))})),l.length>0&&($&&(v.textContent+=c),v.textContent+=l.sort()+"{visibility:hidden}.hydrated{visibility:inherit}",v.innerHTML.length)){v.setAttribute("data-styles","");const e=null!=(o=a.R)?o:S(u.document);null!=e&&v.setAttribute("nonce",e),p.insertBefore(v,m?m.nextSibling:p.firstChild)}w=!1,b.length?b.map((e=>e.connectedCallback())):a.jmp((()=>y=setTimeout(de,30)))},$e=e=>a.R=e;export{A as H,we as b,q as c,U as h,f as p,o as r,$e as s}