"use strict";(()=>{var Ke=Object.create;var ie=Object.defineProperty;var Ve=Object.getOwnPropertyDescriptor;var Ge=Object.getOwnPropertyNames;var Ze=Object.getPrototypeOf,Xe=Object.prototype.hasOwnProperty;var Qe=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var Ye=(e,t,s,m)=>{if(t&&typeof t=="object"||typeof t=="function")for(let d of Ge(t))!Xe.call(e,d)&&d!==s&&ie(e,d,{get:()=>t[d],enumerable:!(m=Ve(t,d))||m.enumerable});return e};var et=(e,t,s)=>(s=e!=null?Ke(Ze(e)):{},Ye(t||!e||!e.__esModule?ie(s,"default",{value:e,enumerable:!0}):s,e));var ce=(e,t,s)=>{if(!t.has(e))throw TypeError("Cannot "+s)};var k=(e,t,s)=>(ce(e,t,"read from private field"),s?s.call(e):t.get(e)),$=(e,t,s)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,s)},N=(e,t,s,m)=>(ce(e,t,"write to private field"),m?m.call(e,s):t.set(e,s),s);var le=(e,t,s,m)=>({set _(d){N(e,t,d,s)},get _(){return k(e,t,m)}});var We=Qe((sn,J)=>{var Ct=function(){var e=String.fromCharCode,t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$",m={};function d(n,c){if(!m[n]){m[n]={};for(var f=0;f>>8,f[g*2+1]=U%256}return f},decompressFromUint8Array:function(n){if(n==null)return b.decompress(n);for(var c=new Array(n.length/2),f=0,g=c.length;f>1}else{for(y=1,g=0;g>1}S--,S==0&&(S=Math.pow(2,p),p++),delete T[v]}else for(y=U[v],g=0;g>1;S--,S==0&&(S=Math.pow(2,p),p++),U[_]=L++,v=String(A)}if(v!==""){if(Object.prototype.hasOwnProperty.call(T,v)){if(v.charCodeAt(0)<256){for(g=0;g>1}else{for(y=1,g=0;g>1}S--,S==0&&(S=Math.pow(2,p),p++),delete T[v]}else for(y=U[v],g=0;g>1;S--,S==0&&(S=Math.pow(2,p),p++)}for(y=2,g=0;g>1;for(;;)if(o=o<<1,a==c-1){l.push(f(o));break}else a++;return l.join("")},decompress:function(n){return n==null?"":n==""?null:b._decompress(n.length,32768,function(c){return n.charCodeAt(c)})},_decompress:function(n,c,f){var g=[],y,U=4,T=4,A=3,_="",v=[],S,L,p,l,o,a,w,x={val:f(0),position:c,index:1};for(S=0;S<3;S+=1)g[S]=S;for(p=0,o=Math.pow(2,2),a=1;a!=o;)l=x.val&x.position,x.position>>=1,x.position==0&&(x.position=c,x.val=f(x.index++)),p|=(l>0?1:0)*a,a<<=1;switch(y=p){case 0:for(p=0,o=Math.pow(2,8),a=1;a!=o;)l=x.val&x.position,x.position>>=1,x.position==0&&(x.position=c,x.val=f(x.index++)),p|=(l>0?1:0)*a,a<<=1;w=e(p);break;case 1:for(p=0,o=Math.pow(2,16),a=1;a!=o;)l=x.val&x.position,x.position>>=1,x.position==0&&(x.position=c,x.val=f(x.index++)),p|=(l>0?1:0)*a,a<<=1;w=e(p);break;case 2:return""}for(g[3]=w,L=w,v.push(w);;){if(x.index>n)return"";for(p=0,o=Math.pow(2,A),a=1;a!=o;)l=x.val&x.position,x.position>>=1,x.position==0&&(x.position=c,x.val=f(x.index++)),p|=(l>0?1:0)*a,a<<=1;switch(w=p){case 0:for(p=0,o=Math.pow(2,8),a=1;a!=o;)l=x.val&x.position,x.position>>=1,x.position==0&&(x.position=c,x.val=f(x.index++)),p|=(l>0?1:0)*a,a<<=1;g[T++]=e(p),w=T-1,U--;break;case 1:for(p=0,o=Math.pow(2,16),a=1;a!=o;)l=x.val&x.position,x.position>>=1,x.position==0&&(x.position=c,x.val=f(x.index++)),p|=(l>0?1:0)*a,a<<=1;g[T++]=e(p),w=T-1,U--;break;case 2:return v.join("")}if(U==0&&(U=Math.pow(2,A),A++),g[w])_=g[w];else if(w===T)_=L+L.charAt(0);else return null;v.push(_),g[T++]=L+_.charAt(0),U--,L=_,U==0&&(U=Math.pow(2,A),A++)}}};return b}();typeof J<"u"&&J!=null&&(J.exports=Ct)});var me=["esm.sh","skypack","esm.run","jsdelivr.esm","fastly.jsdelivr.esm","gcore.jsdelivr.esm","testingcf.jsdelivr.esm","jsdelivr.b-cdn.esm","jspm"],ge=["jsdelivr","fastly.jsdelivr","unpkg","gcore.jsdelivr","testingcf.jsdelivr","jsdelivr.b-cdn","npmcdn"],ue=["jsdelivr.gh","fastly.jsdelivr.gh","statically","gcore.jsdelivr.gh","testingcf.jsdelivr.gh","jsdelivr.b-cdn.gh"],E={getModuleUrl:(e,{isModule:t=!0,defaultCDN:s="esm.sh",external:m}={})=>{e=e.replace(/#nobundle/g,"");let d=n=>!m||!n.includes("https://esm.sh")?n:n.includes("?")?`${n}&external=${m}`:`${n}?external=${m}`,b=pe(e,t,s);return b?d(b):t?d("https://esm.sh/"+e):"https://cdn.jsdelivr.net/npm/"+e},getUrl:(e,t)=>e.startsWith("http")||e.startsWith("data:")?e:pe(e,!1,t||de())||e,cdnLists:{npm:ge,module:me,gh:ue},checkCDNs:async(e,t)=>{let s=[t,...E.cdnLists.npm].filter(Boolean);for(let m of s)try{if((await fetch(E.getUrl(e,m),{method:"HEAD"})).ok)return m}catch{}return E.cdnLists.npm[0]}},de=()=>{if(globalThis.appCDN)return globalThis.appCDN;try{return new URL(location.href).searchParams.get("appCDN")||E.cdnLists.npm[0]}catch{return E.cdnLists.npm[0]}},pe=(e,t,s)=>{let m=t&&e.startsWith("unpkg:")?"?module":"";e.startsWith("gh:")?e=e.replace("gh",ue[0]):e.includes(":")||(e=(s||(t?me[0]:ge[0]))+":"+e);for(let d of tt){let[b,n]=d;if(b.test(e))return e.replace(b,n)+m}return null},tt=[[/^(esm\.sh:)(.+)/i,"https://esm.sh/$2"],[/^(npm:)(.+)/i,"https://esm.sh/$2"],[/^(node:)(.+)/i,"https://esm.sh/$2"],[/^(jsr:)(.+)/i,"https://esm.sh/jsr/$2"],[/^(skypack:)(.+)/i,"https://cdn.skypack.dev/$2"],[/^(jsdelivr:)(.+)/i,"https://cdn.jsdelivr.net/npm/$2"],[/^(fastly\.jsdelivr:)(.+)/i,"https://fastly.jsdelivr.net/npm/$2"],[/^(gcore\.jsdelivr:)(.+)/i,"https://gcore.jsdelivr.net/npm/$2"],[/^(testingcf\.jsdelivr:)(.+)/i,"https://testingcf.jsdelivr.net/npm/$2"],[/^(jsdelivr\.b-cdn:)(.+)/i,"https://jsdelivr.b-cdn.net/npm/$2"],[/^(jsdelivr\.gh:)(.+)/i,"https://cdn.jsdelivr.net/gh/$2"],[/^(fastly\.jsdelivr\.gh:)(.+)/i,"https://fastly.jsdelivr.net/gh/$2"],[/^(gcore\.jsdelivr\.gh:)(.+)/i,"https://gcore.jsdelivr.net/gh/$2"],[/^(testingcf\.jsdelivr\.gh:)(.+)/i,"https://testingcf.jsdelivr.net/gh/$2"],[/^(jsdelivr\.b-cdn\.gh:)(.+)/i,"https://jsdelivr.b-cdn.net/gh/$2"],[/^(statically:)(.+)/i,"https://cdn.statically.io/gh/$2"],[/^(esm\.run:)(.+)/i,"https://esm.run/$2"],[/^(jsdelivr\.esm:)(.+)/i,"https://cdn.jsdelivr.net/npm/$2/+esm"],[/^(fastly\.jsdelivr\.esm:)(.+)/i,"https://fastly.jsdelivr.net/npm/$2/+esm"],[/^(gcore\.jsdelivr\.esm:)(.+)/i,"https://gcore.jsdelivr.net/npm/$2/+esm"],[/^(testingcf\.jsdelivr\.esm:)(.+)/i,"https://testingcf.jsdelivr.net/npm/$2/+esm"],[/^(jsdelivr\.b-cdn\.esm:)(.+)/i,"https://jsdelivr.b-cdn.net/npm/$2/+esm"],[/^(jspm:)(.+)/i,"https://jspm.dev/$2"],[/^(esbuild:)(.+)/i,"https://esbuild.vercel.app/$2"],[/^(bundle\.run:)(.+)/i,"https://bundle.run/$2"],[/^(unpkg:)(.+)/i,"https://unpkg.com/$2"],[/^(npmcdn:)(.+)/i,"https://npmcdn.com/$2"],[/^(bundlejs:)(.+)/i,"https://deno.bundlejs.com/?file&q=$2"],[/^(bundle:)(.+)/i,"https://deno.bundlejs.com/?file&q=$2"],[/^(deno:)(.+)/i,"https://deno.bundlejs.com/?file&q=https://deno.land/x/$2/mod.ts"],[/^(https:\/\/deno\.land\/.+)/i,"https://deno.bundlejs.com/?file&q=$1"],[/^(github:|https:\/\/github\.com\/)(.[^\/]+?)\/(.[^\/]+?)\/(?!releases\/)(?:(?:blob|raw)\/)?(.+?\/.+)/i,"https://deno.bundlejs.com/?file&q=https://cdn.jsdelivr.net/gh/$2/$3@$4"],[/^(gist\.github:)(.+?\/[0-9a-f]+\/raw\/(?:[0-9a-f]+\/)?.+)$/i,"https://gist.githack.com/$2"],[/^(gitlab:|https:\/\/gitlab\.com\/)([^\/]+.*\/[^\/]+)\/(?:raw|blob)\/(.+?)(?:\?.*)?$/i,"https://deno.bundlejs.com/?file&q=https://gl.githack.com/$2/raw/$3"],[/^(bitbucket:|https:\/\/bitbucket\.org\/)([^\/]+\/[^\/]+)\/(?:raw|src)\/(.+?)(?:\?.*)?$/i,"https://deno.bundlejs.com/?file&q=https://bb.githack.com/$2/raw/$3"],[/^(bitbucket:)snippets\/([^\/]+\/[^\/]+)\/revisions\/([^\/\#\?]+)(?:\?[^#]*)?(?:\#file-(.+?))$/i,"https://bb.githack.com/!api/2.0/snippets/$2/$3/files/$4"],[/^(bitbucket:)snippets\/([^\/]+\/[^\/\#\?]+)(?:\?[^#]*)?(?:\#file-(.+?))$/i,"https://bb.githack.com/!api/2.0/snippets/$2/HEAD/files/$3"],[/^(bitbucket:)\!api\/2.0\/snippets\/([^\/]+\/[^\/]+\/[^\/]+)\/files\/(.+?)(?:\?.*)?$/i,"https://bb.githack.com/!api/2.0/snippets/$2/files/$3"],[/^(api\.bitbucket:)2.0\/snippets\/([^\/]+\/[^\/]+\/[^\/]+)\/files\/(.+?)(?:\?.*)?$/i,"https://bb.githack.com/!api/2.0/snippets/$2/files/$3"],[/^(rawgit:)(.+?\/[0-9a-f]+\/raw\/(?:[0-9a-f]+\/)?.+)$/i,"https://gist.githack.com/$2"],[/^(rawgit:|https:\/\/raw\.githubusercontent\.com)(\/[^\/]+\/[^\/]+|[0-9A-Za-z-]+\/[0-9a-f]+\/raw)\/(.+)/i,"https://deno.bundlejs.com/?file&q=https://raw.githack.com/$2/$3"]];var{getUrl:j,getModuleUrl:Dr}=E,i=j("@live-codes/browser-compilers@0.22.3/dist/");var fe=j("art-template@4.13.2/lib/template-web.js");var ye=j("@assemblyscript/loader@0.27.29/umd/index.js");var he=j("@hatemhosny/astro-internal@0.0.4/");var xe=j("@babel/standalone@7.26.4/babel.js");var V=j("brython@3.12.4/");var H=j("cherry-cljs@0.2.19/");var G=j("@live-codes/clio-browser-compiler@0.0.3/public/build/");var be=j("dot@1.1.3/doT.js"),je=j("ejs@3.1.10/ejs.js");var we=j("eta@3.4.0/dist/eta.umd.js");var O=j("gh:live-codes/gleam-precompiled@v0.5.0/"),I=j("@live-codes/go2js@0.5.0/build/");var Z=j("handlebars@4.7.8/dist/");var X=j("imba@2.0.0-alpha.229/dist/");var ve=j("liquidjs@10.14.0/dist/liquid.browser.min.js");var Se=j("malinajs@0.7.19/"),Ue=j("marked@13.0.2/marked.min.js");var Le=j("mjml-browser@4.15.3/lib/index.js");var Ce=j("mustache@4.2.0/mustache.js");var Q=j("nunjucks@3.2.4/browser/"),F=j("https://cdn.opalrb.com/opal/1.8.2/"),_e=j("parinfer@3.13.1/parinfer.js");var M=j("prettier@3.3.2/"),ke=j("@prettier/plugin-php@0.22.2/standalone.js");var Y=j("riot@9.2.2/");var ee=j("sql-formatter@12.2.1/dist/sql-formatter.min.js"),Pe=j("sql.js@1.10.3/dist/"),B=j("squint-cljs@0.4.81/"),Te=j("@stencil/core@3.2.2/compiler/stencil.js");var C=j("svelte@5.12.0/");var Ae=j("twig@1.17.1/twig.min.js"),Ee=j("typescript@5.6.2/lib/typescript.js");var Me=j("uniter@2.18.0/dist/uniter.js");var te=j("vue@2"),Re=j("vue@3/dist/vue.runtime.esm-browser.prod.js"),Ie=j("livecodes@0.11.1/vue.js"),Be=j("vue3-sfc-loader@0.9.5/dist/");var re=(e,t=!0)=>e.replace(/\\/g,t?"\\\\":"\\").replace(/`/g,"\\`").replace(/<\/script>/g,"<\\/script>");var u=(e,t)=>({...t.customSettings[e]});var zr=M+"standalone.js",r={babel:M+"plugins/babel.js",estree:M+"plugins/estree.js",glimmer:M+"plugins/glimmer.js",html:M+"plugins/html.js",markdown:M+"plugins/markdown.js",postcss:M+"plugins/postcss.js",php:ke,pug:i+"prettier/parser-pug.js",java:i+"prettier/parser-java.js"};var rt={name:"art-template",title:"art",longTitle:"art-template",parser:{name:"html",pluginUrls:[r.html]},compiler:{url:fe,factory:(e,t)=>(self.importScripts(t+"lang-art-template-compiler.f7f28bfde1988e977306171ed26474d0.js"),self.createArtTemplateCompiler())},extensions:["art","art-template"],editor:"markup",editorLanguage:"html"};var st=i+"assemblyscript/assemblyscript.js",ot={name:"assemblyscript",title:"AS",longTitle:"AssemblyScript",parser:{name:"babel-ts",pluginUrls:[r.babel]},compiler:{url:st,factory:(e,t)=>(self.importScripts(t+"lang-assemblyscript-compiler.14e8b2e5f7646f2a3f66fe301f2b95f8.js"),self.createAssemblyscriptCompiler()),scripts:({baseUrl:e})=>[ye,e+"lang-assemblyscript-script.bc1d8b506b4f8cae0a57028a76574d4b.js"],scriptType:"application/wasm-uint8",compiledCodeLanguage:"wat",types:{assemblyscript:{url:i+"types/assemblyscript.d.ts",declareAsModule:!1,autoload:!0}}},extensions:["as","ts"],editor:"script",editorLanguage:"typescript"};var nt=he+"compiler.min.js",at={name:"astro",title:"Astro",parser:{name:"html",pluginUrls:[r.html,r.babel]},compiler:{url:nt,factory:(e,t)=>(self.importScripts(t+"lang-astro-compiler.9f88bb4e6574ee0d7d5cbf92d1203b5c.js"),self.createAstroCompiler())},extensions:["astro"],editor:"markup"};var it={name:"babel",title:"Babel",parser:{name:"babel",pluginUrls:[r.babel,r.html]},compiler:{url:xe,factory:()=>async(e,{config:t})=>{let s=u("babel",t),m=u("@babel/preset-env",t),d=u("@babel/preset-typescript",t),b=u("@babel/preset-react",t);return window.Babel.transform(e,{filename:"script.tsx",presets:[["env",{modules:!1,...m}],["typescript",d],["react",b]],...s}).code}},extensions:["es","babel"],editor:"script",editorLanguage:"typescript"};var ct={name:"bbcode",title:"BBCode",compiler:{url:i+"bbob/bbob.js",factory:()=>async e=>self.BBob.bbobHTML(e,self.BBob.presetHTML5())},extensions:["bbcode","bb"],editor:"markup"};var Ms=i+"civet/civet.js";var lt={name:"clio",title:"Clio",compiler:{url:G+"compile.js",factory:(e,t)=>(self.importScripts(t+"lang-clio-compiler.a832d7f2e7ce46c3517b100c4491fe54.js"),self.createClioCompiler()),scripts:[G+"exec.js"]},extensions:["clio"],editor:"script",editorLanguage:"coffeescript"};var pt={name:"autoprefixer",title:"Autoprefixer",isPostcssPlugin:!0,compiler:{url:i+"autoprefixer/autoprefixer.js",factory:e=>self.autoprefixer.autoprefixer({...u("autoprefixer",e)})},editor:"style"},mt={name:"cssnano",title:"cssnano",isPostcssPlugin:!0,compiler:{url:i+"cssnano/cssnano.js",factory:()=>{let e=self.cssnano.cssnanoPresetDefault().plugins,t=[];for(let s of e){let[m,d]=s;(typeof d>"u"||typeof d=="object"&&!d.exclude||typeof d=="boolean"&&d===!0)&&t.push(m(d))}return t}},editor:"style"};var gt={name:"postcssPresetEnv",title:"Preset Env",isPostcssPlugin:!0,compiler:{url:i+"postcss-preset-env/postcss-preset-env.js",factory:e=>self.postcssPresetEnv.postcssPresetEnv({autoprefixer:!1,...u("postcssPresetEnv",e)})},editor:"style"},ut={name:"purgecss",title:"PurgeCSS",isPostcssPlugin:!0,needsHTML:!0,compiler:{url:i+"purgecss/purgecss.js",factory:(e,t,s)=>self.purgecss.purgecss({...u("purgecss",e),content:[{raw:`