llm-testrunner-components 1.0.0 → 1.0.2

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 (103) hide show
  1. package/README.md +139 -81
  2. package/dist/cjs/{index-CCrH7f-W.js → index-CY2lQip_.js} +190 -33
  3. package/dist/cjs/index-CY2lQip_.js.map +1 -0
  4. package/dist/cjs/index.cjs.js +391 -5
  5. package/dist/cjs/index.cjs.js.map +1 -1
  6. package/dist/cjs/llm-test-runner.cjs.entry.js +9 -0
  7. package/dist/cjs/llm-test-runner.entry.cjs.js.map +1 -0
  8. package/dist/cjs/{llm-testrunner-components.cjs.js → llm-testrunner.cjs.js} +5 -7
  9. package/dist/cjs/llm-testrunner.cjs.js.map +1 -0
  10. package/dist/cjs/loader.cjs.js +2 -4
  11. package/dist/collection/collection-manifest.json +3 -4
  12. package/dist/collection/components/error-message/error-message.js +8 -0
  13. package/dist/collection/components/error-message/error-message.js.map +1 -0
  14. package/dist/collection/components/llm-test-runner/llm-test-runner.css +671 -0
  15. package/dist/collection/components/llm-test-runner/llm-test-runner.js +310 -0
  16. package/dist/collection/components/llm-test-runner/llm-test-runner.js.map +1 -0
  17. package/dist/collection/index.js +4 -10
  18. package/dist/collection/index.js.map +1 -1
  19. package/dist/collection/lib/evaluation/evaluation-engine.js +61 -0
  20. package/dist/collection/lib/evaluation/evaluation-engine.js.map +1 -0
  21. package/dist/collection/lib/evaluation/index.js +7 -0
  22. package/dist/collection/lib/evaluation/index.js.map +1 -0
  23. package/dist/collection/lib/evaluation/types.js +2 -0
  24. package/dist/collection/lib/evaluation/types.js.map +1 -0
  25. package/dist/components/index.js +1652 -4
  26. package/dist/components/index.js.map +1 -1
  27. package/dist/components/{current-time.d.ts → llm-test-runner.d.ts} +4 -4
  28. package/dist/components/llm-test-runner.js +9 -0
  29. package/dist/components/llm-test-runner.js.map +1 -0
  30. package/dist/esm/{index-0jlGA6MK.js → index-DBp-rMPb.js} +190 -33
  31. package/dist/esm/index-DBp-rMPb.js.map +1 -0
  32. package/dist/esm/index.js +391 -5
  33. package/dist/esm/index.js.map +1 -1
  34. package/dist/esm/llm-test-runner.entry.js +3 -0
  35. package/dist/esm/llm-test-runner.entry.js.map +1 -0
  36. package/dist/esm/{llm-testrunner-components.js → llm-testrunner.js} +5 -7
  37. package/dist/esm/llm-testrunner.js.map +1 -0
  38. package/dist/esm/loader.js +3 -5
  39. package/dist/llm-testrunner/index.esm.js +2 -0
  40. package/dist/llm-testrunner/index.esm.js.map +1 -0
  41. package/dist/llm-testrunner/llm-test-runner.entry.esm.js.map +1 -0
  42. package/dist/llm-testrunner/llm-testrunner.esm.js +2 -0
  43. package/dist/llm-testrunner/llm-testrunner.esm.js.map +1 -0
  44. package/dist/llm-testrunner/p-DBp-rMPb.js +3 -0
  45. package/dist/llm-testrunner/p-DBp-rMPb.js.map +1 -0
  46. package/dist/llm-testrunner/p-ed2ea423.entry.js +2 -0
  47. package/dist/llm-testrunner/p-ed2ea423.entry.js.map +1 -0
  48. package/dist/react/components.d.ts +9 -0
  49. package/dist/react/components.d.ts.map +1 -0
  50. package/dist/react/components.js +12 -0
  51. package/dist/react/index.d.ts +2 -0
  52. package/dist/react/index.d.ts.map +1 -0
  53. package/dist/react/index.js +2 -0
  54. package/dist/types/components/error-message/error-message.d.ts +7 -0
  55. package/dist/types/components/llm-test-runner/llm-test-runner.d.ts +42 -0
  56. package/dist/types/components.d.ts +11 -46
  57. package/dist/types/index.d.ts +2 -10
  58. package/dist/types/lib/evaluation/evaluation-engine.d.ts +8 -0
  59. package/dist/types/lib/evaluation/index.d.ts +5 -0
  60. package/dist/types/lib/evaluation/types.d.ts +23 -0
  61. package/dist/types/stencil-public-runtime.d.ts +41 -3
  62. package/package.json +33 -12
  63. package/dist/cjs/current-time.my-component.entry.cjs.js.map +0 -1
  64. package/dist/cjs/current-time_2.cjs.entry.js +0 -67
  65. package/dist/cjs/current-time_2.cjs.entry.js.map +0 -1
  66. package/dist/cjs/index-CCrH7f-W.js.map +0 -1
  67. package/dist/cjs/llm-testrunner-components.cjs.js.map +0 -1
  68. package/dist/collection/components/my-component/current-time.js +0 -35
  69. package/dist/collection/components/my-component/current-time.js.map +0 -1
  70. package/dist/collection/components/my-component/my-component.css +0 -3
  71. package/dist/collection/components/my-component/my-component.js +0 -96
  72. package/dist/collection/components/my-component/my-component.js.map +0 -1
  73. package/dist/collection/utils/utils.js +0 -4
  74. package/dist/collection/utils/utils.js.map +0 -1
  75. package/dist/components/current-time.js +0 -9
  76. package/dist/components/current-time.js.map +0 -1
  77. package/dist/components/my-component.d.ts +0 -11
  78. package/dist/components/my-component.js +0 -63
  79. package/dist/components/my-component.js.map +0 -1
  80. package/dist/components/p-CbvWSaCI.js +0 -53
  81. package/dist/components/p-CbvWSaCI.js.map +0 -1
  82. package/dist/components/p-DnDi6fKi.js +0 -1101
  83. package/dist/components/p-DnDi6fKi.js.map +0 -1
  84. package/dist/esm/current-time.my-component.entry.js.map +0 -1
  85. package/dist/esm/current-time_2.entry.js +0 -64
  86. package/dist/esm/current-time_2.entry.js.map +0 -1
  87. package/dist/esm/index-0jlGA6MK.js.map +0 -1
  88. package/dist/esm/llm-testrunner-components.js.map +0 -1
  89. package/dist/llm-testrunner-components/current-time.my-component.entry.esm.js.map +0 -1
  90. package/dist/llm-testrunner-components/index.esm.js +0 -2
  91. package/dist/llm-testrunner-components/index.esm.js.map +0 -1
  92. package/dist/llm-testrunner-components/llm-testrunner-components.esm.js +0 -2
  93. package/dist/llm-testrunner-components/llm-testrunner-components.esm.js.map +0 -1
  94. package/dist/llm-testrunner-components/p-0jlGA6MK.js +0 -3
  95. package/dist/llm-testrunner-components/p-0jlGA6MK.js.map +0 -1
  96. package/dist/llm-testrunner-components/p-15e5e0fe.entry.js +0 -2
  97. package/dist/llm-testrunner-components/p-15e5e0fe.entry.js.map +0 -1
  98. package/dist/types/components/my-component/current-time.d.ts +0 -7
  99. package/dist/types/components/my-component/my-component.d.ts +0 -16
  100. package/dist/types/utils/utils.d.ts +0 -1
  101. /package/dist/{llm-testrunner-components → llm-testrunner}/loader.esm.js.map +0 -0
  102. /package/dist/{llm-testrunner-components → llm-testrunner}/p-DQuL1Twl.js +0 -0
  103. /package/dist/{llm-testrunner-components → llm-testrunner}/p-DQuL1Twl.js.map +0 -0
@@ -1 +0,0 @@
1
- {"version":3,"file":"llm-testrunner-components.esm.js","sources":["node_modules/@stencil/core/internal/client/patch-browser.js","@lazy-browser-entrypoint?app-data=conditional"],"sourcesContent":["/*\n Stencil Client Patch Browser v4.36.1 | MIT Licensed | https://stenciljs.com\n */\n\n// src/client/client-patch-browser.ts\nimport { BUILD, NAMESPACE } from \"@stencil/core/internal/app-data\";\nimport { consoleDevInfo, H, promiseResolve, win } from \"@stencil/core\";\nvar patchBrowser = () => {\n if (BUILD.isDev && !BUILD.isTesting) {\n consoleDevInfo(\"Running in development mode.\");\n }\n if (BUILD.cloneNodeFix) {\n patchCloneNodeFix(H.prototype);\n }\n const scriptElm = BUILD.scriptDataOpts ? win.document && Array.from(win.document.querySelectorAll(\"script\")).find(\n (s) => new RegExp(`/${NAMESPACE}(\\\\.esm)?\\\\.js($|\\\\?|#)`).test(s.src) || s.getAttribute(\"data-stencil-namespace\") === NAMESPACE\n ) : null;\n const importMeta = import.meta.url;\n const opts = BUILD.scriptDataOpts ? (scriptElm || {})[\"data-opts\"] || {} : {};\n if (importMeta !== \"\") {\n opts.resourcesUrl = new URL(\".\", importMeta).href;\n }\n return promiseResolve(opts);\n};\nvar patchCloneNodeFix = (HTMLElementPrototype) => {\n const nativeCloneNodeFn = HTMLElementPrototype.cloneNode;\n HTMLElementPrototype.cloneNode = function(deep) {\n if (this.nodeName === \"TEMPLATE\") {\n return nativeCloneNodeFn.call(this, deep);\n }\n const clonedNode = nativeCloneNodeFn.call(this, false);\n const srcChildNodes = this.childNodes;\n if (deep) {\n for (let i = 0; i < srcChildNodes.length; i++) {\n if (srcChildNodes[i].nodeType !== 2) {\n clonedNode.appendChild(srcChildNodes[i].cloneNode(true));\n }\n }\n }\n return clonedNode;\n };\n};\nexport {\n patchBrowser\n};\n","export { setNonce } from '@stencil/core';\nimport { bootstrapLazy } from '@stencil/core';\nimport { patchBrowser } from '@stencil/core/internal/client/patch-browser';\nimport { globalScripts } from '@stencil/core/internal/app-globals';\npatchBrowser().then(async (options) => {\n await globalScripts();\n return bootstrapLazy([/*!__STENCIL_LAZY_DATA__*/], options);\n});\n"],"names":[],"mappings":";;;;AAAA;AACA;AACA;;AAKA,IAAI,YAAY,GAAG,MAAM;AAUzB,EAAE,MAAM,UAAU,GAAG,MAAM,CAAC,IAAI,CAAC,GAAG;AACpC,EAAE,MAAM,IAAI,GAAiE,EAAE;AAC/E,EAAE,IAAI,UAAU,KAAK,EAAE,EAAE;AACzB,IAAI,IAAI,CAAC,YAAY,GAAG,IAAI,GAAG,CAAC,GAAG,EAAE,UAAU,CAAC,CAAC,IAAI;AACrD;AACA,EAAE,OAAO,cAAc,CAAC,IAAI,CAAC;AAC7B,CAAC;;ACnBD,YAAY,EAAE,CAAC,IAAI,CAAC,OAAO,OAAO,KAAK;AACvC,EAAE,MAAM,aAAa,EAAE;AACvB,EAAE,OAAO,aAAa,CAAC,4BAA4B,EAAE,OAAO,CAAC;AAC7D,CAAC,CAAC","x_google_ignoreList":[0]}
@@ -1,3 +0,0 @@
1
- const e="llm-testrunner-components";const t={hydratedSelectorName:"hydrated",lazyLoad:true,updatable:true,watchCallback:false};var n=Object.defineProperty;var r=(e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:true})};var o=(e,t)=>{var n;const r=t.t;const o=Object.entries((n=r.o)!=null?n:{});o.map((([n,[r]])=>{if(r&31||r&32){const r=e[n];const o=Object.getOwnPropertyDescriptor(Object.getPrototypeOf(e),n);Object.defineProperty(e,n,{get(){return o.get.call(this)},set(e){o.set.call(this,e)},configurable:true,enumerable:true});e[n]=t.i.has(n)?t.i.get(n):r}}))};var i=e=>{if(e.__stencil__getHostRef){return e.__stencil__getHostRef()}return void 0};var s=(e,t)=>{e.__stencil__getHostRef=()=>t;t.l=e;{o(e,t)}};var l=(e,t)=>{const n={u:0,$hostElement$:e,t,i:new Map};{n.v=new Promise((e=>n.h=e));e["s-p"]=[];e["s-rc"]=[]}const r=n;e.__stencil__getHostRef=()=>r;return r};var c=(e,t)=>(0,console.error)(e,t);var a=new Map;var f=(e,t,n)=>{const r=e.p.replace(/-/g,"_");const o=e.m;if(!o){return void 0}const i=a.get(o);if(i){return i[r]}
2
- /*!__STENCIL_STATIC_IMPORT_SWITCH__*/return import(`./${o}.entry.js${""}`).then((e=>{{a.set(o,e)}return e[r]}),(e=>{c(e,t.$hostElement$)}))};var u=new Map;var v="{visibility:hidden}.hydrated{visibility:inherit}";var d="slot-fb{display:contents}slot-fb[hidden]{display:none}";var h=typeof window!=="undefined"?window:{};var p={u:0,$:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,r)=>e.addEventListener(t,n,r),rel:(e,t,n,r)=>e.removeEventListener(t,n,r),ce:(e,t)=>new CustomEvent(e,t)};var m=e=>Promise.resolve(e);var w=(()=>{try{new CSSStyleSheet;return typeof(new CSSStyleSheet).replaceSync==="function"}catch(e){}return false})();var b=w?(()=>!!h.document&&Object.getOwnPropertyDescriptor(h.document.adoptedStyleSheets,"length").writable)():false;var y=false;var $=[];var g=[];var S=(e,t)=>n=>{e.push(n);if(!y){y=true;if(t&&p.u&4){k(O)}else{p.raf(O)}}};var j=e=>{for(let t=0;t<e.length;t++){try{e[t](performance.now())}catch(e){c(e)}}e.length=0};var O=()=>{j($);{j(g);if(y=$.length>0){p.raf(O)}}};var k=e=>m().then(e);var C=S(g,true);var E=e=>{e=typeof e;return e==="object"||e==="function"};function M(e){var t,n,r;return(r=(n=(t=e.head)==null?void 0:t.querySelector('meta[name="csp-nonce"]'))==null?void 0:n.getAttribute("content"))!=null?r:void 0}var x=e=>e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");var P={};r(P,{err:()=>D,map:()=>N,ok:()=>U,unwrap:()=>R,unwrapErr:()=>W});var U=e=>({isOk:true,isErr:false,value:e});var D=e=>({isOk:false,isErr:true,value:e});function N(e,t){if(e.isOk){const n=t(e.value);if(n instanceof Promise){return n.then((e=>U(e)))}else{return U(n)}}if(e.isErr){const t=e.value;return D(t)}throw"should never get here"}var R=e=>{if(e.isOk){return e.value}else{throw e.value}};var W=e=>{if(e.isErr){return e.value}else{throw e.value}};function A(e){return void 0}var L;function T(e){var t;const n=this.attachShadow({mode:"open"});if(L===void 0)L=(t=A())!=null?t:null;if(L){if(b){n.adoptedStyleSheets.push(L)}else{n.adoptedStyleSheets=[...n.adoptedStyleSheets,L]}}}var z=(e,t="")=>{{return()=>{}}};var H=(e,t)=>{{return()=>{}}};var q=new WeakMap;var F=(e,t,n)=>{let r=u.get(e);if(w&&n){r=r||new CSSStyleSheet;if(typeof r==="string"){r=t}else{r.replaceSync(t)}}else{r=t}u.set(e,r)};var I=(e,t,n)=>{var r;const o=V(t);const i=u.get(o);if(!h.document){return o}e=e.nodeType===11?e:h.document;if(i){if(typeof i==="string"){e=e.head||e;let n=q.get(e);let s;if(!n){q.set(e,n=new Set)}if(!n.has(o)){{s=h.document.createElement("style");s.innerHTML=i;const n=(r=p.S)!=null?r:M(h.document);if(n!=null){s.setAttribute("nonce",n)}if(!(t.u&1)){if(e.nodeName==="HEAD"){const t=e.querySelectorAll("link[rel=preconnect]");const n=t.length>0?t[t.length-1].nextSibling:e.querySelector("style");e.insertBefore(s,(n==null?void 0:n.parentNode)===e?n:null)}else if("host"in e){if(w){const t=new CSSStyleSheet;t.replaceSync(i);if(b){e.adoptedStyleSheets.unshift(t)}else{e.adoptedStyleSheets=[t,...e.adoptedStyleSheets]}}else{const t=e.querySelector("style");if(t){t.innerHTML=i+t.innerHTML}else{e.prepend(s)}}}else{e.append(s)}}if(t.u&1){e.insertBefore(s,null)}}if(t.u&4){s.innerHTML+=d}if(n){n.add(o)}}}else if(!e.adoptedStyleSheets.includes(i)){if(b){e.adoptedStyleSheets.push(i)}else{e.adoptedStyleSheets=[...e.adoptedStyleSheets,i]}}}return o};var G=e=>{const t=e.t;const n=e.$hostElement$;const r=t.u;const o=z("attachStyles",t.p);const i=I(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);if(r&10){n["s-sc"]=i;n.classList.add(i+"-h")}o()};var V=(e,t)=>"sc-"+e.p;var Y=(e,t,...n)=>{let r=null;let o=null;let i=false;let s=false;const l=[];const c=t=>{for(let n=0;n<t.length;n++){r=t[n];if(Array.isArray(r)){c(r)}else if(r!=null&&typeof r!=="boolean"){if(i=typeof e!=="function"&&!E(r)){r=String(r)}if(i&&s){l[l.length-1].j+=r}else{l.push(i?_(null,r):r)}s=i}}};c(n);if(t){if(t.key){o=t.key}}const a=_(e,null);a.O=t;if(l.length>0){a.k=l}{a.C=o}return a};var _=(e,t)=>{const n={u:0,M:e,j:t,P:null,k:null};{n.O=null}{n.C=null}return n};var B={};var J=e=>e&&e.M===B;var K=e=>{const t=x(e);return new RegExp(`(^|[^@]|@(?!supports\\s+selector\\s*\\([^{]*?${t}))(${t}\\b)`,"g")};K("::slotted");K(":host");K(":host-context");var Q=(e,t,n)=>{if(e!=null&&!E(e)){if(t&1){return String(e)}return e}return e};var X=(e,t,n)=>{const r=p.ce(t,n);e.dispatchEvent(r);return r};var Z=(e,t,n,r,o,i,s)=>{if(n===r){return}t.toLowerCase()};var ee=(e,t,n,r)=>{const o=t.P.nodeType===11&&t.P.host?t.P.host:t.P;const i=e&&e.O||{};const s=t.O||{};{for(const e of te(Object.keys(i))){if(!(e in s)){Z(o,e,i[e],void 0)}}}for(const e of te(Object.keys(s))){Z(o,e,i[e],s[e])}};function te(e){return e.includes("ref")?[...e.filter((e=>e!=="ref")),"ref"]:e}var ne;var re=(e,t,n)=>{const r=t.k[n];let o=0;let i;let s;if(r.j!==null){i=r.P=h.document.createTextNode(r.j)}else{if(!h.document){throw new 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.")}i=r.P=h.document.createElement(r.M);{ee(null,r)}if(r.k){for(o=0;o<r.k.length;++o){s=re(e,r,o);if(s){i.appendChild(s)}}}}i["s-hn"]=ne;return i};var oe=(e,t,n,r,o,i)=>{let s=e;let l;if(s.shadowRoot&&s.tagName===ne){s=s.shadowRoot}for(;o<=i;++o){if(r[o]){l=re(null,n,o);if(l){r[o].P=l;ae(s,l,t)}}}};var ie=(e,t,n)=>{for(let r=t;r<=n;++r){const t=e[r];if(t){const e=t.P;if(e){e.remove()}}}};var se=(e,t,n,r,o=false)=>{let i=0;let s=0;let l=0;let c=0;let a=t.length-1;let f=t[0];let u=t[a];let v=r.length-1;let d=r[0];let h=r[v];let p;let m;while(i<=a&&s<=v){if(f==null){f=t[++i]}else if(u==null){u=t[--a]}else if(d==null){d=r[++s]}else if(h==null){h=r[--v]}else if(le(f,d,o)){ce(f,d,o);f=t[++i];d=r[++s]}else if(le(u,h,o)){ce(u,h,o);u=t[--a];h=r[--v]}else if(le(f,h,o)){ce(f,h,o);ae(e,f.P,u.P.nextSibling);f=t[++i];h=r[--v]}else if(le(u,d,o)){ce(u,d,o);ae(e,u.P,f.P);u=t[--a];d=r[++s]}else{l=-1;{for(c=i;c<=a;++c){if(t[c]&&t[c].C!==null&&t[c].C===d.C){l=c;break}}}if(l>=0){m=t[l];if(m.M!==d.M){p=re(t&&t[s],n,l)}else{ce(m,d,o);t[l]=void 0;p=m.P}d=r[++s]}else{p=re(t&&t[s],n,s);d=r[++s]}if(p){{ae(f.P.parentNode,p,f.P)}}}}if(i>a){oe(e,r[v+1]==null?null:r[v+1].P,n,r,s,v)}else if(s>v){ie(t,i,a)}};var le=(e,t,n=false)=>{if(e.M===t.M){if(!n){return e.C===t.C}if(n&&!e.C&&t.C){e.C=t.C}return true}return false};var ce=(e,n,r=false)=>{const o=n.P=e.P;const i=e.k;const s=n.k;const l=n.j;if(l===null){{ee(e,n)}if(i!==null&&s!==null){se(o,i,n,s,r)}else if(s!==null){if(e.j!==null){o.textContent=""}oe(o,null,n,s,0,s.length-1)}else if(!r&&t.updatable&&i!==null){ie(i,0,i.length-1)}else;}else if(e.j!==l){o.data=l}};var ae=(e,t,n)=>{{return e==null?void 0:e.insertBefore(t,n)}};var fe=(e,t,n=false)=>{const r=e.$hostElement$;const o=e.U||_(null,null);const i=J(t);const s=i?t:Y(null,null,t);ne=r.tagName;if(n&&s.O){for(const e of Object.keys(s.O)){if(r.hasAttribute(e)&&!["key","ref","style","class"].includes(e)){s.O[e]=r[e]}}}s.M=null;s.u|=4;e.U=s;s.P=o.P=r.shadowRoot||r;ce(o,s,n)};var ue=(e,t)=>{if(t&&!e.D&&t["s-p"]){const n=t["s-p"].push(new Promise((r=>e.D=()=>{t["s-p"].splice(n-1,1);r()})))}};var ve=(e,t)=>{{e.u|=16}if(e.u&4){e.u|=512;return}ue(e,e.N);const n=()=>de(e,t);if(t){queueMicrotask((()=>{n()}));return}return C(n)};var de=(e,t)=>{const n=e.$hostElement$;const r=z("scheduleUpdate",e.t.p);const o=e.l;if(!o){throw new Error(`Can't render component <${n.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`)}let i;if(t){i=$e(o,"componentWillLoad",void 0,n)}else{i=$e(o,"componentWillUpdate",void 0,n)}i=he(i,(()=>$e(o,"componentWillRender",void 0,n)));r();return he(i,(()=>me(e,o,t)))};var he=(e,t)=>pe(e)?e.then(t).catch((e=>{console.error(e);t()})):t();var pe=e=>e instanceof Promise||e&&e.then&&typeof e.then==="function";var me=async(e,t,n)=>{var r;const o=e.$hostElement$;const i=z("update",e.t.p);const s=o["s-rc"];if(n){G(e)}const l=z("render",e.t.p);{we(e,t,o,n)}if(s){s.map((e=>e()));o["s-rc"]=void 0}l();i();{const t=(r=o["s-p"])!=null?r:[];const n=()=>be(e);if(t.length===0){n()}else{Promise.all(t).then(n);e.u|=4;t.length=0}}};var we=(e,t,n,r)=>{try{t=t.render();{e.u&=-17}{e.u|=2}{{{fe(e,t,r)}}}}catch(t){c(t,e.$hostElement$)}return null};var be=e=>{const t=e.t.p;const n=e.$hostElement$;const r=z("postUpdate",t);const o=e.l;const i=e.N;$e(o,"componentDidRender",void 0,n);if(!(e.u&64)){e.u|=64;{ge(n)}$e(o,"componentDidLoad",void 0,n);r();{e.h(n);if(!i){ye()}}}else{$e(o,"componentDidUpdate",void 0,n);r()}{if(e.D){e.D();e.D=void 0}if(e.u&512){k((()=>ve(e,false)))}e.u&=-517}};var ye=t=>{k((()=>X(h,"appload",{detail:{namespace:e}})))};var $e=(e,t,n,r)=>{if(e&&e[t]){try{return e[t](n)}catch(e){c(e,r)}}return void 0};var ge=e=>{var n;return e.classList.add((n=t.hydratedSelectorName)!=null?n:"hydrated")};var Se=(e,t)=>i(e).i.get(t);var je=(e,t,n,r)=>{const o=i(e);if(!o){return}if(!o){throw new Error(`Couldn't find host element for "${r.p}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/stenciljs/core/issues/5457).`)}const s=o.i.get(t);const l=o.u;const c=o.l;n=Q(n,r.o[t][0]);const a=Number.isNaN(s)&&Number.isNaN(n);const f=n!==s&&!a;if((!(l&8)||s===void 0)&&f){o.i.set(t,n);if(c){if((l&(2|16))===2){if(c.componentShouldUpdate){if(c.componentShouldUpdate(n,s,t)===false){return}}ve(o,false)}}}};var Oe=(e,n,r)=>{var o,s;const l=e.prototype;if(n.o||t.watchCallback){const c=Object.entries((o=n.o)!=null?o:{});c.map((([e,[t]])=>{if(t&31||r&2&&t&32){const{get:o,set:s}=Object.getOwnPropertyDescriptor(l,e)||{};if(o)n.o[e][0]|=2048;if(s)n.o[e][0]|=4096;if(r&1||!o){Object.defineProperty(l,e,{get(){{if((n.o[e][0]&2048)===0){return Se(this,e)}const t=i(this);const r=t?t.l:l;if(!r)return;return r[e]}},configurable:true,enumerable:true})}Object.defineProperty(l,e,{set(o){const l=i(this);if(!l){return}if(s){const r=t&32?this[e]:l.$hostElement$[e];if(typeof r==="undefined"&&l.i.get(e)){o=l.i.get(e)}else if(!l.i.get(e)&&r){l.i.set(e,r)}s.apply(this,[Q(o,t)]);o=t&32?this[e]:l.$hostElement$[e];je(this,e,o,n);return}{if((r&1)===0||(n.o[e][0]&4096)===0){je(this,e,o,n);if(r&1&&!l.l){l.v.then((()=>{if(n.o[e][0]&4096&&l.l[e]!==l.i.get(e)){l.l[e]=o}}))}return}const i=()=>{const r=l.l[e];if(!l.i.get(e)&&r){l.i.set(e,r)}l.l[e]=Q(o,t);je(this,e,l.l[e],n)};if(l.l){i()}else{l.v.then((()=>i()))}}}})}}));if(r&1){const r=new Map;l.attributeChangedCallback=function(e,o,s){p.jmp((()=>{var c;const a=r.get(e);if(this.hasOwnProperty(a)&&t.lazyLoad){s=this[a];delete this[a]}else if(l.hasOwnProperty(a)&&typeof this[a]==="number"&&this[a]==s){return}else if(a==null){const t=i(this);const r=t==null?void 0:t.u;if(t&&r&&!(r&8)&&r&128&&s!==o){const r=t.l;const i=(c=n.R)==null?void 0:c[e];i==null?void 0:i.forEach((t=>{if(r[t]!=null){r[t].call(r,s,o,e)}}))}return}const f=Object.getOwnPropertyDescriptor(l,a);s=s===null&&typeof this[a]==="boolean"?false:s;if(s!==this[a]&&(!f.get||!!f.set)){this[a]=s}}))};e.observedAttributes=Array.from(new Set([...Object.keys((s=n.R)!=null?s:{}),...c.filter((([e,t])=>t[0]&15)).map((([e,t])=>{const n=t[1]||e;r.set(n,e);return n}))]))}}return e};var ke=async(e,t,n,r)=>{let o;if((t.u&32)===0){t.u|=32;const r=n.m;if(r){const r=f(n,t);if(r&&"then"in r){const e=H();o=await r;e()}else{o=r}if(!o){throw new Error(`Constructor for "${n.p}#${t.W}" was not found`)}if(!o.isProxied){Oe(o,n,2);o.isProxied=true}const i=z("createInstance",n.p);{t.u|=8}try{new o(t)}catch(t){c(t,e)}{t.u&=-9}i();Ce(t.l,e)}else{o=e.constructor;const n=e.localName;customElements.whenDefined(n).then((()=>t.u|=128))}if(o&&o.style){let e;if(typeof o.style==="string"){e=o.style}const t=V(n);if(!u.has(t)){const r=z("registerStyles",n.p);F(t,e,!!(n.u&1));r()}}}const i=t.N;const s=()=>ve(t,true);if(i&&i["s-rc"]){i["s-rc"].push(s)}else{s()}};var Ce=(e,t)=>{{$e(e,"connectedCallback",void 0,t)}};var Ee=e=>{if((p.u&1)===0){const t=i(e);if(!t){return}const n=t.t;const r=z("connectedCallback",n.p);if(!(t.u&1)){t.u|=1;{let n=e;while(n=n.parentNode||n.host){if(n["s-p"]){ue(t,t.N=n);break}}}if(n.o){Object.entries(n.o).map((([t,[n]])=>{if(n&31&&e.hasOwnProperty(t)){const n=e[t];delete e[t];e[t]=n}}))}{ke(e,t,n)}}else{if(t==null?void 0:t.l){Ce(t.l,e)}else if(t==null?void 0:t.v){t.v.then((()=>Ce(t.l,e)))}}r()}};var Me=(e,t)=>{{$e(e,"disconnectedCallback",void 0,t||e)}};var xe=async e=>{if((p.u&1)===0){const t=i(e);if(t==null?void 0:t.l){Me(t.l,e)}else if(t==null?void 0:t.v){t.v.then((()=>Me(t.l,e)))}}if(q.has(e)){q.delete(e)}if(e.shadowRoot&&q.has(e.shadowRoot)){q.delete(e.shadowRoot)}};var Pe=(e,t={})=>{var n;if(!h.document){console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");return}const r=z();const o=[];const s=t.exclude||[];const c=h.customElements;const a=h.document.head;const f=a.querySelector("meta[charset]");const u=h.document.createElement("style");const m=[];let w;let b=true;Object.assign(p,t);p.$=new URL(t.resourcesUrl||"./",h.document.baseURI).href;let y=false;e.map((e=>{e[1].map((t=>{const n={u:t[0],p:t[1],o:t[2],A:t[3]};if(n.u&4){y=true}{n.o=t[2]}const r=n.p;const a=class extends HTMLElement{constructor(e){super(e);this.hasRegisteredEventListeners=false;e=this;l(e,n);if(n.u&1){{if(!e.shadowRoot){T.call(e,n)}else{if(e.shadowRoot.mode!=="open"){throw new Error(`Unable to re-use existing shadow root for ${n.p}! Mode is set to ${e.shadowRoot.mode} but Stencil only supports open shadow roots.`)}}}}}connectedCallback(){const e=i(this);if(!e){return}if(!this.hasRegisteredEventListeners){this.hasRegisteredEventListeners=true}if(w){clearTimeout(w);w=null}if(b){m.push(this)}else{p.jmp((()=>Ee(this)))}}disconnectedCallback(){p.jmp((()=>xe(this)));p.raf((()=>{var e;const t=i(this);if(!t){return}const n=m.findIndex((e=>e===this));if(n>-1){m.splice(n,1)}if(((e=t==null?void 0:t.U)==null?void 0:e.P)instanceof Node&&!t.U.P.isConnected){delete t.U.P}}))}componentOnReady(){var e;return(e=i(this))==null?void 0:e.v}};n.m=e[0];if(!s.includes(r)&&!c.get(r)){o.push(r);c.define(r,Oe(a,n,1))}}))}));if(o.length>0){if(y){u.textContent+=d}{u.textContent+=o.sort()+v}if(u.innerHTML.length){u.setAttribute("data-styles","");const e=(n=p.S)!=null?n:M(h.document);if(e!=null){u.setAttribute("nonce",e)}a.insertBefore(u,f?f.nextSibling:a.firstChild)}}b=false;if(m.length){m.map((e=>e.connectedCallback()))}else{{p.jmp((()=>w=setTimeout(ye,30)))}}r()};var Ue=e=>p.S=e;export{Pe as b,Y as h,m as p,s as r,Ue as s};
3
- //# sourceMappingURL=p-0jlGA6MK.js.map