vendor: 4,844 bytes, lines 1-4
1import{a as de,c as U,d as Q,f as W}from"/build/_shared/chunk-GUCIBHGO.js";import{c as F,f as ue}from"/build/_shared/chunk-OZE3FFNP.js";var ke=F((sr,Ee)=>{Ee.exports={trueFunc:function(){return!0},falseFunc:function(){return!1}}});var ee=F(y=>{"use strict";Object.defineProperty(y,"__esModule",{value:!0});function Ot(e){return e>="a"&&e<="z"||e>="A"&&e<="Z"||e==="-"||e==="_"}y.isIdentStart=Ot;function Pt(e){return e>="a"&&e<="z"||e>="A"&&e<="Z"||e>="0"&&e<="9"||e==="-"||e==="_"}y.isIdent=Pt;function Ft(e){return e>="a"&&e<="f"||e>="A"&&e<="F"||e>="0"&&e<="9"}y.isHex=Ft;function Mt(e){for(var t=e.length,r="",i=0;i<t;){var n=e.charAt(i);if(y.identSpecialChars[n])r+="\\"+n;else if(n==="_"||n==="-"||n>="A"&&n<="Z"||n>="a"&&n<="z"||i!==0&&n>="0"&&n<="9")r+=n;else{var s=n.charCodeAt(0);if((s&63488)===55296){var l=e.charCodeAt(i++);if((s&64512)!==55296||(l&64512)!==56320)throw Error("UCS-2(decode): illegal sequence");s=((s&1023)<<10)+(l&1023)+65536}r+="\\"+s.toString(16)+" "}i++}return r}y.escapeIdentifier=Mt;function jt(e){for(var t=e.length,r="",i=0,n;i<t;){var s=e.charAt(i);s==='"'?s='\\"':s==="\\"?s="\\\\":(n=y.strReplacementsRev[s])!==void 0&&(s=n),r+=s,i++}return'"'+r+'"'}y.escapeStr=jt;y.identSpecialChars={"!":!0,'"':!0,"#":!0,$:!0,"%":!0,"&":!0,"'":!0,"(":!0,")":!0,"*":!0,"+":!0,",":!0,".":!0,"/":!0,";":!0,"<":!0,"=":!0,">":!0,"?":!0,"@":!0,"[":!0,"\\":!0,"]":!0,"^":!0,"`":!0,"{":!0,"|":!0,"}":!0,"~":!0};y.strReplacementsRev={"\n":"\\n","\r":"\\r"," ":"\\t","\f":"\\f","\v":"\\v"};y.singleQuoteEscapeChars={n:` 2`,r:"\r",t:" ",f:"\f","\\":"\\","'":"'"};y.doubleQuotesEscapeChars={n:` 3`,r:"\r",t:" ",f:"\f","\\":"\\",'"':'"'}});var Oe=F(te=>{"use strict";Object.defineProperty(te,"__esModule",{value:!0});var b=ee();function Dt(e,t,r,i,n,s){var l=e.length,o="";function d(f,h){var g="";for(t++,o=e.charAt(t);t<l;){if(o===f)return t++,g;if(o==="\\"){t++,o=e.charAt(t);var v=void 0;if(o===f)g+=f;else if((v=h[o])!==void 0)g+=v;else if(b.isHex(o)){var _=o;for(t++,o=e.charAt(t);b.isHex(o);)_+=o,t++,o=e.charAt(t);o===" "&&(t++,o=e.charAt(t)),g+=String.fromCharCode(parseInt(_,16));continue}else g+=o}else g+=o;t++,o=e.charAt(t)}return g}function c(){var f="";for(o=e.charAt(t);t<l;){if(b.isIdent(o))f+=o;else if(o==="\\"){if(t++,t>=l)throw Error("Expected symbol but end of file reached.");if(o=e.charAt(t),b.identSpecialChars[o])f+=o;else if(b.isHex(o)){var h=o;for(t++,o=e.charAt(t);b.isHex(o);)h+=o,t++,o=e.charAt(t);o===" "&&(t++,o=e.charAt(t)),f+=String.fromCharCode(parseInt(h,16));continue}else f+=o}else return f;t++,o=e.charAt(t)}return f}function u(){o=e.charAt(t);for(var f=!1;o===" "||o===" "||o===` 4`||o==="\r"||o==="\f";)f=!0,t++,o=e.charAt(t);return f}function p(){var f=m();if(t<l)throw Error('Rule expected but "'+e.charAt(t)+'" found.');return f}function m(){var f=E();if(!f)return null;var h=f;for(o=e.charAt(t);o===",";){if(t++,u(),h.type!=="selectors"&&(h={type:"selectors",selectors:[f]}),f=E(),!f)throw Error('Rule expected after ",".');h.selectors.push(f)}return h}function E(){u();var f={type:"ruleSet"},h=O();if(!h)return null;for(var g=f;h&&(h.type="rule",g.rule=h,g=h,u(),o=e.charAt(t),!(t>=l||o===","||o===")"));)if(n[o]){var v=o;if(t++,u(),h=O(),!h)throw Error('Rule expected after "'+v+'".');h.nestingOperator=v}else h=O(),h&&(h.nestingOperator=null);return f}function O(){for(var f=null;t<l;)if(o=e.charAt(t),o==="*")t++,(f=f||{}).tagName="*";else if(b.isIdentStart(o)||o==="\\")(f=f||{}).tagName=c();else if(o===".")t++,f=f||{},(f.classNames=f.classNames||[]).push(c());else if(o==="#")t++,(f=f||{}).id=c();else if(o==="["){t++,u();var h={name:c()};if(u(),o==="]")t++;else{var g="";if(i[o]&&(g=o,t++,o=e.charAt(t)),t>=l)throw Error('Expected "=" but end of file reached.');if(o!=="=")throw Error('Expected "=" but "'+o+'" found.');h.operator=g+"=",t++,u();var v="";if(h.valueType="string",o==='"')v=d('"',b.doubleQuotesEscapeChars);else if(o==="'")v=d("'",b.singleQuoteEscapeChars);else if(s&&o==="$")t++,v=c(),h.valueType="substitute";else{for(;t<l&&o!=="]";)v+=o,t++,o=e.charAt(t);v=v.trim()}if(u(),t>=l)throw Error('Expected "]" but end of file reached.');if(o!=="]")throw Error('Expected "]" but "'+o+'" found.');t++,h.value=v}f=f||{},(f.attrs=f.attrs||[]).push(h)}else if(o===":"){t++;var _=c(),P={name:_};if(o==="("){t++;var S="";if(u(),r[_]==="selector")P.valueType="selector",S=m();else{if(P.valueType=r[_]||"string",o==='"')S=d('"',b.doubleQuotesEscapeChars);else if(o==="'")S=d("'",b.singleQuoteEscapeChars);else if(s&&o==="$")t++,S=c(),P.valueType="substitute";else{for(;t<l&&o!==")";)S+=o,t++,o=e.charAt(t);S=S.trim()}u()}if(t>=l)throw Error('Expected ")" but end of file reached.');if(o!==")")throw Error('Expected ")" but "'+o+'" found.');t++,P.value=S}f=f||{},(f.pseudos=f.pseudos||[]).push(P)}else break;return f}return p()}te.parseCssSelector=Dt});var Pe=F(re=>{"use strict";
4Object.defineProperty(re,"__esModule",{value:!0});var x=ee();function H(e){var t="";switch(e.type){case"ruleSet":for(var r=e.rule,i=[];r;)r.nestingOperator&&i.push(r.nestingOperator),i.push(H(r)),r=r.rule;t=i.join(" ");break;case"selectors":t=e.selectors.map(H).join(", ");break;case"rule":e.tagName&&(e.tagName==="*"?t="*":t=x.escapeIdentifier(e.tagName)),e.id&&(t+="#"+x.escapeIdentifier(e.id)),e.classNames&&(t+=e.classNames.map(function(n){return"."+x.escapeIdentifier(n)}).join("")),e.attrs&&(t+=e.attrs.map(function(n){return"operator"in n?n.valueType==="substitute"?"["+x.escapeIdentifier(n.name)+n.operator+"$"+n.value+"]":"["+x.escapeIdentifier(n.name)+n.operator+x.escapeStr(n.value)+"]":"["+x.escapeIdentifier(n.name)+"]"}).join("")),e.pseudos&&(t+=e.pseudos.map(function(n){return n.valueType?n.valueType==="selector"?":"+x.escapeIdentifier(n.name)+"("+H(n.value)+")":n.valueType==="substitute"?":"+x.escapeIdentifier(n.name)+"($"+n.value+")":n.valueType==="numeric"?":"+x.escapeIdentifier(n.name)+"("+n.value+")":":"+x.escapeIdentifier(n.name)+"("+x.escapeIdentifier(n.value)+")":":"+x.escapeIdentifier(n.name)}).join(""));break;default:throw Error('Unknown entity type: "'+e.type+'".')}return t}re.renderEntity=H});var Fe=F(ne=>{"use strict";Object.defineProperty(ne,"__esModule",{value:!0});var $t=Oe(),Ut=Pe(),It=function(){function e(){this.pseudos={},this.attrEqualityMods={},this.ruleNestingOperators={},this.substitutesEnabled=!1}return e.prototype.registerSelectorPseudos=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];for(var i=0,n=t;i<n.length;i++){var s=n[i];this.pseudos[s]="selector"}return this},e.prototype.unregisterSelectorPseudos=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];for(var i=0,n=t;i<n.length;i++){var s=n[i];delete this.pseudos[s]}return this},e.prototype.registerNumericPseudos=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];for(var i=0,n=t;i<n.length;i++){var s=n[i];this.pseudos[s]="numeric"}return this},e.prototype.unregisterNumericPseudos=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];for(var i=0,n=t;i<n.length;i++){var s=n[i];delete this.pseudos[s]}return this},e.prototype.registerNestingOperators=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];for(var i=0,n=t;i<n.length;i++){var s=n[i];this.ruleNestingOperators[s]=!0}return this},e.prototype.unregisterNestingOperators=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];for(var i=0,n=t;i<n.length;i++){var s=n[i];delete this.ruleNestingOperators[s]}return this},e.prototype.registerAttrEqualityMods=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];for(var i=0,n=t;i<n.length;i++){var s=n[i];this.attrEqualityMods[s]=!0}return this},e.prototype.unregisterAttrEqualityMods=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];for(var i=0,n=t;i<n.length;i++){var s=n[i];delete this.attrEqualityMods[s]}return this},e.prototype.enableSubstitutes=function(){return this.substitutesEnabled=!0,this},e.prototype.disableSubstitutes=function(){return this.substitutesEnabled=!1,this},e.prototype.parse=function(t){return $t.parseCssSelector(t,0,this.pseudos,this.attrEqualityMods,this.ruleNestingOperators,this.substitutesEnabled)},e.prototype.render=function(t){return Ut.renderEntity(t).trim()},e}();ne.CssSelectorParser=It});var Ne=e=>crypto.getRandomValues(new Uint8Array(e)),Ve=(e,t,r)=>{let i=(2<<Math.log2(e.length-1))-1,n=-~(1.6*i*t/e.length);return(s=t)=>{let l="";for(;;){let o=r(n),d=n|0;for(;d--;)if(l+=e[o[d]&i]||"",l.length>=s)return l}}},X=(e,t=21)=>Ve(e,t|0,Ne);function pe(e,t){return t?.note&&(e.note=t.note),t?.url&&(e.url=t.url),t?.ruleId&&(e.ruleId=t.ruleId),t?.key&&(e.key=t.key),t?.fatal&&(e.fatal=!0),e}function k(e,t,r){return pe(e.message(t,r?.node,r?.source),{...r,fatal:!0})}function Z(e,t,r){return pe(e.message(t,r?.node,r?.source),r)}var fe="abcdefghijklmnopqrstuvwxyz",he=fe+fe.toUpperCase(),ze="0123456789",He=X(he,1),Je=X(he+ze,9);function qe(){return He()+Je()}function Qe(e){if(!e)return;let t=e.replace(/[\t\n\r ]+/g," ").replace(/['ââ"ââ]+/g,"").trim().toLowerCase(),r=me(t);return{identifier:t,label:e,html_id:r}}function me(e){if(e)return e.toLowerCase().replace(/[^a-z0-9-]/g,"-").replace(/^([0-9-])/,"id-$1").replace(/-[-]+/g,"-").replace(/(?:^[-]+)|(?:[-]+$)/g,"")}function We(e,t,r){e.label&&(t.label&&r&&t.label!==e.label&&Z(r,`label "${t.label}" replaced with "${e.label}"`,{node:t}),t.label&&r&&t.label===e.label&&Z(r,`duplicate label "${t.label}" replacement`,{node:t}),t.label=e.label,delete e.label),e.identifier&&(t.identifier=e.identifier,delete e.identifier),e.html_id&&(t.html_id=e.html_id,delete e.html_id),e.indexEntries&&(t.indexEntries||(t.indexEntries=[]),t.indexEntries.push(...e.indexEntries),delete e.indexEntries)}function ge(e,t){if(!e.children)return[e];let r=e.children.map(i=>ge(i,t)).flat();return e.type===t?(e&&e.children==null&&delete e.children,r):(e.children=r,[e])}function Xe(e,t){e.children&&(e.children=e.children.map(r=>ge(r,t)).flat())}function Ze(e,t){e.children=[{type:"text",value:t}]}function M(e){return e?Array.isArray(e)?e.map(t=>!t||typeof t=="string"?t||"":"value"in t?t.value:"children"in t&&t.children?M(t.children):"").join(""):M([e]):""}function I(e){return structuredClone(e)}function Ye(e){return{attention:"Attention",caution:"Caution",danger:"Danger",error:"Error",important:"Important",hint:"Hint",note:"Note",seealso:"See Also",tip:"Tip",warning:"Warning"}[e]||`Unknown Admonition "${e}"`}function Ge(e,t,r){if(!t||t?.length===0)return"";let i=(r-e.length-4)/2,n="".padEnd(Math.ceil(i),"%"),s="".padEnd(Math.floor(i),"%");return`${`${n} ${e} ${s} 5`}${t.join(` 6`)} 7`}function Ke(e){var t;if(!e.data)return[];let r=(t=e.data.tags)!==null&&t!==void 0?t:[];
7return Object.entries(e.data).forEach(([i,n])=>{(n===!0||typeof n=="string"&&n.toLowerCase()==="true")&&r.push(i)}),r.map(i=>i.toLowerCase())}function Re(e){if(e!=null)return e.replace(/\.index$/,"").replace(/\./g,"/")}var ve={}.hasOwnProperty;function B(e,t){let r=t||{};function i(n,...s){let l=i.invalid,o=i.handlers;if(n&&ve.call(n,e)){let d=String(n[e]);l=ve.call(o,d)?o[d]:i.unknown}if(l)return l.call(this,n,...s)}return i.handlers=r.handlers||{},i.invalid=r.invalid,i.unknown=r.unknown,i}var et=B("operator",{unknown:st,invalid:xe,handlers:{"=":tt,"^=":nt,"$=":it,"*=":ot,"~=":rt}});function ye(e,t){let r=-1;for(;++r<e.attrs.length;)if(!et(e.attrs[r],t))return!1;return!0}function xe(e,t){return t[e.name]!==null&&t[e.name]!==void 0}function tt(e,t){return xe(e,t)&&String(t[e.name])===e.value}function rt(e,t){let r=t[e.name];return r==null?!1:Array.isArray(r)&&r.includes(e.value)?!0:String(r)===e.value}function nt(e,t){let r=t[e.name];return Boolean(e.value&&typeof r=="string"&&r.slice(0,e.value.length)===e.value)}function it(e,t){let r=t[e.name];return Boolean(e.value&&typeof r=="string"&&r.slice(-e.value.length)===e.value)}function ot(e,t){let r=t[e.name];return Boolean(e.value&&typeof r=="string"&&r.includes(e.value))}function st(e){throw new Error("Unknown operator `"+e.operator+"`")}function be(e,t){return e.tagName==="*"||e.tagName===t.type}var at=new Set([9,10,12,13,32]),we="0".charCodeAt(0),lt="9".charCodeAt(0);function Ce(e){if(e=e.trim().toLowerCase(),e==="even")return[2,0];if(e==="odd")return[2,1];let t=0,r=0,i=s(),n=l();if(t<e.length&&e.charAt(t)==="n"&&(t++,r=i*(n??1),o(),t<e.length?(i=s(),o(),n=l()):i=n=0),n===null||t<e.length)throw new Error(`n-th rule couldn't be parsed ('${e}')`);return[r,i*n];function s(){return e.charAt(t)==="-"?(t++,-1):(e.charAt(t)==="+"&&t++,1)}function l(){let d=t,c=0;for(;t<e.length&&e.charCodeAt(t)>=we&&e.charCodeAt(t)<=lt;)c=c*10+(e.charCodeAt(t)-we),t++;return t===d?null:c}function o(){for(;t<e.length&&at.has(e.charCodeAt(t));)t++}}var Y=ue(ke(),1);function Se(e){let t=e[0],r=e[1]-1;if(r<0&&t<=0)return Y.default.falseFunc;if(t===-1)return s=>s<=r;if(t===0)return s=>s===r;if(t===1)return r<0?Y.default.trueFunc:s=>s>=r;let i=Math.abs(t),n=(r%i+i)%i;return t>1?s=>s>=r&&s%i===n:s=>s<=r&&s%i===n}function N(e){return Se(Ce(e))}function A(e){return Array.isArray(e.children)}var ct=N.default||N,ut=B("name",{unknown:At,invalid:St,handlers:{any:G,blank:Ae,empty:Ae,"first-child":dt,"first-of-type":ft,has:pt,"last-child":ht,"last-of-type":mt,matches:G,not:gt,"nth-child":vt,"nth-last-child":yt,"nth-of-type":bt,"nth-last-of-type":xt,"only-child":wt,"only-of-type":Ct,root:Et,scope:kt}});K.needsIndex=["any","first-child","first-of-type","last-child","last-of-type","matches","not","nth-child","nth-last-child","nth-of-type","nth-last-of-type","only-child","only-of-type"];function K(e,t,r,i,n){let s=e.pseudos,l=-1;for(;++l<s.length;)if(!ut(s[l],t,r,i,n))return!1;return!0}function Ae(e,t){return A(t)?t.children.length===0:!("value"in t)}function dt(e,t,r,i,n){return w(n,e),n.nodeIndex===0}function ft(e,t,r,i,n){return w(n,e),n.typeIndex===0}function pt(e,t,r,i,n){let s={type:"root",children:A(t)?t.children:[]},l={...n,found:!1,shallow:!1,one:!0,scopeNodes:[t],results:[],rootQuery:j(e.value)};return T(l,s),l.results.length>0}function ht(e,t,r,i,n){return w(n,e),typeof n.nodeCount=="number"&&n.nodeIndex===n.nodeCount-1}function mt(e,t,r,i,n){return w(n,e),typeof n.typeCount=="number"&&n.typeIndex===n.typeCount-1}function G(e,t,r,i,n){let s={...n,found:!1,shallow:!1,one:!0,scopeNodes:[t],results:[],rootQuery:j(e.value)};return T(s,t),s.results[0]===t}function gt(e,t,r,i,n){return!G(e,t,r,i,n)}function vt(e,t,r,i,n){let s=V(e);return w(n,e),typeof n.nodeIndex=="number"&&s(n.nodeIndex)}function yt(e,t,r,i,n){let s=V(e);return w(n,e),typeof n.nodeCount=="number"&&typeof n.nodeIndex=="number"&&s(n.nodeCount-n.nodeIndex-1)}function xt(e,t,r,i,n){let s=V(e);return w(n,e),typeof n.typeIndex=="number"&&typeof n.typeCount=="number"&&s(n.typeCount-1-n.typeIndex)}function bt(e,t,r,i,n){let s=V(e);return w(n,e),typeof n.typeIndex=="number"&&s(n.typeIndex)}function wt(e,t,r,i,n){return w(n,e),n.nodeCount===1}function Ct(e,t,r,i,n){return w(n,e),n.typeCount===1}
7function Et(e,t,r,i){return t&&!i}function kt(e,t,r,i,n){return t&&n.scopeNodes.includes(t)}function St(){throw new Error("Invalid pseudo-selector")}function At(e){throw e.name?new Error("Unknown pseudo-selector `"+e.name+"`"):new Error("Unexpected pseudo-element or empty pseudo-class")}function w(e,t){if(e.shallow)throw new Error("Cannot use `:"+t.name+"` without parent")}function V(e){let t=e._cachedFn;return t||(t=ct(e.value),e._cachedFn=t),t}function Te(e,t,r,i,n){if(e.id)throw new Error("Invalid selector: id");if(e.classNames)throw new Error("Invalid selector: class");return Boolean(t&&(!e.tagName||be(e,t))&&(!e.attrs||ye(e,t))&&(!e.pseudos||K(e,t,r,i,n)))}var Tt=[];function j(e){return e===null?{type:"selectors",selectors:[]}:e.type==="ruleSet"?{type:"selectors",selectors:[e]}:e}function T(e,t){t&&Le(e,[],t,void 0,void 0)}function Le(e,t,r,i,n){let s={directChild:void 0,descendant:void 0,adjacentSibling:void 0,generalSibling:void 0};return s=Lt(e,z(t,e.rootQuery.selectors),r,i,n),A(r)&&!e.shallow&&!(e.one&&e.found)&&_t(e,s,r),s}function _t(e,t,r){let i=z(t.descendant,t.directChild),n,s=-1,l={count:0,types:new Map},o={count:0,types:new Map};for(;++s<r.children.length;)_e(l,r.children[s]);for(s=-1;++s<r.children.length;){let c=r.children[s].type.toUpperCase();e.nodeIndex=o.count,e.typeIndex=o.types.get(c)||0,e.nodeCount=l.count,e.typeCount=l.types.get(c);let u=z(i,n),p=Le(e,u,r.children[s],s,r);if(n=z(p.generalSibling,p.adjacentSibling),e.one&&e.found)break;_e(o,r.children[s])}}function Lt(e,t,r,i,n){let s={directChild:void 0,descendant:void 0,adjacentSibling:void 0,generalSibling:void 0},l=-1;for(;++l<t.length;){let o=t[l];if(e.one&&e.found)break;if(e.shallow&&o.rule.rule)throw new Error("Expected selector without nesting");if(Te(o.rule,r,i,n,e)){let d=o.rule.rule;if(d){let c={type:"ruleSet",rule:d},u=d.nestingOperator==="+"?"adjacentSibling":d.nestingOperator==="~"?"generalSibling":d.nestingOperator===">"?"directChild":"descendant";R(s,u,c)}else e.found=!0,e.results.includes(r)||e.results.push(r)}o.rule.nestingOperator===null?R(s,"descendant",o):o.rule.nestingOperator==="~"&&R(s,"generalSibling",o)}return s}function z(e,t){return e&&t&&e.length>0&&t.length>0?[...e,...t]:e&&e.length>0?e:t&&t.length>0?t:Tt}function R(e,t,r){let i=e[t];i?i.push(r):e[t]=[r]}function _e(e,t){let r=t.type.toUpperCase(),i=(e.types.get(r)||0)+1;e.count++,e.types.set(r,i)}var Me=ue(Fe(),1),J=new Me.CssSelectorParser;J.registerAttrEqualityMods("~","^","$","*");J.registerSelectorPseudos("any","matches","not","has");J.registerNestingOperators(">","+","~");function je(e){if(typeof e!="string")throw new TypeError("Expected `string` as selector, not `"+e+"`");return J.parse(e)}function Mr(e,t){let r=ie(e,t);return r.one=!0,r.shallow=!0,T(r,t||void 0),r.results.length>0}function jr(e,t){let r=ie(e,t);return r.one=!0,T(r,t||void 0),r.results[0]||null}function L(e,t){let r=ie(e,t);return T(r,t||void 0),r.results}function ie(e,t){return{rootQuery:j(je(e)),results:[],scopeNodes:t?A(t)&&(t.type==="RootNode"||t.type==="root")?t.children:[t]:[],one:!1,shallow:!1,found:!1,typeIndex:void 0,nodeIndex:void 0,typeCount:void 0,nodeCount:void 0}}var Bt=[],q=function(e,t,r){let i=de(r||t),n=!t||t.cascade===void 0||t.cascade===null?!0:t.cascade;return s(e);function s(l,o,d){let c=l.children||Bt,u=-1,p=0;if(i(l,o,d))return null;if(c.length>0){for(;++u<c.length;)s(c[u],u,l)&&(c[p++]=c[u]);if(n&&!p)return null;c.length=p}return l}};var Nt=["abstract","summary","keypoints","dedication","epigraph","data_availability","acknowledgments"],Nr=["title","subtitle","short_title","description","thumbnail","thumbnailOptimized","banner","bannerOptimized","tags","authors","reviewers","editors","contributors","venue","github","keywords","affiliations","funding","copyright","options","parts","social",...Nt],De={author:"authors",reviewer:"reviewers",editor:"editors",contributor:"contributors",affiliation:"affiliations",export:"exports",download:"downloads",jupyter:"thebe",part:"parts",ack:"acknowledgments",acknowledgements:"acknowledgments",acknowledgment:"acknowledgments",acknowledgement:"acknowledgments",availability:"data_availability",dataAvailability:"data_availability","data-availability":"data_availability",quote:"epigraph",plain_language_summary:"summary","plain-language-summary":"summary",plainLanguageSummary:"summary",lay_summary:"summary","lay-summary":"summary",keyPoints:"keypoints",key_points:"keypoints","key-points":"keypoints",image:"thumbnail",identifier:"identifiers",socials:"social"};function D(e){if(!e)return[];if(typeof e=="string")return D([e]);let t=[];return e.map(r=>
7r.toLowerCase()).forEach(r=>{t.push(r),Object.entries(De).forEach(([i,n])=>{(r===i||r===n)&&(t.includes(n)||t.unshift(n),t.includes(i)||t.push(i))})}),t}function $e(e,t){let r=D(t);return r.length===0?[]:L("block",e).filter(n=>{var s,l,o;let d=(!((s=n.data)===null||s===void 0)&&s.tags&&Array.isArray(n.data.tags)?n.data.tags:[]).map(u=>u?.toLowerCase()),c=(o=(l=n.data)===null||l===void 0?void 0:l.part)===null||o===void 0?void 0:o.toLowerCase();return r.map(u=>c===u||d.includes(u)).reduce((u,p)=>u||p,!1)})}function Vt(e,t){if(!e)return[];let r=D(t);if(r.length===0)return[];let i=[];return r.forEach(n=>{Object.entries(e).forEach(([s,l])=>{n===s.toLowerCase()&&i.push(...l.mdast.children)})}),i}function zt(e,t,r){var i;let n={type:"block",children:e};return r?.removePartData||((i=n.data)!==null&&i!==void 0||(n.data={}),n.data.part=t),n}function Ue(e,t){let r=q(e,t);return r||(r=q(e,{cascade:!1},t)),r}function Ie(e,t,r){var i;let n=D(t);if(n.length===0)return;let s=!1,l=[],o=[];if((i=e.children)===null||i===void 0||i.forEach((c,u)=>{var p;if(s&&c.type==="paragraph"&&(o.push(I(c)),c.type="__part_delete__"),(c.type!=="__part_delete__"||u===e.children.length-1)&&(s=!1,o.length>0&&(l.push(zt(o,n[0],r)),o=[],L("__part_heading__",e).forEach(m=>{m.type="__part_delete__"}))),c.type==="block"){if(!((p=c.data)===null||p===void 0)&&p.part||e.type!=="root")return;let m=Ie(c,n);m&&l.push(...m.children)}else c.type==="heading"&&n.includes(M(c).toLowerCase())&&(s=!0,c.type="__part_heading__")}),L("__part_heading__",e).forEach(c=>{c.type="heading"}),l.length===0)return;let d={type:"root",children:l};return Ue(e,"__part_delete__"),d}function Ht(e,t,r){let i=D(t);if(i.length===0)return;let n=Vt(r?.frontmatterParts,t),s=$e(e,t);if(n.length===0&&s.length===0)return r?.requireExplicitPart?void 0:Ie(e,i);let o={type:"root",children:I(n.length>0?n:s).map(d=>{var c;return(c=d.data)!==null&&c!==void 0||(d.data={}),d.data.part=i[0],d.data.tags&&Array.isArray(d.data.tags)&&d.data.tags.reduce((u,p)=>u||i.includes(p.toLowerCase()),!1)&&(d.data.tags=d.data.tags.filter(u=>!i.includes(u.toLowerCase())),d.data.tags.length===0&&delete d.data.tags),r?.removePartData&&delete d.data.part,r?.keepVisibility||delete d.visibility,d})};return s.forEach(d=>{d.type="__delete__"}),Ue(e,"__delete__"),o}var a;(function(e){e.validConfigStructure="valid-config-structure",e.siteConfigExists="site-config-exists",e.projectConfigExists="project-config-exists",e.validSiteConfig="valid-site-config",e.validProjectConfig="valid-project-config",e.configHasNoDeprecatedFields="config-has-no-deprecated-fields",e.frontmatterIsYaml="frontmatter-is-yaml",e.validPageFrontmatter="valid-page-frontmatter",e.validFrontmatterExportList="valid-frontmatter-export-list",e.docxRenders="docx-renders",e.jatsRenders="jats-renders",e.mdRenders="md-renders",e.mecaIncludesJats="meca-includes-jats",e.mecaExportsBuilt="meca-exports-built",e.mecaFilesCopied="meca-files-copied",e.pdfBuildCommandsAvailable="pdf-build-commands-available",e.pdfBuildsWithoutErrors="pdf-builds-without-errors",e.pdfBuilds="pdf-builds",e.texRenders="tex-renders",e.exportExtensionCorrect="export-extension-correct",e.exportArticleExists="export-article-exists",e.texParses="tex-parses",e.jatsParses="jats-parses",e.mystFileLoads="myst-file-loads",e.selectedFileIsProcessed="selected-file-is-processed",e.directiveRegistered="directive-registered",e.directiveKnown="directive-known",e.directiveArgumentCorrect="directive-argument-correct",e.directiveOptionsCorrect="directive-options-correct",e.directiveBodyCorrect="directive-body-correct",e.roleRegistered="role-registered",e.roleKnown="role-known",e.roleBodyCorrect="role-body-correct",e.tocContentsExist="toc-contents-exist",e.encounteredLegacyTOC="encountered-legacy-toc",e.validTOCStructure="valid-toc-structure",e.validTOC="valid-toc",e.imageDownloads="image-downloads",e.imageExists="image-exists",e.imageFormatConverts="image-format-converts",e.imageCopied="image-copied",e.imageFormatOptimizes="image-format-optimizes",e.mathLabelLifted="math-label-lifted",e.mathEquationEnvRemoved="math-equation-env-removed",e.mathEqnarrayReplaced="math-eqnarray-replaced",e.mathAlignmentAdjusted="math-alignment-adjusted",e.mathRenders="math-renders",e.referenceTemplateFills="reference-template-fills",e.identifierIsUnique="identifier-is-unique",e.referenceTargetResolves="reference-target-resolves",e.referenceSyntaxValid="reference-syntax-valid",e.referenceTargetExplicit="reference-target-explicit",e.footnoteReferencesDefinition="footnote-references-definition",e.intersphinxReferencesResolve="intersphinx-references-resolve",e.mystLinkValid="myst-link-valid",e.sphinxLinkValid="sphinx-link-valid",e.rridLinkValid="rrid-link-valid",e.rorLinkValid="ror-link-valid",e.wikipediaLinkValid="wikipedia-link-valid",e.doiLinkValid="doi-link-valid",e.linkResolves="link-resolves",e.linkTextExists="link-text-exists",e.notebookAttachmentsResolve="notebook-attachments-resolve",e.notebookOutputCopied="notebook-output-copied",e.mdastSnippetImports="mdast-snippet-imports",e.includeContentFilters="include-content-filters",e.includeContentLoads="include-content-loads",e.gatedNodesJoin="gated-nodes-join",e.glossaryUsesDefinitionList="glossary-uses-definition-list",e.blockMetadataLoads="block-metadata-loads",e.indexEntriesResolve="index-entries-resolve",e.citationIsUnique="citation-is-unique",e.bibFileExists="bib-file-exists",e.citationRenders="citation-renders",e.codeMetadataLifted="code-metadata-lifted",e.codeMetatagsValid="code-metatags-valid",e.codeLangDefined="code-lang-defined",e.codeMetadataLoads="code-metadata-loads",e.inlineCodeMalformed="inline-code-malformed",e.inline
7ExpressionRenders="inline-expression-renders",e.staticFileCopied="static-file-copied",e.exportFileCopied="export-file-copied",e.sourceFileCopied="source-file-copied",e.templateFileCopied="template-file-copied",e.staticActionFileCopied="static-action-file-copied",e.pluginLoads="plugin-loads",e.containerChildrenValid="container-children-valid",e.mystJsonValid="myst-json-valid",e.codeCellExecutes="code-cell-executes",e.inlineExpressionExecutes="inline-expression-executes"})(a||(a={}));var Jt={[a.validConfigStructure]:"Configuration file structure is valid and can be parsed",[a.siteConfigExists]:"Site configuration is found in project",[a.projectConfigExists]:"Project configuration file exists in the directory",[a.validSiteConfig]:"Site configuration passes validation",[a.validProjectConfig]:"Project configuration passes validation",[a.configHasNoDeprecatedFields]:"Configuration uses current field names without deprecated options",[a.frontmatterIsYaml]:"Frontmatter can be parsed as valid YAML",[a.validPageFrontmatter]:"Page frontmatter passes validation",[a.validFrontmatterExportList]:"Export list in frontmatter is valid for the specified format",[a.docxRenders]:"DOCX document renders without errors",[a.jatsRenders]:"JATS XML renders without errors",[a.mdRenders]:"Markdown output renders without errors",[a.mecaIncludesJats]:"MECA bundle contains required JATS file",[a.mecaExportsBuilt]:"MECA archive builds without errors",[a.mecaFilesCopied]:"MECA files copy to output successfully",[a.pdfBuildCommandsAvailable]:"Required PDF build tools (LaTeX/Typst) are installed",[a.pdfBuildsWithoutErrors]:"PDF compilation completes without LaTeX/Typst errors",[a.pdfBuilds]:"PDF file generates successfully",[a.texRenders]:"LaTeX/Typst document renders without errors",[a.exportExtensionCorrect]:"Export file has the correct extension for its format",[a.exportArticleExists]:"Article file specified in export configuration exists",[a.texParses]:"LaTeX content parses without syntax errors",[a.jatsParses]:"JATS XML parses without syntax errors",[a.mystFileLoads]:"MyST markdown file loads and parses successfully",[a.selectedFileIsProcessed]:"File specified for processing is found and processed",[a.directiveRegistered]:"Directive is registered without name conflicts",[a.directiveKnown]:"Directive name is recognized",[a.directiveArgumentCorrect]:"Directive argument matches specification",[a.directiveOptionsCorrect]:"Directive options are valid and properly formatted",[a.directiveBodyCorrect]:"Directive body content meets requirements",[a.roleRegistered]:"Role is registered without name conflicts",[a.roleKnown]:"Role name is recognized",[a.roleBodyCorrect]:"Role content meets requirements",[a.tocContentsExist]:"Files referenced in table of contents exist",[a.encounteredLegacyTOC]:"Table of contents uses deprecated format",[a.validTOCStructure]:"Table of contents structure passes schema validation",[a.validTOC]:"Table of contents is valid",[a.imageDownloads]:"Remote image downloads successfully",[a.imageExists]:"Image file exists at specified path",[a.imageFormatConverts]:"Image format converts successfully using available tools",[a.imageCopied]:"Image copies to output directory successfully",[a.imageFormatOptimizes]:"Image format optimizes successfully",[a.mathLabelLifted]:"Math equation label extracts successfully",[a.mathEquationEnvRemoved]:"Nested equation environment removes successfully",[a.mathEqnarrayReplaced]:"Deprecated eqnarray environment replaces with align",[a.mathAlignmentAdjusted]:"Math alignment adjusts successfully",[a.mathRenders]:"Math expression renders with KaTeX without errors",[a.referenceTemplateFills]:"Reference template populates with values successfully",[a.identifierIsUnique]:"Identifier is unique across the project",[a.referenceTargetResolves]:"Cross-reference target is found",[a.referenceSyntaxValid]:"Reference syntax is valid",[a.referenceTargetExplicit]:"Reference target is explicitly specified",[a.footnoteReferencesDefinition]:"Footnote reference links to an existing definition",[a.intersphinxReferencesResolve]:"Intersphinx cross-reference resolves to external documentation",[a.mystLinkValid]:"MyST-formatted link is valid",[a.sphinxLinkValid]:"Sphinx-style link is valid",[a.rridLinkValid]:"RRID (Research Resource Identifier) link is valid",[a.rorLinkValid]:"ROR (Research Organization Registry) link is valid",[a.wikipediaLinkValid]:"Wikipedia link is valid",[a.doiLinkValid]:"DOI (Digital Object Identifier) link is valid",[a.linkResolves]:"Link URL resolves successfully",[a.linkTextExists]:"Link has non-empty text content",[a.notebookAttachmentsResolve]:"Jupyter notebook attachments resolve and decode successfully",[a.notebookOutputCopied]:"Notebook cell output copies to disk successfully",[a.mdastSnippetImports]:"MDAST snippet imports successfully",[a.includeContentFilters]:"Include directive filters apply correctly",[a.includeContentLoads]:"Include directive loads target file successfully without circular dependencies",[a.gatedNodesJoin]:"Conditional content nodes merge correctly",[a.glossaryUsesDefinitionList]:"Glossary directive contains a definition list",[a.blockMetadataLoads]:"Block-level metadata loads and parses successfully",[a.indexEntriesResolve]:"Index entries resolve successfully",[a.citationIsUnique]:"Citation identifier is unique across bibliography files",[a.bibFileExists]:"Bibliography file specified in configuration exists",[a.citationRenders]:"Citation processes with citation-js successfully",[a.codeMetadataLifted]:"Co
7de cell metadata extracts without conflicts",[a.codeMetatagsValid]:"Code cell tags are valid",[a.codeLangDefined]:"Code block has a language specified",[a.codeMetadataLoads]:"Code metadata loads successfully",[a.inlineCodeMalformed]:"Inline code has either value or children but not both",[a.inlineExpressionRenders]:"Inline expression evaluates successfully",[a.staticFileCopied]:"Static file copies to output successfully",[a.exportFileCopied]:"Export output file copies to public directory successfully",[a.sourceFileCopied]:"Source file copies to output successfully",[a.templateFileCopied]:"Template file copies successfully",[a.staticActionFileCopied]:"Static action file copies successfully",[a.pluginLoads]:"Plugin loads and executes without errors",[a.containerChildrenValid]:"Container has valid child elements",[a.mystJsonValid]:"MyST JSON file is valid",[a.codeCellExecutes]:"Code cell executes without errors",[a.inlineExpressionExecutes]:"Inline expression evaluates without errors"};function qt(e,t){var r;let i=(r=typeof t=="number"?t:Array.isArray(t)?t?.length:Object.keys(t??{}).length)!==null&&r!==void 0?r:0;return e.replace("%s",String(i)).replace(/\((?:([a-z0-9A-Z-]*)\|)?([a-z0-9A-Z-]*)\)/g,i===1?"$1":"$2")}function Qt(e,{single:t,pair:r,triple:i,see:n,seealso:s},l,o){if(e.trim().length===0)return;let d=e.split(/(?<!\\):/).map(c=>c.trim().replace("\\:",":"));if(d.length>2)k(l,`Too many colons encountered in index line "${e}"`,{node:o,note:'Index entry must follow pattern "type: entry; sub entry"'});else if(d.length===2){let[c,u]=d;c==="single"?t.push(u):c==="pair"?r.push(u):c==="triple"?i.push(u):c==="see"?n.push(u):c==="seealso"?s.push(u):k(l,`Unknown index entry type "${c}"`,{node:o,note:"Allowed types include: single, pair, triple, see, and seealso"})}else t.push(...d[0].split(/(?<!\\),/).map(c=>c.trim().replace("\\,",",")))}function $(e){let t=e.startsWith("!"),r=e.replace(/^!/,"").replace(/^\\!/,"!").split(/(?<!\\);/).map(i=>i.trim().replace("\\;",";")).filter(i=>i!=="");return{emphasis:t,splitEntry:r}}function C(e,t,r,i){return{entry:e,subEntry:t?{value:t,kind:i??"entry"}:void 0,emphasis:r}}function Wt({single:e,pair:t,triple:r,see:i,seealso:n},s,l){let o=[];e.forEach(c=>{let{emphasis:u,splitEntry:p}=$(c);if(p.length!==1&&p.length!==2)k(s,`Unable to parse index "single" entry "${c}"`,{node:l,note:'Single index entry must follow pattern "entry" or "entry; sub entry"'});else{let[m,E]=p;o.push(C(m,E,u))}}),t.forEach(c=>{let{emphasis:u,splitEntry:p}=$(c);if(p.length!==2)k(s,`Unable to parse index "pair" entry "${c}"`,{node:l,note:'Pair index entry must follow pattern "entry; sub entry"'});else{let[m,E]=p;o.push(C(m,E,u)),o.push(C(E,m,u))}}),r.forEach(c=>{let{emphasis:u,splitEntry:p}=$(c);p.length!==3?k(s,`Unable to parse index "triple" entry "${c}"`,{node:l,note:'Triple index entry must follow pattern "entry one; entry two; entry three"'}):(o.push(C(p[0],p[1],u)),o.push(C(p[1],p[0],u)),o.push(C(p[1],p[2],u)),o.push(C(p[2],p[1],u)),o.push(C(p[0],p[2],u)),o.push(C(p[2],p[0],u)))});let d=(c,u)=>{let{emphasis:p,splitEntry:m}=$(c);if(m.length!==2)k(s,`Unable to parse index "${u}" entry "${c}"`,{node:l,note:'See index entry must follow pattern "entry; sub entry"'});else{let[E,O]=m;o.push(C(E,O,p,u))}};return i.forEach(c=>{d(c,"see")}),n.forEach(c=>{d(c,"seealso")}),o.length===0&&k(s,"No entries parsed from index directive",{node:l}),o}function Be(e){return!["crossReference","cite","footnoteDefinition","footnoteReference","captionNumber","link"].includes(e.type)}var Xt=new Set(["comment","mystComment"]);function Zt(e,t,r){let i=!1,n,s=[];return W(e,l=>{if(i&&l.type==="heading"||r&&s.length>=r)return U;if(l.identifier===t&&l.type==="heading"&&(i=!0,n=l.html_id||l.identifier),i)return Xt.has(l.type)||s.push(l),Q}),{htmlId:n,nodes:s}}function Yt(e,t,r){var i,n;let s=!1,l=[];return W(e,o=>{if(s&&o.type==="definitionTerm"){if(l.length>1)return U}else if(s&&o.type!=="definitionDescription")return U;if(o.identifier===t&&o.type==="definitionTerm"&&(l.push(o),s=!0),s)return o.type==="definitionDescription"&&l.push(o),Q}),{htmlId:((i=l?.[0])===null||i===void 0?void 0:i.html_id)||((n=l?.[0])===null||n===void 0?void 0:n.identifier),nodes:[{type:"definitionList",key:"dl",children:l.slice(0,r)}]}}function Gt(e,t,r){if(r===0)return{nodes:[]};let i=L(`[identifier=${t}],[key=${t}]`,e).find(n=>Be(n));if(!i)return{nodes:[]};switch(i.type){case"heading":return Zt(e,t,r);case"definitionTerm":return Yt(e,t,r);default:return{htmlId:i.html_id||i.identifier,nodes:[i]}}}var oe;(function(e){e.content="notebook-content",e.code="notebook-code"})(oe||(oe={}));var se;(function(e){e.removeStderr="remove-stderr",e.removeStdout="remove-stdout",e.hideCell="hide-cell",e.hideInput="hide-input",e.hideOutput="hide-output",e.removeCell="remove-cell",e.removeInput="remove-input",e.removeOutput="remove-output",e.scrollOutput="scroll-output",e.skipExecution="skip-execution",e.raisesException="raises-exception"})(se||(se={}));var ae;(function(e){e.string="string",e.number="number",e.boolean="boolean",e.parsed="parsed"})(ae||(ae={}));var le;(function(e){e.heading="heading",e.equation="equation",e.subequation="subequation",e.figure="figure",e.table="table",e.code="code"})(le||(le={}));var ce;(function(e){e.admonition="admonition",e.attention="attention",e.caution="caution",e.danger="danger",e.error="error",e.important="important",e.hint="hint",e.note="note",e.seealso="seealso",e.tip="tip",e.warning="warning"})(ce||(ce={}));
7export{k as a,Z as b,qe as c,Qe as d,me as e,We as f,Xe as g,Ze as h,M as i,I as j,Ye as k,Ge as l,Ke as m,Re as n,qt as o,q as p,B as q,Mr as r,jr as s,L as t,Nt as u,Nr as v,De as w,$e as x,Ht as y,Qt as z,Wt as A,a as B,Be as C,Gt as D,oe as E,ae as F,le as G,ce as H};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.