@e280/shiny 0.1.0-21 → 0.1.0-22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,8 +1,8 @@
1
- var Lo=Object.create;var tr=Object.defineProperty;var Do=Object.getOwnPropertyDescriptor;var Ho=Object.getOwnPropertyNames;var No=Object.getPrototypeOf,qo=Object.prototype.hasOwnProperty;var Uo=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Bo=(e,t)=>{for(var r in t)tr(e,r,{get:t[r],enumerable:!0})},Io=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of Ho(t))!qo.call(e,s)&&s!==r&&tr(e,s,{get:()=>t[s],enumerable:!(o=Do(t,s))||o.enumerable});return e};var Wo=(e,t,r)=>(r=e!=null?Lo(No(e)):{},Io(t||!e||!e.__esModule?tr(r,"default",{value:e,enumerable:!0}):r,e));var bo=Uo((Bd,Ve)=>{var Fs=typeof window<"u"?window:typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope?self:{};var f=(function(e){var t=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,r=0,o={},s={manual:e.Prism&&e.Prism.manual,disableWorkerMessageHandler:e.Prism&&e.Prism.disableWorkerMessageHandler,util:{encode:function a(i){return i instanceof n?new n(i.type,a(i.content),i.alias):Array.isArray(i)?i.map(a):i.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/\u00a0/g," ")},type:function(a){return Object.prototype.toString.call(a).slice(8,-1)},objId:function(a){return a.__id||Object.defineProperty(a,"__id",{value:++r}),a.__id},clone:function a(i,c){c=c||{};var p,u;switch(s.util.type(i)){case"Object":if(u=s.util.objId(i),c[u])return c[u];p={},c[u]=p;for(var g in i)i.hasOwnProperty(g)&&(p[g]=a(i[g],c));return p;case"Array":return u=s.util.objId(i),c[u]?c[u]:(p=[],c[u]=p,i.forEach(function(A,d){p[d]=a(A,c)}),p);default:return i}},getLanguage:function(a){for(;a;){var i=t.exec(a.className);if(i)return i[1].toLowerCase();a=a.parentElement}return"none"},setLanguage:function(a,i){a.className=a.className.replace(RegExp(t,"gi"),""),a.classList.add("language-"+i)},currentScript:function(){if(typeof document>"u")return null;if(document.currentScript&&document.currentScript.tagName==="SCRIPT")return document.currentScript;try{throw new Error}catch(p){var a=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(p.stack)||[])[1];if(a){var i=document.getElementsByTagName("script");for(var c in i)if(i[c].src==a)return i[c]}return null}},isActive:function(a,i,c){for(var p="no-"+i;a;){var u=a.classList;if(u.contains(i))return!0;if(u.contains(p))return!1;a=a.parentElement}return!!c}},languages:{plain:o,plaintext:o,text:o,txt:o,extend:function(a,i){var c=s.util.clone(s.languages[a]);for(var p in i)c[p]=i[p];return c},insertBefore:function(a,i,c,p){p=p||s.languages;var u=p[a],g={};for(var A in u)if(u.hasOwnProperty(A)){if(A==i)for(var d in c)c.hasOwnProperty(d)&&(g[d]=c[d]);c.hasOwnProperty(A)||(g[A]=u[A])}var k=p[a];return p[a]=g,s.languages.DFS(s.languages,function(C,z){z===k&&C!=a&&(this[C]=g)}),g},DFS:function a(i,c,p,u){u=u||{};var g=s.util.objId;for(var A in i)if(i.hasOwnProperty(A)){c.call(i,A,i[A],p||A);var d=i[A],k=s.util.type(d);k==="Object"&&!u[g(d)]?(u[g(d)]=!0,a(d,c,null,u)):k==="Array"&&!u[g(d)]&&(u[g(d)]=!0,a(d,c,A,u))}}},plugins:{},highlightAll:function(a,i){s.highlightAllUnder(document,a,i)},highlightAllUnder:function(a,i,c){var p={callback:c,container:a,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};s.hooks.run("before-highlightall",p),p.elements=Array.prototype.slice.apply(p.container.querySelectorAll(p.selector)),s.hooks.run("before-all-elements-highlight",p);for(var u=0,g;g=p.elements[u++];)s.highlightElement(g,i===!0,p.callback)},highlightElement:function(a,i,c){var p=s.util.getLanguage(a),u=s.languages[p];s.util.setLanguage(a,p);var g=a.parentElement;g&&g.nodeName.toLowerCase()==="pre"&&s.util.setLanguage(g,p);var A=a.textContent,d={element:a,language:p,grammar:u,code:A};function k(z){d.highlightedCode=z,s.hooks.run("before-insert",d),d.element.innerHTML=d.highlightedCode,s.hooks.run("after-highlight",d),s.hooks.run("complete",d),c&&c.call(d.element)}if(s.hooks.run("before-sanity-check",d),g=d.element.parentElement,g&&g.nodeName.toLowerCase()==="pre"&&!g.hasAttribute("tabindex")&&g.setAttribute("tabindex","0"),!d.code){s.hooks.run("complete",d),c&&c.call(d.element);return}if(s.hooks.run("before-highlight",d),!d.grammar){k(s.util.encode(d.code));return}if(i&&e.Worker){var C=new Worker(s.filename);C.onmessage=function(z){k(z.data)},C.postMessage(JSON.stringify({language:d.language,code:d.code,immediateClose:!0}))}else k(s.highlight(d.code,d.grammar,d.language))},highlight:function(a,i,c){var p={code:a,grammar:i,language:c};if(s.hooks.run("before-tokenize",p),!p.grammar)throw new Error('The language "'+p.language+'" has no grammar.');return p.tokens=s.tokenize(p.code,p.grammar),s.hooks.run("after-tokenize",p),n.stringify(s.util.encode(p.tokens),p.language)},tokenize:function(a,i){var c=i.rest;if(c){for(var p in c)i[p]=c[p];delete i.rest}var u=new h;return b(u,u.head,a),m(a,u,i,u.head,0),x(u)},hooks:{all:{},add:function(a,i){var c=s.hooks.all;c[a]=c[a]||[],c[a].push(i)},run:function(a,i){var c=s.hooks.all[a];if(!(!c||!c.length))for(var p=0,u;u=c[p++];)u(i)}},Token:n};e.Prism=s;function n(a,i,c,p){this.type=a,this.content=i,this.alias=c,this.length=(p||"").length|0}n.stringify=function a(i,c){if(typeof i=="string")return i;if(Array.isArray(i)){var p="";return i.forEach(function(k){p+=a(k,c)}),p}var u={type:i.type,content:a(i.content,c),tag:"span",classes:["token",i.type],attributes:{},language:c},g=i.alias;g&&(Array.isArray(g)?Array.prototype.push.apply(u.classes,g):u.classes.push(g)),s.hooks.run("wrap",u);var A="";for(var d in u.attributes)A+=" "+d+'="'+(u.attributes[d]||"").replace(/"/g,"&quot;")+'"';return"<"+u.tag+' class="'+u.classes.join(" ")+'"'+A+">"+u.content+"</"+u.tag+">"};function l(a,i,c,p){a.lastIndex=i;var u=a.exec(c);if(u&&p&&u[1]){var g=u[1].length;u.index+=g,u[0]=u[0].slice(g)}return u}function m(a,i,c,p,u,g){for(var A in c)if(!(!c.hasOwnProperty(A)||!c[A])){var d=c[A];d=Array.isArray(d)?d:[d];for(var k=0;k<d.length;++k){if(g&&g.cause==A+","+k)return;var C=d[k],z=C.inside,Ct=!!C.lookbehind,Tt=!!C.greedy,Wt=C.alias;if(Tt&&!C.pattern.global){var ce=C.pattern.toString().match(/[imsuy]*$/)[0];C.pattern=RegExp(C.pattern.source,ce+"g")}for(var ue=C.pattern||C,L=p.next,D=u;L!==i.tail&&!(g&&D>=g.reach);D+=L.value.length,L=L.next){var st=L.value;if(i.length>a.length)return;if(!(st instanceof n)){var ht=1,W;if(Tt){if(W=l(ue,D,a,Ct),!W||W.index>=a.length)break;var pe=W.index,Po=W.index+W[0].length,dt=D;for(dt+=L.value.length;pe>=dt;)L=L.next,dt+=L.value.length;if(dt-=L.value.length,D=dt,L.value instanceof n)continue;for(var Gt=L;Gt!==i.tail&&(dt<Po||typeof Gt.value=="string");Gt=Gt.next)ht++,dt+=Gt.value.length;ht--,st=a.slice(D,dt),W.index-=D}else if(W=l(ue,0,st,Ct),!W)continue;var pe=W.index,he=W[0],Ke=st.slice(0,pe),vr=st.slice(pe+he.length),Ye=D+st.length;g&&Ye>g.reach&&(g.reach=Ye);var de=L.prev;Ke&&(de=b(i,de,Ke),D+=Ke.length),S(i,de,ht);var jo=new n(A,z?s.tokenize(he,z):he,Wt,he);if(L=b(i,de,jo),vr&&b(i,L,vr),ht>1){var Qe={cause:A+","+k,reach:Ye};m(a,i,c,L.prev,D,Qe),g&&Qe.reach>g.reach&&(g.reach=Qe.reach)}}}}}}function h(){var a={value:null,prev:null,next:null},i={value:null,prev:a,next:null};a.next=i,this.head=a,this.tail=i,this.length=0}function b(a,i,c){var p=i.next,u={value:c,prev:i,next:p};return i.next=u,p.prev=u,a.length++,u}function S(a,i,c){for(var p=i.next,u=0;u<c&&p!==a.tail;u++)p=p.next;i.next=p,p.prev=i,a.length-=u}function x(a){for(var i=[],c=a.head.next;c!==a.tail;)i.push(c.value),c=c.next;return i}if(!e.document)return e.addEventListener&&(s.disableWorkerMessageHandler||e.addEventListener("message",function(a){var i=JSON.parse(a.data),c=i.language,p=i.code,u=i.immediateClose;e.postMessage(s.highlight(p,s.languages[c],c)),u&&e.close()},!1)),s;var v=s.util.currentScript();v&&(s.filename=v.src,v.hasAttribute("data-manual")&&(s.manual=!0));function y(){s.manual||s.highlightAll()}if(!s.manual){var $=document.readyState;$==="loading"||$==="interactive"&&v&&v.defer?document.addEventListener("DOMContentLoaded",y):window.requestAnimationFrame?window.requestAnimationFrame(y):window.setTimeout(y,16)}return s})(Fs);typeof Ve<"u"&&Ve.exports&&(Ve.exports=f);typeof global<"u"&&(global.Prism=f);f.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]};f.languages.markup.tag.inside["attr-value"].inside.entity=f.languages.markup.entity;f.languages.markup.doctype.inside["internal-subset"].inside=f.languages.markup;f.hooks.add("wrap",function(e){e.type==="entity"&&(e.attributes.title=e.content.replace(/&amp;/,"&"))});Object.defineProperty(f.languages.markup.tag,"addInlined",{value:function(t,r){var o={};o["language-"+r]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:f.languages[r]},o.cdata=/^<!\[CDATA\[|\]\]>$/i;var s={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:o}};s["language-"+r]={pattern:/[\s\S]+/,inside:f.languages[r]};var n={};n[t]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return t}),"i"),lookbehind:!0,greedy:!0,inside:s},f.languages.insertBefore("markup","cdata",n)}});Object.defineProperty(f.languages.markup.tag,"addAttribute",{value:function(e,t){f.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+e+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[t,"language-"+t],inside:f.languages[t]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}});f.languages.html=f.languages.markup;f.languages.mathml=f.languages.markup;f.languages.svg=f.languages.markup;f.languages.xml=f.languages.extend("markup",{});f.languages.ssml=f.languages.xml;f.languages.atom=f.languages.xml;f.languages.rss=f.languages.xml;(function(e){var t=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+t.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+t.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+t.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+t.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:t,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css;var r=e.languages.markup;r&&(r.tag.addInlined("style","css"),r.tag.addAttribute("style","css"))})(f);f.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/};f.languages.javascript=f.languages.extend("clike",{"class-name":[f.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+(/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source)+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/});f.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/;f.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:f.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:f.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:f.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:f.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:f.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/});f.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:f.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}});f.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}});f.languages.markup&&(f.languages.markup.tag.addInlined("script","javascript"),f.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript"));f.languages.js=f.languages.javascript;(function(){if(typeof f>"u"||typeof document>"u")return;Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector);var e="Loading\u2026",t=function(v,y){return"\u2716 Error "+v+" while fetching file: "+y},r="\u2716 Error: File does not exist or is empty",o={js:"javascript",py:"python",rb:"ruby",ps1:"powershell",psm1:"powershell",sh:"bash",bat:"batch",h:"c",tex:"latex"},s="data-src-status",n="loading",l="loaded",m="failed",h="pre[data-src]:not(["+s+'="'+l+'"]):not(['+s+'="'+n+'"])';function b(v,y,$){var a=new XMLHttpRequest;a.open("GET",v,!0),a.onreadystatechange=function(){a.readyState==4&&(a.status<400&&a.responseText?y(a.responseText):a.status>=400?$(t(a.status,a.statusText)):$(r))},a.send(null)}function S(v){var y=/^\s*(\d+)\s*(?:(,)\s*(?:(\d+)\s*)?)?$/.exec(v||"");if(y){var $=Number(y[1]),a=y[2],i=y[3];return a?i?[$,Number(i)]:[$,void 0]:[$,$]}}f.hooks.add("before-highlightall",function(v){v.selector+=", "+h}),f.hooks.add("before-sanity-check",function(v){var y=v.element;if(y.matches(h)){v.code="",y.setAttribute(s,n);var $=y.appendChild(document.createElement("CODE"));$.textContent=e;var a=y.getAttribute("data-src"),i=v.language;if(i==="none"){var c=(/\.(\w+)$/.exec(a)||[,"none"])[1];i=o[c]||c}f.util.setLanguage($,i),f.util.setLanguage(y,i);var p=f.plugins.autoloader;p&&p.loadLanguages(i),b(a,function(u){y.setAttribute(s,l);var g=S(y.getAttribute("data-range"));if(g){var A=u.split(/\r\n?|\n/g),d=g[0],k=g[1]==null?A.length:g[1];d<0&&(d+=A.length),d=Math.max(0,Math.min(d-1,A.length)),k<0&&(k+=A.length),k=Math.max(0,Math.min(k,A.length)),u=A.slice(d,k).join(`
2
- `),y.hasAttribute("data-start")||y.setAttribute("data-start",String(d+1))}$.textContent=u,f.highlightElement($)},function(u){y.setAttribute(s,m),$.textContent=u})}}),f.plugins.fileHighlight={highlight:function(y){for(var $=(y||document).querySelectorAll(h),a=0,i;i=$[a++];)f.highlightElement(i)}};var x=!1;f.fileHighlight=function(){x||(console.warn("Prism.fileHighlight is deprecated. Use `Prism.plugins.fileHighlight.highlight` instead."),x=!0),f.plugins.fileHighlight.highlight.apply(this,arguments)}})()});var fe=globalThis,me=fe.ShadowRoot&&(fe.ShadyCSS===void 0||fe.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,er=Symbol(),xr=new WeakMap,Vt=class{constructor(t,r,o){if(this._$cssResult$=!0,o!==er)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=r}get styleSheet(){let t=this.o,r=this.t;if(me&&t===void 0){let o=r!==void 0&&r.length===1;o&&(t=xr.get(r)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),o&&xr.set(r,t))}return t}toString(){return this.cssText}},Zt=e=>new Vt(typeof e=="string"?e:e+"",void 0,er),w=(e,...t)=>{let r=e.length===1?e[0]:t.reduce((o,s,n)=>o+(l=>{if(l._$cssResult$===!0)return l.cssText;if(typeof l=="number")return l;throw Error("Value passed to 'css' function must be a 'css' function result: "+l+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(s)+e[n+1],e[0]);return new Vt(r,e,er)},ge=(e,t)=>{if(me)e.adoptedStyleSheets=t.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of t){let o=document.createElement("style"),s=fe.litNonce;s!==void 0&&o.setAttribute("nonce",s),o.textContent=r.cssText,e.appendChild(o)}},Ft=me?e=>e:e=>e instanceof CSSStyleSheet?(t=>{let r="";for(let o of t.cssRules)r+=o.cssText;return Zt(r)})(e):e;var{is:Go,defineProperty:Vo,getOwnPropertyDescriptor:Zo,getOwnPropertyNames:Xo,getOwnPropertySymbols:Jo,getPrototypeOf:Ko}=Object,be=globalThis,wr=be.trustedTypes,Yo=wr?wr.emptyScript:"",Qo=be.reactiveElementPolyfillSupport,Xt=(e,t)=>e,rr={toAttribute(e,t){switch(t){case Boolean:e=e?Yo:null;break;case Object:case Array:e=e==null?e:JSON.stringify(e)}return e},fromAttribute(e,t){let r=e;switch(t){case Boolean:r=e!==null;break;case Number:r=e===null?null:Number(e);break;case Object:case Array:try{r=JSON.parse(e)}catch{r=null}}return r}},Ar=(e,t)=>!Go(e,t),$r={attribute:!0,type:String,converter:rr,reflect:!1,useDefault:!1,hasChanged:Ar};Symbol.metadata??=Symbol("metadata"),be.litPropertyMetadata??=new WeakMap;var nt=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,r=$r){if(r.state&&(r.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(t)&&((r=Object.create(r)).wrapped=!0),this.elementProperties.set(t,r),!r.noAccessor){let o=Symbol(),s=this.getPropertyDescriptor(t,o,r);s!==void 0&&Vo(this.prototype,t,s)}}static getPropertyDescriptor(t,r,o){let{get:s,set:n}=Zo(this.prototype,t)??{get(){return this[r]},set(l){this[r]=l}};return{get:s,set(l){let m=s?.call(this);n?.call(this,l),this.requestUpdate(t,m,o)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??$r}static _$Ei(){if(this.hasOwnProperty(Xt("elementProperties")))return;let t=Ko(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(Xt("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Xt("properties"))){let r=this.properties,o=[...Xo(r),...Jo(r)];for(let s of o)this.createProperty(s,r[s])}let t=this[Symbol.metadata];if(t!==null){let r=litPropertyMetadata.get(t);if(r!==void 0)for(let[o,s]of r)this.elementProperties.set(o,s)}this._$Eh=new Map;for(let[r,o]of this.elementProperties){let s=this._$Eu(r,o);s!==void 0&&this._$Eh.set(s,r)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){let r=[];if(Array.isArray(t)){let o=new Set(t.flat(1/0).reverse());for(let s of o)r.unshift(Ft(s))}else t!==void 0&&r.push(Ft(t));return r}static _$Eu(t,r){let o=r.attribute;return o===!1?void 0:typeof o=="string"?o:typeof t=="string"?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise(t=>this.enableUpdating=t),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach(t=>t(this))}addController(t){(this._$EO??=new Set).add(t),this.renderRoot!==void 0&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$EO?.delete(t)}_$E_(){let t=new Map,r=this.constructor.elementProperties;for(let o of r.keys())this.hasOwnProperty(o)&&(t.set(o,this[o]),delete this[o]);t.size>0&&(this._$Ep=t)}createRenderRoot(){let t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return ge(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach(t=>t.hostConnected?.())}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach(t=>t.hostDisconnected?.())}attributeChangedCallback(t,r,o){this._$AK(t,o)}_$ET(t,r){let o=this.constructor.elementProperties.get(t),s=this.constructor._$Eu(t,o);if(s!==void 0&&o.reflect===!0){let n=(o.converter?.toAttribute!==void 0?o.converter:rr).toAttribute(r,o.type);this._$Em=t,n==null?this.removeAttribute(s):this.setAttribute(s,n),this._$Em=null}}_$AK(t,r){let o=this.constructor,s=o._$Eh.get(t);if(s!==void 0&&this._$Em!==s){let n=o.getPropertyOptions(s),l=typeof n.converter=="function"?{fromAttribute:n.converter}:n.converter?.fromAttribute!==void 0?n.converter:rr;this._$Em=s;let m=l.fromAttribute(r,n.type);this[s]=m??this._$Ej?.get(s)??m,this._$Em=null}}requestUpdate(t,r,o,s=!1,n){if(t!==void 0){let l=this.constructor;if(s===!1&&(n=this[t]),o??=l.getPropertyOptions(t),!((o.hasChanged??Ar)(n,r)||o.useDefault&&o.reflect&&n===this._$Ej?.get(t)&&!this.hasAttribute(l._$Eu(t,o))))return;this.C(t,r,o)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(t,r,{useDefault:o,reflect:s,wrapped:n},l){o&&!(this._$Ej??=new Map).has(t)&&(this._$Ej.set(t,l??r??this[t]),n!==!0||l!==void 0)||(this._$AL.has(t)||(this.hasUpdated||o||(r=void 0),this._$AL.set(t,r)),s===!0&&this._$Em!==t&&(this._$Eq??=new Set).add(t))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(r){Promise.reject(r)}let t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[s,n]of this._$Ep)this[s]=n;this._$Ep=void 0}let o=this.constructor.elementProperties;if(o.size>0)for(let[s,n]of o){let{wrapped:l}=n,m=this[s];l!==!0||this._$AL.has(s)||m===void 0||this.C(s,void 0,n,m)}}let t=!1,r=this._$AL;try{t=this.shouldUpdate(r),t?(this.willUpdate(r),this._$EO?.forEach(o=>o.hostUpdate?.()),this.update(r)):this._$EM()}catch(o){throw t=!1,this._$EM(),o}t&&this._$AE(r)}willUpdate(t){}_$AE(t){this._$EO?.forEach(r=>r.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Eq&&=this._$Eq.forEach(r=>this._$ET(r,this[r])),this._$EM()}updated(t){}firstUpdated(t){}};nt.elementStyles=[],nt.shadowRootOptions={mode:"open"},nt[Xt("elementProperties")]=new Map,nt[Xt("finalized")]=new Map,Qo?.({ReactiveElement:nt}),(be.reactiveElementVersions??=[]).push("2.1.2");var sr=globalThis,Sr=e=>e,ye=sr.trustedTypes,kr=ye?ye.createPolicy("lit-html",{createHTML:e=>e}):void 0,nr="$lit$",it=`lit$${Math.random().toFixed(9).slice(2)}$`,ir="?"+it,ts=`<${ir}>`,$t=document,Kt=()=>$t.createComment(""),Yt=e=>e===null||typeof e!="object"&&typeof e!="function",ar=Array.isArray,Or=e=>ar(e)||typeof e?.[Symbol.iterator]=="function",or=`[
3
- \f\r]`,Jt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,_r=/-->/g,Er=/>/g,xt=RegExp(`>|${or}(?:([^\\s"'>=/]+)(${or}*=${or}*(?:[^
4
- \f\r"'\`<>=]|("|')|))|$)`,"g"),Cr=/'/g,Tr=/"/g,Rr=/^(?:script|style|textarea|title)$/i,lr=e=>(t,...r)=>({_$litType$:e,strings:t,values:r}),E=lr(1),Z=lr(2),js=lr(3),at=Symbol.for("lit-noChange"),M=Symbol.for("lit-nothing"),Fr=new WeakMap,wt=$t.createTreeWalker($t,129);function zr(e,t){if(!ar(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return kr!==void 0?kr.createHTML(t):t}var Mr=(e,t)=>{let r=e.length-1,o=[],s,n=t===2?"<svg>":t===3?"<math>":"",l=Jt;for(let m=0;m<r;m++){let h=e[m],b,S,x=-1,v=0;for(;v<h.length&&(l.lastIndex=v,S=l.exec(h),S!==null);)v=l.lastIndex,l===Jt?S[1]==="!--"?l=_r:S[1]!==void 0?l=Er:S[2]!==void 0?(Rr.test(S[2])&&(s=RegExp("</"+S[2],"g")),l=xt):S[3]!==void 0&&(l=xt):l===xt?S[0]===">"?(l=s??Jt,x=-1):S[1]===void 0?x=-2:(x=l.lastIndex-S[2].length,b=S[1],l=S[3]===void 0?xt:S[3]==='"'?Tr:Cr):l===Tr||l===Cr?l=xt:l===_r||l===Er?l=Jt:(l=xt,s=void 0);let y=l===xt&&e[m+1].startsWith("/>")?" ":"";n+=l===Jt?h+ts:x>=0?(o.push(b),h.slice(0,x)+nr+h.slice(x)+it+y):h+it+(x===-2?m:y)}return[zr(e,n+(e[r]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),o]},Qt=class e{constructor({strings:t,_$litType$:r},o){let s;this.parts=[];let n=0,l=0,m=t.length-1,h=this.parts,[b,S]=Mr(t,r);if(this.el=e.createElement(b,o),wt.currentNode=this.el.content,r===2||r===3){let x=this.el.content.firstChild;x.replaceWith(...x.childNodes)}for(;(s=wt.nextNode())!==null&&h.length<m;){if(s.nodeType===1){if(s.hasAttributes())for(let x of s.getAttributeNames())if(x.endsWith(nr)){let v=S[l++],y=s.getAttribute(x).split(it),$=/([.?@])?(.*)/.exec(v);h.push({type:1,index:n,name:$[2],strings:y,ctor:$[1]==="."?xe:$[1]==="?"?we:$[1]==="@"?$e:St}),s.removeAttribute(x)}else x.startsWith(it)&&(h.push({type:6,index:n}),s.removeAttribute(x));if(Rr.test(s.tagName)){let x=s.textContent.split(it),v=x.length-1;if(v>0){s.textContent=ye?ye.emptyScript:"";for(let y=0;y<v;y++)s.append(x[y],Kt()),wt.nextNode(),h.push({type:2,index:++n});s.append(x[v],Kt())}}}else if(s.nodeType===8)if(s.data===ir)h.push({type:2,index:n});else{let x=-1;for(;(x=s.data.indexOf(it,x+1))!==-1;)h.push({type:7,index:n}),x+=it.length-1}n++}}static createElement(t,r){let o=$t.createElement("template");return o.innerHTML=t,o}};function At(e,t,r=e,o){if(t===at)return t;let s=o!==void 0?r._$Co?.[o]:r._$Cl,n=Yt(t)?void 0:t._$litDirective$;return s?.constructor!==n&&(s?._$AO?.(!1),n===void 0?s=void 0:(s=new n(e),s._$AT(e,r,o)),o!==void 0?(r._$Co??=[])[o]=s:r._$Cl=s),s!==void 0&&(t=At(e,s._$AS(e,t.values),s,o)),t}var ve=class{constructor(t,r){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:r},parts:o}=this._$AD,s=(t?.creationScope??$t).importNode(r,!0);wt.currentNode=s;let n=wt.nextNode(),l=0,m=0,h=o[0];for(;h!==void 0;){if(l===h.index){let b;h.type===2?b=new Ot(n,n.nextSibling,this,t):h.type===1?b=new h.ctor(n,h.name,h.strings,this,t):h.type===6&&(b=new Ae(n,this,t)),this._$AV.push(b),h=o[++m]}l!==h?.index&&(n=wt.nextNode(),l++)}return wt.currentNode=$t,s}p(t){let r=0;for(let o of this._$AV)o!==void 0&&(o.strings!==void 0?(o._$AI(t,o,r),r+=o.strings.length-2):o._$AI(t[r])),r++}},Ot=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,r,o,s){this.type=2,this._$AH=M,this._$AN=void 0,this._$AA=t,this._$AB=r,this._$AM=o,this.options=s,this._$Cv=s?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,r=this._$AM;return r!==void 0&&t?.nodeType===11&&(t=r.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,r=this){t=At(this,t,r),Yt(t)?t===M||t==null||t===""?(this._$AH!==M&&this._$AR(),this._$AH=M):t!==this._$AH&&t!==at&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):Or(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==M&&Yt(this._$AH)?this._$AA.nextSibling.data=t:this.T($t.createTextNode(t)),this._$AH=t}$(t){let{values:r,_$litType$:o}=t,s=typeof o=="number"?this._$AC(t):(o.el===void 0&&(o.el=Qt.createElement(zr(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===s)this._$AH.p(r);else{let n=new ve(s,this),l=n.u(this.options);n.p(r),this.T(l),this._$AH=n}}_$AC(t){let r=Fr.get(t.strings);return r===void 0&&Fr.set(t.strings,r=new Qt(t)),r}k(t){ar(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,o,s=0;for(let n of t)s===r.length?r.push(o=new e(this.O(Kt()),this.O(Kt()),this,this.options)):o=r[s],o._$AI(n),s++;s<r.length&&(this._$AR(o&&o._$AB.nextSibling,s),r.length=s)}_$AR(t=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);t!==this._$AB;){let o=Sr(t).nextSibling;Sr(t).remove(),t=o}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},St=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,r,o,s,n){this.type=1,this._$AH=M,this._$AN=void 0,this.element=t,this.name=r,this._$AM=s,this.options=n,o.length>2||o[0]!==""||o[1]!==""?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=M}_$AI(t,r=this,o,s){let n=this.strings,l=!1;if(n===void 0)t=At(this,t,r,0),l=!Yt(t)||t!==this._$AH&&t!==at,l&&(this._$AH=t);else{let m=t,h,b;for(t=n[0],h=0;h<n.length-1;h++)b=At(this,m[o+h],r,h),b===at&&(b=this._$AH[h]),l||=!Yt(b)||b!==this._$AH[h],b===M?t=M:t!==M&&(t+=(b??"")+n[h+1]),this._$AH[h]=b}l&&!s&&this.j(t)}j(t){t===M?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},xe=class extends St{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===M?void 0:t}},we=class extends St{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==M)}},$e=class extends St{constructor(t,r,o,s,n){super(t,r,o,s,n),this.type=5}_$AI(t,r=this){if((t=At(this,t,r,0)??M)===at)return;let o=this._$AH,s=t===M&&o!==M||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,n=t!==M&&(o===M||s);s&&this.element.removeEventListener(this.name,this,o),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},Ae=class{constructor(t,r,o){this.element=t,this.type=6,this._$AN=void 0,this._$AM=r,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(t){At(this,t)}},Pr={M:nr,P:it,A:ir,C:1,L:Mr,R:ve,D:Or,V:At,I:Ot,H:St,N:we,U:$e,B:xe,F:Ae},es=sr.litHtmlPolyfillSupport;es?.(Qt,Ot),(sr.litHtmlVersions??=[]).push("3.3.2");var N=(e,t,r)=>{let o=r?.renderBefore??t,s=o._$litPart$;if(s===void 0){let n=r?.renderBefore??null;o._$litPart$=s=new Ot(t.insertBefore(Kt(),n),n,void 0,r??{})}return s._$AI(e),s};var cr=globalThis,Rt=class extends nt{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){let r=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=N(r,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return at}};Rt._$litElement$=!0,Rt.finalized=!0,cr.litElementHydrateSupport?.({LitElement:Rt});var rs=cr.litElementPolyfillSupport;rs?.({LitElement:Rt});(cr.litElementVersions??=[]).push("4.2.2");var X={string:(e,t)=>e.getAttribute(t)??void 0,number:(e,t)=>{let r=e.getAttribute(t);return r===null||!r?void 0:Number(r)},boolean:(e,t)=>e.getAttribute(t)!==null},q={string:(e,t,r)=>(r===void 0?e.removeAttribute(t):e.setAttribute(t,r),!0),number:(e,t,r)=>(r===void 0?e.removeAttribute(t):e.setAttribute(t,r.toString()),!0),boolean:(e,t,r)=>(r?e.setAttribute(t,""):e.removeAttribute(t),!0),any:(e,t,r)=>{r==null?e.removeAttribute(t):typeof r=="string"?e.setAttribute(t,r):typeof r=="number"?e.setAttribute(t,r.toString()):typeof r=="boolean"?r===!0?e.setAttribute(t,""):e.removeAttribute(t):console.warn(`invalid attribute "${t}" type is "${typeof r}"`)},entries:(e,t)=>{for(let[r,o]of t)q.any(e,r,o)},record:(e,t)=>q.entries(e,Object.entries(t))};function jr(e,t={}){let r=document.createElement(e);return q.record(r,t),r}function Lr(e){let t=document.createDocumentFragment();return N(e,t),t.firstElementChild}function Se(e,t){let r=[];for(let[o,s]of Object.entries(t))if(typeof s=="function")e.addEventListener(o,s),r.push(()=>e.removeEventListener(o,s));else{let[n,l]=s;e.addEventListener(o,l,n),r.push(()=>e.removeEventListener(o,l))}return()=>r.forEach(o=>o())}function Dr(e,t){let r=new MutationObserver(t);return r.observe(e,{attributes:!0}),()=>r.disconnect()}var ke=class{element;constructor(t){this.element=t}strings=new Proxy({},{get:(t,r)=>X.string(this.element,r),set:(t,r,o)=>q.string(this.element,r,o)});numbers=new Proxy({},{get:(t,r)=>X.number(this.element,r),set:(t,r,o)=>q.number(this.element,r,o)});booleans=new Proxy({},{get:(t,r)=>X.boolean(this.element,r),set:(t,r,o)=>q.boolean(this.element,r,o)})};var Hr=(e,t,r={})=>new Proxy(t,{get:(o,s)=>{switch(t[s]){case String:return X.string(e,s);case Number:return X.number(e,s);case Boolean:return X.boolean(e,s);default:throw new Error(`invalid attribute type for "${s}"`)}},set:(o,s,n)=>{try{switch(r.beforeSet?.(s),t[s]){case String:return q.string(e,s,n);case Number:return q.number(e,s,n);case Boolean:return q.boolean(e,s,n);default:throw new Error(`invalid attribute type for "${s}"`)}}finally{r.afterSet?.(s)}}});function zt(e){let t=new ke(e);return{strings:t.strings,numbers:t.numbers,booleans:t.booleans,on:r=>Dr(e,r),spec:(r,o={})=>Hr(e,r,o)}}zt.get=X;zt.set=q;function Nr(e){return new ur(e)}var ur=class{tagName;#t=new Map;#e=[];constructor(t){this.tagName=t}attr(t,r=!0){return this.#t.set(t,r),this}attrs(t){for(let[r,o]of Object.entries(t))this.attr(r,o);return this}children(...t){return this.#e.push(...t),this}done(){let t=document.createElement(this.tagName);return q.entries(t,this.#t),t.append(...this.#e),t}};function Mt(e,t=document){let r=t.querySelector(e);if(!r)throw new Error(`element not found (${e})`);return r}function _e(e,t=document){return t.querySelector(e)}function Ee(e,t=document){return Array.from(t.querySelectorAll(e))}var Ce=class e{element;#t;constructor(t){this.element=t}in(t){return new e(typeof t=="string"?Mt(t,this.element):t)}require(t){return Mt(t,this.element)}maybe(t){return _e(t,this.element)}all(t){return Ee(t,this.element)}render(...t){return N(t,this.element)}get attrs(){return this.#t??=zt(this.element)}events(t){return Se(this.element,t)}};function qr(e){return e.replace(/([a-zA-Z])(?=[A-Z])/g,"$1-").toLowerCase()}function Ur(e,t={}){let{soft:r=!1,upgrade:o=!0}=t;for(let[s,n]of Object.entries(e)){let l=qr(s),m=customElements.get(l);r&&m||(customElements.define(l,n),o&&document.querySelectorAll(l).forEach(h=>{h.constructor===HTMLElement&&customElements.upgrade(h)}))}}function F(e,t=document){return Mt(e,t)}F.in=(e,t=document)=>new Ce(t).in(e);F.require=Mt;F.maybe=_e;F.all=Ee;F.el=jr;F.elmer=Nr;F.mk=Lr;F.events=Se;F.attrs=zt;F.register=Ur;F.render=(e,...t)=>N(t,e);function Br(e,t){let r,o,s=[];function n(){r=[],o&&clearTimeout(o),o=void 0,s=[]}return n(),((...l)=>{r=l,o&&clearTimeout(o);let m=new Promise((h,b)=>{s.push({resolve:h,reject:b})});return o=setTimeout(()=>{Promise.resolve().then(()=>t(...r)).then(h=>{for(let{resolve:b}of s)b(h);n()}).catch(h=>{for(let{reject:b}of s)b(h);n()})},e),m})}function kt(){let e,t,r=new Promise((s,n)=>{e=s,t=n});function o(s){return s.then(e).catch(t),r}return{promise:r,resolve:e,reject:t,entangle:o}}function Pt(e){let t=null;return((...r)=>(t?t.params=r:(t={params:r,deferred:kt()},queueMicrotask(()=>{let{params:o,deferred:s}=t;t=null,Promise.resolve(e(...o)).then(s.resolve).catch(s.reject)})),t.deferred.promise))}var J={};Bo(J,{clone:()=>te,equal:()=>os,freeze:()=>ss});function te(e,t=new Set){if(t.has(e))throw new Error("cannot clone circular reference");let r;return typeof e=="function"||e!==null&&typeof e=="object"?(t.add(e),Array.isArray(e)?r=e.map(o=>te(o,new Set(t))):e.constructor===Object?r=Object.fromEntries(Object.entries(e).map(([o,s])=>[o,te(s,new Set(t))])):e instanceof Map?r=new Map(Array.from(e,([o,s])=>[o,te(s,new Set(t))])):e instanceof Set?r=new Set(Array.from(e,o=>te(o,new Set(t)))):e instanceof Date?r=new Date(e.getTime()):r=e,t.delete(e)):r=e,r}var ee=Object.freeze({happy:e=>e!=null,sad:e=>e==null,boolean:e=>typeof e=="boolean",number:e=>typeof e=="number",string:e=>typeof e=="string",bigint:e=>typeof e=="bigint",object:e=>typeof e=="object"&&e!==null,array:e=>Array.isArray(e),fn:e=>typeof e=="function",symbol:e=>typeof e=="symbol"});var os=(e,t)=>{function r(o,s,n){if(!ee.object(o)||!ee.object(s))return o===s;if(n.includes(o))throw new Error("forbidden circularity detected in deep equal comparison");let l=[...n,o];if(o instanceof Map&&s instanceof Map){if(o.size!==s.size)return!1;for(let[m,h]of o)if(!s.has(m)||!r(h,s.get(m),l))return!1}else if(o instanceof Set&&s instanceof Set){if(o.size!==s.size)return!1;for(let m of o)if(!Array.from(s).some(h=>r(m,h,l)))return!1}else{let m=Object.keys(o),h=Object.keys(s);if(m.length!==h.length)return!1;for(let b of m)if(!h.includes(b)||!r(o[b],s[b],l))return!1}return!0}return r(e,t,[])};function ss(e){function t(r,o){if(!ee.object(r)||o.includes(r))return r;let s=[...o,r];if(r instanceof Map)for(let n of r.entries())for(let l of n)t(l,s);else if(r instanceof Set)for(let n of r)t(n,s);else if(Array.isArray(r))for(let n of r)t(n,s);else for(let n of Object.values(r))t(n,s);return Object.freeze(r)}return t(e,[])}function Ir(e){if(e.ok)return e.value;let{error:t}=e;throw t instanceof Error?t:typeof t=="string"?new Error(t):new Error("unknown")}function Wr(e){if(e.ok)throw new Error("didn't get needed error");return e.error}var Te=class e extends Map{static require(t,r){if(t.has(r))return t.get(r);throw new Error(`required key not found: "${r}"`)}static guarantee(t,r,o){if(t.has(r))return t.get(r);{let s=o();return t.set(r,s),s}}array(){return[...this]}require(t){return e.require(this,t)}guarantee(t,r){return e.guarantee(this,t,r)}};function Fe(e){let t,r=!1,o=()=>{r=!0,clearTimeout(t)},s=async()=>{r||(await e(o),!r&&(t=setTimeout(s,0)))};return s(),o}var Oe=class{getRefill;#t=[];constructor(t){this.getRefill=t,this.#e()}get currentStock(){return[...this.#t]}#e(){if(this.#t.length===0&&(this.#t=[...this.getRefill()]),this.#t.length===0)throw new Error("dispenser's getRefill returned an empty array")}takeAll(){let t=this.#t;return this.#t=[...this.getRefill()],t}takeRandom(){this.#e();let t=Math.floor(Math.random()*this.#t.length),[r]=this.#t.splice(t,1);return r}takeFirst(){return this.#e(),this.#t.shift()}takeLast(){return this.#e(),this.#t.pop()}shift=this.takeFirst.bind(this);pop=this.takeLast.bind(this)};var Re=(e=0)=>new Promise(t=>setTimeout(t,e));function ns(){let e=new Set;async function t(...h){await Promise.all([...e].map(b=>b(...h)))}function r(h){return e.add(h),()=>{e.delete(h)}}async function o(...h){return t(...h)}function s(h){return r(h)}async function n(h){let{promise:b,resolve:S}=kt(),x=s(async(...v)=>{h&&await h(...v),S(v),x()});return b}function l(){e.clear()}let m={pub:o,sub:s,publish:t,subscribe:r,on:r,next:n,clear:l};return Object.assign(s,m),Object.assign(o,m),m}function lt(e){let t=ns();return e&&t.sub(e),t.sub}function ft(e,...t){let r=e.length-1;return e.slice(0,r).reduce((o,s,n)=>o+s+t[n],"")+e[r]}function Gr(e){let t=e.split(/\r|\n/),r;for(let s of t)if(!/^\s+$/.test(s)){let l=s.match(/^(\t+).+/);if(l){let m=l[1].length;if(r=r===void 0||m<r?m:r,r===0)break}}let o=new RegExp(`^\\t{${r}}`);return t.map(s=>/^\s+$/.test(s)?"":s).map(s=>s.replace(o,"")).join(`
5
- `)}function Vr(e){return J.freeze(J.clone(e))}var pr=class{#t=[];#e=new WeakMap;#r=[];#o=new Set;notifyRead(t){this.#t.at(-1)?.add(t)}async notifyWrite(t){if(this.#o.has(t))throw new Error("circularity forbidden");let r=this.#s(t).pub();return this.#r.at(-1)?.add(r),r}observe(t){this.#t.push(new Set);let r=t();return{seen:this.#t.pop(),result:r}}subscribe(t,r){return this.#s(t)(async()=>{let o=new Set;this.#r.push(o),this.#o.add(t),o.add(r()),this.#o.delete(t),await Promise.all(o),this.#r.pop()})}#s(t){let r=this.#e.get(t);return r||(r=lt(),this.#e.set(t,r)),r}},O=globalThis[Symbol.for("e280.tracker")]??=new pr;var K=Symbol("optic");var re=class{calculate;#t=!1;#e;constructor(t){this.calculate=t,this.#e=t()}get(){return this.#t&&(this.#t=!1,this.#e=this.calculate()),this.#e}invalidate(){this.#t=!0}};var ze=class e{on=lt();onFrozen=lt();[K];#t;#e;#r;#o=Pt(()=>{this.on.publish(this.state),this.onFrozen.publish(this.frozen)});constructor(t){this[K]=t,this.#t=J.clone(t.getState()),this.#e=new re(()=>J.clone(t.getState())),this.#r=new re(()=>Vr(t.getState()))}async update(){let t=this[K].getState();!J.equal(t,this.#t)&&(this.#e.invalidate(),this.#r.invalidate(),this.#t=J.clone(t),this.#o(),await O.notifyWrite(this))}get state(){return O.notifyRead(this),this.#e.get()}get frozen(){return O.notifyRead(this),this.#r.get()}async mutate(t){return this[K].mutate(t)}lens(t){let r=new e({getState:()=>t(this[K].getState()),mutate:o=>this[K].mutate(s=>o(t(s))),registerLens:this[K].registerLens});return this[K].registerLens(r),r}};var Me=class e{sneak;on;dispose;constructor(t,r){if(new.target!==e)throw new Error("Derived cannot be subclassed");return jt(t,r)}get value(){return this.get()}get(){return O.notifyRead(this),this.sneak}toString(){return`(derived "${String(this.get())}")`}};function Pe(e,t){let r=[],o=()=>{for(let l of r)l();r=[]},s=()=>{let{seen:l,result:m}=O.observe(e);for(let h of l)r.push(O.subscribe(h,n));return m},n=Pt(()=>{o(),t?t(s()):s()});return{result:s(),dispose:o}}function Lt(e,t){return Object.is(e,t)}function jt(e,t){function r(){return r.get()}let o=t?.compare??Lt;Object.setPrototypeOf(r,Me.prototype),r.on=lt();let{result:s,dispose:n}=Pe(e,async l=>{!o(r.sneak,l)&&(r.sneak=l,await Promise.all([O.notifyWrite(r),r.on.pub(l)]))});return r.sneak=s,r.dispose=n,r}var _t=Symbol(),mt=Symbol(),gt=Symbol(),je=Symbol(),Y=Symbol(),oe=Symbol(),ct=Symbol();var Le=class e{sneak;[oe];[mt];[ct];[gt];[Y];constructor(t,r){if(new.target!==e)throw new Error("Lazy cannot be subclassed");return De(t,r)}get value(){return this.get()}[je](){for(let s of this[ct])s();this[ct]=[];let{seen:t,result:r}=O.observe(this[oe]),o=async()=>{this[mt]=!0};for(let s of t)this[ct].push(O.subscribe(s,o));return this[gt]=()=>{for(let s of this[ct])s();this[ct]=[]},r}get(){if(!this[gt])this.sneak=this[je](),this[mt]=!1;else if(this[mt]){this[mt]=!1;let t=this[je]();!this[Y](this.sneak,t)&&(this.sneak=t,O.notifyWrite(this))}return O.notifyRead(this),this.sneak}dispose(){this[gt]&&this[gt]()}toString(){return`($lazy "${String(this.get())}")`}};function De(e,t){function r(){return r.get()}return Object.setPrototypeOf(r,Le.prototype),r.sneak=void 0,r[oe]=e,r[mt]=!1,r[gt]=void 0,r[ct]=[],r[Y]=t?.compare??Lt,r}var He=class e{sneak;on;[_t];[Y];constructor(t,r){if(new.target!==e)throw new Error("Signal cannot be subclassed");return H(t,r)}get value(){return this.get()}set value(t){this.set(t)}get(){return O.notifyRead(this),this.sneak}async set(t,r=!1){let o=this.sneak;return this.sneak=t,(r||!this[Y](o,t))&&await this.publish(),t}async publish(){if(this[_t])throw new Error("forbid circularity");let t=this.sneak,r=Promise.resolve();try{this[_t]=!0,r=Promise.all([O.notifyWrite(this),this.on.pub(t)])}finally{this[_t]=!1}return await r,t}toString(){return`($signal "${String(this.get())}")`}};function H(e,t){function r(o){let s=r;return arguments.length===0?s.get():s.set(arguments[0])}return Object.setPrototypeOf(r,He.prototype),r.sneak=e,r.on=lt(),r[_t]=!1,r[Y]=t?.compare??Lt,r}H.derived=jt;H.lazy=De;function Zr(e){if(!e.done)throw new Error("wait not done");return Ir(e)}function Xr(e){if(!e.done)throw new Error("wait not done");return Wr(e)}var Jr=e=>!e.done;var Kr=e=>e.done&&e.ok;function Yr(e,t){return Jr(e)?t.pending():Kr(e)?t.ok(Zr(e)):t.err(Xr(e))}var bt=w`
1
+ var vo=Object.create;var ze=Object.defineProperty;var xo=Object.getOwnPropertyDescriptor;var wo=Object.getOwnPropertyNames;var $o=Object.getPrototypeOf,Ao=Object.prototype.hasOwnProperty;var So=(e,t)=>()=>{try{return t||e((t={exports:{}}).exports,t),t.exports}catch(r){throw t=0,r}},ko=(e,t)=>{for(var r in t)ze(e,r,{get:t[r],enumerable:!0})},_o=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of wo(t))!Ao.call(e,n)&&n!==r&&ze(e,n,{get:()=>t[n],enumerable:!(o=xo(t,n))||o.enumerable});return e};var Eo=(e,t,r)=>(r=e!=null?vo($o(e)):{},_o(t||!e||!e.__esModule?ze(r,"default",{value:e,enumerable:!0}):r,e));var Yr=So((Np,_e)=>{var sn=typeof window<"u"?window:typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope?self:{};var f=(function(e){var t=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,r=0,o={},n={manual:e.Prism&&e.Prism.manual,disableWorkerMessageHandler:e.Prism&&e.Prism.disableWorkerMessageHandler,util:{encode:function a(i){return i instanceof s?new s(i.type,a(i.content),i.alias):Array.isArray(i)?i.map(a):i.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/\u00a0/g," ")},type:function(a){return Object.prototype.toString.call(a).slice(8,-1)},objId:function(a){return a.__id||Object.defineProperty(a,"__id",{value:++r}),a.__id},clone:function a(i,c){c=c||{};var p,u;switch(n.util.type(i)){case"Object":if(u=n.util.objId(i),c[u])return c[u];p={},c[u]=p;for(var m in i)i.hasOwnProperty(m)&&(p[m]=a(i[m],c));return p;case"Array":return u=n.util.objId(i),c[u]?c[u]:(p=[],c[u]=p,i.forEach(function($,h){p[h]=a($,c)}),p);default:return i}},getLanguage:function(a){for(;a;){var i=t.exec(a.className);if(i)return i[1].toLowerCase();a=a.parentElement}return"none"},setLanguage:function(a,i){a.className=a.className.replace(RegExp(t,"gi"),""),a.classList.add("language-"+i)},currentScript:function(){if(typeof document>"u")return null;if(document.currentScript&&document.currentScript.tagName==="SCRIPT")return document.currentScript;try{throw new Error}catch(p){var a=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(p.stack)||[])[1];if(a){var i=document.getElementsByTagName("script");for(var c in i)if(i[c].src==a)return i[c]}return null}},isActive:function(a,i,c){for(var p="no-"+i;a;){var u=a.classList;if(u.contains(i))return!0;if(u.contains(p))return!1;a=a.parentElement}return!!c}},languages:{plain:o,plaintext:o,text:o,txt:o,extend:function(a,i){var c=n.util.clone(n.languages[a]);for(var p in i)c[p]=i[p];return c},insertBefore:function(a,i,c,p){p=p||n.languages;var u=p[a],m={};for(var $ in u)if(u.hasOwnProperty($)){if($==i)for(var h in c)c.hasOwnProperty(h)&&(m[h]=c[h]);c.hasOwnProperty($)||(m[$]=u[$])}var k=p[a];return p[a]=m,n.languages.DFS(n.languages,function(_,F){F===k&&_!=a&&(this[_]=m)}),m},DFS:function a(i,c,p,u){u=u||{};var m=n.util.objId;for(var $ in i)if(i.hasOwnProperty($)){c.call(i,$,i[$],p||$);var h=i[$],k=n.util.type(h);k==="Object"&&!u[m(h)]?(u[m(h)]=!0,a(h,c,null,u)):k==="Array"&&!u[m(h)]&&(u[m(h)]=!0,a(h,c,$,u))}}},plugins:{},highlightAll:function(a,i){n.highlightAllUnder(document,a,i)},highlightAllUnder:function(a,i,c){var p={callback:c,container:a,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};n.hooks.run("before-highlightall",p),p.elements=Array.prototype.slice.apply(p.container.querySelectorAll(p.selector)),n.hooks.run("before-all-elements-highlight",p);for(var u=0,m;m=p.elements[u++];)n.highlightElement(m,i===!0,p.callback)},highlightElement:function(a,i,c){var p=n.util.getLanguage(a),u=n.languages[p];n.util.setLanguage(a,p);var m=a.parentElement;m&&m.nodeName.toLowerCase()==="pre"&&n.util.setLanguage(m,p);var $=a.textContent,h={element:a,language:p,grammar:u,code:$};function k(F){h.highlightedCode=F,n.hooks.run("before-insert",h),h.element.innerHTML=h.highlightedCode,n.hooks.run("after-highlight",h),n.hooks.run("complete",h),c&&c.call(h.element)}if(n.hooks.run("before-sanity-check",h),m=h.element.parentElement,m&&m.nodeName.toLowerCase()==="pre"&&!m.hasAttribute("tabindex")&&m.setAttribute("tabindex","0"),!h.code){n.hooks.run("complete",h),c&&c.call(h.element);return}if(n.hooks.run("before-highlight",h),!h.grammar){k(n.util.encode(h.code));return}if(i&&e.Worker){var _=new Worker(n.filename);_.onmessage=function(F){k(F.data)},_.postMessage(JSON.stringify({language:h.language,code:h.code,immediateClose:!0}))}else k(n.highlight(h.code,h.grammar,h.language))},highlight:function(a,i,c){var p={code:a,grammar:i,language:c};if(n.hooks.run("before-tokenize",p),!p.grammar)throw new Error('The language "'+p.language+'" has no grammar.');return p.tokens=n.tokenize(p.code,p.grammar),n.hooks.run("after-tokenize",p),s.stringify(n.util.encode(p.tokens),p.language)},tokenize:function(a,i){var c=i.rest;if(c){for(var p in c)i[p]=c[p];delete i.rest}var u=new d;return b(u,u.head,a),y(a,u,i,u.head,0),v(u)},hooks:{all:{},add:function(a,i){var c=n.hooks.all;c[a]=c[a]||[],c[a].push(i)},run:function(a,i){var c=n.hooks.all[a];if(!(!c||!c.length))for(var p=0,u;u=c[p++];)u(i)}},Token:s};e.Prism=n;function s(a,i,c,p){this.type=a,this.content=i,this.alias=c,this.length=(p||"").length|0}s.stringify=function a(i,c){if(typeof i=="string")return i;if(Array.isArray(i)){var p="";return i.forEach(function(k){p+=a(k,c)}),p}var u={type:i.type,content:a(i.content,c),tag:"span",classes:["token",i.type],attributes:{},language:c},m=i.alias;m&&(Array.isArray(m)?Array.prototype.push.apply(u.classes,m):u.classes.push(m)),n.hooks.run("wrap",u);var $="";for(var h in u.attributes)$+=" "+h+'="'+(u.attributes[h]||"").replace(/"/g,"&quot;")+'"';return"<"+u.tag+' class="'+u.classes.join(" ")+'"'+$+">"+u.content+"</"+u.tag+">"};function l(a,i,c,p){a.lastIndex=i;var u=a.exec(c);if(u&&p&&u[1]){var m=u[1].length;u.index+=m,u[0]=u[0].slice(m)}return u}function y(a,i,c,p,u,m){for(var $ in c)if(!(!c.hasOwnProperty($)||!c[$])){var h=c[$];h=Array.isArray(h)?h:[h];for(var k=0;k<h.length;++k){if(m&&m.cause==$+","+k)return;var _=h[k],F=_.inside,bt=!!_.lookbehind,yt=!!_.greedy,Ft=_.alias;if(yt&&!_.pattern.global){var Zt=_.pattern.toString().match(/[imsuy]*$/)[0];_.pattern=RegExp(_.pattern.source,Zt+"g")}for(var Xt=_.pattern||_,M=p.next,P=u;M!==i.tail&&!(m&&P>=m.reach);P+=M.value.length,M=M.next){var tt=M.value;if(i.length>a.length)return;if(!(tt instanceof s)){var nt=1,q;if(yt){if(q=l(Xt,P,a,bt),!q||q.index>=a.length)break;var Jt=q.index,bo=q.index+q[0].length,st=P;for(st+=M.value.length;Jt>=st;)M=M.next,st+=M.value.length;if(st-=M.value.length,P=st,M.value instanceof s)continue;for(var Ot=M;Ot!==i.tail&&(st<bo||typeof Ot.value=="string");Ot=Ot.next)nt++,st+=Ot.value.length;nt--,tt=a.slice(P,st),q.index-=P}else if(q=l(Xt,0,tt,bt),!q)continue;var Jt=q.index,Kt=q[0],Fe=tt.slice(0,Jt),Ke=tt.slice(Jt+Kt.length),Oe=P+tt.length;m&&Oe>m.reach&&(m.reach=Oe);var Yt=M.prev;Fe&&(Yt=b(i,Yt,Fe),P+=Fe.length),S(i,Yt,nt);var yo=new s($,F?n.tokenize(Kt,F):Kt,Ft,Kt);if(M=b(i,Yt,yo),Ke&&b(i,M,Ke),nt>1){var Me={cause:$+","+k,reach:Oe};y(a,i,c,M.prev,P,Me),m&&Me.reach>m.reach&&(m.reach=Me.reach)}}}}}}function d(){var a={value:null,prev:null,next:null},i={value:null,prev:a,next:null};a.next=i,this.head=a,this.tail=i,this.length=0}function b(a,i,c){var p=i.next,u={value:c,prev:i,next:p};return i.next=u,p.prev=u,a.length++,u}function S(a,i,c){for(var p=i.next,u=0;u<c&&p!==a.tail;u++)p=p.next;i.next=p,p.prev=i,a.length-=u}function v(a){for(var i=[],c=a.head.next;c!==a.tail;)i.push(c.value),c=c.next;return i}if(!e.document)return e.addEventListener&&(n.disableWorkerMessageHandler||e.addEventListener("message",function(a){var i=JSON.parse(a.data),c=i.language,p=i.code,u=i.immediateClose;e.postMessage(n.highlight(p,n.languages[c],c)),u&&e.close()},!1)),n;var x=n.util.currentScript();x&&(n.filename=x.src,x.hasAttribute("data-manual")&&(n.manual=!0));function g(){n.manual||n.highlightAll()}if(!n.manual){var w=document.readyState;w==="loading"||w==="interactive"&&x&&x.defer?document.addEventListener("DOMContentLoaded",g):window.requestAnimationFrame?window.requestAnimationFrame(g):window.setTimeout(g,16)}return n})(sn);typeof _e<"u"&&_e.exports&&(_e.exports=f);typeof global<"u"&&(global.Prism=f);f.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]};f.languages.markup.tag.inside["attr-value"].inside.entity=f.languages.markup.entity;f.languages.markup.doctype.inside["internal-subset"].inside=f.languages.markup;f.hooks.add("wrap",function(e){e.type==="entity"&&(e.attributes.title=e.content.replace(/&amp;/,"&"))});Object.defineProperty(f.languages.markup.tag,"addInlined",{value:function(t,r){var o={};o["language-"+r]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:f.languages[r]},o.cdata=/^<!\[CDATA\[|\]\]>$/i;var n={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:o}};n["language-"+r]={pattern:/[\s\S]+/,inside:f.languages[r]};var s={};s[t]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return t}),"i"),lookbehind:!0,greedy:!0,inside:n},f.languages.insertBefore("markup","cdata",s)}});Object.defineProperty(f.languages.markup.tag,"addAttribute",{value:function(e,t){f.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+e+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[t,"language-"+t],inside:f.languages[t]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}});f.languages.html=f.languages.markup;f.languages.mathml=f.languages.markup;f.languages.svg=f.languages.markup;f.languages.xml=f.languages.extend("markup",{});f.languages.ssml=f.languages.xml;f.languages.atom=f.languages.xml;f.languages.rss=f.languages.xml;(function(e){var t=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+t.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+t.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+t.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+t.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:t,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css;var r=e.languages.markup;r&&(r.tag.addInlined("style","css"),r.tag.addAttribute("style","css"))})(f);f.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/};f.languages.javascript=f.languages.extend("clike",{"class-name":[f.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+(/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source)+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/});f.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/;f.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:f.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:f.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:f.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:f.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:f.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/});f.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:f.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}});f.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}});f.languages.markup&&(f.languages.markup.tag.addInlined("script","javascript"),f.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript"));f.languages.js=f.languages.javascript;(function(){if(typeof f>"u"||typeof document>"u")return;Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector);var e="Loading\u2026",t=function(x,g){return"\u2716 Error "+x+" while fetching file: "+g},r="\u2716 Error: File does not exist or is empty",o={js:"javascript",py:"python",rb:"ruby",ps1:"powershell",psm1:"powershell",sh:"bash",bat:"batch",h:"c",tex:"latex"},n="data-src-status",s="loading",l="loaded",y="failed",d="pre[data-src]:not(["+n+'="'+l+'"]):not(['+n+'="'+s+'"])';function b(x,g,w){var a=new XMLHttpRequest;a.open("GET",x,!0),a.onreadystatechange=function(){a.readyState==4&&(a.status<400&&a.responseText?g(a.responseText):a.status>=400?w(t(a.status,a.statusText)):w(r))},a.send(null)}function S(x){var g=/^\s*(\d+)\s*(?:(,)\s*(?:(\d+)\s*)?)?$/.exec(x||"");if(g){var w=Number(g[1]),a=g[2],i=g[3];return a?i?[w,Number(i)]:[w,void 0]:[w,w]}}f.hooks.add("before-highlightall",function(x){x.selector+=", "+d}),f.hooks.add("before-sanity-check",function(x){var g=x.element;if(g.matches(d)){x.code="",g.setAttribute(n,s);var w=g.appendChild(document.createElement("CODE"));w.textContent=e;var a=g.getAttribute("data-src"),i=x.language;if(i==="none"){var c=(/\.(\w+)$/.exec(a)||[,"none"])[1];i=o[c]||c}f.util.setLanguage(w,i),f.util.setLanguage(g,i);var p=f.plugins.autoloader;p&&p.loadLanguages(i),b(a,function(u){g.setAttribute(n,l);var m=S(g.getAttribute("data-range"));if(m){var $=u.split(/\r\n?|\n/g),h=m[0],k=m[1]==null?$.length:m[1];h<0&&(h+=$.length),h=Math.max(0,Math.min(h-1,$.length)),k<0&&(k+=$.length),k=Math.max(0,Math.min(k,$.length)),u=$.slice(h,k).join(`
2
+ `),g.hasAttribute("data-start")||g.setAttribute("data-start",String(h+1))}w.textContent=u,f.highlightElement(w)},function(u){g.setAttribute(n,y),w.textContent=u})}}),f.plugins.fileHighlight={highlight:function(g){for(var w=(g||document).querySelectorAll(d),a=0,i;i=w[a++];)f.highlightElement(i)}};var v=!1;f.fileHighlight=function(){v||(console.warn("Prism.fileHighlight is deprecated. Use `Prism.plugins.fileHighlight.highlight` instead."),v=!0),f.plugins.fileHighlight.highlight.apply(this,arguments)}})()});var Qt=globalThis,te=Qt.ShadowRoot&&(Qt.ShadyCSS===void 0||Qt.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Pe=Symbol(),Ye=new WeakMap,Mt=class{constructor(t,r,o){if(this._$cssResult$=!0,o!==Pe)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=r}get styleSheet(){let t=this.o,r=this.t;if(te&&t===void 0){let o=r!==void 0&&r.length===1;o&&(t=Ye.get(r)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),o&&Ye.set(r,t))}return t}toString(){return this.cssText}},zt=e=>new Mt(typeof e=="string"?e:e+"",void 0,Pe),A=(e,...t)=>{let r=e.length===1?e[0]:t.reduce((o,n,s)=>o+(l=>{if(l._$cssResult$===!0)return l.cssText;if(typeof l=="number")return l;throw Error("Value passed to 'css' function must be a 'css' function result: "+l+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(n)+e[s+1],e[0]);return new Mt(r,e,Pe)},ee=(e,t)=>{if(te)e.adoptedStyleSheets=t.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of t){let o=document.createElement("style"),n=Qt.litNonce;n!==void 0&&o.setAttribute("nonce",n),o.textContent=r.cssText,e.appendChild(o)}},vt=te?e=>e:e=>e instanceof CSSStyleSheet?(t=>{let r="";for(let o of t.cssRules)r+=o.cssText;return zt(r)})(e):e;var{is:Co,defineProperty:To,getOwnPropertyDescriptor:Fo,getOwnPropertyNames:Oo,getOwnPropertySymbols:Mo,getPrototypeOf:zo}=Object,re=globalThis,Qe=re.trustedTypes,Po=Qe?Qe.emptyScript:"",jo=re.reactiveElementPolyfillSupport,Pt=(e,t)=>e,je={toAttribute(e,t){switch(t){case Boolean:e=e?Po:null;break;case Object:case Array:e=e==null?e:JSON.stringify(e)}return e},fromAttribute(e,t){let r=e;switch(t){case Boolean:r=e!==null;break;case Number:r=e===null?null:Number(e);break;case Object:case Array:try{r=JSON.parse(e)}catch{r=null}}return r}},er=(e,t)=>!Co(e,t),tr={attribute:!0,type:String,converter:je,reflect:!1,useDefault:!1,hasChanged:er};Symbol.metadata??=Symbol("metadata"),re.litPropertyMetadata??=new WeakMap;var et=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,r=tr){if(r.state&&(r.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(t)&&((r=Object.create(r)).wrapped=!0),this.elementProperties.set(t,r),!r.noAccessor){let o=Symbol(),n=this.getPropertyDescriptor(t,o,r);n!==void 0&&To(this.prototype,t,n)}}static getPropertyDescriptor(t,r,o){let{get:n,set:s}=Fo(this.prototype,t)??{get(){return this[r]},set(l){this[r]=l}};return{get:n,set(l){let y=n?.call(this);s?.call(this,l),this.requestUpdate(t,y,o)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??tr}static _$Ei(){if(this.hasOwnProperty(Pt("elementProperties")))return;let t=zo(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(Pt("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Pt("properties"))){let r=this.properties,o=[...Oo(r),...Mo(r)];for(let n of o)this.createProperty(n,r[n])}let t=this[Symbol.metadata];if(t!==null){let r=litPropertyMetadata.get(t);if(r!==void 0)for(let[o,n]of r)this.elementProperties.set(o,n)}this._$Eh=new Map;for(let[r,o]of this.elementProperties){let n=this._$Eu(r,o);n!==void 0&&this._$Eh.set(n,r)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){let r=[];if(Array.isArray(t)){let o=new Set(t.flat(1/0).reverse());for(let n of o)r.unshift(vt(n))}else t!==void 0&&r.push(vt(t));return r}static _$Eu(t,r){let o=r.attribute;return o===!1?void 0:typeof o=="string"?o:typeof t=="string"?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise(t=>this.enableUpdating=t),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach(t=>t(this))}addController(t){(this._$EO??=new Set).add(t),this.renderRoot!==void 0&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$EO?.delete(t)}_$E_(){let t=new Map,r=this.constructor.elementProperties;for(let o of r.keys())this.hasOwnProperty(o)&&(t.set(o,this[o]),delete this[o]);t.size>0&&(this._$Ep=t)}createRenderRoot(){let t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return ee(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach(t=>t.hostConnected?.())}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach(t=>t.hostDisconnected?.())}attributeChangedCallback(t,r,o){this._$AK(t,o)}_$ET(t,r){let o=this.constructor.elementProperties.get(t),n=this.constructor._$Eu(t,o);if(n!==void 0&&o.reflect===!0){let s=(o.converter?.toAttribute!==void 0?o.converter:je).toAttribute(r,o.type);this._$Em=t,s==null?this.removeAttribute(n):this.setAttribute(n,s),this._$Em=null}}_$AK(t,r){let o=this.constructor,n=o._$Eh.get(t);if(n!==void 0&&this._$Em!==n){let s=o.getPropertyOptions(n),l=typeof s.converter=="function"?{fromAttribute:s.converter}:s.converter?.fromAttribute!==void 0?s.converter:je;this._$Em=n;let y=l.fromAttribute(r,s.type);this[n]=y??this._$Ej?.get(n)??y,this._$Em=null}}requestUpdate(t,r,o,n=!1,s){if(t!==void 0){let l=this.constructor;if(n===!1&&(s=this[t]),o??=l.getPropertyOptions(t),!((o.hasChanged??er)(s,r)||o.useDefault&&o.reflect&&s===this._$Ej?.get(t)&&!this.hasAttribute(l._$Eu(t,o))))return;this.C(t,r,o)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(t,r,{useDefault:o,reflect:n,wrapped:s},l){o&&!(this._$Ej??=new Map).has(t)&&(this._$Ej.set(t,l??r??this[t]),s!==!0||l!==void 0)||(this._$AL.has(t)||(this.hasUpdated||o||(r=void 0),this._$AL.set(t,r)),n===!0&&this._$Em!==t&&(this._$Eq??=new Set).add(t))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(r){Promise.reject(r)}let t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[n,s]of this._$Ep)this[n]=s;this._$Ep=void 0}let o=this.constructor.elementProperties;if(o.size>0)for(let[n,s]of o){let{wrapped:l}=s,y=this[n];l!==!0||this._$AL.has(n)||y===void 0||this.C(n,void 0,s,y)}}let t=!1,r=this._$AL;try{t=this.shouldUpdate(r),t?(this.willUpdate(r),this._$EO?.forEach(o=>o.hostUpdate?.()),this.update(r)):this._$EM()}catch(o){throw t=!1,this._$EM(),o}t&&this._$AE(r)}willUpdate(t){}_$AE(t){this._$EO?.forEach(r=>r.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Eq&&=this._$Eq.forEach(r=>this._$ET(r,this[r])),this._$EM()}updated(t){}firstUpdated(t){}};et.elementStyles=[],et.shadowRootOptions={mode:"open"},et[Pt("elementProperties")]=new Map,et[Pt("finalized")]=new Map,jo?.({ReactiveElement:et}),(re.reactiveElementVersions??=[]).push("2.1.2");var Le=globalThis,rr=e=>e,oe=Le.trustedTypes,or=oe?oe.createPolicy("lit-html",{createHTML:e=>e}):void 0,He="$lit$",rt=`lit$${Math.random().toFixed(9).slice(2)}$`,De="?"+rt,Ro=`<${De}>`,dt=document,Rt=()=>dt.createComment(""),Lt=e=>e===null||typeof e!="object"&&typeof e!="function",Ne=Array.isArray,cr=e=>Ne(e)||typeof e?.[Symbol.iterator]=="function",Re=`[
3
+ \f\r]`,jt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,nr=/-->/g,sr=/>/g,ut=RegExp(`>|${Re}(?:([^\\s"'>=/]+)(${Re}*=${Re}*(?:[^
4
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),ir=/'/g,ar=/"/g,ur=/^(?:script|style|textarea|title)$/i,Be=e=>(t,...r)=>({_$litType$:e,strings:t,values:r}),E=Be(1),G=Be(2),dn=Be(3),ot=Symbol.for("lit-noChange"),O=Symbol.for("lit-nothing"),lr=new WeakMap,pt=dt.createTreeWalker(dt,129);function pr(e,t){if(!Ne(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return or!==void 0?or.createHTML(t):t}var dr=(e,t)=>{let r=e.length-1,o=[],n,s=t===2?"<svg>":t===3?"<math>":"",l=jt;for(let y=0;y<r;y++){let d=e[y],b,S,v=-1,x=0;for(;x<d.length&&(l.lastIndex=x,S=l.exec(d),S!==null);)x=l.lastIndex,l===jt?S[1]==="!--"?l=nr:S[1]!==void 0?l=sr:S[2]!==void 0?(ur.test(S[2])&&(n=RegExp("</"+S[2],"g")),l=ut):S[3]!==void 0&&(l=ut):l===ut?S[0]===">"?(l=n??jt,v=-1):S[1]===void 0?v=-2:(v=l.lastIndex-S[2].length,b=S[1],l=S[3]===void 0?ut:S[3]==='"'?ar:ir):l===ar||l===ir?l=ut:l===nr||l===sr?l=jt:(l=ut,n=void 0);let g=l===ut&&e[y+1].startsWith("/>")?" ":"";s+=l===jt?d+Ro:v>=0?(o.push(b),d.slice(0,v)+He+d.slice(v)+rt+g):d+rt+(v===-2?y:g)}return[pr(e,s+(e[r]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),o]},Ht=class e{constructor({strings:t,_$litType$:r},o){let n;this.parts=[];let s=0,l=0,y=t.length-1,d=this.parts,[b,S]=dr(t,r);if(this.el=e.createElement(b,o),pt.currentNode=this.el.content,r===2||r===3){let v=this.el.content.firstChild;v.replaceWith(...v.childNodes)}for(;(n=pt.nextNode())!==null&&d.length<y;){if(n.nodeType===1){if(n.hasAttributes())for(let v of n.getAttributeNames())if(v.endsWith(He)){let x=S[l++],g=n.getAttribute(v).split(rt),w=/([.?@])?(.*)/.exec(x);d.push({type:1,index:s,name:w[2],strings:g,ctor:w[1]==="."?se:w[1]==="?"?ie:w[1]==="@"?ae:ft}),n.removeAttribute(v)}else v.startsWith(rt)&&(d.push({type:6,index:s}),n.removeAttribute(v));if(ur.test(n.tagName)){let v=n.textContent.split(rt),x=v.length-1;if(x>0){n.textContent=oe?oe.emptyScript:"";for(let g=0;g<x;g++)n.append(v[g],Rt()),pt.nextNode(),d.push({type:2,index:++s});n.append(v[x],Rt())}}}else if(n.nodeType===8)if(n.data===De)d.push({type:2,index:s});else{let v=-1;for(;(v=n.data.indexOf(rt,v+1))!==-1;)d.push({type:7,index:s}),v+=rt.length-1}s++}}static createElement(t,r){let o=dt.createElement("template");return o.innerHTML=t,o}};function ht(e,t,r=e,o){if(t===ot)return t;let n=o!==void 0?r._$Co?.[o]:r._$Cl,s=Lt(t)?void 0:t._$litDirective$;return n?.constructor!==s&&(n?._$AO?.(!1),s===void 0?n=void 0:(n=new s(e),n._$AT(e,r,o)),o!==void 0?(r._$Co??=[])[o]=n:r._$Cl=n),n!==void 0&&(t=ht(e,n._$AS(e,t.values),n,o)),t}var ne=class{constructor(t,r){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:r},parts:o}=this._$AD,n=(t?.creationScope??dt).importNode(r,!0);pt.currentNode=n;let s=pt.nextNode(),l=0,y=0,d=o[0];for(;d!==void 0;){if(l===d.index){let b;d.type===2?b=new xt(s,s.nextSibling,this,t):d.type===1?b=new d.ctor(s,d.name,d.strings,this,t):d.type===6&&(b=new le(s,this,t)),this._$AV.push(b),d=o[++y]}l!==d?.index&&(s=pt.nextNode(),l++)}return pt.currentNode=dt,n}p(t){let r=0;for(let o of this._$AV)o!==void 0&&(o.strings!==void 0?(o._$AI(t,o,r),r+=o.strings.length-2):o._$AI(t[r])),r++}},xt=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,r,o,n){this.type=2,this._$AH=O,this._$AN=void 0,this._$AA=t,this._$AB=r,this._$AM=o,this.options=n,this._$Cv=n?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,r=this._$AM;return r!==void 0&&t?.nodeType===11&&(t=r.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,r=this){t=ht(this,t,r),Lt(t)?t===O||t==null||t===""?(this._$AH!==O&&this._$AR(),this._$AH=O):t!==this._$AH&&t!==ot&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):cr(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==O&&Lt(this._$AH)?this._$AA.nextSibling.data=t:this.T(dt.createTextNode(t)),this._$AH=t}$(t){let{values:r,_$litType$:o}=t,n=typeof o=="number"?this._$AC(t):(o.el===void 0&&(o.el=Ht.createElement(pr(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===n)this._$AH.p(r);else{let s=new ne(n,this),l=s.u(this.options);s.p(r),this.T(l),this._$AH=s}}_$AC(t){let r=lr.get(t.strings);return r===void 0&&lr.set(t.strings,r=new Ht(t)),r}k(t){Ne(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,o,n=0;for(let s of t)n===r.length?r.push(o=new e(this.O(Rt()),this.O(Rt()),this,this.options)):o=r[n],o._$AI(s),n++;n<r.length&&(this._$AR(o&&o._$AB.nextSibling,n),r.length=n)}_$AR(t=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);t!==this._$AB;){let o=rr(t).nextSibling;rr(t).remove(),t=o}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},ft=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,r,o,n,s){this.type=1,this._$AH=O,this._$AN=void 0,this.element=t,this.name=r,this._$AM=n,this.options=s,o.length>2||o[0]!==""||o[1]!==""?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=O}_$AI(t,r=this,o,n){let s=this.strings,l=!1;if(s===void 0)t=ht(this,t,r,0),l=!Lt(t)||t!==this._$AH&&t!==ot,l&&(this._$AH=t);else{let y=t,d,b;for(t=s[0],d=0;d<s.length-1;d++)b=ht(this,y[o+d],r,d),b===ot&&(b=this._$AH[d]),l||=!Lt(b)||b!==this._$AH[d],b===O?t=O:t!==O&&(t+=(b??"")+s[d+1]),this._$AH[d]=b}l&&!n&&this.j(t)}j(t){t===O?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},se=class extends ft{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===O?void 0:t}},ie=class extends ft{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==O)}},ae=class extends ft{constructor(t,r,o,n,s){super(t,r,o,n,s),this.type=5}_$AI(t,r=this){if((t=ht(this,t,r,0)??O)===ot)return;let o=this._$AH,n=t===O&&o!==O||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,s=t!==O&&(o===O||n);n&&this.element.removeEventListener(this.name,this,o),s&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},le=class{constructor(t,r,o){this.element=t,this.type=6,this._$AN=void 0,this._$AM=r,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(t){ht(this,t)}},hr={M:He,P:rt,A:De,C:1,L:dr,R:ne,D:cr,V:ht,I:xt,H:ft,N:ie,U:ae,B:se,F:le},Lo=Le.litHtmlPolyfillSupport;Lo?.(Ht,xt),(Le.litHtmlVersions??=[]).push("3.3.3");var R=(e,t,r)=>{let o=r?.renderBefore??t,n=o._$litPart$;if(n===void 0){let s=r?.renderBefore??null;o._$litPart$=n=new xt(t.insertBefore(Rt(),s),s,void 0,r??{})}return n._$AI(e),n};var Ue=globalThis,wt=class extends et{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){let r=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=R(r,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return ot}};wt._$litElement$=!0,wt.finalized=!0,Ue.litElementHydrateSupport?.({LitElement:wt});var Ho=Ue.litElementPolyfillSupport;Ho?.({LitElement:wt});(Ue.litElementVersions??=[]).push("4.2.2");var V={string:(e,t)=>e.getAttribute(t)??void 0,number:(e,t)=>{let r=e.getAttribute(t);return r===null||!r?void 0:Number(r)},boolean:(e,t)=>e.getAttribute(t)!==null},L={string:(e,t,r)=>(r===void 0?e.removeAttribute(t):e.setAttribute(t,r),!0),number:(e,t,r)=>(r===void 0?e.removeAttribute(t):e.setAttribute(t,r.toString()),!0),boolean:(e,t,r)=>(r?e.setAttribute(t,""):e.removeAttribute(t),!0),any:(e,t,r)=>{r==null?e.removeAttribute(t):typeof r=="string"?e.setAttribute(t,r):typeof r=="number"?e.setAttribute(t,r.toString()):typeof r=="boolean"?r===!0?e.setAttribute(t,""):e.removeAttribute(t):console.warn(`invalid attribute "${t}" type is "${typeof r}"`)},entries:(e,t)=>{for(let[r,o]of t)L.any(e,r,o)},record:(e,t)=>L.entries(e,Object.entries(t))};function fr(e,t={}){let r=document.createElement(e);return L.record(r,t),r}function mr(e){let t=document.createDocumentFragment();return R(e,t),t.firstElementChild}function ce(e,t){let r=[];for(let[o,n]of Object.entries(t))if(typeof n=="function")e.addEventListener(o,n),r.push(()=>e.removeEventListener(o,n));else{let[s,l]=n;e.addEventListener(o,l,s),r.push(()=>e.removeEventListener(o,l))}return()=>r.forEach(o=>o())}function gr(e,t){let r=new MutationObserver(t);return r.observe(e,{attributes:!0}),()=>r.disconnect()}var ue=class{element;constructor(t){this.element=t}strings=new Proxy({},{get:(t,r)=>V.string(this.element,r),set:(t,r,o)=>L.string(this.element,r,o)});numbers=new Proxy({},{get:(t,r)=>V.number(this.element,r),set:(t,r,o)=>L.number(this.element,r,o)});booleans=new Proxy({},{get:(t,r)=>V.boolean(this.element,r),set:(t,r,o)=>L.boolean(this.element,r,o)})};var br=(e,t,r={})=>new Proxy(t,{get:(o,n)=>{switch(t[n]){case String:return V.string(e,n);case Number:return V.number(e,n);case Boolean:return V.boolean(e,n);default:throw new Error(`invalid attribute type for "${n}"`)}},set:(o,n,s)=>{try{switch(r.beforeSet?.(n),t[n]){case String:return L.string(e,n,s);case Number:return L.number(e,n,s);case Boolean:return L.boolean(e,n,s);default:throw new Error(`invalid attribute type for "${n}"`)}}finally{r.afterSet?.(n)}}});function $t(e){let t=new ue(e);return{strings:t.strings,numbers:t.numbers,booleans:t.booleans,on:r=>gr(e,r),spec:(r,o={})=>br(e,r,o)}}$t.get=V;$t.set=L;function yr(e){return new qe(e)}var qe=class{tagName;#t=new Map;#e=[];constructor(t){this.tagName=t}attr(t,r=!0){return this.#t.set(t,r),this}attrs(t){for(let[r,o]of Object.entries(t))this.attr(r,o);return this}children(...t){return this.#e.push(...t),this}done(){let t=document.createElement(this.tagName);return L.entries(t,this.#t),t.append(...this.#e),t}};function At(e,t=document){let r=t.querySelector(e);if(!r)throw new Error(`element not found (${e})`);return r}function pe(e,t=document){return t.querySelector(e)}function de(e,t=document){return Array.from(t.querySelectorAll(e))}var he=class e{element;#t;constructor(t){this.element=t}in(t){return new e(typeof t=="string"?At(t,this.element):t)}require(t){return At(t,this.element)}maybe(t){return pe(t,this.element)}all(t){return de(t,this.element)}render(...t){return R(t,this.element)}get attrs(){return this.#t??=$t(this.element)}events(t){return ce(this.element,t)}};function vr(e){return e.replace(/([a-zA-Z])(?=[A-Z])/g,"$1-").toLowerCase()}function xr(e,t={}){let{soft:r=!1,upgrade:o=!0}=t;for(let[n,s]of Object.entries(e)){let l=vr(n),y=customElements.get(l);r&&y||(customElements.define(l,s),o&&document.querySelectorAll(l).forEach(d=>{d.constructor===HTMLElement&&customElements.upgrade(d)}))}}function C(e,t=document){return At(e,t)}C.in=(e,t=document)=>new he(t).in(e);C.need=At;C.maybe=pe;C.all=de;C.el=fr;C.elmer=yr;C.mk=mr;C.events=ce;C.attrs=$t;C.register=xr;C.render=(e,...t)=>R(t,e);function wr(e,t){let r,o,n=[];function s(){r=[],o&&clearTimeout(o),o=void 0,n=[]}return s(),((...l)=>{r=l,o&&clearTimeout(o);let y=new Promise((d,b)=>{n.push({resolve:d,reject:b})});return o=setTimeout(()=>{Promise.resolve().then(()=>t(...r)).then(d=>{for(let{resolve:b}of n)b(d);s()}).catch(d=>{for(let{reject:b}of n)b(d);s()})},e),y})}function Dt(){let e,t,r=new Promise((n,s)=>{e=n,t=s});function o(n){return n.then(e).catch(t),r}return{promise:r,resolve:e,reject:t,entangle:o}}function $r(e){let t=null;return((...r)=>(t?t.params=r:(t={params:r,deferred:Dt()},queueMicrotask(()=>{let{params:o,deferred:n}=t;t=null,Promise.resolve(e(...o)).then(n.resolve).catch(n.reject)})),t.deferred.promise))}var Z={};ko(Z,{clone:()=>Nt,equal:()=>Do,freeze:()=>No});function Nt(e,t=new Set){if(t.has(e))throw new Error("cannot clone circular reference");let r;return typeof e=="function"||e!==null&&typeof e=="object"?(t.add(e),Array.isArray(e)?r=e.map(o=>Nt(o,new Set(t))):e.constructor===Object?r=Object.fromEntries(Object.entries(e).map(([o,n])=>[o,Nt(n,new Set(t))])):e instanceof Map?r=new Map(Array.from(e,([o,n])=>[o,Nt(n,new Set(t))])):e instanceof Set?r=new Set(Array.from(e,o=>Nt(o,new Set(t)))):e instanceof Date?r=new Date(e.getTime()):r=e,t.delete(e)):r=e,r}var Bt=Object.freeze({happy:e=>e!=null,sad:e=>e==null,boolean:e=>typeof e=="boolean",number:e=>typeof e=="number",string:e=>typeof e=="string",bigint:e=>typeof e=="bigint",object:e=>typeof e=="object"&&e!==null,array:e=>Array.isArray(e),fn:e=>typeof e=="function",symbol:e=>typeof e=="symbol"});var Do=(e,t)=>{function r(o,n,s){if(!Bt.object(o)||!Bt.object(n))return o===n;if(s.includes(o))throw new Error("forbidden circularity detected in deep equal comparison");let l=[...s,o];if(o instanceof Map&&n instanceof Map){if(o.size!==n.size)return!1;for(let[y,d]of o)if(!n.has(y)||!r(d,n.get(y),l))return!1}else if(o instanceof Set&&n instanceof Set){if(o.size!==n.size)return!1;for(let y of o)if(!Array.from(n).some(d=>r(y,d,l)))return!1}else{let y=Object.keys(o),d=Object.keys(n);if(y.length!==d.length)return!1;for(let b of y)if(!d.includes(b)||!r(o[b],n[b],l))return!1}return!0}return r(e,t,[])};function No(e){function t(r,o){if(!Bt.object(r)||o.includes(r))return r;let n=[...o,r];if(r instanceof Map)for(let s of r.entries())for(let l of s)t(l,n);else if(r instanceof Set)for(let s of r)t(s,n);else if(Array.isArray(r))for(let s of r)t(s,n);else for(let s of Object.values(r))t(s,n);return Object.freeze(r)}return t(e,[])}function Ar(e){if(e.ok)return e.value;let{error:t}=e;throw t instanceof Error?t:typeof t=="string"?new Error(t):new Error("unknown")}function Sr(e){if(e.ok)throw new Error("didn't get needed error");return e.error}function fe(e,t,r){if(e.has(t))return e.get(t);{let o=r();return e.set(t,o),o}}function kr(e){let t,r=!1,o=()=>{r=!0,clearTimeout(t)},n=async()=>{r||(await e(o),!r&&(t=setTimeout(n,0)))};return n(),o}var me=class{getRefill;#t=[];constructor(t){this.getRefill=t,this.#e()}get currentStock(){return[...this.#t]}#e(){if(this.#t.length===0&&(this.#t=[...this.getRefill()]),this.#t.length===0)throw new Error("dispenser's getRefill returned an empty array")}takeAll(){let t=this.#t;return this.#t=[...this.getRefill()],t}takeRandom(){this.#e();let t=Math.floor(Math.random()*this.#t.length),[r]=this.#t.splice(t,1);return r}takeFirst(){return this.#e(),this.#t.shift()}takeLast(){return this.#e(),this.#t.pop()}shift=this.takeFirst.bind(this);pop=this.takeLast.bind(this)};var _r=(e=0)=>new Promise(t=>setTimeout(t,e));function it(e,...t){let r=e.length-1;return e.slice(0,r).reduce((o,n,s)=>o+n+t[s],"")+e[r]}function Er(e){let t=e.split(/\r|\n/),r;for(let n of t)if(!/^\s+$/.test(n)){let l=n.match(/^(\t+).+/);if(l){let y=l[1].length;if(r=r===void 0||y<r?y:r,r===0)break}}let o=new RegExp(`^\\t{${r}}`);return t.map(n=>/^\s+$/.test(n)?"":n).map(n=>n.replace(o,"")).join(`
5
+ `)}var ge=class{#t=new Set;#e=[];#r=new WeakMap;#o=0;#n=new Set;read(t){this.#e.at(-1)?.add(t)}write(t){let r=this.#r.get(t);if(r){for(let o of r)this.#n.add(o);this.#o===0&&this.#s()}}observe(t){let r=new Set;this.#e.push(r);try{let o=t();return{seen:r,value:o}}finally{this.#e.pop()}}subscribe(t,r){let o=fe(this.#r,t,()=>new Set);return o.add(r),()=>{o.delete(r),o.size===0&&this.#r.delete(t)}}batch=t=>{this.#o++;try{return t()}finally{this.#o--,this.#o===0&&this.#s()}};#i(t){if(this.#t.has(t))throw new Error("circularity forbidden");this.#t.add(t);try{t()}finally{this.#t.delete(t)}}#s(){for(;this.#n.size>0;){let t=[...this.#n];this.#n.clear();for(let r of t)this.#i(r)}}};var j=globalThis[Symbol.for("e280.tracker.2")]??=new ge;function U(e){return function t(){return arguments.length===0?(j.read(t),e):(e=arguments[0],j.write(t),e)}}var ni=j.batch;function Tr(e){return Z.freeze(Z.clone(e))}var X=Symbol("optic");var Ut=class{calculate;#t=!1;#e;constructor(t){this.calculate=t,this.#e=t()}get(){return this.#t&&(this.#t=!1,this.#e=this.calculate()),this.#e}invalidate(){this.#t=!0}};var be=class e{[X];#t;#e;#r;constructor(t){this[X]=t,this.#t=Z.clone(t.getState()),this.#e=new Ut(()=>Z.clone(t.getState())),this.#r=new Ut(()=>Tr(t.getState()))}update(){let t=this[X].getState();!Z.equal(t,this.#t)&&(this.#e.invalidate(),this.#r.invalidate(),this.#t=Z.clone(t),j.write(this))}get state(){return j.read(this),this.#e.get()}get frozen(){return j.read(this),this.#r.get()}mutate(t){return this[X].mutate(t)}lens(t){let r=new e({getState:()=>t(this[X].getState()),mutate:o=>this[X].mutate(n=>o(t(n))),registerLens:this[X].registerLens});return this[X].registerLens(r),r}};function Fr(e){if(!e.done)throw new Error("wait not done");return Ar(e)}function Or(e){if(!e.done)throw new Error("wait not done");return Sr(e)}var Mr=e=>!e.done;var zr=e=>e.done&&e.ok;function Pr(e,t){let{pending:r=()=>{},ok:o=()=>{},err:n=()=>{}}=t;return Mr(e)?r():zr(e)?o(Fr(e)):n(Or(e))}var ye=A`
6
6
  * {
7
7
  margin: 0;
8
8
  padding: 0;
@@ -16,29 +16,18 @@ var Lo=Object.create;var tr=Object.defineProperty;var Do=Object.getOwnPropertyDe
16
16
  ::-webkit-scrollbar-track { background: transparent; }
17
17
  ::-webkit-scrollbar-thumb { background: #888; border-radius: 1em; }
18
18
  ::-webkit-scrollbar-thumb:hover { background: #999; }
19
- `;var Ne=class e extends HTMLElement{static register(){F.register({SlyShadow:e},{soft:!0})}connectedCallback(){this.hasAttribute("view")||this.setAttribute("view","")}};var qe=class{render;count=0;rendered=kt();constructor(t){this.render=t}doneRender(){this.count++,this.rendered.resolve(),this.rendered=kt()}},Et=class extends qe{host;shadow;constructor(t,r,o){super(t),this.host=r,this.shadow=o}};var hr=class{#t=[];get scope(){let t=this.#t.at(-1);if(!t)throw new Error("hooks must be called within a render fn");return t}increment(){let t=this.scope,r=t.position++;return{scope:t,position:r}}wrap(t,r){t.position=0,this.#t.push(t);try{return r()}finally{this.#t.pop()}}},Q=globalThis[Symbol.for("e280.hooks")]??=new hr;var Dt=class{#t=[];clear(){this.#t.forEach(t=>t()),this.#t=[]}observe(t,r){let{seen:o,result:s}=O.observe(t);this.clear();for(let n of o){let l=O.subscribe(n,r);this.#t.push(l)}return s}};function T(e){let{scope:t,position:r}=Q.increment();return t.values.guarantee(r,e)}function ut(e){let{scope:t}=Q.increment();return T(()=>t.mounts.mount(e))}var Ue=class{#t=[];#e=[];mount(t){this.#t.push(t),this.#e.push(t())}unmountAll(){for(let t of this.#e)t();this.#e=[]}remountAll(){for(let t of this.#t)this.#e.push(t())}};var Ht=class{cx;position=0;values=new Te;mounts=new Ue;constructor(t){this.cx=t}};var{I:cc}=Pr;var Qr=e=>e.strings===void 0;var Be={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},qt=e=>(...t)=>({_$litDirective$:e,values:t}),Nt=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,r,o){this._$Ct=t,this._$AM=r,this._$Ci=o}_$AS(t,r){return this.update(t,r)}update(t,r){return this.render(...r)}};var se=(e,t)=>{let r=e._$AN;if(r===void 0)return!1;for(let o of r)o._$AO?.(t,!1),se(o,t);return!0},Ie=e=>{let t,r;do{if((t=e._$AM)===void 0)break;r=t._$AN,r.delete(e),e=t}while(r?.size===0)},to=e=>{for(let t;t=e._$AM;e=t){let r=t._$AN;if(r===void 0)t._$AN=r=new Set;else if(r.has(e))break;r.add(e),hs(t)}};function us(e){this._$AN!==void 0?(Ie(this),this._$AM=e,to(this)):this._$AM=e}function ps(e,t=!1,r=0){let o=this._$AH,s=this._$AN;if(s!==void 0&&s.size!==0)if(t)if(Array.isArray(o))for(let n=r;n<o.length;n++)se(o[n],!1),Ie(o[n]);else o!=null&&(se(o,!1),Ie(o));else se(this,e)}var hs=e=>{e.type==Be.CHILD&&(e._$AP??=ps,e._$AQ??=us)},ne=class extends Nt{constructor(){super(...arguments),this._$AN=void 0}_$AT(t,r,o){super._$AT(t,r,o),to(this),this.isConnected=t._$AU}_$AO(t,r=!0){t!==this.isConnected&&(this.isConnected=t,t?this.reconnected?.():this.disconnected?.()),r&&(se(this,t),Ie(this))}setValue(t){if(Qr(this._$Ct))this._$Ct._$AI(t,this);else{let r=[...this._$Ct._$AH];r[this._$Ci]=t,this._$Ct._$AI(r,this,0)}}disconnected(){}reconnected(){}};function We(e){return T(()=>new dr(e))}var dr=class{current;constructor(t){this.current=t}};function fr(){let{scope:e}=Q.increment();return e.cx}function eo(){let e=fr();if(!(e instanceof Et))throw new Error("this hook only works on shadow views (but was called in a light view)");return e}function mr(){return fr().render}function ro(){return fr().rendered.promise}function yt(){return eo().host}function oo(){return eo().shadow}function Ge(e){let t=yt(),r=mr(),o=We(new Set);return ut(()=>F.attrs(t).on(s=>{for(let n of s)if(!o.current.has(n.attributeName)){r();break}})),ro().then(()=>o.current.clear()),T(()=>F.attrs(t).spec(e,{beforeSet:s=>o.current.add(s)}))}function so(e,t){ge(e,ds(t))}function ds(e){let t=[];if(Array.isArray(e)){let r=new Set(e.flat(1/0).reverse());for(let o of r)t.unshift(Ft(o))}else e!==void 0&&t.push(Ft(e));return t}function I(...e){let t=oo();T(()=>so(t,e))}var tt=I;function j(e=""){let t=yt();T(()=>t.setAttribute("view",e))}function pt(e){return T(()=>H(e))}function no(e,t){for(let[r,o]of Object.entries(t))ms(e,r,o)}function ms(e,t,r){let o=e.getAttribute(t),s=gs(r);s!==o&&(s===null?e.removeAttribute(t):e.setAttribute(t,s))}function gs(e){return typeof e=="string"?e:typeof e=="number"?e.toString():e?"":null}function bs(){Ne.register();let e=document.createElement("sly-shadow"),t=e.attachShadow({mode:"open"});return{host:e,shadow:t}}function R(e){return io(bs,e)}R.setup=e=>(t=>io(e,t));function io(e,t){let r=qt(class extends ne{#t;#e;#r;#o=new Dt;constructor(s){super(s);let{host:n,shadow:l}=e(),m=Pt(()=>{if(!this.#r)throw new Error("cannot render before props");if(!this.isConnected)return;let h=this.#s(this.#r);N(h,this.#t.shadow),this.#t.doneRender()});this.#t=new Et(m,n,l),this.#e=new Ht(this.#t)}#s(s){return this.#r=s,this.#o.observe(()=>Q.wrap(this.#e,()=>t(...this.#r)),this.#t.render)}render({props:s,children:n,attrs:l}){let{host:m}=this.#t;return this.isConnected&&(l&&no(m,l),N(n,this.#t.host),N(this.#s(s),this.#t.shadow),this.#t.doneRender()),m}disconnected(){N(null,this.#t.shadow),N(null,this.#t.host),this.#e.mounts.unmountAll(),this.#o.clear()}reconnected(){this.#e.mounts.remountAll(),this.#t.render()}});function o(...s){return r({props:s})}return o.with=r,o}function et(e,t){return()=>ys({hz:e,frames:t})}var ys=R(({hz:e,frames:t})=>{j("loading"),tt(bt,vs);let r=pt(0);return ut(()=>Fe(async()=>{await Re(1e3/e);let o=r.get()+1;r.set(o>=t.length?0:o)})),t.at(r.get())}),vs=w`
19
+ `;var ve=class e extends HTMLElement{static register(){C.register({SlyShadow:e},{soft:!0})}connectedCallback(){this.hasAttribute("view")||this.setAttribute("view","")}};var xe=class{render;count=0;rendered=Dt();constructor(t){this.render=t}doneRender(){this.count++,this.rendered.resolve(),this.rendered=Dt()}},mt=class extends xe{host;shadow;constructor(t,r,o){super(t),this.host=r,this.shadow=o}};var Ie=class{#t=[];get scope(){let t=this.#t.at(-1);if(!t)throw new Error("hooks must be called within a render fn");return t}increment(){let t=this.scope,r=t.position++;return{scope:t,position:r}}wrap(t,r){t.position=0,this.#t.push(t);try{return r()}finally{this.#t.pop()}}},J=globalThis[Symbol.for("e280.hooks")]??=new Ie;var St=class{#t=[];clear(){this.#t.forEach(t=>t()),this.#t=[]}observe(t,r){let{seen:o,value:n}=j.observe(t);this.clear();for(let s of o){let l=j.subscribe(s,r);this.#t.push(l)}return n}};function T(e){let{scope:t,position:r}=J.increment();return fe(t.values,r,e)}function at(e){let{scope:t}=J.increment();return T(()=>t.mounts.mount(e))}var we=class{#t=[];#e=[];mount(t){this.#t.push(t),this.#e.push(t())}unmountAll(){for(let t of this.#e)t();this.#e=[]}remountAll(){for(let t of this.#t)this.#e.push(t())}};var kt=class{cx;position=0;values=new Map;mounts=new we;constructor(t){this.cx=t}};var{I:yl}=hr;var jr=e=>e.strings===void 0;var $e={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},Et=e=>(...t)=>({_$litDirective$:e,values:t}),_t=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,r,o){this._$Ct=t,this._$AM=r,this._$Ci=o}_$AS(t,r){return this.update(t,r)}update(t,r){return this.render(...r)}};var qt=(e,t)=>{let r=e._$AN;if(r===void 0)return!1;for(let o of r)o._$AO?.(t,!1),qt(o,t);return!0},Ae=e=>{let t,r;do{if((t=e._$AM)===void 0)break;r=t._$AN,r.delete(e),e=t}while(r?.size===0)},Rr=e=>{for(let t;t=e._$AM;e=t){let r=t._$AN;if(r===void 0)t._$AN=r=new Set;else if(r.has(e))break;r.add(e),Xo(t)}};function Vo(e){this._$AN!==void 0?(Ae(this),this._$AM=e,Rr(this)):this._$AM=e}function Zo(e,t=!1,r=0){let o=this._$AH,n=this._$AN;if(n!==void 0&&n.size!==0)if(t)if(Array.isArray(o))for(let s=r;s<o.length;s++)qt(o[s],!1),Ae(o[s]);else o!=null&&(qt(o,!1),Ae(o));else qt(this,e)}var Xo=e=>{e.type==$e.CHILD&&(e._$AP??=Zo,e._$AQ??=Vo)},It=class extends _t{constructor(){super(...arguments),this._$AN=void 0}_$AT(t,r,o){super._$AT(t,r,o),Rr(this),this.isConnected=t._$AU}_$AO(t,r=!0){t!==this.isConnected&&(this.isConnected=t,t?this.reconnected?.():this.disconnected?.()),r&&(qt(this,t),Ae(this))}setValue(t){if(jr(this._$Ct))this._$Ct._$AI(t,this);else{let r=[...this._$Ct._$AH];r[this._$Ci]=t,this._$Ct._$AI(r,this,0)}}disconnected(){}reconnected(){}};function Se(e){return T(()=>new We(e))}var We=class{current;constructor(t){this.current=t}};function Ge(){let{scope:e}=J.increment();return e.cx}function Lr(){let e=Ge();if(!(e instanceof mt))throw new Error("this hook only works on shadow views (but was called in a light view)");return e}function Ve(){return Ge().render}function Hr(){return Ge().rendered.promise}function lt(){return Lr().host}function Dr(){return Lr().shadow}function ke(e){let t=lt(),r=Ve(),o=Se(new Set);return at(()=>C.attrs(t).on(n=>{for(let s of n)if(!o.current.has(s.attributeName)){r();break}})),Hr().then(()=>o.current.clear()),T(()=>C.attrs(t).spec(e,{beforeSet:n=>o.current.add(n)}))}function Nr(e,t){ee(e,Jo(t))}function Jo(e){let t=[];if(Array.isArray(e)){let r=new Set(e.flat(1/0).reverse());for(let o of r)t.unshift(vt(o))}else e!==void 0&&t.push(vt(e));return t}function B(...e){let t=Dr();T(()=>Nr(t,e))}var Ct=B;function H(e=""){let t=lt();T(()=>t.setAttribute("view",e))}function gt(e){return T(()=>U(e))}function Br(e,t){for(let[r,o]of Object.entries(t))Ko(e,r,o)}function Ko(e,t,r){let o=e.getAttribute(t),n=Yo(r);n!==o&&(n===null?e.removeAttribute(t):e.setAttribute(t,n))}function Yo(e){return typeof e=="string"?e:typeof e=="number"?e.toString():e?"":null}function Qo(){ve.register();let e=document.createElement("sly-shadow"),t=e.attachShadow({mode:"open"});return{host:e,shadow:t}}function z(e){return Ur(Qo,e)}z.setup=e=>(t=>Ur(e,t));function Ur(e,t){let r=Et(class extends It{#t;#e;#r;#o=new St;constructor(n){super(n);let{host:s,shadow:l}=e(),y=$r(()=>{if(!this.#r)throw new Error("cannot render before props");if(!this.isConnected)return;let d=this.#n(this.#r);R(d,this.#t.shadow),this.#t.doneRender()});this.#t=new mt(y,s,l),this.#e=new kt(this.#t)}#n(n){return this.#r=n,this.#o.observe(()=>J.wrap(this.#e,()=>t(...this.#r)),this.#t.render)}render({props:n,children:s,attrs:l}){let{host:y}=this.#t;return this.isConnected&&(l&&Br(y,l),R(s,this.#t.host),R(this.#n(n),this.#t.shadow),this.#t.doneRender()),y}disconnected(){R(null,this.#t.shadow),R(null,this.#t.host),this.#e.mounts.unmountAll(),this.#o.clear()}reconnected(){this.#e.mounts.remountAll(),this.#t.render()}});function o(...n){return r({props:n})}return o.with=r,o}function K(e,t){return()=>tn({hz:e,frames:t})}var tn=z(({hz:e,frames:t})=>{H("loading"),Ct(ye,en);let r=gt(0);return at(()=>kr(async()=>{await _r(1e3/e);let o=r()+1;r(o>=t.length?0:o)})),t.at(r())}),en=A`
20
20
  :host {
21
21
  font-family: monospace;
22
22
  white-space: pre;
23
23
  user-select: none;
24
24
  }
25
- `;var rt=R(e=>(j("error"),tt(bt,xs),typeof e=="string"?e:e instanceof Error?E`<strong>${e.name}:</strong> <span>${e.message}</span>`:"error")),xs=w`
25
+ `;var Y=z(e=>(H("error"),Ct(ye,rn),typeof e=="string"?e:e instanceof Error?E`<strong>${e.name}:</strong> <span>${e.message}</span>`:"error")),rn=A`
26
26
  :host {
27
27
  font-family: monospace;
28
28
  color: red;
29
29
  }
30
- `;function ot(e,t){return(r,o)=>Yr(r,{pending:e,err:t,ok:o})}var yp=ot(et(10,[" "," ",". ",".. ","..."," .."," ."]),rt);var Ap=ot(et(3,["\u{1F30E}","\u{1F30F}","\u{1F30D}"]),rt);var Cp=ot(et(10,["\u{1F312}","\u{1F313}","\u{1F314}","\u{1F315}","\u{1F316}","\u{1F317}","\u{1F318}","\u{1F311}","\u{1F311}","\u{1F311}"]),rt);var zp=ot(et(16,["|","/","-","\\"]),rt);var Dp=ot(et(20,[":....",":....","::...",".::..","..::.","...::","....:","....:","...::","..::.",".::..","::..."]),rt);function _(e,t){return()=>ws({hz:e,frames:t})}var ws=R(({hz:e,frames:t})=>{j("loading"),tt(bt,$s);let r=pt(0);return ut(()=>Fe(async()=>{await Re(1e3/e);let o=r.get()+1;r.set(o>=t.length?0:o)})),t.at(r.get())}),$s=w`
31
- :host {
32
- font-family: monospace;
33
- white-space: pre;
34
- user-select: none;
35
- }
36
- `;var P=20,Ut=10,Bt=4,eh=_(P,["|","/","-","\\"]),rh=_(P,["\u2808","\u2810","\u2820","\u2880","\u2840","\u2804","\u2802","\u2801"]),oh=_(P,["\u2B06\uFE0F","\u2197\uFE0F","\u27A1\uFE0F","\u2198\uFE0F","\u2B07\uFE0F","\u2199\uFE0F","\u2B05\uFE0F","\u2196\uFE0F"]),sh=_(P,["\u25B0\u25B1\u25B1\u25B1\u25B1","\u25B0\u25B1\u25B1\u25B1\u25B1","\u25B1\u25B0\u25B1\u25B1\u25B1","\u25B1\u25B1\u25B0\u25B1\u25B1","\u25B1\u25B1\u25B1\u25B0\u25B1","\u25B1\u25B1\u25B1\u25B1\u25B0","\u25B1\u25B1\u25B1\u25B1\u25B0","\u25B1\u25B1\u25B1\u25B0\u25B1","\u25B1\u25B1\u25B0\u25B1\u25B1","\u25B1\u25B0\u25B1\u25B1\u25B1"]),nh=_(P,["\u25B1\u25B1\u25B0\u25B1\u25B1","\u25B1\u25B1\u25B1\u25B0\u25B1","\u25B1\u25B1\u25B1\u25B0\u25B0","\u25B1\u25B1\u25B1\u25B0\u25B0","\u25B1\u25B1\u25B1\u25B1\u25B0","\u25B1\u25B1\u25B1\u25B1\u25B0","\u25B1\u25B1\u25B1\u25B1\u25B0","\u25B1\u25B1\u25B1\u25B0\u25B0","\u25B1\u25B1\u25B1\u25B0\u25B0","\u25B1\u25B1\u25B1\u25B0\u25B1","\u25B1\u25B1\u25B0\u25B1\u25B1","\u25B1\u25B0\u25B1\u25B1\u25B1","\u25B0\u25B0\u25B1\u25B1\u25B1","\u25B0\u25B0\u25B1\u25B1\u25B1","\u25B0\u25B1\u25B1\u25B1\u25B1","\u25B0\u25B1\u25B1\u25B1\u25B1","\u25B0\u25B1\u25B1\u25B1\u25B1","\u25B0\u25B0\u25B1\u25B1\u25B1","\u25B0\u25B0\u25B1\u25B1\u25B1","\u25B1\u25B0\u25B1\u25B1\u25B1"]),ih=_(P,["\u25B0\u25B1\u25B1\u25B1\u25B1","\u25B0\u25B1\u25B1\u25B1\u25B1","\u25B0\u25B0\u25B1\u25B1\u25B1","\u25B0\u25B0\u25B0\u25B1\u25B1","\u25B1\u25B0\u25B0\u25B0\u25B1","\u25B1\u25B1\u25B0\u25B0\u25B0","\u25B1\u25B1\u25B1\u25B0\u25B0","\u25B1\u25B1\u25B1\u25B1\u25B0","\u25B1\u25B1\u25B1\u25B1\u25B0","\u25B1\u25B1\u25B1\u25B0\u25B0","\u25B1\u25B1\u25B0\u25B0\u25B0","\u25B1\u25B0\u25B0\u25B0\u25B1","\u25B0\u25B0\u25B0\u25B1\u25B1","\u25B0\u25B0\u25B1\u25B1\u25B1"]),ah=_(P,["\u25B1\u25B1\u25B1\u25B1\u25B1","\u25B1\u25B1\u25B1\u25B1\u25B1","\u25B0\u25B1\u25B1\u25B1\u25B1","\u25B0\u25B0\u25B1\u25B1\u25B1","\u25B0\u25B0\u25B0\u25B1\u25B1","\u25B0\u25B0\u25B0\u25B0\u25B1","\u25B0\u25B0\u25B0\u25B0\u25B0","\u25B0\u25B0\u25B0\u25B0\u25B0","\u25B1\u25B0\u25B0\u25B0\u25B0","\u25B1\u25B1\u25B0\u25B0\u25B0","\u25B1\u25B1\u25B1\u25B0\u25B0","\u25B1\u25B1\u25B1\u25B1\u25B0"]),lh=_(P,["\u2581\u2581\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581","\u2588\u2581\u2581\u2581\u2581","\u2588\u2588\u2581\u2581\u2581","\u2588\u2588\u2588\u2581\u2581","\u2588\u2588\u2588\u2588\u2581","\u2588\u2588\u2588\u2588\u2588","\u2588\u2588\u2588\u2588\u2588","\u2581\u2588\u2588\u2588\u2588","\u2581\u2581\u2588\u2588\u2588","\u2581\u2581\u2581\u2588\u2588","\u2581\u2581\u2581\u2581\u2588"]),ch=_(P,["\u2588\u2581\u2581\u2581\u2581","\u2588\u2581\u2581\u2581\u2581","\u2588\u2588\u2581\u2581\u2581","\u2588\u2588\u2588\u2581\u2581","\u2588\u2588\u2588\u2588\u2581","\u2588\u2588\u2588\u2588\u2588","\u2588\u2588\u2588\u2588\u2588","\u2581\u2588\u2588\u2588\u2588","\u2581\u2581\u2588\u2588\u2588","\u2581\u2581\u2581\u2588\u2588","\u2581\u2581\u2581\u2581\u2588","\u2581\u2581\u2581\u2581\u2588","\u2581\u2581\u2581\u2588\u2588","\u2581\u2581\u2588\u2588\u2588","\u2581\u2588\u2588\u2588\u2588","\u2588\u2588\u2588\u2588\u2588","\u2588\u2588\u2588\u2588\u2588","\u2588\u2588\u2588\u2588\u2581","\u2588\u2588\u2588\u2581\u2581","\u2588\u2588\u2581\u2581\u2581"]),uh=_(Bt,["\u{1F6B6}","\u{1F3C3}"]),ph=_(Ut,["\u25F7","\u25F6","\u25F5","\u25F4"]),hh=_(P,["=----","-=---","--=--","---=-","----=","----=","---=-","--=--","-=---","=----"]),dh=_(P,["o----","-o---","--o--","---o-","----o","----o","---o-","--o--","-o---","o----"]),fh=_(Ut,["[ ]","[ ]","[= ]","[== ]","[===]","[ ==]","[ =]"]),mh=_(Ut,["[ ]","[ ]","[= ]","[== ]","[===]","[ ==]","[ =]","[ ]","[ ]","[ =]","[ ==]","[===]","[== ]","[= ]"]),gh=_(Ut,[" "," ",". ",".. ","..."," .."," ."]),bh=_(P,[". ",". ",".. ","..."," .."," ."," ."," ..","...",".. "]),yh=_(P,[".....",".....",":....","::...",":::..","::::.",":::::",":::::",".::::","..:::","...::","....:"]),vh=_(P,[":....",":....","::...",".::..","..::.","...::","....:","....:","...::","..::.",".::..","::..."]),xh=_(P,[".....",".....","..:..",".:::.",".:::.",":::::",":::::","::.::",":...:"]),wh=_(P,[".....",".....","..:..",".:::.",".:::.",":::::",":::::","::.::",":...:",".....",".....",":...:","::.::",":::::",":::::",".:::.",".:::.","..:.."]),$h=_(P,["000","100","110","111","011","001"]),Ah=_(P,["11111","01111","00111","10011","11001","01100","00110","10011","11001","11100","11110"]),Sh=_(P,["11111","01111","10111","11011","11101","11110","11111","11110","11101","11011","10111","01111"]),kh=_(Bt,["\u{1F539}","\u{1F535}"]),_h=_(Ut,["\u{1F642}","\u{1F642}","\u{1F617}","\u{1F619}","\u{1F618}","\u{1F618}","\u{1F619}"]),Eh=_(P,["\u{1F550}","\u{1F551}","\u{1F552}","\u{1F553}","\u{1F554}","\u{1F555}","\u{1F556}","\u{1F557}","\u{1F558}","\u{1F559}","\u{1F55A}","\u{1F55B}"]),Ch=_(P,["\u{1F91C} \u{1F91B}","\u{1F91C} \u{1F91B}","\u{1F91C} \u{1F91B}"," \u{1F91C} \u{1F91B} "," \u{1F91C}\u{1F91B} "," \u{1F91C}\u{1F91B} "," \u{1F91C}\u{1F4A5}\u{1F91B} ","\u{1F91C} \u{1F4A5} \u{1F91B}","\u{1F91C} \u2728 \u{1F91B}","\u{1F91C} \u2728 \u{1F91B}"]),As=_(Bt,["\u{1F30E}","\u{1F30F}","\u{1F30D}"]),Th=_(Bt,["\u{1F513}","\u{1F512}"]),Fh=_(Bt,["\u{1F505}","\u{1F506}"]),Oh=_(Bt,["\u{1F508}","\u{1F508}","\u{1F509}","\u{1F50A}","\u{1F50A}","\u{1F509}"]),Rh=_(Ut,["\u{1F311}","\u{1F311}","\u{1F311}","\u{1F318}","\u{1F317}","\u{1F316}","\u{1F315}","\u{1F314}","\u{1F313}","\u{1F312}"]);var ks=R(e=>(j("error"),tt(bt,_s),typeof e=="string"?e:e instanceof Error?E`<strong>${e.name}:</strong> <span>${e.message}</span>`:"error")),_s=w`
37
- :host {
38
- font-family: monospace;
39
- color: red;
40
- }
41
- `;var ao=w`@layer view {
30
+ `;function Q(e,t){return(r,o)=>Pr(r,{pending:e,err:t,ok:o})}var yu=Q(K(10,[" "," ",". ",".. ","..."," .."," ."]),Y);var Au=Q(K(3,["\u{1F30E}","\u{1F30F}","\u{1F30D}"]),Y);var Cu=Q(K(10,["\u{1F312}","\u{1F313}","\u{1F314}","\u{1F315}","\u{1F316}","\u{1F317}","\u{1F318}","\u{1F311}","\u{1F311}","\u{1F311}"]),Y);var zu=Q(K(16,["|","/","-","\\"]),Y);var Hu=Q(K(20,[":....",":....","::...",".::..","..::.","...::","....:","....:","...::","..::.",".::..","::..."]),Y);var qr=A`@layer view {
42
31
 
43
32
  button {
44
33
  background: transparent;
@@ -85,7 +74,7 @@ svg {
85
74
  height: 1em;
86
75
  }
87
76
 
88
- }`;var gr=Z`<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon icon-tabler icons-tabler-outline icon-tabler-clipboard"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M9 5h-2a2 2 0 0 0 -2 2v12a2 2 0 0 0 2 2h10a2 2 0 0 0 2 -2v-12a2 2 0 0 0 -2 -2h-2" /><path d="M9 3m0 2a2 2 0 0 1 2 -2h2a2 2 0 0 1 2 2v0a2 2 0 0 1 -2 2h-2a2 2 0 0 1 -2 -2z" /></svg>`;var lo=Z`<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="currentColor" class="icon icon-tabler icons-tabler-filled icon-tabler-clipboard-x"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M17.997 4.17a3 3 0 0 1 2.003 2.83v12a3 3 0 0 1 -3 3h-10a3 3 0 0 1 -3 -3v-12a3 3 0 0 1 2.003 -2.83a4 4 0 0 0 3.997 3.83h4a4 4 0 0 0 3.98 -3.597zm-7.29 7.123a1 1 0 0 0 -1.414 0l-.083 .094a1 1 0 0 0 .083 1.32l1.292 1.293l-1.292 1.293a1 1 0 0 0 0 1.414l.094 .083a1 1 0 0 0 1.32 -.083l1.293 -1.293l1.293 1.293a1 1 0 0 0 1.414 0l.083 -.094a1 1 0 0 0 -.083 -1.32l-1.293 -1.293l1.293 -1.293a1 1 0 0 0 0 -1.414l-.094 -.083a1 1 0 0 0 -1.32 .083l-1.293 1.292zm3.293 -9.293a2 2 0 1 1 0 4h-4a2 2 0 1 1 0 -4z" /></svg>`;var co=Z`<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="currentColor" class="icon icon-tabler icons-tabler-filled icon-tabler-clipboard-check"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M17.997 4.17a3 3 0 0 1 2.003 2.83v12a3 3 0 0 1 -3 3h-10a3 3 0 0 1 -3 -3v-12a3 3 0 0 1 2.003 -2.83a4 4 0 0 0 3.997 3.83h4a4 4 0 0 0 3.98 -3.597zm-3.704 7.123l-3.293 3.292l-1.293 -1.292a1 1 0 1 0 -1.414 1.414l2 2a1 1 0 0 0 1.414 0l4 -4a1 1 0 0 0 -1.414 -1.414m-.293 -9.293a2 2 0 1 1 0 4h-4a2 2 0 1 1 0 -4z" /></svg>`;function br(e){return e===void 0?"invalid":"neutral"}function uo(e,t){let r=pt(br(e)),o=T(()=>Br(t,()=>r.set(br(e)))),s=T(()=>async n=>{await r.set(n),await o()});return{reset:o,flash:s,status:r()}}var po=ft`@layer core {
77
+ }`;var Ze=G`<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon icon-tabler icons-tabler-outline icon-tabler-clipboard"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M9 5h-2a2 2 0 0 0 -2 2v12a2 2 0 0 0 2 2h10a2 2 0 0 0 2 -2v-12a2 2 0 0 0 -2 -2h-2" /><path d="M9 3m0 2a2 2 0 0 1 2 -2h2a2 2 0 0 1 2 2v0a2 2 0 0 1 -2 2h-2a2 2 0 0 1 -2 -2z" /></svg>`;var Ir=G`<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="currentColor" class="icon icon-tabler icons-tabler-filled icon-tabler-clipboard-x"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M17.997 4.17a3 3 0 0 1 2.003 2.83v12a3 3 0 0 1 -3 3h-10a3 3 0 0 1 -3 -3v-12a3 3 0 0 1 2.003 -2.83a4 4 0 0 0 3.997 3.83h4a4 4 0 0 0 3.98 -3.597zm-7.29 7.123a1 1 0 0 0 -1.414 0l-.083 .094a1 1 0 0 0 .083 1.32l1.292 1.293l-1.292 1.293a1 1 0 0 0 0 1.414l.094 .083a1 1 0 0 0 1.32 -.083l1.293 -1.293l1.293 1.293a1 1 0 0 0 1.414 0l.083 -.094a1 1 0 0 0 -.083 -1.32l-1.293 -1.293l1.293 -1.293a1 1 0 0 0 0 -1.414l-.094 -.083a1 1 0 0 0 -1.32 .083l-1.293 1.292zm3.293 -9.293a2 2 0 1 1 0 4h-4a2 2 0 1 1 0 -4z" /></svg>`;var Wr=G`<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="currentColor" class="icon icon-tabler icons-tabler-filled icon-tabler-clipboard-check"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M17.997 4.17a3 3 0 0 1 2.003 2.83v12a3 3 0 0 1 -3 3h-10a3 3 0 0 1 -3 -3v-12a3 3 0 0 1 2.003 -2.83a4 4 0 0 0 3.997 3.83h4a4 4 0 0 0 3.98 -3.597zm-3.704 7.123l-3.293 3.292l-1.293 -1.292a1 1 0 1 0 -1.414 1.414l2 2a1 1 0 0 0 1.414 0l4 -4a1 1 0 0 0 -1.414 -1.414m-.293 -9.293a2 2 0 1 1 0 4h-4a2 2 0 1 1 0 -4z" /></svg>`;function Xe(e){return e===void 0?"invalid":"neutral"}function Gr(e,t){let r=gt(Xe(e)),o=T(()=>wr(t,()=>r(Xe(e)))),n=T(()=>async s=>{r(s),await o()});return{reset:o,flash:n,status:r()}}var Vr=it`@layer core {
89
78
 
90
79
  ::selection {
91
80
  color: var(--selection);
@@ -115,14 +104,14 @@ a {
115
104
  }
116
105
  }
117
106
 
118
- }`;var ho=ft`@layer vars {
107
+ }`;var Zr=it`@layer vars {
119
108
 
120
109
  :is(:root, :host) {
121
- ${Ts({bg:"#111",alpha:"#def",rounded:"0.5em",padding:"0.5em",prime:"#d068ff",code:"#3f1",link:"cyan",selection:"white","selection-bg":"#f70",lame:"#8888",angry:"#f50",zesty:"#cf0",happy:"#0fa",calm:"#0af",sad:"#74f",quirky:"#f49","inactive-opacity":"0.5","anim-duration":"150ms"})}
110
+ ${nn({bg:"#111",alpha:"#def",rounded:"0.5em",padding:"0.5em",prime:"#d068ff",code:"#3f1",link:"cyan",selection:"white","selection-bg":"#f70",lame:"#8888",angry:"#f50",zesty:"#cf0",happy:"#0fa",calm:"#0af",sad:"#74f",quirky:"#f49","inactive-opacity":"0.5","anim-duration":"150ms"})}
122
111
  }
123
112
 
124
- }`;function Cs([e,t]){return`--${e}: var(--shiny-${e}, ${t});`}function Ts(e){return Object.entries(e).map(Cs).join(`
125
- `)}var fo=ft`@layer reset {
113
+ }`;function on([e,t]){return`--${e}: var(--shiny-${e}, ${t});`}function nn(e){return Object.entries(e).map(on).join(`
114
+ `)}var Xr=it`@layer reset {
126
115
 
127
116
  * {
128
117
  margin: 0;
@@ -138,22 +127,22 @@ a {
138
127
  ::-webkit-scrollbar-thumb { background: #888; border-radius: 1em; }
139
128
  ::-webkit-scrollbar-thumb:hover { background: #999; }
140
129
 
141
- }`;var mo=ft`
130
+ }`;var Jr=it`
142
131
 
143
132
  @layer vars, reset, core, underlay, view, overlay;
144
133
 
145
- ${ho}
146
- ${fo}
147
- ${po}
134
+ ${Zr}
135
+ ${Xr}
136
+ ${Vr}
148
137
 
149
- `;var U=new CSSStyleSheet;U.replaceSync(mo);var ie=R((e,t={})=>{j("shiny-copy"),I(U,ao);let r=uo(e,t.ms??1e3);async function o(){if(e!==void 0)try{if(t.fail)throw new Error("copy failed on purpose for testing purposes");await navigator.clipboard.writeText(e),await r.flash("good")}catch(s){console.error(s),await r.flash("bad")}}return E`
138
+ `;var D=new CSSStyleSheet;D.replaceSync(Jr);var Wt=z((e,t={})=>{H("shiny-copy"),B(D,qr);let r=Gr(e,t.ms??1e3);async function o(){if(e!==void 0)try{if(t.fail)throw new Error("copy failed on purpose for testing purposes");await navigator.clipboard.writeText(e),await r.flash("good")}catch(n){console.error(n),await r.flash("bad")}}return E`
150
139
  <button data-status="${r.status}" @click="${o}" part=button>
151
140
  <span part=icon>
152
- ${(()=>{switch(r.status){case"neutral":return gr;case"invalid":return gr;case"good":return co;case"bad":return lo;default:throw new Error("unknown copy status")}})()}
141
+ ${(()=>{switch(r.status){case"neutral":return Ze;case"invalid":return Ze;case"good":return Wr;case"bad":return Ir;default:throw new Error("unknown copy status")}})()}
153
142
  </span>
154
143
  <slot></slot>
155
144
  </button>
156
- `});var G=e=>e;var go=w`@layer view {
145
+ `});var I=e=>e;var Kr=A`@layer view {
157
146
 
158
147
  section.showcase {
159
148
  position: relative;
@@ -229,7 +218,7 @@ header {
229
218
  border-radius: var(--rounded);
230
219
  }
231
220
 
232
- }`;var Ze=Wo(bo(),1);(function(e){var t=e.languages.javascript["template-string"],r=t.pattern.source,o=t.inside.interpolation,s=o.inside["interpolation-punctuation"],n=o.pattern.source;function l(y,$){if(e.languages[y])return{pattern:RegExp("((?:"+$+")\\s*)"+r),lookbehind:!0,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},"embedded-code":{pattern:/[\s\S]+/,alias:y}}}}e.languages.javascript["template-string"]=[l("css",/\b(?:styled(?:\([^)]*\))?(?:\s*\.\s*\w+(?:\([^)]*\))*)*|css(?:\s*\.\s*(?:global|resolve))?|createGlobalStyle|keyframes)/.source),l("html",/\bhtml|\.\s*(?:inner|outer)HTML\s*\+?=/.source),l("svg",/\bsvg/.source),l("markdown",/\b(?:markdown|md)/.source),l("graphql",/\b(?:gql|graphql(?:\s*\.\s*experimental)?)/.source),l("sql",/\bsql/.source),t].filter(Boolean);function m(y,$){return"___"+$.toUpperCase()+"_"+y+"___"}function h(y,$,a){var i={code:y,grammar:$,language:a};return e.hooks.run("before-tokenize",i),i.tokens=e.tokenize(i.code,i.grammar),e.hooks.run("after-tokenize",i),i.tokens}function b(y){var $={};$["interpolation-punctuation"]=s;var a=e.tokenize(y,$);if(a.length===3){var i=[1,1];i.push.apply(i,h(a[1],e.languages.javascript,"javascript")),a.splice.apply(a,i)}return new e.Token("interpolation",a,o.alias,y)}function S(y,$,a){var i=e.tokenize(y,{interpolation:{pattern:RegExp(n),lookbehind:!0}}),c=0,p={},u=i.map(function(k){if(typeof k=="string")return k;for(var C=k.content,z;y.indexOf(z=m(c++,a))!==-1;);return p[z]=C,z}).join(""),g=h(u,$,a),A=Object.keys(p);c=0;function d(k){for(var C=0;C<k.length;C++){if(c>=A.length)return;var z=k[C];if(typeof z=="string"||typeof z.content=="string"){var Ct=A[c],Tt=typeof z=="string"?z:z.content,Wt=Tt.indexOf(Ct);if(Wt!==-1){++c;var ce=Tt.substring(0,Wt),ue=b(p[Ct]),L=Tt.substring(Wt+Ct.length),D=[];if(ce&&D.push(ce),D.push(ue),L){var st=[L];d(st),D.push.apply(D,st)}typeof z=="string"?(k.splice.apply(k,[C,1].concat(D)),C+=D.length-1):z.content=D}}else{var ht=z.content;Array.isArray(ht)?d(ht):d([ht])}}}return d(g),new e.Token(a,g,"language-"+a,y)}var x={javascript:!0,js:!0,typescript:!0,ts:!0,jsx:!0,tsx:!0};e.hooks.add("after-tokenize",function(y){if(!(y.language in x))return;function $(a){for(var i=0,c=a.length;i<c;i++){var p=a[i];if(typeof p!="string"){var u=p.content;if(!Array.isArray(u)){typeof u!="string"&&$([u]);continue}if(p.type==="template-string"){var g=u[1];if(u.length===3&&typeof g!="string"&&g.type==="embedded-code"){var A=v(g),d=g.alias,k=Array.isArray(d)?d[0]:d,C=e.languages[k];if(!C)continue;u[1]=S(A,C,k)}}else $(u)}}}$(y.tokens)});function v(y){return typeof y=="string"?y:Array.isArray(y)?y.map(v).join(""):v(y.content)}})(Prism);var yo=w`@layer view {
221
+ }`;var Ee=Eo(Yr(),1);(function(e){var t=e.languages.javascript["template-string"],r=t.pattern.source,o=t.inside.interpolation,n=o.inside["interpolation-punctuation"],s=o.pattern.source;function l(g,w){if(e.languages[g])return{pattern:RegExp("((?:"+w+")\\s*)"+r),lookbehind:!0,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},"embedded-code":{pattern:/[\s\S]+/,alias:g}}}}e.languages.javascript["template-string"]=[l("css",/\b(?:styled(?:\([^)]*\))?(?:\s*\.\s*\w+(?:\([^)]*\))*)*|css(?:\s*\.\s*(?:global|resolve))?|createGlobalStyle|keyframes)/.source),l("html",/\bhtml|\.\s*(?:inner|outer)HTML\s*\+?=/.source),l("svg",/\bsvg/.source),l("markdown",/\b(?:markdown|md)/.source),l("graphql",/\b(?:gql|graphql(?:\s*\.\s*experimental)?)/.source),l("sql",/\bsql/.source),t].filter(Boolean);function y(g,w){return"___"+w.toUpperCase()+"_"+g+"___"}function d(g,w,a){var i={code:g,grammar:w,language:a};return e.hooks.run("before-tokenize",i),i.tokens=e.tokenize(i.code,i.grammar),e.hooks.run("after-tokenize",i),i.tokens}function b(g){var w={};w["interpolation-punctuation"]=n;var a=e.tokenize(g,w);if(a.length===3){var i=[1,1];i.push.apply(i,d(a[1],e.languages.javascript,"javascript")),a.splice.apply(a,i)}return new e.Token("interpolation",a,o.alias,g)}function S(g,w,a){var i=e.tokenize(g,{interpolation:{pattern:RegExp(s),lookbehind:!0}}),c=0,p={},u=i.map(function(k){if(typeof k=="string")return k;for(var _=k.content,F;g.indexOf(F=y(c++,a))!==-1;);return p[F]=_,F}).join(""),m=d(u,w,a),$=Object.keys(p);c=0;function h(k){for(var _=0;_<k.length;_++){if(c>=$.length)return;var F=k[_];if(typeof F=="string"||typeof F.content=="string"){var bt=$[c],yt=typeof F=="string"?F:F.content,Ft=yt.indexOf(bt);if(Ft!==-1){++c;var Zt=yt.substring(0,Ft),Xt=b(p[bt]),M=yt.substring(Ft+bt.length),P=[];if(Zt&&P.push(Zt),P.push(Xt),M){var tt=[M];h(tt),P.push.apply(P,tt)}typeof F=="string"?(k.splice.apply(k,[_,1].concat(P)),_+=P.length-1):F.content=P}}else{var nt=F.content;Array.isArray(nt)?h(nt):h([nt])}}}return h(m),new e.Token(a,m,"language-"+a,g)}var v={javascript:!0,js:!0,typescript:!0,ts:!0,jsx:!0,tsx:!0};e.hooks.add("after-tokenize",function(g){if(!(g.language in v))return;function w(a){for(var i=0,c=a.length;i<c;i++){var p=a[i];if(typeof p!="string"){var u=p.content;if(!Array.isArray(u)){typeof u!="string"&&w([u]);continue}if(p.type==="template-string"){var m=u[1];if(u.length===3&&typeof m!="string"&&m.type==="embedded-code"){var $=x(m),h=m.alias,k=Array.isArray(h)?h[0]:h,_=e.languages[k];if(!_)continue;u[1]=S($,_,k)}}else w(u)}}}w(g.tokens)});function x(g){return typeof g=="string"?g:Array.isArray(g)?g.map(x).join(""):x(g.content)}})(Prism);var Qr=A`@layer view {
233
222
 
234
223
  :host {
235
224
  display: flex;
@@ -270,20 +259,20 @@ code {
270
259
  overflow-x: auto;
271
260
  }
272
261
 
273
- }`;function vo(){return T(()=>{let e=document.head.querySelector("[data-prism]");if(!e)throw new Error("failed to find [data-prism] stylesheet");let t=new CSSStyleSheet;return t.replaceSync(e.textContent),t})}var ae=class extends Nt{constructor(t){if(super(t),this.it=M,t.type!==Be.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===M||t==null)return this._t=void 0,this.it=t;if(t===at)return t;if(typeof t!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.it)return this._t;this.it=t;let r=[t];return r.raw=r,this._t={_$litType$:this.constructor.resultType,strings:r,values:[]}}};ae.directiveName="unsafeHTML",ae.resultType=1;var xo=qt(ae);var yr=R((e,t,r)=>{let o=vo();I(U,o,yo),r=Gr(r).trim();let s=Ze.default.highlight(r,t==="js"?Ze.default.languages.javascript:Ze.default.languages.css,t);return E`
262
+ }`;function to(){return T(()=>{let e=document.head.querySelector("[data-prism]");if(!e)throw new Error("failed to find [data-prism] stylesheet");let t=new CSSStyleSheet;return t.replaceSync(e.textContent),t})}var Gt=class extends _t{constructor(t){if(super(t),this.it=O,t.type!==$e.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===O||t==null)return this._t=void 0,this.it=t;if(t===ot)return t;if(typeof t!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.it)return this._t;this.it=t;let r=[t];return r.raw=r,this._t={_$litType$:this.constructor.resultType,strings:r,values:[]}}};Gt.directiveName="unsafeHTML",Gt.resultType=1;var eo=Et(Gt);var Je=z((e,t,r)=>{let o=to();B(D,o,Qr),r=Er(r).trim();let n=Ee.default.highlight(r,t==="js"?Ee.default.languages.javascript:Ee.default.languages.css,t);return E`
274
263
  <div class=box>
275
264
  <header>
276
265
  <h3 class=title>${e}</h3>
277
- <div class=buttons>${ie(r)}</div>
266
+ <div class=buttons>${Wt(r)}</div>
278
267
  </header>
279
268
 
280
- <code>${xo(s)}</code>
269
+ <code>${eo(n)}</code>
281
270
  </div>
282
- `});var wo=R((e,t,r)=>(j("stylebox"),I(U,e,t),E`
283
- <style>${Zt(e)}</style>
284
- <style>${Zt(t)}</style>
271
+ `});var ro=z((e,t,r)=>(H("stylebox"),B(D,e,t),E`
272
+ <style>${zt(e)}</style>
273
+ <style>${zt(t)}</style>
285
274
  ${r}
286
- `));var $o=w`@layer view {
275
+ `));var oo=A`@layer view {
287
276
 
288
277
  :host {
289
278
  display: inline-flex;
@@ -325,10 +314,10 @@ slot[part="tabs"][data-snug] {
325
314
  }
326
315
  }
327
316
 
328
- } `;var It=class{length=1;$index=H(0);constructor(t=0){this.$index.value=t}clamp(t){return t=Math.min(t,this.length-1),t=Math.max(t,0),t}get index(){return this.clamp(this.$index())}async setIndex(t){return this.$index(t)}async shimmy(t){let r=this.clamp(this.index+t);return this.setIndex(r)}};var le=R((e={})=>{j("shiny-tabs"),tt(U,$o);let t=yt(),r=T(()=>F.attrs(t).spec({index:Number})),o=T(()=>e.control??new It(r.index??0)),s=pt([]),n=pt([]);async function l(b){let S=b.currentTarget;await s.set(S.assignedElements())}async function m(b){let S=b.currentTarget;await n.set(S.assignedElements())}r.index=o.$index(),o.length=s().length;function h(b,S){let x=o.clamp(b+S);return x===b?!1:x===o.index}for(let[b,S]of s().entries()){let x=b===o.index,v=F.attrs(S);v.booleans.disabled=x,v.booleans["data-snug"]=e.snug,v.booleans["data-tabbed"]=x,v.booleans["data-first"]=b===0,v.booleans["data-last"]=b===o.length-1,v.booleans["data-next-is-tabbed"]=h(b,1),v.booleans["data-previous-is-tabbed"]=h(b,-1),S.onclick=()=>o.setIndex(b)}for(let[b,S]of n().entries()){let x=b===o.index;F.attrs(S).booleans["data-tabbed"]=x,F.attrs(S).booleans.hidden=!x}return E`
317
+ } `;var Tt=class{length=1;$index=U(0);constructor(t=0){this.$index(t)}clamp(t){return t=Math.min(t,this.length-1),t=Math.max(t,0),t}get index(){return this.clamp(this.$index())}async setIndex(t){return this.$index(t)}async shimmy(t){let r=this.clamp(this.index+t);return this.setIndex(r)}};var Vt=z((e={})=>{H("shiny-tabs"),Ct(D,oo);let t=lt(),r=T(()=>C.attrs(t).spec({index:Number})),o=T(()=>e.control??new Tt(r.index??0)),n=gt([]),s=gt([]);function l(b){let S=b.currentTarget;n(S.assignedElements())}function y(b){let S=b.currentTarget;s(S.assignedElements())}r.index=o.$index(),o.length=n().length;function d(b,S){let v=o.clamp(b+S);return v===b?!1:v===o.index}for(let[b,S]of n().entries()){let v=b===o.index,x=C.attrs(S);x.booleans.disabled=v,x.booleans["data-snug"]=e.snug,x.booleans["data-tabbed"]=v,x.booleans["data-first"]=b===0,x.booleans["data-last"]=b===o.length-1,x.booleans["data-next-is-tabbed"]=d(b,1),x.booleans["data-previous-is-tabbed"]=d(b,-1),S.onclick=()=>o.setIndex(b)}for(let[b,S]of s().entries()){let v=b===o.index;C.attrs(S).booleans["data-tabbed"]=v,C.attrs(S).booleans.hidden=!v}return E`
329
318
  <slot part=tabs ?data-snug="${e.snug}" @slotchange="${l}"></slot>
330
- <slot part=panels name=panel @slotchange="${m}"></slot>
331
- `});var Ao=w`@layer view {
319
+ <slot part=panels name=panel @slotchange="${y}"></slot>
320
+ `});var no=A`@layer view {
332
321
 
333
322
  :host {
334
323
  display: inline-flex;
@@ -434,7 +423,7 @@ button {
434
423
  border-bottom-left-radius: 0;
435
424
  }
436
425
 
437
- }`;var B=R((e,t={})=>{j("shiny-button"),I(U,Ao);let r=Ge({hidden:Boolean,disabled:Boolean});return E`
426
+ }`;var N=z((e,t={})=>{H("shiny-button"),B(D,no);let r=ke({hidden:Boolean,disabled:Boolean});return E`
438
427
  <button
439
428
  part=button
440
429
  data-vibe="${t.vibe??"calm"}"
@@ -443,12 +432,12 @@ button {
443
432
  @click="${t.onClick}">
444
433
  <slot>${e}</slot>
445
434
  </button>
446
- `});var vt=R((e,t)=>{j("showcase"),I(U,go);let r=T(()=>new It),o=t.at(r.index);return E`
435
+ `});var ct=z((e,t)=>{H("showcase"),B(D,Kr);let r=T(()=>new Tt),o=t.at(r.index);return E`
447
436
  <section class=showcase>
448
437
  <header>
449
438
  <h2>✨${e}✨</h2>
450
439
  <nav>
451
- ${le.with({props:[{control:r,snug:!0}],children:t.map(s=>B(s.name))})}
440
+ ${Vt.with({props:[{control:r,snug:!0}],children:t.map(n=>N(n.name))})}
452
441
  </nav>
453
442
  </header>
454
443
 
@@ -457,52 +446,52 @@ button {
457
446
 
458
447
  <div class=sides>
459
448
  <div class=codezone>
460
- ${yr("lit-html","js",o.js)}
461
- ${o.css&&yr("css","css",o.css.toString())}
449
+ ${Je("lit-html","js",o.js)}
450
+ ${o.css&&Je("css","css",o.css.toString())}
462
451
  </div>
463
452
 
464
453
  <div class=stage>
465
- ${wo(o.styleboxCss,o.css??w``,o.render())}
454
+ ${ro(o.styleboxCss,o.css??A``,o.render())}
466
455
  </div>
467
456
  </div>
468
457
  `}
469
458
  </section>
470
- `});var So=()=>vt("ShinyCopy",[G({name:"normal",explain:"click-to-copy button.",render:()=>ie("hello world"),styleboxCss:w`
459
+ `});var so=()=>ct("ShinyCopy",[I({name:"normal",explain:"click-to-copy button.",render:()=>Wt("hello world"),styleboxCss:A`
471
460
  :host {
472
461
  font-size: 5em;
473
462
  }
474
463
  `,js:`
475
464
  ShinyCopy("hello world")
476
- `,css:w`
465
+ `,css:A`
477
466
  [view="shiny-copy"] {
478
467
  --shiny-happy: #0fa;
479
468
  --shiny-angry: #f50;
480
469
  --shiny-lame: #8888;
481
470
  --shiny-inactive-opacity: 0.5;
482
471
  }
483
- `}),G({name:"fail",explain:E`
472
+ `}),I({name:"fail",explain:E`
484
473
  <p>click-to-copy button. <em>deliberately fails so you can see.</em></p>
485
- `,render:()=>ie("hello world",{fail:!0}),styleboxCss:w`
474
+ `,render:()=>Wt("hello world",{fail:!0}),styleboxCss:A`
486
475
  :host {
487
476
  font-size: 4em;
488
477
  }
489
478
  `,js:`
490
479
  ShinyCopy("hello world", {fail: true})
491
- `,css:w`
480
+ `,css:A`
492
481
  [view="shiny-copy"] {
493
482
  --shiny-happy: #0fa;
494
483
  --shiny-angry: #f50;
495
484
  --shiny-lame: #8888;
496
485
  --shiny-inactive-opacity: 0.5;
497
486
  }
498
- `})]);var V=new Oe(()=>["lorem kettlebell dolor sit amet, mountain squats consectetur trail-running. adipiscing deadlift elit, sed do 45lb turkish get-up eiusmod tempor incididunt ut hike magna aliqua. ut enim ad minim clean & press, quis nostrud exercitation lunges ullamco kettlebell snatch trailhead nisi ut aliquip ex dolore summit irure dolor.","lorem protein dolor sit amet, creatine scoop elit shaker bottle tempor. grilled steak magna keto-fasting culpa, carb-loading perspiciatis cheat day. whey isolate dolor sit macros elit, intermittent fasting tempor electrolyte magna; barefoot shoes culpa, liver perspiciatis ancestral squat rack gospel. lorem bulking dolor sit cut elit, tdee tracker tempor calorie deficit magna; chicken breast culpa gatorade perspiciatis meal prep.","lorem caffeine dolor sit amet, double espresso elit cold brew tempor jitter. adderall magna focus culpa, lion\u2019s mane perspiciatis nootropic. nicotine gum dolor sit vape elit, dopamine hit tempor buzz magna; lsd microdosing culpa, productivity perspiciatis agile sprint. lorem latte dolor sit drip elit, french press tempor aeropress magna; insomnia culpa, circadian rhythm perspiciatis blue light filter.","lorem arch dolor sit amet, pacman -Syu elit rolling release tempor breakage. i3-gaps commodo tiling, bspwm magna culpa xinitrc. alias neovim configs in .dotfiles forest, r/unixporn veniam rice showcase perspiciatis.","lorem authlocal dolor sit amet, user-sovereign identity elit, cryptographic tempor signatures. ed25519 magna keypair culpa, elliptic perspiciatis handshake ut zero-knowledge proof. decentralized login elit mnemonic seed tempor recovery phrase. did magna alias culpa federation, lorem oauth2 perspiciatis antiquated.","lorem webgpu dolor sit amet, fragment shader elit vertex buffer tempor pipeline; bindgroup magna sampler culpa, wgsl perspiciatis alignment bug. compute pass workgroup barrier magna, mipmap cascade culpa drawcall instancing overflow. spir-v dolor sit wasm elit, canvas context lost magna; fallback webgl2 perspiciatis, polyfill slowpath dolore, glsl antique culpa extension hell 144hz tearing. command encoder perspiciatis out-of-memory, chromium nightly.","lorem sedentary dolor sit amet, infinite scroll elit chair-bound tempor. commit marathon magna carpal tunnel culpa, caffeine perspiciatis heartbeat irregular. lorem backlog dolor sit ticket elit, jira sprint tempor sedentary slump magna; gym membership culpa expired, standing desk perspiciatis unused. lorem procrastination dolor sit youtube elit, keyboard crumbs tempor pizza box magna; cardio avoidant culpa, hike someday perspiciatis maybe."]);var ko=()=>vt("ShinyTabs",[G({name:"shiny",explain:"a button-bar of mutually-exclusive tabs. panels are optional.",render:()=>le.with({props:[{snug:!0}],children:E`
499
- ${B("alpha")}
500
- ${B("bravo")}
501
- ${B("charlie")}
502
- <p slot=panel>${V.takeFirst()}</p>
503
- <p slot=panel>${V.takeFirst()}</p>
504
- <p slot=panel>${V.takeFirst()}</p>
505
- `}),styleboxCss:w`
487
+ `})]);var W=new me(()=>["lorem kettlebell dolor sit amet, mountain squats consectetur trail-running. adipiscing deadlift elit, sed do 45lb turkish get-up eiusmod tempor incididunt ut hike magna aliqua. ut enim ad minim clean & press, quis nostrud exercitation lunges ullamco kettlebell snatch trailhead nisi ut aliquip ex dolore summit irure dolor.","lorem protein dolor sit amet, creatine scoop elit shaker bottle tempor. grilled steak magna keto-fasting culpa, carb-loading perspiciatis cheat day. whey isolate dolor sit macros elit, intermittent fasting tempor electrolyte magna; barefoot shoes culpa, liver perspiciatis ancestral squat rack gospel. lorem bulking dolor sit cut elit, tdee tracker tempor calorie deficit magna; chicken breast culpa gatorade perspiciatis meal prep.","lorem caffeine dolor sit amet, double espresso elit cold brew tempor jitter. adderall magna focus culpa, lion\u2019s mane perspiciatis nootropic. nicotine gum dolor sit vape elit, dopamine hit tempor buzz magna; lsd microdosing culpa, productivity perspiciatis agile sprint. lorem latte dolor sit drip elit, french press tempor aeropress magna; insomnia culpa, circadian rhythm perspiciatis blue light filter.","lorem arch dolor sit amet, pacman -Syu elit rolling release tempor breakage. i3-gaps commodo tiling, bspwm magna culpa xinitrc. alias neovim configs in .dotfiles forest, r/unixporn veniam rice showcase perspiciatis.","lorem authlocal dolor sit amet, user-sovereign identity elit, cryptographic tempor signatures. ed25519 magna keypair culpa, elliptic perspiciatis handshake ut zero-knowledge proof. decentralized login elit mnemonic seed tempor recovery phrase. did magna alias culpa federation, lorem oauth2 perspiciatis antiquated.","lorem webgpu dolor sit amet, fragment shader elit vertex buffer tempor pipeline; bindgroup magna sampler culpa, wgsl perspiciatis alignment bug. compute pass workgroup barrier magna, mipmap cascade culpa drawcall instancing overflow. spir-v dolor sit wasm elit, canvas context lost magna; fallback webgl2 perspiciatis, polyfill slowpath dolore, glsl antique culpa extension hell 144hz tearing. command encoder perspiciatis out-of-memory, chromium nightly.","lorem sedentary dolor sit amet, infinite scroll elit chair-bound tempor. commit marathon magna carpal tunnel culpa, caffeine perspiciatis heartbeat irregular. lorem backlog dolor sit ticket elit, jira sprint tempor sedentary slump magna; gym membership culpa expired, standing desk perspiciatis unused. lorem procrastination dolor sit youtube elit, keyboard crumbs tempor pizza box magna; cardio avoidant culpa, hike someday perspiciatis maybe."]);var io=()=>ct("ShinyTabs",[I({name:"shiny",explain:"a button-bar of mutually-exclusive tabs. panels are optional.",render:()=>Vt.with({props:[{snug:!0}],children:E`
488
+ ${N("alpha")}
489
+ ${N("bravo")}
490
+ ${N("charlie")}
491
+ <p slot=panel>${W.takeFirst()}</p>
492
+ <p slot=panel>${W.takeFirst()}</p>
493
+ <p slot=panel>${W.takeFirst()}</p>
494
+ `}),styleboxCss:A`
506
495
  [view="shiny-button"] { font-size: 1.2em; }
507
496
  p { margin-top: var(--padding); }
508
497
  `,js:`
@@ -517,18 +506,18 @@ button {
517
506
  <p slot=panel>lorem caffeine..</p>
518
507
  \`,
519
508
  })
520
- `,css:w`
509
+ `,css:A`
521
510
  [view="shiny-tabs"] {
522
511
  --shiny-rounded: 0.5em;
523
512
  }
524
- `}),G({name:"plain",explain:"a button-bar of mutually-exclusive tabs. panels are optional.",render:()=>le.with({props:[{snug:!0}],children:E`
513
+ `}),I({name:"plain",explain:"a button-bar of mutually-exclusive tabs. panels are optional.",render:()=>Vt.with({props:[{snug:!0}],children:E`
525
514
  <button>alpha</button>
526
515
  <button>bravo</button>
527
516
  <button>charlie</button>
528
- <p slot=panel>${V.takeFirst()}</p>
529
- <p slot=panel>${V.takeFirst()}</p>
530
- <p slot=panel>${V.takeFirst()}</p>
531
- `}),styleboxCss:w`
517
+ <p slot=panel>${W.takeFirst()}</p>
518
+ <p slot=panel>${W.takeFirst()}</p>
519
+ <p slot=panel>${W.takeFirst()}</p>
520
+ `}),styleboxCss:A`
532
521
  p { margin-top: var(--padding); }
533
522
  button {
534
523
  font-size: 1.5em;
@@ -546,11 +535,11 @@ button {
546
535
  <p slot=panel>lorem caffeine..</p>
547
536
  \`,
548
537
  })
549
- `,css:w`
538
+ `,css:A`
550
539
  [view="shiny-tabs"] {
551
540
  --shiny-rounded: 0.5em;
552
541
  }
553
- `})]);var _o=()=>vt("ShinyButton",[G({name:"catalog",explain:"click-to-copy button.",render:()=>[B("e280"),B("e280",{vibe:"happy"}),B("e280",{vibe:"sad"}),B("e280",{vibe:"angry"}),B("e280",{vibe:"zesty"}),B("e280",{vibe:"quirky"}),B("e280",{vibe:"lame"})],styleboxCss:w`
542
+ `})]);var ao=()=>ct("ShinyButton",[I({name:"catalog",explain:"click-to-copy button.",render:()=>[N("e280"),N("e280",{vibe:"happy"}),N("e280",{vibe:"sad"}),N("e280",{vibe:"angry"}),N("e280",{vibe:"zesty"}),N("e280",{vibe:"quirky"}),N("e280",{vibe:"lame"})],styleboxCss:A`
554
543
  :host {
555
544
  font-size: 1.5em;
556
545
  display: flex;
@@ -568,7 +557,7 @@ button {
568
557
  ShinyButton("e280", {vibe: "quirky"}),
569
558
  ShinyButton("e280", {vibe: "lame"}),
570
559
  ]
571
- `,css:void 0})]);var Eo=w`@layer view {
560
+ `,css:void 0})]);var lo=A`@layer view {
572
561
 
573
562
  :host {
574
563
  display: block;
@@ -692,15 +681,15 @@ button {
692
681
  }
693
682
  }
694
683
 
695
- }`;var Xe=class{$open=H(!1);constructor(t=!1){t&&this.$open.set(!0)}get isOpen(){return this.$open.get()}async setOpen(t){return this.$open.set(t)}open=async()=>{await this.setOpen(!0)};close=async()=>{await this.setOpen(!1)};toggle=async()=>this.setOpen(!this.isOpen)};var Je=class{#t;constructor(t){this.#t=t.attachInternals().states}assign(...t){this.#t.forEach(r=>this.#t.delete(r));for(let r of t)this.#t.add(r);return this}};var Co=Z`<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon icon-tabler icons-tabler-outline icon-tabler-x"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M18 6l-12 12" /><path d="M6 6l12 12" /></svg>`;var To=Z`<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon icon-tabler icons-tabler-outline icon-tabler-menu-2"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M4 6l16 0" /><path d="M4 12l16 0" /><path d="M4 18l16 0" /></svg>`;var Fo=R((e={})=>{j("shiny-drawer"),I(U,Eo);let t=yt(),r=T(()=>new Je(t)),o=T(()=>e.control??new Xe),s=Ge({side:String,button:Boolean,open:Boolean});s.open=o.isOpen;let n=e.button??s.button,l=e.side??(s.side==="right"?"right":"left");r.assign(l,o.isOpen?"opened":"closed"),ut(()=>F.events(window,{keydown:h=>{h.code==="Escape"&&o.close()}}));function m(){return E`
684
+ }`;var Ce=class{$open=U(!1);constructor(t=!1){t&&this.$open(!0)}get isOpen(){return this.$open()}async setOpen(t){return this.$open(t)}open=async()=>{await this.setOpen(!0)};close=async()=>{await this.setOpen(!1)};toggle=async()=>this.setOpen(!this.isOpen)};var Te=class{#t;constructor(t){this.#t=t.attachInternals().states}assign(...t){this.#t.forEach(r=>this.#t.delete(r));for(let r of t)this.#t.add(r);return this}};var co=G`<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon icon-tabler icons-tabler-outline icon-tabler-x"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M18 6l-12 12" /><path d="M6 6l12 12" /></svg>`;var uo=G`<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon icon-tabler icons-tabler-outline icon-tabler-menu-2"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M4 6l16 0" /><path d="M4 12l16 0" /><path d="M4 18l16 0" /></svg>`;var po=z((e={})=>{H("shiny-drawer"),B(D,lo);let t=lt(),r=T(()=>new Te(t)),o=T(()=>e.control??new Ce),n=ke({side:String,button:Boolean,open:Boolean});n.open=o.isOpen;let s=e.button??n.button,l=e.side??(n.side==="right"?"right":"left");r.assign(l,o.isOpen?"opened":"closed"),at(()=>C.events(window,{keydown:d=>{d.code==="Escape"&&o.close()}}));function y(){return E`
696
685
  <button part=button @click="${o.toggle}">
697
686
  ${o.isOpen?E`
698
687
  <slot name=button-x>
699
- ${Co}
688
+ ${co}
700
689
  </slot>
701
690
  `:E`
702
691
  <slot name=button>
703
- ${To}
692
+ ${uo}
704
693
  </slot>
705
694
  `}
706
695
  </button>
@@ -713,11 +702,11 @@ button {
713
702
 
714
703
  <div part=tray>
715
704
  <slot part=slate ?inert="${!o.isOpen}"></slot>
716
- ${n?m():null}
705
+ ${s?y():null}
717
706
  </div>
718
707
  </div>
719
708
  </div>
720
- `});var Oo=w`
709
+ `});var ho=A`
721
710
  :host {
722
711
  font-size: 1em;
723
712
  width: 100%;
@@ -726,7 +715,7 @@ button {
726
715
  p + p {
727
716
  margin-top: var(--padding);
728
717
  }
729
- `,Ro=w`
718
+ `,fo=A`
730
719
  [slot=plate] { padding-top: 2em; }
731
720
  [view="shiny-drawer"] {
732
721
  --slate-bg: color-mix(in oklch, var(--calm), #444);
@@ -734,13 +723,13 @@ button {
734
723
  &:state(left)::part(slate) { border-bottom-right-radius: 0.5em; }
735
724
  &:state(right)::part(slate) { border-bottom-left-radius: 0.5em; }
736
725
  }
737
- `,zo=e=>Fo.with({props:[{button:!0,side:e}],children:E`
738
- <header>${V.takeFirst()}</header>
726
+ `,mo=e=>po.with({props:[{button:!0,side:e}],children:E`
727
+ <header>${W.takeFirst()}</header>
739
728
  <section slot=plate>
740
- <p>${V.takeFirst()}</p>
741
- <p>${V.takeFirst()}</p>
729
+ <p>${W.takeFirst()}</p>
730
+ <p>${W.takeFirst()}</p>
742
731
  </section>
743
- `}),Mo=()=>vt("ShinyDrawer",[G({name:"left",explain:"slide-out panel. button optional.",styleboxCss:Oo,css:Ro,render:()=>zo("left"),js:`
732
+ `}),go=()=>ct("ShinyDrawer",[I({name:"left",explain:"slide-out panel. button optional.",styleboxCss:ho,css:fo,render:()=>mo("left"),js:`
744
733
  ShinyDrawer.with({
745
734
  props: [{button: true, side: "left"}],
746
735
  children: html\`
@@ -751,7 +740,7 @@ button {
751
740
  </section>
752
741
  \`,
753
742
  })
754
- `}),G({name:"right",explain:"slide-out panel. button optional.",styleboxCss:Oo,css:Ro,render:()=>zo("right"),js:`
743
+ `}),I({name:"right",explain:"slide-out panel. button optional.",styleboxCss:ho,css:fo,render:()=>mo("right"),js:`
755
744
  ShinyDrawer.with({
756
745
  props: [{button: true, side: "right"}],
757
746
  children: html\`
@@ -762,7 +751,7 @@ button {
762
751
  </section>
763
752
  \`,
764
753
  })
765
- `})]);F.render(F(".gallery"),[_o(),So(),ko(),Mo()]);console.log("\u2728shiny\u2728");
754
+ `})]);C.render(C(".gallery"),[ao(),so(),io(),go()]);console.log("\u2728shiny\u2728");
766
755
  /*! Bundled license information:
767
756
 
768
757
  prismjs/prism.js: