most-box 0.3.7 → 0.3.9
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/README.md +12 -12
- package/electron/main.js +1 -1
- package/out/about/index.html +6 -5
- package/out/admin/index.html +0 -0
- package/out/app/index.html +0 -0
- package/out/assets/AccountMenu-BpUGPUSa.js +1 -0
- package/out/assets/{AppShell-CKP_dglR.js → AppShell-kfQyRhZy.js} +1 -1
- package/out/assets/{AppTop-C03PsDr_.js → AppTop-DydClKUv.js} +1 -1
- package/out/assets/{CopyButton-ClwBN6Iy.js → CopyButton-BN_vYKM8.js} +1 -1
- package/out/assets/{MarketingHeader-ChTIIzXG.js → MarketingHeader-B0jpxRYu.js} +1 -1
- package/out/assets/MarketingLayout-D42kTRyf.js +1 -0
- package/out/assets/{MilkdownEditor-X9MUH_0q.js → MilkdownEditor-B9vfoUP9.js} +1 -1
- package/out/assets/{OpenSidebarButton-CXBAjjCE.js → OpenSidebarButton-BxKh_O5b.js} +1 -1
- package/out/assets/arrow-right-DcTPIyLV.js +1 -0
- package/out/assets/{arrow-up-down-DvLSz6Ma.js → arrow-up-down-gcWLrYup.js} +1 -1
- package/out/assets/{channelApi-C5eHetoJ.js → channelApi-DA2GY-k4.js} +1 -1
- package/out/assets/{chatJoinInvite-7tuD-STm.js → chatJoinInvite-Cwot1ykh.js} +1 -1
- package/out/assets/{circle-alert-DXVkx8p8.js → circle-alert-Dg9cBJgj.js} +1 -1
- package/out/assets/{copy-OwXDsstV.js → copy-BofKiKH_.js} +1 -1
- package/out/assets/{download-Cy2BlfKM.js → download-nQ9X-v0q.js} +1 -1
- package/out/assets/{downloadValidation-Dd43i9_9.js → downloadValidation-C0PecvKC.js} +1 -1
- package/out/assets/{external-link-D_AQSgxW.js → external-link-LcGMVTLE.js} +1 -1
- package/out/assets/{file-text-zvTER2mN.js → file-text-f1ij7Al1.js} +1 -1
- package/out/assets/{fingerprint-pattern-BT73ASEB.js → fingerprint-pattern-Z6NfIcxC.js} +1 -1
- package/out/assets/{folder-6pYYnS2-.js → folder-DGTODlX0.js} +1 -1
- package/out/assets/{folder-open-DOJ4bB58.js → folder-open-BKTeAP5z.js} +1 -1
- package/out/assets/{gamepad-2-BYqNgCQr.js → gamepad-2-q3ssU_CE.js} +1 -1
- package/out/assets/{hard-drive-DL1KJHmG.js → hard-drive-CMNAmPI5.js} +1 -1
- package/out/assets/i18n-BPfshhQc.js +1 -0
- package/out/assets/{index-DJzLHA0V.js → index-AZPpawN1.js} +7 -6
- package/out/assets/index-BP12tZtg.css +1 -0
- package/out/assets/{index.lazy-DA98XQ0Q.js → index.lazy-1oSrUtEc.js} +1 -1
- package/out/assets/index.lazy-B3eWk7i-.js +1 -0
- package/out/assets/{index.lazy-Cgrv1NmQ.js → index.lazy-BszFGhgk.js} +1 -1
- package/out/assets/{index.lazy-CTLlLPjy.js → index.lazy-CBPOnT1S.js} +1 -1
- package/out/assets/index.lazy-CJVtmxt4.js +1 -0
- package/out/assets/index.lazy-CJlJl0xA.js +1 -0
- package/out/assets/index.lazy-CUZLrlgS.js +2 -0
- package/out/assets/{index.lazy-BEDWJZPP.js → index.lazy-CV52vPw7.js} +1 -1
- package/out/assets/{index.lazy-C0L9TDqK.js → index.lazy-CfmDMCbY.js} +1 -1
- package/out/assets/{index.lazy-B8ud1tpC.js → index.lazy-ClcVulXE.js} +1 -1
- package/out/assets/index.lazy-DRAWcYlR.js +1 -0
- package/out/assets/index.lazy-Duk6GK1e.js +1 -0
- package/out/assets/{index.lazy-C8luNCxY.js → index.lazy-DxIMDfLH.js} +1 -1
- package/out/assets/{index.lazy-CT5TGyGl.js → index.lazy-e02LZDAI.js} +1 -1
- package/out/assets/{index.lazy-psYKmxdW.js → index.lazy-qvhZXEAD.js} +1 -1
- package/out/assets/{loader-C4pED_QP.js → loader-DAMqAKH7.js} +1 -1
- package/out/assets/{lock-yG7M7GkB.js → lock-Cigqt_VP.js} +1 -1
- package/out/assets/messages-square-Dr9v7Ilv.js +1 -0
- package/out/assets/{mp-cEQteKUC.js → mp-CFhRibX9.js} +1 -1
- package/out/assets/{music-Br2x8TKX.js → music-U7NZcQ6S.js} +1 -1
- package/out/assets/{notebook-pen-Bcd3MrtD.js → notebook-pen-CMRWy6ni.js} +1 -1
- package/out/assets/play-B6IGTGxm.js +1 -0
- package/out/assets/plus-C7wBmZvh.js +1 -0
- package/out/assets/{refresh-cw-CfkUlTK9.js → refresh-cw-Bxmcm8cn.js} +1 -1
- package/out/assets/{save-CfYzXcxH.js → save-CQyJvrmI.js} +1 -1
- package/out/assets/{saveLocalFile-DTgdBgO9.js → saveLocalFile-Dsoo9PmH.js} +1 -1
- package/out/assets/search-CURHlVZZ.js +1 -0
- package/out/assets/{send-Bie9hgHI.js → send-yxXCy-t8.js} +1 -1
- package/out/assets/{shield-check-2-h_eEXp.js → shield-check-Cq1PKT30.js} +1 -1
- package/out/assets/{smartphone-CrsocYJo.js → smartphone-D9j5h2Pg.js} +1 -1
- package/out/assets/{trash-2-B9gno5q6.js → trash-2-DQI0V0Rl.js} +1 -1
- package/out/assets/{triangle-alert-BhNtjKm2.js → triangle-alert-D8P4Ikwc.js} +1 -1
- package/out/assets/{upload-BmufnMFu.js → upload-PpzkqJnf.js} +1 -1
- package/out/assets/{useAppStore-DNhyhD20.js → useAppStore-Pjif7nCR.js} +1 -1
- package/out/assets/{useChannelMessages-BrqZa2SG.js → useChannelMessages-ncgJxjR8.js} +1 -1
- package/out/assets/{useGameRoom-B3wvUICl.js → useGameRoom-BHZNzWJt.js} +1 -1
- package/out/assets/{wallet-D6HZocla.js → wallet-Ts6jdQzi.js} +1 -1
- package/out/assets/{wifi-CILQyKk0.js → wifi-B1v_i_dr.js} +1 -1
- package/out/chat/index.html +0 -0
- package/out/chat/join/demo/index.html +0 -0
- package/out/chat/join/index.html +0 -0
- package/out/download/index.html +6 -5
- package/out/game/gandengyan/index.html +0 -0
- package/out/game/index.html +0 -0
- package/out/game/zhajinhua/index.html +0 -0
- package/out/index.html +6 -5
- package/out/note/index.html +0 -0
- package/out/ping/index.html +6 -5
- package/out/profile/index.html +0 -0
- package/out/web3/index.html +0 -0
- package/package.json +2 -1
- package/server/src/core/cid.js +1 -1
- package/server/src/core/zhajinhua.js +0 -88
- package/out/assets/AccountMenu-D_rcXDZr.js +0 -1
- package/out/assets/MarketingLayout-hkPAtieL.js +0 -1
- package/out/assets/arrow-right-BsHzC0ZL.js +0 -1
- package/out/assets/chatNoteDraft-DTy6In5R.js +0 -1
- package/out/assets/i18n-DKsg67mH.js +0 -1
- package/out/assets/index-FEwag7ej.css +0 -1
- package/out/assets/index.lazy-BQ_Dyw5C.js +0 -1
- package/out/assets/index.lazy-CnpeKB4C.js +0 -1
- package/out/assets/index.lazy-CwAN1t6l.js +0 -2
- package/out/assets/index.lazy-Cy249kq1.js +0 -1
- package/out/assets/index.lazy-DYhpVW5B.js +0 -3
- package/out/assets/index.lazy-b811JgFg.js +0 -1
- package/out/assets/message-square-CfApq8Ou.js +0 -1
- package/out/assets/play-DSHtNcOe.js +0 -1
- package/out/assets/search-DLBOUfny.js +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/dist-E74uGTy3.js","assets/dist-CSyRxrry.js","assets/dist-CIn7Xx5U.js","assets/dist-RU_cpjXQ.js","assets/dist-DIFFjNuO.js","assets/dist-Ct90qYA2.js","assets/jsx-runtime-Bt-cYkS5.js","assets/dist-DheA_Tyz.js","assets/dist-B5MBMmGa.js","assets/dist-DyZh1ncm.js","assets/dist-CgReC0ZE.js","assets/dist-eIeCvp_6.js","assets/dist-BV5CqsJD.js","assets/dist-DUB2IhWu.js","assets/dist-1jNICPWO.js","assets/dist-hEE2Ub__.js","assets/dist-K2s-Uj08.js","assets/dist-BBJOmVU3.js","assets/dist-C8Ue2rSs.js","assets/dist-CZIuQqmV.js","assets/dist-B3unnv5t.js","assets/dist-BAqJdUtV.js","assets/dist-Ba7fxbV-.js","assets/dockerfile-BLkNEvjs.js","assets/simple-mode-DRpGK0lJ.js","assets/factor-D7LVTn2l.js","assets/nsis-AQ_alPln.js","assets/pug-DyBTKFx8.js","assets/javascript-8HiN0ThV.js","assets/dist-BxxtNKuo.js","assets/dist-CaaBTHCc.js"])))=>i.map(i=>d[i]);
|
|
2
|
-
import{i as e,n as t,o as n,r,t as i}from"./jsx-runtime-Bt-cYkS5.js";import{a}from"./i18n-DKsg67mH.js";import{t as o}from"./index-DJzLHA0V.js";import{$ as s,A as c,B as l,Ct as u,Dt as d,E as f,Et as p,F as m,H as h,I as g,J as _,K as v,L as y,Mt as b,O as x,Ot as S,P as C,R as ee,S as w,St as T,T as te,Tt as ne,U as re,V as ie,W as ae,X as oe,Y as se,Z as ce,a as E,at as le,bt as ue,c as de,ct as fe,dt as pe,et as me,f as he,ft as ge,g as _e,gt as ve,it as D,j as ye,kt as be,l as xe,lt as Se,mt as Ce,n as we,nt as Te,o as Ee,ot as De,pt as Oe,q as ke,st as Ae,t as je,tt as Me,ut as Ne,v as Pe,vt as Fe,w as Ie,wt as Le,x as Re,xt as ze,z as Be}from"./dist-CSyRxrry.js";import{i as Ve,n as He,o as Ue,r as We}from"./dist-RU_cpjXQ.js";function Ge(e){var t=typeof e;return e!=null&&(t==`object`||t==`function`)}var Ke=typeof global==`object`&&global&&global.Object===Object&&global,qe=typeof self==`object`&&self&&self.Object===Object&&self,Je=Ke||qe||Function(`return this`)(),Ye=function(){return Je.Date.now()},Xe=/\s/;function Ze(e){for(var t=e.length;t--&&Xe.test(e.charAt(t)););return t}var Qe=/^\s+/;function $e(e){return e&&e.slice(0,Ze(e)+1).replace(Qe,``)}var et=Je.Symbol,tt=Object.prototype,nt=tt.hasOwnProperty,rt=tt.toString,it=et?et.toStringTag:void 0;function at(e){var t=nt.call(e,it),n=e[it];try{e[it]=void 0;var r=!0}catch{}var i=rt.call(e);return r&&(t?e[it]=n:delete e[it]),i}var ot=Object.prototype.toString;function st(e){return ot.call(e)}var ct=`[object Null]`,lt=`[object Undefined]`,ut=et?et.toStringTag:void 0;function dt(e){return e==null?e===void 0?lt:ct:ut&&ut in Object(e)?at(e):st(e)}function ft(e){return typeof e==`object`&&!!e}var pt=`[object Symbol]`;function mt(e){return typeof e==`symbol`||ft(e)&&dt(e)==pt}var ht=NaN,gt=/^[-+]0x[0-9a-f]+$/i,_t=/^0b[01]+$/i,vt=/^0o[0-7]+$/i,yt=parseInt;function bt(e){if(typeof e==`number`)return e;if(mt(e))return ht;if(Ge(e)){var t=typeof e.valueOf==`function`?e.valueOf():e;e=Ge(t)?t+``:t}if(typeof e!=`string`)return e===0?e:+e;e=$e(e);var n=_t.test(e);return n||vt.test(e)?yt(e.slice(2),n?2:8):gt.test(e)?ht:+e}var xt=`Expected a function`,St=Math.max,Ct=Math.min;function wt(e,t,n){var r,i,a,o,s,c,l=0,u=!1,d=!1,f=!0;if(typeof e!=`function`)throw TypeError(xt);t=bt(t)||0,Ge(n)&&(u=!!n.leading,d=`maxWait`in n,a=d?St(bt(n.maxWait)||0,t):a,f=`trailing`in n?!!n.trailing:f);function p(t){var n=r,a=i;return r=i=void 0,l=t,o=e.apply(a,n),o}function m(e){return l=e,s=setTimeout(_,t),u?p(e):o}function h(e){var n=e-c,r=e-l,i=t-n;return d?Ct(i,a-r):i}function g(e){var n=e-c,r=e-l;return c===void 0||n>=t||n<0||d&&r>=a}function _(){var e=Ye();if(g(e))return v(e);s=setTimeout(_,h(e))}function v(e){return s=void 0,f&&r?p(e):(r=i=void 0,o)}function y(){s!==void 0&&clearTimeout(s),l=0,r=c=i=s=void 0}function b(){return s===void 0?o:v(Ye())}function x(){var e=Ye(),n=g(e);if(r=arguments,i=this,c=e,n){if(s===void 0)return m(c);if(d)return clearTimeout(s),s=setTimeout(_,t),p(c)}return s===void 0&&(s=setTimeout(_,t)),o}return x.cancel=y,x.flush=b,x}function Tt(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function Et(e){return e}var Dt=Math.max;function Ot(e,t,n){return t=Dt(t===void 0?e.length-1:t,0),function(){for(var r=arguments,i=-1,a=Dt(r.length-t,0),o=Array(a);++i<a;)o[i]=r[t+i];i=-1;for(var s=Array(t+1);++i<t;)s[i]=r[i];return s[t]=n(o),Tt(e,this,s)}}function kt(e){return function(){return e}}var At=`[object AsyncFunction]`,jt=`[object Function]`,Mt=`[object GeneratorFunction]`,Nt=`[object Proxy]`;function Pt(e){if(!Ge(e))return!1;var t=dt(e);return t==jt||t==Mt||t==At||t==Nt}var Ft=Je[`__core-js_shared__`],It=function(){var e=/[^.]+$/.exec(Ft&&Ft.keys&&Ft.keys.IE_PROTO||``);return e?`Symbol(src)_1.`+e:``}();function Lt(e){return!!It&&It in e}var Rt=Function.prototype.toString;function zt(e){if(e!=null){try{return Rt.call(e)}catch{}try{return e+``}catch{}}return``}var Bt=/[\\^$.*+?()[\]{}|]/g,Vt=/^\[object .+?Constructor\]$/,Ht=Function.prototype,Ut=Object.prototype,Wt=Ht.toString,Gt=Ut.hasOwnProperty,Kt=RegExp(`^`+Wt.call(Gt).replace(Bt,`\\$&`).replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,`$1.*?`)+`$`);function qt(e){return!Ge(e)||Lt(e)?!1:(Pt(e)?Kt:Vt).test(zt(e))}function Jt(e,t){return e?.[t]}function Yt(e,t){var n=Jt(e,t);return qt(n)?n:void 0}var Xt=function(){try{var e=Yt(Object,`defineProperty`);return e({},``,{}),e}catch{}}(),Zt=Xt?function(e,t){return Xt(e,`toString`,{configurable:!0,enumerable:!1,value:kt(t),writable:!0})}:Et,Qt=800,$t=16,en=Date.now;function tn(e){var t=0,n=0;return function(){var r=en(),i=$t-(r-n);if(n=r,i>0){if(++t>=Qt)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var nn=tn(Zt);function rn(e,t){return nn(Ot(e,t,Et),e+``)}function an(){this.__data__=[],this.size=0}function on(e,t){return e===t||e!==e&&t!==t}function sn(e,t){for(var n=e.length;n--;)if(on(e[n][0],t))return n;return-1}var cn=Array.prototype.splice;function ln(e){var t=this.__data__,n=sn(t,e);return n<0?!1:(n==t.length-1?t.pop():cn.call(t,n,1),--this.size,!0)}function un(e){var t=this.__data__,n=sn(t,e);return n<0?void 0:t[n][1]}function dn(e){return sn(this.__data__,e)>-1}function fn(e,t){var n=this.__data__,r=sn(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}function pn(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}pn.prototype.clear=an,pn.prototype.delete=ln,pn.prototype.get=un,pn.prototype.has=dn,pn.prototype.set=fn;function mn(){this.__data__=new pn,this.size=0}function hn(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}function gn(e){return this.__data__.get(e)}function _n(e){return this.__data__.has(e)}var vn=Yt(Je,`Map`),yn=Yt(Object,`create`);function bn(){this.__data__=yn?yn(null):{},this.size=0}function xn(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=+!!t,t}var Sn=`__lodash_hash_undefined__`,Cn=Object.prototype.hasOwnProperty;function wn(e){var t=this.__data__;if(yn){var n=t[e];return n===Sn?void 0:n}return Cn.call(t,e)?t[e]:void 0}var Tn=Object.prototype.hasOwnProperty;function En(e){var t=this.__data__;return yn?t[e]!==void 0:Tn.call(t,e)}var Dn=`__lodash_hash_undefined__`;function On(e,t){var n=this.__data__;return this.size+=+!this.has(e),n[e]=yn&&t===void 0?Dn:t,this}function kn(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}kn.prototype.clear=bn,kn.prototype.delete=xn,kn.prototype.get=wn,kn.prototype.has=En,kn.prototype.set=On;function An(){this.size=0,this.__data__={hash:new kn,map:new(vn||pn),string:new kn}}function jn(e){var t=typeof e;return t==`string`||t==`number`||t==`symbol`||t==`boolean`?e!==`__proto__`:e===null}function Mn(e,t){var n=e.__data__;return jn(t)?n[typeof t==`string`?`string`:`hash`]:n.map}function Nn(e){var t=Mn(this,e).delete(e);return this.size-=+!!t,t}function Pn(e){return Mn(this,e).get(e)}function Fn(e){return Mn(this,e).has(e)}function In(e,t){var n=Mn(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}function Ln(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Ln.prototype.clear=An,Ln.prototype.delete=Nn,Ln.prototype.get=Pn,Ln.prototype.has=Fn,Ln.prototype.set=In;var Rn=200;function zn(e,t){var n=this.__data__;if(n instanceof pn){var r=n.__data__;if(!vn||r.length<Rn-1)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Ln(r)}return n.set(e,t),this.size=n.size,this}function Bn(e){var t=this.__data__=new pn(e);this.size=t.size}Bn.prototype.clear=mn,Bn.prototype.delete=hn,Bn.prototype.get=gn,Bn.prototype.has=_n,Bn.prototype.set=zn;function Vn(e,t,n){t==`__proto__`&&Xt?Xt(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function Hn(e,t,n){(n!==void 0&&!on(e[t],n)||n===void 0&&!(t in e))&&Vn(e,t,n)}function Un(e){return function(t,n,r){for(var i=-1,a=Object(t),o=r(t),s=o.length;s--;){var c=o[e?s:++i];if(n(a[c],c,a)===!1)break}return t}}var Wn=Un(),Gn=typeof exports==`object`&&exports&&!exports.nodeType&&exports,Kn=Gn&&typeof module==`object`&&module&&!module.nodeType&&module,qn=Kn&&Kn.exports===Gn?Je.Buffer:void 0,Jn=qn?qn.allocUnsafe:void 0;function Yn(e,t){if(t)return e.slice();var n=e.length,r=Jn?Jn(n):new e.constructor(n);return e.copy(r),r}var Xn=Je.Uint8Array;function Zn(e){var t=new e.constructor(e.byteLength);return new Xn(t).set(new Xn(e)),t}function Qn(e,t){var n=t?Zn(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function $n(e,t){var n=-1,r=e.length;for(t||=Array(r);++n<r;)t[n]=e[n];return t}var er=Object.create,tr=function(){function e(){}return function(t){if(!Ge(t))return{};if(er)return er(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();function nr(e,t){return function(n){return e(t(n))}}var rr=nr(Object.getPrototypeOf,Object),ir=Object.prototype;function ar(e){var t=e&&e.constructor;return e===(typeof t==`function`&&t.prototype||ir)}function or(e){return typeof e.constructor==`function`&&!ar(e)?tr(rr(e)):{}}var sr=`[object Arguments]`;function cr(e){return ft(e)&&dt(e)==sr}var lr=Object.prototype,ur=lr.hasOwnProperty,dr=lr.propertyIsEnumerable,fr=cr(function(){return arguments}())?cr:function(e){return ft(e)&&ur.call(e,`callee`)&&!dr.call(e,`callee`)},pr=Array.isArray,mr=9007199254740991;function hr(e){return typeof e==`number`&&e>-1&&e%1==0&&e<=mr}function gr(e){return e!=null&&hr(e.length)&&!Pt(e)}function _r(e){return ft(e)&&gr(e)}function vr(){return!1}var yr=typeof exports==`object`&&exports&&!exports.nodeType&&exports,br=yr&&typeof module==`object`&&module&&!module.nodeType&&module,xr=br&&br.exports===yr?Je.Buffer:void 0,Sr=(xr?xr.isBuffer:void 0)||vr,Cr=`[object Object]`,wr=Function.prototype,Tr=Object.prototype,Er=wr.toString,Dr=Tr.hasOwnProperty,Or=Er.call(Object);function kr(e){if(!ft(e)||dt(e)!=Cr)return!1;var t=rr(e);if(t===null)return!0;var n=Dr.call(t,`constructor`)&&t.constructor;return typeof n==`function`&&n instanceof n&&Er.call(n)==Or}var Ar=`[object Arguments]`,jr=`[object Array]`,Mr=`[object Boolean]`,Nr=`[object Date]`,Pr=`[object Error]`,Fr=`[object Function]`,Ir=`[object Map]`,Lr=`[object Number]`,Rr=`[object Object]`,zr=`[object RegExp]`,Br=`[object Set]`,Vr=`[object String]`,Hr=`[object WeakMap]`,Ur=`[object ArrayBuffer]`,Wr=`[object DataView]`,Gr=`[object Float32Array]`,Kr=`[object Float64Array]`,qr=`[object Int8Array]`,Jr=`[object Int16Array]`,Yr=`[object Int32Array]`,Xr=`[object Uint8Array]`,Zr=`[object Uint8ClampedArray]`,Qr=`[object Uint16Array]`,$r=`[object Uint32Array]`,ei={};ei[Gr]=ei[Kr]=ei[qr]=ei[Jr]=ei[Yr]=ei[Xr]=ei[Zr]=ei[Qr]=ei[$r]=!0,ei[Ar]=ei[jr]=ei[Ur]=ei[Mr]=ei[Wr]=ei[Nr]=ei[Pr]=ei[Fr]=ei[Ir]=ei[Lr]=ei[Rr]=ei[zr]=ei[Br]=ei[Vr]=ei[Hr]=!1;function ti(e){return ft(e)&&hr(e.length)&&!!ei[dt(e)]}function ni(e){return function(t){return e(t)}}var ri=typeof exports==`object`&&exports&&!exports.nodeType&&exports,ii=ri&&typeof module==`object`&&module&&!module.nodeType&&module,ai=ii&&ii.exports===ri&&Ke.process,oi=function(){try{return ii&&ii.require&&ii.require(`util`).types||ai&&ai.binding&&ai.binding(`util`)}catch{}}(),si=oi&&oi.isTypedArray,ci=si?ni(si):ti;function li(e,t){if(!(t===`constructor`&&typeof e[t]==`function`)&&t!=`__proto__`)return e[t]}var ui=Object.prototype.hasOwnProperty;function di(e,t,n){var r=e[t];(!(ui.call(e,t)&&on(r,n))||n===void 0&&!(t in e))&&Vn(e,t,n)}function fi(e,t,n,r){var i=!n;n||={};for(var a=-1,o=t.length;++a<o;){var s=t[a],c=r?r(n[s],e[s],s,n,e):void 0;c===void 0&&(c=e[s]),i?Vn(n,s,c):di(n,s,c)}return n}function pi(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}var mi=9007199254740991,hi=/^(?:0|[1-9]\d*)$/;function gi(e,t){var n=typeof e;return t??=mi,!!t&&(n==`number`||n!=`symbol`&&hi.test(e))&&e>-1&&e%1==0&&e<t}var _i=Object.prototype.hasOwnProperty;function vi(e,t){var n=pr(e),r=!n&&fr(e),i=!n&&!r&&Sr(e),a=!n&&!r&&!i&&ci(e),o=n||r||i||a,s=o?pi(e.length,String):[],c=s.length;for(var l in e)(t||_i.call(e,l))&&!(o&&(l==`length`||i&&(l==`offset`||l==`parent`)||a&&(l==`buffer`||l==`byteLength`||l==`byteOffset`)||gi(l,c)))&&s.push(l);return s}function yi(e){var t=[];if(e!=null)for(var n in Object(e))t.push(n);return t}var bi=Object.prototype.hasOwnProperty;function xi(e){if(!Ge(e))return yi(e);var t=ar(e),n=[];for(var r in e)r==`constructor`&&(t||!bi.call(e,r))||n.push(r);return n}function Si(e){return gr(e)?vi(e,!0):xi(e)}function Ci(e){return fi(e,Si(e))}function wi(e,t,n,r,i,a,o){var s=li(e,n),c=li(t,n),l=o.get(c);if(l){Hn(e,n,l);return}var u=a?a(s,c,n+``,e,t,o):void 0,d=u===void 0;if(d){var f=pr(c),p=!f&&Sr(c),m=!f&&!p&&ci(c);u=c,f||p||m?pr(s)?u=s:_r(s)?u=$n(s):p?(d=!1,u=Yn(c,!0)):m?(d=!1,u=Qn(c,!0)):u=[]:kr(c)||fr(c)?(u=s,fr(s)?u=Ci(s):(!Ge(s)||Pt(s))&&(u=or(c))):d=!1}d&&(o.set(c,u),i(u,c,r,a,o),o.delete(c)),Hn(e,n,u)}function Ti(e,t,n,r,i){e!==t&&Wn(t,function(a,o){if(i||=new Bn,Ge(a))wi(e,t,o,n,Ti,r,i);else{var s=r?r(li(e,o),a,o+``,e,t,i):void 0;s===void 0&&(s=a),Hn(e,o,s)}},Si)}function Ei(e,t,n,r,i,a){return Ge(e)&&Ge(t)&&(a.set(t,e),Ti(e,t,void 0,Ei,a),a.delete(t)),e}function Di(e,t,n){if(!Ge(n))return!1;var r=typeof t;return(r==`number`?gr(n)&&gi(t,n.length):r==`string`&&t in n)?on(n[t],e):!1}function Oi(e){return rn(function(t,n){var r=-1,i=n.length,a=i>1?n[i-1]:void 0,o=i>2?n[2]:void 0;for(a=e.length>3&&typeof a==`function`?(i--,a):void 0,o&&Di(n[0],n[1],o)&&(a=i<3?void 0:a,i=1),t=Object(t);++r<i;){var s=n[r];s&&e(t,s,r,a)}return t})}var ki=Oi(function(e,t,n,r){Ti(e,t,n,r)}),Ai=rn(function(e){return e.push(void 0,Ei),Tt(ki,void 0,e)}),ji=`Expected a function`;function Mi(e,t,n){var r=!0,i=!0;if(typeof e!=`function`)throw TypeError(ji);return Ge(n)&&(r=`leading`in n?!!n.leading:r,i=`trailing`in n?!!n.trailing:i),wt(e,t,{leading:r,maxWait:t,trailing:i})}var Ni=n(t(),1);function O(e){return new Ee(de.define(e))}function Pi(e){return o(()=>import(`./dist-E74uGTy3.js`).then(t=>t.sql({dialect:t[e]})),__vite__mapDeps([0,1,2,3]))}var Fi=[E.of({name:`C`,extensions:[`c`,`h`,`ino`],load(){return o(()=>import(`./dist-DIFFjNuO.js`).then(e=>e.cpp()),__vite__mapDeps([4,1,2]))}}),E.of({name:`C++`,alias:[`cpp`],extensions:[`cpp`,`c++`,`cc`,`cxx`,`hpp`,`h++`,`hh`,`hxx`],load(){return o(()=>import(`./dist-DIFFjNuO.js`).then(e=>e.cpp()),__vite__mapDeps([4,1,2]))}}),E.of({name:`CQL`,alias:[`cassandra`],extensions:[`cql`],load(){return Pi(`Cassandra`)}}),E.of({name:`CSS`,extensions:[`css`],load(){return o(()=>import(`./dist-Ct90qYA2.js`).then(e=>e.i).then(e=>e.css()),__vite__mapDeps([5,6,1,2]))}}),E.of({name:`Go`,extensions:[`go`],load(){return o(()=>import(`./dist-DheA_Tyz.js`).then(e=>e.go()),__vite__mapDeps([7,1,2,3]))}}),E.of({name:`HTML`,alias:[`xhtml`],extensions:[`html`,`htm`,`handlebars`,`hbs`],load(){return o(()=>import(`./dist-B5MBMmGa.js`).then(e=>e.html()),__vite__mapDeps([8,1,2,5,6,9,3]))}}),E.of({name:`Java`,extensions:[`java`],load(){return o(()=>import(`./dist-CgReC0ZE.js`).then(e=>e.java()),__vite__mapDeps([10,1,2]))}}),E.of({name:`JavaScript`,alias:[`ecmascript`,`js`,`node`],extensions:[`js`,`mjs`,`cjs`],load(){return o(()=>import(`./dist-DyZh1ncm.js`).then(e=>e.t).then(e=>e.javascript()),__vite__mapDeps([9,6,1,2,3]))}}),E.of({name:`Jinja`,extensions:[`j2`,`jinja`,`jinja2`],load(){return o(()=>import(`./dist-eIeCvp_6.js`).then(e=>e.jinja()),__vite__mapDeps([11,1,2,8,5,6,9,3]))}}),E.of({name:`JSON`,alias:[`json5`],extensions:[`json`,`map`],load(){return o(()=>import(`./dist-BV5CqsJD.js`).then(e=>e.json()),__vite__mapDeps([12,1,2]))}}),E.of({name:`JSX`,extensions:[`jsx`],load(){return o(()=>import(`./dist-DyZh1ncm.js`).then(e=>e.t).then(e=>e.javascript({jsx:!0})),__vite__mapDeps([9,6,1,2,3]))}}),E.of({name:`LESS`,extensions:[`less`],load(){return o(()=>import(`./dist-DUB2IhWu.js`).then(e=>e.less()),__vite__mapDeps([13,1,2,5,6]))}}),E.of({name:`Liquid`,extensions:[`liquid`],load(){return o(()=>import(`./dist-1jNICPWO.js`).then(e=>e.liquid()),__vite__mapDeps([14,1,2,8,5,6,9,3]))}}),E.of({name:`MariaDB SQL`,load(){return Pi(`MariaSQL`)}}),E.of({name:`Markdown`,extensions:[`md`,`markdown`,`mkd`],load(){return o(()=>import(`./dist-hEE2Ub__.js`).then(e=>e.markdown()),__vite__mapDeps([15,1,3,8,2,5,6,9]))}}),E.of({name:`MS SQL`,load(){return Pi(`MSSQL`)}}),E.of({name:`MySQL`,load(){return Pi(`MySQL`)}}),E.of({name:`PHP`,extensions:[`php`,`php3`,`php4`,`php5`,`php7`,`phtml`],load(){return o(()=>import(`./dist-K2s-Uj08.js`).then(e=>e.php()),__vite__mapDeps([16,1,2,8,5,6,9,3]))}}),E.of({name:`PLSQL`,extensions:[`pls`],load(){return Pi(`PLSQL`)}}),E.of({name:`PostgreSQL`,load(){return Pi(`PostgreSQL`)}}),E.of({name:`Python`,extensions:[`BUILD`,`bzl`,`py`,`pyw`],filename:/^(BUCK|BUILD)$/,load(){return o(()=>import(`./dist-BBJOmVU3.js`).then(e=>e.python()),__vite__mapDeps([17,1,2,3]))}}),E.of({name:`Rust`,extensions:[`rs`],load(){return o(()=>import(`./dist-C8Ue2rSs.js`).then(e=>e.rust()),__vite__mapDeps([18,1,2]))}}),E.of({name:`Sass`,extensions:[`sass`],load(){return o(()=>import(`./dist-CZIuQqmV.js`).then(e=>e.sass({indented:!0})),__vite__mapDeps([19,1,2,5,6]))}}),E.of({name:`SCSS`,extensions:[`scss`],load(){return o(()=>import(`./dist-CZIuQqmV.js`).then(e=>e.sass()),__vite__mapDeps([19,1,2,5,6]))}}),E.of({name:`SQL`,extensions:[`sql`],load(){return Pi(`StandardSQL`)}}),E.of({name:`SQLite`,load(){return Pi(`SQLite`)}}),E.of({name:`TSX`,extensions:[`tsx`],load(){return o(()=>import(`./dist-DyZh1ncm.js`).then(e=>e.t).then(e=>e.javascript({jsx:!0,typescript:!0})),__vite__mapDeps([9,6,1,2,3]))}}),E.of({name:`TypeScript`,alias:[`ts`],extensions:[`ts`,`mts`,`cts`],load(){return o(()=>import(`./dist-DyZh1ncm.js`).then(e=>e.t).then(e=>e.javascript({typescript:!0})),__vite__mapDeps([9,6,1,2,3]))}}),E.of({name:`WebAssembly`,extensions:[`wat`,`wast`],load(){return o(()=>import(`./dist-B3unnv5t.js`).then(e=>e.wast()),__vite__mapDeps([20,1,2]))}}),E.of({name:`XML`,alias:[`rss`,`wsdl`,`xsd`],extensions:[`xml`,`xsl`,`xsd`,`svg`],load(){return o(()=>import(`./dist-BAqJdUtV.js`).then(e=>e.xml()),__vite__mapDeps([21,1,2]))}}),E.of({name:`YAML`,alias:[`yml`],extensions:[`yaml`,`yml`],load(){return o(()=>import(`./dist-Ba7fxbV-.js`).then(e=>e.yaml()),__vite__mapDeps([22,1,2]))}}),E.of({name:`APL`,extensions:[`dyalog`,`apl`],load(){return o(()=>import(`./apl-CnwPGSsG.js`).then(e=>O(e.apl)),[])}}),E.of({name:`PGP`,alias:[`asciiarmor`],extensions:[`asc`,`pgp`,`sig`],load(){return o(()=>import(`./asciiarmor-qTkVPQu6.js`).then(e=>O(e.asciiArmor)),[])}}),E.of({name:`ASN.1`,extensions:[`asn`,`asn1`],load(){return o(()=>import(`./asn1-Dr8qZg38.js`).then(e=>O(e.asn1({}))),[])}}),E.of({name:`Asterisk`,filename:/^extensions\.conf$/i,load(){return o(()=>import(`./asterisk-Bja0s6e1.js`).then(e=>O(e.asterisk)),[])}}),E.of({name:`Brainfuck`,extensions:[`b`,`bf`],load(){return o(()=>import(`./brainfuck-D5EjA2JK.js`).then(e=>O(e.brainfuck)),[])}}),E.of({name:`Cobol`,extensions:[`cob`,`cpy`],load(){return o(()=>import(`./cobol-DHLQUbN7.js`).then(e=>O(e.cobol)),[])}}),E.of({name:`C#`,alias:[`csharp`,`cs`],extensions:[`cs`],load(){return o(()=>import(`./clike-DHH8Ad3s.js`).then(e=>O(e.csharp)),[])}}),E.of({name:`Clojure`,extensions:[`clj`,`cljc`,`cljx`],load(){return o(()=>import(`./clojure-BflJGmDX.js`).then(e=>O(e.clojure)),[])}}),E.of({name:`ClojureScript`,extensions:[`cljs`],load(){return o(()=>import(`./clojure-BflJGmDX.js`).then(e=>O(e.clojure)),[])}}),E.of({name:`Closure Stylesheets (GSS)`,extensions:[`gss`],load(){return o(()=>import(`./css-CYpP4FRV.js`).then(e=>O(e.gss)),[])}}),E.of({name:`CMake`,extensions:[`cmake`,`cmake.in`],filename:/^CMakeLists\.txt$/,load(){return o(()=>import(`./cmake-CyVbuzPu.js`).then(e=>O(e.cmake)),[])}}),E.of({name:`CoffeeScript`,alias:[`coffee`,`coffee-script`],extensions:[`coffee`],load(){return o(()=>import(`./coffeescript-B2pKbFk8.js`).then(e=>O(e.coffeeScript)),[])}}),E.of({name:`Common Lisp`,alias:[`lisp`],extensions:[`cl`,`lisp`,`el`],load(){return o(()=>import(`./commonlisp-CcllspGY.js`).then(e=>O(e.commonLisp)),[])}}),E.of({name:`Cypher`,extensions:[`cyp`,`cypher`],load(){return o(()=>import(`./cypher-p9eYesGn.js`).then(e=>O(e.cypher)),[])}}),E.of({name:`Cython`,extensions:[`pyx`,`pxd`,`pxi`],load(){return o(()=>import(`./python-BqYw9LYJ.js`).then(e=>O(e.cython)),[])}}),E.of({name:`Crystal`,extensions:[`cr`],load(){return o(()=>import(`./crystal-M5-qzICs.js`).then(e=>O(e.crystal)),[])}}),E.of({name:`D`,extensions:[`d`],load(){return o(()=>import(`./d-BhMjBjQP.js`).then(e=>O(e.d)),[])}}),E.of({name:`Dart`,extensions:[`dart`],load(){return o(()=>import(`./clike-DHH8Ad3s.js`).then(e=>O(e.dart)),[])}}),E.of({name:`diff`,extensions:[`diff`,`patch`],load(){return o(()=>import(`./diff-ChtP43wD.js`).then(e=>O(e.diff)),[])}}),E.of({name:`Dockerfile`,filename:/^Dockerfile$/,load(){return o(()=>import(`./dockerfile-BLkNEvjs.js`).then(e=>O(e.dockerFile)),__vite__mapDeps([23,24]))}}),E.of({name:`DTD`,extensions:[`dtd`],load(){return o(()=>import(`./dtd-DTF72YNO.js`).then(e=>O(e.dtd)),[])}}),E.of({name:`Dylan`,extensions:[`dylan`,`dyl`,`intr`],load(){return o(()=>import(`./dylan-C6jEEEk-.js`).then(e=>O(e.dylan)),[])}}),E.of({name:`EBNF`,load(){return o(()=>import(`./ebnf-D4c0_ac3.js`).then(e=>O(e.ebnf)),[])}}),E.of({name:`ECL`,extensions:[`ecl`],load(){return o(()=>import(`./ecl-BSZaIHnp.js`).then(e=>O(e.ecl)),[])}}),E.of({name:`edn`,extensions:[`edn`],load(){return o(()=>import(`./clojure-BflJGmDX.js`).then(e=>O(e.clojure)),[])}}),E.of({name:`Eiffel`,extensions:[`e`],load(){return o(()=>import(`./eiffel-BEjRio4Q.js`).then(e=>O(e.eiffel)),[])}}),E.of({name:`Elm`,extensions:[`elm`],load(){return o(()=>import(`./elm-Cshzl8qu.js`).then(e=>O(e.elm)),[])}}),E.of({name:`Erlang`,extensions:[`erl`],load(){return o(()=>import(`./erlang-DaB2Rkuy.js`).then(e=>O(e.erlang)),[])}}),E.of({name:`Esper`,load(){return o(()=>import(`./sql-DcCJ9jop.js`).then(e=>O(e.esper)),[])}}),E.of({name:`Factor`,extensions:[`factor`],load(){return o(()=>import(`./factor-D7LVTn2l.js`).then(e=>O(e.factor)),__vite__mapDeps([25,24]))}}),E.of({name:`FCL`,load(){return o(()=>import(`./fcl-ClOhbFR7.js`).then(e=>O(e.fcl)),[])}}),E.of({name:`Forth`,extensions:[`forth`,`fth`,`4th`],load(){return o(()=>import(`./forth-Cezjo90N.js`).then(e=>O(e.forth)),[])}}),E.of({name:`Fortran`,extensions:[`f`,`for`,`f77`,`f90`,`f95`],load(){return o(()=>import(`./fortran-Bt6PBEDR.js`).then(e=>O(e.fortran)),[])}}),E.of({name:`F#`,alias:[`fsharp`],extensions:[`fs`],load(){return o(()=>import(`./mllike-B45xgp2S.js`).then(e=>O(e.fSharp)),[])}}),E.of({name:`Gas`,extensions:[`s`],load(){return o(()=>import(`./gas-BHEdbvp9.js`).then(e=>O(e.gas)),[])}}),E.of({name:`Gherkin`,extensions:[`feature`],load(){return o(()=>import(`./gherkin-oBAE_ms0.js`).then(e=>O(e.gherkin)),[])}}),E.of({name:`Groovy`,extensions:[`groovy`,`gradle`],filename:/^Jenkinsfile$/,load(){return o(()=>import(`./groovy-BC3IOsC8.js`).then(e=>O(e.groovy)),[])}}),E.of({name:`Haskell`,extensions:[`hs`],load(){return o(()=>import(`./haskell-BRsoo5mP.js`).then(e=>O(e.haskell)),[])}}),E.of({name:`Haxe`,extensions:[`hx`],load(){return o(()=>import(`./haxe-DjVOVvNP.js`).then(e=>O(e.haxe)),[])}}),E.of({name:`HXML`,extensions:[`hxml`],load(){return o(()=>import(`./haxe-DjVOVvNP.js`).then(e=>O(e.hxml)),[])}}),E.of({name:`HTTP`,load(){return o(()=>import(`./http-CLVgA2GD.js`).then(e=>O(e.http)),[])}}),E.of({name:`IDL`,extensions:[`pro`],load(){return o(()=>import(`./idl-BUZw3wgd.js`).then(e=>O(e.idl)),[])}}),E.of({name:`JSON-LD`,alias:[`jsonld`],extensions:[`jsonld`],load(){return o(()=>import(`./javascript-8HiN0ThV.js`).then(e=>O(e.jsonld)),[])}}),E.of({name:`Julia`,extensions:[`jl`],load(){return o(()=>import(`./julia-CQfgDRfP.js`).then(e=>O(e.julia)),[])}}),E.of({name:`Kotlin`,extensions:[`kt`,`kts`],load(){return o(()=>import(`./clike-DHH8Ad3s.js`).then(e=>O(e.kotlin)),[])}}),E.of({name:`LiveScript`,alias:[`ls`],extensions:[`ls`],load(){return o(()=>import(`./livescript-BXxG0Yva.js`).then(e=>O(e.liveScript)),[])}}),E.of({name:`Lua`,extensions:[`lua`],load(){return o(()=>import(`./lua-CiA1ziua.js`).then(e=>O(e.lua)),[])}}),E.of({name:`mIRC`,extensions:[`mrc`],load(){return o(()=>import(`./mirc-C9zpzAZU.js`).then(e=>O(e.mirc)),[])}}),E.of({name:`Mathematica`,extensions:[`m`,`nb`,`wl`,`wls`],load(){return o(()=>import(`./mathematica-u8YMmbU0.js`).then(e=>O(e.mathematica)),[])}}),E.of({name:`Modelica`,extensions:[`mo`],load(){return o(()=>import(`./modelica-CqHI_q-D.js`).then(e=>O(e.modelica)),[])}}),E.of({name:`MUMPS`,extensions:[`mps`],load(){return o(()=>import(`./mumps-CW_TBmxz.js`).then(e=>O(e.mumps)),[])}}),E.of({name:`Mbox`,extensions:[`mbox`],load(){return o(()=>import(`./mbox-BEMVcqjs.js`).then(e=>O(e.mbox)),[])}}),E.of({name:`Nginx`,filename:/nginx.*\.conf$/i,load(){return o(()=>import(`./nginx-BMaDbqW3.js`).then(e=>O(e.nginx)),[])}}),E.of({name:`NSIS`,extensions:[`nsh`,`nsi`],load(){return o(()=>import(`./nsis-AQ_alPln.js`).then(e=>O(e.nsis)),__vite__mapDeps([26,24]))}}),E.of({name:`NTriples`,extensions:[`nt`,`nq`],load(){return o(()=>import(`./ntriples-d28e9m0E.js`).then(e=>O(e.ntriples)),[])}}),E.of({name:`Objective-C`,alias:[`objective-c`,`objc`],extensions:[`m`],load(){return o(()=>import(`./clike-DHH8Ad3s.js`).then(e=>O(e.objectiveC)),[])}}),E.of({name:`Objective-C++`,alias:[`objective-c++`,`objc++`],extensions:[`mm`],load(){return o(()=>import(`./clike-DHH8Ad3s.js`).then(e=>O(e.objectiveCpp)),[])}}),E.of({name:`OCaml`,extensions:[`ml`,`mli`,`mll`,`mly`],load(){return o(()=>import(`./mllike-B45xgp2S.js`).then(e=>O(e.oCaml)),[])}}),E.of({name:`Octave`,extensions:[`m`],load(){return o(()=>import(`./octave-D2Q8cUp1.js`).then(e=>O(e.octave)),[])}}),E.of({name:`Oz`,extensions:[`oz`],load(){return o(()=>import(`./oz-BwTct_5T.js`).then(e=>O(e.oz)),[])}}),E.of({name:`Pascal`,extensions:[`p`,`pas`],load(){return o(()=>import(`./pascal-Dp_KdFgX.js`).then(e=>O(e.pascal)),[])}}),E.of({name:`Perl`,extensions:[`pl`,`pm`],load(){return o(()=>import(`./perl-CdEHsPfU.js`).then(e=>O(e.perl)),[])}}),E.of({name:`Pig`,extensions:[`pig`],load(){return o(()=>import(`./pig-AF4Hwhju.js`).then(e=>O(e.pig)),[])}}),E.of({name:`PowerShell`,extensions:[`ps1`,`psd1`,`psm1`],load(){return o(()=>import(`./powershell-CzG71I4L.js`).then(e=>O(e.powerShell)),[])}}),E.of({name:`Properties files`,alias:[`ini`,`properties`],extensions:[`properties`,`ini`,`in`],load(){return o(()=>import(`./properties-C357ku5U.js`).then(e=>O(e.properties)),[])}}),E.of({name:`ProtoBuf`,extensions:[`proto`],load(){return o(()=>import(`./protobuf-D1ij_kNL.js`).then(e=>O(e.protobuf)),[])}}),E.of({name:`Pug`,alias:[`jade`],extensions:[`pug`,`jade`],load(){return o(()=>import(`./pug-DyBTKFx8.js`).then(e=>O(e.pug)),__vite__mapDeps([27,28]))}}),E.of({name:`Puppet`,extensions:[`pp`],load(){return o(()=>import(`./puppet-B4hC2X4m.js`).then(e=>O(e.puppet)),[])}}),E.of({name:`Q`,extensions:[`q`],load(){return o(()=>import(`./q-B9NhS7L_.js`).then(e=>O(e.q)),[])}}),E.of({name:`R`,alias:[`rscript`],extensions:[`r`,`R`],load(){return o(()=>import(`./r-DADKenSm.js`).then(e=>O(e.r)),[])}}),E.of({name:`RPM Changes`,load(){return o(()=>import(`./rpm-gpDK5sbt.js`).then(e=>O(e.rpmChanges)),[])}}),E.of({name:`RPM Spec`,extensions:[`spec`],load(){return o(()=>import(`./rpm-gpDK5sbt.js`).then(e=>O(e.rpmSpec)),[])}}),E.of({name:`Ruby`,alias:[`jruby`,`macruby`,`rake`,`rb`,`rbx`],extensions:[`rb`],filename:/^(Gemfile|Rakefile)$/,load(){return o(()=>import(`./ruby-DsYpTuWg.js`).then(e=>O(e.ruby)),[])}}),E.of({name:`SAS`,extensions:[`sas`],load(){return o(()=>import(`./sas-C2OyD2Y6.js`).then(e=>O(e.sas)),[])}}),E.of({name:`Scala`,extensions:[`scala`],load(){return o(()=>import(`./clike-DHH8Ad3s.js`).then(e=>O(e.scala)),[])}}),E.of({name:`Scheme`,extensions:[`scm`,`ss`],load(){return o(()=>import(`./scheme-tChLYBuY.js`).then(e=>O(e.scheme)),[])}}),E.of({name:`Shell`,alias:[`bash`,`sh`,`zsh`],extensions:[`sh`,`ksh`,`bash`],filename:/^PKGBUILD$/,load(){return o(()=>import(`./shell-Du5Qg9im.js`).then(e=>O(e.shell)),[])}}),E.of({name:`Sieve`,extensions:[`siv`,`sieve`],load(){return o(()=>import(`./sieve-BAxa3IjF.js`).then(e=>O(e.sieve)),[])}}),E.of({name:`Smalltalk`,extensions:[`st`],load(){return o(()=>import(`./smalltalk-BLp5-jwC.js`).then(e=>O(e.smalltalk)),[])}}),E.of({name:`Solr`,load(){return o(()=>import(`./solr-BBopId9w.js`).then(e=>O(e.solr)),[])}}),E.of({name:`SML`,extensions:[`sml`,`sig`,`fun`,`smackspec`],load(){return o(()=>import(`./mllike-B45xgp2S.js`).then(e=>O(e.sml)),[])}}),E.of({name:`SPARQL`,alias:[`sparul`],extensions:[`rq`,`sparql`],load(){return o(()=>import(`./sparql-Dz-mlCAC.js`).then(e=>O(e.sparql)),[])}}),E.of({name:`Spreadsheet`,alias:[`excel`,`formula`],load(){return o(()=>import(`./spreadsheet-CTIncYxj.js`).then(e=>O(e.spreadsheet)),[])}}),E.of({name:`Squirrel`,extensions:[`nut`],load(){return o(()=>import(`./clike-DHH8Ad3s.js`).then(e=>O(e.squirrel)),[])}}),E.of({name:`Stylus`,extensions:[`styl`],load(){return o(()=>import(`./stylus-DLLZ8dgm.js`).then(e=>O(e.stylus)),[])}}),E.of({name:`Swift`,extensions:[`swift`],load(){return o(()=>import(`./swift-DKB6_1j6.js`).then(e=>O(e.swift)),[])}}),E.of({name:`sTeX`,load(){return o(()=>import(`./stex-sDrdk2BW.js`).then(e=>O(e.stex)),[])}}),E.of({name:`LaTeX`,alias:[`tex`],extensions:[`text`,`ltx`,`tex`],load(){return o(()=>import(`./stex-sDrdk2BW.js`).then(e=>O(e.stex)),[])}}),E.of({name:`SystemVerilog`,extensions:[`v`,`sv`,`svh`],load(){return o(()=>import(`./verilog-D-x6ne0Z.js`).then(e=>O(e.verilog)),[])}}),E.of({name:`Tcl`,extensions:[`tcl`],load(){return o(()=>import(`./tcl-BGfruO1u.js`).then(e=>O(e.tcl)),[])}}),E.of({name:`Textile`,extensions:[`textile`],load(){return o(()=>import(`./textile-CyzeGT9J.js`).then(e=>O(e.textile)),[])}}),E.of({name:`TiddlyWiki`,load(){return o(()=>import(`./tiddlywiki-VlUiK86J.js`).then(e=>O(e.tiddlyWiki)),[])}}),E.of({name:`Tiki wiki`,load(){return o(()=>import(`./tiki-CxVlf5KZ.js`).then(e=>O(e.tiki)),[])}}),E.of({name:`TOML`,extensions:[`toml`],load(){return o(()=>import(`./toml-LvoKBwCs.js`).then(e=>O(e.toml)),[])}}),E.of({name:`Troff`,extensions:[`1`,`2`,`3`,`4`,`5`,`6`,`7`,`8`,`9`],load(){return o(()=>import(`./troff-C2dAgh7P.js`).then(e=>O(e.troff)),[])}}),E.of({name:`TTCN`,extensions:[`ttcn`,`ttcn3`,`ttcnpp`],load(){return o(()=>import(`./ttcn-BePYh-hG.js`).then(e=>O(e.ttcn)),[])}}),E.of({name:`TTCN_CFG`,extensions:[`cfg`],load(){return o(()=>import(`./ttcn-cfg-CY0aot7Q.js`).then(e=>O(e.ttcnCfg)),[])}}),E.of({name:`Turtle`,extensions:[`ttl`],load(){return o(()=>import(`./turtle-Cx3rYX2g.js`).then(e=>O(e.turtle)),[])}}),E.of({name:`Web IDL`,extensions:[`webidl`],load(){return o(()=>import(`./webidl-D5jiJvOU.js`).then(e=>O(e.webIDL)),[])}}),E.of({name:`VB.NET`,extensions:[`vb`],load(){return o(()=>import(`./vb-BthdM_4N.js`).then(e=>O(e.vb)),[])}}),E.of({name:`VBScript`,extensions:[`vbs`],load(){return o(()=>import(`./vbscript-D9f6rSsU.js`).then(e=>O(e.vbScript)),[])}}),E.of({name:`Velocity`,extensions:[`vtl`],load(){return o(()=>import(`./velocity-CqftRsjg.js`).then(e=>O(e.velocity)),[])}}),E.of({name:`Verilog`,extensions:[`v`],load(){return o(()=>import(`./verilog-D-x6ne0Z.js`).then(e=>O(e.verilog)),[])}}),E.of({name:`VHDL`,extensions:[`vhd`,`vhdl`],load(){return o(()=>import(`./vhdl-CMrOq2q1.js`).then(e=>O(e.vhdl)),[])}}),E.of({name:`XQuery`,extensions:[`xy`,`xquery`,`xq`,`xqm`,`xqy`],load(){return o(()=>import(`./xquery-fj_R-kMw.js`).then(e=>O(e.xQuery)),[])}}),E.of({name:`Yacas`,extensions:[`ys`],load(){return o(()=>import(`./yacas-CXXgtw0p.js`).then(e=>O(e.yacas)),[])}}),E.of({name:`Z80`,extensions:[`z80`],load(){return o(()=>import(`./z80-CL1naaMV.js`).then(e=>O(e.z80)),[])}}),E.of({name:`MscGen`,extensions:[`mscgen`,`mscin`,`msc`],load(){return o(()=>import(`./mscgen-qgSLujhx.js`).then(e=>O(e.mscgen)),[])}}),E.of({name:`Xù`,extensions:[`xu`],load(){return o(()=>import(`./mscgen-qgSLujhx.js`).then(e=>O(e.xu)),[])}}),E.of({name:`MsGenny`,extensions:[`msgenny`],load(){return o(()=>import(`./mscgen-qgSLujhx.js`).then(e=>O(e.msgenny)),[])}}),E.of({name:`Vue`,extensions:[`vue`],load(){return o(()=>import(`./dist-BxxtNKuo.js`).then(e=>e.vue()),__vite__mapDeps([29,1,2,9,6,3,8,5]))}}),E.of({name:`Angular Template`,load(){return o(()=>import(`./dist-CaaBTHCc.js`).then(e=>e.angular()),__vite__mapDeps([30,1,2,9,6,3,8,5]))}})],Ii=`#e5c07b`,Li=`#e06c75`,Ri=`#56b6c2`,zi=`#ffffff`,Bi=`#abb2bf`,Vi=`#7d8799`,Hi=`#61afef`,Ui=`#98c379`,Wi=`#d19a66`,Gi=`#c678dd`,Ki=`#21252b`,qi=`#2c313a`,Ji=`#282c34`,Yi=`#353a42`,Xi=`#3E4451`,Zi=`#528bff`,Qi=[y.theme({"&":{color:Bi,backgroundColor:Ji},".cm-content":{caretColor:Zi},".cm-cursor, .cm-dropCursor":{borderLeftColor:Zi},"&.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground, .cm-selectionBackground, .cm-content ::selection":{backgroundColor:Xi},".cm-panels":{backgroundColor:Ki,color:Bi},".cm-panels.cm-panels-top":{borderBottom:`2px solid black`},".cm-panels.cm-panels-bottom":{borderTop:`2px solid black`},".cm-searchMatch":{backgroundColor:`#72a1ff59`,outline:`1px solid #457dff`},".cm-searchMatch.cm-searchMatch-selected":{backgroundColor:`#6199ff2f`},".cm-activeLine":{backgroundColor:`#6699ff0b`},".cm-selectionMatch":{backgroundColor:`#aafe661a`},"&.cm-focused .cm-matchingBracket, &.cm-focused .cm-nonmatchingBracket":{backgroundColor:`#bad0f847`},".cm-gutters":{backgroundColor:Ji,color:Vi,border:`none`},".cm-activeLineGutter":{backgroundColor:qi},".cm-foldPlaceholder":{backgroundColor:`transparent`,border:`none`,color:`#ddd`},".cm-tooltip":{border:`none`,backgroundColor:Yi},".cm-tooltip .cm-tooltip-arrow:before":{borderTopColor:`transparent`,borderBottomColor:`transparent`},".cm-tooltip .cm-tooltip-arrow:after":{borderTopColor:Yi,borderBottomColor:Yi},".cm-tooltip-autocomplete":{"& > ul > li[aria-selected]":{backgroundColor:qi,color:Bi}}},{dark:!0}),c(je.define([{tag:C.keyword,color:Gi},{tag:[C.name,C.deleted,C.character,C.propertyName,C.macroName],color:Li},{tag:[C.function(C.variableName),C.labelName],color:Hi},{tag:[C.color,C.constant(C.name),C.standard(C.name)],color:Wi},{tag:[C.definition(C.name),C.separator],color:Bi},{tag:[C.typeName,C.className,C.number,C.changed,C.annotation,C.modifier,C.self,C.namespace],color:Ii},{tag:[C.operator,C.operatorKeyword,C.url,C.escape,C.regexp,C.link,C.special(C.string)],color:Ri},{tag:[C.meta,C.comment],color:Vi},{tag:C.strong,fontWeight:`bold`},{tag:C.emphasis,fontStyle:`italic`},{tag:C.strikethrough,textDecoration:`line-through`},{tag:C.link,color:Vi,textDecoration:`underline`},{tag:C.heading,fontWeight:`bold`,color:Li},{tag:[C.atom,C.bool,C.special(C.variableName)],color:Wi},{tag:[C.processingInstruction,C.string,C.inserted],color:Ui},{tag:C.invalid,color:zi}]))],$i=function(e){return e.docTypeError=`docTypeError`,e.contextNotFound=`contextNotFound`,e.timerNotFound=`timerNotFound`,e.ctxCallOutOfScope=`ctxCallOutOfScope`,e.createNodeInParserFail=`createNodeInParserFail`,e.stackOverFlow=`stackOverFlow`,e.parserMatchError=`parserMatchError`,e.serializerMatchError=`serializerMatchError`,e.getAtomFromSchemaFail=`getAtomFromSchemaFail`,e.expectDomTypeError=`expectDomTypeError`,e.callCommandBeforeEditorView=`callCommandBeforeEditorView`,e.missingRootElement=`missingRootElement`,e.missingNodeInSchema=`missingNodeInSchema`,e.missingMarkInSchema=`missingMarkInSchema`,e.ctxNotBind=`ctxNotBind`,e.missingYjsDoc=`missingYjsDoc`,e.aiProviderError=`aiProviderError`,e.aiBuildContextError=`aiBuildContextError`,e}({}),ea=class extends Error{constructor(e,t,n){super(t,n),this.name=`MilkdownError`,this.code=e,n?.cause!==void 0&&(this.cause=n.cause)}},ta=(e,t)=>typeof t==`function`?`[Function]`:t,na=e=>JSON.stringify(e,ta);function ra(e){return new ea($i.docTypeError,`Doc type error, unsupported type: ${na(e)}`)}function ia(e){return new ea($i.contextNotFound,`Context "${e}" not found, do you forget to inject it?`)}function aa(e){return new ea($i.timerNotFound,`Timer "${e}" not found, do you forget to record it?`)}function oa(){return new ea($i.ctxCallOutOfScope,`Should not call a context out of the plugin.`)}function sa(e,t,n){let r=`Cannot create node for ${`name`in e?e.name:e}`,i=e=>{if(e==null)return`null`;if(Array.isArray(e))return`[${e.map(i).join(`, `)}]`;if(typeof e==`object`)return`toJSON`in e&&typeof e.toJSON==`function`?JSON.stringify(e.toJSON()):`spec`in e?JSON.stringify(e.spec):JSON.stringify(e);if(typeof e==`string`||typeof e==`number`||typeof e==`boolean`)return JSON.stringify(e);if(typeof e==`function`)return`[Function: ${e.name||`anonymous`}]`;try{return String(e)}catch{return`[Unserializable]`}},a=[[`[Description]`,r],[`[Attributes]`,t],[`[Content]`,(n??[]).map(e=>e?typeof e==`object`&&`type`in e?`${e}`:i(e):`null`)]].reduce((e,[t,n])=>{let r=`${t}: ${i(n)}.`;return e.concat(r)},[]);return new ea($i.createNodeInParserFail,a.join(`
|
|
2
|
+
import{i as e,n as t,o as n,r,t as i}from"./jsx-runtime-Bt-cYkS5.js";import{a}from"./i18n-BPfshhQc.js";import{t as o}from"./index-AZPpawN1.js";import{$ as s,A as c,B as l,Ct as u,Dt as d,E as f,Et as p,F as m,H as h,I as g,J as _,K as v,L as y,Mt as b,O as x,Ot as S,P as C,R as ee,S as w,St as T,T as te,Tt as ne,U as re,V as ie,W as ae,X as oe,Y as se,Z as ce,a as E,at as le,bt as ue,c as de,ct as fe,dt as pe,et as me,f as he,ft as ge,g as _e,gt as ve,it as D,j as ye,kt as be,l as xe,lt as Se,mt as Ce,n as we,nt as Te,o as Ee,ot as De,pt as Oe,q as ke,st as Ae,t as je,tt as Me,ut as Ne,v as Pe,vt as Fe,w as Ie,wt as Le,x as Re,xt as ze,z as Be}from"./dist-CSyRxrry.js";import{i as Ve,n as He,o as Ue,r as We}from"./dist-RU_cpjXQ.js";function Ge(e){var t=typeof e;return e!=null&&(t==`object`||t==`function`)}var Ke=typeof global==`object`&&global&&global.Object===Object&&global,qe=typeof self==`object`&&self&&self.Object===Object&&self,Je=Ke||qe||Function(`return this`)(),Ye=function(){return Je.Date.now()},Xe=/\s/;function Ze(e){for(var t=e.length;t--&&Xe.test(e.charAt(t)););return t}var Qe=/^\s+/;function $e(e){return e&&e.slice(0,Ze(e)+1).replace(Qe,``)}var et=Je.Symbol,tt=Object.prototype,nt=tt.hasOwnProperty,rt=tt.toString,it=et?et.toStringTag:void 0;function at(e){var t=nt.call(e,it),n=e[it];try{e[it]=void 0;var r=!0}catch{}var i=rt.call(e);return r&&(t?e[it]=n:delete e[it]),i}var ot=Object.prototype.toString;function st(e){return ot.call(e)}var ct=`[object Null]`,lt=`[object Undefined]`,ut=et?et.toStringTag:void 0;function dt(e){return e==null?e===void 0?lt:ct:ut&&ut in Object(e)?at(e):st(e)}function ft(e){return typeof e==`object`&&!!e}var pt=`[object Symbol]`;function mt(e){return typeof e==`symbol`||ft(e)&&dt(e)==pt}var ht=NaN,gt=/^[-+]0x[0-9a-f]+$/i,_t=/^0b[01]+$/i,vt=/^0o[0-7]+$/i,yt=parseInt;function bt(e){if(typeof e==`number`)return e;if(mt(e))return ht;if(Ge(e)){var t=typeof e.valueOf==`function`?e.valueOf():e;e=Ge(t)?t+``:t}if(typeof e!=`string`)return e===0?e:+e;e=$e(e);var n=_t.test(e);return n||vt.test(e)?yt(e.slice(2),n?2:8):gt.test(e)?ht:+e}var xt=`Expected a function`,St=Math.max,Ct=Math.min;function wt(e,t,n){var r,i,a,o,s,c,l=0,u=!1,d=!1,f=!0;if(typeof e!=`function`)throw TypeError(xt);t=bt(t)||0,Ge(n)&&(u=!!n.leading,d=`maxWait`in n,a=d?St(bt(n.maxWait)||0,t):a,f=`trailing`in n?!!n.trailing:f);function p(t){var n=r,a=i;return r=i=void 0,l=t,o=e.apply(a,n),o}function m(e){return l=e,s=setTimeout(_,t),u?p(e):o}function h(e){var n=e-c,r=e-l,i=t-n;return d?Ct(i,a-r):i}function g(e){var n=e-c,r=e-l;return c===void 0||n>=t||n<0||d&&r>=a}function _(){var e=Ye();if(g(e))return v(e);s=setTimeout(_,h(e))}function v(e){return s=void 0,f&&r?p(e):(r=i=void 0,o)}function y(){s!==void 0&&clearTimeout(s),l=0,r=c=i=s=void 0}function b(){return s===void 0?o:v(Ye())}function x(){var e=Ye(),n=g(e);if(r=arguments,i=this,c=e,n){if(s===void 0)return m(c);if(d)return clearTimeout(s),s=setTimeout(_,t),p(c)}return s===void 0&&(s=setTimeout(_,t)),o}return x.cancel=y,x.flush=b,x}function Tt(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function Et(e){return e}var Dt=Math.max;function Ot(e,t,n){return t=Dt(t===void 0?e.length-1:t,0),function(){for(var r=arguments,i=-1,a=Dt(r.length-t,0),o=Array(a);++i<a;)o[i]=r[t+i];i=-1;for(var s=Array(t+1);++i<t;)s[i]=r[i];return s[t]=n(o),Tt(e,this,s)}}function kt(e){return function(){return e}}var At=`[object AsyncFunction]`,jt=`[object Function]`,Mt=`[object GeneratorFunction]`,Nt=`[object Proxy]`;function Pt(e){if(!Ge(e))return!1;var t=dt(e);return t==jt||t==Mt||t==At||t==Nt}var Ft=Je[`__core-js_shared__`],It=function(){var e=/[^.]+$/.exec(Ft&&Ft.keys&&Ft.keys.IE_PROTO||``);return e?`Symbol(src)_1.`+e:``}();function Lt(e){return!!It&&It in e}var Rt=Function.prototype.toString;function zt(e){if(e!=null){try{return Rt.call(e)}catch{}try{return e+``}catch{}}return``}var Bt=/[\\^$.*+?()[\]{}|]/g,Vt=/^\[object .+?Constructor\]$/,Ht=Function.prototype,Ut=Object.prototype,Wt=Ht.toString,Gt=Ut.hasOwnProperty,Kt=RegExp(`^`+Wt.call(Gt).replace(Bt,`\\$&`).replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,`$1.*?`)+`$`);function qt(e){return!Ge(e)||Lt(e)?!1:(Pt(e)?Kt:Vt).test(zt(e))}function Jt(e,t){return e?.[t]}function Yt(e,t){var n=Jt(e,t);return qt(n)?n:void 0}var Xt=function(){try{var e=Yt(Object,`defineProperty`);return e({},``,{}),e}catch{}}(),Zt=Xt?function(e,t){return Xt(e,`toString`,{configurable:!0,enumerable:!1,value:kt(t),writable:!0})}:Et,Qt=800,$t=16,en=Date.now;function tn(e){var t=0,n=0;return function(){var r=en(),i=$t-(r-n);if(n=r,i>0){if(++t>=Qt)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var nn=tn(Zt);function rn(e,t){return nn(Ot(e,t,Et),e+``)}function an(){this.__data__=[],this.size=0}function on(e,t){return e===t||e!==e&&t!==t}function sn(e,t){for(var n=e.length;n--;)if(on(e[n][0],t))return n;return-1}var cn=Array.prototype.splice;function ln(e){var t=this.__data__,n=sn(t,e);return n<0?!1:(n==t.length-1?t.pop():cn.call(t,n,1),--this.size,!0)}function un(e){var t=this.__data__,n=sn(t,e);return n<0?void 0:t[n][1]}function dn(e){return sn(this.__data__,e)>-1}function fn(e,t){var n=this.__data__,r=sn(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}function pn(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}pn.prototype.clear=an,pn.prototype.delete=ln,pn.prototype.get=un,pn.prototype.has=dn,pn.prototype.set=fn;function mn(){this.__data__=new pn,this.size=0}function hn(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}function gn(e){return this.__data__.get(e)}function _n(e){return this.__data__.has(e)}var vn=Yt(Je,`Map`),yn=Yt(Object,`create`);function bn(){this.__data__=yn?yn(null):{},this.size=0}function xn(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=+!!t,t}var Sn=`__lodash_hash_undefined__`,Cn=Object.prototype.hasOwnProperty;function wn(e){var t=this.__data__;if(yn){var n=t[e];return n===Sn?void 0:n}return Cn.call(t,e)?t[e]:void 0}var Tn=Object.prototype.hasOwnProperty;function En(e){var t=this.__data__;return yn?t[e]!==void 0:Tn.call(t,e)}var Dn=`__lodash_hash_undefined__`;function On(e,t){var n=this.__data__;return this.size+=+!this.has(e),n[e]=yn&&t===void 0?Dn:t,this}function kn(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}kn.prototype.clear=bn,kn.prototype.delete=xn,kn.prototype.get=wn,kn.prototype.has=En,kn.prototype.set=On;function An(){this.size=0,this.__data__={hash:new kn,map:new(vn||pn),string:new kn}}function jn(e){var t=typeof e;return t==`string`||t==`number`||t==`symbol`||t==`boolean`?e!==`__proto__`:e===null}function Mn(e,t){var n=e.__data__;return jn(t)?n[typeof t==`string`?`string`:`hash`]:n.map}function Nn(e){var t=Mn(this,e).delete(e);return this.size-=+!!t,t}function Pn(e){return Mn(this,e).get(e)}function Fn(e){return Mn(this,e).has(e)}function In(e,t){var n=Mn(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}function Ln(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Ln.prototype.clear=An,Ln.prototype.delete=Nn,Ln.prototype.get=Pn,Ln.prototype.has=Fn,Ln.prototype.set=In;var Rn=200;function zn(e,t){var n=this.__data__;if(n instanceof pn){var r=n.__data__;if(!vn||r.length<Rn-1)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Ln(r)}return n.set(e,t),this.size=n.size,this}function Bn(e){var t=this.__data__=new pn(e);this.size=t.size}Bn.prototype.clear=mn,Bn.prototype.delete=hn,Bn.prototype.get=gn,Bn.prototype.has=_n,Bn.prototype.set=zn;function Vn(e,t,n){t==`__proto__`&&Xt?Xt(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function Hn(e,t,n){(n!==void 0&&!on(e[t],n)||n===void 0&&!(t in e))&&Vn(e,t,n)}function Un(e){return function(t,n,r){for(var i=-1,a=Object(t),o=r(t),s=o.length;s--;){var c=o[e?s:++i];if(n(a[c],c,a)===!1)break}return t}}var Wn=Un(),Gn=typeof exports==`object`&&exports&&!exports.nodeType&&exports,Kn=Gn&&typeof module==`object`&&module&&!module.nodeType&&module,qn=Kn&&Kn.exports===Gn?Je.Buffer:void 0,Jn=qn?qn.allocUnsafe:void 0;function Yn(e,t){if(t)return e.slice();var n=e.length,r=Jn?Jn(n):new e.constructor(n);return e.copy(r),r}var Xn=Je.Uint8Array;function Zn(e){var t=new e.constructor(e.byteLength);return new Xn(t).set(new Xn(e)),t}function Qn(e,t){var n=t?Zn(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function $n(e,t){var n=-1,r=e.length;for(t||=Array(r);++n<r;)t[n]=e[n];return t}var er=Object.create,tr=function(){function e(){}return function(t){if(!Ge(t))return{};if(er)return er(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();function nr(e,t){return function(n){return e(t(n))}}var rr=nr(Object.getPrototypeOf,Object),ir=Object.prototype;function ar(e){var t=e&&e.constructor;return e===(typeof t==`function`&&t.prototype||ir)}function or(e){return typeof e.constructor==`function`&&!ar(e)?tr(rr(e)):{}}var sr=`[object Arguments]`;function cr(e){return ft(e)&&dt(e)==sr}var lr=Object.prototype,ur=lr.hasOwnProperty,dr=lr.propertyIsEnumerable,fr=cr(function(){return arguments}())?cr:function(e){return ft(e)&&ur.call(e,`callee`)&&!dr.call(e,`callee`)},pr=Array.isArray,mr=9007199254740991;function hr(e){return typeof e==`number`&&e>-1&&e%1==0&&e<=mr}function gr(e){return e!=null&&hr(e.length)&&!Pt(e)}function _r(e){return ft(e)&&gr(e)}function vr(){return!1}var yr=typeof exports==`object`&&exports&&!exports.nodeType&&exports,br=yr&&typeof module==`object`&&module&&!module.nodeType&&module,xr=br&&br.exports===yr?Je.Buffer:void 0,Sr=(xr?xr.isBuffer:void 0)||vr,Cr=`[object Object]`,wr=Function.prototype,Tr=Object.prototype,Er=wr.toString,Dr=Tr.hasOwnProperty,Or=Er.call(Object);function kr(e){if(!ft(e)||dt(e)!=Cr)return!1;var t=rr(e);if(t===null)return!0;var n=Dr.call(t,`constructor`)&&t.constructor;return typeof n==`function`&&n instanceof n&&Er.call(n)==Or}var Ar=`[object Arguments]`,jr=`[object Array]`,Mr=`[object Boolean]`,Nr=`[object Date]`,Pr=`[object Error]`,Fr=`[object Function]`,Ir=`[object Map]`,Lr=`[object Number]`,Rr=`[object Object]`,zr=`[object RegExp]`,Br=`[object Set]`,Vr=`[object String]`,Hr=`[object WeakMap]`,Ur=`[object ArrayBuffer]`,Wr=`[object DataView]`,Gr=`[object Float32Array]`,Kr=`[object Float64Array]`,qr=`[object Int8Array]`,Jr=`[object Int16Array]`,Yr=`[object Int32Array]`,Xr=`[object Uint8Array]`,Zr=`[object Uint8ClampedArray]`,Qr=`[object Uint16Array]`,$r=`[object Uint32Array]`,ei={};ei[Gr]=ei[Kr]=ei[qr]=ei[Jr]=ei[Yr]=ei[Xr]=ei[Zr]=ei[Qr]=ei[$r]=!0,ei[Ar]=ei[jr]=ei[Ur]=ei[Mr]=ei[Wr]=ei[Nr]=ei[Pr]=ei[Fr]=ei[Ir]=ei[Lr]=ei[Rr]=ei[zr]=ei[Br]=ei[Vr]=ei[Hr]=!1;function ti(e){return ft(e)&&hr(e.length)&&!!ei[dt(e)]}function ni(e){return function(t){return e(t)}}var ri=typeof exports==`object`&&exports&&!exports.nodeType&&exports,ii=ri&&typeof module==`object`&&module&&!module.nodeType&&module,ai=ii&&ii.exports===ri&&Ke.process,oi=function(){try{return ii&&ii.require&&ii.require(`util`).types||ai&&ai.binding&&ai.binding(`util`)}catch{}}(),si=oi&&oi.isTypedArray,ci=si?ni(si):ti;function li(e,t){if(!(t===`constructor`&&typeof e[t]==`function`)&&t!=`__proto__`)return e[t]}var ui=Object.prototype.hasOwnProperty;function di(e,t,n){var r=e[t];(!(ui.call(e,t)&&on(r,n))||n===void 0&&!(t in e))&&Vn(e,t,n)}function fi(e,t,n,r){var i=!n;n||={};for(var a=-1,o=t.length;++a<o;){var s=t[a],c=r?r(n[s],e[s],s,n,e):void 0;c===void 0&&(c=e[s]),i?Vn(n,s,c):di(n,s,c)}return n}function pi(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}var mi=9007199254740991,hi=/^(?:0|[1-9]\d*)$/;function gi(e,t){var n=typeof e;return t??=mi,!!t&&(n==`number`||n!=`symbol`&&hi.test(e))&&e>-1&&e%1==0&&e<t}var _i=Object.prototype.hasOwnProperty;function vi(e,t){var n=pr(e),r=!n&&fr(e),i=!n&&!r&&Sr(e),a=!n&&!r&&!i&&ci(e),o=n||r||i||a,s=o?pi(e.length,String):[],c=s.length;for(var l in e)(t||_i.call(e,l))&&!(o&&(l==`length`||i&&(l==`offset`||l==`parent`)||a&&(l==`buffer`||l==`byteLength`||l==`byteOffset`)||gi(l,c)))&&s.push(l);return s}function yi(e){var t=[];if(e!=null)for(var n in Object(e))t.push(n);return t}var bi=Object.prototype.hasOwnProperty;function xi(e){if(!Ge(e))return yi(e);var t=ar(e),n=[];for(var r in e)r==`constructor`&&(t||!bi.call(e,r))||n.push(r);return n}function Si(e){return gr(e)?vi(e,!0):xi(e)}function Ci(e){return fi(e,Si(e))}function wi(e,t,n,r,i,a,o){var s=li(e,n),c=li(t,n),l=o.get(c);if(l){Hn(e,n,l);return}var u=a?a(s,c,n+``,e,t,o):void 0,d=u===void 0;if(d){var f=pr(c),p=!f&&Sr(c),m=!f&&!p&&ci(c);u=c,f||p||m?pr(s)?u=s:_r(s)?u=$n(s):p?(d=!1,u=Yn(c,!0)):m?(d=!1,u=Qn(c,!0)):u=[]:kr(c)||fr(c)?(u=s,fr(s)?u=Ci(s):(!Ge(s)||Pt(s))&&(u=or(c))):d=!1}d&&(o.set(c,u),i(u,c,r,a,o),o.delete(c)),Hn(e,n,u)}function Ti(e,t,n,r,i){e!==t&&Wn(t,function(a,o){if(i||=new Bn,Ge(a))wi(e,t,o,n,Ti,r,i);else{var s=r?r(li(e,o),a,o+``,e,t,i):void 0;s===void 0&&(s=a),Hn(e,o,s)}},Si)}function Ei(e,t,n,r,i,a){return Ge(e)&&Ge(t)&&(a.set(t,e),Ti(e,t,void 0,Ei,a),a.delete(t)),e}function Di(e,t,n){if(!Ge(n))return!1;var r=typeof t;return(r==`number`?gr(n)&&gi(t,n.length):r==`string`&&t in n)?on(n[t],e):!1}function Oi(e){return rn(function(t,n){var r=-1,i=n.length,a=i>1?n[i-1]:void 0,o=i>2?n[2]:void 0;for(a=e.length>3&&typeof a==`function`?(i--,a):void 0,o&&Di(n[0],n[1],o)&&(a=i<3?void 0:a,i=1),t=Object(t);++r<i;){var s=n[r];s&&e(t,s,r,a)}return t})}var ki=Oi(function(e,t,n,r){Ti(e,t,n,r)}),Ai=rn(function(e){return e.push(void 0,Ei),Tt(ki,void 0,e)}),ji=`Expected a function`;function Mi(e,t,n){var r=!0,i=!0;if(typeof e!=`function`)throw TypeError(ji);return Ge(n)&&(r=`leading`in n?!!n.leading:r,i=`trailing`in n?!!n.trailing:i),wt(e,t,{leading:r,maxWait:t,trailing:i})}var Ni=n(t(),1);function O(e){return new Ee(de.define(e))}function Pi(e){return o(()=>import(`./dist-E74uGTy3.js`).then(t=>t.sql({dialect:t[e]})),__vite__mapDeps([0,1,2,3]))}var Fi=[E.of({name:`C`,extensions:[`c`,`h`,`ino`],load(){return o(()=>import(`./dist-DIFFjNuO.js`).then(e=>e.cpp()),__vite__mapDeps([4,1,2]))}}),E.of({name:`C++`,alias:[`cpp`],extensions:[`cpp`,`c++`,`cc`,`cxx`,`hpp`,`h++`,`hh`,`hxx`],load(){return o(()=>import(`./dist-DIFFjNuO.js`).then(e=>e.cpp()),__vite__mapDeps([4,1,2]))}}),E.of({name:`CQL`,alias:[`cassandra`],extensions:[`cql`],load(){return Pi(`Cassandra`)}}),E.of({name:`CSS`,extensions:[`css`],load(){return o(()=>import(`./dist-Ct90qYA2.js`).then(e=>e.i).then(e=>e.css()),__vite__mapDeps([5,6,1,2]))}}),E.of({name:`Go`,extensions:[`go`],load(){return o(()=>import(`./dist-DheA_Tyz.js`).then(e=>e.go()),__vite__mapDeps([7,1,2,3]))}}),E.of({name:`HTML`,alias:[`xhtml`],extensions:[`html`,`htm`,`handlebars`,`hbs`],load(){return o(()=>import(`./dist-B5MBMmGa.js`).then(e=>e.html()),__vite__mapDeps([8,1,2,5,6,9,3]))}}),E.of({name:`Java`,extensions:[`java`],load(){return o(()=>import(`./dist-CgReC0ZE.js`).then(e=>e.java()),__vite__mapDeps([10,1,2]))}}),E.of({name:`JavaScript`,alias:[`ecmascript`,`js`,`node`],extensions:[`js`,`mjs`,`cjs`],load(){return o(()=>import(`./dist-DyZh1ncm.js`).then(e=>e.t).then(e=>e.javascript()),__vite__mapDeps([9,6,1,2,3]))}}),E.of({name:`Jinja`,extensions:[`j2`,`jinja`,`jinja2`],load(){return o(()=>import(`./dist-eIeCvp_6.js`).then(e=>e.jinja()),__vite__mapDeps([11,1,2,8,5,6,9,3]))}}),E.of({name:`JSON`,alias:[`json5`],extensions:[`json`,`map`],load(){return o(()=>import(`./dist-BV5CqsJD.js`).then(e=>e.json()),__vite__mapDeps([12,1,2]))}}),E.of({name:`JSX`,extensions:[`jsx`],load(){return o(()=>import(`./dist-DyZh1ncm.js`).then(e=>e.t).then(e=>e.javascript({jsx:!0})),__vite__mapDeps([9,6,1,2,3]))}}),E.of({name:`LESS`,extensions:[`less`],load(){return o(()=>import(`./dist-DUB2IhWu.js`).then(e=>e.less()),__vite__mapDeps([13,1,2,5,6]))}}),E.of({name:`Liquid`,extensions:[`liquid`],load(){return o(()=>import(`./dist-1jNICPWO.js`).then(e=>e.liquid()),__vite__mapDeps([14,1,2,8,5,6,9,3]))}}),E.of({name:`MariaDB SQL`,load(){return Pi(`MariaSQL`)}}),E.of({name:`Markdown`,extensions:[`md`,`markdown`,`mkd`],load(){return o(()=>import(`./dist-hEE2Ub__.js`).then(e=>e.markdown()),__vite__mapDeps([15,1,3,8,2,5,6,9]))}}),E.of({name:`MS SQL`,load(){return Pi(`MSSQL`)}}),E.of({name:`MySQL`,load(){return Pi(`MySQL`)}}),E.of({name:`PHP`,extensions:[`php`,`php3`,`php4`,`php5`,`php7`,`phtml`],load(){return o(()=>import(`./dist-K2s-Uj08.js`).then(e=>e.php()),__vite__mapDeps([16,1,2,8,5,6,9,3]))}}),E.of({name:`PLSQL`,extensions:[`pls`],load(){return Pi(`PLSQL`)}}),E.of({name:`PostgreSQL`,load(){return Pi(`PostgreSQL`)}}),E.of({name:`Python`,extensions:[`BUILD`,`bzl`,`py`,`pyw`],filename:/^(BUCK|BUILD)$/,load(){return o(()=>import(`./dist-BBJOmVU3.js`).then(e=>e.python()),__vite__mapDeps([17,1,2,3]))}}),E.of({name:`Rust`,extensions:[`rs`],load(){return o(()=>import(`./dist-C8Ue2rSs.js`).then(e=>e.rust()),__vite__mapDeps([18,1,2]))}}),E.of({name:`Sass`,extensions:[`sass`],load(){return o(()=>import(`./dist-CZIuQqmV.js`).then(e=>e.sass({indented:!0})),__vite__mapDeps([19,1,2,5,6]))}}),E.of({name:`SCSS`,extensions:[`scss`],load(){return o(()=>import(`./dist-CZIuQqmV.js`).then(e=>e.sass()),__vite__mapDeps([19,1,2,5,6]))}}),E.of({name:`SQL`,extensions:[`sql`],load(){return Pi(`StandardSQL`)}}),E.of({name:`SQLite`,load(){return Pi(`SQLite`)}}),E.of({name:`TSX`,extensions:[`tsx`],load(){return o(()=>import(`./dist-DyZh1ncm.js`).then(e=>e.t).then(e=>e.javascript({jsx:!0,typescript:!0})),__vite__mapDeps([9,6,1,2,3]))}}),E.of({name:`TypeScript`,alias:[`ts`],extensions:[`ts`,`mts`,`cts`],load(){return o(()=>import(`./dist-DyZh1ncm.js`).then(e=>e.t).then(e=>e.javascript({typescript:!0})),__vite__mapDeps([9,6,1,2,3]))}}),E.of({name:`WebAssembly`,extensions:[`wat`,`wast`],load(){return o(()=>import(`./dist-B3unnv5t.js`).then(e=>e.wast()),__vite__mapDeps([20,1,2]))}}),E.of({name:`XML`,alias:[`rss`,`wsdl`,`xsd`],extensions:[`xml`,`xsl`,`xsd`,`svg`],load(){return o(()=>import(`./dist-BAqJdUtV.js`).then(e=>e.xml()),__vite__mapDeps([21,1,2]))}}),E.of({name:`YAML`,alias:[`yml`],extensions:[`yaml`,`yml`],load(){return o(()=>import(`./dist-Ba7fxbV-.js`).then(e=>e.yaml()),__vite__mapDeps([22,1,2]))}}),E.of({name:`APL`,extensions:[`dyalog`,`apl`],load(){return o(()=>import(`./apl-CnwPGSsG.js`).then(e=>O(e.apl)),[])}}),E.of({name:`PGP`,alias:[`asciiarmor`],extensions:[`asc`,`pgp`,`sig`],load(){return o(()=>import(`./asciiarmor-qTkVPQu6.js`).then(e=>O(e.asciiArmor)),[])}}),E.of({name:`ASN.1`,extensions:[`asn`,`asn1`],load(){return o(()=>import(`./asn1-Dr8qZg38.js`).then(e=>O(e.asn1({}))),[])}}),E.of({name:`Asterisk`,filename:/^extensions\.conf$/i,load(){return o(()=>import(`./asterisk-Bja0s6e1.js`).then(e=>O(e.asterisk)),[])}}),E.of({name:`Brainfuck`,extensions:[`b`,`bf`],load(){return o(()=>import(`./brainfuck-D5EjA2JK.js`).then(e=>O(e.brainfuck)),[])}}),E.of({name:`Cobol`,extensions:[`cob`,`cpy`],load(){return o(()=>import(`./cobol-DHLQUbN7.js`).then(e=>O(e.cobol)),[])}}),E.of({name:`C#`,alias:[`csharp`,`cs`],extensions:[`cs`],load(){return o(()=>import(`./clike-DHH8Ad3s.js`).then(e=>O(e.csharp)),[])}}),E.of({name:`Clojure`,extensions:[`clj`,`cljc`,`cljx`],load(){return o(()=>import(`./clojure-BflJGmDX.js`).then(e=>O(e.clojure)),[])}}),E.of({name:`ClojureScript`,extensions:[`cljs`],load(){return o(()=>import(`./clojure-BflJGmDX.js`).then(e=>O(e.clojure)),[])}}),E.of({name:`Closure Stylesheets (GSS)`,extensions:[`gss`],load(){return o(()=>import(`./css-CYpP4FRV.js`).then(e=>O(e.gss)),[])}}),E.of({name:`CMake`,extensions:[`cmake`,`cmake.in`],filename:/^CMakeLists\.txt$/,load(){return o(()=>import(`./cmake-CyVbuzPu.js`).then(e=>O(e.cmake)),[])}}),E.of({name:`CoffeeScript`,alias:[`coffee`,`coffee-script`],extensions:[`coffee`],load(){return o(()=>import(`./coffeescript-B2pKbFk8.js`).then(e=>O(e.coffeeScript)),[])}}),E.of({name:`Common Lisp`,alias:[`lisp`],extensions:[`cl`,`lisp`,`el`],load(){return o(()=>import(`./commonlisp-CcllspGY.js`).then(e=>O(e.commonLisp)),[])}}),E.of({name:`Cypher`,extensions:[`cyp`,`cypher`],load(){return o(()=>import(`./cypher-p9eYesGn.js`).then(e=>O(e.cypher)),[])}}),E.of({name:`Cython`,extensions:[`pyx`,`pxd`,`pxi`],load(){return o(()=>import(`./python-BqYw9LYJ.js`).then(e=>O(e.cython)),[])}}),E.of({name:`Crystal`,extensions:[`cr`],load(){return o(()=>import(`./crystal-M5-qzICs.js`).then(e=>O(e.crystal)),[])}}),E.of({name:`D`,extensions:[`d`],load(){return o(()=>import(`./d-BhMjBjQP.js`).then(e=>O(e.d)),[])}}),E.of({name:`Dart`,extensions:[`dart`],load(){return o(()=>import(`./clike-DHH8Ad3s.js`).then(e=>O(e.dart)),[])}}),E.of({name:`diff`,extensions:[`diff`,`patch`],load(){return o(()=>import(`./diff-ChtP43wD.js`).then(e=>O(e.diff)),[])}}),E.of({name:`Dockerfile`,filename:/^Dockerfile$/,load(){return o(()=>import(`./dockerfile-BLkNEvjs.js`).then(e=>O(e.dockerFile)),__vite__mapDeps([23,24]))}}),E.of({name:`DTD`,extensions:[`dtd`],load(){return o(()=>import(`./dtd-DTF72YNO.js`).then(e=>O(e.dtd)),[])}}),E.of({name:`Dylan`,extensions:[`dylan`,`dyl`,`intr`],load(){return o(()=>import(`./dylan-C6jEEEk-.js`).then(e=>O(e.dylan)),[])}}),E.of({name:`EBNF`,load(){return o(()=>import(`./ebnf-D4c0_ac3.js`).then(e=>O(e.ebnf)),[])}}),E.of({name:`ECL`,extensions:[`ecl`],load(){return o(()=>import(`./ecl-BSZaIHnp.js`).then(e=>O(e.ecl)),[])}}),E.of({name:`edn`,extensions:[`edn`],load(){return o(()=>import(`./clojure-BflJGmDX.js`).then(e=>O(e.clojure)),[])}}),E.of({name:`Eiffel`,extensions:[`e`],load(){return o(()=>import(`./eiffel-BEjRio4Q.js`).then(e=>O(e.eiffel)),[])}}),E.of({name:`Elm`,extensions:[`elm`],load(){return o(()=>import(`./elm-Cshzl8qu.js`).then(e=>O(e.elm)),[])}}),E.of({name:`Erlang`,extensions:[`erl`],load(){return o(()=>import(`./erlang-DaB2Rkuy.js`).then(e=>O(e.erlang)),[])}}),E.of({name:`Esper`,load(){return o(()=>import(`./sql-DcCJ9jop.js`).then(e=>O(e.esper)),[])}}),E.of({name:`Factor`,extensions:[`factor`],load(){return o(()=>import(`./factor-D7LVTn2l.js`).then(e=>O(e.factor)),__vite__mapDeps([25,24]))}}),E.of({name:`FCL`,load(){return o(()=>import(`./fcl-ClOhbFR7.js`).then(e=>O(e.fcl)),[])}}),E.of({name:`Forth`,extensions:[`forth`,`fth`,`4th`],load(){return o(()=>import(`./forth-Cezjo90N.js`).then(e=>O(e.forth)),[])}}),E.of({name:`Fortran`,extensions:[`f`,`for`,`f77`,`f90`,`f95`],load(){return o(()=>import(`./fortran-Bt6PBEDR.js`).then(e=>O(e.fortran)),[])}}),E.of({name:`F#`,alias:[`fsharp`],extensions:[`fs`],load(){return o(()=>import(`./mllike-B45xgp2S.js`).then(e=>O(e.fSharp)),[])}}),E.of({name:`Gas`,extensions:[`s`],load(){return o(()=>import(`./gas-BHEdbvp9.js`).then(e=>O(e.gas)),[])}}),E.of({name:`Gherkin`,extensions:[`feature`],load(){return o(()=>import(`./gherkin-oBAE_ms0.js`).then(e=>O(e.gherkin)),[])}}),E.of({name:`Groovy`,extensions:[`groovy`,`gradle`],filename:/^Jenkinsfile$/,load(){return o(()=>import(`./groovy-BC3IOsC8.js`).then(e=>O(e.groovy)),[])}}),E.of({name:`Haskell`,extensions:[`hs`],load(){return o(()=>import(`./haskell-BRsoo5mP.js`).then(e=>O(e.haskell)),[])}}),E.of({name:`Haxe`,extensions:[`hx`],load(){return o(()=>import(`./haxe-DjVOVvNP.js`).then(e=>O(e.haxe)),[])}}),E.of({name:`HXML`,extensions:[`hxml`],load(){return o(()=>import(`./haxe-DjVOVvNP.js`).then(e=>O(e.hxml)),[])}}),E.of({name:`HTTP`,load(){return o(()=>import(`./http-CLVgA2GD.js`).then(e=>O(e.http)),[])}}),E.of({name:`IDL`,extensions:[`pro`],load(){return o(()=>import(`./idl-BUZw3wgd.js`).then(e=>O(e.idl)),[])}}),E.of({name:`JSON-LD`,alias:[`jsonld`],extensions:[`jsonld`],load(){return o(()=>import(`./javascript-8HiN0ThV.js`).then(e=>O(e.jsonld)),[])}}),E.of({name:`Julia`,extensions:[`jl`],load(){return o(()=>import(`./julia-CQfgDRfP.js`).then(e=>O(e.julia)),[])}}),E.of({name:`Kotlin`,extensions:[`kt`,`kts`],load(){return o(()=>import(`./clike-DHH8Ad3s.js`).then(e=>O(e.kotlin)),[])}}),E.of({name:`LiveScript`,alias:[`ls`],extensions:[`ls`],load(){return o(()=>import(`./livescript-BXxG0Yva.js`).then(e=>O(e.liveScript)),[])}}),E.of({name:`Lua`,extensions:[`lua`],load(){return o(()=>import(`./lua-CiA1ziua.js`).then(e=>O(e.lua)),[])}}),E.of({name:`mIRC`,extensions:[`mrc`],load(){return o(()=>import(`./mirc-C9zpzAZU.js`).then(e=>O(e.mirc)),[])}}),E.of({name:`Mathematica`,extensions:[`m`,`nb`,`wl`,`wls`],load(){return o(()=>import(`./mathematica-u8YMmbU0.js`).then(e=>O(e.mathematica)),[])}}),E.of({name:`Modelica`,extensions:[`mo`],load(){return o(()=>import(`./modelica-CqHI_q-D.js`).then(e=>O(e.modelica)),[])}}),E.of({name:`MUMPS`,extensions:[`mps`],load(){return o(()=>import(`./mumps-CW_TBmxz.js`).then(e=>O(e.mumps)),[])}}),E.of({name:`Mbox`,extensions:[`mbox`],load(){return o(()=>import(`./mbox-BEMVcqjs.js`).then(e=>O(e.mbox)),[])}}),E.of({name:`Nginx`,filename:/nginx.*\.conf$/i,load(){return o(()=>import(`./nginx-BMaDbqW3.js`).then(e=>O(e.nginx)),[])}}),E.of({name:`NSIS`,extensions:[`nsh`,`nsi`],load(){return o(()=>import(`./nsis-AQ_alPln.js`).then(e=>O(e.nsis)),__vite__mapDeps([26,24]))}}),E.of({name:`NTriples`,extensions:[`nt`,`nq`],load(){return o(()=>import(`./ntriples-d28e9m0E.js`).then(e=>O(e.ntriples)),[])}}),E.of({name:`Objective-C`,alias:[`objective-c`,`objc`],extensions:[`m`],load(){return o(()=>import(`./clike-DHH8Ad3s.js`).then(e=>O(e.objectiveC)),[])}}),E.of({name:`Objective-C++`,alias:[`objective-c++`,`objc++`],extensions:[`mm`],load(){return o(()=>import(`./clike-DHH8Ad3s.js`).then(e=>O(e.objectiveCpp)),[])}}),E.of({name:`OCaml`,extensions:[`ml`,`mli`,`mll`,`mly`],load(){return o(()=>import(`./mllike-B45xgp2S.js`).then(e=>O(e.oCaml)),[])}}),E.of({name:`Octave`,extensions:[`m`],load(){return o(()=>import(`./octave-D2Q8cUp1.js`).then(e=>O(e.octave)),[])}}),E.of({name:`Oz`,extensions:[`oz`],load(){return o(()=>import(`./oz-BwTct_5T.js`).then(e=>O(e.oz)),[])}}),E.of({name:`Pascal`,extensions:[`p`,`pas`],load(){return o(()=>import(`./pascal-Dp_KdFgX.js`).then(e=>O(e.pascal)),[])}}),E.of({name:`Perl`,extensions:[`pl`,`pm`],load(){return o(()=>import(`./perl-CdEHsPfU.js`).then(e=>O(e.perl)),[])}}),E.of({name:`Pig`,extensions:[`pig`],load(){return o(()=>import(`./pig-AF4Hwhju.js`).then(e=>O(e.pig)),[])}}),E.of({name:`PowerShell`,extensions:[`ps1`,`psd1`,`psm1`],load(){return o(()=>import(`./powershell-CzG71I4L.js`).then(e=>O(e.powerShell)),[])}}),E.of({name:`Properties files`,alias:[`ini`,`properties`],extensions:[`properties`,`ini`,`in`],load(){return o(()=>import(`./properties-C357ku5U.js`).then(e=>O(e.properties)),[])}}),E.of({name:`ProtoBuf`,extensions:[`proto`],load(){return o(()=>import(`./protobuf-D1ij_kNL.js`).then(e=>O(e.protobuf)),[])}}),E.of({name:`Pug`,alias:[`jade`],extensions:[`pug`,`jade`],load(){return o(()=>import(`./pug-DyBTKFx8.js`).then(e=>O(e.pug)),__vite__mapDeps([27,28]))}}),E.of({name:`Puppet`,extensions:[`pp`],load(){return o(()=>import(`./puppet-B4hC2X4m.js`).then(e=>O(e.puppet)),[])}}),E.of({name:`Q`,extensions:[`q`],load(){return o(()=>import(`./q-B9NhS7L_.js`).then(e=>O(e.q)),[])}}),E.of({name:`R`,alias:[`rscript`],extensions:[`r`,`R`],load(){return o(()=>import(`./r-DADKenSm.js`).then(e=>O(e.r)),[])}}),E.of({name:`RPM Changes`,load(){return o(()=>import(`./rpm-gpDK5sbt.js`).then(e=>O(e.rpmChanges)),[])}}),E.of({name:`RPM Spec`,extensions:[`spec`],load(){return o(()=>import(`./rpm-gpDK5sbt.js`).then(e=>O(e.rpmSpec)),[])}}),E.of({name:`Ruby`,alias:[`jruby`,`macruby`,`rake`,`rb`,`rbx`],extensions:[`rb`],filename:/^(Gemfile|Rakefile)$/,load(){return o(()=>import(`./ruby-DsYpTuWg.js`).then(e=>O(e.ruby)),[])}}),E.of({name:`SAS`,extensions:[`sas`],load(){return o(()=>import(`./sas-C2OyD2Y6.js`).then(e=>O(e.sas)),[])}}),E.of({name:`Scala`,extensions:[`scala`],load(){return o(()=>import(`./clike-DHH8Ad3s.js`).then(e=>O(e.scala)),[])}}),E.of({name:`Scheme`,extensions:[`scm`,`ss`],load(){return o(()=>import(`./scheme-tChLYBuY.js`).then(e=>O(e.scheme)),[])}}),E.of({name:`Shell`,alias:[`bash`,`sh`,`zsh`],extensions:[`sh`,`ksh`,`bash`],filename:/^PKGBUILD$/,load(){return o(()=>import(`./shell-Du5Qg9im.js`).then(e=>O(e.shell)),[])}}),E.of({name:`Sieve`,extensions:[`siv`,`sieve`],load(){return o(()=>import(`./sieve-BAxa3IjF.js`).then(e=>O(e.sieve)),[])}}),E.of({name:`Smalltalk`,extensions:[`st`],load(){return o(()=>import(`./smalltalk-BLp5-jwC.js`).then(e=>O(e.smalltalk)),[])}}),E.of({name:`Solr`,load(){return o(()=>import(`./solr-BBopId9w.js`).then(e=>O(e.solr)),[])}}),E.of({name:`SML`,extensions:[`sml`,`sig`,`fun`,`smackspec`],load(){return o(()=>import(`./mllike-B45xgp2S.js`).then(e=>O(e.sml)),[])}}),E.of({name:`SPARQL`,alias:[`sparul`],extensions:[`rq`,`sparql`],load(){return o(()=>import(`./sparql-Dz-mlCAC.js`).then(e=>O(e.sparql)),[])}}),E.of({name:`Spreadsheet`,alias:[`excel`,`formula`],load(){return o(()=>import(`./spreadsheet-CTIncYxj.js`).then(e=>O(e.spreadsheet)),[])}}),E.of({name:`Squirrel`,extensions:[`nut`],load(){return o(()=>import(`./clike-DHH8Ad3s.js`).then(e=>O(e.squirrel)),[])}}),E.of({name:`Stylus`,extensions:[`styl`],load(){return o(()=>import(`./stylus-DLLZ8dgm.js`).then(e=>O(e.stylus)),[])}}),E.of({name:`Swift`,extensions:[`swift`],load(){return o(()=>import(`./swift-DKB6_1j6.js`).then(e=>O(e.swift)),[])}}),E.of({name:`sTeX`,load(){return o(()=>import(`./stex-sDrdk2BW.js`).then(e=>O(e.stex)),[])}}),E.of({name:`LaTeX`,alias:[`tex`],extensions:[`text`,`ltx`,`tex`],load(){return o(()=>import(`./stex-sDrdk2BW.js`).then(e=>O(e.stex)),[])}}),E.of({name:`SystemVerilog`,extensions:[`v`,`sv`,`svh`],load(){return o(()=>import(`./verilog-D-x6ne0Z.js`).then(e=>O(e.verilog)),[])}}),E.of({name:`Tcl`,extensions:[`tcl`],load(){return o(()=>import(`./tcl-BGfruO1u.js`).then(e=>O(e.tcl)),[])}}),E.of({name:`Textile`,extensions:[`textile`],load(){return o(()=>import(`./textile-CyzeGT9J.js`).then(e=>O(e.textile)),[])}}),E.of({name:`TiddlyWiki`,load(){return o(()=>import(`./tiddlywiki-VlUiK86J.js`).then(e=>O(e.tiddlyWiki)),[])}}),E.of({name:`Tiki wiki`,load(){return o(()=>import(`./tiki-CxVlf5KZ.js`).then(e=>O(e.tiki)),[])}}),E.of({name:`TOML`,extensions:[`toml`],load(){return o(()=>import(`./toml-LvoKBwCs.js`).then(e=>O(e.toml)),[])}}),E.of({name:`Troff`,extensions:[`1`,`2`,`3`,`4`,`5`,`6`,`7`,`8`,`9`],load(){return o(()=>import(`./troff-C2dAgh7P.js`).then(e=>O(e.troff)),[])}}),E.of({name:`TTCN`,extensions:[`ttcn`,`ttcn3`,`ttcnpp`],load(){return o(()=>import(`./ttcn-BePYh-hG.js`).then(e=>O(e.ttcn)),[])}}),E.of({name:`TTCN_CFG`,extensions:[`cfg`],load(){return o(()=>import(`./ttcn-cfg-CY0aot7Q.js`).then(e=>O(e.ttcnCfg)),[])}}),E.of({name:`Turtle`,extensions:[`ttl`],load(){return o(()=>import(`./turtle-Cx3rYX2g.js`).then(e=>O(e.turtle)),[])}}),E.of({name:`Web IDL`,extensions:[`webidl`],load(){return o(()=>import(`./webidl-D5jiJvOU.js`).then(e=>O(e.webIDL)),[])}}),E.of({name:`VB.NET`,extensions:[`vb`],load(){return o(()=>import(`./vb-BthdM_4N.js`).then(e=>O(e.vb)),[])}}),E.of({name:`VBScript`,extensions:[`vbs`],load(){return o(()=>import(`./vbscript-D9f6rSsU.js`).then(e=>O(e.vbScript)),[])}}),E.of({name:`Velocity`,extensions:[`vtl`],load(){return o(()=>import(`./velocity-CqftRsjg.js`).then(e=>O(e.velocity)),[])}}),E.of({name:`Verilog`,extensions:[`v`],load(){return o(()=>import(`./verilog-D-x6ne0Z.js`).then(e=>O(e.verilog)),[])}}),E.of({name:`VHDL`,extensions:[`vhd`,`vhdl`],load(){return o(()=>import(`./vhdl-CMrOq2q1.js`).then(e=>O(e.vhdl)),[])}}),E.of({name:`XQuery`,extensions:[`xy`,`xquery`,`xq`,`xqm`,`xqy`],load(){return o(()=>import(`./xquery-fj_R-kMw.js`).then(e=>O(e.xQuery)),[])}}),E.of({name:`Yacas`,extensions:[`ys`],load(){return o(()=>import(`./yacas-CXXgtw0p.js`).then(e=>O(e.yacas)),[])}}),E.of({name:`Z80`,extensions:[`z80`],load(){return o(()=>import(`./z80-CL1naaMV.js`).then(e=>O(e.z80)),[])}}),E.of({name:`MscGen`,extensions:[`mscgen`,`mscin`,`msc`],load(){return o(()=>import(`./mscgen-qgSLujhx.js`).then(e=>O(e.mscgen)),[])}}),E.of({name:`Xù`,extensions:[`xu`],load(){return o(()=>import(`./mscgen-qgSLujhx.js`).then(e=>O(e.xu)),[])}}),E.of({name:`MsGenny`,extensions:[`msgenny`],load(){return o(()=>import(`./mscgen-qgSLujhx.js`).then(e=>O(e.msgenny)),[])}}),E.of({name:`Vue`,extensions:[`vue`],load(){return o(()=>import(`./dist-BxxtNKuo.js`).then(e=>e.vue()),__vite__mapDeps([29,1,2,9,6,3,8,5]))}}),E.of({name:`Angular Template`,load(){return o(()=>import(`./dist-CaaBTHCc.js`).then(e=>e.angular()),__vite__mapDeps([30,1,2,9,6,3,8,5]))}})],Ii=`#e5c07b`,Li=`#e06c75`,Ri=`#56b6c2`,zi=`#ffffff`,Bi=`#abb2bf`,Vi=`#7d8799`,Hi=`#61afef`,Ui=`#98c379`,Wi=`#d19a66`,Gi=`#c678dd`,Ki=`#21252b`,qi=`#2c313a`,Ji=`#282c34`,Yi=`#353a42`,Xi=`#3E4451`,Zi=`#528bff`,Qi=[y.theme({"&":{color:Bi,backgroundColor:Ji},".cm-content":{caretColor:Zi},".cm-cursor, .cm-dropCursor":{borderLeftColor:Zi},"&.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground, .cm-selectionBackground, .cm-content ::selection":{backgroundColor:Xi},".cm-panels":{backgroundColor:Ki,color:Bi},".cm-panels.cm-panels-top":{borderBottom:`2px solid black`},".cm-panels.cm-panels-bottom":{borderTop:`2px solid black`},".cm-searchMatch":{backgroundColor:`#72a1ff59`,outline:`1px solid #457dff`},".cm-searchMatch.cm-searchMatch-selected":{backgroundColor:`#6199ff2f`},".cm-activeLine":{backgroundColor:`#6699ff0b`},".cm-selectionMatch":{backgroundColor:`#aafe661a`},"&.cm-focused .cm-matchingBracket, &.cm-focused .cm-nonmatchingBracket":{backgroundColor:`#bad0f847`},".cm-gutters":{backgroundColor:Ji,color:Vi,border:`none`},".cm-activeLineGutter":{backgroundColor:qi},".cm-foldPlaceholder":{backgroundColor:`transparent`,border:`none`,color:`#ddd`},".cm-tooltip":{border:`none`,backgroundColor:Yi},".cm-tooltip .cm-tooltip-arrow:before":{borderTopColor:`transparent`,borderBottomColor:`transparent`},".cm-tooltip .cm-tooltip-arrow:after":{borderTopColor:Yi,borderBottomColor:Yi},".cm-tooltip-autocomplete":{"& > ul > li[aria-selected]":{backgroundColor:qi,color:Bi}}},{dark:!0}),c(je.define([{tag:C.keyword,color:Gi},{tag:[C.name,C.deleted,C.character,C.propertyName,C.macroName],color:Li},{tag:[C.function(C.variableName),C.labelName],color:Hi},{tag:[C.color,C.constant(C.name),C.standard(C.name)],color:Wi},{tag:[C.definition(C.name),C.separator],color:Bi},{tag:[C.typeName,C.className,C.number,C.changed,C.annotation,C.modifier,C.self,C.namespace],color:Ii},{tag:[C.operator,C.operatorKeyword,C.url,C.escape,C.regexp,C.link,C.special(C.string)],color:Ri},{tag:[C.meta,C.comment],color:Vi},{tag:C.strong,fontWeight:`bold`},{tag:C.emphasis,fontStyle:`italic`},{tag:C.strikethrough,textDecoration:`line-through`},{tag:C.link,color:Vi,textDecoration:`underline`},{tag:C.heading,fontWeight:`bold`,color:Li},{tag:[C.atom,C.bool,C.special(C.variableName)],color:Wi},{tag:[C.processingInstruction,C.string,C.inserted],color:Ui},{tag:C.invalid,color:zi}]))],$i=function(e){return e.docTypeError=`docTypeError`,e.contextNotFound=`contextNotFound`,e.timerNotFound=`timerNotFound`,e.ctxCallOutOfScope=`ctxCallOutOfScope`,e.createNodeInParserFail=`createNodeInParserFail`,e.stackOverFlow=`stackOverFlow`,e.parserMatchError=`parserMatchError`,e.serializerMatchError=`serializerMatchError`,e.getAtomFromSchemaFail=`getAtomFromSchemaFail`,e.expectDomTypeError=`expectDomTypeError`,e.callCommandBeforeEditorView=`callCommandBeforeEditorView`,e.missingRootElement=`missingRootElement`,e.missingNodeInSchema=`missingNodeInSchema`,e.missingMarkInSchema=`missingMarkInSchema`,e.ctxNotBind=`ctxNotBind`,e.missingYjsDoc=`missingYjsDoc`,e.aiProviderError=`aiProviderError`,e.aiBuildContextError=`aiBuildContextError`,e}({}),ea=class extends Error{constructor(e,t,n){super(t,n),this.name=`MilkdownError`,this.code=e,n?.cause!==void 0&&(this.cause=n.cause)}},ta=(e,t)=>typeof t==`function`?`[Function]`:t,na=e=>JSON.stringify(e,ta);function ra(e){return new ea($i.docTypeError,`Doc type error, unsupported type: ${na(e)}`)}function ia(e){return new ea($i.contextNotFound,`Context "${e}" not found, do you forget to inject it?`)}function aa(e){return new ea($i.timerNotFound,`Timer "${e}" not found, do you forget to record it?`)}function oa(){return new ea($i.ctxCallOutOfScope,`Should not call a context out of the plugin.`)}function sa(e,t,n){let r=`Cannot create node for ${`name`in e?e.name:e}`,i=e=>{if(e==null)return`null`;if(Array.isArray(e))return`[${e.map(i).join(`, `)}]`;if(typeof e==`object`)return`toJSON`in e&&typeof e.toJSON==`function`?JSON.stringify(e.toJSON()):`spec`in e?JSON.stringify(e.spec):JSON.stringify(e);if(typeof e==`string`||typeof e==`number`||typeof e==`boolean`)return JSON.stringify(e);if(typeof e==`function`)return`[Function: ${e.name||`anonymous`}]`;try{return String(e)}catch{return`[Unserializable]`}},a=[[`[Description]`,r],[`[Attributes]`,t],[`[Content]`,(n??[]).map(e=>e?typeof e==`object`&&`type`in e?`${e}`:i(e):`null`)]].reduce((e,[t,n])=>{let r=`${t}: ${i(n)}.`;return e.concat(r)},[]);return new ea($i.createNodeInParserFail,a.join(`
|
|
3
3
|
`))}function ca(){return new ea($i.stackOverFlow,`Stack over flow, cannot pop on an empty stack.`)}function la(e){return new ea($i.parserMatchError,`Cannot match target parser for node: ${na(e)}.`)}function ua(e){return new ea($i.serializerMatchError,`Cannot match target serializer for node: ${na(e)}.`)}function da(e,t){return new ea($i.getAtomFromSchemaFail,`Cannot get ${e}: ${t} from schema.`)}function fa(e){return new ea($i.expectDomTypeError,`Expect to be a dom, but get: ${na(e)}.`)}function pa(){return new ea($i.callCommandBeforeEditorView,`You're trying to call a command before editor view initialized, make sure to get commandManager from ctx after editor view has been initialized`)}function ma(e){return new ea($i.missingNodeInSchema,`Missing node in schema, milkdown cannot find "${e}" in schema.`)}function ha(e){return new ea($i.missingMarkInSchema,`Missing mark in schema, milkdown cannot find "${e}" in schema.`)}function ga(e){try{return na(e)}catch{return`[Unserializable]`}}function _a(e){let t=e instanceof Error?e.message:ga(e);return new ea($i.aiProviderError,`AI provider error: ${t}`,{cause:e})}function va(e){let t=e instanceof Error?e.message:ga(e);return new ea($i.aiBuildContextError,`AI buildContext failed: ${t}`,{cause:e})}var ya=class{constructor(){this.sliceMap=new Map,this.get=e=>{let t=typeof e==`string`?[...this.sliceMap.values()].find(t=>t.type.name===e):this.sliceMap.get(e.id);if(!t)throw ia(typeof e==`string`?e:e.name);return t},this.remove=e=>{let t=typeof e==`string`?[...this.sliceMap.values()].find(t=>t.type.name===e):this.sliceMap.get(e.id);t&&this.sliceMap.delete(t.type.id)},this.has=e=>typeof e==`string`?[...this.sliceMap.values()].some(t=>t.type.name===e):this.sliceMap.has(e.id)}},ba=class{#e;#t;#n;constructor(e,t,n){this.#e=[],this.#n=()=>{this.#e.forEach(e=>e(this.#t))},this.set=e=>{this.#t=e,this.#n()},this.get=()=>this.#t,this.update=e=>{this.#t=e(this.#t),this.#n()},this.type=n,this.#t=t,e.set(n.id,this)}on(e){return this.#e.push(e),()=>{this.#e=this.#e.filter(t=>t!==e)}}once(e){let t=this.on(n=>{e(n),t()});return t}off(e){this.#e=this.#e.filter(t=>t!==e)}offAll(){this.#e=[]}},xa=class{constructor(e,t){this.id=Symbol(`Context-${t}`),this.name=t,this._defaultValue=e,this._typeInfo=()=>{throw oa()}}create(e,t=this._defaultValue){return new ba(e,t,this)}},Sa=(e,t)=>new xa(e,t),Ca=class{#e;#t;#n;#r;#i;#a;#o;constructor(e,t,n){this.#r=new Set,this.#i=new Set,this.#a=new Map,this.#o=new Map,this.read=()=>({metadata:this.#e,injectedSlices:[...this.#r].map(e=>({name:typeof e==`string`?e:e.name,value:this.#s(e)})),consumedSlices:[...this.#i].map(e=>({name:typeof e==`string`?e:e.name,value:this.#s(e)})),recordedTimers:[...this.#a].map(([e,{duration:t}])=>({name:e.name,duration:t,status:this.#c(e)})),waitTimers:[...this.#o].map(([e,{duration:t}])=>({name:e.name,duration:t,status:this.#c(e)}))}),this.onRecord=e=>{this.#a.set(e,{start:Date.now(),duration:0})},this.onClear=e=>{this.#a.delete(e)},this.onDone=e=>{let t=this.#a.get(e);t&&(t.duration=Date.now()-t.start)},this.onWait=(e,t)=>{let n=Date.now();t.finally(()=>{this.#o.set(e,{duration:Date.now()-n})}).catch(console.error)},this.onInject=e=>{this.#r.add(e)},this.onRemove=e=>{this.#r.delete(e)},this.onUse=e=>{this.#i.add(e)},this.#s=e=>this.#t.get(e).get(),this.#c=e=>this.#n.get(e).status,this.#t=e,this.#n=t,this.#e=n}#s;#c},wa=class e{#e;#t;#n;#r;constructor(t,n,r){this.produce=t=>t&&Object.keys(t).length?new e(this.#e,this.#t,{...t}):this,this.inject=(e,t)=>{let n=e.create(this.#e.sliceMap);return t!=null&&n.set(t),this.#r?.onInject(e),this},this.remove=e=>(this.#e.remove(e),this.#r?.onRemove(e),this),this.record=e=>(e.create(this.#t.store),this.#r?.onRecord(e),this),this.clearTimer=e=>(this.#t.remove(e),this.#r?.onClear(e),this),this.isInjected=e=>this.#e.has(e),this.isRecorded=e=>this.#t.has(e),this.use=e=>(this.#r?.onUse(e),this.#e.get(e)),this.get=e=>this.use(e).get(),this.set=(e,t)=>this.use(e).set(t),this.update=(e,t)=>this.use(e).update(t),this.timer=e=>this.#t.get(e),this.done=e=>{this.timer(e).done(),this.#r?.onDone(e)},this.wait=e=>{let t=this.timer(e).start();return this.#r?.onWait(e,t),t},this.waitTimers=async e=>{await Promise.all(this.get(e).map(e=>this.wait(e)))},this.#e=t,this.#t=n,this.#n=r,r&&(this.#r=new Ca(t,n,r))}get meta(){return this.#n}get inspector(){return this.#r}},Ta=class{constructor(){this.store=new Map,this.get=e=>{let t=this.store.get(e.id);if(!t)throw aa(e.name);return t},this.remove=e=>{this.store.delete(e.id)},this.has=e=>this.store.has(e.id)}},Ea=class{#e;#t;#n;#r;constructor(e,t){this.#e=null,this.#t=null,this.#r=`pending`,this.start=()=>(this.#e??=new Promise((e,t)=>{this.#t=t=>{t instanceof CustomEvent&&t.detail.id===this.#n&&(this.#r=`resolved`,this.#i(),t.stopImmediatePropagation(),e())},this.#a(()=>{this.#r===`pending`&&(this.#r=`rejected`),this.#i(),t(Error(`Timing ${this.type.name} timeout.`))}),this.#r=`pending`,addEventListener(this.type.name,this.#t)}),this.#e),this.done=()=>{let e=new CustomEvent(this.type.name,{detail:{id:this.#n}});dispatchEvent(e)},this.#i=()=>{this.#t&&removeEventListener(this.type.name,this.#t)},this.#a=e=>{setTimeout(()=>{e()},this.type.timeout)},this.#n=Symbol(t.name),this.type=t,e.set(t.id,this)}get status(){return this.#r}#i;#a},Da=class{constructor(e,t=3e3){this.create=e=>new Ea(e,this),this.id=Symbol(`Timer-${e}`),this.name=e,this.timeout=t}},Oa=(e,t=3e3)=>new Da(e,t),ka={};function Aa(e,t){let n=t||ka;return ja(e,typeof n.includeImageAlt==`boolean`?n.includeImageAlt:!0,typeof n.includeHtml==`boolean`?n.includeHtml:!0)}function ja(e,t,n){if(Na(e)){if(`value`in e)return e.type===`html`&&!n?``:e.value;if(t&&`alt`in e&&e.alt)return e.alt;if(`children`in e)return Ma(e.children,t,n)}return Array.isArray(e)?Ma(e,t,n):``}function Ma(e,t,n){let r=[],i=-1;for(;++i<e.length;)r[i]=ja(e[i],t,n);return r.join(``)}function Na(e){return!!(e&&typeof e==`object`)}function Pa(e,t,n,r){let i=e.length,a=0,o;if(t=t<0?-t>i?0:i+t:t>i?i:t,n=n>0?n:0,r.length<1e4)o=Array.from(r),o.unshift(t,n),e.splice(...o);else for(n&&e.splice(t,n);a<r.length;)o=r.slice(a,a+1e4),o.unshift(t,0),e.splice(...o),a+=1e4,t+=1e4}function Fa(e,t){return e.length>0?(Pa(e,e.length,0,t),e):t}var Ia={}.hasOwnProperty;function La(e){let t={},n=-1;for(;++n<e.length;)Ra(t,e[n]);return t}function Ra(e,t){let n;for(n in t){let r=(Ia.call(e,n)?e[n]:void 0)||(e[n]={}),i=t[n],a;if(i)for(a in i){Ia.call(r,a)||(r[a]=[]);let e=i[a];za(r[a],Array.isArray(e)?e:e?[e]:[])}}}function za(e,t){let n=-1,r=[];for(;++n<t.length;)(t[n].add===`after`?e:r).push(t[n]);Pa(e,0,0,r)}var Ba=Za(/[A-Za-z]/),Va=Za(/[\dA-Za-z]/),Ha=Za(/[#-'*+\--9=?A-Z^-~]/);function Ua(e){return e!==null&&(e<32||e===127)}var Wa=Za(/\d/),Ga=Za(/[\dA-Fa-f]/),Ka=Za(/[!-/:-@[-`{-~]/);function k(e){return e!==null&&e<-2}function qa(e){return e!==null&&(e<0||e===32)}function Ja(e){return e===-2||e===-1||e===32}var Ya=Za(/\p{P}|\p{S}/u),Xa=Za(/\s/);function Za(e){return t;function t(t){return t!==null&&t>-1&&e.test(String.fromCharCode(t))}}function Qa(e,t,n,r){let i=r?r-1:1/0,a=0;return o;function o(r){return Ja(r)?(e.enter(n),s(r)):t(r)}function s(r){return Ja(r)&&a++<i?(e.consume(r),s):(e.exit(n),t(r))}}var $a={tokenize:eo};function eo(e){let t=e.attempt(this.parser.constructs.contentInitial,r,i),n;return t;function r(n){if(n===null){e.consume(n);return}return e.enter(`lineEnding`),e.consume(n),e.exit(`lineEnding`),Qa(e,t,`linePrefix`)}function i(t){return e.enter(`paragraph`),a(t)}function a(t){let r=e.enter(`chunkText`,{contentType:`text`,previous:n});return n&&(n.next=r),n=r,o(t)}function o(t){if(t===null){e.exit(`chunkText`),e.exit(`paragraph`),e.consume(t);return}return k(t)?(e.consume(t),e.exit(`chunkText`),a):(e.consume(t),o)}}var to={tokenize:ro},no={tokenize:io};function ro(e){let t=this,n=[],r=0,i,a,o;return s;function s(i){if(r<n.length){let a=n[r];return t.containerState=a[1],e.attempt(a[0].continuation,c,l)(i)}return l(i)}function c(e){if(r++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,i&&v();let n=t.events.length,a=n,o;for(;a--;)if(t.events[a][0]===`exit`&&t.events[a][1].type===`chunkFlow`){o=t.events[a][1].end;break}_(r);let s=n;for(;s<t.events.length;)t.events[s][1].end={...o},s++;return Pa(t.events,a+1,0,t.events.slice(n)),t.events.length=s,l(e)}return s(e)}function l(a){if(r===n.length){if(!i)return f(a);if(i.currentConstruct&&i.currentConstruct.concrete)return m(a);t.interrupt=!!(i.currentConstruct&&!i._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(no,u,d)(a)}function u(e){return i&&v(),_(r),f(e)}function d(e){return t.parser.lazy[t.now().line]=r!==n.length,o=t.now().offset,m(e)}function f(n){return t.containerState={},e.attempt(no,p,m)(n)}function p(e){return r++,n.push([t.currentConstruct,t.containerState]),f(e)}function m(n){if(n===null){i&&v(),_(0),e.consume(n);return}return i||=t.parser.flow(t.now()),e.enter(`chunkFlow`,{_tokenizer:i,contentType:`flow`,previous:a}),h(n)}function h(n){if(n===null){g(e.exit(`chunkFlow`),!0),_(0),e.consume(n);return}return k(n)?(e.consume(n),g(e.exit(`chunkFlow`)),r=0,t.interrupt=void 0,s):(e.consume(n),h)}function g(e,n){let s=t.sliceStream(e);if(n&&s.push(null),e.previous=a,a&&(a.next=e),a=e,i.defineSkip(e.start),i.write(s),t.parser.lazy[e.start.line]){let e=i.events.length;for(;e--;)if(i.events[e][1].start.offset<o&&(!i.events[e][1].end||i.events[e][1].end.offset>o))return;let n=t.events.length,a=n,s,c;for(;a--;)if(t.events[a][0]===`exit`&&t.events[a][1].type===`chunkFlow`){if(s){c=t.events[a][1].end;break}s=!0}for(_(r),e=n;e<t.events.length;)t.events[e][1].end={...c},e++;Pa(t.events,a+1,0,t.events.slice(n)),t.events.length=e}}function _(r){let i=n.length;for(;i-->r;){let r=n[i];t.containerState=r[1],r[0].exit.call(t,e)}n.length=r}function v(){i.write([null]),a=void 0,i=void 0,t.containerState._closeFlow=void 0}}function io(e,t,n){return Qa(e,e.attempt(this.parser.constructs.document,t,n),`linePrefix`,this.parser.constructs.disable.null.includes(`codeIndented`)?void 0:4)}function ao(e){if(e===null||qa(e)||Xa(e))return 1;if(Ya(e))return 2}function oo(e,t,n){let r=[],i=-1;for(;++i<e.length;){let a=e[i].resolveAll;a&&!r.includes(a)&&(t=a(t,n),r.push(a))}return t}var so={name:`attention`,resolveAll:co,tokenize:lo};function co(e,t){let n=-1,r,i,a,o,s,c,l,u;for(;++n<e.length;)if(e[n][0]===`enter`&&e[n][1].type===`attentionSequence`&&e[n][1]._close){for(r=n;r--;)if(e[r][0]===`exit`&&e[r][1].type===`attentionSequence`&&e[r][1]._open&&t.sliceSerialize(e[r][1]).charCodeAt(0)===t.sliceSerialize(e[n][1]).charCodeAt(0)){if((e[r][1]._close||e[n][1]._open)&&(e[n][1].end.offset-e[n][1].start.offset)%3&&!((e[r][1].end.offset-e[r][1].start.offset+e[n][1].end.offset-e[n][1].start.offset)%3))continue;c=e[r][1].end.offset-e[r][1].start.offset>1&&e[n][1].end.offset-e[n][1].start.offset>1?2:1;let d={...e[r][1].end},f={...e[n][1].start};uo(d,-c),uo(f,c),o={type:c>1?`strongSequence`:`emphasisSequence`,start:d,end:{...e[r][1].end}},s={type:c>1?`strongSequence`:`emphasisSequence`,start:{...e[n][1].start},end:f},a={type:c>1?`strongText`:`emphasisText`,start:{...e[r][1].end},end:{...e[n][1].start}},i={type:c>1?`strong`:`emphasis`,start:{...o.start},end:{...s.end}},e[r][1].end={...o.start},e[n][1].start={...s.end},l=[],e[r][1].end.offset-e[r][1].start.offset&&(l=Fa(l,[[`enter`,e[r][1],t],[`exit`,e[r][1],t]])),l=Fa(l,[[`enter`,i,t],[`enter`,o,t],[`exit`,o,t],[`enter`,a,t]]),l=Fa(l,oo(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),l=Fa(l,[[`exit`,a,t],[`enter`,s,t],[`exit`,s,t],[`exit`,i,t]]),e[n][1].end.offset-e[n][1].start.offset?(u=2,l=Fa(l,[[`enter`,e[n][1],t],[`exit`,e[n][1],t]])):u=0,Pa(e,r-1,n-r+3,l),n=r+l.length-u-2;break}}for(n=-1;++n<e.length;)e[n][1].type===`attentionSequence`&&(e[n][1].type=`data`);return e}function lo(e,t){let n=this.parser.constructs.attentionMarkers.null,r=this.previous,i=ao(r),a;return o;function o(t){return a=t,e.enter(`attentionSequence`),s(t)}function s(o){if(o===a)return e.consume(o),s;let c=e.exit(`attentionSequence`),l=ao(o),u=!l||l===2&&i||n.includes(o),d=!i||i===2&&l||n.includes(r);return c._open=!!(a===42?u:u&&(i||!d)),c._close=!!(a===42?d:d&&(l||!u)),t(o)}}function uo(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}var fo={name:`autolink`,tokenize:po};function po(e,t,n){let r=0;return i;function i(t){return e.enter(`autolink`),e.enter(`autolinkMarker`),e.consume(t),e.exit(`autolinkMarker`),e.enter(`autolinkProtocol`),a}function a(t){return Ba(t)?(e.consume(t),o):t===64?n(t):l(t)}function o(e){return e===43||e===45||e===46||Va(e)?(r=1,s(e)):l(e)}function s(t){return t===58?(e.consume(t),r=0,c):(t===43||t===45||t===46||Va(t))&&r++<32?(e.consume(t),s):(r=0,l(t))}function c(r){return r===62?(e.exit(`autolinkProtocol`),e.enter(`autolinkMarker`),e.consume(r),e.exit(`autolinkMarker`),e.exit(`autolink`),t):r===null||r===32||r===60||Ua(r)?n(r):(e.consume(r),c)}function l(t){return t===64?(e.consume(t),u):Ha(t)?(e.consume(t),l):n(t)}function u(e){return Va(e)?d(e):n(e)}function d(n){return n===46?(e.consume(n),r=0,u):n===62?(e.exit(`autolinkProtocol`).type=`autolinkEmail`,e.enter(`autolinkMarker`),e.consume(n),e.exit(`autolinkMarker`),e.exit(`autolink`),t):f(n)}function f(t){if((t===45||Va(t))&&r++<63){let n=t===45?f:d;return e.consume(t),n}return n(t)}}var mo={partial:!0,tokenize:ho};function ho(e,t,n){return r;function r(t){return Ja(t)?Qa(e,i,`linePrefix`)(t):i(t)}function i(e){return e===null||k(e)?t(e):n(e)}}var go={continuation:{tokenize:vo},exit:yo,name:`blockQuote`,tokenize:_o};function _o(e,t,n){let r=this;return i;function i(t){if(t===62){let n=r.containerState;return n.open||=(e.enter(`blockQuote`,{_container:!0}),!0),e.enter(`blockQuotePrefix`),e.enter(`blockQuoteMarker`),e.consume(t),e.exit(`blockQuoteMarker`),a}return n(t)}function a(n){return Ja(n)?(e.enter(`blockQuotePrefixWhitespace`),e.consume(n),e.exit(`blockQuotePrefixWhitespace`),e.exit(`blockQuotePrefix`),t):(e.exit(`blockQuotePrefix`),t(n))}}function vo(e,t,n){let r=this;return i;function i(t){return Ja(t)?Qa(e,a,`linePrefix`,r.parser.constructs.disable.null.includes(`codeIndented`)?void 0:4)(t):a(t)}function a(r){return e.attempt(go,t,n)(r)}}function yo(e){e.exit(`blockQuote`)}var bo={name:`characterEscape`,tokenize:xo};function xo(e,t,n){return r;function r(t){return e.enter(`characterEscape`),e.enter(`escapeMarker`),e.consume(t),e.exit(`escapeMarker`),i}function i(r){return Ka(r)?(e.enter(`characterEscapeValue`),e.consume(r),e.exit(`characterEscapeValue`),e.exit(`characterEscape`),t):n(r)}}var So=document.createElement(`i`);function Co(e){let t=`&`+e+`;`;So.innerHTML=t;let n=So.textContent;return n.charCodeAt(n.length-1)===59&&e!==`semi`||n===t?!1:n}var wo={name:`characterReference`,tokenize:To};function To(e,t,n){let r=this,i=0,a,o;return s;function s(t){return e.enter(`characterReference`),e.enter(`characterReferenceMarker`),e.consume(t),e.exit(`characterReferenceMarker`),c}function c(t){return t===35?(e.enter(`characterReferenceMarkerNumeric`),e.consume(t),e.exit(`characterReferenceMarkerNumeric`),l):(e.enter(`characterReferenceValue`),a=31,o=Va,u(t))}function l(t){return t===88||t===120?(e.enter(`characterReferenceMarkerHexadecimal`),e.consume(t),e.exit(`characterReferenceMarkerHexadecimal`),e.enter(`characterReferenceValue`),a=6,o=Ga,u):(e.enter(`characterReferenceValue`),a=7,o=Wa,u(t))}function u(s){if(s===59&&i){let i=e.exit(`characterReferenceValue`);return o===Va&&!Co(r.sliceSerialize(i))?n(s):(e.enter(`characterReferenceMarker`),e.consume(s),e.exit(`characterReferenceMarker`),e.exit(`characterReference`),t)}return o(s)&&i++<a?(e.consume(s),u):n(s)}}var Eo={partial:!0,tokenize:ko},Do={concrete:!0,name:`codeFenced`,tokenize:Oo};function Oo(e,t,n){let r=this,i={partial:!0,tokenize:x},a=0,o=0,s;return c;function c(e){return l(e)}function l(t){let n=r.events[r.events.length-1];return a=n&&n[1].type===`linePrefix`?n[2].sliceSerialize(n[1],!0).length:0,s=t,e.enter(`codeFenced`),e.enter(`codeFencedFence`),e.enter(`codeFencedFenceSequence`),u(t)}function u(t){return t===s?(o++,e.consume(t),u):o<3?n(t):(e.exit(`codeFencedFenceSequence`),Ja(t)?Qa(e,d,`whitespace`)(t):d(t))}function d(n){return n===null||k(n)?(e.exit(`codeFencedFence`),r.interrupt?t(n):e.check(Eo,h,b)(n)):(e.enter(`codeFencedFenceInfo`),e.enter(`chunkString`,{contentType:`string`}),f(n))}function f(t){return t===null||k(t)?(e.exit(`chunkString`),e.exit(`codeFencedFenceInfo`),d(t)):Ja(t)?(e.exit(`chunkString`),e.exit(`codeFencedFenceInfo`),Qa(e,p,`whitespace`)(t)):t===96&&t===s?n(t):(e.consume(t),f)}function p(t){return t===null||k(t)?d(t):(e.enter(`codeFencedFenceMeta`),e.enter(`chunkString`,{contentType:`string`}),m(t))}function m(t){return t===null||k(t)?(e.exit(`chunkString`),e.exit(`codeFencedFenceMeta`),d(t)):t===96&&t===s?n(t):(e.consume(t),m)}function h(t){return e.attempt(i,b,g)(t)}function g(t){return e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),_}function _(t){return a>0&&Ja(t)?Qa(e,v,`linePrefix`,a+1)(t):v(t)}function v(t){return t===null||k(t)?e.check(Eo,h,b)(t):(e.enter(`codeFlowValue`),y(t))}function y(t){return t===null||k(t)?(e.exit(`codeFlowValue`),v(t)):(e.consume(t),y)}function b(n){return e.exit(`codeFenced`),t(n)}function x(e,t,n){let i=0;return a;function a(t){return e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),c}function c(t){return e.enter(`codeFencedFence`),Ja(t)?Qa(e,l,`linePrefix`,r.parser.constructs.disable.null.includes(`codeIndented`)?void 0:4)(t):l(t)}function l(t){return t===s?(e.enter(`codeFencedFenceSequence`),u(t)):n(t)}function u(t){return t===s?(i++,e.consume(t),u):i>=o?(e.exit(`codeFencedFenceSequence`),Ja(t)?Qa(e,d,`whitespace`)(t):d(t)):n(t)}function d(r){return r===null||k(r)?(e.exit(`codeFencedFence`),t(r)):n(r)}}}function ko(e,t,n){let r=this;return i;function i(t){return t===null?n(t):(e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),a)}function a(e){return r.parser.lazy[r.now().line]?n(e):t(e)}}var Ao={name:`codeIndented`,tokenize:Mo},jo={partial:!0,tokenize:No};function Mo(e,t,n){let r=this;return i;function i(t){return e.enter(`codeIndented`),Qa(e,a,`linePrefix`,5)(t)}function a(e){let t=r.events[r.events.length-1];return t&&t[1].type===`linePrefix`&&t[2].sliceSerialize(t[1],!0).length>=4?o(e):n(e)}function o(t){return t===null?c(t):k(t)?e.attempt(jo,o,c)(t):(e.enter(`codeFlowValue`),s(t))}function s(t){return t===null||k(t)?(e.exit(`codeFlowValue`),o(t)):(e.consume(t),s)}function c(n){return e.exit(`codeIndented`),t(n)}}function No(e,t,n){let r=this;return i;function i(t){return r.parser.lazy[r.now().line]?n(t):k(t)?(e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),i):Qa(e,a,`linePrefix`,5)(t)}function a(e){let a=r.events[r.events.length-1];return a&&a[1].type===`linePrefix`&&a[2].sliceSerialize(a[1],!0).length>=4?t(e):k(e)?i(e):n(e)}}var Po={name:`codeText`,previous:Io,resolve:Fo,tokenize:Lo};function Fo(e){let t=e.length-4,n=3,r,i;if((e[n][1].type===`lineEnding`||e[n][1].type===`space`)&&(e[t][1].type===`lineEnding`||e[t][1].type===`space`)){for(r=n;++r<t;)if(e[r][1].type===`codeTextData`){e[n][1].type=`codeTextPadding`,e[t][1].type=`codeTextPadding`,n+=2,t-=2;break}}for(r=n-1,t++;++r<=t;)i===void 0?r!==t&&e[r][1].type!==`lineEnding`&&(i=r):(r===t||e[r][1].type===`lineEnding`)&&(e[i][1].type=`codeTextData`,r!==i+2&&(e[i][1].end=e[r-1][1].end,e.splice(i+2,r-i-2),t-=r-i-2,r=i+2),i=void 0);return e}function Io(e){return e!==96||this.events[this.events.length-1][1].type===`characterEscape`}function Lo(e,t,n){let r=0,i,a;return o;function o(t){return e.enter(`codeText`),e.enter(`codeTextSequence`),s(t)}function s(t){return t===96?(e.consume(t),r++,s):(e.exit(`codeTextSequence`),c(t))}function c(t){return t===null?n(t):t===32?(e.enter(`space`),e.consume(t),e.exit(`space`),c):t===96?(a=e.enter(`codeTextSequence`),i=0,u(t)):k(t)?(e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),c):(e.enter(`codeTextData`),l(t))}function l(t){return t===null||t===32||t===96||k(t)?(e.exit(`codeTextData`),c(t)):(e.consume(t),l)}function u(n){return n===96?(e.consume(n),i++,u):i===r?(e.exit(`codeTextSequence`),e.exit(`codeText`),t(n)):(a.type=`codeTextData`,l(n))}}var Ro=class{constructor(e){this.left=e?[...e]:[],this.right=[]}get(e){if(e<0||e>=this.left.length+this.right.length)throw RangeError("Cannot access index `"+e+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return e<this.left.length?this.left[e]:this.right[this.right.length-e+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(e,t){let n=t??1/0;return n<this.left.length?this.left.slice(e,n):e>this.left.length?this.right.slice(this.right.length-n+this.left.length,this.right.length-e+this.left.length).reverse():this.left.slice(e).concat(this.right.slice(this.right.length-n+this.left.length).reverse())}splice(e,t,n){let r=t||0;this.setCursor(Math.trunc(e));let i=this.right.splice(this.right.length-r,1/0);return n&&zo(this.left,n),i.reverse()}pop(){return this.setCursor(1/0),this.left.pop()}push(e){this.setCursor(1/0),this.left.push(e)}pushMany(e){this.setCursor(1/0),zo(this.left,e)}unshift(e){this.setCursor(0),this.right.push(e)}unshiftMany(e){this.setCursor(0),zo(this.right,e.reverse())}setCursor(e){if(!(e===this.left.length||e>this.left.length&&this.right.length===0||e<0&&this.left.length===0))if(e<this.left.length){let t=this.left.splice(e,1/0);zo(this.right,t.reverse())}else{let t=this.right.splice(this.left.length+this.right.length-e,1/0);zo(this.left,t.reverse())}}};function zo(e,t){let n=0;if(t.length<1e4)e.push(...t);else for(;n<t.length;)e.push(...t.slice(n,n+1e4)),n+=1e4}function Bo(e){let t={},n=-1,r,i,a,o,s,c,l,u=new Ro(e);for(;++n<u.length;){for(;n in t;)n=t[n];if(r=u.get(n),n&&r[1].type===`chunkFlow`&&u.get(n-1)[1].type===`listItemPrefix`&&(c=r[1]._tokenizer.events,a=0,a<c.length&&c[a][1].type===`lineEndingBlank`&&(a+=2),a<c.length&&c[a][1].type===`content`))for(;++a<c.length&&c[a][1].type!==`content`;)c[a][1].type===`chunkText`&&(c[a][1]._isInFirstContentOfListItem=!0,a++);if(r[0]===`enter`)r[1].contentType&&(Object.assign(t,Vo(u,n)),n=t[n],l=!0);else if(r[1]._container){for(a=n,i=void 0;a--;)if(o=u.get(a),o[1].type===`lineEnding`||o[1].type===`lineEndingBlank`)o[0]===`enter`&&(i&&(u.get(i)[1].type=`lineEndingBlank`),o[1].type=`lineEnding`,i=a);else if(!(o[1].type===`linePrefix`||o[1].type===`listItemIndent`))break;i&&(r[1].end={...u.get(i)[1].start},s=u.slice(i,n),s.unshift(r),u.splice(i,n-i+1,s))}}return Pa(e,0,1/0,u.slice(0)),!l}function Vo(e,t){let n=e.get(t)[1],r=e.get(t)[2],i=t-1,a=[],o=n._tokenizer;o||(o=r.parser[n.contentType](n.start),n._contentTypeTextTrailing&&(o._contentTypeTextTrailing=!0));let s=o.events,c=[],l={},u,d,f=-1,p=n,m=0,h=0,g=[h];for(;p;){for(;e.get(++i)[1]!==p;);a.push(i),p._tokenizer||(u=r.sliceStream(p),p.next||u.push(null),d&&o.defineSkip(p.start),p._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=!0),o.write(u),p._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=void 0)),d=p,p=p.next}for(p=n;++f<s.length;)s[f][0]===`exit`&&s[f-1][0]===`enter`&&s[f][1].type===s[f-1][1].type&&s[f][1].start.line!==s[f][1].end.line&&(h=f+1,g.push(h),p._tokenizer=void 0,p.previous=void 0,p=p.next);for(o.events=[],p?(p._tokenizer=void 0,p.previous=void 0):g.pop(),f=g.length;f--;){let t=s.slice(g[f],g[f+1]),n=a.pop();c.push([n,n+t.length-1]),e.splice(n,2,t)}for(c.reverse(),f=-1;++f<c.length;)l[m+c[f][0]]=m+c[f][1],m+=c[f][1]-c[f][0]-1;return l}var Ho={resolve:Wo,tokenize:Go},Uo={partial:!0,tokenize:Ko};function Wo(e){return Bo(e),e}function Go(e,t){let n;return r;function r(t){return e.enter(`content`),n=e.enter(`chunkContent`,{contentType:`content`}),i(t)}function i(t){return t===null?a(t):k(t)?e.check(Uo,o,a)(t):(e.consume(t),i)}function a(n){return e.exit(`chunkContent`),e.exit(`content`),t(n)}function o(t){return e.consume(t),e.exit(`chunkContent`),n.next=e.enter(`chunkContent`,{contentType:`content`,previous:n}),n=n.next,i}}function Ko(e,t,n){let r=this;return i;function i(t){return e.exit(`chunkContent`),e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),Qa(e,a,`linePrefix`)}function a(i){if(i===null||k(i))return n(i);let a=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes(`codeIndented`)&&a&&a[1].type===`linePrefix`&&a[2].sliceSerialize(a[1],!0).length>=4?t(i):e.interrupt(r.parser.constructs.flow,n,t)(i)}}function qo(e,t,n,r,i,a,o,s,c){let l=c||1/0,u=0;return d;function d(t){return t===60?(e.enter(r),e.enter(i),e.enter(a),e.consume(t),e.exit(a),f):t===null||t===32||t===41||Ua(t)?n(t):(e.enter(r),e.enter(o),e.enter(s),e.enter(`chunkString`,{contentType:`string`}),h(t))}function f(n){return n===62?(e.enter(a),e.consume(n),e.exit(a),e.exit(i),e.exit(r),t):(e.enter(s),e.enter(`chunkString`,{contentType:`string`}),p(n))}function p(t){return t===62?(e.exit(`chunkString`),e.exit(s),f(t)):t===null||t===60||k(t)?n(t):(e.consume(t),t===92?m:p)}function m(t){return t===60||t===62||t===92?(e.consume(t),p):p(t)}function h(i){return!u&&(i===null||i===41||qa(i))?(e.exit(`chunkString`),e.exit(s),e.exit(o),e.exit(r),t(i)):u<l&&i===40?(e.consume(i),u++,h):i===41?(e.consume(i),u--,h):i===null||i===32||i===40||Ua(i)?n(i):(e.consume(i),i===92?g:h)}function g(t){return t===40||t===41||t===92?(e.consume(t),h):h(t)}}function Jo(e,t,n,r,i,a){let o=this,s=0,c;return l;function l(t){return e.enter(r),e.enter(i),e.consume(t),e.exit(i),e.enter(a),u}function u(l){return s>999||l===null||l===91||l===93&&!c||l===94&&!s&&`_hiddenFootnoteSupport`in o.parser.constructs?n(l):l===93?(e.exit(a),e.enter(i),e.consume(l),e.exit(i),e.exit(r),t):k(l)?(e.enter(`lineEnding`),e.consume(l),e.exit(`lineEnding`),u):(e.enter(`chunkString`,{contentType:`string`}),d(l))}function d(t){return t===null||t===91||t===93||k(t)||s++>999?(e.exit(`chunkString`),u(t)):(e.consume(t),c||=!Ja(t),t===92?f:d)}function f(t){return t===91||t===92||t===93?(e.consume(t),s++,d):d(t)}}function Yo(e,t,n,r,i,a){let o;return s;function s(t){return t===34||t===39||t===40?(e.enter(r),e.enter(i),e.consume(t),e.exit(i),o=t===40?41:t,c):n(t)}function c(n){return n===o?(e.enter(i),e.consume(n),e.exit(i),e.exit(r),t):(e.enter(a),l(n))}function l(t){return t===o?(e.exit(a),c(o)):t===null?n(t):k(t)?(e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),Qa(e,l,`linePrefix`)):(e.enter(`chunkString`,{contentType:`string`}),u(t))}function u(t){return t===o||t===null||k(t)?(e.exit(`chunkString`),l(t)):(e.consume(t),t===92?d:u)}function d(t){return t===o||t===92?(e.consume(t),u):u(t)}}function Xo(e,t){let n;return r;function r(i){return k(i)?(e.enter(`lineEnding`),e.consume(i),e.exit(`lineEnding`),n=!0,r):Ja(i)?Qa(e,r,n?`linePrefix`:`lineSuffix`)(i):t(i)}}function Zo(e){return e.replace(/[\t\n\r ]+/g,` `).replace(/^ | $/g,``).toLowerCase().toUpperCase()}var Qo={name:`definition`,tokenize:es},$o={partial:!0,tokenize:ts};function es(e,t,n){let r=this,i;return a;function a(t){return e.enter(`definition`),o(t)}function o(t){return Jo.call(r,e,s,n,`definitionLabel`,`definitionLabelMarker`,`definitionLabelString`)(t)}function s(t){return i=Zo(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),t===58?(e.enter(`definitionMarker`),e.consume(t),e.exit(`definitionMarker`),c):n(t)}function c(t){return qa(t)?Xo(e,l)(t):l(t)}function l(t){return qo(e,u,n,`definitionDestination`,`definitionDestinationLiteral`,`definitionDestinationLiteralMarker`,`definitionDestinationRaw`,`definitionDestinationString`)(t)}function u(t){return e.attempt($o,d,d)(t)}function d(t){return Ja(t)?Qa(e,f,`whitespace`)(t):f(t)}function f(a){return a===null||k(a)?(e.exit(`definition`),r.parser.defined.push(i),t(a)):n(a)}}function ts(e,t,n){return r;function r(t){return qa(t)?Xo(e,i)(t):n(t)}function i(t){return Yo(e,a,n,`definitionTitle`,`definitionTitleMarker`,`definitionTitleString`)(t)}function a(t){return Ja(t)?Qa(e,o,`whitespace`)(t):o(t)}function o(e){return e===null||k(e)?t(e):n(e)}}var ns={name:`hardBreakEscape`,tokenize:rs};function rs(e,t,n){return r;function r(t){return e.enter(`hardBreakEscape`),e.consume(t),i}function i(r){return k(r)?(e.exit(`hardBreakEscape`),t(r)):n(r)}}var is={name:`headingAtx`,resolve:as,tokenize:ss};function as(e,t){let n=e.length-2,r=3,i,a;return e[r][1].type===`whitespace`&&(r+=2),n-2>r&&e[n][1].type===`whitespace`&&(n-=2),e[n][1].type===`atxHeadingSequence`&&(r===n-1||n-4>r&&e[n-2][1].type===`whitespace`)&&(n-=r+1===n?2:4),n>r&&(i={type:`atxHeadingText`,start:e[r][1].start,end:e[n][1].end},a={type:`chunkText`,start:e[r][1].start,end:e[n][1].end,contentType:`text`},Pa(e,r,n-r+1,[[`enter`,i,t],[`enter`,a,t],[`exit`,a,t],[`exit`,i,t]])),e}function ss(e,t,n){let r=0;return i;function i(t){return e.enter(`atxHeading`),a(t)}function a(t){return e.enter(`atxHeadingSequence`),o(t)}function o(t){return t===35&&r++<6?(e.consume(t),o):t===null||qa(t)?(e.exit(`atxHeadingSequence`),s(t)):n(t)}function s(n){return n===35?(e.enter(`atxHeadingSequence`),c(n)):n===null||k(n)?(e.exit(`atxHeading`),t(n)):Ja(n)?Qa(e,s,`whitespace`)(n):(e.enter(`atxHeadingText`),l(n))}function c(t){return t===35?(e.consume(t),c):(e.exit(`atxHeadingSequence`),s(t))}function l(t){return t===null||t===35||qa(t)?(e.exit(`atxHeadingText`),s(t)):(e.consume(t),l)}}var cs=`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`.split(`.`),ls=[`pre`,`script`,`style`,`textarea`],us={concrete:!0,name:`htmlFlow`,resolveTo:ps,tokenize:ms},ds={partial:!0,tokenize:gs},fs={partial:!0,tokenize:hs};function ps(e){let t=e.length;for(;t--&&!(e[t][0]===`enter`&&e[t][1].type===`htmlFlow`););return t>1&&e[t-2][1].type===`linePrefix`&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e}function ms(e,t,n){let r=this,i,a,o,s,c;return l;function l(e){return u(e)}function u(t){return e.enter(`htmlFlow`),e.enter(`htmlFlowData`),e.consume(t),d}function d(s){return s===33?(e.consume(s),f):s===47?(e.consume(s),a=!0,h):s===63?(e.consume(s),i=3,r.interrupt?t:le):Ba(s)?(e.consume(s),o=String.fromCharCode(s),g):n(s)}function f(a){return a===45?(e.consume(a),i=2,p):a===91?(e.consume(a),i=5,s=0,m):Ba(a)?(e.consume(a),i=4,r.interrupt?t:le):n(a)}function p(i){return i===45?(e.consume(i),r.interrupt?t:le):n(i)}function m(i){return i===`CDATA[`.charCodeAt(s++)?(e.consume(i),s===6?r.interrupt?t:ne:m):n(i)}function h(t){return Ba(t)?(e.consume(t),o=String.fromCharCode(t),g):n(t)}function g(s){if(s===null||s===47||s===62||qa(s)){let c=s===47,l=o.toLowerCase();return!c&&!a&&ls.includes(l)?(i=1,r.interrupt?t(s):ne(s)):cs.includes(o.toLowerCase())?(i=6,c?(e.consume(s),_):r.interrupt?t(s):ne(s)):(i=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(s):a?v(s):y(s))}return s===45||Va(s)?(e.consume(s),o+=String.fromCharCode(s),g):n(s)}function _(i){return i===62?(e.consume(i),r.interrupt?t:ne):n(i)}function v(t){return Ja(t)?(e.consume(t),v):T(t)}function y(t){return t===47?(e.consume(t),T):t===58||t===95||Ba(t)?(e.consume(t),b):Ja(t)?(e.consume(t),y):T(t)}function b(t){return t===45||t===46||t===58||t===95||Va(t)?(e.consume(t),b):x(t)}function x(t){return t===61?(e.consume(t),S):Ja(t)?(e.consume(t),x):y(t)}function S(t){return t===null||t===60||t===61||t===62||t===96?n(t):t===34||t===39?(e.consume(t),c=t,C):Ja(t)?(e.consume(t),S):ee(t)}function C(t){return t===c?(e.consume(t),c=null,w):t===null||k(t)?n(t):(e.consume(t),C)}function ee(t){return t===null||t===34||t===39||t===47||t===60||t===61||t===62||t===96||qa(t)?x(t):(e.consume(t),ee)}function w(e){return e===47||e===62||Ja(e)?y(e):n(e)}function T(t){return t===62?(e.consume(t),te):n(t)}function te(t){return t===null||k(t)?ne(t):Ja(t)?(e.consume(t),te):n(t)}function ne(t){return t===45&&i===2?(e.consume(t),oe):t===60&&i===1?(e.consume(t),se):t===62&&i===4?(e.consume(t),ue):t===63&&i===3?(e.consume(t),le):t===93&&i===5?(e.consume(t),E):k(t)&&(i===6||i===7)?(e.exit(`htmlFlowData`),e.check(ds,de,re)(t)):t===null||k(t)?(e.exit(`htmlFlowData`),re(t)):(e.consume(t),ne)}function re(t){return e.check(fs,ie,de)(t)}function ie(t){return e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),ae}function ae(t){return t===null||k(t)?re(t):(e.enter(`htmlFlowData`),ne(t))}function oe(t){return t===45?(e.consume(t),le):ne(t)}function se(t){return t===47?(e.consume(t),o=``,ce):ne(t)}function ce(t){if(t===62){let n=o.toLowerCase();return ls.includes(n)?(e.consume(t),ue):ne(t)}return Ba(t)&&o.length<8?(e.consume(t),o+=String.fromCharCode(t),ce):ne(t)}function E(t){return t===93?(e.consume(t),le):ne(t)}function le(t){return t===62?(e.consume(t),ue):t===45&&i===2?(e.consume(t),le):ne(t)}function ue(t){return t===null||k(t)?(e.exit(`htmlFlowData`),de(t)):(e.consume(t),ue)}function de(n){return e.exit(`htmlFlow`),t(n)}}function hs(e,t,n){let r=this;return i;function i(t){return k(t)?(e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),a):n(t)}function a(e){return r.parser.lazy[r.now().line]?n(e):t(e)}}function gs(e,t,n){return r;function r(r){return e.enter(`lineEnding`),e.consume(r),e.exit(`lineEnding`),e.attempt(mo,t,n)}}var _s={name:`htmlText`,tokenize:vs};function vs(e,t,n){let r=this,i,a,o;return s;function s(t){return e.enter(`htmlText`),e.enter(`htmlTextData`),e.consume(t),c}function c(t){return t===33?(e.consume(t),l):t===47?(e.consume(t),x):t===63?(e.consume(t),y):Ba(t)?(e.consume(t),ee):n(t)}function l(t){return t===45?(e.consume(t),u):t===91?(e.consume(t),a=0,m):Ba(t)?(e.consume(t),v):n(t)}function u(t){return t===45?(e.consume(t),p):n(t)}function d(t){return t===null?n(t):t===45?(e.consume(t),f):k(t)?(o=d,se(t)):(e.consume(t),d)}function f(t){return t===45?(e.consume(t),p):d(t)}function p(e){return e===62?oe(e):e===45?f(e):d(e)}function m(t){return t===`CDATA[`.charCodeAt(a++)?(e.consume(t),a===6?h:m):n(t)}function h(t){return t===null?n(t):t===93?(e.consume(t),g):k(t)?(o=h,se(t)):(e.consume(t),h)}function g(t){return t===93?(e.consume(t),_):h(t)}function _(t){return t===62?oe(t):t===93?(e.consume(t),_):h(t)}function v(t){return t===null||t===62?oe(t):k(t)?(o=v,se(t)):(e.consume(t),v)}function y(t){return t===null?n(t):t===63?(e.consume(t),b):k(t)?(o=y,se(t)):(e.consume(t),y)}function b(e){return e===62?oe(e):y(e)}function x(t){return Ba(t)?(e.consume(t),S):n(t)}function S(t){return t===45||Va(t)?(e.consume(t),S):C(t)}function C(t){return k(t)?(o=C,se(t)):Ja(t)?(e.consume(t),C):oe(t)}function ee(t){return t===45||Va(t)?(e.consume(t),ee):t===47||t===62||qa(t)?w(t):n(t)}function w(t){return t===47?(e.consume(t),oe):t===58||t===95||Ba(t)?(e.consume(t),T):k(t)?(o=w,se(t)):Ja(t)?(e.consume(t),w):oe(t)}function T(t){return t===45||t===46||t===58||t===95||Va(t)?(e.consume(t),T):te(t)}function te(t){return t===61?(e.consume(t),ne):k(t)?(o=te,se(t)):Ja(t)?(e.consume(t),te):w(t)}function ne(t){return t===null||t===60||t===61||t===62||t===96?n(t):t===34||t===39?(e.consume(t),i=t,re):k(t)?(o=ne,se(t)):Ja(t)?(e.consume(t),ne):(e.consume(t),ie)}function re(t){return t===i?(e.consume(t),i=void 0,ae):t===null?n(t):k(t)?(o=re,se(t)):(e.consume(t),re)}function ie(t){return t===null||t===34||t===39||t===60||t===61||t===96?n(t):t===47||t===62||qa(t)?w(t):(e.consume(t),ie)}function ae(e){return e===47||e===62||qa(e)?w(e):n(e)}function oe(r){return r===62?(e.consume(r),e.exit(`htmlTextData`),e.exit(`htmlText`),t):n(r)}function se(t){return e.exit(`htmlTextData`),e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),ce}function ce(t){return Ja(t)?Qa(e,E,`linePrefix`,r.parser.constructs.disable.null.includes(`codeIndented`)?void 0:4)(t):E(t)}function E(t){return e.enter(`htmlTextData`),o(t)}}var ys={name:`labelEnd`,resolveAll:Cs,resolveTo:ws,tokenize:Ts},bs={tokenize:Es},xs={tokenize:Ds},Ss={tokenize:Os};function Cs(e){let t=-1,n=[];for(;++t<e.length;){let r=e[t][1];if(n.push(e[t]),r.type===`labelImage`||r.type===`labelLink`||r.type===`labelEnd`){let e=r.type===`labelImage`?4:2;r.type=`data`,t+=e}}return e.length!==n.length&&Pa(e,0,e.length,n),e}function ws(e,t){let n=e.length,r=0,i,a,o,s;for(;n--;)if(i=e[n][1],a){if(i.type===`link`||i.type===`labelLink`&&i._inactive)break;e[n][0]===`enter`&&i.type===`labelLink`&&(i._inactive=!0)}else if(o){if(e[n][0]===`enter`&&(i.type===`labelImage`||i.type===`labelLink`)&&!i._balanced&&(a=n,i.type!==`labelLink`)){r=2;break}}else i.type===`labelEnd`&&(o=n);let c={type:e[a][1].type===`labelLink`?`link`:`image`,start:{...e[a][1].start},end:{...e[e.length-1][1].end}},l={type:`label`,start:{...e[a][1].start},end:{...e[o][1].end}},u={type:`labelText`,start:{...e[a+r+2][1].end},end:{...e[o-2][1].start}};return s=[[`enter`,c,t],[`enter`,l,t]],s=Fa(s,e.slice(a+1,a+r+3)),s=Fa(s,[[`enter`,u,t]]),s=Fa(s,oo(t.parser.constructs.insideSpan.null,e.slice(a+r+4,o-3),t)),s=Fa(s,[[`exit`,u,t],e[o-2],e[o-1],[`exit`,l,t]]),s=Fa(s,e.slice(o+1)),s=Fa(s,[[`exit`,c,t]]),Pa(e,a,e.length,s),e}function Ts(e,t,n){let r=this,i=r.events.length,a,o;for(;i--;)if((r.events[i][1].type===`labelImage`||r.events[i][1].type===`labelLink`)&&!r.events[i][1]._balanced){a=r.events[i][1];break}return s;function s(t){return a?a._inactive?d(t):(o=r.parser.defined.includes(Zo(r.sliceSerialize({start:a.end,end:r.now()}))),e.enter(`labelEnd`),e.enter(`labelMarker`),e.consume(t),e.exit(`labelMarker`),e.exit(`labelEnd`),c):n(t)}function c(t){return t===40?e.attempt(bs,u,o?u:d)(t):t===91?e.attempt(xs,u,o?l:d)(t):o?u(t):d(t)}function l(t){return e.attempt(Ss,u,d)(t)}function u(e){return t(e)}function d(e){return a._balanced=!0,n(e)}}function Es(e,t,n){return r;function r(t){return e.enter(`resource`),e.enter(`resourceMarker`),e.consume(t),e.exit(`resourceMarker`),i}function i(t){return qa(t)?Xo(e,a)(t):a(t)}function a(t){return t===41?u(t):qo(e,o,s,`resourceDestination`,`resourceDestinationLiteral`,`resourceDestinationLiteralMarker`,`resourceDestinationRaw`,`resourceDestinationString`,32)(t)}function o(t){return qa(t)?Xo(e,c)(t):u(t)}function s(e){return n(e)}function c(t){return t===34||t===39||t===40?Yo(e,l,n,`resourceTitle`,`resourceTitleMarker`,`resourceTitleString`)(t):u(t)}function l(t){return qa(t)?Xo(e,u)(t):u(t)}function u(r){return r===41?(e.enter(`resourceMarker`),e.consume(r),e.exit(`resourceMarker`),e.exit(`resource`),t):n(r)}}function Ds(e,t,n){let r=this;return i;function i(t){return Jo.call(r,e,a,o,`reference`,`referenceMarker`,`referenceString`)(t)}function a(e){return r.parser.defined.includes(Zo(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(e):n(e)}function o(e){return n(e)}}function Os(e,t,n){return r;function r(t){return e.enter(`reference`),e.enter(`referenceMarker`),e.consume(t),e.exit(`referenceMarker`),i}function i(r){return r===93?(e.enter(`referenceMarker`),e.consume(r),e.exit(`referenceMarker`),e.exit(`reference`),t):n(r)}}var ks={name:`labelStartImage`,resolveAll:ys.resolveAll,tokenize:As};function As(e,t,n){let r=this;return i;function i(t){return e.enter(`labelImage`),e.enter(`labelImageMarker`),e.consume(t),e.exit(`labelImageMarker`),a}function a(t){return t===91?(e.enter(`labelMarker`),e.consume(t),e.exit(`labelMarker`),e.exit(`labelImage`),o):n(t)}function o(e){return e===94&&`_hiddenFootnoteSupport`in r.parser.constructs?n(e):t(e)}}var js={name:`labelStartLink`,resolveAll:ys.resolveAll,tokenize:Ms};function Ms(e,t,n){let r=this;return i;function i(t){return e.enter(`labelLink`),e.enter(`labelMarker`),e.consume(t),e.exit(`labelMarker`),e.exit(`labelLink`),a}function a(e){return e===94&&`_hiddenFootnoteSupport`in r.parser.constructs?n(e):t(e)}}var Ns={name:`lineEnding`,tokenize:Ps};function Ps(e,t){return n;function n(n){return e.enter(`lineEnding`),e.consume(n),e.exit(`lineEnding`),Qa(e,t,`linePrefix`)}}var Fs={name:`thematicBreak`,tokenize:Is};function Is(e,t,n){let r=0,i;return a;function a(t){return e.enter(`thematicBreak`),o(t)}function o(e){return i=e,s(e)}function s(a){return a===i?(e.enter(`thematicBreakSequence`),c(a)):r>=3&&(a===null||k(a))?(e.exit(`thematicBreak`),t(a)):n(a)}function c(t){return t===i?(e.consume(t),r++,c):(e.exit(`thematicBreakSequence`),Ja(t)?Qa(e,s,`whitespace`)(t):s(t))}}var Ls={continuation:{tokenize:Vs},exit:Us,name:`list`,tokenize:Bs},Rs={partial:!0,tokenize:Ws},zs={partial:!0,tokenize:Hs};function Bs(e,t,n){let r=this,i=r.events[r.events.length-1],a=i&&i[1].type===`linePrefix`?i[2].sliceSerialize(i[1],!0).length:0,o=0;return s;function s(t){let i=r.containerState.type||(t===42||t===43||t===45?`listUnordered`:`listOrdered`);if(i===`listUnordered`?!r.containerState.marker||t===r.containerState.marker:Wa(t)){if(r.containerState.type||(r.containerState.type=i,e.enter(i,{_container:!0})),i===`listUnordered`)return e.enter(`listItemPrefix`),t===42||t===45?e.check(Fs,n,l)(t):l(t);if(!r.interrupt||t===49)return e.enter(`listItemPrefix`),e.enter(`listItemValue`),c(t)}return n(t)}function c(t){return Wa(t)&&++o<10?(e.consume(t),c):(!r.interrupt||o<2)&&(r.containerState.marker?t===r.containerState.marker:t===41||t===46)?(e.exit(`listItemValue`),l(t)):n(t)}function l(t){return e.enter(`listItemMarker`),e.consume(t),e.exit(`listItemMarker`),r.containerState.marker=r.containerState.marker||t,e.check(mo,r.interrupt?n:u,e.attempt(Rs,f,d))}function u(e){return r.containerState.initialBlankLine=!0,a++,f(e)}function d(t){return Ja(t)?(e.enter(`listItemPrefixWhitespace`),e.consume(t),e.exit(`listItemPrefixWhitespace`),f):n(t)}function f(n){return r.containerState.size=a+r.sliceSerialize(e.exit(`listItemPrefix`),!0).length,t(n)}}function Vs(e,t,n){let r=this;return r.containerState._closeFlow=void 0,e.check(mo,i,a);function i(n){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,Qa(e,t,`listItemIndent`,r.containerState.size+1)(n)}function a(n){return r.containerState.furtherBlankLines||!Ja(n)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,o(n)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(zs,t,o)(n))}function o(i){return r.containerState._closeFlow=!0,r.interrupt=void 0,Qa(e,e.attempt(Ls,t,n),`linePrefix`,r.parser.constructs.disable.null.includes(`codeIndented`)?void 0:4)(i)}}function Hs(e,t,n){let r=this;return Qa(e,i,`listItemIndent`,r.containerState.size+1);function i(e){let i=r.events[r.events.length-1];return i&&i[1].type===`listItemIndent`&&i[2].sliceSerialize(i[1],!0).length===r.containerState.size?t(e):n(e)}}function Us(e){e.exit(this.containerState.type)}function Ws(e,t,n){let r=this;return Qa(e,i,`listItemPrefixWhitespace`,r.parser.constructs.disable.null.includes(`codeIndented`)?void 0:5);function i(e){let i=r.events[r.events.length-1];return!Ja(e)&&i&&i[1].type===`listItemPrefixWhitespace`?t(e):n(e)}}var Gs={name:`setextUnderline`,resolveTo:Ks,tokenize:qs};function Ks(e,t){let n=e.length,r,i,a;for(;n--;)if(e[n][0]===`enter`){if(e[n][1].type===`content`){r=n;break}e[n][1].type===`paragraph`&&(i=n)}else e[n][1].type===`content`&&e.splice(n,1),!a&&e[n][1].type===`definition`&&(a=n);let o={type:`setextHeading`,start:{...e[r][1].start},end:{...e[e.length-1][1].end}};return e[i][1].type=`setextHeadingText`,a?(e.splice(i,0,[`enter`,o,t]),e.splice(a+1,0,[`exit`,e[r][1],t]),e[r][1].end={...e[a][1].end}):e[r][1]=o,e.push([`exit`,o,t]),e}function qs(e,t,n){let r=this,i;return a;function a(t){let a=r.events.length,s;for(;a--;)if(r.events[a][1].type!==`lineEnding`&&r.events[a][1].type!==`linePrefix`&&r.events[a][1].type!==`content`){s=r.events[a][1].type===`paragraph`;break}return!r.parser.lazy[r.now().line]&&(r.interrupt||s)?(e.enter(`setextHeadingLine`),i=t,o(t)):n(t)}function o(t){return e.enter(`setextHeadingLineSequence`),s(t)}function s(t){return t===i?(e.consume(t),s):(e.exit(`setextHeadingLineSequence`),Ja(t)?Qa(e,c,`lineSuffix`)(t):c(t))}function c(r){return r===null||k(r)?(e.exit(`setextHeadingLine`),t(r)):n(r)}}var Js={tokenize:Ys};function Ys(e){let t=this,n=e.attempt(mo,r,e.attempt(this.parser.constructs.flowInitial,i,Qa(e,e.attempt(this.parser.constructs.flow,i,e.attempt(Ho,i)),`linePrefix`)));return n;function r(r){if(r===null){e.consume(r);return}return e.enter(`lineEndingBlank`),e.consume(r),e.exit(`lineEndingBlank`),t.currentConstruct=void 0,n}function i(r){if(r===null){e.consume(r);return}return e.enter(`lineEnding`),e.consume(r),e.exit(`lineEnding`),t.currentConstruct=void 0,n}}var Xs={resolveAll:ec()},Zs=$s(`string`),Qs=$s(`text`);function $s(e){return{resolveAll:ec(e===`text`?tc:void 0),tokenize:t};function t(t){let n=this,r=this.parser.constructs[e],i=t.attempt(r,a,o);return a;function a(e){return c(e)?i(e):o(e)}function o(e){if(e===null){t.consume(e);return}return t.enter(`data`),t.consume(e),s}function s(e){return c(e)?(t.exit(`data`),i(e)):(t.consume(e),s)}function c(e){if(e===null)return!0;let t=r[e],i=-1;if(t)for(;++i<t.length;){let e=t[i];if(!e.previous||e.previous.call(n,n.previous))return!0}return!1}}}function ec(e){return t;function t(t,n){let r=-1,i;for(;++r<=t.length;)i===void 0?t[r]&&t[r][1].type===`data`&&(i=r,r++):(!t[r]||t[r][1].type!==`data`)&&(r!==i+2&&(t[i][1].end=t[r-1][1].end,t.splice(i+2,r-i-2),r=i+2),i=void 0);return e?e(t,n):t}}function tc(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||e[n][1].type===`lineEnding`)&&e[n-1][1].type===`data`){let r=e[n-1][1],i=t.sliceStream(r),a=i.length,o=-1,s=0,c;for(;a--;){let e=i[a];if(typeof e==`string`){for(o=e.length;e.charCodeAt(o-1)===32;)s++,o--;if(o)break;o=-1}else if(e===-2)c=!0,s++;else if(e!==-1){a++;break}}if(t._contentTypeTextTrailing&&n===e.length&&(s=0),s){let i={type:n===e.length||c||s<2?`lineSuffix`:`hardBreakTrailing`,start:{_bufferIndex:a?o:r.start._bufferIndex+o,_index:r.start._index+a,line:r.end.line,column:r.end.column-s,offset:r.end.offset-s},end:{...r.end}};r.end={...i.start},r.start.offset===r.end.offset?Object.assign(r,i):(e.splice(n,0,[`enter`,i,t],[`exit`,i,t]),n+=2)}n++}return e}var nc=e({attentionMarkers:()=>uc,contentInitial:()=>ic,disable:()=>dc,document:()=>rc,flow:()=>oc,flowInitial:()=>ac,insideSpan:()=>lc,string:()=>sc,text:()=>cc}),rc={42:Ls,43:Ls,45:Ls,48:Ls,49:Ls,50:Ls,51:Ls,52:Ls,53:Ls,54:Ls,55:Ls,56:Ls,57:Ls,62:go},ic={91:Qo},ac={[-2]:Ao,[-1]:Ao,32:Ao},oc={35:is,42:Fs,45:[Gs,Fs],60:us,61:Gs,95:Fs,96:Do,126:Do},sc={38:wo,92:bo},cc={[-5]:Ns,[-4]:Ns,[-3]:Ns,33:ks,38:wo,42:so,60:[fo,_s],91:js,92:[ns,bo],93:ys,95:so,96:Po},lc={null:[so,Xs]},uc={null:[42,95]},dc={null:[]};function fc(e,t,n){let r={_bufferIndex:-1,_index:0,line:n&&n.line||1,column:n&&n.column||1,offset:n&&n.offset||0},i={},a=[],o=[],s=[],c={attempt:C(x),check:C(S),consume:v,enter:y,exit:b,interrupt:C(S,{interrupt:!0})},l={code:null,containerState:{},defineSkip:h,events:[],now:m,parser:e,previous:null,sliceSerialize:f,sliceStream:p,write:d},u=t.tokenize.call(l,c);return t.resolveAll&&a.push(t),l;function d(e){return o=Fa(o,e),g(),o[o.length-1]===null?(ee(t,0),l.events=oo(a,l.events,l),l.events):[]}function f(e,t){return mc(p(e),t)}function p(e){return pc(o,e)}function m(){let{_bufferIndex:e,_index:t,line:n,column:i,offset:a}=r;return{_bufferIndex:e,_index:t,line:n,column:i,offset:a}}function h(e){i[e.line]=e.column,T()}function g(){let e;for(;r._index<o.length;){let t=o[r._index];if(typeof t==`string`)for(e=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===e&&r._bufferIndex<t.length;)_(t.charCodeAt(r._bufferIndex));else _(t)}}function _(e){u=u(e)}function v(e){k(e)?(r.line++,r.column=1,r.offset+=e===-3?2:1,T()):e!==-1&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===o[r._index].length&&(r._bufferIndex=-1,r._index++)),l.previous=e}function y(e,t){let n=t||{};return n.type=e,n.start=m(),l.events.push([`enter`,n,l]),s.push(n),n}function b(e){let t=s.pop();return t.end=m(),l.events.push([`exit`,t,l]),t}function x(e,t){ee(e,t.from)}function S(e,t){t.restore()}function C(e,t){return n;function n(n,r,i){let a,o,s,u;return Array.isArray(n)?f(n):`tokenize`in n?f([n]):d(n);function d(e){return t;function t(t){let n=t!==null&&e[t],r=t!==null&&e.null;return f([...Array.isArray(n)?n:n?[n]:[],...Array.isArray(r)?r:r?[r]:[]])(t)}}function f(e){return a=e,o=0,e.length===0?i:p(e[o])}function p(e){return n;function n(n){return u=w(),s=e,e.partial||(l.currentConstruct=e),e.name&&l.parser.constructs.disable.null.includes(e.name)?h(n):e.tokenize.call(t?Object.assign(Object.create(l),t):l,c,m,h)(n)}}function m(t){return e(s,u),r}function h(e){return u.restore(),++o<a.length?p(a[o]):i}}}function ee(e,t){e.resolveAll&&!a.includes(e)&&a.push(e),e.resolve&&Pa(l.events,t,l.events.length-t,e.resolve(l.events.slice(t),l)),e.resolveTo&&(l.events=e.resolveTo(l.events,l))}function w(){let e=m(),t=l.previous,n=l.currentConstruct,i=l.events.length,a=Array.from(s);return{from:i,restore:o};function o(){r=e,l.previous=t,l.currentConstruct=n,l.events.length=i,s=a,T()}}function T(){r.line in i&&r.column<2&&(r.column=i[r.line],r.offset+=i[r.line]-1)}}function pc(e,t){let n=t.start._index,r=t.start._bufferIndex,i=t.end._index,a=t.end._bufferIndex,o;if(n===i)o=[e[n].slice(r,a)];else{if(o=e.slice(n,i),r>-1){let e=o[0];typeof e==`string`?o[0]=e.slice(r):o.shift()}a>0&&o.push(e[i].slice(0,a))}return o}function mc(e,t){let n=-1,r=[],i;for(;++n<e.length;){let a=e[n],o;if(typeof a==`string`)o=a;else switch(a){case-5:o=`\r`;break;case-4:o=`
|
|
4
4
|
`;break;case-3:o=`\r
|
|
5
5
|
`;break;case-2:o=t?` `:` `;break;case-1:if(!t&&i)continue;o=` `;break;default:o=String.fromCharCode(a)}i=a===-2,r.push(o)}return r.join(``)}function hc(e){let t={constructs:La([nc,...(e||{}).extensions||[]]),content:n($a),defined:[],document:n(to),flow:n(Js),lazy:{},string:n(Zs),text:n(Qs)};return t;function n(e){return n;function n(n){return fc(t,e,n)}}}function gc(e){for(;!Bo(e););return e}var _c=/[\0\t\n\r]/g;function vc(){let e=1,t=``,n=!0,r;return i;function i(i,a,o){let s=[],c,l,u,d,f;for(i=t+(typeof i==`string`?i.toString():new TextDecoder(a||void 0).decode(i)),u=0,t=``,n&&=(i.charCodeAt(0)===65279&&u++,void 0);u<i.length;){if(_c.lastIndex=u,c=_c.exec(i),d=c&&c.index!==void 0?c.index:i.length,f=i.charCodeAt(d),!c){t=i.slice(u);break}if(f===10&&u===d&&r)s.push(-3),r=void 0;else switch(r&&=(s.push(-5),void 0),u<d&&(s.push(i.slice(u,d)),e+=d-u),f){case 0:s.push(65533),e++;break;case 9:for(l=Math.ceil(e/4)*4,s.push(-2);e++<l;)s.push(-1);break;case 10:s.push(-4),e=1;break;default:r=!0,e=1}u=d+1}return o&&(r&&s.push(-5),t&&s.push(t),s.push(null)),s}}function yc(e,t){let n=Number.parseInt(e,t);return n<9||n===11||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)==65535||(n&65535)==65534||n>1114111?`�`:String.fromCodePoint(n)}var bc=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function xc(e){return e.replace(bc,Sc)}function Sc(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){let e=n.charCodeAt(1),t=e===120||e===88;return yc(n.slice(t?2:1),t?16:10)}return Co(n)||e}function Cc(e){return!e||typeof e!=`object`?``:`position`in e||`type`in e?Tc(e.position):`start`in e||`end`in e?Tc(e):`line`in e||`column`in e?wc(e):``}function wc(e){return Ec(e&&e.line)+`:`+Ec(e&&e.column)}function Tc(e){return wc(e&&e.start)+`-`+wc(e&&e.end)}function Ec(e){return e&&typeof e==`number`?e:1}var Dc={}.hasOwnProperty;function Oc(e,t,n){return t&&typeof t==`object`&&(n=t,t=void 0),kc(n)(gc(hc(n).document().write(vc()(e,t,!0))))}function kc(e){let t={transforms:[],canContainEols:[`emphasis`,`fragment`,`heading`,`paragraph`,`strong`],enter:{autolink:a(De),autolinkProtocol:w,autolinkEmail:w,atxHeading:a(Ce),blockQuote:a(D),characterEscape:w,characterReference:w,codeFenced:a(ye),codeFencedFenceInfo:o,codeFencedFenceMeta:o,codeIndented:a(ye,o),codeText:a(be,o),codeTextData:w,data:w,codeFlowValue:w,definition:a(xe),definitionDestinationString:o,definitionLabelString:o,definitionTitleString:o,emphasis:a(Se),hardBreakEscape:a(we),hardBreakTrailing:a(we),htmlFlow:a(Te,o),htmlFlowData:w,htmlText:a(Te,o),htmlTextData:w,image:a(Ee),label:o,link:a(De),listItem:a(ke),listItemValue:f,listOrdered:a(Oe,d),listUnordered:a(Oe),paragraph:a(Ae),reference:fe,referenceString:o,resourceDestinationString:o,resourceTitleString:o,setextHeading:a(Ce),strong:a(je),thematicBreak:a(Ne)},exit:{atxHeading:c(),atxHeadingSequence:x,autolink:c(),autolinkEmail:ve,autolinkProtocol:_e,blockQuote:c(),characterEscapeValue:T,characterReferenceMarkerHexadecimal:me,characterReferenceMarkerNumeric:me,characterReferenceValue:he,characterReference:ge,codeFenced:c(g),codeFencedFence:h,codeFencedFenceInfo:p,codeFencedFenceMeta:m,codeFlowValue:T,codeIndented:c(_),codeText:c(ae),codeTextData:T,data:T,definition:c(),definitionDestinationString:b,definitionLabelString:v,definitionTitleString:y,emphasis:c(),hardBreakEscape:c(ne),hardBreakTrailing:c(ne),htmlFlow:c(re),htmlFlowData:T,htmlText:c(ie),htmlTextData:T,image:c(se),label:E,labelText:ce,lineEnding:te,link:c(oe),listItem:c(),listOrdered:c(),listUnordered:c(),paragraph:c(),referenceString:pe,resourceDestinationString:le,resourceTitleString:ue,resource:de,setextHeading:c(ee),setextHeadingLineSequence:C,setextHeadingText:S,strong:c(),thematicBreak:c()}};jc(t,(e||{}).mdastExtensions||[]);let n={};return r;function r(e){let r={type:`root`,children:[]},a={stack:[r],tokenStack:[],config:t,enter:s,exit:l,buffer:o,resume:u,data:n},c=[],d=-1;for(;++d<e.length;)(e[d][1].type===`listOrdered`||e[d][1].type===`listUnordered`)&&(e[d][0]===`enter`?c.push(d):d=i(e,c.pop(),d));for(d=-1;++d<e.length;){let n=t[e[d][0]];Dc.call(n,e[d][1].type)&&n[e[d][1].type].call(Object.assign({sliceSerialize:e[d][2].sliceSerialize},a),e[d][1])}if(a.tokenStack.length>0){let e=a.tokenStack[a.tokenStack.length-1];(e[1]||Nc).call(a,void 0,e[0])}for(r.position={start:Ac(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:Ac(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},d=-1;++d<t.transforms.length;)r=t.transforms[d](r)||r;return r}function i(e,t,n){let r=t-1,i=-1,a=!1,o,s,c,l;for(;++r<=n;){let t=e[r];switch(t[1].type){case`listUnordered`:case`listOrdered`:case`blockQuote`:t[0]===`enter`?i++:i--,l=void 0;break;case`lineEndingBlank`:t[0]===`enter`&&(o&&!l&&!i&&!c&&(c=r),l=void 0);break;case`linePrefix`:case`listItemValue`:case`listItemMarker`:case`listItemPrefix`:case`listItemPrefixWhitespace`:break;default:l=void 0}if(!i&&t[0]===`enter`&&t[1].type===`listItemPrefix`||i===-1&&t[0]===`exit`&&(t[1].type===`listUnordered`||t[1].type===`listOrdered`)){if(o){let i=r;for(s=void 0;i--;){let t=e[i];if(t[1].type===`lineEnding`||t[1].type===`lineEndingBlank`){if(t[0]===`exit`)continue;s&&(e[s][1].type=`lineEndingBlank`,a=!0),t[1].type=`lineEnding`,s=i}else if(!(t[1].type===`linePrefix`||t[1].type===`blockQuotePrefix`||t[1].type===`blockQuotePrefixWhitespace`||t[1].type===`blockQuoteMarker`||t[1].type===`listItemIndent`))break}c&&(!s||c<s)&&(o._spread=!0),o.end=Object.assign({},s?e[s][1].start:t[1].end),e.splice(s||r,0,[`exit`,o,t[2]]),r++,n++}if(t[1].type===`listItemPrefix`){let i={type:`listItem`,_spread:!1,start:Object.assign({},t[1].start),end:void 0};o=i,e.splice(r,0,[`enter`,i,t[2]]),r++,n++,c=void 0,l=!0}}}return e[t][1]._spread=a,n}function a(e,t){return n;function n(n){s.call(this,e(n),n),t&&t.call(this,n)}}function o(){this.stack.push({type:`fragment`,children:[]})}function s(e,t,n){this.stack[this.stack.length-1].children.push(e),this.stack.push(e),this.tokenStack.push([t,n||void 0]),e.position={start:Ac(t.start),end:void 0}}function c(e){return t;function t(t){e&&e.call(this,t),l.call(this,t)}}function l(e,t){let n=this.stack.pop(),r=this.tokenStack.pop();if(r)r[0].type!==e.type&&(t?t.call(this,e,r[0]):(r[1]||Nc).call(this,e,r[0]));else throw Error("Cannot close `"+e.type+"` ("+Cc({start:e.start,end:e.end})+`): it’s not open`);n.position.end=Ac(e.end)}function u(){return Aa(this.stack.pop())}function d(){this.data.expectingFirstListItemValue=!0}function f(e){if(this.data.expectingFirstListItemValue){let t=this.stack[this.stack.length-2];t.start=Number.parseInt(this.sliceSerialize(e),10),this.data.expectingFirstListItemValue=void 0}}function p(){let e=this.resume(),t=this.stack[this.stack.length-1];t.lang=e}function m(){let e=this.resume(),t=this.stack[this.stack.length-1];t.meta=e}function h(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function g(){let e=this.resume(),t=this.stack[this.stack.length-1];t.value=e.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,``),this.data.flowCodeInside=void 0}function _(){let e=this.resume(),t=this.stack[this.stack.length-1];t.value=e.replace(/(\r?\n|\r)$/g,``)}function v(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=Zo(this.sliceSerialize(e)).toLowerCase()}function y(){let e=this.resume(),t=this.stack[this.stack.length-1];t.title=e}function b(){let e=this.resume(),t=this.stack[this.stack.length-1];t.url=e}function x(e){let t=this.stack[this.stack.length-1];t.depth||=this.sliceSerialize(e).length}function S(){this.data.setextHeadingSlurpLineEnding=!0}function C(e){let t=this.stack[this.stack.length-1];t.depth=this.sliceSerialize(e).codePointAt(0)===61?1:2}function ee(){this.data.setextHeadingSlurpLineEnding=void 0}function w(e){let t=this.stack[this.stack.length-1].children,n=t[t.length-1];(!n||n.type!==`text`)&&(n=Me(),n.position={start:Ac(e.start),end:void 0},t.push(n)),this.stack.push(n)}function T(e){let t=this.stack.pop();t.value+=this.sliceSerialize(e),t.position.end=Ac(e.end)}function te(e){let n=this.stack[this.stack.length-1];if(this.data.atHardBreak){let t=n.children[n.children.length-1];t.position.end=Ac(e.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(n.type)&&(w.call(this,e),T.call(this,e))}function ne(){this.data.atHardBreak=!0}function re(){let e=this.resume(),t=this.stack[this.stack.length-1];t.value=e}function ie(){let e=this.resume(),t=this.stack[this.stack.length-1];t.value=e}function ae(){let e=this.resume(),t=this.stack[this.stack.length-1];t.value=e}function oe(){let e=this.stack[this.stack.length-1];if(this.data.inReference){let t=this.data.referenceType||`shortcut`;e.type+=`Reference`,e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}function se(){let e=this.stack[this.stack.length-1];if(this.data.inReference){let t=this.data.referenceType||`shortcut`;e.type+=`Reference`,e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}function ce(e){let t=this.sliceSerialize(e),n=this.stack[this.stack.length-2];n.label=xc(t),n.identifier=Zo(t).toLowerCase()}function E(){let e=this.stack[this.stack.length-1],t=this.resume(),n=this.stack[this.stack.length-1];this.data.inReference=!0,n.type===`link`?n.children=e.children:n.alt=t}function le(){let e=this.resume(),t=this.stack[this.stack.length-1];t.url=e}function ue(){let e=this.resume(),t=this.stack[this.stack.length-1];t.title=e}function de(){this.data.inReference=void 0}function fe(){this.data.referenceType=`collapsed`}function pe(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=Zo(this.sliceSerialize(e)).toLowerCase(),this.data.referenceType=`full`}function me(e){this.data.characterReferenceType=e.type}function he(e){let t=this.sliceSerialize(e),n=this.data.characterReferenceType,r;n?(r=yc(t,n===`characterReferenceMarkerNumeric`?10:16),this.data.characterReferenceType=void 0):r=Co(t);let i=this.stack[this.stack.length-1];i.value+=r}function ge(e){let t=this.stack.pop();t.position.end=Ac(e.end)}function _e(e){T.call(this,e);let t=this.stack[this.stack.length-1];t.url=this.sliceSerialize(e)}function ve(e){T.call(this,e);let t=this.stack[this.stack.length-1];t.url=`mailto:`+this.sliceSerialize(e)}function D(){return{type:`blockquote`,children:[]}}function ye(){return{type:`code`,lang:null,meta:null,value:``}}function be(){return{type:`inlineCode`,value:``}}function xe(){return{type:`definition`,identifier:``,label:null,title:null,url:``}}function Se(){return{type:`emphasis`,children:[]}}function Ce(){return{type:`heading`,depth:0,children:[]}}function we(){return{type:`break`}}function Te(){return{type:`html`,value:``}}function Ee(){return{type:`image`,title:null,url:``,alt:null}}function De(){return{type:`link`,title:null,url:``,children:[]}}function Oe(e){return{type:`list`,ordered:e.type===`listOrdered`,start:null,spread:e._spread,children:[]}}function ke(e){return{type:`listItem`,spread:e._spread,checked:null,children:[]}}function Ae(){return{type:`paragraph`,children:[]}}function je(){return{type:`strong`,children:[]}}function Me(){return{type:`text`,value:``}}function Ne(){return{type:`thematicBreak`}}}function Ac(e){return{line:e.line,column:e.column,offset:e.offset}}function jc(e,t){let n=-1;for(;++n<t.length;){let r=t[n];Array.isArray(r)?jc(e,r):Mc(e,r)}}function Mc(e,t){let n;for(n in t)if(Dc.call(t,n))switch(n){case`canContainEols`:{let r=t[n];r&&e[n].push(...r);break}case`transforms`:{let r=t[n];r&&e[n].push(...r);break}case`enter`:case`exit`:{let r=t[n];r&&Object.assign(e[n],r);break}}}function Nc(e,t){throw Error(e?"Cannot close `"+e.type+"` ("+Cc({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+Cc({start:t.start,end:t.end})+`) is open`:"Cannot close document, a token (`"+t.type+"`, "+Cc({start:t.start,end:t.end})+`) is still open`)}function Pc(e){let t=this;t.parser=n;function n(n){return Oc(n,{...t.data(`settings`),...e,extensions:t.data(`micromarkExtensions`)||[],mdastExtensions:t.data(`fromMarkdownExtensions`)||[]})}}var Fc={}.hasOwnProperty;function Ic(e,t){let n=t||{};function r(t,...n){let i=r.invalid,a=r.handlers;if(t&&Fc.call(t,e)){let n=String(t[e]);i=Fc.call(a,n)?a[n]:r.unknown}if(i)return i.call(this,t,...n)}return r.handlers=n.handlers||{},r.invalid=n.invalid,r.unknown=n.unknown,r}var Lc={}.hasOwnProperty;function Rc(e,t){let n=-1,r;if(t.extensions)for(;++n<t.extensions.length;)Rc(e,t.extensions[n]);for(r in t)if(Lc.call(t,r))switch(r){case`extensions`:break;case`unsafe`:zc(e[r],t[r]);break;case`join`:zc(e[r],t[r]);break;case`handlers`:Bc(e[r],t[r]);break;default:e.options[r]=t[r]}return e}function zc(e,t){t&&e.push(...t)}function Bc(e,t){t&&Object.assign(e,t)}function Vc(e,t,n,r){let i=n.enter(`blockquote`),a=n.createTracker(r);a.move(`> `),a.shift(2);let o=n.indentLines(n.containerFlow(e,a.current()),Hc);return i(),o}function Hc(e,t,n){return`>`+(n?``:` `)+e}function Uc(e,t){return Wc(e,t.inConstruct,!0)&&!Wc(e,t.notInConstruct,!1)}function Wc(e,t,n){if(typeof t==`string`&&(t=[t]),!t||t.length===0)return n;let r=-1;for(;++r<t.length;)if(e.includes(t[r]))return!0;return!1}function Gc(e,t,n,r){let i=-1;for(;++i<n.unsafe.length;)if(n.unsafe[i].character===`
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as e}from"./jsx-runtime-Bt-cYkS5.js";import{B as t}from"./useAppStore-
|
|
1
|
+
import{t as e}from"./jsx-runtime-Bt-cYkS5.js";import{B as t}from"./useAppStore-Pjif7nCR.js";import{a as n}from"./i18n-BPfshhQc.js";import{n as r}from"./AppShell-kfQyRhZy.js";var i=t(`panel-left-open`,[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}],[`path`,{d:`M9 3v18`,key:`fh3hqa`}],[`path`,{d:`m14 9 3 3-3 3`,key:`8010ee`}]]),a=e();function o({label:e,className:t=``,variant:o=`primary`}){let{isSidebarVisible:s,openSidebar:c}=r(),{t:l}=n(),u=o===`primary`?`btn-primary`:``,d=e||l(`appShell.openSidebar`);return s?null:(0,a.jsxs)(`button`,{type:`button`,className:`btn ${u} sidebar-open-hint ${t}`.trim(),onClick:c,children:[(0,a.jsx)(i,{size:16}),d]})}export{o as t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{B as e}from"./useAppStore-Pjif7nCR.js";var t=e(`arrow-right`,[[`path`,{d:`M5 12h14`,key:`1ays0h`}],[`path`,{d:`m12 5 7 7-7 7`,key:`xquz4c`}]]);export{t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{B as e}from"./useAppStore-
|
|
1
|
+
import{B as e}from"./useAppStore-Pjif7nCR.js";var t=e(`arrow-up-down`,[[`path`,{d:`m21 16-4 4-4-4`,key:`f6ql7i`}],[`path`,{d:`M17 20V4`,key:`1ejh1v`}],[`path`,{d:`m3 8 4-4 4 4`,key:`11wl7u`}],[`path`,{d:`M7 4v16`,key:`1glfcx`}]]);export{t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{l as e,n as t}from"./useAppStore-
|
|
1
|
+
import{l as e,n as t}from"./useAppStore-Pjif7nCR.js";var n={getChannels(e={}){let n=new URLSearchParams;e.type&&n.set(`type`,e.type);let r=n.toString();return t.get(r?`/api/channels?${r}`:`/api/channels`).json()},createChannel(e,n=`personal`,r={}){return t.post(`/api/channels`,{json:{name:e,type:n,...r}}).json()},leaveChannel(e){return t.delete(`/api/channels`,{json:{channelKey:e}}).json()},getChannelMessages(e,n=100,r=0){return t.get(`/api/channels/${encodeURIComponent(e)}/messages?limit=${n}&offset=${r}`).json()},sendChannelMessage({channelName:e,content:n,author:r,authorName:i,avatar:a,attachment:o}){return t.post(`/api/channels/${encodeURIComponent(e)}/messages`,{json:o?{content:n,author:r,authorName:i,avatar:a,attachment:o}:{content:n,author:r,authorName:i,avatar:a}}).json()},getChannelPeers(e){return t.get(`/api/channels/${encodeURIComponent(e)}/peers`).json()},getChannelPresence(e){return t.get(`/api/channels/${encodeURIComponent(e)}/presence`).json()},setChannelRemark(e,n){return t.put(`/api/channels/${encodeURIComponent(e)}/remark`,{json:{remark:n}}).json()},setChannelPinned(e,n){return t.put(`/api/channels/${encodeURIComponent(e)}/pin`,{json:{pinned:n}}).json()},getFileDownloadUrl(t){return e(`/api/files/${t}/download`)}};export{n as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{n as e}from"./i18n-
|
|
1
|
+
import{n as e}from"./i18n-BPfshhQc.js";var t=`0x955fe80bdb8312165471fcacd6a8f83df88a770dda6f38657ca4e62ec28d5b54`,n=`https://api.most.box`;function r(t){let n=typeof t==`string`?t.trim():t;return e(n)?n:void 0}function i(e){return!!e&&typeof e==`object`&&!Array.isArray(e)}function a(e){try{return JSON.parse(e)}catch{return null}}function o(e){return typeof e==`string`?a(e):e}function s(e){return typeof e==`string`?e.trim():``}function c(e){return s(e)===`sparkbit`?`sparkbit`:void 0}function l(e){let t=s(e);return t===`dark`||t===`light`?t:void 0}function u(e){let t=o(e);if(!i(t))return null;let n=s(t.uid),a=(Array.isArray(t.channels)?t.channels:[]).filter(i).map(e=>({id:s(e.id),name:s(e.name)||void 0})).filter(e=>e.id);return!n||a.length===0?null:{node_url:s(t.node_url)||void 0,node_invite:s(t.node_invite)||void 0,locale:r(t.locale),uid:n,theme:c(t.theme),appearance:l(t.appearance),logo:s(t.logo)||void 0,logo_dark:s(t.logo_dark)||void 0,data:s(t.data)||void 0,avatar:s(t.avatar)||void 0,name:s(t.name)||void 0,channels:a}}export{t as n,u as r,n as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{B as e}from"./useAppStore-
|
|
1
|
+
import{B as e}from"./useAppStore-Pjif7nCR.js";var t=e(`circle-alert`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`line`,{x1:`12`,x2:`12`,y1:`8`,y2:`12`,key:`1pkeuh`}],[`line`,{x1:`12`,x2:`12.01`,y1:`16`,y2:`16`,key:`4dfq90`}]]);export{t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{B as e}from"./useAppStore-
|
|
1
|
+
import{B as e}from"./useAppStore-Pjif7nCR.js";var t=e(`copy`,[[`rect`,{width:`14`,height:`14`,x:`8`,y:`8`,rx:`2`,ry:`2`,key:`17jyea`}],[`path`,{d:`M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2`,key:`zix9uf`}]]);export{t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{B as e}from"./useAppStore-
|
|
1
|
+
import{B as e}from"./useAppStore-Pjif7nCR.js";var t=e(`download`,[[`path`,{d:`M12 15V3`,key:`m9g1x1`}],[`path`,{d:`M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4`,key:`ih7n3h`}],[`path`,{d:`m7 10 5 5 5-5`,key:`brsn70`}]]);export{t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{T as e,l as t,n,o as r,s as i}from"./useAppStore-
|
|
1
|
+
import{T as e,l as t,n,o as r,s as i}from"./useAppStore-Pjif7nCR.js";import{t as a}from"./format-CAKfypjK.js";var o={CID_EMPTY:`cid_empty`,INVALID_CID_FORMAT:`invalid_cid_format`,CID_V1_REQUIRED:`cid_v1_required`,CID_DIGEST_LENGTH:`cid_digest_length`,LINK_EMPTY:`link_empty`,INVALID_URL:`invalid_url`,INVALID_PROTOCOL:`invalid_protocol`,UNSUPPORTED_PATH:`unsupported_path`,UNSUPPORTED_QUERY_PARAM:`unsupported_query_param`};function s(e){return{valid:!1,errorCode:e}}function c(e,t){return{cid:``,errorCode:e,...t?{details:t}:{}}}function l(e){let t=e.indexOf(`?`),n=t===-1?e:e.slice(0,t),r=t===-1?``:e.slice(t),i=n.lastIndexOf(`/`);return`${i===-1?n:n.slice(i+1)}${r}`}function u(t){if(!t||typeof t!=`string`)return s(o.CID_EMPTY);let n;try{n=e.parse(t)}catch{return s(o.INVALID_CID_FORMAT)}return n.version===1?n.multihash.digest.length===32?{valid:!0}:s(o.CID_DIGEST_LENGTH):s(o.CID_V1_REQUIRED)}function d(e){if(!e||typeof e!=`string`)return c(o.LINK_EMPTY);let t=e.trim();if(!t)return c(o.LINK_EMPTY);let n=l(t),r=n.indexOf(`?`),i=r===-1?n:n.slice(0,r),a=r===-1?``:n.slice(r+1);if(!i)return c(o.INVALID_CID_FORMAT);let s=new URLSearchParams(a),d=s.get(`filename`),f=[...s.keys()].find(e=>e!==`filename`);if(a&&![...s.keys()].length)return c(o.UNSUPPORTED_QUERY_PARAM,{param:``});let p=u(i);return p.valid?f?c(o.UNSUPPORTED_QUERY_PARAM,{param:f}):{cid:i,fileName:d?.trim()||i}:c(p.errorCode)}function f(e,t){let n=String(t||``).trim();return n?`most://${e}?filename=${encodeURIComponent(n)}`:`most://${e}`}var p={timeout:`检测等待超时,暂时没有等到在线种子响应。请确认分享者或其他下载者仍在线做种,稍后再检测。`,offline:`无法连接本地节点,请确认 MostBox 后端正在运行后再检测。`,missingApi:`当前后端还没有检测接口,请重启 MostBox 后端后再试。`,validation:`链接格式不正确,请粘贴 most://、网页入口或 CID。`,nameConflict:`下载目录已有同名文件,请先重命名或移走后再检测。`,noPeer:`暂时没有发现在线种子。请确认分享者或其他下载者仍在线做种,稍后再检测。`,permission:`下载目录不可写,请检查目录权限后再检测。`,starting:`本地节点还没有启动完成,请稍等几秒后重新检测。`,server:`本地节点检测时出错,请稍后重试或查看节点日志。`,fallback:`检测未通过,请确认链接完整、发布者在线且本机网络正常。`};o.INVALID_URL,o.INVALID_PROTOCOL,o.UNSUPPORTED_PATH,o.CID_EMPTY,o.INVALID_CID_FORMAT,o.CID_V1_REQUIRED,o.CID_DIGEST_LENGTH;function m(e={},t=``){if(t===`TimeoutError`)return p.timeout;if(!e.status)return p.offline;if(e.status===404)return p.missingApi;switch(e.code){case`VALIDATION_ERROR`:return p.validation;case`CONFLICT`:return e.error?`${e.error},请先处理同名文件后再下载。`:p.nameConflict;case`PEER_NOT_FOUND`:return p.noPeer;case`PERMISSION_ERROR`:return e.error?`下载目录不可写:${e.error}`:p.permission;case`ENGINE_NOT_INITIALIZED`:return p.starting;default:break}return e.status===503?p.noPeer:e.status>=500?p.server:e.error?`检测未通过:${e.error}`:p.fallback}function h(e){let t=Number(e);return Number.isFinite(t)&&t>=0?t:null}function g(e,t){let n=e.fileName||``,r=h(e.sizeBytes),i=h(e.maxFileSizeBytes);return t(`app.publish.fileTooLarge`,{fileName:n,maxSize:a(i===null?0:i),fileSize:a(r===null?0:r)})}function _(e,t,n){let r=h(t?.maxFileSizeBytes);return r===null||e.size<=r?``:g({fileName:e.name,sizeBytes:e.size,maxFileSizeBytes:r},n)}function v(e,t,n=``){return e.code!==`FILE_SIZE_ERROR`||h(e.details?.maxFileSizeBytes)===null?``:g({fileName:n,sizeBytes:e.details?.sizeBytes,maxFileSizeBytes:e.details?.maxFileSizeBytes},t)}async function y(e,t){let r=new FormData;r.append(`file`,e,t||e.name);let i=await n.post(`/api/publish`,{body:r,throwHttpErrors:!1});if(!i.ok){let e=await i.clone().json().catch(()=>({error:i.statusText})),t=Error(e.error||`Request failed`);throw t.response=i,t}return i.json()}async function b(e,t,n,a=``){return v(await i(e),n,a)||r(e,t)}async function x(e){return m(await i(e),e&&typeof e==`object`&&`name`in e?String(e.name):``)}var S={listPublishedFiles:()=>n.get(`/api/files`).json(),listTrashFiles:()=>n.get(`/api/trash`).json(),deletePublishedFile:e=>n.delete(`/api/files/${e}`).json(),restoreTrashFile:e=>n.post(`/api/trash/${e}/restore`).json(),permanentDeleteTrashFile:e=>n.delete(`/api/trash/${e}`).json(),emptyTrash:()=>n.delete(`/api/trash`).json(),toggleStar:e=>n.post(`/api/files/${e}/star`).json(),getConfig:()=>n.get(`/api/config`).json(),getDataPath:()=>n.get(`/api/config/data-path`).json(),getNetworkAddresses:()=>n.get(`/api/network`).json(),getNodePolicy:()=>n.get(`/api/node/policy`).json(),saveConfig:e=>n.post(`/api/config`,{json:e}).json(),publishFile:y,checkDownload:(e,t={})=>{let r=typeof t.timeout==`number`?{link:e,timeout:t.timeout}:{link:e};return n.post(`/api/download/check`,{json:r,timeout:t.requestTimeout??15e3}).json()},downloadFile:e=>n.post(`/api/download`,{json:{link:e}}).json(),cacheFile:e=>n.post(`/api/files/${e}/cache`).json(),cancelDownload:e=>n.post(`/api/download/cancel`,{json:{taskId:e}}).json(),getFileDownloadUrl:e=>t(`/api/files/${e}/download`),moveFile:(e,t)=>n.post(`/api/move`,{json:{cid:e,newFileName:t}}).json(),renameFolder:(e,t)=>n.post(`/api/folder/rename`,{json:{oldPath:e,newPath:t}}).json()},C={[o.LINK_EMPTY]:`app.download.validation.empty`,[o.INVALID_URL]:`app.download.validation.invalidUrl`,[o.INVALID_PROTOCOL]:`app.download.validation.protocol`,[o.UNSUPPORTED_PATH]:`app.download.validation.path`,[o.CID_EMPTY]:`app.download.validation.invalidCid`,[o.INVALID_CID_FORMAT]:`app.download.validation.invalidCid`,[o.CID_V1_REQUIRED]:`app.download.validation.cidV1`,[o.CID_DIGEST_LENGTH]:`app.download.validation.cidDigest`};function w(e){if(!e)return{key:`app.download.validation.empty`};let t=d(e);return t.errorCode?t.errorCode===o.UNSUPPORTED_QUERY_PARAM?{key:`app.download.validation.unsupportedParam`,params:{param:t.details?.param||``}}:{key:C[t.errorCode||``]||`app.download.validation.generic`}:null}function T(e,t){let n=w(e);return n?t(n.key,n.params):null}export{_ as a,b as i,S as n,f as o,x as r,d as s,T as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{B as e}from"./useAppStore-
|
|
1
|
+
import{B as e}from"./useAppStore-Pjif7nCR.js";var t=e(`external-link`,[[`path`,{d:`M15 3h6v6`,key:`1q9fwt`}],[`path`,{d:`M10 14 21 3`,key:`gplh6r`}],[`path`,{d:`M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6`,key:`a6xqqp`}]]);export{t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{B as e}from"./useAppStore-
|
|
1
|
+
import{B as e}from"./useAppStore-Pjif7nCR.js";var t=e(`file-text`,[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`,key:`1oefj6`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}],[`path`,{d:`M10 9H8`,key:`b1mrlr`}],[`path`,{d:`M16 13H8`,key:`t4e002`}],[`path`,{d:`M16 17H8`,key:`z1uh3a`}]]);export{t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{B as e}from"./useAppStore-
|
|
1
|
+
import{B as e}from"./useAppStore-Pjif7nCR.js";var t=e(`fingerprint-pattern`,[[`path`,{d:`M12 10a2 2 0 0 0-2 2c0 1.02-.1 2.51-.26 4`,key:`1nerag`}],[`path`,{d:`M14 13.12c0 2.38 0 6.38-1 8.88`,key:`o46ks0`}],[`path`,{d:`M17.29 21.02c.12-.6.43-2.3.5-3.02`,key:`ptglia`}],[`path`,{d:`M2 12a10 10 0 0 1 18-6`,key:`ydlgp0`}],[`path`,{d:`M2 16h.01`,key:`1gqxmh`}],[`path`,{d:`M21.8 16c.2-2 .131-5.354 0-6`,key:`drycrb`}],[`path`,{d:`M5 19.5C5.5 18 6 15 6 12a6 6 0 0 1 .34-2`,key:`1tidbn`}],[`path`,{d:`M8.65 22c.21-.66.45-1.32.57-2`,key:`13wd9y`}],[`path`,{d:`M9 6.8a6 6 0 0 1 9 5.2v2`,key:`1fr1j5`}]]);export{t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{B as e}from"./useAppStore-
|
|
1
|
+
import{B as e}from"./useAppStore-Pjif7nCR.js";var t=e(`folder`,[[`path`,{d:`M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z`,key:`1kt360`}]]);export{t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{B as e}from"./useAppStore-
|
|
1
|
+
import{B as e}from"./useAppStore-Pjif7nCR.js";var t=e(`folder-open`,[[`path`,{d:`m6 14 1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2`,key:`usdka0`}]]);export{t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{B as e}from"./useAppStore-
|
|
1
|
+
import{B as e}from"./useAppStore-Pjif7nCR.js";var t=e(`gamepad-2`,[[`line`,{x1:`6`,x2:`10`,y1:`11`,y2:`11`,key:`1gktln`}],[`line`,{x1:`8`,x2:`8`,y1:`9`,y2:`13`,key:`qnk9ow`}],[`line`,{x1:`15`,x2:`15.01`,y1:`12`,y2:`12`,key:`krot7o`}],[`line`,{x1:`18`,x2:`18.01`,y1:`10`,y2:`10`,key:`1lcuu1`}],[`path`,{d:`M17.32 5H6.68a4 4 0 0 0-3.978 3.59c-.006.052-.01.101-.017.152C2.604 9.416 2 14.456 2 16a3 3 0 0 0 3 3c1 0 1.5-.5 2-1l1.414-1.414A2 2 0 0 1 9.828 16h4.344a2 2 0 0 1 1.414.586L17 18c.5.5 1 1 2 1a3 3 0 0 0 3-3c0-1.545-.604-6.584-.685-7.258-.007-.05-.011-.1-.017-.151A4 4 0 0 0 17.32 5z`,key:`mfqc10`}]]);export{t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{B as e}from"./useAppStore-
|
|
1
|
+
import{B as e}from"./useAppStore-Pjif7nCR.js";var t=e(`hard-drive`,[[`path`,{d:`M10 16h.01`,key:`1bzywj`}],[`path`,{d:`M2.212 11.577a2 2 0 0 0-.212.896V18a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-5.527a2 2 0 0 0-.212-.896L18.55 5.11A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z`,key:`18tbho`}],[`path`,{d:`M21.946 12.013H2.054`,key:`zqlbp7`}],[`path`,{d:`M6 16h.01`,key:`1pmjb7`}]]);export{t};
|