UNPKG

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