mordoc 0.1.4 → 0.1.6
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.
- package/dist/bundles/client.js +1 -1
- package/dist/cli/create-app.d.ts.map +1 -1
- package/dist/cli/create-app.js +34 -9
- package/dist/cli/create-app.js.map +1 -1
- package/dist/components/ContentPage.js +1 -1
- package/dist/components/ContentPage.js.map +1 -1
- package/dist/styles/components/content.d.ts.map +1 -1
- package/dist/styles/components/content.js +0 -1
- package/dist/styles/components/content.js.map +1 -1
- package/dist/styles/components/sidenav.d.ts.map +1 -1
- package/dist/styles/components/sidenav.js +6 -3
- package/dist/styles/components/sidenav.js.map +1 -1
- package/package.json +3 -3
- package/templates/default/package.json +1 -1
package/dist/bundles/client.js
CHANGED
|
@@ -41,7 +41,7 @@ Please change the parent <Route path="${p}"> to <Route path="${p==="/"?"*":`${p}
|
|
|
41
41
|
})
|
|
42
42
|
`}var WS={html:ao,react:IS,reactStatic:KS},eC=class{validate(e,t){let{partials:n={}}=t;return n[e]?[]:[{id:"attribute-value-invalid",level:"error",message:`Partial \`${e}\` not found. The 'file' attribute must be set in \`config.partials\``}]}},tC={inline:!1,selfClosing:!0,attributes:{file:{type:eC,render:!1,required:!0},variables:{type:Object,render:!1}},transform(e,t){let{partials:n={}}=t,{file:r,variables:a}=e.attributes,l=n[r];if(!l)return null;let i={...t,variables:{...t.variables,...a,"$$partial:filename":r}},u=o=>o.resolve(i).transformChildren(i);return Array.isArray(l)?l.flatMap(u):u(l)}},nC={children:["table"],inline:!1},rC={attributes:{primary:{type:String,required:!0}}},H0={else:cS,if:sS,partial:tC,slot:rC,table:nC},aC=fo(N0()),oo=fo(C0());function q0(e,t,n){try{let{type:r,meta:a,nesting:l=0}=(0,oo.parse)(t,{Variable:ho,Function:po}),i=e.push(r,"",l);return i.info=t,i.meta=a,e.delimiters||(e.delimiters=[]),i}catch(r){if(!(r instanceof oo.SyntaxError))throw r;let{message:a,location:{start:l,end:i}}=r,u=n?{start:{offset:l.offset+n},end:{offset:i.offset+n}}:null,o=e.push("error","",0);return o.meta={error:{message:a,location:u}},o}}function lC(e,t,n,r){let a=e.bMarks[t]+e.tShift[t],l=e.eMarks[t];if(!e.src.startsWith(pt,a))return!1;let i=mo(e.src,a),u=e.src.slice(0,l).trim().length;if(!i||i<u-_n.length)return!1;let o=a+pt.length,s=e.src.slice(o,i).trim(),f=e.src.slice(a,i+_n.length).split(`
|
|
43
43
|
`).length;if(s[0]==="$")return!1;if(r)return!0;let c=q0(e,s,o);return c.map=[t,t+f],e.line+=f,!0}function iC(e,t){if(!e.src.startsWith(pt,e.pos))return!1;let n=mo(e.src,e.pos);if(!n)return!1;let r=e.src.slice(e.pos+pt.length,n);return t||q0(e,r.trim()),e.pos=n+_n.length,!0}function uC(e){let t;for(t of e.tokens)if(t.type==="fence"){if(t.info.includes(pt)){let n=t.info.indexOf(pt),r=mo(t.info,n),a=t.info.slice(n+pt.length,r);try{let{meta:l}=(0,oo.parse)(a.trim(),{Variable:ho,Function:po});t.meta=l}catch(l){if(!(l instanceof oo.SyntaxError))throw l;t.errors||(t.errors=[]),t.errors.push({id:"fence-tag-error",level:"error",message:`Syntax error in fence tag: ${l.message}`})}}t?.meta?.attributes?.find(n=>n.name==="process"&&!n.value)||(t.children=O0(t.content,t.map[0]))}}function oC(e){e.block.ruler.before("paragraph","annotations",lC,{alt:["paragraph","blockquote"]}),e.inline.ruler.push("containers",iC),e.core.ruler.push("annotations",uC)}var j0="---";function $0(e,t){return e.src.slice(e.bMarks[t],e.eMarks[t]).trim()}function sC(e,t){for(let n=1;n<t;n++)if($0(e,n)===j0)return n}function cC(e,t,n,r){if(t!=0||$0(e,0)!=j0)return!1;let a=sC(e,n);if(!a)return!1;if(r)return!0;let l=e.push("frontmatter","",0);return l.content=e.src.slice(e.eMarks[0],e.bMarks[a]).trim(),l.map=[0,a],l.hidden=!0,e.line=a+1,!0}function fC(e){e.block.ruler.before("hr","frontmatter",cC)}var so="<!--",zf="-->";function dC(e,t,n,r){let a=e.bMarks[t]+e.tShift[t];if(!e.src.startsWith(so,a))return!1;let l=e.src.indexOf(zf,a);if(l===-1)return!1;if(r)return!0;let i=e.src.slice(a+so.length,l),u=i.split(`
|
|
44
|
-
`).length,o=e.push("comment","",0);return o.content=i.trim(),o.map=[t,t+u],e.line+=u,!0}function hC(e,t){if(!e.src.startsWith(so,e.pos))return!1;let n=e.src.indexOf(zf,e.pos);if(n===-1)return!1;if(t)return!0;let r=e.src.slice(e.pos+so.length,n),a=e.push("comment","",0);return a.content=r.trim(),e.pos=n+zf.length,!0}function pC(e){e.block.ruler.before("table","comment",dC,{alt:["paragraph"]}),e.inline.ruler.push("comment",hC)}var G0=class{constructor(e={}){this.parser=new aC.default(e),this.parser.use(oC,"annotations",{}),this.parser.use(fC,"frontmatter",{}),this.parser.disable(["lheading","code"]),e.allowComments&&this.parser.use(pC,"comments",{})}tokenize(e){return this.parser.parse(e.toString(),{})}},mC={String,Number,Array,Object,Boolean};function Gf(e,t,n,r){if(!e)return!0;if(kt.isFunction(t)&&n.validation?.validateFunctions){let a=n.functions?.[t.name];return a?.returns?Array.isArray(a.returns)?a.returns.find(l=>l===e)!==void 0:a.returns===e:!0}if(kt.isAst(t))return!0;if(Array.isArray(e))return e.some(a=>Gf(a,t,n,r));if(typeof e=="string"&&(e=mC[e]),typeof e=="function"){let a=new e;if(a.validate)return a.validate(t,n,r)}return t!=null&&t.constructor===e}function Vf(e){return typeof e=="string"?e:Array.isArray(e)?e.map(Vf).join(" | "):e.name}function gC(e,t){let n=t.functions?.[e.name],r=[];if(!n)return[{id:"function-undefined",level:"critical",message:`Undefined function: '${e.name}'`}];if(n.validate&&r.push(...n.validate(e,t)),n.parameters)for(let[a,l]of Object.entries(e.parameters)){let i=n.parameters?.[a];if(!i){r.push({id:"parameter-undefined",level:"error",message:`Invalid parameter: '${a}'`});continue}if(!(kt.isAst(l)&&!kt.isFunction(l))&&i.type){let u=Gf(i.type,l,t,a);u===!1?r.push({id:"parameter-type-invalid",level:"error",message:`Parameter '${a}' of '${e.name}' must be type of '${Vf(i.type)}'`}):Array.isArray(u)&&r.push(...u)}}for(let[a,{required:l}]of Object.entries(n.parameters??{}))l&&e.parameters[a]===void 0&&r.push({id:"parameter-missing-required",level:"error",message:`Missing required parameter: '${a}'`});return r}function vC(e,t){return e.length<=t?JSON.stringify(e):`[${e.slice(0,t).map(r=>JSON.stringify(r)).join(",")}, ... ${e.length-t} more]`}function V0(e,t){let n=e.findSchema(t),r=[...e.errors||[]];if(!n)return r.push({id:e.tag?"tag-undefined":"node-undefined",level:"critical",message:e.tag?`Undefined tag: '${e.tag}'`:`Undefined node: '${e.type}'`}),r;n.inline!=null&&e.inline!==n.inline&&r.push({id:"tag-placement-invalid",level:"critical",message:`'${e.tag}' tag should be ${n.inline?"inline":"block"}`}),n.selfClosing&&e.children.length>0&&r.push({id:"tag-selfclosing-has-children",level:"critical",message:`'${e.tag}' tag should be self-closing`});let a={...qf,...n.attributes};for(let l of Object.keys(e.slots))n.slots?.[l]||r.push({id:"slot-undefined",level:"error",message:`Invalid slot: '${l}'`});for(let[l,i]of Object.entries(e.attributes)){let u=a[l];if(!u){r.push({id:"attribute-undefined",level:"error",message:`Invalid attribute: '${l}'`});continue}let{type:o,matches:s,errorLevel:f}=u;if(kt.isAst(i))if(kt.isFunction(i)&&t.validation?.validateFunctions)r.push(...gC(i,t));else if(kt.isVariable(i)&&t.variables){let c=!1,d=t.variables;for(let h of i.path){if(!Object.prototype.hasOwnProperty.call(d,h)){c=!0;break}d=d[h]}c&&r.push({id:"variable-undefined",level:"error",message:`Undefined variable: '${i.path.join(".")}'`})}else continue;if(i=i,o){let c=Gf(o,i,t,l);c===!1&&r.push({id:"attribute-type-invalid",level:f||"error",message:`Attribute '${l}' must be type of '${Vf(o)}'`}),Array.isArray(c)&&r.push(...c)}if(typeof s=="function"&&(s=s(t)),Array.isArray(s)&&!s.includes(i)&&r.push({id:"attribute-value-invalid",level:f||"error",message:`Attribute '${l}' must match one of ${vC(s,8)}. Got '${i}' instead.`}),s instanceof RegExp&&!s.test(i)&&r.push({id:"attribute-value-invalid",level:f||"error",message:`Attribute '${l}' must match ${s}. Got '${i}' instead.`}),typeof u.validate=="function"){let c=u.validate(i,t,l);Array.isArray(c)&&r.push(...c)}}for(let[l,{required:i}]of Object.entries(a))i&&e.attributes[l]===void 0&&r.push({id:"attribute-missing-required",level:"error",message:`Missing required attribute: '${l}'`});if(n.slots)for(let[l,{required:i}]of Object.entries(n.slots))i&&e.slots[l]===void 0&&r.push({id:"slot-missing-required",level:"error",message:`Missing required slot: '${l}'`});for(let{type:l}of e.children)n.children&&l!=="error"&&!n.children.includes(l)&&r.push({id:"child-invalid",level:"warning",message:`Can't nest '${l}' in '${e.tag||e.type}'`});if(n.validate){let l=n.validate(e,t);if(Jr(l))return l.then(i=>r.concat(i));r.push(...l)}return r}function*Y0(e,t=[]){yield[e,t];for(let n of[...Object.values(e.slots),...e.children])yield*Y0(n,[...t,e])}function yC(e,t){let n=[...Y0(e)].map(([r,a])=>{let{type:l,lines:i,location:u}=r,o={...t,validation:{...t.validation,parents:a}},s=V0(r,o);return Jr(s)?s.then(f=>f.map(c=>({type:l,lines:i,location:u,error:c}))):s.map(f=>({type:l,lines:i,location:u,error:f}))});return n.some(Jr)?Promise.all(n).then(r=>r.flat()):n.flat()}var bC=new G0;function P0(e={}){return{...e,tags:{...H0,...e.tags},nodes:{...jf,...e.nodes},functions:{...B0,...e.functions}}}function Z0(e,t){return typeof e=="string"&&(e=bC.tokenize(e)),bS(e,t)}function X0(e,t){return Array.isArray(e)?e.flatMap(n=>n.resolve(t)):e.resolve(t)}function Q0(e,t){let n=P0(t),r=X0(e,n);return Array.isArray(r)?r.flatMap(a=>a.transform(n)):r.transform(n)}function I0(e,t){let n=P0(t);return yC(e,n)}function AC(e,t={},...n){return{name:e,attributes:t,children:n}}var Xe=class{constructor(e){this.parse=Z0,this.resolve=t=>X0(t,this.config),this.transform=t=>Q0(t,this.config),this.validate=t=>I0(t,this.config),this.config=e}};Xe.nodes=jf;Xe.tags=H0;Xe.functions=B0;Xe.globalAttributes=qf;Xe.renderers=WS;Xe.transforms=L0;Xe.Ast=kt;Xe.Tag=cn;Xe.Tokenizer=G0;Xe.parseTags=O0;Xe.transformer=ii;Xe.validator=V0;Xe.parse=Z0;Xe.transform=Q0;Xe.validate=I0;Xe.createElement=AC;Xe.truthy=oi;Xe.format=uo;var K0=q(de()),Yf=q(J0());Prism.languages.javascript=Prism.languages.extend("clike",{"class-name":[Prism.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}|\?\?=?|\?\.?|[~:]/});Prism.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/;Prism.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:Prism.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:Prism.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:Prism.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:Prism.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/});Prism.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:Prism.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"}});Prism.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}});Prism.languages.markup&&(Prism.languages.markup.tag.addInlined("script","javascript"),Prism.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"));Prism.languages.js=Prism.languages.javascript;(function(e){e.languages.typescript=e.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/}),e.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 e.languages.typescript.parameter,delete e.languages.typescript["literal-property"];var t=e.languages.extend("typescript",{});delete t["class-name"],e.languages.typescript["class-name"].inside=t,e.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:t}}}}),e.languages.ts=e.languages.typescript})(Prism);Prism.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]};Prism.languages.markup.tag.inside["attr-value"].inside.entity=Prism.languages.markup.entity;Prism.languages.markup.doctype.inside["internal-subset"].inside=Prism.languages.markup;Prism.hooks.add("wrap",function(e){e.type==="entity"&&(e.attributes.title=e.content.replace(/&/,"&"))});Object.defineProperty(Prism.languages.markup.tag,"addInlined",{value:function(t,n){var r={};r["language-"+n]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:Prism.languages[n]},r.cdata=/^<!\[CDATA\[|\]\]>$/i;var a={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:r}};a["language-"+n]={pattern:/[\s\S]+/,inside:Prism.languages[n]};var l={};l[t]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return t}),"i"),lookbehind:!0,greedy:!0,inside:a},Prism.languages.insertBefore("markup","cdata",l)}});Object.defineProperty(Prism.languages.markup.tag,"addAttribute",{value:function(e,t){Prism.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:Prism.languages[t]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}});Prism.languages.html=Prism.languages.markup;Prism.languages.mathml=Prism.languages.markup;Prism.languages.svg=Prism.languages.markup;Prism.languages.xml=Prism.languages.extend("markup",{});Prism.languages.ssml=Prism.languages.xml;Prism.languages.atom=Prism.languages.xml;Prism.languages.rss=Prism.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 n=e.languages.markup;n&&(n.tag.addInlined("style","css"),n.tag.addAttribute("style","css"))})(Prism);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;(function(e){var t=/[*&][^\s[\]{},]+/,n=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,r="(?:"+n.source+"(?:[ ]+"+t.source+")?|"+t.source+"(?:[ ]+"+n.source+")?)",a=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-]<PLAIN>)(?:[ \t]*(?:(?![#:])<PLAIN>|:<PLAIN>))*/.source.replace(/<PLAIN>/g,function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source}),l=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function i(u,o){o=(o||"").replace(/m/g,"")+"m";var s=/([:\-,[{]\s*(?:\s<<prop>>[ \t]+)?)(?:<<value>>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<<prop>>/g,function(){return r}).replace(/<<value>>/g,function(){return u});return RegExp(s,o)}e.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<<prop>>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<<prop>>/g,function(){return r})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<<prop>>[ \t]+)?)<<key>>(?=\s*:\s)/.source.replace(/<<prop>>/g,function(){return r}).replace(/<<key>>/g,function(){return"(?:"+a+"|"+l+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:i(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:i(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:i(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:i(l),lookbehind:!0,greedy:!0},number:{pattern:i(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:n,important:t,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},e.languages.yml=e.languages.yaml})(Prism);(function(e){var t="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",n={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},r={bash:n,environment:{pattern:RegExp("\\$"+t),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+t),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};e.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?:\.\w+)*(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+t),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},parameter:{pattern:/(^|\s)-{1,2}(?:\w+:[+-]?)?\w+(?:\.\w+)*(?=[=\s]|$)/,alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:r},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:n}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:r},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:r.entity}}],environment:{pattern:RegExp("\\$?"+t),alias:"constant"},variable:r.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cargo|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|java|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|sysctl|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},n.inside=e.languages.bash;for(var a=["comment","function-name","for-or-select","assign-left","parameter","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],l=r.variable[1].inside,i=0;i<a.length;i++)l[a[i]]=e.languages.bash[a[i]];e.languages.sh=e.languages.bash,e.languages.shell=e.languages.bash})(Prism);(function(e){var t=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function n(f){return f=f.replace(/<inner>/g,function(){return t}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+f+")")}var r=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,a=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return r}),l=/\|?[ \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("^"+a+l+"(?:"+a+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+a+l+")(?:"+a+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(r),inside:e.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+a+")"+l+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+a+"$"),inside:{"table-header":{pattern:RegExp(r),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__(?:(?!_)<inner>|_(?:(?!_)<inner>)+_)+__\b|\*\*(?:(?!\*)<inner>|\*(?:(?!\*)<inner>)+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:n(/\b_(?:(?!_)<inner>|__(?:(?!_)<inner>)+__)+_\b|\*(?:(?!\*)<inner>|\*\*(?:(?!\*)<inner>)+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:n(/(~~?)(?:(?!~)<inner>)+\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(/!?\[(?:(?!\])<inner>)+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\])<inner>)+\])/.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(f){["url","bold","italic","strike","code-snippet"].forEach(function(c){f!==c&&(e.languages.markdown[f].inside.content.inside[c]=e.languages.markdown[c])})}),e.hooks.add("after-tokenize",function(f){if(f.language!=="markdown"&&f.language!=="md")return;function c(d){if(!(!d||typeof d=="string"))for(var h=0,E=d.length;h<E;h++){var m=d[h];if(m.type!=="code"){c(m.content);continue}var y=m.content[1],g=m.content[3];if(y&&g&&y.type==="code-language"&&g.type==="code-block"&&typeof y.content=="string"){var p=y.content.replace(/\b#/g,"sharp").replace(/\b\+\+/g,"pp");p=(/[a-z][\w-]*/i.exec(p)||[""])[0].toLowerCase();var v="language-"+p;g.alias?typeof g.alias=="string"?g.alias=[g.alias,v]:g.alias.push(v):g.alias=[v]}}}c(f.tokens)}),e.hooks.add("wrap",function(f){if(f.type==="code-block"){for(var c="",d=0,h=f.classes.length;d<h;d++){var E=f.classes[d],m=/language-(.+)/.exec(E);if(m){c=m[1];break}}var y=e.languages[c];if(y)f.content=e.highlight(s(f.content),y,c);else if(c&&c!=="none"&&e.plugins.autoloader){var g="md-"+new Date().valueOf()+"-"+Math.floor(Math.random()*1e16);f.attributes.id=g,e.plugins.autoloader.loadLanguages(c,function(){var p=document.getElementById(g);p&&(p.innerHTML=e.highlight(p.textContent,e.languages[c],c))})}}});var i=RegExp(e.languages.markup.tag.pattern.source,"gi"),u={amp:"&",lt:"<",gt:">",quot:'"'},o=String.fromCodePoint||String.fromCharCode;function s(f){var c=f.replace(i,"");return c=c.replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,function(d,h){if(h=h.toLowerCase(),h[0]==="#"){var E;return h[1]==="x"?E=parseInt(h.slice(2),16):E=Number(h.slice(1)),o(E)}else{var m=u[h];return m||d}}),c}e.languages.md=e.languages.markdown})(Prism);var ct=q(te());function _C({language:e="",content:t,children:n}){let[r,a]=(0,K0.useState)(!1),l=(t||String(n||"")).trim();if(!l)return(0,ct.jsx)("pre",{children:(0,ct.jsx)("code",{"data-pagefind-ignore":!0})});if(!(e&&e.trim().length>0))return(0,ct.jsx)("pre",{children:(0,ct.jsx)("code",{"data-pagefind-ignore":!0,children:l})});let u=e.toLowerCase(),o=u==="html"?"markup":u==="js"?"javascript":u==="ts"?"typescript":u==="sh"?"bash":u,s=o==="markup"?"HTML":o.charAt(0).toUpperCase()+o.slice(1),f=Yf.default.languages[o],c=f?Yf.default.highlight(l,f,o):l;return(0,ct.jsxs)("div",{className:"code-block-wrapper",children:[(0,ct.jsxs)("div",{className:"code-block-header",children:[(0,ct.jsx)("span",{className:"code-block-language",children:s}),(0,ct.jsx)("button",{className:"code-block-copy",onClick:async()=>{if(!(typeof window>"u"||typeof navigator>"u"))try{await navigator.clipboard.writeText(l),a(!0),setTimeout(()=>a(!1),2e3)}catch(h){console.error("Failed to copy code:",h)}},"aria-label":"Copy code",type:"button",children:r?(0,ct.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,ct.jsx)("path",{d:"M20 6L9 17L4 12",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})}):(0,ct.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,ct.jsx)("path",{d:"M12.7587 2H16.2413C17.0463 1.99999 17.7106 1.99998 18.2518 2.04419C18.8139 2.09012 19.3306 2.18868 19.816 2.43597C20.5686 2.81947 21.1805 3.43139 21.564 4.18404C21.8113 4.66937 21.9099 5.18608 21.9558 5.74817C22 6.28936 22 6.95372 22 7.75868V11.2413C22 12.0463 22 12.7106 21.9558 13.2518C21.9099 13.8139 21.8113 14.3306 21.564 14.816C21.1805 15.5686 20.5686 16.1805 19.816 16.564C19.3306 16.8113 18.8139 16.9099 18.2518 16.9558C17.8906 16.9853 17.4745 16.9951 16.9984 16.9984C16.9951 17.4745 16.9853 17.8906 16.9558 18.2518C16.9099 18.8139 16.8113 19.3306 16.564 19.816C16.1805 20.5686 15.5686 21.1805 14.816 21.564C14.3306 21.8113 13.8139 21.9099 13.2518 21.9558C12.7106 22 12.0463 22 11.2413 22H7.75868C6.95372 22 6.28936 22 5.74818 21.9558C5.18608 21.9099 4.66937 21.8113 4.18404 21.564C3.43139 21.1805 2.81947 20.5686 2.43597 19.816C2.18868 19.3306 2.09012 18.8139 2.04419 18.2518C1.99998 17.7106 1.99999 17.0463 2 16.2413V12.7587C1.99999 11.9537 1.99998 11.2894 2.04419 10.7482C2.09012 10.1861 2.18868 9.66937 2.43597 9.18404C2.81947 8.43139 3.43139 7.81947 4.18404 7.43598C4.66937 7.18868 5.18608 7.09012 5.74817 7.04419C6.10939 7.01468 6.52548 7.00487 7.00162 7.00162C7.00487 6.52548 7.01468 6.10939 7.04419 5.74817C7.09012 5.18608 7.18868 4.66937 7.43598 4.18404C7.81947 3.43139 8.43139 2.81947 9.18404 2.43597C9.66937 2.18868 10.1861 2.09012 10.7482 2.04419C11.2894 1.99998 11.9537 1.99999 12.7587 2ZM9.00176 7L11.2413 7C12.0463 6.99999 12.7106 6.99998 13.2518 7.04419C13.8139 7.09012 14.3306 7.18868 14.816 7.43598C15.5686 7.81947 16.1805 8.43139 16.564 9.18404C16.8113 9.66937 16.9099 10.1861 16.9558 10.7482C17 11.2894 17 11.9537 17 12.7587V14.9982C17.4455 14.9951 17.7954 14.9864 18.089 14.9624C18.5274 14.9266 18.7516 14.8617 18.908 14.782C19.2843 14.5903 19.5903 14.2843 19.782 13.908C19.8617 13.7516 19.9266 13.5274 19.9624 13.089C19.9992 12.6389 20 12.0566 20 11.2V7.8C20 6.94342 19.9992 6.36113 19.9624 5.91104C19.9266 5.47262 19.8617 5.24842 19.782 5.09202C19.5903 4.7157 19.2843 4.40973 18.908 4.21799C18.7516 4.1383 18.5274 4.07337 18.089 4.03755C17.6389 4.00078 17.0566 4 16.2 4H12.8C11.9434 4 11.3611 4.00078 10.911 4.03755C10.4726 4.07337 10.2484 4.1383 10.092 4.21799C9.7157 4.40973 9.40973 4.7157 9.21799 5.09202C9.1383 5.24842 9.07337 5.47262 9.03755 5.91104C9.01357 6.20463 9.00489 6.55447 9.00176 7ZM5.91104 9.03755C5.47262 9.07337 5.24842 9.1383 5.09202 9.21799C4.7157 9.40973 4.40973 9.7157 4.21799 10.092C4.1383 10.2484 4.07337 10.4726 4.03755 10.911C4.00078 11.3611 4 11.9434 4 12.8V16.2C4 17.0566 4.00078 17.6389 4.03755 18.089C4.07337 18.5274 4.1383 18.7516 4.21799 18.908C4.40973 19.2843 4.7157 19.5903 5.09202 19.782C5.24842 19.8617 5.47262 19.9266 5.91104 19.9624C6.36113 19.9992 6.94342 20 7.8 20H11.2C12.0566 20 12.6389 19.9992 13.089 19.9624C13.5274 19.9266 13.7516 19.8617 13.908 19.782C14.2843 19.5903 14.5903 19.2843 14.782 18.908C14.8617 18.7516 14.9266 18.5274 14.9624 18.089C14.9992 17.6389 15 17.0566 15 16.2V12.8C15 11.9434 14.9992 11.3611 14.9624 10.911C14.9266 10.4726 14.8617 10.2484 14.782 10.092C14.5903 9.7157 14.2843 9.40973 13.908 9.21799C13.7516 9.1383 13.5274 9.07337 13.089 9.03755C12.6389 9.00078 12.0566 9 11.2 9H7.8C6.94342 9 6.36113 9.00078 5.91104 9.03755Z",fill:"currentColor"})})})]}),(0,ct.jsx)("pre",{className:`language-${o}`,children:(0,ct.jsx)("code",{className:`language-${o}`,"data-pagefind-ignore":!0,dangerouslySetInnerHTML:{__html:c}})})]})}var W0=_C;var ev=q(de()),Kr=q(te());function SC({level:e,id:t,children:n,...r}){let[a,l]=(0,ev.useState)(!1),i=`h${e}`,u=async o=>{if(!t)return;let s=`${window.location.origin}${window.location.pathname}#${t}`;try{await navigator.clipboard.writeText(s),l(!0),setTimeout(()=>l(!1),2e3)}catch(f){console.error("Failed to copy link:",f)}};return(0,Kr.jsxs)(i,{id:t,className:"heading-with-anchor",...r,children:[n,t&&(0,Kr.jsxs)("a",{href:`#${t}`,className:"heading-anchor-link",onClick:u,"aria-label":"Link to this heading",title:"Copy link to heading",children:[(0,Kr.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:(0,Kr.jsx)("path",{d:"M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z",fill:"currentColor"})}),a&&(0,Kr.jsx)("span",{className:"heading-copied-tooltip",children:"Copied!"})]})]})}var xr=SC;var nv=q(te());function tv({src:e,alt:t,...n}){return(0,nv.jsx)("img",{...n,src:e,alt:t||"",loading:"lazy",onClick:a=>{let l=document.createElement("div");l.className="image-modal",l.onclick=()=>l.remove();let i=document.createElement("button");i.className="image-modal-close",i.innerHTML="\xD7",i.onclick=()=>l.remove();let u=document.createElement("img");u.src=e,u.alt=t||"",u.onclick=o=>o.stopPropagation(),l.appendChild(i),l.appendChild(u),document.body.appendChild(l)}})}var He=q(te());function CC({title:e,href:t,icon:n,children:r}){let a=()=>(0,He.jsxs)("svg",{className:"card-arrow",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:[(0,He.jsx)("path",{d:"M5 12h14"}),(0,He.jsx)("path",{d:"m12 5 7 7-7 7"})]}),l=(0,He.jsxs)(He.Fragment,{children:[n&&(0,He.jsxs)("div",{className:"card-icon",children:[(0,He.jsx)("img",{src:n,alt:"",className:"card-icon-img",loading:"lazy"}),(0,He.jsxs)("div",{className:"card-content",children:[(0,He.jsxs)("h3",{className:"card-title",children:[(0,He.jsx)("span",{children:e}),t&&(0,He.jsx)(a,{})]}),(0,He.jsx)("div",{className:"card-description",children:r})]})]}),!n&&(0,He.jsxs)("div",{className:"card-content",children:[(0,He.jsxs)("h3",{className:"card-title",children:[(0,He.jsx)("span",{children:e}),t&&(0,He.jsx)(a,{})]}),(0,He.jsx)("div",{className:"card-description",children:r})]})]});if(t){let i=t.startsWith("http://")||t.startsWith("https://");return(0,He.jsx)("a",{href:t,className:"card card-link",target:i?"_blank":void 0,rel:i?"noopener noreferrer":void 0,children:l})}return(0,He.jsx)("div",{className:"card",children:l})}var rv=CC;var lv=q(te());function wC({cols:e=2,children:t}){return(0,lv.jsx)("div",{className:"card-grid","data-cols":e,children:t})}var av=wC;var qe=q(te());function xC({type:e,title:t,children:n}){let r=()=>(0,qe.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"callout-icon",children:[(0,qe.jsx)("circle",{cx:"12",cy:"12",r:"10"}),(0,qe.jsx)("path",{d:"M12 16v-4"}),(0,qe.jsx)("path",{d:"M12 8h.01"})]}),a=()=>(0,qe.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"callout-icon",children:[(0,qe.jsx)("path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3"}),(0,qe.jsx)("path",{d:"M12 9v4"}),(0,qe.jsx)("path",{d:"M12 17h.01"})]}),l=()=>(0,qe.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"callout-icon",children:[(0,qe.jsx)("circle",{cx:"12",cy:"12",r:"10"}),(0,qe.jsx)("path",{d:"m15 9-6 6"}),(0,qe.jsx)("path",{d:"m9 9 6 6"})]}),i=()=>{switch(e){case"warning":return(0,qe.jsx)(a,{});case"danger":return(0,qe.jsx)(l,{});case"note":default:return(0,qe.jsx)(r,{})}},u=`callout callout-${e}`;return(0,qe.jsx)("div",{className:u,children:(0,qe.jsxs)("div",{style:{display:"flex",gap:"12px"},children:[i(),(0,qe.jsxs)("div",{style:{flex:1},children:[t&&(0,qe.jsx)("div",{className:"callout-title",children:t}),(0,qe.jsx)("div",{className:"callout-body",children:n})]})]})})}var iv=xC;var mt=q(te());function RC({content:e,components:t={}}){let n=Xe.renderers.react(e,uv.default,{components:{...DC(),...t}});return(0,mt.jsx)(mt.Fragment,{children:n})}function DC(){return{h1:e=>(0,mt.jsx)(xr,{level:1,...e}),h2:e=>(0,mt.jsx)(xr,{level:2,...e}),h3:e=>(0,mt.jsx)(xr,{level:3,...e}),h4:e=>(0,mt.jsx)(xr,{level:4,...e}),h5:e=>(0,mt.jsx)(xr,{level:5,...e}),h6:e=>(0,mt.jsx)(xr,{level:6,...e}),a:e=>{let{href:t,children:n,...r}=e,a=t?.startsWith("http://")||t?.startsWith("https://");return(0,mt.jsx)("a",{href:t,target:a?"_blank":void 0,rel:a?"noopener noreferrer":void 0,...r,children:n})},code:e=>(0,mt.jsx)("code",{className:"inline-code",...e}),table:e=>(0,mt.jsx)("div",{className:"table-wrapper",children:(0,mt.jsx)("table",{...e})}),blockquote:e=>(0,mt.jsx)("blockquote",{className:"callout",...e}),Heading:xr,CodeBlock:W0,Image:tv,Card:rv,CardGrid:av,Callout:iv}}var ov=RC;var Zn=q(de()),Wr=q(te());function kC({toc:e}){let[t,n]=(0,Zn.useState)(""),[r,a]=(0,Zn.useState)(!1),l=(0,Zn.useRef)(null);(0,Zn.useEffect)(()=>{let c=window.location.hash;if(c){let d=c.slice(1),h=document.getElementById(d);h&&setTimeout(()=>{a(!0),n(d),i(h),u()},100)}},[]),(0,Zn.useEffect)(()=>{let c=new IntersectionObserver(h=>{r||h.forEach(E=>{E.isIntersecting&&n(E.target.id)})},{rootMargin:"-80px 0px -80% 0px"}),d=document.querySelectorAll("h1[id], h2[id], h3[id], h4[id], h5[id], h6[id]");return d.forEach(h=>c.observe(h)),()=>{d.forEach(h=>c.unobserve(h))}},[e,r]);let i=c=>{let d=document.querySelector(".layout-main"),h=100;if(d){let E=d.getBoundingClientRect().top,m=c.getBoundingClientRect().top,y=d.scrollTop+(m-E)-h;d.scrollTo({top:y,behavior:"smooth"})}else{let m=c.getBoundingClientRect().top+window.pageYOffset-h;window.scrollTo({top:m,behavior:"smooth"})}},u=()=>{let c=document.querySelector(".layout-main"),d=()=>{l.current&&clearTimeout(l.current),l.current=setTimeout(()=>{a(!1),c?c.removeEventListener("scroll",d):window.removeEventListener("scroll",d)},150)};c?c.addEventListener("scroll",d):window.addEventListener("scroll",d)},o=c=>{let d=document.getElementById(c);d&&(a(!0),n(c),i(d),window.history.pushState(null,"",`#${c}`),u())};(0,Zn.useEffect)(()=>{let c=()=>{let d=window.location.hash;if(d){let h=d.slice(1);o(h)}};return window.addEventListener("hashchange",c),()=>{window.removeEventListener("hashchange",c),l.current&&clearTimeout(l.current)}},[]);let f=(c=>{let d=[],h=E=>{E.forEach(m=>{d.push(m),m.children&&m.children.length>0&&h(m.children)})};return h(c),d})(e);return(0,Wr.jsxs)("nav",{className:"toc",children:[(0,Wr.jsx)("p",{className:"toc-title",children:"On this page"}),(0,Wr.jsx)("ul",{className:"toc-list",children:f.map(c=>(0,Wr.jsx)("li",{children:(0,Wr.jsx)("button",{className:`toc-link ${c.id===t?"active":""}`,"data-level":c.level,onClick:()=>o(c.id),children:c.text})},c.id))})]})}var sv=kC;var nn=q(te());function TC(){let{navigationContext:e}=Cr();if(!e||!e.pageNavigation)return null;let{prev:t,next:n}=e.pageNavigation;return!t&&!n?null:(0,nn.jsx)("nav",{className:"page-navigation","aria-label":"Page navigation",children:(0,nn.jsxs)("div",{className:"page-nav-container",children:[t?(0,nn.jsxs)(sn,{to:t.path,className:"page-nav-link page-nav-prev",children:[(0,nn.jsx)("span",{className:"page-nav-direction",children:"\u2190 Previous"}),(0,nn.jsx)("span",{className:"page-nav-label",children:t.label})]}):(0,nn.jsx)("div",{className:"page-nav-spacer"}),n?(0,nn.jsxs)(sn,{to:n.path,className:"page-nav-link page-nav-next",children:[(0,nn.jsx)("span",{className:"page-nav-direction",children:"Next \u2192"}),(0,nn.jsx)("span",{className:"page-nav-label",children:n.label})]}):(0,nn.jsx)("div",{className:"page-nav-spacer"})]})})}var cv=TC;var ue=q(te());function NC(){let{currentContent:e,isLoading:t,error:n}=Cr(),{config:r}=Sr();if(t)return(0,ue.jsx)("div",{className:"content-page",children:(0,ue.jsx)("div",{className:"content-loading",children:(0,ue.jsx)("p",{children:"Loading..."})})});if(n)return(0,ue.jsx)("div",{className:"content-page",children:(0,ue.jsxs)("div",{className:"content-error",children:[(0,ue.jsx)("h1",{children:"Error"}),(0,ue.jsx)("p",{children:n.message})]})});if(!e)return(0,ue.jsx)("div",{className:"content-page",children:(0,ue.jsxs)("div",{className:"content-empty",children:[(0,ue.jsx)("h1",{children:"Page Not Found"}),(0,ue.jsx)("p",{children:"The page you're looking for doesn't exist."})]})});let{metadata:a,renderable:l}=e,{frontmatter:i,toc:u,wordCount:o,readingTime:s}=a;return(0,ue.jsx)("div",{className:"content-page",children:(0,ue.jsxs)("div",{className:"content-wrapper",children:[(0,ue.jsxs)("article",{className:"content-article",children:[(0,ue.jsxs)("div",{"data-pagefind-body":!0,children:[(0,ue.jsxs)("header",{className:"content-header",children:[(0,ue.jsx)("h1",{className:"content-title","data-pagefind-weight":"10",children:i.title}),i.description&&(0,ue.jsx)("p",{className:"content-description",children:i.description}),(0,ue.jsxs)("div",{className:"content-meta","data-pagefind-ignore":!0,children:[s>0&&(0,ue.jsxs)("span",{className:"content-meta-item",children:[s," min read"]}),i.author&&(0,ue.jsxs)("span",{className:"content-meta-item",children:["By ",i.author]}),i.date&&(0,ue.jsx)("span",{className:"content-meta-item",children:new Date(i.date).toLocaleDateString()})]}),i.tags&&i.tags.length>0&&(0,ue.jsx)("div",{className:"content-tags",children:i.tags.map((f,c)=>(0,ue.jsx)("span",{className:"content-tag",children:f},c))})]}),(0,ue.jsx)("div",{className:"content-body",children:(0,ue.jsx)(ov,{content:l})})]}),(0,ue.jsxs)("footer",{className:"content-footer",children:[(0,ue.jsx)(cv,{}),(0,ue.jsxs)("div",{className:"content-footer-info",children:[(0,ue.jsxs)("p",{className:"content-footer-text",children:["\xA9 ",new Date().getFullYear()," ",r.metadata.title]}),(0,ue.jsxs)("p",{className:"content-footer-powered",children:["Powered by ",(0,ue.jsx)("a",{href:"https://github.com/yourusername/mordoc",target:"_blank",rel:"noopener noreferrer",children:"Mordoc"})]})]})]})]}),u&&u.length>0&&(0,ue.jsx)("aside",{className:"content-toc",children:(0,ue.jsx)(sv,{toc:u})})]})})}var fv=NC;var ea=q(de());var Wa=q(de());function dv(){let e=Zu(),t=st(),{fetchContent:n,prefetchContent:r}=Ku(),{setIsLoading:a,setError:l}=Cr(),i=(0,Wa.useCallback)(async c=>{if(t.pathname!==c){a(!0),l(null);try{if(await n(c)){let h=c==="/"?"/":c.replace(/\/$/,"");e(h),window.scrollTo(0,0)}}catch(d){l(d),a(!1)}}},[t.pathname,e,n,a,l]),u=(0,Wa.useCallback)((c,d)=>{let h=d.startsWith("http://")||d.startsWith("https://"),E=d.startsWith("#");h||E||(c.preventDefault(),i(d))},[i]),o=(0,Wa.useCallback)(c=>{let d=c.startsWith("http://")||c.startsWith("https://"),h=c.startsWith("#");!d&&!h&&r(c)},[r]),s=(0,Wa.useCallback)(()=>{let c=t.pathname.split("/").filter(Boolean);return c.length>0&&/^[a-z]{2,3}$/i.test(c[0])?c[0]:"en"},[t.pathname]),f=(0,Wa.useCallback)((c,d,h="en")=>d===h?c==="index"||c===""?"/":`/${c}`:c==="index"||c===""?`/${d}`:`/${d}/${c}`,[]);return{navigateToPath:i,handleLinkClick:u,handleLinkHover:o,getCurrentLanguage:s,buildLanguagePath:f,currentPath:t.pathname}}var Be=q(te());function MC(){let{isOpen:e,closeSearch:t,query:n,setQuery:r,results:a,isSearching:l,debouncedSearch:i}=Wu(),{navigateToPath:u}=dv(),o=(0,ea.useRef)(null),[s,f]=(0,ea.useState)(0);(0,ea.useEffect)(()=>{e&&o.current&&(o.current.focus(),f(0))},[e]),(0,ea.useEffect)(()=>{f(0)},[a]);let c=m=>{let y=m.target.value;r(y),i(y)},d=m=>{t(),u(m)},h=m=>{m.target===m.currentTarget&&t()},E=m=>{if(a.length!==0)switch(m.key){case"ArrowDown":m.preventDefault(),f(y=>(y+1)%a.length);break;case"ArrowUp":m.preventDefault(),f(y=>(y-1+a.length)%a.length);break;case"Enter":m.preventDefault(),a[s]&&d(a[s].url);break}};return e?(0,Be.jsx)("div",{className:"search-modal-backdrop",onClick:h,children:(0,Be.jsxs)("div",{className:"search-modal",onKeyDown:E,children:[(0,Be.jsxs)("div",{className:"search-input-container",children:[(0,Be.jsxs)("svg",{className:"search-input-icon",xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,Be.jsx)("circle",{cx:"11",cy:"11",r:"8"}),(0,Be.jsx)("path",{d:"m21 21-4.3-4.3"})]}),(0,Be.jsx)("input",{ref:o,type:"text",className:"search-input",placeholder:"Search documentation...",value:n,onChange:c,"aria-label":"Search"})]}),(0,Be.jsx)("div",{className:"search-results",children:l?(0,Be.jsx)("div",{className:"search-loading",children:(0,Be.jsx)("p",{children:"Searching..."})}):n.trim()===""?(0,Be.jsx)("div",{className:"search-empty",children:(0,Be.jsx)("p",{className:"search-empty-text",children:"Start typing to search"})}):a.length===0?(0,Be.jsxs)("div",{className:"search-no-results",children:[(0,Be.jsxs)("p",{children:['No results found for "',n,'"']}),(0,Be.jsx)("p",{className:"search-help-text",children:"Try different keywords or check your spelling"})]}):(0,Be.jsx)("ul",{className:"search-results-list",children:a.map((m,y)=>(0,Be.jsx)("li",{className:"search-result-item",children:(0,Be.jsxs)("button",{className:`search-result-link ${y===s?"selected":""}`,onClick:()=>d(m.url),onMouseEnter:()=>f(y),children:[(0,Be.jsx)("div",{className:"search-result-title",children:m.title}),(0,Be.jsx)("div",{className:"search-result-excerpt",dangerouslySetInnerHTML:{__html:m.excerpt}}),(0,Be.jsx)("div",{className:"search-result-url",children:m.url})]})},m.id))})})]})}):null}var hv=MC;var gt=q(te());function OC({siteConfig:e,initialContent:t,isServerRender:n=!1}){return(0,gt.jsx)(P2,{config:e,children:(0,gt.jsx)(n0,{children:(0,gt.jsx)(Q2,{initialContent:t,children:(0,gt.jsx)(K2,{children:(0,gt.jsx)(FC,{isServerRender:n})})})})})}function FC({isServerRender:e}){let t=st(),{fetchContent:n}=Ku(),r=si.default.useRef(!1);return(0,si.useEffect)(()=>{if(!window.location.hash){let a=document.querySelector(".layout-main");a?a.scrollTo(0,0):window.scrollTo(0,0)}},[t.pathname]),(0,si.useEffect)(()=>{if(!e){if(!r.current){r.current=!0;return}n(t.pathname)}},[t.pathname,n,e]),(0,gt.jsxs)(gt.Fragment,{children:[(0,gt.jsx)(f0,{children:(0,gt.jsx)(Ef,{children:(0,gt.jsx)(Xu,{path:"*",element:(0,gt.jsx)(fv,{})})})}),!e&&(0,gt.jsx)(hv,{})]})}var pv=OC;var yo=q(te());function zC(){let e=null,t=null,n=document.getElementById("__SITE_CONFIG__");if(n&&n.textContent)try{e=JSON.parse(n.textContent)}catch(a){console.error("Failed to parse site config:",a)}let r=document.getElementById("__CONTENT_DATA__");if(r&&r.textContent)try{t=JSON.parse(r.textContent)}catch(a){console.error("Failed to parse content data:",a)}return{siteConfig:e,initialContent:t}}function mv(){let{siteConfig:e,initialContent:t}=zC();if(!e){console.error("Site config not found - cannot initialize app");return}let n=document.getElementById("root");if(!n){console.error("Root element not found");return}(0,vv.hydrateRoot)(n,(0,yo.jsx)(gv.default.StrictMode,{children:(0,yo.jsx)(Cf,{children:(0,yo.jsx)(pv,{siteConfig:e,initialContent:t,isServerRender:!1})})}))}document.readyState==="loading"?document.addEventListener("DOMContentLoaded",mv):mv();})();
|
|
44
|
+
`).length,o=e.push("comment","",0);return o.content=i.trim(),o.map=[t,t+u],e.line+=u,!0}function hC(e,t){if(!e.src.startsWith(so,e.pos))return!1;let n=e.src.indexOf(zf,e.pos);if(n===-1)return!1;if(t)return!0;let r=e.src.slice(e.pos+so.length,n),a=e.push("comment","",0);return a.content=r.trim(),e.pos=n+zf.length,!0}function pC(e){e.block.ruler.before("table","comment",dC,{alt:["paragraph"]}),e.inline.ruler.push("comment",hC)}var G0=class{constructor(e={}){this.parser=new aC.default(e),this.parser.use(oC,"annotations",{}),this.parser.use(fC,"frontmatter",{}),this.parser.disable(["lheading","code"]),e.allowComments&&this.parser.use(pC,"comments",{})}tokenize(e){return this.parser.parse(e.toString(),{})}},mC={String,Number,Array,Object,Boolean};function Gf(e,t,n,r){if(!e)return!0;if(kt.isFunction(t)&&n.validation?.validateFunctions){let a=n.functions?.[t.name];return a?.returns?Array.isArray(a.returns)?a.returns.find(l=>l===e)!==void 0:a.returns===e:!0}if(kt.isAst(t))return!0;if(Array.isArray(e))return e.some(a=>Gf(a,t,n,r));if(typeof e=="string"&&(e=mC[e]),typeof e=="function"){let a=new e;if(a.validate)return a.validate(t,n,r)}return t!=null&&t.constructor===e}function Vf(e){return typeof e=="string"?e:Array.isArray(e)?e.map(Vf).join(" | "):e.name}function gC(e,t){let n=t.functions?.[e.name],r=[];if(!n)return[{id:"function-undefined",level:"critical",message:`Undefined function: '${e.name}'`}];if(n.validate&&r.push(...n.validate(e,t)),n.parameters)for(let[a,l]of Object.entries(e.parameters)){let i=n.parameters?.[a];if(!i){r.push({id:"parameter-undefined",level:"error",message:`Invalid parameter: '${a}'`});continue}if(!(kt.isAst(l)&&!kt.isFunction(l))&&i.type){let u=Gf(i.type,l,t,a);u===!1?r.push({id:"parameter-type-invalid",level:"error",message:`Parameter '${a}' of '${e.name}' must be type of '${Vf(i.type)}'`}):Array.isArray(u)&&r.push(...u)}}for(let[a,{required:l}]of Object.entries(n.parameters??{}))l&&e.parameters[a]===void 0&&r.push({id:"parameter-missing-required",level:"error",message:`Missing required parameter: '${a}'`});return r}function vC(e,t){return e.length<=t?JSON.stringify(e):`[${e.slice(0,t).map(r=>JSON.stringify(r)).join(",")}, ... ${e.length-t} more]`}function V0(e,t){let n=e.findSchema(t),r=[...e.errors||[]];if(!n)return r.push({id:e.tag?"tag-undefined":"node-undefined",level:"critical",message:e.tag?`Undefined tag: '${e.tag}'`:`Undefined node: '${e.type}'`}),r;n.inline!=null&&e.inline!==n.inline&&r.push({id:"tag-placement-invalid",level:"critical",message:`'${e.tag}' tag should be ${n.inline?"inline":"block"}`}),n.selfClosing&&e.children.length>0&&r.push({id:"tag-selfclosing-has-children",level:"critical",message:`'${e.tag}' tag should be self-closing`});let a={...qf,...n.attributes};for(let l of Object.keys(e.slots))n.slots?.[l]||r.push({id:"slot-undefined",level:"error",message:`Invalid slot: '${l}'`});for(let[l,i]of Object.entries(e.attributes)){let u=a[l];if(!u){r.push({id:"attribute-undefined",level:"error",message:`Invalid attribute: '${l}'`});continue}let{type:o,matches:s,errorLevel:f}=u;if(kt.isAst(i))if(kt.isFunction(i)&&t.validation?.validateFunctions)r.push(...gC(i,t));else if(kt.isVariable(i)&&t.variables){let c=!1,d=t.variables;for(let h of i.path){if(!Object.prototype.hasOwnProperty.call(d,h)){c=!0;break}d=d[h]}c&&r.push({id:"variable-undefined",level:"error",message:`Undefined variable: '${i.path.join(".")}'`})}else continue;if(i=i,o){let c=Gf(o,i,t,l);c===!1&&r.push({id:"attribute-type-invalid",level:f||"error",message:`Attribute '${l}' must be type of '${Vf(o)}'`}),Array.isArray(c)&&r.push(...c)}if(typeof s=="function"&&(s=s(t)),Array.isArray(s)&&!s.includes(i)&&r.push({id:"attribute-value-invalid",level:f||"error",message:`Attribute '${l}' must match one of ${vC(s,8)}. Got '${i}' instead.`}),s instanceof RegExp&&!s.test(i)&&r.push({id:"attribute-value-invalid",level:f||"error",message:`Attribute '${l}' must match ${s}. Got '${i}' instead.`}),typeof u.validate=="function"){let c=u.validate(i,t,l);Array.isArray(c)&&r.push(...c)}}for(let[l,{required:i}]of Object.entries(a))i&&e.attributes[l]===void 0&&r.push({id:"attribute-missing-required",level:"error",message:`Missing required attribute: '${l}'`});if(n.slots)for(let[l,{required:i}]of Object.entries(n.slots))i&&e.slots[l]===void 0&&r.push({id:"slot-missing-required",level:"error",message:`Missing required slot: '${l}'`});for(let{type:l}of e.children)n.children&&l!=="error"&&!n.children.includes(l)&&r.push({id:"child-invalid",level:"warning",message:`Can't nest '${l}' in '${e.tag||e.type}'`});if(n.validate){let l=n.validate(e,t);if(Jr(l))return l.then(i=>r.concat(i));r.push(...l)}return r}function*Y0(e,t=[]){yield[e,t];for(let n of[...Object.values(e.slots),...e.children])yield*Y0(n,[...t,e])}function yC(e,t){let n=[...Y0(e)].map(([r,a])=>{let{type:l,lines:i,location:u}=r,o={...t,validation:{...t.validation,parents:a}},s=V0(r,o);return Jr(s)?s.then(f=>f.map(c=>({type:l,lines:i,location:u,error:c}))):s.map(f=>({type:l,lines:i,location:u,error:f}))});return n.some(Jr)?Promise.all(n).then(r=>r.flat()):n.flat()}var bC=new G0;function P0(e={}){return{...e,tags:{...H0,...e.tags},nodes:{...jf,...e.nodes},functions:{...B0,...e.functions}}}function Z0(e,t){return typeof e=="string"&&(e=bC.tokenize(e)),bS(e,t)}function X0(e,t){return Array.isArray(e)?e.flatMap(n=>n.resolve(t)):e.resolve(t)}function Q0(e,t){let n=P0(t),r=X0(e,n);return Array.isArray(r)?r.flatMap(a=>a.transform(n)):r.transform(n)}function I0(e,t){let n=P0(t);return yC(e,n)}function AC(e,t={},...n){return{name:e,attributes:t,children:n}}var Xe=class{constructor(e){this.parse=Z0,this.resolve=t=>X0(t,this.config),this.transform=t=>Q0(t,this.config),this.validate=t=>I0(t,this.config),this.config=e}};Xe.nodes=jf;Xe.tags=H0;Xe.functions=B0;Xe.globalAttributes=qf;Xe.renderers=WS;Xe.transforms=L0;Xe.Ast=kt;Xe.Tag=cn;Xe.Tokenizer=G0;Xe.parseTags=O0;Xe.transformer=ii;Xe.validator=V0;Xe.parse=Z0;Xe.transform=Q0;Xe.validate=I0;Xe.createElement=AC;Xe.truthy=oi;Xe.format=uo;var K0=q(de()),Yf=q(J0());Prism.languages.javascript=Prism.languages.extend("clike",{"class-name":[Prism.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}|\?\?=?|\?\.?|[~:]/});Prism.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/;Prism.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:Prism.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:Prism.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:Prism.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:Prism.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/});Prism.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:Prism.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"}});Prism.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}});Prism.languages.markup&&(Prism.languages.markup.tag.addInlined("script","javascript"),Prism.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"));Prism.languages.js=Prism.languages.javascript;(function(e){e.languages.typescript=e.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/}),e.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 e.languages.typescript.parameter,delete e.languages.typescript["literal-property"];var t=e.languages.extend("typescript",{});delete t["class-name"],e.languages.typescript["class-name"].inside=t,e.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:t}}}}),e.languages.ts=e.languages.typescript})(Prism);Prism.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]};Prism.languages.markup.tag.inside["attr-value"].inside.entity=Prism.languages.markup.entity;Prism.languages.markup.doctype.inside["internal-subset"].inside=Prism.languages.markup;Prism.hooks.add("wrap",function(e){e.type==="entity"&&(e.attributes.title=e.content.replace(/&/,"&"))});Object.defineProperty(Prism.languages.markup.tag,"addInlined",{value:function(t,n){var r={};r["language-"+n]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:Prism.languages[n]},r.cdata=/^<!\[CDATA\[|\]\]>$/i;var a={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:r}};a["language-"+n]={pattern:/[\s\S]+/,inside:Prism.languages[n]};var l={};l[t]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return t}),"i"),lookbehind:!0,greedy:!0,inside:a},Prism.languages.insertBefore("markup","cdata",l)}});Object.defineProperty(Prism.languages.markup.tag,"addAttribute",{value:function(e,t){Prism.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:Prism.languages[t]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}});Prism.languages.html=Prism.languages.markup;Prism.languages.mathml=Prism.languages.markup;Prism.languages.svg=Prism.languages.markup;Prism.languages.xml=Prism.languages.extend("markup",{});Prism.languages.ssml=Prism.languages.xml;Prism.languages.atom=Prism.languages.xml;Prism.languages.rss=Prism.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 n=e.languages.markup;n&&(n.tag.addInlined("style","css"),n.tag.addAttribute("style","css"))})(Prism);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;(function(e){var t=/[*&][^\s[\]{},]+/,n=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,r="(?:"+n.source+"(?:[ ]+"+t.source+")?|"+t.source+"(?:[ ]+"+n.source+")?)",a=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-]<PLAIN>)(?:[ \t]*(?:(?![#:])<PLAIN>|:<PLAIN>))*/.source.replace(/<PLAIN>/g,function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source}),l=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function i(u,o){o=(o||"").replace(/m/g,"")+"m";var s=/([:\-,[{]\s*(?:\s<<prop>>[ \t]+)?)(?:<<value>>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<<prop>>/g,function(){return r}).replace(/<<value>>/g,function(){return u});return RegExp(s,o)}e.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<<prop>>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<<prop>>/g,function(){return r})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<<prop>>[ \t]+)?)<<key>>(?=\s*:\s)/.source.replace(/<<prop>>/g,function(){return r}).replace(/<<key>>/g,function(){return"(?:"+a+"|"+l+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:i(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:i(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:i(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:i(l),lookbehind:!0,greedy:!0},number:{pattern:i(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:n,important:t,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},e.languages.yml=e.languages.yaml})(Prism);(function(e){var t="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",n={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},r={bash:n,environment:{pattern:RegExp("\\$"+t),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+t),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};e.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?:\.\w+)*(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+t),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},parameter:{pattern:/(^|\s)-{1,2}(?:\w+:[+-]?)?\w+(?:\.\w+)*(?=[=\s]|$)/,alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:r},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:n}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:r},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:r.entity}}],environment:{pattern:RegExp("\\$?"+t),alias:"constant"},variable:r.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cargo|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|java|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|sysctl|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},n.inside=e.languages.bash;for(var a=["comment","function-name","for-or-select","assign-left","parameter","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],l=r.variable[1].inside,i=0;i<a.length;i++)l[a[i]]=e.languages.bash[a[i]];e.languages.sh=e.languages.bash,e.languages.shell=e.languages.bash})(Prism);(function(e){var t=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function n(f){return f=f.replace(/<inner>/g,function(){return t}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+f+")")}var r=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,a=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return r}),l=/\|?[ \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("^"+a+l+"(?:"+a+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+a+l+")(?:"+a+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(r),inside:e.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+a+")"+l+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+a+"$"),inside:{"table-header":{pattern:RegExp(r),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__(?:(?!_)<inner>|_(?:(?!_)<inner>)+_)+__\b|\*\*(?:(?!\*)<inner>|\*(?:(?!\*)<inner>)+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:n(/\b_(?:(?!_)<inner>|__(?:(?!_)<inner>)+__)+_\b|\*(?:(?!\*)<inner>|\*\*(?:(?!\*)<inner>)+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:n(/(~~?)(?:(?!~)<inner>)+\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(/!?\[(?:(?!\])<inner>)+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\])<inner>)+\])/.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(f){["url","bold","italic","strike","code-snippet"].forEach(function(c){f!==c&&(e.languages.markdown[f].inside.content.inside[c]=e.languages.markdown[c])})}),e.hooks.add("after-tokenize",function(f){if(f.language!=="markdown"&&f.language!=="md")return;function c(d){if(!(!d||typeof d=="string"))for(var h=0,E=d.length;h<E;h++){var m=d[h];if(m.type!=="code"){c(m.content);continue}var y=m.content[1],g=m.content[3];if(y&&g&&y.type==="code-language"&&g.type==="code-block"&&typeof y.content=="string"){var p=y.content.replace(/\b#/g,"sharp").replace(/\b\+\+/g,"pp");p=(/[a-z][\w-]*/i.exec(p)||[""])[0].toLowerCase();var v="language-"+p;g.alias?typeof g.alias=="string"?g.alias=[g.alias,v]:g.alias.push(v):g.alias=[v]}}}c(f.tokens)}),e.hooks.add("wrap",function(f){if(f.type==="code-block"){for(var c="",d=0,h=f.classes.length;d<h;d++){var E=f.classes[d],m=/language-(.+)/.exec(E);if(m){c=m[1];break}}var y=e.languages[c];if(y)f.content=e.highlight(s(f.content),y,c);else if(c&&c!=="none"&&e.plugins.autoloader){var g="md-"+new Date().valueOf()+"-"+Math.floor(Math.random()*1e16);f.attributes.id=g,e.plugins.autoloader.loadLanguages(c,function(){var p=document.getElementById(g);p&&(p.innerHTML=e.highlight(p.textContent,e.languages[c],c))})}}});var i=RegExp(e.languages.markup.tag.pattern.source,"gi"),u={amp:"&",lt:"<",gt:">",quot:'"'},o=String.fromCodePoint||String.fromCharCode;function s(f){var c=f.replace(i,"");return c=c.replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,function(d,h){if(h=h.toLowerCase(),h[0]==="#"){var E;return h[1]==="x"?E=parseInt(h.slice(2),16):E=Number(h.slice(1)),o(E)}else{var m=u[h];return m||d}}),c}e.languages.md=e.languages.markdown})(Prism);var ct=q(te());function _C({language:e="",content:t,children:n}){let[r,a]=(0,K0.useState)(!1),l=(t||String(n||"")).trim();if(!l)return(0,ct.jsx)("pre",{children:(0,ct.jsx)("code",{"data-pagefind-ignore":!0})});if(!(e&&e.trim().length>0))return(0,ct.jsx)("pre",{children:(0,ct.jsx)("code",{"data-pagefind-ignore":!0,children:l})});let u=e.toLowerCase(),o=u==="html"?"markup":u==="js"?"javascript":u==="ts"?"typescript":u==="sh"?"bash":u,s=o==="markup"?"HTML":o.charAt(0).toUpperCase()+o.slice(1),f=Yf.default.languages[o],c=f?Yf.default.highlight(l,f,o):l;return(0,ct.jsxs)("div",{className:"code-block-wrapper",children:[(0,ct.jsxs)("div",{className:"code-block-header",children:[(0,ct.jsx)("span",{className:"code-block-language",children:s}),(0,ct.jsx)("button",{className:"code-block-copy",onClick:async()=>{if(!(typeof window>"u"||typeof navigator>"u"))try{await navigator.clipboard.writeText(l),a(!0),setTimeout(()=>a(!1),2e3)}catch(h){console.error("Failed to copy code:",h)}},"aria-label":"Copy code",type:"button",children:r?(0,ct.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,ct.jsx)("path",{d:"M20 6L9 17L4 12",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})}):(0,ct.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,ct.jsx)("path",{d:"M12.7587 2H16.2413C17.0463 1.99999 17.7106 1.99998 18.2518 2.04419C18.8139 2.09012 19.3306 2.18868 19.816 2.43597C20.5686 2.81947 21.1805 3.43139 21.564 4.18404C21.8113 4.66937 21.9099 5.18608 21.9558 5.74817C22 6.28936 22 6.95372 22 7.75868V11.2413C22 12.0463 22 12.7106 21.9558 13.2518C21.9099 13.8139 21.8113 14.3306 21.564 14.816C21.1805 15.5686 20.5686 16.1805 19.816 16.564C19.3306 16.8113 18.8139 16.9099 18.2518 16.9558C17.8906 16.9853 17.4745 16.9951 16.9984 16.9984C16.9951 17.4745 16.9853 17.8906 16.9558 18.2518C16.9099 18.8139 16.8113 19.3306 16.564 19.816C16.1805 20.5686 15.5686 21.1805 14.816 21.564C14.3306 21.8113 13.8139 21.9099 13.2518 21.9558C12.7106 22 12.0463 22 11.2413 22H7.75868C6.95372 22 6.28936 22 5.74818 21.9558C5.18608 21.9099 4.66937 21.8113 4.18404 21.564C3.43139 21.1805 2.81947 20.5686 2.43597 19.816C2.18868 19.3306 2.09012 18.8139 2.04419 18.2518C1.99998 17.7106 1.99999 17.0463 2 16.2413V12.7587C1.99999 11.9537 1.99998 11.2894 2.04419 10.7482C2.09012 10.1861 2.18868 9.66937 2.43597 9.18404C2.81947 8.43139 3.43139 7.81947 4.18404 7.43598C4.66937 7.18868 5.18608 7.09012 5.74817 7.04419C6.10939 7.01468 6.52548 7.00487 7.00162 7.00162C7.00487 6.52548 7.01468 6.10939 7.04419 5.74817C7.09012 5.18608 7.18868 4.66937 7.43598 4.18404C7.81947 3.43139 8.43139 2.81947 9.18404 2.43597C9.66937 2.18868 10.1861 2.09012 10.7482 2.04419C11.2894 1.99998 11.9537 1.99999 12.7587 2ZM9.00176 7L11.2413 7C12.0463 6.99999 12.7106 6.99998 13.2518 7.04419C13.8139 7.09012 14.3306 7.18868 14.816 7.43598C15.5686 7.81947 16.1805 8.43139 16.564 9.18404C16.8113 9.66937 16.9099 10.1861 16.9558 10.7482C17 11.2894 17 11.9537 17 12.7587V14.9982C17.4455 14.9951 17.7954 14.9864 18.089 14.9624C18.5274 14.9266 18.7516 14.8617 18.908 14.782C19.2843 14.5903 19.5903 14.2843 19.782 13.908C19.8617 13.7516 19.9266 13.5274 19.9624 13.089C19.9992 12.6389 20 12.0566 20 11.2V7.8C20 6.94342 19.9992 6.36113 19.9624 5.91104C19.9266 5.47262 19.8617 5.24842 19.782 5.09202C19.5903 4.7157 19.2843 4.40973 18.908 4.21799C18.7516 4.1383 18.5274 4.07337 18.089 4.03755C17.6389 4.00078 17.0566 4 16.2 4H12.8C11.9434 4 11.3611 4.00078 10.911 4.03755C10.4726 4.07337 10.2484 4.1383 10.092 4.21799C9.7157 4.40973 9.40973 4.7157 9.21799 5.09202C9.1383 5.24842 9.07337 5.47262 9.03755 5.91104C9.01357 6.20463 9.00489 6.55447 9.00176 7ZM5.91104 9.03755C5.47262 9.07337 5.24842 9.1383 5.09202 9.21799C4.7157 9.40973 4.40973 9.7157 4.21799 10.092C4.1383 10.2484 4.07337 10.4726 4.03755 10.911C4.00078 11.3611 4 11.9434 4 12.8V16.2C4 17.0566 4.00078 17.6389 4.03755 18.089C4.07337 18.5274 4.1383 18.7516 4.21799 18.908C4.40973 19.2843 4.7157 19.5903 5.09202 19.782C5.24842 19.8617 5.47262 19.9266 5.91104 19.9624C6.36113 19.9992 6.94342 20 7.8 20H11.2C12.0566 20 12.6389 19.9992 13.089 19.9624C13.5274 19.9266 13.7516 19.8617 13.908 19.782C14.2843 19.5903 14.5903 19.2843 14.782 18.908C14.8617 18.7516 14.9266 18.5274 14.9624 18.089C14.9992 17.6389 15 17.0566 15 16.2V12.8C15 11.9434 14.9992 11.3611 14.9624 10.911C14.9266 10.4726 14.8617 10.2484 14.782 10.092C14.5903 9.7157 14.2843 9.40973 13.908 9.21799C13.7516 9.1383 13.5274 9.07337 13.089 9.03755C12.6389 9.00078 12.0566 9 11.2 9H7.8C6.94342 9 6.36113 9.00078 5.91104 9.03755Z",fill:"currentColor"})})})]}),(0,ct.jsx)("pre",{className:`language-${o}`,children:(0,ct.jsx)("code",{className:`language-${o}`,"data-pagefind-ignore":!0,dangerouslySetInnerHTML:{__html:c}})})]})}var W0=_C;var ev=q(de()),Kr=q(te());function SC({level:e,id:t,children:n,...r}){let[a,l]=(0,ev.useState)(!1),i=`h${e}`,u=async o=>{if(!t)return;let s=`${window.location.origin}${window.location.pathname}#${t}`;try{await navigator.clipboard.writeText(s),l(!0),setTimeout(()=>l(!1),2e3)}catch(f){console.error("Failed to copy link:",f)}};return(0,Kr.jsxs)(i,{id:t,className:"heading-with-anchor",...r,children:[n,t&&(0,Kr.jsxs)("a",{href:`#${t}`,className:"heading-anchor-link",onClick:u,"aria-label":"Link to this heading",title:"Copy link to heading",children:[(0,Kr.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:(0,Kr.jsx)("path",{d:"M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z",fill:"currentColor"})}),a&&(0,Kr.jsx)("span",{className:"heading-copied-tooltip",children:"Copied!"})]})]})}var xr=SC;var nv=q(te());function tv({src:e,alt:t,...n}){return(0,nv.jsx)("img",{...n,src:e,alt:t||"",loading:"lazy",onClick:a=>{let l=document.createElement("div");l.className="image-modal",l.onclick=()=>l.remove();let i=document.createElement("button");i.className="image-modal-close",i.innerHTML="\xD7",i.onclick=()=>l.remove();let u=document.createElement("img");u.src=e,u.alt=t||"",u.onclick=o=>o.stopPropagation(),l.appendChild(i),l.appendChild(u),document.body.appendChild(l)}})}var He=q(te());function CC({title:e,href:t,icon:n,children:r}){let a=()=>(0,He.jsxs)("svg",{className:"card-arrow",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:[(0,He.jsx)("path",{d:"M5 12h14"}),(0,He.jsx)("path",{d:"m12 5 7 7-7 7"})]}),l=(0,He.jsxs)(He.Fragment,{children:[n&&(0,He.jsxs)("div",{className:"card-icon",children:[(0,He.jsx)("img",{src:n,alt:"",className:"card-icon-img",loading:"lazy"}),(0,He.jsxs)("div",{className:"card-content",children:[(0,He.jsxs)("h3",{className:"card-title",children:[(0,He.jsx)("span",{children:e}),t&&(0,He.jsx)(a,{})]}),(0,He.jsx)("div",{className:"card-description",children:r})]})]}),!n&&(0,He.jsxs)("div",{className:"card-content",children:[(0,He.jsxs)("h3",{className:"card-title",children:[(0,He.jsx)("span",{children:e}),t&&(0,He.jsx)(a,{})]}),(0,He.jsx)("div",{className:"card-description",children:r})]})]});if(t){let i=t.startsWith("http://")||t.startsWith("https://");return(0,He.jsx)("a",{href:t,className:"card card-link",target:i?"_blank":void 0,rel:i?"noopener noreferrer":void 0,children:l})}return(0,He.jsx)("div",{className:"card",children:l})}var rv=CC;var lv=q(te());function wC({cols:e=2,children:t}){return(0,lv.jsx)("div",{className:"card-grid","data-cols":e,children:t})}var av=wC;var qe=q(te());function xC({type:e,title:t,children:n}){let r=()=>(0,qe.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"callout-icon",children:[(0,qe.jsx)("circle",{cx:"12",cy:"12",r:"10"}),(0,qe.jsx)("path",{d:"M12 16v-4"}),(0,qe.jsx)("path",{d:"M12 8h.01"})]}),a=()=>(0,qe.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"callout-icon",children:[(0,qe.jsx)("path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3"}),(0,qe.jsx)("path",{d:"M12 9v4"}),(0,qe.jsx)("path",{d:"M12 17h.01"})]}),l=()=>(0,qe.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"callout-icon",children:[(0,qe.jsx)("circle",{cx:"12",cy:"12",r:"10"}),(0,qe.jsx)("path",{d:"m15 9-6 6"}),(0,qe.jsx)("path",{d:"m9 9 6 6"})]}),i=()=>{switch(e){case"warning":return(0,qe.jsx)(a,{});case"danger":return(0,qe.jsx)(l,{});case"note":default:return(0,qe.jsx)(r,{})}},u=`callout callout-${e}`;return(0,qe.jsx)("div",{className:u,children:(0,qe.jsxs)("div",{style:{display:"flex",gap:"12px"},children:[i(),(0,qe.jsxs)("div",{style:{flex:1},children:[t&&(0,qe.jsx)("div",{className:"callout-title",children:t}),(0,qe.jsx)("div",{className:"callout-body",children:n})]})]})})}var iv=xC;var mt=q(te());function RC({content:e,components:t={}}){let n=Xe.renderers.react(e,uv.default,{components:{...DC(),...t}});return(0,mt.jsx)(mt.Fragment,{children:n})}function DC(){return{h1:e=>(0,mt.jsx)(xr,{level:1,...e}),h2:e=>(0,mt.jsx)(xr,{level:2,...e}),h3:e=>(0,mt.jsx)(xr,{level:3,...e}),h4:e=>(0,mt.jsx)(xr,{level:4,...e}),h5:e=>(0,mt.jsx)(xr,{level:5,...e}),h6:e=>(0,mt.jsx)(xr,{level:6,...e}),a:e=>{let{href:t,children:n,...r}=e,a=t?.startsWith("http://")||t?.startsWith("https://");return(0,mt.jsx)("a",{href:t,target:a?"_blank":void 0,rel:a?"noopener noreferrer":void 0,...r,children:n})},code:e=>(0,mt.jsx)("code",{className:"inline-code",...e}),table:e=>(0,mt.jsx)("div",{className:"table-wrapper",children:(0,mt.jsx)("table",{...e})}),blockquote:e=>(0,mt.jsx)("blockquote",{className:"callout",...e}),Heading:xr,CodeBlock:W0,Image:tv,Card:rv,CardGrid:av,Callout:iv}}var ov=RC;var Zn=q(de()),Wr=q(te());function kC({toc:e}){let[t,n]=(0,Zn.useState)(""),[r,a]=(0,Zn.useState)(!1),l=(0,Zn.useRef)(null);(0,Zn.useEffect)(()=>{let c=window.location.hash;if(c){let d=c.slice(1),h=document.getElementById(d);h&&setTimeout(()=>{a(!0),n(d),i(h),u()},100)}},[]),(0,Zn.useEffect)(()=>{let c=new IntersectionObserver(h=>{r||h.forEach(E=>{E.isIntersecting&&n(E.target.id)})},{rootMargin:"-80px 0px -80% 0px"}),d=document.querySelectorAll("h1[id], h2[id], h3[id], h4[id], h5[id], h6[id]");return d.forEach(h=>c.observe(h)),()=>{d.forEach(h=>c.unobserve(h))}},[e,r]);let i=c=>{let d=document.querySelector(".layout-main"),h=100;if(d){let E=d.getBoundingClientRect().top,m=c.getBoundingClientRect().top,y=d.scrollTop+(m-E)-h;d.scrollTo({top:y,behavior:"smooth"})}else{let m=c.getBoundingClientRect().top+window.pageYOffset-h;window.scrollTo({top:m,behavior:"smooth"})}},u=()=>{let c=document.querySelector(".layout-main"),d=()=>{l.current&&clearTimeout(l.current),l.current=setTimeout(()=>{a(!1),c?c.removeEventListener("scroll",d):window.removeEventListener("scroll",d)},150)};c?c.addEventListener("scroll",d):window.addEventListener("scroll",d)},o=c=>{let d=document.getElementById(c);d&&(a(!0),n(c),i(d),window.history.pushState(null,"",`#${c}`),u())};(0,Zn.useEffect)(()=>{let c=()=>{let d=window.location.hash;if(d){let h=d.slice(1);o(h)}};return window.addEventListener("hashchange",c),()=>{window.removeEventListener("hashchange",c),l.current&&clearTimeout(l.current)}},[]);let f=(c=>{let d=[],h=E=>{E.forEach(m=>{d.push(m),m.children&&m.children.length>0&&h(m.children)})};return h(c),d})(e);return(0,Wr.jsxs)("nav",{className:"toc",children:[(0,Wr.jsx)("p",{className:"toc-title",children:"On this page"}),(0,Wr.jsx)("ul",{className:"toc-list",children:f.map(c=>(0,Wr.jsx)("li",{children:(0,Wr.jsx)("button",{className:`toc-link ${c.id===t?"active":""}`,"data-level":c.level,onClick:()=>o(c.id),children:c.text})},c.id))})]})}var sv=kC;var nn=q(te());function TC(){let{navigationContext:e}=Cr();if(!e||!e.pageNavigation)return null;let{prev:t,next:n}=e.pageNavigation;return!t&&!n?null:(0,nn.jsx)("nav",{className:"page-navigation","aria-label":"Page navigation",children:(0,nn.jsxs)("div",{className:"page-nav-container",children:[t?(0,nn.jsxs)(sn,{to:t.path,className:"page-nav-link page-nav-prev",children:[(0,nn.jsx)("span",{className:"page-nav-direction",children:"\u2190 Previous"}),(0,nn.jsx)("span",{className:"page-nav-label",children:t.label})]}):(0,nn.jsx)("div",{className:"page-nav-spacer"}),n?(0,nn.jsxs)(sn,{to:n.path,className:"page-nav-link page-nav-next",children:[(0,nn.jsx)("span",{className:"page-nav-direction",children:"Next \u2192"}),(0,nn.jsx)("span",{className:"page-nav-label",children:n.label})]}):(0,nn.jsx)("div",{className:"page-nav-spacer"})]})})}var cv=TC;var ue=q(te());function NC(){let{currentContent:e,isLoading:t,error:n}=Cr(),{config:r}=Sr();if(t)return(0,ue.jsx)("div",{className:"content-page",children:(0,ue.jsx)("div",{className:"content-loading",children:(0,ue.jsx)("p",{children:"Loading..."})})});if(n)return(0,ue.jsx)("div",{className:"content-page",children:(0,ue.jsxs)("div",{className:"content-error",children:[(0,ue.jsx)("h1",{children:"Error"}),(0,ue.jsx)("p",{children:n.message})]})});if(!e)return(0,ue.jsx)("div",{className:"content-page",children:(0,ue.jsxs)("div",{className:"content-empty",children:[(0,ue.jsx)("h1",{children:"Page Not Found"}),(0,ue.jsx)("p",{children:"The page you're looking for doesn't exist."})]})});let{metadata:a,renderable:l}=e,{frontmatter:i,toc:u,wordCount:o,readingTime:s}=a;return(0,ue.jsx)("div",{className:"content-page",children:(0,ue.jsxs)("div",{className:"content-wrapper",children:[(0,ue.jsxs)("article",{className:"content-article",children:[(0,ue.jsxs)("div",{"data-pagefind-body":!0,children:[(0,ue.jsxs)("header",{className:"content-header",children:[(0,ue.jsx)("h1",{className:"content-title","data-pagefind-weight":"10",children:i.title}),i.description&&(0,ue.jsx)("p",{className:"content-description",children:i.description}),(0,ue.jsxs)("div",{className:"content-meta","data-pagefind-ignore":!0,children:[s>0&&(0,ue.jsxs)("span",{className:"content-meta-item",children:[s," min read"]}),i.author&&(0,ue.jsxs)("span",{className:"content-meta-item",children:["By ",i.author]}),i.date&&(0,ue.jsx)("span",{className:"content-meta-item",children:new Date(i.date).toLocaleDateString()})]}),i.tags&&i.tags.length>0&&(0,ue.jsx)("div",{className:"content-tags",children:i.tags.map((f,c)=>(0,ue.jsx)("span",{className:"content-tag",children:f},c))})]}),(0,ue.jsx)("div",{className:"content-body",children:(0,ue.jsx)(ov,{content:l})})]}),(0,ue.jsxs)("footer",{className:"content-footer",children:[(0,ue.jsx)(cv,{}),(0,ue.jsxs)("div",{className:"content-footer-info",children:[(0,ue.jsxs)("p",{className:"content-footer-text",children:["\xA9 ",new Date().getFullYear()," ",r.metadata.title]}),(0,ue.jsxs)("p",{className:"content-footer-powered",children:["Powered by ",(0,ue.jsx)("a",{href:"https://www.mordoc.dev/",target:"_blank",rel:"noopener noreferrer",children:"Mordoc"})]})]})]})]}),u&&u.length>0&&(0,ue.jsx)("aside",{className:"content-toc",children:(0,ue.jsx)(sv,{toc:u})})]})})}var fv=NC;var ea=q(de());var Wa=q(de());function dv(){let e=Zu(),t=st(),{fetchContent:n,prefetchContent:r}=Ku(),{setIsLoading:a,setError:l}=Cr(),i=(0,Wa.useCallback)(async c=>{if(t.pathname!==c){a(!0),l(null);try{if(await n(c)){let h=c==="/"?"/":c.replace(/\/$/,"");e(h),window.scrollTo(0,0)}}catch(d){l(d),a(!1)}}},[t.pathname,e,n,a,l]),u=(0,Wa.useCallback)((c,d)=>{let h=d.startsWith("http://")||d.startsWith("https://"),E=d.startsWith("#");h||E||(c.preventDefault(),i(d))},[i]),o=(0,Wa.useCallback)(c=>{let d=c.startsWith("http://")||c.startsWith("https://"),h=c.startsWith("#");!d&&!h&&r(c)},[r]),s=(0,Wa.useCallback)(()=>{let c=t.pathname.split("/").filter(Boolean);return c.length>0&&/^[a-z]{2,3}$/i.test(c[0])?c[0]:"en"},[t.pathname]),f=(0,Wa.useCallback)((c,d,h="en")=>d===h?c==="index"||c===""?"/":`/${c}`:c==="index"||c===""?`/${d}`:`/${d}/${c}`,[]);return{navigateToPath:i,handleLinkClick:u,handleLinkHover:o,getCurrentLanguage:s,buildLanguagePath:f,currentPath:t.pathname}}var Be=q(te());function MC(){let{isOpen:e,closeSearch:t,query:n,setQuery:r,results:a,isSearching:l,debouncedSearch:i}=Wu(),{navigateToPath:u}=dv(),o=(0,ea.useRef)(null),[s,f]=(0,ea.useState)(0);(0,ea.useEffect)(()=>{e&&o.current&&(o.current.focus(),f(0))},[e]),(0,ea.useEffect)(()=>{f(0)},[a]);let c=m=>{let y=m.target.value;r(y),i(y)},d=m=>{t(),u(m)},h=m=>{m.target===m.currentTarget&&t()},E=m=>{if(a.length!==0)switch(m.key){case"ArrowDown":m.preventDefault(),f(y=>(y+1)%a.length);break;case"ArrowUp":m.preventDefault(),f(y=>(y-1+a.length)%a.length);break;case"Enter":m.preventDefault(),a[s]&&d(a[s].url);break}};return e?(0,Be.jsx)("div",{className:"search-modal-backdrop",onClick:h,children:(0,Be.jsxs)("div",{className:"search-modal",onKeyDown:E,children:[(0,Be.jsxs)("div",{className:"search-input-container",children:[(0,Be.jsxs)("svg",{className:"search-input-icon",xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,Be.jsx)("circle",{cx:"11",cy:"11",r:"8"}),(0,Be.jsx)("path",{d:"m21 21-4.3-4.3"})]}),(0,Be.jsx)("input",{ref:o,type:"text",className:"search-input",placeholder:"Search documentation...",value:n,onChange:c,"aria-label":"Search"})]}),(0,Be.jsx)("div",{className:"search-results",children:l?(0,Be.jsx)("div",{className:"search-loading",children:(0,Be.jsx)("p",{children:"Searching..."})}):n.trim()===""?(0,Be.jsx)("div",{className:"search-empty",children:(0,Be.jsx)("p",{className:"search-empty-text",children:"Start typing to search"})}):a.length===0?(0,Be.jsxs)("div",{className:"search-no-results",children:[(0,Be.jsxs)("p",{children:['No results found for "',n,'"']}),(0,Be.jsx)("p",{className:"search-help-text",children:"Try different keywords or check your spelling"})]}):(0,Be.jsx)("ul",{className:"search-results-list",children:a.map((m,y)=>(0,Be.jsx)("li",{className:"search-result-item",children:(0,Be.jsxs)("button",{className:`search-result-link ${y===s?"selected":""}`,onClick:()=>d(m.url),onMouseEnter:()=>f(y),children:[(0,Be.jsx)("div",{className:"search-result-title",children:m.title}),(0,Be.jsx)("div",{className:"search-result-excerpt",dangerouslySetInnerHTML:{__html:m.excerpt}}),(0,Be.jsx)("div",{className:"search-result-url",children:m.url})]})},m.id))})})]})}):null}var hv=MC;var gt=q(te());function OC({siteConfig:e,initialContent:t,isServerRender:n=!1}){return(0,gt.jsx)(P2,{config:e,children:(0,gt.jsx)(n0,{children:(0,gt.jsx)(Q2,{initialContent:t,children:(0,gt.jsx)(K2,{children:(0,gt.jsx)(FC,{isServerRender:n})})})})})}function FC({isServerRender:e}){let t=st(),{fetchContent:n}=Ku(),r=si.default.useRef(!1);return(0,si.useEffect)(()=>{if(!window.location.hash){let a=document.querySelector(".layout-main");a?a.scrollTo(0,0):window.scrollTo(0,0)}},[t.pathname]),(0,si.useEffect)(()=>{if(!e){if(!r.current){r.current=!0;return}n(t.pathname)}},[t.pathname,n,e]),(0,gt.jsxs)(gt.Fragment,{children:[(0,gt.jsx)(f0,{children:(0,gt.jsx)(Ef,{children:(0,gt.jsx)(Xu,{path:"*",element:(0,gt.jsx)(fv,{})})})}),!e&&(0,gt.jsx)(hv,{})]})}var pv=OC;var yo=q(te());function zC(){let e=null,t=null,n=document.getElementById("__SITE_CONFIG__");if(n&&n.textContent)try{e=JSON.parse(n.textContent)}catch(a){console.error("Failed to parse site config:",a)}let r=document.getElementById("__CONTENT_DATA__");if(r&&r.textContent)try{t=JSON.parse(r.textContent)}catch(a){console.error("Failed to parse content data:",a)}return{siteConfig:e,initialContent:t}}function mv(){let{siteConfig:e,initialContent:t}=zC();if(!e){console.error("Site config not found - cannot initialize app");return}let n=document.getElementById("root");if(!n){console.error("Root element not found");return}(0,vv.hydrateRoot)(n,(0,yo.jsx)(gv.default.StrictMode,{children:(0,yo.jsx)(Cf,{children:(0,yo.jsx)(pv,{siteConfig:e,initialContent:t,isServerRender:!1})})}))}document.readyState==="loading"?document.addEventListener("DOMContentLoaded",mv):mv();})();
|
|
45
45
|
/*! Bundled license information:
|
|
46
46
|
|
|
47
47
|
react/cjs/react.production.js:
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-app.d.ts","sourceRoot":"","sources":["../../src/cli/create-app.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAMH,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED;;GAEG;AACH,wBAAsB,SAAS,CAC7B,WAAW,EAAE,MAAM,EACnB,OAAO,GAAE,gBAAqB,GAC7B,OAAO,CAAC,IAAI,CAAC,
|
|
1
|
+
{"version":3,"file":"create-app.d.ts","sourceRoot":"","sources":["../../src/cli/create-app.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAMH,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED;;GAEG;AACH,wBAAsB,SAAS,CAC7B,WAAW,EAAE,MAAM,EACnB,OAAO,GAAE,gBAAqB,GAC7B,OAAO,CAAC,IAAI,CAAC,CA0Df"}
|
package/dist/cli/create-app.js
CHANGED
|
@@ -34,6 +34,8 @@ async function createApp(projectName, options = {}) {
|
|
|
34
34
|
console.log('Copying template files...');
|
|
35
35
|
const templateName = options.template || 'default';
|
|
36
36
|
await copyTemplate(projectDir, templateName);
|
|
37
|
+
// Create .gitignore file (npm excludes it from published packages)
|
|
38
|
+
createGitignore(projectDir);
|
|
37
39
|
// Update package.json with project name
|
|
38
40
|
console.log('Configuring package.json...');
|
|
39
41
|
updatePackageJson(projectDir, projectName);
|
|
@@ -111,6 +113,38 @@ function copyDirectory(src, dest) {
|
|
|
111
113
|
}
|
|
112
114
|
}
|
|
113
115
|
}
|
|
116
|
+
/**
|
|
117
|
+
* Create .gitignore file in project directory
|
|
118
|
+
*/
|
|
119
|
+
function createGitignore(projectDir) {
|
|
120
|
+
const gitignoreContent = `# Dependencies
|
|
121
|
+
node_modules/
|
|
122
|
+
|
|
123
|
+
# Build output
|
|
124
|
+
dist/
|
|
125
|
+
|
|
126
|
+
# Logs
|
|
127
|
+
*.log
|
|
128
|
+
|
|
129
|
+
# Environment
|
|
130
|
+
.env
|
|
131
|
+
.env.local
|
|
132
|
+
|
|
133
|
+
# IDE
|
|
134
|
+
.vscode/
|
|
135
|
+
.idea/
|
|
136
|
+
*.sublime-workspace
|
|
137
|
+
|
|
138
|
+
# OS
|
|
139
|
+
.DS_Store
|
|
140
|
+
Thumbs.db
|
|
141
|
+
|
|
142
|
+
# Mordoc cache
|
|
143
|
+
.mordoc-cache/
|
|
144
|
+
`;
|
|
145
|
+
const gitignorePath = path_1.default.join(projectDir, '.gitignore');
|
|
146
|
+
fs_1.default.writeFileSync(gitignorePath, gitignoreContent, 'utf8');
|
|
147
|
+
}
|
|
114
148
|
/**
|
|
115
149
|
* Update package.json with project name
|
|
116
150
|
*/
|
|
@@ -135,15 +169,6 @@ function initGitRepo(projectDir) {
|
|
|
135
169
|
cwd: projectDir,
|
|
136
170
|
stdio: 'ignore',
|
|
137
171
|
});
|
|
138
|
-
// Create initial commit
|
|
139
|
-
(0, child_process_1.execSync)('git add .', {
|
|
140
|
-
cwd: projectDir,
|
|
141
|
-
stdio: 'ignore',
|
|
142
|
-
});
|
|
143
|
-
(0, child_process_1.execSync)('git commit -m "Initial commit"', {
|
|
144
|
-
cwd: projectDir,
|
|
145
|
-
stdio: 'ignore',
|
|
146
|
-
});
|
|
147
172
|
}
|
|
148
173
|
catch (error) {
|
|
149
174
|
console.warn('Warning: Failed to initialize git repository');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-app.js","sourceRoot":"","sources":["../../src/cli/create-app.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;;;AAeH,
|
|
1
|
+
{"version":3,"file":"create-app.js","sourceRoot":"","sources":["../../src/cli/create-app.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;;;AAeH,8BA6DC;AA1ED,4CAAoB;AACpB,gDAAwB;AACxB,iDAAyC;AAQzC;;GAEG;AACI,KAAK,UAAU,SAAS,CAC7B,WAAmB,EACnB,UAA4B,EAAE;IAE9B,MAAM,SAAS,GAAG,IAAI,CAAC,GAAG,EAAE,CAAC;IAE7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CAAC,kDAAkD,CAAC,CAAC;IAChE,OAAO,CAAC,GAAG,CAAC,8CAA8C,CAAC,CAAC;IAC5D,OAAO,CAAC,GAAG,CAAC,2CAA2C,CAAC,CAAC;IAEzD,OAAO,CAAC,GAAG,CAAC,yBAAyB,CAAC,CAAC;AACzC,CAAC;AAED,yCAAyC;AACzC,IAAI,OAAO,CAAC,IAAI,KAAK,MAAM,EAAE,CAAC;IAC5B,MAAM,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;IACnC,MAAM,WAAW,GAAG,IAAI,CAAC,CAAC,CAAC,CAAC;IAE5B,IAAI,CAAC,WAAW,EAAE,CAAC;QACjB,OAAO,CAAC,KAAK,CAAC,gCAAgC,CAAC,CAAC;QAChD,OAAO,CAAC,KAAK,CAAC,uCAAuC,CAAC,CAAC;QACvD,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IAClB,CAAC;IAED,MAAM,OAAO,GAAqB,EAAE,CAAC;IACrC,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,IAAI,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC;QACrC,MAAM,GAAG,GAAG,IAAI,CAAC,CAAC,CAAC,CAAC;QACpB,IAAI,GAAG,KAAK,gBAAgB,EAAE,CAAC;YAC7B,OAAO,CAAC,WAAW,GAAG,IAAI,CAAC;QAC7B,CAAC;aAAM,IAAI,GAAG,KAAK,YAAY,EAAE,CAAC;YAChC,OAAO,CAAC,OAAO,GAAG,IAAI,CAAC;QACzB,CAAC;IACH,CAAC;IAED,SAAS,CAAC,WAAW,EAAE,OAAO,CAAC,CAAC;AAClC,CAAC"}
|
|
@@ -30,7 +30,7 @@ function ContentPage() {
|
|
|
30
30
|
}
|
|
31
31
|
const { metadata, renderable } = currentContent;
|
|
32
32
|
const { frontmatter, toc, wordCount, readingTime } = metadata;
|
|
33
|
-
return ((0, jsx_runtime_1.jsx)("div", { className: "content-page", children: (0, jsx_runtime_1.jsxs)("div", { className: "content-wrapper", children: [(0, jsx_runtime_1.jsxs)("article", { className: "content-article", children: [(0, jsx_runtime_1.jsxs)("div", { "data-pagefind-body": true, children: [(0, jsx_runtime_1.jsxs)("header", { className: "content-header", children: [(0, jsx_runtime_1.jsx)("h1", { className: "content-title", "data-pagefind-weight": "10", children: frontmatter.title }), frontmatter.description && ((0, jsx_runtime_1.jsx)("p", { className: "content-description", children: frontmatter.description })), (0, jsx_runtime_1.jsxs)("div", { className: "content-meta", "data-pagefind-ignore": true, children: [readingTime > 0 && ((0, jsx_runtime_1.jsxs)("span", { className: "content-meta-item", children: [readingTime, " min read"] })), frontmatter.author && ((0, jsx_runtime_1.jsxs)("span", { className: "content-meta-item", children: ["By ", frontmatter.author] })), frontmatter.date && ((0, jsx_runtime_1.jsx)("span", { className: "content-meta-item", children: new Date(frontmatter.date).toLocaleDateString() }))] }), frontmatter.tags && frontmatter.tags.length > 0 && ((0, jsx_runtime_1.jsx)("div", { className: "content-tags", children: frontmatter.tags.map((tag, index) => ((0, jsx_runtime_1.jsx)("span", { className: "content-tag", children: tag }, index))) }))] }), (0, jsx_runtime_1.jsx)("div", { className: "content-body", children: (0, jsx_runtime_1.jsx)(MarkdocRenderer_1.default, { content: renderable }) })] }), (0, jsx_runtime_1.jsxs)("footer", { className: "content-footer", children: [(0, jsx_runtime_1.jsx)(PageNavigation_1.default, {}), (0, jsx_runtime_1.jsxs)("div", { className: "content-footer-info", children: [(0, jsx_runtime_1.jsxs)("p", { className: "content-footer-text", children: ["\u00A9 ", new Date().getFullYear(), " ", config.metadata.title] }), (0, jsx_runtime_1.jsxs)("p", { className: "content-footer-powered", children: ["Powered by ", (0, jsx_runtime_1.jsx)("a", { href: "https://
|
|
33
|
+
return ((0, jsx_runtime_1.jsx)("div", { className: "content-page", children: (0, jsx_runtime_1.jsxs)("div", { className: "content-wrapper", children: [(0, jsx_runtime_1.jsxs)("article", { className: "content-article", children: [(0, jsx_runtime_1.jsxs)("div", { "data-pagefind-body": true, children: [(0, jsx_runtime_1.jsxs)("header", { className: "content-header", children: [(0, jsx_runtime_1.jsx)("h1", { className: "content-title", "data-pagefind-weight": "10", children: frontmatter.title }), frontmatter.description && ((0, jsx_runtime_1.jsx)("p", { className: "content-description", children: frontmatter.description })), (0, jsx_runtime_1.jsxs)("div", { className: "content-meta", "data-pagefind-ignore": true, children: [readingTime > 0 && ((0, jsx_runtime_1.jsxs)("span", { className: "content-meta-item", children: [readingTime, " min read"] })), frontmatter.author && ((0, jsx_runtime_1.jsxs)("span", { className: "content-meta-item", children: ["By ", frontmatter.author] })), frontmatter.date && ((0, jsx_runtime_1.jsx)("span", { className: "content-meta-item", children: new Date(frontmatter.date).toLocaleDateString() }))] }), frontmatter.tags && frontmatter.tags.length > 0 && ((0, jsx_runtime_1.jsx)("div", { className: "content-tags", children: frontmatter.tags.map((tag, index) => ((0, jsx_runtime_1.jsx)("span", { className: "content-tag", children: tag }, index))) }))] }), (0, jsx_runtime_1.jsx)("div", { className: "content-body", children: (0, jsx_runtime_1.jsx)(MarkdocRenderer_1.default, { content: renderable }) })] }), (0, jsx_runtime_1.jsxs)("footer", { className: "content-footer", children: [(0, jsx_runtime_1.jsx)(PageNavigation_1.default, {}), (0, jsx_runtime_1.jsxs)("div", { className: "content-footer-info", children: [(0, jsx_runtime_1.jsxs)("p", { className: "content-footer-text", children: ["\u00A9 ", new Date().getFullYear(), " ", config.metadata.title] }), (0, jsx_runtime_1.jsxs)("p", { className: "content-footer-powered", children: ["Powered by ", (0, jsx_runtime_1.jsx)("a", { href: "https://www.mordoc.dev/", target: "_blank", rel: "noopener noreferrer", children: "Mordoc" })] })] })] })] }), toc && toc.length > 0 && ((0, jsx_runtime_1.jsx)("aside", { className: "content-toc", children: (0, jsx_runtime_1.jsx)(TableOfContents_1.default, { toc: toc }) }))] }) }));
|
|
34
34
|
}
|
|
35
35
|
exports.default = ContentPage;
|
|
36
36
|
//# sourceMappingURL=ContentPage.js.map
|
|
@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C,IACD,EAGT,GAAG,IAAI,GAAG,CAAC,MAAM,GAAG,CAAC,IAAI,CACxB,kCAAO,SAAS,EAAC,aAAa,YAC5B,uBAAC,yBAAe,IAAC,GAAG,EAAE,GAAG,GAAI,GACvB,CACT,IACG,GACF,CACP,CAAC;AACJ,CAAC;AAED,kBAAe,WAAW,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"content.d.ts","sourceRoot":"","sources":["../../../src/styles/components/content.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAG3C,qBAAa,qBAAqB;IACpB,OAAO,CAAC,UAAU;gBAAV,UAAU,EAAE,eAAe;IAE/C,QAAQ,IAAI,MAAM;
|
|
1
|
+
{"version":3,"file":"content.d.ts","sourceRoot":"","sources":["../../../src/styles/components/content.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAG3C,qBAAa,qBAAqB;IACpB,OAAO,CAAC,UAAU;gBAAV,UAAU,EAAE,eAAe;IAE/C,QAAQ,IAAI,MAAM;CAsLnB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"content.js","sourceRoot":"","sources":["../../../src/styles/components/content.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAGH,oCAAgD;AAEhD,MAAa,qBAAqB;IAChC,YAAoB,UAA2B;QAA3B,eAAU,GAAV,UAAU,CAAiB;IAAG,CAAC;IAEnD,QAAQ;QACN,OAAO;;;;;;;SAOF,IAAI,CAAC,UAAU,CAAC,UAAU;;;;;;;;;;;mBAWhB,IAAI,CAAC,UAAU,CAAC,SAAS;6BACf,IAAI,CAAC,UAAU,CAAC,gBAAgB;;;EAG3D,IAAA,gBAAQ,EAAC;2BACgB,IAAI,CAAC,UAAU,CAAC,eAAe;IACtD,CAAC;;;;;;;;;WASM,IAAI,CAAC,UAAU,CAAC,iBAAiB;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
|
1
|
-
{"version":3,"file":"sidenav.d.ts","sourceRoot":"","sources":["../../../src/styles/components/sidenav.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"sidenav.d.ts","sourceRoot":"","sources":["../../../src/styles/components/sidenav.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAY3C,qBAAa,qBAAqB;IACpB,OAAO,CAAC,UAAU;gBAAV,UAAU,EAAE,eAAe;IAE/C,QAAQ,CAAC,aAAa,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,MAAM;CA2MzD"}
|
|
@@ -16,10 +16,13 @@ class SideNavStyleGenerator {
|
|
|
16
16
|
navHoverBackgroundDark: '#1F1F1F',
|
|
17
17
|
navActiveBackgroundLight: '#E5E5E5',
|
|
18
18
|
navActiveBackgroundDark: '#1F1F1F',
|
|
19
|
+
navActiveTextColorLight: '#171717',
|
|
20
|
+
navActiveTextColorDark: '#FAFAFA',
|
|
19
21
|
};
|
|
20
22
|
const vars = (0, utils_1.mergeOverrides)(defaults, userOverrides, [
|
|
21
23
|
'navHoverBackgroundLight', 'navHoverBackgroundDark',
|
|
22
|
-
'navActiveBackgroundLight', 'navActiveBackgroundDark'
|
|
24
|
+
'navActiveBackgroundLight', 'navActiveBackgroundDark',
|
|
25
|
+
'navActiveTextColorLight', 'navActiveTextColorDark'
|
|
23
26
|
]);
|
|
24
27
|
return `/* SideNav */
|
|
25
28
|
.sidenav {
|
|
@@ -134,13 +137,13 @@ class SideNavStyleGenerator {
|
|
|
134
137
|
}
|
|
135
138
|
|
|
136
139
|
.sidenav-link.active {
|
|
137
|
-
color:
|
|
140
|
+
color: ${vars.navActiveTextColorLight};
|
|
138
141
|
background-color: ${vars.navActiveBackgroundLight};
|
|
139
142
|
font-weight: ${this.globalVars.fontWeightMedium};
|
|
140
143
|
}
|
|
141
144
|
|
|
142
145
|
[data-theme="dark"] .sidenav-link.active {
|
|
143
|
-
color:
|
|
146
|
+
color: ${vars.navActiveTextColorDark};
|
|
144
147
|
background-color: ${vars.navActiveBackgroundDark};
|
|
145
148
|
}
|
|
146
149
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sidenav.js","sourceRoot":"","sources":["../../../src/styles/components/sidenav.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAGH,oCAA0C;
|
|
1
|
+
{"version":3,"file":"sidenav.js","sourceRoot":"","sources":["../../../src/styles/components/sidenav.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAGH,oCAA0C;AAW1C,MAAa,qBAAqB;IAChC,YAAoB,UAA2B;QAA3B,eAAU,GAAV,UAAU,CAAiB;IAAG,CAAC;IAEnD,QAAQ,CAAC,aAAsC;QAC7C,MAAM,QAAQ,GAAqB;YACjC,uBAAuB,EAAE,SAAS;YAClC,sBAAsB,EAAE,SAAS;YACjC,wBAAwB,EAAE,SAAS;YACnC,uBAAuB,EAAE,SAAS;YAClC,uBAAuB,EAAE,SAAS;YAClC,sBAAsB,EAAE,SAAS;SAClC,CAAC;QAEF,MAAM,IAAI,GAAG,IAAA,sBAAc,EACzB,QAAQ,EACR,aAAa,EACb;YACE,yBAAyB,EAAE,wBAAwB;YACnD,0BAA0B,EAAE,yBAAyB;YACrD,yBAAyB,EAAE,wBAAwB;SACpD,CACF,CAAC;QAEF,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eA6EI,IAAI,CAAC,UAAU,CAAC,UAAU;;;;;;;;;;;;;;;;;;sBAkBnB,IAAI,CAAC,uBAAuB;;;;;sBAK5B,IAAI,CAAC,sBAAsB;;;;;;;;;;;;;WAatC,IAAI,CAAC,uBAAuB;sBACjB,IAAI,CAAC,wBAAwB;iBAClC,IAAI,CAAC,UAAU,CAAC,gBAAgB;;;;WAItC,IAAI,CAAC,sBAAsB;sBAChB,IAAI,CAAC,uBAAuB;;;;;eAKnC,IAAI,CAAC,UAAU,CAAC,UAAU;iBACxB,IAAI,CAAC,UAAU,CAAC,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAuD/C,CAAC;IACD,CAAC;CACF;AA9MD,sDA8MC"}
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mordoc",
|
|
3
|
-
"repoitory"
|
|
3
|
+
"repoitory": {
|
|
4
4
|
"type": "git",
|
|
5
5
|
"url": "https://github.com/shiva-varanasi/mordoc.git"
|
|
6
6
|
},
|
|
7
|
-
"version": "0.1.
|
|
7
|
+
"version": "0.1.6",
|
|
8
8
|
"description": "A static site generator for documentation with SSG + SPA capabilities",
|
|
9
9
|
"bin": {
|
|
10
10
|
"mordoc": "./bin/cli.js"
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"react-dom": "^19.2.3",
|
|
43
43
|
"react-router-dom": "^7.9.3",
|
|
44
44
|
"sirv-cli": "^2.0.2",
|
|
45
|
-
"ws": "^8.18.3",
|
|
45
|
+
"ws": "^8.18.3",
|
|
46
46
|
"esbuild": "^0.25.10"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|