UNPKG

@betha-plataforma/estrutura-componentes

Version:

Coleção de Web Components para compor a estrutura de uma aplicação front-end da Betha Sistemas.

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