])))+)?\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"},/?[\da-f]{1,8};/i]},k.languages.markup["tag"].inside["attr-value"].inside["entity"]=k.languages.markup["entity"],k.languages.markup["doctype"].inside["internal-subset"].inside=k.languages.markup,k.hooks.add("wrap",function(e){"entity"===e.type&&(e.attributes["title"]=e.content.replace(/&/,"&"))}),Object.defineProperty(k.languages.markup.tag,"addInlined",{value:function(e,t){var n={};n["language-"+t]={pattern:/(^$)/i,lookbehind:!0,inside:k.languages[t]},n["cdata"]=/^$/i;var a={"included-cdata":{pattern://i,inside:n}};a["language-"+t]={pattern:/[\s\S]+/,inside:k.languages[t]};var r={};r[e]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,function(){return e}),"i"),lookbehind:!0,greedy:!0,inside:a},k.languages.insertBefore("markup","cdata",r)}}),Object.defineProperty(k.languages.markup.tag,"addAttribute",{value:function(e,t){k.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:k.languages[t]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),k.languages.html=k.languages.markup,k.languages.mathml=k.languages.markup,k.languages.svg=k.languages.markup,k.languages.xml=k.languages.extend("markup",{}),k.languages.ssml=k.languages.xml,k.languages.atom=k.languages.xml,k.languages.rss=k.languages.xml,l=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/,k.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+l.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\\((?:"+l.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+l.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+l.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:l,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:/[(){};:,]/},k.languages.css["atrule"].inside.rest=k.languages.css,(u=k.languages.markup)&&(u.tag.addInlined("style","css"),u.tag.addAttribute("style","css")),k.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:/[{}[\];(),.:]/},k.languages.javascript=k.languages.extend("clike",{"class-name":[k.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}|\?\?=?|\?\.?|[~:]/}),k.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,k.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:k.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:k.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:k.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:k.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:k.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),k.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:k.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"}}),k.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),k.languages.markup&&(k.languages.markup.tag.addInlined("script","javascript"),k.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")),k.languages.js=k.languages.javascript,function(){if(void 0!==k&&"undefined"!=typeof document){Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector);var e={js:"javascript",py:"python",rb:"ruby",ps1:"powershell",psm1:"powershell",sh:"bash",bat:"batch",h:"c",tex:"latex"},t="data-src-status",n="loading",a="loaded",r="pre[data-src]:not(["+t+'="'+a+'"]):not(['+t+'="'+n+'"])';k.hooks.add("before-highlightall",function(e){e.selector+=", "+r}),k.hooks.add("before-sanity-check",function(i){var s=i.element;if(s.matches(r)){i.code="",s.setAttribute(t,n);var o,l,u,c=s.appendChild(document.createElement("CODE"));c.textContent="Loading…";var g=s.getAttribute("data-src"),d=i.language;if("none"===d){var p=(/\.(\w+)$/.exec(g)||[,"none"])[1];d=e[p]||p}k.util.setLanguage(c,d),k.util.setLanguage(s,d);var f=k.plugins.autoloader;f&&f.loadLanguages(d),o=function(e){s.setAttribute(t,a);var n=function(e){var t=/^\s*(\d+)\s*(?:(,)\s*(?:(\d+)\s*)?)?$/.exec(e||"");if(t){var n=Number(t[1]),a=t[2],r=t[3];return a?r?[n,Number(r)]:[n,undefined]:[n,n]}}(s.getAttribute("data-range"));if(n){var r=e.split(/\r\n?|\n/g),i=n[0],o=null==n[1]?r.length:n[1];i<0&&(i+=r.length),i=Math.max(0,Math.min(i-1,r.length)),o<0&&(o+=r.length),o=Math.max(0,Math.min(o,r.length)),e=r.slice(i,o).join("\n"),s.hasAttribute("data-start")||s.setAttribute("data-start",String(i+1))}c.textContent=e,k.highlightElement(c)},l=function(e){s.setAttribute(t,"failed"),c.textContent=e},(u=new XMLHttpRequest).open("GET",g,!0),u.onreadystatechange=function(){4==u.readyState&&(u.status<400&&u.responseText?o(u.responseText):u.status>=400?l("✖ Error "+u.status+" while fetching file: "+u.statusText):l("✖ Error: File does not exist or is empty"))},u.send(null)}}),k.plugins.fileHighlight={highlight:function(e){for(var t,n=(e||document).querySelectorAll(r),a=0;t=n[a++];)k.highlightElement(t)}};var i=!1;k.fileHighlight=function(){i||(console.warn("Prism.fileHighlight is deprecated. Use `Prism.plugins.fileHighlight.highlight` instead."),i=!0),k.plugins.fileHighlight.highlight.apply(this,arguments)}}}();var v=function(e){var t,n=e.a11||"jsx",a=void e.a11,r=e.a1,i=e.a19;if((null==r?void 0:r.length)&&a)throw Error("CodeWindow can only accept one of code or htmlCode");if((null==r?void 0:r.length)&&!i)throw Error("CodeWindow requires a highlighter when using children");return y.j("div",[[function(e){e.className="relative m-auto flex w-full max-w-4xl flex-col overflow-hidden rounded-xl bg-slate-800 bg-slate-900/70 shadow-xl ring-1 ring-inset ring-white/10 backdrop-blur"}]],[y.j("div",[[function(e){e.className="flex-none border-b border-slate-500/30"}]],[y.j("div",[[function(e){e.className="flex h-8 items-center space-x-1.5 px-3"}]],[y.j("div",[[function(e){e.className="h-2.5 w-2.5 rounded-full bg-slate-600"}]])," ",y.j("div",[[function(e){e.className="h-2.5 w-2.5 rounded-full bg-slate-600"}]])," ",y.j("div",[[function(e){e.className="h-2.5 w-2.5 rounded-full bg-slate-600"}]])])])," ",y.j("pre",[[function(e){e.className="!m-0 flex min-h-full !bg-transparent !p-0 text-sm leading-6"}]],[(null==r?void 0:r.length)?(i(t=y.j("code",[[function(e){e.className="relative block flex-auto overflow-auto p-6 text-slate-50 "+(`language-${n}`||"")}]],[r])),t):y.j("code",[[function(e){e.className="relative block flex-auto overflow-auto p-6 text-slate-50"}],[function(e){e.innerHTML=a}]])])])};(function(e){var t=e.util.clone(e.languages.javascript),n=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,a=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,r=/(?:\{*\.{3}(?:[^{}]|)*\})/.source;function i(e,t){return RegExp(e=e.replace(//g,function(){return n}).replace(//g,function(){return a}).replace(//g,function(){return r}),t)}r=i(r).source,e.languages.jsx=e.languages.extend("markup",t),e.languages.jsx.tag.pattern=i(/<\/?(?:[\w.:-]+(?:+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|))?|))**\/?)?>/.source),e.languages.jsx.tag.inside["tag"].pattern=/^<\/?[^\s>\/]*/,e.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,e.languages.jsx.tag.inside["tag"].inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,e.languages.jsx.tag.inside["comment"]=t["comment"],e.languages.insertBefore("inside","attr-name",{spread:{pattern:i(//.source),inside:e.languages.jsx}},e.languages.jsx.tag),e.languages.insertBefore("inside","special-attr",{script:{pattern:i(/=/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:e.languages.jsx}}},e.languages.jsx.tag);var s=function(e){return e?"string"==typeof e?e:"string"==typeof e.content?e.content:e.content.map(s).join(""):""},o=function(t){for(var n=[],a=0;a0&&n[n.length-1].tagName===s(r.content[0].content[1])&&n.pop():"/>"===r.content[r.content.length-1].content||n.push({tagName:s(r.content[0].content[1]),openedBraces:0}):n.length>0&&"punctuation"===r.type&&"{"===r.content?n[n.length-1].openedBraces++:n.length>0&&n[n.length-1].openedBraces>0&&"punctuation"===r.type&&"}"===r.content?n[n.length-1].openedBraces--:i=!0),(i||"string"==typeof r)&&n.length>0&&0===n[n.length-1].openedBraces){var l=s(r);a0&&("string"==typeof t[a-1]||"plain-text"===t[a-1].type)&&(l=s(t[a-1])+l,t.splice(a-1,1),a--),t[a]=new e.Token("plain-text",l,null,l)}r.content&&"string"!=typeof r.content&&o(r.content)}};e.hooks.add("after-tokenize",function(e){("jsx"===e.language||"tsx"===e.language)&&o(e.tokens)})})(Prism),g=(c=Prism).util.clone(c.languages.typescript),c.languages.tsx=c.languages.extend("jsx",g),delete c.languages.tsx["parameter"],delete c.languages.tsx["literal-property"],(d=c.languages.tsx.tag).pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+d.pattern.source+")",d.pattern.flags),d.lookbehind=!0,Prism.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},Prism.languages.webmanifest=Prism.languages.json,Prism.languages.scss=Prism.languages.extend("css",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},atrule:{pattern:/@[\w-](?:\([^()]+\)|[^()\s]|\s+(?!\s))*?(?=\s+[{;])/,inside:{rule:/@[\w-]+/}},url:/(?:[-a-z]+-)?url(?=\()/i,selector:{pattern:/(?=\S)[^@;{}()]?(?:[^@;{}()\s]|\s+(?!\s)|#\{\$[-\w]+\})+(?=\s*\{(?:\}|\s|[^}][^:{}]*[:{][^}]))/,inside:{parent:{pattern:/&/,alias:"important"},placeholder:/%[-\w]+/,variable:/\$[-\w]+|#\{\$[-\w]+\}/}},property:{pattern:/(?:[-\w]|\$[-\w]|#\{\$[-\w]+\})+(?=\s*:)/,inside:{variable:/\$[-\w]+|#\{\$[-\w]+\}/}}}),Prism.languages.insertBefore("scss","atrule",{keyword:[/@(?:content|debug|each|else(?: if)?|extend|for|forward|function|if|import|include|mixin|return|use|warn|while)\b/i,{pattern:/( )(?:from|through)(?= )/,lookbehind:!0}]}),Prism.languages.insertBefore("scss","important",{variable:/\$[-\w]+|#\{\$[-\w]+\}/}),Prism.languages.insertBefore("scss","function",{"module-modifier":{pattern:/\b(?:as|hide|show|with)\b/i,alias:"keyword"},placeholder:{pattern:/%[-\w]+/,alias:"selector"},statement:{pattern:/\B!(?:default|optional)\b/i,alias:"keyword"},boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"},operator:{pattern:/(\s)(?:[-+*\/%]|[=!]=|<=?|>=?|and|not|or)(?=\s)/,lookbehind:!0}}),Prism.languages.scss["atrule"].inside.rest=Prism.languages.scss,function(e){var t=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function n(e){return e=e.replace(//g,function(){return t}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+e+")")}var a=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,r=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return a}),i=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;e.languages.markdown=e.languages.extend("markup",{}),e.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:e.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+r+i+"(?:"+r+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+r+i+")(?:"+r+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(a),inside:e.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+r+")"+i+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+r+"$"),inside:{"table-header":{pattern:RegExp(a),alias:"important",inside:e.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:n(/\b__(?:(?!_)|_(?:(?!_))+_)+__\b|\*\*(?:(?!\*)|\*(?:(?!\*))+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:n(/\b_(?:(?!_)|__(?:(?!_))+__)+_\b|\*(?:(?!\*)|\*\*(?:(?!\*))+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:n(/(~~?)(?:(?!~))+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:n(/!?\[(?:(?!\]))+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\]))+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach(function(t){["url","bold","italic","strike","code-snippet"].forEach(function(n){t!==n&&(e.languages.markdown[t].inside.content.inside[n]=e.languages.markdown[n])})}),e.hooks.add("after-tokenize",function(e){("markdown"===e.language||"md"===e.language)&&function e(t){if(t&&"string"!=typeof t)for(var n=0,a=t.length;n",quot:'"'},l=String.fromCodePoint||String.fromCharCode;e.languages.md=e.languages.markdown}(Prism),(p=Prism).languages.typescript=p.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),p.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete p.languages.typescript["parameter"],delete p.languages.typescript["literal-property"],f=p.languages.extend("typescript",{}),delete f["class-name"],p.languages.typescript["class-name"].inside=f,p.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:f}}}}),p.languages.ts=p.languages.typescript;var w=function(e){var t=e.a11||"jsx",n=undefined!==e.a11,r=e.a1;return v({a11:n?y.b(t):t,a19:a(x).highlightElement,a1:[r]})},F={};F="/assets/img/mango.1d587eba.svg";var j=y.a({}),A=y.a({}),$=y.a(""),S=y.a(""),E=y.a("");function N(){var e=window.location.pathname;-1!==e.indexOf("?")&&(e=e.split("?")[0]),-1!==e.indexOf("#")&&(e=e.split("#")[0]);var t={},n={},a="";if(window.location.search.length>1)for(var r=window.location.search.slice(1).split("&"),i=0;i{var t=e.a11,n=e.a1;return y.b(t)?w({a11:y.a(function(){return y.b(t)},[t]),a1:[n]}):y.j("code",undefined,[n])};y.o(document.body,[(r=y.a(null),i=y.a(!1),s=y.d([]),o=[],e=new IntersectionObserver(e=>{for(let t of e)if(t.isIntersecting){for(let e=0;e{let n=Array.from(t.getElementsByTagName("h2"));n.forEach(e=>o.push([e.innerText,e.id,!1])),y.e(s,o),n.forEach(t=>e.observe(t))},n=t=>{Array.from(t.getElementsByTagName("h2")).forEach(t=>e.unobserve(t)),o.length=0,y.e(s,o)},y.f(function(){y.b(j)["*"]?y.c(r,B.find(e=>e.route===y.b(j)["*"])):_("/docs/getting-started",!0)},[j],!0),y.j("div",[[function(e){e.className="flex min-h-screen flex-col justify-between bg-[#111111]"}]],[y.k([y.j("title",undefined,["Docs | Mango Framework"])," ",y.j("meta",[[function(e){e.name="description",e.content="A framework designed with performance and compatibility in mind."}]])])," ",y.j("div",[[function(e){e.className="sticky top-0 z-20 w-full bg-transparent"}]],[y.j("div",[[function(e){e.className="pointer-events-none absolute z-[-1] h-full w-full shadow-[0_-1px_0_rgba(255,255,255,.1)_inset] backdrop-blur-md"}]])," ",y.j("nav",[[function(e){e.className="mx-auto flex h-16 max-w-[90rem] items-center justify-end gap-2 px-6"}]],[y.j("a",[[function(e){e.className="mr-auto flex items-center justify-center gap-2",e.href="/"}]],[y.j("img",[[function(e){e.src=a(F),e.style.height="32px",e.style.width="23.12px",e.alt="mango logo"}]])," ",y.j("span",[[function(e){e.className="text-2xl font-bold"}]],["Mango"])])," ",y.j("a",[[function(e){e.className="-ml-2 inline-block whitespace-nowrap p-2 text-sm font-semibold text-primary-500 subpixel-antialiased",e.href="/docs"}]],[" Docs "])," ",y.j("a",[[function(e){e.className="-ml-2 inline-block whitespace-nowrap p-2 text-sm font-semibold subpixel-antialiased",e.href="https://github.com/GeeekyBoy/mango",e.target="_blank"}]],[" GitHub "])," ",y.j("button",[[function(e){e.className="-mr-2 rounded p-2 active:bg-gray-400/20 md:hidden",e.setAttribute("aria-label","toggle navigation menu"),e.onclick=()=>y.c(i,!y.b(i))}]],[y.j("svg",[[function(e){e.style.fill="none",e.style.width="24",e.style.height="24",e.setAttribute("viewBox","0 0 24 24"),e.style.stroke="currentColor"}]],[y.j("g",[[function(e){e.setAttribute("class","origin-center "+((y.b(i)?"rotate-45":"")||"")),e.style.transition="transform .2s cubic-bezier(.25,1,.5,1)"},i]],[y.j("path",[[function(e){e.style.transform=y.b(i)?"translate3d(0, 6px, 0)":"translate3d(0, 0, 0)",e.style.transition=y.b(i)?"transform .2s cubic-bezier(.25,1,.5,1),opacity 0s ease .2s":"transform .2s cubic-bezier(.25,1,.5,1) .2s,opacity .2s ease .2s"},i],[function(e){e.style.strokeLinecap="round",e.style.strokeLinejoin="round",e.style.strokeWidth="2",e.setAttribute("d","M4 6h16")}]],undefined,1)],1)," ",y.j("path",[[function(e){e.style.transition=y.b(i)?"transform .2s cubic-bezier(.25,1,.5,1),opacity 0s ease .2s":"transform .2s cubic-bezier(.25,1,.5,1) .2s,opacity .2s ease .2s",e.style.opacity=y.b(i)?0:1},i],[function(e){e.style.strokeLinecap="round",e.style.strokeLinejoin="round",e.style.strokeWidth="2",e.setAttribute("d","M4 12h16")}]],undefined,1)," ",y.j("g",[[function(e){e.setAttribute("class","origin-center "+((y.b(i)?"-rotate-45":"")||"")),e.style.transition=y.b(i)?"transform .2s cubic-bezier(.25,1,.5,1) .2s":"transform .2s cubic-bezier(.25,1,.5,1)"},i]],[y.j("path",[[function(e){e.style.transform=y.b(i)?"translate3d(0, -6px, 0)":"translate3d(0, 0, 0)",e.style.transition=y.b(i)?"transform .2s cubic-bezier(.25,1,.5,1),opacity 0s ease .2s":"transform .2s cubic-bezier(.25,1,.5,1) .2s,opacity .2s ease .2s"},i],[function(e){e.style.strokeLinecap="round",e.style.strokeLinejoin="round",e.style.strokeWidth="2",e.setAttribute("d","M4 18h16")}]],undefined,1)],1)],1)])])])," ",y.j("div",[[function(e){e.className="relative mx-auto flex w-full flex-1 justify-around"}]],[y.j("div",[[function(e){e.className="[transition:background-color_1.5s_ease] md:hidden motion-reduce:transition-none fixed inset-0 z-10 "+((y.b(i)?"bg-black/60":"bg-transparent pointer-events-none")||"")},i],[function(e){e.onclick=()=>y.c(i,!1)}]])," ",y.j("aside",[[function(e){e.className="fixed top-0 z-10 flex w-full flex-col bg-black/50 pt-16 backdrop-blur-md md:sticky md:top-16 md:w-64 md:flex-shrink-0 md:transform-none md:self-start md:bg-transparent md:pt-0 md:transition-none "+((y.b(i)?"":"-translate-y-full")||"")},i],[function(e){e.style.transition="transform .8s cubic-bezier(.52,.16,.04,1)"}]],[y.j("div",[[function(e){e.className="grow overflow-y-auto p-4 md:h-[calc(100vh-4rem-3.75rem)]"}]],[y.j("ul",[[function(e){e.className="flex flex-col gap-1"}]],[B.map(e=>y.j("li",[[function(e){e.className="flex flex-col gap-1"}]],[y.j("a",[[function(t){t.className="flex break-words rounded px-2 py-1.5 text-sm transition-colors "+((e===y.b(r)?"bg-primary-500/10 text-primary-500":"hover:bg-primary-100/5 hover:text-gray-50")||"")},r],[function(t){t.href="/docs"+e.route,t.onclick=t=>{t.preventDefault(),e!==y.b(r)&&(_("/docs"+e.route),y.c(i,!1))}}]],[e.title])]))])])])," ",y.j("div",[[function(e){e.className="order-last hidden w-64 flex-shrink-0 px-4 xl:block"}]],[y.j("div",[[function(e){e.className="sticky top-16 -mr-4 max-h-[calc(100vh-var(--nextra-navbar-height)-env(safe-area-inset-bottom))] overflow-y-auto pr-4 pt-8 text-sm [hyphens:auto]"}]],[y.j("p",[[function(e){e.className="mb-4 font-semibold tracking-tight"}]],["On This Page"])," ",y.j("ul",undefined,[y.h(s,e=>y.j("li",[[function(e){e.className="my-2 scroll-my-6 scroll-py-6"}]],[y.j("a",[[function(t){t.href=`#${y.b(e)[1]}`,t.className="font-semibold "+((y.b(e)[2]?"text-primary-500":"text-gray-400 hover:text-gray-300")||"")},e]],function(){return[function(){return y.b(e)[0]},[e]]})]))])," ",y.i(function(){return y.b(r)&&y.j("div",[[function(e){e.className="sticky bottom-0 mt-8 flex flex-col items-start gap-2 border-t border-neutral-800 pt-8 pb-8"}]],[y.j("a",[[function(e){e.className="text-xs font-medium text-gray-400 hover:text-gray-100"}],[function(e){e.href=`https://github.com/GeeekyBoy/mango/tree/main/website/src/docs/${y.b(r).fileBasename}.mdx`},r]],[" Edit this page on GitHub "])])},[r])])])," ",y.j("article",[[function(e){e.className="flex w-full min-w-0 max-w-4xl flex-1 justify-center pb-8"}]],[y.j("main",[[function(e){e.className="prose prose-invert w-full min-w-0 max-w-4xl px-6 pt-6 text-gray-100 prose-pre:bg-[#111111] md:px-8"}]],function(){return[function(){return y.b(r)?y.m("/components/docs/"+y.b(r).fileBasename+".js",function(e){var a;return t(a=y.l(e({a12:y.a(function(){return z},[]),a13:y.a(function(){return C},[]),a1:[]}),[[function(e){e.$c=n}]])),a},y.j("div",[[function(e){e.className="a8"}]],[y.j("div",[[function(e){e.className="a10"}]])," ",y.j("div",[[function(e){e.className="a11"}]])," ",y.j("div",[[function(e){e.className="a7"}]])," ",y.j("div",[[function(e){e.className="a7"}]])," ",y.j("div",[[function(e){e.className="a7"}]])," ",y.j("div",[[function(e){e.className="a7"}]])," ",y.j("div",[[function(e){e.className="a7"}]])," ",y.j("div",[[function(e){e.className="a6"}]])," ",y.j("div",[[function(e){e.className="a7"}]])," ",y.j("div",[[function(e){e.className="a7"}]])])):y.j("div",[[function(e){e.className="flex h-full flex-col items-center justify-center"}]],[y.j("h1",[[function(e){e.className="!mb-4 text-4xl font-bold"}]],["404"])," ",y.j("p",[[function(e){e.className="!mt-4 text-xl"}]],["Page not found"])])},[r]]})])])," ",y.j("footer",[[function(e){e.className="w-full justify-center px-4 pb-4 text-center text-sm leading-relaxed text-gray-400"}]],[y.j("p",[[function(e){e.className=""}]],[" Made with ❤️ by"," "," ",y.j("a",[[function(e){e.className="text-gray-100 hover:text-gray-200",e.href="https://github.com/GeeekyBoy",e.target="_blank"}]],[" GeeekyBoy "])," "," in Egypt ",y.j("br")," ",y.j("a",[[function(e){e.className="text-gray-100 hover:text-gray-200",e.href="https://github.com/microsoft/fluentui-emoji",e.target="_blank"}]],[" Fluent Emojis "])," "," designed by Microsoft ",y.j("br")," Copyright \xa9 ",new Date().getFullYear()," GeeekyBoy & Mango Contributors "])])]))])})();