@yorz/cli 0.1.5 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli/index.js +1 -1
- package/dist/gui/assets/{abnfDiagram-VRR7QNED-BjiKWU_r.js → abnfDiagram-VRR7QNED-Dk823f-p.js} +1 -1
- package/dist/gui/assets/{arc--ZszoeC5.js → arc-CsAcQvy9.js} +1 -1
- package/dist/gui/assets/{architectureDiagram-ZJ3FMSHR-D8beCiJM.js → architectureDiagram-ZJ3FMSHR-9d29EB_v.js} +1 -1
- package/dist/gui/assets/{blockDiagram-677ZJIJ3-XTjBv4Yl.js → blockDiagram-677ZJIJ3-C_BdniYG.js} +1 -1
- package/dist/gui/assets/{c4Diagram-LMCZKHZV-B8mRAP6M.js → c4Diagram-LMCZKHZV-COHS5O60.js} +1 -1
- package/dist/gui/assets/channel-Cdj31qNd.js +1 -0
- package/dist/gui/assets/{chunk-2Q5K7J3B-yiwKrUMh.js → chunk-2Q5K7J3B-CdpNMJAI.js} +1 -1
- package/dist/gui/assets/{chunk-32BRIVSS-BKUpEqmm.js → chunk-32BRIVSS-C-5zZ7Xl.js} +1 -1
- package/dist/gui/assets/{chunk-5VM5RSS4-DbsGyMz5.js → chunk-5VM5RSS4-DNMuZJaP.js} +1 -1
- package/dist/gui/assets/{chunk-EX3LRPZG-DTBuQkne.js → chunk-EX3LRPZG-BGPzkMUB.js} +1 -1
- package/dist/gui/assets/{chunk-JWPE2WC7-Durur7_4.js → chunk-JWPE2WC7-DKHh8QvM.js} +1 -1
- package/dist/gui/assets/{chunk-MOJQB5TN-DXNE2VJB.js → chunk-MOJQB5TN-DjfrUCo1.js} +1 -1
- package/dist/gui/assets/{chunk-RYQCIY6F-HY8qhnee.js → chunk-RYQCIY6F-CAOzG_fF.js} +1 -1
- package/dist/gui/assets/{chunk-V7JOEXUC-BXRxPy5M.js → chunk-V7JOEXUC-CiYl0Zr6.js} +1 -1
- package/dist/gui/assets/{chunk-VR4S4FIN-Ws4fVn18.js → chunk-VR4S4FIN-C9R15N13.js} +1 -1
- package/dist/gui/assets/{chunk-XXDRQBXY-CwHBGyO1.js → chunk-XXDRQBXY-D08V--b4.js} +1 -1
- package/dist/gui/assets/classDiagram-OUVF2IWQ-BiCCYKL9.js +1 -0
- package/dist/gui/assets/classDiagram-v2-EOCWNBFH-BiCCYKL9.js +1 -0
- package/dist/gui/assets/{cose-bilkent-JH36ORCC-C3oDctXM.js → cose-bilkent-JH36ORCC-h3WvWy31.js} +1 -1
- package/dist/gui/assets/{cynefin-VYW2F7L2-BjremdIM.js → cynefin-VYW2F7L2-BJJROAhw.js} +1 -1
- package/dist/gui/assets/{cynefinDiagram-TSTJHNR4-Cwe2fD65.js → cynefinDiagram-TSTJHNR4-Cowr6YON.js} +1 -1
- package/dist/gui/assets/{dagre-VKFMJZFB-Bx2kzeqs.js → dagre-VKFMJZFB-CHQSayFl.js} +1 -1
- package/dist/gui/assets/{diagram-FQU43EPY-BVyLKNdq.js → diagram-FQU43EPY-Dkjm-gpD.js} +1 -1
- package/dist/gui/assets/{diagram-G47NLZAW-DicBAwcf.js → diagram-G47NLZAW-CWzLjtMq.js} +1 -1
- package/dist/gui/assets/{diagram-NH7WQ7WH-BbRrvaYb.js → diagram-NH7WQ7WH-CJEfCmpn.js} +1 -1
- package/dist/gui/assets/{diagram-OA4YK3LP-C2YIUXV5.js → diagram-OA4YK3LP-DKXL4ZCg.js} +1 -1
- package/dist/gui/assets/{diagram-WEI45ONY-DJHPHFaZ.js → diagram-WEI45ONY-CLvc8CSB.js} +1 -1
- package/dist/gui/assets/{ebnfDiagram-CCIWWBDH-DtDW0rR6.js → ebnfDiagram-CCIWWBDH-D6NViEZ2.js} +1 -1
- package/dist/gui/assets/{erDiagram-Q63AITRT-C5CAH1UZ.js → erDiagram-Q63AITRT-B2mRc5jq.js} +1 -1
- package/dist/gui/assets/{flowDiagram-23GEKE2U-DA2WblHa.js → flowDiagram-23GEKE2U-Bu2CgXeG.js} +1 -1
- package/dist/gui/assets/{ganttDiagram-NO4QXBWP-TMRYyAbG.js → ganttDiagram-NO4QXBWP-CLqVFiRj.js} +1 -1
- package/dist/gui/assets/{gitGraphDiagram-IHSO6WYX-Ci-GVNac.js → gitGraphDiagram-IHSO6WYX-BCeVlEhg.js} +1 -1
- package/dist/gui/assets/index-BCf1jTQa.css +1 -0
- package/dist/gui/assets/index-BYq7_4Z-.js +663 -0
- package/dist/gui/assets/{infoDiagram-FWYZ7A6U-BV4Ye9h-.js → infoDiagram-FWYZ7A6U-CaGDhrD8.js} +1 -1
- package/dist/gui/assets/{ishikawaDiagram-FXEZZL3T-CLBTOnXf.js → ishikawaDiagram-FXEZZL3T-D-IBVo_N.js} +1 -1
- package/dist/gui/assets/{journeyDiagram-5HDEW3XC-BINYoOlq.js → journeyDiagram-5HDEW3XC-lxFR0Z8q.js} +1 -1
- package/dist/gui/assets/{kanban-definition-HUTT4EX6-Bvoywhuo.js → kanban-definition-HUTT4EX6-C1Quf86J.js} +1 -1
- package/dist/gui/assets/{linear-CldLHplp.js → linear-BmiZLs2L.js} +1 -1
- package/dist/gui/assets/{mermaid.core-1Uynhu-S.js → mermaid.core-Qqp0pI8e.js} +4 -4
- package/dist/gui/assets/{mindmap-definition-LN4V7U3C-Sv5B_zGg.js → mindmap-definition-LN4V7U3C-CiuAQSSr.js} +1 -1
- package/dist/gui/assets/{pegDiagram-2B236MQR-CyYAur_9.js → pegDiagram-2B236MQR-BWjeZxVp.js} +1 -1
- package/dist/gui/assets/{pieDiagram-ENE6RG2P-D3P7lu31.js → pieDiagram-ENE6RG2P-C2aubU3s.js} +1 -1
- package/dist/gui/assets/{quadrantDiagram-ABIIQ3AL-zmQrhKVf.js → quadrantDiagram-ABIIQ3AL-l-nU_0aa.js} +1 -1
- package/dist/gui/assets/{railroadDiagram-RFXS5EU6-D5HlXQ4M.js → railroadDiagram-RFXS5EU6-CLs3ePNd.js} +1 -1
- package/dist/gui/assets/{requirementDiagram-TGXJPOKE-BJcv5tpR.js → requirementDiagram-TGXJPOKE-noC5_aOI.js} +1 -1
- package/dist/gui/assets/{sankeyDiagram-HTMAVEWB-9R97Q-65.js → sankeyDiagram-HTMAVEWB-CrVWROCY.js} +1 -1
- package/dist/gui/assets/{sequenceDiagram-DBY2YBRQ-D6v2e_UA.js → sequenceDiagram-DBY2YBRQ-rrdT6eIu.js} +1 -1
- package/dist/gui/assets/{sizeCapture-X5ZJPWSS-5Ee75AoR.js → sizeCapture-X5ZJPWSS-DvpoOhEJ.js} +1 -1
- package/dist/gui/assets/{stateDiagram-2N3HPSRC-CiFKPVFd.js → stateDiagram-2N3HPSRC-B2ui4ZZN.js} +1 -1
- package/dist/gui/assets/stateDiagram-v2-6OUMAXLB-B_Wcpq2b.js +1 -0
- package/dist/gui/assets/{swimlanes-5IMT3BWC-DejeKz32.js → swimlanes-5IMT3BWC-DRhf5jKL.js} +2 -2
- package/dist/gui/assets/swimlanesDiagram-G3AALYLV-C2fsQgny.js +8 -0
- package/dist/gui/assets/{timeline-definition-FHXFAJF6-CpW-bina.js → timeline-definition-FHXFAJF6-rm68zqM2.js} +1 -1
- package/dist/gui/assets/{vennDiagram-L72KCM5P-DFEDh4dV.js → vennDiagram-L72KCM5P-BKVMfPvL.js} +1 -1
- package/dist/gui/assets/{wardleyDiagram-EHGQE667-B4Blcc-a.js → wardleyDiagram-EHGQE667-eXN3NRZ7.js} +1 -1
- package/dist/gui/assets/{xychartDiagram-FW5EYKEG-D9idxadT.js → xychartDiagram-FW5EYKEG-3VtYytF2.js} +1 -1
- package/dist/gui/index.html +2 -2
- package/package.json +13 -1
- package/dist/gui/assets/channel-DSEvjkHE.js +0 -1
- package/dist/gui/assets/classDiagram-OUVF2IWQ-BN1qwPdD.js +0 -1
- package/dist/gui/assets/classDiagram-v2-EOCWNBFH-BN1qwPdD.js +0 -1
- package/dist/gui/assets/index-Bp9JnkhK.css +0 -1
- package/dist/gui/assets/index-Bq3A8DU2.js +0 -21
- package/dist/gui/assets/stateDiagram-v2-6OUMAXLB-XeM3QPuf.js +0 -1
- package/dist/gui/assets/swimlanesDiagram-G3AALYLV-BaUP5W6u.js +0 -8
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))i(r);new MutationObserver(r=>{for(const u of r)if(u.type==="childList")for(const a of u.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&i(a)}).observe(document,{childList:!0,subtree:!0});function n(r){const u={};return r.integrity&&(u.integrity=r.integrity),r.referrerPolicy&&(u.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?u.credentials="include":r.crossOrigin==="anonymous"?u.credentials="omit":u.credentials="same-origin",u}function i(r){if(r.ep)return;r.ep=!0;const u=n(r);fetch(r.href,u)}})();const ke={context:void 0,registry:void 0,effects:void 0,done:!1,getContextId(){return du(this.context.count)},getNextContextId(){return du(this.context.count++)}};function du(e){const t=String(e),n=t.length-1;return ke.context.id+(n?String.fromCharCode(96+n):"")+t}function kn(e){ke.context=e}const co=!1,lo=(e,t)=>e===t,gt=Symbol("solid-proxy"),$a=typeof Proxy=="function",ar=Symbol("solid-track"),sr={equals:lo};let Ma=za;const yt=1,Nn=2,La={owned:null,cleanups:null,context:null,owner:null},$r={};var we=null;let J=null,fo=null,De=null,ut=null,rt=null,mr=0;function an(e,t){const n=De,i=we,r=e.length===0,u=t===void 0?i:t,a=r?La:{owned:null,cleanups:null,context:u?u.context:null,owner:u},s=r?e:()=>e(()=>at(()=>Jt(a)));we=a,De=null;try{return ft(s,!0)}finally{De=n,we=i}}function z(e,t){t=t?Object.assign({},sr,t):sr;const n={value:e,observers:null,observerSlots:null,comparator:t.equals||void 0},i=r=>(typeof r=="function"&&(J&&J.running&&J.sources.has(n)?r=r(n.tValue):r=r(n.value)),Ua(n,r));return[Ba.bind(n),i]}function fu(e,t,n){const i=xr(e,t,!0,yt);En(i)}function re(e,t,n){const i=xr(e,t,!1,yt);En(i)}function it(e,t,n){Ma=_o;const i=xr(e,t,!1,yt),r=cn&&_n(cn);r&&(i.suspense=r),i.user=!0,rt?rt.push(i):En(i)}function pe(e,t,n){n=n?Object.assign({},sr,n):sr;const i=xr(e,t,!0,0);return i.observers=null,i.observerSlots=null,i.comparator=n.equals||void 0,En(i),Ba.bind(i)}function po(e){return e&&typeof e=="object"&&"then"in e}function Gt(e,t,n){let i,r,u;typeof t=="function"?(i=e,r=t,u={}):(i=!0,r=e,u=t||{});let a=null,s=$r,o=null,c=!1,l=!1,d="initialValue"in u,g=typeof i=="function"&&pe(i);const p=new Set,[b,f]=(u.storage||z)(u.initialValue),[h,_]=z(void 0),[m,w]=z(void 0,{equals:!1}),[y,x]=z(d?"ready":"unresolved");ke.context&&(o=ke.getNextContextId(),u.ssrLoadFrom==="initial"?s=u.initialValue:ke.load&&ke.has(o)&&(s=ke.load(o)));function k(O,q,K,F){return a===O&&(a=null,F!==void 0&&(d=!0),(O===s||q===s)&&u.onHydrated&&queueMicrotask(()=>u.onHydrated(F,{value:q})),s=$r,J&&O&&c?(J.promises.delete(O),c=!1,ft(()=>{J.running=!0,D(q,K)},!1)):D(q,K)),q}function D(O,q){ft(()=>{q===void 0&&f(()=>O),x(q!==void 0?"errored":d?"ready":"unresolved"),_(q);for(const K of p.keys())K.decrement();p.clear()},!1)}function A(){const O=cn&&_n(cn),q=b(),K=h();if(K!==void 0&&!a)throw K;return De&&!De.user&&O&&fu(()=>{m(),a&&(O.resolved&&J&&c?J.promises.add(a):p.has(O)||(O.increment(),p.add(O)))}),q}function N(O=!0){if(O!==!1&&l)return;l=!1;const q=g?g():i;if(c=J&&J.running,q==null||q===!1){k(a,at(b));return}J&&a&&J.promises.delete(a);let K;const F=s!==$r?s:at(()=>{try{return r(q,{value:b(),refetching:O})}catch(L){K=L}});if(K!==void 0){k(a,void 0,nr(K),q);return}else if(!po(F))return k(a,F,void 0,q),F;return a=F,"v"in F?(F.s===1?k(a,F.v,void 0,q):k(a,void 0,nr(F.v),q),F):(l=!0,queueMicrotask(()=>l=!1),ft(()=>{x(d?"refreshing":"pending"),w()},!1),F.then(L=>k(F,L,void 0,q),L=>k(F,void 0,nr(L),q)))}Object.defineProperties(A,{state:{get:()=>y()},error:{get:()=>h()},loading:{get(){const O=y();return O==="pending"||O==="refreshing"}},latest:{get(){if(!d)return A();const O=h();if(O&&!a)throw O;return b()}}});let R=we;return g?fu(()=>(R=we,N(!1))):N(!1),[A,{refetch:O=>zi(R,()=>N(O)),mutate:f}]}function Fa(e){return ft(e,!1)}function at(e){if(De===null)return e();const t=De;De=null;try{return e()}finally{De=t}}function _r(e,t,n){const i=Array.isArray(e);let r,u=n&&n.defer;return a=>{let s;if(i){s=Array(e.length);for(let c=0;c<e.length;c++)s[c]=e[c]()}else s=e();if(u)return u=!1,a;const o=at(()=>t(s,r,a));return r=s,o}}function Pa(e){it(()=>at(e))}function st(e){return we===null||(we.cleanups===null?we.cleanups=[e]:we.cleanups.push(e)),e}function Ri(){return De}function Ui(){return we}function zi(e,t){const n=we,i=De;we=e,De=null;try{return ft(t,!0)}catch(r){Hi(r)}finally{we=n,De=i}}function bo(e){if(J&&J.running)return e(),J.done;const t=De,n=we;return Promise.resolve().then(()=>{De=t,we=n;let i;return cn&&(i=J||(J={sources:new Set,effects:[],promises:new Set,disposed:new Set,queue:new Set,running:!0}),i.done||(i.done=new Promise(r=>i.resolve=r)),i.running=!0),ft(e,!1),De=we=null,i?i.done:void 0})}const[Ug,pu]=z(!1);function go(e){rt.push.apply(rt,e),e.length=0}function Er(e,t){const n=Symbol("context");return{id:n,Provider:Eo(n),defaultValue:e}}function _n(e){let t;return we&&we.context&&(t=we.context[e.id])!==void 0?t:e.defaultValue}function qi(e){const t=pe(e),n=pe(()=>Oi(t()));return n.toArray=()=>{const i=n();return Array.isArray(i)?i:i!=null?[i]:[]},n}let cn;function ho(){return cn||(cn=Er())}function Ba(){const e=J&&J.running;if(this.sources&&(e?this.tState:this.state))if((e?this.tState:this.state)===yt)En(this);else{const t=ut;ut=null,ft(()=>cr(this),!1),ut=t}if(De){const t=this.observers;if(!t||t[t.length-1]!==De){const n=t?t.length:0;De.sources?(De.sources.push(this),De.sourceSlots.push(n)):(De.sources=[this],De.sourceSlots=[n]),t?(t.push(De),this.observerSlots.push(De.sources.length-1)):(this.observers=[De],this.observerSlots=[De.sources.length-1])}}return e&&J.sources.has(this)?this.tValue:this.value}function Ua(e,t,n){let i=J&&J.running&&J.sources.has(e)?e.tValue:e.value;if(!e.comparator||!e.comparator(i,t)){if(J){const r=J.running;(r||!n&&J.sources.has(e))&&(J.sources.add(e),e.tValue=t),r||(e.value=t)}else e.value=t;e.observers&&e.observers.length&&ft(()=>{for(let r=0;r<e.observers.length;r+=1){const u=e.observers[r],a=J&&J.running;a&&J.disposed.has(u)||((a?!u.tState:!u.state)&&(u.pure?ut.push(u):rt.push(u),u.observers&&qa(u)),a?u.tState=yt:u.state=yt)}if(ut.length>1e6)throw ut=[],new Error},!1)}return t}function En(e){if(!e.fn)return;Jt(e);const t=mr;bu(e,J&&J.running&&J.sources.has(e)?e.tValue:e.value,t),J&&!J.running&&J.sources.has(e)&&queueMicrotask(()=>{ft(()=>{J&&(J.running=!0),De=we=e,bu(e,e.tValue,t),De=we=null},!1)})}function bu(e,t,n){let i;const r=we,u=De;De=we=e;try{i=e.fn(t)}catch(a){return e.pure&&(J&&J.running?(e.tState=yt,e.tOwned&&e.tOwned.forEach(Jt),e.tOwned=void 0):(e.state=yt,e.owned&&e.owned.forEach(Jt),e.owned=null)),e.updatedAt=n+1,Hi(a)}finally{De=u,we=r}(!e.updatedAt||e.updatedAt<=n)&&(e.updatedAt!=null&&"observers"in e?Ua(e,i,!0):J&&J.running&&e.pure?(J.sources.has(e)||(e.value=i),J.sources.add(e),e.tValue=i):e.value=i,e.updatedAt=n)}function xr(e,t,n,i=yt,r){const u={fn:e,state:i,updatedAt:null,owned:null,sources:null,sourceSlots:null,cleanups:null,value:t,owner:we,context:we?we.context:null,pure:n};return J&&J.running&&(u.state=0,u.tState=i),we===null||we!==La&&(J&&J.running&&we.pure?we.tOwned?we.tOwned.push(u):we.tOwned=[u]:we.owned?we.owned.push(u):we.owned=[u]),u}function or(e){const t=J&&J.running;if((t?e.tState:e.state)===0)return;if((t?e.tState:e.state)===Nn)return cr(e);if(e.suspense&&at(e.suspense.inFallback))return e.suspense.effects.push(e);const n=[e];for(;(e=e.owner)&&(!e.updatedAt||e.updatedAt<mr);){if(t&&J.disposed.has(e))return;(t?e.tState:e.state)&&n.push(e)}for(let i=n.length-1;i>=0;i--){if(e=n[i],t){let r=e,u=n[i+1];for(;(r=r.owner)&&r!==u;)if(J.disposed.has(r))return}if((t?e.tState:e.state)===yt)En(e);else if((t?e.tState:e.state)===Nn){const r=ut;ut=null,ft(()=>cr(e,n[0]),!1),ut=r}}}function ft(e,t){if(ut)return e();let n=!1;t||(ut=[]),rt?n=!0:rt=[],mr++;try{const i=e();return mo(n),i}catch(i){n||(rt=null),ut=null,Hi(i)}}function mo(e){if(ut&&(za(ut),ut=null),e)return;let t;if(J){if(!J.promises.size&&!J.queue.size){const i=J.sources,r=J.disposed;rt.push.apply(rt,J.effects),t=J.resolve;for(const u of rt)"tState"in u&&(u.state=u.tState),delete u.tState;J=null,ft(()=>{for(const u of r)Jt(u);for(const u of i){if(u.value=u.tValue,u.owned)for(let a=0,s=u.owned.length;a<s;a++)Jt(u.owned[a]);u.tOwned&&(u.owned=u.tOwned),delete u.tValue,delete u.tOwned,u.tState=0}pu(!1)},!1)}else if(J.running){J.running=!1,J.effects.push.apply(J.effects,rt),rt=null,pu(!0);return}}const n=rt;rt=null,n.length&&ft(()=>Ma(n),!1),t&&t()}function za(e){for(let t=0;t<e.length;t++)or(e[t])}function _o(e){let t,n=0;for(t=0;t<e.length;t++){const i=e[t];i.user?e[n++]=i:or(i)}if(ke.context){if(ke.count){ke.effects||(ke.effects=[]),ke.effects.push(...e.slice(0,n));return}kn()}for(ke.effects&&(ke.done||!ke.count)&&(e=[...ke.effects,...e],n+=ke.effects.length,delete ke.effects),t=0;t<n;t++)or(e[t])}function cr(e,t){const n=J&&J.running;n?e.tState=0:e.state=0;for(let i=0;i<e.sources.length;i+=1){const r=e.sources[i];if(r.sources){const u=n?r.tState:r.state;u===yt?r!==t&&(!r.updatedAt||r.updatedAt<mr)&&or(r):u===Nn&&cr(r,t)}}}function qa(e){const t=J&&J.running;for(let n=0;n<e.observers.length;n+=1){const i=e.observers[n];(t?!i.tState:!i.state)&&(t?i.tState=Nn:i.state=Nn,i.pure?ut.push(i):rt.push(i),i.observers&&qa(i))}}function Jt(e){let t;if(e.sources)for(;e.sources.length;){const n=e.sources.pop(),i=e.sourceSlots.pop(),r=n.observers;if(r&&r.length){const u=r.pop(),a=n.observerSlots.pop();i<r.length&&(u.sourceSlots[a]=i,r[i]=u,n.observerSlots[i]=a)}}if(e.tOwned){for(t=e.tOwned.length-1;t>=0;t--)Jt(e.tOwned[t]);delete e.tOwned}if(J&&J.running&&e.pure)Ha(e,!0);else if(e.owned){for(t=e.owned.length-1;t>=0;t--)Jt(e.owned[t]);e.owned=null}if(e.cleanups){for(t=e.cleanups.length-1;t>=0;t--)e.cleanups[t]();e.cleanups=null}J&&J.running?e.tState=0:e.state=0}function Ha(e,t){if(t||(e.tState=0,J.disposed.add(e)),e.owned)for(let n=0;n<e.owned.length;n++)Ha(e.owned[n])}function nr(e){return e instanceof Error?e:new Error(typeof e=="string"?e:"Unknown error",{cause:e})}function Hi(e,t=we){throw nr(e)}function Oi(e){if(typeof e=="function"&&!e.length)return Oi(e());if(Array.isArray(e)){const t=[];for(let n=0;n<e.length;n++){const i=Oi(e[n]);if(Array.isArray(i))if(i.length<32768)t.push.apply(t,i);else for(let r=0;r<i.length;r++)t.push(i[r]);else t.push(i)}return t}return e}function Eo(e,t){return function(i){let r;return re(()=>r=at(()=>(we.context={...we.context,[e]:i.value},qi(()=>i.children))),void 0),r}}const xo=Symbol("fallback");function gu(e){for(let t=0;t<e.length;t++)e[t]()}function yo(e,t,n={}){let i=[],r=[],u=[],a=0,s=t.length>1?[]:null;return st(()=>gu(u)),()=>{let o=e()||[],c=o.length,l,d;return o[ar],at(()=>{let p,b,f,h,_,m,w,y,x;if(c===0)a!==0&&(gu(u),u=[],i=[],r=[],a=0,s&&(s=[])),n.fallback&&(i=[xo],r[0]=an(k=>(u[0]=k,n.fallback())),a=1);else if(a===0){for(r=new Array(c),d=0;d<c;d++)i[d]=o[d],r[d]=an(g);a=c}else{for(f=new Array(c),h=new Array(c),s&&(_=new Array(c)),m=0,w=Math.min(a,c);m<w&&i[m]===o[m];m++);for(w=a-1,y=c-1;w>=m&&y>=m&&i[w]===o[y];w--,y--)f[y]=r[w],h[y]=u[w],s&&(_[y]=s[w]);for(p=new Map,b=new Array(y+1),d=y;d>=m;d--)x=o[d],l=p.get(x),b[d]=l===void 0?-1:l,p.set(x,d);for(l=m;l<=w;l++)x=i[l],d=p.get(x),d!==void 0&&d!==-1?(f[d]=r[l],h[d]=u[l],s&&(_[d]=s[l]),d=b[d],p.set(x,d)):u[l]();for(d=m;d<c;d++)d in f?(r[d]=f[d],u[d]=h[d],s&&(s[d]=_[d],s[d](d))):r[d]=an(g);r=r.slice(0,a=c),i=o.slice(0)}return r});function g(p){if(u[d]=p,s){const[b,f]=z(d);return s[d]=f,t(o[d],b)}return t(o[d])}}}function S(e,t){return at(()=>e(t||{}))}function Zn(){return!0}const Ii={get(e,t,n){return t===gt?n:e.get(t)},has(e,t){return t===gt?!0:e.has(t)},set:Zn,deleteProperty:Zn,getOwnPropertyDescriptor(e,t){return{configurable:!0,enumerable:!0,get(){return e.get(t)},set:Zn,deleteProperty:Zn}},ownKeys(e){return e.keys()}};function Mr(e){return(e=typeof e=="function"?e():e)?e:{}}function vo(){for(let e=0,t=this.length;e<t;++e){const n=this[e]();if(n!==void 0)return n}}function $i(...e){let t=!1;for(let a=0;a<e.length;a++){const s=e[a];t=t||!!s&> in s,e[a]=typeof s=="function"?(t=!0,pe(s)):s}if($a&&t)return new Proxy({get(a){for(let s=e.length-1;s>=0;s--){const o=Mr(e[s])[a];if(o!==void 0)return o}},has(a){for(let s=e.length-1;s>=0;s--)if(a in Mr(e[s]))return!0;return!1},keys(){const a=[];for(let s=0;s<e.length;s++)a.push(...Object.keys(Mr(e[s])));return[...new Set(a)]}},Ii);const n={},i=Object.create(null);for(let a=e.length-1;a>=0;a--){const s=e[a];if(!s)continue;const o=Object.getOwnPropertyNames(s);for(let c=o.length-1;c>=0;c--){const l=o[c];if(l==="__proto__"||l==="constructor")continue;const d=Object.getOwnPropertyDescriptor(s,l);if(!i[l])i[l]=d.get?{enumerable:!0,configurable:!0,get:vo.bind(n[l]=[d.get.bind(s)])}:d.value!==void 0?d:void 0;else{const g=n[l];g&&(d.get?g.push(d.get.bind(s)):d.value!==void 0&&g.push(()=>d.value))}}}const r={},u=Object.keys(i);for(let a=u.length-1;a>=0;a--){const s=u[a],o=i[s];o&&o.get?Object.defineProperty(r,s,o):r[s]=o?o.value:void 0}return r}function wo(e,...t){const n=t.length;if($a&> in e){const r=n>1?t.flat():t[0],u=t.map(a=>new Proxy({get(s){return a.includes(s)?e[s]:void 0},has(s){return a.includes(s)&&s in e},keys(){return a.filter(s=>s in e)}},Ii));return u.push(new Proxy({get(a){return r.includes(a)?void 0:e[a]},has(a){return r.includes(a)?!1:a in e},keys(){return Object.keys(e).filter(a=>!r.includes(a))}},Ii)),u}const i=[];for(let r=0;r<=n;r++)i[r]={};for(const r of Object.getOwnPropertyNames(e)){let u=n;for(let o=0;o<t.length;o++)if(t[o].includes(r)){u=o;break}const a=Object.getOwnPropertyDescriptor(e,r);!a.get&&!a.set&&a.enumerable&&a.writable&&a.configurable?i[u][r]=a.value:Object.defineProperty(i[u],r,a)}return i}const ko=e=>`Stale read from <${e}>.`;function Ot(e){const t="fallback"in e&&{fallback:()=>e.fallback};return pe(yo(()=>e.each,e.children,t||void 0))}function ee(e){const t=e.keyed,n=pe(()=>e.when,void 0,void 0),i=t?n:pe(n,void 0,{equals:(r,u)=>!r==!u});return pe(()=>{const r=i();if(r){const u=e.children;return typeof u=="function"&&u.length>0?at(()=>u(t?r:()=>{if(!at(i))throw ko("Show");return n()})):u}return e.fallback},void 0,void 0)}const Ao=Er();function yr(e){let t=0,n,i,r,u,a;const[s,o]=z(!1),c=ho(),l={increment:()=>{++t===1&&o(!0)},decrement:()=>{--t===0&&o(!1)},inFallback:s,effects:[],resolved:!1},d=Ui();if(ke.context&&ke.load){const b=ke.getContextId();let f=ke.load(b);if(f&&(typeof f!="object"||f.s!==1?r=f:ke.gather(b)),r&&r!=="$$f"){const[h,_]=z(void 0,{equals:!1});u=h,r.then(()=>{if(ke.done)return _();ke.gather(b),kn(i),_(),kn()},m=>{a=m,_()})}}const g=_n(Ao);g&&(n=g.register(l.inFallback));let p;return st(()=>p&&p()),S(c.Provider,{value:l,get children(){return pe(()=>{if(a)throw a;if(i=ke.context,u)return u(),u=void 0;i&&r==="$$f"&&kn();const b=pe(()=>e.children);return pe(f=>{const h=l.inFallback(),{showContent:_=!0,showFallback:m=!0}=n?n():{};if((!h||r&&r!=="$$f")&&_)return l.resolved=!0,p&&p(),p=i=r=void 0,go(l.effects),b();if(m)return p?f:an(w=>(p=w,i&&(kn({id:i.id+"F",count:0}),i=void 0),e.fallback),d)})})}})}const Co=["allowfullscreen","async","alpha","autofocus","autoplay","checked","controls","default","disabled","formnovalidate","hidden","indeterminate","inert","ismap","loop","multiple","muted","nomodule","novalidate","open","playsinline","readonly","required","reversed","seamless","selected","adauctionheaders","browsingtopics","credentialless","defaultchecked","defaultmuted","defaultselected","defer","disablepictureinpicture","disableremoteplayback","preservespitch","shadowrootclonable","shadowrootcustomelementregistry","shadowrootdelegatesfocus","shadowrootserializable","sharedstoragewritable"],So=new Set(["className","value","readOnly","noValidate","formNoValidate","isMap","noModule","playsInline","adAuctionHeaders","allowFullscreen","browsingTopics","defaultChecked","defaultMuted","defaultSelected","disablePictureInPicture","disableRemotePlayback","preservesPitch","shadowRootClonable","shadowRootCustomElementRegistry","shadowRootDelegatesFocus","shadowRootSerializable","sharedStorageWritable",...Co]),No=new Set(["innerHTML","textContent","innerText","children"]),To=Object.assign(Object.create(null),{className:"class",htmlFor:"for"}),Do=Object.assign(Object.create(null),{class:"className",novalidate:{$:"noValidate",FORM:1},formnovalidate:{$:"formNoValidate",BUTTON:1,INPUT:1},ismap:{$:"isMap",IMG:1},nomodule:{$:"noModule",SCRIPT:1},playsinline:{$:"playsInline",VIDEO:1},readonly:{$:"readOnly",INPUT:1,TEXTAREA:1},adauctionheaders:{$:"adAuctionHeaders",IFRAME:1},allowfullscreen:{$:"allowFullscreen",IFRAME:1},browsingtopics:{$:"browsingTopics",IMG:1},defaultchecked:{$:"defaultChecked",INPUT:1},defaultmuted:{$:"defaultMuted",AUDIO:1,VIDEO:1},defaultselected:{$:"defaultSelected",OPTION:1},disablepictureinpicture:{$:"disablePictureInPicture",VIDEO:1},disableremoteplayback:{$:"disableRemotePlayback",AUDIO:1,VIDEO:1},preservespitch:{$:"preservesPitch",AUDIO:1,VIDEO:1},shadowrootclonable:{$:"shadowRootClonable",TEMPLATE:1},shadowrootdelegatesfocus:{$:"shadowRootDelegatesFocus",TEMPLATE:1},shadowrootserializable:{$:"shadowRootSerializable",TEMPLATE:1},sharedstoragewritable:{$:"sharedStorageWritable",IFRAME:1,IMG:1}});function Ro(e,t){const n=Do[e];return typeof n=="object"?n[t]?n.$:void 0:n}const Oo=new Set(["beforeinput","click","dblclick","contextmenu","focusin","focusout","input","keydown","keyup","mousedown","mousemove","mouseout","mouseover","mouseup","pointerdown","pointermove","pointerout","pointerover","pointerup","touchend","touchmove","touchstart"]),ze=e=>pe(()=>e());function Io(e,t,n){let i=n.length,r=t.length,u=i,a=0,s=0,o=t[r-1].nextSibling,c=null;for(;a<r||s<u;){if(t[a]===n[s]){a++,s++;continue}for(;t[r-1]===n[u-1];)r--,u--;if(r===a){const l=u<i?s?n[s-1].nextSibling:n[u-s]:o;for(;s<u;)e.insertBefore(n[s++],l)}else if(u===s)for(;a<r;)(!c||!c.has(t[a]))&&t[a].remove(),a++;else if(t[a]===n[u-1]&&n[s]===t[r-1]){const l=t[--r].nextSibling;e.insertBefore(n[s++],t[a++].nextSibling),e.insertBefore(n[--u],l),t[r]=n[u]}else{if(!c){c=new Map;let d=s;for(;d<u;)c.set(n[d],d++)}const l=c.get(t[a]);if(l!=null)if(s<l&&l<u){let d=a,g=1,p;for(;++d<r&&d<u&&!((p=c.get(t[d]))==null||p!==l+g);)g++;if(g>l-s){const b=t[a];for(;s<l;)e.insertBefore(n[s++],b)}else e.replaceChild(n[s++],t[a++])}else a++;else t[a++].remove()}}}const hu="_$DX_DELEGATE";function $o(e,t,n,i={}){let r;return an(u=>{r=u,t===document?e():v(t,e(),t.firstChild?null:void 0,n)},i.owner),()=>{r(),t.textContent=""}}function T(e,t,n,i){let r;const u=()=>{const s=document.createElement("template");return s.innerHTML=e,s.content.firstChild},a=()=>(r||(r=u())).cloneNode(!0);return a.cloneNode=a,a}function ct(e,t=window.document){const n=t[hu]||(t[hu]=new Set);for(let i=0,r=e.length;i<r;i++){const u=e[i];n.has(u)||(n.add(u),t.addEventListener(u,Uo))}}function Ge(e,t,n){Ln(e)||(n==null?e.removeAttribute(t):e.setAttribute(t,n))}function Mo(e,t,n){Ln(e)||(n?e.setAttribute(t,""):e.removeAttribute(t))}function Xe(e,t){Ln(e)||(t==null?e.removeAttribute("class"):e.className=t)}function lr(e,t,n,i){if(i)Array.isArray(n)?(e[`$$${t}`]=n[0],e[`$$${t}Data`]=n[1]):e[`$$${t}`]=n;else if(Array.isArray(n)){const r=n[0];e.addEventListener(t,n[0]=u=>r.call(e,n[1],u))}else e.addEventListener(t,n,typeof n!="function"&&n)}function Lo(e,t,n={}){const i=Object.keys(t||{}),r=Object.keys(n);let u,a;for(u=0,a=r.length;u<a;u++){const s=r[u];!s||s==="undefined"||t[s]||(mu(e,s,!1),delete n[s])}for(u=0,a=i.length;u<a;u++){const s=i[u],o=!!t[s];!s||s==="undefined"||n[s]===o||!o||(mu(e,s,!0),n[s]=o)}return n}function Gi(e,t,n){if(!t)return n?Ge(e,"style"):t;const i=e.style;if(typeof t=="string")return i.cssText=t;typeof n=="string"&&(i.cssText=n=void 0),n||(n={}),t||(t={});let r,u;for(u in n)t[u]==null&&i.removeProperty(u),delete n[u];for(u in t)r=t[u],r!==n[u]&&(i.setProperty(u,r),n[u]=r);return n}function fn(e,t,n){n!=null?e.style.setProperty(t,n):e.style.removeProperty(t)}function Fo(e,t={},n,i){const r={};return re(()=>r.children=Tn(e,t.children,r.children)),re(()=>typeof t.ref=="function"&&Ht(t.ref,e)),re(()=>Po(e,t,n,!0,r,!0)),r}function Ht(e,t,n){return at(()=>e(t,n))}function v(e,t,n,i){if(n!==void 0&&!i&&(i=[]),typeof t!="function")return Tn(e,t,i,n);re(r=>Tn(e,t(),r,n),i)}function Po(e,t,n,i,r={},u=!1){t||(t={});for(const a in r)if(!(a in t)){if(a==="children")continue;r[a]=_u(e,a,null,r[a],n,u,t)}for(const a in t){if(a==="children")continue;const s=t[a];r[a]=_u(e,a,s,r[a],n,u,t)}}function Ln(e){return!!ke.context&&!ke.done&&(!e||e.isConnected)}function Bo(e){return e.toLowerCase().replace(/-([a-z])/g,(t,n)=>n.toUpperCase())}function mu(e,t,n){const i=t.trim().split(/\s+/);for(let r=0,u=i.length;r<u;r++)e.classList.toggle(i[r],n)}function _u(e,t,n,i,r,u,a){let s,o,c,l,d;if(t==="style")return Gi(e,n,i);if(t==="classList")return Lo(e,n,i);if(n===i)return i;if(t==="ref")u||n(e);else if(t.slice(0,3)==="on:"){const g=t.slice(3);i&&e.removeEventListener(g,i,typeof i!="function"&&i),n&&e.addEventListener(g,n,typeof n!="function"&&n)}else if(t.slice(0,10)==="oncapture:"){const g=t.slice(10);i&&e.removeEventListener(g,i,!0),n&&e.addEventListener(g,n,!0)}else if(t.slice(0,2)==="on"){const g=t.slice(2).toLowerCase(),p=Oo.has(g);if(!p&&i){const b=Array.isArray(i)?i[0]:i;e.removeEventListener(g,b)}(p||n)&&(lr(e,g,n,p),p&&ct([g]))}else if(t.slice(0,5)==="attr:")Ge(e,t.slice(5),n);else if(t.slice(0,5)==="bool:")Mo(e,t.slice(5),n);else if((d=t.slice(0,5)==="prop:")||(c=No.has(t))||(l=Ro(t,e.tagName))||(o=So.has(t))||(s=e.nodeName.includes("-")||"is"in a)){if(d)t=t.slice(5),o=!0;else if(Ln(e))return n;t==="class"||t==="className"?Xe(e,n):s&&!o&&!c?e[Bo(t)]=n:e[l||t]=n}else Ge(e,To[t]||t,n);return n}function Uo(e){if(ke.registry&&ke.events&&ke.events.find(([o,c])=>c===e))return;let t=e.target;const n=`$$${e.type}`,i=e.target,r=e.currentTarget,u=o=>Object.defineProperty(e,"target",{configurable:!0,value:o}),a=()=>{const o=t[n];if(o&&!t.disabled){const c=t[`${n}Data`];if(c!==void 0?o.call(t,c,e):o.call(t,e),e.cancelBubble)return}return t.host&&typeof t.host!="string"&&!t.host._$host&&t.contains(e.target)&&u(t.host),!0},s=()=>{for(;a()&&(t=t._$host||t.parentNode||t.host););};if(Object.defineProperty(e,"currentTarget",{configurable:!0,get(){return t||document}}),ke.registry&&!ke.done&&(ke.done=_$HY.done=!0),e.composedPath){const o=e.composedPath();u(o[0]);for(let c=0;c<o.length-2&&(t=o[c],!!a());c++){if(t._$host){t=t._$host,s();break}if(t.parentNode===r)break}}else s();u(i)}function Tn(e,t,n,i,r){const u=Ln(e);if(u){!n&&(n=[...e.childNodes]);let o=[];for(let c=0;c<n.length;c++){const l=n[c];l.nodeType===8&&l.data.slice(0,2)==="!$"?l.remove():o.push(l)}n=o}for(;typeof n=="function";)n=n();if(t===n)return n;const a=typeof t,s=i!==void 0;if(e=s&&n[0]&&n[0].parentNode||e,a==="string"||a==="number"){if(u||a==="number"&&(t=t.toString(),t===n))return n;if(s){let o=n[0];o&&o.nodeType===3?o.data!==t&&(o.data=t):o=document.createTextNode(t),n=ln(e,n,i,o)}else n!==""&&typeof n=="string"?n=e.firstChild.data=t:n=e.textContent=t}else if(t==null||a==="boolean"){if(u)return n;n=ln(e,n,i)}else{if(a==="function")return re(()=>{let o=t();for(;typeof o=="function";)o=o();n=Tn(e,o,n,i)}),()=>n;if(Array.isArray(t)){const o=[],c=n&&Array.isArray(n);if(Mi(o,t,n,r))return re(()=>n=Tn(e,o,n,i,!0)),()=>n;if(u){if(!o.length)return n;if(i===void 0)return n=[...e.childNodes];let l=o[0];if(l.parentNode!==e)return n;const d=[l];for(;(l=l.nextSibling)!==i;)d.push(l);return n=d}if(o.length===0){if(n=ln(e,n,i),s)return n}else c?n.length===0?Eu(e,o,i):Io(e,n,o):(n&&ln(e),Eu(e,o));n=o}else if(t.nodeType){if(u&&t.parentNode)return n=s?[t]:t;if(Array.isArray(n)){if(s)return n=ln(e,n,i,t);ln(e,n,null,t)}else n==null||n===""||!e.firstChild?e.appendChild(t):e.replaceChild(t,e.firstChild);n=t}}return n}function Mi(e,t,n,i){let r=!1;for(let u=0,a=t.length;u<a;u++){let s=t[u],o=n&&n[e.length],c;if(!(s==null||s===!0||s===!1))if((c=typeof s)=="object"&&s.nodeType)e.push(s);else if(Array.isArray(s))r=Mi(e,s,o)||r;else if(c==="function")if(i){for(;typeof s=="function";)s=s();r=Mi(e,Array.isArray(s)?s:[s],Array.isArray(o)?o:[o])||r}else e.push(s),r=!0;else{const l=String(s);o&&o.nodeType===3&&o.data===l?e.push(o):e.push(document.createTextNode(l))}}return r}function Eu(e,t,n=null){for(let i=0,r=t.length;i<r;i++)e.insertBefore(t[i],n)}function ln(e,t,n,i){if(n===void 0)return e.textContent="";const r=i||document.createTextNode("");if(t.length){let u=!1;for(let a=t.length-1;a>=0;a--){const s=t[a];if(r!==s){const o=s.parentNode===e;!u&&!a?o?e.replaceChild(r,s):e.insertBefore(r,n):o&&s.remove()}else u=!0}}else e.insertBefore(r,n);return[r]}const zo=!1;function Ga(){let e=new Set;function t(r){return e.add(r),()=>e.delete(r)}let n=!1;function i(r,u){if(n)return!(n=!1);const a={to:r,options:u,defaultPrevented:!1,preventDefault:()=>a.defaultPrevented=!0};for(const s of e)s.listener({...a,from:s.location,retry:o=>{o&&(n=!0),s.navigate(r,{...u,resolve:!1})}});return!a.defaultPrevented}return{subscribe:t,confirm:i}}let Li;function Ki(){(!window.history.state||window.history.state._depth==null)&&window.history.replaceState({...window.history.state,_depth:window.history.length-1},""),Li=window.history.state._depth}Ki();function qo(e){return{...e,_depth:window.history.state&&window.history.state._depth}}function Ho(e,t){let n=!1;return()=>{const i=Li;Ki();const r=i==null?null:Li-i;if(n){n=!1;return}r&&t(r)?(n=!0,window.history.go(-r)):e()}}const Go=/^(?:[a-z0-9]+:)?\/\//i,Ko=/^\/+|(\/)\/+$/g,Ka="http://sr";function sn(e,t=!1){const n=e.replace(Ko,"$1");return n?t||/^[?#]/.test(n)?n:"/"+n:""}function rr(e,t,n){if(Go.test(t))return;const i=sn(e),r=n&&sn(n);let u="";return!r||t.startsWith("/")?u=i:r.toLowerCase().indexOf(i.toLowerCase())!==0?u=i+r:u=r,(u||"/")+sn(t,!u)}function Wo(e,t){if(e==null)throw new Error(t);return e}function jo(e,t){return sn(e).replace(/\/*(\*.*)?$/g,"")+sn(t)}function Wa(e){const t={};return e.searchParams.forEach((n,i)=>{i in t?Array.isArray(t[i])?t[i].push(n):t[i]=[t[i],n]:t[i]=n}),t}function Zo(e,t,n){const[i,r]=e.split("/*",2),u=i.split("/").filter(Boolean),a=u.length;return s=>{const o=s.split("/").filter(Boolean),c=o.length-a;if(c<0||c>0&&r===void 0&&!t)return null;const l={path:a?"":"/",params:{}},d=g=>n===void 0?void 0:n[g];for(let g=0;g<a;g++){const p=u[g],b=p[0]===":",f=b?o[g]:o[g].toLowerCase(),h=b?p.slice(1):p.toLowerCase();if(b&&Lr(f,d(h)))l.params[h]=f;else if(b||!Lr(f,h))return null;l.path+=`/${f}`}if(r){const g=c?o.slice(-c).join("/"):"";if(Lr(g,d(r)))l.params[r]=g;else return null}return l}}function Lr(e,t){const n=i=>i===e;return t===void 0?!0:typeof t=="string"?n(t):typeof t=="function"?t(e):Array.isArray(t)?t.some(n):t instanceof RegExp?t.test(e):!1}function Vo(e){const[t,n]=e.pattern.split("/*",2),i=t.split("/").filter(Boolean);return i.reduce((r,u)=>r+(u.startsWith(":")?2:3),i.length-(n===void 0?0:1))}function ja(e){const t=new Map,n=Ui();return new Proxy({},{get(i,r){return t.has(r)||zi(n,()=>t.set(r,pe(()=>e()[r]))),t.get(r)()},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}},ownKeys(){return Reflect.ownKeys(e())},has(i,r){return r in e()}})}function Yo(e,t){const n=new URLSearchParams(e);Object.entries(t).forEach(([r,u])=>{u==null||u===""||u instanceof Array&&!u.length?n.delete(r):u instanceof Array?(n.delete(r),u.forEach(a=>{n.append(r,String(a))})):n.set(r,String(u))});const i=n.toString();return i?`?${i}`:""}function Za(e){let t=/(\/?\:[^\/]+)\?/.exec(e);if(!t)return[e];let n=e.slice(0,t.index),i=e.slice(t.index+t[0].length);const r=[n,n+=t[1]];for(;t=/^(\/\:[^\/]+)\?/.exec(i);)r.push(n+=t[1]),i=i.slice(t[0].length);return Za(i).reduce((u,a)=>[...u,...r.map(s=>s+a)],[])}const Xo=100,Va=Er(),Wi=Er(),Fn=()=>Wo(_n(Va),"<A> and 'use' router primitives can be only used inside a Route."),Qo=()=>_n(Wi)||Fn().base,Jo=e=>{const t=Qo();return pe(()=>t.resolvePath(e()))},ec=e=>{const t=Fn();return pe(()=>{const n=e();return n!==void 0?t.renderPath(n):n})},Pn=()=>Fn().navigatorFactory(),Bn=()=>Fn().location,vr=()=>Fn().params,tc=()=>{const e=Bn(),t=Pn(),n=(i,r)=>{const u=at(()=>Yo(e.search,i)+e.hash);t(u,{scroll:!1,resolve:!1,...r})};return[e.query,n]};function nc(e,t=""){const{component:n,preload:i,load:r,children:u,info:a}=e,s=!u||Array.isArray(u)&&!u.length,o={key:e,component:n,preload:i||r,info:a};return Ya(e.path).reduce((c,l)=>{for(const d of Za(l)){const g=jo(t,d);let p=s?g:g.split("/*",1)[0];p=p.split("/").map(b=>b.startsWith(":")||b.startsWith("*")?b:encodeURIComponent(b)).join("/"),c.push({...o,originalPath:l,pattern:p,matcher:Zo(p,!s,e.matchFilters)})}return c},[])}function rc(e,t=0){return{routes:e,score:Vo(e[e.length-1])*1e4-t,matcher(n){const i=[];for(let r=e.length-1;r>=0;r--){const u=e[r],a=u.matcher(n);if(!a)return null;i.unshift({...a,route:u})}return i}}}function Ya(e){return Array.isArray(e)?e:[e]}function Xa(e,t="",n=[],i=[]){const r=Ya(e);for(let u=0,a=r.length;u<a;u++){const s=r[u];if(s&&typeof s=="object"){s.hasOwnProperty("path")||(s.path="");const o=nc(s,t);for(const c of o){n.push(c);const l=Array.isArray(s.children)&&s.children.length===0;if(s.children&&!l)Xa(s.children,c.pattern,n,i);else{const d=rc([...n],i.length);i.push(d)}n.pop()}}}return n.length?i:i.sort((u,a)=>a.score-u.score)}function Fr(e,t){for(let n=0,i=e.length;n<i;n++){const r=e[n].matcher(t);if(r)return r}return[]}function ic(e,t,n){const i=new URL(Ka),r=pe(l=>{const d=e();try{return new URL(d,i)}catch{return console.error(`Invalid path ${d}`),l}},i,{equals:(l,d)=>l.href===d.href}),u=pe(()=>r().pathname),a=pe(()=>r().search,!0),s=pe(()=>r().hash),o=()=>"",c=_r(a,()=>Wa(r()));return{get pathname(){return u()},get search(){return a()},get hash(){return s()},get state(){return t()},get key(){return o()},query:n?n(c):ja(c)}}let un;function uc(){return un}function ac(e,t,n,i={}){const{signal:[r,u],utils:a={}}=e,s=a.parsePath||(F=>F),o=a.renderPath||(F=>F),c=a.beforeLeave||Ga(),l=rr("",i.base||"");if(l===void 0)throw new Error(`${l} is not a valid base path`);l&&!r().value&&u({value:l,replace:!0,scroll:!1});const[d,g]=z(!1);let p;const b=(F,L)=>{L.value===f()&&L.state===_()||(p===void 0&&g(!0),un=F,p=L,bo(()=>{p===L&&(h(p.value),m(p.state),x[1](W=>W.filter(P=>P.pending)))}).finally(()=>{p===L&&Fa(()=>{un=void 0,F==="navigate"&&q(p),g(!1),p=void 0})}))},[f,h]=z(r().value),[_,m]=z(r().state),w=ic(f,_,a.queryWrapper),y=[],x=z([]),k=pe(()=>typeof i.transformUrl=="function"?Fr(t(),i.transformUrl(w.pathname)):Fr(t(),w.pathname)),D=()=>{const F=k(),L={};for(let W=0;W<F.length;W++)Object.assign(L,F[W].params);return L},A=a.paramsWrapper?a.paramsWrapper(D,t):ja(D),N={pattern:l,path:()=>l,outlet:()=>null,resolvePath(F){return rr(l,F)}};return re(_r(r,F=>b("native",F),{defer:!0})),{base:N,location:w,params:A,isRouting:d,renderPath:o,parsePath:s,navigatorFactory:O,matches:k,beforeLeave:c,preloadRoute:K,singleFlight:i.singleFlight===void 0?!0:i.singleFlight,submissions:x};function R(F,L,W){at(()=>{if(typeof L=="number"){L&&(a.go?a.go(L):console.warn("Router integration does not support relative routing"));return}const P=!L||L[0]==="?",{replace:j,resolve:$,scroll:B,state:Z}={replace:!1,resolve:!P,scroll:!0,...W},M=$?F.resolvePath(L):rr(P&&w.pathname||"",L);if(M===void 0)throw new Error(`Path '${L}' is not a routable path`);if(y.length>=Xo)throw new Error("Too many redirects");const Ee=f();(M!==Ee||Z!==_())&&(zo||c.confirm(M,W)&&(y.push({value:Ee,replace:j,scroll:B,state:_()}),b("navigate",{value:M,state:Z})))})}function O(F){return F=F||_n(Wi)||N,(L,W)=>R(F,L,W)}function q(F){const L=y[0];L&&(u({...F,replace:L.replace,scroll:L.scroll}),y.length=0)}function K(F,L){const W=Fr(t(),F.pathname),P=un;un="preload";for(let j in W){const{route:$,params:B}=W[j];$.component&&$.component.preload&&$.component.preload();const{preload:Z}=$;L&&Z&&zi(n(),()=>Z({params:B,location:{pathname:F.pathname,search:F.search,hash:F.hash,query:Wa(F),state:null,key:""},intent:"preload"}))}un=P}}function sc(e,t,n,i){const{base:r,location:u,params:a}=e,{pattern:s,component:o,preload:c}=i().route,l=pe(()=>i().path);o&&o.preload&&o.preload();const d=c?c({params:a,location:u,intent:un||"initial"}):void 0;return{parent:t,pattern:s,path:l,outlet:()=>o?S(o,{params:a,location:u,data:d,get children(){return n()}}):n(),resolvePath(p){return rr(r.path(),p,l())}}}const oc=e=>t=>{const{base:n}=t,i=qi(()=>t.children),r=pe(()=>Xa(i(),t.base||""));let u;const a=ac(e,r,()=>u,{base:n,singleFlight:t.singleFlight,transformUrl:t.transformUrl});return e.create&&e.create(a),S(Va.Provider,{value:a,get children(){return S(cc,{routerState:a,get root(){return t.root},get preload(){return t.rootPreload||t.rootLoad},get children(){return[ze(()=>(u=Ui())&&null),S(lc,{routerState:a,get branches(){return r()}})]}})}})};function cc(e){const t=e.routerState.location,n=e.routerState.params,i=pe(()=>e.preload&&at(()=>{e.preload({params:n,location:t,intent:uc()||"initial"})}));return S(ee,{get when(){return e.root},keyed:!0,get fallback(){return e.children},children:r=>S(r,{params:n,location:t,get data(){return i()},get children(){return e.children}})})}function lc(e){const t=[];let n;const i=pe(_r(e.routerState.matches,(r,u,a)=>{let s=u&&r.length===u.length;const o=[];for(let c=0,l=r.length;c<l;c++){const d=u&&u[c],g=r[c];a&&d&&g.route.key===d.route.key?o[c]=a[c]:(s=!1,t[c]&&t[c](),an(p=>{t[c]=p,o[c]=sc(e.routerState,o[c-1]||e.routerState.base,xu(()=>i()[c+1]),()=>{const b=e.routerState.matches();return b[c]??b[0]})}))}return t.splice(r.length).forEach(c=>c()),a&&s?a:(n=o[0],o)}));return xu(()=>i()&&n)()}const xu=e=>()=>S(ee,{get when(){return e()},keyed:!0,children:t=>S(Wi.Provider,{value:t,get children(){return t.outlet()}})}),nn=e=>{const t=qi(()=>e.children);return $i(e,{get children(){return t()}})};function dc([e,t],n,i){return[e,i?r=>t(i(r)):t]}function fc(e){let t=!1;const n=r=>typeof r=="string"?{value:r}:r,i=dc(z(n(e.get()),{equals:(r,u)=>r.value===u.value&&r.state===u.state}),void 0,r=>(!t&&e.set(r),ke.registry&&!ke.done&&(ke.done=!0),r));return e.init&&st(e.init((r=e.get())=>{t=!0,i[1](n(r)),t=!1})),oc({signal:i,create:e.create,utils:e.utils})}function pc(e,t,n){return e.addEventListener(t,n),()=>e.removeEventListener(t,n)}function bc(e,t){const n=e&&document.getElementById(e);n?n.scrollIntoView():t&&window.scrollTo(0,0)}const gc=new Map;function hc({preload:e=!0,explicitLinks:t=!1,actionBase:n="/_server",transformUrl:i}={}){return r=>{const u=r.base.path(),a=r.navigatorFactory(r.base);let s,o;function c(f){return f.namespaceURI==="http://www.w3.org/2000/svg"}function l(f){if(f.defaultPrevented||f.button!==0||f.metaKey||f.altKey||f.ctrlKey||f.shiftKey)return;const h=f.composedPath().find(k=>k instanceof Node&&k.nodeName.toUpperCase()==="A");if(!h||t&&!h.hasAttribute("link"))return;const _=c(h),m=_?h.href.baseVal:h.href;if((_?h.target.baseVal:h.target)||!m&&!h.hasAttribute("state"))return;const y=(h.getAttribute("rel")||"").split(/\s+/);if(h.hasAttribute("download")||y&&y.includes("external"))return;const x=_?new URL(m,document.baseURI):new URL(m);if(!(x.origin!==window.location.origin||u&&x.pathname&&!x.pathname.toLowerCase().startsWith(u.toLowerCase())))return[h,x]}function d(f){const h=l(f);if(!h)return;const[_,m]=h,w=r.parsePath(m.pathname+m.search+m.hash),y=_.getAttribute("state");f.preventDefault(),a(w,{resolve:!1,replace:_.hasAttribute("replace"),scroll:!_.hasAttribute("noscroll"),state:y?JSON.parse(y):void 0})}function g(f){const h=l(f);if(!h)return;const[_,m]=h;i&&(m.pathname=i(m.pathname)),r.preloadRoute(m,_.getAttribute("preload")!=="false")}function p(f){clearTimeout(s);const h=l(f);if(!h)return o=null;const[_,m]=h;o!==_&&(i&&(m.pathname=i(m.pathname)),s=setTimeout(()=>{r.preloadRoute(m,_.getAttribute("preload")!=="false"),o=_},20))}function b(f){if(f.defaultPrevented)return;let h=f.submitter&&f.submitter.hasAttribute("formaction")?f.submitter.getAttribute("formaction"):f.target.getAttribute("action");if(!h)return;if(!h.startsWith("https://action/")){const m=new URL(h,Ka);if(h=r.parsePath(m.pathname+m.search),!h.startsWith(n))return}if(f.target.method.toUpperCase()!=="POST")throw new Error("Only POST forms are supported for Actions");const _=gc.get(h);if(_){f.preventDefault();const m=new FormData(f.target,f.submitter);_.call({r,f:f.target},f.target.enctype==="multipart/form-data"?m:new URLSearchParams(m))}}ct(["click","submit"]),document.addEventListener("click",d),e&&(document.addEventListener("mousemove",p,{passive:!0}),document.addEventListener("focusin",g,{passive:!0}),document.addEventListener("touchstart",g,{passive:!0})),document.addEventListener("submit",b),st(()=>{document.removeEventListener("click",d),e&&(document.removeEventListener("mousemove",p),document.removeEventListener("focusin",g),document.removeEventListener("touchstart",g)),document.removeEventListener("submit",b)})}}function mc(e){const t=()=>{const i=window.location.pathname.replace(/^\/+/,"/")+window.location.search,r=window.history.state&&window.history.state._depth&&Object.keys(window.history.state).length===1?void 0:window.history.state;return{value:i+window.location.hash,state:r}},n=Ga();return fc({get:t,set({value:i,replace:r,scroll:u,state:a}){r?window.history.replaceState(qo(a),"",i):window.history.pushState(a,"",i),bc(decodeURIComponent(window.location.hash.slice(1)),u),Ki()},init:i=>pc(window,"popstate",Ho(i,r=>{if(r)return!n.confirm(r);{const u=t();return!n.confirm(u.value,{state:u.state})}})),create:hc({preload:e.preload,explicitLinks:e.explicitLinks,actionBase:e.actionBase,transformUrl:e.transformUrl}),utils:{go:i=>window.history.go(i),beforeLeave:n}})(e)}var _c=T("<a>");function It(e){e=$i({inactiveClass:"inactive",activeClass:"active"},e);const[,t]=wo(e,["href","state","class","activeClass","inactiveClass","end"]),n=Jo(()=>e.href),i=ec(n),r=Bn(),u=pe(()=>{const a=n();if(a===void 0)return[!1,!1];const s=sn(a.split(/[?#]/,1)[0]).toLowerCase(),o=decodeURI(sn(r.pathname).toLowerCase());return[e.end?s===o:o.startsWith(s+"/")||o===s,s===o]});return(()=>{var a=_c();return Fo(a,$i(t,{get href(){return i()||e.href},get state(){return JSON.stringify(e.state)},get classList(){return{...e.class&&{[e.class]:!0},[e.inactiveClass]:!u()[0],[e.activeClass]:u()[0],...t.classList}},link:"",get"aria-current"(){return u()[1]?"page":void 0}}),!1),a})()}function Ec(e){const t=Pn(),n=Bn(),{href:i,state:r}=e,u=typeof i=="function"?i({navigate:t,location:n}):i;return t(u,{replace:!0,state:r}),null}const dr=Symbol("store-raw"),on=Symbol("store-node"),Tt=Symbol("store-has"),Qa=Symbol("store-self");function Ja(e){let t=e[gt];if(!t&&(Object.defineProperty(e,gt,{value:t=new Proxy(e,vc)}),!Array.isArray(e))){const n=Object.keys(e),i=Object.getOwnPropertyDescriptors(e),r=Object.getPrototypeOf(e),u=r!==null&&e!==null&&typeof e=="object"&&!Array.isArray(e)&&r!==Object.prototype;if(u){const a=Object.getOwnPropertyDescriptors(r);n.push(...Object.keys(a)),Object.assign(i,a)}for(let a=0,s=n.length;a<s;a++){const o=n[a];u&&o==="constructor"||i[o].get&&Object.defineProperty(e,o,{configurable:!0,enumerable:i[o].enumerable,get:i[o].get.bind(t)})}}return t}function pn(e){let t;return e!=null&&typeof e=="object"&&(e[gt]||!(t=Object.getPrototypeOf(e))||t===Object.prototype||Array.isArray(e))}function bn(e,t=new Set){let n,i,r,u;if(n=e!=null&&e[dr])return n;if(!pn(e)||t.has(e))return e;if(Array.isArray(e)){Object.isFrozen(e)?e=e.slice(0):t.add(e);for(let a=0,s=e.length;a<s;a++)r=e[a],(i=bn(r,t))!==r&&(e[a]=i)}else{Object.isFrozen(e)?e=Object.assign({},e):t.add(e);const a=Object.keys(e),s=Object.getOwnPropertyDescriptors(e);for(let o=0,c=a.length;o<c;o++)u=a[o],!s[u].get&&(r=e[u],(i=bn(r,t))!==r&&(e[u]=i))}return e}function fr(e,t){let n=e[t];return n||Object.defineProperty(e,t,{value:n=Object.create(null)}),n}function Dn(e,t,n){if(e[t])return e[t];const[i,r]=z(n,{equals:!1,internal:!0});return i.$=r,e[t]=i}function xc(e,t){const n=Reflect.getOwnPropertyDescriptor(e,t);return!n||n.get||!n.configurable||t===gt||t===on||(delete n.value,delete n.writable,n.get=()=>e[gt][t]),n}function es(e){Ri()&&Dn(fr(e,on),Qa)()}function yc(e){return es(e),Reflect.ownKeys(e)}const vc={get(e,t,n){if(t===dr)return e;if(t===gt)return n;if(t===ar)return es(e),n;const i=fr(e,on),r=i[t];let u=r?r():e[t];if(t===on||t===Tt||t==="__proto__")return u;if(!r){const a=Object.getOwnPropertyDescriptor(e,t);Ri()&&(typeof u!="function"||e.hasOwnProperty(t))&&!(a&&a.get)&&(u=Dn(i,t,u)())}return pn(u)?Ja(u):u},has(e,t){return t===dr||t===gt||t===ar||t===on||t===Tt||t==="__proto__"?!0:(Ri()&&Dn(fr(e,Tt),t)(),t in e)},set(){return!0},deleteProperty(){return!0},ownKeys:yc,getOwnPropertyDescriptor:xc};function gn(e,t,n,i=!1){if(t==="__proto__"||!i&&e[t]===n)return;const r=e[t],u=e.length;n===void 0?(delete e[t],e[Tt]&&e[Tt][t]&&r!==void 0&&e[Tt][t].$()):(e[t]=n,e[Tt]&&e[Tt][t]&&r===void 0&&e[Tt][t].$());let a=fr(e,on),s;if((s=Dn(a,t,r))&&s.$(()=>n),Array.isArray(e)&&e.length!==u){for(let o=e.length;o<u;o++)(s=a[o])&&s.$();(s=Dn(a,"length",u))&&s.$(e.length)}(s=a[Qa])&&s.$()}function ts(e,t){const n=Object.keys(t);for(let i=0;i<n.length;i+=1){const r=n[i];ns(r)||gn(e,r,t[r])}}function ns(e){return e==="__proto__"||e==="constructor"||e==="prototype"}function wc(e,t){if(typeof t=="function"&&(t=t(e)),t=bn(t),Array.isArray(t)){if(e===t)return;let n=0,i=t.length;for(;n<i;n++){const r=t[n];e[n]!==r&&gn(e,n,r)}gn(e,"length",i)}else ts(e,t)}function An(e,t,n=[]){let i,r=e;if(t.length>1){i=t.shift();const a=typeof i,s=Array.isArray(e);if(a==="string"&&(i==="__proto__"||t.length>1&&ns(i)))return;if(Array.isArray(i)){for(let o=0;o<i.length;o++)An(e,[i[o]].concat(t),n);return}else if(s&&a==="function"){for(let o=0;o<e.length;o++)i(e[o],o)&&An(e,[o].concat(t),n);return}else if(s&&a==="object"){const{from:o=0,to:c=e.length-1,by:l=1}=i;for(let d=o;d<=c;d+=l)An(e,[d].concat(t),n);return}else if(t.length>1){An(e[i],t,[i].concat(n));return}r=e[i],n=[i].concat(n)}let u=t[0];typeof u=="function"&&(u=u(r,n),u===r)||i===void 0&&u==null||(u=bn(u),i===void 0||pn(r)&&pn(u)&&!Array.isArray(u)?ts(r,u):gn(e,i,u))}function kc(...[e,t]){const n=bn(e||{}),i=Array.isArray(n),r=Ja(n);function u(...a){Fa(()=>{i&&a.length===1?wc(n,a[0]):An(n,a)})}return[r,u]}const pr=new WeakMap,rs={get(e,t){if(t===dr)return e;const n=e[t];if(t===gt||t===ar||t===on||t===Tt||t==="__proto__")return n;let i;return pn(n)?pr.get(n)||(pr.set(n,i=new Proxy(n,rs)),i):n},set(e,t,n){return gn(e,t,bn(n)),!0},deleteProperty(e,t){return gn(e,t,void 0,!0),!0}};function xt(e){return t=>{if(pn(t)){let n;(n=pr.get(t))||pr.set(t,n=new Proxy(t,rs)),e(n)}return t}}function Be(e){return`/api/projects/${encodeURIComponent(e)}`}async function Fi(e){const t=await e.text();if(!t)return"";try{return JSON.parse(t).error??t}catch{return t}}async function $e(e,t){const n=await fetch(e,t);if(!n.ok){const i=await Fi(n);throw new Error(`${n.status} ${i||n.statusText}`)}return n.json()}const Ae={listSpecs:e=>$e(`${Be(e)}/specs`),getSpec:(e,t)=>$e(`${Be(e)}/specs/${encodeURIComponent(t)}`),deleteSpec:(e,t)=>$e(`${Be(e)}/specs/${encodeURIComponent(t)}`,{method:"DELETE"}),setStage:(e,t,n)=>$e(`${Be(e)}/specs/${encodeURIComponent(t)}/stage`,{method:"PATCH",headers:{"content-type":"application/json"},body:JSON.stringify({stage:n})}),createSpec:(e,t)=>fetch(`${Be(e)}/specs`,{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify(t)}).then(async n=>{if(!n.ok){const i=await Fi(n);throw new Error(`${n.status} ${i||n.statusText}`)}return n.json()}),appendAnnotation:(e,t,n)=>$e(`${Be(e)}/specs/${encodeURIComponent(t)}/inputs`,{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify({kind:"annotate",...n})}),submitQuestionAnswers:(e,t,n)=>$e(`${Be(e)}/specs/${encodeURIComponent(t)}/questions/answers`,{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify(n)}),runAgent:(e,t)=>$e(`${Be(e)}/specs/${encodeURIComponent(t)}/run`,{method:"POST",headers:{"content-type":"application/json"},body:"{}"}),appendItem:(e,t,n)=>$e(`${Be(e)}/specs/${encodeURIComponent(t)}/appends`,{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify(n)}),explain:(e,t,n)=>$e(`${Be(e)}/specs/${encodeURIComponent(t)}/explain`,{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify({text:n})}),triggerReview:(e,t)=>$e(`${Be(e)}/specs/${encodeURIComponent(t)}/review`,{method:"POST",headers:{"content-type":"application/json"},body:"{}"}),gitOp:(e,t,n)=>$e(`${Be(e)}/specs/${encodeURIComponent(t)}/git`,{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify({action:n})}),getChanges:(e,t)=>$e(`${Be(e)}/specs/${encodeURIComponent(t)}/changes`),directCommit:(e,t,n)=>$e(`${Be(e)}/specs/${encodeURIComponent(t)}/commit`,{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify(n)}),directDiscard:(e,t,n)=>$e(`${Be(e)}/specs/${encodeURIComponent(t)}/discard`,{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify(n)}),directStash:(e,t,n)=>$e(`${Be(e)}/specs/${encodeURIComponent(t)}/stash`,{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify(n)}),getReview:(e,t)=>$e(`${Be(e)}/specs/${encodeURIComponent(t)}/review`),listProjects:()=>$e("/api/projects"),removeProject:e=>$e(`/api/projects/${encodeURIComponent(e)}`,{method:"DELETE"}),removeProjectWithFiles:e=>$e(`/api/projects/${encodeURIComponent(e)}?deleteFiles=true`,{method:"DELETE"}),createWorktree:(e,t)=>$e(`/api/projects/${encodeURIComponent(e)}/worktrees`,{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify(t)}),mergeWorktreeToMain:(e,t)=>$e(`/api/projects/${encodeURIComponent(e)}/merge-main`,{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify(t)}),getProjectConfig:e=>$e(`/api/projects/${encodeURIComponent(e)}/config`),updateProjectConfig:(e,t)=>$e(`/api/projects/${encodeURIComponent(e)}/config`,{method:"PUT",headers:{"content-type":"application/json"},body:JSON.stringify(t)}),createDraft:e=>$e(`${Be(e)}/spec-drafts`,{method:"POST",headers:{"content-type":"application/json"},body:"{}"}),uploadAttachment:async(e,t,n)=>{const i=new FormData;i.append("file",n,n.name);const r=await fetch(`${Be(e)}/spec-drafts/${encodeURIComponent(t)}/attachments`,{method:"POST",body:i});if(!r.ok){const u=await Fi(r);throw new Error(`${r.status} ${u||r.statusText}`)}return r.json()},deleteAttachment:(e,t,n)=>$e(`${Be(e)}/spec-drafts/${encodeURIComponent(t)}/attachments/${encodeURIComponent(n)}`,{method:"DELETE"}),renameAttachment:(e,t,n,i)=>$e(`${Be(e)}/spec-drafts/${encodeURIComponent(t)}/attachments/${encodeURIComponent(n)}`,{method:"PATCH",headers:{"content-type":"application/json"},body:JSON.stringify({name:i})}),draftAttachmentUrl:(e,t,n)=>`${Be(e)}/spec-drafts/${encodeURIComponent(t)}/attachments/${encodeURIComponent(n)}`,specAttachmentUrl:(e,t,n)=>`${Be(e)}/specs/${encodeURIComponent(t)}/attachments/${encodeURIComponent(n)}`,listAgentLogs:(e,t)=>$e(`${Be(e)}/specs/${encodeURIComponent(t)}/agent-logs`),getAgentLog:(e,t,n)=>$e(`${Be(e)}/specs/${encodeURIComponent(t)}/agent-logs/${encodeURIComponent(n)}`),listFiles:(e,t,n=50)=>$e(`${Be(e)}/files?query=${encodeURIComponent(t)}&limit=${n}`)},[br,Ac]=z(Cc());function Cc(){if(typeof window>"u")return"";const e=window.location.pathname.match(/^\/([^/]+)/);return e&&e[1]!=="api"?e[1]:""}function xn(){const e=vr();return()=>e.projectId??br()}function $t(e="",t){const n=br();if(!n)return e.startsWith("/")?e:`/${e}`;const i=e.startsWith("/")?e:e?`/${e}`:"";return`/${n}${i}`}function is(e){return`/api/projects/${encodeURIComponent(e)}`}function Sc(){const e=globalThis;return e.crypto?.randomUUID?e.crypto.randomUUID():`c-${Date.now().toString(36)}-${Math.random().toString(36).slice(2,10)}`}class Nc{clientId=Sc();source=null;handlers=new Map;syncTimer=null;syncInFlight=!1;syncPending=!1;subscribe(t,n){let i=this.handlers.get(t);return i||(i=new Set,this.handlers.set(t,i)),i.add(n),this.ensureOpen(),this.scheduleSync(),()=>{const r=this.handlers.get(t);r&&(r.delete(n),r.size===0&&this.handlers.delete(t),this.scheduleSync())}}readyState(){return this.source?.readyState??2}ensureOpen(){if(this.source)return;const t=`/api/events/stream?clientId=${encodeURIComponent(this.clientId)}`,n=new EventSource(t);this.source=n,n.addEventListener("open",()=>{this.scheduleSync(!0)}),n.addEventListener("server-heartbeat",i=>{let r={ts:Date.now()};try{r=JSON.parse(i.data)}catch{}for(const u of this.handlers.values())for(const a of u)try{a("server-heartbeat",r)}catch{}}),n.addEventListener("msg",i=>{let r;try{r=JSON.parse(i.data)}catch{return}const u=this.handlers.get(r.topic);if(u)for(const a of u)try{a(r.event,r.data)}catch{}}),n.addEventListener("error",()=>{})}scheduleSync(t=!1){if(this.syncTimer)return;const n=t?0:20;this.syncTimer=setTimeout(()=>{this.syncTimer=null,this.runSync()},n)}async runSync(){if(this.syncInFlight){this.syncPending=!0;return}this.syncInFlight=!0;try{const t=[...this.handlers.keys()].sort();await fetch("/api/events/subscribe",{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify({clientId:this.clientId,topics:t})})}catch{}finally{this.syncInFlight=!1,this.syncPending&&(this.syncPending=!1,this.scheduleSync(!0))}}}let yn=new Nc;function ji(e){const t=e;return t.readyState=()=>yn.readyState(),t}function Tc(e,t,n){if(!e){const u=(()=>{});return u.readyState=()=>2,u}const i=`project:${e}:spec:${t}`,r=yn.subscribe(i,(u,a)=>{switch(u){case"updated":n.onUpdated?.();break;case"agent-stdout":n.onAgentStdout?.(a);break;case"agent-exit":n.onAgentExit?.(a);break;case"agent-error":n.onAgentError?.(a);break;case"server-heartbeat":n.onServerHeartbeat?.(a);break}});return ji(r)}function Dc(e,t,n){if(!e){const u=(()=>{});return u.readyState=()=>2,u}const i=`project:${e}:run:${t}`,r=yn.subscribe(i,(u,a)=>{switch(u){case"agent-stdout":n.onAgentStdout?.(a);break;case"agent-exit":n.onAgentExit?.(a);break;case"agent-error":n.onAgentError?.(a);break;case"server-heartbeat":n.onServerHeartbeat?.(a);break}});return ji(r)}function Rc(e,t){if(!e)return()=>{};const n=`project:${e}:specs`;return yn.subscribe(n,i=>{i==="list-updated"&&t()})}function Oc(e){return yn.subscribe("projects",t=>{t==="projects-changed"&&e()})}function Ic(e,t,n){if(!e){const u=(()=>{});return u.readyState=()=>2,u}const i=`project:${e}:spec:${t}:changes`,r=yn.subscribe(i,(u,a)=>{u==="changes-updated"&&n(a.changes)});return ji(r)}async function $c(e){if(!e)return[];const t=await fetch(`${is(e)}/runs`);if(!t.ok)return[];try{return await t.json()}catch{return[]}}async function Mc(e,t){if(e)try{await fetch(`${is(e)}/runs/${encodeURIComponent(t)}/cancel`,{method:"POST"})}catch{}}function us(e){if(!e)return"";const t=e.replace(/^['"]|['"]$/g,"").trim();return/^\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}$/.test(t)||/^\d{4}-\d{2}-\d{2}$/.test(t)?t:t||""}var Lc=T("<span class=muted>主项目不可达"),Fc=T("<span class=error>"),Pc=T("<span class=muted>"),Bc=T("<div class=worktree-bar><div class=worktree-bar-info><span class=muted>主项目:</span></div><button type=button class=primary-action>"),Uc=T("<ul class=spec-grid>"),zc=T('<section class="page home-page"><header class=page-head><h1>需求列表</h1><button class=ghost>刷新'),qc=T("<p class=muted>加载中…"),Hc=T("<div class=empty><p>还没有 spec。"),Gc=T("<div class=spec-card-head><span></span><time>"),Kc=T("<h2>"),Wc=T("<p class=summary>"),jc=T("<code class=id>"),Zc=T("<p class=error>"),Vc=T("<div class=card-menu-confirm><p>确定删除此 spec?</p><div class=card-menu-confirm-actions><button type=button class=ghost>取消</button><button type=button class=danger-btn>"),Yc=T("<div class=card-menu>"),Xc=T("<li class=spec-card><button type=button class=card-menu-trigger title=更多操作 aria-label=更多操作>⋯"),Qc=T('<button type=button class="card-menu-item danger">删除');const Jc=()=>{const e=Pn(),t=xn(),[n,{refetch:i}]=Gt(t,A=>A?Ae.listSpecs(A):Promise.resolve([])),[r,{refetch:u}]=Gt(()=>Ae.listProjects()),a=pe(()=>(r()??[]).find(A=>A.id===t())),s=pe(()=>{const A=a();return A?.worktree?(r()??[]).some(N=>N.id===A.worktree.mainProjectId):!0}),[o,c]=z(!1),[l,d]=z(null),[g,p]=z(null),[b,f]=z(null),[h,_]=z(null),[m,w]=z(!1),[y,x]=z(null);Pa(()=>{const A=Oc(()=>{(async()=>{const R=a()?.worktree?.mainProjectId??null;await u();const O=t();!O||(r()??[]).some(K=>K.id===O)||R&&e(`/${encodeURIComponent(R)}`)})()}),N=R=>{const O=R.target;O.closest(".card-menu")||O.closest(".card-menu-trigger")||b()&&(f(null),_(null))};document.addEventListener("mousedown",N),st(()=>{A(),document.removeEventListener("mousedown",N)})});async function k(){const A=a();if(!A?.worktree||!s())return;const N=`feat(${A.worktree.branch}): merge from worktree`,R=window.prompt("合入主项目的 commit message",N);if(R==null)return;const O=R.trim()||N;c(!0),d(null);try{const q=await Ae.mergeWorktreeToMain(A.id,{commitMessage:O});q.status==="merged"?(p("已合入主项目,正在跳转…"),await u(),e(`/${encodeURIComponent(q.mainProjectId)}`)):(p("冲突 spec 已自动派给 Agent 处理,列表会在合并完成后自动刷新"),await u(),e(`/${encodeURIComponent(q.mainProjectId)}/specs/${encodeURIComponent(q.conflictSpecId)}`))}catch(q){d(q.message)}finally{c(!1)}}async function D(A){const N=t();if(N){w(!0),x(null);try{await Ae.deleteSpec(N,A),_(null),f(null),await i()}catch(R){x(R.message)}finally{w(!1)}}}return(()=>{var A=zc(),N=A.firstChild,R=N.firstChild,O=R.nextSibling;return O.$$click=()=>i(),v(A,S(ee,{get when(){return a()?.worktree},get children(){var q=Bc(),K=q.firstChild,F=K.firstChild;F.firstChild;var L=K.nextSibling;return v(F,()=>a().worktree.mainPath.split("/").filter(Boolean).pop()??a().worktree.mainPath,null),L.$$click=()=>void k(),v(L,()=>o()?"合并中…":"⇧ 合入主项目"),v(q,S(ee,{get when(){return!s()},get children(){return Lc()}}),null),v(q,S(ee,{get when(){return l()},get children(){var W=Fc();return v(W,l),W}}),null),v(q,S(ee,{get when(){return g()},get children(){var W=Pc();return v(W,g),W}}),null),re(W=>{var P=o()||!s(),j=s()?"提交 worktree 改动并合入主项目":"主项目不可达";return P!==W.e&&(L.disabled=W.e=P),j!==W.t&&Ge(L,"title",W.t=j),W},{e:void 0,t:void 0}),q}}),null),v(A,S(yr,{get fallback(){return qc()},get children(){return S(ee,{get when(){return(n()??[]).length>0},get fallback(){return(()=>{var q=Hc();return q.firstChild,v(q,S(It,{get href(){return $t("specs/new")},class:"primary-action",children:"+ 新建第一个 spec"}),null),q})()},get children(){var q=Uc();return v(q,S(Ot,{get each(){return n()??[]},children:K=>(()=>{var F=Xc(),L=F.firstChild;return v(F,S(It,{get href(){return $t(`specs/${encodeURIComponent(K.id)}`)},get children(){return[(()=>{var W=Gc(),P=W.firstChild,j=P.nextSibling;return v(P,()=>K.stage),v(j,()=>us(K.updated_at)),re(()=>Xe(P,`badge stage-${K.stage}`)),W})(),(()=>{var W=Kc();return v(W,()=>K.title||"(待 Agent 补全)"),W})(),(()=>{var W=Wc();return v(W,()=>K.summary||"(待 Agent 补全)"),W})(),(()=>{var W=jc();return v(W,()=>K.id),W})()]}}),L),v(F,S(ee,{get when(){return b()===K.id},get children(){var W=Yc();return W.$$click=P=>{P.preventDefault(),P.stopPropagation()},v(W,S(ee,{get when(){return h()===K.id},get fallback(){return(()=>{var P=Qc();return P.$$click=()=>_(K.id),P})()},get children(){var P=Vc(),j=P.firstChild,$=j.nextSibling,B=$.firstChild,Z=B.nextSibling;return v(P,S(ee,{get when(){return y()},get children(){var M=Zc();return v(M,y),M}}),$),B.$$click=()=>_(null),Z.$$click=()=>void D(K.id),v(Z,()=>m()?"删除中…":"确认删除"),re(M=>{var Ee=m(),Se=m();return Ee!==M.e&&(B.disabled=M.e=Ee),Se!==M.t&&(Z.disabled=M.t=Se),M},{e:void 0,t:void 0}),P}})),W}}),L),L.$$click=W=>{W.preventDefault(),W.stopPropagation(),f(P=>P===K.id?null:K.id),_(null),x(null)},F})()})),q}})}}),null),A})()};ct(["click"]);const el=2e4,tl=2e3,nl=1;function rl(){const[e,t]=kc({tasks:{},order:[]}),n={unsubByRun:new Map,watchdogTimer:null};function i(f){t(xt(h=>{const _=h.tasks[f];_&&(_.lastEventAt=Date.now())}))}function r(){for(const f of e.order){const h=e.tasks[f];if(h&&!h.dismissed&&(h.status==="pending"||h.status==="streaming"))return!0}return!1}function u(){const f=Date.now();for(const h of e.order){const _=e.tasks[h];if(!_||_.status!=="pending"&&_.status!=="streaming"||f-_.lastEventAt<=el)continue;const m=n.unsubByRun.get(h);if(m&&m.readyState()===nl)continue;t(xt(y=>{const x=y.tasks[h];x&&(x.status="failed",x.error="Server 失联,任务可能已终止",x.endedAt=Date.now())}));const w=n.unsubByRun.get(h);w&&(w(),n.unsubByRun.delete(h))}r()||s()}function a(){n.watchdogTimer==null&&(n.watchdogTimer=setInterval(u,tl))}function s(){n.watchdogTimer!=null&&(clearInterval(n.watchdogTimer),n.watchdogTimer=null)}function o(f){if(e.tasks[f.runId]){t(xt(y=>{const x=y.tasks[f.runId];x&&(x.dismissed&&(x.dismissed=!1),f.specId.startsWith("__draft__")||(x.specId=f.specId),f.specTitle&&(x.specTitle=f.specTitle))}));return}const _=f.startedAt??Date.now(),m={runId:f.runId,projectId:f.projectId,mode:f.mode,specId:f.specId,specTitle:f.specTitle,source:f.source,status:"pending",output:"",startedAt:_,lastEventAt:Date.now(),expanded:!0,dismissed:!1};t(xt(y=>{y.tasks[m.runId]=m,y.order.push(m.runId)}));const w=Dc(f.projectId,f.runId,{onAgentStdout:y=>{t(xt(x=>{const k=x.tasks[f.runId];k&&(k.output+=y.chunk,k.lastEventAt=Date.now(),k.status==="pending"&&(k.status="streaming"))}))},onServerHeartbeat:()=>{i(f.runId)},onAgentExit:y=>{t(xt(k=>{const D=k.tasks[f.runId];D&&(D.status=y.code===0?"done":"failed",D.endedAt=Date.now(),D.lastEventAt=Date.now())}));const x=n.unsubByRun.get(f.runId);x&&(x(),n.unsubByRun.delete(f.runId)),r()||s()},onAgentError:y=>{t(xt(k=>{const D=k.tasks[f.runId];D&&(D.error=y.message,D.status="failed",D.endedAt=Date.now(),D.lastEventAt=Date.now())}));const x=n.unsubByRun.get(f.runId);x&&(x(),n.unsubByRun.delete(f.runId)),r()||s()}});n.unsubByRun.set(f.runId,w),a()}function c(f){for(const h of e.order){const _=e.tasks[h];if(!_||_.status!=="pending"&&_.status!=="streaming"||f.has(h))continue;t(xt(w=>{const y=w.tasks[h];y&&(y.status="failed",y.error="Server 已重启,原任务未恢复",y.endedAt=Date.now(),y.lastEventAt=Date.now())}));const m=n.unsubByRun.get(h);m&&(m(),n.unsubByRun.delete(h))}r()||s()}function l(f){const h=e.tasks[f];h&&(h.status==="pending"||h.status==="streaming")&&Mc(h.projectId,f),t(xt(_=>{const m=_.tasks[f];m&&(m.dismissed=!0)}))}function d(f){t(xt(h=>{const _=h.tasks[f];_&&(_.expanded=!_.expanded)}))}function g(){t(xt(f=>{f.order=f.order.filter(h=>{const _=f.tasks[h];return _?_.status==="done"||_.status==="failed"?(delete f.tasks[h],!1):!0:!1})}))}function p(f){for(const h of e.order){const _=e.tasks[h];if(_&&_.mode==="skill-run"&&_.specId===f&&(_.status==="pending"||_.status==="streaming"))return!0}return!1}async function b(f){if(!f)return;let h=[];try{h=await $c(f)}catch{return}c(new Set(h.map(_=>_.runId)));for(const _ of h){const m=_.mode==="explain"?"explain":"run";o({runId:_.runId,projectId:f,mode:_.mode,specId:_.specId,source:m,startedAt:_.startedAt})}}return{state:e,start:o,dismiss:l,toggleExpand:d,clearFinished:g,hasRunningSkillRun:p,hydrateFromActiveRuns:b,reconcileWithActive:c}}const tt=an(()=>rl());var il=T("<ul class=mention-dropdown>"),ul=T("<ul class=attachment-list>"),al=T('<section class=page><header class=page-head><h1>新建 spec</h1><p class=muted>只需选择类型与录入需求内容;文件名、概要、初始骨架由 Agent 根据需求生成,Agent 创建完文档后会自动进入 plan 阶段。</p></header><form class=form><fieldset class=type-group><legend>类型</legend></fieldset><label class=worktree-toggle><input type=checkbox><span>新开项目并行</span><span class=muted>以 git worktree 形式开新分支并行开发,避免与主项目互相干扰;合并将通过列表页『合入主项目』按钮一键完成。</span></label><label><span>需求内容</span><div class=mention-container><textarea rows=10 placeholder="原始诉求、痛点、期望效果、关联文档/模块(可使用 @ 引用)"required autofocus></textarea></div></label><section class=attachments><div class=attachments-head><span class=attachments-title>附件</span><span class=muted>共 <!>/10,单文件 ≤ 5 MB;图片支持 Cmd/Ctrl-V 粘贴</span><button type=button class=ghost>导入附件</button><input type=file accept=image/*,application/pdf,text/plain,text/markdown,.md,.txt,.markdown multiple hidden></div></section><button type=submit class=primary-action>'),sl=T("<label><input type=radio name=type><strong></strong><span class=muted>"),ol=T("<li><button type=button>"),cl=T("<img>"),ll=T("<input type=text class=attachment-rename autofocus>"),dl=T('<li><div class=attachment-thumb></div><div class=attachment-meta><span class="attachment-status muted"></span></div><button type=button class="attachment-remove ghost">×'),fl=T("<span class=attachment-icon aria-hidden=true>"),pl=T("<button type=button class=attachment-name title=点击重命名>"),bl=T("<p class=error>"),gl=T("<p class=muted>Agent 正在创建 spec 文档…可在右下角 Agent 面板查看流式输出,文档落地后将自动跳转。");const hl=[{value:"feat",label:"feat",hint:"新功能"},{value:"refct",label:"refct",hint:"重构 / 抽取"},{value:"fix",label:"fix",hint:"修复缺陷"}],ml=5*1024*1024,Vn=10,_l=new Set(["application/pdf","text/plain","text/markdown"]);function El(e){const t=e.type;return t.startsWith("image/")?"image":t==="application/pdf"?"pdf":t==="text/plain"||t==="text/markdown"||t===""&&/\.(md|markdown|txt)$/i.test(e.name)?"text":null}function xl(e){return e.type?e:/\.md$/i.test(e.name)||/\.markdown$/i.test(e.name)?new File([e],e.name,{type:"text/markdown"}):/\.txt$/i.test(e.name)?new File([e],e.name,{type:"text/plain"}):e}function yl(){return Math.random().toString(36).slice(2,8)}const vl=()=>{const e=Pn(),t=xn(),[n,i]=z(""),[r,u]=z("feat"),[a,s]=z(null),[o,c]=z("idle"),[l,d]=z([]),[g,p]=z(null),[b,f]=z(null),[h,_]=z(""),[m,w]=z(!1),y=()=>o()==="creating",[x,k]=z(!1),[D,A]=z([]),[N,R]=z(0);let O=-1,q="",K=null,F=[],L=null,W=new Set,P="";const[j,$]=z(null);let B=!1,Z,M;st(()=>{L?.();for(const Y of l())Y.previewUrl&&URL.revokeObjectURL(Y.previewUrl)}),it(()=>{const Y=j();if(!Y)return;const ue=tt.state.tasks[Y];ue&&ue.status==="failed"&&(c("failed"),s(ue.error??"Agent 运行失败"),L?.(),L=null)});async function Ee(){const Y=g();if(Y)return Y;const{draftId:ue}=await Ae.createDraft(t());return p(ue),ue}function Se(Y){d(ue=>[...ue,Y])}function fe(Y,ue){d(ae=>ae.map(H=>H.id===Y?{...H,...ue}:H))}function Le(Y){d(ue=>{const ae=[];for(const H of ue){if(H.id===Y){H.previewUrl&&URL.revokeObjectURL(H.previewUrl);continue}ae.push(H)}return ae})}async function I(Y){s(null);const ue=l(),ae=Vn-ue.length;if(ae<=0){s(`附件总数不能超过 ${Vn} 个`);return}const H=[];for(const be of Y.slice(0,ae)){const se=xl(be),Ne=El(se);if(!Ne){s(`不支持的文件类型:${se.name}`);continue}if(Ne!=="image"&&!_l.has(se.type)){s(`不支持的 MIME:${se.type||"(未知)"}`);continue}if(se.size>ml){s(`${se.name} 超过 5 MB 限制`);continue}const Ke=`att-${Date.now()}-${yl()}`,qe=Ne==="image"?URL.createObjectURL(se):void 0;H.push({id:Ke,file:se,name:se.name,kind:Ne,previewUrl:qe,status:"pending"})}if(H.length!==0){Y.length>ae&&s(`只能再添加 ${ae} 个附件(当前 ${ue.length}/${Vn})`);for(const be of H)Se(be);try{const be=await Ee();for(const se of H)try{const Ne=await Ae.uploadAttachment(t(),be,se.file);fe(se.id,{storedName:Ne.storedName,name:Ne.storedName,status:"uploaded"})}catch(Ne){fe(se.id,{status:"failed",error:Ne.message})}}catch(be){s(be.message);for(const se of H)fe(se.id,{status:"failed",error:be.message})}}}async function te(Y){const ue=Y.currentTarget;if(!ue.files)return;const ae=Array.from(ue.files);ue.value="",await I(ae)}async function X(Y){const ue=Y.clipboardData?.items;if(!ue)return;const ae=[];for(const H of Array.from(ue))if(H.kind==="file"&&H.type.startsWith("image/")){const be=H.getAsFile();be&&ae.push(be)}ae.length!==0&&(Y.preventDefault(),await I(ae))}function ge(Y){const ue=Y.selectionStart,ae=Y.value.slice(0,ue),H=ae.lastIndexOf("@");if(H===-1){he();return}if(H>0&&!/\s/.test(ae[H-1])){he();return}const be=ae.slice(H+1);if(!/^[\w./@-]*$/.test(be)){he();return}O=H,q=be,x()||k(!0),Re(be)}function he(){k(!1),A([]),R(0),O=-1,q="",F=[],K&&(clearTimeout(K),K=null)}function Re(Y){K&&clearTimeout(K),K=setTimeout(async()=>{const ue=t();if(ue)try{const ae=await Ae.listFiles(ue,Y);F=[],A(ae.items),R(0)}catch{A([])}},150)}function ye(Y){const ue=n(),ae=ue.slice(0,O),H=ue.slice(O+1+q.length),be="@"+Y,se=ae+be+H;if(i(se),he(),M){const Ne=ae.length+be.length;requestAnimationFrame(()=>{M.focus(),M.setSelectionRange(Ne,Ne)})}}function Qe(){const Y=F[N()];Y&&Y.scrollIntoView({block:"nearest"})}function lt(Y){if(!x())return;const ue=D();if(ue.length!==0)if(Y.key==="ArrowDown")Y.preventDefault(),R(ae=>(ae+1)%ue.length),requestAnimationFrame(Qe);else if(Y.key==="ArrowUp")Y.preventDefault(),R(ae=>(ae-1+ue.length)%ue.length),requestAnimationFrame(Qe);else if(Y.key==="Enter"||Y.key==="Tab"){if(Y.key==="Enter"&&Y.isComposing)return;Y.preventDefault(),ye(ue[N()])}else Y.key==="Escape"&&(Y.preventDefault(),he())}async function Je(Y){const ue=l().find(ae=>ae.id===Y);if(ue){if(ue.storedName&&g())try{await Ae.deleteAttachment(t(),g(),ue.storedName)}catch(ae){s(ae.message)}Le(Y)}}function Kt(Y){_(yu(Y.name)),f(Y.id)}async function wt(Y){const ue=h().trim();if(f(null),!(!ue||!Y.storedName||!g())&&ue!==yu(Y.name))try{const ae=await Ae.renameAttachment(t(),g(),Y.storedName,ue);fe(Y.id,{storedName:ae.storedName,name:ae.storedName})}catch(ae){s(ae.message)}}async function kt(){if(B)return;const Y=P||t();try{const ae=(await Ae.listSpecs(Y)).find(H=>!W.has(H.id));if(ae){B=!0;const H=j();L?.(),L=null;const se=(Y?`/${Y}/specs/${encodeURIComponent(ae.id)}`:$t(`specs/${encodeURIComponent(ae.id)}`))+(H?`?runId=${encodeURIComponent(H)}`:"");e(se)}}catch{}}async function Wt(Y){if(Y.preventDefault(),o()==="creating")return;s(null);const ue=n().trim();if(ue.length<5){s("请至少输入 5 个字符的需求描述");return}const ae=l().filter(be=>be.status==="failed");if(ae.length>0){s(`有 ${ae.length} 个附件上传失败,请先移除或重试`);return}if(l().filter(be=>be.status==="pending").length>0){s("附件仍在上传中,请稍候");return}c("creating"),B=!1;try{const be=t();let se=be;if(m()){const je=wl(ue);se=(await Ae.createWorktree(be,{specSlug:je})).id}P=se;const Ne=await Ae.listSpecs(se);W=new Set(Ne.map(je=>je.id));const Ke={type:r(),requirement:ue},qe=g();qe&&(Ke.draftId=qe);const Oe=await Ae.createSpec(se,Ke);"draft"in Oe&&Oe.draft?($(Oe.runId),tt.start({runId:Oe.runId,projectId:se,mode:"skill-run",specId:`__draft__-${Oe.runId}`,specTitle:"(新建 spec 中)",source:"draft"}),L=Rc(se,()=>{kt()}),kt()):"id"in Oe&&e(`/${se}/specs/${encodeURIComponent(Oe.id)}`)}catch(be){s(be.message),c("failed")}}return(()=>{var Y=al(),ue=Y.firstChild,ae=ue.nextSibling,H=ae.firstChild;H.firstChild;var be=H.nextSibling,se=be.firstChild,Ne=be.nextSibling,Ke=Ne.firstChild,qe=Ke.nextSibling,Oe=qe.firstChild,je=Ne.nextSibling,bt=je.firstChild,Ft=bt.firstChild,At=Ft.nextSibling,_t=At.firstChild,Pt=_t.nextSibling;Pt.nextSibling;var Ct=At.nextSibling,Bt=Ct.nextSibling,jt=je.nextSibling;ae.addEventListener("submit",Wt),v(H,()=>hl.map(xe=>(()=>{var me=sl(),E=me.firstChild,C=E.nextSibling,U=C.nextSibling;return E.addEventListener("change",()=>u(xe.value)),v(C,()=>xe.label),v(U,()=>xe.hint),re(ie=>{var Me=`type-pill ${r()===xe.value?"active":""}`,de=y();return Me!==ie.e&&Xe(me,ie.e=Me),de!==ie.t&&(E.disabled=ie.t=de),ie},{e:void 0,t:void 0}),re(()=>E.value=xe.value),re(()=>E.checked=r()===xe.value),me})()),null),se.addEventListener("change",xe=>w(xe.currentTarget.checked)),Oe.addEventListener("paste",X),Oe.addEventListener("blur",()=>setTimeout(()=>he(),150)),Oe.$$keydown=lt,Oe.$$input=xe=>{i(xe.currentTarget.value),ge(xe.currentTarget)};var Te=M;typeof Te=="function"?Ht(Te,Oe):M=Oe,v(qe,S(ee,{get when(){return ze(()=>!!x())()&&D().length>0},get children(){var xe=il();return v(xe,S(Ot,{get each(){return D()},children:(me,E)=>(()=>{var C=ol(),U=C.firstChild;return Ht(ie=>F[E()]=ie,C),U.$$mousedown=ie=>{ie.preventDefault(),ye(me)},U.addEventListener("mouseenter",()=>R(E())),v(U,me),re(()=>Xe(U,`mention-item ${N()===E()?"active":""}`)),C})()})),xe}}),null),je.addEventListener("paste",X),v(At,()=>l().length,Pt),Ct.$$click=()=>Z?.click(),Bt.addEventListener("change",te);var Ut=Z;return typeof Ut=="function"?Ht(Ut,Bt):Z=Bt,v(je,S(ee,{get when(){return l().length>0},get children(){var xe=ul();return v(xe,S(Ot,{get each(){return l()},children:me=>(()=>{var E=dl(),C=E.firstChild,U=C.nextSibling,ie=U.firstChild,Me=U.nextSibling;return v(C,S(ee,{get when(){return ze(()=>me.kind==="image")()&&me.previewUrl},get fallback(){return(()=>{var de=fl();return v(de,()=>me.kind==="pdf"?"PDF":"TXT"),de})()},get children(){var de=cl();return re(V=>{var ne=me.previewUrl,le=me.name;return ne!==V.e&&Ge(de,"src",V.e=ne),le!==V.t&&Ge(de,"alt",V.t=le),V},{e:void 0,t:void 0}),de}})),v(U,S(ee,{get when(){return b()===me.id},get fallback(){return(()=>{var de=pl();return de.$$click=()=>Kt(me),v(de,()=>me.name),re(()=>de.disabled=y()||me.status!=="uploaded"),de})()},get children(){var de=ll();return de.$$keydown=V=>{V.key==="Enter"?(V.preventDefault(),wt(me)):V.key==="Escape"&&f(null)},de.addEventListener("blur",()=>void wt(me)),de.$$input=V=>_(V.currentTarget.value),re(()=>de.value=h()),de}}),ie),v(ie,S(ee,{get when(){return me.status==="pending"},children:"上传中…"}),null),v(ie,S(ee,{get when(){return me.status==="failed"},get children(){return["失败:",ze(()=>me.error)]}}),null),v(ie,S(ee,{get when(){return me.status==="uploaded"},get children(){return[ze(()=>Math.round(me.file.size/1024))," KB · ",ze(()=>me.kind)]}}),null),Me.$$click=()=>void Je(me.id),re(de=>{var V=`attachment-item kind-${me.kind} status-${me.status}`,ne=y(),le=`删除 ${me.name}`;return V!==de.e&&Xe(E,de.e=V),ne!==de.t&&(Me.disabled=de.t=ne),le!==de.a&&Ge(Me,"aria-label",de.a=le),de},{e:void 0,t:void 0,a:void 0}),E})()})),xe}}),null),v(ae,(()=>{var xe=ze(()=>!!a());return()=>xe()&&(()=>{var me=bl();return v(me,a),me})()})(),jt),v(jt,()=>y()?"Agent 创建中…":"创建并启动 Agent"),v(ae,(()=>{var xe=ze(()=>!!y());return()=>xe()&&gl()})(),null),re(xe=>{var me=y(),E=y(),C=y(),U=y()||l().length>=Vn,ie=y();return me!==xe.e&&(H.disabled=xe.e=me),E!==xe.t&&(se.disabled=xe.t=E),C!==xe.a&&(Oe.disabled=xe.a=C),U!==xe.o&&(Ct.disabled=xe.o=U),ie!==xe.i&&(jt.disabled=xe.i=ie),xe},{e:void 0,t:void 0,a:void 0,o:void 0,i:void 0}),re(()=>se.checked=m()),re(()=>Oe.value=n()),Y})()};function yu(e){const t=e.lastIndexOf(".");return t<=0?e:e.slice(0,t)}function wl(e){const n=(e.split(/\r?\n/)[0]??"").toLowerCase().replace(/[^a-z0-9]+/g,"-").replace(/^-+|-+$/g,"").slice(0,40);return n&&!/^[0-9]+$/.test(n)?n:`spec-${Date.now().toString(36)}`}ct(["input","keydown","click","mousedown"]);const vu={};function kl(e){let t=vu[e];if(t)return t;t=vu[e]=[];for(let n=0;n<128;n++){const i=String.fromCharCode(n);t.push(i)}for(let n=0;n<e.length;n++){const i=e.charCodeAt(n);t[i]="%"+("0"+i.toString(16).toUpperCase()).slice(-2)}return t}function hn(e,t){typeof t!="string"&&(t=hn.defaultChars);const n=kl(t);return e.replace(/(%[a-f0-9]{2})+/gi,function(i){let r="";for(let u=0,a=i.length;u<a;u+=3){const s=parseInt(i.slice(u+1,u+3),16);if(s<128){r+=n[s];continue}if((s&224)===192&&u+3<a){const o=parseInt(i.slice(u+4,u+6),16);if((o&192)===128){const c=s<<6&1984|o&63;c<128?r+="��":r+=String.fromCharCode(c),u+=3;continue}}if((s&240)===224&&u+6<a){const o=parseInt(i.slice(u+4,u+6),16),c=parseInt(i.slice(u+7,u+9),16);if((o&192)===128&&(c&192)===128){const l=s<<12&61440|o<<6&4032|c&63;l<2048||l>=55296&&l<=57343?r+="���":r+=String.fromCharCode(l),u+=6;continue}}if((s&248)===240&&u+9<a){const o=parseInt(i.slice(u+4,u+6),16),c=parseInt(i.slice(u+7,u+9),16),l=parseInt(i.slice(u+10,u+12),16);if((o&192)===128&&(c&192)===128&&(l&192)===128){let d=s<<18&1835008|o<<12&258048|c<<6&4032|l&63;d<65536||d>1114111?r+="����":(d-=65536,r+=String.fromCharCode(55296+(d>>10),56320+(d&1023))),u+=9;continue}}r+="�"}return r})}hn.defaultChars=";/?:@&=+$,#";hn.componentChars="";const wu={};function Al(e){let t=wu[e];if(t)return t;t=wu[e]=[];for(let n=0;n<128;n++){const i=String.fromCharCode(n);/^[0-9a-z]$/i.test(i)?t.push(i):t.push("%"+("0"+n.toString(16).toUpperCase()).slice(-2))}for(let n=0;n<e.length;n++)t[e.charCodeAt(n)]=e[n];return t}function Un(e,t,n){typeof t!="string"&&(n=t,t=Un.defaultChars),typeof n>"u"&&(n=!0);const i=Al(t);let r="";for(let u=0,a=e.length;u<a;u++){const s=e.charCodeAt(u);if(n&&s===37&&u+2<a&&/^[0-9a-f]{2}$/i.test(e.slice(u+1,u+3))){r+=e.slice(u,u+3),u+=2;continue}if(s<128){r+=i[s];continue}if(s>=55296&&s<=57343){if(s>=55296&&s<=56319&&u+1<a){const o=e.charCodeAt(u+1);if(o>=56320&&o<=57343){r+=encodeURIComponent(e[u]+e[u+1]),u++;continue}}r+="%EF%BF%BD";continue}r+=encodeURIComponent(e[u])}return r}Un.defaultChars=";/?:@&=+$,-_.!~*'()#";Un.componentChars="-_.!~*'()";function Zi(e){let t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&e.hostname.indexOf(":")!==-1?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||"",t}function gr(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}const Cl=/^([a-z0-9.+-]+:)/i,Sl=/:[0-9]*$/,Nl=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,Tl=["<",">",'"',"`"," ","\r",`
|
|
2
|
-
`," "],Dl=["{","}","|","\\","^","`"].concat(Tl),Rl=["'"].concat(Dl),ku=["%","/","?",";","#"].concat(Rl),Au=["/","?","#"],Ol=255,Cu=/^[+a-z0-9A-Z_-]{0,63}$/,Il=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,Su={javascript:!0,"javascript:":!0},Nu={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function Vi(e,t){if(e&&e instanceof gr)return e;const n=new gr;return n.parse(e,t),n}gr.prototype.parse=function(e,t){let n,i,r,u=e;if(u=u.trim(),!t&&e.split("#").length===1){const c=Nl.exec(u);if(c)return this.pathname=c[1],c[2]&&(this.search=c[2]),this}let a=Cl.exec(u);if(a&&(a=a[0],n=a.toLowerCase(),this.protocol=a,u=u.substr(a.length)),(t||a||u.match(/^\/\/[^@\/]+@[^@\/]+/))&&(r=u.substr(0,2)==="//",r&&!(a&&Su[a])&&(u=u.substr(2),this.slashes=!0)),!Su[a]&&(r||a&&!Nu[a])){let c=-1;for(let b=0;b<Au.length;b++)i=u.indexOf(Au[b]),i!==-1&&(c===-1||i<c)&&(c=i);let l,d;c===-1?d=u.lastIndexOf("@"):d=u.lastIndexOf("@",c),d!==-1&&(l=u.slice(0,d),u=u.slice(d+1),this.auth=l),c=-1;for(let b=0;b<ku.length;b++)i=u.indexOf(ku[b]),i!==-1&&(c===-1||i<c)&&(c=i);c===-1&&(c=u.length),u[c-1]===":"&&c--;const g=u.slice(0,c);u=u.slice(c),this.parseHost(g),this.hostname=this.hostname||"";const p=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!p){const b=this.hostname.split(/\./);for(let f=0,h=b.length;f<h;f++){const _=b[f];if(_&&!_.match(Cu)){let m="";for(let w=0,y=_.length;w<y;w++)_.charCodeAt(w)>127?m+="x":m+=_[w];if(!m.match(Cu)){const w=b.slice(0,f),y=b.slice(f+1),x=_.match(Il);x&&(w.push(x[1]),y.unshift(x[2])),y.length&&(u=y.join(".")+u),this.hostname=w.join(".");break}}}}this.hostname.length>Ol&&(this.hostname=""),p&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}const s=u.indexOf("#");s!==-1&&(this.hash=u.substr(s),u=u.slice(0,s));const o=u.indexOf("?");return o!==-1&&(this.search=u.substr(o),u=u.slice(0,o)),u&&(this.pathname=u),Nu[n]&&this.hostname&&!this.pathname&&(this.pathname=""),this};gr.prototype.parseHost=function(e){let t=Sl.exec(e);t&&(t=t[0],t!==":"&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)};const $l=Object.freeze(Object.defineProperty({__proto__:null,decode:hn,encode:Un,format:Zi,parse:Vi},Symbol.toStringTag,{value:"Module"})),as=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,ss=/[\0-\x1F\x7F-\x9F]/,Ml=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u0890\u0891\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC3F]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/,Yi=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDEAD\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3E]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2\uDF00-\uDF09]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDF43-\uDF4F\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A\uDFE2]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/,os=/[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u0888\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20C0\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFF\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u31EF\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBC2\uFD40-\uFD4F\uFDCF\uFDFC-\uFDFF\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD833[\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEDC-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF76\uDF7B-\uDFD9\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDE53\uDE60-\uDE6D\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC5\uDECE-\uDEDB\uDEE0-\uDEE8\uDEF0-\uDEF8\uDF00-\uDF92\uDF94-\uDFCA]/,cs=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,Ll=Object.freeze(Object.defineProperty({__proto__:null,Any:as,Cc:ss,Cf:Ml,P:Yi,S:os,Z:cs},Symbol.toStringTag,{value:"Module"})),Fl=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏઑඡ༉༦ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲϏϢϸontourIntegraìȹoɴ\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲy;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱còJTabcdfgorstרׯؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ߂ߐĀiyޱrc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣসে্ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४ĀnrࢃgleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpwਖਛgȀLRlr৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼અઋp;椅y;䐜Ādl੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑඞcy;䐊cute;䅃ƀaeyહાron;䅇dil;䅅;䐝ƀgswે૰ativeƀMTV૨ediumSpace;怋hiĀcn૦ëeryThiîtedĀGLଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷreak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪௫ఄ಄ದൡඅ櫬Āoungruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater;EFGLSTஶஷ扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨setĀ;Eೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂෛ෧ขภยา฿ไlig;䅒cute耻Ó䃓Āiyීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲcr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬืde耻Õ䃕es;樷ml耻Ö䃖erĀBP๋Āar๐๓r;怾acĀek๚;揞et;掴arenthesis;揜ҀacfhilorsງຊຏຒດຝະrtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ檻cedesȀ;EST່້扺qual;檯lantEqual;扼ilde;找me;怳Ādpuct;戏ortionĀ;aȥl;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL憒ar;懥eftArrow;懄eiling;按oǵ\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄቕቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHcቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗ĀeiቻDzኀ\0ኇefore;戴a;䎘ĀcnኘkSpace;쀀 Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtèa;䎖r;愨pf;愤cr;쀀𝒵ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒;Eaeiopᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;eᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;eᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰᝃᝈ០៦ᠹᡐᜍ᥈ᥰot;櫭ĀcrᛶkȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;tbrk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯᝳ;䎲;愶een;扬r;쀀𝔟gcostuvwឍឝឳេ៕៛ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀakoᠦᠵĀcn៲ᠣkƀlst֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ;敛;敘;攘;攔;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģbar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;elƀ;bhᥨᥩᥫ䁜;槅sub;柈ŬᥴlĀ;e怢t»pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭒\0᯽\0ᰌƀcprᦲute;䄇̀;abcdsᦿᧀᧄ᧕᧙戩nd;橄rcup;橉Āau᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r;Ecefms᩠ᩢᩫ᪤᪪旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ\0\0aĀ;t䀬;䁀ƀ;fl戁îᅠeĀmxent»eóɍǧ\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯delprvw᭠᭬᭷ᮂᮬᯔarrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;pᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰻᰿ᱝᱩᱵᲞᲬᲷᴍᵻᶑᶫᶻ᷆᷍ròar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂᳖᳜᳠mƀ;oș᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄĀDoḆᴴoôĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»ṺƀaeiἒἚls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧\0耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₥₰₴⃰℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽ƀ;qsؾٌlanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqrⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0proør;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼ròòΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonóquigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roøurĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨íistĀ;sடr;쀀𝔫ȀEest⩦⩹⩼ƀ;qs⩭ƀ;qs⩴lanôií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast⭕⭚⭟lleìl;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖchimpqu⮽⯍⯙⬄⯤⯯Ȁ;cerല⯆ഷ⯉uå;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭ååഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñĀ;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;cⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācrir;榿;쀀𝔬ͯ\0\0\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕⶥⶨrò᪀Āirⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔǒr;榷rp;榹;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ\0\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ脀¶;l䂶leìЃɩ\0\0m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳ᤈ⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t⾴ïrel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⋢⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔ABHabcdefhilmnoprstuxけさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstwガクシスゼゾダッデナp;極Ā;fゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ìâヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘rrowĀ;tㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowóarpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓ròaòՑ;怏oustĀ;a㈞掱che»mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì耻䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;qኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫwar;椪lig耻ß䃟㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rëƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproøim»ኬsðኞĀas㚺㚮ðrn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈadempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xôheadĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roðtré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜtré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map(e=>e.charCodeAt(0))),Pl=new Uint16Array("Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map(e=>e.charCodeAt(0)));var Pr;const Bl=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),Ul=(Pr=String.fromCodePoint)!==null&&Pr!==void 0?Pr:function(e){let t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|e&1023),t+=String.fromCharCode(e),t};function zl(e){var t;return e>=55296&&e<=57343||e>1114111?65533:(t=Bl.get(e))!==null&&t!==void 0?t:e}var Ye;(function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z"})(Ye||(Ye={}));const ql=32;var Qt;(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"})(Qt||(Qt={}));function Pi(e){return e>=Ye.ZERO&&e<=Ye.NINE}function Hl(e){return e>=Ye.UPPER_A&&e<=Ye.UPPER_F||e>=Ye.LOWER_A&&e<=Ye.LOWER_F}function Gl(e){return e>=Ye.UPPER_A&&e<=Ye.UPPER_Z||e>=Ye.LOWER_A&&e<=Ye.LOWER_Z||Pi(e)}function Kl(e){return e===Ye.EQUALS||Gl(e)}var Ve;(function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"})(Ve||(Ve={}));var qt;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(qt||(qt={}));class Wl{constructor(t,n,i){this.decodeTree=t,this.emitCodePoint=n,this.errors=i,this.state=Ve.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=qt.Strict}startEntity(t){this.decodeMode=t,this.state=Ve.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,n){switch(this.state){case Ve.EntityStart:return t.charCodeAt(n)===Ye.NUM?(this.state=Ve.NumericStart,this.consumed+=1,this.stateNumericStart(t,n+1)):(this.state=Ve.NamedEntity,this.stateNamedEntity(t,n));case Ve.NumericStart:return this.stateNumericStart(t,n);case Ve.NumericDecimal:return this.stateNumericDecimal(t,n);case Ve.NumericHex:return this.stateNumericHex(t,n);case Ve.NamedEntity:return this.stateNamedEntity(t,n)}}stateNumericStart(t,n){return n>=t.length?-1:(t.charCodeAt(n)|ql)===Ye.LOWER_X?(this.state=Ve.NumericHex,this.consumed+=1,this.stateNumericHex(t,n+1)):(this.state=Ve.NumericDecimal,this.stateNumericDecimal(t,n))}addToNumericResult(t,n,i,r){if(n!==i){const u=i-n;this.result=this.result*Math.pow(r,u)+parseInt(t.substr(n,u),r),this.consumed+=u}}stateNumericHex(t,n){const i=n;for(;n<t.length;){const r=t.charCodeAt(n);if(Pi(r)||Hl(r))n+=1;else return this.addToNumericResult(t,i,n,16),this.emitNumericEntity(r,3)}return this.addToNumericResult(t,i,n,16),-1}stateNumericDecimal(t,n){const i=n;for(;n<t.length;){const r=t.charCodeAt(n);if(Pi(r))n+=1;else return this.addToNumericResult(t,i,n,10),this.emitNumericEntity(r,2)}return this.addToNumericResult(t,i,n,10),-1}emitNumericEntity(t,n){var i;if(this.consumed<=n)return(i=this.errors)===null||i===void 0||i.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(t===Ye.SEMI)this.consumed+=1;else if(this.decodeMode===qt.Strict)return 0;return this.emitCodePoint(zl(this.result),this.consumed),this.errors&&(t!==Ye.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(t,n){const{decodeTree:i}=this;let r=i[this.treeIndex],u=(r&Qt.VALUE_LENGTH)>>14;for(;n<t.length;n++,this.excess++){const a=t.charCodeAt(n);if(this.treeIndex=jl(i,r,this.treeIndex+Math.max(1,u),a),this.treeIndex<0)return this.result===0||this.decodeMode===qt.Attribute&&(u===0||Kl(a))?0:this.emitNotTerminatedNamedEntity();if(r=i[this.treeIndex],u=(r&Qt.VALUE_LENGTH)>>14,u!==0){if(a===Ye.SEMI)return this.emitNamedEntityData(this.treeIndex,u,this.consumed+this.excess);this.decodeMode!==qt.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var t;const{result:n,decodeTree:i}=this,r=(i[n]&Qt.VALUE_LENGTH)>>14;return this.emitNamedEntityData(n,r,this.consumed),(t=this.errors)===null||t===void 0||t.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(t,n,i){const{decodeTree:r}=this;return this.emitCodePoint(n===1?r[t]&~Qt.VALUE_LENGTH:r[t+1],i),n===3&&this.emitCodePoint(r[t+2],i),i}end(){var t;switch(this.state){case Ve.NamedEntity:return this.result!==0&&(this.decodeMode!==qt.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case Ve.NumericDecimal:return this.emitNumericEntity(0,2);case Ve.NumericHex:return this.emitNumericEntity(0,3);case Ve.NumericStart:return(t=this.errors)===null||t===void 0||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case Ve.EntityStart:return 0}}}function ls(e){let t="";const n=new Wl(e,i=>t+=Ul(i));return function(r,u){let a=0,s=0;for(;(s=r.indexOf("&",s))>=0;){t+=r.slice(a,s),n.startEntity(u);const c=n.write(r,s+1);if(c<0){a=s+n.end();break}a=s+c,s=c===0?a+1:a}const o=t+r.slice(a);return t="",o}}function jl(e,t,n,i){const r=(t&Qt.BRANCH_LENGTH)>>7,u=t&Qt.JUMP_TABLE;if(r===0)return u!==0&&i===u?n:-1;if(u){const o=i-u;return o<0||o>=r?-1:e[n+o]-1}let a=n,s=a+r-1;for(;a<=s;){const o=a+s>>>1,c=e[o];if(c<i)a=o+1;else if(c>i)s=o-1;else return e[o+r]}return-1}const ds=ls(Fl);ls(Pl);function Zl(e,t=qt.Legacy){return ds(e,t)}function Vl(e){return ds(e,qt.Strict)}function Yl(e){return Object.prototype.toString.call(e)}function Xi(e){return Yl(e)==="[object String]"}const Xl=Object.prototype.hasOwnProperty;function Ql(e,t){return Xl.call(e,t)}function wr(e){return Array.prototype.slice.call(arguments,1).forEach(function(n){if(n){if(typeof n!="object")throw new TypeError(n+"must be object");Object.keys(n).forEach(function(i){e[i]=n[i]})}}),e}function fs(e,t,n){return[].concat(e.slice(0,t),n,e.slice(t+1))}function Qi(e){return!(e>=55296&&e<=57343||e>=64976&&e<=65007||(e&65535)===65535||(e&65535)===65534||e>=0&&e<=8||e===11||e>=14&&e<=31||e>=127&&e<=159||e>1114111)}function Rn(e){if(e>65535){e-=65536;const t=55296+(e>>10),n=56320+(e&1023);return String.fromCharCode(t,n)}return String.fromCharCode(e)}const ps=/\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g,Jl=/&([a-z#][a-z0-9]{1,31});/gi,ed=new RegExp(ps.source+"|"+Jl.source,"gi"),td=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;function nd(e,t){if(t.charCodeAt(0)===35&&td.test(t)){const i=t[1].toLowerCase()==="x"?parseInt(t.slice(2),16):parseInt(t.slice(1),10);return Qi(i)?Rn(i):e}const n=Zl(e);return n!==e?n:e}function rd(e){return e.indexOf("\\")<0?e:e.replace(ps,"$1")}function mn(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(ed,function(t,n,i){return n||nd(t,i)})}const id=/[&<>"]/,ud=/[&<>"]/g,ad={"&":"&","<":"<",">":">",'"':"""};function sd(e){return ad[e]}function en(e){return id.test(e)?e.replace(ud,sd):e}const od=/[.?*+^$[\]\\(){}|-]/g;function cd(e){return e.replace(od,"\\$&")}function Ue(e){switch(e){case 9:case 32:return!0}return!1}function On(e){if(e>=8192&&e<=8202)return!0;switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}function bs(e){return Yi.test(e)||os.test(e)}function In(e){return bs(Rn(e))}function $n(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function kr(e){return e=e.trim().replace(/\s+/g," "),"ẞ".toLowerCase()==="Ṿ"&&(e=e.replace(/ẞ/g,"ß")),e.toLowerCase().toUpperCase()}function Tu(e){return e===32||e===9||e===10||e===13}function Ar(e){let t=0;for(;t<e.length&&Tu(e.charCodeAt(t));t++);let n=e.length-1;for(;n>=t&&Tu(e.charCodeAt(n));n--);return e.slice(t,n+1)}const ld={mdurl:$l,ucmicro:Ll},dd=Object.freeze(Object.defineProperty({__proto__:null,arrayReplaceAt:fs,asciiTrim:Ar,assign:wr,escapeHtml:en,escapeRE:cd,fromCodePoint:Rn,has:Ql,isMdAsciiPunct:$n,isPunctChar:bs,isPunctCharCode:In,isSpace:Ue,isString:Xi,isValidEntityCode:Qi,isWhiteSpace:On,lib:ld,normalizeReference:kr,unescapeAll:mn,unescapeMd:rd},Symbol.toStringTag,{value:"Module"}));function fd(e,t,n){let i,r,u,a;const s=e.posMax,o=e.pos;for(e.pos=t+1,i=1;e.pos<s;){if(u=e.src.charCodeAt(e.pos),u===93&&(i--,i===0)){r=!0;break}if(a=e.pos,e.md.inline.skipToken(e),u===91){if(a===e.pos-1)i++;else if(n)return e.pos=o,-1}}let c=-1;return r&&(c=e.pos),e.pos=o,c}function pd(e,t,n){let i,r=t;const u={ok:!1,pos:0,str:""};if(e.charCodeAt(r)===60){for(r++;r<n;){if(i=e.charCodeAt(r),i===10||i===60)return u;if(i===62)return u.pos=r+1,u.str=mn(e.slice(t+1,r)),u.ok=!0,u;if(i===92&&r+1<n){r+=2;continue}r++}return u}let a=0;for(;r<n&&(i=e.charCodeAt(r),!(i===32||i<32||i===127));){if(i===92&&r+1<n){if(e.charCodeAt(r+1)===32)break;r+=2;continue}if(i===40&&(a++,a>32))return u;if(i===41){if(a===0)break;a--}r++}return t===r||a!==0||(u.str=mn(e.slice(t,r)),u.pos=r,u.ok=!0),u}function bd(e,t,n,i){let r,u=t;const a={ok:!1,can_continue:!1,pos:0,str:"",marker:0};if(i)a.str=i.str,a.marker=i.marker;else{if(u>=n)return a;let s=e.charCodeAt(u);if(s!==34&&s!==39&&s!==40)return a;t++,u++,s===40&&(s=41),a.marker=s}for(;u<n;){if(r=e.charCodeAt(u),r===a.marker)return a.pos=u+1,a.str+=mn(e.slice(t,u)),a.ok=!0,a;if(r===40&&a.marker===41)return a;r===92&&u+1<n&&u++,u++}return a.can_continue=!0,a.str+=mn(e.slice(t,u)),a}const gd=Object.freeze(Object.defineProperty({__proto__:null,parseLinkDestination:pd,parseLinkLabel:fd,parseLinkTitle:bd},Symbol.toStringTag,{value:"Module"})),Mt={};Mt.code_inline=function(e,t,n,i,r){const u=e[t];return"<code"+r.renderAttrs(u)+">"+en(u.content)+"</code>"};Mt.code_block=function(e,t,n,i,r){const u=e[t];return"<pre"+r.renderAttrs(u)+"><code>"+en(e[t].content)+`</code></pre>
|
|
3
|
-
`};Mt.fence=function(e,t,n,i,r){const u=e[t],a=u.info?mn(u.info).trim():"";let s="",o="";if(a){const l=a.split(/(\s+)/g);s=l[0],o=l.slice(2).join("")}let c;if(n.highlight?c=n.highlight(u.content,s,o)||en(u.content):c=en(u.content),c.indexOf("<pre")===0)return c+`
|
|
4
|
-
`;if(a){const l=u.attrIndex("class"),d=u.attrs?u.attrs.slice():[];l<0?d.push(["class",n.langPrefix+s]):(d[l]=d[l].slice(),d[l][1]+=" "+n.langPrefix+s);const g={attrs:d};return`<pre><code${r.renderAttrs(g)}>${c}</code></pre>
|
|
5
|
-
`}return`<pre><code${r.renderAttrs(u)}>${c}</code></pre>
|
|
6
|
-
`};Mt.image=function(e,t,n,i,r){const u=e[t];return u.attrs[u.attrIndex("alt")][1]=r.renderInlineAsText(u.children,n,i),r.renderToken(e,t,n)};Mt.hardbreak=function(e,t,n){return n.xhtmlOut?`<br />
|
|
7
|
-
`:`<br>
|
|
8
|
-
`};Mt.softbreak=function(e,t,n){return n.breaks?n.xhtmlOut?`<br />
|
|
9
|
-
`:`<br>
|
|
10
|
-
`:`
|
|
11
|
-
`};Mt.text=function(e,t){return en(e[t].content)};Mt.html_block=function(e,t){return e[t].content};Mt.html_inline=function(e,t){return e[t].content};function vn(){this.rules=wr({},Mt)}vn.prototype.renderAttrs=function(t){let n,i,r;if(!t.attrs)return"";for(r="",n=0,i=t.attrs.length;n<i;n++)r+=" "+en(t.attrs[n][0])+'="'+en(t.attrs[n][1])+'"';return r};vn.prototype.renderToken=function(t,n,i){const r=t[n];let u="";if(r.hidden)return"";r.block&&r.nesting!==-1&&n&&t[n-1].hidden&&(u+=`
|
|
12
|
-
`),u+=(r.nesting===-1?"</":"<")+r.tag,u+=this.renderAttrs(r),r.nesting===0&&i.xhtmlOut&&(u+=" /");let a=!1;if(r.block&&(a=!0,r.nesting===1&&n+1<t.length)){const s=t[n+1];(s.type==="inline"||s.hidden||s.nesting===-1&&s.tag===r.tag)&&(a=!1)}return u+=a?`>
|
|
13
|
-
`:">",u};vn.prototype.renderInline=function(e,t,n){let i="";const r=this.rules;for(let u=0,a=e.length;u<a;u++){const s=e[u].type;typeof r[s]<"u"?i+=r[s](e,u,t,n,this):i+=this.renderToken(e,u,t)}return i};vn.prototype.renderInlineAsText=function(e,t,n){let i="";for(let r=0,u=e.length;r<u;r++)switch(e[r].type){case"text":i+=e[r].content;break;case"image":i+=this.renderInlineAsText(e[r].children,t,n);break;case"html_inline":case"html_block":i+=e[r].content;break;case"softbreak":case"hardbreak":i+=`
|
|
14
|
-
`;break}return i};vn.prototype.render=function(e,t,n){let i="";const r=this.rules;for(let u=0,a=e.length;u<a;u++){const s=e[u].type;s==="inline"?i+=this.renderInline(e[u].children,t,n):typeof r[s]<"u"?i+=r[s](e,u,t,n,this):i+=this.renderToken(e,u,t,n)}return i};function ot(){this.__rules__=[],this.__cache__=null}ot.prototype.__find__=function(e){for(let t=0;t<this.__rules__.length;t++)if(this.__rules__[t].name===e)return t;return-1};ot.prototype.__compile__=function(){const e=this,t=[""];e.__rules__.forEach(function(n){n.enabled&&n.alt.forEach(function(i){t.indexOf(i)<0&&t.push(i)})}),e.__cache__={},t.forEach(function(n){e.__cache__[n]=[],e.__rules__.forEach(function(i){i.enabled&&(n&&i.alt.indexOf(n)<0||e.__cache__[n].push(i.fn))})})};ot.prototype.at=function(e,t,n){const i=this.__find__(e),r=n||{};if(i===-1)throw new Error("Parser rule not found: "+e);this.__rules__[i].fn=t,this.__rules__[i].alt=r.alt||[],this.__cache__=null};ot.prototype.before=function(e,t,n,i){const r=this.__find__(e),u=i||{};if(r===-1)throw new Error("Parser rule not found: "+e);this.__rules__.splice(r,0,{name:t,enabled:!0,fn:n,alt:u.alt||[]}),this.__cache__=null};ot.prototype.after=function(e,t,n,i){const r=this.__find__(e),u=i||{};if(r===-1)throw new Error("Parser rule not found: "+e);this.__rules__.splice(r+1,0,{name:t,enabled:!0,fn:n,alt:u.alt||[]}),this.__cache__=null};ot.prototype.push=function(e,t,n){const i=n||{};this.__rules__.push({name:e,enabled:!0,fn:t,alt:i.alt||[]}),this.__cache__=null};ot.prototype.enable=function(e,t){Array.isArray(e)||(e=[e]);const n=[];return e.forEach(function(i){const r=this.__find__(i);if(r<0){if(t)return;throw new Error("Rules manager: invalid rule name "+i)}this.__rules__[r].enabled=!0,n.push(i)},this),this.__cache__=null,n};ot.prototype.enableOnly=function(e,t){Array.isArray(e)||(e=[e]),this.__rules__.forEach(function(n){n.enabled=!1}),this.enable(e,t)};ot.prototype.disable=function(e,t){Array.isArray(e)||(e=[e]);const n=[];return e.forEach(function(i){const r=this.__find__(i);if(r<0){if(t)return;throw new Error("Rules manager: invalid rule name "+i)}this.__rules__[r].enabled=!1,n.push(i)},this),this.__cache__=null,n};ot.prototype.getRules=function(e){return this.__cache__===null&&this.__compile__(),this.__cache__[e]||[]};function vt(e,t,n){this.type=e,this.tag=t,this.attrs=null,this.map=null,this.nesting=n,this.level=0,this.children=null,this.content="",this.markup="",this.info="",this.meta=null,this.block=!1,this.hidden=!1}vt.prototype.attrIndex=function(t){if(!this.attrs)return-1;const n=this.attrs;for(let i=0,r=n.length;i<r;i++)if(n[i][0]===t)return i;return-1};vt.prototype.attrPush=function(t){this.attrs?this.attrs.push(t):this.attrs=[t]};vt.prototype.attrSet=function(t,n){const i=this.attrIndex(t),r=[t,n];i<0?this.attrPush(r):this.attrs[i]=r};vt.prototype.attrGet=function(t){const n=this.attrIndex(t);let i=null;return n>=0&&(i=this.attrs[n][1]),i};vt.prototype.attrJoin=function(t,n){const i=this.attrIndex(t);i<0?this.attrPush([t,n]):this.attrs[i][1]=this.attrs[i][1]+" "+n};function gs(e,t,n){this.src=e,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=t}gs.prototype.Token=vt;const hd=/\r\n?|\n/g,md=/\0/g;function _d(e){let t;t=e.src.replace(hd,`
|
|
15
|
-
`),t=t.replace(md,"�"),e.src=t}function Ed(e){let t;e.inlineMode?(t=new e.Token("inline","",0),t.content=e.src,t.map=[0,1],t.children=[],e.tokens.push(t)):e.md.block.parse(e.src,e.md,e.env,e.tokens)}function xd(e){const t=e.tokens;for(let n=0,i=t.length;n<i;n++){const r=t[n];r.type==="inline"&&e.md.inline.parse(r.content,e.md,e.env,r.children)}}function yd(e){return/^<a[>\s]/i.test(e)}function vd(e){return/^<\/a\s*>/i.test(e)}function wd(e){const t=e.tokens;if(e.md.options.linkify)for(let n=0,i=t.length;n<i;n++){if(t[n].type!=="inline"||!e.md.linkify.pretest(t[n].content))continue;let r=t[n].children,u=0;for(let a=r.length-1;a>=0;a--){const s=r[a];if(s.type==="link_close"){for(a--;r[a].level!==s.level&&r[a].type!=="link_open";)a--;continue}if(s.type==="html_inline"&&(yd(s.content)&&u>0&&u--,vd(s.content)&&u++),!(u>0)&&s.type==="text"&&e.md.linkify.test(s.content)){const o=s.content;let c=e.md.linkify.match(o);const l=[];let d=s.level,g=0;c.length>0&&c[0].index===0&&a>0&&r[a-1].type==="text_special"&&(c=c.slice(1));for(let p=0;p<c.length;p++){const b=c[p].url,f=e.md.normalizeLink(b);if(!e.md.validateLink(f))continue;let h=c[p].text;c[p].schema?c[p].schema==="mailto:"&&!/^mailto:/i.test(h)?h=e.md.normalizeLinkText("mailto:"+h).replace(/^mailto:/,""):h=e.md.normalizeLinkText(h):h=e.md.normalizeLinkText("http://"+h).replace(/^http:\/\//,"");const _=c[p].index;if(_>g){const x=new e.Token("text","",0);x.content=o.slice(g,_),x.level=d,l.push(x)}const m=new e.Token("link_open","a",1);m.attrs=[["href",f]],m.level=d++,m.markup="linkify",m.info="auto",l.push(m);const w=new e.Token("text","",0);w.content=h,w.level=d,l.push(w);const y=new e.Token("link_close","a",-1);y.level=--d,y.markup="linkify",y.info="auto",l.push(y),g=c[p].lastIndex}if(g<o.length){const p=new e.Token("text","",0);p.content=o.slice(g),p.level=d,l.push(p)}t[n].children=r=fs(r,a,l)}}}}const hs=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,kd=/\((c|tm|r)\)/i,Ad=/\((c|tm|r)\)/ig,Cd={c:"©",r:"®",tm:"™"};function Sd(e,t){return Cd[t.toLowerCase()]}function Nd(e){let t=0;for(let n=e.length-1;n>=0;n--){const i=e[n];i.type==="text"&&!t&&(i.content=i.content.replace(Ad,Sd)),i.type==="link_open"&&i.info==="auto"&&t--,i.type==="link_close"&&i.info==="auto"&&t++}}function Td(e){let t=0;for(let n=e.length-1;n>=0;n--){const i=e[n];i.type==="text"&&!t&&hs.test(i.content)&&(i.content=i.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/mg,"$1—").replace(/(^|\s)--(?=\s|$)/mg,"$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/mg,"$1–")),i.type==="link_open"&&i.info==="auto"&&t--,i.type==="link_close"&&i.info==="auto"&&t++}}function Dd(e){let t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)e.tokens[t].type==="inline"&&(kd.test(e.tokens[t].content)&&Nd(e.tokens[t].children),hs.test(e.tokens[t].content)&&Td(e.tokens[t].children))}const Rd=/['"]/,Du=/['"]/g,Ru="’";function Yn(e,t,n,i){e[t]||(e[t]=[]),e[t].push({pos:n,ch:i})}function Od(e,t){let n="",i=0;t.sort((r,u)=>r.pos-u.pos);for(let r=0;r<t.length;r++){const u=t[r];n+=e.slice(i,u.pos)+u.ch,i=u.pos+1}return n+e.slice(i)}function Id(e,t){let n;const i=[],r={};for(let u=0;u<e.length;u++){const a=e[u],s=e[u].level;for(n=i.length-1;n>=0&&!(i[n].level<=s);n--);if(i.length=n+1,a.type!=="text")continue;const o=a.content;let c=0;const l=o.length;e:for(;c<l;){Du.lastIndex=c;const d=Du.exec(o);if(!d)break;let g=!0,p=!0;c=d.index+1;const b=d[0]==="'";let f=32;if(d.index-1>=0)f=o.charCodeAt(d.index-1);else for(n=u-1;n>=0&&!(e[n].type==="softbreak"||e[n].type==="hardbreak");n--)if(e[n].content){f=e[n].content.charCodeAt(e[n].content.length-1);break}let h=32;if(c<l)h=o.charCodeAt(c);else for(n=u+1;n<e.length&&!(e[n].type==="softbreak"||e[n].type==="hardbreak");n++)if(e[n].content){h=e[n].content.charCodeAt(0);break}const _=$n(f)||In(f),m=$n(h)||In(h),w=On(f),y=On(h);if(y?g=!1:m&&(w||_||(g=!1)),w?p=!1:_&&(y||m||(p=!1)),h===34&&d[0]==='"'&&f>=48&&f<=57&&(p=g=!1),g&&p&&(g=_,p=m),!g&&!p){b&&Yn(r,u,d.index,Ru);continue}if(p)for(n=i.length-1;n>=0;n--){let x=i[n];if(i[n].level<s)break;if(x.single===b&&i[n].level===s){x=i[n];let k,D;b?(k=t.md.options.quotes[2],D=t.md.options.quotes[3]):(k=t.md.options.quotes[0],D=t.md.options.quotes[1]),Yn(r,u,d.index,D),Yn(r,x.token,x.pos,k),i.length=n;continue e}}g?i.push({token:u,pos:d.index,single:b,level:s}):p&&b&&Yn(r,u,d.index,Ru)}}Object.keys(r).forEach(function(u){e[u].content=Od(e[u].content,r[u])})}function $d(e){if(e.md.options.typographer)for(let t=e.tokens.length-1;t>=0;t--)e.tokens[t].type!=="inline"||!Rd.test(e.tokens[t].content)||Id(e.tokens[t].children,e)}function Md(e){let t,n;const i=e.tokens,r=i.length;for(let u=0;u<r;u++){if(i[u].type!=="inline")continue;const a=i[u].children,s=a.length;for(t=0;t<s;t++)a[t].type==="text_special"&&(a[t].type="text");for(t=n=0;t<s;t++)a[t].type==="text"&&t+1<s&&a[t+1].type==="text"?a[t+1].content=a[t].content+a[t+1].content:(t!==n&&(a[n]=a[t]),n++);t!==n&&(a.length=n)}}const Br=[["normalize",_d],["block",Ed],["inline",xd],["linkify",wd],["replacements",Dd],["smartquotes",$d],["text_join",Md]];function Ji(){this.ruler=new ot;for(let e=0;e<Br.length;e++)this.ruler.push(Br[e][0],Br[e][1])}Ji.prototype.process=function(e){const t=this.ruler.getRules("");for(let n=0,i=t.length;n<i;n++)t[n](e)};Ji.prototype.State=gs;function Lt(e,t,n,i){this.src=e,this.md=t,this.env=n,this.tokens=i,this.bMarks=[],this.eMarks=[],this.tShift=[],this.sCount=[],this.bsCount=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.ddIndent=-1,this.listIndent=-1,this.parentType="root",this.level=0;const r=this.src;for(let u=0,a=0,s=0,o=0,c=r.length,l=!1;a<c;a++){const d=r.charCodeAt(a);if(!l)if(Ue(d)){s++,d===9?o+=4-o%4:o++;continue}else l=!0;(d===10||a===c-1)&&(d!==10&&a++,this.bMarks.push(u),this.eMarks.push(a),this.tShift.push(s),this.sCount.push(o),this.bsCount.push(0),l=!1,s=0,o=0,u=a+1)}this.bMarks.push(r.length),this.eMarks.push(r.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}Lt.prototype.push=function(e,t,n){const i=new vt(e,t,n);return i.block=!0,n<0&&this.level--,i.level=this.level,n>0&&this.level++,this.tokens.push(i),i};Lt.prototype.isEmpty=function(t){return this.bMarks[t]+this.tShift[t]>=this.eMarks[t]};Lt.prototype.skipEmptyLines=function(t){for(let n=this.lineMax;t<n&&!(this.bMarks[t]+this.tShift[t]<this.eMarks[t]);t++);return t};Lt.prototype.skipSpaces=function(t){for(let n=this.src.length;t<n;t++){const i=this.src.charCodeAt(t);if(!Ue(i))break}return t};Lt.prototype.skipSpacesBack=function(t,n){if(t<=n)return t;for(;t>n;)if(!Ue(this.src.charCodeAt(--t)))return t+1;return t};Lt.prototype.skipChars=function(t,n){for(let i=this.src.length;t<i&&this.src.charCodeAt(t)===n;t++);return t};Lt.prototype.skipCharsBack=function(t,n,i){if(t<=i)return t;for(;t>i;)if(n!==this.src.charCodeAt(--t))return t+1;return t};Lt.prototype.getLines=function(t,n,i,r){if(t>=n)return"";const u=new Array(n-t);for(let a=0,s=t;s<n;s++,a++){let o=0;const c=this.bMarks[s];let l=c,d;for(s+1<n||r?d=this.eMarks[s]+1:d=this.eMarks[s];l<d&&o<i;){const g=this.src.charCodeAt(l);if(Ue(g))g===9?o+=4-(o+this.bsCount[s])%4:o++;else if(l-c<this.tShift[s])o++;else break;l++}o>i?u[a]=new Array(o-i+1).join(" ")+this.src.slice(l,d):u[a]=this.src.slice(l,d)}return u.join("")};Lt.prototype.Token=vt;const Ld=65536;function Ur(e,t){const n=e.bMarks[t]+e.tShift[t],i=e.eMarks[t];return e.src.slice(n,i)}function Ou(e){const t=[],n=e.length;let i=0,r=e.charCodeAt(i),u=!1,a=0,s="";for(;i<n;)r===124&&(u?(s+=e.substring(a,i-1),a=i):(t.push(s+e.substring(a,i)),s="",a=i+1)),u=r===92,i++,r=e.charCodeAt(i);return t.push(s+e.substring(a)),t}function Fd(e,t,n,i){if(t+2>n)return!1;let r=t+1;if(e.sCount[r]<e.blkIndent||e.sCount[r]-e.blkIndent>=4)return!1;let u=e.bMarks[r]+e.tShift[r];if(u>=e.eMarks[r])return!1;const a=e.src.charCodeAt(u++);if(a!==124&&a!==45&&a!==58||u>=e.eMarks[r])return!1;const s=e.src.charCodeAt(u++);if(s!==124&&s!==45&&s!==58&&!Ue(s)||a===45&&Ue(s))return!1;for(;u<e.eMarks[r];){const y=e.src.charCodeAt(u);if(y!==124&&y!==45&&y!==58&&!Ue(y))return!1;u++}let o=Ur(e,t+1),c=o.split("|");const l=[];for(let y=0;y<c.length;y++){const x=c[y].trim();if(!x){if(y===0||y===c.length-1)continue;return!1}if(!/^:?-+:?$/.test(x))return!1;x.charCodeAt(x.length-1)===58?l.push(x.charCodeAt(0)===58?"center":"right"):x.charCodeAt(0)===58?l.push("left"):l.push("")}if(o=Ur(e,t).trim(),o.indexOf("|")===-1||e.sCount[t]-e.blkIndent>=4)return!1;c=Ou(o),c.length&&c[0]===""&&c.shift(),c.length&&c[c.length-1]===""&&c.pop();const d=c.length;if(d===0||d!==l.length)return!1;if(i)return!0;const g=e.parentType;e.parentType="table";const p=e.md.block.ruler.getRules("blockquote"),b=e.push("table_open","table",1),f=[t,0];b.map=f;const h=e.push("thead_open","thead",1);h.map=[t,t+1];const _=e.push("tr_open","tr",1);_.map=[t,t+1];for(let y=0;y<c.length;y++){const x=e.push("th_open","th",1);l[y]&&(x.attrs=[["style","text-align:"+l[y]]]);const k=e.push("inline","",0);k.content=c[y].trim(),k.children=[],e.push("th_close","th",-1)}e.push("tr_close","tr",-1),e.push("thead_close","thead",-1);let m,w=0;for(r=t+2;r<n&&!(e.sCount[r]<e.blkIndent);r++){let y=!1;for(let k=0,D=p.length;k<D;k++)if(p[k](e,r,n,!0)){y=!0;break}if(y||(o=Ur(e,r).trim(),!o)||e.sCount[r]-e.blkIndent>=4||(c=Ou(o),c.length&&c[0]===""&&c.shift(),c.length&&c[c.length-1]===""&&c.pop(),w+=d-c.length,w>Ld))break;if(r===t+2){const k=e.push("tbody_open","tbody",1);k.map=m=[t+2,0]}const x=e.push("tr_open","tr",1);x.map=[r,r+1];for(let k=0;k<d;k++){const D=e.push("td_open","td",1);l[k]&&(D.attrs=[["style","text-align:"+l[k]]]);const A=e.push("inline","",0);A.content=c[k]?c[k].trim():"",A.children=[],e.push("td_close","td",-1)}e.push("tr_close","tr",-1)}return m&&(e.push("tbody_close","tbody",-1),m[1]=r),e.push("table_close","table",-1),f[1]=r,e.parentType=g,e.line=r,!0}function Pd(e,t,n){if(e.sCount[t]-e.blkIndent<4)return!1;let i=t+1,r=i;for(;i<n;){if(e.isEmpty(i)){i++;continue}if(e.sCount[i]-e.blkIndent>=4){i++,r=i;continue}break}e.line=r;const u=e.push("code_block","code",0);return u.content=e.getLines(t,r,4+e.blkIndent,!1)+`
|
|
16
|
-
`,u.map=[t,e.line],!0}function Bd(e,t,n,i){let r=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||r+3>u)return!1;const a=e.src.charCodeAt(r);if(a!==126&&a!==96)return!1;let s=r;r=e.skipChars(r,a);let o=r-s;if(o<3)return!1;const c=e.src.slice(s,r),l=e.src.slice(r,u);if(a===96&&l.indexOf(String.fromCharCode(a))>=0)return!1;if(i)return!0;let d=t,g=!1;for(;d++,!(d>=n||(r=s=e.bMarks[d]+e.tShift[d],u=e.eMarks[d],r<u&&e.sCount[d]<e.blkIndent));)if(e.src.charCodeAt(r)===a&&!(e.sCount[d]-e.blkIndent>=4)&&(r=e.skipChars(r,a),!(r-s<o)&&(r=e.skipSpaces(r),!(r<u)))){g=!0;break}o=e.sCount[t],e.line=d+(g?1:0);const p=e.push("fence","code",0);return p.info=l,p.content=e.getLines(t+1,d,o,!0),p.markup=c,p.map=[t,e.line],!0}function Ud(e,t,n,i){let r=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];const a=e.lineMax;if(e.sCount[t]-e.blkIndent>=4||e.src.charCodeAt(r)!==62)return!1;if(i)return!0;const s=[],o=[],c=[],l=[],d=e.md.block.ruler.getRules("blockquote"),g=e.parentType;e.parentType="blockquote";let p=!1,b;for(b=t;b<n;b++){const w=e.sCount[b]<e.blkIndent;if(r=e.bMarks[b]+e.tShift[b],u=e.eMarks[b],r>=u)break;if(e.src.charCodeAt(r++)===62&&!w){let x=e.sCount[b]+1,k,D;e.src.charCodeAt(r)===32?(r++,x++,D=!1,k=!0):e.src.charCodeAt(r)===9?(k=!0,(e.bsCount[b]+x)%4===3?(r++,x++,D=!1):D=!0):k=!1;let A=x;for(s.push(e.bMarks[b]),e.bMarks[b]=r;r<u;){const N=e.src.charCodeAt(r);if(Ue(N))N===9?A+=4-(A+e.bsCount[b]+(D?1:0))%4:A++;else break;r++}p=r>=u,o.push(e.bsCount[b]),e.bsCount[b]=e.sCount[b]+1+(k?1:0),c.push(e.sCount[b]),e.sCount[b]=A-x,l.push(e.tShift[b]),e.tShift[b]=r-e.bMarks[b];continue}if(p)break;let y=!1;for(let x=0,k=d.length;x<k;x++)if(d[x](e,b,n,!0)){y=!0;break}if(y){e.lineMax=b,e.blkIndent!==0&&(s.push(e.bMarks[b]),o.push(e.bsCount[b]),l.push(e.tShift[b]),c.push(e.sCount[b]),e.sCount[b]-=e.blkIndent);break}s.push(e.bMarks[b]),o.push(e.bsCount[b]),l.push(e.tShift[b]),c.push(e.sCount[b]),e.sCount[b]=-1}const f=e.blkIndent;e.blkIndent=0;const h=e.push("blockquote_open","blockquote",1);h.markup=">";const _=[t,0];h.map=_,e.md.block.tokenize(e,t,b);const m=e.push("blockquote_close","blockquote",-1);m.markup=">",e.lineMax=a,e.parentType=g,_[1]=e.line;for(let w=0;w<l.length;w++)e.bMarks[w+t]=s[w],e.tShift[w+t]=l[w],e.sCount[w+t]=c[w],e.bsCount[w+t]=o[w];return e.blkIndent=f,!0}function zd(e,t,n,i){const r=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;let u=e.bMarks[t]+e.tShift[t];const a=e.src.charCodeAt(u++);if(a!==42&&a!==45&&a!==95)return!1;let s=1;for(;u<r;){const c=e.src.charCodeAt(u++);if(c!==a&&!Ue(c))return!1;c===a&&s++}if(s<3)return!1;if(i)return!0;e.line=t+1;const o=e.push("hr","hr",0);return o.map=[t,e.line],o.markup=Array(s+1).join(String.fromCharCode(a)),!0}function Iu(e,t){const n=e.eMarks[t];let i=e.bMarks[t]+e.tShift[t];const r=e.src.charCodeAt(i++);if(r!==42&&r!==45&&r!==43)return-1;if(i<n){const u=e.src.charCodeAt(i);if(!Ue(u))return-1}return i}function $u(e,t){const n=e.bMarks[t]+e.tShift[t],i=e.eMarks[t];let r=n;if(r+1>=i)return-1;let u=e.src.charCodeAt(r++);if(u<48||u>57)return-1;for(;;){if(r>=i)return-1;if(u=e.src.charCodeAt(r++),u>=48&&u<=57){if(r-n>=10)return-1;continue}if(u===41||u===46)break;return-1}return r<i&&(u=e.src.charCodeAt(r),!Ue(u))?-1:r}function qd(e,t){const n=e.level+2;for(let i=t+2,r=e.tokens.length-2;i<r;i++)e.tokens[i].level===n&&e.tokens[i].type==="paragraph_open"&&(e.tokens[i+2].hidden=!0,e.tokens[i].hidden=!0,i+=2)}function Hd(e,t,n,i){let r,u,a,s,o=t,c=!0;if(e.sCount[o]-e.blkIndent>=4||e.listIndent>=0&&e.sCount[o]-e.listIndent>=4&&e.sCount[o]<e.blkIndent)return!1;let l=!1;i&&e.parentType==="paragraph"&&e.sCount[o]>=e.blkIndent&&(l=!0);let d,g,p;if((p=$u(e,o))>=0){if(d=!0,a=e.bMarks[o]+e.tShift[o],g=Number(e.src.slice(a,p-1)),l&&g!==1)return!1}else if((p=Iu(e,o))>=0)d=!1;else return!1;if(l&&e.skipSpaces(p)>=e.eMarks[o])return!1;if(i)return!0;const b=e.src.charCodeAt(p-1),f=e.tokens.length;d?(s=e.push("ordered_list_open","ol",1),g!==1&&(s.attrs=[["start",g]])):s=e.push("bullet_list_open","ul",1);const h=[o,0];s.map=h,s.markup=String.fromCharCode(b);let _=!1;const m=e.md.block.ruler.getRules("list"),w=e.parentType;for(e.parentType="list";o<n;){u=p,r=e.eMarks[o];const y=e.sCount[o]+p-(e.bMarks[o]+e.tShift[o]);let x=y;for(;u<r;){const L=e.src.charCodeAt(u);if(L===9)x+=4-(x+e.bsCount[o])%4;else if(L===32)x++;else break;u++}const k=u;let D;k>=r?D=1:D=x-y,D>4&&(D=1);const A=y+D;s=e.push("list_item_open","li",1),s.markup=String.fromCharCode(b);const N=[o,0];s.map=N,d&&(s.info=e.src.slice(a,p-1));const R=e.tight,O=e.tShift[o],q=e.sCount[o],K=e.listIndent;if(e.listIndent=e.blkIndent,e.blkIndent=A,e.tight=!0,e.tShift[o]=k-e.bMarks[o],e.sCount[o]=x,k>=r&&e.isEmpty(o+1)?e.line=Math.min(e.line+2,n):e.md.block.tokenize(e,o,n,!0),(!e.tight||_)&&(c=!1),_=e.line-o>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=K,e.tShift[o]=O,e.sCount[o]=q,e.tight=R,s=e.push("list_item_close","li",-1),s.markup=String.fromCharCode(b),o=e.line,N[1]=o,o>=n||e.sCount[o]<e.blkIndent||e.sCount[o]-e.blkIndent>=4)break;let F=!1;for(let L=0,W=m.length;L<W;L++)if(m[L](e,o,n,!0)){F=!0;break}if(F)break;if(d){if(p=$u(e,o),p<0)break;a=e.bMarks[o]+e.tShift[o]}else if(p=Iu(e,o),p<0)break;if(b!==e.src.charCodeAt(p-1))break}return d?s=e.push("ordered_list_close","ol",-1):s=e.push("bullet_list_close","ul",-1),s.markup=String.fromCharCode(b),h[1]=o,e.line=o,e.parentType=w,c&&qd(e,f),!0}function Gd(e,t,n,i){let r=e.bMarks[t]+e.tShift[t],u=e.eMarks[t],a=t+1;if(e.sCount[t]-e.blkIndent>=4||e.src.charCodeAt(r)!==91)return!1;function s(m){const w=e.lineMax;if(m>=w||e.isEmpty(m))return null;let y=!1;if(e.sCount[m]-e.blkIndent>3&&(y=!0),e.sCount[m]<0&&(y=!0),!y){const D=e.md.block.ruler.getRules("reference"),A=e.parentType;e.parentType="reference";let N=!1;for(let R=0,O=D.length;R<O;R++)if(D[R](e,m,w,!0)){N=!0;break}if(e.parentType=A,N)return null}const x=e.bMarks[m]+e.tShift[m],k=e.eMarks[m];return e.src.slice(x,k+1)}let o=e.src.slice(r,u+1);u=o.length;let c=-1;for(r=1;r<u;r++){const m=o.charCodeAt(r);if(m===91)return!1;if(m===93){c=r;break}else if(m===10){const w=s(a);w!==null&&(o+=w,u=o.length,a++)}else if(m===92&&(r++,r<u&&o.charCodeAt(r)===10)){const w=s(a);w!==null&&(o+=w,u=o.length,a++)}}if(c<0||o.charCodeAt(c+1)!==58)return!1;for(r=c+2;r<u;r++){const m=o.charCodeAt(r);if(m===10){const w=s(a);w!==null&&(o+=w,u=o.length,a++)}else if(!Ue(m))break}const l=e.md.helpers.parseLinkDestination(o,r,u);if(!l.ok)return!1;const d=e.md.normalizeLink(l.str);if(!e.md.validateLink(d))return!1;r=l.pos;const g=r,p=a,b=r;for(;r<u;r++){const m=o.charCodeAt(r);if(m===10){const w=s(a);w!==null&&(o+=w,u=o.length,a++)}else if(!Ue(m))break}let f=e.md.helpers.parseLinkTitle(o,r,u);for(;f.can_continue;){const m=s(a);if(m===null)break;o+=m,r=u,u=o.length,a++,f=e.md.helpers.parseLinkTitle(o,r,u,f)}let h;for(r<u&&b!==r&&f.ok?(h=f.str,r=f.pos):(h="",r=g,a=p);r<u;){const m=o.charCodeAt(r);if(!Ue(m))break;r++}if(r<u&&o.charCodeAt(r)!==10&&h)for(h="",r=g,a=p;r<u;){const m=o.charCodeAt(r);if(!Ue(m))break;r++}if(r<u&&o.charCodeAt(r)!==10)return!1;const _=kr(o.slice(1,c));return _?(i||(typeof e.env.references>"u"&&(e.env.references={}),typeof e.env.references[_]>"u"&&(e.env.references[_]={title:h,href:d}),e.line=a),!0):!1}const Kd=["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","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],Wd="[a-zA-Z_:][a-zA-Z0-9:._-]*",jd="[^\"'=<>`\\x00-\\x20]+",Zd="'[^']*'",Vd='"[^"]*"',Yd="(?:"+jd+"|"+Zd+"|"+Vd+")",Xd="(?:\\s+"+Wd+"(?:\\s*=\\s*"+Yd+")?)",ms="<[A-Za-z][A-Za-z0-9\\-]*"+Xd+"*\\s*\\/?>",_s="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",Qd="<!---?>|<!--(?:[^-]|-[^-]|--[^>])*-->",Jd="<[?][\\s\\S]*?[?]>",e0="<![A-Za-z][^>]*>",t0="<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",n0=new RegExp("^(?:"+ms+"|"+_s+"|"+Qd+"|"+Jd+"|"+e0+"|"+t0+")"),r0=new RegExp("^(?:"+ms+"|"+_s+")"),rn=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+Kd.join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(r0.source+"\\s*$"),/^$/,!1]];function i0(e,t,n,i){let r=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||!e.md.options.html||e.src.charCodeAt(r)!==60)return!1;let a=e.src.slice(r,u),s=0;for(;s<rn.length&&!rn[s][0].test(a);s++);if(s===rn.length)return!1;if(i)return rn[s][2];let o=t+1;const c=rn[s][1].test("");if(!rn[s][1].test(a)){for(;o<n&&!(e.sCount[o]<e.blkIndent&&(c||!e.isEmpty(o)));o++)if(r=e.bMarks[o]+e.tShift[o],u=e.eMarks[o],a=e.src.slice(r,u),rn[s][1].test(a)){a.length!==0&&o++;break}}e.line=o;const l=e.push("html_block","",0);return l.map=[t,o],l.content=e.getLines(t,o,e.blkIndent,!0),!0}function u0(e,t,n,i){let r=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;let a=e.src.charCodeAt(r);if(a!==35||r>=u)return!1;let s=1;for(a=e.src.charCodeAt(++r);a===35&&r<u&&s<=6;)s++,a=e.src.charCodeAt(++r);if(s>6||r<u&&!Ue(a))return!1;if(i)return!0;u=e.skipSpacesBack(u,r);const o=e.skipCharsBack(u,35,r);o>r&&Ue(e.src.charCodeAt(o-1))&&(u=o),e.line=t+1;const c=e.push("heading_open","h"+String(s),1);c.markup="########".slice(0,s),c.map=[t,e.line];const l=e.push("inline","",0);l.content=Ar(e.src.slice(r,u)),l.map=[t,e.line],l.children=[];const d=e.push("heading_close","h"+String(s),-1);return d.markup="########".slice(0,s),!0}function a0(e,t,n){const i=e.md.block.ruler.getRules("paragraph");if(e.sCount[t]-e.blkIndent>=4)return!1;const r=e.parentType;e.parentType="paragraph";let u=0,a,s=t+1;for(;s<n&&!e.isEmpty(s);s++){if(e.sCount[s]-e.blkIndent>3)continue;if(e.sCount[s]>=e.blkIndent){let p=e.bMarks[s]+e.tShift[s];const b=e.eMarks[s];if(p<b&&(a=e.src.charCodeAt(p),(a===45||a===61)&&(p=e.skipChars(p,a),p=e.skipSpaces(p),p>=b))){u=a===61?1:2;break}}if(e.sCount[s]<0)continue;let g=!1;for(let p=0,b=i.length;p<b;p++)if(i[p](e,s,n,!0)){g=!0;break}if(g)break}if(!u)return e.parentType=r,!1;const o=Ar(e.getLines(t,s,e.blkIndent,!1));e.line=s+1;const c=e.push("heading_open","h"+String(u),1);c.markup=String.fromCharCode(a),c.map=[t,e.line];const l=e.push("inline","",0);l.content=o,l.map=[t,e.line-1],l.children=[];const d=e.push("heading_close","h"+String(u),-1);return d.markup=String.fromCharCode(a),e.parentType=r,!0}function s0(e,t,n){const i=e.md.block.ruler.getRules("paragraph"),r=e.parentType;let u=t+1;for(e.parentType="paragraph";u<n&&!e.isEmpty(u);u++){if(e.sCount[u]-e.blkIndent>3||e.sCount[u]<0)continue;let c=!1;for(let l=0,d=i.length;l<d;l++)if(i[l](e,u,n,!0)){c=!0;break}if(c)break}const a=Ar(e.getLines(t,u,e.blkIndent,!1));e.line=u;const s=e.push("paragraph_open","p",1);s.map=[t,e.line];const o=e.push("inline","",0);return o.content=a,o.map=[t,e.line],o.children=[],e.push("paragraph_close","p",-1),e.parentType=r,!0}const Xn=[["table",Fd,["paragraph","reference"]],["code",Pd],["fence",Bd,["paragraph","reference","blockquote","list"]],["blockquote",Ud,["paragraph","reference","blockquote","list"]],["hr",zd,["paragraph","reference","blockquote","list"]],["list",Hd,["paragraph","reference","blockquote"]],["reference",Gd],["html_block",i0,["paragraph","reference","blockquote"]],["heading",u0,["paragraph","reference","blockquote"]],["lheading",a0],["paragraph",s0]];function Cr(){this.ruler=new ot;for(let e=0;e<Xn.length;e++)this.ruler.push(Xn[e][0],Xn[e][1],{alt:(Xn[e][2]||[]).slice()})}Cr.prototype.tokenize=function(e,t,n){const i=this.ruler.getRules(""),r=i.length,u=e.md.options.maxNesting;let a=t,s=!1;for(;a<n&&(e.line=a=e.skipEmptyLines(a),!(a>=n||e.sCount[a]<e.blkIndent));){if(e.level>=u){e.line=n;break}const o=e.line;let c=!1;for(let l=0;l<r;l++)if(c=i[l](e,a,n,!1),c){if(o>=e.line)throw new Error("block rule didn't increment state.line");break}if(!c)throw new Error("none of the block rules matched");e.tight=!s,e.isEmpty(e.line-1)&&(s=!0),a=e.line,a<n&&e.isEmpty(a)&&(s=!0,a++,e.line=a)}};Cr.prototype.parse=function(e,t,n,i){if(!e)return;const r=new this.State(e,t,n,i);this.tokenize(r,r.line,r.lineMax)};Cr.prototype.State=Lt;function zn(e,t,n,i){this.src=e,this.env=n,this.md=t,this.tokens=i,this.tokens_meta=Array(i.length),this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache={},this.delimiters=[],this._prev_delimiters=[],this.backticks={},this.backticksScanned=!1,this.linkLevel=0}zn.prototype.pushPending=function(){const e=new vt("text","",0);return e.content=this.pending,e.level=this.pendingLevel,this.tokens.push(e),this.pending="",e};zn.prototype.push=function(e,t,n){this.pending&&this.pushPending();const i=new vt(e,t,n);let r=null;return n<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()),i.level=this.level,n>0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],r={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(i),this.tokens_meta.push(r),i};zn.prototype.scanDelims=function(e,t){const n=this.posMax,i=this.src.charCodeAt(e);let r;if(e===0)r=32;else if(e===1)r=this.src.charCodeAt(0),(r&63488)===55296&&(r=65533);else if(r=this.src.charCodeAt(e-1),(r&64512)===56320){const h=this.src.charCodeAt(e-2);r=(h&64512)===55296?65536+(h-55296<<10)+(r-56320):65533}else(r&64512)===55296&&(r=65533);let u=e;for(;u<n&&this.src.charCodeAt(u)===i;)u++;const a=u-e;let s=u<n?this.src.charCodeAt(u):32;if((s&64512)===55296){const h=this.src.charCodeAt(u+1);s=(h&64512)===56320?65536+(s-55296<<10)+(h-56320):65533}else(s&64512)===56320&&(s=65533);const o=$n(r)||In(r),c=$n(s)||In(s),l=On(r),d=On(s),g=!d&&(!c||l||o),p=!l&&(!o||d||c);return{can_open:g&&(t||!p||o),can_close:p&&(t||!g||c),length:a}};zn.prototype.Token=vt;function o0(e){switch(e){case 10:case 33:case 35:case 36:case 37:case 38:case 42:case 43:case 45:case 58:case 60:case 61:case 62:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 125:case 126:return!0;default:return!1}}function c0(e,t){let n=e.pos;for(;n<e.posMax&&!o0(e.src.charCodeAt(n));)n++;return n===e.pos?!1:(t||(e.pending+=e.src.slice(e.pos,n)),e.pos=n,!0)}const l0=/(?:^|[^a-z0-9.+-])([a-z][a-z0-9.+-]*)$/i;function d0(e,t){if(!e.md.options.linkify||e.linkLevel>0)return!1;const n=e.pos,i=e.posMax;if(n+3>i||e.src.charCodeAt(n)!==58||e.src.charCodeAt(n+1)!==47||e.src.charCodeAt(n+2)!==47)return!1;const r=e.pending.match(l0);if(!r)return!1;const u=r[1],a=e.md.linkify.matchAtStart(e.src.slice(n-u.length));if(!a)return!1;let s=a.url;if(s.length<=u.length)return!1;let o=s.length;for(;o>0&&s.charCodeAt(o-1)===42;)o--;o!==s.length&&(s=s.slice(0,o));const c=e.md.normalizeLink(s);if(!e.md.validateLink(c))return!1;if(!t){e.pending=e.pending.slice(0,-u.length);const l=e.push("link_open","a",1);l.attrs=[["href",c]],l.markup="linkify",l.info="auto";const d=e.push("text","",0);d.content=e.md.normalizeLinkText(s);const g=e.push("link_close","a",-1);g.markup="linkify",g.info="auto"}return e.pos+=s.length-u.length,!0}function f0(e,t){let n=e.pos;if(e.src.charCodeAt(n)!==10)return!1;const i=e.pending.length-1,r=e.posMax;if(!t)if(i>=0&&e.pending.charCodeAt(i)===32)if(i>=1&&e.pending.charCodeAt(i-1)===32){let u=i-1;for(;u>=1&&e.pending.charCodeAt(u-1)===32;)u--;e.pending=e.pending.slice(0,u),e.push("hardbreak","br",0)}else e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0);else e.push("softbreak","br",0);for(n++;n<r&&Ue(e.src.charCodeAt(n));)n++;return e.pos=n,!0}const eu=[];for(let e=0;e<256;e++)eu.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(e){eu[e.charCodeAt(0)]=1});function p0(e,t){let n=e.pos;const i=e.posMax;if(e.src.charCodeAt(n)!==92||(n++,n>=i))return!1;let r=e.src.charCodeAt(n);if(r===10){for(t||e.push("hardbreak","br",0),n++;n<i&&(r=e.src.charCodeAt(n),!!Ue(r));)n++;return e.pos=n,!0}let u=e.src[n];if(r>=55296&&r<=56319&&n+1<i){const s=e.src.charCodeAt(n+1);s>=56320&&s<=57343&&(u+=e.src[n+1],n++)}const a="\\"+u;if(!t){const s=e.push("text_special","",0);r<256&&eu[r]!==0?s.content=u:s.content=a,s.markup=a,s.info="escape"}return e.pos=n+1,!0}function b0(e,t){let n=e.pos;if(e.src.charCodeAt(n)!==96)return!1;const r=n;n++;const u=e.posMax;for(;n<u&&e.src.charCodeAt(n)===96;)n++;const a=e.src.slice(r,n),s=a.length;if(e.backticksScanned&&(e.backticks[s]||0)<=r)return t||(e.pending+=a),e.pos+=s,!0;let o=n,c;for(;(c=e.src.indexOf("`",o))!==-1;){for(o=c+1;o<u&&e.src.charCodeAt(o)===96;)o++;const l=o-c;if(l===s){if(!t){const d=e.push("code_inline","code",0);d.markup=a,d.content=e.src.slice(n,c).replace(/\n/g," ").replace(/^ (.+) $/,"$1")}return e.pos=o,!0}e.backticks[l]=c}return e.backticksScanned=!0,t||(e.pending+=a),e.pos+=s,!0}function g0(e,t){const n=e.pos,i=e.src.charCodeAt(n);if(t||i!==126)return!1;const r=e.scanDelims(e.pos,!0);let u=r.length;const a=String.fromCharCode(i);if(u<2)return!1;let s;u%2&&(s=e.push("text","",0),s.content=a,u--);for(let o=0;o<u;o+=2)s=e.push("text","",0),s.content=a+a,e.delimiters.push({marker:i,length:0,token:e.tokens.length-1,end:-1,open:r.can_open,close:r.can_close});return e.pos+=r.length,!0}function Mu(e,t){let n;const i=[],r=t.length;for(let u=0;u<r;u++){const a=t[u];if(a.marker!==126||a.end===-1)continue;const s=t[a.end];n=e.tokens[a.token],n.type="s_open",n.tag="s",n.nesting=1,n.markup="~~",n.content="",n=e.tokens[s.token],n.type="s_close",n.tag="s",n.nesting=-1,n.markup="~~",n.content="",e.tokens[s.token-1].type==="text"&&e.tokens[s.token-1].content==="~"&&i.push(s.token-1)}for(;i.length;){const u=i.pop();let a=u+1;for(;a<e.tokens.length&&e.tokens[a].type==="s_close";)a++;a--,u!==a&&(n=e.tokens[a],e.tokens[a]=e.tokens[u],e.tokens[u]=n)}}function h0(e){const t=e.tokens_meta,n=e.tokens_meta.length;Mu(e,e.delimiters);for(let i=0;i<n;i++)t[i]&&t[i].delimiters&&Mu(e,t[i].delimiters)}const Es={tokenize:g0,postProcess:h0};function m0(e,t){const n=e.pos,i=e.src.charCodeAt(n);if(t||i!==95&&i!==42)return!1;const r=e.scanDelims(e.pos,i===42);for(let u=0;u<r.length;u++){const a=e.push("text","",0);a.content=String.fromCharCode(i),e.delimiters.push({marker:i,length:r.length,token:e.tokens.length-1,end:-1,open:r.can_open,close:r.can_close})}return e.pos+=r.length,!0}function Lu(e,t){const n=t.length;for(let i=n-1;i>=0;i--){const r=t[i];if(r.marker!==95&&r.marker!==42||r.end===-1)continue;const u=t[r.end],a=i>0&&t[i-1].end===r.end+1&&t[i-1].marker===r.marker&&t[i-1].token===r.token-1&&t[r.end+1].token===u.token+1,s=String.fromCharCode(r.marker),o=e.tokens[r.token];o.type=a?"strong_open":"em_open",o.tag=a?"strong":"em",o.nesting=1,o.markup=a?s+s:s,o.content="";const c=e.tokens[u.token];c.type=a?"strong_close":"em_close",c.tag=a?"strong":"em",c.nesting=-1,c.markup=a?s+s:s,c.content="",a&&(e.tokens[t[i-1].token].content="",e.tokens[t[r.end+1].token].content="",i--)}}function _0(e){const t=e.tokens_meta,n=e.tokens_meta.length;Lu(e,e.delimiters);for(let i=0;i<n;i++)t[i]&&t[i].delimiters&&Lu(e,t[i].delimiters)}const xs={tokenize:m0,postProcess:_0};function E0(e,t){let n,i,r,u,a="",s="",o=e.pos,c=!0;if(e.src.charCodeAt(e.pos)!==91)return!1;const l=e.pos,d=e.posMax,g=e.pos+1,p=e.md.helpers.parseLinkLabel(e,e.pos,!0);if(p<0)return!1;let b=p+1;if(b<d&&e.src.charCodeAt(b)===40){for(c=!1,b++;b<d&&(n=e.src.charCodeAt(b),!(!Ue(n)&&n!==10));b++);if(b>=d)return!1;if(o=b,r=e.md.helpers.parseLinkDestination(e.src,b,e.posMax),r.ok){for(a=e.md.normalizeLink(r.str),e.md.validateLink(a)?b=r.pos:a="",o=b;b<d&&(n=e.src.charCodeAt(b),!(!Ue(n)&&n!==10));b++);if(r=e.md.helpers.parseLinkTitle(e.src,b,e.posMax),b<d&&o!==b&&r.ok)for(s=r.str,b=r.pos;b<d&&(n=e.src.charCodeAt(b),!(!Ue(n)&&n!==10));b++);}(b>=d||e.src.charCodeAt(b)!==41)&&(c=!0),b++}if(c){if(typeof e.env.references>"u")return!1;if(b<d&&e.src.charCodeAt(b)===91?(o=b+1,b=e.md.helpers.parseLinkLabel(e,b),b>=0?i=e.src.slice(o,b++):b=p+1):b=p+1,i||(i=e.src.slice(g,p)),u=e.env.references[kr(i)],!u)return e.pos=l,!1;a=u.href,s=u.title}if(!t){e.pos=g,e.posMax=p;const f=e.push("link_open","a",1),h=[["href",a]];f.attrs=h,s&&h.push(["title",s]),e.linkLevel++,e.md.inline.tokenize(e),e.linkLevel--,e.push("link_close","a",-1)}return e.pos=b,e.posMax=d,!0}function x0(e,t){let n,i,r,u,a,s,o,c,l="";const d=e.pos,g=e.posMax;if(e.src.charCodeAt(e.pos)!==33||e.src.charCodeAt(e.pos+1)!==91)return!1;const p=e.pos+2,b=e.md.helpers.parseLinkLabel(e,e.pos+1,!1);if(b<0)return!1;if(u=b+1,u<g&&e.src.charCodeAt(u)===40){for(u++;u<g&&(n=e.src.charCodeAt(u),!(!Ue(n)&&n!==10));u++);if(u>=g)return!1;for(c=u,s=e.md.helpers.parseLinkDestination(e.src,u,e.posMax),s.ok&&(l=e.md.normalizeLink(s.str),e.md.validateLink(l)?u=s.pos:l=""),c=u;u<g&&(n=e.src.charCodeAt(u),!(!Ue(n)&&n!==10));u++);if(s=e.md.helpers.parseLinkTitle(e.src,u,e.posMax),u<g&&c!==u&&s.ok)for(o=s.str,u=s.pos;u<g&&(n=e.src.charCodeAt(u),!(!Ue(n)&&n!==10));u++);else o="";if(u>=g||e.src.charCodeAt(u)!==41)return e.pos=d,!1;u++}else{if(typeof e.env.references>"u")return!1;if(u<g&&e.src.charCodeAt(u)===91?(c=u+1,u=e.md.helpers.parseLinkLabel(e,u),u>=0?r=e.src.slice(c,u++):u=b+1):u=b+1,r||(r=e.src.slice(p,b)),a=e.env.references[kr(r)],!a)return e.pos=d,!1;l=a.href,o=a.title}if(!t){i=e.src.slice(p,b);const f=[];e.md.inline.parse(i,e.md,e.env,f);const h=e.push("image","img",0),_=[["src",l],["alt",""]];h.attrs=_,h.children=f,h.content=i,o&&_.push(["title",o])}return e.pos=u,e.posMax=g,!0}const y0=/^([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])?)*)$/,v0=/^([a-zA-Z][a-zA-Z0-9+.-]{1,31}):([^<>\x00-\x20]*)$/;function w0(e,t){let n=e.pos;if(e.src.charCodeAt(n)!==60)return!1;const i=e.pos,r=e.posMax;for(;;){if(++n>=r)return!1;const a=e.src.charCodeAt(n);if(a===60)return!1;if(a===62)break}const u=e.src.slice(i+1,n);if(v0.test(u)){const a=e.md.normalizeLink(u);if(!e.md.validateLink(a))return!1;if(!t){const s=e.push("link_open","a",1);s.attrs=[["href",a]],s.markup="autolink",s.info="auto";const o=e.push("text","",0);o.content=e.md.normalizeLinkText(u);const c=e.push("link_close","a",-1);c.markup="autolink",c.info="auto"}return e.pos+=u.length+2,!0}if(y0.test(u)){const a=e.md.normalizeLink("mailto:"+u);if(!e.md.validateLink(a))return!1;if(!t){const s=e.push("link_open","a",1);s.attrs=[["href",a]],s.markup="autolink",s.info="auto";const o=e.push("text","",0);o.content=e.md.normalizeLinkText(u);const c=e.push("link_close","a",-1);c.markup="autolink",c.info="auto"}return e.pos+=u.length+2,!0}return!1}function k0(e){return/^<a[>\s]/i.test(e)}function A0(e){return/^<\/a\s*>/i.test(e)}function C0(e){const t=e|32;return t>=97&&t<=122}function S0(e,t){if(!e.md.options.html)return!1;const n=e.posMax,i=e.pos;if(e.src.charCodeAt(i)!==60||i+2>=n)return!1;const r=e.src.charCodeAt(i+1);if(r!==33&&r!==63&&r!==47&&!C0(r))return!1;const u=e.src.slice(i).match(n0);if(!u)return!1;if(!t){const a=e.push("html_inline","",0);a.content=u[0],k0(a.content)&&e.linkLevel++,A0(a.content)&&e.linkLevel--}return e.pos+=u[0].length,!0}const N0=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,T0=/^&([a-z][a-z0-9]{1,31});/i;function D0(e,t){const n=e.pos,i=e.posMax;if(e.src.charCodeAt(n)!==38||n+1>=i)return!1;if(e.src.charCodeAt(n+1)===35){const u=e.src.slice(n).match(N0);if(u){if(!t){const a=u[1][0].toLowerCase()==="x"?parseInt(u[1].slice(1),16):parseInt(u[1],10),s=e.push("text_special","",0);s.content=Qi(a)?Rn(a):Rn(65533),s.markup=u[0],s.info="entity"}return e.pos+=u[0].length,!0}}else{const u=e.src.slice(n).match(T0);if(u){const a=Vl(u[0]);if(a!==u[0]){if(!t){const s=e.push("text_special","",0);s.content=a,s.markup=u[0],s.info="entity"}return e.pos+=u[0].length,!0}}}return!1}function Fu(e){const t={},n=e.length;if(!n)return;let i=0,r=-2;const u=[];for(let a=0;a<n;a++){const s=e[a];if(u.push(0),(e[i].marker!==s.marker||r!==s.token-1)&&(i=a),r=s.token,s.length=s.length||0,!s.close)continue;t.hasOwnProperty(s.marker)||(t[s.marker]=[-1,-1,-1,-1,-1,-1]);const o=t[s.marker][(s.open?3:0)+s.length%3];let c=i-u[i]-1,l=c;for(;c>o;c-=u[c]+1){const d=e[c];if(d.marker===s.marker&&d.open&&d.end<0){let g=!1;if((d.close||s.open)&&(d.length+s.length)%3===0&&(d.length%3!==0||s.length%3!==0)&&(g=!0),!g){const p=c>0&&!e[c-1].open?u[c-1]+1:0;u[a]=a-c+p,u[c]=p,s.open=!1,d.end=a,d.close=!1,l=-1,r=-2;break}}}l!==-1&&(t[s.marker][(s.open?3:0)+(s.length||0)%3]=l)}}function R0(e){const t=e.tokens_meta,n=e.tokens_meta.length;Fu(e.delimiters);for(let i=0;i<n;i++)t[i]&&t[i].delimiters&&Fu(t[i].delimiters)}function O0(e){let t,n,i=0;const r=e.tokens,u=e.tokens.length;for(t=n=0;t<u;t++)r[t].nesting<0&&i--,r[t].level=i,r[t].nesting>0&&i++,r[t].type==="text"&&t+1<u&&r[t+1].type==="text"?r[t+1].content=r[t].content+r[t+1].content:(t!==n&&(r[n]=r[t]),n++);t!==n&&(r.length=n)}const zr=[["text",c0],["linkify",d0],["newline",f0],["escape",p0],["backticks",b0],["strikethrough",Es.tokenize],["emphasis",xs.tokenize],["link",E0],["image",x0],["autolink",w0],["html_inline",S0],["entity",D0]],qr=[["balance_pairs",R0],["strikethrough",Es.postProcess],["emphasis",xs.postProcess],["fragments_join",O0]];function qn(){this.ruler=new ot;for(let e=0;e<zr.length;e++)this.ruler.push(zr[e][0],zr[e][1]);this.ruler2=new ot;for(let e=0;e<qr.length;e++)this.ruler2.push(qr[e][0],qr[e][1])}qn.prototype.skipToken=function(e){const t=e.pos,n=this.ruler.getRules(""),i=n.length,r=e.md.options.maxNesting,u=e.cache;if(typeof u[t]<"u"){e.pos=u[t];return}let a=!1;if(e.level<r){for(let s=0;s<i;s++)if(e.level++,a=n[s](e,!0),e.level--,a){if(t>=e.pos)throw new Error("inline rule didn't increment state.pos");break}}else e.pos=e.posMax;a||e.pos++,u[t]=e.pos};qn.prototype.tokenize=function(e){const t=this.ruler.getRules(""),n=t.length,i=e.posMax,r=e.md.options.maxNesting;for(;e.pos<i;){const u=e.pos;let a=!1;if(e.level<r){for(let s=0;s<n;s++)if(a=t[s](e,!1),a){if(u>=e.pos)throw new Error("inline rule didn't increment state.pos");break}}if(a){if(e.pos>=i)break;continue}e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()};qn.prototype.parse=function(e,t,n,i){const r=new this.State(e,t,n,i);this.tokenize(r);const u=this.ruler2.getRules(""),a=u.length;for(let s=0;s<a;s++)u[s](r)};qn.prototype.State=zn;function I0(e){const t={};e=e||{},t.src_Any=as.source,t.src_Cc=ss.source,t.src_Z=cs.source,t.src_P=Yi.source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join("|"),t.src_ZCc=[t.src_Z,t.src_Cc].join("|");const n="[><|]";return t.src_pseudo_letter="(?:(?!"+n+"|"+t.src_ZPCc+")"+t.src_Any+")",t.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",t.src_auth="(?:(?:(?!"+t.src_ZCc+"|[@/\\[\\]()]).)+@)?",t.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",t.src_host_terminator="(?=$|"+n+"|"+t.src_ZPCc+")(?!"+(e["---"]?"-(?!--)|":"-|")+"_|:\\d|\\.-|\\.(?!$|"+t.src_ZPCc+"))",t.src_path="(?:[/?#](?:(?!"+t.src_ZCc+"|"+n+`|[()[\\]{}.,"'?!\\-;]).|\\[(?:(?!`+t.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+t.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+t.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+t.src_ZCc+`|["]).)+\\"|\\'(?:(?!`+t.src_ZCc+"|[']).)+\\'|\\'(?="+t.src_pseudo_letter+"|[-])|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+t.src_ZCc+"|[.]|$)|"+(e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+",(?!"+t.src_ZCc+"|$)|;(?!"+t.src_ZCc+"|$)|\\!+(?!"+t.src_ZCc+"|[!]|$)|\\?(?!"+t.src_ZCc+"|[?]|$))+|\\/)?",t.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',t.src_xn="xn--[a-z0-9\\-]{1,59}",t.src_domain_root="(?:"+t.src_xn+"|"+t.src_pseudo_letter+"{1,63})",t.src_domain="(?:"+t.src_xn+"|(?:"+t.src_pseudo_letter+")|(?:"+t.src_pseudo_letter+"(?:-|"+t.src_pseudo_letter+"){0,61}"+t.src_pseudo_letter+"))",t.src_host="(?:(?:(?:(?:"+t.src_domain+")\\.)*"+t.src_domain+"))",t.tpl_host_fuzzy="(?:"+t.src_ip4+"|(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%)))",t.tpl_host_no_ip_fuzzy="(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%))",t.src_host_strict=t.src_host+t.src_host_terminator,t.tpl_host_fuzzy_strict=t.tpl_host_fuzzy+t.src_host_terminator,t.src_host_port_strict=t.src_host+t.src_port+t.src_host_terminator,t.tpl_host_port_fuzzy_strict=t.tpl_host_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_port_no_ip_fuzzy_strict=t.tpl_host_no_ip_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+t.src_ZPCc+"|>|$))",t.tpl_email_fuzzy="(^|"+n+'|"|\\(|'+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}function Bi(e){return Array.prototype.slice.call(arguments,1).forEach(function(n){n&&Object.keys(n).forEach(function(i){e[i]=n[i]})}),e}function Sr(e){return Object.prototype.toString.call(e)}function $0(e){return Sr(e)==="[object String]"}function M0(e){return Sr(e)==="[object Object]"}function L0(e){return Sr(e)==="[object RegExp]"}function Pu(e){return Sr(e)==="[object Function]"}function F0(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}const ys={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function P0(e){return Object.keys(e||{}).reduce(function(t,n){return t||ys.hasOwnProperty(n)},!1)}const B0={"http:":{validate:function(e,t,n){const i=e.slice(t);return n.re.http||(n.re.http=new RegExp("^\\/\\/"+n.re.src_auth+n.re.src_host_port_strict+n.re.src_path,"i")),n.re.http.test(i)?i.match(n.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,n){const i=e.slice(t);return n.re.no_http||(n.re.no_http=new RegExp("^"+n.re.src_auth+"(?:localhost|(?:(?:"+n.re.src_domain+")\\.)+"+n.re.src_domain_root+")"+n.re.src_port+n.re.src_host_terminator+n.re.src_path,"i")),n.re.no_http.test(i)?t>=3&&e[t-3]===":"||t>=3&&e[t-3]==="/"?0:i.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,n){const i=e.slice(t);return n.re.mailto||(n.re.mailto=new RegExp("^"+n.re.src_email_name+"@"+n.re.src_host_strict,"i")),n.re.mailto.test(i)?i.match(n.re.mailto)[0].length:0}}},U0="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",z0="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function q0(e){return function(t,n){const i=t.slice(n);return e.test(i)?i.match(e)[0].length:0}}function Bu(){return function(e,t){t.normalize(e)}}function hr(e){const t=e.re=I0(e.__opts__),n=e.__tlds__.slice();e.onCompile(),e.__tlds_replaced__||n.push(U0),n.push(t.src_xn),t.src_tlds=n.join("|");function i(s){return s.replace("%TLDS%",t.src_tlds)}t.email_fuzzy=RegExp(i(t.tpl_email_fuzzy),"i"),t.email_fuzzy_global=RegExp(i(t.tpl_email_fuzzy),"ig"),t.link_fuzzy=RegExp(i(t.tpl_link_fuzzy),"i"),t.link_fuzzy_global=RegExp(i(t.tpl_link_fuzzy),"ig"),t.link_no_ip_fuzzy=RegExp(i(t.tpl_link_no_ip_fuzzy),"i"),t.link_no_ip_fuzzy_global=RegExp(i(t.tpl_link_no_ip_fuzzy),"ig"),t.host_fuzzy_test=RegExp(i(t.tpl_host_fuzzy_test),"i");const r=[];e.__compiled__={};function u(s,o){throw new Error('(LinkifyIt) Invalid schema "'+s+'": '+o)}Object.keys(e.__schemas__).forEach(function(s){const o=e.__schemas__[s];if(o===null)return;const c={validate:null,link:null};if(e.__compiled__[s]=c,M0(o)){L0(o.validate)?c.validate=q0(o.validate):Pu(o.validate)?c.validate=o.validate:u(s,o),Pu(o.normalize)?c.normalize=o.normalize:o.normalize?u(s,o):c.normalize=Bu();return}if($0(o)){r.push(s);return}u(s,o)}),r.forEach(function(s){e.__compiled__[e.__schemas__[s]]&&(e.__compiled__[s].validate=e.__compiled__[e.__schemas__[s]].validate,e.__compiled__[s].normalize=e.__compiled__[e.__schemas__[s]].normalize)}),e.__compiled__[""]={validate:null,normalize:Bu()};const a=Object.keys(e.__compiled__).filter(function(s){return s.length>0&&e.__compiled__[s]}).map(F0).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+a+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+a+")","ig"),e.re.schema_at_start=RegExp("^"+e.re.schema_search.source,"i"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i")}function vs(e,t,n,i){const r=e.slice(n,i);this.schema=t.toLowerCase(),this.index=n,this.lastIndex=i,this.raw=r,this.text=r,this.url=r}function pt(e,t){if(!(this instanceof pt))return new pt(e,t);t||P0(e)&&(t=e,e={}),this.__opts__=Bi({},ys,t),this.__schemas__=Bi({},B0,e),this.__compiled__={},this.__tlds__=z0,this.__tlds_replaced__=!1,this.re={},hr(this)}pt.prototype.add=function(t,n){return this.__schemas__[t]=n,hr(this),this};pt.prototype.set=function(t){return this.__opts__=Bi(this.__opts__,t),this};pt.prototype.test=function(t){if(!t.length)return!1;let n,i;if(this.re.schema_test.test(t)){for(i=this.re.schema_search,i.lastIndex=0;(n=i.exec(t))!==null;)if(this.testSchemaAt(t,n[2],i.lastIndex))return!0}return!!(this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&t.search(this.re.host_fuzzy_test)>=0&&t.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy)!==null||this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&t.indexOf("@")>=0&&t.match(this.re.email_fuzzy)!==null)};pt.prototype.pretest=function(t){return this.re.pretest.test(t)};pt.prototype.testSchemaAt=function(t,n,i){return this.__compiled__[n.toLowerCase()]?this.__compiled__[n.toLowerCase()].validate(t,i,this):0};pt.prototype.match=function(t){const n=[],i=[],r=[],u=[];let a,s,o;function c(g,p){return g?p?g.index!==p.index?g.index<p.index?g:p:g.lastIndex>=p.lastIndex?g:p:g:p}if(!t.length)return null;if(this.re.schema_test.test(t))for(o=this.re.schema_search,o.lastIndex=0;(a=o.exec(t))!==null;)s=this.testSchemaAt(t,a[2],o.lastIndex),s&&i.push({schema:a[2],index:a.index+a[1].length,lastIndex:a.index+a[0].length+s});if(this.__opts__.fuzzyLink&&this.__compiled__["http:"])for(o=this.__opts__.fuzzyIP?this.re.link_fuzzy_global:this.re.link_no_ip_fuzzy_global,o.lastIndex=0;(a=o.exec(t))!==null;)r.push({schema:"",index:a.index+a[1].length,lastIndex:a.index+a[0].length});if(this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"])for(o=this.re.email_fuzzy_global,o.lastIndex=0;(a=o.exec(t))!==null;)u.push({schema:"mailto:",index:a.index+a[1].length,lastIndex:a.index+a[0].length});const l=[0,0,0];let d=0;for(;;){const g=[i[l[0]],u[l[1]],r[l[2]]],p=c(c(g[0],g[1]),g[2]);if(!p)break;if(p===g[0]?l[0]++:p===g[1]?l[1]++:l[2]++,p.index<d)continue;const b=new vs(t,p.schema,p.index,p.lastIndex);this.__compiled__[b.schema].normalize(b,this),n.push(b),d=p.lastIndex}return n.length?n:null};pt.prototype.matchAtStart=function(t){if(!t.length)return null;const n=this.re.schema_at_start.exec(t);if(!n)return null;const i=this.testSchemaAt(t,n[2],n[0].length);if(!i)return null;const r=new vs(t,n[2],n.index+n[1].length,n.index+n[0].length+i);return this.__compiled__[r.schema].normalize(r,this),r};pt.prototype.tlds=function(t,n){return t=Array.isArray(t)?t:[t],n?(this.__tlds__=this.__tlds__.concat(t).sort().filter(function(i,r,u){return i!==u[r-1]}).reverse(),hr(this),this):(this.__tlds__=t.slice(),this.__tlds_replaced__=!0,hr(this),this)};pt.prototype.normalize=function(t){t.schema||(t.url="http://"+t.url),t.schema==="mailto:"&&!/^mailto:/i.test(t.url)&&(t.url="mailto:"+t.url)};pt.prototype.onCompile=function(){};const dn=2147483647,Dt=36,tu=1,Mn=26,H0=38,G0=700,ws=72,ks=128,As="-",K0=/^xn--/,W0=/[^\0-\x7F]/,j0=/[\x2E\u3002\uFF0E\uFF61]/g,Z0={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},Hr=Dt-tu,Rt=Math.floor,Gr=String.fromCharCode;function Xt(e){throw new RangeError(Z0[e])}function V0(e,t){const n=[];let i=e.length;for(;i--;)n[i]=t(e[i]);return n}function Cs(e,t){const n=e.split("@");let i="";n.length>1&&(i=n[0]+"@",e=n[1]),e=e.replace(j0,".");const r=e.split("."),u=V0(r,t).join(".");return i+u}function Ss(e){const t=[];let n=0;const i=e.length;for(;n<i;){const r=e.charCodeAt(n++);if(r>=55296&&r<=56319&&n<i){const u=e.charCodeAt(n++);(u&64512)==56320?t.push(((r&1023)<<10)+(u&1023)+65536):(t.push(r),n--)}else t.push(r)}return t}const Y0=e=>String.fromCodePoint(...e),X0=function(e){return e>=48&&e<58?26+(e-48):e>=65&&e<91?e-65:e>=97&&e<123?e-97:Dt},Uu=function(e,t){return e+22+75*(e<26)-((t!=0)<<5)},Ns=function(e,t,n){let i=0;for(e=n?Rt(e/G0):e>>1,e+=Rt(e/t);e>Hr*Mn>>1;i+=Dt)e=Rt(e/Hr);return Rt(i+(Hr+1)*e/(e+H0))},Ts=function(e){const t=[],n=e.length;let i=0,r=ks,u=ws,a=e.lastIndexOf(As);a<0&&(a=0);for(let s=0;s<a;++s)e.charCodeAt(s)>=128&&Xt("not-basic"),t.push(e.charCodeAt(s));for(let s=a>0?a+1:0;s<n;){const o=i;for(let l=1,d=Dt;;d+=Dt){s>=n&&Xt("invalid-input");const g=X0(e.charCodeAt(s++));g>=Dt&&Xt("invalid-input"),g>Rt((dn-i)/l)&&Xt("overflow"),i+=g*l;const p=d<=u?tu:d>=u+Mn?Mn:d-u;if(g<p)break;const b=Dt-p;l>Rt(dn/b)&&Xt("overflow"),l*=b}const c=t.length+1;u=Ns(i-o,c,o==0),Rt(i/c)>dn-r&&Xt("overflow"),r+=Rt(i/c),i%=c,t.splice(i++,0,r)}return String.fromCodePoint(...t)},Ds=function(e){const t=[];e=Ss(e);const n=e.length;let i=ks,r=0,u=ws;for(const o of e)o<128&&t.push(Gr(o));const a=t.length;let s=a;for(a&&t.push(As);s<n;){let o=dn;for(const l of e)l>=i&&l<o&&(o=l);const c=s+1;o-i>Rt((dn-r)/c)&&Xt("overflow"),r+=(o-i)*c,i=o;for(const l of e)if(l<i&&++r>dn&&Xt("overflow"),l===i){let d=r;for(let g=Dt;;g+=Dt){const p=g<=u?tu:g>=u+Mn?Mn:g-u;if(d<p)break;const b=d-p,f=Dt-p;t.push(Gr(Uu(p+b%f,0))),d=Rt(b/f)}t.push(Gr(Uu(d,0))),u=Ns(r,c,s===a),r=0,++s}++r,++i}return t.join("")},Q0=function(e){return Cs(e,function(t){return K0.test(t)?Ts(t.slice(4).toLowerCase()):t})},J0=function(e){return Cs(e,function(t){return W0.test(t)?"xn--"+Ds(t):t})},Rs={version:"2.3.1",ucs2:{decode:Ss,encode:Y0},decode:Ts,encode:Ds,toASCII:J0,toUnicode:Q0},ef={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}},tf={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","fragments_join"]}}},nf={options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","fragments_join"]}}},rf={default:ef,zero:tf,commonmark:nf},uf=/^(vbscript|javascript|file|data):/,af=/^data:image\/(gif|png|jpeg|webp);/;function sf(e){const t=e.trim().toLowerCase();return uf.test(t)?af.test(t):!0}const Os=["http:","https:","mailto:"];function of(e){const t=Vi(e,!0);if(t.hostname&&(!t.protocol||Os.indexOf(t.protocol)>=0))try{t.hostname=Rs.toASCII(t.hostname)}catch{}return Un(Zi(t))}function cf(e){const t=Vi(e,!0);if(t.hostname&&(!t.protocol||Os.indexOf(t.protocol)>=0))try{t.hostname=Rs.toUnicode(t.hostname)}catch{}return hn(Zi(t),hn.defaultChars+"%")}function ht(e,t){if(!(this instanceof ht))return new ht(e,t);t||Xi(e)||(t=e||{},e="default"),this.inline=new qn,this.block=new Cr,this.core=new Ji,this.renderer=new vn,this.linkify=new pt,this.validateLink=sf,this.normalizeLink=of,this.normalizeLinkText=cf,this.utils=dd,this.helpers=wr({},gd),this.options={},this.configure(e),t&&this.set(t)}ht.prototype.set=function(e){return wr(this.options,e),this};ht.prototype.configure=function(e){const t=this;if(Xi(e)){const n=e;if(e=rf[n],!e)throw new Error('Wrong `markdown-it` preset "'+n+'", check name')}if(!e)throw new Error("Wrong `markdown-it` preset, can't be empty");return e.options&&t.set(e.options),e.components&&Object.keys(e.components).forEach(function(n){e.components[n].rules&&t[n].ruler.enableOnly(e.components[n].rules),e.components[n].rules2&&t[n].ruler2.enableOnly(e.components[n].rules2)}),this};ht.prototype.enable=function(e,t){let n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(r){n=n.concat(this[r].ruler.enable(e,!0))},this),n=n.concat(this.inline.ruler2.enable(e,!0));const i=e.filter(function(r){return n.indexOf(r)<0});if(i.length&&!t)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+i);return this};ht.prototype.disable=function(e,t){let n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(r){n=n.concat(this[r].ruler.disable(e,!0))},this),n=n.concat(this.inline.ruler2.disable(e,!0));const i=e.filter(function(r){return n.indexOf(r)<0});if(i.length&&!t)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+i);return this};ht.prototype.use=function(e){const t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this};ht.prototype.parse=function(e,t){if(typeof e!="string")throw new Error("Input data should be a String");const n=new this.core.State(e,this,t);return this.core.process(n),n.tokens};ht.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)};ht.prototype.parseInline=function(e,t){const n=new this.core.State(e,this,t);return n.inlineMode=!0,this.core.process(n),n.tokens};ht.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)};function Is(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Kr,zu;function lf(){if(zu)return Kr;zu=1;var e=!0,t=!1,n=!1;Kr=function(f,h){h&&(e=!h.enabled,t=!!h.label,n=!!h.labelAfter),f.core.ruler.after("inline","github-task-lists",function(_){for(var m=_.tokens,w=2;w<m.length;w++)u(m,w)&&(a(m[w],_.Token),i(m[w-2],"class","task-list-item"+(e?"":" enabled")),i(m[r(m,w-2)],"class","contains-task-list"))})};function i(f,h,_){var m=f.attrIndex(h),w=[h,_];m<0?f.attrPush(w):f.attrs[m]=w}function r(f,h){for(var _=f[h].level-1,m=h-1;m>=0;m--)if(f[m].level===_)return m;return-1}function u(f,h){return d(f[h])&&g(f[h-1])&&p(f[h-2])&&b(f[h])}function a(f,h){if(f.children.unshift(s(f,h)),f.children[1].content=f.children[1].content.slice(3),f.content=f.content.slice(3),t)if(n){f.children.pop();var _="task-item-"+Math.ceil(Math.random()*(1e4*1e3)-1e3);f.children[0].content=f.children[0].content.slice(0,-1)+' id="'+_+'">',f.children.push(l(f.content,_,h))}else f.children.unshift(o(h)),f.children.push(c(h))}function s(f,h){var _=new h("html_inline","",0),m=e?' disabled="" ':"";return f.content.indexOf("[ ] ")===0?_.content='<input class="task-list-item-checkbox"'+m+'type="checkbox">':(f.content.indexOf("[x] ")===0||f.content.indexOf("[X] ")===0)&&(_.content='<input class="task-list-item-checkbox" checked=""'+m+'type="checkbox">'),_}function o(f){var h=new f("html_inline","",0);return h.content="<label>",h}function c(f){var h=new f("html_inline","",0);return h.content="</label>",h}function l(f,h,_){var m=new _("html_inline","",0);return m.content='<label class="task-list-item-label" for="'+h+'">'+f+"</label>",m.attrs=[{for:h}],m}function d(f){return f.type==="inline"}function g(f){return f.type==="paragraph_open"}function p(f){return f.type==="list_item_open"}function b(f){return f.content.indexOf("[ ] ")===0||f.content.indexOf("[x] ")===0||f.content.indexOf("[X] ")===0}return Kr}var df=lf();const ff=Is(df);var Wr,qu;function pf(){if(qu)return Wr;qu=1;function e(E){return E instanceof Map?E.clear=E.delete=E.set=function(){throw new Error("map is read-only")}:E instanceof Set&&(E.add=E.clear=E.delete=function(){throw new Error("set is read-only")}),Object.freeze(E),Object.getOwnPropertyNames(E).forEach(C=>{const U=E[C],ie=typeof U;(ie==="object"||ie==="function")&&!Object.isFrozen(U)&&e(U)}),E}class t{constructor(C){C.data===void 0&&(C.data={}),this.data=C.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function n(E){return E.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}function i(E,...C){const U=Object.create(null);for(const ie in E)U[ie]=E[ie];return C.forEach(function(ie){for(const Me in ie)U[Me]=ie[Me]}),U}const r="</span>",u=E=>!!E.scope,a=(E,{prefix:C})=>{if(E.startsWith("language:"))return E.replace("language:","language-");if(E.includes(".")){const U=E.split(".");return[`${C}${U.shift()}`,...U.map((ie,Me)=>`${ie}${"_".repeat(Me+1)}`)].join(" ")}return`${C}${E}`};class s{constructor(C,U){this.buffer="",this.classPrefix=U.classPrefix,C.walk(this)}addText(C){this.buffer+=n(C)}openNode(C){if(!u(C))return;const U=a(C.scope,{prefix:this.classPrefix});this.span(U)}closeNode(C){u(C)&&(this.buffer+=r)}value(){return this.buffer}span(C){this.buffer+=`<span class="${C}">`}}const o=(E={})=>{const C={children:[]};return Object.assign(C,E),C};class c{constructor(){this.rootNode=o(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(C){this.top.children.push(C)}openNode(C){const U=o({scope:C});this.add(U),this.stack.push(U)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(C){return this.constructor._walk(C,this.rootNode)}static _walk(C,U){return typeof U=="string"?C.addText(U):U.children&&(C.openNode(U),U.children.forEach(ie=>this._walk(C,ie)),C.closeNode(U)),C}static _collapse(C){typeof C!="string"&&C.children&&(C.children.every(U=>typeof U=="string")?C.children=[C.children.join("")]:C.children.forEach(U=>{c._collapse(U)}))}}class l extends c{constructor(C){super(),this.options=C}addText(C){C!==""&&this.add(C)}startScope(C){this.openNode(C)}endScope(){this.closeNode()}__addSublanguage(C,U){const ie=C.root;U&&(ie.scope=`language:${U}`),this.add(ie)}toHTML(){return new s(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}}function d(E){return E?typeof E=="string"?E:E.source:null}function g(E){return f("(?=",E,")")}function p(E){return f("(?:",E,")*")}function b(E){return f("(?:",E,")?")}function f(...E){return E.map(U=>d(U)).join("")}function h(E){const C=E[E.length-1];return typeof C=="object"&&C.constructor===Object?(E.splice(E.length-1,1),C):{}}function _(...E){return"("+(h(E).capture?"":"?:")+E.map(ie=>d(ie)).join("|")+")"}function m(E){return new RegExp(E.toString()+"|").exec("").length-1}function w(E,C){const U=E&&E.exec(C);return U&&U.index===0}const y=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function x(E,{joinWith:C}){let U=0;return E.map(ie=>{U+=1;const Me=U;let de=d(ie),V="";for(;de.length>0;){const ne=y.exec(de);if(!ne){V+=de;break}V+=de.substring(0,ne.index),de=de.substring(ne.index+ne[0].length),ne[0][0]==="\\"&&ne[1]?V+="\\"+String(Number(ne[1])+Me):(V+=ne[0],ne[0]==="("&&U++)}return V}).map(ie=>`(${ie})`).join(C)}const k=/\b\B/,D="[a-zA-Z]\\w*",A="[a-zA-Z_]\\w*",N="\\b\\d+(\\.\\d+)?",R="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",O="\\b(0b[01]+)",q="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",K=(E={})=>{const C=/^#![ ]*\//;return E.binary&&(E.begin=f(C,/.*\b/,E.binary,/\b.*/)),i({scope:"meta",begin:C,end:/$/,relevance:0,"on:begin":(U,ie)=>{U.index!==0&&ie.ignoreMatch()}},E)},F={begin:"\\\\[\\s\\S]",relevance:0},L={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[F]},W={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[F]},P={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},j=function(E,C,U={}){const ie=i({scope:"comment",begin:E,end:C,contains:[]},U);ie.contains.push({scope:"doctag",begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});const Me=_("I","a","is","so","us","to","at","if","in","it","on",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return ie.contains.push({begin:f(/[ ]+/,"(",Me,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),ie},$=j("//","$"),B=j("/\\*","\\*/"),Z=j("#","$"),M={scope:"number",begin:N,relevance:0},Ee={scope:"number",begin:R,relevance:0},Se={scope:"number",begin:O,relevance:0},fe={scope:"regexp",begin:/\/(?=[^/\n]*\/)/,end:/\/[gimuy]*/,contains:[F,{begin:/\[/,end:/\]/,relevance:0,contains:[F]}]},Le={scope:"title",begin:D,relevance:0},I={scope:"title",begin:A,relevance:0},te={begin:"\\.\\s*"+A,relevance:0};var ge=Object.freeze({__proto__:null,APOS_STRING_MODE:L,BACKSLASH_ESCAPE:F,BINARY_NUMBER_MODE:Se,BINARY_NUMBER_RE:O,COMMENT:j,C_BLOCK_COMMENT_MODE:B,C_LINE_COMMENT_MODE:$,C_NUMBER_MODE:Ee,C_NUMBER_RE:R,END_SAME_AS_BEGIN:function(E){return Object.assign(E,{"on:begin":(C,U)=>{U.data._beginMatch=C[1]},"on:end":(C,U)=>{U.data._beginMatch!==C[1]&&U.ignoreMatch()}})},HASH_COMMENT_MODE:Z,IDENT_RE:D,MATCH_NOTHING_RE:k,METHOD_GUARD:te,NUMBER_MODE:M,NUMBER_RE:N,PHRASAL_WORDS_MODE:P,QUOTE_STRING_MODE:W,REGEXP_MODE:fe,RE_STARTERS_RE:q,SHEBANG:K,TITLE_MODE:Le,UNDERSCORE_IDENT_RE:A,UNDERSCORE_TITLE_MODE:I});function he(E,C){E.input[E.index-1]==="."&&C.ignoreMatch()}function Re(E,C){E.className!==void 0&&(E.scope=E.className,delete E.className)}function ye(E,C){C&&E.beginKeywords&&(E.begin="\\b("+E.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",E.__beforeBegin=he,E.keywords=E.keywords||E.beginKeywords,delete E.beginKeywords,E.relevance===void 0&&(E.relevance=0))}function Qe(E,C){Array.isArray(E.illegal)&&(E.illegal=_(...E.illegal))}function lt(E,C){if(E.match){if(E.begin||E.end)throw new Error("begin & end are not supported with match");E.begin=E.match,delete E.match}}function Je(E,C){E.relevance===void 0&&(E.relevance=1)}const Kt=(E,C)=>{if(!E.beforeMatch)return;if(E.starts)throw new Error("beforeMatch cannot be used with starts");const U=Object.assign({},E);Object.keys(E).forEach(ie=>{delete E[ie]}),E.keywords=U.keywords,E.begin=f(U.beforeMatch,g(U.begin)),E.starts={relevance:0,contains:[Object.assign(U,{endsParent:!0})]},E.relevance=0,delete U.beforeMatch},wt=["of","and","for","in","not","or","if","then","parent","list","value"],kt="keyword";function Wt(E,C,U=kt){const ie=Object.create(null);return typeof E=="string"?Me(U,E.split(" ")):Array.isArray(E)?Me(U,E):Object.keys(E).forEach(function(de){Object.assign(ie,Wt(E[de],C,de))}),ie;function Me(de,V){C&&(V=V.map(ne=>ne.toLowerCase())),V.forEach(function(ne){const le=ne.split("|");ie[le[0]]=[de,Y(le[0],le[1])]})}}function Y(E,C){return C?Number(C):ue(E)?0:1}function ue(E){return wt.includes(E.toLowerCase())}const ae={},H=E=>{console.error(E)},be=(E,...C)=>{console.log(`WARN: ${E}`,...C)},se=(E,C)=>{ae[`${E}/${C}`]||(console.log(`Deprecated as of ${E}. ${C}`),ae[`${E}/${C}`]=!0)},Ne=new Error;function Ke(E,C,{key:U}){let ie=0;const Me=E[U],de={},V={};for(let ne=1;ne<=C.length;ne++)V[ne+ie]=Me[ne],de[ne+ie]=!0,ie+=m(C[ne-1]);E[U]=V,E[U]._emit=de,E[U]._multi=!0}function qe(E){if(Array.isArray(E.begin)){if(E.skip||E.excludeBegin||E.returnBegin)throw H("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),Ne;if(typeof E.beginScope!="object"||E.beginScope===null)throw H("beginScope must be object"),Ne;Ke(E,E.begin,{key:"beginScope"}),E.begin=x(E.begin,{joinWith:""})}}function Oe(E){if(Array.isArray(E.end)){if(E.skip||E.excludeEnd||E.returnEnd)throw H("skip, excludeEnd, returnEnd not compatible with endScope: {}"),Ne;if(typeof E.endScope!="object"||E.endScope===null)throw H("endScope must be object"),Ne;Ke(E,E.end,{key:"endScope"}),E.end=x(E.end,{joinWith:""})}}function je(E){E.scope&&typeof E.scope=="object"&&E.scope!==null&&(E.beginScope=E.scope,delete E.scope)}function bt(E){je(E),typeof E.beginScope=="string"&&(E.beginScope={_wrap:E.beginScope}),typeof E.endScope=="string"&&(E.endScope={_wrap:E.endScope}),qe(E),Oe(E)}function Ft(E){function C(V,ne){return new RegExp(d(V),"m"+(E.case_insensitive?"i":"")+(E.unicodeRegex?"u":"")+(ne?"g":""))}class U{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(ne,le){le.position=this.position++,this.matchIndexes[this.matchAt]=le,this.regexes.push([le,ne]),this.matchAt+=m(ne)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const ne=this.regexes.map(le=>le[1]);this.matcherRe=C(x(ne,{joinWith:"|"}),!0),this.lastIndex=0}exec(ne){this.matcherRe.lastIndex=this.lastIndex;const le=this.matcherRe.exec(ne);if(!le)return null;const Ze=le.findIndex((wn,Nr)=>Nr>0&&wn!==void 0),He=this.matchIndexes[Ze];return le.splice(0,Ze),Object.assign(le,He)}}class ie{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(ne){if(this.multiRegexes[ne])return this.multiRegexes[ne];const le=new U;return this.rules.slice(ne).forEach(([Ze,He])=>le.addRule(Ze,He)),le.compile(),this.multiRegexes[ne]=le,le}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(ne,le){this.rules.push([ne,le]),le.type==="begin"&&this.count++}exec(ne){const le=this.getMatcher(this.regexIndex);le.lastIndex=this.lastIndex;let Ze=le.exec(ne);if(this.resumingScanAtSamePosition()&&!(Ze&&Ze.index===this.lastIndex)){const He=this.getMatcher(0);He.lastIndex=this.lastIndex+1,Ze=He.exec(ne)}return Ze&&(this.regexIndex+=Ze.position+1,this.regexIndex===this.count&&this.considerAll()),Ze}}function Me(V){const ne=new ie;return V.contains.forEach(le=>ne.addRule(le.begin,{rule:le,type:"begin"})),V.terminatorEnd&&ne.addRule(V.terminatorEnd,{type:"end"}),V.illegal&&ne.addRule(V.illegal,{type:"illegal"}),ne}function de(V,ne){const le=V;if(V.isCompiled)return le;[Re,lt,bt,Kt].forEach(He=>He(V,ne)),E.compilerExtensions.forEach(He=>He(V,ne)),V.__beforeBegin=null,[ye,Qe,Je].forEach(He=>He(V,ne)),V.isCompiled=!0;let Ze=null;return typeof V.keywords=="object"&&V.keywords.$pattern&&(V.keywords=Object.assign({},V.keywords),Ze=V.keywords.$pattern,delete V.keywords.$pattern),Ze=Ze||/\w+/,V.keywords&&(V.keywords=Wt(V.keywords,E.case_insensitive)),le.keywordPatternRe=C(Ze,!0),ne&&(V.begin||(V.begin=/\B|\b/),le.beginRe=C(le.begin),!V.end&&!V.endsWithParent&&(V.end=/\B|\b/),V.end&&(le.endRe=C(le.end)),le.terminatorEnd=d(le.end)||"",V.endsWithParent&&ne.terminatorEnd&&(le.terminatorEnd+=(V.end?"|":"")+ne.terminatorEnd)),V.illegal&&(le.illegalRe=C(V.illegal)),V.contains||(V.contains=[]),V.contains=[].concat(...V.contains.map(function(He){return _t(He==="self"?V:He)})),V.contains.forEach(function(He){de(He,le)}),V.starts&&de(V.starts,ne),le.matcher=Me(le),le}if(E.compilerExtensions||(E.compilerExtensions=[]),E.contains&&E.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return E.classNameAliases=i(E.classNameAliases||{}),de(E)}function At(E){return E?E.endsWithParent||At(E.starts):!1}function _t(E){return E.variants&&!E.cachedVariants&&(E.cachedVariants=E.variants.map(function(C){return i(E,{variants:null},C)})),E.cachedVariants?E.cachedVariants:At(E)?i(E,{starts:E.starts?i(E.starts):null}):Object.isFrozen(E)?i(E):E}var Pt="11.11.1";class Ct extends Error{constructor(C,U){super(C),this.name="HTMLInjectionError",this.html=U}}const Bt=n,jt=i,Te=Symbol("nomatch"),Ut=7,xe=function(E){const C=Object.create(null),U=Object.create(null),ie=[];let Me=!0;const de="Could not find the language '{}', did you forget to load/include a language module?",V={disableAutodetect:!0,name:"Plain text",contains:[]};let ne={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:l};function le(G){return ne.noHighlightRe.test(G)}function Ze(G){let ce=G.className+" ";ce+=G.parentNode?G.parentNode.className:"";const Ce=ne.languageDetectRe.exec(ce);if(Ce){const Fe=Zt(Ce[1]);return Fe||(be(de.replace("{}",Ce[1])),be("Falling back to no-highlight mode for this block.",G)),Fe?Ce[1]:"no-highlight"}return ce.split(/\s+/).find(Fe=>le(Fe)||Zt(Fe))}function He(G,ce,Ce){let Fe="",We="";typeof ce=="object"?(Fe=G,Ce=ce.ignoreIllegals,We=ce.language):(se("10.7.0","highlight(lang, code, ...args) has been deprecated."),se("10.7.0",`Please use highlight(code, options) instead.
|
|
17
|
-
https://github.com/highlightjs/highlight.js/issues/2277`),We=G,Fe=ce),Ce===void 0&&(Ce=!0);const Et={code:Fe,language:We};Gn("before:highlight",Et);const Vt=Et.result?Et.result:wn(Et.language,Et.code,Ce);return Vt.code=Et.code,Gn("after:highlight",Vt),Vt}function wn(G,ce,Ce,Fe){const We=Object.create(null);function Et(Q,oe){return Q.keywords[oe]}function Vt(){if(!_e.keywords){et.addText(Pe);return}let Q=0;_e.keywordPatternRe.lastIndex=0;let oe=_e.keywordPatternRe.exec(Pe),ve="";for(;oe;){ve+=Pe.substring(Q,oe.index);const Ie=Nt.case_insensitive?oe[0].toLowerCase():oe[0],nt=Et(_e,Ie);if(nt){const[zt,so]=nt;if(et.addText(ve),ve="",We[Ie]=(We[Ie]||0)+1,We[Ie]<=Ut&&(jn+=so),zt.startsWith("_"))ve+=oe[0];else{const oo=Nt.classNameAliases[zt]||zt;St(oe[0],oo)}}else ve+=oe[0];Q=_e.keywordPatternRe.lastIndex,oe=_e.keywordPatternRe.exec(Pe)}ve+=Pe.substring(Q),et.addText(ve)}function Kn(){if(Pe==="")return;let Q=null;if(typeof _e.subLanguage=="string"){if(!C[_e.subLanguage]){et.addText(Pe);return}Q=wn(_e.subLanguage,Pe,!0,lu[_e.subLanguage]),lu[_e.subLanguage]=Q._top}else Q=Tr(Pe,_e.subLanguage.length?_e.subLanguage:null);_e.relevance>0&&(jn+=Q.relevance),et.__addSublanguage(Q._emitter,Q.language)}function dt(){_e.subLanguage!=null?Kn():Vt(),Pe=""}function St(Q,oe){Q!==""&&(et.startScope(oe),et.addText(Q),et.endScope())}function au(Q,oe){let ve=1;const Ie=oe.length-1;for(;ve<=Ie;){if(!Q._emit[ve]){ve++;continue}const nt=Nt.classNameAliases[Q[ve]]||Q[ve],zt=oe[ve];nt?St(zt,nt):(Pe=zt,Vt(),Pe=""),ve++}}function su(Q,oe){return Q.scope&&typeof Q.scope=="string"&&et.openNode(Nt.classNameAliases[Q.scope]||Q.scope),Q.beginScope&&(Q.beginScope._wrap?(St(Pe,Nt.classNameAliases[Q.beginScope._wrap]||Q.beginScope._wrap),Pe=""):Q.beginScope._multi&&(au(Q.beginScope,oe),Pe="")),_e=Object.create(Q,{parent:{value:_e}}),_e}function ou(Q,oe,ve){let Ie=w(Q.endRe,ve);if(Ie){if(Q["on:end"]){const nt=new t(Q);Q["on:end"](oe,nt),nt.isMatchIgnored&&(Ie=!1)}if(Ie){for(;Q.endsParent&&Q.parent;)Q=Q.parent;return Q}}if(Q.endsWithParent)return ou(Q.parent,oe,ve)}function no(Q){return _e.matcher.regexIndex===0?(Pe+=Q[0],1):(Ir=!0,0)}function ro(Q){const oe=Q[0],ve=Q.rule,Ie=new t(ve),nt=[ve.__beforeBegin,ve["on:begin"]];for(const zt of nt)if(zt&&(zt(Q,Ie),Ie.isMatchIgnored))return no(oe);return ve.skip?Pe+=oe:(ve.excludeBegin&&(Pe+=oe),dt(),!ve.returnBegin&&!ve.excludeBegin&&(Pe=oe)),su(ve,Q),ve.returnBegin?0:oe.length}function io(Q){const oe=Q[0],ve=ce.substring(Q.index),Ie=ou(_e,Q,ve);if(!Ie)return Te;const nt=_e;_e.endScope&&_e.endScope._wrap?(dt(),St(oe,_e.endScope._wrap)):_e.endScope&&_e.endScope._multi?(dt(),au(_e.endScope,Q)):nt.skip?Pe+=oe:(nt.returnEnd||nt.excludeEnd||(Pe+=oe),dt(),nt.excludeEnd&&(Pe=oe));do _e.scope&&et.closeNode(),!_e.skip&&!_e.subLanguage&&(jn+=_e.relevance),_e=_e.parent;while(_e!==Ie.parent);return Ie.starts&&su(Ie.starts,Q),nt.returnEnd?0:oe.length}function uo(){const Q=[];for(let oe=_e;oe!==Nt;oe=oe.parent)oe.scope&&Q.unshift(oe.scope);Q.forEach(oe=>et.openNode(oe))}let Wn={};function cu(Q,oe){const ve=oe&&oe[0];if(Pe+=Q,ve==null)return dt(),0;if(Wn.type==="begin"&&oe.type==="end"&&Wn.index===oe.index&&ve===""){if(Pe+=ce.slice(oe.index,oe.index+1),!Me){const Ie=new Error(`0 width match regex (${G})`);throw Ie.languageName=G,Ie.badRule=Wn.rule,Ie}return 1}if(Wn=oe,oe.type==="begin")return ro(oe);if(oe.type==="illegal"&&!Ce){const Ie=new Error('Illegal lexeme "'+ve+'" for mode "'+(_e.scope||"<unnamed>")+'"');throw Ie.mode=_e,Ie}else if(oe.type==="end"){const Ie=io(oe);if(Ie!==Te)return Ie}if(oe.type==="illegal"&&ve==="")return Pe+=`
|
|
18
|
-
`,1;if(Or>1e5&&Or>oe.index*3)throw new Error("potential infinite loop, way more iterations than matches");return Pe+=ve,ve.length}const Nt=Zt(G);if(!Nt)throw H(de.replace("{}",G)),new Error('Unknown language: "'+G+'"');const ao=Ft(Nt);let Rr="",_e=Fe||ao;const lu={},et=new ne.__emitter(ne);uo();let Pe="",jn=0,tn=0,Or=0,Ir=!1;try{if(Nt.__emitTokens)Nt.__emitTokens(ce,et);else{for(_e.matcher.considerAll();;){Or++,Ir?Ir=!1:_e.matcher.considerAll(),_e.matcher.lastIndex=tn;const Q=_e.matcher.exec(ce);if(!Q)break;const oe=ce.substring(tn,Q.index),ve=cu(oe,Q);tn=Q.index+ve}cu(ce.substring(tn))}return et.finalize(),Rr=et.toHTML(),{language:G,value:Rr,relevance:jn,illegal:!1,_emitter:et,_top:_e}}catch(Q){if(Q.message&&Q.message.includes("Illegal"))return{language:G,value:Bt(ce),illegal:!0,relevance:0,_illegalBy:{message:Q.message,index:tn,context:ce.slice(tn-100,tn+100),mode:Q.mode,resultSoFar:Rr},_emitter:et};if(Me)return{language:G,value:Bt(ce),illegal:!1,relevance:0,errorRaised:Q,_emitter:et,_top:_e};throw Q}}function Nr(G){const ce={value:Bt(G),illegal:!1,relevance:0,_top:V,_emitter:new ne.__emitter(ne)};return ce._emitter.addText(G),ce}function Tr(G,ce){ce=ce||ne.languages||Object.keys(C);const Ce=Nr(G),Fe=ce.filter(Zt).filter(uu).map(dt=>wn(dt,G,!1));Fe.unshift(Ce);const We=Fe.sort((dt,St)=>{if(dt.relevance!==St.relevance)return St.relevance-dt.relevance;if(dt.language&&St.language){if(Zt(dt.language).supersetOf===St.language)return 1;if(Zt(St.language).supersetOf===dt.language)return-1}return 0}),[Et,Vt]=We,Kn=Et;return Kn.secondBest=Vt,Kn}function Ks(G,ce,Ce){const Fe=ce&&U[ce]||Ce;G.classList.add("hljs"),G.classList.add(`language-${Fe}`)}function Dr(G){let ce=null;const Ce=Ze(G);if(le(Ce))return;if(Gn("before:highlightElement",{el:G,language:Ce}),G.dataset.highlighted){console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.",G);return}if(G.children.length>0&&(ne.ignoreUnescapedHTML||(console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."),console.warn("https://github.com/highlightjs/highlight.js/wiki/security"),console.warn("The element with unescaped HTML:"),console.warn(G)),ne.throwUnescapedHTML))throw new Ct("One of your code blocks includes unescaped HTML.",G.innerHTML);ce=G;const Fe=ce.textContent,We=Ce?He(Fe,{language:Ce,ignoreIllegals:!0}):Tr(Fe);G.innerHTML=We.value,G.dataset.highlighted="yes",Ks(G,Ce,We.language),G.result={language:We.language,re:We.relevance,relevance:We.relevance},We.secondBest&&(G.secondBest={language:We.secondBest.language,relevance:We.secondBest.relevance}),Gn("after:highlightElement",{el:G,result:We,text:Fe})}function Ws(G){ne=jt(ne,G)}const js=()=>{Hn(),se("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")};function Zs(){Hn(),se("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")}let ru=!1;function Hn(){function G(){Hn()}if(document.readyState==="loading"){ru||window.addEventListener("DOMContentLoaded",G,!1),ru=!0;return}document.querySelectorAll(ne.cssSelector).forEach(Dr)}function Vs(G,ce){let Ce=null;try{Ce=ce(E)}catch(Fe){if(H("Language definition for '{}' could not be registered.".replace("{}",G)),Me)H(Fe);else throw Fe;Ce=V}Ce.name||(Ce.name=G),C[G]=Ce,Ce.rawDefinition=ce.bind(null,E),Ce.aliases&&iu(Ce.aliases,{languageName:G})}function Ys(G){delete C[G];for(const ce of Object.keys(U))U[ce]===G&&delete U[ce]}function Xs(){return Object.keys(C)}function Zt(G){return G=(G||"").toLowerCase(),C[G]||C[U[G]]}function iu(G,{languageName:ce}){typeof G=="string"&&(G=[G]),G.forEach(Ce=>{U[Ce.toLowerCase()]=ce})}function uu(G){const ce=Zt(G);return ce&&!ce.disableAutodetect}function Qs(G){G["before:highlightBlock"]&&!G["before:highlightElement"]&&(G["before:highlightElement"]=ce=>{G["before:highlightBlock"](Object.assign({block:ce.el},ce))}),G["after:highlightBlock"]&&!G["after:highlightElement"]&&(G["after:highlightElement"]=ce=>{G["after:highlightBlock"](Object.assign({block:ce.el},ce))})}function Js(G){Qs(G),ie.push(G)}function eo(G){const ce=ie.indexOf(G);ce!==-1&&ie.splice(ce,1)}function Gn(G,ce){const Ce=G;ie.forEach(function(Fe){Fe[Ce]&&Fe[Ce](ce)})}function to(G){return se("10.7.0","highlightBlock will be removed entirely in v12.0"),se("10.7.0","Please use highlightElement now."),Dr(G)}Object.assign(E,{highlight:He,highlightAuto:Tr,highlightAll:Hn,highlightElement:Dr,highlightBlock:to,configure:Ws,initHighlighting:js,initHighlightingOnLoad:Zs,registerLanguage:Vs,unregisterLanguage:Ys,listLanguages:Xs,getLanguage:Zt,registerAliases:iu,autoDetection:uu,inherit:jt,addPlugin:Js,removePlugin:eo}),E.debugMode=function(){Me=!1},E.safeMode=function(){Me=!0},E.versionString=Pt,E.regex={concat:f,lookahead:g,either:_,optional:b,anyNumberOfTimes:p};for(const G in ge)typeof ge[G]=="object"&&e(ge[G]);return Object.assign(E,ge),E},me=xe({});return me.newInstance=()=>xe({}),Wr=me,me.HighlightJS=me,me.default=me,Wr}var jr,Hu;function bf(){if(Hu)return jr;Hu=1;function e(t){const n=t.regex,i=n.concat(/[\p{L}_]/u,n.optional(/[\p{L}0-9_.-]*:/u),/[\p{L}0-9_.-]*/u),r=/[\p{L}0-9._:-]+/u,u={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},a={begin:/\s/,contains:[{className:"keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},s=t.inherit(a,{begin:/\(/,end:/\)/}),o=t.inherit(t.APOS_STRING_MODE,{className:"string"}),c=t.inherit(t.QUOTE_STRING_MODE,{className:"string"}),l={endsWithParent:!0,illegal:/</,relevance:0,contains:[{className:"attr",begin:r,relevance:0},{begin:/=\s*/,relevance:0,contains:[{className:"string",endsParent:!0,variants:[{begin:/"/,end:/"/,contains:[u]},{begin:/'/,end:/'/,contains:[u]},{begin:/[^\s"'=<>`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,unicodeRegex:!0,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,relevance:10,contains:[a,c,o,s,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,contains:[a,s,c,o]}]}]},t.COMMENT(/<!--/,/-->/,{relevance:10}),{begin:/<!\[CDATA\[/,end:/\]\]>/,relevance:10},u,{className:"meta",end:/\?>/,variants:[{begin:/<\?xml/,relevance:10,contains:[c]},{begin:/<\?[a-z][a-z0-9]+/}]},{className:"tag",begin:/<style(?=\s|>)/,end:/>/,keywords:{name:"style"},contains:[l],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/<script(?=\s|>)/,end:/>/,keywords:{name:"script"},contains:[l],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:n.concat(/</,n.lookahead(n.concat(i,n.either(/\/>/,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:i,relevance:0,starts:l}]},{className:"tag",begin:n.concat(/<\//,n.lookahead(n.concat(i,/>/))),contains:[{className:"name",begin:i,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}return jr=e,jr}var Zr,Gu;function gf(){if(Gu)return Zr;Gu=1;function e(t){const n=t.regex,i={},r={begin:/\$\{/,end:/\}/,contains:["self",{begin:/:-/,contains:[i]}]};Object.assign(i,{className:"variable",variants:[{begin:n.concat(/\$[\w\d#@][\w\d_]*/,"(?![\\w\\d])(?![$])")},r]});const u={className:"subst",begin:/\$\(/,end:/\)/,contains:[t.BACKSLASH_ESCAPE]},a=t.inherit(t.COMMENT(),{match:[/(^|\s)/,/#.*$/],scope:{2:"comment"}}),s={begin:/<<-?\s*(?=\w+)/,starts:{contains:[t.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:"string"})]}},o={className:"string",begin:/"/,end:/"/,contains:[t.BACKSLASH_ESCAPE,i,u]};u.contains.push(o);const c={match:/\\"/},l={className:"string",begin:/'/,end:/'/},d={match:/\\'/},g={begin:/\$?\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},t.NUMBER_MODE,i]},p=["fish","bash","zsh","sh","csh","ksh","tcsh","dash","scsh"],b=t.SHEBANG({binary:`(${p.join("|")})`,relevance:10}),f={className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[t.inherit(t.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0},h=["if","then","else","elif","fi","time","for","while","until","in","do","done","case","esac","coproc","function","select"],_=["true","false"],m={match:/(\/[a-z._-]+)+/},w=["break","cd","continue","eval","exec","exit","export","getopts","hash","pwd","readonly","return","shift","test","times","trap","umask","unset"],y=["alias","bind","builtin","caller","command","declare","echo","enable","help","let","local","logout","mapfile","printf","read","readarray","source","sudo","type","typeset","ulimit","unalias"],x=["autoload","bg","bindkey","bye","cap","chdir","clone","comparguments","compcall","compctl","compdescribe","compfiles","compgroups","compquote","comptags","comptry","compvalues","dirs","disable","disown","echotc","echoti","emulate","fc","fg","float","functions","getcap","getln","history","integer","jobs","kill","limit","log","noglob","popd","print","pushd","pushln","rehash","sched","setcap","setopt","stat","suspend","ttyctl","unfunction","unhash","unlimit","unsetopt","vared","wait","whence","where","which","zcompile","zformat","zftp","zle","zmodload","zparseopts","zprof","zpty","zregexparse","zsocket","zstyle","ztcp"],k=["chcon","chgrp","chown","chmod","cp","dd","df","dir","dircolors","ln","ls","mkdir","mkfifo","mknod","mktemp","mv","realpath","rm","rmdir","shred","sync","touch","truncate","vdir","b2sum","base32","base64","cat","cksum","comm","csplit","cut","expand","fmt","fold","head","join","md5sum","nl","numfmt","od","paste","ptx","pr","sha1sum","sha224sum","sha256sum","sha384sum","sha512sum","shuf","sort","split","sum","tac","tail","tr","tsort","unexpand","uniq","wc","arch","basename","chroot","date","dirname","du","echo","env","expr","factor","groups","hostid","id","link","logname","nice","nohup","nproc","pathchk","pinky","printenv","printf","pwd","readlink","runcon","seq","sleep","stat","stdbuf","stty","tee","test","timeout","tty","uname","unlink","uptime","users","who","whoami","yes"];return{name:"Bash",aliases:["sh","zsh"],keywords:{$pattern:/\b[a-z][a-z0-9._-]+\b/,keyword:h,literal:_,built_in:[...w,...y,"set","shopt",...x,...k]},contains:[b,t.SHEBANG(),f,g,a,s,m,o,c,l,d,i]}}return Zr=e,Zr}var Vr,Ku;function hf(){if(Ku)return Vr;Ku=1;function e(t){const n=t.regex,i=t.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),r="decltype\\(auto\\)",u="[a-zA-Z_]\\w*::",s="("+r+"|"+n.optional(u)+"[a-zA-Z_]\\w*"+n.optional("<[^<>]+>")+")",o={className:"type",variants:[{begin:"\\b[a-z\\d_]*_t\\b"},{match:/\batomic_[a-z]{3,6}\b/}]},l={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[t.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+"\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)"+"|.)",end:"'",illegal:"."},t.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},d={className:"number",variants:[{match:/\b(0b[01']+)/},{match:/(-?)\b([\d']+(\.[\d']*)?|\.[\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)/},{match:/(-?)\b(0[xX][a-fA-F0-9]+(?:'[a-fA-F0-9]+)*(?:\.[a-fA-F0-9]*(?:'[a-fA-F0-9]*)*)?(?:[pP][-+]?[0-9]+)?(l|L)?(u|U)?)/},{match:/(-?)\b\d+(?:'\d+)*(?:\.\d*(?:'\d*)*)?(?:[eE][-+]?\d+)?/}],relevance:0},g={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef elifdef elifndef include"},contains:[{begin:/\\\n/,relevance:0},t.inherit(l,{className:"string"}),{className:"string",begin:/<.*?>/},i,t.C_BLOCK_COMMENT_MODE]},p={className:"title",begin:n.optional(u)+t.IDENT_RE,relevance:0},b=n.optional(u)+t.IDENT_RE+"\\s*\\(",_={keyword:["asm","auto","break","case","continue","default","do","else","enum","extern","for","fortran","goto","if","inline","register","restrict","return","sizeof","typeof","typeof_unqual","struct","switch","typedef","union","volatile","while","_Alignas","_Alignof","_Atomic","_Generic","_Noreturn","_Static_assert","_Thread_local","alignas","alignof","noreturn","static_assert","thread_local","_Pragma"],type:["float","double","signed","unsigned","int","short","long","char","void","_Bool","_BitInt","_Complex","_Imaginary","_Decimal32","_Decimal64","_Decimal96","_Decimal128","_Decimal64x","_Decimal128x","_Float16","_Float32","_Float64","_Float128","_Float32x","_Float64x","_Float128x","const","static","constexpr","complex","bool","imaginary"],literal:"true false NULL",built_in:"std string wstring cin cout cerr clog stdin stdout stderr stringstream istringstream ostringstream auto_ptr deque list queue stack vector map set pair bitset multiset multimap unordered_set unordered_map unordered_multiset unordered_multimap priority_queue make_pair array shared_ptr abort terminate abs acos asin atan2 atan calloc ceil cosh cos exit exp fabs floor fmod fprintf fputs free frexp fscanf future isalnum isalpha iscntrl isdigit isgraph islower isprint ispunct isspace isupper isxdigit tolower toupper labs ldexp log10 log malloc realloc memchr memcmp memcpy memset modf pow printf putchar puts scanf sinh sin snprintf sprintf sqrt sscanf strcat strchr strcmp strcpy strcspn strlen strncat strncmp strncpy strpbrk strrchr strspn strstr tanh tan vfprintf vprintf vsprintf endl initializer_list unique_ptr"},m=[g,o,i,t.C_BLOCK_COMMENT_MODE,d,l],w={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:_,contains:m.concat([{begin:/\(/,end:/\)/,keywords:_,contains:m.concat(["self"]),relevance:0}]),relevance:0},y={begin:"("+s+"[\\*&\\s]+)+"+b,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:_,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:r,keywords:_,relevance:0},{begin:b,returnBegin:!0,contains:[t.inherit(p,{className:"title.function"})],relevance:0},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:_,relevance:0,contains:[i,t.C_BLOCK_COMMENT_MODE,l,d,o,{begin:/\(/,end:/\)/,keywords:_,relevance:0,contains:["self",i,t.C_BLOCK_COMMENT_MODE,l,d,o]}]},o,i,t.C_BLOCK_COMMENT_MODE,g]};return{name:"C",aliases:["h"],keywords:_,disableAutodetect:!0,illegal:"</",contains:[].concat(w,y,m,[g,{begin:t.IDENT_RE+"::",keywords:_},{className:"class",beginKeywords:"enum class struct union",end:/[{;:<>=]/,contains:[{beginKeywords:"final class struct"},t.TITLE_MODE]}]),exports:{preprocessor:g,strings:l,keywords:_}}}return Vr=e,Vr}var Yr,Wu;function mf(){if(Wu)return Yr;Wu=1;function e(t){const n=t.regex,i=t.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),r="decltype\\(auto\\)",u="[a-zA-Z_]\\w*::",s="(?!struct)("+r+"|"+n.optional(u)+"[a-zA-Z_]\\w*"+n.optional("<[^<>]+>")+")",o={className:"type",begin:"\\b[a-z\\d_]*_t\\b"},l={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[t.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+"\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)"+"|.)",end:"'",illegal:"."},t.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},d={className:"number",variants:[{begin:"[+-]?(?:(?:[0-9](?:'?[0-9])*\\.(?:[0-9](?:'?[0-9])*)?|\\.[0-9](?:'?[0-9])*)(?:[Ee][+-]?[0-9](?:'?[0-9])*)?|[0-9](?:'?[0-9])*[Ee][+-]?[0-9](?:'?[0-9])*|0[Xx](?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*(?:\\.(?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)?)?|\\.[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)[Pp][+-]?[0-9](?:'?[0-9])*)(?:[Ff](?:16|32|64|128)?|(BF|bf)16|[Ll]|)"},{begin:"[+-]?\\b(?:0[Bb][01](?:'?[01])*|0[Xx][0-9A-Fa-f](?:'?[0-9A-Fa-f])*|0(?:'?[0-7])*|[1-9](?:'?[0-9])*)(?:[Uu](?:LL?|ll?)|[Uu][Zz]?|(?:LL?|ll?)[Uu]?|[Zz][Uu]|)"}],relevance:0},g={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},t.inherit(l,{className:"string"}),{className:"string",begin:/<.*?>/},i,t.C_BLOCK_COMMENT_MODE]},p={className:"title",begin:n.optional(u)+t.IDENT_RE,relevance:0},b=n.optional(u)+t.IDENT_RE+"\\s*\\(",f=["alignas","alignof","and","and_eq","asm","atomic_cancel","atomic_commit","atomic_noexcept","auto","bitand","bitor","break","case","catch","class","co_await","co_return","co_yield","compl","concept","const_cast|10","consteval","constexpr","constinit","continue","decltype","default","delete","do","dynamic_cast|10","else","enum","explicit","export","extern","false","final","for","friend","goto","if","import","inline","module","mutable","namespace","new","noexcept","not","not_eq","nullptr","operator","or","or_eq","override","private","protected","public","reflexpr","register","reinterpret_cast|10","requires","return","sizeof","static_assert","static_cast|10","struct","switch","synchronized","template","this","thread_local","throw","transaction_safe","transaction_safe_dynamic","true","try","typedef","typeid","typename","union","using","virtual","volatile","while","xor","xor_eq"],h=["bool","char","char16_t","char32_t","char8_t","double","float","int","long","short","void","wchar_t","unsigned","signed","const","static"],_=["any","auto_ptr","barrier","binary_semaphore","bitset","complex","condition_variable","condition_variable_any","counting_semaphore","deque","false_type","flat_map","flat_set","future","imaginary","initializer_list","istringstream","jthread","latch","lock_guard","multimap","multiset","mutex","optional","ostringstream","packaged_task","pair","promise","priority_queue","queue","recursive_mutex","recursive_timed_mutex","scoped_lock","set","shared_future","shared_lock","shared_mutex","shared_timed_mutex","shared_ptr","stack","string_view","stringstream","timed_mutex","thread","true_type","tuple","unique_lock","unique_ptr","unordered_map","unordered_multimap","unordered_multiset","unordered_set","variant","vector","weak_ptr","wstring","wstring_view"],m=["abort","abs","acos","apply","as_const","asin","atan","atan2","calloc","ceil","cerr","cin","clog","cos","cosh","cout","declval","endl","exchange","exit","exp","fabs","floor","fmod","forward","fprintf","fputs","free","frexp","fscanf","future","invoke","isalnum","isalpha","iscntrl","isdigit","isgraph","islower","isprint","ispunct","isspace","isupper","isxdigit","labs","launder","ldexp","log","log10","make_pair","make_shared","make_shared_for_overwrite","make_tuple","make_unique","malloc","memchr","memcmp","memcpy","memset","modf","move","pow","printf","putchar","puts","realloc","scanf","sin","sinh","snprintf","sprintf","sqrt","sscanf","std","stderr","stdin","stdout","strcat","strchr","strcmp","strcpy","strcspn","strlen","strncat","strncmp","strncpy","strpbrk","strrchr","strspn","strstr","swap","tan","tanh","terminate","to_underlying","tolower","toupper","vfprintf","visit","vprintf","vsprintf"],x={type:h,keyword:f,literal:["NULL","false","nullopt","nullptr","true"],built_in:["_Pragma"],_type_hints:_},k={className:"function.dispatch",relevance:0,keywords:{_hint:m},begin:n.concat(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,t.IDENT_RE,n.lookahead(/(<[^<>]+>|)\s*\(/))},D=[k,g,o,i,t.C_BLOCK_COMMENT_MODE,d,l],A={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:x,contains:D.concat([{begin:/\(/,end:/\)/,keywords:x,contains:D.concat(["self"]),relevance:0}]),relevance:0},N={className:"function",begin:"("+s+"[\\*&\\s]+)+"+b,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:x,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:r,keywords:x,relevance:0},{begin:b,returnBegin:!0,contains:[p],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[l,d]},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:x,relevance:0,contains:[i,t.C_BLOCK_COMMENT_MODE,l,d,o,{begin:/\(/,end:/\)/,keywords:x,relevance:0,contains:["self",i,t.C_BLOCK_COMMENT_MODE,l,d,o]}]},o,i,t.C_BLOCK_COMMENT_MODE,g]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:x,illegal:"</",classNameAliases:{"function.dispatch":"built_in"},contains:[].concat(A,N,k,D,[g,{begin:"\\b(deque|list|queue|priority_queue|pair|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array|tuple|optional|variant|function|flat_map|flat_set)\\s*<(?!<)",end:">",keywords:x,contains:["self",o]},{begin:t.IDENT_RE+"::",keywords:x},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:"keyword",3:"title.class"}}])}}return Yr=e,Yr}var Xr,ju;function _f(){if(ju)return Xr;ju=1;function e(t){const n=["bool","byte","char","decimal","delegate","double","dynamic","enum","float","int","long","nint","nuint","object","sbyte","short","string","ulong","uint","ushort"],i=["public","private","protected","static","internal","protected","abstract","async","extern","override","unsafe","virtual","new","sealed","partial"],r=["default","false","null","true"],u=["abstract","as","base","break","case","catch","class","const","continue","do","else","event","explicit","extern","finally","fixed","for","foreach","goto","if","implicit","in","interface","internal","is","lock","namespace","new","operator","out","override","params","private","protected","public","readonly","record","ref","return","scoped","sealed","sizeof","stackalloc","static","struct","switch","this","throw","try","typeof","unchecked","unsafe","using","virtual","void","volatile","while"],a=["add","alias","and","ascending","args","async","await","by","descending","dynamic","equals","file","from","get","global","group","init","into","join","let","nameof","not","notnull","on","or","orderby","partial","record","remove","required","scoped","select","set","unmanaged","value|0","var","when","where","with","yield"],s={keyword:u.concat(a),built_in:n,literal:r},o=t.inherit(t.TITLE_MODE,{begin:"[a-zA-Z](\\.?\\w)*"}),c={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)(u|U|l|L|ul|UL|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},l={className:"string",begin:/"""("*)(?!")(.|\n)*?"""\1/,relevance:1},d={className:"string",begin:'@"',end:'"',contains:[{begin:'""'}]},g=t.inherit(d,{illegal:/\n/}),p={className:"subst",begin:/\{/,end:/\}/,keywords:s},b=t.inherit(p,{illegal:/\n/}),f={className:"string",begin:/\$"/,end:'"',illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},t.BACKSLASH_ESCAPE,b]},h={className:"string",begin:/\$@"/,end:'"',contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},p]},_=t.inherit(h,{illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},b]});p.contains=[h,f,d,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,c,t.C_BLOCK_COMMENT_MODE],b.contains=[_,f,g,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,c,t.inherit(t.C_BLOCK_COMMENT_MODE,{illegal:/\n/})];const m={variants:[l,h,f,d,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE]},w={begin:"<",end:">",contains:[{beginKeywords:"in out"},o]},y=t.IDENT_RE+"(<"+t.IDENT_RE+"(\\s*,\\s*"+t.IDENT_RE+")*>)?(\\[\\])?",x={begin:"@"+t.IDENT_RE,relevance:0};return{name:"C#",aliases:["cs","c#"],keywords:s,illegal:/::/,contains:[t.COMMENT("///","$",{returnBegin:!0,contains:[{className:"doctag",variants:[{begin:"///",relevance:0},{begin:"<!--|-->"},{begin:"</?",end:">"}]}]}),t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,{className:"meta",begin:"#",end:"$",keywords:{keyword:"if else elif endif define undef warning error line region endregion pragma checksum"}},m,c,{beginKeywords:"class interface",relevance:0,end:/[{;=]/,illegal:/[^\s:,]/,contains:[{beginKeywords:"where class"},o,w,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]},{beginKeywords:"namespace",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[o,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]},{beginKeywords:"record",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[o,w,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]},{className:"meta",begin:"^\\s*\\[(?=[\\w])",excludeBegin:!0,end:"\\]",excludeEnd:!0,contains:[{className:"string",begin:/"/,end:/"/}]},{beginKeywords:"new return throw await else",relevance:0},{className:"function",begin:"("+y+"\\s+)+"+t.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,end:/\s*[{;=]/,excludeEnd:!0,keywords:s,contains:[{beginKeywords:i.join(" "),relevance:0},{begin:t.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,contains:[t.TITLE_MODE,w],relevance:0},{match:/\(\)/},{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:s,relevance:0,contains:[m,c,t.C_BLOCK_COMMENT_MODE]},t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]},x]}}return Xr=e,Xr}var Qr,Zu;function Ef(){if(Zu)return Qr;Zu=1;const e=c=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:c.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[c.APOS_STRING_MODE,c.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:c.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),t=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","optgroup","option","p","picture","q","quote","samp","section","select","source","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],n=["defs","g","marker","mask","pattern","svg","switch","symbol","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feFlood","feGaussianBlur","feImage","feMerge","feMorphology","feOffset","feSpecularLighting","feTile","feTurbulence","linearGradient","radialGradient","stop","circle","ellipse","image","line","path","polygon","polyline","rect","text","use","textPath","tspan","foreignObject","clipPath"],i=[...t,...n],r=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"].sort().reverse(),u=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"].sort().reverse(),a=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"].sort().reverse(),s=["accent-color","align-content","align-items","align-self","alignment-baseline","all","anchor-name","animation","animation-composition","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-range","animation-range-end","animation-range-start","animation-timeline","animation-timing-function","appearance","aspect-ratio","backdrop-filter","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-position-x","background-position-y","background-repeat","background-size","baseline-shift","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-end-end-radius","border-end-start-radius","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-start-end-radius","border-start-start-radius","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-align","box-decoration-break","box-direction","box-flex","box-flex-group","box-lines","box-ordinal-group","box-orient","box-pack","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","color-scheme","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","contain-intrinsic-block-size","contain-intrinsic-height","contain-intrinsic-inline-size","contain-intrinsic-size","contain-intrinsic-width","container","container-name","container-type","content","content-visibility","counter-increment","counter-reset","counter-set","cue","cue-after","cue-before","cursor","cx","cy","direction","display","dominant-baseline","empty-cells","enable-background","field-sizing","fill","fill-opacity","fill-rule","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flood-color","flood-opacity","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-optical-sizing","font-palette","font-size","font-size-adjust","font-smooth","font-smoothing","font-stretch","font-style","font-synthesis","font-synthesis-position","font-synthesis-small-caps","font-synthesis-style","font-synthesis-weight","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-emoji","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","forced-color-adjust","gap","glyph-orientation-horizontal","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphenate-character","hyphenate-limit-chars","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","initial-letter","initial-letter-align","inline-size","inset","inset-area","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","isolation","justify-content","justify-items","justify-self","kerning","left","letter-spacing","lighting-color","line-break","line-height","line-height-step","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","margin-trim","marker","marker-end","marker-mid","marker-start","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","masonry-auto-flow","math-depth","math-shift","math-style","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","offset","offset-anchor","offset-distance","offset-path","offset-position","offset-rotate","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-anchor","overflow-block","overflow-clip-margin","overflow-inline","overflow-wrap","overflow-x","overflow-y","overlay","overscroll-behavior","overscroll-behavior-block","overscroll-behavior-inline","overscroll-behavior-x","overscroll-behavior-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","paint-order","pause","pause-after","pause-before","perspective","perspective-origin","place-content","place-items","place-self","pointer-events","position","position-anchor","position-visibility","print-color-adjust","quotes","r","resize","rest","rest-after","rest-before","right","rotate","row-gap","ruby-align","ruby-position","scale","scroll-behavior","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scroll-timeline","scroll-timeline-axis","scroll-timeline-name","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","shape-rendering","speak","speak-as","src","stop-color","stop-opacity","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","tab-size","table-layout","text-align","text-align-all","text-align-last","text-anchor","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-skip-ink","text-decoration-style","text-decoration-thickness","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-size-adjust","text-transform","text-underline-offset","text-underline-position","text-wrap","text-wrap-mode","text-wrap-style","timeline-scope","top","touch-action","transform","transform-box","transform-origin","transform-style","transition","transition-behavior","transition-delay","transition-duration","transition-property","transition-timing-function","translate","unicode-bidi","user-modify","user-select","vector-effect","vertical-align","view-timeline","view-timeline-axis","view-timeline-inset","view-timeline-name","view-transition-name","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","white-space-collapse","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","x","y","z-index","zoom"].sort().reverse();function o(c){const l=c.regex,d=e(c),g={begin:/-(webkit|moz|ms|o)-(?=[a-z])/},p="and or not only",b=/@-?\w[\w]*(-\w+)*/,f="[a-zA-Z-][a-zA-Z0-9_-]*",h=[c.APOS_STRING_MODE,c.QUOTE_STRING_MODE];return{name:"CSS",case_insensitive:!0,illegal:/[=|'\$]/,keywords:{keyframePosition:"from to"},classNameAliases:{keyframePosition:"selector-tag"},contains:[d.BLOCK_COMMENT,g,d.CSS_NUMBER_MODE,{className:"selector-id",begin:/#[A-Za-z0-9_-]+/,relevance:0},{className:"selector-class",begin:"\\."+f,relevance:0},d.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",variants:[{begin:":("+u.join("|")+")"},{begin:":(:)?("+a.join("|")+")"}]},d.CSS_VARIABLE,{className:"attribute",begin:"\\b("+s.join("|")+")\\b"},{begin:/:/,end:/[;}{]/,contains:[d.BLOCK_COMMENT,d.HEXCOLOR,d.IMPORTANT,d.CSS_NUMBER_MODE,...h,{begin:/(url|data-uri)\(/,end:/\)/,relevance:0,keywords:{built_in:"url data-uri"},contains:[...h,{className:"string",begin:/[^)]/,endsWithParent:!0,excludeEnd:!0}]},d.FUNCTION_DISPATCH]},{begin:l.lookahead(/@/),end:"[{;]",relevance:0,illegal:/:/,contains:[{className:"keyword",begin:b},{begin:/\s/,endsWithParent:!0,excludeEnd:!0,relevance:0,keywords:{$pattern:/[a-z-]+/,keyword:p,attribute:r.join(" ")},contains:[{begin:/[a-z-]+(?=:)/,className:"attribute"},...h,d.CSS_NUMBER_MODE]}]},{className:"selector-tag",begin:"\\b("+i.join("|")+")\\b"}]}}return Qr=o,Qr}var Jr,Vu;function xf(){if(Vu)return Jr;Vu=1;function e(t){const n=t.regex,i={begin:/<\/?[A-Za-z_]/,end:">",subLanguage:"xml",relevance:0},r={begin:"^[-\\*]{3,}",end:"$"},u={className:"code",variants:[{begin:"(`{3,})[^`](.|\\n)*?\\1`*[ ]*"},{begin:"(~{3,})[^~](.|\\n)*?\\1~*[ ]*"},{begin:"```",end:"```+[ ]*$"},{begin:"~~~",end:"~~~+[ ]*$"},{begin:"`.+?`"},{begin:"(?=^( {4}|\\t))",contains:[{begin:"^( {4}|\\t)",end:"(\\n)$"}],relevance:0}]},a={className:"bullet",begin:"^[ ]*([*+-]|(\\d+\\.))(?=\\s+)",end:"\\s+",excludeEnd:!0},s={begin:/^\[[^\n]+\]:/,returnBegin:!0,contains:[{className:"symbol",begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0},{className:"link",begin:/:\s*/,end:/$/,excludeBegin:!0}]},o=/[A-Za-z][A-Za-z0-9+.-]*/,c={variants:[{begin:/\[.+?\]\[.*?\]/,relevance:0},{begin:/\[.+?\]\(((data|javascript|mailto):|(?:http|ftp)s?:\/\/).*?\)/,relevance:2},{begin:n.concat(/\[.+?\]\(/,o,/:\/\/.*?\)/),relevance:2},{begin:/\[.+?\]\([./?&#].*?\)/,relevance:1},{begin:/\[.*?\]\(.*?\)/,relevance:0}],returnBegin:!0,contains:[{match:/\[(?=\])/},{className:"string",relevance:0,begin:"\\[",end:"\\]",excludeBegin:!0,returnEnd:!0},{className:"link",relevance:0,begin:"\\]\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0},{className:"symbol",relevance:0,begin:"\\]\\[",end:"\\]",excludeBegin:!0,excludeEnd:!0}]},l={className:"strong",contains:[],variants:[{begin:/_{2}(?!\s)/,end:/_{2}/},{begin:/\*{2}(?!\s)/,end:/\*{2}/}]},d={className:"emphasis",contains:[],variants:[{begin:/\*(?![*\s])/,end:/\*/},{begin:/_(?![_\s])/,end:/_/,relevance:0}]},g=t.inherit(l,{contains:[]}),p=t.inherit(d,{contains:[]});l.contains.push(p),d.contains.push(g);let b=[i,c];return[l,d,g,p].forEach(m=>{m.contains=m.contains.concat(b)}),b=b.concat(l,d),{name:"Markdown",aliases:["md","mkdown","mkd"],contains:[{className:"section",variants:[{begin:"^#{1,6}",end:"$",contains:b},{begin:"(?=^.+?\\n[=-]{2,}$)",contains:[{begin:"^[=-]*$"},{begin:"^",end:"\\n",contains:b}]}]},i,a,l,d,{className:"quote",begin:"^>\\s+",contains:b,end:"$"},u,r,c,s,{scope:"literal",match:/&([a-zA-Z0-9]+|#[0-9]{1,7}|#[Xx][0-9a-fA-F]{1,6});/}]}}return Jr=e,Jr}var ei,Yu;function yf(){if(Yu)return ei;Yu=1;function e(t){const n=t.regex;return{name:"Diff",aliases:["patch"],contains:[{className:"meta",relevance:10,match:n.either(/^@@ +-\d+,\d+ +\+\d+,\d+ +@@/,/^\*\*\* +\d+,\d+ +\*\*\*\*$/,/^--- +\d+,\d+ +----$/)},{className:"comment",variants:[{begin:n.either(/Index: /,/^index/,/={3,}/,/^-{3}/,/^\*{3} /,/^\+{3}/,/^diff --git/),end:/$/},{match:/^\*{15}$/}]},{className:"addition",begin:/^\+/,end:/$/},{className:"deletion",begin:/^-/,end:/$/},{className:"addition",begin:/^!/,end:/$/}]}}return ei=e,ei}var ti,Xu;function vf(){if(Xu)return ti;Xu=1;function e(t){const n=t.regex,i="([a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?)",r=n.either(/\b([A-Z]+[a-z0-9]+)+/,/\b([A-Z]+[a-z0-9]+)+[A-Z]+/),u=n.concat(r,/(::\w+)*/),s={"variable.constant":["__FILE__","__LINE__","__ENCODING__"],"variable.language":["self","super"],keyword:["alias","and","begin","BEGIN","break","case","class","defined","do","else","elsif","end","END","ensure","for","if","in","module","next","not","or","redo","require","rescue","retry","return","then","undef","unless","until","when","while","yield",...["include","extend","prepend","public","private","protected","raise","throw"]],built_in:["proc","lambda","attr_accessor","attr_reader","attr_writer","define_method","private_constant","module_function"],literal:["true","false","nil"]},o={className:"doctag",begin:"@[A-Za-z]+"},c={begin:"#<",end:">"},l=[t.COMMENT("#","$",{contains:[o]}),t.COMMENT("^=begin","^=end",{contains:[o],relevance:10}),t.COMMENT("^__END__",t.MATCH_NOTHING_RE)],d={className:"subst",begin:/#\{/,end:/\}/,keywords:s},g={className:"string",contains:[t.BACKSLASH_ESCAPE,d],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/`/,end:/`/},{begin:/%[qQwWx]?\(/,end:/\)/},{begin:/%[qQwWx]?\[/,end:/\]/},{begin:/%[qQwWx]?\{/,end:/\}/},{begin:/%[qQwWx]?</,end:/>/},{begin:/%[qQwWx]?\//,end:/\//},{begin:/%[qQwWx]?%/,end:/%/},{begin:/%[qQwWx]?-/,end:/-/},{begin:/%[qQwWx]?\|/,end:/\|/},{begin:/\B\?(\\\d{1,3})/},{begin:/\B\?(\\x[A-Fa-f0-9]{1,2})/},{begin:/\B\?(\\u\{?[A-Fa-f0-9]{1,6}\}?)/},{begin:/\B\?(\\M-\\C-|\\M-\\c|\\c\\M-|\\M-|\\C-\\M-)[\x20-\x7e]/},{begin:/\B\?\\(c|C-)[\x20-\x7e]/},{begin:/\B\?\\?\S/},{begin:n.concat(/<<[-~]?'?/,n.lookahead(/(\w+)(?=\W)[^\n]*\n(?:[^\n]*\n)*?\s*\1\b/)),contains:[t.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,contains:[t.BACKSLASH_ESCAPE,d]})]}]},p="[1-9](_?[0-9])*|0",b="[0-9](_?[0-9])*",f={className:"number",relevance:0,variants:[{begin:`\\b(${p})(\\.(${b}))?([eE][+-]?(${b})|r)?i?\\b`},{begin:"\\b0[dD][0-9](_?[0-9])*r?i?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*r?i?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*r?i?\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*r?i?\\b"},{begin:"\\b0(_?[0-7])+r?i?\\b"}]},h={variants:[{match:/\(\)/},{className:"params",begin:/\(/,end:/(?=\))/,excludeBegin:!0,endsParent:!0,keywords:s}]},D=[g,{variants:[{match:[/class\s+/,u,/\s+<\s+/,u]},{match:[/\b(class|module)\s+/,u]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:s},{match:[/(include|extend)\s+/,u],scope:{2:"title.class"},keywords:s},{relevance:0,match:[u,/\.new[. (]/],scope:{1:"title.class"}},{relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"},{relevance:0,match:r,scope:"title.class"},{match:[/def/,/\s+/,i],scope:{1:"keyword",3:"title.function"},contains:[h]},{begin:t.IDENT_RE+"::"},{className:"symbol",begin:t.UNDERSCORE_IDENT_RE+"(!|\\?)?:",relevance:0},{className:"symbol",begin:":(?!\\s)",contains:[g,{begin:i}],relevance:0},f,{className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))(?=[^@$?])(?![A-Za-z])(?![@$?'])"},{className:"params",begin:/\|(?!=)/,end:/\|/,excludeBegin:!0,excludeEnd:!0,relevance:0,keywords:s},{begin:"("+t.RE_STARTERS_RE+"|unless)\\s*",keywords:"unless",contains:[{className:"regexp",contains:[t.BACKSLASH_ESCAPE,d],illegal:/\n/,variants:[{begin:"/",end:"/[a-z]*"},{begin:/%r\{/,end:/\}[a-z]*/},{begin:"%r\\(",end:"\\)[a-z]*"},{begin:"%r!",end:"![a-z]*"},{begin:"%r\\[",end:"\\][a-z]*"}]}].concat(c,l),relevance:0}].concat(c,l);d.contains=D,h.contains=D;const O=[{begin:/^\s*=>/,starts:{end:"$",contains:D}},{className:"meta.prompt",begin:"^("+"[>?]>"+"|"+"[\\w#]+\\(\\w+\\):\\d+:\\d+[>*]"+"|"+"(\\w+-)?\\d+\\.\\d+\\.\\d+(p\\d+)?[^\\d][^>]+>"+")(?=[ ])",starts:{end:"$",keywords:s,contains:D}}];return l.unshift(c),{name:"Ruby",aliases:["rb","gemspec","podspec","thor","irb"],keywords:s,illegal:/\/\*/,contains:[t.SHEBANG({binary:"ruby"})].concat(O).concat(l).concat(D)}}return ti=e,ti}var ni,Qu;function wf(){if(Qu)return ni;Qu=1;function e(t){const a={keyword:["break","case","chan","const","continue","default","defer","else","fallthrough","for","func","go","goto","if","import","interface","map","package","range","return","select","struct","switch","type","var"],type:["bool","byte","complex64","complex128","error","float32","float64","int8","int16","int32","int64","string","uint8","uint16","uint32","uint64","int","uint","uintptr","rune"],literal:["true","false","iota","nil"],built_in:["append","cap","close","complex","copy","imag","len","make","new","panic","print","println","real","recover","delete"]};return{name:"Go",aliases:["golang"],keywords:a,illegal:"</",contains:[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,{className:"string",variants:[t.QUOTE_STRING_MODE,t.APOS_STRING_MODE,{begin:"`",end:"`"}]},{className:"number",variants:[{match:/-?\b0[xX]\.[a-fA-F0-9](_?[a-fA-F0-9])*[pP][+-]?\d(_?\d)*i?/,relevance:0},{match:/-?\b0[xX](_?[a-fA-F0-9])+((\.([a-fA-F0-9](_?[a-fA-F0-9])*)?)?[pP][+-]?\d(_?\d)*)?i?/,relevance:0},{match:/-?\b0[oO](_?[0-7])*i?/,relevance:0},{match:/-?\.\d(_?\d)*([eE][+-]?\d(_?\d)*)?i?/,relevance:0},{match:/-?\b\d(_?\d)*(\.(\d(_?\d)*)?)?([eE][+-]?\d(_?\d)*)?i?/,relevance:0}]},{begin:/:=/},{className:"function",beginKeywords:"func",end:"\\s*(\\{|$)",excludeEnd:!0,contains:[t.TITLE_MODE,{className:"params",begin:/\(/,end:/\)/,endsParent:!0,keywords:a,illegal:/["']/}]}]}}return ni=e,ni}var ri,Ju;function kf(){if(Ju)return ri;Ju=1;function e(t){const n=t.regex,i=/[_A-Za-z][_0-9A-Za-z]*/;return{name:"GraphQL",aliases:["gql"],case_insensitive:!0,disableAutodetect:!1,keywords:{keyword:["query","mutation","subscription","type","input","schema","directive","interface","union","scalar","fragment","enum","on"],literal:["true","false","null"]},contains:[t.HASH_COMMENT_MODE,t.QUOTE_STRING_MODE,t.NUMBER_MODE,{scope:"punctuation",match:/[.]{3}/,relevance:0},{scope:"punctuation",begin:/[\!\(\)\:\=\[\]\{\|\}]{1}/,relevance:0},{scope:"variable",begin:/\$/,end:/\W/,excludeEnd:!0,relevance:0},{scope:"meta",match:/@\w+/,excludeEnd:!0},{scope:"symbol",begin:n.concat(i,n.lookahead(/\s*:/)),relevance:0}],illegal:[/[;<']/,/BEGIN/]}}return ri=e,ri}var ii,ea;function Af(){if(ea)return ii;ea=1;function e(t){const n=t.regex,i={className:"number",relevance:0,variants:[{begin:/([+-]+)?[\d]+_[\d_]+/},{begin:t.NUMBER_RE}]},r=t.COMMENT();r.variants=[{begin:/;/,end:/$/},{begin:/#/,end:/$/}];const u={className:"variable",variants:[{begin:/\$[\w\d"][\w\d_]*/},{begin:/\$\{(.*?)\}/}]},a={className:"literal",begin:/\bon|off|true|false|yes|no\b/},s={className:"string",contains:[t.BACKSLASH_ESCAPE],variants:[{begin:"'''",end:"'''",relevance:10},{begin:'"""',end:'"""',relevance:10},{begin:'"',end:'"'},{begin:"'",end:"'"}]},o={begin:/\[/,end:/\]/,contains:[r,a,u,s,i,"self"],relevance:0},c=/[A-Za-z0-9_-]+/,l=/"(\\"|[^"])*"/,d=/'[^']*'/,g=n.either(c,l,d),p=n.concat(g,"(\\s*\\.\\s*",g,")*",n.lookahead(/\s*=\s*[^#\s]/));return{name:"TOML, also INI",aliases:["toml"],case_insensitive:!0,illegal:/\S/,contains:[r,{className:"section",begin:/\[+/,end:/\]+/},{begin:p,className:"attr",starts:{end:/$/,contains:[r,o,a,u,s,i]}}]}}return ii=e,ii}var ui,ta;function Cf(){if(ta)return ui;ta=1;var e="[0-9](_*[0-9])*",t=`\\.(${e})`,n="[0-9a-fA-F](_*[0-9a-fA-F])*",i={className:"number",variants:[{begin:`(\\b(${e})((${t})|\\.)?|(${t}))[eE][+-]?(${e})[fFdD]?\\b`},{begin:`\\b(${e})((${t})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${t})[fFdD]?\\b`},{begin:`\\b(${e})[fFdD]\\b`},{begin:`\\b0[xX]((${n})\\.?|(${n})?\\.(${n}))[pP][+-]?(${e})[fFdD]?\\b`},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${n})[lL]?\\b`},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0};function r(a,s,o){return o===-1?"":a.replace(s,c=>r(a,s,o-1))}function u(a){const s=a.regex,o="[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*",c=o+r("(?:<"+o+"~~~(?:\\s*,\\s*"+o+"~~~)*>)?",/~~~/g,2),b={keyword:["synchronized","abstract","private","var","static","if","const ","for","while","strictfp","finally","protected","import","native","final","void","enum","else","break","transient","catch","instanceof","volatile","case","assert","package","default","public","try","switch","continue","throws","protected","public","private","module","requires","exports","do","sealed","yield","permits","goto","when"],literal:["false","true","null"],type:["char","boolean","long","float","int","byte","short","double"],built_in:["super","this"]},f={className:"meta",begin:"@"+o,contains:[{begin:/\(/,end:/\)/,contains:["self"]}]},h={className:"params",begin:/\(/,end:/\)/,keywords:b,relevance:0,contains:[a.C_BLOCK_COMMENT_MODE],endsParent:!0};return{name:"Java",aliases:["jsp"],keywords:b,illegal:/<\/|#/,contains:[a.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:"@[A-Za-z]+"}]}),{begin:/import java\.[a-z]+\./,keywords:"import",relevance:2},a.C_LINE_COMMENT_MODE,a.C_BLOCK_COMMENT_MODE,{begin:/"""/,end:/"""/,className:"string",contains:[a.BACKSLASH_ESCAPE]},a.APOS_STRING_MODE,a.QUOTE_STRING_MODE,{match:[/\b(?:class|interface|enum|extends|implements|new)/,/\s+/,o],className:{1:"keyword",3:"title.class"}},{match:/non-sealed/,scope:"keyword"},{begin:[s.concat(/(?!else)/,o),/\s+/,o,/\s+/,/=(?!=)/],className:{1:"type",3:"variable",5:"operator"}},{begin:[/record/,/\s+/,o],className:{1:"keyword",3:"title.class"},contains:[h,a.C_LINE_COMMENT_MODE,a.C_BLOCK_COMMENT_MODE]},{beginKeywords:"new throw return else",relevance:0},{begin:["(?:"+c+"\\s+)",a.UNDERSCORE_IDENT_RE,/\s*(?=\()/],className:{2:"title.function"},keywords:b,contains:[{className:"params",begin:/\(/,end:/\)/,keywords:b,relevance:0,contains:[f,a.APOS_STRING_MODE,a.QUOTE_STRING_MODE,i,a.C_BLOCK_COMMENT_MODE]},a.C_LINE_COMMENT_MODE,a.C_BLOCK_COMMENT_MODE]},i,f]}}return ui=u,ui}var ai,na;function Sf(){if(na)return ai;na=1;const e="[A-Za-z$_][0-9A-Za-z$_]*",t=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends","using"],n=["true","false","null","undefined","NaN","Infinity"],i=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],r=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],u=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],a=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],s=[].concat(u,i,r);function o(c){const l=c.regex,d=(I,{after:te})=>{const X="</"+I[0].slice(1);return I.input.indexOf(X,te)!==-1},g=e,p={begin:"<>",end:"</>"},b=/<[A-Za-z0-9\\._:-]+\s*\/>/,f={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(I,te)=>{const X=I[0].length+I.index,ge=I.input[X];if(ge==="<"||ge===","){te.ignoreMatch();return}ge===">"&&(d(I,{after:X})||te.ignoreMatch());let he;const Re=I.input.substring(X);if(he=Re.match(/^\s*=/)){te.ignoreMatch();return}if((he=Re.match(/^\s+extends\s+/))&&he.index===0){te.ignoreMatch();return}}},h={$pattern:e,keyword:t,literal:n,built_in:s,"variable.language":a},_="[0-9](_?[0-9])*",m=`\\.(${_})`,w="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",y={className:"number",variants:[{begin:`(\\b(${w})((${m})|\\.)?|(${m}))[eE][+-]?(${_})\\b`},{begin:`\\b(${w})\\b((${m})\\b|\\.)?|(${m})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},x={className:"subst",begin:"\\$\\{",end:"\\}",keywords:h,contains:[]},k={begin:".?html`",end:"",starts:{end:"`",returnEnd:!1,contains:[c.BACKSLASH_ESCAPE,x],subLanguage:"xml"}},D={begin:".?css`",end:"",starts:{end:"`",returnEnd:!1,contains:[c.BACKSLASH_ESCAPE,x],subLanguage:"css"}},A={begin:".?gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[c.BACKSLASH_ESCAPE,x],subLanguage:"graphql"}},N={className:"string",begin:"`",end:"`",contains:[c.BACKSLASH_ESCAPE,x]},O={className:"comment",variants:[c.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:g+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),c.C_BLOCK_COMMENT_MODE,c.C_LINE_COMMENT_MODE]},q=[c.APOS_STRING_MODE,c.QUOTE_STRING_MODE,k,D,A,N,{match:/\$\d+/},y];x.contains=q.concat({begin:/\{/,end:/\}/,keywords:h,contains:["self"].concat(q)});const K=[].concat(O,x.contains),F=K.concat([{begin:/(\s*)\(/,end:/\)/,keywords:h,contains:["self"].concat(K)}]),L={className:"params",begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:h,contains:F},W={variants:[{match:[/class/,/\s+/,g,/\s+/,/extends/,/\s+/,l.concat(g,"(",l.concat(/\./,g),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,g],scope:{1:"keyword",3:"title.class"}}]},P={relevance:0,match:l.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...i,...r]}},j={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},$={variants:[{match:[/function/,/\s+/,g,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[L],illegal:/%/},B={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function Z(I){return l.concat("(?!",I.join("|"),")")}const M={match:l.concat(/\b/,Z([...u,"super","import"].map(I=>`${I}\\s*\\(`)),g,l.lookahead(/\s*\(/)),className:"title.function",relevance:0},Ee={begin:l.concat(/\./,l.lookahead(l.concat(g,/(?![0-9A-Za-z$_(])/))),end:g,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},Se={match:[/get|set/,/\s+/,g,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},L]},fe="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+c.UNDERSCORE_IDENT_RE+")\\s*=>",Le={match:[/const|var|let/,/\s+/,g,/\s*/,/=\s*/,/(async\s*)?/,l.lookahead(fe)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[L]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:h,exports:{PARAMS_CONTAINS:F,CLASS_REFERENCE:P},illegal:/#(?![$_A-z])/,contains:[c.SHEBANG({label:"shebang",binary:"node",relevance:5}),j,c.APOS_STRING_MODE,c.QUOTE_STRING_MODE,k,D,A,N,O,{match:/\$\d+/},y,P,{scope:"attr",match:g+l.lookahead(":"),relevance:0},Le,{begin:"("+c.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[O,c.REGEXP_MODE,{className:"function",begin:fe,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:c.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:h,contains:F}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:p.begin,end:p.end},{match:b},{begin:f.begin,"on:begin":f.isTrulyOpeningTag,end:f.end}],subLanguage:"xml",contains:[{begin:f.begin,end:f.end,skip:!0,contains:["self"]}]}]},$,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+c.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[L,c.inherit(c.TITLE_MODE,{begin:g,className:"title.function"})]},{match:/\.\.\./,relevance:0},Ee,{match:"\\$"+g,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[L]},M,B,W,Se,{match:/\$[(.]/}]}}return ai=o,ai}var si,ra;function Nf(){if(ra)return si;ra=1;function e(t){const n={className:"attr",begin:/"(\\.|[^\\"\r\n])*"(?=\s*:)/,relevance:1.01},i={match:/[{}[\],:]/,className:"punctuation",relevance:0},r=["true","false","null"],u={scope:"literal",beginKeywords:r.join(" ")};return{name:"JSON",aliases:["jsonc"],keywords:{literal:r},contains:[n,i,t.QUOTE_STRING_MODE,u,t.C_NUMBER_MODE,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE],illegal:"\\S"}}return si=e,si}var oi,ia;function Tf(){if(ia)return oi;ia=1;var e="[0-9](_*[0-9])*",t=`\\.(${e})`,n="[0-9a-fA-F](_*[0-9a-fA-F])*",i={className:"number",variants:[{begin:`(\\b(${e})((${t})|\\.)?|(${t}))[eE][+-]?(${e})[fFdD]?\\b`},{begin:`\\b(${e})((${t})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${t})[fFdD]?\\b`},{begin:`\\b(${e})[fFdD]\\b`},{begin:`\\b0[xX]((${n})\\.?|(${n})?\\.(${n}))[pP][+-]?(${e})[fFdD]?\\b`},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${n})[lL]?\\b`},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0};function r(u){const a={keyword:"abstract as val var vararg get set class object open private protected public noinline crossinline dynamic final enum if else do while for when throw try catch finally import package is in fun override companion reified inline lateinit init interface annotation data sealed internal infix operator out by constructor super tailrec where const inner suspend typealias external expect actual",built_in:"Byte Short Char Int Long Boolean Float Double Void Unit Nothing",literal:"true false null"},s={className:"keyword",begin:/\b(break|continue|return|this)\b/,starts:{contains:[{className:"symbol",begin:/@\w+/}]}},o={className:"symbol",begin:u.UNDERSCORE_IDENT_RE+"@"},c={className:"subst",begin:/\$\{/,end:/\}/,contains:[u.C_NUMBER_MODE]},l={className:"variable",begin:"\\$"+u.UNDERSCORE_IDENT_RE},d={className:"string",variants:[{begin:'"""',end:'"""(?=[^"])',contains:[l,c]},{begin:"'",end:"'",illegal:/\n/,contains:[u.BACKSLASH_ESCAPE]},{begin:'"',end:'"',illegal:/\n/,contains:[u.BACKSLASH_ESCAPE,l,c]}]};c.contains.push(d);const g={className:"meta",begin:"@(?:file|property|field|get|set|receiver|param|setparam|delegate)\\s*:(?:\\s*"+u.UNDERSCORE_IDENT_RE+")?"},p={className:"meta",begin:"@"+u.UNDERSCORE_IDENT_RE,contains:[{begin:/\(/,end:/\)/,contains:[u.inherit(d,{className:"string"}),"self"]}]},b=i,f=u.COMMENT("/\\*","\\*/",{contains:[u.C_BLOCK_COMMENT_MODE]}),h={variants:[{className:"type",begin:u.UNDERSCORE_IDENT_RE},{begin:/\(/,end:/\)/,contains:[]}]},_=h;return _.variants[1].contains=[h],h.variants[1].contains=[_],{name:"Kotlin",aliases:["kt","kts"],keywords:a,contains:[u.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"}]}),u.C_LINE_COMMENT_MODE,f,s,o,g,p,{className:"function",beginKeywords:"fun",end:"[(]|$",returnBegin:!0,excludeEnd:!0,keywords:a,relevance:5,contains:[{begin:u.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,relevance:0,contains:[u.UNDERSCORE_TITLE_MODE]},{className:"type",begin:/</,end:/>/,keywords:"reified",relevance:0},{className:"params",begin:/\(/,end:/\)/,endsParent:!0,keywords:a,relevance:0,contains:[{begin:/:/,end:/[=,\/]/,endsWithParent:!0,contains:[h,u.C_LINE_COMMENT_MODE,f],relevance:0},u.C_LINE_COMMENT_MODE,f,g,p,d,u.C_NUMBER_MODE]},f]},{begin:[/class|interface|trait/,/\s+/,u.UNDERSCORE_IDENT_RE],beginScope:{3:"title.class"},keywords:"class interface trait",end:/[:\{(]|$/,excludeEnd:!0,illegal:"extends implements",contains:[{beginKeywords:"public protected internal private constructor"},u.UNDERSCORE_TITLE_MODE,{className:"type",begin:/</,end:/>/,excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:/[,:]\s*/,end:/[<\(,){\s]|$/,excludeBegin:!0,returnEnd:!0},g,p]},d,{className:"meta",begin:"^#!/usr/bin/env",end:"$",illegal:`
|
|
19
|
-
`},b]}}return oi=r,oi}var ci,ua;function Df(){if(ua)return ci;ua=1;const e=l=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:l.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[l.APOS_STRING_MODE,l.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:l.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),t=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","optgroup","option","p","picture","q","quote","samp","section","select","source","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],n=["defs","g","marker","mask","pattern","svg","switch","symbol","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feFlood","feGaussianBlur","feImage","feMerge","feMorphology","feOffset","feSpecularLighting","feTile","feTurbulence","linearGradient","radialGradient","stop","circle","ellipse","image","line","path","polygon","polyline","rect","text","use","textPath","tspan","foreignObject","clipPath"],i=[...t,...n],r=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"].sort().reverse(),u=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"].sort().reverse(),a=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"].sort().reverse(),s=["accent-color","align-content","align-items","align-self","alignment-baseline","all","anchor-name","animation","animation-composition","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-range","animation-range-end","animation-range-start","animation-timeline","animation-timing-function","appearance","aspect-ratio","backdrop-filter","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-position-x","background-position-y","background-repeat","background-size","baseline-shift","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-end-end-radius","border-end-start-radius","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-start-end-radius","border-start-start-radius","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-align","box-decoration-break","box-direction","box-flex","box-flex-group","box-lines","box-ordinal-group","box-orient","box-pack","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","color-scheme","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","contain-intrinsic-block-size","contain-intrinsic-height","contain-intrinsic-inline-size","contain-intrinsic-size","contain-intrinsic-width","container","container-name","container-type","content","content-visibility","counter-increment","counter-reset","counter-set","cue","cue-after","cue-before","cursor","cx","cy","direction","display","dominant-baseline","empty-cells","enable-background","field-sizing","fill","fill-opacity","fill-rule","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flood-color","flood-opacity","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-optical-sizing","font-palette","font-size","font-size-adjust","font-smooth","font-smoothing","font-stretch","font-style","font-synthesis","font-synthesis-position","font-synthesis-small-caps","font-synthesis-style","font-synthesis-weight","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-emoji","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","forced-color-adjust","gap","glyph-orientation-horizontal","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphenate-character","hyphenate-limit-chars","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","initial-letter","initial-letter-align","inline-size","inset","inset-area","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","isolation","justify-content","justify-items","justify-self","kerning","left","letter-spacing","lighting-color","line-break","line-height","line-height-step","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","margin-trim","marker","marker-end","marker-mid","marker-start","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","masonry-auto-flow","math-depth","math-shift","math-style","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","offset","offset-anchor","offset-distance","offset-path","offset-position","offset-rotate","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-anchor","overflow-block","overflow-clip-margin","overflow-inline","overflow-wrap","overflow-x","overflow-y","overlay","overscroll-behavior","overscroll-behavior-block","overscroll-behavior-inline","overscroll-behavior-x","overscroll-behavior-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","paint-order","pause","pause-after","pause-before","perspective","perspective-origin","place-content","place-items","place-self","pointer-events","position","position-anchor","position-visibility","print-color-adjust","quotes","r","resize","rest","rest-after","rest-before","right","rotate","row-gap","ruby-align","ruby-position","scale","scroll-behavior","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scroll-timeline","scroll-timeline-axis","scroll-timeline-name","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","shape-rendering","speak","speak-as","src","stop-color","stop-opacity","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","tab-size","table-layout","text-align","text-align-all","text-align-last","text-anchor","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-skip-ink","text-decoration-style","text-decoration-thickness","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-size-adjust","text-transform","text-underline-offset","text-underline-position","text-wrap","text-wrap-mode","text-wrap-style","timeline-scope","top","touch-action","transform","transform-box","transform-origin","transform-style","transition","transition-behavior","transition-delay","transition-duration","transition-property","transition-timing-function","translate","unicode-bidi","user-modify","user-select","vector-effect","vertical-align","view-timeline","view-timeline-axis","view-timeline-inset","view-timeline-name","view-transition-name","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","white-space-collapse","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","x","y","z-index","zoom"].sort().reverse(),o=u.concat(a).sort().reverse();function c(l){const d=e(l),g=o,p="and or not only",b="[\\w-]+",f="("+b+"|@\\{"+b+"\\})",h=[],_=[],m=function(K){return{className:"string",begin:"~?"+K+".*?"+K}},w=function(K,F,L){return{className:K,begin:F,relevance:L}},y={$pattern:/[a-z-]+/,keyword:p,attribute:r.join(" ")},x={begin:"\\(",end:"\\)",contains:_,keywords:y,relevance:0};_.push(l.C_LINE_COMMENT_MODE,l.C_BLOCK_COMMENT_MODE,m("'"),m('"'),d.CSS_NUMBER_MODE,{begin:"(url|data-uri)\\(",starts:{className:"string",end:"[\\)\\n]",excludeEnd:!0}},d.HEXCOLOR,x,w("variable","@@?"+b,10),w("variable","@\\{"+b+"\\}"),w("built_in","~?`[^`]*?`"),{className:"attribute",begin:b+"\\s*:",end:":",returnBegin:!0,excludeEnd:!0},d.IMPORTANT,{beginKeywords:"and not"},d.FUNCTION_DISPATCH);const k=_.concat({begin:/\{/,end:/\}/,contains:h}),D={beginKeywords:"when",endsWithParent:!0,contains:[{beginKeywords:"and not"}].concat(_)},A={begin:f+"\\s*:",returnBegin:!0,end:/[;}]/,relevance:0,contains:[{begin:/-(webkit|moz|ms|o)-/},d.CSS_VARIABLE,{className:"attribute",begin:"\\b("+s.join("|")+")\\b",end:/(?=:)/,starts:{endsWithParent:!0,illegal:"[<=$]",relevance:0,contains:_}}]},N={className:"keyword",begin:"@(import|media|charset|font-face|(-[a-z]+-)?keyframes|supports|document|namespace|page|viewport|host)\\b",starts:{end:"[;{}]",keywords:y,returnEnd:!0,contains:_,relevance:0}},R={className:"variable",variants:[{begin:"@"+b+"\\s*:",relevance:15},{begin:"@"+b}],starts:{end:"[;}]",returnEnd:!0,contains:k}},O={variants:[{begin:"[\\.#:&\\[>]",end:"[;{}]"},{begin:f,end:/\{/}],returnBegin:!0,returnEnd:!0,illegal:`[<='$"]`,relevance:0,contains:[l.C_LINE_COMMENT_MODE,l.C_BLOCK_COMMENT_MODE,D,w("keyword","all\\b"),w("variable","@\\{"+b+"\\}"),{begin:"\\b("+i.join("|")+")\\b",className:"selector-tag"},d.CSS_NUMBER_MODE,w("selector-tag",f,0),w("selector-id","#"+f),w("selector-class","\\."+f,0),w("selector-tag","&",0),d.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",begin:":("+u.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+a.join("|")+")"},{begin:/\(/,end:/\)/,relevance:0,contains:k},{begin:"!important"},d.FUNCTION_DISPATCH]},q={begin:b+`:(:)?(${g.join("|")})`,returnBegin:!0,contains:[O]};return h.push(l.C_LINE_COMMENT_MODE,l.C_BLOCK_COMMENT_MODE,N,R,q,A,O,D,d.FUNCTION_DISPATCH),{name:"Less",case_insensitive:!0,illegal:`[=>'/<($"]`,contains:h}}return ci=c,ci}var li,aa;function Rf(){if(aa)return li;aa=1;function e(t){const n="\\[=*\\[",i="\\]=*\\]",r={begin:n,end:i,contains:["self"]},u=[t.COMMENT("--(?!"+n+")","$"),t.COMMENT("--"+n,i,{contains:[r],relevance:10})];return{name:"Lua",aliases:["pluto"],keywords:{$pattern:t.UNDERSCORE_IDENT_RE,literal:"true false nil",keyword:"and break do else elseif end for goto if in local not or repeat return then until while",built_in:"_G _ENV _VERSION __index __newindex __mode __call __metatable __tostring __len __gc __add __sub __mul __div __mod __pow __concat __unm __eq __lt __le assert collectgarbage dofile error getfenv getmetatable ipairs load loadfile loadstring module next pairs pcall print rawequal rawget rawset require select setfenv setmetatable tonumber tostring type unpack xpcall arg self coroutine resume yield status wrap create running debug getupvalue debug sethook getmetatable gethook setmetatable setlocal traceback setfenv getinfo setupvalue getlocal getregistry getfenv io lines write close flush open output type read stderr stdin input stdout popen tmpfile math log max acos huge ldexp pi cos tanh pow deg tan cosh sinh random randomseed frexp ceil floor rad abs sqrt modf asin min mod fmod log10 atan2 exp sin atan os exit setlocale date getenv difftime remove time clock tmpname rename execute package preload loadlib loaded loaders cpath config path seeall string sub upper len gfind rep find match char dump gmatch reverse byte format gsub lower table setn insert getn foreachi maxn foreach concat sort remove"},contains:u.concat([{className:"function",beginKeywords:"function",end:"\\)",contains:[t.inherit(t.TITLE_MODE,{begin:"([_a-zA-Z]\\w*\\.)*([_a-zA-Z]\\w*:)?[_a-zA-Z]\\w*"}),{className:"params",begin:"\\(",endsWithParent:!0,contains:u}].concat(u)},t.C_NUMBER_MODE,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,{className:"string",begin:n,end:i,contains:[r],relevance:5}])}}return li=e,li}var di,sa;function Of(){if(sa)return di;sa=1;function e(t){const n={className:"variable",variants:[{begin:"\\$\\("+t.UNDERSCORE_IDENT_RE+"\\)",contains:[t.BACKSLASH_ESCAPE]},{begin:/\$[@%<?\^\+\*]/}]},i={className:"string",begin:/"/,end:/"/,contains:[t.BACKSLASH_ESCAPE,n]},r={className:"variable",begin:/\$\([\w-]+\s/,end:/\)/,keywords:{built_in:"subst patsubst strip findstring filter filter-out sort word wordlist firstword lastword dir notdir suffix basename addsuffix addprefix join wildcard realpath abspath error warning shell origin flavor foreach if or and call eval file value"},contains:[n,i]},u={begin:"^"+t.UNDERSCORE_IDENT_RE+"\\s*(?=[:+?]?=)"},a={className:"meta",begin:/^\.PHONY:/,end:/$/,keywords:{$pattern:/[\.\w]+/,keyword:".PHONY"}},s={className:"section",begin:/^[^\s]+:/,end:/$/,contains:[n]};return{name:"Makefile",aliases:["mk","mak","make"],keywords:{$pattern:/[\w-]+/,keyword:"define endef undefine ifdef ifndef ifeq ifneq else endif include -include sinclude override export unexport private vpath"},contains:[t.HASH_COMMENT_MODE,n,i,r,u,a,s]}}return di=e,di}var fi,oa;function If(){if(oa)return fi;oa=1;function e(t){const n=t.regex,i=["abs","accept","alarm","and","atan2","bind","binmode","bless","break","caller","chdir","chmod","chomp","chop","chown","chr","chroot","class","close","closedir","connect","continue","cos","crypt","dbmclose","dbmopen","defined","delete","die","do","dump","each","else","elsif","endgrent","endhostent","endnetent","endprotoent","endpwent","endservent","eof","eval","exec","exists","exit","exp","fcntl","field","fileno","flock","for","foreach","fork","format","formline","getc","getgrent","getgrgid","getgrnam","gethostbyaddr","gethostbyname","gethostent","getlogin","getnetbyaddr","getnetbyname","getnetent","getpeername","getpgrp","getpriority","getprotobyname","getprotobynumber","getprotoent","getpwent","getpwnam","getpwuid","getservbyname","getservbyport","getservent","getsockname","getsockopt","given","glob","gmtime","goto","grep","gt","hex","if","index","int","ioctl","join","keys","kill","last","lc","lcfirst","length","link","listen","local","localtime","log","lstat","lt","ma","map","method","mkdir","msgctl","msgget","msgrcv","msgsnd","my","ne","next","no","not","oct","open","opendir","or","ord","our","pack","package","pipe","pop","pos","print","printf","prototype","push","q|0","qq","quotemeta","qw","qx","rand","read","readdir","readline","readlink","readpipe","recv","redo","ref","rename","require","reset","return","reverse","rewinddir","rindex","rmdir","say","scalar","seek","seekdir","select","semctl","semget","semop","send","setgrent","sethostent","setnetent","setpgrp","setpriority","setprotoent","setpwent","setservent","setsockopt","shift","shmctl","shmget","shmread","shmwrite","shutdown","sin","sleep","socket","socketpair","sort","splice","split","sprintf","sqrt","srand","stat","state","study","sub","substr","symlink","syscall","sysopen","sysread","sysseek","system","syswrite","tell","telldir","tie","tied","time","times","tr","truncate","uc","ucfirst","umask","undef","unless","unlink","unpack","unshift","untie","until","use","utime","values","vec","wait","waitpid","wantarray","warn","when","while","write","x|0","xor","y|0"],r=/[dualxmsipngr]{0,12}/,u={$pattern:/[\w.]+/,keyword:i.join(" ")},a={className:"subst",begin:"[$@]\\{",end:"\\}",keywords:u},s={begin:/->\{/,end:/\}/},o={scope:"attr",match:/\s+:\s*\w+(\s*\(.*?\))?/},c={scope:"variable",variants:[{begin:/\$\d/},{begin:n.concat(/[$%@](?!")(\^\w\b|#\w+(::\w+)*|\{\w+\}|\w+(::\w*)*)/,"(?![A-Za-z])(?![@$%])")},{begin:/[$%@](?!")[^\s\w{=]|\$=/,relevance:0}],contains:[o]},l={className:"number",variants:[{match:/0?\.[0-9][0-9_]+\b/},{match:/\bv?(0|[1-9][0-9_]*(\.[0-9_]+)?|[1-9][0-9_]*)\b/},{match:/\b0[0-7][0-7_]*\b/},{match:/\b0x[0-9a-fA-F][0-9a-fA-F_]*\b/},{match:/\b0b[0-1][0-1_]*\b/}],relevance:0},d=[t.BACKSLASH_ESCAPE,a,c],g=[/!/,/\//,/\|/,/\?/,/'/,/"/,/#/],p=(h,_,m="\\1")=>{const w=m==="\\1"?m:n.concat(m,_);return n.concat(n.concat("(?:",h,")"),_,/(?:\\.|[^\\\/])*?/,w,/(?:\\.|[^\\\/])*?/,m,r)},b=(h,_,m)=>n.concat(n.concat("(?:",h,")"),_,/(?:\\.|[^\\\/])*?/,m,r),f=[c,t.HASH_COMMENT_MODE,t.COMMENT(/^=\w/,/=cut/,{endsWithParent:!0}),s,{className:"string",contains:d,variants:[{begin:"q[qwxr]?\\s*\\(",end:"\\)",relevance:5},{begin:"q[qwxr]?\\s*\\[",end:"\\]",relevance:5},{begin:"q[qwxr]?\\s*\\{",end:"\\}",relevance:5},{begin:"q[qwxr]?\\s*\\|",end:"\\|",relevance:5},{begin:"q[qwxr]?\\s*<",end:">",relevance:5},{begin:"qw\\s+q",end:"q",relevance:5},{begin:"'",end:"'",contains:[t.BACKSLASH_ESCAPE]},{begin:'"',end:'"'},{begin:"`",end:"`",contains:[t.BACKSLASH_ESCAPE]},{begin:/\{\w+\}/,relevance:0},{begin:"-?\\w+\\s*=>",relevance:0}]},l,{begin:"(\\/\\/|"+t.RE_STARTERS_RE+"|\\b(split|return|print|reverse|grep)\\b)\\s*",keywords:"split return print reverse grep",relevance:0,contains:[t.HASH_COMMENT_MODE,{className:"regexp",variants:[{begin:p("s|tr|y",n.either(...g,{capture:!0}))},{begin:p("s|tr|y","\\(","\\)")},{begin:p("s|tr|y","\\[","\\]")},{begin:p("s|tr|y","\\{","\\}")}],relevance:2},{className:"regexp",variants:[{begin:/(m|qr)\/\//,relevance:0},{begin:b("(?:m|qr)?",/\//,/\//)},{begin:b("m|qr",n.either(...g,{capture:!0}),/\1/)},{begin:b("m|qr",/\(/,/\)/)},{begin:b("m|qr",/\[/,/\]/)},{begin:b("m|qr",/\{/,/\}/)}]}]},{className:"function",beginKeywords:"sub method",end:"(\\s*\\(.*?\\))?[;{]",excludeEnd:!0,relevance:5,contains:[t.TITLE_MODE,o]},{className:"class",beginKeywords:"class",end:"[;{]",excludeEnd:!0,relevance:5,contains:[t.TITLE_MODE,o,l]},{begin:"-\\w\\b",relevance:0},{begin:"^__DATA__$",end:"^__END__$",subLanguage:"mojolicious",contains:[{begin:"^@@.*",end:"$",className:"comment"}]}];return a.contains=f,s.contains=f,{name:"Perl",aliases:["pl","pm"],keywords:u,contains:f}}return fi=e,fi}var pi,ca;function $f(){if(ca)return pi;ca=1;function e(t){const n={className:"built_in",begin:"\\b(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)\\w+"},i=/[a-zA-Z@][a-zA-Z0-9_]*/,o={"variable.language":["this","super"],$pattern:i,keyword:["while","export","sizeof","typedef","const","struct","for","union","volatile","static","mutable","if","do","return","goto","enum","else","break","extern","asm","case","default","register","explicit","typename","switch","continue","inline","readonly","assign","readwrite","self","@synchronized","id","typeof","nonatomic","IBOutlet","IBAction","strong","weak","copy","in","out","inout","bycopy","byref","oneway","__strong","__weak","__block","__autoreleasing","@private","@protected","@public","@try","@property","@end","@throw","@catch","@finally","@autoreleasepool","@synthesize","@dynamic","@selector","@optional","@required","@encode","@package","@import","@defs","@compatibility_alias","__bridge","__bridge_transfer","__bridge_retained","__bridge_retain","__covariant","__contravariant","__kindof","_Nonnull","_Nullable","_Null_unspecified","__FUNCTION__","__PRETTY_FUNCTION__","__attribute__","getter","setter","retain","unsafe_unretained","nonnull","nullable","null_unspecified","null_resettable","class","instancetype","NS_DESIGNATED_INITIALIZER","NS_UNAVAILABLE","NS_REQUIRES_SUPER","NS_RETURNS_INNER_POINTER","NS_INLINE","NS_AVAILABLE","NS_DEPRECATED","NS_ENUM","NS_OPTIONS","NS_SWIFT_UNAVAILABLE","NS_ASSUME_NONNULL_BEGIN","NS_ASSUME_NONNULL_END","NS_REFINED_FOR_SWIFT","NS_SWIFT_NAME","NS_SWIFT_NOTHROW","NS_DURING","NS_HANDLER","NS_ENDHANDLER","NS_VALUERETURN","NS_VOIDRETURN"],literal:["false","true","FALSE","TRUE","nil","YES","NO","NULL"],built_in:["dispatch_once_t","dispatch_queue_t","dispatch_sync","dispatch_async","dispatch_once"],type:["int","float","char","unsigned","signed","short","long","double","wchar_t","unichar","void","bool","BOOL","id|0","_Bool"]},c={$pattern:i,keyword:["@interface","@class","@protocol","@implementation"]};return{name:"Objective-C",aliases:["mm","objc","obj-c","obj-c++","objective-c++"],keywords:o,illegal:"</",contains:[n,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.C_NUMBER_MODE,t.QUOTE_STRING_MODE,t.APOS_STRING_MODE,{className:"string",variants:[{begin:'@"',end:'"',illegal:"\\n",contains:[t.BACKSLASH_ESCAPE]}]},{className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},t.inherit(t.QUOTE_STRING_MODE,{className:"string"}),{className:"string",begin:/<.*?>/,end:/$/,illegal:"\\n"},t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]},{className:"class",begin:"("+c.keyword.join("|")+")\\b",end:/(\{|$)/,excludeEnd:!0,keywords:c,contains:[t.UNDERSCORE_TITLE_MODE]},{begin:"\\."+t.UNDERSCORE_IDENT_RE,relevance:0}]}}return pi=e,pi}var bi,la;function Mf(){if(la)return bi;la=1;function e(t){const n=t.regex,i=/(?![A-Za-z0-9])(?![$])/,r=n.concat(/[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/,i),u=n.concat(/(\\?[A-Z][a-z0-9_\x7f-\xff]+|\\?[A-Z]+(?=[A-Z][a-z0-9_\x7f-\xff])){1,}/,i),a=n.concat(/[A-Z]+/,i),s={scope:"variable",match:"\\$+"+r},o={scope:"meta",variants:[{begin:/<\?php/,relevance:10},{begin:/<\?=/},{begin:/<\?/,relevance:.1},{begin:/\?>/}]},c={scope:"subst",variants:[{begin:/\$\w+/},{begin:/\{\$/,end:/\}/}]},l=t.inherit(t.APOS_STRING_MODE,{illegal:null}),d=t.inherit(t.QUOTE_STRING_MODE,{illegal:null,contains:t.QUOTE_STRING_MODE.contains.concat(c)}),g={begin:/<<<[ \t]*(?:(\w+)|"(\w+)")\n/,end:/[ \t]*(\w+)\b/,contains:t.QUOTE_STRING_MODE.contains.concat(c),"on:begin":(L,W)=>{W.data._beginMatch=L[1]||L[2]},"on:end":(L,W)=>{W.data._beginMatch!==L[1]&&W.ignoreMatch()}},p=t.END_SAME_AS_BEGIN({begin:/<<<[ \t]*'(\w+)'\n/,end:/[ \t]*(\w+)\b/}),b=`[
|
|
20
|
-
]`,f={scope:"string",variants:[d,l,g,p]},h={scope:"number",variants:[{begin:"\\b0[bB][01]+(?:_[01]+)*\\b"},{begin:"\\b0[oO][0-7]+(?:_[0-7]+)*\\b"},{begin:"\\b0[xX][\\da-fA-F]+(?:_[\\da-fA-F]+)*\\b"},{begin:"(?:\\b\\d+(?:_\\d+)*(\\.(?:\\d+(?:_\\d+)*))?|\\B\\.\\d+)(?:[eE][+-]?\\d+)?"}],relevance:0},_=["false","null","true"],m=["__CLASS__","__DIR__","__FILE__","__FUNCTION__","__COMPILER_HALT_OFFSET__","__LINE__","__METHOD__","__NAMESPACE__","__TRAIT__","die","echo","exit","include","include_once","print","require","require_once","array","abstract","and","as","binary","bool","boolean","break","callable","case","catch","class","clone","const","continue","declare","default","do","double","else","elseif","empty","enddeclare","endfor","endforeach","endif","endswitch","endwhile","enum","eval","extends","final","finally","float","for","foreach","from","global","goto","if","implements","instanceof","insteadof","int","integer","interface","isset","iterable","list","match|0","mixed","new","never","object","or","private","protected","public","readonly","real","return","string","switch","throw","trait","try","unset","use","var","void","while","xor","yield"],w=["Error|0","AppendIterator","ArgumentCountError","ArithmeticError","ArrayIterator","ArrayObject","AssertionError","BadFunctionCallException","BadMethodCallException","CachingIterator","CallbackFilterIterator","CompileError","Countable","DirectoryIterator","DivisionByZeroError","DomainException","EmptyIterator","ErrorException","Exception","FilesystemIterator","FilterIterator","GlobIterator","InfiniteIterator","InvalidArgumentException","IteratorIterator","LengthException","LimitIterator","LogicException","MultipleIterator","NoRewindIterator","OutOfBoundsException","OutOfRangeException","OuterIterator","OverflowException","ParentIterator","ParseError","RangeException","RecursiveArrayIterator","RecursiveCachingIterator","RecursiveCallbackFilterIterator","RecursiveDirectoryIterator","RecursiveFilterIterator","RecursiveIterator","RecursiveIteratorIterator","RecursiveRegexIterator","RecursiveTreeIterator","RegexIterator","RuntimeException","SeekableIterator","SplDoublyLinkedList","SplFileInfo","SplFileObject","SplFixedArray","SplHeap","SplMaxHeap","SplMinHeap","SplObjectStorage","SplObserver","SplPriorityQueue","SplQueue","SplStack","SplSubject","SplTempFileObject","TypeError","UnderflowException","UnexpectedValueException","UnhandledMatchError","ArrayAccess","BackedEnum","Closure","Fiber","Generator","Iterator","IteratorAggregate","Serializable","Stringable","Throwable","Traversable","UnitEnum","WeakReference","WeakMap","Directory","__PHP_Incomplete_Class","parent","php_user_filter","self","static","stdClass"],x={keyword:m,literal:(L=>{const W=[];return L.forEach(P=>{W.push(P),P.toLowerCase()===P?W.push(P.toUpperCase()):W.push(P.toLowerCase())}),W})(_),built_in:w},k=L=>L.map(W=>W.replace(/\|\d+$/,"")),D={variants:[{match:[/new/,n.concat(b,"+"),n.concat("(?!",k(w).join("\\b|"),"\\b)"),u],scope:{1:"keyword",4:"title.class"}}]},A=n.concat(r,"\\b(?!\\()"),N={variants:[{match:[n.concat(/::/,n.lookahead(/(?!class\b)/)),A],scope:{2:"variable.constant"}},{match:[/::/,/class/],scope:{2:"variable.language"}},{match:[u,n.concat(/::/,n.lookahead(/(?!class\b)/)),A],scope:{1:"title.class",3:"variable.constant"}},{match:[u,n.concat("::",n.lookahead(/(?!class\b)/))],scope:{1:"title.class"}},{match:[u,/::/,/class/],scope:{1:"title.class",3:"variable.language"}}]},R={scope:"attr",match:n.concat(r,n.lookahead(":"),n.lookahead(/(?!::)/))},O={relevance:0,begin:/\(/,end:/\)/,keywords:x,contains:[R,s,N,t.C_BLOCK_COMMENT_MODE,f,h,D]},q={relevance:0,match:[/\b/,n.concat("(?!fn\\b|function\\b|",k(m).join("\\b|"),"|",k(w).join("\\b|"),"\\b)"),r,n.concat(b,"*"),n.lookahead(/(?=\()/)],scope:{3:"title.function.invoke"},contains:[O]};O.contains.push(q);const K=[R,N,t.C_BLOCK_COMMENT_MODE,f,h,D],F={begin:n.concat(/#\[\s*\\?/,n.either(u,a)),beginScope:"meta",end:/]/,endScope:"meta",keywords:{literal:_,keyword:["new","array"]},contains:[{begin:/\[/,end:/]/,keywords:{literal:_,keyword:["new","array"]},contains:["self",...K]},...K,{scope:"meta",variants:[{match:u},{match:a}]}]};return{case_insensitive:!1,keywords:x,contains:[F,t.HASH_COMMENT_MODE,t.COMMENT("//","$"),t.COMMENT("/\\*","\\*/",{contains:[{scope:"doctag",match:"@[A-Za-z]+"}]}),{match:/__halt_compiler\(\);/,keywords:"__halt_compiler",starts:{scope:"comment",end:t.MATCH_NOTHING_RE,contains:[{match:/\?>/,scope:"meta",endsParent:!0}]}},o,{scope:"variable.language",match:/\$this\b/},s,q,N,{match:[/const/,/\s/,r],scope:{1:"keyword",3:"variable.constant"}},D,{scope:"function",relevance:0,beginKeywords:"fn function",end:/[;{]/,excludeEnd:!0,illegal:"[$%\\[]",contains:[{beginKeywords:"use"},t.UNDERSCORE_TITLE_MODE,{begin:"=>",endsParent:!0},{scope:"params",begin:"\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0,keywords:x,contains:["self",F,s,N,t.C_BLOCK_COMMENT_MODE,f,h]}]},{scope:"class",variants:[{beginKeywords:"enum",illegal:/[($"]/},{beginKeywords:"class interface trait",illegal:/[:($"]/}],relevance:0,end:/\{/,excludeEnd:!0,contains:[{beginKeywords:"extends implements"},t.UNDERSCORE_TITLE_MODE]},{beginKeywords:"namespace",relevance:0,end:";",illegal:/[.']/,contains:[t.inherit(t.UNDERSCORE_TITLE_MODE,{scope:"title.class"})]},{beginKeywords:"use",relevance:0,end:";",contains:[{match:/\b(as|const|function)\b/,scope:"keyword"},t.UNDERSCORE_TITLE_MODE]},f,h]}}return bi=e,bi}var gi,da;function Lf(){if(da)return gi;da=1;function e(t){return{name:"PHP template",subLanguage:"xml",contains:[{begin:/<\?(php|=)?/,end:/\?>/,subLanguage:"php",contains:[{begin:"/\\*",end:"\\*/",skip:!0},{begin:'b"',end:'"',skip:!0},{begin:"b'",end:"'",skip:!0},t.inherit(t.APOS_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0}),t.inherit(t.QUOTE_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0})]}]}}return gi=e,gi}var hi,fa;function Ff(){if(fa)return hi;fa=1;function e(t){return{name:"Plain text",aliases:["text","txt"],disableAutodetect:!0}}return hi=e,hi}var mi,pa;function Pf(){if(pa)return mi;pa=1;function e(t){const n=t.regex,i=/[\p{XID_Start}_]\p{XID_Continue}*/u,r=["and","as","assert","async","await","break","case","class","continue","def","del","elif","else","except","finally","for","from","global","if","import","in","is","lambda","match","nonlocal|10","not","or","pass","raise","return","try","while","with","yield"],o={$pattern:/[A-Za-z]\w+|__\w+__/,keyword:r,built_in:["__import__","abs","all","any","ascii","bin","bool","breakpoint","bytearray","bytes","callable","chr","classmethod","compile","complex","delattr","dict","dir","divmod","enumerate","eval","exec","filter","float","format","frozenset","getattr","globals","hasattr","hash","help","hex","id","input","int","isinstance","issubclass","iter","len","list","locals","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","range","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","vars","zip"],literal:["__debug__","Ellipsis","False","None","NotImplemented","True"],type:["Any","Callable","Coroutine","Dict","List","Literal","Generic","Optional","Sequence","Set","Tuple","Type","Union"]},c={className:"meta",begin:/^(>>>|\.\.\.) /},l={className:"subst",begin:/\{/,end:/\}/,keywords:o,illegal:/#/},d={begin:/\{\{/,relevance:0},g={className:"string",contains:[t.BACKSLASH_ESCAPE],variants:[{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?'''/,end:/'''/,contains:[t.BACKSLASH_ESCAPE,c],relevance:10},{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?"""/,end:/"""/,contains:[t.BACKSLASH_ESCAPE,c],relevance:10},{begin:/([fF][rR]|[rR][fF]|[fF])'''/,end:/'''/,contains:[t.BACKSLASH_ESCAPE,c,d,l]},{begin:/([fF][rR]|[rR][fF]|[fF])"""/,end:/"""/,contains:[t.BACKSLASH_ESCAPE,c,d,l]},{begin:/([uU]|[rR])'/,end:/'/,relevance:10},{begin:/([uU]|[rR])"/,end:/"/,relevance:10},{begin:/([bB]|[bB][rR]|[rR][bB])'/,end:/'/},{begin:/([bB]|[bB][rR]|[rR][bB])"/,end:/"/},{begin:/([fF][rR]|[rR][fF]|[fF])'/,end:/'/,contains:[t.BACKSLASH_ESCAPE,d,l]},{begin:/([fF][rR]|[rR][fF]|[fF])"/,end:/"/,contains:[t.BACKSLASH_ESCAPE,d,l]},t.APOS_STRING_MODE,t.QUOTE_STRING_MODE]},p="[0-9](_?[0-9])*",b=`(\\b(${p}))?\\.(${p})|\\b(${p})\\.`,f=`\\b|${r.join("|")}`,h={className:"number",relevance:0,variants:[{begin:`(\\b(${p})|(${b}))[eE][+-]?(${p})[jJ]?(?=${f})`},{begin:`(${b})[jJ]?`},{begin:`\\b([1-9](_?[0-9])*|0+(_?0)*)[lLjJ]?(?=${f})`},{begin:`\\b0[bB](_?[01])+[lL]?(?=${f})`},{begin:`\\b0[oO](_?[0-7])+[lL]?(?=${f})`},{begin:`\\b0[xX](_?[0-9a-fA-F])+[lL]?(?=${f})`},{begin:`\\b(${p})[jJ](?=${f})`}]},_={className:"comment",begin:n.lookahead(/# type:/),end:/$/,keywords:o,contains:[{begin:/# type:/},{begin:/#/,end:/\b\B/,endsWithParent:!0}]},m={className:"params",variants:[{className:"",begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:o,contains:["self",c,h,g,t.HASH_COMMENT_MODE]}]};return l.contains=[g,h,c],{name:"Python",aliases:["py","gyp","ipython"],unicodeRegex:!0,keywords:o,illegal:/(<\/|\?)|=>/,contains:[c,h,{scope:"variable.language",match:/\bself\b/},{beginKeywords:"if",relevance:0},{match:/\bor\b/,scope:"keyword"},g,_,t.HASH_COMMENT_MODE,{match:[/\bdef/,/\s+/,i],scope:{1:"keyword",3:"title.function"},contains:[m]},{variants:[{match:[/\bclass/,/\s+/,i,/\s*/,/\(\s*/,i,/\s*\)/]},{match:[/\bclass/,/\s+/,i]}],scope:{1:"keyword",3:"title.class",6:"title.class.inherited"}},{className:"meta",begin:/^[\t ]*@/,end:/(?=#)|$/,contains:[h,m,g]}]}}return mi=e,mi}var _i,ba;function Bf(){if(ba)return _i;ba=1;function e(t){return{aliases:["pycon"],contains:[{className:"meta.prompt",starts:{end:/ |$/,starts:{end:"$",subLanguage:"python"}},variants:[{begin:/^>>>(?=[ ]|$)/},{begin:/^\.\.\.(?=[ ]|$)/}]}]}}return _i=e,_i}var Ei,ga;function Uf(){if(ga)return Ei;ga=1;function e(t){const n=t.regex,i=/(?:(?:[a-zA-Z]|\.[._a-zA-Z])[._a-zA-Z0-9]*)|\.(?!\d)/,r=n.either(/0[xX][0-9a-fA-F]+\.[0-9a-fA-F]*[pP][+-]?\d+i?/,/0[xX][0-9a-fA-F]+(?:[pP][+-]?\d+)?[Li]?/,/(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?[Li]?/),u=/[=!<>:]=|\|\||&&|:::?|<-|<<-|->>|->|\|>|[-+*\/?!$&|:<=>@^~]|\*\*/,a=n.either(/[()]/,/[{}]/,/\[\[/,/[[\]]/,/\\/,/,/);return{name:"R",keywords:{$pattern:i,keyword:"function if in break next repeat else for while",literal:"NULL NA TRUE FALSE Inf NaN NA_integer_|10 NA_real_|10 NA_character_|10 NA_complex_|10",built_in:"LETTERS letters month.abb month.name pi T F abs acos acosh all any anyNA Arg as.call as.character as.complex as.double as.environment as.integer as.logical as.null.default as.numeric as.raw asin asinh atan atanh attr attributes baseenv browser c call ceiling class Conj cos cosh cospi cummax cummin cumprod cumsum digamma dim dimnames emptyenv exp expression floor forceAndCall gamma gc.time globalenv Im interactive invisible is.array is.atomic is.call is.character is.complex is.double is.environment is.expression is.finite is.function is.infinite is.integer is.language is.list is.logical is.matrix is.na is.name is.nan is.null is.numeric is.object is.pairlist is.raw is.recursive is.single is.symbol lazyLoadDBfetch length lgamma list log max min missing Mod names nargs nzchar oldClass on.exit pos.to.env proc.time prod quote range Re rep retracemem return round seq_along seq_len seq.int sign signif sin sinh sinpi sqrt standardGeneric substitute sum switch tan tanh tanpi tracemem trigamma trunc unclass untracemem UseMethod xtfrm"},contains:[t.COMMENT(/#'/,/$/,{contains:[{scope:"doctag",match:/@examples/,starts:{end:n.lookahead(n.either(/\n^#'\s*(?=@[a-zA-Z]+)/,/\n^(?!#')/)),endsParent:!0}},{scope:"doctag",begin:"@param",end:/$/,contains:[{scope:"variable",variants:[{match:i},{match:/`(?:\\.|[^`\\])+`/}],endsParent:!0}]},{scope:"doctag",match:/@[a-zA-Z]+/},{scope:"keyword",match:/\\[a-zA-Z]+/}]}),t.HASH_COMMENT_MODE,{scope:"string",contains:[t.BACKSLASH_ESCAPE],variants:[t.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\(/,end:/\)(-*)"/}),t.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\{/,end:/\}(-*)"/}),t.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\[/,end:/\](-*)"/}),t.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\(/,end:/\)(-*)'/}),t.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\{/,end:/\}(-*)'/}),t.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\[/,end:/\](-*)'/}),{begin:'"',end:'"',relevance:0},{begin:"'",end:"'",relevance:0}]},{relevance:0,variants:[{scope:{1:"operator",2:"number"},match:[u,r]},{scope:{1:"operator",2:"number"},match:[/%[^%]*%/,r]},{scope:{1:"punctuation",2:"number"},match:[a,r]},{scope:{2:"number"},match:[/[^a-zA-Z0-9._]|^/,r]}]},{scope:{3:"operator"},match:[i,/\s+/,/<-/,/\s+/]},{scope:"operator",relevance:0,variants:[{match:u},{match:/%[^%]*%/}]},{scope:"punctuation",relevance:0,match:a},{begin:"`",end:"`",contains:[{begin:/\\./}]}]}}return Ei=e,Ei}var xi,ha;function zf(){if(ha)return xi;ha=1;function e(t){const n=t.regex,i=/(r#)?/,r=n.concat(i,t.UNDERSCORE_IDENT_RE),u=n.concat(i,t.IDENT_RE),a={className:"title.function.invoke",relevance:0,begin:n.concat(/\b/,/(?!let|for|while|if|else|match\b)/,u,n.lookahead(/\s*\(/))},s="([ui](8|16|32|64|128|size)|f(32|64))?",o=["abstract","as","async","await","become","box","break","const","continue","crate","do","dyn","else","enum","extern","false","final","fn","for","if","impl","in","let","loop","macro","match","mod","move","mut","override","priv","pub","ref","return","self","Self","static","struct","super","trait","true","try","type","typeof","union","unsafe","unsized","use","virtual","where","while","yield"],c=["true","false","Some","None","Ok","Err"],l=["drop ","Copy","Send","Sized","Sync","Drop","Fn","FnMut","FnOnce","ToOwned","Clone","Debug","PartialEq","PartialOrd","Eq","Ord","AsRef","AsMut","Into","From","Default","Iterator","Extend","IntoIterator","DoubleEndedIterator","ExactSizeIterator","SliceConcatExt","ToString","assert!","assert_eq!","bitflags!","bytes!","cfg!","col!","concat!","concat_idents!","debug_assert!","debug_assert_eq!","env!","eprintln!","panic!","file!","format!","format_args!","include_bytes!","include_str!","line!","local_data_key!","module_path!","option_env!","print!","println!","select!","stringify!","try!","unimplemented!","unreachable!","vec!","write!","writeln!","macro_rules!","assert_ne!","debug_assert_ne!"],d=["i8","i16","i32","i64","i128","isize","u8","u16","u32","u64","u128","usize","f32","f64","str","char","bool","Box","Option","Result","String","Vec"];return{name:"Rust",aliases:["rs"],keywords:{$pattern:t.IDENT_RE+"!?",type:d,keyword:o,literal:c,built_in:l},illegal:"</",contains:[t.C_LINE_COMMENT_MODE,t.COMMENT("/\\*","\\*/",{contains:["self"]}),t.inherit(t.QUOTE_STRING_MODE,{begin:/b?"/,illegal:null}),{className:"symbol",begin:/'[a-zA-Z_][a-zA-Z0-9_]*(?!')/},{scope:"string",variants:[{begin:/b?r(#*)"(.|\n)*?"\1(?!#)/},{begin:/b?'/,end:/'/,contains:[{scope:"char.escape",match:/\\('|\w|x\w{2}|u\w{4}|U\w{8})/}]}]},{className:"number",variants:[{begin:"\\b0b([01_]+)"+s},{begin:"\\b0o([0-7_]+)"+s},{begin:"\\b0x([A-Fa-f0-9_]+)"+s},{begin:"\\b(\\d[\\d_]*(\\.[0-9_]+)?([eE][+-]?[0-9_]+)?)"+s}],relevance:0},{begin:[/fn/,/\s+/,r],className:{1:"keyword",3:"title.function"}},{className:"meta",begin:"#!?\\[",end:"\\]",contains:[{className:"string",begin:/"/,end:/"/,contains:[t.BACKSLASH_ESCAPE]}]},{begin:[/let/,/\s+/,/(?:mut\s+)?/,r],className:{1:"keyword",3:"keyword",4:"variable"}},{begin:[/for/,/\s+/,r,/\s+/,/in/],className:{1:"keyword",3:"variable",5:"keyword"}},{begin:[/type/,/\s+/,r],className:{1:"keyword",3:"title.class"}},{begin:[/(?:trait|enum|struct|union|impl|for)/,/\s+/,r],className:{1:"keyword",3:"title.class"}},{begin:t.IDENT_RE+"::",keywords:{keyword:"Self",built_in:l,type:d}},{className:"punctuation",begin:"->"},a]}}return xi=e,xi}var yi,ma;function qf(){if(ma)return yi;ma=1;const e=c=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:c.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[c.APOS_STRING_MODE,c.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:c.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),t=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","optgroup","option","p","picture","q","quote","samp","section","select","source","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],n=["defs","g","marker","mask","pattern","svg","switch","symbol","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feFlood","feGaussianBlur","feImage","feMerge","feMorphology","feOffset","feSpecularLighting","feTile","feTurbulence","linearGradient","radialGradient","stop","circle","ellipse","image","line","path","polygon","polyline","rect","text","use","textPath","tspan","foreignObject","clipPath"],i=[...t,...n],r=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"].sort().reverse(),u=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"].sort().reverse(),a=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"].sort().reverse(),s=["accent-color","align-content","align-items","align-self","alignment-baseline","all","anchor-name","animation","animation-composition","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-range","animation-range-end","animation-range-start","animation-timeline","animation-timing-function","appearance","aspect-ratio","backdrop-filter","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-position-x","background-position-y","background-repeat","background-size","baseline-shift","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-end-end-radius","border-end-start-radius","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-start-end-radius","border-start-start-radius","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-align","box-decoration-break","box-direction","box-flex","box-flex-group","box-lines","box-ordinal-group","box-orient","box-pack","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","color-scheme","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","contain-intrinsic-block-size","contain-intrinsic-height","contain-intrinsic-inline-size","contain-intrinsic-size","contain-intrinsic-width","container","container-name","container-type","content","content-visibility","counter-increment","counter-reset","counter-set","cue","cue-after","cue-before","cursor","cx","cy","direction","display","dominant-baseline","empty-cells","enable-background","field-sizing","fill","fill-opacity","fill-rule","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flood-color","flood-opacity","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-optical-sizing","font-palette","font-size","font-size-adjust","font-smooth","font-smoothing","font-stretch","font-style","font-synthesis","font-synthesis-position","font-synthesis-small-caps","font-synthesis-style","font-synthesis-weight","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-emoji","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","forced-color-adjust","gap","glyph-orientation-horizontal","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphenate-character","hyphenate-limit-chars","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","initial-letter","initial-letter-align","inline-size","inset","inset-area","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","isolation","justify-content","justify-items","justify-self","kerning","left","letter-spacing","lighting-color","line-break","line-height","line-height-step","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","margin-trim","marker","marker-end","marker-mid","marker-start","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","masonry-auto-flow","math-depth","math-shift","math-style","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","offset","offset-anchor","offset-distance","offset-path","offset-position","offset-rotate","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-anchor","overflow-block","overflow-clip-margin","overflow-inline","overflow-wrap","overflow-x","overflow-y","overlay","overscroll-behavior","overscroll-behavior-block","overscroll-behavior-inline","overscroll-behavior-x","overscroll-behavior-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","paint-order","pause","pause-after","pause-before","perspective","perspective-origin","place-content","place-items","place-self","pointer-events","position","position-anchor","position-visibility","print-color-adjust","quotes","r","resize","rest","rest-after","rest-before","right","rotate","row-gap","ruby-align","ruby-position","scale","scroll-behavior","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scroll-timeline","scroll-timeline-axis","scroll-timeline-name","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","shape-rendering","speak","speak-as","src","stop-color","stop-opacity","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","tab-size","table-layout","text-align","text-align-all","text-align-last","text-anchor","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-skip-ink","text-decoration-style","text-decoration-thickness","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-size-adjust","text-transform","text-underline-offset","text-underline-position","text-wrap","text-wrap-mode","text-wrap-style","timeline-scope","top","touch-action","transform","transform-box","transform-origin","transform-style","transition","transition-behavior","transition-delay","transition-duration","transition-property","transition-timing-function","translate","unicode-bidi","user-modify","user-select","vector-effect","vertical-align","view-timeline","view-timeline-axis","view-timeline-inset","view-timeline-name","view-transition-name","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","white-space-collapse","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","x","y","z-index","zoom"].sort().reverse();function o(c){const l=e(c),d=a,g=u,p="@[a-z-]+",b="and or not only",h={className:"variable",begin:"(\\$"+"[a-zA-Z-][a-zA-Z0-9_-]*"+")\\b",relevance:0};return{name:"SCSS",case_insensitive:!0,illegal:"[=/|']",contains:[c.C_LINE_COMMENT_MODE,c.C_BLOCK_COMMENT_MODE,l.CSS_NUMBER_MODE,{className:"selector-id",begin:"#[A-Za-z0-9_-]+",relevance:0},{className:"selector-class",begin:"\\.[A-Za-z0-9_-]+",relevance:0},l.ATTRIBUTE_SELECTOR_MODE,{className:"selector-tag",begin:"\\b("+i.join("|")+")\\b",relevance:0},{className:"selector-pseudo",begin:":("+g.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+d.join("|")+")"},h,{begin:/\(/,end:/\)/,contains:[l.CSS_NUMBER_MODE]},l.CSS_VARIABLE,{className:"attribute",begin:"\\b("+s.join("|")+")\\b"},{begin:"\\b(whitespace|wait|w-resize|visible|vertical-text|vertical-ideographic|uppercase|upper-roman|upper-alpha|underline|transparent|top|thin|thick|text|text-top|text-bottom|tb-rl|table-header-group|table-footer-group|sw-resize|super|strict|static|square|solid|small-caps|separate|se-resize|scroll|s-resize|rtl|row-resize|ridge|right|repeat|repeat-y|repeat-x|relative|progress|pointer|overline|outside|outset|oblique|nowrap|not-allowed|normal|none|nw-resize|no-repeat|no-drop|newspaper|ne-resize|n-resize|move|middle|medium|ltr|lr-tb|lowercase|lower-roman|lower-alpha|loose|list-item|line|line-through|line-edge|lighter|left|keep-all|justify|italic|inter-word|inter-ideograph|inside|inset|inline|inline-block|inherit|inactive|ideograph-space|ideograph-parenthesis|ideograph-numeric|ideograph-alpha|horizontal|hidden|help|hand|groove|fixed|ellipsis|e-resize|double|dotted|distribute|distribute-space|distribute-letter|distribute-all-lines|disc|disabled|default|decimal|dashed|crosshair|collapse|col-resize|circle|char|center|capitalize|break-word|break-all|bottom|both|bolder|bold|block|bidi-override|below|baseline|auto|always|all-scroll|absolute|table|table-cell)\\b"},{begin:/:/,end:/[;}{]/,relevance:0,contains:[l.BLOCK_COMMENT,h,l.HEXCOLOR,l.CSS_NUMBER_MODE,c.QUOTE_STRING_MODE,c.APOS_STRING_MODE,l.IMPORTANT,l.FUNCTION_DISPATCH]},{begin:"@(page|font-face)",keywords:{$pattern:p,keyword:"@page @font-face"}},{begin:"@",end:"[{;]",returnBegin:!0,keywords:{$pattern:/[a-z-]+/,keyword:b,attribute:r.join(" ")},contains:[{begin:p,className:"keyword"},{begin:/[a-z-]+(?=:)/,className:"attribute"},h,c.QUOTE_STRING_MODE,c.APOS_STRING_MODE,l.HEXCOLOR,l.CSS_NUMBER_MODE]},l.FUNCTION_DISPATCH]}}return yi=o,yi}var vi,_a;function Hf(){if(_a)return vi;_a=1;function e(t){return{name:"Shell Session",aliases:["console","shellsession"],contains:[{className:"meta.prompt",begin:/^\s{0,3}[/~\w\d[\]()@-]*[>%$#][ ]?/,starts:{end:/[^\\](?=\s*$)/,subLanguage:"bash"}}]}}return vi=e,vi}var wi,Ea;function Gf(){if(Ea)return wi;Ea=1;function e(t){const n=t.regex,i=t.COMMENT("--","$"),r={scope:"string",variants:[{begin:/'/,end:/'/,contains:[{match:/''/}]}]},u={begin:/"/,end:/"/,contains:[{match:/""/}]},a=["true","false","unknown"],s=["double precision","large object","with timezone","without timezone"],o=["bigint","binary","blob","boolean","char","character","clob","date","dec","decfloat","decimal","float","int","integer","interval","nchar","nclob","national","numeric","real","row","smallint","time","timestamp","varchar","varying","varbinary"],c=["add","asc","collation","desc","final","first","last","view"],l=["abs","acos","all","allocate","alter","and","any","are","array","array_agg","array_max_cardinality","as","asensitive","asin","asymmetric","at","atan","atomic","authorization","avg","begin","begin_frame","begin_partition","between","bigint","binary","blob","boolean","both","by","call","called","cardinality","cascaded","case","cast","ceil","ceiling","char","char_length","character","character_length","check","classifier","clob","close","coalesce","collate","collect","column","commit","condition","connect","constraint","contains","convert","copy","corr","corresponding","cos","cosh","count","covar_pop","covar_samp","create","cross","cube","cume_dist","current","current_catalog","current_date","current_default_transform_group","current_path","current_role","current_row","current_schema","current_time","current_timestamp","current_path","current_role","current_transform_group_for_type","current_user","cursor","cycle","date","day","deallocate","dec","decimal","decfloat","declare","default","define","delete","dense_rank","deref","describe","deterministic","disconnect","distinct","double","drop","dynamic","each","element","else","empty","end","end_frame","end_partition","end-exec","equals","escape","every","except","exec","execute","exists","exp","external","extract","false","fetch","filter","first_value","float","floor","for","foreign","frame_row","free","from","full","function","fusion","get","global","grant","group","grouping","groups","having","hold","hour","identity","in","indicator","initial","inner","inout","insensitive","insert","int","integer","intersect","intersection","interval","into","is","join","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","language","large","last_value","lateral","lead","leading","left","like","like_regex","listagg","ln","local","localtime","localtimestamp","log","log10","lower","match","match_number","match_recognize","matches","max","member","merge","method","min","minute","mod","modifies","module","month","multiset","national","natural","nchar","nclob","new","no","none","normalize","not","nth_value","ntile","null","nullif","numeric","octet_length","occurrences_regex","of","offset","old","omit","on","one","only","open","or","order","out","outer","over","overlaps","overlay","parameter","partition","pattern","per","percent","percent_rank","percentile_cont","percentile_disc","period","portion","position","position_regex","power","precedes","precision","prepare","primary","procedure","ptf","range","rank","reads","real","recursive","ref","references","referencing","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","release","result","return","returns","revoke","right","rollback","rollup","row","row_number","rows","running","savepoint","scope","scroll","search","second","seek","select","sensitive","session_user","set","show","similar","sin","sinh","skip","smallint","some","specific","specifictype","sql","sqlexception","sqlstate","sqlwarning","sqrt","start","static","stddev_pop","stddev_samp","submultiset","subset","substring","substring_regex","succeeds","sum","symmetric","system","system_time","system_user","table","tablesample","tan","tanh","then","time","timestamp","timezone_hour","timezone_minute","to","trailing","translate","translate_regex","translation","treat","trigger","trim","trim_array","true","truncate","uescape","union","unique","unknown","unnest","update","upper","user","using","value","values","value_of","var_pop","var_samp","varbinary","varchar","varying","versioning","when","whenever","where","width_bucket","window","with","within","without","year"],d=["abs","acos","array_agg","asin","atan","avg","cast","ceil","ceiling","coalesce","corr","cos","cosh","count","covar_pop","covar_samp","cume_dist","dense_rank","deref","element","exp","extract","first_value","floor","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","last_value","lead","listagg","ln","log","log10","lower","max","min","mod","nth_value","ntile","nullif","percent_rank","percentile_cont","percentile_disc","position","position_regex","power","rank","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","row_number","sin","sinh","sqrt","stddev_pop","stddev_samp","substring","substring_regex","sum","tan","tanh","translate","translate_regex","treat","trim","trim_array","unnest","upper","value_of","var_pop","var_samp","width_bucket"],g=["current_catalog","current_date","current_default_transform_group","current_path","current_role","current_schema","current_transform_group_for_type","current_user","session_user","system_time","system_user","current_time","localtime","current_timestamp","localtimestamp"],p=["create table","insert into","primary key","foreign key","not null","alter table","add constraint","grouping sets","on overflow","character set","respect nulls","ignore nulls","nulls first","nulls last","depth first","breadth first"],b=d,f=[...l,...c].filter(k=>!d.includes(k)),h={scope:"variable",match:/@[a-z0-9][a-z0-9_]*/},_={scope:"operator",match:/[-+*/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?/,relevance:0},m={match:n.concat(/\b/,n.either(...b),/\s*\(/),relevance:0,keywords:{built_in:b}};function w(k){return n.concat(/\b/,n.either(...k.map(D=>D.replace(/\s+/,"\\s+"))),/\b/)}const y={scope:"keyword",match:w(p),relevance:0};function x(k,{exceptions:D,when:A}={}){const N=A;return D=D||[],k.map(R=>R.match(/\|\d+$/)||D.includes(R)?R:N(R)?`${R}|0`:R)}return{name:"SQL",case_insensitive:!0,illegal:/[{}]|<\//,keywords:{$pattern:/\b[\w\.]+/,keyword:x(f,{when:k=>k.length<3}),literal:a,type:o,built_in:g},contains:[{scope:"type",match:w(s)},y,m,h,r,u,t.C_NUMBER_MODE,t.C_BLOCK_COMMENT_MODE,i,_]}}return wi=e,wi}var ki,xa;function Kf(){if(xa)return ki;xa=1;function e(A){return A?typeof A=="string"?A:A.source:null}function t(A){return n("(?=",A,")")}function n(...A){return A.map(R=>e(R)).join("")}function i(A){const N=A[A.length-1];return typeof N=="object"&&N.constructor===Object?(A.splice(A.length-1,1),N):{}}function r(...A){return"("+(i(A).capture?"":"?:")+A.map(O=>e(O)).join("|")+")"}const u=A=>n(/\b/,A,/\w$/.test(A)?/\b/:/\B/),a=["Protocol","Type"].map(u),s=["init","self"].map(u),o=["Any","Self"],c=["actor","any","associatedtype","async","await",/as\?/,/as!/,"as","borrowing","break","case","catch","class","consume","consuming","continue","convenience","copy","default","defer","deinit","didSet","distributed","do","dynamic","each","else","enum","extension","fallthrough",/fileprivate\(set\)/,"fileprivate","final","for","func","get","guard","if","import","indirect","infix",/init\?/,/init!/,"inout",/internal\(set\)/,"internal","in","is","isolated","nonisolated","lazy","let","macro","mutating","nonmutating",/open\(set\)/,"open","operator","optional","override","package","postfix","precedencegroup","prefix",/private\(set\)/,"private","protocol",/public\(set\)/,"public","repeat","required","rethrows","return","set","some","static","struct","subscript","super","switch","throws","throw",/try\?/,/try!/,"try","typealias",/unowned\(safe\)/,/unowned\(unsafe\)/,"unowned","var","weak","where","while","willSet"],l=["false","nil","true"],d=["assignment","associativity","higherThan","left","lowerThan","none","right"],g=["#colorLiteral","#column","#dsohandle","#else","#elseif","#endif","#error","#file","#fileID","#fileLiteral","#filePath","#function","#if","#imageLiteral","#keyPath","#line","#selector","#sourceLocation","#warning"],p=["abs","all","any","assert","assertionFailure","debugPrint","dump","fatalError","getVaList","isKnownUniquelyReferenced","max","min","numericCast","pointwiseMax","pointwiseMin","precondition","preconditionFailure","print","readLine","repeatElement","sequence","stride","swap","swift_unboxFromSwiftValueWithType","transcode","type","unsafeBitCast","unsafeDowncast","withExtendedLifetime","withUnsafeMutablePointer","withUnsafePointer","withVaList","withoutActuallyEscaping","zip"],b=r(/[/=\-+!*%<>&|^~?]/,/[\u00A1-\u00A7]/,/[\u00A9\u00AB]/,/[\u00AC\u00AE]/,/[\u00B0\u00B1]/,/[\u00B6\u00BB\u00BF\u00D7\u00F7]/,/[\u2016-\u2017]/,/[\u2020-\u2027]/,/[\u2030-\u203E]/,/[\u2041-\u2053]/,/[\u2055-\u205E]/,/[\u2190-\u23FF]/,/[\u2500-\u2775]/,/[\u2794-\u2BFF]/,/[\u2E00-\u2E7F]/,/[\u3001-\u3003]/,/[\u3008-\u3020]/,/[\u3030]/),f=r(b,/[\u0300-\u036F]/,/[\u1DC0-\u1DFF]/,/[\u20D0-\u20FF]/,/[\uFE00-\uFE0F]/,/[\uFE20-\uFE2F]/),h=n(b,f,"*"),_=r(/[a-zA-Z_]/,/[\u00A8\u00AA\u00AD\u00AF\u00B2-\u00B5\u00B7-\u00BA]/,/[\u00BC-\u00BE\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF]/,/[\u0100-\u02FF\u0370-\u167F\u1681-\u180D\u180F-\u1DBF]/,/[\u1E00-\u1FFF]/,/[\u200B-\u200D\u202A-\u202E\u203F-\u2040\u2054\u2060-\u206F]/,/[\u2070-\u20CF\u2100-\u218F\u2460-\u24FF\u2776-\u2793]/,/[\u2C00-\u2DFF\u2E80-\u2FFF]/,/[\u3004-\u3007\u3021-\u302F\u3031-\u303F\u3040-\uD7FF]/,/[\uF900-\uFD3D\uFD40-\uFDCF\uFDF0-\uFE1F\uFE30-\uFE44]/,/[\uFE47-\uFEFE\uFF00-\uFFFD]/),m=r(_,/\d/,/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]/),w=n(_,m,"*"),y=n(/[A-Z]/,m,"*"),x=["attached","autoclosure",n(/convention\(/,r("swift","block","c"),/\)/),"discardableResult","dynamicCallable","dynamicMemberLookup","escaping","freestanding","frozen","GKInspectable","IBAction","IBDesignable","IBInspectable","IBOutlet","IBSegueAction","inlinable","main","nonobjc","NSApplicationMain","NSCopying","NSManaged",n(/objc\(/,w,/\)/),"objc","objcMembers","propertyWrapper","requires_stored_property_inits","resultBuilder","Sendable","testable","UIApplicationMain","unchecked","unknown","usableFromInline","warn_unqualified_access"],k=["iOS","iOSApplicationExtension","macOS","macOSApplicationExtension","macCatalyst","macCatalystApplicationExtension","watchOS","watchOSApplicationExtension","tvOS","tvOSApplicationExtension","swift"];function D(A){const N={match:/\s+/,relevance:0},R=A.COMMENT("/\\*","\\*/",{contains:["self"]}),O=[A.C_LINE_COMMENT_MODE,R],q={match:[/\./,r(...a,...s)],className:{2:"keyword"}},K={match:n(/\./,r(...c)),relevance:0},F=c.filter(Te=>typeof Te=="string").concat(["_|0"]),L=c.filter(Te=>typeof Te!="string").concat(o).map(u),W={variants:[{className:"keyword",match:r(...L,...s)}]},P={$pattern:r(/\b\w+/,/#\w+/),keyword:F.concat(g),literal:l},j=[q,K,W],$={match:n(/\./,r(...p)),relevance:0},B={className:"built_in",match:n(/\b/,r(...p),/(?=\()/)},Z=[$,B],M={match:/->/,relevance:0},Ee={className:"operator",relevance:0,variants:[{match:h},{match:`\\.(\\.|${f})+`}]},Se=[M,Ee],fe="([0-9]_*)+",Le="([0-9a-fA-F]_*)+",I={className:"number",relevance:0,variants:[{match:`\\b(${fe})(\\.(${fe}))?([eE][+-]?(${fe}))?\\b`},{match:`\\b0x(${Le})(\\.(${Le}))?([pP][+-]?(${fe}))?\\b`},{match:/\b0o([0-7]_*)+\b/},{match:/\b0b([01]_*)+\b/}]},te=(Te="")=>({className:"subst",variants:[{match:n(/\\/,Te,/[0\\tnr"']/)},{match:n(/\\/,Te,/u\{[0-9a-fA-F]{1,8}\}/)}]}),X=(Te="")=>({className:"subst",match:n(/\\/,Te,/[\t ]*(?:[\r\n]|\r\n)/)}),ge=(Te="")=>({className:"subst",label:"interpol",begin:n(/\\/,Te,/\(/),end:/\)/}),he=(Te="")=>({begin:n(Te,/"""/),end:n(/"""/,Te),contains:[te(Te),X(Te),ge(Te)]}),Re=(Te="")=>({begin:n(Te,/"/),end:n(/"/,Te),contains:[te(Te),ge(Te)]}),ye={className:"string",variants:[he(),he("#"),he("##"),he("###"),Re(),Re("#"),Re("##"),Re("###")]},Qe=[A.BACKSLASH_ESCAPE,{begin:/\[/,end:/\]/,relevance:0,contains:[A.BACKSLASH_ESCAPE]}],lt={begin:/\/[^\s](?=[^/\n]*\/)/,end:/\//,contains:Qe},Je=Te=>{const Ut=n(Te,/\//),xe=n(/\//,Te);return{begin:Ut,end:xe,contains:[...Qe,{scope:"comment",begin:`#(?!.*${xe})`,end:/$/}]}},Kt={scope:"regexp",variants:[Je("###"),Je("##"),Je("#"),lt]},wt={match:n(/`/,w,/`/)},kt={className:"variable",match:/\$\d+/},Wt={className:"variable",match:`\\$${m}+`},Y=[wt,kt,Wt],ue={match:/(@|#(un)?)available/,scope:"keyword",starts:{contains:[{begin:/\(/,end:/\)/,keywords:k,contains:[...Se,I,ye]}]}},ae={scope:"keyword",match:n(/@/,r(...x),t(r(/\(/,/\s+/)))},H={scope:"meta",match:n(/@/,w)},be=[ue,ae,H],se={match:t(/\b[A-Z]/),relevance:0,contains:[{className:"type",match:n(/(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)/,m,"+")},{className:"type",match:y,relevance:0},{match:/[?!]+/,relevance:0},{match:/\.\.\./,relevance:0},{match:n(/\s+&\s+/,t(y)),relevance:0}]},Ne={begin:/</,end:/>/,keywords:P,contains:[...O,...j,...be,M,se]};se.contains.push(Ne);const Ke={match:n(w,/\s*:/),keywords:"_|0",relevance:0},qe={begin:/\(/,end:/\)/,relevance:0,keywords:P,contains:["self",Ke,...O,Kt,...j,...Z,...Se,I,ye,...Y,...be,se]},Oe={begin:/</,end:/>/,keywords:"repeat each",contains:[...O,se]},je={begin:r(t(n(w,/\s*:/)),t(n(w,/\s+/,w,/\s*:/))),end:/:/,relevance:0,contains:[{className:"keyword",match:/\b_\b/},{className:"params",match:w}]},bt={begin:/\(/,end:/\)/,keywords:P,contains:[je,...O,...j,...Se,I,ye,...be,se,qe],endsParent:!0,illegal:/["']/},Ft={match:[/(func|macro)/,/\s+/,r(wt.match,w,h)],className:{1:"keyword",3:"title.function"},contains:[Oe,bt,N],illegal:[/\[/,/%/]},At={match:[/\b(?:subscript|init[?!]?)/,/\s*(?=[<(])/],className:{1:"keyword"},contains:[Oe,bt,N],illegal:/\[|%/},_t={match:[/operator/,/\s+/,h],className:{1:"keyword",3:"title"}},Pt={begin:[/precedencegroup/,/\s+/,y],className:{1:"keyword",3:"title"},contains:[se],keywords:[...d,...l],end:/}/},Ct={match:[/class\b/,/\s+/,/func\b/,/\s+/,/\b[A-Za-z_][A-Za-z0-9_]*\b/],scope:{1:"keyword",3:"keyword",5:"title.function"}},Bt={match:[/class\b/,/\s+/,/var\b/],scope:{1:"keyword",3:"keyword"}},jt={begin:[/(struct|protocol|class|extension|enum|actor)/,/\s+/,w,/\s*/],beginScope:{1:"keyword",3:"title.class"},keywords:P,contains:[Oe,...j,{begin:/:/,end:/\{/,keywords:P,contains:[{scope:"title.class.inherited",match:y},...j],relevance:0}]};for(const Te of ye.variants){const Ut=Te.contains.find(me=>me.label==="interpol");Ut.keywords=P;const xe=[...j,...Z,...Se,I,ye,...Y];Ut.contains=[...xe,{begin:/\(/,end:/\)/,contains:["self",...xe]}]}return{name:"Swift",keywords:P,contains:[...O,Ft,At,Ct,Bt,jt,_t,Pt,{beginKeywords:"import",end:/$/,contains:[...O],relevance:0},Kt,...j,...Z,...Se,I,ye,...Y,...be,se,qe]}}return ki=D,ki}var Ai,ya;function Wf(){if(ya)return Ai;ya=1;function e(t){const n="true false yes no null",i="[\\w#;/?:@&=+$,.~*'()[\\]]+",r={className:"attr",variants:[{begin:/[\w*@][\w*@ :()\./-]*:(?=[ \t]|$)/},{begin:/"[\w*@][\w*@ :()\./-]*":(?=[ \t]|$)/},{begin:/'[\w*@][\w*@ :()\./-]*':(?=[ \t]|$)/}]},u={className:"template-variable",variants:[{begin:/\{\{/,end:/\}\}/},{begin:/%\{/,end:/\}/}]},a={className:"string",relevance:0,begin:/'/,end:/'/,contains:[{match:/''/,scope:"char.escape",relevance:0}]},s={className:"string",relevance:0,variants:[{begin:/"/,end:/"/},{begin:/\S+/}],contains:[t.BACKSLASH_ESCAPE,u]},o=t.inherit(s,{variants:[{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]},{begin:/"/,end:/"/},{begin:/[^\s,{}[\]]+/}]}),p={className:"number",begin:"\\b"+"[0-9]{4}(-[0-9][0-9]){0,2}"+"([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?"+"(\\.[0-9]*)?"+"([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?"+"\\b"},b={end:",",endsWithParent:!0,excludeEnd:!0,keywords:n,relevance:0},f={begin:/\{/,end:/\}/,contains:[b],illegal:"\\n",relevance:0},h={begin:"\\[",end:"\\]",contains:[b],illegal:"\\n",relevance:0},_=[r,{className:"meta",begin:"^---\\s*$",relevance:10},{className:"string",begin:"[\\|>]([1-9]?[+-])?[ ]*\\n( +)[^ ][^\\n]*\\n(\\2[^\\n]+\\n?)*"},{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:"!\\w+!"+i},{className:"type",begin:"!<"+i+">"},{className:"type",begin:"!"+i},{className:"type",begin:"!!"+i},{className:"meta",begin:"&"+t.UNDERSCORE_IDENT_RE+"$"},{className:"meta",begin:"\\*"+t.UNDERSCORE_IDENT_RE+"$"},{className:"bullet",begin:"-(?=[ ]|$)",relevance:0},t.HASH_COMMENT_MODE,{beginKeywords:n,keywords:{literal:n}},p,{className:"number",begin:t.C_NUMBER_RE+"\\b",relevance:0},f,h,a,s],m=[..._];return m.pop(),m.push(o),b.contains=m,{name:"YAML",case_insensitive:!0,aliases:["yml"],contains:_}}return Ai=e,Ai}var Ci,va;function jf(){if(va)return Ci;va=1;const e="[A-Za-z$_][0-9A-Za-z$_]*",t=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends","using"],n=["true","false","null","undefined","NaN","Infinity"],i=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],r=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],u=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],a=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],s=[].concat(u,i,r);function o(l){const d=l.regex,g=(te,{after:X})=>{const ge="</"+te[0].slice(1);return te.input.indexOf(ge,X)!==-1},p=e,b={begin:"<>",end:"</>"},f=/<[A-Za-z0-9\\._:-]+\s*\/>/,h={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(te,X)=>{const ge=te[0].length+te.index,he=te.input[ge];if(he==="<"||he===","){X.ignoreMatch();return}he===">"&&(g(te,{after:ge})||X.ignoreMatch());let Re;const ye=te.input.substring(ge);if(Re=ye.match(/^\s*=/)){X.ignoreMatch();return}if((Re=ye.match(/^\s+extends\s+/))&&Re.index===0){X.ignoreMatch();return}}},_={$pattern:e,keyword:t,literal:n,built_in:s,"variable.language":a},m="[0-9](_?[0-9])*",w=`\\.(${m})`,y="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",x={className:"number",variants:[{begin:`(\\b(${y})((${w})|\\.)?|(${w}))[eE][+-]?(${m})\\b`},{begin:`\\b(${y})\\b((${w})\\b|\\.)?|(${w})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},k={className:"subst",begin:"\\$\\{",end:"\\}",keywords:_,contains:[]},D={begin:".?html`",end:"",starts:{end:"`",returnEnd:!1,contains:[l.BACKSLASH_ESCAPE,k],subLanguage:"xml"}},A={begin:".?css`",end:"",starts:{end:"`",returnEnd:!1,contains:[l.BACKSLASH_ESCAPE,k],subLanguage:"css"}},N={begin:".?gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[l.BACKSLASH_ESCAPE,k],subLanguage:"graphql"}},R={className:"string",begin:"`",end:"`",contains:[l.BACKSLASH_ESCAPE,k]},q={className:"comment",variants:[l.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:p+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),l.C_BLOCK_COMMENT_MODE,l.C_LINE_COMMENT_MODE]},K=[l.APOS_STRING_MODE,l.QUOTE_STRING_MODE,D,A,N,R,{match:/\$\d+/},x];k.contains=K.concat({begin:/\{/,end:/\}/,keywords:_,contains:["self"].concat(K)});const F=[].concat(q,k.contains),L=F.concat([{begin:/(\s*)\(/,end:/\)/,keywords:_,contains:["self"].concat(F)}]),W={className:"params",begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:_,contains:L},P={variants:[{match:[/class/,/\s+/,p,/\s+/,/extends/,/\s+/,d.concat(p,"(",d.concat(/\./,p),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,p],scope:{1:"keyword",3:"title.class"}}]},j={relevance:0,match:d.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...i,...r]}},$={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},B={variants:[{match:[/function/,/\s+/,p,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[W],illegal:/%/},Z={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function M(te){return d.concat("(?!",te.join("|"),")")}const Ee={match:d.concat(/\b/,M([...u,"super","import"].map(te=>`${te}\\s*\\(`)),p,d.lookahead(/\s*\(/)),className:"title.function",relevance:0},Se={begin:d.concat(/\./,d.lookahead(d.concat(p,/(?![0-9A-Za-z$_(])/))),end:p,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},fe={match:[/get|set/,/\s+/,p,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},W]},Le="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+l.UNDERSCORE_IDENT_RE+")\\s*=>",I={match:[/const|var|let/,/\s+/,p,/\s*/,/=\s*/,/(async\s*)?/,d.lookahead(Le)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[W]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:_,exports:{PARAMS_CONTAINS:L,CLASS_REFERENCE:j},illegal:/#(?![$_A-z])/,contains:[l.SHEBANG({label:"shebang",binary:"node",relevance:5}),$,l.APOS_STRING_MODE,l.QUOTE_STRING_MODE,D,A,N,R,q,{match:/\$\d+/},x,j,{scope:"attr",match:p+d.lookahead(":"),relevance:0},I,{begin:"("+l.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[q,l.REGEXP_MODE,{className:"function",begin:Le,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:l.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:_,contains:L}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:b.begin,end:b.end},{match:f},{begin:h.begin,"on:begin":h.isTrulyOpeningTag,end:h.end}],subLanguage:"xml",contains:[{begin:h.begin,end:h.end,skip:!0,contains:["self"]}]}]},B,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+l.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[W,l.inherit(l.TITLE_MODE,{begin:p,className:"title.function"})]},{match:/\.\.\./,relevance:0},Se,{match:"\\$"+p,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[W]},Ee,Z,P,fe,{match:/\$[(.]/}]}}function c(l){const d=l.regex,g=o(l),p=e,b=["any","void","number","boolean","string","object","never","symbol","bigint","unknown"],f={begin:[/namespace/,/\s+/,l.IDENT_RE],beginScope:{1:"keyword",3:"title.class"}},h={beginKeywords:"interface",end:/\{/,excludeEnd:!0,keywords:{keyword:"interface extends",built_in:b},contains:[g.exports.CLASS_REFERENCE]},_={className:"meta",relevance:10,begin:/^\s*['"]use strict['"]/},m=["type","interface","public","private","protected","implements","declare","abstract","readonly","enum","override","satisfies"],w={$pattern:e,keyword:t.concat(m),literal:n,built_in:s.concat(b),"variable.language":a},y={className:"meta",begin:"@"+p},x=(N,R,O)=>{const q=N.contains.findIndex(K=>K.label===R);if(q===-1)throw new Error("can not find mode to replace");N.contains.splice(q,1,O)};Object.assign(g.keywords,w),g.exports.PARAMS_CONTAINS.push(y);const k=g.contains.find(N=>N.scope==="attr"),D=Object.assign({},k,{match:d.concat(p,d.lookahead(/\s*\?:/))});g.exports.PARAMS_CONTAINS.push([g.exports.CLASS_REFERENCE,k,D]),g.contains=g.contains.concat([y,f,h,D]),x(g,"shebang",l.SHEBANG()),x(g,"use_strict",_);const A=g.contains.find(N=>N.label==="func.def");return A.relevance=0,Object.assign(g,{name:"TypeScript",aliases:["ts","tsx","mts","cts"]}),g}return Ci=c,Ci}var Si,wa;function Zf(){if(wa)return Si;wa=1;function e(t){const n=t.regex,i={className:"string",begin:/"(""|[^/n])"C\b/},r={className:"string",begin:/"/,end:/"/,illegal:/\n/,contains:[{begin:/""/}]},u=/\d{1,2}\/\d{1,2}\/\d{4}/,a=/\d{4}-\d{1,2}-\d{1,2}/,s=/(\d|1[012])(:\d+){0,2} *(AM|PM)/,o=/\d{1,2}(:\d{1,2}){1,2}/,c={className:"literal",variants:[{begin:n.concat(/# */,n.either(a,u),/ *#/)},{begin:n.concat(/# */,o,/ *#/)},{begin:n.concat(/# */,s,/ *#/)},{begin:n.concat(/# */,n.either(a,u),/ +/,n.either(s,o),/ *#/)}]},l={className:"number",relevance:0,variants:[{begin:/\b\d[\d_]*((\.[\d_]+(E[+-]?[\d_]+)?)|(E[+-]?[\d_]+))[RFD@!#]?/},{begin:/\b\d[\d_]*((U?[SIL])|[%&])?/},{begin:/&H[\dA-F_]+((U?[SIL])|[%&])?/},{begin:/&O[0-7_]+((U?[SIL])|[%&])?/},{begin:/&B[01_]+((U?[SIL])|[%&])?/}]},d={className:"label",begin:/^\w+:/},g=t.COMMENT(/'''/,/$/,{contains:[{className:"doctag",begin:/<\/?/,end:/>/}]}),p=t.COMMENT(null,/$/,{variants:[{begin:/'/},{begin:/([\t ]|^)REM(?=\s)/}]});return{name:"Visual Basic .NET",aliases:["vb"],case_insensitive:!0,classNameAliases:{label:"symbol"},keywords:{keyword:"addhandler alias aggregate ansi as async assembly auto binary by byref byval call case catch class compare const continue custom declare default delegate dim distinct do each equals else elseif end enum erase error event exit explicit finally for friend from function get global goto group handles if implements imports in inherits interface into iterator join key let lib loop me mid module mustinherit mustoverride mybase myclass namespace narrowing new next notinheritable notoverridable of off on operator option optional order overloads overridable overrides paramarray partial preserve private property protected public raiseevent readonly redim removehandler resume return select set shadows shared skip static step stop structure strict sub synclock take text then throw to try unicode until using when where while widening with withevents writeonly yield",built_in:"addressof and andalso await directcast gettype getxmlnamespace is isfalse isnot istrue like mod nameof new not or orelse trycast typeof xor cbool cbyte cchar cdate cdbl cdec cint clng cobj csbyte cshort csng cstr cuint culng cushort",type:"boolean byte char date decimal double integer long object sbyte short single string uinteger ulong ushort",literal:"true false nothing"},illegal:"//|\\{|\\}|endif|gosub|variant|wend|^\\$ ",contains:[i,r,c,l,d,g,p,{className:"meta",begin:/[\t ]*#(const|disable|else|elseif|enable|end|externalsource|if|region)\b/,end:/$/,keywords:{keyword:"const disable else elseif enable end externalsource if region then"},contains:[p]}]}}return Si=e,Si}var Ni,ka;function Vf(){if(ka)return Ni;ka=1;function e(t){t.regex;const n=t.COMMENT(/\(;/,/;\)/);n.contains.push("self");const i=t.COMMENT(/;;/,/$/),r=["anyfunc","block","br","br_if","br_table","call","call_indirect","data","drop","elem","else","end","export","func","global.get","global.set","local.get","local.set","local.tee","get_global","get_local","global","if","import","local","loop","memory","memory.grow","memory.size","module","mut","nop","offset","param","result","return","select","set_global","set_local","start","table","tee_local","then","type","unreachable"],u={begin:[/(?:func|call|call_indirect)/,/\s+/,/\$[^\s)]+/],className:{1:"keyword",3:"title.function"}},a={className:"variable",begin:/\$[\w_]+/},s={match:/(\((?!;)|\))+/,className:"punctuation",relevance:0},o={className:"number",relevance:0,match:/[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/},c={match:/(i32|i64|f32|f64)(?!\.)/,className:"type"},l={className:"keyword",match:/\b(f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|nearest|neg?|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|store(?:8|16|32)?|sqrt|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))\b/};return{name:"WebAssembly",keywords:{$pattern:/[\w.]+/,keyword:r},contains:[i,n,{match:[/(?:offset|align)/,/\s*/,/=/],className:{1:"keyword",3:"operator"}},a,s,u,t.QUOTE_STRING_MODE,c,l,o]}}return Ni=e,Ni}var Ti,Aa;function Yf(){if(Aa)return Ti;Aa=1;var e=pf();return e.registerLanguage("xml",bf()),e.registerLanguage("bash",gf()),e.registerLanguage("c",hf()),e.registerLanguage("cpp",mf()),e.registerLanguage("csharp",_f()),e.registerLanguage("css",Ef()),e.registerLanguage("markdown",xf()),e.registerLanguage("diff",yf()),e.registerLanguage("ruby",vf()),e.registerLanguage("go",wf()),e.registerLanguage("graphql",kf()),e.registerLanguage("ini",Af()),e.registerLanguage("java",Cf()),e.registerLanguage("javascript",Sf()),e.registerLanguage("json",Nf()),e.registerLanguage("kotlin",Tf()),e.registerLanguage("less",Df()),e.registerLanguage("lua",Rf()),e.registerLanguage("makefile",Of()),e.registerLanguage("perl",If()),e.registerLanguage("objectivec",$f()),e.registerLanguage("php",Mf()),e.registerLanguage("php-template",Lf()),e.registerLanguage("plaintext",Ff()),e.registerLanguage("python",Pf()),e.registerLanguage("python-repl",Bf()),e.registerLanguage("r",Uf()),e.registerLanguage("rust",zf()),e.registerLanguage("scss",qf()),e.registerLanguage("shell",Hf()),e.registerLanguage("sql",Gf()),e.registerLanguage("swift",Kf()),e.registerLanguage("yaml",Wf()),e.registerLanguage("typescript",jf()),e.registerLanguage("vbnet",Zf()),e.registerLanguage("wasm",Vf()),e.HighlightJS=e,e.default=e,Ti=e,Ti}var Xf=Yf();const Ca=Is(Xf),mt=new ht({html:!0,linkify:!0,breaks:!1,highlight(e,t){if(t&&Ca.getLanguage(t))try{const n=Ca.highlight(e,{language:t}).value;return`<pre><code class="hljs language-${t}">${n}</code></pre>`}catch{}return""}}),Qf=/^<\/?(?:details|summary)>$/i,Jf=/^<details\s+open\s*>$/i,ep=/^<input class="task-list-item-checkbox"(?: checked="")? disabled="" type="checkbox">$/;function tp(e){return Qf.test(e)||Jf.test(e)||ep.test(e)}function $s(e){const t=mt.utils.escapeHtml;let n="",i=0;const r=/<[^>]*>/g;let u;for(;(u=r.exec(e))!==null;){n+=t(e.slice(i,u.index));const a=u[0];n+=tp(a)?a:t(a),i=u.index+a.length}return n+=t(e.slice(i)),n}mt.renderer.rules.html_block=(e,t)=>$s(e[t].content);mt.renderer.rules.html_inline=(e,t)=>$s(e[t].content);const np=mt.renderer.rules.image??((e,t,n,i,r)=>r.renderToken(e,t,n)),rp=mt.renderer.rules.link_open??((e,t,n,i,r)=>r.renderToken(e,t,n)),ip=mt.renderer.rules.fence??((e,t,n,i,r)=>r.renderToken(e,t,n));function Ms(e,t,n){if(!e||/^([a-z]+:)?\/\//i.test(e)||e.startsWith("/")||e.startsWith("#"))return e;const i=e.match(/^attachments\/(.+)$/);return!i||!n?e:`/api/projects/${encodeURIComponent(n)}/specs/${encodeURIComponent(t)}/attachments/${encodeURIComponent(i[1])}`}mt.renderer.rules.image=function(e,t,n,i,r){const u=i,a=u?.specId;if(a){const o=e[t].attrs?.find(([c])=>c==="src");o&&(o[1]=Ms(o[1],a,u?.projectId))}return np(e,t,n,i,r)};mt.renderer.rules.link_open=function(e,t,n,i,r){const u=i,a=u?.specId;if(a){const s=e[t],o=s.attrs?.find(([c])=>c==="href");if(o){const c=Ms(o[1],a,u?.projectId);if(c!==o[1]){o[1]=c;const l=s.attrs?.find(([d])=>d==="target");l?l[1]="_blank":s.attrs?.push(["target","_blank"]),s.attrs?.push(["rel","noopener noreferrer"])}}}return rp(e,t,n,i,r)};mt.renderer.rules.fence=function(e,t,n,i,r){const u=e[t];if(u.info.trim()==="mermaid"){const s=u.content;return`<div class="mermaid" data-mermaid-source="${s.replace(/"/g,""").replace(/</g,"<").replace(/>/g,">")}">${s}</div>`}return ip(e,t,n,i,r)};mt.use(ff,{enabled:!1,label:!1});function Ls(e,t={}){if(!t.specId)return mt.render(e,{});const n={specId:t.specId};return t.projectId&&(n.projectId=t.projectId),mt.render(e,n)}const up="modulepreload",ap=function(e){return"/"+e},Sa={},sp=function(t,n,i){let r=Promise.resolve();if(n&&n.length>0){let a=function(c){return Promise.all(c.map(l=>Promise.resolve(l).then(d=>({status:"fulfilled",value:d}),d=>({status:"rejected",reason:d}))))};document.getElementsByTagName("link");const s=document.querySelector("meta[property=csp-nonce]"),o=s?.nonce||s?.getAttribute("nonce");r=a(n.map(c=>{if(c=ap(c),c in Sa)return;Sa[c]=!0;const l=c.endsWith(".css"),d=l?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${c}"]${d}`))return;const g=document.createElement("link");if(g.rel=l?"stylesheet":up,l||(g.as="script"),g.crossOrigin="",g.href=c,o&&g.setAttribute("nonce",o),document.head.appendChild(g),l)return new Promise((p,b)=>{g.addEventListener("load",p),g.addEventListener("error",()=>b(new Error(`Unable to preload CSS for ${c}`)))})}))}function u(a){const s=new Event("vite:preloadError",{cancelable:!0});if(s.payload=a,window.dispatchEvent(s),!s.defaultPrevented)throw a}return r.then(a=>{for(const s of a||[])s.status==="rejected"&&u(s.reason);return t().catch(u)})};let Di=null;async function op(){return Di||(Di=sp(()=>import("./mermaid.core-1Uynhu-S.js").then(e=>e.bp),[]).then(e=>e.default)),Di}function cp(){return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"default"}async function lp(e){const t=e.querySelectorAll(".mermaid");if(t.length===0)return()=>{};const n=await op();async function i(){const u=cp();n.initialize({startOnLoad:!1,theme:u}),t.forEach(a=>{const s=a.getAttribute("data-mermaid-source");s&&(a.removeAttribute("data-processed"),a.textContent=s)});try{await n.run({nodes:Array.from(t)})}catch(a){console.error("[mermaid] render error:",a)}}i();const r=window.matchMedia("(prefers-color-scheme: dark)");return r.addEventListener("change",i),()=>{r.removeEventListener("change",i)}}function dp(e,t){let n=e;for(;n&&n!==t;){if(n.nodeType===1){const r=n.tagName;if(r==="H2"||r==="H3")return n}let i=n.previousSibling;if(!i){n=n.parentNode;continue}for(;i?.lastChild;)i=i.lastChild;n=i}return null}function fp(e,t){return t.contains(e.startContainer)&&t.contains(e.endContainer)&&t.contains(e.commonAncestorContainer)}function pp(e,t,n={}){const i=n.throttleMs??50;let r,u="";const a=()=>{window.clearTimeout(r),r=window.setTimeout(()=>{const s=window.getSelection();if(!s||s.rangeCount===0||s.isCollapsed){u!==""&&(u="",t(null));return}const o=s.getRangeAt(0);if(!fp(o,e)){u!==""&&(u="",t(null));return}const c=s.toString();if(!c.trim()){u!==""&&(u="",t(null));return}const l=o.getBoundingClientRect(),d=dp(o.startContainer,e),g=d&&d.textContent?.trim()||"(无章节)";u=c,t({text:c,rect:l,sectionPath:g})},i)};return document.addEventListener("selectionchange",a),()=>{document.removeEventListener("selectionchange",a),window.clearTimeout(r)}}const bp=/^##\s+(?:\d+(?:\.\d+)*\.?\s+)?待确认问题\s*$/,Na=/^##\s+/,Fs=/^###\s+(?:\d+(?:\.\d+)*\s+)?(.+\S)\s*$/,gp=/^\d+\.\s+(.*\S)\s*$/,hp=/^\s*$/,Ta=/\s*[((]推荐[))]\s*$/,Da=/\s*(自由文本)\s*$/;function mp(e){const t=e.split(`
|
|
21
|
-
`);let n=0;for(;n<t.length&&!bp.test(t[n]);)n+=1;if(n>=t.length)return[];n+=1;const i=[];for(;n<t.length;){const r=t[n];if(Na.test(r))break;const u=_p(r);if(!u){n+=1;continue}const a=Da.test(u),s=a?u.replace(Da,"").trim():u,o=[];let c=0;for(n+=1;n<t.length;){const l=t[n];if(hp.test(l)){n+=1;continue}if(Na.test(l)||Fs.test(l))break;const d=Ep(l);if(d===null){n+=1;continue}const g=Ta.test(d),p=g?d.replace(Ta,"").trim():d.trim();p&&(g&&(c+=1),o.push({id:yp(i.length,o.length,p),label:p,recommended:g&&c===1})),n+=1}c>=2&&console.warn(`[question-parse] 问题 "${s}" 含 ${c} 个 (推荐),已保留首个,其余降级`),i.push({id:xp(i.length,s),text:s,options:o,isFreeform:a||o.length===0})}return i}function _p(e){const t=Fs.exec(e);return t?t[1]:null}function Ep(e){const t=gp.exec(e);return t?t[1]:null}function xp(e,t){return`q-${e}-${Ps(t)}`}function yp(e,t,n){return`q-${e}-o-${t}-${Ps(n)}`}function Ps(e){let t=0;for(let n=0;n<e.length;n+=1)t=t*31+e.charCodeAt(n)|0;return(t>>>0).toString(36)}var vp=T("<div class=selection-menu><button type=button>批注</button><button type=button>解释");const wp=36,kp=140,Ap=e=>{const t=()=>{const n=e.snap;if(!n)return{top:0,left:0,visible:!1};const i=n.rect.top-wp-8,r=n.rect.left,u=i<8?n.rect.bottom+8:i,a=Math.min(Math.max(8,r),window.innerWidth-kp-8);return{top:u,left:a,visible:!0}};return S(ee,{get when(){return e.snap},children:n=>{const i=t();return(()=>{var r=vp(),u=r.firstChild,a=u.nextSibling;return r.$$mousedown=s=>s.preventDefault(),u.$$click=()=>e.onAnnotate(n()),a.$$click=()=>e.onExplain(n()),re(s=>{var o=`${i.top}px`,c=`${i.left}px`;return o!==s.e&&fn(r,"top",s.e=o),c!==s.t&&fn(r,"left",s.t=c),s},{e:void 0,t:void 0}),r})()}})};ct(["mousedown","click"]);var Cp=T("<div class=annotate-popover style=width:500px><header><strong>批注</strong></header><blockquote class=quote><em></em> 中 “<!>”</blockquote><form><textarea rows=3 placeholder=写下你对这段文本的批注… autofocus></textarea><div class=actions><button type=button>取消</button><button type=submit class=primary-action>"),Sp=T("<p class=error>");const Np=500,Yt=8,Tp=e=>{const[t,n]=z(""),[i,r]=z(!1),[u,a]=z(null),[s,o]=z(0),c=()=>{const d=e.snap;if(!d)return{top:0,left:0};const g=s()||260,p=window.innerHeight,b=d.rect.bottom+Yt,f=d.rect.top-Yt-g;let h;b+g<=p-Yt?h=b:f>=Yt?h=f:h=Math.max(Yt,p-g-Yt);const _=Math.min(Math.max(Yt,d.rect.left),window.innerWidth-Np-Yt);return{top:h,left:_}};async function l(d){if(d.preventDefault(),!!t().trim()){r(!0),a(null);try{await e.onSubmit(t().trim()),n(""),e.onCancel()}catch(g){a(g.message)}finally{r(!1)}}}return S(ee,{get when(){return ze(()=>!!e.open)()&&e.snap},get children(){var d=Cp(),g=d.firstChild,p=g.nextSibling,b=p.firstChild,f=b.nextSibling,h=f.nextSibling;h.nextSibling;var _=p.nextSibling,m=_.firstChild,w=m.nextSibling,y=w.firstChild,x=y.nextSibling;return d.$$mousedown=k=>k.stopPropagation(),Ht(k=>{queueMicrotask(()=>{k.offsetHeight!==s()&&o(k.offsetHeight)})},d),v(b,()=>e.snap?.sectionPath),v(p,()=>(e.snap?.text??"").slice(0,200),h),_.addEventListener("submit",l),m.$$input=k=>n(k.currentTarget.value),v(_,(()=>{var k=ze(()=>!!u());return()=>k()&&(()=>{var D=Sp();return v(D,u),D})()})(),w),lr(y,"click",e.onCancel,!0),v(x,()=>i()?"提交中…":"提交批注"),re(k=>{var D=`${c().top}px`,A=`${c().left}px`,N=i();return D!==k.e&&fn(d,"top",k.e=D),A!==k.t&&fn(d,"left",k.t=A),N!==k.a&&(x.disabled=k.a=N),k},{e:void 0,t:void 0,a:void 0}),re(()=>m.value=t()),d}})};ct(["mousedown","input","click"]);var Dp=T("<div><span class=muted>引用章节:</span><code>"),Rp=T("<blockquote class=quote>"),Op=T("<div class=reference>"),Ip=T('<div class=append-dialog-backdrop><div class=append-dialog role=dialog aria-label=追加任务><header><strong>追加任务</strong><span class=muted>提交后将自动重开 plan 阶段,Agent 会续跑处理新增项</span></header><form><fieldset class=kind-group><legend>类型</legend></fieldset><label class=field><span>描述</span><textarea rows=5 placeholder="详细描述新增需求 / 重构意图 / 缺陷复现…"autofocus></textarea></label><div class=actions><button type=button>取消</button><button type=submit class=primary-action>'),$p=T("<label class=kind-option><input type=radio name=append-kind><span>"),Mp=T("<p class=error>");const Lp={feat:"feat 新增/扩展需求",refct:"refct 重构/重写/抽取",fix:"fix 修复缺陷"},Fp=e=>{const[t,n]=z("fix"),[i,r]=z(""),[u,a]=z(!1),[s,o]=z(null),[c,l]=z(null);it(()=>{if(!e.open){l(null);return}const b=e.anchorEl;if(!b)return;const f=b.getBoundingClientRect();l({top:f.bottom+8,left:f.right})}),it(()=>{if(!e.open)return;const b=f=>{f.key==="Escape"&&(f.preventDefault(),p())};window.addEventListener("keydown",b),st(()=>window.removeEventListener("keydown",b))});function d(){n("fix"),r(""),o(null)}async function g(b){b.preventDefault();const f=i().trim();if(!f){o("描述不能为空");return}a(!0),o(null);try{await e.onSubmit({kind:t(),description:f,sectionPath:e.sectionPath,quote:e.quote}),d(),e.onCancel()}catch(h){o(h.message)}finally{a(!1)}}function p(){e.onCancel()}return S(ee,{get when(){return e.open},get children(){var b=Ip(),f=b.firstChild,h=f.firstChild,_=h.nextSibling,m=_.firstChild;m.firstChild;var w=m.nextSibling,y=w.firstChild,x=y.nextSibling,k=w.nextSibling,D=k.firstChild,A=D.nextSibling;return b.$$mousedown=p,f.$$mousedown=N=>N.stopPropagation(),_.addEventListener("submit",g),v(m,()=>["feat","refct","fix"].map(N=>(()=>{var R=$p(),O=R.firstChild,q=O.nextSibling;return O.addEventListener("change",()=>n(N)),O.value=N,v(q,()=>Lp[N]),re(()=>O.disabled=u()),re(()=>O.checked=t()===N),R})()),null),x.$$input=N=>r(N.currentTarget.value),v(_,S(ee,{get when(){return e.sectionPath||e.quote},get children(){var N=Op();return v(N,S(ee,{get when(){return e.sectionPath},get children(){var R=Dp(),O=R.firstChild,q=O.nextSibling;return v(q,()=>e.sectionPath),R}}),null),v(N,S(ee,{get when(){return e.quote},get children(){var R=Rp();return v(R,()=>e.quote?.slice(0,200)),R}}),null),N}}),k),v(_,(()=>{var N=ze(()=>!!s());return()=>N()&&(()=>{var R=Mp();return v(R,s),R})()})(),k),D.$$click=p,v(A,()=>u()?"提交中…":"提交并触发 Agent"),re(N=>{var R=c()?{top:`${c().top}px`,right:`calc(100vw - ${c().left}px)`}:void 0,O=u(),q=u(),K=u();return N.e=Gi(f,R,N.e),O!==N.t&&(x.disabled=N.t=O),q!==N.a&&(D.disabled=N.a=q),K!==N.o&&(A.disabled=N.o=K),N},{e:void 0,t:void 0,a:void 0,o:void 0}),re(()=>x.value=i()),b}})};ct(["mousedown","input","click"]);const Pp="其他(自由批注)",Cn="__freeform__";function Bp(e,t){const n=(t.note??"").trim();if(e.isFreeform)return n?{questionId:e.id,questionText:e.text,note:n}:null;const i=t.selectedOptionLabel;return i===Cn?n?{questionId:e.id,questionText:e.text,note:n}:null:i?{questionId:e.id,questionText:e.text,selectedOptionLabel:i}:null}var Up=T('<p class="error qcp-error">'),zp=T("<aside class=question-confirm-panel data-testid=question-confirm-panel><header class=qcp-head><strong>待确认问题</strong><span class=muted>未答题 <span class=qcp-count></span> / </span><div class=qcp-head-actions><button type=button class=primary-action></button></div></header><ul class=qcp-list>"),qp=T('<ul class=qcp-options><li><label class="qcp-option qcp-option-freeform"><input type=radio><span>'),Hp=T("<textarea class=qcp-note rows=2 placeholder=写下你的答复…>"),Gp=T("<li class=qcp-card><p class=qcp-question>"),Kp=T("<em class=qcp-recommended> (推荐)"),Wp=T("<li><label class=qcp-option><input type=radio><span>"),jp=T('<li class="qcp-card qcp-card-freeform"><header class=qcp-card-head><strong>选区批注</strong><button type=button class=qcp-remove aria-label=移除>×</button></header><blockquote class=qcp-quote><em></em> 中 “<!>”</blockquote><p class=qcp-freeform-note>!!!');const Zp=e=>{const t=()=>{const g={};for(const p of e.questions){const b=p.options.find(f=>f.recommended);g[p.id]={selectedOptionLabel:b?.label??p.options[0]?.label,note:""}}return g},[n,i]=z(t()),[r,u]=z(!1),[a,s]=z(null);function o(g,p){i(b=>({...b,[g]:{...b[g],selectedOptionLabel:p}}))}function c(g,p){i(b=>({...b,[g]:{...b[g],note:p}}))}const l=pe(()=>{const g=n();let p=0;for(const b of e.questions){const f=g[b.id];if(!f){p+=1;continue}const h=f.note??"";b.isFreeform||f.selectedOptionLabel===Cn?h.trim()||(p+=1):f.selectedOptionLabel||(p+=1)}return p});async function d(){u(!0),s(null);try{const g=n(),p=[];for(const f of e.questions){const h=g[f.id]??{note:""},_=Bp(f,h);_&&p.push(_)}const b={answers:p,freeformAnnotations:e.freeforms.map(f=>({sectionPath:f.sectionPath,quote:f.quote,note:f.note}))};if(b.answers.length===0&&b.freeformAnnotations.length===0){s("没有可提交的答复");return}await e.onSubmit(b)}catch(g){s(g.message)}finally{u(!1)}}return(()=>{var g=zp(),p=g.firstChild,b=p.firstChild,f=b.nextSibling,h=f.firstChild,_=h.nextSibling;_.nextSibling;var m=f.nextSibling,w=m.firstChild,y=p.nextSibling;return v(_,l),v(f,()=>e.questions.length,null),w.$$click=d,v(w,(()=>{var x=ze(()=>!!r());return()=>x()?"提交中…":e.running?"运行中…":"提交全部"})()),v(g,S(ee,{get when(){return a()},get children(){var x=Up();return v(x,a),x}}),y),v(y,S(Ot,{get each(){return e.questions},children:x=>{const k=()=>n()[x.id]??{note:""},D=()=>x.isFreeform||k().selectedOptionLabel===Cn;return(()=>{var A=Gp(),N=A.firstChild;return v(N,()=>x.text),v(A,S(ee,{get when(){return!x.isFreeform},get children(){var R=qp(),O=R.firstChild,q=O.firstChild,K=q.firstChild,F=K.nextSibling;return v(R,S(Ot,{get each(){return x.options},children:L=>(()=>{var W=Wp(),P=W.firstChild,j=P.firstChild,$=j.nextSibling;return j.addEventListener("change",()=>o(x.id,L.label)),v($,()=>L.label,null),v($,S(ee,{get when(){return L.recommended},get children(){return Kp()}}),null),re(()=>Ge(j,"name",`q-${x.id}`)),re(()=>j.checked=k().selectedOptionLabel===L.label),W})()}),O),K.addEventListener("change",()=>o(x.id,Cn)),v(F,Pp),re(()=>Ge(K,"name",`q-${x.id}`)),re(()=>K.checked=k().selectedOptionLabel===Cn),R}}),null),v(A,S(ee,{get when(){return D()},get children(){var R=Hp();return R.$$input=O=>c(x.id,O.currentTarget.value),re(()=>R.value=k().note),R}}),null),A})()}}),null),v(y,S(Ot,{get each(){return e.freeforms},children:x=>(()=>{var k=jp(),D=k.firstChild,A=D.firstChild,N=A.nextSibling,R=D.nextSibling,O=R.firstChild,q=O.nextSibling,K=q.nextSibling;K.nextSibling;var F=R.nextSibling;return F.firstChild,N.$$click=()=>e.onRemoveFreeform(x.id),v(O,()=>x.sectionPath),v(R,()=>x.quote.slice(0,200),K),v(F,()=>x.note,null),k})()}),null),re(()=>w.disabled=r()||e.running),g})()};ct(["click","input"]);var Vp=T("<section class=page>"),Yp=T("<p class=muted>加载中…"),Xp=T("<p class=muted>spec 不存在或已删除"),Qp=T('<header class="page-head detail-head"><div><code class=id></code><h1></h1><p class=summary></p></div><div class=meta><select title="强制设置 spec 状态"><option value=plan>plan</option><option value=tasks>tasks</option><option value=execute>execute</option><option value=done>done</option></select><time></time><button type=button class=append-btn>追加任务</button><button type=button>'),Jp=T("<p class=error>"),eb=T('<div class=spec-split><article class="markdown spec-main">');const tb=()=>{const e=vr(),t=xn(),[n,i]=tc(),[r,u]=z(0),[a]=Gt(()=>[t(),e.id,r()],async([$,B])=>Ae.getSpec($,B)),[s,o]=z(null),[c,l]=z(!1),[d,g]=z(null),[p,b]=z(null),[f,h]=z(null),[_,m]=z([]),[w,y]=z(!1),[x,k]=z(null);let D;const A=pe(()=>{const $=a();return $?mp($.body):[]}),N=pe(()=>{const $=a();return!$||$.frontmatter.stage!=="plan"?!1:A().length>0||_().length>0});it(()=>{const $=e.id,B=t();if(!$||!B)return;const Z=Tc(B,$,{onUpdated:()=>u(M=>M+1)});st(Z)}),it(()=>{const $=n.runId;if(!$)return;const B=a()?.frontmatter.summary;tt.start({runId:$,projectId:t(),mode:"skill-run",specId:e.id,specTitle:B,source:"draft"}),i({runId:void 0},{replace:!0})}),it(()=>{const $=f();if(!$)return;const B=pp($,o);st(B)}),it(()=>{const $=f();if(!$)return;let B=!0,Z;lp($).then(M=>{B?Z=M:M()}),st(()=>{B=!1,Z?.()})});async function R(){b(null);try{const $=t(),{runId:B}=await Ae.runAgent($,e.id);tt.start({runId:B,projectId:$,mode:"skill-run",specId:e.id,specTitle:a()?.frontmatter.summary,source:"run"})}catch($){b($.message)}}async function O($){b(null);try{await Ae.setStage(t(),e.id,$),u(B=>B+1)}catch(B){b(B.message)}}function q($){g($),l(!0)}async function K($){const B=d();if(!B)return;if(a()?.frontmatter.stage==="plan"){m(M=>[...M,{id:`f-${Date.now()}-${M.length}`,sectionPath:B.sectionPath,quote:B.text,note:$}]);return}await Ae.appendAnnotation(t(),e.id,{sectionPath:B.sectionPath,quote:B.text,note:$})}function F($){m(B=>B.filter(Z=>Z.id!==$))}async function L($){await Ae.submitQuestionAnswers(t(),e.id,$),m([]),await R()}function W(){k(s()),y(!0)}async function P($){const B=t(),Z=await Ae.appendItem(B,e.id,$);Z.runId&&tt.start({runId:Z.runId,projectId:B,mode:"skill-run",specId:e.id,specTitle:a()?.frontmatter.summary,source:"run"})}async function j($){try{const B=t(),{runId:Z}=await Ae.explain(B,e.id,$.text);tt.start({runId:Z,projectId:B,mode:"explain",specId:e.id,specTitle:a()?.frontmatter.summary,source:"explain"})}catch(B){b(B.message)}}return(()=>{var $=Vp();return v($,S(yr,{get fallback(){return Yp()},get children(){return S(ee,{get when(){return a()},get fallback(){return Xp()},children:B=>{const Z=()=>tt.hasRunningSkillRun(e.id);return[(()=>{var M=Qp(),Ee=M.firstChild,Se=Ee.firstChild,fe=Se.nextSibling,Le=fe.nextSibling,I=Ee.nextSibling,te=I.firstChild,X=te.nextSibling,ge=X.nextSibling,he=ge.nextSibling;v(Se,()=>B().id),v(fe,()=>nb(B().body)??"(待 Agent 补全)"),v(Le,()=>B().frontmatter.summary||"(待 Agent 补全)"),te.addEventListener("change",ye=>O(ye.currentTarget.value)),v(X,()=>us(B().frontmatter.updated_at)),ge.$$click=W;var Re=D;return typeof Re=="function"?Ht(Re,ge):D=ge,v(I,S(It,{class:"ghost agent-logs-link",get href(){return $t(`specs/${B().id}/agent-logs`)},children:"执行日志"}),he),v(I,S(It,{class:"ghost review-link",get href(){return $t(`specs/${B().id}/review`)},children:"Review"}),he),he.$$click=R,v(he,()=>Z()?"运行中…":"运行 Agent"),re(ye=>{var Qe=`badge stage-select stage-${B().frontmatter.stage}`,lt=`primary-action run-btn ${Z()?"run-running":"run-idle"}`,Je=Z();return Qe!==ye.e&&Xe(te,ye.e=Qe),lt!==ye.t&&Xe(he,ye.t=lt),Je!==ye.a&&(he.disabled=ye.a=Je),ye},{e:void 0,t:void 0,a:void 0}),re(()=>te.value=B().frontmatter.stage),M})(),S(ee,{get when(){return p()},get children(){var M=Jp();return v(M,p),M}}),(()=>{var M=eb(),Ee=M.firstChild;return v(M,S(ee,{get when(){return N()},get children(){return S(Zp,{get questions(){return A()},get freeforms(){return _()},get running(){return Z()},onRemoveFreeform:F,onSubmit:L})}}),Ee),Ht(h,Ee),re(()=>Ee.innerHTML=Ls(B().body,{specId:B().id,projectId:t()||void 0})),M})(),S(Ap,{get snap(){return ze(()=>!!c())()?null:s()},onAnnotate:q,onExplain:j}),S(Tp,{get open(){return c()},get snap(){return d()},onCancel:()=>l(!1),onSubmit:K}),S(Fp,{get open(){return w()},get sectionPath(){return x()?.sectionPath},get quote(){return x()?.text},anchorEl:D,onCancel:()=>y(!1),onSubmit:P})]}})}})),$})()};function nb(e){return e.match(/^#\s+(.+)$/m)?.[1]?.trim()}ct(["click"]);var rb=T("<span class=muted>最近一次 review:"),ib=T('<header class="page-head detail-head"><div><h1>Review · </h1><p class=summary></p></div><div class=meta>'),Qn=T("<span class=review-action-spinner aria-hidden=true>"),ub=T('<div class=changes-list><div class=changes-list-head><button type=button class="ghost small"></button><span class=muted>/<!> 个文件'),ab=T("<p class=muted>暂无变更文件"),sb=T("<p class=error>"),ob=T("<p class=muted>已派发:<!>(runId: <code></code>)"),Ra=T("<p class=muted>加载中…"),cb=T('<div class=review-split><section class=review-ops-panel><section class=review-actions><button type=button class=primary-action></button><button type=button class="ghost danger"></button><button type=button class=ghost></button><span class=actions-separator></span><button type=button class=ghost title="Review 下方变更文件,生成报告"></button></section><textarea class=commit-message-input placeholder="commit message…"rows=2></textarea><div class=file-mode-group><label class=file-mode-label><input type=radio name=fileMode>手动选择</label><label class=file-mode-label><input type=radio name=fileMode>Agent 智能判定</label></div></section><section class=review-body>'),lb=T('<section class="page spec-review">'),db=T("<label class=change-item><input type=checkbox><span></span><span class=change-path>"),fb=T('<article class="markdown review-md">'),pb=T("<p class=muted>尚无 review 报告。点击「Review 变更」让 Agent 生成。");const ir={commit:"提交",discard:"丢弃",stash:"暂存"},Jn={review:"Review 中…",commit:"提交中…",discard:"丢弃中…",stash:"暂存中…"},er={review:"Review 变更",commit:ir.commit,discard:ir.discard,stash:ir.stash},bb=["review","commit","discard","stash"],gb={M:"st-modified",A:"st-added",D:"st-deleted","??":"st-untracked",R:"st-renamed"},hb=()=>{const e=vr(),t=xn(),[n]=Gt(()=>[t(),e.id],([I,te])=>Ae.getSpec(I,te)),[i,r]=z(0),[u]=Gt(()=>[t(),e.id,i()],async([I,te])=>Ae.getReview(I,te)),[a,s]=z([]),[o,c]=z("manual"),[l,d]=z(new Set),[g,p]=z(""),[b,f]=z(!1),[h,_]=z(null),[m,w]=z(null),[y,x]=z(null),[k,D]=z(null),[A,N]=z({});let R;function O(I){I&&(I.style.height="auto",I.style.height=`${I.scrollHeight}px`)}const q=pe(()=>{const I=u()?.text??"";return I.trim()?Ls(I,{specId:e.id,projectId:t()}):""}),K=pe(()=>mb(u()?.text??"")),F=pe(()=>{const I=e.id.split("."),te=I.length>=2?I[1]:"feat",X=n()?.frontmatter.summary??"";return X?`${te}: ${X}`:`${te}: update`});it(()=>{const I=F();I&&!b()&&p(I)}),it(_r(g,()=>{O(R)})),Pa(()=>O(R)),it(()=>{const I=t(),te=e.id;if(!I||!te)return;const X=Ic(I,te,ge=>{s(ge),d(he=>{const Re=new Set(ge.map(Qe=>Qe.path)),ye=new Set;for(const Qe of he)Re.has(Qe)&&ye.add(Qe);return ye})});st(()=>X())});function L(I){const te=A()[I];if(!te)return!1;const X=tt.state.tasks[te];return X?X.status==="pending"||X.status==="streaming":!1}const W=pe(()=>{for(const I of bb)if(L(I))return I;return null}),P=pe(()=>m()!==null||W()!==null||h()!==null);it(I=>{const te=A().review;if(!te)return;const X=tt.state.tasks[te]?.status;return(I==="pending"||I==="streaming")&&(X==="done"||X==="failed")&&r(ge=>ge+1),X},void 0);function j(){return o()==="agent"?a().map(I=>I.path):[...l()]}async function $(I){if(P())return;x(null);const te=j();if(te.length===0){x("请至少选择一个文件");return}if(!(I==="discard"&&!window.confirm("确定要丢弃选中的变更吗?此操作不可撤销。"))){_(I);try{if(I==="commit"){const X=g().trim();if(!X){x("请输入 commit message");return}await Ae.directCommit(t(),e.id,{message:X,paths:te})}else I==="discard"?await Ae.directDiscard(t(),e.id,{paths:te}):I==="stash"&&await Ae.directStash(t(),e.id,{message:g().trim()||`yorz:${e.id}`,paths:te})}catch(X){x(X.message)}finally{_(null)}}}async function B(I){if(!P()&&(x(null),!(I==="discard"&&!window.confirm("确定要丢弃当前 spec 相关的所有未提交变更吗?此操作不可撤销。")))){w(I);try{const te=I==="review"?await Ae.triggerReview(t(),e.id):await Ae.gitOp(t(),e.id,I);D({kind:I,runId:te.runId}),N(X=>({...X,[I]:te.runId})),tt.start({runId:te.runId,projectId:t(),mode:I==="review"?"review":"git-ops",specId:e.id,specTitle:n()?.frontmatter.summary,source:"run"})}catch(te){x(te.message)}finally{w(null)}}}async function Z(I){o()==="manual"?await $(I):await B(I)}function M(I){return L(I)||m()===I||h()===I}function Ee(I){d(te=>{const X=new Set(te);return X.has(I)?X.delete(I):X.add(I),X})}function Se(){a().every(I=>l().has(I.path))?d(new Set):d(new Set(a().map(I=>I.path)))}const fe=pe(()=>a().length>0&&a().every(I=>l().has(I.path))),Le=pe(()=>o()==="manual"&&l().size===0);return(()=>{var I=lb();return v(I,S(yr,{get fallback(){return Ra()},get children(){return[(()=>{var te=ib(),X=te.firstChild,ge=X.firstChild;ge.firstChild;var he=ge.nextSibling,Re=X.nextSibling;return v(X,S(It,{class:"ghost",get href(){return $t(`specs/${e.id}`)},children:"← 返回 spec"}),ge),v(ge,()=>e.id,null),v(he,()=>n()?.frontmatter.summary||"(待 Agent 补全)"),v(Re,S(ee,{get when(){return K()},get children(){var ye=rb();return ye.firstChild,v(ye,K,null),ye}})),te})(),(()=>{var te=cb(),X=te.firstChild,ge=X.firstChild,he=ge.firstChild,Re=he.nextSibling,ye=Re.nextSibling,Qe=ye.nextSibling,lt=Qe.nextSibling,Je=ge.nextSibling,Kt=Je.nextSibling,wt=Kt.firstChild,kt=wt.firstChild,Wt=wt.nextSibling,Y=Wt.firstChild,ue=X.nextSibling;he.$$click=()=>Z("commit"),v(he,S(ee,{get when(){return M("commit")},get children(){return Qn()}}),null),v(he,(()=>{var H=ze(()=>!!M("commit"));return()=>H()?Jn.commit:er.commit})(),null),Re.$$click=()=>Z("discard"),v(Re,S(ee,{get when(){return M("discard")},get children(){return Qn()}}),null),v(Re,(()=>{var H=ze(()=>!!M("discard"));return()=>H()?Jn.discard:er.discard})(),null),ye.$$click=()=>Z("stash"),v(ye,S(ee,{get when(){return M("stash")},get children(){return Qn()}}),null),v(ye,(()=>{var H=ze(()=>!!M("stash"));return()=>H()?Jn.stash:er.stash})(),null),lt.$$click=()=>B("review"),v(lt,S(ee,{get when(){return M("review")},get children(){return Qn()}}),null),v(lt,(()=>{var H=ze(()=>!!M("review"));return()=>H()?Jn.review:er.review})(),null),Je.$$input=H=>{f(!0),p(H.currentTarget.value),O(R)};var ae=R;return typeof ae=="function"?Ht(ae,Je):R=Je,kt.addEventListener("change",()=>c("manual")),Y.addEventListener("change",()=>c("agent")),v(X,S(ee,{get when(){return ze(()=>o()==="manual")()&&a().length>0},get children(){var H=ub(),be=H.firstChild,se=be.firstChild,Ne=se.nextSibling,Ke=Ne.firstChild,qe=Ke.nextSibling;return qe.nextSibling,se.$$click=Se,v(se,()=>fe()?"全部取消":"全选"),v(Ne,()=>l().size,Ke),v(Ne,()=>a().length,qe),v(H,S(Ot,{get each(){return a()},children:Oe=>(()=>{var je=db(),bt=je.firstChild,Ft=bt.nextSibling,At=Ft.nextSibling;return bt.addEventListener("change",()=>Ee(Oe.path)),v(Ft,()=>Oe.status),v(At,()=>Oe.path),re(_t=>{var Pt=P(),Ct=`change-status ${gb[Oe.status]??""}`;return Pt!==_t.e&&(bt.disabled=_t.e=Pt),Ct!==_t.t&&Xe(Ft,_t.t=Ct),_t},{e:void 0,t:void 0}),re(()=>bt.checked=l().has(Oe.path)),je})()}),null),re(()=>se.disabled=P()),H}}),null),v(X,S(ee,{get when(){return ze(()=>o()==="manual")()&&a().length===0},get children(){return ab()}}),null),v(X,S(ee,{get when(){return y()},get children(){var H=sb();return v(H,y),H}}),null),v(X,S(ee,{get when(){return k()},get children(){var H=ob(),be=H.firstChild,se=be.nextSibling,Ne=se.nextSibling,Ke=Ne.nextSibling;return v(H,(()=>{var qe=ze(()=>k().kind==="review");return()=>qe()?"Review 变更":ir[k().kind]})(),se),v(Ke,()=>k().runId.slice(0,8)),H}}),null),v(ue,S(ee,{get when(){return u.loading},get fallback(){return S(ee,{get when(){return q()},get fallback(){return pb()},get children(){var H=fb();return re(()=>H.innerHTML=q()),H}})},get children(){return Ra()}})),re(H=>{var be=P()||Le(),se=P()||Le(),Ne=P()||Le(),Ke=P()||a().length===0,qe=P(),Oe=P(),je=P();return be!==H.e&&(he.disabled=H.e=be),se!==H.t&&(Re.disabled=H.t=se),Ne!==H.a&&(ye.disabled=H.a=Ne),Ke!==H.o&&(lt.disabled=H.o=Ke),qe!==H.i&&(Je.disabled=H.i=qe),Oe!==H.n&&(kt.disabled=H.n=Oe),je!==H.s&&(Y.disabled=H.s=je),H},{e:void 0,t:void 0,a:void 0,o:void 0,i:void 0,n:void 0,s:void 0}),re(()=>Je.value=g()),re(()=>kt.checked=o()==="manual"),re(()=>Y.checked=o()==="agent"),te})()]}})),I})()};function mb(e){if(!e)return"";const t=e.split(/\r?\n/);for(let n=0;n<t.length;n++){const i=/^##\s+(\d{4}-\d{2}-\d{2}\s+\d{2}:\d{2}:\d{2})\s*$/.exec(t[n]??"");if(i)return i[1]??""}return""}ct(["click","input"]);var _b=T('<header class="page-head detail-head"><div><h1>执行日志 · </h1><p class=summary></p></div><div class=meta><button type=button class=ghost>'),Eb=T("<ul class=agent-log-cards>"),xb=T("<section class=agent-log-list><h2>Agent 执行日志(<!>)"),yb=T('<section class="page spec-agent-logs">'),Bs=T("<p class=muted>加载中…"),vb=T("<p class=muted>暂无 Agent 执行日志"),wb=T('<p class="agent-log-truncated muted">已截断显示末尾 256KB'),kb=T("<p class=error>"),Ab=T("<pre class=agent-log-body>"),Cb=T("<p class=muted>日志为空"),Sb=T("<div class=agent-log-card-body>"),Nb=T('<li class=agent-log-card><button type=button class=agent-log-card-head><span class=agent-log-card-toggle></span><time class=agent-log-time></time><span></span><span></span><span class=agent-log-duration></span><span class="agent-log-size muted">');const Tb=()=>{const e=vr(),t=xn(),[n]=Gt(()=>[t(),e.id],([o,c])=>Ae.getSpec(o,c)),[i,r]=z(0),[u]=Gt(()=>[t(),e.id,i()],async([o,c])=>Ae.listAgentLogs(o,c)),a=pe(()=>u()??[]),s=pe(()=>!u.loading&&a().length===0);return(()=>{var o=yb();return v(o,S(yr,{get fallback(){return Bs()},get children(){return[(()=>{var c=_b(),l=c.firstChild,d=l.firstChild;d.firstChild;var g=d.nextSibling,p=l.nextSibling,b=p.firstChild;return v(l,S(It,{class:"ghost",get href(){return $t(`specs/${e.id}`)},children:"← 返回 spec"}),d),v(d,()=>e.id,null),v(g,()=>n()?.frontmatter.summary||"(待 Agent 补全)"),b.$$click=()=>r(f=>f+1),v(b,()=>u.loading?"刷新中…":"刷新"),re(()=>b.disabled=u.loading),c})(),(()=>{var c=xb(),l=c.firstChild,d=l.firstChild,g=d.nextSibling;return g.nextSibling,v(l,()=>a().length,g),v(c,S(ee,{get when(){return!s()},get fallback(){return vb()},get children(){var p=Eb();return v(p,S(Ot,{get each(){return a()},children:b=>S(Db,{meta:b})})),p}}),null),c})()]}})),o})()},Db=e=>{const t=xn(),[n,i]=z(!1),[r,u]=z({content:"",truncated:!1,loading:!1,error:null});let a=!1;async function s(){const o=!n();if(i(o),o&&!a&&!r().loading){u({content:"",truncated:!1,loading:!0,error:null});try{const c=await Ae.getAgentLog(t(),e.meta.specId,e.meta.runId);a=!0,u({content:c.content,truncated:c.truncated,loading:!1,error:null})}catch(c){u({content:"",truncated:!1,loading:!1,error:c.message})}}}return(()=>{var o=Nb(),c=o.firstChild,l=c.firstChild,d=l.nextSibling,g=d.nextSibling,p=g.nextSibling,b=p.nextSibling,f=b.nextSibling;return c.$$click=s,v(l,()=>n()?"▾":"▸"),v(d,()=>Ib(e.meta.startedAt)),v(g,()=>Rb(e.meta)),v(p,()=>Mb(e.meta)),v(b,()=>Lb(e.meta)),v(f,()=>Fb(e.meta.sizeBytes)),v(o,S(ee,{get when(){return n()},get children(){var h=Sb();return v(h,S(ee,{get when(){return r().truncated},get children(){return wb()}}),null),v(h,S(ee,{get when(){return r().loading},get children(){return Bs()}}),null),v(h,S(ee,{get when(){return r().error},get children(){var _=kb();return v(_,()=>r().error),_}}),null),v(h,S(ee,{get when(){return ze(()=>!r().loading&&!r().error)()&&r().content},get children(){var _=Ab();return v(_,()=>r().content),_}}),null),v(h,S(ee,{get when(){return ze(()=>!r().loading&&!r().error)()&&!r().content},get children(){return Cb()}}),null),h}}),null),re(h=>{var _=n(),m=Ob(e.meta),w=`agent-log-status ${$b(e.meta)}`;return _!==h.e&&Ge(c,"aria-expanded",h.e=_),m!==h.t&&Xe(g,h.t=m),w!==h.a&&Xe(p,h.a=w),h},{e:void 0,t:void 0,a:void 0}),o})()};function Rb(e){switch(e.mode){case"skill-run":return"Run";case"explain":return"Explain";case"review":return"Review";case"git-ops":switch(e.action){case"commit":return"GitCommit";case"discard":return"GitDiscard";case"stash":return"GitStash";default:return"GitOps"}default:return String(e.mode)}}function Ob(e){const t=`agent-log-mode mode-${e.mode}`;return e.mode==="git-ops"&&e.action?`${t} mode-${e.mode}-${e.action}`:t}function Ib(e){try{return new Date(e).toLocaleString()}catch{return String(e)}}function $b(e){return e.exitCode===0?"status-ok":e.exitCode===null&&e.endedAt===null?"status-running":"status-fail"}function Mb(e){return e.exitCode===0?"成功":e.exitCode===null&&e.endedAt===null?"未收尾":`失败 (${e.exitCode??"n/a"})`}function Lb(e){if(e.endedAt===null)return"—";const t=Math.max(0,e.endedAt-e.startedAt);if(t<1e3)return`${t}ms`;const n=Math.round(t/100)/10;if(n<60)return`${n}s`;const i=Math.floor(n/60),r=Math.round(n-i*60);return`${i}m${r}s`}function Fb(e){return e<1024?`${e}B`:e<1024*1024?`${(e/1024).toFixed(1)}KB`:`${(e/(1024*1024)).toFixed(2)}MB`}ct(["click"]);var Pb=T('<section class="page welcome"><header class=page-head><h1>欢迎使用 YorZ</h1></header><p class=muted>YorZ 通过本地目录托管 spec 文档;请先添加一个项目目录,然后即可开始管理它的需求。</p><p class=projects-sidebar-hint>添加项目请在终端执行:<code>yorz add <path>');const Us=()=>Pb();var Bb=T("<p class=muted>加载中…");const Ub=()=>{const[e]=Gt(()=>Ae.listProjects());return S(ee,{get when(){return!e.loading},get fallback(){return Bb()},get children(){return S(ee,{get when(){return(e()??[]).length>0},get fallback(){return S(Us,{})},get children(){return(()=>{const n=(e()??[])[0];return n?S(Ec,{get href(){return`/${encodeURIComponent(n.id)}`}}):null})()}})}})};var zb=T("<button type=button class=agent-dock-clear>清理已完成"),qb=T("<ul class=agent-dock-list>"),Hb=T('<aside aria-label="Agent 任务面板"><header class=agent-dock-head><button type=button class=agent-dock-toggle><span class=agent-dock-title>Agent 任务</span><span class=agent-dock-progress><span class=agent-dock-progress-running></span><span class=agent-dock-progress-sep>/</span><span class=agent-dock-progress-done></span><span class=agent-dock-progress-sep>/</span><span class=agent-dock-progress-failed></span></span><span class=agent-dock-chevron>'),Gb=T("<pre class=agent-task-output>"),Kb=T("<p class=agent-task-error>"),Wb=T("<li><header class=agent-task-head role=button tabindex=0><span class=agent-task-chevron aria-hidden=true></span><span></span><span class=agent-task-spec></span><span></span><span class=agent-task-timer>s</span><button type=button class=agent-task-close aria-label=关闭>×"),jb=T("<em class=muted>");const Zb={run:"执行 spec",explain:"解释",draft:"新建 spec"},Vb={pending:"等待…",streaming:"运行中",done:"已完成",failed:"失败"},Yb=3,zs="yorz.agentDock.collapsed",Xb=32;let ur=!1;function Qb(){try{if(typeof window>"u")return!1;const e=window.localStorage.getItem(zs);return e==="1"||e==="0"?(ur=!0,e==="1"):!1}catch{return!1}}function Oa(e){try{typeof window<"u"&&window.localStorage.setItem(zs,e?"1":"0")}catch{}}const Jb=()=>{const[e,t]=z(Qb()),n=pe(()=>tt.state.order.map(s=>tt.state.tasks[s]).filter(s=>!!s&&!s.dismissed)),i=pe(()=>n().some(s=>s.status==="done"||s.status==="failed")),r=pe(()=>n().filter(s=>s.status==="pending"||s.status==="streaming").length),u=pe(()=>n().filter(s=>s.status==="done").length),a=pe(()=>n().filter(s=>s.status==="failed").length);return pe(()=>{!ur&&n().length>Yb&&!e()&&(t(!0),Oa(!0),ur=!0)}),S(ee,{get when(){return n().length>0},get children(){var s=Hb(),o=s.firstChild,c=o.firstChild,l=c.firstChild,d=l.nextSibling,g=d.firstChild,p=g.nextSibling,b=p.nextSibling,f=b.nextSibling,h=f.nextSibling,_=d.nextSibling;return c.$$click=()=>{const m=!e();t(m),Oa(m),ur=!0},v(g,r),v(b,u),v(h,a),v(_,()=>e()?"▲":"▼"),v(o,S(ee,{get when(){return i()},get children(){var m=zb();return m.$$click=()=>tt.clearFinished(),m}}),null),v(s,S(ee,{get when(){return!e()},get children(){var m=qb();return v(m,S(Ot,{get each(){return n()},children:w=>S(eg,{task:w})})),m}}),null),re(m=>{var w=`agent-dock${e()?" agent-dock--collapsed":""}`,y=!e(),x=`进行中 ${r()} / 已完成 ${u()} / 失败 ${a()}`;return w!==m.e&&Xe(s,m.e=w),y!==m.t&&Ge(c,"aria-expanded",m.t=y),x!==m.a&&Ge(d,"aria-label",m.a=x),m},{e:void 0,t:void 0,a:void 0}),s}})},eg=e=>{const t=()=>e.task.specId.startsWith("__draft__"),[n,i]=z(0),r=setInterval(()=>{(e.task.status==="pending"||e.task.status==="streaming")&&i(d=>d+1)},1e3);st(()=>clearInterval(r));const u=pe(()=>{n();const d=e.task.endedAt??Date.now();return Math.max(0,Math.floor((d-e.task.startedAt)/1e3))});let a;const s=d=>{a=d},[o,c]=z(!0),l=()=>{if(!a)return;const d=a.scrollHeight-a.scrollTop-a.clientHeight;c(d<Xb)};return pe(()=>{e.task.output,queueMicrotask(()=>{a&&o()&&(a.scrollTop=a.scrollHeight)})}),(()=>{var d=Wb(),g=d.firstChild,p=g.firstChild,b=p.nextSibling,f=b.nextSibling,h=f.nextSibling,_=h.nextSibling,m=_.firstChild,w=_.nextSibling;return g.$$keydown=y=>{(y.key==="Enter"||y.key===" ")&&(y.preventDefault(),tt.toggleExpand(e.task.runId))},g.$$click=()=>tt.toggleExpand(e.task.runId),v(p,()=>e.task.expanded?"▾":"▸"),v(b,()=>Zb[e.task.source]),v(f,S(ee,{get when(){return!t()},get fallback(){return(()=>{var y=jb();return v(y,()=>e.task.specTitle??"(新建中)"),y})()},get children(){return S(It,{get href(){return $t(`specs/${encodeURIComponent(e.task.specId)}`)},class:"agent-task-link",onClick:y=>y.stopPropagation(),get children(){return e.task.specTitle??e.task.specId}})}})),v(h,()=>Vb[e.task.status]),v(_,u,m),w.$$click=y=>{y.stopPropagation(),tt.dismiss(e.task.runId)},v(d,S(ee,{get when(){return e.task.expanded},get children(){return[(()=>{var y=Gb();return y.addEventListener("scroll",l),Ht(s,y),v(y,()=>e.task.output||"(等待输出…)"),y})(),S(ee,{get when(){return e.task.error},get children(){var y=Kb();return v(y,()=>e.task.error),y}})]}}),null),re(y=>{var x=`agent-task agent-task-${e.task.status}`,k=e.task.expanded,D=`agent-task-source source-${e.task.source}`,A=`agent-task-status status-${e.task.status}`;return x!==y.e&&Xe(d,y.e=x),k!==y.t&&Ge(g,"aria-expanded",y.t=k),D!==y.a&&Xe(b,y.a=D),A!==y.o&&Xe(h,y.o=A),y},{e:void 0,t:void 0,a:void 0,o:void 0}),d})()};ct(["click","keydown"]);var tg=T("<label class=field><span>命令 (cmd)</span><input type=text placeholder=例如:/usr/local/bin/my-agent>"),ng=T('<label class=field><span>参数 (args,空格分隔)</span><input type=text placeholder="--flag value">'),rg=T("<form><fieldset class=kind-group><legend>Agent</legend></fieldset><label class=field><span>spec 文档目录</span><input type=text placeholder=.yorz/specs><small class=muted>相对项目根路径,不存在时会自动创建</small></label><div class=actions><button type=button>取消</button><button type=submit class=primary-action>"),ig=T("<div class=project-config-backdrop><div class=project-config-dialog role=dialog><header><strong>项目配置 · "),ug=T("<p class=muted>加载中…"),ag=T("<label class=kind-option><input type=radio name=project-config-agent><span>"),sg=T("<p class=error>");const og={claude:"ClaudeCode",opencode:"OpenCode",codex:"Codex",custom:"自定义"},tr=".yorz/specs",cg=e=>{const[t,n]=z("claude"),[i,r]=z(""),[u,a]=z(""),[s,o]=z(tr),[c,l]=z(tr),[d,g]=z(!1),[p,b]=z(!1),[f,h]=z(null);it(()=>{e.open&&(h(null),g(!0),(async()=>{try{const x=await Ae.getProjectConfig(e.projectId);_(x)}catch(x){h(x.message)}finally{g(!1)}})())}),it(()=>{if(!e.open)return;const x=k=>{k.key==="Escape"&&(k.preventDefault(),e.onClose())};window.addEventListener("keydown",x),st(()=>window.removeEventListener("keydown",x))});function _(x){n(x.agent.kind),x.agent.kind==="custom"?(r(x.agent.cmd),a(x.agent.args.join(" "))):(r(""),a(""));const k=x.specsDir||tr;o(k),l(k)}function m(x){return x.split(/\s+/).map(k=>k.trim()).filter(Boolean)}function w(){const x=t();if(x==="claude")return{kind:"claude"};if(x==="opencode")return{kind:"opencode"};if(x==="codex")return{kind:"codex"};const k=i().trim();return k?{kind:"custom",cmd:k,args:m(u())}:{error:"自定义命令的 cmd 不能为空"}}async function y(x){x.preventDefault(),h(null);const k=w();if("error"in k){h(k.error);return}const D=s().trim()||tr;if(D.split(/[\\/]/).some(A=>A==="..")){h('spec 目录不能包含 ".." 段');return}b(!0);try{await Ae.updateProjectConfig(e.projectId,{agent:k,specsDir:D});let A="配置已保存";D!==c()&&(A+="。旧 spec 仍在原目录,请手工迁移"),e.onSaved?.(A),e.onClose()}catch(A){h(A.message)}finally{b(!1)}}return S(ee,{get when(){return e.open},get children(){var x=ig(),k=x.firstChild,D=k.firstChild,A=D.firstChild;return A.firstChild,lr(x,"mousedown",e.onClose,!0),k.$$mousedown=N=>N.stopPropagation(),v(A,()=>e.projectName,null),v(k,S(ee,{get when(){return!d()},get fallback(){return ug()},get children(){var N=rg(),R=N.firstChild;R.firstChild;var O=R.nextSibling,q=O.firstChild,K=q.nextSibling,F=O.nextSibling,L=F.firstChild,W=L.nextSibling;return N.addEventListener("submit",y),v(R,()=>["claude","opencode","codex","custom"].map(P=>(()=>{var j=ag(),$=j.firstChild,B=$.nextSibling;return $.addEventListener("change",()=>n(P)),$.value=P,v(B,()=>og[P]),re(()=>$.disabled=p()),re(()=>$.checked=t()===P),j})()),null),v(N,S(ee,{get when(){return t()==="custom"},get children(){return[(()=>{var P=tg(),j=P.firstChild,$=j.nextSibling;return $.$$input=B=>r(B.currentTarget.value),re(()=>$.disabled=p()),re(()=>$.value=i()),P})(),(()=>{var P=ng(),j=P.firstChild,$=j.nextSibling;return $.$$input=B=>a(B.currentTarget.value),re(()=>$.disabled=p()),re(()=>$.value=u()),P})()]}}),O),K.$$input=P=>o(P.currentTarget.value),v(N,(()=>{var P=ze(()=>!!f());return()=>P()&&(()=>{var j=sg();return v(j,f),j})()})(),F),lr(L,"click",e.onClose,!0),v(W,()=>p()?"保存中…":"保存"),re(P=>{var j=p(),$=p(),B=p();return j!==P.e&&(K.disabled=P.e=j),$!==P.t&&(L.disabled=P.t=$),B!==P.a&&(W.disabled=P.a=B),P},{e:void 0,t:void 0,a:void 0}),re(()=>K.value=s()),N}}),null),re(()=>Ge(k,"aria-label",`项目配置 · ${e.projectName}`)),x}})};ct(["mousedown","input","click"]);var lg=T("<span class=projects-sidebar-title>项目"),dg=T("<div class=projects-sidebar-head-actions><button type=button class=projects-sidebar-refresh title=刷新项目列表 aria-label=刷新项目列表><span>⟳</span></button><button type=button class=projects-sidebar-toggle title=折叠 aria-label=折叠项目面板>«"),fg=T("<ul class=projects-sidebar-list>"),pg=T("<p class=projects-sidebar-hint>添加项目请在终端执行:<code>yorz add <path>"),bg=T("<div class=projects-sidebar-resizer role=separator aria-orientation=vertical aria-label=拖动调整项目面板宽度>"),gg=T("<aside><header class=projects-sidebar-head></header><footer class=projects-sidebar-foot>"),hg=T("<button type=button class=projects-sidebar-toggle title=展开项目面板 aria-label=展开项目面板>»"),mg=T('<p class="muted projects-sidebar-loading">加载中…'),_g=T("<span class=name>"),Eg=T("<span class=worktree-badge>⎇ main"),xg=T("<button type=button class=projects-sidebar-edit title=项目配置>✎"),yg=T("<button type=button class=projects-sidebar-remove title=删除项目>✕"),vg=T("<li>"),wg=T("<span class=initial>"),kg=T('<span class=projects-sidebar-hint-icon title="添加项目请在终端执行:yorz add <path>"aria-label="添加项目请在终端执行:yorz add <path>">?'),Ag=T('<p class="error projects-sidebar-error">'),Cg=T("<div>"),Sg=T("<div class=delete-popover-backdrop>"),Ng=T("<label class=delete-files-check><input type=checkbox>同时删除文件目录"),Tg=T("<div class=delete-project-popover><header><strong>删除项目</strong></header><p class=delete-project-name></p><p class=delete-project-desc>此操作将从 YorZ 项目列表中移除该项目。</p><div class=delete-project-actions><button type=button>取消</button><button type=button class=delete-confirm-btn>");const qs="yorz.projectsSidebar.collapsed",Hs="yorz.projectsSidebar.width",Sn=220,Dg=160,Rg=480;function Og(){try{return typeof window<"u"&&window.localStorage.getItem(qs)==="1"}catch{return!1}}function Ig(e){try{typeof window<"u"&&window.localStorage.setItem(qs,e?"1":"0")}catch{}}function nu(e){return Number.isFinite(e)?Math.min(Rg,Math.max(Dg,Math.round(e))):Sn}function $g(){try{if(typeof window>"u")return Sn;const e=window.localStorage.getItem(Hs);if(!e)return Sn;const t=Number(e);return Number.isFinite(t)?nu(t):Sn}catch{return Sn}}function Mg(e){try{typeof window<"u"&&window.localStorage.setItem(Hs,String(nu(e)))}catch{}}function Ia(e){if(!e.worktree)return e.name;const t=e.worktree.mainPath.split("/").filter(Boolean).pop()??e.worktree.mainPath,n=e.worktree.cleanSlug??e.worktree.branch.replace(/^wt\//,"");return`${t} · ${n}`}const Lg=()=>{const[e,t]=z(Og()),[n,i]=z($g()),[r,{refetch:u}]=Gt(()=>Ae.listProjects()),[a,s]=z(null),[o,c]=z(null),[l,d]=z(null),[g,p]=z(null),[b,f]=z(!1),[h,_]=z(!1),[m,w]=z({top:0,left:0}),y=Pn(),x=Bn(),k=pe(()=>{const j=x.pathname.match(/^\/([^/]+)/);return j&&j[1]!=="api"?j[1]:""});function D(){const j=!e();t(j),Ig(j)}let A=null,N=null,R=null;function O(j){e()||(j.preventDefault(),A={startX:j.clientX,startW:n(),raf:null},document.body.classList.add("is-resizing"),N=$=>{if(!A)return;const B=$.clientX-A.startX,Z=nu(A.startW+B);A.raf==null&&(A.raf=requestAnimationFrame(()=>{A&&(A.raf=null,i(Z))}))},R=()=>{A?.raf!=null&&cancelAnimationFrame(A.raf),A=null,document.body.classList.remove("is-resizing"),N&&document.removeEventListener("mousemove",N),R&&document.removeEventListener("mouseup",R),N=null,R=null,Mg(n())},document.addEventListener("mousemove",N),document.addEventListener("mouseup",R))}st(()=>{N&&document.removeEventListener("mousemove",N),R&&document.removeEventListener("mouseup",R),document.body.classList.remove("is-resizing")});function q(j,$){$.preventDefault(),$.stopPropagation(),c(j)}function K(j,$="success"){const B={message:j,type:$};d(B),setTimeout(()=>{l()===B&&d(null)},4e3)}function F(j,$){$.preventDefault(),$.stopPropagation();const Z=$.currentTarget.getBoundingClientRect();let Ee=Z.right-280;Ee<8&&(Ee=8),w({top:Z.bottom+8,left:Ee}),f(!1),p(j)}async function L(){const j=g();if(j){_(!0);try{b()&&j.worktree?await Ae.removeProjectWithFiles(j.id):await Ae.removeProject(j.id),await u(),k()===j.id&&y("/"),p(null)}catch($){const B=$.message;B.includes("409")?(K("存在未提交 git 的变更","error"),p(null)):(s(B),K(B,"error"))}finally{_(!1)}}}function W(){u()}const P=()=>e()?void 0:{width:`${n()}px`};return(()=>{var j=gg(),$=j.firstChild,B=$.nextSibling;return v($,S(ee,{get when(){return!e()},get fallback(){return(()=>{var Z=hg();return Z.$$click=D,Z})()},get children(){return[lg(),(()=>{var Z=dg(),M=Z.firstChild,Ee=M.firstChild,Se=M.nextSibling;return M.$$click=W,Se.$$click=D,re(fe=>{var Le=r.loading,I=`projects-sidebar-refresh-icon ${r.loading?"spinning":""}`;return Le!==fe.e&&(M.disabled=fe.e=Le),I!==fe.t&&Xe(Ee,fe.t=I),fe},{e:void 0,t:void 0}),Z})()]}})),v(j,S(ee,{get when(){return r()!==void 0},get fallback(){return mg()},get children(){var Z=fg();return v(Z,S(Ot,{get each(){return r()??[]},children:M=>{const Ee=()=>k()===M.id;return(()=>{var Se=vg();return v(Se,S(It,{get href(){return`/${encodeURIComponent(M.id)}`},class:"projects-sidebar-link",get title(){return M.path},get children(){return S(ee,{get when(){return!e()},get fallback(){return(()=>{var fe=wg();return v(fe,()=>(M.name[0]??"?").toUpperCase()),fe})()},get children(){return[(()=>{var fe=_g();return v(fe,()=>Ia(M)),fe})(),S(ee,{get when(){return M.worktree},get children(){var fe=Eg();return re(()=>Ge(fe,"title",`worktree of ${M.worktree.mainPath}`)),fe}})]}})}}),null),v(Se,S(ee,{get when(){return!e()},get children(){return[(()=>{var fe=xg();return fe.$$click=Le=>q(M,Le),re(()=>Ge(fe,"aria-label",`配置 ${M.name}`)),fe})(),(()=>{var fe=yg();return fe.$$click=Le=>void F(M,Le),re(()=>Ge(fe,"aria-label",`移除 ${M.name}`)),fe})()]}}),null),re(()=>Xe(Se,`projects-sidebar-item ${Ee()?"active":""}`)),Se})()}})),Z}}),B),v(B,S(ee,{get when(){return!e()},get fallback(){return kg()},get children(){return pg()}}),null),v(B,(()=>{var Z=ze(()=>!!a());return()=>Z()&&(()=>{var M=Ag();return v(M,a),re(()=>Ge(M,"title",a())),M})()})(),null),v(j,S(ee,{get when(){return!e()},get children(){var Z=bg();return Z.$$mousedown=O,Z}}),null),v(j,S(ee,{get when(){return o()},children:Z=>S(cg,{open:!0,get projectId(){return Z().id},get projectName(){return Z().name},onClose:()=>c(null),onSaved:M=>K(M)})}),null),v(j,S(ee,{get when(){return l()},children:Z=>(()=>{var M=Cg();return v(M,()=>Z().message),re(Ee=>{var Se=`projects-sidebar-toast projects-sidebar-toast--${Z().type}`,fe=Z().type==="error"?"alert":"status";return Se!==Ee.e&&Xe(M,Ee.e=Se),fe!==Ee.t&&Ge(M,"role",Ee.t=fe),Ee},{e:void 0,t:void 0}),M})()}),null),v(j,S(ee,{get when(){return g()},children:Z=>[(()=>{var M=Sg();return M.$$click=()=>!h()&&p(null),M})(),(()=>{var M=Tg(),Ee=M.firstChild,Se=Ee.nextSibling,fe=Se.nextSibling,Le=fe.nextSibling,I=Le.firstChild,te=I.nextSibling;return M.$$mousedown=X=>X.stopPropagation(),v(Se,()=>Ia(Z())),v(M,S(ee,{get when(){return Z().worktree},get children(){var X=Ng(),ge=X.firstChild;return ge.addEventListener("change",he=>f(he.currentTarget.checked)),re(()=>ge.checked=b()),X}}),Le),I.$$click=()=>p(null),te.$$click=()=>void L(),v(te,()=>h()?"删除中…":"确认删除"),re(X=>{var ge=`${m().top}px`,he=`${m().left}px`,Re=h(),ye=h();return ge!==X.e&&fn(M,"top",X.e=ge),he!==X.t&&fn(M,"left",X.t=he),Re!==X.a&&(I.disabled=X.a=Re),ye!==X.o&&(te.disabled=X.o=ye),X},{e:void 0,t:void 0,a:void 0,o:void 0}),M})()]}),null),re(Z=>{var M=`projects-sidebar ${e()?"collapsed":"expanded"}`,Ee=P();return M!==Z.e&&Xe(j,Z.e=M),Z.t=Gi(j,Ee,Z.t),Z},{e:void 0,t:void 0}),j})()};ct(["click","mousedown"]);var Fg=T('<a class=primary-action target=_blank rel="noopener noreferrer">+ 新建 spec'),Pg=T("<div class=app><header class=topbar></header><div class=shell-body><main class=content>");const Bg=e=>{const t=Bn(),n=()=>/\/specs\/new$/.test(t.pathname),i=()=>br()!=="";it(()=>{const u=t.pathname.match(/^\/([^/]+)/);Ac(u&&u[1]!=="api"?u[1]:"")});const r=new Set;return it(()=>{const u=br();!u||r.has(u)||(r.add(u),tt.hydrateFromActiveRuns(u))}),(()=>{var u=Pg(),a=u.firstChild,s=a.nextSibling,o=s.firstChild;return v(a,S(It,{href:"/",class:"brand",children:"YorZ"}),null),v(a,S(ee,{get when(){return i()},get children(){return S(ee,{get when(){return n()},get fallback(){return S(It,{get href(){return $t("specs/new")},class:"primary-action",children:"+ 新建 spec"})},get children(){var c=Fg();return re(()=>Ge(c,"href",$t("specs/new"))),c}})}}),null),v(s,S(Lg,{}),o),v(o,()=>e.children),v(u,S(Jb,{}),null),u})()},Gs=document.getElementById("app");if(!Gs)throw new Error("missing #app root");$o(()=>S(mc,{root:Bg,get children(){return[S(nn,{path:"/",component:Ub}),S(nn,{path:"/:projectId",component:Jc}),S(nn,{path:"/:projectId/specs/new",component:vl}),S(nn,{path:"/:projectId/specs/:id",component:tb}),S(nn,{path:"/:projectId/specs/:id/review",component:hb}),S(nn,{path:"/:projectId/specs/:id/agent-logs",component:Tb}),S(nn,{path:"*",component:Us})]}}),Gs);queueMicrotask(()=>{const e=document.body,t=document.documentElement;console.log("[body-overflow-diagnostic]",{bodyScrollHeight:e.scrollHeight,bodyClientHeight:e.clientHeight,docScrollHeight:t.scrollHeight,docClientHeight:t.clientHeight,windowInnerHeight:window.innerHeight,bodyOverflowing:e.scrollHeight>e.clientHeight,docOverflowing:t.scrollHeight>t.clientHeight})});export{sp as _,Is as g};
|