(function(){const e=typeof document!=="undefined";const noop=()=>{};const dynamicImport=(e,t)=>import(e);const t=e?document.querySelector("script[type=esms-options]"):void 0;const r=t?JSON.parse(t.innerHTML):{};Object.assign(r,self.esmsInitOptions||{});const s=!e||(r.shimMode||document.querySelectorAll("script[type=module-shim],script[type=importmap-shim],link[rel=modulepreload-shim]").length>0);const n=globalHook(s&&r.onimport);const i=globalHook(s&&r.resolve);let a=r.fetch?globalHook(r.fetch):fetch;const c=r.meta?globalHook(s&&r.meta):noop;const f=r.tsTransform||document.currentScript&&document.currentScript.src.replace(/\.js$/,"-typescript.js")||"./es-module-shims-typescript.js";const ne=r.mapOverrides;let oe=r.nonce;if(!oe&&e){const e=document.querySelector("script[nonce]");e&&(oe=e.nonce||e.getAttribute("nonce"))}const le=globalHook(r.onerror||noop);const{revokeBlobURLs:ue,noLoadEventRetriggers:pe,enforceIntegrity:de}=r;function globalHook(e){return typeof e==="string"?self[e]:e}const be=Array.isArray(r.polyfillEnable)?r.polyfillEnable:[];const he=r.polyfillEnable==="all"||be.includes("all");const me=r.polyfillEnable==="latest"||be.includes("latest");const we=be.includes("css-modules")||he||me;const ke=be.includes("json-modules")||he||me;const ye=be.includes("wasm-modules")||he;const ge=be.includes("source-phase")||he;const ve=be.includes("typescript")||he;const $e=r.onpolyfill?globalHook(r.onpolyfill):()=>{console.log("%c^^ Module error above is polyfilled and can be ignored ^^","font-weight:900;color:#391")};const Se=e?document.baseURI:`${location.protocol}//${location.host}${location.pathname.includes("/")?location.pathname.slice(0,location.pathname.lastIndexOf("/")+1):location.pathname}`;const createBlob=(e,t="text/javascript")=>URL.createObjectURL(new Blob([e],{type:t}));let{skip:Oe}=r;if(Array.isArray(Oe)){const e=Oe.map((e=>new URL(e,Se).href));Oe=t=>e.some((e=>e[e.length-1]==="/"&&t.startsWith(e)||t===e))}else if(typeof Oe==="string"){const e=new RegExp(Oe);Oe=t=>e.test(t)}else Oe instanceof RegExp&&(Oe=e=>Oe.test(e));const dispatchError=e=>self.dispatchEvent(Object.assign(new Event("error"),{error:e}));const throwError=e=>{(self.reportError||dispatchError)(e),void le(e)};function fromParent(e){return e?` imported from ${e}`:""}const Ae=/\\/g;function asURL(e){try{if(e.indexOf(":")!==-1)return new URL(e).href}catch(e){}}function resolveUrl(e,t){return resolveIfNotPlainOrUrl(e,t)||asURL(e)||resolveIfNotPlainOrUrl("./"+e,t)}function resolveIfNotPlainOrUrl(e,t){const r=t.indexOf("#"),s=t.indexOf("?");r+s>-2&&(t=t.slice(0,r===-1?s:s===-1||s>r?r:s));e.indexOf("\\")!==-1&&(e=e.replace(Ae,"/"));if(e[0]==="/"&&e[1]==="/")return t.slice(0,t.indexOf(":")+1)+e;if(e[0]==="."&&(e[1]==="/"||e[1]==="."&&(e[2]==="/"||e.length===2&&(e+="/"))||e.length===1&&(e+="/"))||e[0]==="/"){const r=t.slice(0,t.indexOf(":")+1);if(r==="blob:")throw new TypeError(`Failed to resolve module specifier "${e}". Invalid relative url or base scheme isn't hierarchical.`);let s;if(t[r.length+1]==="/")if(r!=="file:"){s=t.slice(r.length+2);s=s.slice(s.indexOf("/")+1)}else s=t.slice(8);else s=t.slice(r.length+(t[r.length]==="/"));if(e[0]==="/")return t.slice(0,t.length-s.length-1)+e;const n=s.slice(0,s.lastIndexOf("/")+1)+e;const i=[];let a=-1;for(let e=0;e "${e[i]}" does not resolve`)}}function resolveAndComposeIntegrity(e,t,r){for(let n in e){const i=resolveIfNotPlainOrUrl(n,r)||n;s&&ne||!t[i]||t[i]===e[i]||console.warn(`es-module-shims: Rejected map integrity override "${i}" from ${t[i]} to ${e[i]}.`);t[i]=e[n]}}let Le=false;let Ce=false;const xe=e&&HTMLScriptElement.supports;let Me=xe&&xe.name==="supports"&&xe("importmap");let Ue=false;let Pe=false;let je=false;const Ie=[0,97,115,109,1,0,0,0];let Ee=async function(){return e?new Promise((e=>{const t=document.createElement("iframe");t.style.display="none";t.setAttribute("nonce",oe);function cb({data:r}){const s=Array.isArray(r)&&r[0]==="esms";if(s){[,Me,je,Ce,Le,Ue,Pe]=r;e();document.head.removeChild(t);window.removeEventListener("message",cb,false)}}window.addEventListener("message",cb,false);const r=`