analog-clock-components 0.2.5 → 0.2.7

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 (41) hide show
  1. package/dist/analog-clock/analog-clock.esm.js +2 -1
  2. package/dist/analog-clock/analog-clock.esm.js.map +1 -0
  3. package/dist/analog-clock/index.esm.js +2 -0
  4. package/dist/analog-clock/index.esm.js.map +1 -0
  5. package/dist/analog-clock/{p-0331c920.entry.js → p-0bcf5f65.entry.js} +2 -1
  6. package/dist/analog-clock/p-0bcf5f65.entry.js.map +1 -0
  7. package/dist/analog-clock/{p-af0a6fac.js → p-Cv-RwySr.js} +3 -2
  8. package/dist/analog-clock/p-Cv-RwySr.js.map +1 -0
  9. package/dist/analog-clock/p-DQuL1Twl.js +2 -0
  10. package/dist/analog-clock/p-DQuL1Twl.js.map +1 -0
  11. package/dist/cjs/analog-clock.cjs.entry.js +4 -5
  12. package/dist/cjs/analog-clock.cjs.entry.js.map +1 -0
  13. package/dist/cjs/analog-clock.cjs.js +8 -6
  14. package/dist/cjs/analog-clock.cjs.js.map +1 -0
  15. package/dist/cjs/{app-globals-3a1e7e63.js → app-globals-V2Kpy_OQ.js} +2 -0
  16. package/dist/cjs/app-globals-V2Kpy_OQ.js.map +1 -0
  17. package/dist/cjs/{index-9b85945d.js → index-BeG1xbzT.js} +12 -33
  18. package/dist/cjs/index-BeG1xbzT.js.map +1 -0
  19. package/dist/cjs/index.cjs.js +2 -0
  20. package/dist/cjs/index.cjs.js.map +1 -0
  21. package/dist/cjs/loader.cjs.js +4 -4
  22. package/dist/cjs/loader.cjs.js.map +1 -0
  23. package/dist/collection/collection-manifest.json +1 -1
  24. package/dist/components/analog-clock.js +1 -2
  25. package/dist/esm/analog-clock.entry.js +4 -3
  26. package/dist/esm/analog-clock.entry.js.map +1 -0
  27. package/dist/esm/analog-clock.js +7 -4
  28. package/dist/esm/analog-clock.js.map +1 -0
  29. package/dist/esm/{app-globals-0f993ce5.js → app-globals-DQuL1Twl.js} +2 -0
  30. package/dist/esm/app-globals-DQuL1Twl.js.map +1 -0
  31. package/dist/esm/{index-a57e6c9c.js → index-Cv-RwySr.js} +10 -11
  32. package/dist/esm/index-Cv-RwySr.js.map +1 -0
  33. package/dist/esm/index.js +2 -0
  34. package/dist/esm/index.js.map +1 -0
  35. package/dist/esm/loader.js +5 -3
  36. package/dist/esm/loader.js.map +1 -0
  37. package/dist/types/components.d.ts +0 -8
  38. package/dist/types/stencil-public-runtime.d.ts +1 -0
  39. package/package.json +4 -4
  40. package/dist/analog-clock/p-e1255160.js +0 -1
  41. package/loader/package.json +0 -11
@@ -1 +1,2 @@
1
- import{p as a,b as e}from"./p-af0a6fac.js";export{s as setNonce}from"./p-af0a6fac.js";import{g as o}from"./p-e1255160.js";(()=>{const e=import.meta.url,o={};return""!==e&&(o.resourcesUrl=new URL(".",e).href),a(o)})().then((async a=>(await o(),e([["p-0331c920",[[1,"analog-clock",{size:[2],timeZone:[2,"time-zone"],time:[32]}]]]],a))));
1
+ import{p as o,b as e}from"./p-Cv-RwySr.js";export{s as setNonce}from"./p-Cv-RwySr.js";import{g as t}from"./p-DQuL1Twl.js";(()=>{const e=import.meta.url,s={};return""!==e&&(s.resourcesUrl=new URL(".",e).href),o(s)})().then((async o=>(await t(),e([["p-0bcf5f65",[[1,"analog-clock",{size:[2],timeZone:[2,"time-zone"],time:[32]}]]]],o))));
2
+ //# sourceMappingURL=analog-clock.esm.js.map
@@ -0,0 +1 @@
1
+ {"sourcesContent":[]}
@@ -0,0 +1,2 @@
1
+
2
+ //# sourceMappingURL=index.esm.js.map
@@ -0,0 +1 @@
1
+ {"sourcesContent":[]}
@@ -1 +1,2 @@
1
- import{r as e,h as t}from"./p-af0a6fac.js";const c=class{constructor(t){e(this,t),this.size=void 0,this.timeZone=0,this.time=Date.now()}componentDidLoad(){this.timer=window.setInterval((()=>{this.time=Date.now()}),250)}disconnectedCallback(){clearInterval(this.timer)}get hour(){return new Date(this.time).getHours()}get minute(){return new Date(this.time).getMinutes()}get second(){return new Date(this.time).getSeconds()}hourToDegrees(){const e=this.hour+this.timeZone;return Math.floor(this.minute/2)+30*e}minuteToDegrees(){return Math.floor(this.second/10)+6*this.minute}secondToDegrees(){return 6*this.second}render(){return t("svg",{key:"39e3465d3bf04035966b00bb15186d1f712163cd",class:"clock",viewBox:"0 0 200 200",width:this.size,height:this.size},t("circle",{key:"e4c4288aa0efc9cf98027eef1f5bd7c550c23a18",id:"circle",cx:"100",cy:"100",r:"95","stroke-width":"10",fill:"transparent"}),t("line",{key:"296fb8ac19749103439f2ce1878db5ccfb214c20",id:"hour",transform:`rotate(${this.hourToDegrees()}, 100, 100)`,x1:"100",y1:"100",x2:"100",y2:"60","stroke-width":"10","stroke-linecap":"round"}),t("line",{key:"acbe2c6ebdf05ff46e06144839dec43c45e8b40d",id:"minute",transform:`rotate(${this.minuteToDegrees()}, 100, 100)`,x1:"100",y1:"100",x2:"100",y2:"30","stroke-width":"8","stroke-linecap":"round"}),t("line",{key:"f275abf7169379b2f61c9cdd185068f5e2373d4a",id:"second",transform:`rotate(${this.secondToDegrees()}, 100, 100)`,x1:"100",y1:"100",x2:"100",y2:"20","stroke-width":"2","stroke-linecap":"round"}))}};c.style=".clock #circle{stroke:var(--clock-circle-color, black)}.clock #hour{stroke:var(--clock-hour-color, black)}.clock #minute{stroke:var(--clock-minute-color, black)}.clock #second{stroke:var(--clock-second-color, black)}";export{c as analog_clock}
1
+ import{r as e,h as t}from"./p-Cv-RwySr.js";const c=class{constructor(t){e(this,t),this.size=void 0,this.timeZone=0,this.time=Date.now()}componentDidLoad(){this.timer=window.setInterval((()=>{this.time=Date.now()}),250)}disconnectedCallback(){clearInterval(this.timer)}get hour(){return new Date(this.time).getHours()}get minute(){return new Date(this.time).getMinutes()}get second(){return new Date(this.time).getSeconds()}hourToDegrees(){const e=this.hour+this.timeZone;return Math.floor(this.minute/2)+30*e}minuteToDegrees(){return Math.floor(this.second/10)+6*this.minute}secondToDegrees(){return 6*this.second}render(){return t("svg",{key:"39e3465d3bf04035966b00bb15186d1f712163cd",class:"clock",viewBox:"0 0 200 200",width:this.size,height:this.size},t("circle",{key:"e4c4288aa0efc9cf98027eef1f5bd7c550c23a18",id:"circle",cx:"100",cy:"100",r:"95","stroke-width":"10",fill:"transparent"}),t("line",{key:"296fb8ac19749103439f2ce1878db5ccfb214c20",id:"hour",transform:`rotate(${this.hourToDegrees()}, 100, 100)`,x1:"100",y1:"100",x2:"100",y2:"60","stroke-width":"10","stroke-linecap":"round"}),t("line",{key:"acbe2c6ebdf05ff46e06144839dec43c45e8b40d",id:"minute",transform:`rotate(${this.minuteToDegrees()}, 100, 100)`,x1:"100",y1:"100",x2:"100",y2:"30","stroke-width":"8","stroke-linecap":"round"}),t("line",{key:"f275abf7169379b2f61c9cdd185068f5e2373d4a",id:"second",transform:`rotate(${this.secondToDegrees()}, 100, 100)`,x1:"100",y1:"100",x2:"100",y2:"20","stroke-width":"2","stroke-linecap":"round"}))}};c.style=".clock #circle{stroke:var(--clock-circle-color, black)}.clock #hour{stroke:var(--clock-hour-color, black)}.clock #minute{stroke:var(--clock-minute-color, black)}.clock #second{stroke:var(--clock-second-color, black)}";export{c as analog_clock}
2
+ //# sourceMappingURL=p-0bcf5f65.entry.js.map
@@ -0,0 +1 @@
1
+ {"sourcesContent":[]}
@@ -1,2 +1,3 @@
1
- var e=Object.defineProperty,t=e=>{if(e.__stencil__getHostRef)return e.__stencil__getHostRef()},n=(e,t)=>{e.__stencil__getHostRef=()=>t,t.t=e},o=(e,t)=>(0,console.error)(e,t),l=new Map,i=new Map,s="slot-fb{display:contents}slot-fb[hidden]{display:none}",r="undefined"!=typeof window?window:{},c={o:0,l:"",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)},u=e=>Promise.resolve(e),a=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1})(),f=!1,d=[],h=[],p=(e,t)=>n=>{e.push(n),f||(f=!0,t&&4&c.o?y(v):c.raf(v))},m=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){o(e)}e.length=0},v=()=>{m(d),m(h),(f=d.length>0)&&c.raf(v)},y=e=>u().then(e),w=p(h,!0),b=e=>"object"==(e=typeof e)||"function"===e;function $(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:()=>S,map:()=>j,ok:()=>g,unwrap:()=>k,unwrapErr:()=>E});var g=e=>({isOk:!0,isErr:!1,value:e}),S=e=>({isOk:!1,isErr:!0,value:e});function j(e,t){if(e.isOk){const n=t(e.value);return n instanceof Promise?n.then((e=>g(e))):g(n)}if(e.isErr)return S(e.value);throw"should never get here"}var O,k=e=>{if(e.isOk)return e.value;throw e.value},E=e=>{if(e.isErr)return e.value;throw e.value},C=(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&&!b(o))&&(o+=""),i&&s?r[r.length-1].i+=o:r.push(i?M(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(" "))}}const u=M(e,null);return u.u=t,r.length>0&&(u.h=r),u.p=l,u},M=(e,t)=>({o:0,m:e,i:t,v:null,h:null,u:null,p:null}),P={},x=(e,t)=>null==e||b(e)?e:2&t?parseFloat(e):e,D=new WeakMap,U=e=>"sc-"+e.$,W=(e,t,n,o,l,i)=>{if(n===o)return;let s=((e,t)=>t in e)(e,t);if(t.toLowerCase(),"class"===t){const t=e.classList,l=N(n);let i=N(o);t.remove(...l.filter((e=>e&&!i.includes(e)))),t.add(...i.filter((e=>e&&!l.includes(e))))}else if("key"===t);else{const r=b(o);if((s||r&&null!==o)&&!l)try{if(e.tagName.includes("-"))e[t]!==o&&(e[t]=o);else{const l=null==o?"":o;"list"===t?s=!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):(!s||4&i||l)&&!r&&1===e.nodeType&&e.setAttribute(t,o=!0===o?"":o)}},A=/\s/,N=e=>("object"==typeof e&&e&&"baseVal"in e&&(e=e.baseVal),e&&"string"==typeof e?e.split(A):[]),R=(e,t,n)=>{const o=11===t.v.nodeType&&t.v.host?t.v.host:t.v,l=e&&e.u||{},i=t.u||{};for(const e of L(Object.keys(l)))e in i||W(o,e,l[e],void 0,n,t.o);for(const e of L(Object.keys(i)))W(o,e,l[e],i[e],n,t.o)};function L(e){return e.includes("ref")?[...e.filter((e=>"ref"!==e)),"ref"]:e}var T=!1,F=(e,t,n)=>{const o=t.h[n];let l,i,s=0;if(T||(T="svg"===o.m),!r.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.v=r.document.createElementNS(T?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",o.m),T&&"foreignObject"===o.m&&(T=!1),R(null,o,T),o.h)for(s=0;s<o.h.length;++s)i=F(e,o,s),i&&l.appendChild(i);return"svg"===o.m?T=!1:"foreignObject"===l.tagName&&(T=!0),l["s-hn"]=O,l},H=(e,t,n,o,l,i)=>{let s,r=e;for(r.shadowRoot&&r.tagName===O&&(r=r.shadowRoot);l<=i;++l)o[l]&&(s=F(null,n,l),s&&(o[l].v=s,G(r,s,t)))},z=(e,t,n)=>{for(let o=t;o<=n;++o){const t=e[o];if(t){const e=t.v;e&&e.remove()}}},V=(e,t,n=!1)=>e.m===t.m&&(n?(n&&!e.p&&t.p&&(e.p=t.p),!0):e.p===t.p),q=(e,t,n=!1)=>{const o=t.v=e.v,l=e.h,i=t.h,s=t.m;R(e,t,T="svg"===s||"foreignObject"!==s&&T),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(V(d,m,l))q(d,m,l),d=t[++r],m=o[++c];else if(V(h,v,l))q(h,v,l),h=t[--f],v=o[--p];else if(V(d,v,l))q(d,v,l),G(e,d.v,h.v.nextSibling),d=t[++r],v=o[--p];else if(V(h,m,l))q(h,m,l),G(e,h.v,d.v),h=t[--f],m=o[++c];else{for(u=-1,a=r;a<=f;++a)if(t[a]&&null!==t[a].p&&t[a].p===m.p){u=a;break}u>=0?(s=t[u],s.m!==m.m?i=F(t&&t[c],n,u):(q(s,m,l),t[u]=void 0,i=s.v),m=o[++c]):(i=F(t&&t[c],n,c),m=o[++c]),i&&G(d.v.parentNode,i,d.v)}r>f?H(e,null==o[p+1]?null:o[p+1].v,n,o,c,p):c>p&&z(t,r,f)})(o,l,t,i,n):null!==i?H(o,null,t,i,0,i.length-1):!n&&null!==l&&z(l,0,l.length-1),T&&"svg"===s&&(T=!1)},G=(e,t,n)=>null==e?void 0:e.insertBefore(t,n),I=(e,t)=>{if(t&&!e.S&&t["s-p"]){const n=t["s-p"].push(new Promise((o=>e.S=()=>{t["s-p"].splice(n-1,1),o()})))}},Y=(e,t)=>{if(e.o|=16,!(4&e.o))return I(e,e.j),w((()=>_(e,t)));e.o|=512},_=(e,t)=>{const n=e.$hostElement$,o=e.t;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 l=ee(o,t?"componentWillLoad":"componentWillUpdate",void 0,n),l=B(l,(()=>ee(o,"componentWillRender",void 0,n))),B(l,(()=>K(e,o,t)))},B=(e,t)=>J(e)?e.then(t).catch((e=>{console.error(e),t()})):t(),J=e=>e instanceof Promise||e&&e.then&&"function"==typeof e.then,K=async(e,t,n)=>{var o;const l=e.$hostElement$,u=l["s-rc"];n&&(e=>{const t=e.O,n=e.$hostElement$,o=t.o,l=((e,t)=>{var n;const o=U(t),l=i.get(o);if(!r.document)return o;if(e=11===e.nodeType?e:r.document,l)if("string"==typeof l){let i,u=D.get(e=e.head||e);if(u||D.set(e,u=new Set),!u.has(o)){{i=document.querySelector(`[sty-id="${o}"]`)||r.document.createElement("style"),i.innerHTML=l;const s=null!=(n=c.k)?n:$(r.document);if(null!=s&&i.setAttribute("nonce",s),!(1&t.o))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(a){const t=new CSSStyleSheet;t.replaceSync(l),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.o&&e.insertBefore(i,null)}4&t.o&&(i.innerHTML+=s),u&&u.add(o)}}else e.adoptedStyleSheets.includes(l)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,l]);return o})(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);(10&o&&2&o||128&o)&&(n["s-sc"]=l,n.classList.add(l+"-h"))})(e);Q(e,t,l,n),u&&(u.map((e=>e())),l["s-rc"]=void 0);{const t=null!=(o=l["s-p"])?o:[],n=()=>X(e);0===t.length?n():(Promise.all(t).then(n),e.o|=4,t.length=0)}},Q=(e,t,n,l)=>{try{t=t.render(),e.o&=-17,e.o|=2,((e,t,n=!1)=>{const o=e.$hostElement$,l=e.O,i=e.C||M(null,null),s=(e=>e&&e.m===P)(t)?t:C(null,null,t);if(O=o.tagName,n&&s.u)for(const e of Object.keys(s.u))o.hasAttribute(e)&&!["key","ref","style","class"].includes(e)&&(s.u[e]=o[e]);s.m=null,s.o|=4,e.C=s,s.v=i.v=o.shadowRoot||o,q(i,s,n)})(e,t,l)}catch(t){o(t,e.$hostElement$)}return null},X=e=>{const t=e.$hostElement$,n=e.t,o=e.j;ee(n,"componentDidRender",void 0,t),64&e.o?ee(n,"componentDidUpdate",void 0,t):(e.o|=64,te(t),ee(n,"componentDidLoad",void 0,t),e.M(t),o||Z()),e.S&&(e.S(),e.S=void 0),512&e.o&&y((()=>Y(e,!1))),e.o&=-517},Z=()=>{y((()=>(e=>{const t=c.ce("appload",{detail:{namespace:"analog-clock"}});return e.dispatchEvent(t),t})(r)))},ee=(e,t,n,l)=>{if(e&&e[t])try{return e[t](n)}catch(e){o(e,l)}},te=e=>e.classList.add("hydrated"),ne=(e,n,o,l)=>{const i=t(e);if(!i)throw Error(`Couldn't find host element for "${l.$}" 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 s=i.P.get(n),r=i.o,c=i.t;if(o=x(o,l.D[n][0]),(!(8&r)||void 0===s)&&o!==s&&(!Number.isNaN(s)||!Number.isNaN(o))&&(i.P.set(n,o),c&&2==(18&r))){if(c.componentShouldUpdate&&!1===c.componentShouldUpdate(o,s,n))return;Y(i,!1)}},oe=(e,n,o)=>{var l,i;const s=e.prototype;if(n.D){const r=Object.entries(null!=(l=n.D)?l:{});if(r.map((([e,[l]])=>{if(31&l||2&o&&32&l){const{get:i,set:r}=Object.getOwnPropertyDescriptor(s,e)||{};i&&(n.D[e][0]|=2048),r&&(n.D[e][0]|=4096),(1&o||!i)&&Object.defineProperty(s,e,{get(){{if(!(2048&n.D[e][0]))return((e,n)=>t(this).P.get(n))(0,e);const o=t(this),l=o?o.t:s;if(!l)return;return l[e]}},configurable:!0,enumerable:!0}),Object.defineProperty(s,e,{set(i){const s=t(this);if(r){const t=32&l?this[e]:s.$hostElement$[e];return void 0===t&&s.P.get(e)?i=s.P.get(e):!s.P.get(e)&&t&&s.P.set(e,t),r.call(this,x(i,l)),void ne(this,e,i=32&l?this[e]:s.$hostElement$[e],n)}{if(!(1&o&&4096&n.D[e][0]))return ne(this,e,i,n),void(1&o&&!s.t&&s.U.then((()=>{4096&n.D[e][0]&&s.t[e]!==s.P.get(e)&&(s.t[e]=i)})));const t=()=>{const t=s.t[e];!s.P.get(e)&&t&&s.P.set(e,t),s.t[e]=x(i,l),ne(this,e,s.t[e],n)};s.t?t():s.U.then((()=>t()))}}})}})),1&o){const o=new Map;s.attributeChangedCallback=function(e,l,i){c.jmp((()=>{var r;const c=o.get(e);if(this.hasOwnProperty(c))i=this[c],delete this[c];else{if(s.hasOwnProperty(c)&&"number"==typeof this[c]&&this[c]==i)return;if(null==c){const o=t(this),s=null==o?void 0:o.o;if(s&&!(8&s)&&128&s&&i!==l){const t=o.t,s=null==(r=n.W)?void 0:r[e];null==s||s.forEach((n=>{null!=t[n]&&t[n].call(t,i,l,e)}))}return}}const u=Object.getOwnPropertyDescriptor(s,c);(i=(null!==i||"boolean"!=typeof this[c])&&i)===this[c]||u.get&&!u.set||(this[c]=i)}))},e.observedAttributes=Array.from(new Set([...Object.keys(null!=(i=n.W)?i:{}),...r.filter((([e,t])=>15&t[0])).map((([e,t])=>{const n=t[1]||e;return o.set(n,e),n}))]))}}return e},le=(e,t)=>{ee(e,"connectedCallback",void 0,t)},ie=(e,t)=>{ee(e,"disconnectedCallback",void 0,t||e)},se=(e,n={})=>{var u;if(!r.document)return void console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");const f=[],d=n.exclude||[],h=r.customElements,p=r.document.head,m=p.querySelector("meta[charset]"),v=r.document.createElement("style"),y=[];let w,b=!0;Object.assign(c,n),c.l=new URL(n.resourcesUrl||"./",r.document.baseURI).href;let g=!1;if(e.map((e=>{e[1].map((n=>{const s={o:n[0],$:n[1],D:n[2],A:n[3]};4&s.o&&(g=!0),s.D=n[2];const r=s.$,u=class extends HTMLElement{constructor(e){if(super(e),this.hasRegisteredEventListeners=!1,((e,t)=>{const n={o:0,$hostElement$:e,O:t,P:new Map};n.U=new Promise((e=>n.M=e)),e["s-p"]=[],e["s-rc"]=[];const o=n;e.__stencil__getHostRef=()=>o})(e=this,s),1&s.o)if(e.shadowRoot){if("open"!==e.shadowRoot.mode)throw Error(`Unable to re-use existing shadow root for ${s.$}! Mode is set to ${e.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else e.attachShadow({mode:"open"})}connectedCallback(){this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0),w&&(clearTimeout(w),w=null),b?y.push(this):c.jmp((()=>(e=>{if(!(1&c.o)){const n=t(e),s=n.O,r=()=>{};if(1&n.o)(null==n?void 0:n.t)?le(n.t,e):(null==n?void 0:n.U)&&n.U.then((()=>le(n.t,e)));else{n.o|=1;{let t=e;for(;t=t.parentNode||t.host;)if(t["s-p"]){I(n,n.j=t);break}}s.D&&Object.entries(s.D).map((([t,[n]])=>{if(31&n&&e.hasOwnProperty(t)){const n=e[t];delete e[t],e[t]=n}})),(async(e,t,n)=>{let s;if(!(32&t.o)){if(t.o|=32,n.N){const i=((e,t)=>{const n=e.$.replace(/-/g,"_"),i=e.N;if(!i)return;const s=l.get(i);return s?s[n]:import(`./${i}.entry.js`).then((e=>(l.set(i,e),e[n])),(e=>{o(e,t.$hostElement$)}))
2
- /*!__STENCIL_STATIC_IMPORT_SWITCH__*/})(n,t);if(i&&"then"in i){const e=()=>{};s=await i,e()}else s=i;if(!s)throw Error(`Constructor for "${n.$}#${t.R}" was not found`);s.isProxied||(oe(s,n,2),s.isProxied=!0);const r=()=>{};t.o|=8;try{new s(t)}catch(t){o(t,e)}t.o&=-9,r(),le(t.t,e)}else s=e.constructor,customElements.whenDefined(e.localName).then((()=>t.o|=128));if(s&&s.style){let e;"string"==typeof s.style&&(e=s.style);const t=U(n);if(!i.has(t)){const o=()=>{};((e,t,n)=>{let o=i.get(e);a&&n?(o=o||new CSSStyleSheet,"string"==typeof o?o=t:o.replaceSync(t)):o=t,i.set(e,o)})(t,e,!!(1&n.o)),o()}}}const r=t.j,c=()=>Y(t,!0);r&&r["s-rc"]?r["s-rc"].push(c):c()})(e,n,s)}r()}})(this)))}disconnectedCallback(){c.jmp((()=>(async e=>{if(!(1&c.o)){const n=t(e);(null==n?void 0:n.t)?ie(n.t,e):(null==n?void 0:n.U)&&n.U.then((()=>ie(n.t,e)))}D.has(e)&&D.delete(e),e.shadowRoot&&D.has(e.shadowRoot)&&D.delete(e.shadowRoot)})(this))),c.raf((()=>{var e;const n=t(this),o=y.findIndex((e=>e===this));o>-1&&y.splice(o,1),(null==(e=null==n?void 0:n.C)?void 0:e.v)instanceof Node&&!n.C.v.isConnected&&delete n.C.v}))}componentOnReady(){return t(this).U}};s.N=e[0],d.includes(r)||h.get(r)||(f.push(r),h.define(r,oe(u,s,1)))}))})),f.length>0&&(g&&(v.textContent+=s),v.textContent+=f.sort()+"{visibility:hidden}.hydrated{visibility:inherit}",v.innerHTML.length)){v.setAttribute("data-styles","");const e=null!=(u=c.k)?u:$(r.document);null!=e&&v.setAttribute("nonce",e),p.insertBefore(v,m?m.nextSibling:p.firstChild)}b=!1,y.length?y.map((e=>e.connectedCallback())):c.jmp((()=>w=setTimeout(Z,30)))},re=e=>c.k=e;export{se as b,C as h,u as p,n as r,re as s}
1
+ var e=Object.defineProperty,t=e=>{if(e.__stencil__getHostRef)return e.__stencil__getHostRef()},n=(e,t)=>{e.__stencil__getHostRef=()=>t,t.t=e},o=(e,t)=>(0,console.error)(e,t),l=new Map,i=new Map,s="slot-fb{display:contents}slot-fb[hidden]{display:none}",r="undefined"!=typeof window?window:{},c={o:0,l:"",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)},u=e=>Promise.resolve(e),a=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1})(),f=!1,d=[],h=[],p=(e,t)=>n=>{e.push(n),f||(f=!0,t&&4&c.o?y(v):c.raf(v))},m=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){o(e)}e.length=0},v=()=>{m(d),m(h),(f=d.length>0)&&c.raf(v)},y=e=>u().then(e),w=p(h,!0),b=e=>"object"==(e=typeof e)||"function"===e;function $(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:()=>S,map:()=>j,ok:()=>g,unwrap:()=>k,unwrapErr:()=>E});var g=e=>({isOk:!0,isErr:!1,value:e}),S=e=>({isOk:!1,isErr:!0,value:e});function j(e,t){if(e.isOk){const n=t(e.value);return n instanceof Promise?n.then((e=>g(e))):g(n)}if(e.isErr)return S(e.value);throw"should never get here"}var O,k=e=>{if(e.isOk)return e.value;throw e.value},E=e=>{if(e.isErr)return e.value;throw e.value},C=(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&&!b(o))&&(o+=""),i&&s?r[r.length-1].i+=o:r.push(i?M(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(" "))}}const u=M(e,null);return u.u=t,r.length>0&&(u.h=r),u.p=l,u},M=(e,t)=>({o:0,m:e,i:t,v:null,h:null,u:null,p:null}),P={},x=(e,t)=>null==e||b(e)?e:2&t?parseFloat(e):e,D=new WeakMap,U=e=>"sc-"+e.$,W=(e,t,n,o,l,i)=>{if(n===o)return;let s=((e,t)=>t in e)(e,t);if(t.toLowerCase(),"class"===t){const t=e.classList,l=N(n);let i=N(o);t.remove(...l.filter((e=>e&&!i.includes(e)))),t.add(...i.filter((e=>e&&!l.includes(e))))}else if("key"===t);else{const r=b(o);if((s||r&&null!==o)&&!l)try{if(e.tagName.includes("-"))e[t]!==o&&(e[t]=o);else{const l=null==o?"":o;"list"===t?s=!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):(!s||4&i||l)&&!r&&1===e.nodeType&&e.setAttribute(t,o=!0===o?"":o)}},A=/\s/,N=e=>("object"==typeof e&&e&&"baseVal"in e&&(e=e.baseVal),e&&"string"==typeof e?e.split(A):[]),R=(e,t,n)=>{const o=11===t.v.nodeType&&t.v.host?t.v.host:t.v,l=e&&e.u||{},i=t.u||{};for(const e of L(Object.keys(l)))e in i||W(o,e,l[e],void 0,n,t.o);for(const e of L(Object.keys(i)))W(o,e,l[e],i[e],n,t.o)};function L(e){return e.includes("ref")?[...e.filter((e=>"ref"!==e)),"ref"]:e}var T=!1,F=(e,t,n)=>{const o=t.h[n];let l,i,s=0;if(T||(T="svg"===o.m),!r.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.v=r.document.createElementNS(T?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",o.m),T&&"foreignObject"===o.m&&(T=!1),R(null,o,T),o.h)for(s=0;s<o.h.length;++s)i=F(e,o,s),i&&l.appendChild(i);return"svg"===o.m?T=!1:"foreignObject"===l.tagName&&(T=!0),l["s-hn"]=O,l},H=(e,t,n,o,l,i)=>{let s,r=e;for(r.shadowRoot&&r.tagName===O&&(r=r.shadowRoot);l<=i;++l)o[l]&&(s=F(null,n,l),s&&(o[l].v=s,G(r,s,t)))},z=(e,t,n)=>{for(let o=t;o<=n;++o){const t=e[o];if(t){const e=t.v;e&&e.remove()}}},V=(e,t,n=!1)=>e.m===t.m&&(n?(n&&!e.p&&t.p&&(e.p=t.p),!0):e.p===t.p),q=(e,t,n=!1)=>{const o=t.v=e.v,l=e.h,i=t.h,s=t.m;R(e,t,T="svg"===s||"foreignObject"!==s&&T),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(V(d,m,l))q(d,m,l),d=t[++r],m=o[++c];else if(V(h,v,l))q(h,v,l),h=t[--f],v=o[--p];else if(V(d,v,l))q(d,v,l),G(e,d.v,h.v.nextSibling),d=t[++r],v=o[--p];else if(V(h,m,l))q(h,m,l),G(e,h.v,d.v),h=t[--f],m=o[++c];else{for(u=-1,a=r;a<=f;++a)if(t[a]&&null!==t[a].p&&t[a].p===m.p){u=a;break}u>=0?(s=t[u],s.m!==m.m?i=F(t&&t[c],n,u):(q(s,m,l),t[u]=void 0,i=s.v),m=o[++c]):(i=F(t&&t[c],n,c),m=o[++c]),i&&G(d.v.parentNode,i,d.v)}r>f?H(e,null==o[p+1]?null:o[p+1].v,n,o,c,p):c>p&&z(t,r,f)})(o,l,t,i,n):null!==i?H(o,null,t,i,0,i.length-1):!n&&null!==l&&z(l,0,l.length-1),T&&"svg"===s&&(T=!1)},G=(e,t,n)=>null==e?void 0:e.insertBefore(t,n),I=(e,t)=>{if(t&&!e.S&&t["s-p"]){const n=t["s-p"].push(new Promise((o=>e.S=()=>{t["s-p"].splice(n-1,1),o()})))}},Y=(e,t)=>{if(e.o|=16,!(4&e.o))return I(e,e.j),w((()=>_(e,t)));e.o|=512},_=(e,t)=>{const n=e.$hostElement$,o=e.t;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 l=ee(o,t?"componentWillLoad":"componentWillUpdate",void 0,n),l=B(l,(()=>ee(o,"componentWillRender",void 0,n))),B(l,(()=>K(e,o,t)))},B=(e,t)=>J(e)?e.then(t).catch((e=>{console.error(e),t()})):t(),J=e=>e instanceof Promise||e&&e.then&&"function"==typeof e.then,K=async(e,t,n)=>{var o;const l=e.$hostElement$,u=l["s-rc"];n&&(e=>{const t=e.O,n=e.$hostElement$,o=t.o,l=((e,t)=>{var n;const o=U(t),l=i.get(o);if(!r.document)return o;if(e=11===e.nodeType?e:r.document,l)if("string"==typeof l){let i,u=D.get(e=e.head||e);if(u||D.set(e,u=new Set),!u.has(o)){{i=document.querySelector(`[sty-id="${o}"]`)||r.document.createElement("style"),i.innerHTML=l;const s=null!=(n=c.k)?n:$(r.document);if(null!=s&&i.setAttribute("nonce",s),!(1&t.o))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(a){const t=new CSSStyleSheet;t.replaceSync(l),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.o&&e.insertBefore(i,null)}4&t.o&&(i.innerHTML+=s),u&&u.add(o)}}else e.adoptedStyleSheets.includes(l)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,l]);return o})(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);(10&o&&2&o||128&o)&&(n["s-sc"]=l,n.classList.add(l+"-h"))})(e);Q(e,t,l,n),u&&(u.map((e=>e())),l["s-rc"]=void 0);{const t=null!=(o=l["s-p"])?o:[],n=()=>X(e);0===t.length?n():(Promise.all(t).then(n),e.o|=4,t.length=0)}},Q=(e,t,n,l)=>{try{t=t.render(),e.o&=-17,e.o|=2,((e,t,n=!1)=>{const o=e.$hostElement$,l=e.C||M(null,null),i=(e=>e&&e.m===P)(t)?t:C(null,null,t);if(O=o.tagName,n&&i.u)for(const e of Object.keys(i.u))o.hasAttribute(e)&&!["key","ref","style","class"].includes(e)&&(i.u[e]=o[e]);i.m=null,i.o|=4,e.C=i,i.v=l.v=o.shadowRoot||o,q(l,i,n)})(e,t,l)}catch(t){o(t,e.$hostElement$)}return null},X=e=>{const t=e.$hostElement$,n=e.t,o=e.j;ee(n,"componentDidRender",void 0,t),64&e.o?ee(n,"componentDidUpdate",void 0,t):(e.o|=64,te(t),ee(n,"componentDidLoad",void 0,t),e.M(t),o||Z()),e.S&&(e.S(),e.S=void 0),512&e.o&&y((()=>Y(e,!1))),e.o&=-517},Z=()=>{y((()=>(e=>{const t=c.ce("appload",{detail:{namespace:"analog-clock"}});return e.dispatchEvent(t),t})(r)))},ee=(e,t,n,l)=>{if(e&&e[t])try{return e[t](n)}catch(e){o(e,l)}},te=e=>e.classList.add("hydrated"),ne=(e,n,o,l)=>{const i=t(e);if(!i)throw Error(`Couldn't find host element for "${l.$}" 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 s=i.P.get(n),r=i.o,c=i.t;if(o=x(o,l.D[n][0]),(!(8&r)||void 0===s)&&o!==s&&(!Number.isNaN(s)||!Number.isNaN(o))&&(i.P.set(n,o),c&&2==(18&r))){if(c.componentShouldUpdate&&!1===c.componentShouldUpdate(o,s,n))return;Y(i,!1)}},oe=(e,n,o)=>{var l,i;const s=e.prototype;if(n.D){const r=Object.entries(null!=(l=n.D)?l:{});if(r.map((([e,[l]])=>{if(31&l||2&o&&32&l){const{get:i,set:r}=Object.getOwnPropertyDescriptor(s,e)||{};i&&(n.D[e][0]|=2048),r&&(n.D[e][0]|=4096),(1&o||!i)&&Object.defineProperty(s,e,{get(){{if(!(2048&n.D[e][0]))return((e,n)=>t(this).P.get(n))(0,e);const o=t(this),l=o?o.t:s;if(!l)return;return l[e]}},configurable:!0,enumerable:!0}),Object.defineProperty(s,e,{set(i){const s=t(this);if(r){const t=32&l?this[e]:s.$hostElement$[e];return void 0===t&&s.P.get(e)?i=s.P.get(e):!s.P.get(e)&&t&&s.P.set(e,t),r.call(this,x(i,l)),void ne(this,e,i=32&l?this[e]:s.$hostElement$[e],n)}{if(!(1&o&&4096&n.D[e][0]))return ne(this,e,i,n),void(1&o&&!s.t&&s.U.then((()=>{4096&n.D[e][0]&&s.t[e]!==s.P.get(e)&&(s.t[e]=i)})));const t=()=>{const t=s.t[e];!s.P.get(e)&&t&&s.P.set(e,t),s.t[e]=x(i,l),ne(this,e,s.t[e],n)};s.t?t():s.U.then((()=>t()))}}})}})),1&o){const o=new Map;s.attributeChangedCallback=function(e,l,i){c.jmp((()=>{var r;const c=o.get(e);if(this.hasOwnProperty(c))i=this[c],delete this[c];else{if(s.hasOwnProperty(c)&&"number"==typeof this[c]&&this[c]==i)return;if(null==c){const o=t(this),s=null==o?void 0:o.o;if(s&&!(8&s)&&128&s&&i!==l){const t=o.t,s=null==(r=n.W)?void 0:r[e];null==s||s.forEach((n=>{null!=t[n]&&t[n].call(t,i,l,e)}))}return}}const u=Object.getOwnPropertyDescriptor(s,c);(i=(null!==i||"boolean"!=typeof this[c])&&i)===this[c]||u.get&&!u.set||(this[c]=i)}))},e.observedAttributes=Array.from(new Set([...Object.keys(null!=(i=n.W)?i:{}),...r.filter((([e,t])=>15&t[0])).map((([e,t])=>{const n=t[1]||e;return o.set(n,e),n}))]))}}return e},le=(e,t)=>{ee(e,"connectedCallback",void 0,t)},ie=(e,t)=>{ee(e,"disconnectedCallback",void 0,t||e)},se=(e,n={})=>{var u;if(!r.document)return void console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");const f=[],d=n.exclude||[],h=r.customElements,p=r.document.head,m=p.querySelector("meta[charset]"),v=r.document.createElement("style"),y=[];let w,b=!0;Object.assign(c,n),c.l=new URL(n.resourcesUrl||"./",r.document.baseURI).href;let g=!1;if(e.map((e=>{e[1].map((n=>{const s={o:n[0],$:n[1],D:n[2],A:n[3]};4&s.o&&(g=!0),s.D=n[2];const r=s.$,u=class extends HTMLElement{constructor(e){if(super(e),this.hasRegisteredEventListeners=!1,((e,t)=>{const n={o:0,$hostElement$:e,O:t,P:new Map};n.U=new Promise((e=>n.M=e)),e["s-p"]=[],e["s-rc"]=[];const o=n;e.__stencil__getHostRef=()=>o})(e=this,s),1&s.o)if(e.shadowRoot){if("open"!==e.shadowRoot.mode)throw Error(`Unable to re-use existing shadow root for ${s.$}! Mode is set to ${e.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else e.attachShadow({mode:"open"})}connectedCallback(){this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0),w&&(clearTimeout(w),w=null),b?y.push(this):c.jmp((()=>(e=>{if(!(1&c.o)){const n=t(e),s=n.O,r=()=>{};if(1&n.o)(null==n?void 0:n.t)?le(n.t,e):(null==n?void 0:n.U)&&n.U.then((()=>le(n.t,e)));else{n.o|=1;{let t=e;for(;t=t.parentNode||t.host;)if(t["s-p"]){I(n,n.j=t);break}}s.D&&Object.entries(s.D).map((([t,[n]])=>{if(31&n&&e.hasOwnProperty(t)){const n=e[t];delete e[t],e[t]=n}})),(async(e,t,n)=>{let s;if(!(32&t.o)){if(t.o|=32,n.N){const i=((e,t)=>{const n=e.$.replace(/-/g,"_"),i=e.N;if(!i)return;const s=l.get(i);return s?s[n]:import(`./${i}.entry.js`).then((e=>(l.set(i,e),e[n])),(e=>{o(e,t.$hostElement$)}))
2
+ /*!__STENCIL_STATIC_IMPORT_SWITCH__*/})(n,t);if(i&&"then"in i){const e=()=>{};s=await i,e()}else s=i;if(!s)throw Error(`Constructor for "${n.$}#${t.R}" was not found`);s.isProxied||(oe(s,n,2),s.isProxied=!0);const r=()=>{};t.o|=8;try{new s(t)}catch(t){o(t,e)}t.o&=-9,r(),le(t.t,e)}else s=e.constructor,customElements.whenDefined(e.localName).then((()=>t.o|=128));if(s&&s.style){let e;"string"==typeof s.style&&(e=s.style);const t=U(n);if(!i.has(t)){const o=()=>{};((e,t,n)=>{let o=i.get(e);a&&n?(o=o||new CSSStyleSheet,"string"==typeof o?o=t:o.replaceSync(t)):o=t,i.set(e,o)})(t,e,!!(1&n.o)),o()}}}const r=t.j,c=()=>Y(t,!0);r&&r["s-rc"]?r["s-rc"].push(c):c()})(e,n,s)}r()}})(this)))}disconnectedCallback(){c.jmp((()=>(async e=>{if(!(1&c.o)){const n=t(e);(null==n?void 0:n.t)?ie(n.t,e):(null==n?void 0:n.U)&&n.U.then((()=>ie(n.t,e)))}D.has(e)&&D.delete(e),e.shadowRoot&&D.has(e.shadowRoot)&&D.delete(e.shadowRoot)})(this))),c.raf((()=>{var e;const n=t(this),o=y.findIndex((e=>e===this));o>-1&&y.splice(o,1),(null==(e=null==n?void 0:n.C)?void 0:e.v)instanceof Node&&!n.C.v.isConnected&&delete n.C.v}))}componentOnReady(){return t(this).U}};s.N=e[0],d.includes(r)||h.get(r)||(f.push(r),h.define(r,oe(u,s,1)))}))})),f.length>0&&(g&&(v.textContent+=s),v.textContent+=f.sort()+"{visibility:hidden}.hydrated{visibility:inherit}",v.innerHTML.length)){v.setAttribute("data-styles","");const e=null!=(u=c.k)?u:$(r.document);null!=e&&v.setAttribute("nonce",e),p.insertBefore(v,m?m.nextSibling:p.firstChild)}b=!1,y.length?y.map((e=>e.connectedCallback())):c.jmp((()=>w=setTimeout(Z,30)))},re=e=>c.k=e;export{se as b,C as h,u as p,n as r,re as s}
3
+ //# sourceMappingURL=p-Cv-RwySr.js.map
@@ -0,0 +1 @@
1
+ {"sourcesContent":[]}
@@ -0,0 +1,2 @@
1
+ const o=()=>{};export{o as g}
2
+ //# sourceMappingURL=p-DQuL1Twl.js.map
@@ -0,0 +1 @@
1
+ {"sourcesContent":[]}
@@ -1,11 +1,8 @@
1
1
  'use strict';
2
2
 
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- const index = require('./index-9b85945d.js');
3
+ var index = require('./index-BeG1xbzT.js');
6
4
 
7
5
  const analogClockCss = ".clock #circle{stroke:var(--clock-circle-color, black)}.clock #hour{stroke:var(--clock-hour-color, black)}.clock #minute{stroke:var(--clock-minute-color, black)}.clock #second{stroke:var(--clock-second-color, black)}";
8
- const AnalogClockStyle0 = analogClockCss;
9
6
 
10
7
  const AnalogClock = class {
11
8
  constructor(hostRef) {
@@ -45,6 +42,8 @@ const AnalogClock = class {
45
42
  return (index.h("svg", { key: '39e3465d3bf04035966b00bb15186d1f712163cd', class: "clock", viewBox: "0 0 200 200", width: this.size, height: this.size }, index.h("circle", { key: 'e4c4288aa0efc9cf98027eef1f5bd7c550c23a18', id: "circle", cx: "100", cy: "100", r: "95", "stroke-width": "10", fill: "transparent" }), index.h("line", { key: '296fb8ac19749103439f2ce1878db5ccfb214c20', id: "hour", transform: `rotate(${this.hourToDegrees()}, 100, 100)`, x1: "100", y1: "100", x2: "100", y2: "60", "stroke-width": "10", "stroke-linecap": "round" }), index.h("line", { key: 'acbe2c6ebdf05ff46e06144839dec43c45e8b40d', id: "minute", transform: `rotate(${this.minuteToDegrees()}, 100, 100)`, x1: "100", y1: "100", x2: "100", y2: "30", "stroke-width": "8", "stroke-linecap": "round" }), index.h("line", { key: 'f275abf7169379b2f61c9cdd185068f5e2373d4a', id: "second", transform: `rotate(${this.secondToDegrees()}, 100, 100)`, x1: "100", y1: "100", x2: "100", y2: "20", "stroke-width": "2", "stroke-linecap": "round" })));
46
43
  }
47
44
  };
48
- AnalogClock.style = AnalogClockStyle0;
45
+ AnalogClock.style = analogClockCss;
49
46
 
50
47
  exports.analog_clock = AnalogClock;
48
+
49
+ //# sourceMappingURL=analog-clock.cjs.entry.js.map
@@ -0,0 +1 @@
1
+ {"sourcesContent":[]}
@@ -1,15 +1,15 @@
1
1
  'use strict';
2
2
 
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- const index = require('./index-9b85945d.js');
6
- const appGlobals = require('./app-globals-3a1e7e63.js');
3
+ var index = require('./index-BeG1xbzT.js');
4
+ var appGlobals = require('./app-globals-V2Kpy_OQ.js');
7
5
 
6
+ var _documentCurrentScript = typeof document !== 'undefined' ? document.currentScript : null;
8
7
  /*
9
- Stencil Client Patch Browser v4.27.1 | MIT Licensed | https://stenciljs.com
8
+ Stencil Client Patch Browser v4.28.2 | MIT Licensed | https://stenciljs.com
10
9
  */
10
+
11
11
  var patchBrowser = () => {
12
- const importMeta = (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('analog-clock.cjs.js', document.baseURI).href));
12
+ const importMeta = (typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('analog-clock.cjs.js', document.baseURI).href));
13
13
  const opts = {};
14
14
  if (importMeta !== "") {
15
15
  opts.resourcesUrl = new URL(".", importMeta).href;
@@ -23,3 +23,5 @@ patchBrowser().then(async (options) => {
23
23
  });
24
24
 
25
25
  exports.setNonce = index.setNonce;
26
+
27
+ //# sourceMappingURL=analog-clock.cjs.js.map
@@ -0,0 +1 @@
1
+ {"sourcesContent":[]}
@@ -3,3 +3,5 @@
3
3
  const globalScripts = () => {};
4
4
 
5
5
  exports.globalScripts = globalScripts;
6
+
7
+ //# sourceMappingURL=app-globals-V2Kpy_OQ.js.map
@@ -0,0 +1 @@
1
+ {"sourcesContent":[]}
@@ -1,30 +1,10 @@
1
1
  'use strict';
2
2
 
3
- function _interopNamespace(e) {
4
- if (e && e.__esModule) return e;
5
- var n = Object.create(null);
6
- if (e) {
7
- Object.keys(e).forEach(function (k) {
8
- if (k !== 'default') {
9
- var d = Object.getOwnPropertyDescriptor(e, k);
10
- Object.defineProperty(n, k, d.get ? d : {
11
- enumerable: true,
12
- get: function () {
13
- return e[k];
14
- }
15
- });
16
- }
17
- });
18
- }
19
- n['default'] = e;
20
- return Object.freeze(n);
21
- }
22
-
23
3
  const NAMESPACE = 'analog-clock';
24
- const BUILD = /* analog-clock */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, constructableCSS: true, cssAnnotations: true, devTools: false, element: false, event: false, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: false, hostListenerTarget: false, hostListenerTargetBody: false, hostListenerTargetDocument: false, hostListenerTargetParent: false, hostListenerTargetWindow: false, hotModuleReplacement: false, hydrateClientSide: false, hydrateServerSide: false, hydratedAttribute: false, hydratedClass: true, hydratedSelectorName: "hydrated", initializeNextTick: false, invisiblePrehydration: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: true, lifecycleDOMEvents: false, member: true, method: false, mode: false, modernPropertyDecls: false, observeAttribute: true, profile: false, prop: true, propBoolean: false, propMutable: false, propNumber: true, propString: false, reflect: false, scoped: false, scopedSlotTextContentFix: false, scriptDataOpts: false, shadowDelegatesFocus: false, shadowDom: true, slot: false, slotChildNodesFix: false, slotRelocation: false, state: true, style: true, svg: true, taskQueue: true, transformTagName: false, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: false, vdomKey: true, vdomListener: false, vdomPropOrAttr: true, vdomRef: false, vdomRender: true, vdomStyle: false, vdomText: false, vdomXlink: false, watchCallback: false };
4
+ const BUILD = /* analog-clock */ { hydratedSelectorName: "hydrated", lazyLoad: true, updatable: true, watchCallback: false };
25
5
 
26
6
  /*
27
- Stencil Client Platform v4.27.1 | MIT Licensed | https://stenciljs.com
7
+ Stencil Client Platform v4.28.2 | MIT Licensed | https://stenciljs.com
28
8
  */
29
9
  var __defProp = Object.defineProperty;
30
10
  var __export = (target, all) => {
@@ -79,13 +59,13 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
79
59
  return module[exportName];
80
60
  }
81
61
  /*!__STENCIL_STATIC_IMPORT_SWITCH__*/
82
- return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
62
+ return import(
83
63
  /* @vite-ignore */
84
64
  /* webpackInclude: /\.entry\.js$/ */
85
65
  /* webpackExclude: /\.system\.entry\.js$/ */
86
66
  /* webpackMode: "lazy" */
87
67
  `./${bundleId}.entry.js${""}`
88
- )); }).then(
68
+ ).then(
89
69
  (importedModule) => {
90
70
  {
91
71
  cmpModules.set(bundleId, importedModule);
@@ -502,7 +482,6 @@ function sortedAttrNames(attrNames) {
502
482
  );
503
483
  }
504
484
  var hostTagName;
505
- var useNativeShadowDom = false;
506
485
  var isSvgMode = false;
507
486
  var createElm = (oldParentVNode, newParentVNode, childIndex) => {
508
487
  const newVNode2 = newParentVNode.$children$[childIndex];
@@ -520,7 +499,7 @@ var createElm = (oldParentVNode, newParentVNode, childIndex) => {
520
499
  }
521
500
  elm = newVNode2.$elm$ = win.document.createElementNS(
522
501
  isSvgMode ? SVG_NS : HTML_NS,
523
- !useNativeShadowDom && BUILD.slotRelocation && newVNode2.$flags$ & 2 /* isSlotFallback */ ? "slot-fb" : newVNode2.$tag$
502
+ newVNode2.$tag$
524
503
  ) ;
525
504
  if (isSvgMode && newVNode2.$tag$ === "foreignObject") {
526
505
  isSvgMode = false;
@@ -704,7 +683,6 @@ var insertBefore = (parent, newNode, reference) => {
704
683
  };
705
684
  var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
706
685
  const hostElm = hostRef.$hostElement$;
707
- const cmpMeta = hostRef.$cmpMeta$;
708
686
  const oldVNode = hostRef.$vnode$ || newVNode(null, null);
709
687
  const rootVnode = isHost(renderFnResults) ? renderFnResults : h(null, null, renderFnResults);
710
688
  hostTagName = hostElm.tagName;
@@ -719,7 +697,6 @@ var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
719
697
  rootVnode.$flags$ |= 4 /* isHost */;
720
698
  hostRef.$vnode$ = rootVnode;
721
699
  rootVnode.$elm$ = oldVNode.$elm$ = hostElm.shadowRoot || hostElm ;
722
- useNativeShadowDom = !!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) && !(cmpMeta.$flags$ & 128 /* shadowNeedsScopedCss */);
723
700
  patch(oldVNode, rootVnode, isInitialLoad);
724
701
  };
725
702
 
@@ -806,7 +783,7 @@ var callRender = (hostRef, instance, elm, isInitialLoad) => {
806
783
  try {
807
784
  instance = instance.render() ;
808
785
  {
809
- hostRef.$flags$ &= ~16 /* isQueuedForUpdate */;
786
+ hostRef.$flags$ &= -17 /* isQueuedForUpdate */;
810
787
  }
811
788
  {
812
789
  hostRef.$flags$ |= 2 /* hasRendered */;
@@ -855,7 +832,7 @@ var postUpdateComponent = (hostRef) => {
855
832
  if (hostRef.$flags$ & 512 /* needsRerender */) {
856
833
  nextTick(() => scheduleUpdate(hostRef, false));
857
834
  }
858
- hostRef.$flags$ &= ~(4 /* isWaitingForChildren */ | 512 /* needsRerender */);
835
+ hostRef.$flags$ &= -517;
859
836
  }
860
837
  };
861
838
  var appDidLoad = (who) => {
@@ -882,7 +859,7 @@ var setValue = (ref, propName, newVal, cmpMeta) => {
882
859
  const hostRef = getHostRef(ref);
883
860
  if (!hostRef) {
884
861
  throw new Error(
885
- `Couldn't find host element for "${cmpMeta.$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).`
862
+ `Couldn't find host element for "${cmpMeta.$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/stenciljs/core/issues/5457).`
886
863
  );
887
864
  }
888
865
  const oldVal = hostRef.$instanceValues$.get(propName);
@@ -910,7 +887,7 @@ var setValue = (ref, propName, newVal, cmpMeta) => {
910
887
  var proxyComponent = (Cstr, cmpMeta, flags) => {
911
888
  var _a, _b;
912
889
  const prototype = Cstr.prototype;
913
- if (cmpMeta.$members$ || BUILD.watchCallback ) {
890
+ if (cmpMeta.$members$ || BUILD.watchCallback) {
914
891
  const members = Object.entries((_a = cmpMeta.$members$) != null ? _a : {});
915
892
  members.map(([memberName, [memberFlags]]) => {
916
893
  if ((memberFlags & 31 /* Prop */ || (flags & 2 /* proxyState */) && memberFlags & 32 /* State */)) {
@@ -1059,7 +1036,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
1059
1036
  consoleError(e, elm);
1060
1037
  }
1061
1038
  {
1062
- hostRef.$flags$ &= ~8 /* isConstructingInstance */;
1039
+ hostRef.$flags$ &= -9 /* isConstructingInstance */;
1063
1040
  }
1064
1041
  endNewInstance();
1065
1042
  fireConnectedCallback(hostRef.$lazyInstance$, elm);
@@ -1292,3 +1269,5 @@ exports.h = h;
1292
1269
  exports.promiseResolve = promiseResolve;
1293
1270
  exports.registerInstance = registerInstance;
1294
1271
  exports.setNonce = setNonce;
1272
+
1273
+ //# sourceMappingURL=index-BeG1xbzT.js.map
@@ -0,0 +1 @@
1
+ {"sourcesContent":[]}
@@ -1,2 +1,4 @@
1
1
  'use strict';
2
2
 
3
+
4
+ //# sourceMappingURL=index.cjs.js.map
@@ -0,0 +1 @@
1
+ {"sourcesContent":[]}
@@ -1,9 +1,7 @@
1
1
  'use strict';
2
2
 
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- const index = require('./index-9b85945d.js');
6
- const appGlobals = require('./app-globals-3a1e7e63.js');
3
+ var index = require('./index-BeG1xbzT.js');
4
+ var appGlobals = require('./app-globals-V2Kpy_OQ.js');
7
5
 
8
6
  const defineCustomElements = async (win, options) => {
9
7
  if (typeof window === 'undefined') return undefined;
@@ -13,3 +11,5 @@ const defineCustomElements = async (win, options) => {
13
11
 
14
12
  exports.setNonce = index.setNonce;
15
13
  exports.defineCustomElements = defineCustomElements;
14
+
15
+ //# sourceMappingURL=loader.cjs.js.map
@@ -0,0 +1 @@
1
+ {"sourcesContent":[]}
@@ -4,7 +4,7 @@
4
4
  ],
5
5
  "compiler": {
6
6
  "name": "@stencil/core",
7
- "version": "4.27.1",
7
+ "version": "4.28.2",
8
8
  "typescriptVersion": "5.5.4"
9
9
  },
10
10
  "collections": [],
@@ -1,7 +1,6 @@
1
1
  import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
2
2
 
3
3
  const analogClockCss = ".clock #circle{stroke:var(--clock-circle-color, black)}.clock #hour{stroke:var(--clock-hour-color, black)}.clock #minute{stroke:var(--clock-minute-color, black)}.clock #second{stroke:var(--clock-second-color, black)}";
4
- const AnalogClockStyle0 = analogClockCss;
5
4
 
6
5
  const AnalogClock$1 = /*@__PURE__*/ proxyCustomElement(class AnalogClock extends HTMLElement {
7
6
  constructor() {
@@ -42,7 +41,7 @@ const AnalogClock$1 = /*@__PURE__*/ proxyCustomElement(class AnalogClock extends
42
41
  render() {
43
42
  return (h("svg", { key: '39e3465d3bf04035966b00bb15186d1f712163cd', class: "clock", viewBox: "0 0 200 200", width: this.size, height: this.size }, h("circle", { key: 'e4c4288aa0efc9cf98027eef1f5bd7c550c23a18', id: "circle", cx: "100", cy: "100", r: "95", "stroke-width": "10", fill: "transparent" }), h("line", { key: '296fb8ac19749103439f2ce1878db5ccfb214c20', id: "hour", transform: `rotate(${this.hourToDegrees()}, 100, 100)`, x1: "100", y1: "100", x2: "100", y2: "60", "stroke-width": "10", "stroke-linecap": "round" }), h("line", { key: 'acbe2c6ebdf05ff46e06144839dec43c45e8b40d', id: "minute", transform: `rotate(${this.minuteToDegrees()}, 100, 100)`, x1: "100", y1: "100", x2: "100", y2: "30", "stroke-width": "8", "stroke-linecap": "round" }), h("line", { key: 'f275abf7169379b2f61c9cdd185068f5e2373d4a', id: "second", transform: `rotate(${this.secondToDegrees()}, 100, 100)`, x1: "100", y1: "100", x2: "100", y2: "20", "stroke-width": "2", "stroke-linecap": "round" })));
44
43
  }
45
- static get style() { return AnalogClockStyle0; }
44
+ static get style() { return analogClockCss; }
46
45
  }, [1, "analog-clock", {
47
46
  "size": [2],
48
47
  "timeZone": [2, "time-zone"],
@@ -1,7 +1,6 @@
1
- import { r as registerInstance, h } from './index-a57e6c9c.js';
1
+ import { r as registerInstance, h } from './index-Cv-RwySr.js';
2
2
 
3
3
  const analogClockCss = ".clock #circle{stroke:var(--clock-circle-color, black)}.clock #hour{stroke:var(--clock-hour-color, black)}.clock #minute{stroke:var(--clock-minute-color, black)}.clock #second{stroke:var(--clock-second-color, black)}";
4
- const AnalogClockStyle0 = analogClockCss;
5
4
 
6
5
  const AnalogClock = class {
7
6
  constructor(hostRef) {
@@ -41,6 +40,8 @@ const AnalogClock = class {
41
40
  return (h("svg", { key: '39e3465d3bf04035966b00bb15186d1f712163cd', class: "clock", viewBox: "0 0 200 200", width: this.size, height: this.size }, h("circle", { key: 'e4c4288aa0efc9cf98027eef1f5bd7c550c23a18', id: "circle", cx: "100", cy: "100", r: "95", "stroke-width": "10", fill: "transparent" }), h("line", { key: '296fb8ac19749103439f2ce1878db5ccfb214c20', id: "hour", transform: `rotate(${this.hourToDegrees()}, 100, 100)`, x1: "100", y1: "100", x2: "100", y2: "60", "stroke-width": "10", "stroke-linecap": "round" }), h("line", { key: 'acbe2c6ebdf05ff46e06144839dec43c45e8b40d', id: "minute", transform: `rotate(${this.minuteToDegrees()}, 100, 100)`, x1: "100", y1: "100", x2: "100", y2: "30", "stroke-width": "8", "stroke-linecap": "round" }), h("line", { key: 'f275abf7169379b2f61c9cdd185068f5e2373d4a', id: "second", transform: `rotate(${this.secondToDegrees()}, 100, 100)`, x1: "100", y1: "100", x2: "100", y2: "20", "stroke-width": "2", "stroke-linecap": "round" })));
42
41
  }
43
42
  };
44
- AnalogClock.style = AnalogClockStyle0;
43
+ AnalogClock.style = analogClockCss;
45
44
 
46
45
  export { AnalogClock as analog_clock };
46
+
47
+ //# sourceMappingURL=analog-clock.entry.js.map
@@ -0,0 +1 @@
1
+ {"sourcesContent":[]}
@@ -1,10 +1,11 @@
1
- import { p as promiseResolve, b as bootstrapLazy } from './index-a57e6c9c.js';
2
- export { s as setNonce } from './index-a57e6c9c.js';
3
- import { g as globalScripts } from './app-globals-0f993ce5.js';
1
+ import { p as promiseResolve, b as bootstrapLazy } from './index-Cv-RwySr.js';
2
+ export { s as setNonce } from './index-Cv-RwySr.js';
3
+ import { g as globalScripts } from './app-globals-DQuL1Twl.js';
4
4
 
5
5
  /*
6
- Stencil Client Patch Browser v4.27.1 | MIT Licensed | https://stenciljs.com
6
+ Stencil Client Patch Browser v4.28.2 | MIT Licensed | https://stenciljs.com
7
7
  */
8
+
8
9
  var patchBrowser = () => {
9
10
  const importMeta = import.meta.url;
10
11
  const opts = {};
@@ -18,3 +19,5 @@ patchBrowser().then(async (options) => {
18
19
  await globalScripts();
19
20
  return bootstrapLazy([["analog-clock",[[1,"analog-clock",{"size":[2],"timeZone":[2,"time-zone"],"time":[32]}]]]], options);
20
21
  });
22
+
23
+ //# sourceMappingURL=analog-clock.js.map
@@ -0,0 +1 @@
1
+ {"sourcesContent":[]}
@@ -1,3 +1,5 @@
1
1
  const globalScripts = () => {};
2
2
 
3
3
  export { globalScripts as g };
4
+
5
+ //# sourceMappingURL=app-globals-DQuL1Twl.js.map
@@ -0,0 +1 @@
1
+ {"sourcesContent":[]}
@@ -1,8 +1,8 @@
1
1
  const NAMESPACE = 'analog-clock';
2
- const BUILD = /* analog-clock */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, constructableCSS: true, cssAnnotations: true, devTools: false, element: false, event: false, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: false, hostListenerTarget: false, hostListenerTargetBody: false, hostListenerTargetDocument: false, hostListenerTargetParent: false, hostListenerTargetWindow: false, hotModuleReplacement: false, hydrateClientSide: false, hydrateServerSide: false, hydratedAttribute: false, hydratedClass: true, hydratedSelectorName: "hydrated", initializeNextTick: false, invisiblePrehydration: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: true, lifecycleDOMEvents: false, member: true, method: false, mode: false, modernPropertyDecls: false, observeAttribute: true, profile: false, prop: true, propBoolean: false, propMutable: false, propNumber: true, propString: false, reflect: false, scoped: false, scopedSlotTextContentFix: false, scriptDataOpts: false, shadowDelegatesFocus: false, shadowDom: true, slot: false, slotChildNodesFix: false, slotRelocation: false, state: true, style: true, svg: true, taskQueue: true, transformTagName: false, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: false, vdomKey: true, vdomListener: false, vdomPropOrAttr: true, vdomRef: false, vdomRender: true, vdomStyle: false, vdomText: false, vdomXlink: false, watchCallback: false };
2
+ const BUILD = /* analog-clock */ { hydratedSelectorName: "hydrated", lazyLoad: true, updatable: true, watchCallback: false };
3
3
 
4
4
  /*
5
- Stencil Client Platform v4.27.1 | MIT Licensed | https://stenciljs.com
5
+ Stencil Client Platform v4.28.2 | MIT Licensed | https://stenciljs.com
6
6
  */
7
7
  var __defProp = Object.defineProperty;
8
8
  var __export = (target, all) => {
@@ -480,7 +480,6 @@ function sortedAttrNames(attrNames) {
480
480
  );
481
481
  }
482
482
  var hostTagName;
483
- var useNativeShadowDom = false;
484
483
  var isSvgMode = false;
485
484
  var createElm = (oldParentVNode, newParentVNode, childIndex) => {
486
485
  const newVNode2 = newParentVNode.$children$[childIndex];
@@ -498,7 +497,7 @@ var createElm = (oldParentVNode, newParentVNode, childIndex) => {
498
497
  }
499
498
  elm = newVNode2.$elm$ = win.document.createElementNS(
500
499
  isSvgMode ? SVG_NS : HTML_NS,
501
- !useNativeShadowDom && BUILD.slotRelocation && newVNode2.$flags$ & 2 /* isSlotFallback */ ? "slot-fb" : newVNode2.$tag$
500
+ newVNode2.$tag$
502
501
  ) ;
503
502
  if (isSvgMode && newVNode2.$tag$ === "foreignObject") {
504
503
  isSvgMode = false;
@@ -682,7 +681,6 @@ var insertBefore = (parent, newNode, reference) => {
682
681
  };
683
682
  var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
684
683
  const hostElm = hostRef.$hostElement$;
685
- const cmpMeta = hostRef.$cmpMeta$;
686
684
  const oldVNode = hostRef.$vnode$ || newVNode(null, null);
687
685
  const rootVnode = isHost(renderFnResults) ? renderFnResults : h(null, null, renderFnResults);
688
686
  hostTagName = hostElm.tagName;
@@ -697,7 +695,6 @@ var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
697
695
  rootVnode.$flags$ |= 4 /* isHost */;
698
696
  hostRef.$vnode$ = rootVnode;
699
697
  rootVnode.$elm$ = oldVNode.$elm$ = hostElm.shadowRoot || hostElm ;
700
- useNativeShadowDom = !!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) && !(cmpMeta.$flags$ & 128 /* shadowNeedsScopedCss */);
701
698
  patch(oldVNode, rootVnode, isInitialLoad);
702
699
  };
703
700
 
@@ -784,7 +781,7 @@ var callRender = (hostRef, instance, elm, isInitialLoad) => {
784
781
  try {
785
782
  instance = instance.render() ;
786
783
  {
787
- hostRef.$flags$ &= ~16 /* isQueuedForUpdate */;
784
+ hostRef.$flags$ &= -17 /* isQueuedForUpdate */;
788
785
  }
789
786
  {
790
787
  hostRef.$flags$ |= 2 /* hasRendered */;
@@ -833,7 +830,7 @@ var postUpdateComponent = (hostRef) => {
833
830
  if (hostRef.$flags$ & 512 /* needsRerender */) {
834
831
  nextTick(() => scheduleUpdate(hostRef, false));
835
832
  }
836
- hostRef.$flags$ &= ~(4 /* isWaitingForChildren */ | 512 /* needsRerender */);
833
+ hostRef.$flags$ &= -517;
837
834
  }
838
835
  };
839
836
  var appDidLoad = (who) => {
@@ -860,7 +857,7 @@ var setValue = (ref, propName, newVal, cmpMeta) => {
860
857
  const hostRef = getHostRef(ref);
861
858
  if (!hostRef) {
862
859
  throw new Error(
863
- `Couldn't find host element for "${cmpMeta.$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).`
860
+ `Couldn't find host element for "${cmpMeta.$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/stenciljs/core/issues/5457).`
864
861
  );
865
862
  }
866
863
  const oldVal = hostRef.$instanceValues$.get(propName);
@@ -888,7 +885,7 @@ var setValue = (ref, propName, newVal, cmpMeta) => {
888
885
  var proxyComponent = (Cstr, cmpMeta, flags) => {
889
886
  var _a, _b;
890
887
  const prototype = Cstr.prototype;
891
- if (cmpMeta.$members$ || BUILD.watchCallback ) {
888
+ if (cmpMeta.$members$ || BUILD.watchCallback) {
892
889
  const members = Object.entries((_a = cmpMeta.$members$) != null ? _a : {});
893
890
  members.map(([memberName, [memberFlags]]) => {
894
891
  if ((memberFlags & 31 /* Prop */ || (flags & 2 /* proxyState */) && memberFlags & 32 /* State */)) {
@@ -1037,7 +1034,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
1037
1034
  consoleError(e, elm);
1038
1035
  }
1039
1036
  {
1040
- hostRef.$flags$ &= ~8 /* isConstructingInstance */;
1037
+ hostRef.$flags$ &= -9 /* isConstructingInstance */;
1041
1038
  }
1042
1039
  endNewInstance();
1043
1040
  fireConnectedCallback(hostRef.$lazyInstance$, elm);
@@ -1266,3 +1263,5 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
1266
1263
  var setNonce = (nonce) => plt.$nonce$ = nonce;
1267
1264
 
1268
1265
  export { bootstrapLazy as b, h, promiseResolve as p, registerInstance as r, setNonce as s };
1266
+
1267
+ //# sourceMappingURL=index-Cv-RwySr.js.map
@@ -0,0 +1 @@
1
+ {"sourcesContent":[]}
package/dist/esm/index.js CHANGED
@@ -1 +1,3 @@
1
1
 
2
+
3
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"sourcesContent":[]}
@@ -1,6 +1,6 @@
1
- import { b as bootstrapLazy } from './index-a57e6c9c.js';
2
- export { s as setNonce } from './index-a57e6c9c.js';
3
- import { g as globalScripts } from './app-globals-0f993ce5.js';
1
+ import { b as bootstrapLazy } from './index-Cv-RwySr.js';
2
+ export { s as setNonce } from './index-Cv-RwySr.js';
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;
@@ -9,3 +9,5 @@ const defineCustomElements = async (win, options) => {
9
9
  };
10
10
 
11
11
  export { defineCustomElements };
12
+
13
+ //# sourceMappingURL=loader.js.map
@@ -0,0 +1 @@
1
+ {"sourcesContent":[]}
@@ -9,10 +9,6 @@ export namespace Components {
9
9
  interface AnalogClock {
10
10
  "size": number;
11
11
  "timeZone": number;
12
- /**
13
- * @deprecated use camelCase instead. Support for dash-casing will be removed in Stencil v5.
14
- */
15
- "time-zone"?: number;
16
12
  }
17
13
  }
18
14
  declare global {
@@ -30,10 +26,6 @@ declare namespace LocalJSX {
30
26
  interface AnalogClock {
31
27
  "size"?: number;
32
28
  "timeZone"?: number;
33
- /**
34
- * @deprecated use camelCase instead. Support for dash-casing will be removed in Stencil v5.
35
- */
36
- "time-zone"?: number;
37
29
  }
38
30
  interface IntrinsicElements {
39
31
  "analog-clock": AnalogClock;
@@ -826,6 +826,7 @@ export declare namespace JSXBase {
826
826
  }
827
827
  interface DetailsHTMLAttributes<T> extends HTMLAttributes<T> {
828
828
  open?: boolean;
829
+ name?: string;
829
830
  onToggle?: (event: Event) => void;
830
831
  }
831
832
  interface DelHTMLAttributes<T> extends HTMLAttributes<T> {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "analog-clock-components",
3
- "version": "0.2.5",
3
+ "version": "0.2.7",
4
4
  "description": "Stencil Component Starter",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.js",
@@ -25,13 +25,13 @@
25
25
  "format": "prettier --write src"
26
26
  },
27
27
  "dependencies": {
28
- "@stencil/core": "4.27.1"
28
+ "@stencil/core": "4.28.2"
29
29
  },
30
30
  "license": "MIT",
31
31
  "devDependencies": {
32
32
  "cspell": "8.17.5",
33
- "eslint": "9.21.0",
34
- "prettier": "3.5.2",
33
+ "eslint": "9.22.0",
34
+ "prettier": "3.5.3",
35
35
  "typescript": "5.8.2"
36
36
  }
37
37
  }
@@ -1 +0,0 @@
1
- const o=()=>{};export{o as g}
@@ -1,11 +0,0 @@
1
- {
2
- "name": "analog-clock-loader",
3
- "private": true,
4
- "typings": "./index.d.ts",
5
- "module": "./index.js",
6
- "main": "./index.cjs.js",
7
- "jsnext:main": "./index.es2017.js",
8
- "es2015": "./index.es2017.js",
9
- "es2017": "./index.es2017.js",
10
- "unpkg": "./cdn.js"
11
- }