analog-clock-components 0.2.67 → 0.2.69

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,11 +1,11 @@
1
- import { b as bootstrapLazy } from './index-6zWiImGa.js';
2
- export { s as setNonce } from './index-6zWiImGa.js';
1
+ import { b as bootstrapLazy } from './index-DVQG3jUT.js';
2
+ export { s as setNonce } from './index-DVQG3jUT.js';
3
3
  import { g as globalScripts } from './app-globals-DQuL1Twl.js';
4
4
 
5
5
  const defineCustomElements = async (win, options) => {
6
6
  if (typeof window === 'undefined') return undefined;
7
7
  await globalScripts();
8
- return bootstrapLazy([["analog-clock",[[257,"analog-clock",{"size":[2],"timeZone":[2,"time-zone"],"time":[32]}]]]], options);
8
+ return bootstrapLazy([["analog-clock",[[1,"analog-clock",{"size":[2],"timeZone":[2,"time-zone"],"time":[32]}]]]], options);
9
9
  };
10
10
 
11
11
  export { defineCustomElements };
@@ -63,6 +63,12 @@ export interface ShadowRootOptions {
63
63
  * focusable part is given focus, and the shadow host is given any available `:focus` styling.
64
64
  */
65
65
  delegatesFocus?: boolean;
66
+ /**
67
+ * Sets the slot assignment mode for the shadow root. When set to `'manual'`, enables imperative
68
+ * slotting using the `HTMLSlotElement.assign()` method. Defaults to `'named'` for standard
69
+ * declarative slotting behavior.
70
+ */
71
+ slotAssignment?: 'manual' | 'named';
66
72
  }
67
73
  export interface ModeStyles {
68
74
  [modeName: string]: string | string[];
@@ -156,7 +162,9 @@ export interface StateDecorator {
156
162
  (): PropertyDecorator;
157
163
  }
158
164
  export interface WatchDecorator {
159
- (propName: any): CustomMethodDecorator<(newValue?: any, oldValue?: any, propName?: any, ...args: any[]) => any | void>;
165
+ (propName: any, watchOptions?: {
166
+ immediate?: boolean;
167
+ }): CustomMethodDecorator<(newValue?: any, oldValue?: any, propName?: any, ...args: any[]) => any | void>;
160
168
  }
161
169
  export interface PropSerializeDecorator {
162
170
  (propName: any): CustomMethodDecorator<(newValue?: any, propName?: string, ...args: any[]) => string | null>;
@@ -695,7 +703,7 @@ declare namespace LocalJSX {
695
703
  export { LocalJSX as JSX };
696
704
  export declare namespace JSXBase {
697
705
  interface IntrinsicElements {
698
- slot: JSXBase.SlotAttributes;
706
+ slot: JSXBase.SlotAttributes<HTMLSlotElement>;
699
707
  a: JSXBase.AnchorHTMLAttributes<HTMLAnchorElement>;
700
708
  abbr: JSXBase.HTMLAttributes;
701
709
  address: JSXBase.HTMLAttributes;
@@ -865,7 +873,7 @@ export declare namespace JSXBase {
865
873
  use: JSXBase.SVGAttributes;
866
874
  view: JSXBase.SVGAttributes;
867
875
  }
868
- interface SlotAttributes extends JSXAttributes {
876
+ interface SlotAttributes<T = HTMLSlotElement> extends JSXAttributes<T> {
869
877
  name?: string;
870
878
  slot?: string;
871
879
  onSlotchange?: (event: Event) => void;
@@ -921,6 +929,9 @@ export declare namespace JSXBase {
921
929
  popoverTargetAction?: string;
922
930
  popoverTargetElement?: Element | null;
923
931
  popoverTarget?: string;
932
+ command?: string;
933
+ commandFor?: string;
934
+ commandfor?: string;
924
935
  }
925
936
  interface CanvasHTMLAttributes<T> extends HTMLAttributes<T> {
926
937
  height?: number | string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "analog-clock-components",
3
- "version": "0.2.67",
3
+ "version": "0.2.69",
4
4
  "description": "Stencil Component Starter",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.js",
@@ -25,12 +25,12 @@
25
25
  "format": "prettier --write src"
26
26
  },
27
27
  "dependencies": {
28
- "@stencil/core": "4.39.0"
28
+ "@stencil/core": "4.40.0"
29
29
  },
30
30
  "license": "MIT",
31
31
  "devDependencies": {
32
32
  "cspell": "9.4.0",
33
- "eslint": "9.39.1",
33
+ "eslint": "9.39.2",
34
34
  "prettier": "3.7.4",
35
35
  "typescript": "5.9.3"
36
36
  },
@@ -1,2 +0,0 @@
1
- var t=Object.defineProperty,e=(t,e)=>{var n;Object.entries(null!=(n=e.o.t)?n:{}).map((([n,[o]])=>{if(31&o||32&o){const o=t[n],i=function(t,e){for(;t;){const n=Object.getOwnPropertyDescriptor(t,e);if(null==n?void 0:n.get)return n;t=Object.getPrototypeOf(t)}}(Object.getPrototypeOf(t),n)||Object.getOwnPropertyDescriptor(t,n);i&&Object.defineProperty(t,n,{get(){return i.get.call(this)},set(t){i.set.call(this,t)},configurable:!0,enumerable:!0}),t[n]=e.i.has(n)?e.i.get(n):o}}))},n=t=>{if(t.__stencil__getHostRef)return t.__stencil__getHostRef()},o=(t,n)=>{n&&(t.__stencil__getHostRef=()=>n,n.l=t,512&n.o.u&&e(t,n))},i=(t,e)=>(0,console.error)(t,e),l=new Map,r=new Map,s="slot-fb{display:contents}slot-fb[hidden]{display:none}",c="undefined"!=typeof window?window:{},u={u:0,h:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,e,n,o)=>t.addEventListener(e,n,o),rel:(t,e,n,o)=>t.removeEventListener(e,n,o),ce:(t,e)=>new CustomEvent(t,e)},a=t=>Promise.resolve(t),f=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(t){}return!1})(),d=!!f&&(()=>!!c.document&&Object.getOwnPropertyDescriptor(c.document.adoptedStyleSheets,"length").writable)(),h=!1,p=[],m=[],v=(t,e)=>n=>{t.push(n),h||(h=!0,e&&4&u.u?w(y):u.raf(y))},b=t=>{for(let e=0;e<t.length;e++)try{t[e](performance.now())}catch(t){i(t)}t.length=0},y=()=>{b(p),b(m),(h=p.length>0)&&u.raf(y)},w=t=>a().then(t),$=v(m,!0),g=t=>"object"==(t=typeof t)||"function"===t;function j(t){var e,n,o;return null!=(o=null==(n=null==(e=t.head)?void 0:e.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?o:void 0}((e,n)=>{for(var o in n)t(e,o,{get:n[o],enumerable:!0})})({},{err:()=>O,map:()=>k,ok:()=>S,unwrap:()=>M,unwrapErr:()=>C});var S=t=>({isOk:!0,isErr:!1,value:t}),O=t=>({isOk:!1,isErr:!0,value:t});function k(t,e){if(t.isOk){const n=e(t.value);return n instanceof Promise?n.then((t=>S(t))):S(n)}if(t.isErr)return O(t.value);throw"should never get here"}var E,M=t=>{if(t.isOk)return t.value;throw t.value},C=t=>{if(t.isErr)return t.value;throw t.value};function x(){const t=this.attachShadow({mode:"open"});void 0===E&&(E=null),E&&(d?t.adoptedStyleSheets.push(E):t.adoptedStyleSheets=[...t.adoptedStyleSheets,E])}var P=new WeakMap,N=t=>"sc-"+t.p,D=(t,e,...n)=>{let o=null,i=null,l=!1,r=!1;const s=[],c=e=>{for(let n=0;n<e.length;n++)o=e[n],Array.isArray(o)?c(o):null!=o&&"boolean"!=typeof o&&((l="function"!=typeof t&&!g(o))&&(o+=""),l&&r?s[s.length-1].m+=o:s.push(l?R(null,o):o),r=l)};if(c(n),e){e.key&&(i=e.key);{const t=e.className||e.class;t&&(e.class="object"!=typeof t?t:Object.keys(t).filter((e=>t[e])).join(" "))}}const u=R(t,null);return u.v=e,s.length>0&&(u.$=s),u.j=i,u},R=(t,e)=>({u:0,S:t,m:e,O:null,$:null,v:null,j:null}),U={},W=t=>{const e=(t=>t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"))(t);return RegExp(`(^|[^@]|@(?!supports\\s+selector\\s*\\([^{]*?${e}))(${e}\\b)`,"g")};W("::slotted"),W(":host"),W(":host-context");var A,L=(t,e)=>null==t||g(t)?t:2&e?"string"==typeof t?parseFloat(t):"number"==typeof t?t:NaN:t,T=(t,e,n,o,i,l)=>{if(n===o)return;let r=((t,e)=>e in t)(t,e);if(e.toLowerCase(),"class"===e){const e=t.classList,i=F(n);let l=F(o);e.remove(...i.filter((t=>t&&!l.includes(t)))),e.add(...l.filter((t=>t&&!i.includes(t))))}else if("key"===e);else{const s=g(o);if((r||s&&null!==o)&&!i)try{if(t.tagName.includes("-"))t[e]!==o&&(t[e]=o);else{const i=null==o?"":o;"list"===e?r=!1:null!=n&&t[e]==i||("function"==typeof t.__lookupSetter__(e)?t[e]=i:t.setAttribute(e,i))}}catch(t){}null==o||!1===o?!1===o&&""!==t.getAttribute(e)||t.removeAttribute(e):(!r||4&l||i)&&!s&&1===t.nodeType&&t.setAttribute(e,o=!0===o?"":o)}},z=/\s/,F=t=>("object"==typeof t&&t&&"baseVal"in t&&(t=t.baseVal),t&&"string"==typeof t?t.split(z):[]),H=(t,e,n)=>{const o=11===e.O.nodeType&&e.O.host?e.O.host:e.O,i=t&&t.v||{},l=e.v||{};for(const t of V(Object.keys(i)))t in l||T(o,t,i[t],void 0,n,e.u);for(const t of V(Object.keys(l)))T(o,t,i[t],l[t],n,e.u)};function V(t){return t.includes("ref")?[...t.filter((t=>"ref"!==t)),"ref"]:t}var q=!1,G=(t,e,n)=>{const o=e.$[n];let i,l,r=0;if(q||(q="svg"===o.S),!c.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(i=o.O=c.document.createElementNS(q?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",o.S),q&&"foreignObject"===o.S&&(q=!1),H(null,o,q),o.$)for(r=0;r<o.$.length;++r)l=G(t,o,r),l&&i.appendChild(l);return"svg"===o.S?q=!1:"foreignObject"===i.tagName&&(q=!0),i["s-hn"]=A,i},I=(t,e,n,o,i,l)=>{let r,s=t;for(s.shadowRoot&&s.tagName===A&&(s=s.shadowRoot);i<=l;++i)o[i]&&(r=G(null,n,i),r&&(o[i].O=r,J(s,r,e)))},Y=(t,e,n)=>{for(let o=e;o<=n;++o){const e=t[o];if(e){const t=e.O;t&&t.remove()}}},_=(t,e,n=!1)=>t.S===e.S&&(n?(n&&!t.j&&e.j&&(t.j=e.j),!0):t.j===e.j),B=(t,e,n=!1)=>{const o=e.O=t.O,i=t.$,l=e.$,r=e.S;H(t,e,q="svg"===r||"foreignObject"!==r&&q),null!==i&&null!==l?((t,e,n,o,i=!1)=>{let l,r,s=0,c=0,u=0,a=0,f=e.length-1,d=e[0],h=e[f],p=o.length-1,m=o[0],v=o[p];for(;s<=f&&c<=p;)if(null==d)d=e[++s];else if(null==h)h=e[--f];else if(null==m)m=o[++c];else if(null==v)v=o[--p];else if(_(d,m,i))B(d,m,i),d=e[++s],m=o[++c];else if(_(h,v,i))B(h,v,i),h=e[--f],v=o[--p];else if(_(d,v,i))B(d,v,i),J(t,d.O,h.O.nextSibling),d=e[++s],v=o[--p];else if(_(h,m,i))B(h,m,i),J(t,h.O,d.O),h=e[--f],m=o[++c];else{for(u=-1,a=s;a<=f;++a)if(e[a]&&null!==e[a].j&&e[a].j===m.j){u=a;break}u>=0?(r=e[u],r.S!==m.S?l=G(e&&e[c],n,u):(B(r,m,i),e[u]=void 0,l=r.O),m=o[++c]):(l=G(e&&e[c],n,c),m=o[++c]),l&&J(d.O.parentNode,l,d.O)}s>f?I(t,null==o[p+1]?null:o[p+1].O,n,o,c,p):c>p&&Y(e,s,f)})(o,i,e,l,n):null!==l?I(o,null,e,l,0,l.length-1):!n&&null!==i&&Y(i,0,i.length-1),q&&"svg"===r&&(q=!1)},J=(t,e,n)=>null==t?void 0:t.insertBefore(e,n),K=(t,e)=>{if(e&&!t.k&&e["s-p"]){const n=e["s-p"].push(new Promise((o=>t.k=()=>{e["s-p"].splice(n-1,1),o()})))}},Q=(t,e)=>{if(t.u|=16,4&t.u)return void(t.u|=512);K(t,t.M);const n=()=>X(t,e);if(!e)return $(n);queueMicrotask((()=>{n()}))},X=(t,e)=>{const n=t.$hostElement$,o=t.l;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 i;return e?(t.C.length&&t.C.forEach((t=>t(n))),i=lt(o,"componentWillLoad",void 0,n)):i=lt(o,"componentWillUpdate",void 0,n),i=Z(i,(()=>lt(o,"componentWillRender",void 0,n))),Z(i,(()=>et(t,o,e)))},Z=(t,e)=>tt(t)?t.then(e).catch((t=>{console.error(t),e()})):e(),tt=t=>t instanceof Promise||t&&t.then&&"function"==typeof t.then,et=async(t,e,n)=>{var o;const i=t.$hostElement$,l=i["s-rc"];n&&(t=>{const e=t.o,n=t.$hostElement$,o=e.u,i=((t,e)=>{var n;const o=N(e),i=r.get(o);if(!c.document)return o;if(t=11===t.nodeType?t:c.document,i)if("string"==typeof i){let l,r=P.get(t=t.head||t);if(r||P.set(t,r=new Set),!r.has(o)){{l=c.document.createElement("style"),l.innerHTML=i;const o=null!=(n=u.P)?n:j(c.document);if(null!=o&&l.setAttribute("nonce",o),!(1&e.u))if("HEAD"===t.nodeName){const e=t.querySelectorAll("link[rel=preconnect]"),n=e.length>0?e[e.length-1].nextSibling:t.querySelector("style");t.insertBefore(l,(null==n?void 0:n.parentNode)===t?n:null)}else if("host"in t)if(f){const e=new CSSStyleSheet;e.replaceSync(i),d?t.adoptedStyleSheets.unshift(e):t.adoptedStyleSheets=[e,...t.adoptedStyleSheets]}else{const e=t.querySelector("style");e?e.innerHTML=i+e.innerHTML:t.prepend(l)}else t.append(l);1&e.u&&t.insertBefore(l,null)}4&e.u&&(l.innerHTML+=s),r&&r.add(o)}}else t.adoptedStyleSheets.includes(i)||(d?t.adoptedStyleSheets.push(i):t.adoptedStyleSheets=[...t.adoptedStyleSheets,i]);return o})(n.shadowRoot?n.shadowRoot:n.getRootNode(),e);10&o&&(n["s-sc"]=i,n.classList.add(i+"-h"))})(t);nt(t,e,i,n),l&&(l.map((t=>t())),i["s-rc"]=void 0);{const e=null!=(o=i["s-p"])?o:[],n=()=>ot(t);0===e.length?n():(Promise.all(e).then(n),t.u|=4,e.length=0)}},nt=(t,e,n,o)=>{try{e=e.render(),t.u&=-17,t.u|=2,((t,e,n=!1)=>{const o=t.$hostElement$,i=t.N||R(null,null),l=(t=>t&&t.S===U)(e)?e:D(null,null,e);if(A=o.tagName,n&&l.v)for(const t of Object.keys(l.v))o.hasAttribute(t)&&!["key","ref","style","class"].includes(t)&&(l.v[t]=o[t]);l.S=null,l.u|=4,t.N=l,l.O=i.O=o.shadowRoot||o,B(i,l,n)})(t,e,o)}catch(e){i(e,t.$hostElement$)}return null},ot=t=>{const e=t.$hostElement$,n=t.l,o=t.M;lt(n,"componentDidRender",void 0,e),64&t.u?lt(n,"componentDidUpdate",void 0,e):(t.u|=64,rt(e),lt(n,"componentDidLoad",void 0,e),t.D(e),o||it()),t.k&&(t.k(),t.k=void 0),512&t.u&&w((()=>Q(t,!1))),t.u&=-517},it=()=>{w((()=>(t=>{const e=u.ce("appload",{detail:{namespace:"analog-clock"}});return t.dispatchEvent(e),e})(c)))},lt=(t,e,n,o)=>{if(t&&t[e])try{return t[e](n)}catch(t){i(t,o)}},rt=t=>t.classList.add("hydrated"),st=(t,e,o,i)=>{const l=n(t);if(!l)return;if(!l)throw Error(`Couldn't find host element for "${i.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=l.i.get(e),s=l.u,c=l.l;if(o=L(o,i.t[e][0]),(!(8&s)||void 0===r)&&o!==r&&(!Number.isNaN(r)||!Number.isNaN(o))&&(l.i.set(e,o),c&&2==(18&s))){if(c.componentShouldUpdate&&!1===c.componentShouldUpdate(o,r,e))return;Q(l,!1)}},ct=(t,e,o)=>{var i,l;const r=t.prototype;if(e.t){const s=Object.entries(null!=(i=e.t)?i:{});if(s.map((([t,[i]])=>{if(31&i||2&o&&32&i){const{get:l,set:s}=Object.getOwnPropertyDescriptor(r,t)||{};l&&(e.t[t][0]|=2048),s&&(e.t[t][0]|=4096),(1&o||!l)&&Object.defineProperty(r,t,{get(){{if(!(2048&e.t[t][0]))return((t,e)=>n(this).i.get(e))(0,t);const o=n(this),i=o?o.l:r;if(!i)return;return i[t]}},configurable:!0,enumerable:!0}),Object.defineProperty(r,t,{set(l){const r=n(this);if(r){if(s)return void 0===(32&i?this[t]:r.$hostElement$[t])&&r.i.get(t)&&(l=r.i.get(t)),s.call(this,L(l,i)),void st(this,t,l=32&i?this[t]:r.$hostElement$[t],e);{if(!(1&o&&4096&e.t[t][0]))return st(this,t,l,e),void(1&o&&!r.l&&r.C.push((()=>{4096&e.t[t][0]&&r.l[t]!==r.i.get(t)&&(r.l[t]=l)})));const n=()=>{const n=r.l[t];!r.i.get(t)&&n&&r.i.set(t,n),r.l[t]=L(l,i),st(this,t,r.l[t],e)};r.l?n():r.C.push((()=>{n()}))}}}})}})),1&o){const o=new Map;r.attributeChangedCallback=function(t,i,l){u.jmp((()=>{var c;const u=o.get(t),a=n(this);if(this.hasOwnProperty(u)&&(l=this[u],delete this[u]),r.hasOwnProperty(u)&&"number"==typeof this[u]&&this[u]==l)return;if(null==u){const n=null==a?void 0:a.u;if(a&&n&&!(8&n)&&128&n&&l!==i){const n=a.l,o=null==(c=e.R)?void 0:c[t];null==o||o.forEach((e=>{null!=n[e]&&n[e].call(n,l,i,t)}))}return}const f=s.find((([t])=>t===u));f&&4&f[1][0]&&(l=null!==l&&"false"!==l);const d=Object.getOwnPropertyDescriptor(r,u);l==this[u]||d.get&&!d.set||(this[u]=l)}))},t.observedAttributes=Array.from(new Set([...Object.keys(null!=(l=e.R)?l:{}),...s.filter((([t,e])=>31&e[0])).map((([t,e])=>{const n=e[1]||t;return o.set(n,t),n}))]))}}return t},ut=(t,e)=>{lt(t,"connectedCallback",void 0,e)},at=(t,e)=>{lt(t,"disconnectedCallback",void 0,e||t)},ft=(t,e={})=>{var o;if(!c.document)return void console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");const a=[],d=e.exclude||[],h=c.customElements,p=c.document.head,m=p.querySelector("meta[charset]"),v=c.document.createElement("style"),b=[];let y,w=!0;Object.assign(u,e),u.h=new URL(e.resourcesUrl||"./",c.document.baseURI).href;let $=!1;if(t.map((t=>{t[1].map((e=>{const o={u:e[0],p:e[1],t:e[2],U:e[3]};4&o.u&&($=!0),o.t=e[2];const s=o.p,c=class extends HTMLElement{constructor(t){if(super(t),this.hasRegisteredEventListeners=!1,((t,e)=>{const n={u:0,$hostElement$:t,o:e,i:new Map,W:new Map};n.A=new Promise((t=>n.D=t)),t["s-p"]=[],t["s-rc"]=[],n.C=[];const o=n;t.__stencil__getHostRef=()=>o})(t=this,o),1&o.u)if(t.shadowRoot){if("open"!==t.shadowRoot.mode)throw Error(`Unable to re-use existing shadow root for ${o.p}! Mode is set to ${t.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else x.call(t,o)}connectedCallback(){n(this)&&(this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0),y&&(clearTimeout(y),y=null),w?b.push(this):u.jmp((()=>(t=>{if(!(1&u.u)){const e=n(t);if(!e)return;const o=e.o,s=()=>{};if(1&e.u)(null==e?void 0:e.l)?ut(e.l,t):(null==e?void 0:e.A)&&e.A.then((()=>ut(e.l,t)));else{e.u|=1;{let n=t;for(;n=n.parentNode||n.host;)if(n["s-p"]){K(e,e.M=n);break}}o.t&&Object.entries(o.t).map((([e,[n]])=>{if(31&n&&e in t&&t[e]!==Object.prototype[e]){const n=t[e];delete t[e],t[e]=n}})),(async(t,e,n)=>{let o;if(!(32&e.u)){if(e.u|=32,n.L){const r=((t,e)=>{const n=t.p.replace(/-/g,"_"),o=t.L;if(!o)return;const r=l.get(o);return r?r[n]:import(`./${o}.entry.js`).then((t=>(l.set(o,t),t[n])),(t=>{i(t,e.$hostElement$)}))
2
- /*!__STENCIL_STATIC_IMPORT_SWITCH__*/})(n,e);if(r&&"then"in r){const t=()=>{};o=await r,t()}else o=r;if(!o)throw Error(`Constructor for "${n.p}#${e.T}" was not found`);o.isProxied||(ct(o,n,2),o.isProxied=!0);const s=()=>{};e.u|=8;try{new o(e)}catch(e){i(e,t)}e.u&=-9,s(),ut(e.l,t)}else o=t.constructor,customElements.whenDefined(t.localName).then((()=>e.u|=128));if(o&&o.style){let t;"string"==typeof o.style&&(t=o.style);const e=N(n);if(!r.has(e)){const o=()=>{};((t,e,n)=>{let o=r.get(t);f&&n?(o=o||new CSSStyleSheet,"string"==typeof o?o=e:o.replaceSync(e)):o=e,r.set(t,o)})(e,t,!!(1&n.u)),o()}}}const s=e.M,c=()=>Q(e,!0);s&&s["s-rc"]?s["s-rc"].push(c):c()})(t,e,o)}s()}})(this))))}disconnectedCallback(){u.jmp((()=>(async t=>{if(!(1&u.u)){const e=n(t);(null==e?void 0:e.l)?at(e.l,t):(null==e?void 0:e.A)&&e.A.then((()=>at(e.l,t)))}P.has(t)&&P.delete(t),t.shadowRoot&&P.has(t.shadowRoot)&&P.delete(t.shadowRoot)})(this))),u.raf((()=>{var t;const e=n(this);if(!e)return;const o=b.findIndex((t=>t===this));o>-1&&b.splice(o,1),(null==(t=null==e?void 0:e.N)?void 0:t.O)instanceof Node&&!e.N.O.isConnected&&delete e.N.O}))}componentOnReady(){var t;return null==(t=n(this))?void 0:t.A}};o.L=t[0],d.includes(s)||h.get(s)||(a.push(s),h.define(s,ct(c,o,1)))}))})),a.length>0&&($&&(v.textContent+=s),v.textContent+=a.sort()+"{visibility:hidden}.hydrated{visibility:inherit}",v.innerHTML.length)){v.setAttribute("data-styles","");const t=null!=(o=u.P)?o:j(c.document);null!=t&&v.setAttribute("nonce",t),p.insertBefore(v,m?m.nextSibling:p.firstChild)}w=!1,b.length?b.map((t=>t.connectedCallback())):u.jmp((()=>y=setTimeout(it,30)))},dt=t=>u.P=t;export{ft as b,D as h,a as p,o as r,dt as s}