@visulima/ono 1.0.5 → 1.0.7

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/CHANGELOG.md CHANGED
@@ -1,3 +1,27 @@
1
+ ## @visulima/ono [1.0.7](https://github.com/visulima/visulima/compare/@visulima/ono@1.0.6...@visulima/ono@1.0.7) (2025-10-21)
2
+
3
+ ### Bug Fixes
4
+
5
+ * allowed node v25 ([4b3023b](https://github.com/visulima/visulima/commit/4b3023bf2423b85e118af49ade096aec7534653f))
6
+
7
+
8
+ ### Dependencies
9
+
10
+ * **@visulima/error:** upgraded to 5.0.2
11
+ * **@visulima/path:** upgraded to 2.0.1
12
+
13
+ ## @visulima/ono [1.0.6](https://github.com/visulima/visulima/compare/@visulima/ono@1.0.5...@visulima/ono@1.0.6) (2025-10-20)
14
+
15
+ ### Bug Fixes
16
+
17
+ * **deps:** update minor updates ([#455](https://github.com/visulima/visulima/issues/455)) ([cebf7dc](https://github.com/visulima/visulima/commit/cebf7dcdc7f6ca423ad141f90f6c30279f5fa392))
18
+ * **deps:** update patch updates ([#452](https://github.com/visulima/visulima/issues/452)) ([4da5cbd](https://github.com/visulima/visulima/commit/4da5cbd411ccd961be7fd6f454aaec841e220b5e))
19
+
20
+
21
+ ### Dependencies
22
+
23
+ * **@visulima/error:** upgraded to 5.0.1
24
+
1
25
  ## @visulima/ono [1.0.5](https://github.com/visulima/visulima/compare/@visulima/ono@1.0.4...@visulima/ono@1.0.5) (2025-10-15)
2
26
 
3
27
  ### Bug Fixes
package/dist/index.js CHANGED
@@ -1,15 +1,15 @@
1
- var Ao=Object.defineProperty;var f=(e,t)=>Ao(e,"name",{value:t,configurable:!0});import{createRequire as Do}from"node:module";import{parseStacktrace as Ut}from"@visulima/error/stacktrace";import{renderError as zo,getErrorCauses as Bo}from"@visulima/error/error";import{ruleBasedFinder as Vt,errorHintFinder as Zt}from"@visulima/error/solution";import{s as S,a as E,b as jo,c as _o,d as Fo,n as xt,e as kt,f as Mo}from"./packem_shared/clipboard-BeHvxj0X.js";import{t as Oo,g as Po}from"./packem_shared/process-B37didfB.js";import{parseStacktrace as st,codeFrame as it}from"@visulima/error";import Gt from"@visulima/error/solution/ai/prompt";const Ht=Do(import.meta.url),ie=typeof globalThis<"u"&&typeof globalThis.process<"u"?globalThis.process:process,Re=f(e=>{if(typeof ie<"u"&&ie.versions&&ie.versions.node){const[t,o]=ie.versions.node.split(".").map(Number);if(t>22||t===22&&o>=3||t===20&&o>=16)return ie.getBuiltinModule(e)}return Ht(e)},"__cjs_getBuiltinModule"),{createRequire:Io}=Re("node:module"),{readFile:Lo}=Re("node:fs/promises"),{fileURLToPath:Ro}=Re("node:url"),Ke=Ht("isomorphic-dompurify"),{createHash:No}=Re("node:crypto");var qo=Object.defineProperty,R=f((e,t)=>qo(e,"name",{value:t,configurable:!0}),"y$4"),Wo=Object.defineProperty,$=R((e,t)=>Wo(e,"name",{value:t,configurable:!0}),"w");const Ho=Io(import.meta.url),te=typeof globalThis<"u"&&typeof globalThis.process<"u"?globalThis.process:process,lt=$(e=>{if(typeof te<"u"&&te.versions&&te.versions.node){const[t,o]=te.versions.node.split(".").map(Number);if(t>22||t===22&&o>=3||t===20&&o>=16)return te.getBuiltinModule(e)}return Ho(e)},"__cjs_getBuiltinModule"),ne=te,{execFileSync:Uo}=lt("node:child_process"),xe=lt("node:fs"),Vo=lt("node:tty");var Zo=Object.defineProperty,Go=$((e,t)=>Zo(e,"name",{value:t,configurable:!0}),"p$3"),Ko=Object.defineProperty,Kt=Go((e,t)=>Ko(e,"name",{value:t,configurable:!0}),"R"),Qo=Object.defineProperty,Jo=Kt((e,t)=>Qo(e,"name",{value:t,configurable:!0}),"E");const Qt=String.raw,yt=Qt`\p{Emoji}(?:\p{EMod}|[\u{E0020}-\u{E007E}]+\u{E007F}|\uFE0F?\u20E3?)`,Xo=Jo(()=>new RegExp(Qt`\p{RI}{2}|(?![#*\d](?!\uFE0F?\u20E3))${yt}(?:\u200D${yt})*`,"gu"),"default");var Yo=Object.defineProperty,er=Kt((e,t)=>Yo(e,"name",{value:t,configurable:!0}),"p");const ae=new Set(["\x1B","›"]),je="\x07",Jt="[",ct="m",Ae="]8;;",tr=39,or=/[\u200B\uFEFF\u2060-\u2064]/g,rr=new RegExp(`(?:\\${Jt}(?<code>\\d+)m|\\${Ae}(?<uri>.*)${je})`),nr=Object.freeze(new Map([[0,0],[1,22],[2,22],[3,23],[4,24],[7,27],[8,28],[9,29],[30,39],[31,39],[32,39],[33,39],[34,39],[35,39],[36,39],[37,39],[40,49],[41,49],[42,49],[43,49],[44,49],[45,49],[46,49],[47,49],[90,39]])),le=/[\u001B\u009B](?:[[()#;?]{0,10}(?:\d{1,4}(?:;\d{0,4})*)?[0-9A-ORZcf-nqry=><]|\]8;;[^\u0007\u001B]{0,100}(?:\u0007|\u001B\\))/g,ke=/[\u0000-\u0008\n-\u001F\u007F-\u009F]{1,1000}/y,Se=Xo();er(e=>e.replace(Se,""),"stripEmoji");var ar=Object.defineProperty,N=$((e,t)=>ar(e,"name",{value:t,configurable:!0}),"f$1"),sr=Object.defineProperty,j=N((e,t)=>sr(e,"name",{value:t,configurable:!0}),"c"),ir=Object.defineProperty,_e=j((e,t)=>ir(e,"name",{value:t,configurable:!0}),"E");function V(e){return e===161||e===164||e===167||e===168||e===170||e===173||e===174||e>=176&&e<=180||e>=182&&e<=186||e>=188&&e<=191||e===198||e===208||e===215||e===216||e>=222&&e<=225||e===230||e>=232&&e<=234||e===236||e===237||e===240||e===242||e===243||e>=247&&e<=250||e===252||e===254||e===257||e===273||e===275||e===283||e===294||e===295||e===299||e>=305&&e<=307||e===312||e>=319&&e<=322||e===324||e>=328&&e<=331||e===333||e===338||e===339||e===358||e===359||e===363||e===462||e===464||e===466||e===468||e===470||e===472||e===474||e===476||e===593||e===609||e===708||e===711||e>=713&&e<=715||e===717||e===720||e>=728&&e<=731||e===733||e===735||e>=768&&e<=879||e>=913&&e<=929||e>=931&&e<=937||e>=945&&e<=961||e>=963&&e<=969||e===1025||e>=1040&&e<=1103||e===1105||e===8208||e>=8211&&e<=8214||e===8216||e===8217||e===8220||e===8221||e>=8224&&e<=8226||e>=8228&&e<=8231||e===8240||e===8242||e===8243||e===8245||e===8251||e===8254||e===8308||e===8319||e>=8321&&e<=8324||e===8364||e===8451||e===8453||e===8457||e===8467||e===8470||e===8481||e===8482||e===8486||e===8491||e===8531||e===8532||e>=8539&&e<=8542||e>=8544&&e<=8555||e>=8560&&e<=8569||e===8585||e>=8592&&e<=8601||e===8632||e===8633||e===8658||e===8660||e===8679||e===8704||e===8706||e===8707||e===8711||e===8712||e===8715||e===8719||e===8721||e===8725||e===8730||e>=8733&&e<=8736||e===8739||e===8741||e>=8743&&e<=8748||e===8750||e>=8756&&e<=8759||e===8764||e===8765||e===8776||e===8780||e===8786||e===8800||e===8801||e>=8804&&e<=8807||e===8810||e===8811||e===8814||e===8815||e===8834||e===8835||e===8838||e===8839||e===8853||e===8857||e===8869||e===8895||e===8978||e>=9312&&e<=9449||e>=9451&&e<=9547||e>=9552&&e<=9587||e>=9600&&e<=9615||e>=9618&&e<=9621||e===9632||e===9633||e>=9635&&e<=9641||e===9650||e===9651||e===9654||e===9655||e===9660||e===9661||e===9664||e===9665||e>=9670&&e<=9672||e===9675||e>=9678&&e<=9681||e>=9698&&e<=9701||e===9711||e===9733||e===9734||e===9737||e===9742||e===9743||e===9756||e===9758||e===9792||e===9794||e===9824||e===9825||e>=9827&&e<=9829||e>=9831&&e<=9834||e===9836||e===9837||e===9839||e===9886||e===9887||e===9919||e>=9926&&e<=9933||e>=9935&&e<=9939||e>=9941&&e<=9953||e===9955||e===9960||e===9961||e>=9963&&e<=9969||e===9972||e>=9974&&e<=9977||e===9979||e===9980||e===9982||e===9983||e===10045||e>=10102&&e<=10111||e>=11094&&e<=11097||e>=12872&&e<=12879||e>=57344&&e<=63743||e>=65024&&e<=65039||e===65533||e>=127232&&e<=127242||e>=127248&&e<=127277||e>=127280&&e<=127337||e>=127344&&e<=127373||e===127375||e===127376||e>=127387&&e<=127404||e>=917760&&e<=917999||e>=983040&&e<=1048573||e>=1048576&&e<=1114109}f(V,"N");R(V,"L");$(V,"A$1");N(V,"j");j(V,"A");_e(V,"isAmbiguous");function q(e){return e===12288||e>=65281&&e<=65376||e>=65504&&e<=65510}f(q,"B$3");R(q,"I");$(q,"p$2");N(q,"x");j(q,"B");_e(q,"isFullWidth");function W(e){return e>=4352&&e<=4447||e===8986||e===8987||e===9001||e===9002||e>=9193&&e<=9196||e===9200||e===9203||e===9725||e===9726||e===9748||e===9749||e>=9776&&e<=9783||e>=9800&&e<=9811||e===9855||e>=9866&&e<=9871||e===9875||e===9889||e===9898||e===9899||e===9917||e===9918||e===9924||e===9925||e===9934||e===9940||e===9962||e===9970||e===9971||e===9973||e===9978||e===9981||e===9989||e===9994||e===9995||e===10024||e===10060||e===10062||e>=10067&&e<=10069||e===10071||e>=10133&&e<=10135||e===10160||e===10175||e===11035||e===11036||e===11088||e===11093||e>=11904&&e<=11929||e>=11931&&e<=12019||e>=12032&&e<=12245||e>=12272&&e<=12287||e>=12289&&e<=12350||e>=12353&&e<=12438||e>=12441&&e<=12543||e>=12549&&e<=12591||e>=12593&&e<=12686||e>=12688&&e<=12773||e>=12783&&e<=12830||e>=12832&&e<=12871||e>=12880&&e<=42124||e>=42128&&e<=42182||e>=43360&&e<=43388||e>=44032&&e<=55203||e>=63744&&e<=64255||e>=65040&&e<=65049||e>=65072&&e<=65106||e>=65108&&e<=65126||e>=65128&&e<=65131||e>=94176&&e<=94180||e===94192||e===94193||e>=94208&&e<=100343||e>=100352&&e<=101589||e>=101631&&e<=101640||e>=110576&&e<=110579||e>=110581&&e<=110587||e===110589||e===110590||e>=110592&&e<=110882||e===110898||e>=110928&&e<=110930||e===110933||e>=110948&&e<=110951||e>=110960&&e<=111355||e>=119552&&e<=119638||e>=119648&&e<=119670||e===126980||e===127183||e===127374||e>=127377&&e<=127386||e>=127488&&e<=127490||e>=127504&&e<=127547||e>=127552&&e<=127560||e===127568||e===127569||e>=127584&&e<=127589||e>=127744&&e<=127776||e>=127789&&e<=127797||e>=127799&&e<=127868||e>=127870&&e<=127891||e>=127904&&e<=127946||e>=127951&&e<=127955||e>=127968&&e<=127984||e===127988||e>=127992&&e<=128062||e===128064||e>=128066&&e<=128252||e>=128255&&e<=128317||e>=128331&&e<=128334||e>=128336&&e<=128359||e===128378||e===128405||e===128406||e===128420||e>=128507&&e<=128591||e>=128640&&e<=128709||e===128716||e>=128720&&e<=128722||e>=128725&&e<=128727||e>=128732&&e<=128735||e===128747||e===128748||e>=128756&&e<=128764||e>=128992&&e<=129003||e===129008||e>=129292&&e<=129338||e>=129340&&e<=129349||e>=129351&&e<=129535||e>=129648&&e<=129660||e>=129664&&e<=129673||e>=129679&&e<=129734||e>=129742&&e<=129756||e>=129759&&e<=129769||e>=129776&&e<=129784||e>=131072&&e<=196605||e>=196608&&e<=262141}f(W,"k$1");R(W,"C");$(W,"I");N(W,"k");j(W,"C");_e(W,"isWide");function se(e){return V(e)?"ambiguous":q(e)?"fullwidth":e===8361||e>=65377&&e<=65470||e>=65474&&e<=65479||e>=65482&&e<=65487||e>=65490&&e<=65495||e>=65498&&e<=65500||e>=65512&&e<=65518?"halfwidth":e>=32&&e<=126||e===162||e===163||e===165||e===166||e===172||e===175||e>=10214&&e<=10221||e===10629||e===10630?"narrow":W(e)?"wide":"neutral"}f(se,"z");R(se,"Z");$(se,"B$2");N(se,"R");j(se,"t$1");_e(se,"getCategory");var lr=Object.defineProperty,Fe=j((e,t)=>lr(e,"name",{value:t,configurable:!0}),"t");function Z(e){if(!Number.isSafeInteger(e))throw new TypeError(`Expected a code point, got \`${typeof e}\`.`)}f(Z,"L$2");R(Z,"_");$(Z,"y$3");N(Z,"O");j(Z,"a");Fe(Z,"validate");function G(e){return Z(e),se(e)}f(G,"P$1");R(G,"P");$(G,"C$1");N(G,"v");j(G,"eastAsianWidthType");Fe(G,"eastAsianWidthType");function ge(e,{ambiguousAsWide:t=!1}={}){return Z(e),q(e)||W(e)||t&&V(e)?2:1}f(ge,"X$1");R(ge,"le");$(ge,"V$1");N(ge,"q");j(ge,"eastAsianWidth");Fe(ge,"eastAsianWidth");Fe(e=>!(q(e)||W(e)),"_isNarrowWidth");var cr=Object.defineProperty,Me=j((e,t)=>cr(e,"name",{value:t,configurable:!0}),"b");const $t=new Map,ye=/(?:[\u0020-\u007E\u00A0-\u00FF](?!\uFE0F)){1,1000}/y,Ce=Me(e=>e>=32&&e<=126?"latin":e===8203||e===8204||e===8205||e===8288?"zero":e<=31||e>=127&&e<=159?"control":e>=160&&e<=255||e>=9472&&e<=9599?"latin":e>=4352&&e<=4607||e>=11904&&e<=40959||e>=44032&&e<=55215||e>=63744&&e<=64255||e>=65280&&e<=65519&&!(e>=65377&&e<=65439)||e>=12352&&e<=12543?"wide":e===8230?"latin":"other","getCharType"),dr=Me((e,t)=>{const o=Math.floor(e/65536),r=e%65536;let n=$t.get(o);if(n||(n=new Map,$t.set(o,n)),n.has(r))return n.get(r);let s;if(Ce(e)==="latin")s=t.width.regular;else if(Ce(e)==="control")s=t.width.control;else if(Ce(e)==="wide")s=t.width.wide;else switch(G(e)){case"ambiguous":{s=t.width.ambiguousIsNarrow?t.width.regular:t.width.wide;break}case"fullwidth":{s=t.width.fullWidth;break}case"wide":{s=t.width.wide;break}default:s=t.width.regular}return n.set(r,s),s},"getCachedCharWidth"),pr=Me(e=>e>=768&&e<=879||e>=6832&&e<=6911||e>=7616&&e<=7679||e>=8400&&e<=8447||e>=65056&&e<=65071||e>=917760&&e<=917999||e>=65024&&e<=65039||e>=3633&&e<=3642||e>=3655&&e<=3662||e>=3761&&e<=3769||e>=3771&&e<=3772||e>=3784&&e<=3789||e>=2304&&e<=2307||e>=2362&&e<=2383||e>=2385&&e<=2391||e>=2402&&e<=2403||e>=2433&&e<=2435||e>=2492&&e<=2500||e>=2509&&e<=2509||e>=2561&&e<=2563||e>=2620&&e<=2637||e>=1611&&e<=1631||e>=1648&&e<=1648||e>=1750&&e<=1773||e>=2276&&e<=2302||e>=1425&&e<=1469||e>=1471&&e<=1471||e>=1473&&e<=1474||e>=1476&&e<=1477||e>=1479&&e<=1479||e>=3893&&e<=3893||e>=3895&&e<=3895||e>=3897&&e<=3897||e>=3953&&e<=3966||e>=3968&&e<=3972||e>=3974&&e<=3975?!0:e>=768&&e<=777||e>=803&&e<=803,"isCombiningCharacter"),Qe=Me((e,t={})=>{if(!e||e.length===0)return{ellipsed:!1,index:0,truncated:!1,width:0};const o={truncation:{countAnsiEscapeCodes:t.countAnsiEscapeCodes??!1,ellipsis:t.ellipsis??"",ellipsisWidth:t.ellipsisWidth??(t.ellipsis?Qe(t.ellipsis,{...t,ellipsis:"",ellipsisWidth:0,limit:Number.POSITIVE_INFINITY}).width:0),limit:t.limit??Number.POSITIVE_INFINITY},width:{ambiguousIsNarrow:t.ambiguousIsNarrow??!1,ansi:t.ansiWidth??0,control:t.controlWidth??0,emoji:t.emojiWidth??2,fullWidth:t.fullWidth??2,halfWidth:t.halfWidth??1,regular:t.regularWidth??1,tab:t.tabWidth??8,wide:t.wideWidth??2}},r=Math.max(0,o.truncation.limit-o.truncation.ellipsisWidth),{length:n}=e,s=n>1e4;let a=0,i=0,l=n,c=!1;const d=e.includes("\x1B")||e.includes("›");for(;a<n;){if(d&&(e[a]==="\x1B"||e[a]==="›")){if(e.startsWith("\x1B]8;;",a)){const w="\x1B]8;;\x07",y=w.length,z=e.indexOf("\x07",a+5);if(z!==-1){const F=e.indexOf(w,z+1);if(F!==-1){const X=F+y,Y=e.slice(z+1,F).replace(le,""),M=Qe(Y,{ambiguousIsNarrow:o.width.ambiguousIsNarrow,ansiWidth:o.width.ansi,controlWidth:o.width.control,countAnsiEscapeCodes:!1,ellipsis:o.truncation.ellipsis,ellipsisWidth:o.truncation.ellipsisWidth,emojiWidth:o.width.emoji,fullWidth:o.width.fullWidth,halfWidth:o.width.halfWidth,limit:Math.max(0,r-i),regularWidth:o.width.regular,tabWidth:o.width.tab,wideWidth:o.width.wide}),D=M.width;if(M.truncated)c=!0,l=Math.min(l,a);else if(i+D>r&&(l=Math.min(l,a),c=!0,i+D>o.truncation.limit))break;if(i+=D,a=X,c&&i>=o.truncation.limit)break;continue}}}if(le.lastIndex=a,le.test(e)){const w=le.lastIndex-a,y=o.truncation.countAnsiEscapeCodes?w:o.width.ansi;if(i+y>r&&(l=Math.min(l,a),i+y>o.truncation.limit)){c=!0;break}i+=y,a=le.lastIndex;continue}}const h=e.codePointAt(a);if(h===8203||h===65279||h>=8288&&h<=8292){a+=1;continue}if(h===9){if(i+o.width.tab>r&&(l=Math.min(l,a),i+o.width.tab>o.truncation.limit)){c=!0;break}i+=o.width.tab,a+=1;continue}if(ye.lastIndex=a,ye.test(e)){const w=(ye.lastIndex-a)*o.width.regular;if(i+w>r){const y=Math.floor((r-i)/o.width.regular);if(l=Math.min(l,a+y),i+w>o.truncation.limit){c=!0;break}}i+=w,a=ye.lastIndex;continue}if((h<=31||h>=127&&h<=159)&&(ke.lastIndex=a,ke.test(e))){const w=(ke.lastIndex-a)*o.width.control;if(i+w>r&&(l=Math.min(l,a+Math.floor((r-i)/o.width.control)),i+w>o.truncation.limit)){c=!0;break}i+=w,a=ke.lastIndex;continue}if(Se.lastIndex=a,Se.test(e)){if(i+o.width.emoji>r&&(l=Math.min(l,a),i+o.width.emoji>o.truncation.limit)){c=!0;break}i+=o.width.emoji,a=Se.lastIndex;continue}const m=e.codePointAt(a)??0;if(pr(m)){a+=m>65535?2:1;continue}let g;if(s)g=dr(m,o);else switch(Ce(m)){case"control":{g=o.width.control;break}case"latin":{g=o.width.regular;break}case"wide":{g=o.width.wide;break}case"zero":{g=0;break}default:switch(G(m)){case"ambiguous":{g=o.width.ambiguousIsNarrow?o.width.regular:o.width.wide;break}case"fullwidth":{g=o.width.fullWidth;break}case"wide":{g=o.width.wide;break}default:g=o.width.regular}}if(i+g>r&&(l=Math.min(l,a),i+g>o.truncation.limit)){c=!0;break}i+=g,a+=m>65535?2:1}let u=i,p=!1;return c&&o.truncation.limit>=o.truncation.ellipsisWidth&&(u=o.truncation.limit,p=!0),{ellipsed:p,index:c?l:n,truncated:c,width:u}},"getStringTruncatedWidth");var ur=Object.defineProperty,hr=$((e,t)=>ur(e,"name",{value:t,configurable:!0}),"i$1"),gr=Object.defineProperty,mr=hr((e,t)=>gr(e,"name",{value:t,configurable:!0}),"e"),fr=Object.defineProperty,wr=mr((e,t)=>fr(e,"name",{value:t,configurable:!0}),"r");const x=wr((e,t={})=>Qe(e,{...t,ellipsis:"",ellipsisWidth:0,limit:Number.POSITIVE_INFINITY}).width,"getStringWidth");var br=Object.defineProperty,vr=$((e,t)=>br(e,"name",{value:t,configurable:!0}),"g"),xr=Object.defineProperty,kr=vr((e,t)=>xr(e,"name",{value:t,configurable:!0}),"s"),yr=Object.defineProperty,dt=kr((e,t)=>yr(e,"name",{value:t,configurable:!0}),"n");const $r=dt((e,t)=>Math.floor((e-t)/2),"halfDiff"),Er=dt((e,t)=>e-t,"fullDiff"),Et=dt((e,t={})=>{const o=t.align??"center";if(o==="left")return e;const r=t.split??`
2
- `,n=t.pad??" ",s=o==="right"?Er:$r;let a=!1;Array.isArray(e)||(a=!0,e=String(e).split(r));let i,l=0;return e=e.map(c=>(c=String(c),i=x(c,t.stringWidthOptions),l=Math.max(i,l),{str:c,width:i})).map(c=>Array.from({length:s(l,c.width)+1}).join(n)+c.str),a?e.join(r):e},"alignText");var Sr=Object.defineProperty,Xt=$((e,t)=>Sr(e,"name",{value:t,configurable:!0}),"x$1"),Cr=Object.defineProperty,K=Xt((e,t)=>Cr(e,"name",{value:t,configurable:!0}),"m"),Tr=Object.defineProperty,Ar=K((e,t)=>Tr(e,"name",{value:t,configurable:!0}),"n");class Yt{static{f(this,"Wt")}static{R(this,"Se")}static{$(this,"T")}static{Xt(this,"w")}static{K(this,"u")}static{Ar(this,"AnsiStateTracker")}activeForeground=null;activeBackground=null;activeFormatting=[];processEscape(t){const o=/\x1B\[(\d+)m/.exec(t);if(!o)return;const r=Number.parseInt(o[1],10);switch(r){case 0:{this.activeForeground=null,this.activeBackground=null,this.activeFormatting=[];break}case 39:{this.activeForeground=null;break}case 49:{this.activeBackground=null;break}default:if(r>=30&&r<=37||r>=90&&r<=97)this.activeForeground=t;else if(r>=40&&r<=47||r>=100&&r<=107)this.activeBackground=t;else if([1,2,3,4,7,8,9].includes(r))this.activeFormatting.push(t);else if([22,23,24,27,28,29].includes(r)){const n={22:"[1m",23:"[3m",24:"[4m",27:"[7m",28:"[8m",29:"[9m"}[r];n&&(this.activeFormatting=this.activeFormatting.filter(s=>!s.includes(n)))}}}getStartEscapesForAllActiveAttributes(){return[this.activeBackground,this.activeForeground,...this.activeFormatting].filter(Boolean).join("")}getEndEscapesForAllActiveAttributes(){const t=[];if(this.activeFormatting.length>0){const o={"\x1B[1m":"\x1B[22m","\x1B[2m":"\x1B[22m","\x1B[3m":"\x1B[23m","\x1B[4m":"\x1B[24m","\x1B[7m":"\x1B[27m","\x1B[8m":"\x1B[28m","\x1B[9m":"\x1B[29m"};[...this.activeFormatting].reverse().forEach(r=>{const n=o[r];n&&t.push(n)})}return this.activeForeground&&t.push("\x1B[39m"),this.activeBackground&&t.push("\x1B[49m"),t.join("")}}var Dr=Object.defineProperty,eo=K((e,t)=>Dr(e,"name",{value:t,configurable:!0}),"o");const to=eo((e,t)=>{if(!ae.has(e[t]))return{isInsideEscape:!1,isInsideLinkEscape:!1};const o=!0,r=e.slice(t+1,t+1+Ae.length).join("")===Ae;return{isInsideEscape:o,isInsideLinkEscape:r}},"checkEscapeSequence"),Ir=eo((e,t={})=>{const o=new Yt;let r="",n=!1,s=!1,a="",i="",l=!1;const c=[...e];for(let d=0;d<c.length;d++){const u=c[d];if(u&&ae.has(u)){if(r){const m=t.getWidth?.(r)??0,g={isEscapeSequence:!1,isGrapheme:!0,text:r,width:m};if(l&&(g.isHyperlink=!0,g.hyperlinkUrl=i),t.onSegment?.(g,o)===!1)return;r=""}if(n=!0,a=u,s=to(c,d).isInsideLinkEscape,s){let m=d+1;for(i="";m<c.length;){const w=c[m];if(w===je)break;i+=w,m+=1}i=i.slice(4);const g={hyperlinkUrl:i,isEscapeSequence:!0,isGrapheme:!1,isHyperlink:!0,isHyperlinkStart:!0,width:0};if(t.onSegment?.(g,o)===!1)return;d=m,l=!0,n=!1,s=!1,a="";continue}if(d+1<c.length&&c[d+1]==="\\"&&l){const m={isEscapeSequence:!0,isGrapheme:!1,isHyperlink:!0,isHyperlinkEnd:!0,width:0};if(t.onSegment?.(m,o)===!1)return;l=!1,i="",d+=1,n=!1,a="";continue}}if(n){if(a!==u&&(a+=u),u===ct){n=!1,o.processEscape(a);const m={isEscapeSequence:!0,isGrapheme:!1,text:a,width:0};if(t.onSegment?.(m,o)===!1)return;a=""}continue}r+=u;const p=t.getWidth?.(r)??0,h={isEscapeSequence:!1,isGrapheme:!0,text:r,width:p};if(l&&(h.isHyperlink=!0,h.hyperlinkUrl=i),t.onSegment?.(h,o)===!1)return;r=""}if(r){const d=t.getWidth?.(r)??0,u={isEscapeSequence:!1,isGrapheme:!0,text:r,width:d};l&&(u.isHyperlink=!0,u.hyperlinkUrl=i),t.onSegment?.(u,o)}if(a){const d={isEscapeSequence:!0,isGrapheme:!1,text:a,width:0};t.onSegment?.(d,o)}},"processAnsiString");var zr=Object.defineProperty,Br=K((e,t)=>zr(e,"name",{value:t,configurable:!0}),"t$1");const St=Br(e=>`${ae.values().next().value}${Jt}${e}${ct}`,"wrapAnsiCode");var Lr=Object.defineProperty,Rr=K((e,t)=>Lr(e,"name",{value:t,configurable:!0}),"t");const Ct=Rr(e=>`${ae.values().next().value}${Ae}${e}${je}`,"wrapAnsiHyperlink");var jr=Object.defineProperty,_r=K((e,t)=>jr(e,"name",{value:t,configurable:!0}),"l");const Fr=_r(e=>{if(e.length===0)return"";if(e.length===1)return e[0];let t="",o,r;const n=e.join(`
1
+ var Ao=Object.defineProperty;var f=(e,t)=>Ao(e,"name",{value:t,configurable:!0});import{createRequire as Do}from"node:module";import{parseStacktrace as Ut}from"@visulima/error/stacktrace";import{renderError as zo,getErrorCauses as Bo}from"@visulima/error/error";import{ruleBasedFinder as Vt,errorHintFinder as Gt}from"@visulima/error/solution";import{s as S,a as E,b as jo,c as _o,d as Fo,n as xt,e as kt,f as Mo}from"./packem_shared/clipboard-BeHvxj0X.js";import{t as Oo,g as Po}from"./packem_shared/process-B37didfB.js";import{parseStacktrace as at,codeFrame as st}from"@visulima/error";import Zt from"@visulima/error/solution/ai/prompt";const Ht=Do(import.meta.url),ie=typeof globalThis<"u"&&typeof globalThis.process<"u"?globalThis.process:process,Re=f(e=>{if(typeof ie<"u"&&ie.versions&&ie.versions.node){const[t,o]=ie.versions.node.split(".").map(Number);if(t>22||t===22&&o>=3||t===20&&o>=16)return ie.getBuiltinModule(e)}return Ht(e)},"__cjs_getBuiltinModule"),{createRequire:Io}=Re("node:module"),{readFile:Lo}=Re("node:fs/promises"),{fileURLToPath:Ro}=Re("node:url"),Ze=Ht("isomorphic-dompurify"),{createHash:No}=Re("node:crypto");var qo=Object.defineProperty,R=f((e,t)=>qo(e,"name",{value:t,configurable:!0}),"y$4"),Wo=Object.defineProperty,$=R((e,t)=>Wo(e,"name",{value:t,configurable:!0}),"w");const Ho=Io(import.meta.url),te=typeof globalThis<"u"&&typeof globalThis.process<"u"?globalThis.process:process,it=$(e=>{if(typeof te<"u"&&te.versions&&te.versions.node){const[t,o]=te.versions.node.split(".").map(Number);if(t>22||t===22&&o>=3||t===20&&o>=16)return te.getBuiltinModule(e)}return Ho(e)},"__cjs_getBuiltinModule"),ne=te,{execFileSync:Uo}=it("node:child_process"),xe=it("node:fs"),Vo=it("node:tty");var Go=Object.defineProperty,Zo=$((e,t)=>Go(e,"name",{value:t,configurable:!0}),"p$2"),Ko=Object.defineProperty,Kt=Zo((e,t)=>Ko(e,"name",{value:t,configurable:!0}),"R"),Qo=Object.defineProperty,Jo=Kt((e,t)=>Qo(e,"name",{value:t,configurable:!0}),"E");const Qt=String.raw,yt=Qt`\p{Emoji}(?:\p{EMod}|[\u{E0020}-\u{E007E}]+\u{E007F}|\uFE0F?\u20E3?)`,Yo=Jo(()=>new RegExp(Qt`\p{RI}{2}|(?![#*\d](?!\uFE0F?\u20E3))${yt}(?:\u200D${yt})*`,"gu"),"default");var Xo=Object.defineProperty,er=Kt((e,t)=>Xo(e,"name",{value:t,configurable:!0}),"p");const ae=new Set(["\x1B","›"]),je="\x07",Jt="[",lt="m",Ae="]8;;",tr=39,or=/[\u200B\uFEFF\u2060-\u2064]/g,rr=new RegExp(`(?:\\${Jt}(?<code>\\d+)m|\\${Ae}(?<uri>.*)${je})`),nr=Object.freeze(new Map([[0,0],[1,22],[2,22],[3,23],[4,24],[7,27],[8,28],[9,29],[30,39],[31,39],[32,39],[33,39],[34,39],[35,39],[36,39],[37,39],[40,49],[41,49],[42,49],[43,49],[44,49],[45,49],[46,49],[47,49],[90,39]])),le=/[\u001B\u009B](?:[[()#;?]{0,10}(?:\d{1,4}(?:;\d{0,4})*)?[0-9A-ORZcf-nqry=><]|\]8;;[^\u0007\u001B]{0,100}(?:\u0007|\u001B\\))/g,ke=/[\u0000-\u0008\n-\u001F\u007F-\u009F]{1,1000}/y,Se=Yo();er(e=>e.replace(Se,""),"stripEmoji");var ar=Object.defineProperty,N=$((e,t)=>ar(e,"name",{value:t,configurable:!0}),"f$1"),sr=Object.defineProperty,j=N((e,t)=>sr(e,"name",{value:t,configurable:!0}),"c"),ir=Object.defineProperty,_e=j((e,t)=>ir(e,"name",{value:t,configurable:!0}),"E$1");function H(e){return e===161||e===164||e===167||e===168||e===170||e===173||e===174||e>=176&&e<=180||e>=182&&e<=186||e>=188&&e<=191||e===198||e===208||e===215||e===216||e>=222&&e<=225||e===230||e>=232&&e<=234||e===236||e===237||e===240||e===242||e===243||e>=247&&e<=250||e===252||e===254||e===257||e===273||e===275||e===283||e===294||e===295||e===299||e>=305&&e<=307||e===312||e>=319&&e<=322||e===324||e>=328&&e<=331||e===333||e===338||e===339||e===358||e===359||e===363||e===462||e===464||e===466||e===468||e===470||e===472||e===474||e===476||e===593||e===609||e===708||e===711||e>=713&&e<=715||e===717||e===720||e>=728&&e<=731||e===733||e===735||e>=768&&e<=879||e>=913&&e<=929||e>=931&&e<=937||e>=945&&e<=961||e>=963&&e<=969||e===1025||e>=1040&&e<=1103||e===1105||e===8208||e>=8211&&e<=8214||e===8216||e===8217||e===8220||e===8221||e>=8224&&e<=8226||e>=8228&&e<=8231||e===8240||e===8242||e===8243||e===8245||e===8251||e===8254||e===8308||e===8319||e>=8321&&e<=8324||e===8364||e===8451||e===8453||e===8457||e===8467||e===8470||e===8481||e===8482||e===8486||e===8491||e===8531||e===8532||e>=8539&&e<=8542||e>=8544&&e<=8555||e>=8560&&e<=8569||e===8585||e>=8592&&e<=8601||e===8632||e===8633||e===8658||e===8660||e===8679||e===8704||e===8706||e===8707||e===8711||e===8712||e===8715||e===8719||e===8721||e===8725||e===8730||e>=8733&&e<=8736||e===8739||e===8741||e>=8743&&e<=8748||e===8750||e>=8756&&e<=8759||e===8764||e===8765||e===8776||e===8780||e===8786||e===8800||e===8801||e>=8804&&e<=8807||e===8810||e===8811||e===8814||e===8815||e===8834||e===8835||e===8838||e===8839||e===8853||e===8857||e===8869||e===8895||e===8978||e>=9312&&e<=9449||e>=9451&&e<=9547||e>=9552&&e<=9587||e>=9600&&e<=9615||e>=9618&&e<=9621||e===9632||e===9633||e>=9635&&e<=9641||e===9650||e===9651||e===9654||e===9655||e===9660||e===9661||e===9664||e===9665||e>=9670&&e<=9672||e===9675||e>=9678&&e<=9681||e>=9698&&e<=9701||e===9711||e===9733||e===9734||e===9737||e===9742||e===9743||e===9756||e===9758||e===9792||e===9794||e===9824||e===9825||e>=9827&&e<=9829||e>=9831&&e<=9834||e===9836||e===9837||e===9839||e===9886||e===9887||e===9919||e>=9926&&e<=9933||e>=9935&&e<=9939||e>=9941&&e<=9953||e===9955||e===9960||e===9961||e>=9963&&e<=9969||e===9972||e>=9974&&e<=9977||e===9979||e===9980||e===9982||e===9983||e===10045||e>=10102&&e<=10111||e>=11094&&e<=11097||e>=12872&&e<=12879||e>=57344&&e<=63743||e>=65024&&e<=65039||e===65533||e>=127232&&e<=127242||e>=127248&&e<=127277||e>=127280&&e<=127337||e>=127344&&e<=127373||e===127375||e===127376||e>=127387&&e<=127404||e>=917760&&e<=917999||e>=983040&&e<=1048573||e>=1048576&&e<=1114109}f(H,"F$1");R(H,"M");$(H,"M$2");N(H,"M");j(H,"A");_e(H,"isAmbiguous");function U(e){return e===12288||e>=65281&&e<=65376||e>=65504&&e<=65510}f(U,"M");R(U,"N");$(U,"A$1");N(U,"C");j(U,"D$1");_e(U,"isFullWidth");function V(e){return e>=4352&&e<=4447||e===8986||e===8987||e===9001||e===9002||e>=9193&&e<=9196||e===9200||e===9203||e===9725||e===9726||e===9748||e===9749||e>=9776&&e<=9783||e>=9800&&e<=9811||e===9855||e>=9866&&e<=9871||e===9875||e===9889||e===9898||e===9899||e===9917||e===9918||e===9924||e===9925||e===9934||e===9940||e===9962||e===9970||e===9971||e===9973||e===9978||e===9981||e===9989||e===9994||e===9995||e===10024||e===10060||e===10062||e>=10067&&e<=10069||e===10071||e>=10133&&e<=10135||e===10160||e===10175||e===11035||e===11036||e===11088||e===11093||e>=11904&&e<=11929||e>=11931&&e<=12019||e>=12032&&e<=12245||e>=12272&&e<=12287||e>=12289&&e<=12350||e>=12353&&e<=12438||e>=12441&&e<=12543||e>=12549&&e<=12591||e>=12593&&e<=12686||e>=12688&&e<=12773||e>=12783&&e<=12830||e>=12832&&e<=12871||e>=12880&&e<=42124||e>=42128&&e<=42182||e>=43360&&e<=43388||e>=44032&&e<=55203||e>=63744&&e<=64255||e>=65040&&e<=65049||e>=65072&&e<=65106||e>=65108&&e<=65126||e>=65128&&e<=65131||e>=94176&&e<=94180||e>=94192&&e<=94198||e>=94208&&e<=101589||e>=101631&&e<=101662||e>=101760&&e<=101874||e>=110576&&e<=110579||e>=110581&&e<=110587||e===110589||e===110590||e>=110592&&e<=110882||e===110898||e>=110928&&e<=110930||e===110933||e>=110948&&e<=110951||e>=110960&&e<=111355||e>=119552&&e<=119638||e>=119648&&e<=119670||e===126980||e===127183||e===127374||e>=127377&&e<=127386||e>=127488&&e<=127490||e>=127504&&e<=127547||e>=127552&&e<=127560||e===127568||e===127569||e>=127584&&e<=127589||e>=127744&&e<=127776||e>=127789&&e<=127797||e>=127799&&e<=127868||e>=127870&&e<=127891||e>=127904&&e<=127946||e>=127951&&e<=127955||e>=127968&&e<=127984||e===127988||e>=127992&&e<=128062||e===128064||e>=128066&&e<=128252||e>=128255&&e<=128317||e>=128331&&e<=128334||e>=128336&&e<=128359||e===128378||e===128405||e===128406||e===128420||e>=128507&&e<=128591||e>=128640&&e<=128709||e===128716||e>=128720&&e<=128722||e>=128725&&e<=128728||e>=128732&&e<=128735||e===128747||e===128748||e>=128756&&e<=128764||e>=128992&&e<=129003||e===129008||e>=129292&&e<=129338||e>=129340&&e<=129349||e>=129351&&e<=129535||e>=129648&&e<=129660||e>=129664&&e<=129674||e>=129678&&e<=129734||e===129736||e>=129741&&e<=129756||e>=129759&&e<=129770||e>=129775&&e<=129784||e>=131072&&e<=196605||e>=196608&&e<=262141}f(V,"N");R(V,"L");$(V,"N$3");N(V,"T");j(V,"C");_e(V,"isWide");function se(e){return H(e)?"ambiguous":U(e)?"fullwidth":e===8361||e>=65377&&e<=65470||e>=65474&&e<=65479||e>=65482&&e<=65487||e>=65490&&e<=65495||e>=65498&&e<=65500||e>=65512&&e<=65518?"halfwidth":e>=32&&e<=126||e===162||e===163||e===165||e===166||e===172||e===175||e>=10214&&e<=10221||e===10629||e===10630?"narrow":V(e)?"wide":"neutral"}f(se,"z");R(se,"J");$(se,"F$1");N(se,"R");j(se,"t");_e(se,"getCategory");var lr=Object.defineProperty,ct=j((e,t)=>lr(e,"name",{value:t,configurable:!0}),"e");function G(e){if(!Number.isSafeInteger(e))throw new TypeError(`Expected a code point, got \`${typeof e}\`.`)}f(G,"L$2");R(G,"_");$(G,"j$3");N(G,"O");j(G,"r");ct(G,"validate");function Z(e){return G(e),se(e)}f(Z,"P$1");R(Z,"P");$(Z,"y$3");N(Z,"v");j(Z,"eastAsianWidthType");ct(Z,"eastAsianWidthType");function ge(e,{ambiguousAsWide:t=!1}={}){return G(e),U(e)||V(e)||t&&H(e)?2:1}f(ge,"Q");R(ge,"le");$(ge,"Y$1");N(ge,"J");j(ge,"eastAsianWidth");ct(ge,"eastAsianWidth");var cr=Object.defineProperty,Fe=j((e,t)=>cr(e,"name",{value:t,configurable:!0}),"b");const $t=new Map,ye=/(?:[\u0020-\u007E\u00A0-\u00FF](?!\uFE0F)){1,1000}/y,Ce=Fe(e=>e>=32&&e<=126?"latin":e===8203||e===8204||e===8205||e===8288?"zero":e<=31||e>=127&&e<=159?"control":e>=160&&e<=255||e>=9472&&e<=9599?"latin":e>=4352&&e<=4607||e>=11904&&e<=40959||e>=44032&&e<=55215||e>=63744&&e<=64255||e>=65280&&e<=65519&&!(e>=65377&&e<=65439)||e>=12352&&e<=12543?"wide":e===8230?"latin":"other","getCharType"),dr=Fe((e,t)=>{const o=Math.floor(e/65536),r=e%65536;let n=$t.get(o);if(n||(n=new Map,$t.set(o,n)),n.has(r))return n.get(r);let s;if(Ce(e)==="latin")s=t.width.regular;else if(Ce(e)==="control")s=t.width.control;else if(Ce(e)==="wide")s=t.width.wide;else switch(Z(e)){case"ambiguous":{s=t.width.ambiguousIsNarrow?t.width.regular:t.width.wide;break}case"fullwidth":{s=t.width.fullWidth;break}case"wide":{s=t.width.wide;break}default:s=t.width.regular}return n.set(r,s),s},"getCachedCharWidth"),pr=Fe(e=>e>=768&&e<=879||e>=6832&&e<=6911||e>=7616&&e<=7679||e>=8400&&e<=8447||e>=65056&&e<=65071||e>=917760&&e<=917999||e>=65024&&e<=65039||e>=3633&&e<=3642||e>=3655&&e<=3662||e>=3761&&e<=3769||e>=3771&&e<=3772||e>=3784&&e<=3789||e>=2304&&e<=2307||e>=2362&&e<=2383||e>=2385&&e<=2391||e>=2402&&e<=2403||e>=2433&&e<=2435||e>=2492&&e<=2500||e>=2509&&e<=2509||e>=2561&&e<=2563||e>=2620&&e<=2637||e>=1611&&e<=1631||e>=1648&&e<=1648||e>=1750&&e<=1773||e>=2276&&e<=2302||e>=1425&&e<=1469||e>=1471&&e<=1471||e>=1473&&e<=1474||e>=1476&&e<=1477||e>=1479&&e<=1479||e>=3893&&e<=3893||e>=3895&&e<=3895||e>=3897&&e<=3897||e>=3953&&e<=3966||e>=3968&&e<=3972||e>=3974&&e<=3975?!0:e>=768&&e<=777||e>=803&&e<=803,"isCombiningCharacter"),Ke=Fe((e,t={})=>{if(!e||e.length===0)return{ellipsed:!1,index:0,truncated:!1,width:0};const o={truncation:{countAnsiEscapeCodes:t.countAnsiEscapeCodes??!1,ellipsis:t.ellipsis??"",ellipsisWidth:t.ellipsisWidth??(t.ellipsis?Ke(t.ellipsis,{...t,ellipsis:"",ellipsisWidth:0,limit:Number.POSITIVE_INFINITY}).width:0),limit:t.limit??Number.POSITIVE_INFINITY},width:{ambiguousIsNarrow:t.ambiguousIsNarrow??!1,ansi:t.ansiWidth??0,control:t.controlWidth??0,emoji:t.emojiWidth??2,fullWidth:t.fullWidth??2,halfWidth:t.halfWidth??1,regular:t.regularWidth??1,tab:t.tabWidth??8,wide:t.wideWidth??2}},r=Math.max(0,o.truncation.limit-o.truncation.ellipsisWidth),{length:n}=e,s=n>1e4;let a=0,i=0,l=n,c=!1;const d=e.includes("\x1B")||e.includes("›");for(;a<n;){if(d&&(e[a]==="\x1B"||e[a]==="›")){if(e.startsWith("\x1B]8;;",a)){const w="\x1B]8;;\x07",y=w.length,z=e.indexOf("\x07",a+5);if(z!==-1){const F=e.indexOf(w,z+1);if(F!==-1){const Y=F+y,X=e.slice(z+1,F).replace(le,""),M=Ke(X,{ambiguousIsNarrow:o.width.ambiguousIsNarrow,ansiWidth:o.width.ansi,controlWidth:o.width.control,countAnsiEscapeCodes:!1,ellipsis:o.truncation.ellipsis,ellipsisWidth:o.truncation.ellipsisWidth,emojiWidth:o.width.emoji,fullWidth:o.width.fullWidth,halfWidth:o.width.halfWidth,limit:Math.max(0,r-i),regularWidth:o.width.regular,tabWidth:o.width.tab,wideWidth:o.width.wide}),D=M.width;if(M.truncated)c=!0,l=Math.min(l,a);else if(i+D>r&&(l=Math.min(l,a),c=!0,i+D>o.truncation.limit))break;if(i+=D,a=Y,c&&i>=o.truncation.limit)break;continue}}}if(le.lastIndex=a,le.test(e)){const w=le.lastIndex-a,y=o.truncation.countAnsiEscapeCodes?w:o.width.ansi;if(i+y>r&&(l=Math.min(l,a),i+y>o.truncation.limit)){c=!0;break}i+=y,a=le.lastIndex;continue}}const h=e.codePointAt(a);if(h===8203||h===65279||h>=8288&&h<=8292){a+=1;continue}if(h===9){if(i+o.width.tab>r&&(l=Math.min(l,a),i+o.width.tab>o.truncation.limit)){c=!0;break}i+=o.width.tab,a+=1;continue}if(ye.lastIndex=a,ye.test(e)){const w=(ye.lastIndex-a)*o.width.regular;if(i+w>r){const y=Math.floor((r-i)/o.width.regular);if(l=Math.min(l,a+y),i+w>o.truncation.limit){c=!0;break}}i+=w,a=ye.lastIndex;continue}if((h<=31||h>=127&&h<=159)&&(ke.lastIndex=a,ke.test(e))){const w=(ke.lastIndex-a)*o.width.control;if(i+w>r&&(l=Math.min(l,a+Math.floor((r-i)/o.width.control)),i+w>o.truncation.limit)){c=!0;break}i+=w,a=ke.lastIndex;continue}if(Se.lastIndex=a,Se.test(e)){if(i+o.width.emoji>r&&(l=Math.min(l,a),i+o.width.emoji>o.truncation.limit)){c=!0;break}i+=o.width.emoji,a=Se.lastIndex;continue}const m=e.codePointAt(a)??0;if(pr(m)){a+=m>65535?2:1;continue}let g;if(s)g=dr(m,o);else switch(Ce(m)){case"control":{g=o.width.control;break}case"latin":{g=o.width.regular;break}case"wide":{g=o.width.wide;break}case"zero":{g=0;break}default:switch(Z(m)){case"ambiguous":{g=o.width.ambiguousIsNarrow?o.width.regular:o.width.wide;break}case"fullwidth":{g=o.width.fullWidth;break}case"wide":{g=o.width.wide;break}default:g=o.width.regular}}if(i+g>r&&(l=Math.min(l,a),i+g>o.truncation.limit)){c=!0;break}i+=g,a+=m>65535?2:1}let u=i,p=!1;return c&&o.truncation.limit>=o.truncation.ellipsisWidth&&(u=o.truncation.limit,p=!0),{ellipsed:p,index:c?l:n,truncated:c,width:u}},"getStringTruncatedWidth");var ur=Object.defineProperty,hr=$((e,t)=>ur(e,"name",{value:t,configurable:!0}),"i$1"),gr=Object.defineProperty,mr=hr((e,t)=>gr(e,"name",{value:t,configurable:!0}),"e"),fr=Object.defineProperty,wr=mr((e,t)=>fr(e,"name",{value:t,configurable:!0}),"r");const x=wr((e,t={})=>Ke(e,{...t,ellipsis:"",ellipsisWidth:0,limit:Number.POSITIVE_INFINITY}).width,"getStringWidth");var br=Object.defineProperty,vr=$((e,t)=>br(e,"name",{value:t,configurable:!0}),"g"),xr=Object.defineProperty,kr=vr((e,t)=>xr(e,"name",{value:t,configurable:!0}),"s"),yr=Object.defineProperty,dt=kr((e,t)=>yr(e,"name",{value:t,configurable:!0}),"n");const $r=dt((e,t)=>Math.floor((e-t)/2),"halfDiff"),Er=dt((e,t)=>e-t,"fullDiff"),Et=dt((e,t={})=>{const o=t.align??"center";if(o==="left")return e;const r=t.split??`
2
+ `,n=t.pad??" ",s=o==="right"?Er:$r;let a=!1;Array.isArray(e)||(a=!0,e=String(e).split(r));let i,l=0;return e=e.map(c=>(c=String(c),i=x(c,t.stringWidthOptions),l=Math.max(i,l),{str:c,width:i})).map(c=>Array.from({length:s(l,c.width)+1}).join(n)+c.str),a?e.join(r):e},"alignText");var Sr=Object.defineProperty,Yt=$((e,t)=>Sr(e,"name",{value:t,configurable:!0}),"x$1"),Cr=Object.defineProperty,K=Yt((e,t)=>Cr(e,"name",{value:t,configurable:!0}),"m"),Tr=Object.defineProperty,Ar=K((e,t)=>Tr(e,"name",{value:t,configurable:!0}),"n");let Xt=class{static{f(this,"Wt")}static{R(this,"Se")}static{$(this,"T")}static{Yt(this,"w")}static{K(this,"u")}static{Ar(this,"AnsiStateTracker")}activeForeground=null;activeBackground=null;activeFormatting=[];processEscape(e){const t=/\x1B\[(\d+)m/.exec(e);if(!t)return;const o=Number.parseInt(t[1],10);switch(o){case 0:{this.activeForeground=null,this.activeBackground=null,this.activeFormatting=[];break}case 39:{this.activeForeground=null;break}case 49:{this.activeBackground=null;break}default:if(o>=30&&o<=37||o>=90&&o<=97)this.activeForeground=e;else if(o>=40&&o<=47||o>=100&&o<=107)this.activeBackground=e;else if([1,2,3,4,7,8,9].includes(o))this.activeFormatting.push(e);else if([22,23,24,27,28,29].includes(o)){const r={22:"[1m",23:"[3m",24:"[4m",27:"[7m",28:"[8m",29:"[9m"}[o];r&&(this.activeFormatting=this.activeFormatting.filter(n=>!n.includes(r)))}}}getStartEscapesForAllActiveAttributes(){return[this.activeBackground,this.activeForeground,...this.activeFormatting].filter(Boolean).join("")}getEndEscapesForAllActiveAttributes(){const e=[];if(this.activeFormatting.length>0){const t={"\x1B[1m":"\x1B[22m","\x1B[2m":"\x1B[22m","\x1B[3m":"\x1B[23m","\x1B[4m":"\x1B[24m","\x1B[7m":"\x1B[27m","\x1B[8m":"\x1B[28m","\x1B[9m":"\x1B[29m"};[...this.activeFormatting].reverse().forEach(o=>{const r=t[o];r&&e.push(r)})}return this.activeForeground&&e.push("\x1B[39m"),this.activeBackground&&e.push("\x1B[49m"),e.join("")}};var Dr=Object.defineProperty,eo=K((e,t)=>Dr(e,"name",{value:t,configurable:!0}),"u");const to=eo((e,t)=>{if(!ae.has(e[t]))return{isInsideEscape:!1,isInsideLinkEscape:!1};const o=!0,r=e.slice(t+1,t+1+Ae.length).join("")===Ae;return{isInsideEscape:o,isInsideLinkEscape:r}},"checkEscapeSequence"),Ir=eo((e,t={})=>{const o=new Xt;let r="",n=!1,s=!1,a="",i="",l=!1;const c=[...e];for(let d=0;d<c.length;d++){const u=c[d];if(u&&ae.has(u)){if(r){const m=t.getWidth?.(r)??0,g={isEscapeSequence:!1,isGrapheme:!0,text:r,width:m};if(l&&(g.isHyperlink=!0,g.hyperlinkUrl=i),t.onSegment?.(g,o)===!1)return;r=""}if(n=!0,a=u,s=to(c,d).isInsideLinkEscape,s){let m=d+1;for(i="";m<c.length;){const w=c[m];if(w===je)break;i+=w,m+=1}i=i.slice(4);const g={hyperlinkUrl:i,isEscapeSequence:!0,isGrapheme:!1,isHyperlink:!0,isHyperlinkStart:!0,width:0};if(t.onSegment?.(g,o)===!1)return;d=m,l=!0,n=!1,s=!1,a="";continue}if(d+1<c.length&&c[d+1]==="\\"&&l){const m={isEscapeSequence:!0,isGrapheme:!1,isHyperlink:!0,isHyperlinkEnd:!0,width:0};if(t.onSegment?.(m,o)===!1)return;l=!1,i="",d+=1,n=!1,a="";continue}}if(n){if(a!==u&&(a+=u),u===lt){n=!1,o.processEscape(a);const m={isEscapeSequence:!0,isGrapheme:!1,text:a,width:0};if(t.onSegment?.(m,o)===!1)return;a=""}continue}r+=u;const p=t.getWidth?.(r)??0,h={isEscapeSequence:!1,isGrapheme:!0,text:r,width:p};if(l&&(h.isHyperlink=!0,h.hyperlinkUrl=i),t.onSegment?.(h,o)===!1)return;r=""}if(r){const d=t.getWidth?.(r)??0,u={isEscapeSequence:!1,isGrapheme:!0,text:r,width:d};l&&(u.isHyperlink=!0,u.hyperlinkUrl=i),t.onSegment?.(u,o)}if(a){const d={isEscapeSequence:!0,isGrapheme:!1,text:a,width:0};t.onSegment?.(d,o)}},"processAnsiString");var zr=Object.defineProperty,Br=K((e,t)=>zr(e,"name",{value:t,configurable:!0}),"t$1");const St=Br(e=>`${ae.values().next().value}${Jt}${e}${lt}`,"wrapAnsiCode");var Lr=Object.defineProperty,Rr=K((e,t)=>Lr(e,"name",{value:t,configurable:!0}),"t");const Ct=Rr(e=>`${ae.values().next().value}${Ae}${e}${je}`,"wrapAnsiHyperlink");var jr=Object.defineProperty,_r=K((e,t)=>jr(e,"name",{value:t,configurable:!0}),"p");const Fr=_r(e=>{if(e.length===0)return"";if(e.length===1)return e[0];let t="",o,r;const n=e.join(`
3
3
  `),s=[...n];let a=0;for(const[i,l]of s.entries()){if(t+=l,ae.has(l)){const d=rr.exec(n.slice(a))?.groups??{};if(d.code!==void 0){const u=Number.parseFloat(d.code);o=u===tr?void 0:u}else d.uri!==void 0&&(r=d.uri.length===0?void 0:d.uri)}const c=nr.get(Number(o));s[i+1]===`
4
4
  `?(r&&(t+=Ct("")),o&&c&&(t+=St(c))):l===`
5
- `&&(o&&c&&(t+=St(o)),r&&(t+=Ct(r))),a+=l.length}return t},"preserveAnsi");var Mr=Object.defineProperty,P=K((e,t)=>Mr(e,"name",{value:t,configurable:!0}),"h");const Ue=P(e=>{if(!e.includes("\x1B"))return e;let t=e;return e.includes("\x1B[30m")&&(t+="\x1B[39m"),e.includes("\x1B[42m")&&(t+="\x1B[49m"),t},"resetAnsiAtLineBreak"),H=P(e=>{const t=e.split(" ");let o=t.length;for(;o>0&&x(t[o-1])===0;)o--;return o===t.length?e:t.slice(0,o).join(" ")+t.slice(o).join("")},"stringVisibleTrimSpacesRight"),oo=P((e,t,o)=>{if(e.length===0)return[""];if(t<=0)return[e];const r=[],n=new Yt;let s="",a=0,i=!1,l=!1,c="";for(let d=0;d<e.length;d++){const u=e[d];if(ae.has(u)){i=!0,c=u,s+=u,l=to([...e],d).isInsideLinkEscape;continue}if(i){c+=u,s+=u,l?u===je&&(i=l=!1):u===ct&&(i=!1,n.processEscape(c));continue}const p=x(u),h=u===" ";if(p===0){s+=u;continue}if(a+p>t&&(s&&r.push(s+n.getEndEscapesForAllActiveAttributes()),s=n.getStartEscapesForAllActiveAttributes(),a=x(s),h&&o)){for(;d<e.length&&e[d]===" "&&(d+=1,!(d>=e.length)););d<e.length&&d--;continue}if(s+=u,a+=p,a===t&&d<e.length-1&&(r.push(s+n.getEndEscapesForAllActiveAttributes()),s=n.getStartEscapesForAllActiveAttributes(),a=x(s),d+1<e.length&&e[d+1]===" "&&o)){for(d+=1;d<e.length&&e[d]===" ";)d+=1;d--}}return s&&r.push(s+n.getEndEscapesForAllActiveAttributes()),o?r.map(d=>H(d)):r},"wrapWithBreakAtWidth"),Or=P((e,t,o)=>{if(e.length===0)return[];const r=o?e.trim():e;if(r.length===0)return[];const n=[];let s="",a=0;return Ir(r,{getWidth:x,onSegment:P((i,l)=>{if(i.isEscapeSequence)s+=i.text;else{const c=i.text===" ";if(i.width===0)return s+=i.text,!0;if(a+i.width>t&&(s&&n.push(s),s=l.getStartEscapesForAllActiveAttributes(),a=0,c))return o||n.push(l.getStartEscapesForAllActiveAttributes()+i.text),!0;s+=i.text,a+=i.width}return!0},"onSegment")}),s&&n.push(s),o?n.map(i=>H(i)):n},"wrapCharByChar"),Pr=P((e,t,o)=>{if(e.length===0)return[];const r=o?e.trim():e;if(r.length===0)return[];const n=r.split(/(?=\s)|(?<=\s)/),s=[];let a="",i=0,l=0;for(;l<n.length;){const c=n[l],d=/^\s+$/.test(c),u=x(c);if(c.length===0){l+=1;continue}if(o&&d&&i===0){l+=1;continue}if(i+u>t&&i>0){o?s.push(H(a)):s.push(a),a="",i=0;continue}a+=c,i+=u,l+=1}return a&&(o?s.push(H(a)):s.push(a)),s},"wrapWithWordBoundaries"),Nr=P((e,t,o)=>{if(e.length===0)return[];const r=o?e.trim():e;if(r.length===0)return[];const n=r.split(/(?=\s)|(?<=\s)/),s=[];let a="",i=0,l=0;for(;l<n.length;){const c=n[l],d=/^\s+$/.test(c),u=x(c);if(c.length===0){l+=1;continue}if(o&&d&&i===0){l+=1;continue}if(u>t){a&&s.push(Ue(o?H(a):a));const p=oo(c,t,o);if(p.length>0){for(let h=0;h<p.length-1;h++)s.push(p[h]);a=p[p.length-1],i=x(a)}else a="",i=0;l+=1;continue}if(i+u>t&&i>0&&(s.push(Ue(o?H(a):a)),a="",i=0,o&&d)){l+=1;continue}a+=c,i+=u,l+=1}return a&&s.push(Ue(o?H(a):a)),s},"wrapAndBreakWords"),re={BREAK_AT_CHARACTERS:"BREAK_AT_CHARACTERS",BREAK_WORDS:"BREAK_WORDS",PRESERVE_WORDS:"PRESERVE_WORDS",STRICT_WIDTH:"STRICT_WIDTH"},ro=P((e,t={})=>{const{removeZeroWidthCharacters:o=!0,trim:r=!0,width:n=80,wrapMode:s=re.PRESERVE_WORDS}=t;if(r&&e.trim()==="")return"";let a=String(e).normalize("NFC").replaceAll(`\r
5
+ `&&(o&&c&&(t+=St(o)),r&&(t+=Ct(r))),a+=l.length}return t},"preserveAnsi");var Mr=Object.defineProperty,P=K((e,t)=>Mr(e,"name",{value:t,configurable:!0}),"h");const He=P(e=>{if(!e.includes("\x1B"))return e;let t=e;return e.includes("\x1B[30m")&&(t+="\x1B[39m"),e.includes("\x1B[42m")&&(t+="\x1B[49m"),t},"resetAnsiAtLineBreak"),q=P(e=>{const t=e.split(" ");let o=t.length;for(;o>0&&x(t[o-1])===0;)o--;return o===t.length?e:t.slice(0,o).join(" ")+t.slice(o).join("")},"stringVisibleTrimSpacesRight"),oo=P((e,t,o)=>{if(e.length===0)return[""];if(t<=0)return[e];const r=[],n=new Xt;let s="",a=0,i=!1,l=!1,c="";for(let d=0;d<e.length;d++){const u=e[d];if(ae.has(u)){i=!0,c=u,s+=u,l=to([...e],d).isInsideLinkEscape;continue}if(i){c+=u,s+=u,l?u===je&&(i=l=!1):u===lt&&(i=!1,n.processEscape(c));continue}const p=x(u),h=u===" ";if(p===0){s+=u;continue}if(a+p>t&&(s&&r.push(s+n.getEndEscapesForAllActiveAttributes()),s=n.getStartEscapesForAllActiveAttributes(),a=x(s),h&&o)){for(;d<e.length&&e[d]===" "&&(d+=1,!(d>=e.length)););d<e.length&&d--;continue}if(s+=u,a+=p,a===t&&d<e.length-1&&(r.push(s+n.getEndEscapesForAllActiveAttributes()),s=n.getStartEscapesForAllActiveAttributes(),a=x(s),d+1<e.length&&e[d+1]===" "&&o)){for(d+=1;d<e.length&&e[d]===" ";)d+=1;d--}}return s&&r.push(s+n.getEndEscapesForAllActiveAttributes()),o?r.map(d=>q(d)):r},"wrapWithBreakAtWidth"),Or=P((e,t,o)=>{if(e.length===0)return[];const r=o?e.trim():e;if(r.length===0)return[];const n=[];let s="",a=0;return Ir(r,{getWidth:x,onSegment:P((i,l)=>{if(i.isEscapeSequence)s+=i.text;else{const c=i.text===" ";if(i.width===0)return s+=i.text,!0;if(a+i.width>t&&(s&&n.push(s),s=l.getStartEscapesForAllActiveAttributes(),a=0,c))return o||n.push(l.getStartEscapesForAllActiveAttributes()+i.text),!0;s+=i.text,a+=i.width}return!0},"onSegment")}),s&&n.push(s),o?n.map(i=>q(i)):n},"wrapCharByChar"),Pr=P((e,t,o)=>{if(e.length===0)return[];const r=o?e.trim():e;if(r.length===0)return[];const n=r.split(/(?=\s)|(?<=\s)/),s=[];let a="",i=0,l=0;for(;l<n.length;){const c=n[l],d=/^\s+$/.test(c),u=x(c);if(c.length===0){l+=1;continue}if(o&&d&&i===0){l+=1;continue}if(i+u>t&&i>0){o?s.push(q(a)):s.push(a),a="",i=0;continue}a+=c,i+=u,l+=1}return a&&(o?s.push(q(a)):s.push(a)),s},"wrapWithWordBoundaries"),Nr=P((e,t,o)=>{if(e.length===0)return[];const r=o?e.trim():e;if(r.length===0)return[];const n=r.split(/(?=\s)|(?<=\s)/),s=[];let a="",i=0,l=0;for(;l<n.length;){const c=n[l],d=/^\s+$/.test(c),u=x(c);if(c.length===0){l+=1;continue}if(o&&d&&i===0){l+=1;continue}if(u>t){a&&s.push(He(o?q(a):a));const p=oo(c,t,o);if(p.length>0){for(let h=0;h<p.length-1;h++)s.push(p[h]);a=p[p.length-1],i=x(a)}else a="",i=0;l+=1;continue}if(i+u>t&&i>0&&(s.push(He(o?q(a):a)),a="",i=0,o&&d)){l+=1;continue}a+=c,i+=u,l+=1}return a&&s.push(He(o?q(a):a)),s},"wrapAndBreakWords"),re={BREAK_AT_CHARACTERS:"BREAK_AT_CHARACTERS",BREAK_WORDS:"BREAK_WORDS",PRESERVE_WORDS:"PRESERVE_WORDS",STRICT_WIDTH:"STRICT_WIDTH"},ro=P((e,t={})=>{const{removeZeroWidthCharacters:o=!0,trim:r=!0,width:n=80,wrapMode:s=re.PRESERVE_WORDS}=t;if(r&&e.trim()==="")return"";let a=String(e).normalize("NFC").replaceAll(`\r
6
6
  `,`
7
7
  `);return o&&(a=a.replaceAll(or,"")),a.split(`
8
8
  `).map(i=>{if(r&&i.trim()==="")return"";let l;switch(s){case re.BREAK_AT_CHARACTERS:{l=Or(i,n,r);break}case re.BREAK_WORDS:{l=Nr(i,n,r);break}case re.STRICT_WIDTH:{l=oo(i,n,r);break}default:l=Pr(i,n,r)}return Fr(l)}).join(`
9
- `)},"wordWrap");var qr=Object.defineProperty,Q=$((e,t)=>qr(e,"name",{value:t,configurable:!0}),"e");const no=80,ao=24,Je=Q((e,t,{shell:o,env:r}={})=>Uo(e,t,{encoding:"utf8",stdio:["ignore","pipe","ignore"],timeout:500,shell:o,env:r}).trim(),"exec"),Te=Q((e,t)=>({columns:Number.parseInt(e,10),rows:Number.parseInt(t,10)}),"create"),so=Q((e,t)=>{const{columns:o,rows:r}=Te(e,t);if(!(Number.isNaN(o)||Number.isNaN(r))&&!(o===no&&r===ao))return{columns:o,rows:r}},"createIfNotDefault");function me(){const{env:e,stdout:t,stderr:o}=ne;if(t?.columns&&t?.rows)return Te(t.columns,t.rows);if(o?.columns&&o?.rows)return Te(o.columns,o.rows);if(e.COLUMNS&&e.LINES)return Te(e.COLUMNS,e.LINES);const r={columns:no,rows:ao};return ne.platform==="win32"?Ve()??r:ne.platform==="darwin"?Tt()??Ve()??r:Tt()??Ve()??Wr()??r}f(me,"it");R(me,"ue");$(me,"O");Q(me,"terminalSize");const Tt=Q(()=>{try{const e=ne.platform==="darwin"?xe.constants.O_EVTONLY|xe.constants.O_NONBLOCK:xe.constants.O_NONBLOCK,{columns:t,rows:o}=Vo.WriteStream(xe.openSync("/dev/tty",e));return{columns:t,rows:o}}catch{}},"devTty"),Ve=Q(()=>{try{const e=Je("tput",["cols"],{env:{TERM:"dumb",...ne.env}}),t=Je("tput",["lines"],{env:{TERM:"dumb",...ne.env}});if(e&&t)return so(e,t)}catch{}},"tput"),Wr=Q(()=>{try{const e=Je("resize",["-u"]).match(/\d+/g);if(e.length===2)return so(e[0],e[1])}catch{}},"resize"),Hr={arrow:{bottom:"↑",bottomLeft:"↗",bottomRight:"↖",left:"→",right:"←",top:"↓",topLeft:"↘",topRight:"↙"},bold:{bottom:"━",bottomLeft:"┗",bottomRight:"┛",left:"┃",right:"┃",top:"━",topLeft:"┏",topRight:"┓"},classic:{bottom:"-",bottomLeft:"+",bottomRight:"+",left:"|",right:"|",top:"-",topLeft:"+",topRight:"+"},double:{bottom:"═",bottomLeft:"╚",bottomRight:"╝",left:"║",right:"║",top:"═",topLeft:"╔",topRight:"╗"},doubleSingle:{bottom:"═",bottomLeft:"╘",bottomRight:"╛",left:"│",right:"│",top:"═",topLeft:"╒",topRight:"╕"},round:{bottom:"─",bottomLeft:"╰",bottomRight:"╯",left:"│",right:"│",top:"─",topLeft:"╭",topRight:"╮"},single:{bottom:"─",bottomLeft:"└",bottomRight:"┘",left:"│",right:"│",top:"─",topLeft:"┌",topRight:"┐"},singleDouble:{bottom:"─",bottomLeft:"╙",bottomRight:"╜",left:"║",right:"║",top:"─",topLeft:"╓",topRight:"╖"}};var Ur=Object.defineProperty,Vr=$((e,t)=>Ur(e,"name",{value:t,configurable:!0}),"n");const io=Vr(e=>{let t=0;for(const o of e.split(`
10
- `))t=Math.max(t,x(o));return t},"widestLine");var Zr=Object.defineProperty,T=$((e,t)=>Zr(e,"name",{value:t,configurable:!0}),"s");const O=`
11
- `,A=" ",ue="none",At=T(e=>typeof e=="number"?{bottom:e,left:e*3,right:e*3,top:e}:{bottom:0,left:0,right:0,top:0,...e},"getObject"),he=T(e=>e===ue?0:2,"getBorderWidth"),Gr=T(e=>{const t=["topLeft","topRight","bottomRight","bottomLeft","left","right","top","bottom"];let o;if(e===ue){e={};for(const r of t)e[r]=""}if(typeof e=="string"){const r=Hr[e];if(r===void 0)throw new TypeError(`Invalid border style: ${e}`);o=r}else{typeof e.vertical=="string"&&(e.left=e.vertical,e.right=e.vertical),typeof e.horizontal=="string"&&(e.top=e.horizontal,e.bottom=e.horizontal);for(const r of t)if(e[r]===null||typeof e[r]!="string")throw new TypeError(`Invalid border style: ${r}`);o=e}return o},"getBorderChars"),Dt=T((e,t,o,r,n)=>{let s="";e=t(e);const a=x(e);switch(n){case"left":{s=e+r(o.slice(a),x(o.slice(a)));break}case"right":{s=`${r(o.slice(a+2),x(o.slice(a))+2)} ${e} `;break}default:{if(o=o.slice(a),o.length%2===1)o=o.slice(Math.floor(o.length/2)),s=r(o.slice(1),x(o.slice(1)))+e+r(o,x(o));else{o=o.slice(o.length/2);const i=x(o);s=r(o,i)+e+r(o,i)}break}}return s},"wrapText"),Kr=T((e,{height:t,padding:o,textAlignment:r,width:n})=>{e=Et(e,{align:r});let s=e.split(O);const a=io(e),i=n-o.left-o.right;if(a>i){const d=[];for(const u of s){const p=ro(u,{width:i,wrapMode:re.BREAK_WORDS}),h=Et(p,{align:r}).split(`
12
- `),m=Math.max(...h.map(g=>x(g)));for(const g of h){let w;switch(r){case"center":{w=A.repeat((i-m)/2)+g;break}case"right":{w=A.repeat(i-m)+g;break}default:{w=g;break}}d.push(w)}}s=d}r==="center"&&a<i?s=s.map(d=>A.repeat((i-a)/2)+d):r==="right"&&a<i&&(s=s.map(d=>A.repeat(i-a)+d));const l=A.repeat(o.left),c=A.repeat(o.right);return s=s.map(d=>{const u=l+d+c,p=n-x(u);return u+A.repeat(Math.max(p,0))}),o.top>0&&(s=[...Array.from({length:o.top}).fill(A.repeat(n)),...s]),o.bottom>0&&(s=[...s,...Array.from({length:o.bottom}).fill(A.repeat(n))]),t&&s.length>t?s=s.slice(0,t):t&&s.length<t&&(s=[...s,...Array.from({length:t-s.length}).fill(A.repeat(n))]),s.join(O)},"makeContentText"),Qr=T((e,t,o,r)=>{const n=T((p,h,m)=>r.borderColor?r.borderColor(p,h,m):p,"colorizeBorder"),s=T(p=>r.headerTextColor?r.headerTextColor(p):p,"colorizeHeaderText"),a=T(p=>r.footerTextColor?r.footerTextColor(p):p,"colorizeFooterText"),i=T(p=>r.textColor?r.textColor(p):p,"colorizeContent"),l=Gr(r.borderStyle);let c=A.repeat(r.margin.left);if(r.float==="center"){const p=Math.max((o-t-he(r.borderStyle))/2,0);c=A.repeat(p)}else if(r.float==="right"){const p=Math.max(o-t-r.margin.right-he(r.borderStyle),0);c=A.repeat(p)}let d="";if(r.margin.top&&(d+=O.repeat(r.margin.top)),r.borderStyle!==ue||r.headerText){let p=n(l.top.repeat(t),"top",t);r.headerText&&(p=Dt(r.headerText,s,l.top.repeat(t),(m,g)=>n(m,"top",g),r.headerAlignment));const h=n(c+l.topLeft,"topLeft",x(c+l.topLeft));d+=h+p+n(l.topRight,"topRight",x(l.topRight))+O}const u=e.split(O);if(d+=u.map(p=>c+n(l.left,"left",x(l.left))+i(p)+n(l.right,"right",x(l.right))).join(O),r.borderStyle!==ue||r.footerText){const p=O+n(c+l.bottomLeft,"bottomLeft",x(c+l.bottomLeft));let h=n(l.bottom.repeat(t),"bottom",t);r.footerText&&(h=Dt(r.footerText,a,l.bottom.repeat(t),(m,g)=>n(m,"bottom",g),r.footerAlignment)),d+=p+h+n(l.bottomRight,"bottomRight",x(l.bottomRight))}return r.margin.bottom&&(d+=O.repeat(r.margin.bottom)),d},"boxContent"),Jr=T(e=>{if(e.fullscreen){let t=me();typeof e.fullscreen=="function"&&(t=e.fullscreen(t.columns,t.rows)),e.width||(e.width=t.columns),e.height||(e.height=t.rows)}return e.width&&(e.width=Math.max(1,e.width-he(e.borderStyle))),e.height&&(e.height=Math.max(1,e.height-he(e.borderStyle))),e},"sanitizeOptions"),It=T((e,t)=>t===ue?e:` ${e} `,"formatTitle"),Xr=T((e,t,o)=>{o=Jr(o);const r=o.width!==void 0,n=he(o.borderStyle),s=t-o.margin.left-o.margin.right-n,a=io(ro(e,{trim:!1,width:t-n,wrapMode:re.BREAK_WORDS}))+o.padding.left+o.padding.right;if(o.headerText&&r?(o.headerText=o.headerText.slice(0,Math.max(0,o.width-2)),o.headerText&&(o.headerText=It(o.headerText,o.borderStyle))):o.headerText&&(o.headerText=o.headerText.slice(0,Math.max(0,s-2)),o.headerText&&(o.headerText=It(o.headerText,o.borderStyle),x(o.headerText)>a&&(o.width=x(o.headerText)))),o.width=o.width||a,!r){if(o.margin.left&&o.margin.right&&o.width>s){const i=(t-o.width-n)/(o.margin.left+o.margin.right);o.margin.left=Math.max(0,Math.floor(o.margin.left*i)),o.margin.right=Math.max(0,Math.floor(o.margin.right*i))}o.width=Math.min(o.width,t-n-o.margin.left-o.margin.right)}return o.width-(o.padding.left+o.padding.right)<=0&&(o.padding.left=0,o.padding.right=0),o.height&&o.height-(o.padding.top+o.padding.bottom)<=0&&(o.padding.top=0,o.padding.bottom=0),o},"determineDimensions"),Yr=T((e,t={})=>{if(t.borderColor!==void 0&&typeof t.borderColor!="function")throw new Error('"borderColor" is not a valid function');if(t.textColor!==void 0&&typeof t.textColor!="function")throw new Error('"textColor" is not a valid function');let o={borderStyle:"single",dimBorder:!1,float:"left",footerAlignment:"right",headerAlignment:"left",textAlignment:"left",transformTabToSpace:4,...t};o.padding=At(t.padding??0),o.margin=At(t.margin),o.transformTabToSpace&&(e=e.replaceAll(" "," ".repeat(o.transformTabToSpace)));const{columns:r}=me();return o=Xr(e,r,o),Qr(Kr(e,o),o.width,r,o)},"boxen");var en=Object.defineProperty,tn=f((e,t)=>en(e,"name",{value:t,configurable:!0}),"t$3");const on=["cjs","mjs"],rn=["mdoc"],fe=tn(e=>{const t=(e.split("?")[0]??e).split(".").pop()?.toLowerCase();if(!t||on.includes(t))return"javascript";if(rn.includes(t))return"markdown";switch(t){case"js":return"javascript";case"json":return"json";case"json5":return"json5";case"jsonc":return"jsonc";case"jsx":return"jsx";case"sql":return"sql";case"ts":return"typescript";case"tsx":return"tsx";case"xml":return"xml";case"md":return"markdown";case"mdx":return"mdx";case"svelte":return"svelte";case"vue":return"vue";case"html":return"html";case"css":return"css";case"scss":return"scss";case"less":return"less";case"sass":return"sass";case"stylus":return"stylus";case"styl":return"styl";default:return"javascript"}},"findLanguageBasedOnExtension");var nn=Object.defineProperty,an=f((e,t)=>nn(e,"name",{value:t,configurable:!0}),"s$8");const $e=new Map,we=an(async e=>{if(/^(?:http|https|file|data):/.test(e)){if($e.has(e))return $e.get(e);if(e.startsWith("file:"))try{const t=Ro(e),o=await Lo(t,"utf8");return $e.set(e,o),o}catch{return}try{const t=await fetch(e);if(!t.ok)return;const o=await t.text();return $e.set(e,o),o}catch{return}}},"getFileSource");var sn=Object.defineProperty,Oe=f((e,t)=>sn(e,"name",{value:t,configurable:!0}),"d$2");const ln=Oe(e=>e.replace(/^\s*#+\s*/,"").trim(),"sanitizeTitle"),cn=Oe(async(e,t,o=!1)=>{const r=[...t,Vt,Zt],n=Ut(e,{frameLimit:1})[0]??{};for await(const s of r.sort((a,i)=>a.priority-i.priority)){const{handle:a}=s;if(typeof a!="function")continue;const i=await a(e,{file:n.file??"",language:fe(n.file??""),line:n.line??0,snippet:n.file?await we(n.file):""});if(i)return i}},"runSolutionFinders"),lo=Oe(async(e,t)=>{const{solutionFinders:o=[],solutionTitle:r,color:n,debug:s=!1,...a}=t,i=zo(e,{...a,...n?.codeFrame}),l=await cn(e,o,s);if(!l)return{errorAnsi:i,solutionBox:void 0};const c=ln(l.header??r??"A possible solution to this error"),d=Yr(l.body,{borderStyle:"round",padding:{top:1,right:2,bottom:1,left:2},margin:{top:0,right:0,bottom:0,left:0},headerText:`💡 ${c}`,headerAlignment:"left",textAlignment:"left",...n?.boxen});return{errorAnsi:i,solutionBox:d}},"buildOutput");Oe(async(e,t={})=>{const{logger:o=console,...r}=t,{errorAnsi:n,solutionBox:s}=await lo(e,r);o.error(n),s&&(o.log(""),o.log(s))},"terminalOutput");const zt="data:image/svg+xml;charset=utf-8,%3Csvg%20class%3D%22lucide%20lucide-help-circle%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20%3E%20%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%2210%22%20%2F%3E%20%3Cpath%20d%3D%22M9.09%209a3%203%200%200%201%205.83%201c0%202-3%203-3%203%22%20%2F%3E%20%3Cpath%20d%3D%22M12%2017h.01%22%20%2F%3E%20%3C%2Fsvg%3E",Bt="data:image/svg+xml;charset=utf-8,%3Csvg%20class%3D%22lucide%20lucide-keyboard%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20%3E%20%3Cpath%20d%3D%22M10%208h.01%22%20%2F%3E%20%3Cpath%20d%3D%22M12%2012h.01%22%20%2F%3E%20%3Cpath%20d%3D%22M14%208h.01%22%20%2F%3E%20%3Cpath%20d%3D%22M16%2012h.01%22%20%2F%3E%20%3Cpath%20d%3D%22M18%208h.01%22%20%2F%3E%20%3Cpath%20d%3D%22M6%208h.01%22%20%2F%3E%20%3Cpath%20d%3D%22M7%2016h10%22%20%2F%3E%20%3Cpath%20d%3D%22M8%2012h.01%22%20%2F%3E%20%3Crect%20width%3D%2220%22%20height%3D%2216%22%20x%3D%222%22%20y%3D%224%22%20rx%3D%222%22%20%2F%3E%20%3C%2Fsvg%3E";var dn=Object.defineProperty,pn=f((e,t)=>dn(e,"name",{value:t,configurable:!0}),"o$3");const un=`
9
+ `)},"wordWrap");var qr=Object.defineProperty,Q=$((e,t)=>qr(e,"name",{value:t,configurable:!0}),"e");const no=80,ao=24,Qe=Q((e,t,{shell:o,env:r}={})=>Uo(e,t,{encoding:"utf8",stdio:["ignore","pipe","ignore"],timeout:500,shell:o,env:r}).trim(),"exec"),Te=Q((e,t)=>({columns:Number.parseInt(e,10),rows:Number.parseInt(t,10)}),"create"),so=Q((e,t)=>{const{columns:o,rows:r}=Te(e,t);if(!(Number.isNaN(o)||Number.isNaN(r))&&!(o===no&&r===ao))return{columns:o,rows:r}},"createIfNotDefault");function me(){const{env:e,stdout:t,stderr:o}=ne;if(t?.columns&&t?.rows)return Te(t.columns,t.rows);if(o?.columns&&o?.rows)return Te(o.columns,o.rows);if(e.COLUMNS&&e.LINES)return Te(e.COLUMNS,e.LINES);const r={columns:no,rows:ao};return ne.platform==="win32"?Ue()??r:ne.platform==="darwin"?Tt()??Ue()??r:Tt()??Ue()??Wr()??r}f(me,"tt$1");R(me,"ue");$(me,"O");Q(me,"terminalSize");const Tt=Q(()=>{try{const e=ne.platform==="darwin"?xe.constants.O_EVTONLY|xe.constants.O_NONBLOCK:xe.constants.O_NONBLOCK,{columns:t,rows:o}=Vo.WriteStream(xe.openSync("/dev/tty",e));return{columns:t,rows:o}}catch{}},"devTty"),Ue=Q(()=>{try{const e=Qe("tput",["cols"],{env:{TERM:"dumb",...ne.env}}),t=Qe("tput",["lines"],{env:{TERM:"dumb",...ne.env}});if(e&&t)return so(e,t)}catch{}},"tput"),Wr=Q(()=>{try{const e=Qe("resize",["-u"]).match(/\d+/g);if(e.length===2)return so(e[0],e[1])}catch{}},"resize"),Hr={arrow:{bottom:"↑",bottomLeft:"↗",bottomRight:"↖",left:"→",right:"←",top:"↓",topLeft:"↘",topRight:"↙"},bold:{bottom:"━",bottomLeft:"┗",bottomRight:"┛",left:"┃",right:"┃",top:"━",topLeft:"┏",topRight:"┓"},classic:{bottom:"-",bottomLeft:"+",bottomRight:"+",left:"|",right:"|",top:"-",topLeft:"+",topRight:"+"},double:{bottom:"═",bottomLeft:"╚",bottomRight:"╝",left:"║",right:"║",top:"═",topLeft:"╔",topRight:"╗"},doubleSingle:{bottom:"═",bottomLeft:"╘",bottomRight:"╛",left:"│",right:"│",top:"═",topLeft:"╒",topRight:"╕"},round:{bottom:"─",bottomLeft:"╰",bottomRight:"╯",left:"│",right:"│",top:"─",topLeft:"╭",topRight:"╮"},single:{bottom:"─",bottomLeft:"└",bottomRight:"┘",left:"│",right:"│",top:"─",topLeft:"┌",topRight:"┐"},singleDouble:{bottom:"─",bottomLeft:"╙",bottomRight:"╜",left:"║",right:"║",top:"─",topLeft:"╓",topRight:"╖"}};var Ur=Object.defineProperty,Vr=$((e,t)=>Ur(e,"name",{value:t,configurable:!0}),"n");const io=Vr(e=>{let t=0;for(const o of e.split(`
10
+ `))t=Math.max(t,x(o));return t},"widestLine");var Gr=Object.defineProperty,T=$((e,t)=>Gr(e,"name",{value:t,configurable:!0}),"s");const O=`
11
+ `,A=" ",ue="none",At=T(e=>typeof e=="number"?{bottom:e,left:e*3,right:e*3,top:e}:{bottom:0,left:0,right:0,top:0,...e},"getObject"),he=T(e=>e===ue?0:2,"getBorderWidth"),Zr=T(e=>{const t=["topLeft","topRight","bottomRight","bottomLeft","left","right","top","bottom"];let o;if(e===ue){e={};for(const r of t)e[r]=""}if(typeof e=="string"){const r=Hr[e];if(r===void 0)throw new TypeError(`Invalid border style: ${e}`);o=r}else{typeof e.vertical=="string"&&(e.left=e.vertical,e.right=e.vertical),typeof e.horizontal=="string"&&(e.top=e.horizontal,e.bottom=e.horizontal);for(const r of t)if(e[r]===null||typeof e[r]!="string")throw new TypeError(`Invalid border style: ${r}`);o=e}return o},"getBorderChars"),Dt=T((e,t,o,r,n)=>{let s="";e=t(e);const a=x(e);switch(n){case"left":{s=e+r(o.slice(a),x(o.slice(a)));break}case"right":{s=`${r(o.slice(a+2),x(o.slice(a))+2)} ${e} `;break}default:{if(o=o.slice(a),o.length%2===1)o=o.slice(Math.floor(o.length/2)),s=r(o.slice(1),x(o.slice(1)))+e+r(o,x(o));else{o=o.slice(o.length/2);const i=x(o);s=r(o,i)+e+r(o,i)}break}}return s},"wrapText"),Kr=T((e,{height:t,padding:o,textAlignment:r,width:n})=>{e=Et(e,{align:r});let s=e.split(O);const a=io(e),i=n-o.left-o.right;if(a>i){const d=[];for(const u of s){const p=ro(u,{width:i,wrapMode:re.BREAK_WORDS}),h=Et(p,{align:r}).split(`
12
+ `),m=Math.max(...h.map(g=>x(g)));for(const g of h){let w;switch(r){case"center":{w=A.repeat((i-m)/2)+g;break}case"right":{w=A.repeat(i-m)+g;break}default:{w=g;break}}d.push(w)}}s=d}r==="center"&&a<i?s=s.map(d=>A.repeat((i-a)/2)+d):r==="right"&&a<i&&(s=s.map(d=>A.repeat(i-a)+d));const l=A.repeat(o.left),c=A.repeat(o.right);return s=s.map(d=>{const u=l+d+c,p=n-x(u);return u+A.repeat(Math.max(p,0))}),o.top>0&&(s=[...Array.from({length:o.top}).fill(A.repeat(n)),...s]),o.bottom>0&&(s=[...s,...Array.from({length:o.bottom}).fill(A.repeat(n))]),t&&s.length>t?s=s.slice(0,t):t&&s.length<t&&(s=[...s,...Array.from({length:t-s.length}).fill(A.repeat(n))]),s.join(O)},"makeContentText"),Qr=T((e,t,o,r)=>{const n=T((p,h,m)=>r.borderColor?r.borderColor(p,h,m):p,"colorizeBorder"),s=T(p=>r.headerTextColor?r.headerTextColor(p):p,"colorizeHeaderText"),a=T(p=>r.footerTextColor?r.footerTextColor(p):p,"colorizeFooterText"),i=T(p=>r.textColor?r.textColor(p):p,"colorizeContent"),l=Zr(r.borderStyle);let c=A.repeat(r.margin.left);if(r.float==="center"){const p=Math.max((o-t-he(r.borderStyle))/2,0);c=A.repeat(p)}else if(r.float==="right"){const p=Math.max(o-t-r.margin.right-he(r.borderStyle),0);c=A.repeat(p)}let d="";if(r.margin.top&&(d+=O.repeat(r.margin.top)),r.borderStyle!==ue||r.headerText){let p=n(l.top.repeat(t),"top",t);r.headerText&&(p=Dt(r.headerText,s,l.top.repeat(t),(m,g)=>n(m,"top",g),r.headerAlignment));const h=n(c+l.topLeft,"topLeft",x(c+l.topLeft));d+=h+p+n(l.topRight,"topRight",x(l.topRight))+O}const u=e.split(O);if(d+=u.map(p=>c+n(l.left,"left",x(l.left))+i(p)+n(l.right,"right",x(l.right))).join(O),r.borderStyle!==ue||r.footerText){const p=O+n(c+l.bottomLeft,"bottomLeft",x(c+l.bottomLeft));let h=n(l.bottom.repeat(t),"bottom",t);r.footerText&&(h=Dt(r.footerText,a,l.bottom.repeat(t),(m,g)=>n(m,"bottom",g),r.footerAlignment)),d+=p+h+n(l.bottomRight,"bottomRight",x(l.bottomRight))}return r.margin.bottom&&(d+=O.repeat(r.margin.bottom)),d},"boxContent"),Jr=T(e=>{if(e.fullscreen){let t=me();typeof e.fullscreen=="function"&&(t=e.fullscreen(t.columns,t.rows)),e.width||(e.width=t.columns),e.height||(e.height=t.rows)}return e.width&&(e.width=Math.max(1,e.width-he(e.borderStyle))),e.height&&(e.height=Math.max(1,e.height-he(e.borderStyle))),e},"sanitizeOptions"),It=T((e,t)=>t===ue?e:` ${e} `,"formatTitle"),Yr=T((e,t,o)=>{o=Jr(o);const r=o.width!==void 0,n=he(o.borderStyle),s=t-o.margin.left-o.margin.right-n,a=io(ro(e,{trim:!1,width:t-n,wrapMode:re.BREAK_WORDS}))+o.padding.left+o.padding.right;if(o.headerText&&r?(o.headerText=o.headerText.slice(0,Math.max(0,o.width-2)),o.headerText&&(o.headerText=It(o.headerText,o.borderStyle))):o.headerText&&(o.headerText=o.headerText.slice(0,Math.max(0,s-2)),o.headerText&&(o.headerText=It(o.headerText,o.borderStyle),x(o.headerText)>a&&(o.width=x(o.headerText)))),o.width=o.width||a,!r){if(o.margin.left&&o.margin.right&&o.width>s){const i=(t-o.width-n)/(o.margin.left+o.margin.right);o.margin.left=Math.max(0,Math.floor(o.margin.left*i)),o.margin.right=Math.max(0,Math.floor(o.margin.right*i))}o.width=Math.min(o.width,t-n-o.margin.left-o.margin.right)}return o.width-(o.padding.left+o.padding.right)<=0&&(o.padding.left=0,o.padding.right=0),o.height&&o.height-(o.padding.top+o.padding.bottom)<=0&&(o.padding.top=0,o.padding.bottom=0),o},"determineDimensions"),Xr=T((e,t={})=>{if(t.borderColor!==void 0&&typeof t.borderColor!="function")throw new Error('"borderColor" is not a valid function');if(t.textColor!==void 0&&typeof t.textColor!="function")throw new Error('"textColor" is not a valid function');let o={borderStyle:"single",dimBorder:!1,float:"left",footerAlignment:"right",headerAlignment:"left",textAlignment:"left",transformTabToSpace:4,...t};o.padding=At(t.padding??0),o.margin=At(t.margin),o.transformTabToSpace&&(e=e.replaceAll(" "," ".repeat(o.transformTabToSpace)));const{columns:r}=me();return o=Yr(e,r,o),Qr(Kr(e,o),o.width,r,o)},"boxen");var en=Object.defineProperty,tn=f((e,t)=>en(e,"name",{value:t,configurable:!0}),"t$3");const on=["cjs","mjs"],rn=["mdoc"],fe=tn(e=>{const t=(e.split("?")[0]??e).split(".").pop()?.toLowerCase();if(!t||on.includes(t))return"javascript";if(rn.includes(t))return"markdown";switch(t){case"js":return"javascript";case"json":return"json";case"json5":return"json5";case"jsonc":return"jsonc";case"jsx":return"jsx";case"sql":return"sql";case"ts":return"typescript";case"tsx":return"tsx";case"xml":return"xml";case"md":return"markdown";case"mdx":return"mdx";case"svelte":return"svelte";case"vue":return"vue";case"html":return"html";case"css":return"css";case"scss":return"scss";case"less":return"less";case"sass":return"sass";case"stylus":return"stylus";case"styl":return"styl";default:return"javascript"}},"findLanguageBasedOnExtension");var nn=Object.defineProperty,an=f((e,t)=>nn(e,"name",{value:t,configurable:!0}),"s$8");const $e=new Map,we=an(async e=>{if(/^(?:http|https|file|data):/.test(e)){if($e.has(e))return $e.get(e);if(e.startsWith("file:"))try{const t=Ro(e),o=await Lo(t,"utf8");return $e.set(e,o),o}catch{return}try{const t=await fetch(e);if(!t.ok)return;const o=await t.text();return $e.set(e,o),o}catch{return}}},"getFileSource");var sn=Object.defineProperty,Me=f((e,t)=>sn(e,"name",{value:t,configurable:!0}),"d$2");const ln=Me(e=>e.replace(/^\s*#+\s*/,"").trim(),"sanitizeTitle"),cn=Me(async(e,t,o=!1)=>{const r=[...t,Vt,Gt],n=Ut(e,{frameLimit:1})[0]??{};for await(const s of r.sort((a,i)=>a.priority-i.priority)){const{handle:a}=s;if(typeof a!="function")continue;const i=await a(e,{file:n.file??"",language:fe(n.file??""),line:n.line??0,snippet:n.file?await we(n.file):""});if(i)return i}},"runSolutionFinders"),lo=Me(async(e,t)=>{const{solutionFinders:o=[],solutionTitle:r,color:n,debug:s=!1,...a}=t,i=zo(e,{...a,...n?.codeFrame}),l=await cn(e,o,s);if(!l)return{errorAnsi:i,solutionBox:void 0};const c=ln(l.header??r??"A possible solution to this error"),d=Xr(l.body,{borderStyle:"round",padding:{top:1,right:2,bottom:1,left:2},margin:{top:0,right:0,bottom:0,left:0},headerText:`💡 ${c}`,headerAlignment:"left",textAlignment:"left",...n?.boxen});return{errorAnsi:i,solutionBox:d}},"buildOutput");Me(async(e,t={})=>{const{logger:o=console,...r}=t,{errorAnsi:n,solutionBox:s}=await lo(e,r);o.error(n),s&&(o.log(""),o.log(s))},"terminalOutput");const zt="data:image/svg+xml;charset=utf-8,%3Csvg%20class%3D%22lucide%20lucide-help-circle%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20%3E%20%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%2210%22%20%2F%3E%20%3Cpath%20d%3D%22M9.09%209a3%203%200%200%201%205.83%201c0%202-3%203-3%203%22%20%2F%3E%20%3Cpath%20d%3D%22M12%2017h.01%22%20%2F%3E%20%3C%2Fsvg%3E",Bt="data:image/svg+xml;charset=utf-8,%3Csvg%20class%3D%22lucide%20lucide-keyboard%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20%3E%20%3Cpath%20d%3D%22M10%208h.01%22%20%2F%3E%20%3Cpath%20d%3D%22M12%2012h.01%22%20%2F%3E%20%3Cpath%20d%3D%22M14%208h.01%22%20%2F%3E%20%3Cpath%20d%3D%22M16%2012h.01%22%20%2F%3E%20%3Cpath%20d%3D%22M18%208h.01%22%20%2F%3E%20%3Cpath%20d%3D%22M6%208h.01%22%20%2F%3E%20%3Cpath%20d%3D%22M7%2016h10%22%20%2F%3E%20%3Cpath%20d%3D%22M8%2012h.01%22%20%2F%3E%20%3Crect%20width%3D%2220%22%20height%3D%2216%22%20x%3D%222%22%20y%3D%224%22%20rx%3D%222%22%20%2F%3E%20%3C%2Fsvg%3E";var dn=Object.defineProperty,pn=f((e,t)=>dn(e,"name",{value:t,configurable:!0}),"o$3");const un=`
13
13
  <div id="ono-shortcuts-modal" class="fixed inset-0 z-50 hidden backdrop-blur-xl items-center justify-center p-2" role="dialog" aria-modal="true" aria-hidden="true" aria-labelledby="ono-shortcuts-title">
14
14
  <div class="bg-[var(--ono-surface)] rounded-[var(--ono-radius-lg)] shadow-[var(--ono-elevation-2)] max-w-md w-full max-h-[90vh] overflow-auto">
15
15
  <div class="flex items-center justify-between px-4 py-2 border-b border-[var(--ono-border)]">
@@ -109,7 +109,7 @@ const bindShortcutsModal = () => {
109
109
  <span class="dui shrink-0 size-4" style="-webkit-mask-image:url('${zt}'); mask-image:url('${zt}')"></span>
110
110
  <span class="sr-only">Keyboard shortcuts</span>
111
111
  </button>
112
- `;return{html:un+e,script:hn.trim()}},"shortcutsButton");var Xe=(e=>(e.appcode="AppCode",e["android-studio"]="Android Studio",e.atom="Atom",e["atom-beta"]="Atom Beta",e.brackets="Brackets",e.clion="CLion",e.code="Visual Studio Code",e["code-insiders"]="Visual Studio Code Insiders",e.codium="VSCodium",e.cursor="Cursor",e.emacs="GNU Emacs",e.emacsforosx="GNU Emacs for Mac OS X",e.intellij="IntelliJ IDEA",e.idea="IntelliJ IDEA",e.nano="GNU nano",e.neovim="NeoVim",e["notepad++"]="Notepad++",e.phpstorm="PhpStorm",e.pycharm="PyCharm",e.rider="Rider",e.rubymine="RubyMine",e.sublime="SublimeText",e.textmate="TextMate",e.vim="Vim",e.visualstudio="Visual Studio",e.vscode="Visual Studio Code",e.vscodium="VSCodium",e.webstorm="WebStorm",e.xcode="Xcode",e.zed="Zed",e))(Xe||{}),gn=Object.defineProperty,mn=f((e,t)=>gn(e,"name",{value:t,configurable:!0}),"t$2");const fn=mn(e=>{let t='<option value="">Auto-detected Editor</option>';return Object.keys(Xe).forEach(o=>{const r=e&&String(e)===String(o);t+=`<option value="${String(o)}" ${r?"selected":""}>${Xe[o]}</option>`}),`<div class="relative inline-block">
112
+ `;return{html:un+e,script:hn.trim()}},"shortcutsButton");var Je=(e=>(e.appcode="AppCode",e["android-studio"]="Android Studio",e.atom="Atom",e["atom-beta"]="Atom Beta",e.brackets="Brackets",e.clion="CLion",e.code="Visual Studio Code",e["code-insiders"]="Visual Studio Code Insiders",e.codium="VSCodium",e.cursor="Cursor",e.emacs="GNU Emacs",e.emacsforosx="GNU Emacs for Mac OS X",e.intellij="IntelliJ IDEA",e.idea="IntelliJ IDEA",e.nano="GNU nano",e.neovim="NeoVim",e["notepad++"]="Notepad++",e.phpstorm="PhpStorm",e.pycharm="PyCharm",e.rider="Rider",e.rubymine="RubyMine",e.sublime="SublimeText",e.textmate="TextMate",e.vim="Vim",e.visualstudio="Visual Studio",e.vscode="Visual Studio Code",e.vscodium="VSCodium",e.webstorm="WebStorm",e.xcode="Xcode",e.zed="Zed",e))(Je||{}),gn=Object.defineProperty,mn=f((e,t)=>gn(e,"name",{value:t,configurable:!0}),"t$2");const fn=mn(e=>{let t='<option value="">Auto-detected Editor</option>';return Object.keys(Je).forEach(o=>{const r=e&&String(e)===String(o);t+=`<option value="${String(o)}" ${r?"selected":""}>${Je[o]}</option>`}),`<div class="relative inline-block">
113
113
  <label for="editor-selector" class="sr-only">Editor</label>
114
114
  <select id="editor-selector" class="peer py-2 px-3 pe-9 block w-56 bg-[var(--ono-surface)] border border-[var(--ono-border)] rounded-[var(--ono-radius-md)] text-sm text-[var(--ono-text)] shadow-[var(--ono-elevation-1)] hover:bg-[var(--ono-hover-overlay)] focus:outline-hidden focus:ring-1 focus:ring-[var(--ono-red-orange)]">
115
115
  ${t}
@@ -255,7 +255,7 @@ bindShortcutsModal();
255
255
  `:`
256
256
  bindShortcutsModal();
257
257
  `}
258
- `}},"headerBar"),$n=`<!-- @license lucide-static v0.545.0 - ISC -->
258
+ `}},"headerBar"),$n=`<!-- @license lucide-static v0.546.0 - ISC -->
259
259
  <svg
260
260
  class="lucide lucide-blocks"
261
261
  xmlns="http://www.w3.org/2000/svg"
@@ -271,7 +271,7 @@ bindShortcutsModal();
271
271
  <path d="M10 22V7a1 1 0 0 0-1-1H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-5a1 1 0 0 0-1-1H2" />
272
272
  <rect x="14" y="2" width="8" height="8" rx="1" />
273
273
  </svg>
274
- `,En=`<!-- @license lucide-static v0.545.0 - ISC -->
274
+ `,En=`<!-- @license lucide-static v0.546.0 - ISC -->
275
275
  <svg
276
276
  class="lucide lucide-layers"
277
277
  xmlns="http://www.w3.org/2000/svg"
@@ -288,7 +288,7 @@ bindShortcutsModal();
288
288
  <path d="M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12" />
289
289
  <path d="M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17" />
290
290
  </svg>
291
- `,Sn=`<!-- @license lucide-static v0.545.0 - ISC -->
291
+ `,Sn=`<!-- @license lucide-static v0.546.0 - ISC -->
292
292
  <svg
293
293
  class="lucide lucide-square-dashed"
294
294
  xmlns="http://www.w3.org/2000/svg"
@@ -403,8 +403,8 @@ bindShortcutsModal();
403
403
  }
404
404
  });
405
405
  })();
406
- `}},"headerTabs");var In=`/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */
407
- @layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-space-y-reverse:0;--tw-border-style:solid;--tw-font-weight:initial;--tw-tracking:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial;--tw-ease:initial;--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0}}}@layer theme{:root,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-blue-500:oklch(62.3% .214 259.815);--color-blue-600:oklch(54.6% .245 262.881);--color-slate-500:oklch(55.4% .046 257.417);--color-slate-700:oklch(37.2% .044 257.287);--color-gray-100:oklch(96.7% .003 264.542);--color-gray-500:oklch(55.1% .027 264.364);--color-gray-600:oklch(44.6% .03 256.802);--color-gray-700:oklch(37.3% .034 259.733);--color-white:#fff;--spacing:.25rem;--container-md:28rem;--text-xs:.75rem;--text-xs--line-height:calc(1/.75);--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--text-lg:1.125rem;--text-lg--line-height:calc(1.75/1.125);--text-xl:1.25rem;--text-xl--line-height:calc(1.75/1.25);--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--tracking-wide:.025em;--radius-lg:.5rem;--ease-in-out:cubic-bezier(.4,0,.2,1);--blur-xl:24px;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}button:not(:disabled),[role=button]:not(:disabled){cursor:pointer}body{background-color:var(--ono-bg);color:var(--ono-text)}pre,code{color:var(--ono-text)}.text-muted{color:var(--ono-text-muted)}a{color:var(--ono-link)}a:hover{text-decoration:underline}::selection{background:var(--ono-red-orange)}@supports (color:color-mix(in lab, red, red)){::selection{background:color-mix(in srgb,var(--ono-red-orange)20%,transparent)}}kbd{background-color:var(--ono-chip-bg);color:var(--ono-chip-text);border-radius:.375rem;padding:.125rem .375rem;font:.75rem ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}hr{border-color:var(--ono-border)}[type=text],input:where(:not([type])),[type=email],[type=url],[type=password],[type=number],[type=date],[type=datetime-local],[type=month],[type=search],[type=tel],[type=time],[type=week],[multiple],textarea,select{appearance:none;--tw-shadow:0 0 #0000;background-color:#fff;border-width:1px;border-color:oklch(55.1% .027 264.364);border-radius:0;padding:.5rem .75rem;font-size:1rem;line-height:1.5rem}:is([type=text],input:where(:not([type])),[type=email],[type=url],[type=password],[type=number],[type=date],[type=datetime-local],[type=month],[type=search],[type=tel],[type=time],[type=week],[multiple],textarea,select):focus{outline-offset:2px;--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:oklch(54.6% .245 262.881);--tw-ring-offset-shadow:var(--tw-ring-inset)0 0 0 var(--tw-ring-offset-width)var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset)0 0 0 calc(1px + var(--tw-ring-offset-width))var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);border-color:oklch(54.6% .245 262.881);outline:2px solid #0000}input::placeholder,textarea::placeholder{color:oklch(55.1% .027 264.364);opacity:1}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em}::-webkit-date-and-time-value{text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit{padding-top:0;padding-bottom:0}::-webkit-datetime-edit-year-field{padding-top:0;padding-bottom:0}::-webkit-datetime-edit-month-field{padding-top:0;padding-bottom:0}::-webkit-datetime-edit-day-field{padding-top:0;padding-bottom:0}::-webkit-datetime-edit-hour-field{padding-top:0;padding-bottom:0}::-webkit-datetime-edit-minute-field{padding-top:0;padding-bottom:0}::-webkit-datetime-edit-second-field{padding-top:0;padding-bottom:0}::-webkit-datetime-edit-millisecond-field{padding-top:0;padding-bottom:0}::-webkit-datetime-edit-meridiem-field{padding-top:0;padding-bottom:0}select{print-color-adjust:exact;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='oklch(55.1%25 0.027 264.364)' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem}[multiple],[size]:where(select:not([size="1"])){background-image:initial;background-position:initial;background-repeat:unset;background-size:initial;print-color-adjust:unset;padding-right:.75rem}[type=checkbox],[type=radio]{appearance:none;print-color-adjust:exact;vertical-align:middle;-webkit-user-select:none;user-select:none;color:oklch(54.6% .245 262.881);--tw-shadow:0 0 #0000;background-color:#fff;background-origin:border-box;border-width:1px;border-color:oklch(55.1% .027 264.364);flex-shrink:0;width:1rem;height:1rem;padding:0;display:inline-block}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{outline-offset:2px;--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:2px;--tw-ring-offset-color:#fff;--tw-ring-color:oklch(54.6% .245 262.881);--tw-ring-offset-shadow:var(--tw-ring-inset)0 0 0 var(--tw-ring-offset-width)var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid #0000}[type=checkbox]:checked,[type=radio]:checked{background-color:currentColor;background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:#0000}[type=checkbox]:checked{background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e")}@media (forced-colors:active){[type=checkbox]:checked{appearance:auto}}[type=radio]:checked{background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e")}@media (forced-colors:active){[type=radio]:checked{appearance:auto}}[type=checkbox]:checked:hover,[type=checkbox]:checked:focus,[type=radio]:checked:hover,[type=radio]:checked:focus{background-color:currentColor;border-color:#0000}[type=checkbox]:indeterminate{background-color:currentColor;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3e%3cpath stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3e%3c/svg%3e");background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:#0000}@media (forced-colors:active){[type=checkbox]:indeterminate{appearance:auto}}[type=checkbox]:indeterminate:hover,[type=checkbox]:indeterminate:focus{background-color:currentColor;border-color:#0000}[type=file]{background:unset;border-color:inherit;font-size:unset;line-height:inherit;border-width:0;border-radius:0;padding:0}[type=file]:focus{outline:1px solid buttontext;outline:1px auto -webkit-focus-ring-color}}@layer components;@layer utilities{.collapse{visibility:collapse}.invisible{visibility:hidden}.visible{visibility:visible}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.sticky{position:sticky}.inset-0{inset:calc(var(--spacing)*0)}.-top-40{top:calc(var(--spacing)*-40)}.top-0{top:calc(var(--spacing)*0)}.top-0\\.5{top:calc(var(--spacing)*.5)}.top-2{top:calc(var(--spacing)*2)}.top-4{top:calc(var(--spacing)*4)}.top-full{top:100%}.right-2{right:calc(var(--spacing)*2)}.left-0{left:calc(var(--spacing)*0)}.left-0\\.5{left:calc(var(--spacing)*.5)}.z-10{z-index:10}.z-20{z-index:20}.z-50{z-index:50}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:48rem){.container{max-width:48rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:96rem){.container{max-width:96rem}}.mx-auto{margin-inline:auto}.my-6{margin-block:calc(var(--spacing)*6)}.prose{color:var(--tw-prose-body);max-width:65ch}.prose :where(p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}.prose :where([class~=lead]):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-lead);margin-top:1.2em;margin-bottom:1.2em;font-size:1.25em;line-height:1.6}.prose :where(a):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-links);font-weight:500;text-decoration:underline}.prose :where(strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-bold);font-weight:600}.prose :where(a strong):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(blockquote strong):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(thead th strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em;padding-inline-start:1.625em;list-style-type:decimal}.prose :where(ol[type=A]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=a]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=A s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=a s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=I]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type=i]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type=I s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type=i s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type="1"]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:decimal}.prose :where(ul):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em;padding-inline-start:1.625em;list-style-type:disc}.prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{color:var(--tw-prose-counters);font-weight:400}.prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{color:var(--tw-prose-bullets)}.prose :where(dt):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);margin-top:1.25em;font-weight:600}.prose :where(hr):not(:where([class~=not-prose],[class~=not-prose] *)){border-color:var(--tw-prose-hr);border-top-width:1px;margin-top:3em;margin-bottom:3em}.prose :where(blockquote):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-quotes);border-inline-start-width:.25rem;border-inline-start-color:var(--tw-prose-quote-borders);quotes:"“""”""‘""’";margin-top:1.6em;margin-bottom:1.6em;padding-inline-start:1em;font-style:italic;font-weight:500}.prose :where(blockquote p:first-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:open-quote}.prose :where(blockquote p:last-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:close-quote}.prose :where(h1):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);margin-top:0;margin-bottom:.888889em;font-size:2.25em;font-weight:800;line-height:1.11111}.prose :where(h1 strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-weight:900}.prose :where(h2):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);margin-top:2em;margin-bottom:1em;font-size:1.5em;font-weight:700;line-height:1.33333}.prose :where(h2 strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-weight:800}.prose :where(h3):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);margin-top:1.6em;margin-bottom:.6em;font-size:1.25em;font-weight:600;line-height:1.6}.prose :where(h3 strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-weight:700}.prose :where(h4):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);margin-top:1.5em;margin-bottom:.5em;font-weight:600;line-height:1.5}.prose :where(h4 strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-weight:700}.prose :where(img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(picture):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em;display:block}.prose :where(video):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(kbd):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-kbd);box-shadow:0 0 0 1px var(--tw-prose-kbd-shadows),0 3px 0 var(--tw-prose-kbd-shadows);padding-top:.1875em;padding-inline-end:.375em;padding-bottom:.1875em;border-radius:.3125rem;padding-inline-start:.375em;font-family:inherit;font-size:.875em;font-weight:500}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-code);font-size:.875em;font-weight:600}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):before,.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:"\`"}.prose :where(a code):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(h1 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(h2 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.875em}.prose :where(h3 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.9em}.prose :where(h4 code):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(blockquote code):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(thead th code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(pre):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-pre-code);background-color:var(--tw-prose-pre-bg);padding-top:.857143em;padding-inline-end:1.14286em;padding-bottom:.857143em;border-radius:.375rem;margin-top:1.71429em;margin-bottom:1.71429em;padding-inline-start:1.14286em;font-size:.875em;font-weight:400;line-height:1.71429;overflow-x:auto}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:inherit;color:inherit;font-size:inherit;font-family:inherit;line-height:inherit;background-color:#0000;border-width:0;border-radius:0;padding:0}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):before,.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:none}.prose :where(table):not(:where([class~=not-prose],[class~=not-prose] *)){table-layout:auto;width:100%;margin-top:2em;margin-bottom:2em;font-size:.875em;line-height:1.71429}.prose :where(thead):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-th-borders)}.prose :where(thead th):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);vertical-align:bottom;padding-inline-end:.571429em;padding-bottom:.571429em;padding-inline-start:.571429em;font-weight:600}.prose :where(tbody tr):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-td-borders)}.prose :where(tbody tr:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:0}.prose :where(tbody td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:baseline}.prose :where(tfoot):not(:where([class~=not-prose],[class~=not-prose] *)){border-top-width:1px;border-top-color:var(--tw-prose-th-borders)}.prose :where(tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:top}.prose :where(th,td):not(:where([class~=not-prose],[class~=not-prose] *)){text-align:start}.prose :where(figure>*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose :where(figcaption):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-captions);margin-top:.857143em;font-size:.875em;line-height:1.42857}.prose{--tw-prose-body:oklch(37.3% .034 259.733);--tw-prose-headings:oklch(21% .034 264.665);--tw-prose-lead:oklch(44.6% .03 256.802);--tw-prose-links:oklch(21% .034 264.665);--tw-prose-bold:oklch(21% .034 264.665);--tw-prose-counters:oklch(55.1% .027 264.364);--tw-prose-bullets:oklch(87.2% .01 258.338);--tw-prose-hr:oklch(92.8% .006 264.531);--tw-prose-quotes:oklch(21% .034 264.665);--tw-prose-quote-borders:oklch(92.8% .006 264.531);--tw-prose-captions:oklch(55.1% .027 264.364);--tw-prose-kbd:oklch(21% .034 264.665);--tw-prose-kbd-shadows:oklab(21% -.00316127 -.0338527/.1);--tw-prose-code:oklch(21% .034 264.665);--tw-prose-pre-code:oklch(92.8% .006 264.531);--tw-prose-pre-bg:oklch(27.8% .033 256.848);--tw-prose-th-borders:oklch(87.2% .01 258.338);--tw-prose-td-borders:oklch(92.8% .006 264.531);--tw-prose-invert-body:oklch(87.2% .01 258.338);--tw-prose-invert-headings:#fff;--tw-prose-invert-lead:oklch(70.7% .022 261.325);--tw-prose-invert-links:#fff;--tw-prose-invert-bold:#fff;--tw-prose-invert-counters:oklch(70.7% .022 261.325);--tw-prose-invert-bullets:oklch(44.6% .03 256.802);--tw-prose-invert-hr:oklch(37.3% .034 259.733);--tw-prose-invert-quotes:oklch(96.7% .003 264.542);--tw-prose-invert-quote-borders:oklch(37.3% .034 259.733);--tw-prose-invert-captions:oklch(70.7% .022 261.325);--tw-prose-invert-kbd:#fff;--tw-prose-invert-kbd-shadows:#ffffff1a;--tw-prose-invert-code:#fff;--tw-prose-invert-pre-code:oklch(87.2% .01 258.338);--tw-prose-invert-pre-bg:#00000080;--tw-prose-invert-th-borders:oklch(44.6% .03 256.802);--tw-prose-invert-td-borders:oklch(37.3% .034 259.733);font-size:1rem;line-height:1.75}.prose :where(picture>img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose :where(li):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;margin-bottom:.5em}.prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.375em}.prose :where(.prose>ul>li p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(.prose>ul>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ul>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}.prose :where(.prose>ol>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ol>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}.prose :where(ul ul,ul ol,ol ul,ol ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(dl):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}.prose :where(dd):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;padding-inline-start:1.625em}.prose :where(hr+*):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(h2+*):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(h3+*):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(h4+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(thead th:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.prose :where(thead th:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.prose :where(tbody td,tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){padding-top:.571429em;padding-inline-end:.571429em;padding-bottom:.571429em;padding-inline-start:.571429em}.prose :where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.prose :where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.prose :where(figure):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(.prose>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(.prose>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:0}.prose-sm{font-size:.875rem;line-height:1.71429}.prose-sm :where(p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.14286em;margin-bottom:1.14286em}.prose-sm :where([class~=lead]):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.888889em;margin-bottom:.888889em;font-size:1.28571em;line-height:1.55556}.prose-sm :where(blockquote):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.33333em;margin-bottom:1.33333em;padding-inline-start:1.11111em}.prose-sm :where(h1):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:.8em;font-size:2.14286em;line-height:1.2}.prose-sm :where(h2):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.6em;margin-bottom:.8em;font-size:1.42857em;line-height:1.4}.prose-sm :where(h3):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.55556em;margin-bottom:.444444em;font-size:1.28571em;line-height:1.55556}.prose-sm :where(h4):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.42857em;margin-bottom:.571429em;line-height:1.42857}.prose-sm :where(img):not(:where([class~=not-prose],[class~=not-prose] *)),.prose-sm :where(picture):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.71429em;margin-bottom:1.71429em}.prose-sm :where(picture>img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose-sm :where(video):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.71429em;margin-bottom:1.71429em}.prose-sm :where(kbd):not(:where([class~=not-prose],[class~=not-prose] *)){padding-top:.142857em;padding-inline-end:.357143em;padding-bottom:.142857em;border-radius:.3125rem;padding-inline-start:.357143em;font-size:.857143em}.prose-sm :where(code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.857143em}.prose-sm :where(h2 code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.9em}.prose-sm :where(h3 code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.888889em}.prose-sm :where(pre):not(:where([class~=not-prose],[class~=not-prose] *)){padding-top:.666667em;padding-inline-end:1em;padding-bottom:.666667em;border-radius:.25rem;margin-top:1.66667em;margin-bottom:1.66667em;padding-inline-start:1em;font-size:.857143em;line-height:1.66667}.prose-sm :where(ol):not(:where([class~=not-prose],[class~=not-prose] *)),.prose-sm :where(ul):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.14286em;margin-bottom:1.14286em;padding-inline-start:1.57143em}.prose-sm :where(li):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.285714em;margin-bottom:.285714em}.prose-sm :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *)),.prose-sm :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.428571em}.prose-sm :where(.prose-sm>ul>li p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.571429em;margin-bottom:.571429em}.prose-sm :where(.prose-sm>ul>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.14286em}.prose-sm :where(.prose-sm>ul>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.14286em}.prose-sm :where(.prose-sm>ol>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.14286em}.prose-sm :where(.prose-sm>ol>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.14286em}.prose-sm :where(ul ul,ul ol,ol ul,ol ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.571429em;margin-bottom:.571429em}.prose-sm :where(dl):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.14286em;margin-bottom:1.14286em}.prose-sm :where(dt):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.14286em}.prose-sm :where(dd):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.285714em;padding-inline-start:1.57143em}.prose-sm :where(hr):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2.85714em;margin-bottom:2.85714em}.prose-sm :where(hr+*):not(:where([class~=not-prose],[class~=not-prose] *)),.prose-sm :where(h2+*):not(:where([class~=not-prose],[class~=not-prose] *)),.prose-sm :where(h3+*):not(:where([class~=not-prose],[class~=not-prose] *)),.prose-sm :where(h4+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose-sm :where(table):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.857143em;line-height:1.5}.prose-sm :where(thead th):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:1em;padding-bottom:.666667em;padding-inline-start:1em}.prose-sm :where(thead th:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.prose-sm :where(thead th:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.prose-sm :where(tbody td,tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){padding-top:.666667em;padding-inline-end:1em;padding-bottom:.666667em;padding-inline-start:1em}.prose-sm :where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.prose-sm :where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.prose-sm :where(figure):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.71429em;margin-bottom:1.71429em}.prose-sm :where(figure>*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose-sm :where(figcaption):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.666667em;font-size:.857143em;line-height:1.33333}.prose-sm :where(.prose-sm>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose-sm :where(.prose-sm>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:0}.mt-1{margin-top:calc(var(--spacing)*1)}.mt-2{margin-top:calc(var(--spacing)*2)}.mt-6{margin-top:calc(var(--spacing)*6)}.mb-2{margin-bottom:calc(var(--spacing)*2)}.mb-4{margin-bottom:calc(var(--spacing)*4)}.mb-6{margin-bottom:calc(var(--spacing)*6)}.ml-1{margin-left:calc(var(--spacing)*1)}.ml-4{margin-left:calc(var(--spacing)*4)}.line-clamp-1{-webkit-line-clamp:1;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.block{display:block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.table{display:table}.size-3{width:calc(var(--spacing)*3);height:calc(var(--spacing)*3)}.size-4{width:calc(var(--spacing)*4);height:calc(var(--spacing)*4)}.size-8{width:calc(var(--spacing)*8);height:calc(var(--spacing)*8)}.size-9{width:calc(var(--spacing)*9);height:calc(var(--spacing)*9)}.h-4{height:calc(var(--spacing)*4)}.h-5{height:calc(var(--spacing)*5)}.h-8{height:calc(var(--spacing)*8)}.h-9{height:calc(var(--spacing)*9)}.h-full{height:100%}.max-h-\\[90vh\\]{max-height:90vh}.max-h-\\[calc\\(100dvh-2rem\\)\\]{max-height:calc(100dvh - 2rem)}.w-4{width:calc(var(--spacing)*4)}.w-4\\/12{width:33.3333%}.w-8{width:calc(var(--spacing)*8)}.w-8\\/12{width:66.6667%}.w-9{width:calc(var(--spacing)*9)}.w-12{width:calc(var(--spacing)*12)}.w-56{width:calc(var(--spacing)*56)}.w-64{width:calc(var(--spacing)*64)}.w-full{width:100%}.max-w-full{max-width:100%}.max-w-md{max-width:var(--container-md)}.min-w-0{min-width:calc(var(--spacing)*0)}.min-w-6\\/12{min-width:50%}.min-w-52{min-width:calc(var(--spacing)*52)}.shrink-0{flex-shrink:0}.grow{flex-grow:1}.cursor-help{cursor:help}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-\\[200px_1fr\\]{grid-template-columns:200px 1fr}.flex-col{flex-direction:column}.flex-row{flex-direction:row}.items-center{align-items:center}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.gap-1{gap:calc(var(--spacing)*1)}.gap-2{gap:calc(var(--spacing)*2)}.gap-3{gap:calc(var(--spacing)*3)}.gap-4{gap:calc(var(--spacing)*4)}.gap-6{gap:calc(var(--spacing)*6)}:where(.space-y-1>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*1)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*1)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-4>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*4)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*4)*calc(1 - var(--tw-space-y-reverse)))}.gap-x-2{column-gap:calc(var(--spacing)*2)}.gap-x-3{column-gap:calc(var(--spacing)*3)}.self-start{align-self:flex-start}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-visible{overflow:visible}.rounded{border-radius:.25rem}.rounded-\\[var\\(--ono-radius-lg\\)\\]{border-radius:var(--ono-radius-lg)}.rounded-\\[var\\(--ono-radius-md\\)\\]{border-radius:var(--ono-radius-md)}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-tl-lg{border-top-left-radius:var(--radius-lg)}.rounded-r-\\[var\\(--ono-radius-lg\\)\\]{border-top-right-radius:var(--ono-radius-lg);border-bottom-right-radius:var(--ono-radius-lg)}.rounded-tr-lg{border-top-right-radius:var(--radius-lg)}.rounded-br-lg{border-bottom-right-radius:var(--radius-lg)}.rounded-bl-lg{border-bottom-left-radius:var(--radius-lg)}.border{border-style:var(--tw-border-style);border-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-l-2{border-left-style:var(--tw-border-style);border-left-width:2px}.border-\\[var\\(--ono-border\\)\\]{border-color:var(--ono-border)}.border-\\[var\\(--ono-red-orange\\)\\]{border-color:var(--ono-red-orange)}.border-blue-600{border-color:var(--color-blue-600)}.border-transparent{border-color:#0000}.bg-\\[var\\(--ono-bg\\)\\]{background-color:var(--ono-bg)}.bg-\\[var\\(--ono-chip-bg\\)\\]{background-color:var(--ono-chip-bg)}.bg-\\[var\\(--ono-success-bg\\)\\]{background-color:var(--ono-success-bg)}.bg-\\[var\\(--ono-surface\\)\\]{background-color:var(--ono-surface)}.bg-\\[var\\(--ono-surface-muted\\)\\]{background-color:var(--ono-surface-muted)}.bg-\\[var\\(--ono-white-smoke\\)\\]{background-color:var(--ono-white-smoke)}.bg-gray-100{background-color:var(--color-gray-100)}.bg-white{background-color:var(--color-white)}.p-0{padding:calc(var(--spacing)*0)}.p-1{padding:calc(var(--spacing)*1)}.p-2{padding:calc(var(--spacing)*2)}.p-3{padding:calc(var(--spacing)*3)}.p-4{padding:calc(var(--spacing)*4)}.p-5{padding:calc(var(--spacing)*5)}.p-6{padding:calc(var(--spacing)*6)}.px-1{padding-inline:calc(var(--spacing)*1)}.px-2{padding-inline:calc(var(--spacing)*2)}.px-3{padding-inline:calc(var(--spacing)*3)}.px-4{padding-inline:calc(var(--spacing)*4)}.px-5{padding-inline:calc(var(--spacing)*5)}.px-6{padding-inline:calc(var(--spacing)*6)}.py-0\\.5{padding-block:calc(var(--spacing)*.5)}.py-1{padding-block:calc(var(--spacing)*1)}.py-1\\.5{padding-block:calc(var(--spacing)*1.5)}.py-2{padding-block:calc(var(--spacing)*2)}.py-3{padding-block:calc(var(--spacing)*3)}.py-4{padding-block:calc(var(--spacing)*4)}.pe-9{padding-inline-end:calc(var(--spacing)*9)}.pt-0{padding-top:calc(var(--spacing)*0)}.pt-2{padding-top:calc(var(--spacing)*2)}.pt-5{padding-top:calc(var(--spacing)*5)}.pt-6{padding-top:calc(var(--spacing)*6)}.pb-4{padding-bottom:calc(var(--spacing)*4)}.pl-3{padding-left:calc(var(--spacing)*3)}.pl-5{padding-left:calc(var(--spacing)*5)}.text-left{text-align:left}.text-right{text-align:right}.text-start{text-align:start}.font-mono{font-family:var(--font-mono)}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\\[10px\\]{font-size:10px}.text-\\[11px\\]{font-size:11px}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-wide{--tw-tracking:var(--tracking-wide);letter-spacing:var(--tracking-wide)}.break-words{overflow-wrap:break-word}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-wrap{white-space:pre-wrap}.text-\\[var\\(--ono-chip-text\\)\\]{color:var(--ono-chip-text)}.text-\\[var\\(--ono-on-accent\\)\\]{color:var(--ono-on-accent)}.text-\\[var\\(--ono-red-orange\\)\\]{color:var(--ono-red-orange)}.text-\\[var\\(--ono-text\\)\\]{color:var(--ono-text)}.text-\\[var\\(--ono-text-muted\\)\\]{color:var(--ono-text-muted)}.text-blue-500{color:var(--color-blue-500)}.text-blue-600{color:var(--color-blue-600)}.uppercase{text-transform:uppercase}.italic{font-style:italic}.underline{text-decoration-line:underline}.opacity-0{opacity:0}.opacity-100{opacity:1}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-\\[var\\(--ono-elevation-1\\)\\]{--tw-shadow:var(--ono-elevation-1);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-\\[var\\(--ono-elevation-2\\)\\]{--tw-shadow:var(--ono-elevation-2);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-xl{--tw-shadow:0 20px 25px -5px var(--tw-shadow-color,#0000001a),0 8px 10px -6px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ring-\\[var\\(--ono-red-orange\\)\\]{--tw-ring-color:var(--ono-red-orange)}.filter{filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.backdrop-blur-xl{--tw-backdrop-blur:blur(var(--blur-xl));-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\\[height\\]{transition-property:height;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\\[max-height\\,opacity\\]{transition-property:max-height,opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-150{--tw-duration:.15s;transition-duration:.15s}.duration-200{--tw-duration:.2s;transition-duration:.2s}.duration-300{--tw-duration:.3s;transition-duration:.3s}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.peer-checked\\:translate-x-4:is(:where(.peer):checked~*){--tw-translate-x:calc(var(--spacing)*4);translate:var(--tw-translate-x)var(--tw-translate-y)}.peer-checked\\:bg-\\[var\\(--ono-red-orange\\)\\]:is(:where(.peer):checked~*){background-color:var(--ono-red-orange)}.last\\:mb-0:last-child{margin-bottom:calc(var(--spacing)*0)}.hover\\:bg-\\[var\\(--ono-hover-overlay\\)\\]:hover{background-color:var(--ono-hover-overlay)}.hover\\:bg-\\[var\\(--ono-surface\\)\\]:hover{background-color:var(--ono-surface)}.hover\\:bg-\\[var\\(--ono-surface-muted\\)\\]:hover{background-color:var(--ono-surface-muted)}.hover\\:text-\\[var\\(--ono-link\\)\\]:hover{color:var(--ono-link)}.hover\\:text-\\[var\\(--ono-text\\)\\]:hover{color:var(--ono-text)}.hover\\:underline:hover{text-decoration-line:underline}.focus\\:bg-\\[var\\(--ono-hover-overlay\\)\\]:focus{background-color:var(--ono-hover-overlay)}.focus\\:ring-1:focus{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(1px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus\\:ring-2:focus{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus\\:ring-\\[var\\(--ono-red-orange\\)\\]:focus{--tw-ring-color:var(--ono-red-orange)}.focus\\:ring-gray-600:focus{--tw-ring-color:var(--color-gray-600)}.focus\\:outline-hidden:focus{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.focus\\:outline-hidden:focus{outline-offset:2px;outline:2px solid #0000}}.focus-visible\\:ring-\\[3px\\]:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(3px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.active\\:bg-\\[var\\(--ono-surface\\)\\]:active{background-color:var(--ono-surface)}.active\\:text-\\[var\\(--ono-text\\)\\]:active{color:var(--ono-text)}.active\\:shadow-\\[var\\(--ono-elevation-1\\)\\]:active{--tw-shadow:var(--ono-elevation-1);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.active\\:ring-2:active{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:opacity-50:disabled{opacity:.5}.dark\\:bg-gray-700\\/50:where(.dark,.dark *){background-color:#36415380}@supports (color:color-mix(in lab, red, red)){.dark\\:bg-gray-700\\/50:where(.dark,.dark *){background-color:color-mix(in oklab,var(--color-gray-700)50%,transparent)}}.dark\\:text-\\[var\\(--ono-neutral\\)\\]:where(.dark,.dark *){color:var(--ono-neutral)}.prose-headings\\:text-white :where(h1,h2,h3,h4,h5,h6,th):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--color-white)}.prose-ul\\:list-none :where(ul):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:none}.prose-hr\\:my-6 :where(hr):not(:where([class~=not-prose],[class~=not-prose] *)){margin-block:calc(var(--spacing)*6)}.prose-hr\\:border-\\[var\\(--ono-success-border\\)\\] :where(hr):not(:where([class~=not-prose],[class~=not-prose] *)){border-color:var(--ono-success-border)}.\\[\\&\\.ono-dropdown-open\\]\\:block.ono-dropdown-open{display:block}.\\[\\&\\.ono-dropdown-open\\]\\:rotate-180.ono-dropdown-open{rotate:180deg}.\\[\\:\\>svg\\]\\:size-4:is(){width:calc(var(--spacing)*4);height:calc(var(--spacing)*4)}}:root,:host{--ono-white-smoke:#f5f5f5;--ono-red-orange:#ff4628;--ono-charcoal-black:#202020;--ono-bg:var(--ono-white-smoke);--ono-surface:#fff;--ono-surface-muted:#fafafa;--ono-border:#b9c8d780;--ono-hover-overlay:#2020200d;--ono-success:#2ea043;--ono-success-bg:#03611699;--ono-neutral:#6e7681;--ono-neutral-bg:#6e76812e;--ono-chip-bg:#6e768124;--ono-chip-text:var(--ono-text);--ono-radius-md:.5rem;--ono-radius-lg:.75rem;--ono-elevation-1:0 1px 2px #0000000a,0 1px 1px #00000005;--ono-elevation-2:0 10px 25px -5px #2020201a,0 8px 10px -6px #2020201a;--ono-text:#111827;--ono-text-muted:#374151;--ono-link:#c4311d;--ono-muted-on-surface:#374151;--ono-on-accent:#fff}.dark{--ono-bg:#161b22;--ono-surface:#0d1117;--ono-surface-muted:#0f141b;--ono-border:#30363d99;--ono-text:#c9d1d9;--ono-text-muted:#8b949e;--ono-link:#ff6a52;--ono-muted-on-surface:#8b949e;--ono-hover-overlay:#f0f6fc0f;--ono-on-accent:#fff;--ono-success:#2ea043;--ono-success-bg:#2ea04333;--ono-neutral:#6e7681;--ono-neutral-bg:#6e768140;--ono-chip-bg:#6e768133;--ono-chip-text:var(--ono-text)}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}.shiki{max-width:100%;padding-bottom:calc(var(--spacing)*6);overflow-wrap:break-word;overflow:auto}.shiki pre{max-width:100%;overflow:auto}.shiki::-webkit-scrollbar{height:calc(var(--spacing)*2)}.shiki::-webkit-scrollbar-thumb{border-radius:3.40282e38px}.shiki::-webkit-scrollbar-thumb{background-color:var(--color-gray-500)}.shiki:where(.dark,.dark *)::-webkit-scrollbar-thumb{background-color:var(--color-slate-500)}.shiki::-webkit-scrollbar-track{border-radius:3.40282e38px}.shiki::-webkit-scrollbar-track{background-color:var(--color-gray-100)}.shiki:where(.dark,.dark *)::-webkit-scrollbar-track{background-color:var(--color-slate-700)}html.dark .shiki,html.dark .shiki span{color:var(--shiki-dark)!important;background-color:var(--shiki-dark-bg)!important;font-style:var(--shiki-dark-font-style)!important;font-weight:var(--shiki-dark-font-weight)!important;-webkit-text-decoration:var(--shiki-dark-text-decoration)!important;-webkit-text-decoration:var(--shiki-dark-text-decoration)!important;text-decoration:var(--shiki-dark-text-decoration)!important}.dark [type=checkbox]:checked,.dark [type=radio]:checked{background-color:currentColor}.lucide{width:calc(var(--spacing)*4);height:calc(var(--spacing)*4)}.dui{width:1rem;height:1rem;-webkit-mask-image:var(--icon);-webkit-mask-position:50%;-webkit-mask-size:contain;-webkit-mask-repeat:no-repeat;-webkit-mask-image:var(--icon);-webkit-mask-image:var(--icon);mask-image:var(--icon);background-color:currentColor;display:inline-block;-webkit-mask-position:50%;mask-position:50%;-webkit-mask-size:contain;mask-size:contain;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}.dui.hidden{display:none!important}details>summary [data-chevron]{transition:transform .2s ease-in-out}details[open]>summary [data-chevron]{transform:rotate(180deg)}details summary .ono-expand-icon-open{display:none!important}details[open] summary .ono-expand-icon-open,details[open] summary .ono-expand-icon-closed{display:inline-block!important}button:focus-visible,[role=tab]:focus-visible,summary:focus-visible,select:focus-visible,input:focus-visible,textarea:focus-visible,[data-open-in-editor]:focus-visible,.js-clipboard:focus-visible{outline:2px solid var(--ono-red-orange);outline-offset:2px}[role=tab].active{border-left:3px solid var(--ono-red-orange);background-color:#ff462814}.stack-tab-active{border-left:3px solid var(--ono-red-orange)!important;color:var(--ono-red-orange)!important;background-color:#ff462814!important;font-weight:600!important}[role=tab][aria-disabled=true],button[disabled]{opacity:.55}.ono-dropdown-menu{transition:opacity .15s;display:none}.ono-dropdown-menu.ono-dropdown-open{opacity:1;display:block}.ono-dropdown-toggle.ono-dropdown-open svg{transform:rotate(180deg)}.ono-tab-active{border-left:3px solid var(--ono-red-orange)!important;color:var(--ono-red-orange)!important;background-color:#ff462814!important;font-weight:600!important}.hidden{display:none!important}.block{display:block!important}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}`,zn=Object.defineProperty,Pe=f((e,t)=>zn(e,"name",{value:t,configurable:!0}),"n$6");const De=Pe(e=>e.replaceAll(/[&<>"']/g,t=>({'"':"&quot;","&":"&amp;","'":"&#39;","<":"&lt;",">":"&gt;"})[t]||t),"escapeHtml"),Bn=`
406
+ `}},"headerTabs");var In=`/*! tailwindcss v4.1.15 | MIT License | https://tailwindcss.com */
407
+ @layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-space-y-reverse:0;--tw-border-style:solid;--tw-font-weight:initial;--tw-tracking:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial;--tw-ease:initial;--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0}}}@layer theme{:root,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-blue-500:oklch(62.3% .214 259.815);--color-blue-600:oklch(54.6% .245 262.881);--color-slate-500:oklch(55.4% .046 257.417);--color-slate-700:oklch(37.2% .044 257.287);--color-gray-100:oklch(96.7% .003 264.542);--color-gray-500:oklch(55.1% .027 264.364);--color-gray-600:oklch(44.6% .03 256.802);--color-gray-700:oklch(37.3% .034 259.733);--color-white:#fff;--spacing:.25rem;--container-md:28rem;--text-xs:.75rem;--text-xs--line-height:calc(1/.75);--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--text-lg:1.125rem;--text-lg--line-height:calc(1.75/1.125);--text-xl:1.25rem;--text-xl--line-height:calc(1.75/1.25);--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--tracking-wide:.025em;--radius-lg:.5rem;--ease-in-out:cubic-bezier(.4,0,.2,1);--blur-xl:24px;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}button:not(:disabled),[role=button]:not(:disabled){cursor:pointer}body{background-color:var(--ono-bg);color:var(--ono-text)}pre,code{color:var(--ono-text)}.text-muted{color:var(--ono-text-muted)}a{color:var(--ono-link)}a:hover{text-decoration:underline}::selection{background:var(--ono-red-orange)}@supports (color:color-mix(in lab, red, red)){::selection{background:color-mix(in srgb,var(--ono-red-orange)20%,transparent)}}kbd{background-color:var(--ono-chip-bg);color:var(--ono-chip-text);border-radius:.375rem;padding:.125rem .375rem;font:.75rem ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}hr{border-color:var(--ono-border)}[type=text],input:where(:not([type])),[type=email],[type=url],[type=password],[type=number],[type=date],[type=datetime-local],[type=month],[type=search],[type=tel],[type=time],[type=week],[multiple],textarea,select{appearance:none;--tw-shadow:0 0 #0000;background-color:#fff;border-width:1px;border-color:oklch(55.1% .027 264.364);border-radius:0;padding:.5rem .75rem;font-size:1rem;line-height:1.5rem}:is([type=text],input:where(:not([type])),[type=email],[type=url],[type=password],[type=number],[type=date],[type=datetime-local],[type=month],[type=search],[type=tel],[type=time],[type=week],[multiple],textarea,select):focus{outline-offset:2px;--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:oklch(54.6% .245 262.881);--tw-ring-offset-shadow:var(--tw-ring-inset)0 0 0 var(--tw-ring-offset-width)var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset)0 0 0 calc(1px + var(--tw-ring-offset-width))var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);border-color:oklch(54.6% .245 262.881);outline:2px solid #0000}input::placeholder,textarea::placeholder{color:oklch(55.1% .027 264.364);opacity:1}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em}::-webkit-date-and-time-value{text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit{padding-top:0;padding-bottom:0}::-webkit-datetime-edit-year-field{padding-top:0;padding-bottom:0}::-webkit-datetime-edit-month-field{padding-top:0;padding-bottom:0}::-webkit-datetime-edit-day-field{padding-top:0;padding-bottom:0}::-webkit-datetime-edit-hour-field{padding-top:0;padding-bottom:0}::-webkit-datetime-edit-minute-field{padding-top:0;padding-bottom:0}::-webkit-datetime-edit-second-field{padding-top:0;padding-bottom:0}::-webkit-datetime-edit-millisecond-field{padding-top:0;padding-bottom:0}::-webkit-datetime-edit-meridiem-field{padding-top:0;padding-bottom:0}select{print-color-adjust:exact;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='oklch(55.1%25 0.027 264.364)' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem}[multiple],[size]:where(select:not([size="1"])){background-image:initial;background-position:initial;background-repeat:unset;background-size:initial;print-color-adjust:unset;padding-right:.75rem}[type=checkbox],[type=radio]{appearance:none;print-color-adjust:exact;vertical-align:middle;-webkit-user-select:none;user-select:none;color:oklch(54.6% .245 262.881);--tw-shadow:0 0 #0000;background-color:#fff;background-origin:border-box;border-width:1px;border-color:oklch(55.1% .027 264.364);flex-shrink:0;width:1rem;height:1rem;padding:0;display:inline-block}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{outline-offset:2px;--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:2px;--tw-ring-offset-color:#fff;--tw-ring-color:oklch(54.6% .245 262.881);--tw-ring-offset-shadow:var(--tw-ring-inset)0 0 0 var(--tw-ring-offset-width)var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid #0000}[type=checkbox]:checked,[type=radio]:checked{background-color:currentColor;background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:#0000}[type=checkbox]:checked{background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e")}@media (forced-colors:active){[type=checkbox]:checked{appearance:auto}}[type=radio]:checked{background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e")}@media (forced-colors:active){[type=radio]:checked{appearance:auto}}[type=checkbox]:checked:hover,[type=checkbox]:checked:focus,[type=radio]:checked:hover,[type=radio]:checked:focus{background-color:currentColor;border-color:#0000}[type=checkbox]:indeterminate{background-color:currentColor;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3e%3cpath stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3e%3c/svg%3e");background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:#0000}@media (forced-colors:active){[type=checkbox]:indeterminate{appearance:auto}}[type=checkbox]:indeterminate:hover,[type=checkbox]:indeterminate:focus{background-color:currentColor;border-color:#0000}[type=file]{background:unset;border-color:inherit;font-size:unset;line-height:inherit;border-width:0;border-radius:0;padding:0}[type=file]:focus{outline:1px solid buttontext;outline:1px auto -webkit-focus-ring-color}}@layer components;@layer utilities{.collapse{visibility:collapse}.invisible{visibility:hidden}.visible{visibility:visible}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.sticky{position:sticky}.inset-0{inset:calc(var(--spacing)*0)}.-top-40{top:calc(var(--spacing)*-40)}.top-0{top:calc(var(--spacing)*0)}.top-0\\.5{top:calc(var(--spacing)*.5)}.top-2{top:calc(var(--spacing)*2)}.top-4{top:calc(var(--spacing)*4)}.top-full{top:100%}.right-2{right:calc(var(--spacing)*2)}.left-0{left:calc(var(--spacing)*0)}.left-0\\.5{left:calc(var(--spacing)*.5)}.z-10{z-index:10}.z-20{z-index:20}.z-50{z-index:50}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:48rem){.container{max-width:48rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:96rem){.container{max-width:96rem}}.mx-auto{margin-inline:auto}.my-6{margin-block:calc(var(--spacing)*6)}.prose{color:var(--tw-prose-body);max-width:65ch}.prose :where(p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}.prose :where([class~=lead]):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-lead);margin-top:1.2em;margin-bottom:1.2em;font-size:1.25em;line-height:1.6}.prose :where(a):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-links);font-weight:500;text-decoration:underline}.prose :where(strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-bold);font-weight:600}.prose :where(a strong):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(blockquote strong):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(thead th strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em;padding-inline-start:1.625em;list-style-type:decimal}.prose :where(ol[type=A]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=a]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=A s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=a s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=I]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type=i]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type=I s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type=i s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type="1"]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:decimal}.prose :where(ul):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em;padding-inline-start:1.625em;list-style-type:disc}.prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{color:var(--tw-prose-counters);font-weight:400}.prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{color:var(--tw-prose-bullets)}.prose :where(dt):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);margin-top:1.25em;font-weight:600}.prose :where(hr):not(:where([class~=not-prose],[class~=not-prose] *)){border-color:var(--tw-prose-hr);border-top-width:1px;margin-top:3em;margin-bottom:3em}.prose :where(blockquote):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-quotes);border-inline-start-width:.25rem;border-inline-start-color:var(--tw-prose-quote-borders);quotes:"“""”""‘""’";margin-top:1.6em;margin-bottom:1.6em;padding-inline-start:1em;font-style:italic;font-weight:500}.prose :where(blockquote p:first-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:open-quote}.prose :where(blockquote p:last-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:close-quote}.prose :where(h1):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);margin-top:0;margin-bottom:.888889em;font-size:2.25em;font-weight:800;line-height:1.11111}.prose :where(h1 strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-weight:900}.prose :where(h2):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);margin-top:2em;margin-bottom:1em;font-size:1.5em;font-weight:700;line-height:1.33333}.prose :where(h2 strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-weight:800}.prose :where(h3):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);margin-top:1.6em;margin-bottom:.6em;font-size:1.25em;font-weight:600;line-height:1.6}.prose :where(h3 strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-weight:700}.prose :where(h4):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);margin-top:1.5em;margin-bottom:.5em;font-weight:600;line-height:1.5}.prose :where(h4 strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-weight:700}.prose :where(img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(picture):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em;display:block}.prose :where(video):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(kbd):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-kbd);box-shadow:0 0 0 1px var(--tw-prose-kbd-shadows),0 3px 0 var(--tw-prose-kbd-shadows);padding-top:.1875em;padding-inline-end:.375em;padding-bottom:.1875em;border-radius:.3125rem;padding-inline-start:.375em;font-family:inherit;font-size:.875em;font-weight:500}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-code);font-size:.875em;font-weight:600}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):before,.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:"\`"}.prose :where(a code):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(h1 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(h2 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.875em}.prose :where(h3 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.9em}.prose :where(h4 code):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(blockquote code):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(thead th code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(pre):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-pre-code);background-color:var(--tw-prose-pre-bg);padding-top:.857143em;padding-inline-end:1.14286em;padding-bottom:.857143em;border-radius:.375rem;margin-top:1.71429em;margin-bottom:1.71429em;padding-inline-start:1.14286em;font-size:.875em;font-weight:400;line-height:1.71429;overflow-x:auto}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:inherit;color:inherit;font-size:inherit;font-family:inherit;line-height:inherit;background-color:#0000;border-width:0;border-radius:0;padding:0}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):before,.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:none}.prose :where(table):not(:where([class~=not-prose],[class~=not-prose] *)){table-layout:auto;width:100%;margin-top:2em;margin-bottom:2em;font-size:.875em;line-height:1.71429}.prose :where(thead):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-th-borders)}.prose :where(thead th):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);vertical-align:bottom;padding-inline-end:.571429em;padding-bottom:.571429em;padding-inline-start:.571429em;font-weight:600}.prose :where(tbody tr):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-td-borders)}.prose :where(tbody tr:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:0}.prose :where(tbody td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:baseline}.prose :where(tfoot):not(:where([class~=not-prose],[class~=not-prose] *)){border-top-width:1px;border-top-color:var(--tw-prose-th-borders)}.prose :where(tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:top}.prose :where(th,td):not(:where([class~=not-prose],[class~=not-prose] *)){text-align:start}.prose :where(figure>*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose :where(figcaption):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-captions);margin-top:.857143em;font-size:.875em;line-height:1.42857}.prose{--tw-prose-body:oklch(37.3% .034 259.733);--tw-prose-headings:oklch(21% .034 264.665);--tw-prose-lead:oklch(44.6% .03 256.802);--tw-prose-links:oklch(21% .034 264.665);--tw-prose-bold:oklch(21% .034 264.665);--tw-prose-counters:oklch(55.1% .027 264.364);--tw-prose-bullets:oklch(87.2% .01 258.338);--tw-prose-hr:oklch(92.8% .006 264.531);--tw-prose-quotes:oklch(21% .034 264.665);--tw-prose-quote-borders:oklch(92.8% .006 264.531);--tw-prose-captions:oklch(55.1% .027 264.364);--tw-prose-kbd:oklch(21% .034 264.665);--tw-prose-kbd-shadows:oklab(21% -.00316127 -.0338527/.1);--tw-prose-code:oklch(21% .034 264.665);--tw-prose-pre-code:oklch(92.8% .006 264.531);--tw-prose-pre-bg:oklch(27.8% .033 256.848);--tw-prose-th-borders:oklch(87.2% .01 258.338);--tw-prose-td-borders:oklch(92.8% .006 264.531);--tw-prose-invert-body:oklch(87.2% .01 258.338);--tw-prose-invert-headings:#fff;--tw-prose-invert-lead:oklch(70.7% .022 261.325);--tw-prose-invert-links:#fff;--tw-prose-invert-bold:#fff;--tw-prose-invert-counters:oklch(70.7% .022 261.325);--tw-prose-invert-bullets:oklch(44.6% .03 256.802);--tw-prose-invert-hr:oklch(37.3% .034 259.733);--tw-prose-invert-quotes:oklch(96.7% .003 264.542);--tw-prose-invert-quote-borders:oklch(37.3% .034 259.733);--tw-prose-invert-captions:oklch(70.7% .022 261.325);--tw-prose-invert-kbd:#fff;--tw-prose-invert-kbd-shadows:#ffffff1a;--tw-prose-invert-code:#fff;--tw-prose-invert-pre-code:oklch(87.2% .01 258.338);--tw-prose-invert-pre-bg:#00000080;--tw-prose-invert-th-borders:oklch(44.6% .03 256.802);--tw-prose-invert-td-borders:oklch(37.3% .034 259.733);font-size:1rem;line-height:1.75}.prose :where(picture>img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose :where(li):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;margin-bottom:.5em}.prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.375em}.prose :where(.prose>ul>li p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(.prose>ul>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ul>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}.prose :where(.prose>ol>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ol>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}.prose :where(ul ul,ul ol,ol ul,ol ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(dl):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}.prose :where(dd):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;padding-inline-start:1.625em}.prose :where(hr+*):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(h2+*):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(h3+*):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(h4+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(thead th:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.prose :where(thead th:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.prose :where(tbody td,tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){padding-top:.571429em;padding-inline-end:.571429em;padding-bottom:.571429em;padding-inline-start:.571429em}.prose :where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.prose :where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.prose :where(figure):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(.prose>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(.prose>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:0}.prose-sm{font-size:.875rem;line-height:1.71429}.prose-sm :where(p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.14286em;margin-bottom:1.14286em}.prose-sm :where([class~=lead]):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.888889em;margin-bottom:.888889em;font-size:1.28571em;line-height:1.55556}.prose-sm :where(blockquote):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.33333em;margin-bottom:1.33333em;padding-inline-start:1.11111em}.prose-sm :where(h1):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:.8em;font-size:2.14286em;line-height:1.2}.prose-sm :where(h2):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.6em;margin-bottom:.8em;font-size:1.42857em;line-height:1.4}.prose-sm :where(h3):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.55556em;margin-bottom:.444444em;font-size:1.28571em;line-height:1.55556}.prose-sm :where(h4):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.42857em;margin-bottom:.571429em;line-height:1.42857}.prose-sm :where(img):not(:where([class~=not-prose],[class~=not-prose] *)),.prose-sm :where(picture):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.71429em;margin-bottom:1.71429em}.prose-sm :where(picture>img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose-sm :where(video):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.71429em;margin-bottom:1.71429em}.prose-sm :where(kbd):not(:where([class~=not-prose],[class~=not-prose] *)){padding-top:.142857em;padding-inline-end:.357143em;padding-bottom:.142857em;border-radius:.3125rem;padding-inline-start:.357143em;font-size:.857143em}.prose-sm :where(code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.857143em}.prose-sm :where(h2 code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.9em}.prose-sm :where(h3 code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.888889em}.prose-sm :where(pre):not(:where([class~=not-prose],[class~=not-prose] *)){padding-top:.666667em;padding-inline-end:1em;padding-bottom:.666667em;border-radius:.25rem;margin-top:1.66667em;margin-bottom:1.66667em;padding-inline-start:1em;font-size:.857143em;line-height:1.66667}.prose-sm :where(ol):not(:where([class~=not-prose],[class~=not-prose] *)),.prose-sm :where(ul):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.14286em;margin-bottom:1.14286em;padding-inline-start:1.57143em}.prose-sm :where(li):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.285714em;margin-bottom:.285714em}.prose-sm :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *)),.prose-sm :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.428571em}.prose-sm :where(.prose-sm>ul>li p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.571429em;margin-bottom:.571429em}.prose-sm :where(.prose-sm>ul>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.14286em}.prose-sm :where(.prose-sm>ul>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.14286em}.prose-sm :where(.prose-sm>ol>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.14286em}.prose-sm :where(.prose-sm>ol>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.14286em}.prose-sm :where(ul ul,ul ol,ol ul,ol ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.571429em;margin-bottom:.571429em}.prose-sm :where(dl):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.14286em;margin-bottom:1.14286em}.prose-sm :where(dt):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.14286em}.prose-sm :where(dd):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.285714em;padding-inline-start:1.57143em}.prose-sm :where(hr):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2.85714em;margin-bottom:2.85714em}.prose-sm :where(hr+*):not(:where([class~=not-prose],[class~=not-prose] *)),.prose-sm :where(h2+*):not(:where([class~=not-prose],[class~=not-prose] *)),.prose-sm :where(h3+*):not(:where([class~=not-prose],[class~=not-prose] *)),.prose-sm :where(h4+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose-sm :where(table):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.857143em;line-height:1.5}.prose-sm :where(thead th):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:1em;padding-bottom:.666667em;padding-inline-start:1em}.prose-sm :where(thead th:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.prose-sm :where(thead th:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.prose-sm :where(tbody td,tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){padding-top:.666667em;padding-inline-end:1em;padding-bottom:.666667em;padding-inline-start:1em}.prose-sm :where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.prose-sm :where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.prose-sm :where(figure):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.71429em;margin-bottom:1.71429em}.prose-sm :where(figure>*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose-sm :where(figcaption):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.666667em;font-size:.857143em;line-height:1.33333}.prose-sm :where(.prose-sm>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose-sm :where(.prose-sm>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:0}.mt-1{margin-top:calc(var(--spacing)*1)}.mt-2{margin-top:calc(var(--spacing)*2)}.mt-6{margin-top:calc(var(--spacing)*6)}.mb-2{margin-bottom:calc(var(--spacing)*2)}.mb-4{margin-bottom:calc(var(--spacing)*4)}.mb-6{margin-bottom:calc(var(--spacing)*6)}.ml-1{margin-left:calc(var(--spacing)*1)}.ml-4{margin-left:calc(var(--spacing)*4)}.line-clamp-1{-webkit-line-clamp:1;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.block{display:block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.table{display:table}.size-3{width:calc(var(--spacing)*3);height:calc(var(--spacing)*3)}.size-4{width:calc(var(--spacing)*4);height:calc(var(--spacing)*4)}.size-8{width:calc(var(--spacing)*8);height:calc(var(--spacing)*8)}.size-9{width:calc(var(--spacing)*9);height:calc(var(--spacing)*9)}.h-4{height:calc(var(--spacing)*4)}.h-5{height:calc(var(--spacing)*5)}.h-8{height:calc(var(--spacing)*8)}.h-9{height:calc(var(--spacing)*9)}.h-full{height:100%}.max-h-\\[90vh\\]{max-height:90vh}.max-h-\\[calc\\(100dvh-2rem\\)\\]{max-height:calc(100dvh - 2rem)}.w-4{width:calc(var(--spacing)*4)}.w-4\\/12{width:33.3333%}.w-8{width:calc(var(--spacing)*8)}.w-8\\/12{width:66.6667%}.w-9{width:calc(var(--spacing)*9)}.w-12{width:calc(var(--spacing)*12)}.w-56{width:calc(var(--spacing)*56)}.w-64{width:calc(var(--spacing)*64)}.w-full{width:100%}.max-w-full{max-width:100%}.max-w-md{max-width:var(--container-md)}.min-w-0{min-width:calc(var(--spacing)*0)}.min-w-6\\/12{min-width:50%}.min-w-52{min-width:calc(var(--spacing)*52)}.shrink-0{flex-shrink:0}.grow{flex-grow:1}.cursor-help{cursor:help}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-\\[200px_1fr\\]{grid-template-columns:200px 1fr}.flex-col{flex-direction:column}.flex-row{flex-direction:row}.items-center{align-items:center}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.gap-1{gap:calc(var(--spacing)*1)}.gap-2{gap:calc(var(--spacing)*2)}.gap-3{gap:calc(var(--spacing)*3)}.gap-4{gap:calc(var(--spacing)*4)}.gap-6{gap:calc(var(--spacing)*6)}:where(.space-y-1>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*1)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*1)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-4>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*4)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*4)*calc(1 - var(--tw-space-y-reverse)))}.gap-x-2{column-gap:calc(var(--spacing)*2)}.gap-x-3{column-gap:calc(var(--spacing)*3)}.self-start{align-self:flex-start}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-visible{overflow:visible}.rounded{border-radius:.25rem}.rounded-\\[var\\(--ono-radius-lg\\)\\]{border-radius:var(--ono-radius-lg)}.rounded-\\[var\\(--ono-radius-md\\)\\]{border-radius:var(--ono-radius-md)}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-tl-lg{border-top-left-radius:var(--radius-lg)}.rounded-r-\\[var\\(--ono-radius-lg\\)\\]{border-top-right-radius:var(--ono-radius-lg);border-bottom-right-radius:var(--ono-radius-lg)}.rounded-tr-lg{border-top-right-radius:var(--radius-lg)}.rounded-br-lg{border-bottom-right-radius:var(--radius-lg)}.rounded-bl-lg{border-bottom-left-radius:var(--radius-lg)}.border{border-style:var(--tw-border-style);border-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-l-2{border-left-style:var(--tw-border-style);border-left-width:2px}.border-\\[var\\(--ono-border\\)\\]{border-color:var(--ono-border)}.border-\\[var\\(--ono-red-orange\\)\\]{border-color:var(--ono-red-orange)}.border-blue-600{border-color:var(--color-blue-600)}.border-transparent{border-color:#0000}.bg-\\[var\\(--ono-bg\\)\\]{background-color:var(--ono-bg)}.bg-\\[var\\(--ono-chip-bg\\)\\]{background-color:var(--ono-chip-bg)}.bg-\\[var\\(--ono-success-bg\\)\\]{background-color:var(--ono-success-bg)}.bg-\\[var\\(--ono-surface\\)\\]{background-color:var(--ono-surface)}.bg-\\[var\\(--ono-surface-muted\\)\\]{background-color:var(--ono-surface-muted)}.bg-\\[var\\(--ono-white-smoke\\)\\]{background-color:var(--ono-white-smoke)}.bg-gray-100{background-color:var(--color-gray-100)}.bg-white{background-color:var(--color-white)}.p-0{padding:calc(var(--spacing)*0)}.p-1{padding:calc(var(--spacing)*1)}.p-2{padding:calc(var(--spacing)*2)}.p-3{padding:calc(var(--spacing)*3)}.p-4{padding:calc(var(--spacing)*4)}.p-5{padding:calc(var(--spacing)*5)}.p-6{padding:calc(var(--spacing)*6)}.px-1{padding-inline:calc(var(--spacing)*1)}.px-2{padding-inline:calc(var(--spacing)*2)}.px-3{padding-inline:calc(var(--spacing)*3)}.px-4{padding-inline:calc(var(--spacing)*4)}.px-5{padding-inline:calc(var(--spacing)*5)}.px-6{padding-inline:calc(var(--spacing)*6)}.py-0\\.5{padding-block:calc(var(--spacing)*.5)}.py-1{padding-block:calc(var(--spacing)*1)}.py-1\\.5{padding-block:calc(var(--spacing)*1.5)}.py-2{padding-block:calc(var(--spacing)*2)}.py-3{padding-block:calc(var(--spacing)*3)}.py-4{padding-block:calc(var(--spacing)*4)}.pe-9{padding-inline-end:calc(var(--spacing)*9)}.pt-0{padding-top:calc(var(--spacing)*0)}.pt-2{padding-top:calc(var(--spacing)*2)}.pt-5{padding-top:calc(var(--spacing)*5)}.pt-6{padding-top:calc(var(--spacing)*6)}.pb-4{padding-bottom:calc(var(--spacing)*4)}.pl-3{padding-left:calc(var(--spacing)*3)}.pl-5{padding-left:calc(var(--spacing)*5)}.text-left{text-align:left}.text-right{text-align:right}.text-start{text-align:start}.font-mono{font-family:var(--font-mono)}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\\[10px\\]{font-size:10px}.text-\\[11px\\]{font-size:11px}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-wide{--tw-tracking:var(--tracking-wide);letter-spacing:var(--tracking-wide)}.break-words{overflow-wrap:break-word}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-wrap{white-space:pre-wrap}.text-\\[var\\(--ono-chip-text\\)\\]{color:var(--ono-chip-text)}.text-\\[var\\(--ono-on-accent\\)\\]{color:var(--ono-on-accent)}.text-\\[var\\(--ono-red-orange\\)\\]{color:var(--ono-red-orange)}.text-\\[var\\(--ono-text\\)\\]{color:var(--ono-text)}.text-\\[var\\(--ono-text-muted\\)\\]{color:var(--ono-text-muted)}.text-blue-500{color:var(--color-blue-500)}.text-blue-600{color:var(--color-blue-600)}.uppercase{text-transform:uppercase}.italic{font-style:italic}.underline{text-decoration-line:underline}.opacity-0{opacity:0}.opacity-100{opacity:1}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-\\[var\\(--ono-elevation-1\\)\\]{--tw-shadow:var(--ono-elevation-1);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-\\[var\\(--ono-elevation-2\\)\\]{--tw-shadow:var(--ono-elevation-2);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-xl{--tw-shadow:0 20px 25px -5px var(--tw-shadow-color,#0000001a),0 8px 10px -6px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ring-\\[var\\(--ono-red-orange\\)\\]{--tw-ring-color:var(--ono-red-orange)}.filter{filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.backdrop-blur-xl{--tw-backdrop-blur:blur(var(--blur-xl));-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\\[height\\]{transition-property:height;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\\[max-height\\,opacity\\]{transition-property:max-height,opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-150{--tw-duration:.15s;transition-duration:.15s}.duration-200{--tw-duration:.2s;transition-duration:.2s}.duration-300{--tw-duration:.3s;transition-duration:.3s}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.peer-checked\\:translate-x-4:is(:where(.peer):checked~*){--tw-translate-x:calc(var(--spacing)*4);translate:var(--tw-translate-x)var(--tw-translate-y)}.peer-checked\\:bg-\\[var\\(--ono-red-orange\\)\\]:is(:where(.peer):checked~*){background-color:var(--ono-red-orange)}.last\\:mb-0:last-child{margin-bottom:calc(var(--spacing)*0)}.hover\\:bg-\\[var\\(--ono-hover-overlay\\)\\]:hover{background-color:var(--ono-hover-overlay)}.hover\\:bg-\\[var\\(--ono-surface\\)\\]:hover{background-color:var(--ono-surface)}.hover\\:bg-\\[var\\(--ono-surface-muted\\)\\]:hover{background-color:var(--ono-surface-muted)}.hover\\:text-\\[var\\(--ono-link\\)\\]:hover{color:var(--ono-link)}.hover\\:text-\\[var\\(--ono-text\\)\\]:hover{color:var(--ono-text)}.hover\\:underline:hover{text-decoration-line:underline}.focus\\:bg-\\[var\\(--ono-hover-overlay\\)\\]:focus{background-color:var(--ono-hover-overlay)}.focus\\:ring-1:focus{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(1px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus\\:ring-2:focus{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus\\:ring-\\[var\\(--ono-red-orange\\)\\]:focus{--tw-ring-color:var(--ono-red-orange)}.focus\\:ring-gray-600:focus{--tw-ring-color:var(--color-gray-600)}.focus\\:outline-hidden:focus{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.focus\\:outline-hidden:focus{outline-offset:2px;outline:2px solid #0000}}.focus-visible\\:ring-\\[3px\\]:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(3px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.active\\:bg-\\[var\\(--ono-surface\\)\\]:active{background-color:var(--ono-surface)}.active\\:text-\\[var\\(--ono-text\\)\\]:active{color:var(--ono-text)}.active\\:shadow-\\[var\\(--ono-elevation-1\\)\\]:active{--tw-shadow:var(--ono-elevation-1);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.active\\:ring-2:active{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:opacity-50:disabled{opacity:.5}.dark\\:bg-gray-700\\/50:where(.dark,.dark *){background-color:#36415380}@supports (color:color-mix(in lab, red, red)){.dark\\:bg-gray-700\\/50:where(.dark,.dark *){background-color:color-mix(in oklab,var(--color-gray-700)50%,transparent)}}.dark\\:text-\\[var\\(--ono-neutral\\)\\]:where(.dark,.dark *){color:var(--ono-neutral)}.prose-headings\\:text-white :where(h1,h2,h3,h4,h5,h6,th):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--color-white)}.prose-ul\\:list-none :where(ul):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:none}.prose-hr\\:my-6 :where(hr):not(:where([class~=not-prose],[class~=not-prose] *)){margin-block:calc(var(--spacing)*6)}.prose-hr\\:border-\\[var\\(--ono-success-border\\)\\] :where(hr):not(:where([class~=not-prose],[class~=not-prose] *)){border-color:var(--ono-success-border)}.\\[\\&\\.ono-dropdown-open\\]\\:block.ono-dropdown-open{display:block}.\\[\\&\\.ono-dropdown-open\\]\\:rotate-180.ono-dropdown-open{rotate:180deg}.\\[\\:\\>svg\\]\\:size-4:is(){width:calc(var(--spacing)*4);height:calc(var(--spacing)*4)}}:root,:host{--ono-white-smoke:#f5f5f5;--ono-red-orange:#ff4628;--ono-charcoal-black:#202020;--ono-bg:var(--ono-white-smoke);--ono-surface:#fff;--ono-surface-muted:#fafafa;--ono-border:#b9c8d780;--ono-hover-overlay:#2020200d;--ono-success:#2ea043;--ono-success-bg:#03611699;--ono-neutral:#6e7681;--ono-neutral-bg:#6e76812e;--ono-chip-bg:#6e768124;--ono-chip-text:var(--ono-text);--ono-radius-md:.5rem;--ono-radius-lg:.75rem;--ono-elevation-1:0 1px 2px #0000000a,0 1px 1px #00000005;--ono-elevation-2:0 10px 25px -5px #2020201a,0 8px 10px -6px #2020201a;--ono-text:#111827;--ono-text-muted:#374151;--ono-link:#c4311d;--ono-muted-on-surface:#374151;--ono-on-accent:#fff}.dark{--ono-bg:#161b22;--ono-surface:#0d1117;--ono-surface-muted:#0f141b;--ono-border:#30363d99;--ono-text:#c9d1d9;--ono-text-muted:#8b949e;--ono-link:#ff6a52;--ono-muted-on-surface:#8b949e;--ono-hover-overlay:#f0f6fc0f;--ono-on-accent:#fff;--ono-success:#2ea043;--ono-success-bg:#2ea04333;--ono-neutral:#6e7681;--ono-neutral-bg:#6e768140;--ono-chip-bg:#6e768133;--ono-chip-text:var(--ono-text)}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}.shiki{max-width:100%;padding-bottom:calc(var(--spacing)*6);overflow-wrap:break-word;overflow:auto}.shiki pre{max-width:100%;overflow:auto}.shiki::-webkit-scrollbar{height:calc(var(--spacing)*2)}.shiki::-webkit-scrollbar-thumb{border-radius:3.40282e38px}.shiki::-webkit-scrollbar-thumb{background-color:var(--color-gray-500)}.shiki:where(.dark,.dark *)::-webkit-scrollbar-thumb{background-color:var(--color-slate-500)}.shiki::-webkit-scrollbar-track{border-radius:3.40282e38px}.shiki::-webkit-scrollbar-track{background-color:var(--color-gray-100)}.shiki:where(.dark,.dark *)::-webkit-scrollbar-track{background-color:var(--color-slate-700)}html.dark .shiki,html.dark .shiki span{color:var(--shiki-dark)!important;background-color:var(--shiki-dark-bg)!important;font-style:var(--shiki-dark-font-style)!important;font-weight:var(--shiki-dark-font-weight)!important;-webkit-text-decoration:var(--shiki-dark-text-decoration)!important;-webkit-text-decoration:var(--shiki-dark-text-decoration)!important;text-decoration:var(--shiki-dark-text-decoration)!important}.dark [type=checkbox]:checked,.dark [type=radio]:checked{background-color:currentColor}.lucide{width:calc(var(--spacing)*4);height:calc(var(--spacing)*4)}.dui{width:1rem;height:1rem;-webkit-mask-image:var(--icon);-webkit-mask-position:50%;-webkit-mask-size:contain;-webkit-mask-repeat:no-repeat;-webkit-mask-image:var(--icon);-webkit-mask-image:var(--icon);mask-image:var(--icon);background-color:currentColor;display:inline-block;-webkit-mask-position:50%;mask-position:50%;-webkit-mask-size:contain;mask-size:contain;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}.dui.hidden{display:none!important}details>summary [data-chevron]{transition:transform .2s ease-in-out}details[open]>summary [data-chevron]{transform:rotate(180deg)}details summary .ono-expand-icon-open{display:none!important}details[open] summary .ono-expand-icon-open,details[open] summary .ono-expand-icon-closed{display:inline-block!important}button:focus-visible,[role=tab]:focus-visible,summary:focus-visible,select:focus-visible,input:focus-visible,textarea:focus-visible,[data-open-in-editor]:focus-visible,.js-clipboard:focus-visible{outline:2px solid var(--ono-red-orange);outline-offset:2px}[role=tab].active{border-left:3px solid var(--ono-red-orange);background-color:#ff462814}.stack-tab-active{border-left:3px solid var(--ono-red-orange)!important;color:var(--ono-red-orange)!important;background-color:#ff462814!important;font-weight:600!important}[role=tab][aria-disabled=true],button[disabled]{opacity:.55}.ono-dropdown-menu{transition:opacity .15s;display:none}.ono-dropdown-menu.ono-dropdown-open{opacity:1;display:block}.ono-dropdown-toggle.ono-dropdown-open svg{transform:rotate(180deg)}.ono-tab-active{border-left:3px solid var(--ono-red-orange)!important;color:var(--ono-red-orange)!important;background-color:#ff462814!important;font-weight:600!important}.hidden{display:none!important}.block{display:block!important}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}`,zn=Object.defineProperty,Oe=f((e,t)=>zn(e,"name",{value:t,configurable:!0}),"n$6");const De=Oe(e=>e.replaceAll(/[&<>"']/g,t=>({'"':"&quot;","&":"&amp;","'":"&#39;","<":"&lt;",">":"&gt;"})[t]||t),"escapeHtml"),Bn=`
408
408
  // Ensures listeners run as soon as the DOM is interactive
409
409
  function subscribeToDOMContentLoaded(listener) {
410
410
  if (document.readyState !== 'loading') {
@@ -456,7 +456,7 @@ bindShortcutsModal();
456
456
  });
457
457
  }
458
458
  });
459
- `,Ze=Pe((e,t)=>`<script${t?` nonce="${De(t)}"`:""}>${e}<\/script>`,"createScriptTag"),Rn=Pe((e,t)=>`<style${t?` nonce="${De(t)}"`:""}>${e}</style>`,"createStyleTag"),jn=Pe(({content:e,cspNonce:t,css:o,description:r,error:n,scripts:s,theme:a,title:i})=>{const l=jo(t),c=De(i||"Error"),d=De(r||""),u=n.stack||n.toString(),p=Ke.sanitize(u.includes(`
459
+ `,Ve=Oe((e,t)=>`<script${t?` nonce="${De(t)}"`:""}>${e}<\/script>`,"createScriptTag"),Rn=Oe((e,t)=>`<style${t?` nonce="${De(t)}"`:""}>${e}</style>`,"createStyleTag"),jn=Oe(({content:e,cspNonce:t,css:o,description:r,error:n,scripts:s,theme:a,title:i})=>{const l=jo(t),c=De(i||"Error"),d=De(r||""),u=n.stack||n.toString(),p=Ze.sanitize(u.includes(`
460
460
  `)?u.replaceAll(`
461
461
  `,`
462
462
  `):u);return`<!--
@@ -470,10 +470,10 @@ bindShortcutsModal();
470
470
  <meta name="viewport" content="width=device-width, initial-scale=1">
471
471
  <meta name="description" content="${d}">
472
472
  ${Rn(o,l)}
473
- ${Ze(Bn.trim(),l)}
474
- ${s.filter(Boolean).map(h=>Ze(h,l)).join(`
473
+ ${Ve(Bn.trim(),l)}
474
+ ${s.filter(Boolean).map(h=>Ve(h,l)).join(`
475
475
  `)}
476
- ${Ze(Ln.trim(),l)}
476
+ ${Ve(Ln.trim(),l)}
477
477
  </head>
478
478
  <body>
479
479
  <div id="visulima-ono-container" class="bg-[var(--ono-bg)] text-[var(--ono-text)]">
@@ -486,14 +486,14 @@ bindShortcutsModal();
486
486
  <!--
487
487
  ${p}
488
488
  -->
489
- `},"layout");var _n=Object.defineProperty,Fn=f((e,t)=>_n(e,"name",{value:t,configurable:!0}),"o$1");const _=globalThis,Mn=[[!!_.Netlify,"netlify"],[!!_.EdgeRuntime,"edge-light"],[_.navigator?.userAgent==="Cloudono-Workers","workerd"],[!!_.Deno,"deno"],[!!_.__lagon__,"lagon"],[_.process?.release?.name==="node","node"],[!!_.Bun||!!_.process?.versions?.bun,"bun"],[!!_.fastly,"fastly"]],On=Fn(()=>{const e=Mn.find(t=>t[0]);if(e)return e[1]},"detectRuntime"),Pn=On(),_t="data:image/svg+xml;charset=utf-8,%3Csvg%20class%3D%22lucide%20lucide-minus%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20%3E%20%3Cpath%20d%3D%22M5%2012h14%22%20%2F%3E%20%3C%2Fsvg%3E",Ft="data:image/svg+xml;charset=utf-8,%3Csvg%20class%3D%22lucide%20lucide-plus%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20%3E%20%3Cpath%20d%3D%22M5%2012h14%22%20%2F%3E%20%3Cpath%20d%3D%22M12%205v14%22%20%2F%3E%20%3C%2Fsvg%3E",Ie="data:image/svg+xml;charset=utf-8,%3Csvg%20class%3D%22lucide%20lucide-chevron-down%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20%3E%20%3Cpath%20d%3D%22m6%209%206%206%206-6%22%20%2F%3E%20%3C%2Fsvg%3E";var Nn=Object.defineProperty,qn=f((e,t)=>Nn(e,"name",{value:t,configurable:!0}),"t$1");const Wn=qn(e=>{if(typeof e!="string")throw new TypeError("revisionHash: input must be a string");return No("sha256").update(e,"utf8").digest("hex").slice(0,16)},"revisionHash");var Hn=Object.defineProperty,Un=f((e,t)=>Hn(e,"name",{value:t,configurable:!0}),"n$3");const Vn=Un(e=>{if(e.startsWith("node:"))return"internal";if(e.includes("node_modules"))return"node_modules";if(e.includes("native"))return"native";if(e.includes("webpack"))return"webpack"},"getType");var Zn=Object.defineProperty,Gn=f((e,t)=>Zn(e,"name",{value:t,configurable:!0}),"n$2");const Kn=Gn(e=>{const t=[];let o=[];for(let r=0;r<e.length;r+=1){o.push(e[r]);const n=r===e.length-1,s=!n&&e[r].type!==e[r+1].type;(n||s)&&(o.length>1?t.push(o):t.push(o[0]),o=[])}return t},"groupSimilarTypes");var Qn=Object.defineProperty,Jn=f((e,t)=>Qn(e,"name",{value:t,configurable:!0}),"y$3");const uo=Jn(async(e,t={})=>{const o=Wn(e.name+e.message+e.stack),r=await _o(),n=st(e),s=[],a=[];for await(const[p,h]of n.entries()){const m=`// Unable to load source code for ${h.file}:${h.line}:${h.column}`,g=h.file?await we(h.file):void 0,w=!!g,y=g?it(g,{start:{column:h.column,line:h.line}},{linesAbove:9,linesBelow:10,showGutter:!1}):m,z=r.codeToHtml(y,{lang:fe(h.file||""),themes:{dark:"github-dark-default",light:"github-light"}}),F=S(z),X=`${h.file}:${h.line}:${h.column}`,Y=(h.file||"").replace(/^file:\/\//,""),M=X.replace(Oo.cwd?.()||"","").replace("file:///",""),D=S(h.methodName||""),ee=S(M);s.push({html:`<button type="button" id="source-code-tabs-item-${o}-${p}" data-stack-tab="#source-code-tabs-${o}-${p}" aria-controls="source-code-tabs-${o}-${p}" ${w?"":'disabled aria-disabled="true"'} class="${po("relative inline-flex items-center gap-x-2 text-sm whitespace-nowrap p-6 w-full text-left border-l-2 border-transparent hover:bg-[var(--ono-hover-overlay)] text-[var(--ono-text-muted)] cursor-pointer",w?"cursor-pointer":"cursor-not-allowed")}">
489
+ `},"layout");var _n=Object.defineProperty,Fn=f((e,t)=>_n(e,"name",{value:t,configurable:!0}),"o$1");const _=globalThis,Mn=[[!!_.Netlify,"netlify"],[!!_.EdgeRuntime,"edge-light"],[_.navigator?.userAgent==="Cloudono-Workers","workerd"],[!!_.Deno,"deno"],[!!_.__lagon__,"lagon"],[_.process?.release?.name==="node","node"],[!!_.Bun||!!_.process?.versions?.bun,"bun"],[!!_.fastly,"fastly"]],On=Fn(()=>{const e=Mn.find(t=>t[0]);if(e)return e[1]},"detectRuntime"),Pn=On(),_t="data:image/svg+xml;charset=utf-8,%3Csvg%20class%3D%22lucide%20lucide-minus%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20%3E%20%3Cpath%20d%3D%22M5%2012h14%22%20%2F%3E%20%3C%2Fsvg%3E",Ft="data:image/svg+xml;charset=utf-8,%3Csvg%20class%3D%22lucide%20lucide-plus%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20%3E%20%3Cpath%20d%3D%22M5%2012h14%22%20%2F%3E%20%3Cpath%20d%3D%22M12%205v14%22%20%2F%3E%20%3C%2Fsvg%3E",Ie="data:image/svg+xml;charset=utf-8,%3Csvg%20class%3D%22lucide%20lucide-chevron-down%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20%3E%20%3Cpath%20d%3D%22m6%209%206%206%206-6%22%20%2F%3E%20%3C%2Fsvg%3E";var Nn=Object.defineProperty,qn=f((e,t)=>Nn(e,"name",{value:t,configurable:!0}),"t$1");const Wn=qn(e=>{if(typeof e!="string")throw new TypeError("revisionHash: input must be a string");return No("sha256").update(e,"utf8").digest("hex").slice(0,16)},"revisionHash");var Hn=Object.defineProperty,Un=f((e,t)=>Hn(e,"name",{value:t,configurable:!0}),"n$3");const Vn=Un(e=>{if(e.startsWith("node:"))return"internal";if(e.includes("node_modules"))return"node_modules";if(e.includes("native"))return"native";if(e.includes("webpack"))return"webpack"},"getType");var Gn=Object.defineProperty,Zn=f((e,t)=>Gn(e,"name",{value:t,configurable:!0}),"n$2");const Kn=Zn(e=>{const t=[];let o=[];for(let r=0;r<e.length;r+=1){o.push(e[r]);const n=r===e.length-1,s=!n&&e[r].type!==e[r+1].type;(n||s)&&(o.length>1?t.push(o):t.push(o[0]),o=[])}return t},"groupSimilarTypes");var Qn=Object.defineProperty,Jn=f((e,t)=>Qn(e,"name",{value:t,configurable:!0}),"y$3");const uo=Jn(async(e,t={})=>{const o=Wn(e.name+e.message+e.stack),r=await _o(),n=at(e),s=[],a=[];for await(const[p,h]of n.entries()){const m=`// Unable to load source code for ${h.file}:${h.line}:${h.column}`,g=h.file?await we(h.file):void 0,w=!!g,y=g?st(g,{start:{column:h.column,line:h.line}},{linesAbove:9,linesBelow:10,showGutter:!1}):m,z=r.codeToHtml(y,{lang:fe(h.file||""),themes:{dark:"github-dark-default",light:"github-light"}}),F=S(z),Y=`${h.file}:${h.line}:${h.column}`,X=(h.file||"").replace(/^file:\/\//,""),M=Y.replace(Oo.cwd?.()||"","").replace("file:///",""),D=S(h.methodName||""),ee=S(M);s.push({html:`<button type="button" id="source-code-tabs-item-${o}-${p}" data-stack-tab="#source-code-tabs-${o}-${p}" aria-controls="source-code-tabs-${o}-${p}" ${w?"":'disabled aria-disabled="true"'} class="${po("relative inline-flex items-center gap-x-2 text-sm whitespace-nowrap p-6 w-full text-left border-l-2 border-transparent hover:bg-[var(--ono-hover-overlay)] text-[var(--ono-text-muted)] cursor-pointer",w?"cursor-pointer":"cursor-not-allowed")}">
490
490
  <div class="flex flex-col w-full text-left overflow-hidden min-w-0">
491
491
  <span class="font-medium text-[var(--ono-text)] truncate">${D}</span>
492
492
  <span class="text-sm text-[var(--ono-text-muted)] truncate">${ee}</span>
493
493
  </div>
494
- </button>`,type:h.file?Vn(h.file):void 0});let He=ee;t.openInEditorUrl?He=`<button type="button" class="underline hover:text-[var(--ono-link)]" data-open-in-editor data-url="${Fo(t.openInEditorUrl)}" data-path="${E(Y)}" data-line="${E(h.line||1)}" data-column="${E(h.column||1)}" title="Open ${ee} in external editor">${ee} — Open in editor</button>`:w&&(He=`<button type="button" class="underline hover:text-[var(--ono-link)]" data-editor-link data-path="${E(Y)}" data-line="${E(h.line||1)}" data-column="${E(h.column||1)}" title="Open ${ee} in editor">${ee} — Open in editor</button>`),a.push(`<div id="source-code-tabs-${o}-${p}" class="${p===0&&w?"block":"hidden"}" aria-labelledby="source-code-tabs-item-${o}-${p}" tabindex="0">
494
+ </button>`,type:h.file?Vn(h.file):void 0});let We=ee;t.openInEditorUrl?We=`<button type="button" class="underline hover:text-[var(--ono-link)]" data-open-in-editor data-url="${Fo(t.openInEditorUrl)}" data-path="${E(X)}" data-line="${E(h.line||1)}" data-column="${E(h.column||1)}" title="Open ${ee} in external editor">${ee} — Open in editor</button>`:w&&(We=`<button type="button" class="underline hover:text-[var(--ono-link)]" data-editor-link data-path="${E(X)}" data-line="${E(h.line||1)}" data-column="${E(h.column||1)}" title="Open ${ee} in editor">${ee} — Open in editor</button>`),a.push(`<div id="source-code-tabs-${o}-${p}" class="${p===0&&w?"block":"hidden"}" aria-labelledby="source-code-tabs-item-${o}-${p}" tabindex="0">
495
495
  <div class="pt-6 px-6 text-sm text-right text-[var(--ono-text)]">
496
- ${He}
496
+ ${We}
497
497
  </div>
498
498
  <div class="p-6">${F}</div>
499
499
  </div>`)}const i=Kn(s),l=i.map((p,h)=>{if(Array.isArray(p)){const m=p[0];let g;switch(m.type){case"bun":{g="bun";break}case"internal":{g="internal";break}case"native":{g="native";break}case"node_modules":{g="node_modules";break}case"webpack":{g="webpack";break}default:g="application"}const w=`small-switch-${o}-${h}`,y=`stack-trace-group-${o}-${h}`;return`<div class="flex items-center gap-2">
@@ -737,7 +737,7 @@ bindShortcutsModal();
737
737
  });
738
738
  });
739
739
  })();
740
- `;return{html:d,script:u}},"stackTraceViewer"),Ye="data:image/svg+xml;charset=utf-8,%3Csvg%20class%3D%22lucide%20lucide-info%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20%3E%20%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%2210%22%20%2F%3E%20%3Cpath%20d%3D%22M12%2016v-4%22%20%2F%3E%20%3Cpath%20d%3D%22M12%208h.01%22%20%2F%3E%20%3C%2Fsvg%3E";var Xn=Object.defineProperty,Yn=f((e,t)=>Xn(e,"name",{value:t,configurable:!0}),"s$2");const ho=Yn(({message:e}={})=>e?`<span class="inline-flex justify-center items-center text-[var(--ono-text)] cursor-help" title="${S(e)}">
740
+ `;return{html:d,script:u}},"stackTraceViewer"),Ye="data:image/svg+xml;charset=utf-8,%3Csvg%20class%3D%22lucide%20lucide-info%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20%3E%20%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%2210%22%20%2F%3E%20%3Cpath%20d%3D%22M12%2016v-4%22%20%2F%3E%20%3Cpath%20d%3D%22M12%208h.01%22%20%2F%3E%20%3C%2Fsvg%3E";var Yn=Object.defineProperty,Xn=f((e,t)=>Yn(e,"name",{value:t,configurable:!0}),"s$2");const ho=Xn(({message:e}={})=>e?`<span class="inline-flex justify-center items-center text-[var(--ono-text)] cursor-help" title="${S(e)}">
741
741
  <span class="dui" style="-webkit-mask-image: url('${Ye}'); mask-image: url('${Ye}')"></span>
742
742
  </span>`:"","tooltip");var ea=Object.defineProperty,ta=f((e,t)=>ea(e,"name",{value:t,configurable:!0}),"r$1");const oa=ta(async(e,t={})=>{if(e.length===0)return{html:"",script:""};const o=[],r=[];for await(const[n,s]of e.entries())if(s instanceof Error){const{html:a,script:i}=await uo(s,{openInEditorUrl:t.openInEditorUrl});o.push(`<details aria-label="Cause ${n+1}" class="relative rounded-[var(--ono-radius-lg)] mb-2 last:mb-0 group shadow-[var(--ono-elevation-1)] bg-[var(--ono-surface)]">
743
743
  <summary class="pl-5 focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] transition-all inline-flex justify-between items-center gap-x-3 w-full font-semibold text-start py-4 px-5 disabled:opacity-50 disabled:pointer-events-none cursor-pointer text-[var(--ono-text)]">
@@ -801,8 +801,8 @@ bindShortcutsModal();
801
801
  </button>
802
802
  </div>
803
803
  </div>
804
- `}},"copyDropdown"),Ge="data:image/svg+xml;charset=utf-8,%3Csvg%20class%3D%22lucide%20lucide-x%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20%3E%20%3Cpath%20d%3D%22M18%206%206%2018%22%20%2F%3E%20%3Cpath%20d%3D%22m6%206%2012%2012%22%20%2F%3E%20%3C%2Fsvg%3E";var aa=Object.defineProperty,v=f((e,t)=>aa(e,"name",{value:t,configurable:!0}),"k");function Ne(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}f(Ne,"q");v(Ne,"L");var J=Ne();function pt(e){J=e}f(pt,"ae");v(pt,"G");var pe={exec:v(()=>null,"exec")};function b(e,t=""){let o=typeof e=="string"?e:e.source,r={replace:v((n,s)=>{let a=typeof s=="string"?s:s.source;return a=a.replace(C.caret,"$1"),o=o.replace(n,a),r},"replace"),getRegex:v(()=>new RegExp(o,t),"getRegex")};return r}f(b,"p");v(b,"d");var C={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceTabs:/^\t+/,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] /,listReplaceTask:/^\[[ xX]\] +/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^<a /i,endATag:/^<\/a>/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^</,endAngleBracket:/>$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,unescapeTest:/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:v(e=>new RegExp(`^( {0,3}${e})((?:[ ][^\\n]*)?(?:\\n|$))`),"listItemRegex"),nextBulletRegex:v(e=>new RegExp(`^ {0,${Math.min(3,e-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),"nextBulletRegex"),hrRegex:v(e=>new RegExp(`^ {0,${Math.min(3,e-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),"hrRegex"),fencesBeginRegex:v(e=>new RegExp(`^ {0,${Math.min(3,e-1)}}(?:\`\`\`|~~~)`),"fencesBeginRegex"),headingBeginRegex:v(e=>new RegExp(`^ {0,${Math.min(3,e-1)}}#`),"headingBeginRegex"),htmlBeginRegex:v(e=>new RegExp(`^ {0,${Math.min(3,e-1)}}<(?:[a-z].*>|!--)`,"i"),"htmlBeginRegex")},sa=/^(?:[ \t]*(?:\n|$))+/,ia=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,la=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,be=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,ca=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,ut=/(?:[*+-]|\d{1,9}[.)])/,mo=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,fo=b(mo).replace(/bull/g,ut).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/\|table/g,"").getRegex(),da=b(mo).replace(/bull/g,ut).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/table/g,/ {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(),ht=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,pa=/^[^\n]+/,gt=/(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/,ua=b(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",gt).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),ha=b(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,ut).getRegex(),qe="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",mt=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,ga=b("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))","i").replace("comment",mt).replace("tag",qe).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),wo=b(ht).replace("hr",be).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",qe).getRegex(),ma=b(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",wo).getRegex(),ft={blockquote:ma,code:ia,def:ua,fences:la,heading:ca,hr:be,html:ga,lheading:fo,list:ha,newline:sa,paragraph:wo,table:pe,text:pa},Ot=b("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",be).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3} )[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",qe).getRegex(),fa={...ft,lheading:da,table:Ot,paragraph:b(ht).replace("hr",be).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",Ot).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",qe).getRegex()},wa={...ft,html:b(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",mt).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:pe,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:b(ht).replace("hr",be).replace("heading",` *#{1,6} *[^
805
- ]`).replace("lheading",fo).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},ba=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,va=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,bo=/^( {2,}|\\)\n(?!\s*$)/,xa=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,We=/[\p{P}\p{S}]/u,wt=/[\s\p{P}\p{S}]/u,vo=/[^\s\p{P}\p{S}]/u,ka=b(/^((?![*_])punctSpace)/,"u").replace(/punctSpace/g,wt).getRegex(),xo=/(?!~)[\p{P}\p{S}]/u,ya=/(?!~)[\s\p{P}\p{S}]/u,$a=/(?:[^\s\p{P}\p{S}]|~)/u,Ea=/\[(?:[^\[\]`]|`[^`]*?`)*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)|`[^`]*?`|<(?! )[^<>]*?>/g,ko=/^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/,Sa=b(ko,"u").replace(/punct/g,We).getRegex(),Ca=b(ko,"u").replace(/punct/g,xo).getRegex(),yo="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)",Ta=b(yo,"gu").replace(/notPunctSpace/g,vo).replace(/punctSpace/g,wt).replace(/punct/g,We).getRegex(),Aa=b(yo,"gu").replace(/notPunctSpace/g,$a).replace(/punctSpace/g,ya).replace(/punct/g,xo).getRegex(),Da=b("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,vo).replace(/punctSpace/g,wt).replace(/punct/g,We).getRegex(),Ia=b(/\\(punct)/,"gu").replace(/punct/g,We).getRegex(),za=b(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),Ba=b(mt).replace("(?:-->|$)","-->").getRegex(),La=b("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment",Ba).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),ze=/(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+[^`]*?`+(?!`)|[^\[\]\\`])*?/,Ra=b(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label",ze).replace("href",/<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),$o=b(/^!?\[(label)\]\[(ref)\]/).replace("label",ze).replace("ref",gt).getRegex(),Eo=b(/^!?\[(ref)\](?:\[\])?/).replace("ref",gt).getRegex(),ja=b("reflink|nolink(?!\\()","g").replace("reflink",$o).replace("nolink",Eo).getRegex(),Pt=/[hH][tT][tT][pP][sS]?|[fF][tT][pP]/,bt={_backpedal:pe,anyPunctuation:Ia,autolink:za,blockSkip:Ea,br:bo,code:va,del:pe,emStrongLDelim:Sa,emStrongRDelimAst:Ta,emStrongRDelimUnd:Da,escape:ba,link:Ra,nolink:Eo,punctuation:ka,reflink:$o,reflinkSearch:ja,tag:La,text:xa,url:pe},_a={...bt,link:b(/^!?\[(label)\]\((.*?)\)/).replace("label",ze).getRegex(),reflink:b(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",ze).getRegex()},et={...bt,emStrongRDelimAst:Aa,emStrongLDelim:Ca,url:b(/^((?:protocol):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("protocol",Pt).replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])((?:\\[\s\S]|[^\\])*?(?:\\[\s\S]|[^\s~\\]))\1(?=[^~]|$)/,text:b(/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|protocol:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/).replace("protocol",Pt).getRegex()},Fa={...et,br:b(bo).replace("{2,}","*").getRegex(),text:b(et.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()},Ee={normal:ft,gfm:fa,pedantic:wa},ce={normal:bt,gfm:et,breaks:Fa,pedantic:_a},Ma={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},Nt=v(e=>Ma[e],"ge");function I(e,t){if(t){if(C.escapeTest.test(e))return e.replace(C.escapeReplace,Nt)}else if(C.escapeTestNoEncode.test(e))return e.replace(C.escapeReplaceNoEncode,Nt);return e}f(I,"$$2");v(I,"w");function tt(e){try{e=encodeURI(e).replace(C.percentDecode,"%")}catch{return null}return e}f(tt,"se");v(tt,"J");function ot(e,t){let o=e.replace(C.findPipe,(s,a,i)=>{let l=!1,c=a;for(;--c>=0&&i[c]==="\\";)l=!l;return l?"|":" |"}),r=o.split(C.splitPipe),n=0;if(r[0].trim()||r.shift(),r.length>0&&!r.at(-1)?.trim()&&r.pop(),t)if(r.length>t)r.splice(t);else for(;r.length<t;)r.push("");for(;n<r.length;n++)r[n]=r[n].trim().replace(C.slashPipe,"|");return r}f(ot,"le");v(ot,"V");function oe(e,t,o){let r=e.length;if(r===0)return"";let n=0;for(;n<r;){let s=e.charAt(r-n-1);if(s===t&&!o)n++;else if(s!==t&&o)n++;else break}return e.slice(0,r-n)}f(oe,"_");v(oe,"z");function So(e,t){if(e.indexOf(t[1])===-1)return-1;let o=0;for(let r=0;r<e.length;r++)if(e[r]==="\\")r++;else if(e[r]===t[0])o++;else if(e[r]===t[1]&&(o--,o<0))return r;return o>0?-2:-1}f(So,"et");v(So,"fe");function rt(e,t,o,r,n){let s=t.href,a=t.title||null,i=e[1].replace(n.other.outputLinkReplace,"$1");r.state.inLink=!0;let l={type:e[0].charAt(0)==="!"?"image":"link",raw:o,href:s,title:a,text:i,tokens:r.inlineTokens(i)};return r.state.inLink=!1,l}f(rt,"ie");v(rt,"me");function Co(e,t,o){let r=e.match(o.other.indentCodeCompensation);if(r===null)return t;let n=r[1];return t.split(`
804
+ `}},"copyDropdown"),Ge="data:image/svg+xml;charset=utf-8,%3Csvg%20class%3D%22lucide%20lucide-x%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20%3E%20%3Cpath%20d%3D%22M18%206%206%2018%22%20%2F%3E%20%3Cpath%20d%3D%22m6%206%2012%2012%22%20%2F%3E%20%3C%2Fsvg%3E";var aa=Object.defineProperty,v=f((e,t)=>aa(e,"name",{value:t,configurable:!0}),"k");function Pe(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}f(Pe,"q");v(Pe,"L");var J=Pe();function pt(e){J=e}f(pt,"ae");v(pt,"G");var pe={exec:v(()=>null,"exec")};function b(e,t=""){let o=typeof e=="string"?e:e.source,r={replace:v((n,s)=>{let a=typeof s=="string"?s:s.source;return a=a.replace(C.caret,"$1"),o=o.replace(n,a),r},"replace"),getRegex:v(()=>new RegExp(o,t),"getRegex")};return r}f(b,"p");v(b,"h");var C={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceTabs:/^\t+/,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] /,listReplaceTask:/^\[[ xX]\] +/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^<a /i,endATag:/^<\/a>/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^</,endAngleBracket:/>$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,unescapeTest:/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:v(e=>new RegExp(`^( {0,3}${e})((?:[ ][^\\n]*)?(?:\\n|$))`),"listItemRegex"),nextBulletRegex:v(e=>new RegExp(`^ {0,${Math.min(3,e-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),"nextBulletRegex"),hrRegex:v(e=>new RegExp(`^ {0,${Math.min(3,e-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),"hrRegex"),fencesBeginRegex:v(e=>new RegExp(`^ {0,${Math.min(3,e-1)}}(?:\`\`\`|~~~)`),"fencesBeginRegex"),headingBeginRegex:v(e=>new RegExp(`^ {0,${Math.min(3,e-1)}}#`),"headingBeginRegex"),htmlBeginRegex:v(e=>new RegExp(`^ {0,${Math.min(3,e-1)}}<(?:[a-z].*>|!--)`,"i"),"htmlBeginRegex")},sa=/^(?:[ \t]*(?:\n|$))+/,ia=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,la=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,be=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,ca=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,ut=/(?:[*+-]|\d{1,9}[.)])/,mo=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,fo=b(mo).replace(/bull/g,ut).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/\|table/g,"").getRegex(),da=b(mo).replace(/bull/g,ut).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/table/g,/ {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(),ht=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,pa=/^[^\n]+/,gt=/(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/,ua=b(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",gt).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),ha=b(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,ut).getRegex(),Ne="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",mt=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,ga=b("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))","i").replace("comment",mt).replace("tag",Ne).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),wo=b(ht).replace("hr",be).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",Ne).getRegex(),ma=b(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",wo).getRegex(),ft={blockquote:ma,code:ia,def:ua,fences:la,heading:ca,hr:be,html:ga,lheading:fo,list:ha,newline:sa,paragraph:wo,table:pe,text:pa},Ot=b("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",be).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3} )[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",Ne).getRegex(),fa={...ft,lheading:da,table:Ot,paragraph:b(ht).replace("hr",be).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",Ot).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",Ne).getRegex()},wa={...ft,html:b(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",mt).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:pe,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:b(ht).replace("hr",be).replace("heading",` *#{1,6} *[^
805
+ ]`).replace("lheading",fo).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},ba=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,va=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,bo=/^( {2,}|\\)\n(?!\s*$)/,xa=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,qe=/[\p{P}\p{S}]/u,wt=/[\s\p{P}\p{S}]/u,vo=/[^\s\p{P}\p{S}]/u,ka=b(/^((?![*_])punctSpace)/,"u").replace(/punctSpace/g,wt).getRegex(),xo=/(?!~)[\p{P}\p{S}]/u,ya=/(?!~)[\s\p{P}\p{S}]/u,$a=/(?:[^\s\p{P}\p{S}]|~)/u,Ea=b(/link|code|html/,"g").replace("link",/\[(?:[^\[\]`]|(?<!`)(?<a>`+)[^`]+\k<a>(?!`))*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)/).replace("code",/(?<!`)(?<b>`+)[^`]+\k<b>(?!`)/).replace("html",/<(?! )[^<>]*?>/).getRegex(),ko=/^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/,Sa=b(ko,"u").replace(/punct/g,qe).getRegex(),Ca=b(ko,"u").replace(/punct/g,xo).getRegex(),yo="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)",Ta=b(yo,"gu").replace(/notPunctSpace/g,vo).replace(/punctSpace/g,wt).replace(/punct/g,qe).getRegex(),Aa=b(yo,"gu").replace(/notPunctSpace/g,$a).replace(/punctSpace/g,ya).replace(/punct/g,xo).getRegex(),Da=b("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,vo).replace(/punctSpace/g,wt).replace(/punct/g,qe).getRegex(),Ia=b(/\\(punct)/,"gu").replace(/punct/g,qe).getRegex(),za=b(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),Ba=b(mt).replace("(?:-->|$)","-->").getRegex(),La=b("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment",Ba).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),ze=/(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+[^`]*?`+(?!`)|[^\[\]\\`])*?/,Ra=b(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label",ze).replace("href",/<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),$o=b(/^!?\[(label)\]\[(ref)\]/).replace("label",ze).replace("ref",gt).getRegex(),Eo=b(/^!?\[(ref)\](?:\[\])?/).replace("ref",gt).getRegex(),ja=b("reflink|nolink(?!\\()","g").replace("reflink",$o).replace("nolink",Eo).getRegex(),Pt=/[hH][tT][tT][pP][sS]?|[fF][tT][pP]/,bt={_backpedal:pe,anyPunctuation:Ia,autolink:za,blockSkip:Ea,br:bo,code:va,del:pe,emStrongLDelim:Sa,emStrongRDelimAst:Ta,emStrongRDelimUnd:Da,escape:ba,link:Ra,nolink:Eo,punctuation:ka,reflink:$o,reflinkSearch:ja,tag:La,text:xa,url:pe},_a={...bt,link:b(/^!?\[(label)\]\((.*?)\)/).replace("label",ze).getRegex(),reflink:b(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",ze).getRegex()},Xe={...bt,emStrongRDelimAst:Aa,emStrongLDelim:Ca,url:b(/^((?:protocol):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("protocol",Pt).replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])((?:\\[\s\S]|[^\\])*?(?:\\[\s\S]|[^\s~\\]))\1(?=[^~]|$)/,text:b(/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|protocol:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/).replace("protocol",Pt).getRegex()},Fa={...Xe,br:b(bo).replace("{2,}","*").getRegex(),text:b(Xe.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()},Ee={normal:ft,gfm:fa,pedantic:wa},ce={normal:bt,gfm:Xe,breaks:Fa,pedantic:_a},Ma={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},Nt=v(e=>Ma[e],"ge");function I(e,t){if(t){if(C.escapeTest.test(e))return e.replace(C.escapeReplace,Nt)}else if(C.escapeTestNoEncode.test(e))return e.replace(C.escapeReplaceNoEncode,Nt);return e}f(I,"$$2");v(I,"w");function et(e){try{e=encodeURI(e).replace(C.percentDecode,"%")}catch{return null}return e}f(et,"se");v(et,"J");function tt(e,t){let o=e.replace(C.findPipe,(s,a,i)=>{let l=!1,c=a;for(;--c>=0&&i[c]==="\\";)l=!l;return l?"|":" |"}),r=o.split(C.splitPipe),n=0;if(r[0].trim()||r.shift(),r.length>0&&!r.at(-1)?.trim()&&r.pop(),t)if(r.length>t)r.splice(t);else for(;r.length<t;)r.push("");for(;n<r.length;n++)r[n]=r[n].trim().replace(C.slashPipe,"|");return r}f(tt,"le");v(tt,"V");function oe(e,t,o){let r=e.length;if(r===0)return"";let n=0;for(;n<r;){let s=e.charAt(r-n-1);if(s===t&&!o)n++;else if(s!==t&&o)n++;else break}return e.slice(0,r-n)}f(oe,"_");v(oe,"z");function So(e,t){if(e.indexOf(t[1])===-1)return-1;let o=0;for(let r=0;r<e.length;r++)if(e[r]==="\\")r++;else if(e[r]===t[0])o++;else if(e[r]===t[1]&&(o--,o<0))return r;return o>0?-2:-1}f(So,"et");v(So,"fe");function ot(e,t,o,r,n){let s=t.href,a=t.title||null,i=e[1].replace(n.other.outputLinkReplace,"$1");r.state.inLink=!0;let l={type:e[0].charAt(0)==="!"?"image":"link",raw:o,href:s,title:a,text:i,tokens:r.inlineTokens(i)};return r.state.inLink=!1,l}f(ot,"ie");v(ot,"me");function Co(e,t,o){let r=e.match(o.other.indentCodeCompensation);if(r===null)return t;let n=r[1];return t.split(`
806
806
  `).map(s=>{let a=s.match(o.other.beginningSpace);if(a===null)return s;let[i]=a;return i.length>=n.length?s.slice(n.length):s}).join(`
807
807
  `)}f(Co,"tt");v(Co,"Ve");var Be=class{static{f(this,"I")}static{v(this,"y")}options;rules;lexer;constructor(e){this.options=e||J}space(e){let t=this.rules.block.newline.exec(e);if(t&&t[0].length>0)return{type:"space",raw:t[0]}}code(e){let t=this.rules.block.code.exec(e);if(t){let o=t[0].replace(this.rules.other.codeRemoveIndent,"");return{type:"code",raw:t[0],codeBlockStyle:"indented",text:this.options.pedantic?o:oe(o,`
808
808
  `)}}}fences(e){let t=this.rules.block.fences.exec(e);if(t){let o=t[0],r=Co(o,t[3]||"",this.rules);return{type:"code",raw:o,lang:t[2]?t[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):t[2],text:r}}}heading(e){let t=this.rules.block.heading.exec(e);if(t){let o=t[2].trim();if(this.rules.other.endingHash.test(o)){let r=oe(o,"#");(this.options.pedantic||!r||this.rules.other.endingSpaceChar.test(r))&&(o=r.trim())}return{type:"heading",raw:t[0],depth:t[1].length,text:o,tokens:this.lexer.inline(o)}}}hr(e){let t=this.rules.block.hr.exec(e);if(t)return{type:"hr",raw:oe(t[0],`
@@ -820,13 +820,13 @@ ${d}`:d;let u=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.blockTo
820
820
  `);continue}}return{type:"blockquote",raw:r,tokens:s,text:n}}}list(e){let t=this.rules.block.list.exec(e);if(t){let o=t[1].trim(),r=o.length>1,n={type:"list",raw:"",ordered:r,start:r?+o.slice(0,-1):"",loose:!1,items:[]};o=r?`\\d{1,9}\\${o.slice(-1)}`:`\\${o}`,this.options.pedantic&&(o=r?o:"[*+-]");let s=this.rules.other.listItemRegex(o),a=!1;for(;e;){let l=!1,c="",d="";if(!(t=s.exec(e))||this.rules.block.hr.test(e))break;c=t[0],e=e.substring(c.length);let u=t[2].split(`
821
821
  `,1)[0].replace(this.rules.other.listReplaceTabs,y=>" ".repeat(3*y.length)),p=e.split(`
822
822
  `,1)[0],h=!u.trim(),m=0;if(this.options.pedantic?(m=2,d=u.trimStart()):h?m=t[1].length+1:(m=t[2].search(this.rules.other.nonSpaceChar),m=m>4?1:m,d=u.slice(m),m+=t[1].length),h&&this.rules.other.blankLine.test(p)&&(c+=p+`
823
- `,e=e.substring(p.length+1),l=!0),!l){let y=this.rules.other.nextBulletRegex(m),z=this.rules.other.hrRegex(m),F=this.rules.other.fencesBeginRegex(m),X=this.rules.other.headingBeginRegex(m),Y=this.rules.other.htmlBeginRegex(m);for(;e;){let M=e.split(`
824
- `,1)[0],D;if(p=M,this.options.pedantic?(p=p.replace(this.rules.other.listReplaceNesting," "),D=p):D=p.replace(this.rules.other.tabCharGlobal," "),F.test(p)||X.test(p)||Y.test(p)||y.test(p)||z.test(p))break;if(D.search(this.rules.other.nonSpaceChar)>=m||!p.trim())d+=`
825
- `+D.slice(m);else{if(h||u.replace(this.rules.other.tabCharGlobal," ").search(this.rules.other.nonSpaceChar)>=4||F.test(u)||X.test(u)||z.test(u))break;d+=`
823
+ `,e=e.substring(p.length+1),l=!0),!l){let y=this.rules.other.nextBulletRegex(m),z=this.rules.other.hrRegex(m),F=this.rules.other.fencesBeginRegex(m),Y=this.rules.other.headingBeginRegex(m),X=this.rules.other.htmlBeginRegex(m);for(;e;){let M=e.split(`
824
+ `,1)[0],D;if(p=M,this.options.pedantic?(p=p.replace(this.rules.other.listReplaceNesting," "),D=p):D=p.replace(this.rules.other.tabCharGlobal," "),F.test(p)||Y.test(p)||X.test(p)||y.test(p)||z.test(p))break;if(D.search(this.rules.other.nonSpaceChar)>=m||!p.trim())d+=`
825
+ `+D.slice(m);else{if(h||u.replace(this.rules.other.tabCharGlobal," ").search(this.rules.other.nonSpaceChar)>=4||F.test(u)||Y.test(u)||z.test(u))break;d+=`
826
826
  `+p}!h&&!p.trim()&&(h=!0),c+=M+`
827
- `,e=e.substring(M.length+1),u=D.slice(m)}}n.loose||(a?n.loose=!0:this.rules.other.doubleBlankLine.test(c)&&(a=!0));let g=null,w;this.options.gfm&&(g=this.rules.other.listIsTask.exec(d),g&&(w=g[0]!=="[ ] ",d=d.replace(this.rules.other.listReplaceTask,""))),n.items.push({type:"list_item",raw:c,task:!!g,checked:w,loose:!1,text:d,tokens:[]}),n.raw+=c}let i=n.items.at(-1);if(i)i.raw=i.raw.trimEnd(),i.text=i.text.trimEnd();else return;n.raw=n.raw.trimEnd();for(let l=0;l<n.items.length;l++)if(this.lexer.state.top=!1,n.items[l].tokens=this.lexer.blockTokens(n.items[l].text,[]),!n.loose){let c=n.items[l].tokens.filter(u=>u.type==="space"),d=c.length>0&&c.some(u=>this.rules.other.anyLine.test(u.raw));n.loose=d}if(n.loose)for(let l=0;l<n.items.length;l++)n.items[l].loose=!0;return n}}html(e){let t=this.rules.block.html.exec(e);if(t)return{type:"html",block:!0,raw:t[0],pre:t[1]==="pre"||t[1]==="script"||t[1]==="style",text:t[0]}}def(e){let t=this.rules.block.def.exec(e);if(t){let o=t[1].toLowerCase().replace(this.rules.other.multipleSpaceGlobal," "),r=t[2]?t[2].replace(this.rules.other.hrefBrackets,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",n=t[3]?t[3].substring(1,t[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):t[3];return{type:"def",tag:o,raw:t[0],href:r,title:n}}}table(e){let t=this.rules.block.table.exec(e);if(!t||!this.rules.other.tableDelimiter.test(t[2]))return;let o=ot(t[1]),r=t[2].replace(this.rules.other.tableAlignChars,"").split("|"),n=t[3]?.trim()?t[3].replace(this.rules.other.tableRowBlankLine,"").split(`
828
- `):[],s={type:"table",raw:t[0],header:[],align:[],rows:[]};if(o.length===r.length){for(let a of r)this.rules.other.tableAlignRight.test(a)?s.align.push("right"):this.rules.other.tableAlignCenter.test(a)?s.align.push("center"):this.rules.other.tableAlignLeft.test(a)?s.align.push("left"):s.align.push(null);for(let a=0;a<o.length;a++)s.header.push({text:o[a],tokens:this.lexer.inline(o[a]),header:!0,align:s.align[a]});for(let a of n)s.rows.push(ot(a,s.header.length).map((i,l)=>({text:i,tokens:this.lexer.inline(i),header:!1,align:s.align[l]})));return s}}lheading(e){let t=this.rules.block.lheading.exec(e);if(t)return{type:"heading",raw:t[0],depth:t[2].charAt(0)==="="?1:2,text:t[1],tokens:this.lexer.inline(t[1])}}paragraph(e){let t=this.rules.block.paragraph.exec(e);if(t){let o=t[1].charAt(t[1].length-1)===`
829
- `?t[1].slice(0,-1):t[1];return{type:"paragraph",raw:t[0],text:o,tokens:this.lexer.inline(o)}}}text(e){let t=this.rules.block.text.exec(e);if(t)return{type:"text",raw:t[0],text:t[0],tokens:this.lexer.inline(t[0])}}escape(e){let t=this.rules.inline.escape.exec(e);if(t)return{type:"escape",raw:t[0],text:t[1]}}tag(e){let t=this.rules.inline.tag.exec(e);if(t)return!this.lexer.state.inLink&&this.rules.other.startATag.test(t[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&this.rules.other.endATag.test(t[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&this.rules.other.startPreScriptTag.test(t[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&this.rules.other.endPreScriptTag.test(t[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:t[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:t[0]}}link(e){let t=this.rules.inline.link.exec(e);if(t){let o=t[2].trim();if(!this.options.pedantic&&this.rules.other.startAngleBracket.test(o)){if(!this.rules.other.endAngleBracket.test(o))return;let s=oe(o.slice(0,-1),"\\");if((o.length-s.length)%2===0)return}else{let s=So(t[2],"()");if(s===-2)return;if(s>-1){let a=(t[0].indexOf("!")===0?5:4)+t[1].length+s;t[2]=t[2].substring(0,s),t[0]=t[0].substring(0,a).trim(),t[3]=""}}let r=t[2],n="";if(this.options.pedantic){let s=this.rules.other.pedanticHrefTitle.exec(r);s&&(r=s[1],n=s[3])}else n=t[3]?t[3].slice(1,-1):"";return r=r.trim(),this.rules.other.startAngleBracket.test(r)&&(this.options.pedantic&&!this.rules.other.endAngleBracket.test(o)?r=r.slice(1):r=r.slice(1,-1)),rt(t,{href:r&&r.replace(this.rules.inline.anyPunctuation,"$1"),title:n&&n.replace(this.rules.inline.anyPunctuation,"$1")},t[0],this.lexer,this.rules)}}reflink(e,t){let o;if((o=this.rules.inline.reflink.exec(e))||(o=this.rules.inline.nolink.exec(e))){let r=(o[2]||o[1]).replace(this.rules.other.multipleSpaceGlobal," "),n=t[r.toLowerCase()];if(!n){let s=o[0].charAt(0);return{type:"text",raw:s,text:s}}return rt(o,n,o[0],this.lexer,this.rules)}}emStrong(e,t,o=""){let r=this.rules.inline.emStrongLDelim.exec(e);if(!(!r||r[3]&&o.match(this.rules.other.unicodeAlphaNumeric))&&(!(r[1]||r[2])||!o||this.rules.inline.punctuation.exec(o))){let n=[...r[0]].length-1,s,a,i=n,l=0,c=r[0][0]==="*"?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(c.lastIndex=0,t=t.slice(-1*e.length+n);(r=c.exec(t))!=null;){if(s=r[1]||r[2]||r[3]||r[4]||r[5]||r[6],!s)continue;if(a=[...s].length,r[3]||r[4]){i+=a;continue}else if((r[5]||r[6])&&n%3&&!((n+a)%3)){l+=a;continue}if(i-=a,i>0)continue;a=Math.min(a,a+i+l);let d=[...r[0]][0].length,u=e.slice(0,n+r.index+d+a);if(Math.min(n,a)%2){let h=u.slice(1,-1);return{type:"em",raw:u,text:h,tokens:this.lexer.inlineTokens(h)}}let p=u.slice(2,-2);return{type:"strong",raw:u,text:p,tokens:this.lexer.inlineTokens(p)}}}}codespan(e){let t=this.rules.inline.code.exec(e);if(t){let o=t[2].replace(this.rules.other.newLineCharGlobal," "),r=this.rules.other.nonSpaceChar.test(o),n=this.rules.other.startingSpaceChar.test(o)&&this.rules.other.endingSpaceChar.test(o);return r&&n&&(o=o.substring(1,o.length-1)),{type:"codespan",raw:t[0],text:o}}}br(e){let t=this.rules.inline.br.exec(e);if(t)return{type:"br",raw:t[0]}}del(e){let t=this.rules.inline.del.exec(e);if(t)return{type:"del",raw:t[0],text:t[2],tokens:this.lexer.inlineTokens(t[2])}}autolink(e){let t=this.rules.inline.autolink.exec(e);if(t){let o,r;return t[2]==="@"?(o=t[1],r="mailto:"+o):(o=t[1],r=o),{type:"link",raw:t[0],text:o,href:r,tokens:[{type:"text",raw:o,text:o}]}}}url(e){let t;if(t=this.rules.inline.url.exec(e)){let o,r;if(t[2]==="@")o=t[0],r="mailto:"+o;else{let n;do n=t[0],t[0]=this.rules.inline._backpedal.exec(t[0])?.[0]??"";while(n!==t[0]);o=t[0],t[1]==="www."?r="http://"+t[0]:r=t[0]}return{type:"link",raw:t[0],text:o,href:r,tokens:[{type:"text",raw:o,text:o}]}}}inlineText(e){let t=this.rules.inline.text.exec(e);if(t){let o=this.lexer.state.inRawBlock;return{type:"text",raw:t[0],text:t[0],escaped:o}}}},B=class nt{static{f(this,"Q")}static{v(this,"u")}tokens;options;state;tokenizer;inlineQueue;constructor(t){this.tokens=[],this.tokens.links=Object.create(null),this.options=t||J,this.options.tokenizer=this.options.tokenizer||new Be,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};let o={other:C,block:Ee.normal,inline:ce.normal};this.options.pedantic?(o.block=Ee.pedantic,o.inline=ce.pedantic):this.options.gfm&&(o.block=Ee.gfm,this.options.breaks?o.inline=ce.breaks:o.inline=ce.gfm),this.tokenizer.rules=o}static get rules(){return{block:Ee,inline:ce}}static lex(t,o){return new nt(o).lex(t)}static lexInline(t,o){return new nt(o).inlineTokens(t)}lex(t){t=t.replace(C.carriageReturn,`
827
+ `,e=e.substring(M.length+1),u=D.slice(m)}}n.loose||(a?n.loose=!0:this.rules.other.doubleBlankLine.test(c)&&(a=!0));let g=null,w;this.options.gfm&&(g=this.rules.other.listIsTask.exec(d),g&&(w=g[0]!=="[ ] ",d=d.replace(this.rules.other.listReplaceTask,""))),n.items.push({type:"list_item",raw:c,task:!!g,checked:w,loose:!1,text:d,tokens:[]}),n.raw+=c}let i=n.items.at(-1);if(i)i.raw=i.raw.trimEnd(),i.text=i.text.trimEnd();else return;n.raw=n.raw.trimEnd();for(let l=0;l<n.items.length;l++)if(this.lexer.state.top=!1,n.items[l].tokens=this.lexer.blockTokens(n.items[l].text,[]),!n.loose){let c=n.items[l].tokens.filter(u=>u.type==="space"),d=c.length>0&&c.some(u=>this.rules.other.anyLine.test(u.raw));n.loose=d}if(n.loose)for(let l=0;l<n.items.length;l++)n.items[l].loose=!0;return n}}html(e){let t=this.rules.block.html.exec(e);if(t)return{type:"html",block:!0,raw:t[0],pre:t[1]==="pre"||t[1]==="script"||t[1]==="style",text:t[0]}}def(e){let t=this.rules.block.def.exec(e);if(t){let o=t[1].toLowerCase().replace(this.rules.other.multipleSpaceGlobal," "),r=t[2]?t[2].replace(this.rules.other.hrefBrackets,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",n=t[3]?t[3].substring(1,t[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):t[3];return{type:"def",tag:o,raw:t[0],href:r,title:n}}}table(e){let t=this.rules.block.table.exec(e);if(!t||!this.rules.other.tableDelimiter.test(t[2]))return;let o=tt(t[1]),r=t[2].replace(this.rules.other.tableAlignChars,"").split("|"),n=t[3]?.trim()?t[3].replace(this.rules.other.tableRowBlankLine,"").split(`
828
+ `):[],s={type:"table",raw:t[0],header:[],align:[],rows:[]};if(o.length===r.length){for(let a of r)this.rules.other.tableAlignRight.test(a)?s.align.push("right"):this.rules.other.tableAlignCenter.test(a)?s.align.push("center"):this.rules.other.tableAlignLeft.test(a)?s.align.push("left"):s.align.push(null);for(let a=0;a<o.length;a++)s.header.push({text:o[a],tokens:this.lexer.inline(o[a]),header:!0,align:s.align[a]});for(let a of n)s.rows.push(tt(a,s.header.length).map((i,l)=>({text:i,tokens:this.lexer.inline(i),header:!1,align:s.align[l]})));return s}}lheading(e){let t=this.rules.block.lheading.exec(e);if(t)return{type:"heading",raw:t[0],depth:t[2].charAt(0)==="="?1:2,text:t[1],tokens:this.lexer.inline(t[1])}}paragraph(e){let t=this.rules.block.paragraph.exec(e);if(t){let o=t[1].charAt(t[1].length-1)===`
829
+ `?t[1].slice(0,-1):t[1];return{type:"paragraph",raw:t[0],text:o,tokens:this.lexer.inline(o)}}}text(e){let t=this.rules.block.text.exec(e);if(t)return{type:"text",raw:t[0],text:t[0],tokens:this.lexer.inline(t[0])}}escape(e){let t=this.rules.inline.escape.exec(e);if(t)return{type:"escape",raw:t[0],text:t[1]}}tag(e){let t=this.rules.inline.tag.exec(e);if(t)return!this.lexer.state.inLink&&this.rules.other.startATag.test(t[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&this.rules.other.endATag.test(t[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&this.rules.other.startPreScriptTag.test(t[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&this.rules.other.endPreScriptTag.test(t[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:t[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:t[0]}}link(e){let t=this.rules.inline.link.exec(e);if(t){let o=t[2].trim();if(!this.options.pedantic&&this.rules.other.startAngleBracket.test(o)){if(!this.rules.other.endAngleBracket.test(o))return;let s=oe(o.slice(0,-1),"\\");if((o.length-s.length)%2===0)return}else{let s=So(t[2],"()");if(s===-2)return;if(s>-1){let a=(t[0].indexOf("!")===0?5:4)+t[1].length+s;t[2]=t[2].substring(0,s),t[0]=t[0].substring(0,a).trim(),t[3]=""}}let r=t[2],n="";if(this.options.pedantic){let s=this.rules.other.pedanticHrefTitle.exec(r);s&&(r=s[1],n=s[3])}else n=t[3]?t[3].slice(1,-1):"";return r=r.trim(),this.rules.other.startAngleBracket.test(r)&&(this.options.pedantic&&!this.rules.other.endAngleBracket.test(o)?r=r.slice(1):r=r.slice(1,-1)),ot(t,{href:r&&r.replace(this.rules.inline.anyPunctuation,"$1"),title:n&&n.replace(this.rules.inline.anyPunctuation,"$1")},t[0],this.lexer,this.rules)}}reflink(e,t){let o;if((o=this.rules.inline.reflink.exec(e))||(o=this.rules.inline.nolink.exec(e))){let r=(o[2]||o[1]).replace(this.rules.other.multipleSpaceGlobal," "),n=t[r.toLowerCase()];if(!n){let s=o[0].charAt(0);return{type:"text",raw:s,text:s}}return ot(o,n,o[0],this.lexer,this.rules)}}emStrong(e,t,o=""){let r=this.rules.inline.emStrongLDelim.exec(e);if(!(!r||r[3]&&o.match(this.rules.other.unicodeAlphaNumeric))&&(!(r[1]||r[2])||!o||this.rules.inline.punctuation.exec(o))){let n=[...r[0]].length-1,s,a,i=n,l=0,c=r[0][0]==="*"?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(c.lastIndex=0,t=t.slice(-1*e.length+n);(r=c.exec(t))!=null;){if(s=r[1]||r[2]||r[3]||r[4]||r[5]||r[6],!s)continue;if(a=[...s].length,r[3]||r[4]){i+=a;continue}else if((r[5]||r[6])&&n%3&&!((n+a)%3)){l+=a;continue}if(i-=a,i>0)continue;a=Math.min(a,a+i+l);let d=[...r[0]][0].length,u=e.slice(0,n+r.index+d+a);if(Math.min(n,a)%2){let h=u.slice(1,-1);return{type:"em",raw:u,text:h,tokens:this.lexer.inlineTokens(h)}}let p=u.slice(2,-2);return{type:"strong",raw:u,text:p,tokens:this.lexer.inlineTokens(p)}}}}codespan(e){let t=this.rules.inline.code.exec(e);if(t){let o=t[2].replace(this.rules.other.newLineCharGlobal," "),r=this.rules.other.nonSpaceChar.test(o),n=this.rules.other.startingSpaceChar.test(o)&&this.rules.other.endingSpaceChar.test(o);return r&&n&&(o=o.substring(1,o.length-1)),{type:"codespan",raw:t[0],text:o}}}br(e){let t=this.rules.inline.br.exec(e);if(t)return{type:"br",raw:t[0]}}del(e){let t=this.rules.inline.del.exec(e);if(t)return{type:"del",raw:t[0],text:t[2],tokens:this.lexer.inlineTokens(t[2])}}autolink(e){let t=this.rules.inline.autolink.exec(e);if(t){let o,r;return t[2]==="@"?(o=t[1],r="mailto:"+o):(o=t[1],r=o),{type:"link",raw:t[0],text:o,href:r,tokens:[{type:"text",raw:o,text:o}]}}}url(e){let t;if(t=this.rules.inline.url.exec(e)){let o,r;if(t[2]==="@")o=t[0],r="mailto:"+o;else{let n;do n=t[0],t[0]=this.rules.inline._backpedal.exec(t[0])?.[0]??"";while(n!==t[0]);o=t[0],t[1]==="www."?r="http://"+t[0]:r=t[0]}return{type:"link",raw:t[0],text:o,href:r,tokens:[{type:"text",raw:o,text:o}]}}}inlineText(e){let t=this.rules.inline.text.exec(e);if(t){let o=this.lexer.state.inRawBlock;return{type:"text",raw:t[0],text:t[0],escaped:o}}}},B=class rt{static{f(this,"Q")}static{v(this,"u")}tokens;options;state;tokenizer;inlineQueue;constructor(t){this.tokens=[],this.tokens.links=Object.create(null),this.options=t||J,this.options.tokenizer=this.options.tokenizer||new Be,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};let o={other:C,block:Ee.normal,inline:ce.normal};this.options.pedantic?(o.block=Ee.pedantic,o.inline=ce.pedantic):this.options.gfm&&(o.block=Ee.gfm,this.options.breaks?o.inline=ce.breaks:o.inline=ce.gfm),this.tokenizer.rules=o}static get rules(){return{block:Ee,inline:ce}}static lex(t,o){return new rt(o).lex(t)}static lexInline(t,o){return new rt(o).inlineTokens(t)}lex(t){t=t.replace(C.carriageReturn,`
830
830
  `),this.blockTokens(t,this.tokens);for(let o=0;o<this.inlineQueue.length;o++){let r=this.inlineQueue[o];this.inlineTokens(r.src,r.tokens)}return this.inlineQueue=[],this.tokens}blockTokens(t,o=[],r=!1){for(this.options.pedantic&&(t=t.replace(C.tabCharGlobal," ").replace(C.spaceLine,""));t;){let n;if(this.options.extensions?.block?.some(a=>(n=a.call({lexer:this},t,o))?(t=t.substring(n.raw.length),o.push(n),!0):!1))continue;if(n=this.tokenizer.space(t)){t=t.substring(n.raw.length);let a=o.at(-1);n.raw.length===1&&a!==void 0?a.raw+=`
831
831
  `:o.push(n);continue}if(n=this.tokenizer.code(t)){t=t.substring(n.raw.length);let a=o.at(-1);a?.type==="paragraph"||a?.type==="text"?(a.raw+=(a.raw.endsWith(`
832
832
  `)?"":`
@@ -858,16 +858,16 @@ ${this.parser.parse(t)}</blockquote>
858
858
  `}tablerow({text:t}){return`<tr>
859
859
  ${t}</tr>
860
860
  `}tablecell(t){let o=this.parser.parseInline(t.tokens),r=t.header?"th":"td";return(t.align?`<${r} align="${t.align}">`:`<${r}>`)+o+`</${r}>
861
- `}strong({tokens:t}){return`<strong>${this.parser.parseInline(t)}</strong>`}em({tokens:t}){return`<em>${this.parser.parseInline(t)}</em>`}codespan({text:t}){return`<code>${I(t,!0)}</code>`}br(t){return"<br>"}del({tokens:t}){return`<del>${this.parser.parseInline(t)}</del>`}link({href:t,title:o,tokens:r}){let n=this.parser.parseInline(r),s=tt(t);if(s===null)return n;t=s;let a='<a href="'+t+'"';return o&&(a+=' title="'+I(o)+'"'),a+=">"+n+"</a>",a}image({href:t,title:o,text:r,tokens:n}){n&&(r=this.parser.parseInline(n,this.parser.textRenderer));let s=tt(t);if(s===null)return I(r);t=s;let a=`<img src="${t}" alt="${r}"`;return o&&(a+=` title="${I(o)}"`),a+=">",a}text(t){return"tokens"in t&&t.tokens?this.parser.parseInline(t.tokens):"escaped"in t&&t.escaped?t.text:I(t.text)}},vt=class{static{f(this,"D")}static{v(this,"$")}strong({text:e}){return e}em({text:e}){return e}codespan({text:e}){return e}del({text:e}){return e}html({text:e}){return e}text({text:e}){return e}link({text:e}){return""+e}image({text:e}){return""+e}br(){return""}},L=class at{static{f(this,"N")}static{v(this,"u")}options;renderer;textRenderer;constructor(t){this.options=t||J,this.options.renderer=this.options.renderer||new Le,this.renderer=this.options.renderer,this.renderer.options=this.options,this.renderer.parser=this,this.textRenderer=new vt}static parse(t,o){return new at(o).parse(t)}static parseInline(t,o){return new at(o).parseInline(t)}parse(t,o=!0){let r="";for(let n=0;n<t.length;n++){let s=t[n];if(this.options.extensions?.renderers?.[s.type]){let i=s,l=this.options.extensions.renderers[i.type].call({parser:this},i);if(l!==!1||!["space","hr","heading","code","table","blockquote","list","html","def","paragraph","text"].includes(i.type)){r+=l||"";continue}}let a=s;switch(a.type){case"space":{r+=this.renderer.space(a);continue}case"hr":{r+=this.renderer.hr(a);continue}case"heading":{r+=this.renderer.heading(a);continue}case"code":{r+=this.renderer.code(a);continue}case"table":{r+=this.renderer.table(a);continue}case"blockquote":{r+=this.renderer.blockquote(a);continue}case"list":{r+=this.renderer.list(a);continue}case"html":{r+=this.renderer.html(a);continue}case"def":{r+=this.renderer.def(a);continue}case"paragraph":{r+=this.renderer.paragraph(a);continue}case"text":{let i=a,l=this.renderer.text(i);for(;n+1<t.length&&t[n+1].type==="text";)i=t[++n],l+=`
862
- `+this.renderer.text(i);o?r+=this.renderer.paragraph({type:"paragraph",raw:l,text:l,tokens:[{type:"text",raw:l,text:l,escaped:!0}]}):r+=l;continue}default:{let i='Token with "'+a.type+'" type was not found.';if(this.options.silent)return console.error(i),"";throw new Error(i)}}}return r}parseInline(t,o=this.renderer){let r="";for(let n=0;n<t.length;n++){let s=t[n];if(this.options.extensions?.renderers?.[s.type]){let i=this.options.extensions.renderers[s.type].call({parser:this},s);if(i!==!1||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(s.type)){r+=i||"";continue}}let a=s;switch(a.type){case"escape":{r+=o.text(a);break}case"html":{r+=o.html(a);break}case"link":{r+=o.link(a);break}case"image":{r+=o.image(a);break}case"strong":{r+=o.strong(a);break}case"em":{r+=o.em(a);break}case"codespan":{r+=o.codespan(a);break}case"br":{r+=o.br(a);break}case"del":{r+=o.del(a);break}case"text":{r+=o.text(a);break}default:{let i='Token with "'+a.type+'" type was not found.';if(this.options.silent)return console.error(i),"";throw new Error(i)}}}return r}},de=class{static{f(this,"T")}static{v(this,"S")}options;block;constructor(t){this.options=t||J}static passThroughHooks=new Set(["preprocess","postprocess","processAllTokens","emStrongMask"]);static passThroughHooksRespectAsync=new Set(["preprocess","postprocess","processAllTokens"]);preprocess(t){return t}postprocess(t){return t}processAllTokens(t){return t}emStrongMask(t){return t}provideLexer(){return this.block?B.lex:B.lexInline}provideParser(){return this.block?L.parse:L.parseInline}},Oa=class{static{f(this,"be")}static{v(this,"B")}defaults=Ne();options=this.setOptions;parse=this.parseMarkdown(!0);parseInline=this.parseMarkdown(!1);Parser=L;Renderer=Le;TextRenderer=vt;Lexer=B;Tokenizer=Be;Hooks=de;constructor(...e){this.use(...e)}walkTokens(e,t){let o=[];for(let r of e)switch(o=o.concat(t.call(this,r)),r.type){case"table":{let n=r;for(let s of n.header)o=o.concat(this.walkTokens(s.tokens,t));for(let s of n.rows)for(let a of s)o=o.concat(this.walkTokens(a.tokens,t));break}case"list":{let n=r;o=o.concat(this.walkTokens(n.items,t));break}default:{let n=r;this.defaults.extensions?.childTokens?.[n.type]?this.defaults.extensions.childTokens[n.type].forEach(s=>{let a=n[s].flat(1/0);o=o.concat(this.walkTokens(a,t))}):n.tokens&&(o=o.concat(this.walkTokens(n.tokens,t)))}}return o}use(...e){let t=this.defaults.extensions||{renderers:{},childTokens:{}};return e.forEach(o=>{let r={...o};if(r.async=this.defaults.async||r.async||!1,o.extensions&&(o.extensions.forEach(n=>{if(!n.name)throw new Error("extension name required");if("renderer"in n){let s=t.renderers[n.name];s?t.renderers[n.name]=function(...a){let i=n.renderer.apply(this,a);return i===!1&&(i=s.apply(this,a)),i}:t.renderers[n.name]=n.renderer}if("tokenizer"in n){if(!n.level||n.level!=="block"&&n.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");let s=t[n.level];s?s.unshift(n.tokenizer):t[n.level]=[n.tokenizer],n.start&&(n.level==="block"?t.startBlock?t.startBlock.push(n.start):t.startBlock=[n.start]:n.level==="inline"&&(t.startInline?t.startInline.push(n.start):t.startInline=[n.start]))}"childTokens"in n&&n.childTokens&&(t.childTokens[n.name]=n.childTokens)}),r.extensions=t),o.renderer){let n=this.defaults.renderer||new Le(this.defaults);for(let s in o.renderer){if(!(s in n))throw new Error(`renderer '${s}' does not exist`);if(["options","parser"].includes(s))continue;let a=s,i=o.renderer[a],l=n[a];n[a]=(...c)=>{let d=i.apply(n,c);return d===!1&&(d=l.apply(n,c)),d||""}}r.renderer=n}if(o.tokenizer){let n=this.defaults.tokenizer||new Be(this.defaults);for(let s in o.tokenizer){if(!(s in n))throw new Error(`tokenizer '${s}' does not exist`);if(["options","rules","lexer"].includes(s))continue;let a=s,i=o.tokenizer[a],l=n[a];n[a]=(...c)=>{let d=i.apply(n,c);return d===!1&&(d=l.apply(n,c)),d}}r.tokenizer=n}if(o.hooks){let n=this.defaults.hooks||new de;for(let s in o.hooks){if(!(s in n))throw new Error(`hook '${s}' does not exist`);if(["options","block"].includes(s))continue;let a=s,i=o.hooks[a],l=n[a];de.passThroughHooks.has(s)?n[a]=c=>{if(this.defaults.async&&de.passThroughHooksRespectAsync.has(s))return(async()=>{let u=await i.call(n,c);return l.call(n,u)})();let d=i.call(n,c);return l.call(n,d)}:n[a]=(...c)=>{if(this.defaults.async)return(async()=>{let u=await i.apply(n,c);return u===!1&&(u=await l.apply(n,c)),u})();let d=i.apply(n,c);return d===!1&&(d=l.apply(n,c)),d}}r.hooks=n}if(o.walkTokens){let n=this.defaults.walkTokens,s=o.walkTokens;r.walkTokens=function(a){let i=[];return i.push(s.call(this,a)),n&&(i=i.concat(n.call(this,a))),i}}this.defaults={...this.defaults,...r}}),this}setOptions(e){return this.defaults={...this.defaults,...e},this}lexer(e,t){return B.lex(e,t??this.defaults)}parser(e,t){return L.parse(e,t??this.defaults)}parseMarkdown(e){return(t,o)=>{let r={...o},n={...this.defaults,...r},s=this.onError(!!n.silent,!!n.async);if(this.defaults.async===!0&&r.async===!1)return s(new Error("marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise."));if(typeof t>"u"||t===null)return s(new Error("marked(): input parameter is undefined or null"));if(typeof t!="string")return s(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(t)+", string expected"));if(n.hooks&&(n.hooks.options=n,n.hooks.block=e),n.async)return(async()=>{let a=n.hooks?await n.hooks.preprocess(t):t,i=await(n.hooks?await n.hooks.provideLexer():e?B.lex:B.lexInline)(a,n),l=n.hooks?await n.hooks.processAllTokens(i):i;n.walkTokens&&await Promise.all(this.walkTokens(l,n.walkTokens));let c=await(n.hooks?await n.hooks.provideParser():e?L.parse:L.parseInline)(l,n);return n.hooks?await n.hooks.postprocess(c):c})().catch(s);try{n.hooks&&(t=n.hooks.preprocess(t));let a=(n.hooks?n.hooks.provideLexer():e?B.lex:B.lexInline)(t,n);n.hooks&&(a=n.hooks.processAllTokens(a)),n.walkTokens&&this.walkTokens(a,n.walkTokens);let i=(n.hooks?n.hooks.provideParser():e?L.parse:L.parseInline)(a,n);return n.hooks&&(i=n.hooks.postprocess(i)),i}catch(a){return s(a)}}}onError(e,t){return o=>{if(o.message+=`
863
- Please report this to https://github.com/markedjs/marked.`,e){let r="<p>An error occurred:</p><pre>"+I(o.message+"",!0)+"</pre>";return t?Promise.resolve(r):r}if(t)return Promise.reject(o);throw o}}},U=new Oa;function k(e,t){return U.parse(e,t)}f(k,"g");v(k,"k");k.options=k.setOptions=function(e){return U.setOptions(e),k.defaults=U.defaults,pt(k.defaults),k};k.getDefaults=Ne;k.defaults=J;k.use=function(...e){return U.use(...e),k.defaults=U.defaults,pt(k.defaults),k};k.walkTokens=function(e,t){return U.walkTokens(e,t)};k.parseInline=U.parseInline;k.Parser=L;k.parser=L.parse;k.Renderer=Le;k.TextRenderer=vt;k.Lexer=B;k.lexer=B.lex;k.Tokenizer=Be;k.Hooks=de;k.parse=k;var qt=k,Pa=Object.defineProperty,Na=f((e,t)=>Pa(e,"name",{value:t,configurable:!0}),"l$2");const qa=Na(async(e,t=[])=>{let o;t.push(Vt,Zt);const r=Ut(e,{frameLimit:1})[0];for await(const n of t.toSorted((s,a)=>a.priority-s.priority)){if(o)break;const{handle:s,name:a}=n;if(process.env.DEBUG&&console.debug(`Running solution finder: ${a}`),typeof s=="function")try{o=await s(e,{file:r?.file??"",language:fe(r?.file??""),line:r?.line??0,snippet:r?.file?await we(r.file):""})}catch{continue}}return o?{html:`<div id="ono-solution-wrapper" class="relative w-full transition-all duration-300 ease-in-out overflow-visible">
861
+ `}strong({tokens:t}){return`<strong>${this.parser.parseInline(t)}</strong>`}em({tokens:t}){return`<em>${this.parser.parseInline(t)}</em>`}codespan({text:t}){return`<code>${I(t,!0)}</code>`}br(t){return"<br>"}del({tokens:t}){return`<del>${this.parser.parseInline(t)}</del>`}link({href:t,title:o,tokens:r}){let n=this.parser.parseInline(r),s=et(t);if(s===null)return n;t=s;let a='<a href="'+t+'"';return o&&(a+=' title="'+I(o)+'"'),a+=">"+n+"</a>",a}image({href:t,title:o,text:r,tokens:n}){n&&(r=this.parser.parseInline(n,this.parser.textRenderer));let s=et(t);if(s===null)return I(r);t=s;let a=`<img src="${t}" alt="${r}"`;return o&&(a+=` title="${I(o)}"`),a+=">",a}text(t){return"tokens"in t&&t.tokens?this.parser.parseInline(t.tokens):"escaped"in t&&t.escaped?t.text:I(t.text)}},vt=class{static{f(this,"D")}static{v(this,"$")}strong({text:e}){return e}em({text:e}){return e}codespan({text:e}){return e}del({text:e}){return e}html({text:e}){return e}text({text:e}){return e}link({text:e}){return""+e}image({text:e}){return""+e}br(){return""}},L=class nt{static{f(this,"N")}static{v(this,"u")}options;renderer;textRenderer;constructor(t){this.options=t||J,this.options.renderer=this.options.renderer||new Le,this.renderer=this.options.renderer,this.renderer.options=this.options,this.renderer.parser=this,this.textRenderer=new vt}static parse(t,o){return new nt(o).parse(t)}static parseInline(t,o){return new nt(o).parseInline(t)}parse(t,o=!0){let r="";for(let n=0;n<t.length;n++){let s=t[n];if(this.options.extensions?.renderers?.[s.type]){let i=s,l=this.options.extensions.renderers[i.type].call({parser:this},i);if(l!==!1||!["space","hr","heading","code","table","blockquote","list","html","def","paragraph","text"].includes(i.type)){r+=l||"";continue}}let a=s;switch(a.type){case"space":{r+=this.renderer.space(a);continue}case"hr":{r+=this.renderer.hr(a);continue}case"heading":{r+=this.renderer.heading(a);continue}case"code":{r+=this.renderer.code(a);continue}case"table":{r+=this.renderer.table(a);continue}case"blockquote":{r+=this.renderer.blockquote(a);continue}case"list":{r+=this.renderer.list(a);continue}case"html":{r+=this.renderer.html(a);continue}case"def":{r+=this.renderer.def(a);continue}case"paragraph":{r+=this.renderer.paragraph(a);continue}case"text":{let i=a,l=this.renderer.text(i);for(;n+1<t.length&&t[n+1].type==="text";)i=t[++n],l+=`
862
+ `+this.renderer.text(i);o?r+=this.renderer.paragraph({type:"paragraph",raw:l,text:l,tokens:[{type:"text",raw:l,text:l,escaped:!0}]}):r+=l;continue}default:{let i='Token with "'+a.type+'" type was not found.';if(this.options.silent)return console.error(i),"";throw new Error(i)}}}return r}parseInline(t,o=this.renderer){let r="";for(let n=0;n<t.length;n++){let s=t[n];if(this.options.extensions?.renderers?.[s.type]){let i=this.options.extensions.renderers[s.type].call({parser:this},s);if(i!==!1||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(s.type)){r+=i||"";continue}}let a=s;switch(a.type){case"escape":{r+=o.text(a);break}case"html":{r+=o.html(a);break}case"link":{r+=o.link(a);break}case"image":{r+=o.image(a);break}case"strong":{r+=o.strong(a);break}case"em":{r+=o.em(a);break}case"codespan":{r+=o.codespan(a);break}case"br":{r+=o.br(a);break}case"del":{r+=o.del(a);break}case"text":{r+=o.text(a);break}default:{let i='Token with "'+a.type+'" type was not found.';if(this.options.silent)return console.error(i),"";throw new Error(i)}}}return r}},de=class{static{f(this,"T")}static{v(this,"S")}options;block;constructor(t){this.options=t||J}static passThroughHooks=new Set(["preprocess","postprocess","processAllTokens","emStrongMask"]);static passThroughHooksRespectAsync=new Set(["preprocess","postprocess","processAllTokens"]);preprocess(t){return t}postprocess(t){return t}processAllTokens(t){return t}emStrongMask(t){return t}provideLexer(){return this.block?B.lex:B.lexInline}provideParser(){return this.block?L.parse:L.parseInline}},Oa=class{static{f(this,"be")}static{v(this,"B")}defaults=Pe();options=this.setOptions;parse=this.parseMarkdown(!0);parseInline=this.parseMarkdown(!1);Parser=L;Renderer=Le;TextRenderer=vt;Lexer=B;Tokenizer=Be;Hooks=de;constructor(...e){this.use(...e)}walkTokens(e,t){let o=[];for(let r of e)switch(o=o.concat(t.call(this,r)),r.type){case"table":{let n=r;for(let s of n.header)o=o.concat(this.walkTokens(s.tokens,t));for(let s of n.rows)for(let a of s)o=o.concat(this.walkTokens(a.tokens,t));break}case"list":{let n=r;o=o.concat(this.walkTokens(n.items,t));break}default:{let n=r;this.defaults.extensions?.childTokens?.[n.type]?this.defaults.extensions.childTokens[n.type].forEach(s=>{let a=n[s].flat(1/0);o=o.concat(this.walkTokens(a,t))}):n.tokens&&(o=o.concat(this.walkTokens(n.tokens,t)))}}return o}use(...e){let t=this.defaults.extensions||{renderers:{},childTokens:{}};return e.forEach(o=>{let r={...o};if(r.async=this.defaults.async||r.async||!1,o.extensions&&(o.extensions.forEach(n=>{if(!n.name)throw new Error("extension name required");if("renderer"in n){let s=t.renderers[n.name];s?t.renderers[n.name]=function(...a){let i=n.renderer.apply(this,a);return i===!1&&(i=s.apply(this,a)),i}:t.renderers[n.name]=n.renderer}if("tokenizer"in n){if(!n.level||n.level!=="block"&&n.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");let s=t[n.level];s?s.unshift(n.tokenizer):t[n.level]=[n.tokenizer],n.start&&(n.level==="block"?t.startBlock?t.startBlock.push(n.start):t.startBlock=[n.start]:n.level==="inline"&&(t.startInline?t.startInline.push(n.start):t.startInline=[n.start]))}"childTokens"in n&&n.childTokens&&(t.childTokens[n.name]=n.childTokens)}),r.extensions=t),o.renderer){let n=this.defaults.renderer||new Le(this.defaults);for(let s in o.renderer){if(!(s in n))throw new Error(`renderer '${s}' does not exist`);if(["options","parser"].includes(s))continue;let a=s,i=o.renderer[a],l=n[a];n[a]=(...c)=>{let d=i.apply(n,c);return d===!1&&(d=l.apply(n,c)),d||""}}r.renderer=n}if(o.tokenizer){let n=this.defaults.tokenizer||new Be(this.defaults);for(let s in o.tokenizer){if(!(s in n))throw new Error(`tokenizer '${s}' does not exist`);if(["options","rules","lexer"].includes(s))continue;let a=s,i=o.tokenizer[a],l=n[a];n[a]=(...c)=>{let d=i.apply(n,c);return d===!1&&(d=l.apply(n,c)),d}}r.tokenizer=n}if(o.hooks){let n=this.defaults.hooks||new de;for(let s in o.hooks){if(!(s in n))throw new Error(`hook '${s}' does not exist`);if(["options","block"].includes(s))continue;let a=s,i=o.hooks[a],l=n[a];de.passThroughHooks.has(s)?n[a]=c=>{if(this.defaults.async&&de.passThroughHooksRespectAsync.has(s))return(async()=>{let u=await i.call(n,c);return l.call(n,u)})();let d=i.call(n,c);return l.call(n,d)}:n[a]=(...c)=>{if(this.defaults.async)return(async()=>{let u=await i.apply(n,c);return u===!1&&(u=await l.apply(n,c)),u})();let d=i.apply(n,c);return d===!1&&(d=l.apply(n,c)),d}}r.hooks=n}if(o.walkTokens){let n=this.defaults.walkTokens,s=o.walkTokens;r.walkTokens=function(a){let i=[];return i.push(s.call(this,a)),n&&(i=i.concat(n.call(this,a))),i}}this.defaults={...this.defaults,...r}}),this}setOptions(e){return this.defaults={...this.defaults,...e},this}lexer(e,t){return B.lex(e,t??this.defaults)}parser(e,t){return L.parse(e,t??this.defaults)}parseMarkdown(e){return(t,o)=>{let r={...o},n={...this.defaults,...r},s=this.onError(!!n.silent,!!n.async);if(this.defaults.async===!0&&r.async===!1)return s(new Error("marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise."));if(typeof t>"u"||t===null)return s(new Error("marked(): input parameter is undefined or null"));if(typeof t!="string")return s(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(t)+", string expected"));if(n.hooks&&(n.hooks.options=n,n.hooks.block=e),n.async)return(async()=>{let a=n.hooks?await n.hooks.preprocess(t):t,i=await(n.hooks?await n.hooks.provideLexer():e?B.lex:B.lexInline)(a,n),l=n.hooks?await n.hooks.processAllTokens(i):i;n.walkTokens&&await Promise.all(this.walkTokens(l,n.walkTokens));let c=await(n.hooks?await n.hooks.provideParser():e?L.parse:L.parseInline)(l,n);return n.hooks?await n.hooks.postprocess(c):c})().catch(s);try{n.hooks&&(t=n.hooks.preprocess(t));let a=(n.hooks?n.hooks.provideLexer():e?B.lex:B.lexInline)(t,n);n.hooks&&(a=n.hooks.processAllTokens(a)),n.walkTokens&&this.walkTokens(a,n.walkTokens);let i=(n.hooks?n.hooks.provideParser():e?L.parse:L.parseInline)(a,n);return n.hooks&&(i=n.hooks.postprocess(i)),i}catch(a){return s(a)}}}onError(e,t){return o=>{if(o.message+=`
863
+ Please report this to https://github.com/markedjs/marked.`,e){let r="<p>An error occurred:</p><pre>"+I(o.message+"",!0)+"</pre>";return t?Promise.resolve(r):r}if(t)return Promise.reject(o);throw o}}},W=new Oa;function k(e,t){return W.parse(e,t)}f(k,"g");v(k,"k");k.options=k.setOptions=function(e){return W.setOptions(e),k.defaults=W.defaults,pt(k.defaults),k};k.getDefaults=Pe;k.defaults=J;k.use=function(...e){return W.use(...e),k.defaults=W.defaults,pt(k.defaults),k};k.walkTokens=function(e,t){return W.walkTokens(e,t)};k.parseInline=W.parseInline;k.Parser=L;k.parser=L.parse;k.Renderer=Le;k.TextRenderer=vt;k.Lexer=B;k.lexer=B.lex;k.Tokenizer=Be;k.Hooks=de;k.parse=k;var qt=k,Pa=Object.defineProperty,Na=f((e,t)=>Pa(e,"name",{value:t,configurable:!0}),"l$2");const qa=Na(async(e,t=[])=>{let o;t.push(Vt,Gt);const r=Ut(e,{frameLimit:1})[0];for await(const n of t.toSorted((s,a)=>a.priority-s.priority)){if(o)break;const{handle:s,name:a}=n;if(process.env.DEBUG&&console.debug(`Running solution finder: ${a}`),typeof s=="function")try{o=await s(e,{file:r?.file??"",language:fe(r?.file??""),line:r?.line??0,snippet:r?.file?await we(r.file):""})}catch{continue}}return o?{html:`<div id="ono-solution-wrapper" class="relative w-full transition-all duration-300 ease-in-out overflow-visible">
864
864
  <button id="ono-solution-button" type="button" aria-label="Toggle solutions" aria-controls="ono-solution-content" aria-expanded="true" title="Toggle solution details" class="bg-[var(--ono-success-bg)] text-[var(--ono-text)] rounded-[var(--ono-radius-md)] p-2 absolute top-2 right-2 z-10 h-9 w-8 cursor-pointer shadow-[var(--ono-elevation-1)]">
865
865
  <span id="ono-solution-icon" class="dui" style="-webkit-mask-image: url('${Ge}'); mask-image: url('${Ge}')"></span>
866
866
  </button>
867
867
  <div id="ono-solution-content" role="region" aria-label="Suggested solutions" tabindex="-1" class="bg-[var(--ono-success-bg)] rounded-r-[var(--ono-radius-lg)] shadow-[var(--ono-elevation-1)] w-full h-full overflow-hidden transition-[max-height,opacity] duration-150 ease-in-out opacity-100">
868
868
  <div class="p-6 prose prose-sm prose-headings:text-white prose-ul:list-none prose-hr:my-6 prose-hr:border-[var(--ono-success-border)] max-w-full relative text-[var(--ono-on-accent)]" aria-live="polite">
869
- ${await(async()=>{if(!o.header)return"<h2 class='text-[var(--ono-on-accent)]'>A possible solution to this error</h2>";const n=await qt(o.header);return Ke.sanitize(String(n))})()}
870
- ${await(async()=>{const n=await qt(o.body);return Ke.sanitize(String(n))})()}
869
+ ${await(async()=>{if(!o.header)return"<h2 class='text-[var(--ono-on-accent)]'>A possible solution to this error</h2>";const n=await qt(o.header);return Ze.sanitize(String(n))})()}
870
+ ${await(async()=>{const n=await qt(o.body);return Ze.sanitize(String(n))})()}
871
871
  </div>
872
872
  </div>
873
873
  </div>`,script:`(window.subscribeToDOMContentLoaded || function (fn) {
@@ -973,7 +973,7 @@ Please report this to https://github.com/markedjs/marked.`,e){let r="<p>An error
973
973
  // Add event listeners
974
974
  button.addEventListener('click', handleClick);
975
975
  button.addEventListener('keydown', handleKeydown);
976
- });`}:{html:"",script:""}},"solutions");var Wa=Object.defineProperty,Ha=f((e,t)=>Wa(e,"name",{value:t,configurable:!0}),"n");const Ua=Ha(async e=>{const t=S(e.name),o=S(e.message),r=E(`${e.name}: ${e.message}`),n=st(e,{frameLimit:1})?.[0],s=n?.file??"",a=n?.line??0,i=s?await we(s):"",l=i?it(i,{start:{column:n?.column,line:a}},{linesAbove:9,linesBelow:10,showGutter:!0}):"",c=Gt({applicationType:void 0,error:e,file:{file:s,language:fe(s),line:a,snippet:l}}),d=co(),u=go({label:"Copy error title",secondaryLabel:"Copy fix prompt",secondaryText:c,targetId:"clipboard-sticky-error-title"});return{html:`<div id="error-card-sticky-header" class="fixed invisible container px-6 py-4 -top-40 z-10 rounded-[var(--ono-radius-lg)] transition-all duration-300 shadow-[var(--ono-elevation-1)] bg-[var(--ono-surface)]">
976
+ });`}:{html:"",script:""}},"solutions");var Wa=Object.defineProperty,Ha=f((e,t)=>Wa(e,"name",{value:t,configurable:!0}),"n");const Ua=Ha(async e=>{const t=S(e.name),o=S(e.message),r=E(`${e.name}: ${e.message}`),n=at(e,{frameLimit:1})?.[0],s=n?.file??"",a=n?.line??0,i=s?await we(s):"",l=i?st(i,{start:{column:n?.column,line:a}},{linesAbove:9,linesBelow:10,showGutter:!0}):"",c=Zt({applicationType:void 0,error:e,file:{file:s,language:fe(s),line:a,snippet:l}}),d=co(),u=go({label:"Copy error title",secondaryLabel:"Copy fix prompt",secondaryText:c,targetId:"clipboard-sticky-error-title"});return{html:`<div id="error-card-sticky-header" class="fixed invisible container px-6 py-4 -top-40 z-10 rounded-[var(--ono-radius-lg)] transition-all duration-300 shadow-[var(--ono-elevation-1)] bg-[var(--ono-surface)]">
977
977
  <input type="hidden" id="clipboard-sticky-error-title" value="${r}">
978
978
  <div class="flex items-center gap-2">
979
979
  <h1 class="text-sm font-semibold py-1 px-2 text-[var(--ono-chip-text)] bg-[var(--ono-chip-bg)] rounded-[var(--ono-radius-md)] shadow-[var(--ono-elevation-1)]" aria-label="Error name">${t}</h1>
@@ -1021,7 +1021,7 @@ Please report this to https://github.com/markedjs/marked.`,e){let r="<p>An error
1021
1021
  }
1022
1022
  } catch (_) {}
1023
1023
  });
1024
- })();`}},"stickyHeader");var Va=Object.defineProperty,Za=f((e,t)=>Va(e,"name",{value:t,configurable:!0}),"l$1");const Ga=Za(async({error:e,runtimeName:t,solutionFinders:o,version:r})=>{let n=`${t?.toUpperCase()} ${r??""}`;n.includes("NODE")&&(n=`<a href="https://nodejs.org/dist/latest-${r?.split(".")[0]}.x/docs/api/" class="text-blue-500 hover:underline inline-flex items-center text-sm" target="_blank" rel="noopener noreferrer">${n.replace("NODE","Node.js")}<span class="dui ml-1" style="-webkit-mask-image: url('${Mt}'); mask-image: url('${Mt}')" title="Open Node.js documentation"></span></a>`);const{html:s,script:a}=await qa(e,o),{html:i,script:l}=await Ua(e),c=S(e.name),d=S(e.message),u=E(`${e.name}: ${e.message}`),p=st(e,{frameLimit:1})?.[0],h=p?.file??"",m=p?.line??0,g=h?await we(h):"",w=g?it(g,{start:{column:p?.column,line:m}},{linesAbove:9,linesBelow:10,showGutter:!0}):"",y=Gt({applicationType:void 0,error:e,file:{file:h,language:fe(h),line:m,snippet:w}}),z=go({label:"Copy error title",secondaryLabel:"Copy fix prompt",secondaryText:y,targetId:"clipboard-error-title"});return{html:`<section id="error-card" class="container rounded-[var(--ono-radius-lg)] shadow-[var(--ono-elevation-2)] bg-[var(--ono-surface)]">
1024
+ })();`}},"stickyHeader");var Va=Object.defineProperty,Ga=f((e,t)=>Va(e,"name",{value:t,configurable:!0}),"l$1");const Za=Ga(async({error:e,runtimeName:t,solutionFinders:o,version:r})=>{let n=`${t?.toUpperCase()} ${r??""}`;n.includes("NODE")&&(n=`<a href="https://nodejs.org/dist/latest-${r?.split(".")[0]}.x/docs/api/" class="text-blue-500 hover:underline inline-flex items-center text-sm" target="_blank" rel="noopener noreferrer">${n.replace("NODE","Node.js")}<span class="dui ml-1" style="-webkit-mask-image: url('${Mt}'); mask-image: url('${Mt}')" title="Open Node.js documentation"></span></a>`);const{html:s,script:a}=await qa(e,o),{html:i,script:l}=await Ua(e),c=S(e.name),d=S(e.message),u=E(`${e.name}: ${e.message}`),p=at(e,{frameLimit:1})?.[0],h=p?.file??"",m=p?.line??0,g=h?await we(h):"",w=g?st(g,{start:{column:p?.column,line:m}},{linesAbove:9,linesBelow:10,showGutter:!0}):"",y=Zt({applicationType:void 0,error:e,file:{file:h,language:fe(h),line:m,snippet:w}}),z=go({label:"Copy error title",secondaryLabel:"Copy fix prompt",secondaryText:y,targetId:"clipboard-error-title"});return{html:`<section id="error-card" class="container rounded-[var(--ono-radius-lg)] shadow-[var(--ono-elevation-2)] bg-[var(--ono-surface)]">
1025
1025
  <input type="hidden" id="clipboard-error-title" value="${u}">
1026
1026
  <div class="flex flex-row">
1027
1027
  <div class="flex flex-col gap-3 grow min-w-6/12 w-full p-6 pt-5">
@@ -1048,8 +1048,8 @@ ${i}`,scripts:[a,l]}},"errorCard");var Ka=Object.defineProperty,Qa=f((e,t)=>Ka(e
1048
1048
  <div class="container rounded-[var(--ono-radius-lg)] shadow-[var(--ono-elevation-1)] my-6 bg-[var(--ono-surface)]">
1049
1049
  <main id="raw-stack-trace" class="p-6 prose prose-sm max-w-full text-[var(--ono-text)]">${o}</main>
1050
1050
  </div>
1051
- </section>`},"rawStackTrace");var Xa=Object.defineProperty,ve=f((e,t)=>Xa(e,"name",{value:t,configurable:!0}),"s");const Ya=ve(e=>{if(typeof e!="object"||e===null)return!1;const t=e;return typeof t.name=="string"&&typeof t.message=="string"&&(t.stack===void 0||typeof t.stack=="string")},"isErrorLike"),es=ve(e=>{if(e.length===0)throw new TypeError("No errors found in the error stack");const t=e[0];if(t instanceof Error)return t;if(Ya(t)){const o=new Error(t.message);return o.name=t.name,typeof t.stack=="string"&&(o.stack=t.stack),o}throw new TypeError("Main cause is not a valid Error object")},"extractMainError"),ts=ve((e,t,o,r)=>['<div class="flex flex-col gap-6">',e,t,o,r,"</div>"].join(""),"buildHtmlContent"),os=ve((e,t,o)=>[e,t,...o].filter(Boolean).join(`
1052
- `),"buildScriptContent"),rs=ve(async(e,t=[],o={})=>{if(!e)throw new TypeError("Error parameter is required");if(!Array.isArray(t))throw new TypeError("solutionFinders must be an array");const r=Bo(e),n=es(r),s=r.length>1?r.slice(1):[],[a,i,l]=await Promise.all([Ga({error:n,runtimeName:Pn,solutionFinders:t,version:Po()}),uo(n,{openInEditorUrl:o.openInEditorUrl}),oa(s,o)]),{html:c,scripts:d}=a,{html:u,script:p}=i,{html:h,script:m}=l,g=ts(c,u,h,Ja(n.stack)),w=os(p,m,d);return{code:{html:g,script:w},defaultSelected:!0,id:"stack",name:"Stack"}},"stack");var ns=Object.defineProperty,as=f((e,t)=>ns(e,"name",{value:t,configurable:!0}),"f");const ss=`
1051
+ </section>`},"rawStackTrace");var Ya=Object.defineProperty,ve=f((e,t)=>Ya(e,"name",{value:t,configurable:!0}),"s");const Xa=ve(e=>{if(typeof e!="object"||e===null)return!1;const t=e;return typeof t.name=="string"&&typeof t.message=="string"&&(t.stack===void 0||typeof t.stack=="string")},"isErrorLike"),es=ve(e=>{if(e.length===0)throw new TypeError("No errors found in the error stack");const t=e[0];if(t instanceof Error)return t;if(Xa(t)){const o=new Error(t.message);return o.name=t.name,typeof t.stack=="string"&&(o.stack=t.stack),o}throw new TypeError("Main cause is not a valid Error object")},"extractMainError"),ts=ve((e,t,o,r)=>['<div class="flex flex-col gap-6">',e,t,o,r,"</div>"].join(""),"buildHtmlContent"),os=ve((e,t,o)=>[e,t,...o].filter(Boolean).join(`
1052
+ `),"buildScriptContent"),rs=ve(async(e,t=[],o={})=>{if(!e)throw new TypeError("Error parameter is required");if(!Array.isArray(t))throw new TypeError("solutionFinders must be an array");const r=Bo(e),n=es(r),s=r.length>1?r.slice(1):[],[a,i,l]=await Promise.all([Za({error:n,runtimeName:Pn,solutionFinders:t,version:Po()}),uo(n,{openInEditorUrl:o.openInEditorUrl}),oa(s,o)]),{html:c,scripts:d}=a,{html:u,script:p}=i,{html:h,script:m}=l,g=ts(c,u,h,Ja(n.stack)),w=os(p,m,d);return{code:{html:g,script:w},defaultSelected:!0,id:"stack",name:"Stack"}},"stack");var ns=Object.defineProperty,as=f((e,t)=>ns(e,"name",{value:t,configurable:!0}),"f");const ss=`
1053
1053
  // DOM utility functions
1054
1054
  function ready(fn) {
1055
1055
  if (document.readyState !== 'loading') fn();
@@ -1,3 +1,3 @@
1
- var er=Object.defineProperty;var v=(t,n)=>er(t,"name",{value:n,configurable:!0});import{createRequire as tr}from"node:module";import{a as Ne}from"../packem_shared/process-B37didfB.js";const rr=tr(import.meta.url),ie=typeof globalThis<"u"&&typeof globalThis.process<"u"?globalThis.process:process,re=v(t=>{if(typeof ie<"u"&&ie.versions&&ie.versions.node){const[n,s]=ie.versions.node.split(".").map(Number);if(n>22||n===22&&s>=3||n===20&&s>=16)return ie.getBuiltinModule(t)}return rr(t)},"__cjs_getBuiltinModule"),{realpathSync:qe}=re("node:fs"),pe=re("path"),nr=re("fs"),or=re("os"),Xe=re("child_process"),ir=re("url");var ar=Object.defineProperty,Se=v((t,n)=>ar(t,"name",{value:n,configurable:!0}),"I"),sr=Object.defineProperty,h=Se((t,n)=>sr(t,"name",{value:n,configurable:!0}),"__name$2");let Le=h(()=>{var t=(()=>{var n=Object.defineProperty,s=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,c=Object.prototype.hasOwnProperty,p=h((e,r)=>{for(var a in r)n(e,a,{get:r[a],enumerable:!0})},"J"),m=h((e,r,a,u)=>{if(r&&typeof r=="object"||typeof r=="function")for(let l of i(r))!c.call(e,l)&&l!==a&&n(e,l,{get:h(()=>r[l],"get"),enumerable:!(u=s(r,l))||u.enumerable});return e},"T"),b=h(e=>m(n({},"__esModule",{value:!0}),e),"W"),B={};p(B,{zeptomatch:h(()=>Ht,"zeptomatch")});var f=h(e=>Array.isArray(e),"k"),o=h(e=>typeof e=="function","x"),g=h(e=>e.length===0,"K"),w=(()=>{const{toString:e}=Function.prototype,r=/(?:^\(\s*(?:[^,.()]|\.(?!\.\.))*\s*\)\s*=>|^\s*[a-zA-Z$_][a-zA-Z0-9$_]*\s*=>)/;return a=>(a.length===0||a.length===1)&&r.test(e.call(a))})(),C=h(e=>typeof e=="number","Y"),R=h(e=>typeof e=="object"&&e!==null,"rr"),P=h(e=>e instanceof RegExp,"er"),I=(()=>{const e=/\\\(|\((?!\?(?::|=|!|<=|<!))/;return r=>e.test(r.source)})(),M=(()=>{const e=/^[a-zA-Z0-9_-]+$/;return r=>e.test(r.source)&&!r.flags.includes("i")})(),_=h(e=>typeof e=="string","M"),x=h(e=>e===void 0,"f"),N=h(e=>{const r=new Map;return a=>{const u=r.get(a);if(u!==void 0)return u;const l=e(a);return r.set(a,l),l}},"ar"),E=h((e,r,a={})=>{const u={cache:{},input:e,index:0,indexBacktrackMax:0,options:a,output:[]},l=L(r)(u),S=Math.max(u.index,u.indexBacktrackMax);if(l&&u.index===e.length)return u.output;throw new Error(`Failed to parse at index ${S}`)},"or"),d=h((e,r)=>f(e)?z(e,r):_(e)?O(e,r):T(e,r),"o"),z=h((e,r)=>{const a={};for(const u of e){if(u.length!==1)throw new Error(`Invalid character: "${u}"`);const l=u.charCodeAt(0);a[l]=!0}return u=>{const l=u.input;let S=u.index,A=S;for(;A<l.length&&l.charCodeAt(A)in a;)A+=1;if(A>S){if(!x(r)&&!u.options.silent){const j=l.slice(S,A),G=o(r)?r(j,l,`${S}`):r;x(G)||u.output.push(G)}u.index=A}return!0}},"ir"),T=h((e,r)=>{if(M(e))return O(e.source,r);{const a=e.source,u=e.flags.replace(/y|$/,"y"),l=new RegExp(a,u);return I(e)&&o(r)&&!w(r)?D(l,r):W(l,r)}},"ur"),D=h((e,r)=>a=>{const u=a.index,l=a.input;e.lastIndex=u;const S=e.exec(l);if(S){const A=e.lastIndex;if(!a.options.silent){const j=r(...S,l,`${u}`);x(j)||a.output.push(j)}return a.index=A,!0}else return!1},"sr"),W=h((e,r)=>a=>{const u=a.index,l=a.input;if(e.lastIndex=u,e.test(l)){const S=e.lastIndex;if(!x(r)&&!a.options.silent){const A=o(r)?r(l.slice(u,S),l,`${u}`):r;x(A)||a.output.push(A)}return a.index=S,!0}else return!1},"cr"),O=h((e,r)=>a=>{const u=a.index,l=a.input;if(l.startsWith(e,u)){if(!x(r)&&!a.options.silent){const S=o(r)?r(e,l,`${u}`):r;x(S)||a.output.push(S)}return a.index+=e.length,!0}else return!1},"R"),V=h((e,r,a,u)=>{const l=L(e),S=r>1;return X($(K(A=>{let j=0;for(;j<a;){const G=A.index;if(!l(A)||(j+=1,A.index===G))break}return j>=r},S),u))},"O"),ne=h((e,r)=>V(e,0,1,r),"lr"),q=h((e,r)=>V(e,0,1/0,r),"m"),H=h((e,r)=>{const a=e.map(L);return X($(K(u=>{for(let l=0,S=a.length;l<S;l++)if(!a[l](u))return!1;return!0}),r))},"_"),y=h((e,r)=>{const a=e.map(L);return X($(u=>{for(let l=0,S=a.length;l<S;l++)if(a[l](u))return!0;return!1},r))},"p"),K=h((e,r=!0,a=!1)=>{const u=L(e);return r?l=>{const S=l.index,A=l.output.length,j=u(l);return!j&&!a&&(l.indexBacktrackMax=Math.max(l.indexBacktrackMax,l.index)),(!j||a)&&(l.index=S,l.output.length!==A&&(l.output.length=A)),j}:u},"P"),$=h((e,r)=>{const a=L(e);return r?u=>{if(u.options.silent)return a(u);const l=u.output.length;if(a(u)){const S=u.output.splice(l,1/0),A=r(S);return x(A)||u.output.push(A),!0}else return!1}:a},"C"),X=(()=>{let e=0;return r=>{const a=L(r),u=e+=1;return l=>{var S;if(l.options.memoization===!1)return a(l);const A=l.index,j=(S=l.cache)[u]||(S[u]={indexMax:-1,queue:[]}),G=j.queue;if(A<=j.indexMax){const oe=j.store||(j.store=new Map);if(G.length){for(let te=0,Yt=G.length;te<Yt;te+=2){const Kt=G[te*2],Xt=G[te*2+1];oe.set(Kt,Xt)}G.length=0}const Q=oe.get(A);if(Q===!1)return!1;if(C(Q))return l.index=Q,!0;if(Q)return l.index=Q.index,Q.output?.length&&l.output.push(...Q.output),!0}const Te=l.output.length,Jt=a(l);if(j.indexMax=Math.max(j.indexMax,A),Jt){const oe=l.index,Q=l.output.length;if(Q>Te){const te=l.output.slice(Te,Q);G.push(A,{index:oe,output:te})}else G.push(A,oe);return!0}else return G.push(A,!1),!1}}})(),F=h(e=>{let r;return a=>(r||(r=L(e())),r(a))},"A"),L=N(e=>{if(o(e))return g(e)?F(e):e;if(_(e)||P(e))return d(e);if(f(e))return H(e);if(R(e))return y(Object.values(e));throw new Error("Invalid rule")}),U=h(e=>e,"v"),ee=h(e=>r=>E(r,e,{memoization:!1}).join(""),"z"),nt=h(e=>{const r={};return a=>r[a]??(r[a]=e(a))},"pr"),Ae="abcdefghijklmnopqrstuvwxyz",ot=h(e=>{let r="";for(;e>0;){const a=(e-1)%26;r=Ae[a]+r,e=Math.floor((e-1)/26)}return r},"vr"),$e=h(e=>{let r=0;for(let a=0,u=e.length;a<u;a++)r=r*26+Ae.indexOf(e[a])+1;return r},"N"),de=h((e,r)=>{if(r<e)return de(r,e);const a=[];for(;e<=r;)a.push(e++);return a},"$"),it=h((e,r,a)=>de(e,r).map(u=>String(u).padStart(a,"0")),"fr"),we=h((e,r)=>de($e(e),$e(r)).map(ot),"j"),me=d(/\\./,U),at=d(/[$.*+?^(){}[\]\|]/,e=>`\\${e}`),st=d(/./,U),ct=d(/^(?:!!)*!(.*)$/,(e,r)=>`(?!^${Ie(r)}$).*?`),lt=d(/^(!!)+/,""),ut=y([ct,lt]),pt=d(/\/(\*\*\/)+/,"(?:[\\\\/].+[\\\\/]|[\\\\/])"),dt=d(/^(\*\*\/)+/,"(?:^|.*[\\\\/])"),mt=d(/\/(\*\*)$/,"(?:[\\\\/].*|$)"),ft=d(/\*\*/,".*"),Me=y([pt,dt,mt,ft]),ht=d(/\*\/(?!\*\*\/|\*$)/,"[^\\\\/]*[\\\\/]"),xt=d(/\*/,"[^\\\\/]*"),Ee=y([ht,xt]),Pe=d("?","[^\\\\/]"),gt=d("[",U),bt=d("]",U),vt=d(/[!^]/,"^\\\\/"),Bt=d(/[a-z]-[a-z]|[0-9]-[0-9]/i,U),yt=d(/[$.*+?^(){}[\|]/,e=>`\\${e}`),Ot=d(/[^\]]/,U),Ct=y([me,yt,Bt,Ot]),Re=H([gt,ne(vt),q(Ct),bt]),St=d("{","(?:"),At=d("}",")"),$t=d(/(\d+)\.\.(\d+)/,(e,r,a)=>it(+r,+a,Math.min(r.length,a.length)).join("|")),wt=d(/([a-z]+)\.\.([a-z]+)/,(e,r,a)=>we(r,a).join("|")),Mt=d(/([A-Z]+)\.\.([A-Z]+)/,(e,r,a)=>we(r.toLowerCase(),a.toLowerCase()).join("|").toUpperCase()),Et=y([$t,wt,Mt]),_e=H([St,Et,At]),Pt=d("{","(?:"),Rt=d("}",")"),_t=d(",","|"),jt=d(/[$.*+?^(){[\]\|]/,e=>`\\${e}`),It=d(/[^}]/,U),Tt=F(()=>je),qt=y([Me,Ee,Pe,Re,_e,Tt,me,jt,_t,It]),je=H([Pt,q(qt),Rt]),Nt=q(y([ut,Me,Ee,Pe,Re,_e,je,me,at,st])),Lt=Nt,kt=ee(Lt),Ie=kt,zt=d(/\\./,U),Dt=d(/./,U),Wt=d(/\*\*\*+/,"*"),Ut=d(/([^/{[(!])\*\*/,(e,r)=>`${r}*`),Gt=d(/(^|.)\*\*(?=[^*/)\]}])/,(e,r)=>`${r}*`),Ft=q(y([zt,Wt,Ut,Gt,Dt])),Qt=Ft,Vt=ee(Qt),Zt=Vt,ae=h((e,r)=>Array.isArray(e)?e.map(ae.compile).some(a=>a.test(r)):ae.compile(e).test(r),"S");ae.compile=nt(e=>new RegExp(`^${Ie(Zt(e))}[\\\\/]?$`,"s"));var Ht=ae;return b(B)})();return t.default||t},"_lazyMatch"),fe;const cr=h((t,n)=>(fe||(fe=Le(),Le=null),fe(t,n)),"default");var lr=Object.defineProperty,ur=Se((t,n)=>lr(t,"name",{value:n,configurable:!0}),"__name$1");const pr=/^[A-Z]:\//i,Y=ur((t="")=>t&&t.replaceAll("\\","/").replace(pr,n=>n.toUpperCase()),"normalizeWindowsPath");var dr=Object.defineProperty,k=Se((t,n)=>dr(t,"name",{value:n,configurable:!0}),"__name");const mr=/^[/\\]{2}/,fr=/^[/\\](?![/\\])|^[/\\]{2}(?!\.)|^[A-Z]:[/\\]/i,et=/^[A-Z]:$/i,ke=/^\/([A-Z]:)?$/i,hr=/.(\.[^./]+)$/,xr=/^[/\\]|^[a-z]:[/\\]/i,gr=k(()=>typeof process.cwd=="function"?process.cwd().replaceAll("\\","/"):"/","cwd"),ze="/",tt=k((t,n)=>{let s="",i=0,c=-1,p=0,m=null;for(let b=0;b<=t.length;++b){if(b<t.length)m=t[b];else{if(m==="/")break;m="/"}if(m==="/"){if(!(c===b-1||p===1))if(p===2){if(s.length<2||i!==2||!s.endsWith(".")||s.at(-2)!=="."){if(s.length>2){const B=s.lastIndexOf("/");B===-1?(s="",i=0):(s=s.slice(0,B),i=s.length-1-s.lastIndexOf("/")),c=b,p=0;continue}else if(s.length>0){s="",i=0,c=b,p=0;continue}}n&&(s+=s.length>0?"/..":"..",i=2)}else s.length>0?s+=`/${t.slice(c+1,b)}`:s=t.slice(c+1,b),i=b-c-1;c=b,p=0}else m==="."&&p!==-1?++p:p=-1}return s},"normalizeString"),J=k(t=>fr.test(t),"isAbsolute"),le=k(function(t){if(t.length===0)return".";t=Y(t);const n=mr.exec(t),s=J(t),i=t.at(-1)==="/";return t=tt(t,!s),t.length===0?s?"/":i?"./":".":(i&&(t+="/"),et.test(t)&&(t+="/"),n?s?`//${t}`:`//./${t}`:s&&!J(t)?`/${t}`:t)},"normalize");k((...t)=>{let n="";for(const s of t)if(s)if(n.length>0){const i=n[n.length-1]==="/",c=s[0]==="/";i&&c?n+=s.slice(1):n+=i||c?s:`/${s}`}else n+=s;return le(n)},"join");const ue=k(function(...t){t=t.map(i=>Y(i));let n="",s=!1;for(let i=t.length-1;i>=-1&&!s;i--){const c=i>=0?t[i]:gr();!c||c.length===0||(n=`${c}/${n}`,s=J(c))}return n=tt(n,!s),s&&!J(n)?`/${n}`:n.length>0?n:"."},"resolve");k(function(t){return Y(t)},"toNamespacedPath");const br=k(function(t){return hr.exec(Y(t))?.[1]??""},"extname"),vr=k(function(t,n){const s=ue(t).replace(ke,"$1").split("/"),i=ue(n).replace(ke,"$1").split("/");if(i[0][1]===":"&&s[0][1]===":"&&s[0]!==i[0])return i.join("/");const c=[...s];for(const p of c){if(i[0]!==p)break;s.shift(),i.shift()}return[...s.map(()=>".."),...i].join("/")},"relative"),Br=k(t=>{const n=Y(t).replace(/\/$/,"").split("/").slice(0,-1);return n.length===1&&et.test(n[0])&&(n[0]+="/"),n.join("/")||(J(t)?"/":".")},"dirname");k(function(t){const n=[t.root,t.dir,t.base??t.name+t.ext].filter(Boolean);return Y(t.root?ue(...n):n.join("/"))},"format");const yr=k((t,n)=>{const s=Y(t).split("/").pop();return n&&s.endsWith(n)?s.slice(0,-n.length):s},"basename");k(function(t){const n=xr.exec(t)?.[0]?.replace(/\\/g,"/")??"",s=yr(t),i=br(s);return{base:s,dir:Br(t),ext:i,name:s.slice(0,s.length-i.length),root:n}},"parse");k((t,n)=>cr(n,le(t)),"matchesGlob");function Or(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}v(Or,"getDefaultExportFromCjs");var se={exports:{}},De;function Cr(){if(De)return se.exports;De=1;var t=Object.defineProperty,n=v((f,o)=>t(f,"name",{value:o,configurable:!0}),"t");let s=process||{},i=s.argv||[],c=s.env||{},p=!(c.NO_COLOR||i.includes("--no-color"))&&(!!c.FORCE_COLOR||i.includes("--color")||s.platform==="win32"||(s.stdout||{}).isTTY&&c.TERM!=="dumb"||!!c.CI),m=n((f,o,g=f)=>w=>{let C=""+w,R=C.indexOf(o,f.length);return~R?f+b(C,o,g,R)+o:f+C+o},"formatter"),b=n((f,o,g,w)=>{let C="",R=0;do C+=f.substring(R,w)+g,R=w+o.length,w=f.indexOf(o,R);while(~w);return C+f.substring(R)},"replaceClose"),B=n((f=p)=>{let o=f?m:()=>String;return{isColorSupported:f,reset:o("\x1B[0m","\x1B[0m"),bold:o("\x1B[1m","\x1B[22m","\x1B[22m\x1B[1m"),dim:o("\x1B[2m","\x1B[22m","\x1B[22m\x1B[2m"),italic:o("\x1B[3m","\x1B[23m"),underline:o("\x1B[4m","\x1B[24m"),inverse:o("\x1B[7m","\x1B[27m"),hidden:o("\x1B[8m","\x1B[28m"),strikethrough:o("\x1B[9m","\x1B[29m"),black:o("\x1B[30m","\x1B[39m"),red:o("\x1B[31m","\x1B[39m"),green:o("\x1B[32m","\x1B[39m"),yellow:o("\x1B[33m","\x1B[39m"),blue:o("\x1B[34m","\x1B[39m"),magenta:o("\x1B[35m","\x1B[39m"),cyan:o("\x1B[36m","\x1B[39m"),white:o("\x1B[37m","\x1B[39m"),gray:o("\x1B[90m","\x1B[39m"),bgBlack:o("\x1B[40m","\x1B[49m"),bgRed:o("\x1B[41m","\x1B[49m"),bgGreen:o("\x1B[42m","\x1B[49m"),bgYellow:o("\x1B[43m","\x1B[49m"),bgBlue:o("\x1B[44m","\x1B[49m"),bgMagenta:o("\x1B[45m","\x1B[49m"),bgCyan:o("\x1B[46m","\x1B[49m"),bgWhite:o("\x1B[47m","\x1B[49m"),blackBright:o("\x1B[90m","\x1B[39m"),redBright:o("\x1B[91m","\x1B[39m"),greenBright:o("\x1B[92m","\x1B[39m"),yellowBright:o("\x1B[93m","\x1B[39m"),blueBright:o("\x1B[94m","\x1B[39m"),magentaBright:o("\x1B[95m","\x1B[39m"),cyanBright:o("\x1B[96m","\x1B[39m"),whiteBright:o("\x1B[97m","\x1B[39m"),bgBlackBright:o("\x1B[100m","\x1B[49m"),bgRedBright:o("\x1B[101m","\x1B[49m"),bgGreenBright:o("\x1B[102m","\x1B[49m"),bgYellowBright:o("\x1B[103m","\x1B[49m"),bgBlueBright:o("\x1B[104m","\x1B[49m"),bgMagentaBright:o("\x1B[105m","\x1B[49m"),bgCyanBright:o("\x1B[106m","\x1B[49m"),bgWhiteBright:o("\x1B[107m","\x1B[49m")}},"createColors");return se.exports=B(),se.exports.createColors=B,se.exports}v(Cr,"requirePicocolors");var ce={},he,We;function Sr(){if(We)return he;We=1;var t=Object.defineProperty,n=v((s,i)=>t(s,"name",{value:i,configurable:!0}),"n");return he=n(function(s){return s.map(function(i){return i===""?"''":i&&typeof i=="object"?i.op.replace(/(.)/g,"\\$1"):/["\s\\]/.test(i)&&!/'/.test(i)?"'"+i.replace(/(['])/g,"\\$1")+"'":/["'\s]/.test(i)?'"'+i.replace(/(["\\$`!])/g,"\\$1")+'"':String(i).replace(/([A-Za-z]:)?([#!"$&'()*,:;<=>?@[\\\]^`{|}])/g,"$1\\$2")}).join(" ")},"quote"),he}v(Sr,"requireQuote");var xe,Ue;function Ar(){if(Ue)return xe;Ue=1;for(var t=Object.defineProperty,n=v((_,x)=>t(_,"name",{value:x,configurable:!0}),"c"),s="(?:"+["\\|\\|","\\&\\&",";;","\\|\\&","\\<\\(","\\<\\<\\<",">>",">\\&","<\\&","[&;()|<>]"].join("|")+")",i=new RegExp("^"+s+"$"),c="|&;()<> \\t",p='"((\\\\"|[^"])*?)"',m="'((\\\\'|[^'])*?)'",b=/^#$/,B="'",f='"',o="$",g="",w=4294967296,C=0;C<4;C++)g+=(w*Math.random()).toString(16);var R=new RegExp("^"+g);function P(_,x){for(var N=x.lastIndex,E=[],d;d=x.exec(_);)E.push(d),x.lastIndex===d.index&&(x.lastIndex+=1);return x.lastIndex=N,E}v(P,"matchAll"),n(P,"matchAll");function I(_,x,N){var E=typeof _=="function"?_(N):_[N];return typeof E>"u"&&N!=""?E="":typeof E>"u"&&(E="$"),typeof E=="object"?x+g+JSON.stringify(E)+g:x+E}v(I,"getVar"),n(I,"getVar");function M(_,x,N){N||(N={});var E=N.escape||"\\",d="(\\"+E+`['"`+c+`]|[^\\s'"`+c+"])+",z=new RegExp(["("+s+")","("+d+"|"+p+"|"+m+")+"].join("|"),"g"),T=P(_,z);if(T.length===0)return[];x||(x={});var D=!1;return T.map(function(W){var O=W[0];if(!O||D)return;if(i.test(O))return{op:O};var V=!1,ne=!1,q="",H=!1,y;function K(){y+=1;var F,L,U=O.charAt(y);if(U==="{"){if(y+=1,O.charAt(y)==="}")throw new Error("Bad substitution: "+O.slice(y-2,y+1));if(F=O.indexOf("}",y),F<0)throw new Error("Bad substitution: "+O.slice(y));L=O.slice(y,F),y=F}else if(/[*@#?$!_-]/.test(U))L=U,y+=1;else{var ee=O.slice(y);F=ee.match(/[^\w\d_]/),F?(L=ee.slice(0,F.index),y+=F.index-1):(L=ee,y=O.length)}return I(x,"",L)}for(v(K,"R"),n(K,"parseEnvVar"),y=0;y<O.length;y++){var $=O.charAt(y);if(H=H||!V&&($==="*"||$==="?"),ne)q+=$,ne=!1;else if(V)$===V?V=!1:V==B?q+=$:$===E?(y+=1,$=O.charAt(y),$===f||$===E||$===o?q+=$:q+=E+$):$===o?q+=K():q+=$;else if($===f||$===B)V=$;else{if(i.test($))return{op:O};if(b.test($)){D=!0;var X={comment:_.slice(W.index+y+1)};return q.length?[q,X]:[X]}else $===E?ne=!0:$===o?q+=K():q+=$}}return H?{op:"glob",pattern:q}:q}).reduce(function(W,O){return typeof O>"u"?W:W.concat(O)},[])}return v(M,"parseInternal"),n(M,"parseInternal"),xe=n(function(_,x,N){var E=M(_,x,N);return typeof x!="function"?E:E.reduce(function(d,z){if(typeof z=="object")return d.concat(z);var T=z.split(RegExp("("+g+".*?"+g+")","g"));return T.length===1?d.concat(T[0]):d.concat(T.filter(Boolean).map(function(D){return R.test(D)?JSON.parse(D.split(g)[1]):D}))},[])},"parse"),xe}v(Ar,"requireParse");var Ge;function $r(){return Ge||(Ge=1,ce.quote=Sr(),ce.parse=Ar()),ce}v($r,"requireShellQuote");var ge,Fe;function wr(){return Fe||(Fe=1,ge={"/Applications/Atom.app/Contents/MacOS/Atom":"atom","/Applications/Atom Beta.app/Contents/MacOS/Atom Beta":"/Applications/Atom Beta.app/Contents/MacOS/Atom Beta","/Applications/Brackets.app/Contents/MacOS/Brackets":"brackets","/Applications/Sublime Text.app/Contents/MacOS/Sublime Text":"/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl","/Applications/Sublime Text.app/Contents/MacOS/sublime_text":"/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl","/Applications/Sublime Text 2.app/Contents/MacOS/Sublime Text 2":"/Applications/Sublime Text 2.app/Contents/SharedSupport/bin/subl","/Applications/Sublime Text Dev.app/Contents/MacOS/Sublime Text":"/Applications/Sublime Text Dev.app/Contents/SharedSupport/bin/subl","/Applications/Visual Studio Code.app/Contents/MacOS/Electron":"code","/Applications/Visual Studio Code - Insiders.app/Contents/MacOS/Electron":"code-insiders","/Applications/VSCodium.app/Contents/MacOS/Electron":"codium","/Applications/Cursor.app/Contents/MacOS/Cursor":"cursor","/Applications/Trae.app/Contents/MacOS/Electron":"trae","/Applications/AppCode.app/Contents/MacOS/appcode":"/Applications/AppCode.app/Contents/MacOS/appcode","/Applications/CLion.app/Contents/MacOS/clion":"/Applications/CLion.app/Contents/MacOS/clion","/Applications/IntelliJ IDEA.app/Contents/MacOS/idea":"/Applications/IntelliJ IDEA.app/Contents/MacOS/idea","/Applications/IntelliJ IDEA Ultimate.app/Contents/MacOS/idea":"/Applications/IntelliJ IDEA Ultimate.app/Contents/MacOS/idea","/Applications/IntelliJ IDEA Community Edition.app/Contents/MacOS/idea":"/Applications/IntelliJ IDEA Community Edition.app/Contents/MacOS/idea","/Applications/PhpStorm.app/Contents/MacOS/phpstorm":"/Applications/PhpStorm.app/Contents/MacOS/phpstorm","/Applications/PyCharm.app/Contents/MacOS/pycharm":"/Applications/PyCharm.app/Contents/MacOS/pycharm","/Applications/PyCharm CE.app/Contents/MacOS/pycharm":"/Applications/PyCharm CE.app/Contents/MacOS/pycharm","/Applications/RubyMine.app/Contents/MacOS/rubymine":"/Applications/RubyMine.app/Contents/MacOS/rubymine","/Applications/WebStorm.app/Contents/MacOS/webstorm":"/Applications/WebStorm.app/Contents/MacOS/webstorm","/Applications/MacVim.app/Contents/MacOS/MacVim":"mvim","/Applications/GoLand.app/Contents/MacOS/goland":"/Applications/GoLand.app/Contents/MacOS/goland","/Applications/Rider.app/Contents/MacOS/rider":"/Applications/Rider.app/Contents/MacOS/rider","/Applications/Zed.app/Contents/MacOS/zed":"zed"}),ge}v(wr,"requireMacos");var be,Qe;function Mr(){return Qe||(Qe=1,be={atom:"atom",Brackets:"brackets","code-insiders":"code-insiders",code:"code",vscodium:"vscodium",codium:"codium",trae:"trae",emacs:"emacs",gvim:"gvim",idea:"idea","idea.sh":"idea",phpstorm:"phpstorm","phpstorm.sh":"phpstorm",pycharm:"pycharm","pycharm.sh":"pycharm",rubymine:"rubymine","rubymine.sh":"rubymine",sublime_text:"subl",vim:"vim",webstorm:"webstorm","webstorm.sh":"webstorm",goland:"goland","goland.sh":"goland",rider:"rider","rider.sh":"rider",zed:"zed"}),be}v(Mr,"requireLinux");var ve,Ve;function Er(){return Ve||(Ve=1,ve=["Brackets.exe","Code.exe","Code - Insiders.exe","VSCodium.exe","Cursor.exe","atom.exe","sublime_text.exe","notepad++.exe","clion.exe","clion64.exe","idea.exe","idea64.exe","phpstorm.exe","phpstorm64.exe","pycharm.exe","pycharm64.exe","rubymine.exe","rubymine64.exe","webstorm.exe","webstorm64.exe","goland.exe","goland64.exe","rider.exe","rider64.exe","trae.exe"]),ve}v(Er,"requireWindows");var Be,Ze;function Pr(){if(Ze)return Be;Ze=1;var t=Object.defineProperty,n=v((B,f)=>t(B,"name",{value:f,configurable:!0}),"u");const s=pe,i=$r(),c=Xe,p=wr(),m=Mr(),b=Er();return Be=n(function(B){if(B)return i.parse(B);if(process.env.LAUNCH_EDITOR)return[process.env.LAUNCH_EDITOR];if(process.versions.webcontainer)return[process.env.EDITOR||"code"];try{if(process.platform==="darwin"){const f=c.execSync("ps x -o comm=",{stdio:["pipe","pipe","ignore"]}).toString(),o=Object.keys(p),g=f.split(`
2
- `);for(let w=0;w<o.length;w++){const C=o[w];if(g.includes(C))return[p[C]];const R=C.replace("/Applications","");if(f.indexOf(R)!==-1){if(C!==p[C])return[p[C]];const P=g.find(I=>I.endsWith(R));if(P!==void 0)return[P]}}}else if(process.platform==="win32"){const f=c.execSync('powershell -NoProfile -Command "[Console]::OutputEncoding=[Text.Encoding]::UTF8;Get-CimInstance -Query \\"select executablepath from win32_process where executablepath is not null\\" | % { $_.ExecutablePath }"',{stdio:["pipe","pipe","ignore"]}).toString().split(`\r
3
- `);for(let o=0;o<f.length;o++){const g=f[o].trim(),w=s.basename(g);if(b.indexOf(w)!==-1)return[g]}}else if(process.platform==="linux"){const f=c.execSync("ps x --no-heading -o comm --sort=comm",{stdio:["pipe","pipe","ignore"]}).toString(),o=Object.keys(m);for(let g=0;g<o.length;g++){const w=o[g];if(f.indexOf(w)!==-1)return[m[w]]}}}catch{}return process.env.VISUAL?[process.env.VISUAL]:process.env.EDITOR?[process.env.EDITOR]:[null]},"guessEditor"),Be}v(Pr,"requireGuess");var ye,He;function Rr(){if(He)return ye;He=1;var t=Object.defineProperty,n=v((i,c)=>t(i,"name",{value:c,configurable:!0}),"r");const s=pe;return ye=n(function(i,c,p,m=1){switch(s.basename(i).replace(/\.(exe|cmd|bat)$/i,"")){case"atom":case"Atom":case"Atom Beta":case"subl":case"sublime":case"sublime_text":case"wstorm":case"charm":case"zed":return[`${c}:${p}:${m}`];case"notepad++":return["-n"+p,"-c"+m,c];case"vim":case"mvim":return[`+call cursor(${p}, ${m})`,c];case"joe":case"gvim":return[`+${p}`,c];case"emacs":case"emacsclient":return[`+${p}:${m}`,c];case"rmate":case"mate":case"mine":return["--line",p,c];case"code":case"Code":case"code-insiders":case"Code - Insiders":case"codium":case"trae":case"cursor":case"vscodium":case"VSCodium":return["-r","-g",`${c}:${p}:${m}`];case"appcode":case"clion":case"clion64":case"idea":case"idea64":case"phpstorm":case"phpstorm64":case"pycharm":case"pycharm64":case"rubymine":case"rubymine64":case"webstorm":case"webstorm64":case"goland":case"goland64":case"rider":case"rider64":return["--line",p,"--column",m,c]}return process.env.LAUNCH_EDITOR?[c,p,m]:[c]},"getArgumentsForPosition"),ye}v(Rr,"requireGetArgs");var Oe,Je;function _r(){if(Je)return Oe;Je=1;var t=Object.defineProperty,n=v((P,I)=>t(P,"name",{value:I,configurable:!0}),"c");const s=nr,i=or,c=pe,p=Cr(),m=Xe,b=Pr(),B=Rr();function f(P){return(I,M)=>{console.log(),console.log(p.red("Could not open "+c.basename(I)+" in the editor.")),M&&(M[M.length-1]!=="."&&(M+="."),console.log(p.red("The editor process exited with an error: "+M))),console.log(),P&&P(I,M)}}v(f,"wrapErrorCallback"),n(f,"wrapErrorCallback");function o(P){switch(P){case"vim":case"emacs":case"nano":return!0}return!1}v(o,"isTerminalEditor"),n(o,"isTerminalEditor");const g=/:(\d+)(:(\d+))?$/;function w(P){P.startsWith("file://")&&(P=ir.fileURLToPath(P));const I=P.replace(g,""),M=P.match(g),_=M&&M[1],x=M&&M[3];return{fileName:I,lineNumber:_,columnNumber:x}}v(w,"parseFile"),n(w,"parseFile");let C=null;function R(P,I,M){const _=w(P);let{fileName:x}=_;const{lineNumber:N,columnNumber:E}=_;if(!s.existsSync(x))return;typeof I=="function"&&(M=I,I=void 0),M=f(M);const[d,...z]=b(I);if(!d){M(x,null);return}if(process.platform==="linux"&&x.startsWith("/mnt/")&&/Microsoft/i.test(i.release())&&(x=c.relative("",x)),N){const T=B(d,x,N,E);z.push.apply(z,T)}else z.push(x);if(C&&o(d)&&C.kill("SIGKILL"),process.platform==="win32"){let T=v(function(O){return O.replace(/([&|<>,;=^])/g,"^$1")},"i"),D=v(function(O){return O.includes("^")?`^"${O}^"`:O.includes(" ")?`"${O}"`:O},"a");n(T,"escapeCmdArgs"),n(D,"doubleQuoteIfNeeded");const W=[d,...z.map(T)].map(D).join(" ");C=m.exec(W,{stdio:"inherit",shell:!0})}else C=m.spawn(d,z,{stdio:"inherit"});C.on("exit",function(T){C=null,T&&M(x,"(code "+T+")")}),C.on("error",function(T){let{code:D,message:W}=T;D==="ENOENT"&&(W=`${W} ('${d}' command does not exist in 'PATH')`),M(x,W)})}return v(R,"launchEditor"),n(R,"launchEditor"),Oe=R,Oe}v(_r,"requireLaunchEditor");var Ce,Ye;function jr(){if(Ye)return Ce;Ye=1;var t=Object.defineProperty,n=v((c,p)=>t(c,"name",{value:p,configurable:!0}),"r");const s=pe,i=_r();return Ce=v((c,p,m)=>(typeof c=="function"&&(m=c,c=void 0),typeof p=="function"&&(m=p,p=void 0),p=p||process.cwd(),n(function(b,B){let f;try{const g=b.url.startsWith("http")?b.url:`http://localhost${b.url}`;f=new URL(g)}catch{B.statusCode=500,B.end("launch-editor-middleware: invalid URL.");return}const o=f.searchParams.get("file");if(!o)B.statusCode=500,B.end('launch-editor-middleware: required query param "file" is missing.');else{const g=o.startsWith("file://")?o:s.resolve(p,o);i(g,c,m),B.end()}},"launchEditorMiddleware")),"launchEditorMiddleware"),Ce}v(jr,"requireLaunchEditorMiddleware");var Ir=jr();const Tr=Or(Ir);var qr=Object.defineProperty,Z=v((t,n)=>qr(t,"name",{value:n,configurable:!0}),"i");const Ke=Z(t=>{if(typeof t.status=="function"){t.status(400).send("Failed to open editor");return}t.statusCode=400,t.end("Failed to open editor")},"respond400"),rt=Z((t={})=>{const n=Z(async i=>{if(String(i.method||"GET").toUpperCase()==="POST")return i.body&&typeof i.body=="object"?i.body:new Promise(p=>{try{let m="";const b=Z(f=>{m+=String(f)},"onData"),B=Z(()=>{try{p(m?JSON.parse(m):{})}catch{p({})}},"onEnd");i.on("data",b),i.on("end",B),i.on("error",()=>p({}))}catch{p({})}});const c=new URL(i.url||"","http://localhost");return{column:Number(c.searchParams.get("column")||1),editor:c.searchParams.get("editor")||void 0,file:c.searchParams.get("file")||void 0,line:Number(c.searchParams.get("line")||1)}},"parseRequestBody"),s=Z((i,c,p)=>{if(!i)return;const m=J(i)?i:ue(c,i);if(!p)try{const b=qe(c),B=qe(m),f=le(b),o=le(B),g=Ne()==="win32"||Ne()==="darwin",w=g?f.toLowerCase():f,C=g?o.toLowerCase():o,R=vr(f,o);if(R.startsWith("..")||J(R)||g&&!C.startsWith(w))return}catch{const b=c.endsWith(ze)?c:c+ze;if(!m.startsWith(b))return}return m},"validateFilePath");return Z(async function(i,c,p){try{const m=await n(i),b=t.projectRoot??process.cwd(),B=s(m.file,b,t.allowOutsideProject??!1);if(!B){Ke(c);return}const f=Tr(m.editor,b),o=new URLSearchParams({column:String(m.column??1),file:B,line:String(m.line??1)});if(m.editor&&o.set("editor",String(m.editor)),i.url=`/?${o.toString()}`,typeof p=="function"){f(i,c,p);return}await new Promise(g=>{f(i,c,()=>{g()})})}catch{Ke(c)}},"universalHandler")},"createOpenInEditorMiddleware"),zr=Z((t={})=>{const n=rt(t);return async(s,i)=>n(s,i)},"createNodeHttpHandler"),Dr=Z((t={})=>rt(t),"createExpressHandler");export{Dr as createExpressHandler,zr as createNodeHttpHandler,rt as createOpenInEditorMiddleware};
1
+ var tr=Object.defineProperty;var v=(t,n)=>tr(t,"name",{value:n,configurable:!0});import{createRequire as rr}from"node:module";import{a as Ne}from"../packem_shared/process-B37didfB.js";const nr=rr(import.meta.url),ie=typeof globalThis<"u"&&typeof globalThis.process<"u"?globalThis.process:process,re=v(t=>{if(typeof ie<"u"&&ie.versions&&ie.versions.node){const[n,s]=ie.versions.node.split(".").map(Number);if(n>22||n===22&&s>=3||n===20&&s>=16)return ie.getBuiltinModule(t)}return nr(t)},"__cjs_getBuiltinModule"),{realpathSync:qe}=re("node:fs"),pe=re("path"),or=re("fs"),ir=re("os"),Xe=re("child_process"),ar=re("url");var sr=Object.defineProperty,cr=v((t,n)=>sr(t,"name",{value:n,configurable:!0}),"ce"),lr=Object.defineProperty,Se=cr((t,n)=>lr(t,"name",{value:n,configurable:!0}),"C"),ur=Object.defineProperty,h=Se((t,n)=>ur(t,"name",{value:n,configurable:!0}),"u$1");let Le=h(()=>{var t=(()=>{var n=Object.defineProperty,s=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,c=Object.prototype.hasOwnProperty,p=h((e,r)=>{for(var a in r)n(e,a,{get:r[a],enumerable:!0})},"J"),m=h((e,r,a,u)=>{if(r&&typeof r=="object"||typeof r=="function")for(let l of i(r))!c.call(e,l)&&l!==a&&n(e,l,{get:h(()=>r[l],"get"),enumerable:!(u=s(r,l))||u.enumerable});return e},"T"),b=h(e=>m(n({},"__esModule",{value:!0}),e),"W"),B={};p(B,{zeptomatch:h(()=>Jt,"zeptomatch")});var f=h(e=>Array.isArray(e),"k"),o=h(e=>typeof e=="function","x"),g=h(e=>e.length===0,"K"),w=(()=>{const{toString:e}=Function.prototype,r=/(?:^\(\s*(?:[^,.()]|\.(?!\.\.))*\s*\)\s*=>|^\s*[a-zA-Z$_][a-zA-Z0-9$_]*\s*=>)/;return a=>(a.length===0||a.length===1)&&r.test(e.call(a))})(),C=h(e=>typeof e=="number","Y"),R=h(e=>typeof e=="object"&&e!==null,"rr"),P=h(e=>e instanceof RegExp,"er"),_=(()=>{const e=/\\\(|\((?!\?(?::|=|!|<=|<!))/;return r=>e.test(r.source)})(),M=(()=>{const e=/^[a-zA-Z0-9_-]+$/;return r=>e.test(r.source)&&!r.flags.includes("i")})(),j=h(e=>typeof e=="string","M"),x=h(e=>e===void 0,"f"),N=h(e=>{const r=new Map;return a=>{const u=r.get(a);if(u!==void 0)return u;const l=e(a);return r.set(a,l),l}},"ar"),E=h((e,r,a={})=>{const u={cache:{},input:e,index:0,indexBacktrackMax:0,options:a,output:[]},l=L(r)(u),S=Math.max(u.index,u.indexBacktrackMax);if(l&&u.index===e.length)return u.output;throw new Error(`Failed to parse at index ${S}`)},"or"),d=h((e,r)=>f(e)?z(e,r):j(e)?y(e,r):T(e,r),"o"),z=h((e,r)=>{const a={};for(const u of e){if(u.length!==1)throw new Error(`Invalid character: "${u}"`);const l=u.charCodeAt(0);a[l]=!0}return u=>{const l=u.input;let S=u.index,A=S;for(;A<l.length&&l.charCodeAt(A)in a;)A+=1;if(A>S){if(!x(r)&&!u.options.silent){const I=l.slice(S,A),G=o(r)?r(I,l,`${S}`):r;x(G)||u.output.push(G)}u.index=A}return!0}},"ir"),T=h((e,r)=>{if(M(e))return y(e.source,r);{const a=e.source,u=e.flags.replace(/y|$/,"y"),l=new RegExp(a,u);return _(e)&&o(r)&&!w(r)?D(l,r):W(l,r)}},"ur"),D=h((e,r)=>a=>{const u=a.index,l=a.input;e.lastIndex=u;const S=e.exec(l);if(S){const A=e.lastIndex;if(!a.options.silent){const I=r(...S,l,`${u}`);x(I)||a.output.push(I)}return a.index=A,!0}else return!1},"sr"),W=h((e,r)=>a=>{const u=a.index,l=a.input;if(e.lastIndex=u,e.test(l)){const S=e.lastIndex;if(!x(r)&&!a.options.silent){const A=o(r)?r(l.slice(u,S),l,`${u}`):r;x(A)||a.output.push(A)}return a.index=S,!0}else return!1},"cr"),y=h((e,r)=>a=>{const u=a.index,l=a.input;if(l.startsWith(e,u)){if(!x(r)&&!a.options.silent){const S=o(r)?r(e,l,`${u}`):r;x(S)||a.output.push(S)}return a.index+=e.length,!0}else return!1},"R"),V=h((e,r,a,u)=>{const l=L(e),S=r>1;return X($(K(A=>{let I=0;for(;I<a;){const G=A.index;if(!l(A)||(I+=1,A.index===G))break}return I>=r},S),u))},"O"),ne=h((e,r)=>V(e,0,1,r),"lr"),q=h((e,r)=>V(e,0,1/0,r),"m"),H=h((e,r)=>{const a=e.map(L);return X($(K(u=>{for(let l=0,S=a.length;l<S;l++)if(!a[l](u))return!1;return!0}),r))},"S"),O=h((e,r)=>{const a=e.map(L);return X($(u=>{for(let l=0,S=a.length;l<S;l++)if(a[l](u))return!0;return!1},r))},"p"),K=h((e,r=!0,a=!1)=>{const u=L(e);return r?l=>{const S=l.index,A=l.output.length,I=u(l);return!I&&!a&&(l.indexBacktrackMax=Math.max(l.indexBacktrackMax,l.index)),(!I||a)&&(l.index=S,l.output.length!==A&&(l.output.length=A)),I}:u},"P"),$=h((e,r)=>{const a=L(e);return r?u=>{if(u.options.silent)return a(u);const l=u.output.length;if(a(u)){const S=u.output.splice(l,1/0),A=r(S);return x(A)||u.output.push(A),!0}else return!1}:a},"C"),X=(()=>{let e=0;return r=>{const a=L(r),u=e+=1;return l=>{var S;if(l.options.memoization===!1)return a(l);const A=l.index,I=(S=l.cache)[u]||(S[u]={indexMax:-1,queue:[]}),G=I.queue;if(A<=I.indexMax){const oe=I.store||(I.store=new Map);if(G.length){for(let te=0,Kt=G.length;te<Kt;te+=2){const Xt=G[te*2],er=G[te*2+1];oe.set(Xt,er)}G.length=0}const Q=oe.get(A);if(Q===!1)return!1;if(C(Q))return l.index=Q,!0;if(Q)return l.index=Q.index,Q.output?.length&&l.output.push(...Q.output),!0}const Te=l.output.length,Yt=a(l);if(I.indexMax=Math.max(I.indexMax,A),Yt){const oe=l.index,Q=l.output.length;if(Q>Te){const te=l.output.slice(Te,Q);G.push(A,{index:oe,output:te})}else G.push(A,oe);return!0}else return G.push(A,!1),!1}}})(),F=h(e=>{let r;return a=>(r||(r=L(e())),r(a))},"A"),L=N(e=>{if(o(e))return g(e)?F(e):e;if(j(e)||P(e))return d(e);if(f(e))return H(e);if(R(e))return O(Object.values(e));throw new Error("Invalid rule")}),U=h(e=>e,"v"),ee=h(e=>r=>E(r,e,{memoization:!1}).join(""),"z"),nt=h(e=>{const r={};return a=>r[a]??(r[a]=e(a))},"pr"),Ae="abcdefghijklmnopqrstuvwxyz",ot=h(e=>{let r="";for(;e>0;){const a=(e-1)%26;r=Ae[a]+r,e=Math.floor((e-1)/26)}return r},"vr"),$e=h(e=>{let r=0;for(let a=0,u=e.length;a<u;a++)r=r*26+Ae.indexOf(e[a])+1;return r},"N"),de=h((e,r)=>{if(r<e)return de(r,e);const a=[];for(;e<=r;)a.push(e++);return a},"$"),it=h((e,r,a)=>de(e,r).map(u=>String(u).padStart(a,"0")),"fr"),we=h((e,r)=>de($e(e),$e(r)).map(ot),"j"),me=d(/\\./,U),at=d(/[$.*+?^(){}[\]\|]/,e=>`\\${e}`),st=d(/[\\/]/,"[\\\\/]"),ct=d(/./,U),lt=d(/^(?:!!)*!(.*)$/,(e,r)=>`(?!^${_e(r)}$).*?`),ut=d(/^(!!)+/,""),pt=O([lt,ut]),dt=d(/\/(\*\*\/)+/,"(?:[\\\\/].+[\\\\/]|[\\\\/])"),mt=d(/^(\*\*\/)+/,"(?:^|.*[\\\\/])"),ft=d(/\/(\*\*)$/,"(?:[\\\\/].*|$)"),ht=d(/\*\*/,".*"),Me=O([dt,mt,ft,ht]),xt=d(/\*\/(?!\*\*\/|\*$)/,"[^\\\\/]*[\\\\/]"),gt=d(/\*/,"[^\\\\/]*"),Ee=O([xt,gt]),Pe=d("?","[^\\\\/]"),bt=d("[",U),vt=d("]",U),Bt=d(/[!^]/,"^\\\\/"),Ot=d(/[a-z]-[a-z]|[0-9]-[0-9]/i,U),yt=d(/[$.*+?^(){}[\|]/,e=>`\\${e}`),Ct=d(/[^\]]/,U),St=O([me,yt,Ot,Ct]),Re=H([bt,ne(Bt),q(St),vt]),At=d("{","(?:"),$t=d("}",")"),wt=d(/(\d+)\.\.(\d+)/,(e,r,a)=>it(+r,+a,Math.min(r.length,a.length)).join("|")),Mt=d(/([a-z]+)\.\.([a-z]+)/,(e,r,a)=>we(r,a).join("|")),Et=d(/([A-Z]+)\.\.([A-Z]+)/,(e,r,a)=>we(r.toLowerCase(),a.toLowerCase()).join("|").toUpperCase()),Pt=O([wt,Mt,Et]),je=H([At,Pt,$t]),Rt=d("{","(?:"),jt=d("}",")"),It=d(",","|"),_t=d(/[$.*+?^(){[\]\|]/,e=>`\\${e}`),Tt=d(/[^}]/,U),qt=F(()=>Ie),Nt=O([Me,Ee,Pe,Re,je,qt,me,_t,It,Tt]),Ie=H([Rt,q(Nt),jt]),Lt=q(O([pt,Me,Ee,Pe,Re,je,Ie,me,at,st,ct])),kt=Lt,zt=ee(kt),_e=zt,Dt=d(/\\./,U),Wt=d(/./,U),Ut=d(/\*\*\*+/,"*"),Gt=d(/([^/{[(!])\*\*/,(e,r)=>`${r}*`),Ft=d(/(^|.)\*\*(?=[^*/)\]}])/,(e,r)=>`${r}*`),Qt=q(O([Dt,Ut,Gt,Ft,Wt])),Vt=Qt,Zt=ee(Vt),Ht=Zt,ae=h((e,r)=>Array.isArray(e)?e.map(ae.compile).some(a=>a.test(r)):ae.compile(e).test(r),"_");ae.compile=nt(e=>new RegExp(`^${_e(Ht(e))}[\\\\/]?$`,"s"));var Jt=ae;return b(B)})();return t.default||t},"_lazyMatch"),fe;const pr=h((t,n)=>(fe||(fe=Le(),Le=null),fe(t,n)),"default");var dr=Object.defineProperty,mr=Se((t,n)=>dr(t,"name",{value:n,configurable:!0}),"t");const fr=/^[A-Z]:\//i,Y=mr((t="")=>t&&t.replaceAll("\\","/").replace(fr,n=>n.toUpperCase()),"normalizeWindowsPath");var hr=Object.defineProperty,k=Se((t,n)=>hr(t,"name",{value:n,configurable:!0}),"r");const xr=/^[/\\]{2}/,gr=/^[/\\](?![/\\])|^[/\\]{2}(?!\.)|^[A-Z]:[/\\]/i,et=/^[A-Z]:$/i,ke=/^\/([A-Z]:)?$/i,br=/.(\.[^./]+)$/,vr=/^[/\\]|^[a-z]:[/\\]/i,Br=k(()=>typeof process.cwd=="function"?process.cwd().replaceAll("\\","/"):"/","cwd"),ze="/",tt=k((t,n)=>{let s="",i=0,c=-1,p=0,m;for(let b=0;b<=t.length;++b){if(b<t.length)m=t[b];else{if(m==="/")break;m="/"}if(m==="/"){if(!(c===b-1||p===1))if(p===2){if(s.length<2||i!==2||!s.endsWith(".")||s.at(-2)!=="."){if(s.length>2){const B=s.lastIndexOf("/");B===-1?(s="",i=0):(s=s.slice(0,B),i=s.length-1-s.lastIndexOf("/")),c=b,p=0;continue}else if(s.length>0){s="",i=0,c=b,p=0;continue}}n&&(s+=s.length>0?"/..":"..",i=2)}else s.length>0?s+=`/${t.slice(c+1,b)}`:s=t.slice(c+1,b),i=b-c-1;c=b,p=0}else m==="."&&p!==-1?++p:p=-1}return s},"normalizeString"),J=k(t=>gr.test(t),"isAbsolute"),le=k(function(t){if(t.length===0)return".";t=Y(t);const n=xr.exec(t),s=J(t),i=t.at(-1)==="/";return t=tt(t,!s),t.length===0?s?"/":i?"./":".":(i&&(t+="/"),et.test(t)&&(t+="/"),n?s?`//${t}`:`//./${t}`:s&&!J(t)?`/${t}`:t)},"normalize");k((...t)=>{let n="";for(const s of t)if(s)if(n.length>0){const i=n[n.length-1]==="/",c=s[0]==="/";i&&c?n+=s.slice(1):n+=i||c?s:`/${s}`}else n+=s;return le(n)},"join");const ue=k(function(...t){t=t.map(i=>Y(i));let n="",s=!1;for(let i=t.length-1;i>=-1&&!s;i--){const c=i>=0?t[i]:Br();!c||c.length===0||(n=`${c}/${n}`,s=J(c))}return n=tt(n,!s),s&&!J(n)?`/${n}`:n.length>0?n:"."},"resolve");k(function(t){return Y(t)},"toNamespacedPath");const Or=k(function(t){return br.exec(Y(t))?.[1]??""},"extname"),yr=k(function(t,n){const s=ue(t).replace(ke,"$1").split("/"),i=ue(n).replace(ke,"$1").split("/");if(i[0][1]===":"&&s[0][1]===":"&&s[0]!==i[0])return i.join("/");const c=[...s];for(const p of c){if(i[0]!==p)break;s.shift(),i.shift()}return[...s.map(()=>".."),...i].join("/")},"relative"),Cr=k(t=>{const n=Y(t).replace(/\/$/,"").split("/").slice(0,-1);return n.length===1&&et.test(n[0])&&(n[0]+="/"),n.join("/")||(J(t)?"/":".")},"dirname");k(function(t){const n=[t.root,t.dir,t.base??t.name+t.ext].filter(Boolean);return Y(t.root?ue(...n):n.join("/"))},"format");const Sr=k((t,n)=>{const s=Y(t).split("/").pop();return n&&s.endsWith(n)?s.slice(0,-n.length):s},"basename");k(function(t){const n=vr.exec(t)?.[0]?.replaceAll("\\","/")??"",s=Sr(t),i=Or(s);return{base:s,dir:Cr(t),ext:i,name:s.slice(0,s.length-i.length),root:n}},"parse");k((t,n)=>pr(n,le(t)),"matchesGlob");function Ar(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}v(Ar,"getDefaultExportFromCjs");var se={exports:{}},De;function $r(){if(De)return se.exports;De=1;var t=Object.defineProperty,n=v((f,o)=>t(f,"name",{value:o,configurable:!0}),"t");let s=process||{},i=s.argv||[],c=s.env||{},p=!(c.NO_COLOR||i.includes("--no-color"))&&(!!c.FORCE_COLOR||i.includes("--color")||s.platform==="win32"||(s.stdout||{}).isTTY&&c.TERM!=="dumb"||!!c.CI),m=n((f,o,g=f)=>w=>{let C=""+w,R=C.indexOf(o,f.length);return~R?f+b(C,o,g,R)+o:f+C+o},"formatter"),b=n((f,o,g,w)=>{let C="",R=0;do C+=f.substring(R,w)+g,R=w+o.length,w=f.indexOf(o,R);while(~w);return C+f.substring(R)},"replaceClose"),B=n((f=p)=>{let o=f?m:()=>String;return{isColorSupported:f,reset:o("\x1B[0m","\x1B[0m"),bold:o("\x1B[1m","\x1B[22m","\x1B[22m\x1B[1m"),dim:o("\x1B[2m","\x1B[22m","\x1B[22m\x1B[2m"),italic:o("\x1B[3m","\x1B[23m"),underline:o("\x1B[4m","\x1B[24m"),inverse:o("\x1B[7m","\x1B[27m"),hidden:o("\x1B[8m","\x1B[28m"),strikethrough:o("\x1B[9m","\x1B[29m"),black:o("\x1B[30m","\x1B[39m"),red:o("\x1B[31m","\x1B[39m"),green:o("\x1B[32m","\x1B[39m"),yellow:o("\x1B[33m","\x1B[39m"),blue:o("\x1B[34m","\x1B[39m"),magenta:o("\x1B[35m","\x1B[39m"),cyan:o("\x1B[36m","\x1B[39m"),white:o("\x1B[37m","\x1B[39m"),gray:o("\x1B[90m","\x1B[39m"),bgBlack:o("\x1B[40m","\x1B[49m"),bgRed:o("\x1B[41m","\x1B[49m"),bgGreen:o("\x1B[42m","\x1B[49m"),bgYellow:o("\x1B[43m","\x1B[49m"),bgBlue:o("\x1B[44m","\x1B[49m"),bgMagenta:o("\x1B[45m","\x1B[49m"),bgCyan:o("\x1B[46m","\x1B[49m"),bgWhite:o("\x1B[47m","\x1B[49m"),blackBright:o("\x1B[90m","\x1B[39m"),redBright:o("\x1B[91m","\x1B[39m"),greenBright:o("\x1B[92m","\x1B[39m"),yellowBright:o("\x1B[93m","\x1B[39m"),blueBright:o("\x1B[94m","\x1B[39m"),magentaBright:o("\x1B[95m","\x1B[39m"),cyanBright:o("\x1B[96m","\x1B[39m"),whiteBright:o("\x1B[97m","\x1B[39m"),bgBlackBright:o("\x1B[100m","\x1B[49m"),bgRedBright:o("\x1B[101m","\x1B[49m"),bgGreenBright:o("\x1B[102m","\x1B[49m"),bgYellowBright:o("\x1B[103m","\x1B[49m"),bgBlueBright:o("\x1B[104m","\x1B[49m"),bgMagentaBright:o("\x1B[105m","\x1B[49m"),bgCyanBright:o("\x1B[106m","\x1B[49m"),bgWhiteBright:o("\x1B[107m","\x1B[49m")}},"createColors");return se.exports=B(),se.exports.createColors=B,se.exports}v($r,"requirePicocolors");var ce={},he,We;function wr(){if(We)return he;We=1;var t=Object.defineProperty,n=v((s,i)=>t(s,"name",{value:i,configurable:!0}),"n");return he=n(function(s){return s.map(function(i){return i===""?"''":i&&typeof i=="object"?i.op.replace(/(.)/g,"\\$1"):/["\s\\]/.test(i)&&!/'/.test(i)?"'"+i.replace(/(['])/g,"\\$1")+"'":/["'\s]/.test(i)?'"'+i.replace(/(["\\$`!])/g,"\\$1")+'"':String(i).replace(/([A-Za-z]:)?([#!"$&'()*,:;<=>?@[\\\]^`{|}])/g,"$1\\$2")}).join(" ")},"quote"),he}v(wr,"requireQuote");var xe,Ue;function Mr(){if(Ue)return xe;Ue=1;for(var t=Object.defineProperty,n=v((j,x)=>t(j,"name",{value:x,configurable:!0}),"c"),s="(?:"+["\\|\\|","\\&\\&",";;","\\|\\&","\\<\\(","\\<\\<\\<",">>",">\\&","<\\&","[&;()|<>]"].join("|")+")",i=new RegExp("^"+s+"$"),c="|&;()<> \\t",p='"((\\\\"|[^"])*?)"',m="'((\\\\'|[^'])*?)'",b=/^#$/,B="'",f='"',o="$",g="",w=4294967296,C=0;C<4;C++)g+=(w*Math.random()).toString(16);var R=new RegExp("^"+g);function P(j,x){for(var N=x.lastIndex,E=[],d;d=x.exec(j);)E.push(d),x.lastIndex===d.index&&(x.lastIndex+=1);return x.lastIndex=N,E}v(P,"matchAll"),n(P,"matchAll");function _(j,x,N){var E=typeof j=="function"?j(N):j[N];return typeof E>"u"&&N!=""?E="":typeof E>"u"&&(E="$"),typeof E=="object"?x+g+JSON.stringify(E)+g:x+E}v(_,"getVar"),n(_,"getVar");function M(j,x,N){N||(N={});var E=N.escape||"\\",d="(\\"+E+`['"`+c+`]|[^\\s'"`+c+"])+",z=new RegExp(["("+s+")","("+d+"|"+p+"|"+m+")+"].join("|"),"g"),T=P(j,z);if(T.length===0)return[];x||(x={});var D=!1;return T.map(function(W){var y=W[0];if(!y||D)return;if(i.test(y))return{op:y};var V=!1,ne=!1,q="",H=!1,O;function K(){O+=1;var F,L,U=y.charAt(O);if(U==="{"){if(O+=1,y.charAt(O)==="}")throw new Error("Bad substitution: "+y.slice(O-2,O+1));if(F=y.indexOf("}",O),F<0)throw new Error("Bad substitution: "+y.slice(O));L=y.slice(O,F),O=F}else if(/[*@#?$!_-]/.test(U))L=U,O+=1;else{var ee=y.slice(O);F=ee.match(/[^\w\d_]/),F?(L=ee.slice(0,F.index),O+=F.index-1):(L=ee,O=y.length)}return _(x,"",L)}for(v(K,"R"),n(K,"parseEnvVar"),O=0;O<y.length;O++){var $=y.charAt(O);if(H=H||!V&&($==="*"||$==="?"),ne)q+=$,ne=!1;else if(V)$===V?V=!1:V==B?q+=$:$===E?(O+=1,$=y.charAt(O),$===f||$===E||$===o?q+=$:q+=E+$):$===o?q+=K():q+=$;else if($===f||$===B)V=$;else{if(i.test($))return{op:y};if(b.test($)){D=!0;var X={comment:j.slice(W.index+O+1)};return q.length?[q,X]:[X]}else $===E?ne=!0:$===o?q+=K():q+=$}}return H?{op:"glob",pattern:q}:q}).reduce(function(W,y){return typeof y>"u"?W:W.concat(y)},[])}return v(M,"parseInternal"),n(M,"parseInternal"),xe=n(function(j,x,N){var E=M(j,x,N);return typeof x!="function"?E:E.reduce(function(d,z){if(typeof z=="object")return d.concat(z);var T=z.split(RegExp("("+g+".*?"+g+")","g"));return T.length===1?d.concat(T[0]):d.concat(T.filter(Boolean).map(function(D){return R.test(D)?JSON.parse(D.split(g)[1]):D}))},[])},"parse"),xe}v(Mr,"requireParse");var Ge;function Er(){return Ge||(Ge=1,ce.quote=wr(),ce.parse=Mr()),ce}v(Er,"requireShellQuote");var ge,Fe;function Pr(){return Fe||(Fe=1,ge={"/Applications/Atom.app/Contents/MacOS/Atom":"atom","/Applications/Atom Beta.app/Contents/MacOS/Atom Beta":"/Applications/Atom Beta.app/Contents/MacOS/Atom Beta","/Applications/Brackets.app/Contents/MacOS/Brackets":"brackets","/Applications/Sublime Text.app/Contents/MacOS/Sublime Text":"/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl","/Applications/Sublime Text.app/Contents/MacOS/sublime_text":"/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl","/Applications/Sublime Text 2.app/Contents/MacOS/Sublime Text 2":"/Applications/Sublime Text 2.app/Contents/SharedSupport/bin/subl","/Applications/Sublime Text Dev.app/Contents/MacOS/Sublime Text":"/Applications/Sublime Text Dev.app/Contents/SharedSupport/bin/subl","/Applications/Visual Studio Code.app/Contents/MacOS/Electron":"code","/Applications/Visual Studio Code - Insiders.app/Contents/MacOS/Electron":"code-insiders","/Applications/VSCodium.app/Contents/MacOS/Electron":"codium","/Applications/Cursor.app/Contents/MacOS/Cursor":"cursor","/Applications/Trae.app/Contents/MacOS/Electron":"trae","/Applications/AppCode.app/Contents/MacOS/appcode":"/Applications/AppCode.app/Contents/MacOS/appcode","/Applications/CLion.app/Contents/MacOS/clion":"/Applications/CLion.app/Contents/MacOS/clion","/Applications/IntelliJ IDEA.app/Contents/MacOS/idea":"/Applications/IntelliJ IDEA.app/Contents/MacOS/idea","/Applications/IntelliJ IDEA Ultimate.app/Contents/MacOS/idea":"/Applications/IntelliJ IDEA Ultimate.app/Contents/MacOS/idea","/Applications/IntelliJ IDEA Community Edition.app/Contents/MacOS/idea":"/Applications/IntelliJ IDEA Community Edition.app/Contents/MacOS/idea","/Applications/PhpStorm.app/Contents/MacOS/phpstorm":"/Applications/PhpStorm.app/Contents/MacOS/phpstorm","/Applications/PyCharm.app/Contents/MacOS/pycharm":"/Applications/PyCharm.app/Contents/MacOS/pycharm","/Applications/PyCharm CE.app/Contents/MacOS/pycharm":"/Applications/PyCharm CE.app/Contents/MacOS/pycharm","/Applications/RubyMine.app/Contents/MacOS/rubymine":"/Applications/RubyMine.app/Contents/MacOS/rubymine","/Applications/WebStorm.app/Contents/MacOS/webstorm":"/Applications/WebStorm.app/Contents/MacOS/webstorm","/Applications/MacVim.app/Contents/MacOS/MacVim":"mvim","/Applications/GoLand.app/Contents/MacOS/goland":"/Applications/GoLand.app/Contents/MacOS/goland","/Applications/Rider.app/Contents/MacOS/rider":"/Applications/Rider.app/Contents/MacOS/rider","/Applications/Zed.app/Contents/MacOS/zed":"zed"}),ge}v(Pr,"requireMacos");var be,Qe;function Rr(){return Qe||(Qe=1,be={atom:"atom",Brackets:"brackets","code-insiders":"code-insiders",code:"code",vscodium:"vscodium",codium:"codium",trae:"trae",emacs:"emacs",gvim:"gvim",idea:"idea","idea.sh":"idea",phpstorm:"phpstorm","phpstorm.sh":"phpstorm",pycharm:"pycharm","pycharm.sh":"pycharm",rubymine:"rubymine","rubymine.sh":"rubymine",sublime_text:"subl",vim:"vim",webstorm:"webstorm","webstorm.sh":"webstorm",goland:"goland","goland.sh":"goland",rider:"rider","rider.sh":"rider",zed:"zed"}),be}v(Rr,"requireLinux");var ve,Ve;function jr(){return Ve||(Ve=1,ve=["Brackets.exe","Code.exe","Code - Insiders.exe","VSCodium.exe","Cursor.exe","atom.exe","sublime_text.exe","notepad++.exe","clion.exe","clion64.exe","idea.exe","idea64.exe","phpstorm.exe","phpstorm64.exe","pycharm.exe","pycharm64.exe","rubymine.exe","rubymine64.exe","webstorm.exe","webstorm64.exe","goland.exe","goland64.exe","rider.exe","rider64.exe","trae.exe"]),ve}v(jr,"requireWindows");var Be,Ze;function Ir(){if(Ze)return Be;Ze=1;var t=Object.defineProperty,n=v((B,f)=>t(B,"name",{value:f,configurable:!0}),"u");const s=pe,i=Er(),c=Xe,p=Pr(),m=Rr(),b=jr();return Be=n(function(B){if(B)return i.parse(B);if(process.env.LAUNCH_EDITOR)return[process.env.LAUNCH_EDITOR];if(process.versions.webcontainer)return[process.env.EDITOR||"code"];try{if(process.platform==="darwin"){const f=c.execSync("ps x -o comm=",{stdio:["pipe","pipe","ignore"]}).toString(),o=Object.keys(p),g=f.split(`
2
+ `);for(let w=0;w<o.length;w++){const C=o[w];if(g.includes(C))return[p[C]];const R=C.replace("/Applications","");if(f.indexOf(R)!==-1){if(C!==p[C])return[p[C]];const P=g.find(_=>_.endsWith(R));if(P!==void 0)return[P]}}}else if(process.platform==="win32"){const f=c.execSync('powershell -NoProfile -Command "[Console]::OutputEncoding=[Text.Encoding]::UTF8;Get-CimInstance -Query \\"select executablepath from win32_process where executablepath is not null\\" | % { $_.ExecutablePath }"',{stdio:["pipe","pipe","ignore"]}).toString().split(`\r
3
+ `);for(let o=0;o<f.length;o++){const g=f[o].trim(),w=s.basename(g);if(b.indexOf(w)!==-1)return[g]}}else if(process.platform==="linux"){const f=c.execSync("ps x --no-heading -o comm --sort=comm",{stdio:["pipe","pipe","ignore"]}).toString(),o=Object.keys(m);for(let g=0;g<o.length;g++){const w=o[g];if(f.indexOf(w)!==-1)return[m[w]]}}}catch{}return process.env.VISUAL?[process.env.VISUAL]:process.env.EDITOR?[process.env.EDITOR]:[null]},"guessEditor"),Be}v(Ir,"requireGuess");var Oe,He;function _r(){if(He)return Oe;He=1;var t=Object.defineProperty,n=v((i,c)=>t(i,"name",{value:c,configurable:!0}),"r");const s=pe;return Oe=n(function(i,c,p,m=1){switch(s.basename(i).replace(/\.(exe|cmd|bat)$/i,"")){case"atom":case"Atom":case"Atom Beta":case"subl":case"sublime":case"sublime_text":case"wstorm":case"charm":case"zed":return[`${c}:${p}:${m}`];case"notepad++":return["-n"+p,"-c"+m,c];case"vim":case"mvim":return[`+call cursor(${p}, ${m})`,c];case"joe":case"gvim":return[`+${p}`,c];case"emacs":case"emacsclient":return[`+${p}:${m}`,c];case"rmate":case"mate":case"mine":return["--line",p,c];case"code":case"Code":case"code-insiders":case"Code - Insiders":case"codium":case"trae":case"cursor":case"vscodium":case"VSCodium":return["-r","-g",`${c}:${p}:${m}`];case"appcode":case"clion":case"clion64":case"idea":case"idea64":case"phpstorm":case"phpstorm64":case"pycharm":case"pycharm64":case"rubymine":case"rubymine64":case"webstorm":case"webstorm64":case"goland":case"goland64":case"rider":case"rider64":return["--line",p,"--column",m,c]}return process.env.LAUNCH_EDITOR?[c,p,m]:[c]},"getArgumentsForPosition"),Oe}v(_r,"requireGetArgs");var ye,Je;function Tr(){if(Je)return ye;Je=1;var t=Object.defineProperty,n=v((P,_)=>t(P,"name",{value:_,configurable:!0}),"c");const s=or,i=ir,c=pe,p=$r(),m=Xe,b=Ir(),B=_r();function f(P){return(_,M)=>{console.log(),console.log(p.red("Could not open "+c.basename(_)+" in the editor.")),M&&(M[M.length-1]!=="."&&(M+="."),console.log(p.red("The editor process exited with an error: "+M))),console.log(),P&&P(_,M)}}v(f,"wrapErrorCallback"),n(f,"wrapErrorCallback");function o(P){switch(P){case"vim":case"emacs":case"nano":return!0}return!1}v(o,"isTerminalEditor"),n(o,"isTerminalEditor");const g=/:(\d+)(:(\d+))?$/;function w(P){P.startsWith("file://")&&(P=ar.fileURLToPath(P));const _=P.replace(g,""),M=P.match(g),j=M&&M[1],x=M&&M[3];return{fileName:_,lineNumber:j,columnNumber:x}}v(w,"parseFile"),n(w,"parseFile");let C=null;function R(P,_,M){const j=w(P);let{fileName:x}=j;const{lineNumber:N,columnNumber:E}=j;if(!s.existsSync(x))return;typeof _=="function"&&(M=_,_=void 0),M=f(M);const[d,...z]=b(_);if(!d){M(x,null);return}if(process.platform==="linux"&&x.startsWith("/mnt/")&&/Microsoft/i.test(i.release())&&(x=c.relative("",x)),N){const T=B(d,x,N,E);z.push.apply(z,T)}else z.push(x);if(C&&o(d)&&C.kill("SIGKILL"),process.platform==="win32"){let T=v(function(y){return y.replace(/([&|<>,;=^])/g,"^$1")},"i"),D=v(function(y){return y.includes("^")?`^"${y}^"`:y.includes(" ")?`"${y}"`:y},"a");n(T,"escapeCmdArgs"),n(D,"doubleQuoteIfNeeded");const W=[d,...z.map(T)].map(D).join(" ");C=m.exec(W,{stdio:"inherit",shell:!0})}else C=m.spawn(d,z,{stdio:"inherit"});C.on("exit",function(T){C=null,T&&M(x,"(code "+T+")")}),C.on("error",function(T){let{code:D,message:W}=T;D==="ENOENT"&&(W=`${W} ('${d}' command does not exist in 'PATH')`),M(x,W)})}return v(R,"launchEditor"),n(R,"launchEditor"),ye=R,ye}v(Tr,"requireLaunchEditor");var Ce,Ye;function qr(){if(Ye)return Ce;Ye=1;var t=Object.defineProperty,n=v((c,p)=>t(c,"name",{value:p,configurable:!0}),"r");const s=pe,i=Tr();return Ce=v((c,p,m)=>(typeof c=="function"&&(m=c,c=void 0),typeof p=="function"&&(m=p,p=void 0),p=p||process.cwd(),n(function(b,B){let f;try{const g=b.url.startsWith("http")?b.url:`http://localhost${b.url}`;f=new URL(g)}catch{B.statusCode=500,B.end("launch-editor-middleware: invalid URL.");return}const o=f.searchParams.get("file");if(!o)B.statusCode=500,B.end('launch-editor-middleware: required query param "file" is missing.');else{const g=o.startsWith("file://")?o:s.resolve(p,o);i(g,c,m),B.end()}},"launchEditorMiddleware")),"launchEditorMiddleware"),Ce}v(qr,"requireLaunchEditorMiddleware");var Nr=qr();const Lr=Ar(Nr);var kr=Object.defineProperty,Z=v((t,n)=>kr(t,"name",{value:n,configurable:!0}),"i");const Ke=Z(t=>{if(typeof t.status=="function"){t.status(400).send("Failed to open editor");return}t.statusCode=400,t.end("Failed to open editor")},"respond400"),rt=Z((t={})=>{const n=Z(async i=>{if(String(i.method||"GET").toUpperCase()==="POST")return i.body&&typeof i.body=="object"?i.body:new Promise(p=>{try{let m="";const b=Z(f=>{m+=String(f)},"onData"),B=Z(()=>{try{p(m?JSON.parse(m):{})}catch{p({})}},"onEnd");i.on("data",b),i.on("end",B),i.on("error",()=>p({}))}catch{p({})}});const c=new URL(i.url||"","http://localhost");return{column:Number(c.searchParams.get("column")||1),editor:c.searchParams.get("editor")||void 0,file:c.searchParams.get("file")||void 0,line:Number(c.searchParams.get("line")||1)}},"parseRequestBody"),s=Z((i,c,p)=>{if(!i)return;const m=J(i)?i:ue(c,i);if(!p)try{const b=qe(c),B=qe(m),f=le(b),o=le(B),g=Ne()==="win32"||Ne()==="darwin",w=g?f.toLowerCase():f,C=g?o.toLowerCase():o,R=yr(f,o);if(R.startsWith("..")||J(R)||g&&!C.startsWith(w))return}catch{const b=c.endsWith(ze)?c:c+ze;if(!m.startsWith(b))return}return m},"validateFilePath");return Z(async function(i,c,p){try{const m=await n(i),b=t.projectRoot??process.cwd(),B=s(m.file,b,t.allowOutsideProject??!1);if(!B){Ke(c);return}const f=Lr(m.editor,b),o=new URLSearchParams({column:String(m.column??1),file:B,line:String(m.line??1)});if(m.editor&&o.set("editor",String(m.editor)),i.url=`/?${o.toString()}`,typeof p=="function"){f(i,c,p);return}await new Promise(g=>{f(i,c,()=>{g()})})}catch{Ke(c)}},"universalHandler")},"createOpenInEditorMiddleware"),Ur=Z((t={})=>{const n=rt(t);return async(s,i)=>n(s,i)},"createNodeHttpHandler"),Gr=Z((t={})=>rt(t),"createExpressHandler");export{Gr as createExpressHandler,Ur as createNodeHttpHandler,rt as createOpenInEditorMiddleware};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@visulima/ono",
3
- "version": "1.0.5",
3
+ "version": "1.0.7",
4
4
  "description": "Ono is an error-parsing library that pretty prints JavaScript errors on a web page or the terminal.",
5
5
  "keywords": [
6
6
  "visulima",
@@ -95,53 +95,53 @@
95
95
  "dependencies": {
96
96
  "@shikijs/langs": "^3.13.0",
97
97
  "@shikijs/themes": "^3.13.0",
98
- "@visulima/error": "5.0.0",
99
- "isomorphic-dompurify": "^2.29.0",
98
+ "@visulima/error": "5.0.2",
99
+ "isomorphic-dompurify": "^2.30.0",
100
100
  "shiki": "^3.13.0"
101
101
  },
102
102
  "devDependencies": {
103
- "@anolilab/eslint-config": "^16.4.1",
103
+ "@anolilab/eslint-config": "^16.4.2",
104
104
  "@anolilab/prettier-config": "^6.0.7",
105
105
  "@anolilab/semantic-release-preset": "^11.0.4",
106
106
  "@arethetypeswrong/cli": "^0.18.2",
107
107
  "@eslint/css": "0.13.0",
108
108
  "@tailwindcss/forms": "^0.5.10",
109
- "@tailwindcss/node": "^4.1.14",
110
- "@tailwindcss/oxide": "^4.1.14",
109
+ "@tailwindcss/node": "^4.1.15",
110
+ "@tailwindcss/oxide": "^4.1.15",
111
111
  "@tailwindcss/typography": "^0.5.19",
112
112
  "@total-typescript/ts-reset": "^0.6.1",
113
113
  "@types/http-errors": "^2.0.5",
114
- "@types/node": "24.7.2",
114
+ "@types/node": "24.9.1",
115
115
  "@visulima/packem": "2.0.0-alpha.30",
116
- "@visulima/path": "2.0.0",
116
+ "@visulima/path": "2.0.1",
117
117
  "@vitest/coverage-v8": "^3.2.4",
118
118
  "cssnano": "7.1.1",
119
- "esbuild": "0.25.10",
120
- "eslint": "^9.37.0",
119
+ "esbuild": "0.25.11",
120
+ "eslint": "^9.38.0",
121
121
  "http-errors": "^2.0.0",
122
122
  "launch-editor-middleware": "2.11.1",
123
- "lucide-static": "^0.545.0",
124
- "marked": "^16.4.0",
123
+ "lucide-static": "^0.546.0",
124
+ "marked": "^16.4.1",
125
125
  "node-mocks-http": "^1.17.2",
126
- "openai": "6.3.0",
126
+ "openai": "6.6.0",
127
127
  "prettier": "^3.6.2",
128
- "prettier-plugin-tailwindcss": "0.6.14",
129
- "publint": "^0.3.14",
128
+ "prettier-plugin-tailwindcss": "0.7.1",
129
+ "publint": "^0.3.15",
130
130
  "rimraf": "^6.0.1",
131
- "semantic-release": "^24.2.9",
131
+ "semantic-release": "^25.0.1",
132
132
  "sort-package-json": "^3.4.0",
133
133
  "tailwind-csstree": "0.1.4",
134
- "tailwindcss": "^4.1.14",
134
+ "tailwindcss": "^4.1.15",
135
135
  "typescript": "^5.9.3",
136
136
  "vitest": "^3.2.4"
137
137
  },
138
138
  "peerDependencies": {
139
- "@ai-sdk/anthropic": "^1.0.0",
140
- "@ai-sdk/azure": "^1.0.0",
141
- "@ai-sdk/google": "^1.0.0",
142
- "@ai-sdk/mistral": "^1.0.0",
139
+ "@ai-sdk/anthropic": "^1.0.9",
140
+ "@ai-sdk/azure": "^1.0.22",
141
+ "@ai-sdk/google": "^1.0.17",
142
+ "@ai-sdk/mistral": "^1.0.9",
143
143
  "@ai-sdk/ollama": "^1.0.0",
144
- "@ai-sdk/openai": "^1.0.0",
144
+ "@ai-sdk/openai": "^1.0.20",
145
145
  "ai": "^4.0.0 || ^5.0.0"
146
146
  },
147
147
  "peerDependenciesMeta": {