@phatvu/web-component-poc 1.0.6 → 1.0.8

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 (52) hide show
  1. package/dist/cjs/fast-button_6.cjs.entry.js +578 -0
  2. package/dist/cjs/{fast-button_4.cjs.entry.js → fast-carousel.cjs.entry.js} +1 -231
  3. package/dist/cjs/{index-B2BTpdbN.js → index-227GpI8K.js} +66 -2
  4. package/dist/cjs/job-card.cjs.entry.js +1 -1
  5. package/dist/cjs/loader.cjs.js +2 -2
  6. package/dist/cjs/web-component-poc.cjs.js +2 -2
  7. package/dist/collection/collection-manifest.json +4 -1
  8. package/dist/collection/components/button/button.css +14 -14
  9. package/dist/collection/components/button/button.js +12 -24
  10. package/dist/collection/components/fast-form/fast-form.css +5 -0
  11. package/dist/collection/components/fast-form/fast-form.js +99 -0
  12. package/dist/collection/components/fast-input/fast-input.css +45 -0
  13. package/dist/collection/components/fast-input/fast-input.js +359 -0
  14. package/dist/collection/components/jobs-list-only/jobs-list-only.js +180 -3
  15. package/dist/collection/components/jobs-list-reactive/jobs-list-reactive.css +8 -0
  16. package/dist/collection/components/jobs-list-reactive/jobs-list-reactive.js +203 -0
  17. package/dist/components/fast-button.js +1 -1
  18. package/dist/components/fast-carousel.js +1 -1
  19. package/dist/components/fast-form.d.ts +11 -0
  20. package/dist/components/fast-form.js +1 -0
  21. package/dist/components/fast-input.d.ts +11 -0
  22. package/dist/components/fast-input.js +1 -0
  23. package/dist/components/index.js +1 -1
  24. package/dist/components/job-card.js +1 -1
  25. package/dist/components/jobs-item.js +1 -1
  26. package/dist/components/jobs-list-only.js +1 -1
  27. package/dist/components/jobs-list-reactive.d.ts +11 -0
  28. package/dist/components/jobs-list-reactive.js +1 -0
  29. package/dist/components/p-Bb27ylcX.js +1 -0
  30. package/dist/components/{p-ClQDwJJB.js → p-CzgtwPsc.js} +1 -1
  31. package/dist/esm/fast-button_6.entry.js +571 -0
  32. package/dist/esm/{fast-button_4.entry.js → fast-carousel.entry.js} +2 -229
  33. package/dist/esm/{index-Dk5CvWmb.js → index-BqjrT3zA.js} +66 -2
  34. package/dist/esm/job-card.entry.js +1 -1
  35. package/dist/esm/loader.js +3 -3
  36. package/dist/esm/web-component-poc.js +3 -3
  37. package/dist/types/components/button/button.d.ts +1 -13
  38. package/dist/types/components/fast-form/fast-form.d.ts +10 -0
  39. package/dist/types/components/fast-input/fast-input.d.ts +35 -0
  40. package/dist/types/components/jobs-list-only/jobs-list-only.d.ts +22 -0
  41. package/dist/types/components/jobs-list-reactive/jobs-list-reactive.d.ts +26 -0
  42. package/dist/types/components.d.ts +256 -11
  43. package/dist/web-component-poc/{p-52c85341.entry.js → p-14247159.entry.js} +1 -1
  44. package/dist/web-component-poc/p-309a490b.entry.js +1 -0
  45. package/dist/web-component-poc/p-7ea9a87f.entry.js +1 -0
  46. package/dist/web-component-poc/{p-Dk5CvWmb.js → p-BqjrT3zA.js} +2 -2
  47. package/dist/web-component-poc/web-component-poc.esm.js +1 -1
  48. package/hydrate/index.js +457 -27
  49. package/hydrate/index.mjs +457 -27
  50. package/package.json +7 -3
  51. package/dist/components/p-UM9TUfe3.js +0 -1
  52. package/dist/web-component-poc/p-96761988.entry.js +0 -1
@@ -1,2 +1,2 @@
1
- var t=(t=>(t.Undefined="undefined",t.Null="null",t.String="string",t.Number="number",t.SpecialNumber="number",t.Boolean="boolean",t.BigInt="bigint",t))(t||{}),n=(t=>(t.Array="array",t.Date="date",t.Map="map",t.Object="object",t.RegularExpression="regexp",t.Set="set",t.Channel="channel",t.Symbol="symbol",t))(n||{}),e="type",o="value",l="serialized:";function s(t,n,e){const o="undefined"!=typeof HTMLElement?HTMLElement.prototype:null;for(;t&&t!==o;){const o=Object.getOwnPropertyDescriptor(t,n);if(o&&(!e||o.get))return o;t=Object.getPrototypeOf(t)}}var i=(t,n)=>{var e;Object.entries(null!=(e=n.o.t)?e:{}).map((([e,[o]])=>{if(31&o||32&o){const o=t[e],l=s(Object.getPrototypeOf(t),e,!0)||Object.getOwnPropertyDescriptor(t,e);l&&Object.defineProperty(t,e,{get(){return l.get.call(this)},set(t){l.set.call(this,t)},configurable:!0,enumerable:!0}),n.l.has(e)?t[e]=n.l.get(e):void 0!==o&&(t[e]=o)}}))},r=t=>{if(t.__stencil__getHostRef)return t.__stencil__getHostRef()},c=(t,n)=>{n&&(t.__stencil__getHostRef=()=>n,n.i=t,512&n.o.u&&i(t,n))},u=(t,n)=>n in t,f=(t,n)=>(0,console.error)(t,n),a=new Map,d=new Map,p="s-id",$="sty-id",h="c-id",v="slot-fb{display:contents}slot-fb[hidden]{display:none}",m="undefined"!=typeof window?window:{},y={u:0,p:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,n,e,o)=>t.addEventListener(n,e,o),rel:(t,n,e,o)=>t.removeEventListener(n,e,o),ce:(t,n)=>new CustomEvent(t,n)},b=t=>Promise.resolve(t),g=(()=>{try{return!!m.document.adoptedStyleSheets&&(new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync)}catch(t){}return!1})(),w=!!g&&(()=>!!m.document&&Object.getOwnPropertyDescriptor(m.document.adoptedStyleSheets,"length").writable)(),j=!1,S=[],O=[],N=(t,n)=>e=>{t.push(e),j||(j=!0,n&&4&y.u?x(E):y.raf(E))},k=t=>{for(let n=0;n<t.length;n++)try{t[n](performance.now())}catch(t){f(t)}t.length=0},E=()=>{k(S),k(O),(j=S.length>0)&&y.raf(E)},x=t=>b().then(t),C=N(O,!0),M=t=>{const n=F(t,"childNodes");t.tagName&&t.tagName.includes("-")&&t["s-cr"]&&"SLOT-FB"!==t.tagName&&L(n,t.tagName).forEach((t=>{1===t.nodeType&&"SLOT-FB"===t.tagName&&(t.hidden=!!I(t,A(t),!1).length)}));let e=0;for(e=0;e<n.length;e++){const t=n[e];1===t.nodeType&&F(t,"childNodes").length&&M(t)}};function L(t,n,e){let o,l=0,s=[];for(;l<t.length;l++){if(o=t[l],o["s-sr"]&&(!n||o["s-hn"]===n)&&(void 0===e||A(o)===e)&&(s.push(o),void 0!==e))return s;s=[...s,...L(o.childNodes,n,e)]}return s}var I=(t,n,e=!0)=>{const o=[];(e&&t["s-sr"]||!t["s-sr"])&&o.push(t);let l=t;for(;l=l.nextSibling;)A(l)!==n||!e&&l["s-sr"]||o.push(l);return o},R=(t,n)=>1===t.nodeType?null===t.getAttribute("slot")&&""===n||t.getAttribute("slot")===n:t["s-sn"]===n||""===n,T=(t,n,e,o)=>{if(t["s-ol"]&&t["s-ol"].isConnected)return;const l=document.createTextNode("");if(l["s-nr"]=t,!n["s-cr"]||!n["s-cr"].parentNode)return;const s=n["s-cr"].parentNode,i=F(s,"appendChild");if(void 0!==o){l["s-oo"]=o;const t=F(s,"childNodes"),n=[l];t.forEach((t=>{t["s-nr"]&&n.push(t)})),n.sort(((t,n)=>!t["s-oo"]||t["s-oo"]<(n["s-oo"]||0)?-1:!n["s-oo"]||n["s-oo"]<t["s-oo"]?1:0)),n.forEach((t=>i.call(s,t)))}else i.call(s,l);t["s-ol"]=l,t["s-sh"]=n["s-hn"]},A=t=>"string"==typeof t["s-sn"]?t["s-sn"]:1===t.nodeType&&t.getAttribute("slot")||void 0;function D(t){if(t.assignedElements||t.assignedNodes||!t["s-sr"])return;const n=n=>function(t){const e=[],o=this["s-sn"];(null==t?void 0:t.flatten)&&console.error("\n Flattening is not supported for Stencil non-shadow slots.\n You can use `.childNodes` to nested slot fallback content.\n If you have a particular use case, please open an issue on the Stencil repo.\n ");const l=this["s-cr"].parentElement;return(l.__childNodes?l.childNodes:(t=>{const n=[];for(let e=0;e<t.length;e++){const o=t[e]["s-nr"]||void 0;o&&o.isConnected&&n.push(o)}return n})(l.childNodes)).forEach((t=>{o===A(t)&&e.push(t)})),n?e.filter((t=>1===t.nodeType)):e}.bind(t);t.assignedElements=n(!0),t.assignedNodes=n(!1)}function F(t,n){if("__"+n in t){const e=t["__"+n];return"function"!=typeof e?e:e.bind(t)}return"function"!=typeof t[n]?t[n]:t[n].bind(t)}function P(t){var n,e,o;return null!=(o=null==(e=null==(n=t.head)?void 0:n.querySelector('meta[name="csp-nonce"]'))?void 0:e.getAttribute("content"))?o:void 0}var V=new WeakMap,H=t=>"sc-"+t.$,U=t=>"object"==(t=typeof t)||"function"===t,_=(t,n,...e)=>{let o=null,l=null,s=null,i=!1,r=!1;const c=[],u=n=>{for(let e=0;e<n.length;e++)o=n[e],Array.isArray(o)?u(o):null!=o&&"boolean"!=typeof o&&((i="function"!=typeof t&&!U(o))&&(o+=""),i&&r?c[c.length-1].h+=o:c.push(i?z(null,o):o),r=i)};if(u(e),n){n.key&&(l=n.key),n.name&&(s=n.name);{const t=n.className||n.class;t&&(n.class="object"!=typeof t?t:Object.keys(t).filter((n=>t[n])).join(" "))}}const f=z(t,null);return f.v=n,c.length>0&&(f.m=c),f.j=l,f.S=s,f},z=(t,n)=>({u:0,O:t,h:null!=n?n:null,N:null,m:null,v:null,j:null,S:null}),B={},W=(t,n,e,o,l,s,i,r=[])=>{let c,u,f,a;if(1===s.nodeType){if(c=s.getAttribute(h),c&&(u=c.split("."),u[0]===i||"0"===u[0])){f=Y({u:0,k:u[0],C:u[1],M:u[2],L:u[3],O:s.tagName.toLowerCase(),N:s,v:{class:s.className||""}}),n.push(f),s.removeAttribute(h),t.m||(t.m=[]);const o=f.N.getAttribute("s-sn");"string"==typeof o&&("slot-fb"===f.O&&G(o,u[2],f,s,t,n,e,0,r),f.N["s-sn"]=o,f.N.removeAttribute("s-sn")),void 0!==f.L&&(t.m[f.L]=f),t=f}if(s.shadowRoot)for(a=s.shadowRoot.childNodes.length-1;a>=0;a--)W(t,n,e,o,l,s.shadowRoot.childNodes[a],i,r);const d=s.__childNodes||s.childNodes;for(a=d.length-1;a>=0;a--)W(t,n,e,o,l,d[a],i,r)}else if(8===s.nodeType)u=s.nodeValue.split("."),(u[1]===i||"0"===u[1])&&(c=u[0],f=Y({k:u[1],C:u[2],M:u[3],L:u[4]||"0",N:s,v:null,m:null,j:null,S:null,O:null,h:null}),"t"===c?(f.N=Q(s,3),f.N&&3===f.N.nodeType&&(f.h=f.N.textContent,n.push(f),s.remove(),i===f.k&&(t.m||(t.m=[]),t.m[f.L]=f))):"c"===c?(f.N=Q(s,8),f.N&&8===f.N.nodeType&&(n.push(f),s.remove())):f.k===i&&("s"===c?G(s["s-sn"]=u[5]||"",u[2],f,s,t,n,e,0,r):"r"===c&&(l["s-cr"]=s,s["s-cn"]=!0)));else if(t&&"style"===t.O){const n=z(null,s.textContent);n.N=s,n.L="0",t.m=[n]}return t},q=(t,n)=>{if(1===t.nodeType){const e=t[p]||t.getAttribute(p);e&&n.set(e,t);let o=0;if(t.shadowRoot)for(;o<t.shadowRoot.childNodes.length;o++)q(t.shadowRoot.childNodes[o],n);const l=t.__childNodes||t.childNodes;for(o=0;o<l.length;o++)q(l[o],n)}else if(8===t.nodeType){const e=t.nodeValue.split(".");"o"===e[0]&&(n.set(e[1]+"."+e[2],t),t.nodeValue="",t["s-en"]=e[3])}},Y=t=>({u:0,k:null,C:null,M:null,L:"0",N:null,v:null,m:null,j:null,S:null,O:null,h:null,...t});function G(t,n,e,o,l,s,i,r,c){o["s-sr"]=!0,e.S=t||null,e.O="slot";const u=(null==l?void 0:l.N)?l.N["s-id"]||l.N.getAttribute("s-id"):"";{const s=e.N,i=u&&u!==e.k&&l.N.shadowRoot;K(c,n,t,o,i?u:e.k),D(o),i&&l.N.insertBefore(s,l.N.children[0])}s.push(e),i.push(e),l.m||(l.m=[]),l.m[e.L]=e}var J,Z,K=(t,n,e,o,l)=>{var s,i;let r=o.nextSibling;if(t[n]=t[n]||[],r&&!(null==(s=r.nodeValue)?void 0:s.startsWith("s.")))do{!r||(r.getAttribute&&r.getAttribute("slot")||r["s-sn"])!==e&&(""!==e||r["s-sn"]||r.getAttribute&&r.getAttribute("slot")||8!==r.nodeType&&3!==r.nodeType)||(r["s-sn"]=e,t[n].push({slot:o,node:r,hostId:l})),r=null==r?void 0:r.nextSibling}while(r&&!(null==(i=r.nodeValue)?void 0:i.startsWith("s.")))},Q=(t,n)=>{let e=t;do{e=e.nextSibling}while(e&&(e.nodeType!==n||!e.nodeValue));return e},X=class l{static fromLocalValue(t){const n=t[e],s=o in t?t[o]:void 0;switch(n){case"string":case"boolean":return s;case"bigint":return BigInt(s);case"undefined":return;case"null":return null;case"number":return"NaN"===s?NaN:"-0"===s?-0:"Infinity"===s?1/0:"-Infinity"===s?-1/0:s;case"array":return s.map((t=>l.fromLocalValue(t)));case"date":return new Date(s);case"map":const t=new Map;for(const[n,e]of s){const o="object"==typeof n&&null!==n?l.fromLocalValue(n):n,s=l.fromLocalValue(e);t.set(o,s)}return t;case"object":const e={};for(const[t,n]of s)e[t]=l.fromLocalValue(n);return e;case"regexp":const{pattern:o,flags:i}=s;return RegExp(o,i);case"set":const r=new Set;for(const t of s)r.add(l.fromLocalValue(t));return r;case"symbol":return Symbol(s);default:throw Error("Unsupported type: "+n)}}static fromLocalValueArray(t){return t.map((t=>l.fromLocalValue(t)))}static isLocalValueObject(l){if("object"!=typeof l||null===l)return!1;if(!l.hasOwnProperty(e))return!1;const s=l[e];return!!Object.values({...t,...n}).includes(s)&&("null"===s||"undefined"===s||l.hasOwnProperty(o))}},tt=(t,n)=>"string"==typeof t&&t.startsWith(l)?t=function(t){return"string"==typeof t&&t.startsWith(l)?X.fromLocalValue(JSON.parse(atob(t.slice(11)))):t}(t):null==t||U(t)?t:4&n?"false"!==t&&(""===t||!!t):2&n?"string"==typeof t?parseFloat(t):"number"==typeof t?t:NaN:1&n?t+"":t,nt=t=>{var n;return null==(n=r(t))?void 0:n.$hostElement$},et=(t,n)=>{const e=nt(t);return{emit:t=>ot(e,n,{bubbles:!0,composed:!0,cancelable:!0,detail:t})}},ot=(t,n,e)=>{const o=y.ce(n,e);return t.dispatchEvent(o),o},lt=(t,n,e,o,l,s,i)=>{if(e===o)return;let c=u(t,n),f=n.toLowerCase();if("class"===n){const n=t.classList,l=it(e);let s=it(o);if((t["s-si"]||t["s-sc"])&&i){const e=t["s-sc"]||t["s-si"];s.push(e),l.forEach((t=>{t.startsWith(e)&&s.push(t)})),s=[...new Set(s)].filter((t=>t)),n.add(...s)}else n.remove(...l.filter((t=>t&&!s.includes(t)))),n.add(...s.filter((t=>t&&!l.includes(t))))}else if("style"===n){for(const n in e)o&&null!=o[n]||(n.includes("-")?t.style.removeProperty(n):t.style[n]="");for(const n in o)e&&o[n]===e[n]||(n.includes("-")?t.style.setProperty(n,o[n]):t.style[n]=o[n])}else if("key"===n);else if("ref"===n)o&&xt(o,t);else if(c||"o"!==n[0]||"n"!==n[1]){if("a"===n[0]&&n.startsWith("attr:")){const e=n.slice(5);let l;{const n=r(t);if(n&&n.o&&n.o.t){const t=n.o.t[e];t&&t[1]&&(l=t[1])}}return l||(l=e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),void(null==o||!1===o?!1===o&&""!==t.getAttribute(l)||t.removeAttribute(l):t.setAttribute(l,!0===o?"":o))}if("p"===n[0]&&n.startsWith("prop:")){const e=n.slice(5);try{t[e]=o}catch(t){}return}{const i=U(o);if((c||i&&null!==o)&&!l)try{if(t.tagName.includes("-"))t[n]!==o&&(t[n]=o);else{const l=null==o?"":o;"list"===n?c=!1:null!=e&&t[n]===l||("function"==typeof t.__lookupSetter__(n)?t[n]=l:t.setAttribute(n,l))}}catch(t){}null==o||!1===o?!1===o&&""!==t.getAttribute(n)||t.removeAttribute(n):(!c||4&s||l)&&!i&&1===t.nodeType&&t.setAttribute(n,o=!0===o?"":o)}}else if(n="-"===n[2]?n.slice(3):u(m,f)?f.slice(2):f[2]+n.slice(3),e||o){const l=n.endsWith(rt);n=n.replace(ct,""),e&&y.rel(t,n,e,l),o&&y.ael(t,n,o,l)}},st=/\s/,it=t=>("object"==typeof t&&t&&"baseVal"in t&&(t=t.baseVal),t&&"string"==typeof t?t.split(st):[]),rt="Capture",ct=RegExp(rt+"$"),ut=(t,n,e,o)=>{const l=11===n.N.nodeType&&n.N.host?n.N.host:n.N,s=t&&t.v||{},i=n.v||{};for(const t of ft(Object.keys(s)))t in i||lt(l,t,s[t],void 0,e,n.u,o);for(const t of ft(Object.keys(i)))lt(l,t,s[t],i[t],e,n.u,o)};function ft(t){return t.includes("ref")?[...t.filter((t=>"ref"!==t)),"ref"]:t}var at=!1,dt=!1,pt=!1,$t=!1,ht=[],vt=[],mt=(t,n,e)=>{var o;const l=n.m[e];let s,i,r,c=0;if(at||(pt=!0,"slot"===l.O&&(l.u|=l.m?2:1)),null!=l.h)s=l.N=m.document.createTextNode(l.h);else if(1&l.u)s=l.N=m.document.createTextNode(""),ut(null,l,$t);else{if($t||($t="svg"===l.O),!m.document)throw Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.");if(s=l.N=m.document.createElementNS($t?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!at&&2&l.u?"slot-fb":l.O),$t&&"foreignObject"===l.O&&($t=!1),ut(null,l,$t),l.m){const n="template"===l.O?s.content:s;for(c=0;c<l.m.length;++c)i=mt(t,l,c),i&&n.appendChild(i)}"svg"===l.O?$t=!1:"foreignObject"===s.tagName&&($t=!0)}return s["s-hn"]=Z,3&l.u&&(s["s-sr"]=!0,s["s-cr"]=J,s["s-sn"]=l.S||"",s["s-rf"]=null==(o=l.v)?void 0:o.ref,D(s),r=t&&t.m&&t.m[e],r&&r.O===l.O&&t.N&&yt(t.N)),s},yt=t=>{y.u|=1;const n=t.closest(Z.toLowerCase());if(null!=n){const e=Array.from(n.__childNodes||n.childNodes).find((t=>t["s-cr"])),o=Array.from(t.__childNodes||t.childNodes);for(const t of e?o.reverse():o)null!=t["s-sh"]&&(Ct(n,t,null!=e?e:null),t["s-sh"]=void 0,pt=!0)}y.u&=-2},bt=(t,n)=>{y.u|=1;const e=Array.from(t.__childNodes||t.childNodes);if(t["s-sr"]){let n=t;for(;n=n.nextSibling;)n&&n["s-sn"]===t["s-sn"]&&n["s-sh"]===Z&&e.push(n)}for(let t=e.length-1;t>=0;t--){const o=e[t];o["s-hn"]!==Z&&o["s-ol"]&&(Ct(St(o).parentNode,o,St(o)),o["s-ol"].remove(),o["s-ol"]=void 0,o["s-sh"]=void 0,pt=!0),n&&bt(o,n)}y.u&=-2},gt=(t,n,e,o,l,s)=>{let i,r=t["s-cr"]&&t["s-cr"].parentNode||t;for("template"===e.O&&(r=r.content);l<=s;++l)o[l]&&(i=mt(null,e,l),i&&(o[l].N=i,Ct(r,i,St(n))))},wt=(t,n,e)=>{for(let o=n;o<=e;++o){const n=t[o];if(n){const t=n.N;Et(n),t&&(dt=!0,t["s-ol"]?t["s-ol"].remove():bt(t,!0),t.remove())}}},jt=(t,n,e=!1)=>t.O===n.O&&("slot"===t.O?t.S===n.S:e?(e&&!t.j&&n.j&&(t.j=n.j),!0):t.j===n.j),St=t=>t&&t["s-ol"]||t,Ot=(t,n,e=!1)=>{const o=n.N=t.N,l=t.m,s=n.m,i=n.O,r=n.h;let c;null==r?($t="svg"===i||"foreignObject"!==i&&$t,"slot"!==i||at||t.S!==n.S&&(n.N["s-sn"]=n.S||"",yt(n.N.parentElement)),ut(t,n,$t,e),null!==l&&null!==s?((t,n,e,o,l=!1)=>{let s,i,r=0,c=0,u=0,f=0,a=n.length-1,d=n[0],p=n[a],$=o.length-1,h=o[0],v=o[$];const m="template"===e.O?t.content:t;for(;r<=a&&c<=$;)if(null==d)d=n[++r];else if(null==p)p=n[--a];else if(null==h)h=o[++c];else if(null==v)v=o[--$];else if(jt(d,h,l))Ot(d,h,l),d=n[++r],h=o[++c];else if(jt(p,v,l))Ot(p,v,l),p=n[--a],v=o[--$];else if(jt(d,v,l))"slot"!==d.O&&"slot"!==v.O||bt(d.N.parentNode,!1),Ot(d,v,l),Ct(m,d.N,p.N.nextSibling),d=n[++r],v=o[--$];else if(jt(p,h,l))"slot"!==d.O&&"slot"!==v.O||bt(p.N.parentNode,!1),Ot(p,h,l),Ct(m,p.N,d.N),p=n[--a],h=o[++c];else{for(u=-1,f=r;f<=a;++f)if(n[f]&&null!==n[f].j&&n[f].j===h.j){u=f;break}u>=0?(i=n[u],i.O!==h.O?s=mt(n&&n[c],e,u):(Ot(i,h,l),n[u]=void 0,s=i.N),h=o[++c]):(s=mt(n&&n[c],e,c),h=o[++c]),s&&Ct(St(d.N).parentNode,s,St(d.N))}r>a?gt(t,null==o[$+1]?null:o[$+1].N,e,o,c,$):c>$&&wt(n,r,a)})(o,l,n,s,e):null!==s?(null!==t.h&&(o.textContent=""),gt(o,null,n,s,0,s.length-1)):e||null===l?e&&null!==l&&null===s&&(n.m=l):wt(l,0,l.length-1),$t&&"svg"===i&&($t=!1)):(c=o["s-cr"])?c.parentNode.textContent=r:t.h!==r&&(o.data=r)},Nt=[],kt=t=>{let n,e,o;const l=t.__childNodes||t.childNodes;for(const t of l){if(t["s-sr"]&&(n=t["s-cr"])&&n.parentNode){e=n.parentNode.__childNodes||n.parentNode.childNodes;const l=t["s-sn"];for(o=e.length-1;o>=0;o--)if(n=e[o],!(n["s-cn"]||n["s-nr"]||n["s-hn"]===t["s-hn"]||n["s-sh"]&&n["s-sh"]===t["s-hn"]))if(R(n,l)){let e=Nt.find((t=>t.I===n));dt=!0,n["s-sn"]=n["s-sn"]||l,e?(e.I["s-sh"]=t["s-hn"],e.R=t):(n["s-sh"]=t["s-hn"],Nt.push({R:t,I:n})),n["s-sr"]&&Nt.map((t=>{R(t.I,n["s-sn"])&&(e=Nt.find((t=>t.I===n)),e&&!t.R&&(t.R=e.R))}))}else Nt.some((t=>t.I===n))||Nt.push({I:n})}1===t.nodeType&&kt(t)}},Et=t=>{t.v&&t.v.ref&&ht.push((()=>t.v.ref(null))),t.m&&t.m.map(Et)},xt=(t,n)=>{vt.push((()=>t(n)))},Ct=(t,n,e,o)=>{if("string"==typeof n["s-sn"]){t.insertBefore(n,e);const{slotNode:l}=function(t,n){var e;if(!(n=n||(null==(e=t["s-ol"])?void 0:e.parentElement)))return{slotNode:null,slotName:""};const o=t["s-sn"]=A(t)||"";return{slotNode:L(F(n,"childNodes"),n.tagName,o)[0],slotName:o}}(n);return l&&!o&&function(t){t.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1}))}(l),n}return t.__insertBefore?t.__insertBefore(n,e):null==t?void 0:t.insertBefore(n,e)},Mt=(t,n)=>{if(n&&!t.T&&n["s-p"]){const e=n["s-p"].push(new Promise((o=>t.T=()=>{n["s-p"].splice(e-1,1),o()})))}},Lt=(t,n)=>{if(t.u|=16,4&t.u)return void(t.u|=512);Mt(t,t.A);const e=()=>It(t,n);if(!n)return C(e);queueMicrotask((()=>{e()}))},It=(t,n)=>{const e=t.$hostElement$,o=t.i;if(!o)throw Error(`Can't render component <${e.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 n?(t.D&&(t.D=!1,Vt(o,"connectedCallback",void 0,e)),t.F.length&&t.F.forEach((t=>t(e))),l=Vt(o,"componentWillLoad",void 0,e)):l=Vt(o,"componentWillUpdate",void 0,e),l=Rt(l,(()=>Vt(o,"componentWillRender",void 0,e))),Rt(l,(()=>At(t,o,n)))},Rt=(t,n)=>Tt(t)?t.then(n).catch((t=>{console.error(t),n()})):n(),Tt=t=>t instanceof Promise||t&&t.then&&"function"==typeof t.then,At=async(t,n,e)=>{var o;const l=t.$hostElement$,s=l["s-rc"];e&&(t=>{const n=t.o;((t,n)=>{var e,o,l;const s=H(n),i=d.get(s);if(!m.document)return s;if(t=11===t.nodeType?t:m.document,i)if("string"==typeof i){let l,r=V.get(t=t.head||t);r||V.set(t,r=new Set);const c=t.querySelector(`[${$}="${s}"]`);if(c)c.textContent=i;else if(!r.has(s)){l=m.document.createElement("style"),l.textContent=i;const c=null!=(e=y.P)?e:P(m.document);if(null!=c&&l.setAttribute("nonce",c),!(1&n.u))if("HEAD"===t.nodeName){const n=t.querySelectorAll("link[rel=preconnect]"),e=n.length>0?n[n.length-1].nextSibling:t.querySelector("style");t.insertBefore(l,(null==e?void 0:e.parentNode)===t?e:null)}else if("host"in t)if(g){const n=new(null!=(o=t.defaultView)?o:t.ownerDocument.defaultView).CSSStyleSheet;n.replaceSync(i),w?t.adoptedStyleSheets.unshift(n):t.adoptedStyleSheets=[n,...t.adoptedStyleSheets]}else{const n=t.querySelector("style");n?n.textContent=i+n.textContent:t.prepend(l)}else t.append(l);1&n.u&&t.insertBefore(l,null),4&n.u&&(l.textContent+=v),r&&r.add(s)}}else{let n=V.get(t);if(n||V.set(t,n=new Set),!n.has(s)){const e=null!=(l=t.defaultView)?l:t.ownerDocument.defaultView;let o;if(i.constructor===e.CSSStyleSheet)o=i;else{o=new e.CSSStyleSheet;for(let t=0;t<i.cssRules.length;t++)o.insertRule(i.cssRules[t].cssText,t)}if(w?t.adoptedStyleSheets.push(o):t.adoptedStyleSheets=[...t.adoptedStyleSheets,o],n.add(s),"host"in t){const n=t.querySelector(`[${$}="${s}"]`);n&&C((()=>n.remove()))}}}})(t.$hostElement$.getRootNode(),n)})(t);Dt(t,n,l,e),s&&(s.map((t=>t())),l["s-rc"]=void 0);{const n=null!=(o=l["s-p"])?o:[],e=()=>Ft(t);0===n.length?e():(Promise.all(n).then(e).catch(e),t.u|=4,n.length=0)}},Dt=(t,n,e,o)=>{try{n=n.render(),t.u&=-17,t.u|=2,((t,n,e=!1)=>{var o,l,s,i,r;const c=t.$hostElement$,u=t.o,f=t.V||z(null,null),a=(t=>t&&t.O===B)(n)?n:_(null,null,n);if(Z=c.tagName,e&&a.v)for(const t of Object.keys(a.v))c.hasAttribute(t)&&!["key","ref","style","class"].includes(t)&&(a.v[t]=c[t]);if(a.O=null,a.u|=4,t.V=a,a.N=f.N=c,at=!1,J=c["s-cr"],dt=!1,Ot(f,a,e),y.u|=1,pt){kt(a.N);for(const t of Nt){const n=t.I;if(!n["s-ol"]&&m.document){const t=m.document.createTextNode("");t["s-nr"]=n,Ct(n.parentNode,n["s-ol"]=t,n,e)}}for(const t of Nt){const n=t.I,r=t.R;if(1===n.nodeType&&e&&(n["s-ih"]=null!=(o=n.hidden)&&o),r){const t=r.parentNode;let o=r.nextSibling;if(o&&1===o.nodeType){let e=null==(l=n["s-ol"])?void 0:l.previousSibling;for(;e;){let l=null!=(s=e["s-nr"])?s:null;if(l&&l["s-sn"]===n["s-sn"]&&t===(l.__parentNode||l.parentNode)){for(l=l.nextSibling;l===n||(null==l?void 0:l["s-sr"]);)l=null==l?void 0:l.nextSibling;if(!l||!l["s-nr"]){o=l;break}}e=e.previousSibling}}if((!o&&t!==(n.__parentNode||n.parentNode)||(n.__nextSibling||n.nextSibling)!==o)&&n!==o){if(Ct(t,n,o,e),8===n.nodeType&&n.nodeValue.startsWith("s-nt-")){const t=m.document.createTextNode(n.nodeValue.replace(/^s-nt-/,""));t["s-hn"]=n["s-hn"],t["s-sn"]=n["s-sn"],t["s-sh"]=n["s-sh"],t["s-sr"]=n["s-sr"],t["s-ol"]=n["s-ol"],t["s-ol"]["s-nr"]=t,Ct(n.parentNode,t,n,e),n.parentNode.removeChild(n)}1===n.nodeType&&"SLOT-FB"!==n.tagName&&(n.hidden=null!=(i=n["s-ih"])&&i)}n&&"function"==typeof r["s-rf"]&&r["s-rf"](r)}else 1===n.nodeType&&(n.hidden=!0)}}if(dt&&M(a.N),y.u&=-2,Nt.length=0,!at&&!(1&u.u)&&c["s-cr"]){const t=a.N.__childNodes||a.N.childNodes;for(const n of t)if(n["s-hn"]!==Z&&!n["s-sh"])if(e&&null==n["s-ih"]&&(n["s-ih"]=null!=(r=n.hidden)&&r),1===n.nodeType)n.hidden=!0;else if(3===n.nodeType&&n.nodeValue.trim()){const t=m.document.createComment("s-nt-"+n.nodeValue);t["s-sn"]=n["s-sn"],Ct(n.parentNode,t,n,e),n.parentNode.removeChild(n)}}J=void 0,ht.forEach((t=>t())),ht.length=0,vt.forEach((t=>t())),vt.length=0})(t,n,o)}catch(n){f(n,t.$hostElement$)}return null},Ft=t=>{const n=t.$hostElement$,e=t.i,o=t.A;Vt(e,"componentDidRender",void 0,n),64&t.u?Vt(e,"componentDidUpdate",void 0,n):(t.u|=64,Ht(n),Vt(e,"componentDidLoad",void 0,n),t.H(n),o||Pt()),t.U(n),t.T&&(t.T(),t.T=void 0),512&t.u&&x((()=>Lt(t,!1))),t.u&=-517},Pt=()=>{var t;x((()=>ot(m,"appload",{detail:{namespace:"web-component-poc"}}))),(null==(t=y._)?void 0:t.size)&&y._.clear()},Vt=(t,n,e,o)=>{if(t&&t[n])try{return t[n](e)}catch(t){f(t,o)}},Ht=t=>t.classList.add("hydrated"),Ut=(t,n,e,o)=>{const l=r(t);if(!l)return;if(!l)throw Error(`Couldn't find host element for "${o.$}" 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=l.l.get(n),i=l.u,c=l.i;if(e=tt(e,o.t[n][0]),(!(8&i)||void 0===s)&&e!==s&&(!Number.isNaN(s)||!Number.isNaN(e))&&(l.l.set(n,e),2&i)){if(c.componentShouldUpdate&&!1===c.componentShouldUpdate(e,s,n)&&!(16&i))return;16&i||Lt(l,!1)}},_t=(t,n,e)=>{var o,l;const i=t.prototype;if(n.t){const c=Object.entries(null!=(o=n.t)?o:{});if(c.map((([t,[o]])=>{if(31&o||2&e&&32&o){const{get:l,set:c}=s(i,t)||{};l&&(n.t[t][0]|=2048),c&&(n.t[t][0]|=4096),(1&e||!l)&&Object.defineProperty(i,t,{get(){{if(!(2048&n.t[t][0]))return((t,n)=>r(this).l.get(n))(0,t);const e=r(this),o=e?e.i:i;if(!o)return;return o[t]}},configurable:!0,enumerable:!0}),Object.defineProperty(i,t,{set(l){const s=r(this);if(s){if(c)return void 0===(32&o?this[t]:s.$hostElement$[t])&&s.l.get(t)&&(l=s.l.get(t)),c.call(this,tt(l,o)),void Ut(this,t,l=32&o?this[t]:s.$hostElement$[t],n);{if(!(1&e&&4096&n.t[t][0]))return Ut(this,t,l,n),void(1&e&&!s.i&&s.F.push((()=>{4096&n.t[t][0]&&s.i[t]!==s.l.get(t)&&(s.i[t]=l)})));const i=()=>{const e=s.i[t];!s.l.get(t)&&e&&s.l.set(t,e),s.i[t]=tt(l,o),Ut(this,t,s.i[t],n)};s.i?i():s.F.push((()=>{i()}))}}}})}else 1&e&&64&o&&Object.defineProperty(i,t,{value(...n){var e;const o=r(this);return null==(e=null==o?void 0:o.B)?void 0:e.then((()=>{var e;return null==(e=o.i)?void 0:e[t](...n)}))}})})),1&e){const e=new Map;i.attributeChangedCallback=function(t,o,l){y.jmp((()=>{var s;const u=e.get(t),f=r(this);if(this.hasOwnProperty(u)&&(l=this[u],delete this[u]),i.hasOwnProperty(u)&&"number"==typeof this[u]&&this[u]==l)return;if(null==u){const e=null==f?void 0:f.u;if(f&&e&&!(8&e)&&l!==o){const i=f.i,r=null==(s=n.W)?void 0:s[t];null==r||r.forEach((n=>{const[[s,r]]=Object.entries(n);null!=i[s]&&(128&e||1&r)&&i[s].call(i,l,o,t)}))}return}const a=c.find((([t])=>t===u));a&&4&a[1][0]&&(l=null!==l&&"false"!==l);const d=Object.getOwnPropertyDescriptor(i,u);l==this[u]||d.get&&!d.set||(this[u]=l)}))},t.observedAttributes=Array.from(new Set([...Object.keys(null!=(l=n.W)?l:{}),...c.filter((([t,n])=>31&n[0])).map((([t,n])=>{const o=n[1]||t;return e.set(o,t),o}))]))}}return t},zt=(t,n)=>{Vt(t,"connectedCallback",void 0,n)},Bt=t=>{if(!(1&y.u)){const n=r(t);if(!n)return;const e=n.o,o=()=>{};if(1&n.u)(null==n?void 0:n.i)?zt(n.i,t):(null==n?void 0:n.q)&&n.q.then((()=>zt(n.i,t)));else{let o;n.u|=1,o=t.getAttribute(p),o&&((t,n,e,o)=>{var l,s,i,c;const u=t.shadowRoot,f=[],a=[],d=z(n,null);d.N=t,!m.document||y._&&y._.size||q(m.document.body,y._=new Map),t[p]=e,t.removeAttribute(p),o.V=W(d,f,[],null,t,t,e,a);let $=0;const h=f.length;let v;for(;$<h;$++){v=f[$];const e=v.k+"."+v.C,o=y._.get(e),s=v.N;if(u){if((null==(l=v.O)?void 0:(""+l).includes("-"))&&"slot-fb"!==v.O&&!v.N.shadowRoot){const t=r(v.N);if(t){const n=H(t.o),e=m.document.querySelector(`style[sty-id="${n}"]`);e&&null.unshift(e.cloneNode(!0))}}}else s["s-hn"]=n.toUpperCase(),"slot"===v.O&&(s["s-cr"]=t["s-cr"]);"slot"===v.O&&(v.S=v.N["s-sn"]||v.N.name||null,v.m?(v.u|=2,v.N.childNodes.length||v.m.forEach((t=>{v.N.appendChild(t.N)}))):v.u|=1),o&&o.isConnected&&(o.parentElement.shadowRoot&&""===o["s-en"]&&o.parentNode.insertBefore(s,o.nextSibling),o.parentNode.removeChild(o),u||(s["s-oo"]=parseInt(v.C))),o&&!o["s-id"]&&y._.delete(e)}const b=[],g=a.length;let w,j,S,O,N=0,k=0;for(;N<g;N++)if(w=a[N],w&&w.length)for(S=w.length,j=0;j<S;j++){if(O=w[j],b[O.hostId]||(b[O.hostId]=y._.get(O.hostId)),!b[O.hostId])continue;const t=b[O.hostId];t.shadowRoot&&O.node.parentElement!==t&&t.insertBefore(O.node,null==(i=null==(s=w[j-1])?void 0:s.node)?void 0:i.nextSibling),t.shadowRoot&&u||(O.slot["s-cr"]||(O.slot["s-cr"]=t["s-cr"],O.slot["s-cr"]=!O.slot["s-cr"]&&t.shadowRoot?t:(t.__childNodes||t.childNodes)[0]),T(O.node,O.slot,0,O.node["s-oo"]||k),(null==(c=O.node.parentElement)?void 0:c.shadowRoot)&&O.node.getAttribute&&O.node.getAttribute("slot")&&O.node.removeAttribute("slot")),k=(O.node["s-oo"]||k)+1}o.$hostElement$=t})(t,e.$,o,n),o||12&e.u&&Wt(t);{let e=t;for(;e=e.parentNode||e.host;)if(1===e.nodeType&&e.hasAttribute("s-id")&&e["s-p"]||e["s-p"]){Mt(n,n.A=e);break}}e.t&&Object.entries(e.t).map((([n,[e]])=>{if(31&e&&Object.prototype.hasOwnProperty.call(t,n)){const e=t[n];delete t[n],t[n]=e}})),(async(t,n,e)=>{let o;try{if(!(32&n.u)){if(n.u|=32,e.Y){const l=((t,n)=>{const e=t.$.replace(/-/g,"_"),o=t.Y;if(!o)return;const l=a.get(o);return l?l[e]:import(`./${o}.entry.js`).then((t=>(a.set(o,t),t[e])),(t=>{f(t,n.$hostElement$)}))
2
- /*!__STENCIL_STATIC_IMPORT_SWITCH__*/})(e,n);if(l&&"then"in l){const t=()=>{};o=await l,t()}else o=l;if(!o)throw Error(`Constructor for "${e.$}#${n.G}" was not found`);o.isProxied||(_t(o,e,2),o.isProxied=!0);const s=()=>{};n.u|=8;try{new o(n)}catch(n){f(n,t)}n.u&=-9,s(),4&e.u?n.D=!0:zt(n.i,t)}else o=t.constructor,customElements.whenDefined(t.localName).then((()=>n.u|=128));if(o&&o.style){let t;"string"==typeof o.style&&(t=o.style);const n=H(e);if(!d.has(n)){const o=()=>{};((t,n,e)=>{let o=d.get(t);g&&e?(o=o||new CSSStyleSheet,"string"==typeof o?o=n:o.replaceSync(n)):o=n,d.set(t,o)})(n,t,!!(1&e.u)),o()}}}const l=n.A,s=()=>Lt(n,!0);l&&l["s-rc"]?l["s-rc"].push(s):s()}catch(e){f(e,t),n.T&&(n.T(),n.T=void 0),n.H&&n.H(t)}})(t,n,e)}o()}},Wt=t=>{if(!m.document)return;const n=t["s-cr"]=m.document.createComment("");n["s-cn"]=!0,Ct(t,n,t.firstChild)},qt=(t,n)=>{Vt(t,"disconnectedCallback",void 0,n||t)},Yt=(t,n={})=>{var e;if(!m.document)return void console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");const o=[],l=n.exclude||[],s=m.customElements,i=m.document.head,c=i.querySelector("meta[charset]"),u=m.document.createElement("style"),f=[];let a,d=!0;Object.assign(y,n),y.p=new URL(n.resourcesUrl||"./",m.document.baseURI).href,y.u|=2;let p=!1;if(t.map((t=>{t[1].map((n=>{const e={u:n[0],$:n[1],t:n[2],J:n[3]};4&e.u&&(p=!0),e.t=n[2];const i=e.$,c=class extends HTMLElement{"s-p";"s-rc";hasRegisteredEventListeners=!1;constructor(t){super(t),((t,n)=>{const e={u:0,$hostElement$:t,o:n,l:new Map,Z:new Map};e.B=new Promise((t=>e.U=t)),e.q=new Promise((t=>e.H=t)),t["s-p"]=[],t["s-rc"]=[],e.F=[];const o=e;t.__stencil__getHostRef=()=>o})(t=this,e)}connectedCallback(){r(this)&&(this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0),a&&(clearTimeout(a),a=null),d?f.push(this):y.jmp((()=>Bt(this))))}disconnectedCallback(){y.jmp((()=>(async t=>{if(!(1&y.u)){const n=r(t);(null==n?void 0:n.i)?qt(n.i,t):(null==n?void 0:n.q)&&n.q.then((()=>qt(n.i,t)))}V.has(t)&&V.delete(t),t.shadowRoot&&V.has(t.shadowRoot)&&V.delete(t.shadowRoot)})(this))),y.raf((()=>{var t;const n=r(this);if(!n)return;const e=f.findIndex((t=>t===this));e>-1&&f.splice(e,1),(null==(t=null==n?void 0:n.V)?void 0:t.N)instanceof Node&&!n.V.N.isConnected&&delete n.V.N}))}componentOnReady(){var t;return null==(t=r(this))?void 0:t.q}};e.Y=t[0],l.includes(i)||s.get(i)||(o.push(i),s.define(i,_t(c,e,1)))}))})),o.length>0&&(p&&(u.textContent+=v),u.textContent+=o.sort()+"{visibility:hidden}.hydrated{visibility:inherit}",u.innerHTML.length)){u.setAttribute("data-styles","");const t=null!=(e=y.P)?e:P(m.document);null!=t&&u.setAttribute("nonce",t),i.insertBefore(u,c?c.nextSibling:i.firstChild)}d=!1,f.length?f.map((t=>t.connectedCallback())):y.jmp((()=>a=setTimeout(Pt,30)))},Gt=t=>y.P=t;export{Yt as b,et as c,nt as g,_ as h,b as p,c as r,Gt as s}
1
+ var t=(t=>(t.Undefined="undefined",t.Null="null",t.String="string",t.Number="number",t.SpecialNumber="number",t.Boolean="boolean",t.BigInt="bigint",t))(t||{}),n=(t=>(t.Array="array",t.Date="date",t.Map="map",t.Object="object",t.RegularExpression="regexp",t.Set="set",t.Channel="channel",t.Symbol="symbol",t))(n||{}),e="type",o="value",l="serialized:";function s(t,n,e){const o="undefined"!=typeof HTMLElement?HTMLElement.prototype:null;for(;t&&t!==o;){const o=Object.getOwnPropertyDescriptor(t,n);if(o&&(!e||o.get))return o;t=Object.getPrototypeOf(t)}}var i=(t,n)=>{var e;Object.entries(null!=(e=n.o.t)?e:{}).map((([e,[o]])=>{if(31&o||32&o){const o=t[e],l=s(Object.getPrototypeOf(t),e,!0)||Object.getOwnPropertyDescriptor(t,e);l&&Object.defineProperty(t,e,{get(){return l.get.call(this)},set(t){l.set.call(this,t)},configurable:!0,enumerable:!0}),n.l.has(e)?t[e]=n.l.get(e):void 0!==o&&(t[e]=o)}}))},r=t=>{if(t.__stencil__getHostRef)return t.__stencil__getHostRef()},c=(t,n)=>{n&&(t.__stencil__getHostRef=()=>n,n.i=t,512&n.o.u&&i(t,n))},u=(t,n)=>n in t,f=(t,n)=>(0,console.error)(t,n),a=new Map,d=new Map,p="s-id",$="sty-id",h="c-id",v="slot-fb{display:contents}slot-fb[hidden]{display:none}",m="undefined"!=typeof window?window:{},y={u:0,p:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,n,e,o)=>t.addEventListener(n,e,o),rel:(t,n,e,o)=>t.removeEventListener(n,e,o),ce:(t,n)=>new CustomEvent(t,n)},b=t=>Promise.resolve(t),g=(()=>{try{return!!m.document.adoptedStyleSheets&&(new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync)}catch(t){}return!1})(),w=!!g&&(()=>!!m.document&&Object.getOwnPropertyDescriptor(m.document.adoptedStyleSheets,"length").writable)(),j=!1,S=[],O=[],N=(t,n)=>e=>{t.push(e),j||(j=!0,n&&4&y.u?x(E):y.raf(E))},k=t=>{for(let n=0;n<t.length;n++)try{t[n](performance.now())}catch(t){f(t)}t.length=0},E=()=>{k(S),k(O),(j=S.length>0)&&y.raf(E)},x=t=>b().then(t),C=N(O,!0),M=t=>{const n=F(t,"childNodes");t.tagName&&t.tagName.includes("-")&&t["s-cr"]&&"SLOT-FB"!==t.tagName&&L(n,t.tagName).forEach((t=>{1===t.nodeType&&"SLOT-FB"===t.tagName&&(t.hidden=!!I(t,A(t),!1).length)}));let e=0;for(e=0;e<n.length;e++){const t=n[e];1===t.nodeType&&F(t,"childNodes").length&&M(t)}};function L(t,n,e){let o,l=0,s=[];for(;l<t.length;l++){if(o=t[l],o["s-sr"]&&(!n||o["s-hn"]===n)&&(void 0===e||A(o)===e)&&(s.push(o),void 0!==e))return s;s=[...s,...L(o.childNodes,n,e)]}return s}var I=(t,n,e=!0)=>{const o=[];(e&&t["s-sr"]||!t["s-sr"])&&o.push(t);let l=t;for(;l=l.nextSibling;)A(l)!==n||!e&&l["s-sr"]||o.push(l);return o},R=(t,n)=>1===t.nodeType?null===t.getAttribute("slot")&&""===n||t.getAttribute("slot")===n:t["s-sn"]===n||""===n,T=(t,n,e,o)=>{if(t["s-ol"]&&t["s-ol"].isConnected)return;const l=document.createTextNode("");if(l["s-nr"]=t,!n["s-cr"]||!n["s-cr"].parentNode)return;const s=n["s-cr"].parentNode,i=F(s,"appendChild");if(void 0!==o){l["s-oo"]=o;const t=F(s,"childNodes"),n=[l];t.forEach((t=>{t["s-nr"]&&n.push(t)})),n.sort(((t,n)=>!t["s-oo"]||t["s-oo"]<(n["s-oo"]||0)?-1:!n["s-oo"]||n["s-oo"]<t["s-oo"]?1:0)),n.forEach((t=>i.call(s,t)))}else i.call(s,l);t["s-ol"]=l,t["s-sh"]=n["s-hn"]},A=t=>"string"==typeof t["s-sn"]?t["s-sn"]:1===t.nodeType&&t.getAttribute("slot")||void 0;function D(t){if(t.assignedElements||t.assignedNodes||!t["s-sr"])return;const n=n=>function(t){const e=[],o=this["s-sn"];(null==t?void 0:t.flatten)&&console.error("\n Flattening is not supported for Stencil non-shadow slots.\n You can use `.childNodes` to nested slot fallback content.\n If you have a particular use case, please open an issue on the Stencil repo.\n ");const l=this["s-cr"].parentElement;return(l.__childNodes?l.childNodes:(t=>{const n=[];for(let e=0;e<t.length;e++){const o=t[e]["s-nr"]||void 0;o&&o.isConnected&&n.push(o)}return n})(l.childNodes)).forEach((t=>{o===A(t)&&e.push(t)})),n?e.filter((t=>1===t.nodeType)):e}.bind(t);t.assignedElements=n(!0),t.assignedNodes=n(!1)}function F(t,n){if("__"+n in t){const e=t["__"+n];return"function"!=typeof e?e:e.bind(t)}return"function"!=typeof t[n]?t[n]:t[n].bind(t)}function P(t){var n,e,o;return null!=(o=null==(e=null==(n=t.head)?void 0:n.querySelector('meta[name="csp-nonce"]'))?void 0:e.getAttribute("content"))?o:void 0}var V=new WeakMap,H=t=>"sc-"+t.$,U=t=>"object"==(t=typeof t)||"function"===t,_=(t,n,...e)=>{let o=null,l=null,s=null,i=!1,r=!1;const c=[],u=n=>{for(let e=0;e<n.length;e++)o=n[e],Array.isArray(o)?u(o):null!=o&&"boolean"!=typeof o&&((i="function"!=typeof t&&!U(o))&&(o+=""),i&&r?c[c.length-1].h+=o:c.push(i?z(null,o):o),r=i)};if(u(e),n){n.key&&(l=n.key),n.name&&(s=n.name);{const t=n.className||n.class;t&&(n.class="object"!=typeof t?t:Object.keys(t).filter((n=>t[n])).join(" "))}}const f=z(t,null);return f.v=n,c.length>0&&(f.m=c),f.j=l,f.S=s,f},z=(t,n)=>({u:0,O:t,h:null!=n?n:null,N:null,m:null,v:null,j:null,S:null}),B={},W=(t,n,e,o,l,s,i,r=[])=>{let c,u,f,a;if(1===s.nodeType){if(c=s.getAttribute(h),c&&(u=c.split("."),u[0]===i||"0"===u[0])){f=Y({u:0,k:u[0],C:u[1],M:u[2],L:u[3],O:s.tagName.toLowerCase(),N:s,v:{class:s.className||""}}),n.push(f),s.removeAttribute(h),t.m||(t.m=[]);const o=f.N.getAttribute("s-sn");"string"==typeof o&&("slot-fb"===f.O&&G(o,u[2],f,s,t,n,e,0,r),f.N["s-sn"]=o,f.N.removeAttribute("s-sn")),void 0!==f.L&&(t.m[f.L]=f),t=f}if(s.shadowRoot)for(a=s.shadowRoot.childNodes.length-1;a>=0;a--)W(t,n,e,o,l,s.shadowRoot.childNodes[a],i,r);const d=s.__childNodes||s.childNodes;for(a=d.length-1;a>=0;a--)W(t,n,e,o,l,d[a],i,r)}else if(8===s.nodeType)u=s.nodeValue.split("."),(u[1]===i||"0"===u[1])&&(c=u[0],f=Y({k:u[1],C:u[2],M:u[3],L:u[4]||"0",N:s,v:null,m:null,j:null,S:null,O:null,h:null}),"t"===c?(f.N=Q(s,3),f.N&&3===f.N.nodeType&&(f.h=f.N.textContent,n.push(f),s.remove(),i===f.k&&(t.m||(t.m=[]),t.m[f.L]=f))):"c"===c?(f.N=Q(s,8),f.N&&8===f.N.nodeType&&(n.push(f),s.remove())):f.k===i&&("s"===c?G(s["s-sn"]=u[5]||"",u[2],f,s,t,n,e,0,r):"r"===c&&(l["s-cr"]=s,s["s-cn"]=!0)));else if(t&&"style"===t.O){const n=z(null,s.textContent);n.N=s,n.L="0",t.m=[n]}return t},q=(t,n)=>{if(1===t.nodeType){const e=t[p]||t.getAttribute(p);e&&n.set(e,t);let o=0;if(t.shadowRoot)for(;o<t.shadowRoot.childNodes.length;o++)q(t.shadowRoot.childNodes[o],n);const l=t.__childNodes||t.childNodes;for(o=0;o<l.length;o++)q(l[o],n)}else if(8===t.nodeType){const e=t.nodeValue.split(".");"o"===e[0]&&(n.set(e[1]+"."+e[2],t),t.nodeValue="",t["s-en"]=e[3])}},Y=t=>({u:0,k:null,C:null,M:null,L:"0",N:null,v:null,m:null,j:null,S:null,O:null,h:null,...t});function G(t,n,e,o,l,s,i,r,c){o["s-sr"]=!0,e.S=t||null,e.O="slot";const u=(null==l?void 0:l.N)?l.N["s-id"]||l.N.getAttribute("s-id"):"";{const s=e.N,i=u&&u!==e.k&&l.N.shadowRoot;K(c,n,t,o,i?u:e.k),D(o),i&&l.N.insertBefore(s,l.N.children[0])}s.push(e),i.push(e),l.m||(l.m=[]),l.m[e.L]=e}var J,Z,K=(t,n,e,o,l)=>{var s,i;let r=o.nextSibling;if(t[n]=t[n]||[],r&&!(null==(s=r.nodeValue)?void 0:s.startsWith("s.")))do{!r||(r.getAttribute&&r.getAttribute("slot")||r["s-sn"])!==e&&(""!==e||r["s-sn"]||r.getAttribute&&r.getAttribute("slot")||8!==r.nodeType&&3!==r.nodeType)||(r["s-sn"]=e,t[n].push({slot:o,node:r,hostId:l})),r=null==r?void 0:r.nextSibling}while(r&&!(null==(i=r.nodeValue)?void 0:i.startsWith("s.")))},Q=(t,n)=>{let e=t;do{e=e.nextSibling}while(e&&(e.nodeType!==n||!e.nodeValue));return e},X=class l{static fromLocalValue(t){const n=t[e],s=o in t?t[o]:void 0;switch(n){case"string":case"boolean":return s;case"bigint":return BigInt(s);case"undefined":return;case"null":return null;case"number":return"NaN"===s?NaN:"-0"===s?-0:"Infinity"===s?1/0:"-Infinity"===s?-1/0:s;case"array":return s.map((t=>l.fromLocalValue(t)));case"date":return new Date(s);case"map":const t=new Map;for(const[n,e]of s){const o="object"==typeof n&&null!==n?l.fromLocalValue(n):n,s=l.fromLocalValue(e);t.set(o,s)}return t;case"object":const e={};for(const[t,n]of s)e[t]=l.fromLocalValue(n);return e;case"regexp":const{pattern:o,flags:i}=s;return RegExp(o,i);case"set":const r=new Set;for(const t of s)r.add(l.fromLocalValue(t));return r;case"symbol":return Symbol(s);default:throw Error("Unsupported type: "+n)}}static fromLocalValueArray(t){return t.map((t=>l.fromLocalValue(t)))}static isLocalValueObject(l){if("object"!=typeof l||null===l)return!1;if(!l.hasOwnProperty(e))return!1;const s=l[e];return!!Object.values({...t,...n}).includes(s)&&("null"===s||"undefined"===s||l.hasOwnProperty(o))}},tt=(t,n)=>"string"==typeof t&&t.startsWith(l)?t=function(t){return"string"==typeof t&&t.startsWith(l)?X.fromLocalValue(JSON.parse(atob(t.slice(11)))):t}(t):null==t||U(t)?t:4&n?"false"!==t&&(""===t||!!t):2&n?"string"==typeof t?parseFloat(t):"number"==typeof t?t:NaN:1&n?t+"":t,nt=t=>{var n;return null==(n=r(t))?void 0:n.$hostElement$},et=(t,n)=>{const e=nt(t);return{emit:t=>ot(e,n,{bubbles:!0,composed:!0,cancelable:!0,detail:t})}},ot=(t,n,e)=>{const o=y.ce(n,e);return t.dispatchEvent(o),o},lt=(t,n,e,o,l,s,i)=>{if(e===o)return;let c=u(t,n),f=n.toLowerCase();if("class"===n){const n=t.classList,l=it(e);let s=it(o);if((t["s-si"]||t["s-sc"])&&i){const e=t["s-sc"]||t["s-si"];s.push(e),l.forEach((t=>{t.startsWith(e)&&s.push(t)})),s=[...new Set(s)].filter((t=>t)),n.add(...s)}else n.remove(...l.filter((t=>t&&!s.includes(t)))),n.add(...s.filter((t=>t&&!l.includes(t))))}else if("style"===n){for(const n in e)o&&null!=o[n]||(n.includes("-")?t.style.removeProperty(n):t.style[n]="");for(const n in o)e&&o[n]===e[n]||(n.includes("-")?t.style.setProperty(n,o[n]):t.style[n]=o[n])}else if("key"===n);else if("ref"===n)o&&xt(o,t);else if(c||"o"!==n[0]||"n"!==n[1]){if("a"===n[0]&&n.startsWith("attr:")){const e=n.slice(5);let l;{const n=r(t);if(n&&n.o&&n.o.t){const t=n.o.t[e];t&&t[1]&&(l=t[1])}}return l||(l=e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),void(null==o||!1===o?!1===o&&""!==t.getAttribute(l)||t.removeAttribute(l):t.setAttribute(l,!0===o?"":o))}if("p"===n[0]&&n.startsWith("prop:")){const e=n.slice(5);try{t[e]=o}catch(t){}return}{const i=U(o);if((c||i&&null!==o)&&!l)try{if(t.tagName.includes("-"))t[n]!==o&&(t[n]=o);else{const l=null==o?"":o;"list"===n?c=!1:null!=e&&t[n]===l||("function"==typeof t.__lookupSetter__(n)?t[n]=l:t.setAttribute(n,l))}}catch(t){}null==o||!1===o?!1===o&&""!==t.getAttribute(n)||t.removeAttribute(n):(!c||4&s||l)&&!i&&1===t.nodeType&&t.setAttribute(n,o=!0===o?"":o)}}else if(n="-"===n[2]?n.slice(3):u(m,f)?f.slice(2):f[2]+n.slice(3),e||o){const l=n.endsWith(rt);n=n.replace(ct,""),e&&y.rel(t,n,e,l),o&&y.ael(t,n,o,l)}},st=/\s/,it=t=>("object"==typeof t&&t&&"baseVal"in t&&(t=t.baseVal),t&&"string"==typeof t?t.split(st):[]),rt="Capture",ct=RegExp(rt+"$"),ut=(t,n,e,o)=>{const l=11===n.N.nodeType&&n.N.host?n.N.host:n.N,s=t&&t.v||{},i=n.v||{};for(const t of ft(Object.keys(s)))t in i||lt(l,t,s[t],void 0,e,n.u,o);for(const t of ft(Object.keys(i)))lt(l,t,s[t],i[t],e,n.u,o)};function ft(t){return t.includes("ref")?[...t.filter((t=>"ref"!==t)),"ref"]:t}var at=!1,dt=!1,pt=!1,$t=!1,ht=[],vt=[],mt=(t,n,e)=>{var o;const l=n.m[e];let s,i,r,c=0;if(at||(pt=!0,"slot"===l.O&&(l.u|=l.m?2:1)),null!=l.h)s=l.N=m.document.createTextNode(l.h);else if(1&l.u)s=l.N=m.document.createTextNode(""),ut(null,l,$t);else{if($t||($t="svg"===l.O),!m.document)throw Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.");if(s=l.N=m.document.createElementNS($t?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!at&&2&l.u?"slot-fb":l.O),$t&&"foreignObject"===l.O&&($t=!1),ut(null,l,$t),l.m){const n="template"===l.O?s.content:s;for(c=0;c<l.m.length;++c)i=mt(t,l,c),i&&n.appendChild(i)}"svg"===l.O?$t=!1:"foreignObject"===s.tagName&&($t=!0)}return s["s-hn"]=Z,3&l.u&&(s["s-sr"]=!0,s["s-cr"]=J,s["s-sn"]=l.S||"",s["s-rf"]=null==(o=l.v)?void 0:o.ref,D(s),r=t&&t.m&&t.m[e],r&&r.O===l.O&&t.N&&yt(t.N)),s},yt=t=>{y.u|=1;const n=t.closest(Z.toLowerCase());if(null!=n){const e=Array.from(n.__childNodes||n.childNodes).find((t=>t["s-cr"])),o=Array.from(t.__childNodes||t.childNodes);for(const t of e?o.reverse():o)null!=t["s-sh"]&&(Ct(n,t,null!=e?e:null),t["s-sh"]=void 0,pt=!0)}y.u&=-2},bt=(t,n)=>{y.u|=1;const e=Array.from(t.__childNodes||t.childNodes);if(t["s-sr"]){let n=t;for(;n=n.nextSibling;)n&&n["s-sn"]===t["s-sn"]&&n["s-sh"]===Z&&e.push(n)}for(let t=e.length-1;t>=0;t--){const o=e[t];o["s-hn"]!==Z&&o["s-ol"]&&(Ct(St(o).parentNode,o,St(o)),o["s-ol"].remove(),o["s-ol"]=void 0,o["s-sh"]=void 0,pt=!0),n&&bt(o,n)}y.u&=-2},gt=(t,n,e,o,l,s)=>{let i,r=t["s-cr"]&&t["s-cr"].parentNode||t;for("template"===e.O&&(r=r.content);l<=s;++l)o[l]&&(i=mt(null,e,l),i&&(o[l].N=i,Ct(r,i,St(n))))},wt=(t,n,e)=>{for(let o=n;o<=e;++o){const n=t[o];if(n){const t=n.N;Et(n),t&&(dt=!0,t["s-ol"]?t["s-ol"].remove():bt(t,!0),t.remove())}}},jt=(t,n,e=!1)=>t.O===n.O&&("slot"===t.O?t.S===n.S:e?(e&&!t.j&&n.j&&(t.j=n.j),!0):t.j===n.j),St=t=>t&&t["s-ol"]||t,Ot=(t,n,e=!1)=>{const o=n.N=t.N,l=t.m,s=n.m,i=n.O,r=n.h;let c;null==r?($t="svg"===i||"foreignObject"!==i&&$t,"slot"!==i||at||t.S!==n.S&&(n.N["s-sn"]=n.S||"",yt(n.N.parentElement)),ut(t,n,$t,e),null!==l&&null!==s?((t,n,e,o,l=!1)=>{let s,i,r=0,c=0,u=0,f=0,a=n.length-1,d=n[0],p=n[a],$=o.length-1,h=o[0],v=o[$];const m="template"===e.O?t.content:t;for(;r<=a&&c<=$;)if(null==d)d=n[++r];else if(null==p)p=n[--a];else if(null==h)h=o[++c];else if(null==v)v=o[--$];else if(jt(d,h,l))Ot(d,h,l),d=n[++r],h=o[++c];else if(jt(p,v,l))Ot(p,v,l),p=n[--a],v=o[--$];else if(jt(d,v,l))"slot"!==d.O&&"slot"!==v.O||bt(d.N.parentNode,!1),Ot(d,v,l),Ct(m,d.N,p.N.nextSibling),d=n[++r],v=o[--$];else if(jt(p,h,l))"slot"!==d.O&&"slot"!==v.O||bt(p.N.parentNode,!1),Ot(p,h,l),Ct(m,p.N,d.N),p=n[--a],h=o[++c];else{for(u=-1,f=r;f<=a;++f)if(n[f]&&null!==n[f].j&&n[f].j===h.j){u=f;break}u>=0?(i=n[u],i.O!==h.O?s=mt(n&&n[c],e,u):(Ot(i,h,l),n[u]=void 0,s=i.N),h=o[++c]):(s=mt(n&&n[c],e,c),h=o[++c]),s&&Ct(St(d.N).parentNode,s,St(d.N))}r>a?gt(t,null==o[$+1]?null:o[$+1].N,e,o,c,$):c>$&&wt(n,r,a)})(o,l,n,s,e):null!==s?(null!==t.h&&(o.textContent=""),gt(o,null,n,s,0,s.length-1)):e||null===l?e&&null!==l&&null===s&&(n.m=l):wt(l,0,l.length-1),$t&&"svg"===i&&($t=!1)):(c=o["s-cr"])?c.parentNode.textContent=r:t.h!==r&&(o.data=r)},Nt=[],kt=t=>{let n,e,o;const l=t.__childNodes||t.childNodes;for(const t of l){if(t["s-sr"]&&(n=t["s-cr"])&&n.parentNode){e=n.parentNode.__childNodes||n.parentNode.childNodes;const l=t["s-sn"];for(o=e.length-1;o>=0;o--)if(n=e[o],!(n["s-cn"]||n["s-nr"]||n["s-hn"]===t["s-hn"]||n["s-sh"]&&n["s-sh"]===t["s-hn"]))if(R(n,l)){let e=Nt.find((t=>t.I===n));dt=!0,n["s-sn"]=n["s-sn"]||l,e?(e.I["s-sh"]=t["s-hn"],e.R=t):(n["s-sh"]=t["s-hn"],Nt.push({R:t,I:n})),n["s-sr"]&&Nt.map((t=>{R(t.I,n["s-sn"])&&(e=Nt.find((t=>t.I===n)),e&&!t.R&&(t.R=e.R))}))}else Nt.some((t=>t.I===n))||Nt.push({I:n})}1===t.nodeType&&kt(t)}},Et=t=>{t.v&&t.v.ref&&ht.push((()=>t.v.ref(null))),t.m&&t.m.map(Et)},xt=(t,n)=>{vt.push((()=>t(n)))},Ct=(t,n,e,o)=>{if("string"==typeof n["s-sn"]){t.insertBefore(n,e);const{slotNode:l}=function(t,n){var e;if(!(n=n||(null==(e=t["s-ol"])?void 0:e.parentElement)))return{slotNode:null,slotName:""};const o=t["s-sn"]=A(t)||"";return{slotNode:L(F(n,"childNodes"),n.tagName,o)[0],slotName:o}}(n);return l&&!o&&function(t){t.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1}))}(l),n}return t.__insertBefore?t.__insertBefore(n,e):null==t?void 0:t.insertBefore(n,e)},Mt=(t,n)=>{if(n&&!t.T&&n["s-p"]){const e=n["s-p"].push(new Promise((o=>t.T=()=>{n["s-p"].splice(e-1,1),o()})))}},Lt=(t,n)=>{if(t.u|=16,4&t.u)return void(t.u|=512);Mt(t,t.A);const e=()=>It(t,n);if(!n)return C(e);queueMicrotask((()=>{e()}))},It=(t,n)=>{const e=t.$hostElement$,o=t.i;if(!o)throw Error(`Can't render component <${e.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 n?(t.D&&(t.D=!1,Vt(o,"connectedCallback",void 0,e)),t.u|=256,t.F&&(t.F.map((([t,n])=>Vt(o,t,n,e))),t.F=void 0),t.P.length&&t.P.forEach((t=>t(e))),l=Vt(o,"componentWillLoad",void 0,e)):l=Vt(o,"componentWillUpdate",void 0,e),l=Rt(l,(()=>Vt(o,"componentWillRender",void 0,e))),Rt(l,(()=>At(t,o,n)))},Rt=(t,n)=>Tt(t)?t.then(n).catch((t=>{console.error(t),n()})):n(),Tt=t=>t instanceof Promise||t&&t.then&&"function"==typeof t.then,At=async(t,n,e)=>{var o;const l=t.$hostElement$,s=l["s-rc"];e&&(t=>{const n=t.o;((t,n)=>{var e,o,l;const s=H(n),i=d.get(s);if(!m.document)return s;if(t=11===t.nodeType?t:m.document,i)if("string"==typeof i){let l,r=V.get(t=t.head||t);r||V.set(t,r=new Set);const c=t.querySelector(`[${$}="${s}"]`);if(c)c.textContent=i;else if(!r.has(s)){l=m.document.createElement("style"),l.textContent=i;const c=null!=(e=y.V)?e:P(m.document);if(null!=c&&l.setAttribute("nonce",c),!(1&n.u))if("HEAD"===t.nodeName){const n=t.querySelectorAll("link[rel=preconnect]"),e=n.length>0?n[n.length-1].nextSibling:t.querySelector("style");t.insertBefore(l,(null==e?void 0:e.parentNode)===t?e:null)}else if("host"in t)if(g){const n=new(null!=(o=t.defaultView)?o:t.ownerDocument.defaultView).CSSStyleSheet;n.replaceSync(i),w?t.adoptedStyleSheets.unshift(n):t.adoptedStyleSheets=[n,...t.adoptedStyleSheets]}else{const n=t.querySelector("style");n?n.textContent=i+n.textContent:t.prepend(l)}else t.append(l);1&n.u&&t.insertBefore(l,null),4&n.u&&(l.textContent+=v),r&&r.add(s)}}else{let n=V.get(t);if(n||V.set(t,n=new Set),!n.has(s)){const e=null!=(l=t.defaultView)?l:t.ownerDocument.defaultView;let o;if(i.constructor===e.CSSStyleSheet)o=i;else{o=new e.CSSStyleSheet;for(let t=0;t<i.cssRules.length;t++)o.insertRule(i.cssRules[t].cssText,t)}if(w?t.adoptedStyleSheets.push(o):t.adoptedStyleSheets=[...t.adoptedStyleSheets,o],n.add(s),"host"in t){const n=t.querySelector(`[${$}="${s}"]`);n&&C((()=>n.remove()))}}}})(t.$hostElement$.getRootNode(),n)})(t);Dt(t,n,l,e),s&&(s.map((t=>t())),l["s-rc"]=void 0);{const n=null!=(o=l["s-p"])?o:[],e=()=>Ft(t);0===n.length?e():(Promise.all(n).then(e).catch(e),t.u|=4,n.length=0)}},Dt=(t,n,e,o)=>{try{n=n.render(),t.u&=-17,t.u|=2,((t,n,e=!1)=>{var o,l,s,i,r;const c=t.$hostElement$,u=t.o,f=t.H||z(null,null),a=(t=>t&&t.O===B)(n)?n:_(null,null,n);if(Z=c.tagName,e&&a.v)for(const t of Object.keys(a.v))c.hasAttribute(t)&&!["key","ref","style","class"].includes(t)&&(a.v[t]=c[t]);if(a.O=null,a.u|=4,t.H=a,a.N=f.N=c,at=!1,J=c["s-cr"],dt=!1,Ot(f,a,e),y.u|=1,pt){kt(a.N);for(const t of Nt){const n=t.I;if(!n["s-ol"]&&m.document){const t=m.document.createTextNode("");t["s-nr"]=n,Ct(n.parentNode,n["s-ol"]=t,n,e)}}for(const t of Nt){const n=t.I,r=t.R;if(1===n.nodeType&&e&&(n["s-ih"]=null!=(o=n.hidden)&&o),r){const t=r.parentNode;let o=r.nextSibling;if(o&&1===o.nodeType){let e=null==(l=n["s-ol"])?void 0:l.previousSibling;for(;e;){let l=null!=(s=e["s-nr"])?s:null;if(l&&l["s-sn"]===n["s-sn"]&&t===(l.__parentNode||l.parentNode)){for(l=l.nextSibling;l===n||(null==l?void 0:l["s-sr"]);)l=null==l?void 0:l.nextSibling;if(!l||!l["s-nr"]){o=l;break}}e=e.previousSibling}}if((!o&&t!==(n.__parentNode||n.parentNode)||(n.__nextSibling||n.nextSibling)!==o)&&n!==o){if(Ct(t,n,o,e),8===n.nodeType&&n.nodeValue.startsWith("s-nt-")){const t=m.document.createTextNode(n.nodeValue.replace(/^s-nt-/,""));t["s-hn"]=n["s-hn"],t["s-sn"]=n["s-sn"],t["s-sh"]=n["s-sh"],t["s-sr"]=n["s-sr"],t["s-ol"]=n["s-ol"],t["s-ol"]["s-nr"]=t,Ct(n.parentNode,t,n,e),n.parentNode.removeChild(n)}1===n.nodeType&&"SLOT-FB"!==n.tagName&&(n.hidden=null!=(i=n["s-ih"])&&i)}n&&"function"==typeof r["s-rf"]&&r["s-rf"](r)}else 1===n.nodeType&&(n.hidden=!0)}}if(dt&&M(a.N),y.u&=-2,Nt.length=0,!at&&!(1&u.u)&&c["s-cr"]){const t=a.N.__childNodes||a.N.childNodes;for(const n of t)if(n["s-hn"]!==Z&&!n["s-sh"])if(e&&null==n["s-ih"]&&(n["s-ih"]=null!=(r=n.hidden)&&r),1===n.nodeType)n.hidden=!0;else if(3===n.nodeType&&n.nodeValue.trim()){const t=m.document.createComment("s-nt-"+n.nodeValue);t["s-sn"]=n["s-sn"],Ct(n.parentNode,t,n,e),n.parentNode.removeChild(n)}}J=void 0,ht.forEach((t=>t())),ht.length=0,vt.forEach((t=>t())),vt.length=0})(t,n,o)}catch(n){f(n,t.$hostElement$)}return null},Ft=t=>{const n=t.$hostElement$,e=t.i,o=t.A;Vt(e,"componentDidRender",void 0,n),64&t.u?Vt(e,"componentDidUpdate",void 0,n):(t.u|=64,Ht(n),Vt(e,"componentDidLoad",void 0,n),t.U(n),o||Pt()),t._(n),t.T&&(t.T(),t.T=void 0),512&t.u&&x((()=>Lt(t,!1))),t.u&=-517},Pt=()=>{var t;x((()=>ot(m,"appload",{detail:{namespace:"web-component-poc"}}))),(null==(t=y.B)?void 0:t.size)&&y.B.clear()},Vt=(t,n,e,o)=>{if(t&&t[n])try{return t[n](e)}catch(t){f(t,o)}},Ht=t=>t.classList.add("hydrated"),Ut=(t,n,e,o)=>{const l=r(t);if(!l)return;if(!l)throw Error(`Couldn't find host element for "${o.$}" 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=l.l.get(n),i=l.u,c=l.i;if(e=tt(e,o.t[n][0]),(!(8&i)||void 0===s)&&e!==s&&(!Number.isNaN(s)||!Number.isNaN(e))&&(l.l.set(n,e),2&i)){if(c.componentShouldUpdate&&!1===c.componentShouldUpdate(e,s,n)&&!(16&i))return;16&i||Lt(l,!1)}},_t=(t,n,e)=>{var o,l;const i=t.prototype;if(n.t){const c=Object.entries(null!=(o=n.t)?o:{});if(c.map((([t,[o]])=>{if(31&o||2&e&&32&o){const{get:l,set:c}=s(i,t)||{};l&&(n.t[t][0]|=2048),c&&(n.t[t][0]|=4096),(1&e||!l)&&Object.defineProperty(i,t,{get(){{if(!(2048&n.t[t][0]))return((t,n)=>r(this).l.get(n))(0,t);const e=r(this),o=e?e.i:i;if(!o)return;return o[t]}},configurable:!0,enumerable:!0}),Object.defineProperty(i,t,{set(l){const s=r(this);if(s){if(c)return void 0===(32&o?this[t]:s.$hostElement$[t])&&s.l.get(t)&&(l=s.l.get(t)),c.call(this,tt(l,o)),void Ut(this,t,l=32&o?this[t]:s.$hostElement$[t],n);{if(!(1&e&&4096&n.t[t][0]))return Ut(this,t,l,n),void(1&e&&!s.i&&s.P.push((()=>{4096&n.t[t][0]&&s.i[t]!==s.l.get(t)&&(s.i[t]=l)})));const i=()=>{const e=s.i[t];!s.l.get(t)&&e&&s.l.set(t,e),s.i[t]=tt(l,o),Ut(this,t,s.i[t],n)};s.i?i():s.P.push((()=>{i()}))}}}})}else 1&e&&64&o&&Object.defineProperty(i,t,{value(...n){var e;const o=r(this);return null==(e=null==o?void 0:o.W)?void 0:e.then((()=>{var e;return null==(e=o.i)?void 0:e[t](...n)}))}})})),1&e){const e=new Map;i.attributeChangedCallback=function(t,o,l){y.jmp((()=>{var s;const u=e.get(t),f=r(this);if(this.hasOwnProperty(u)&&(l=this[u],delete this[u]),i.hasOwnProperty(u)&&"number"==typeof this[u]&&this[u]==l)return;if(null==u){const e=null==f?void 0:f.u;if(f&&e&&!(8&e)&&l!==o){const i=f.i,r=null==(s=n.q)?void 0:s[t];null==r||r.forEach((n=>{const[[s,r]]=Object.entries(n);null!=i[s]&&(128&e||1&r)&&i[s].call(i,l,o,t)}))}return}const a=c.find((([t])=>t===u));a&&4&a[1][0]&&(l=null!==l&&"false"!==l);const d=Object.getOwnPropertyDescriptor(i,u);l==this[u]||d.get&&!d.set||(this[u]=l)}))},t.observedAttributes=Array.from(new Set([...Object.keys(null!=(l=n.q)?l:{}),...c.filter((([t,n])=>31&n[0])).map((([t,n])=>{const o=n[1]||t;return e.set(o,t),o}))]))}}return t},zt=(t,n)=>{Vt(t,"connectedCallback",void 0,n)},Bt=t=>{if(!(1&y.u)){const n=r(t);if(!n)return;const e=n.o,o=()=>{};if(1&n.u)Gt(t,n,e.Y),(null==n?void 0:n.i)?zt(n.i,t):(null==n?void 0:n.G)&&n.G.then((()=>zt(n.i,t)));else{let o;n.u|=1,o=t.getAttribute(p),o&&((t,n,e,o)=>{var l,s,i,c;const u=t.shadowRoot,f=[],a=[],d=z(n,null);d.N=t,!m.document||y.B&&y.B.size||q(m.document.body,y.B=new Map),t[p]=e,t.removeAttribute(p),o.H=W(d,f,[],null,t,t,e,a);let $=0;const h=f.length;let v;for(;$<h;$++){v=f[$];const e=v.k+"."+v.C,o=y.B.get(e),s=v.N;if(u){if((null==(l=v.O)?void 0:(""+l).includes("-"))&&"slot-fb"!==v.O&&!v.N.shadowRoot){const t=r(v.N);if(t){const n=H(t.o),e=m.document.querySelector(`style[sty-id="${n}"]`);e&&null.unshift(e.cloneNode(!0))}}}else s["s-hn"]=n.toUpperCase(),"slot"===v.O&&(s["s-cr"]=t["s-cr"]);"slot"===v.O&&(v.S=v.N["s-sn"]||v.N.name||null,v.m?(v.u|=2,v.N.childNodes.length||v.m.forEach((t=>{v.N.appendChild(t.N)}))):v.u|=1),o&&o.isConnected&&(o.parentElement.shadowRoot&&""===o["s-en"]&&o.parentNode.insertBefore(s,o.nextSibling),o.parentNode.removeChild(o),u||(s["s-oo"]=parseInt(v.C))),o&&!o["s-id"]&&y.B.delete(e)}const b=[],g=a.length;let w,j,S,O,N=0,k=0;for(;N<g;N++)if(w=a[N],w&&w.length)for(S=w.length,j=0;j<S;j++){if(O=w[j],b[O.hostId]||(b[O.hostId]=y.B.get(O.hostId)),!b[O.hostId])continue;const t=b[O.hostId];t.shadowRoot&&O.node.parentElement!==t&&t.insertBefore(O.node,null==(i=null==(s=w[j-1])?void 0:s.node)?void 0:i.nextSibling),t.shadowRoot&&u||(O.slot["s-cr"]||(O.slot["s-cr"]=t["s-cr"],O.slot["s-cr"]=!O.slot["s-cr"]&&t.shadowRoot?t:(t.__childNodes||t.childNodes)[0]),T(O.node,O.slot,0,O.node["s-oo"]||k),(null==(c=O.node.parentElement)?void 0:c.shadowRoot)&&O.node.getAttribute&&O.node.getAttribute("slot")&&O.node.removeAttribute("slot")),k=(O.node["s-oo"]||k)+1}o.$hostElement$=t})(t,e.$,o,n),o||12&e.u&&Wt(t);{let e=t;for(;e=e.parentNode||e.host;)if(1===e.nodeType&&e.hasAttribute("s-id")&&e["s-p"]||e["s-p"]){Mt(n,n.A=e);break}}e.t&&Object.entries(e.t).map((([n,[e]])=>{if(31&e&&Object.prototype.hasOwnProperty.call(t,n)){const e=t[n];delete t[n],t[n]=e}})),(async(t,n,e)=>{let o;try{if(!(32&n.u)){if(n.u|=32,e.J){const l=((t,n)=>{const e=t.$.replace(/-/g,"_"),o=t.J;if(!o)return;const l=a.get(o);return l?l[e]:import(`./${o}.entry.js`).then((t=>(a.set(o,t),t[e])),(t=>{f(t,n.$hostElement$)}))
2
+ /*!__STENCIL_STATIC_IMPORT_SWITCH__*/})(e,n);if(l&&"then"in l){const t=()=>{};o=await l,t()}else o=l;if(!o)throw Error(`Constructor for "${e.$}#${n.Z}" was not found`);o.isProxied||(_t(o,e,2),o.isProxied=!0);const s=()=>{};n.u|=8;try{new o(n)}catch(n){f(n,t)}n.u&=-9,s(),4&e.u?n.D=!0:zt(n.i,t)}else o=t.constructor,customElements.whenDefined(t.localName).then((()=>n.u|=128));if(o&&o.style){let t;"string"==typeof o.style&&(t=o.style);const n=H(e);if(!d.has(n)){const o=()=>{};((t,n,e)=>{let o=d.get(t);g&&e?(o=o||new CSSStyleSheet,"string"==typeof o?o=n:o.replaceSync(n)):o=n,d.set(t,o)})(n,t,!!(1&e.u)),o()}}}const l=n.A,s=()=>Lt(n,!0);l&&l["s-rc"]?l["s-rc"].push(s):s()}catch(e){f(e,t),n.T&&(n.T(),n.T=void 0),n.U&&n.U(t)}})(t,n,e)}o()}},Wt=t=>{if(!m.document)return;const n=t["s-cr"]=m.document.createComment("");n["s-cn"]=!0,Ct(t,n,t.firstChild)},qt=(t,n)=>{Vt(t,"disconnectedCallback",void 0,n||t)},Yt=(t,n={})=>{var e;if(!m.document)return void console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");const o=[],l=n.exclude||[],s=m.customElements,i=m.document.head,c=i.querySelector("meta[charset]"),u=m.document.createElement("style"),f=[];let a,d=!0;Object.assign(y,n),y.p=new URL(n.resourcesUrl||"./",m.document.baseURI).href,y.u|=2;let p=!1;if(t.map((t=>{t[1].map((n=>{const e={u:n[0],$:n[1],t:n[2],Y:n[3]};4&e.u&&(p=!0),e.t=n[2],e.Y=n[3];const i=e.$,c=class extends HTMLElement{"s-p";"s-rc";hasRegisteredEventListeners=!1;constructor(t){super(t),((t,n)=>{const e={u:0,$hostElement$:t,o:n,l:new Map,K:new Map};e.W=new Promise((t=>e._=t)),e.G=new Promise((t=>e.U=t)),t["s-p"]=[],t["s-rc"]=[],e.P=[];const o=e;t.__stencil__getHostRef=()=>o})(t=this,e)}connectedCallback(){const t=r(this);t&&(this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0,Gt(this,t,e.Y)),a&&(clearTimeout(a),a=null),d?f.push(this):y.jmp((()=>Bt(this))))}disconnectedCallback(){y.jmp((()=>(async t=>{if(!(1&y.u)){const n=r(t);(null==n?void 0:n.X)&&(n.X.map((t=>t())),n.X=void 0),(null==n?void 0:n.i)?qt(n.i,t):(null==n?void 0:n.G)&&n.G.then((()=>qt(n.i,t)))}V.has(t)&&V.delete(t),t.shadowRoot&&V.has(t.shadowRoot)&&V.delete(t.shadowRoot)})(this))),y.raf((()=>{var t;const n=r(this);if(!n)return;const e=f.findIndex((t=>t===this));e>-1&&f.splice(e,1),(null==(t=null==n?void 0:n.H)?void 0:t.N)instanceof Node&&!n.H.N.isConnected&&delete n.H.N}))}componentOnReady(){var t;return null==(t=r(this))?void 0:t.G}};e.J=t[0],l.includes(i)||s.get(i)||(o.push(i),s.define(i,_t(c,e,1)))}))})),o.length>0&&(p&&(u.textContent+=v),u.textContent+=o.sort()+"{visibility:hidden}.hydrated{visibility:inherit}",u.innerHTML.length)){u.setAttribute("data-styles","");const t=null!=(e=y.V)?e:P(m.document);null!=t&&u.setAttribute("nonce",t),i.insertBefore(u,c?c.nextSibling:i.firstChild)}d=!1,f.length?f.map((t=>t.connectedCallback())):y.jmp((()=>a=setTimeout(Pt,30)))},Gt=(t,n,e)=>{e&&m.document&&e.map((([e,o,l])=>{const s=t,i=Jt(n,l),r=Zt(e);y.ael(s,o,i,r),(n.X=n.X||[]).push((()=>y.rel(s,o,i,r)))}))},Jt=(t,n)=>e=>{var o;try{256&t.u?null==(o=t.i)||o[n](e):(t.F=t.F||[]).push([n,e])}catch(n){f(n,t.$hostElement$)}},Zt=t=>({passive:!!(1&t),capture:!!(2&t)}),Kt=t=>y.V=t;export{Yt as b,et as c,nt as g,_ as h,b as p,c as r,Kt as s}
@@ -1 +1 @@
1
- import{p as e,b as t}from"./p-Dk5CvWmb.js";export{s as setNonce}from"./p-Dk5CvWmb.js";import{g as o}from"./p-DQuL1Twl.js";(()=>{const t=import.meta.url,o={};return""!==t&&(o.resourcesUrl=new URL(".",t).href),e(o)})().then((async e=>(await o(),t([["p-52c85341",[[512,"job-card",{job:[1],index:[2],applyButtonText:[1,"apply-button-text"],showBrand:[4,"show-brand"],showReference:[4,"show-reference"],showEmploymentType:[4,"show-employment-type"],multiLocationText:[1,"multi-location-text"],remoteLocationText:[1,"remote-location-text"],enableKilometers:[4,"enable-kilometers"],showCommuteTime:[4,"show-commute-time"],streetFormat:[1,"street-format"],rootClass:[1,"root-class"],extraFieldsConfig:[16]}]]],["p-96761988",[[512,"jobs-list-only",{mockData:[4,"mock-data"],jobs:[1],loading:[4],totalJob:[2,"total-job"],noResultsLine1:[1,"no-results-line-1"],noResultsLine2:[1,"no-results-line-2"],applyButtonText:[1,"apply-button-text"],showBrand:[4,"show-brand"],showReference:[4,"show-reference"],showEmploymentType:[4,"show-employment-type"],streetFormat:[1,"street-format"],multiLocationText:[1,"multi-location-text"],remoteLocationText:[1,"remote-location-text"],enableKilometers:[4,"enable-kilometers"],rootClass:[1,"root-class"],showSuggestions:[4,"show-suggestions"],clearResultSuggestionsTitleText:[1,"clear-result-suggestions-title-text"],clearResultSuggestionsLine1:[1,"clear-result-suggestions-line-1"],clearResultSuggestionsLine2:[1,"clear-result-suggestions-line-2"],clearResultSuggestionsLine3:[1,"clear-result-suggestions-line-3"],clearResultSuggestionsLine4:[1,"clear-result-suggestions-line-4"]}],[772,"fast-button",{variant:[1],type:[1],disabled:[4]}],[772,"fast-carousel",{items:[1],loop:[4],class:[1],controlClass:[1,"control-class"],slideClass:[1,"slide-class"],itemClass:[1,"item-class"],scrollPrev:[64],scrollNext:[64],goToSlide:[64],getEmbla:[64]}],[512,"jobs-item",{job:[16],index:[2],applyButtonText:[1,"apply-button-text"],showBrand:[4,"show-brand"],showReference:[4,"show-reference"],showEmploymentType:[4,"show-employment-type"],multiLocationText:[1,"multi-location-text"],remoteLocationText:[1,"remote-location-text"],enableKilometers:[4,"enable-kilometers"]}]]]],e))));
1
+ import{p as e,b as t}from"./p-BqjrT3zA.js";export{s as setNonce}from"./p-BqjrT3zA.js";import{g as o}from"./p-DQuL1Twl.js";(()=>{const t=import.meta.url,o={};return""!==t&&(o.resourcesUrl=new URL(".",t).href),e(o)})().then((async e=>(await o(),t([["p-309a490b",[[772,"fast-carousel",{items:[1],loop:[4],class:[1],controlClass:[1,"control-class"],slideClass:[1,"slide-class"],itemClass:[1,"item-class"],scrollPrev:[64],scrollNext:[64],goToSlide:[64],getEmbla:[64]}]]],["p-14247159",[[512,"job-card",{job:[1],index:[2],applyButtonText:[1,"apply-button-text"],showBrand:[4,"show-brand"],showReference:[4,"show-reference"],showEmploymentType:[4,"show-employment-type"],multiLocationText:[1,"multi-location-text"],remoteLocationText:[1,"remote-location-text"],enableKilometers:[4,"enable-kilometers"],showCommuteTime:[4,"show-commute-time"],streetFormat:[1,"street-format"],rootClass:[1,"root-class"],extraFieldsConfig:[16]}]]],["p-7ea9a87f",[[512,"jobs-list-only",{mockData:[4,"mock-data"],jobs:[1],loading:[4],totalJob:[2,"total-job"],noResultsLine1:[1,"no-results-line-1"],noResultsLine2:[1,"no-results-line-2"],applyButtonText:[1,"apply-button-text"],showBrand:[4,"show-brand"],showReference:[4,"show-reference"],showEmploymentType:[4,"show-employment-type"],streetFormat:[1,"street-format"],multiLocationText:[1,"multi-location-text"],remoteLocationText:[1,"remote-location-text"],enableKilometers:[4,"enable-kilometers"],rootClass:[1,"root-class"],showCountText:[1,"show-count-text"],showSuggestions:[4,"show-suggestions"],clearResultSuggestionsTitleText:[1,"clear-result-suggestions-title-text"],clearResultSuggestionsLine1:[1,"clear-result-suggestions-line-1"],clearResultSuggestionsLine2:[1,"clear-result-suggestions-line-2"],clearResultSuggestionsLine3:[1,"clear-result-suggestions-line-3"],clearResultSuggestionsLine4:[1,"clear-result-suggestions-line-4"],autoFetch:[4,"auto-fetch"],apiUrl:[1,"api-url"],watchParams:[1,"watch-params"],fetchedJobs:[32],fetchedTotal:[32],fetchLoading:[32]}],[772,"fast-button",{variant:[1],type:[1],disabled:[4]}],[260,"fast-form",null,[[0,"inputSubmit","handleInputSubmit"]]],[512,"fast-input",{placeholder:[1],value:[1],paramName:[1,"param-name"],enableAutocomplete:[4,"enable-autocomplete"],autocompleteUrl:[1,"autocomplete-url"],targetPath:[1,"target-path"],debounceMs:[2,"debounce-ms"],minChars:[2,"min-chars"],inputValue:[32],suggestions:[32],showDropdown:[32],autocompleteLoading:[32],getValue:[64],getParamName:[64]}],[772,"jobs-list-reactive",{apiUrl:[1,"api-url"],watchParams:[1,"watch-params"],loadingClass:[1,"loading-class"],isLoading:[32]}],[512,"jobs-item",{job:[16],index:[2],applyButtonText:[1,"apply-button-text"],showBrand:[4,"show-brand"],showReference:[4,"show-reference"],showEmploymentType:[4,"show-employment-type"],multiLocationText:[1,"multi-location-text"],remoteLocationText:[1,"remote-location-text"],enableKilometers:[4,"enable-kilometers"]}]]]],e))));