import{C as o,p as e,w as s,a as r,d as t,N as a}from"./p-cbb4366f.js";import{a as n}from"./p-88ef570a.js";const p="undefined"!=typeof Deno,c=!(p||"undefined"==typeof global||"function"!=typeof require||!global.process||"string"!=typeof __filename||global.origin&&"string"==typeof global.origin),i=(p&&Deno,c?process:p&&Deno,c?process:p&&Deno,()=>o&&o.supports&&o.supports("color","var(--c)")?r():__sc_import_dos_wc_library("./p-24fc4ba9.js").then(()=>(e.o=s.__cssshim)?(!1).i():0)),l=()=>{e.o=s.__cssshim;const o=Array.from(t.querySelectorAll("script")).find(o=>RegExp(`/${a}(\\.esm)?\\.js($|\\?|#)`).test(o.src)||o.getAttribute("data-stencil-namespace")===a),n=o["data-opts"]||{};return"onbeforeload"in o&&!history.scrollRestoration?{then(){}}:(n.resourcesUrl=new URL(".",new URL(o.getAttribute("data-resources-url")||o.src,s.location.href)).href,_(n.resourcesUrl,o),s.customElements?r(n):__sc_import_dos_wc_library("./p-46109683.js").then(()=>n))},_=(o,e)=>{const r="__sc_import_"+a.replace(/\s|-/g,"_");try{s[r]=Function("w","return import(w);//"+Math.random())}catch(n){const a=new Map;s[r]=n=>{const p=new URL(n,o).href;let c=a.get(p);if(!c){const o=t.createElement("script");o.type="module",o.crossOrigin=e.crossOrigin,o.src=URL.createObjectURL(new Blob([`import * as m from '${p}'; window.${r}.m = m;`],{type:"application/javascript"})),c=new Promise(e=>{o.onload=()=>{e(s[r].m),o.remove()}}),a.set(p,c),t.head.appendChild(o)}return c}}},m=n;export{i as a,m as g,l as p}