@topwrite/reader 1.0.73-alpha.4 → 1.0.74-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -48,7 +48,7 @@ var Yo="undefined"!=typeof navigator&&navigator.userAgent.toLowerCase().indexOf(
48
48
  cursor: text;
49
49
  }
50
50
  }
51
- `,fs=new class extends N{constructor(){super(...arguments),c()(this,"initialState",[])}*register(e){yield this.setState((t=>t.push(e)))}},hs=new class extends N{};var ps=Object.freeze({__proto__:null,components:fs,options:hs});function ds(e,t,r){const n="function"==typeof t;n||(r=t),(0,a.useEffect)((()=>{let r;const o=e();return Promise.resolve(o).then((e=>{r=e})),()=>{n&&t(r)}}),r)}function ms(e){return e.__esModule&&e.default?e.default:e}const gs=(0,a.createContext)(void 0),ys=()=>{const e=(0,a.useContext)(gs);if(void 0===e)throw new Error("useIntlContext must be used within a Layout component");return e},vs=e=>{let{localize:t,children:r}=e;const{addMessages:n}=ys(),[o,s]=(0,a.useState)(!0);return ds((async()=>{s(!0),await n(t),s(!1)}),[t]),o?null:(0,i.jsx)(i.Fragment,{children:r})},bs=e=>{let{children:t}=e;const{locale:r,messages:n}=ys(),o=(0,a.useMemo)((()=>Jn({locale:r,messages:n,defaultLocale:"en"},{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}})),[r,n]);return(0,i.jsx)(yn,{value:o,children:t})},Es=e=>{let{children:t,locale:r,messages:n}=e;const[o,s]=(0,a.useState)(n);return(0,i.jsx)(gs.Provider,{value:{locale:r,messages:o,addMessages:async e=>{s(Object.assign({},o,ms(await e(r))))}},children:(0,i.jsx)(bs,{children:t})})};class Ds{constructor(e,t,r){c()(this,"name",void 0),c()(this,"book",void 0),c()(this,"models",{...ps}),c()(this,"components",[]),c()(this,"activates",[]),c()(this,"plugins",[]),c()(this,"initialState",void 0),this.name=e,this.book=t,this.initialState=r}registerComponents(e,t){for(let[r,n]of Object.entries(e))n&&("plugin:setting"===r&&(r=`plugin:setting:${t}`),this.components.push(Ka(r,n)))}registerModels(e,t){for(const[r,n]of Object.entries(e))t?this.models[`@${t}@${r}`]=n:this.models[r]=n}async registerPlugins(e){this.plugins=e;for(const t of e)try{this.registerComponents(t.components,t.name),this.registerModels(t.models,t.name),t.activate&&this.activates.push(t.activate),t.register&&await t.register(this.name,this.book)}catch(e){console.log(e)}}async createApp(e){const t=navigator.language,r=await this.loadMessages(t,e),n=z(this.models,{book:this.book,components:this.components,...this.initialState}),o=e=>{let{children:t}=e;return(0,i.jsx)(i.Fragment,{children:t})},a=e=>{let{children:t}=e;const r=(0,i.jsx)(Ga,{role:`activate:${this.name}`,props:{children:t,name:this.name},component:o});return this.activates.reduce(((e,t)=>{const r=t(this.name);return void 0!==r?(0,i.jsx)(i.Fragment,{children:r}):e}),r)};return e=>{let{children:o}=e;return(0,i.jsx)(q,{store:n,children:(0,i.jsxs)(us,{context:this.name,children:[(0,i.jsx)(ls,{}),(0,i.jsx)(Es,{locale:t,messages:r,children:(0,i.jsx)(a,{children:o})})]})})}}async loadMessages(e,t){return await this.plugins.reduce((async(t,r)=>{const n=ms(await t);return r.localize?Object.assign({},n,ms(await r.localize(e))):n}),t(e))}}async function ws(e,t,r,o,i,a){const s=await async function(e,t){let r=[];if(t){const o=(0,n.NC)(t);try{r=await o.getInstalled(e),r=r.filter((e=>!window.TopWritePlugins[e.name]?.meta))}catch{}}try{const e=sessionStorage.getItem("PLUGIN_DEV"),t=Q.parse(window.location.search);if("dev"in t||e){const o=t.dev||e||8080;try{const e=(await n.WY.get(`http://localhost:${o}/meta`)).data;r=r.filter((t=>t.name!==e.name&&!("theme"===e.type&&"theme"===t.type))),window.TopWritePlugins[e.name]&&delete window.TopWritePlugins[e.name],r.unshift(e),sessionStorage.setItem("PLUGIN_DEV",String(o))}catch(e){console.warn(e),sessionStorage.removeItem("PLUGIN_DEV")}}}catch{}const o=Object.entries(window.TopWritePlugins).filter((e=>{let[,t]=e;return!!t.meta})).map((e=>{let[,t]=e;return t.meta})),i=o.some((e=>"theme"===e.type)),a=Object.keys(window.TopWritePlugins),s=[];for(let e of r)e.disabled||a.includes(e.name)||i&&"theme"===e.type||s.push(Qa(e));return await Promise.all(s),o.push(...r),window.TopWritePluginsMeta=o,Object.values(window.TopWritePlugins||{})}(t,a),u=new Ds(e,t,o);return u.registerModels(r),await u.registerPlugins(s),await u.createApp(i)}function xs(e){return function(e){const{actions:t}=(0,a.useContext)(H);return e?t[e]:t}(e)}function Fs(e){return V(e)}function Ss(e){return[Fs(e),xs(e)]}function As(e){const t=(0,a.useRef)(null),[r,n]=(0,a.useState)(e);return(0,a.useEffect)((()=>{t.current&&(t.current(),t.current=null)}),[r]),[r,(e,r)=>{t.current="function"==typeof r?r:null,n(e)}]}function ks(){const e=document.currentScript;if(!e)throw new Error("Automatic publicPath is not supported in this browser");return e.src.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/")}class Cs{constructor(e){let{name:t,meta:r,models:n={},components:o={},activate:i,register:a,localize:s,config:u}=e;c()(this,"name",void 0),c()(this,"config",void 0),c()(this,"localize",void 0),c()(this,"models",void 0),c()(this,"components",void 0),c()(this,"activate",void 0),c()(this,"register",void 0),c()(this,"meta",void 0),this.name=t,this.meta=r,this.models=n,this.components=o,this.activate=i,this.register=a,this.localize=s,this.config=u}}const Ps=(0,fo.O)("root"),Os=(0,fo.O)("element"),js=(0,fo.O)("text");function Ts(e){return e.filter((e=>!(js(e)&&"\n"===e.value)))}function _s(e,t,r){const n=t.properties,o=t.tagName,i={...n};r.prefix&&(r.key++,i.key=r.prefix+r.key);const a=[],s=Ts(t.children),u=s?s.length:0;let c=-1;for(;++c<u;){const t=s[c];Os(t)?a.push(_s(e,t,r)):js(t)&&a.push(t.value)}return e.call(t,o,i,a.length>0?a:void 0)}function Bs(e,t){let{extensions:r=[],creator:n=s().createElement}=t;const o={allowDangerousHtml:!1,handlers:{...r.reduce(((e,t)=>Object.assign(e,t)),{}),textDirective:(e,t)=>e({},"textDirective",{name:t.name,attributes:t.attributes},qo(e,t)),leafDirective:(e,t)=>e({},"leafDirective",{name:t.name,attributes:t.attributes},qo(e,t)),containerDirective(e,t){"children"in t||(t.children=[]);let r=!1;for(const e of t.children)if(e.data?.directiveLabel){r=!0;break}return r||t.children.unshift({type:"paragraph",children:[{type:"text",value:""}]}),e({},"containerDirective",{name:t.name,attributes:t.attributes},qo(e,t))},heading(e,t){const r=e(t,"heading",qo(e,t));return r.properties={...r.properties,depth:t.depth},r}},unknownHandler:()=>null},i=Go(e,o);if(Ps(i))return Ts(i.children).map(((e,t)=>Os(e)?_s(n,e,{key:0,prefix:`h-${t}-`}):js(e)?e.value:void 0));if(!Os(i))throw new Error("Expected root or element, not `"+(i&&i.type||i)+"`");return _s(n,i,{key:0,prefix:"h-"})}const Rs=e=>{let{value:t}=e;return(0,i.jsx)("pre",{children:(0,i.jsx)("code",{children:t})})},Is=e=>{let{value:t}=e;return(0,i.jsx)("code",{children:t})},Ls=(0,a.createContext)({}),Ms=Ls.Provider,Ns=()=>(0,a.useContext)(Ls);function $s(e,t){return Ns()[e]||t}const Us=["video","audio"];function zs(e){const{name:t,attributes:r,children:n}=e;let o=$s(t),a=`html:${t}`;return customElements.get(`t-${t}`)?o=o||`t-${t}`:Us.includes(t)||(o=void 0,a=`directive:${t}`),(0,i.jsx)(Ga,{role:a,props:{...r,children:n},component:o})}function Hs(e){let{depth:t=5,...r}=e;return(0,a.createElement)(`h${t}`,r)}const qs={"x-inline":function(e){const{name:t,value:r}=e;return(0,i.jsx)(Ga,{role:`inline:${t}`,props:{type:"inline",name:t,value:r},component:Is})},"x-block":function(e){const{name:t,value:r,parameter:n}=e;return(0,i.jsx)(Ga,{role:`block:${t}`,props:{type:"block",name:t,parameter:n,value:r},component:Rs})},textDirective:zs,leafDirective:zs,containerDirective:function(e){let{name:t,attributes:r,children:n}=e,o=$s(t),s=`html:${t}`;const[u,...c]=a.Children.toArray(n),l={children:c,label:u,...r};return customElements.get(`t-${t}`)?o=o||`t-${t}`:Us.includes(t)||(o=void 0,s=`directive:${t}`),(0,i.jsx)(Ga,{role:s,props:l,component:o})},heading:function(e){const t=$s("heading",Hs);return(0,i.jsx)(Ga,{role:"html:heading",props:e,component:t})}},Vs=e=>{let{tagName:t,inject:r=!0,...n}=e;const o=$s(t,t);return r?qs[t]?(0,a.createElement)(qs[t],n):Wo.includes(t)?(0,i.jsx)(Ga,{role:`html:${t}`,props:n,component:o}):(console.warn(`unknown tagName: ${t}`),null):(0,a.createElement)(o,n)};function Gs(e){let{as:t=a.Fragment,children:r,components:o={},aside:s=!0,header:u,footer:c,css:l,sectionAs:f,inject:h=!0,loader:p=null,...d}=e;const m=(0,a.useMemo)((()=>(0,n.JH)().use(wo).freeze()),[]),[g,y]=(0,a.useState)();if(ds((async()=>{try{const e=m.data("toHastExtensions"),t=await m.run(m.parse(r));let n=null;if(s){const r=Eo(t).map;r&&(n=Bs(r,{extensions:[...e,{link:(e,t)=>{const r=(0,co.B)(t.children);return e(t,"a",{href:(0,Qo.encode)(t.url)},[{type:"text",value:r}])}}]})),"object"==typeof s&&(n=(0,i.jsxs)(i.Fragment,{children:[s.header,n,s.footer]}))}const o=Bs(t,{extensions:e,creator:(e,t,r)=>(0,a.createElement)(Vs,{...t,tagName:e,inject:h},r)});y([o,n])}catch(e){console.log(e)}}),[r,s,m,h]),!g)return(0,a.createElement)(t,d,p);const[v,b]=g;return(0,a.createElement)(t,d,(0,i.jsxs)(Ms,{value:o,children:[(0,i.jsxs)("article",{children:[u,(0,i.jsx)(Ws,{$css:l,as:f,children:v}),c]}),b&&(0,i.jsx)("aside",{children:b})]}))}const Ws=kt.section`
51
+ `,fs=new class extends N{constructor(){super(...arguments),c()(this,"initialState",[])}*register(e){yield this.setState((t=>t.push(e)))}},hs=new class extends N{};var ps=Object.freeze({__proto__:null,components:fs,options:hs});function ds(e,t,r){const n="function"==typeof t;n||(r=t),(0,a.useEffect)((()=>{let r;const o=e();return Promise.resolve(o).then((e=>{r=e})),()=>{n&&t(r)}}),r)}function ms(e){return e.__esModule&&e.default?e.default:e}const gs=(0,a.createContext)(void 0),ys=()=>{const e=(0,a.useContext)(gs);if(void 0===e)throw new Error("useIntlContext must be used within a Layout component");return e},vs=e=>{let{localize:t,children:r}=e;const{addMessages:n}=ys(),[o,s]=(0,a.useState)(!0);return ds((async()=>{s(!0),await n(t),s(!1)}),[t]),o?null:(0,i.jsx)(i.Fragment,{children:r})},bs=e=>{let{children:t}=e;const{locale:r,messages:n}=ys(),o=(0,a.useMemo)((()=>Jn({locale:r,messages:n,defaultLocale:"en"},{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}})),[r,n]);return(0,i.jsx)(yn,{value:o,children:t})},Es=e=>{let{children:t,locale:r,messages:n}=e;const[o,s]=(0,a.useState)(n);return(0,i.jsx)(gs.Provider,{value:{locale:r,messages:o,addMessages:async e=>{s(Object.assign({},o,ms(await e(r))))}},children:(0,i.jsx)(bs,{children:t})})};class Ds{constructor(e,t,r){c()(this,"name",void 0),c()(this,"book",void 0),c()(this,"models",{...ps}),c()(this,"components",[]),c()(this,"activates",[]),c()(this,"plugins",[]),c()(this,"initialState",void 0),this.name=e,this.book=t,this.initialState=r}registerComponents(e,t){for(let[r,n]of Object.entries(e))n&&("plugin:setting"===r&&(r=`plugin:setting:${t}`),this.components.push(Ka(r,n)))}registerModels(e,t){for(const[r,n]of Object.entries(e))t?this.models[`@${t}@${r}`]=n:this.models[r]=n}async registerPlugins(e){this.plugins=e;for(const t of e)try{this.registerComponents(t.components,t.name),this.registerModels(t.models,t.name),t.activate&&this.activates.push(t.activate),t.register&&await t.register(this.name,this.book)}catch(e){console.log(e)}}async createApp(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"zh-CN";const r=await this.loadMessages(t,e),n=z(this.models,{book:this.book,components:this.components,...this.initialState}),o=e=>{let{children:t}=e;return(0,i.jsx)(i.Fragment,{children:t})},a=e=>{let{children:t}=e;const r=(0,i.jsx)(Ga,{role:`activate:${this.name}`,props:{children:t,name:this.name},component:o});return this.activates.reduce(((e,t)=>{const r=t(this.name);return void 0!==r?(0,i.jsx)(i.Fragment,{children:r}):e}),r)};return e=>{let{children:o}=e;return(0,i.jsx)(q,{store:n,children:(0,i.jsxs)(us,{context:this.name,children:[(0,i.jsx)(ls,{}),(0,i.jsx)(Es,{locale:t,messages:r,children:(0,i.jsx)(a,{children:o})})]})})}}async loadMessages(e,t){return await this.plugins.reduce((async(t,r)=>{const n=ms(await t);return r.localize?Object.assign({},n,ms(await r.localize(e))):n}),t(e))}}async function ws(e){const{name:t,book:r,models:o,initialState:i,localize:a,pluginCenter:s,locale:u}=e,c=await async function(e,t){let r=[];if(t){const o=(0,n.NC)(t);try{r=await o.getInstalled(e),r=r.filter((e=>!window.TopWritePlugins[e.name]?.meta))}catch{}}try{const e=sessionStorage.getItem("PLUGIN_DEV"),t=Q.parse(window.location.search);if("dev"in t||e){const o=t.dev||e||8080;try{const e=(await n.WY.get(`http://localhost:${o}/meta`)).data;r=r.filter((t=>t.name!==e.name&&!("theme"===e.type&&"theme"===t.type))),window.TopWritePlugins[e.name]&&delete window.TopWritePlugins[e.name],r.unshift(e),sessionStorage.setItem("PLUGIN_DEV",String(o))}catch(e){console.warn(e),sessionStorage.removeItem("PLUGIN_DEV")}}}catch{}const o=Object.entries(window.TopWritePlugins).filter((e=>{let[,t]=e;return!!t.meta})).map((e=>{let[,t]=e;return t.meta})),i=o.some((e=>"theme"===e.type)),a=Object.keys(window.TopWritePlugins),s=[];for(let e of r)e.disabled||a.includes(e.name)||i&&"theme"===e.type||s.push(Qa(e));return await Promise.all(s),o.push(...r),window.TopWritePluginsMeta=o,Object.values(window.TopWritePlugins||{})}(r,s),l=new Ds(t,r,i);return l.registerModels(o),await l.registerPlugins(c),await l.createApp(a,u)}function xs(e){return function(e){const{actions:t}=(0,a.useContext)(H);return e?t[e]:t}(e)}function Fs(e){return V(e)}function Ss(e){return[Fs(e),xs(e)]}function As(e){const t=(0,a.useRef)(null),[r,n]=(0,a.useState)(e);return(0,a.useEffect)((()=>{t.current&&(t.current(),t.current=null)}),[r]),[r,(e,r)=>{t.current="function"==typeof r?r:null,n(e)}]}function ks(){const e=document.currentScript;if(!e)throw new Error("Automatic publicPath is not supported in this browser");return e.src.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/")}class Cs{constructor(e){let{name:t,meta:r,models:n={},components:o={},activate:i,register:a,localize:s,config:u}=e;c()(this,"name",void 0),c()(this,"config",void 0),c()(this,"localize",void 0),c()(this,"models",void 0),c()(this,"components",void 0),c()(this,"activate",void 0),c()(this,"register",void 0),c()(this,"meta",void 0),this.name=t,this.meta=r,this.models=n,this.components=o,this.activate=i,this.register=a,this.localize=s,this.config=u}}const Ps=(0,fo.O)("root"),Os=(0,fo.O)("element"),js=(0,fo.O)("text");function Ts(e){return e.filter((e=>!(js(e)&&"\n"===e.value)))}function _s(e,t,r){const n=t.properties,o=t.tagName,i={...n};r.prefix&&(r.key++,i.key=r.prefix+r.key);const a=[],s=Ts(t.children),u=s?s.length:0;let c=-1;for(;++c<u;){const t=s[c];Os(t)?a.push(_s(e,t,r)):js(t)&&a.push(t.value)}return e.call(t,o,i,a.length>0?a:void 0)}function Bs(e,t){let{extensions:r=[],creator:n=s().createElement}=t;const o={allowDangerousHtml:!1,handlers:{...r.reduce(((e,t)=>Object.assign(e,t)),{}),textDirective:(e,t)=>e({},"textDirective",{name:t.name,attributes:t.attributes},qo(e,t)),leafDirective:(e,t)=>e({},"leafDirective",{name:t.name,attributes:t.attributes},qo(e,t)),containerDirective(e,t){"children"in t||(t.children=[]);let r=!1;for(const e of t.children)if(e.data?.directiveLabel){r=!0;break}return r||t.children.unshift({type:"paragraph",children:[{type:"text",value:""}]}),e({},"containerDirective",{name:t.name,attributes:t.attributes},qo(e,t))},heading(e,t){const r=e(t,"heading",qo(e,t));return r.properties={...r.properties,depth:t.depth},r}},unknownHandler:()=>null},i=Go(e,o);if(Ps(i))return Ts(i.children).map(((e,t)=>Os(e)?_s(n,e,{key:0,prefix:`h-${t}-`}):js(e)?e.value:void 0));if(!Os(i))throw new Error("Expected root or element, not `"+(i&&i.type||i)+"`");return _s(n,i,{key:0,prefix:"h-"})}const Rs=e=>{let{value:t}=e;return(0,i.jsx)("pre",{children:(0,i.jsx)("code",{children:t})})},Is=e=>{let{value:t}=e;return(0,i.jsx)("code",{children:t})},Ls=(0,a.createContext)({}),Ms=Ls.Provider,Ns=()=>(0,a.useContext)(Ls);function $s(e,t){return Ns()[e]||t}const Us=["video","audio"];function zs(e){const{name:t,attributes:r,children:n}=e;let o=$s(t),a=`html:${t}`;return customElements.get(`t-${t}`)?o=o||`t-${t}`:Us.includes(t)||(o=void 0,a=`directive:${t}`),(0,i.jsx)(Ga,{role:a,props:{...r,children:n},component:o})}function Hs(e){let{depth:t=5,...r}=e;return(0,a.createElement)(`h${t}`,r)}const qs={"x-inline":function(e){const{name:t,value:r}=e;return(0,i.jsx)(Ga,{role:`inline:${t}`,props:{type:"inline",name:t,value:r},component:Is})},"x-block":function(e){const{name:t,value:r,parameter:n}=e;return(0,i.jsx)(Ga,{role:`block:${t}`,props:{type:"block",name:t,parameter:n,value:r},component:Rs})},textDirective:zs,leafDirective:zs,containerDirective:function(e){let{name:t,attributes:r,children:n}=e,o=$s(t),s=`html:${t}`;const[u,...c]=a.Children.toArray(n),l={children:c,label:u,...r};return customElements.get(`t-${t}`)?o=o||`t-${t}`:Us.includes(t)||(o=void 0,s=`directive:${t}`),(0,i.jsx)(Ga,{role:s,props:l,component:o})},heading:function(e){const t=$s("heading",Hs);return(0,i.jsx)(Ga,{role:"html:heading",props:e,component:t})}},Vs=e=>{let{tagName:t,inject:r=!0,...n}=e;const o=$s(t,t);return r?qs[t]?(0,a.createElement)(qs[t],n):Wo.includes(t)?(0,i.jsx)(Ga,{role:`html:${t}`,props:n,component:o}):(console.warn(`unknown tagName: ${t}`),null):(0,a.createElement)(o,n)};function Gs(e){let{as:t=a.Fragment,children:r,components:o={},aside:s=!0,header:u,footer:c,css:l,sectionAs:f,inject:h=!0,loader:p=null,...d}=e;const m=(0,a.useMemo)((()=>(0,n.JH)().use(wo).freeze()),[]),[g,y]=(0,a.useState)();if(ds((async()=>{try{const e=m.data("toHastExtensions"),t=await m.run(m.parse(r));let n=null;if(s){const r=Eo(t).map;r&&(n=Bs(r,{extensions:[...e,{link:(e,t)=>{const r=(0,co.B)(t.children);return e(t,"a",{href:(0,Qo.encode)(t.url)},[{type:"text",value:r}])}}]})),"object"==typeof s&&(n=(0,i.jsxs)(i.Fragment,{children:[s.header,n,s.footer]}))}const o=Bs(t,{extensions:e,creator:(e,t,r)=>(0,a.createElement)(Vs,{...t,tagName:e,inject:h},r)});y([o,n])}catch(e){console.log(e)}}),[r,s,m,h]),!g)return(0,a.createElement)(t,d,p);const[v,b]=g;return(0,a.createElement)(t,d,(0,i.jsxs)(Ms,{value:o,children:[(0,i.jsxs)("article",{children:[u,(0,i.jsx)(Ws,{$css:l,as:f,children:v}),c]}),b&&(0,i.jsx)("aside",{children:b})]}))}const Ws=kt.section`
52
52
  -ms-text-size-adjust: 100%;
53
53
  -webkit-text-size-adjust: 100%;
54
54
  line-height: 1.2;
@@ -357,5 +357,5 @@ object-assign
357
357
  * LICENSE file in the root directory of this source tree.
358
358
  */var n=r(87363),o=Symbol.for("react.element"),i=Symbol.for("react.fragment"),a=Object.prototype.hasOwnProperty,s=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,u={key:!0,ref:!0,__self:!0,__source:!0};function c(e,t,r){var n,i={},c=null,l=null;for(n in void 0!==r&&(c=""+r),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(l=t.ref),t)a.call(t,n)&&!u.hasOwnProperty(n)&&(i[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps)void 0===i[n]&&(i[n]=t[n]);return{$$typeof:o,type:e,key:c,ref:l,props:i,_owner:s.current}}t.Fragment=i,t.jsx=c,t.jsxs=c},35250:(e,t,r)=>{"use strict";e.exports=r(82875)},54426:(e,t,r)=>{"use strict";r.r(t),r.d(t,{attach:()=>i,detach:()=>a,getConfig:()=>f,shouldRetryRequest:()=>l});var n=r(87233),o=r.n(n);function i(e){return(e=e||o()).interceptors.response.use(s,c)}function a(e,t){(t=t||o()).interceptors.response.eject(e)}function s(e){return e}function u(e){var t=[];if(e)return Array.isArray(e)?e:("object"==typeof e&&Object.keys(e).forEach((function(r){"number"==typeof r&&(t[r]=e[r])})),t)}function c(e){if(o().isCancel(e))return Promise.reject(e);var t=f(e)||{};if(t.currentRetryAttempt=t.currentRetryAttempt||0,t.retry="number"==typeof t.retry?t.retry:3,t.retryDelay="number"==typeof t.retryDelay?t.retryDelay:100,t.instance=t.instance||o(),t.backoffType=t.backoffType||"exponential",t.httpMethodsToRetry=u(t.httpMethodsToRetry)||["GET","HEAD","PUT","OPTIONS","DELETE"],t.noResponseRetries="number"==typeof t.noResponseRetries?t.noResponseRetries:2,t.checkRetryAfter="boolean"!=typeof t.checkRetryAfter||t.checkRetryAfter,t.maxRetryAfter="number"==typeof t.maxRetryAfter?t.maxRetryAfter:3e5,t.statusCodesToRetry=u(t.statusCodesToRetry)||[[100,199],[429,429],[500,599]],e.config=e.config||{},e.config.raxConfig=Object.assign({},t),!(t.shouldRetry||l)(e))return Promise.reject(e);var r=new Promise((function(r,n){var o=0;if(t.checkRetryAfter&&e.response&&e.response.headers["retry-after"]){var i=function(e){var t=Number(e);if(!Number.isNaN(t))return 1e3*t;var r=Date.parse(e);return Number.isNaN(r)?void 0:r-Date.now()}(e.response.headers["retry-after"]);if(!(i&&i>0&&i<=t.maxRetryAfter))return n(e);o=i}e.config.raxConfig.currentRetryAttempt+=1;var a=e.config.raxConfig.currentRetryAttempt;0===o&&(o="linear"===t.backoffType?1e3*a:"static"===t.backoffType?t.retryDelay:(Math.pow(2,a)-1)/2*1e3,"number"==typeof t.maxRetryDelay&&(o=Math.min(o,t.maxRetryDelay))),setTimeout(r,o)})),n=t.onRetryAttempt?Promise.resolve(t.onRetryAttempt(e)):Promise.resolve();return Promise.resolve().then((function(){return r})).then((function(){return n})).then((function(){return t.instance.request(e.config)}))}function l(e){var t=e.config.raxConfig;if(!t||0===t.retry)return!1;if(!e.response&&(t.currentRetryAttempt||0)>=t.noResponseRetries)return!1;if(!e.config.method||t.httpMethodsToRetry.indexOf(e.config.method.toUpperCase())<0)return!1;if(e.response&&e.response.status){for(var r=!1,n=0,o=t.statusCodesToRetry;n<o.length;n+=1){var i=o[n],a=e.response.status;if(a>=i[0]&&a<=i[1]){r=!0;break}}if(!r)return!1}return t.currentRetryAttempt=t.currentRetryAttempt||0,!(t.currentRetryAttempt>=t.retry)}function f(e){if(e&&e.config)return e.config.raxConfig}},35218:e=>{e.exports=function(e,t,r,n){var o=r?r.call(n,e,t):void 0;if(void 0!==o)return!!o;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var i=Object.keys(e),a=Object.keys(t);if(i.length!==a.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(t),u=0;u<i.length;u++){var c=i[u];if(!s(c))return!1;var l=e[c],f=t[c];if(!1===(o=r?r.call(n,l,f,c):void 0)||void 0===o&&l!==f)return!1}return!0}},5458:(e,t,r)=>{"use strict";var n=r(89161),o=Array.prototype.concat,i=Array.prototype.slice,a=e.exports=function(e){for(var t=[],r=0,a=e.length;r<a;r++){var s=e[r];n(s)?t=o.call(t,i.call(s)):t.push(s)}return t};a.wrap=function(e){return function(){return e(a(arguments))}}},68882:e=>{"use strict";e.exports=(e,t)=>{if("string"!=typeof e||"string"!=typeof t)throw new TypeError("Expected the arguments to be of type `string`");if(""===t)return[e];const r=e.indexOf(t);return-1===r?[e]:[e.slice(0,r),e.slice(r+t.length)]}},43602:e=>{"use strict";e.exports=e=>encodeURIComponent(e).replace(/[!'()*]/g,(e=>`%${e.charCodeAt(0).toString(16).toUpperCase()}`))},85648:function(e,t){
359
359
  /** @license URI.js v4.4.1 (c) 2011 Gary Court. License: http://github.com/garycourt/uri-js */
360
- !function(e){"use strict";function t(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];if(t.length>1){t[0]=t[0].slice(0,-1);for(var n=t.length-1,o=1;o<n;++o)t[o]=t[o].slice(1,-1);return t[n]=t[n].slice(1),t.join("")}return t[0]}function r(e){return"(?:"+e+")"}function n(e){return void 0===e?"undefined":null===e?"null":Object.prototype.toString.call(e).split(" ").pop().split("]").shift().toLowerCase()}function o(e){return e.toUpperCase()}function i(e){return null!=e?e instanceof Array?e:"number"!=typeof e.length||e.split||e.setInterval||e.call?[e]:Array.prototype.slice.call(e):[]}function a(e,t){var r=e;if(t)for(var n in t)r[n]=t[n];return r}function s(e){var n="[A-Za-z]",o="[0-9]",i=t(o,"[A-Fa-f]"),a=r(r("%[EFef]"+i+"%"+i+i+"%"+i+i)+"|"+r("%[89A-Fa-f]"+i+"%"+i+i)+"|"+r("%"+i+i)),s="[\\!\\$\\&\\'\\(\\)\\*\\+\\,\\;\\=]",u=t("[\\:\\/\\?\\#\\[\\]\\@]",s),c=e?"[\\uE000-\\uF8FF]":"[]",l=t(n,o,"[\\-\\.\\_\\~]",e?"[\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]":"[]"),f=r(n+t(n,o,"[\\+\\-\\.]")+"*"),h=r(r(a+"|"+t(l,s,"[\\:]"))+"*"),p=(r(r("25[0-5]")+"|"+r("2[0-4]"+o)+"|"+r("1"+o+o)+"|"+r("[1-9]"+o)+"|"+o),r(r("25[0-5]")+"|"+r("2[0-4]"+o)+"|"+r("1"+o+o)+"|"+r("0?[1-9]"+o)+"|0?0?"+o)),d=r(p+"\\."+p+"\\."+p+"\\."+p),m=r(i+"{1,4}"),g=r(r(m+"\\:"+m)+"|"+d),y=r(r(m+"\\:")+"{6}"+g),v=r("\\:\\:"+r(m+"\\:")+"{5}"+g),b=r(r(m)+"?\\:\\:"+r(m+"\\:")+"{4}"+g),E=r(r(r(m+"\\:")+"{0,1}"+m)+"?\\:\\:"+r(m+"\\:")+"{3}"+g),D=r(r(r(m+"\\:")+"{0,2}"+m)+"?\\:\\:"+r(m+"\\:")+"{2}"+g),w=r(r(r(m+"\\:")+"{0,3}"+m)+"?\\:\\:"+m+"\\:"+g),x=r(r(r(m+"\\:")+"{0,4}"+m)+"?\\:\\:"+g),F=r(r(r(m+"\\:")+"{0,5}"+m)+"?\\:\\:"+m),S=r(r(r(m+"\\:")+"{0,6}"+m)+"?\\:\\:"),A=r([y,v,b,E,D,w,x,F,S].join("|")),k=r(r(l+"|"+a)+"+"),C=(r(A+"\\%25"+k),r(A+r("\\%25|\\%(?!"+i+"{2})")+k)),P=r("[vV]"+i+"+\\."+t(l,s,"[\\:]")+"+"),O=r("\\["+r(C+"|"+A+"|"+P)+"\\]"),j=r(r(a+"|"+t(l,s))+"*"),T=r(O+"|"+d+"(?!"+j+")|"+j),_=r(o+"*"),B=r(r(h+"@")+"?"+T+r("\\:"+_)+"?"),R=r(a+"|"+t(l,s,"[\\:\\@]")),I=r(R+"*"),L=r(R+"+"),M=r(r(a+"|"+t(l,s,"[\\@]"))+"+"),N=r(r("\\/"+I)+"*"),$=r("\\/"+r(L+N)+"?"),U=r(M+N),z=r(L+N),H="(?!"+R+")",q=(r(N+"|"+$+"|"+U+"|"+z+"|"+H),r(r(R+"|"+t("[\\/\\?]",c))+"*")),V=r(r(R+"|[\\/\\?]")+"*"),G=r(r("\\/\\/"+B+N)+"|"+$+"|"+z+"|"+H),W=r(f+"\\:"+G+r("\\?"+q)+"?"+r("\\#"+V)+"?"),Q=r(r("\\/\\/"+B+N)+"|"+$+"|"+U+"|"+H),K=r(Q+r("\\?"+q)+"?"+r("\\#"+V)+"?");return r(W+"|"+K),r(f+"\\:"+G+r("\\?"+q)+"?"),r(r("\\/\\/("+r("("+h+")@")+"?("+T+")"+r("\\:("+_+")")+"?)")+"?("+N+"|"+$+"|"+z+"|"+H+")"),r("\\?("+q+")"),r("\\#("+V+")"),r(r("\\/\\/("+r("("+h+")@")+"?("+T+")"+r("\\:("+_+")")+"?)")+"?("+N+"|"+$+"|"+U+"|"+H+")"),r("\\?("+q+")"),r("\\#("+V+")"),r(r("\\/\\/("+r("("+h+")@")+"?("+T+")"+r("\\:("+_+")")+"?)")+"?("+N+"|"+$+"|"+z+"|"+H+")"),r("\\?("+q+")"),r("\\#("+V+")"),r("("+h+")@"),r("\\:("+_+")"),{NOT_SCHEME:new RegExp(t("[^]",n,o,"[\\+\\-\\.]"),"g"),NOT_USERINFO:new RegExp(t("[^\\%\\:]",l,s),"g"),NOT_HOST:new RegExp(t("[^\\%\\[\\]\\:]",l,s),"g"),NOT_PATH:new RegExp(t("[^\\%\\/\\:\\@]",l,s),"g"),NOT_PATH_NOSCHEME:new RegExp(t("[^\\%\\/\\@]",l,s),"g"),NOT_QUERY:new RegExp(t("[^\\%]",l,s,"[\\:\\@\\/\\?]",c),"g"),NOT_FRAGMENT:new RegExp(t("[^\\%]",l,s,"[\\:\\@\\/\\?]"),"g"),ESCAPE:new RegExp(t("[^]",l,s),"g"),UNRESERVED:new RegExp(l,"g"),OTHER_CHARS:new RegExp(t("[^\\%]",l,u),"g"),PCT_ENCODED:new RegExp(a,"g"),IPV4ADDRESS:new RegExp("^("+d+")$"),IPV6ADDRESS:new RegExp("^\\[?("+A+")"+r(r("\\%25|\\%(?!"+i+"{2})")+"("+k+")")+"?\\]?$")}}var u=s(!1),c=s(!0),l=function(){function e(e,t){var r=[],n=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(n=(a=s.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(e){o=!0,i=e}finally{try{!n&&s.return&&s.return()}finally{if(o)throw i}}return r}return function(t,r){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,r);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),f=function(e){if(Array.isArray(e)){for(var t=0,r=Array(e.length);t<e.length;t++)r[t]=e[t];return r}return Array.from(e)},h=2147483647,p=36,d=1,m=26,g=38,y=700,v=72,b=128,E="-",D=/^xn--/,w=/[^\0-\x7E]/,x=/[\x2E\u3002\uFF0E\uFF61]/g,F={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},S=p-d,A=Math.floor,k=String.fromCharCode;function C(e){throw new RangeError(F[e])}function P(e,t){for(var r=[],n=e.length;n--;)r[n]=t(e[n]);return r}function O(e,t){var r=e.split("@"),n="";return r.length>1&&(n=r[0]+"@",e=r[1]),n+P((e=e.replace(x,".")).split("."),t).join(".")}function j(e){for(var t=[],r=0,n=e.length;r<n;){var o=e.charCodeAt(r++);if(o>=55296&&o<=56319&&r<n){var i=e.charCodeAt(r++);56320==(64512&i)?t.push(((1023&o)<<10)+(1023&i)+65536):(t.push(o),r--)}else t.push(o)}return t}var T=function(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:p},_=function(e,t){return e+22+75*(e<26)-((0!=t)<<5)},B=function(e,t,r){var n=0;for(e=r?A(e/y):e>>1,e+=A(e/t);e>S*m>>1;n+=p)e=A(e/S);return A(n+(S+1)*e/(e+g))},R=function(e){var t=[],r=e.length,n=0,o=b,i=v,a=e.lastIndexOf(E);a<0&&(a=0);for(var s=0;s<a;++s)e.charCodeAt(s)>=128&&C("not-basic"),t.push(e.charCodeAt(s));for(var u=a>0?a+1:0;u<r;){for(var c=n,l=1,f=p;;f+=p){u>=r&&C("invalid-input");var g=T(e.charCodeAt(u++));(g>=p||g>A((h-n)/l))&&C("overflow"),n+=g*l;var y=f<=i?d:f>=i+m?m:f-i;if(g<y)break;var D=p-y;l>A(h/D)&&C("overflow"),l*=D}var w=t.length+1;i=B(n-c,w,0==c),A(n/w)>h-o&&C("overflow"),o+=A(n/w),n%=w,t.splice(n++,0,o)}return String.fromCodePoint.apply(String,t)},I=function(e){var t=[],r=(e=j(e)).length,n=b,o=0,i=v,a=!0,s=!1,u=void 0;try{for(var c,l=e[Symbol.iterator]();!(a=(c=l.next()).done);a=!0){var f=c.value;f<128&&t.push(k(f))}}catch(e){s=!0,u=e}finally{try{!a&&l.return&&l.return()}finally{if(s)throw u}}var g=t.length,y=g;for(g&&t.push(E);y<r;){var D=h,w=!0,x=!1,F=void 0;try{for(var S,P=e[Symbol.iterator]();!(w=(S=P.next()).done);w=!0){var O=S.value;O>=n&&O<D&&(D=O)}}catch(e){x=!0,F=e}finally{try{!w&&P.return&&P.return()}finally{if(x)throw F}}var T=y+1;D-n>A((h-o)/T)&&C("overflow"),o+=(D-n)*T,n=D;var R=!0,I=!1,L=void 0;try{for(var M,N=e[Symbol.iterator]();!(R=(M=N.next()).done);R=!0){var $=M.value;if($<n&&++o>h&&C("overflow"),$==n){for(var U=o,z=p;;z+=p){var H=z<=i?d:z>=i+m?m:z-i;if(U<H)break;var q=U-H,V=p-H;t.push(k(_(H+q%V,0))),U=A(q/V)}t.push(k(_(U,0))),i=B(o,T,y==g),o=0,++y}}}catch(e){I=!0,L=e}finally{try{!R&&N.return&&N.return()}finally{if(I)throw L}}++o,++n}return t.join("")},L=function(e){return O(e,(function(e){return D.test(e)?R(e.slice(4).toLowerCase()):e}))},M=function(e){return O(e,(function(e){return w.test(e)?"xn--"+I(e):e}))},N={version:"2.1.0",ucs2:{decode:j,encode:function(e){return String.fromCodePoint.apply(String,f(e))}},decode:R,encode:I,toASCII:M,toUnicode:L},$={};function U(e){var t=e.charCodeAt(0);return t<16?"%0"+t.toString(16).toUpperCase():t<128?"%"+t.toString(16).toUpperCase():t<2048?"%"+(t>>6|192).toString(16).toUpperCase()+"%"+(63&t|128).toString(16).toUpperCase():"%"+(t>>12|224).toString(16).toUpperCase()+"%"+(t>>6&63|128).toString(16).toUpperCase()+"%"+(63&t|128).toString(16).toUpperCase()}function z(e){for(var t="",r=0,n=e.length;r<n;){var o=parseInt(e.substr(r+1,2),16);if(o<128)t+=String.fromCharCode(o),r+=3;else if(o>=194&&o<224){if(n-r>=6){var i=parseInt(e.substr(r+4,2),16);t+=String.fromCharCode((31&o)<<6|63&i)}else t+=e.substr(r,6);r+=6}else if(o>=224){if(n-r>=9){var a=parseInt(e.substr(r+4,2),16),s=parseInt(e.substr(r+7,2),16);t+=String.fromCharCode((15&o)<<12|(63&a)<<6|63&s)}else t+=e.substr(r,9);r+=9}else t+=e.substr(r,3),r+=3}return t}function H(e,t){function r(e){var r=z(e);return r.match(t.UNRESERVED)?r:e}return e.scheme&&(e.scheme=String(e.scheme).replace(t.PCT_ENCODED,r).toLowerCase().replace(t.NOT_SCHEME,"")),void 0!==e.userinfo&&(e.userinfo=String(e.userinfo).replace(t.PCT_ENCODED,r).replace(t.NOT_USERINFO,U).replace(t.PCT_ENCODED,o)),void 0!==e.host&&(e.host=String(e.host).replace(t.PCT_ENCODED,r).toLowerCase().replace(t.NOT_HOST,U).replace(t.PCT_ENCODED,o)),void 0!==e.path&&(e.path=String(e.path).replace(t.PCT_ENCODED,r).replace(e.scheme?t.NOT_PATH:t.NOT_PATH_NOSCHEME,U).replace(t.PCT_ENCODED,o)),void 0!==e.query&&(e.query=String(e.query).replace(t.PCT_ENCODED,r).replace(t.NOT_QUERY,U).replace(t.PCT_ENCODED,o)),void 0!==e.fragment&&(e.fragment=String(e.fragment).replace(t.PCT_ENCODED,r).replace(t.NOT_FRAGMENT,U).replace(t.PCT_ENCODED,o)),e}function q(e){return e.replace(/^0*(.*)/,"$1")||"0"}function V(e,t){var r=e.match(t.IPV4ADDRESS)||[],n=l(r,2)[1];return n?n.split(".").map(q).join("."):e}function G(e,t){var r=e.match(t.IPV6ADDRESS)||[],n=l(r,3),o=n[1],i=n[2];if(o){for(var a=o.toLowerCase().split("::").reverse(),s=l(a,2),u=s[0],c=s[1],f=c?c.split(":").map(q):[],h=u.split(":").map(q),p=t.IPV4ADDRESS.test(h[h.length-1]),d=p?7:8,m=h.length-d,g=Array(d),y=0;y<d;++y)g[y]=f[y]||h[m+y]||"";p&&(g[d-1]=V(g[d-1],t));var v=g.reduce((function(e,t,r){if(!t||"0"===t){var n=e[e.length-1];n&&n.index+n.length===r?n.length++:e.push({index:r,length:1})}return e}),[]).sort((function(e,t){return t.length-e.length}))[0],b=void 0;if(v&&v.length>1){var E=g.slice(0,v.index),D=g.slice(v.index+v.length);b=E.join(":")+"::"+D.join(":")}else b=g.join(":");return i&&(b+="%"+i),b}return e}var W=/^(?:([^:\/?#]+):)?(?:\/\/((?:([^\/?#@]*)@)?(\[[^\/?#\]]+\]|[^\/?#:]*)(?:\:(\d*))?))?([^?#]*)(?:\?([^#]*))?(?:#((?:.|\n|\r)*))?/i,Q=void 0==="".match(/(){0}/)[1];function K(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r={},n=!1!==t.iri?c:u;"suffix"===t.reference&&(e=(t.scheme?t.scheme+":":"")+"//"+e);var o=e.match(W);if(o){Q?(r.scheme=o[1],r.userinfo=o[3],r.host=o[4],r.port=parseInt(o[5],10),r.path=o[6]||"",r.query=o[7],r.fragment=o[8],isNaN(r.port)&&(r.port=o[5])):(r.scheme=o[1]||void 0,r.userinfo=-1!==e.indexOf("@")?o[3]:void 0,r.host=-1!==e.indexOf("//")?o[4]:void 0,r.port=parseInt(o[5],10),r.path=o[6]||"",r.query=-1!==e.indexOf("?")?o[7]:void 0,r.fragment=-1!==e.indexOf("#")?o[8]:void 0,isNaN(r.port)&&(r.port=e.match(/\/\/(?:.|\n)*\:(?:\/|\?|\#|$)/)?o[4]:void 0)),r.host&&(r.host=G(V(r.host,n),n)),void 0!==r.scheme||void 0!==r.userinfo||void 0!==r.host||void 0!==r.port||r.path||void 0!==r.query?void 0===r.scheme?r.reference="relative":void 0===r.fragment?r.reference="absolute":r.reference="uri":r.reference="same-document",t.reference&&"suffix"!==t.reference&&t.reference!==r.reference&&(r.error=r.error||"URI is not a "+t.reference+" reference.");var i=$[(t.scheme||r.scheme||"").toLowerCase()];if(t.unicodeSupport||i&&i.unicodeSupport)H(r,n);else{if(r.host&&(t.domainHost||i&&i.domainHost))try{r.host=N.toASCII(r.host.replace(n.PCT_ENCODED,z).toLowerCase())}catch(e){r.error=r.error||"Host's domain name can not be converted to ASCII via punycode: "+e}H(r,u)}i&&i.parse&&i.parse(r,t)}else r.error=r.error||"URI can not be parsed.";return r}function Y(e,t){var r=!1!==t.iri?c:u,n=[];return void 0!==e.userinfo&&(n.push(e.userinfo),n.push("@")),void 0!==e.host&&n.push(G(V(String(e.host),r),r).replace(r.IPV6ADDRESS,(function(e,t,r){return"["+t+(r?"%25"+r:"")+"]"}))),"number"!=typeof e.port&&"string"!=typeof e.port||(n.push(":"),n.push(String(e.port))),n.length?n.join(""):void 0}var Z=/^\.\.?\//,J=/^\/\.(\/|$)/,X=/^\/\.\.(\/|$)/,ee=/^\/?(?:.|\n)*?(?=\/|$)/;function te(e){for(var t=[];e.length;)if(e.match(Z))e=e.replace(Z,"");else if(e.match(J))e=e.replace(J,"/");else if(e.match(X))e=e.replace(X,"/"),t.pop();else if("."===e||".."===e)e="";else{var r=e.match(ee);if(!r)throw new Error("Unexpected dot segment condition");var n=r[0];e=e.slice(n.length),t.push(n)}return t.join("")}function re(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.iri?c:u,n=[],o=$[(t.scheme||e.scheme||"").toLowerCase()];if(o&&o.serialize&&o.serialize(e,t),e.host)if(r.IPV6ADDRESS.test(e.host));else if(t.domainHost||o&&o.domainHost)try{e.host=t.iri?N.toUnicode(e.host):N.toASCII(e.host.replace(r.PCT_ENCODED,z).toLowerCase())}catch(r){e.error=e.error||"Host's domain name can not be converted to "+(t.iri?"Unicode":"ASCII")+" via punycode: "+r}H(e,r),"suffix"!==t.reference&&e.scheme&&(n.push(e.scheme),n.push(":"));var i=Y(e,t);if(void 0!==i&&("suffix"!==t.reference&&n.push("//"),n.push(i),e.path&&"/"!==e.path.charAt(0)&&n.push("/")),void 0!==e.path){var a=e.path;t.absolutePath||o&&o.absolutePath||(a=te(a)),void 0===i&&(a=a.replace(/^\/\//,"/%2F")),n.push(a)}return void 0!==e.query&&(n.push("?"),n.push(e.query)),void 0!==e.fragment&&(n.push("#"),n.push(e.fragment)),n.join("")}function ne(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n={};return arguments[3]||(e=K(re(e,r),r),t=K(re(t,r),r)),!(r=r||{}).tolerant&&t.scheme?(n.scheme=t.scheme,n.userinfo=t.userinfo,n.host=t.host,n.port=t.port,n.path=te(t.path||""),n.query=t.query):(void 0!==t.userinfo||void 0!==t.host||void 0!==t.port?(n.userinfo=t.userinfo,n.host=t.host,n.port=t.port,n.path=te(t.path||""),n.query=t.query):(t.path?("/"===t.path.charAt(0)?n.path=te(t.path):(void 0===e.userinfo&&void 0===e.host&&void 0===e.port||e.path?e.path?n.path=e.path.slice(0,e.path.lastIndexOf("/")+1)+t.path:n.path=t.path:n.path="/"+t.path,n.path=te(n.path)),n.query=t.query):(n.path=e.path,void 0!==t.query?n.query=t.query:n.query=e.query),n.userinfo=e.userinfo,n.host=e.host,n.port=e.port),n.scheme=e.scheme),n.fragment=t.fragment,n}function oe(e,t,r){var n=a({scheme:"null"},r);return re(ne(K(e,n),K(t,n),n,!0),n)}function ie(e,t){return"string"==typeof e?e=re(K(e,t),t):"object"===n(e)&&(e=K(re(e,t),t)),e}function ae(e,t,r){return"string"==typeof e?e=re(K(e,r),r):"object"===n(e)&&(e=re(e,r)),"string"==typeof t?t=re(K(t,r),r):"object"===n(t)&&(t=re(t,r)),e===t}function se(e,t){return e&&e.toString().replace(t&&t.iri?c.ESCAPE:u.ESCAPE,U)}function ue(e,t){return e&&e.toString().replace(t&&t.iri?c.PCT_ENCODED:u.PCT_ENCODED,z)}var ce={scheme:"http",domainHost:!0,parse:function(e,t){return e.host||(e.error=e.error||"HTTP URIs must have a host."),e},serialize:function(e,t){var r="https"===String(e.scheme).toLowerCase();return e.port!==(r?443:80)&&""!==e.port||(e.port=void 0),e.path||(e.path="/"),e}},le={scheme:"https",domainHost:ce.domainHost,parse:ce.parse,serialize:ce.serialize};function fe(e){return"boolean"==typeof e.secure?e.secure:"wss"===String(e.scheme).toLowerCase()}var he={scheme:"ws",domainHost:!0,parse:function(e,t){var r=e;return r.secure=fe(r),r.resourceName=(r.path||"/")+(r.query?"?"+r.query:""),r.path=void 0,r.query=void 0,r},serialize:function(e,t){if(e.port!==(fe(e)?443:80)&&""!==e.port||(e.port=void 0),"boolean"==typeof e.secure&&(e.scheme=e.secure?"wss":"ws",e.secure=void 0),e.resourceName){var r=e.resourceName.split("?"),n=l(r,2),o=n[0],i=n[1];e.path=o&&"/"!==o?o:void 0,e.query=i,e.resourceName=void 0}return e.fragment=void 0,e}},pe={scheme:"wss",domainHost:he.domainHost,parse:he.parse,serialize:he.serialize},de={},me="[A-Za-z0-9\\-\\.\\_\\~\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]",ge="[0-9A-Fa-f]",ye=r(r("%[EFef]"+ge+"%"+ge+ge+"%"+ge+ge)+"|"+r("%[89A-Fa-f]"+ge+"%"+ge+ge)+"|"+r("%"+ge+ge)),ve="[A-Za-z0-9\\!\\$\\%\\'\\*\\+\\-\\^\\_\\`\\{\\|\\}\\~]",be=t("[\\!\\$\\%\\'\\(\\)\\*\\+\\,\\-\\.0-9\\<\\>A-Z\\x5E-\\x7E]",'[\\"\\\\]'),Ee="[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]",De=new RegExp(me,"g"),we=new RegExp(ye,"g"),xe=new RegExp(t("[^]",ve,"[\\.]",'[\\"]',be),"g"),Fe=new RegExp(t("[^]",me,Ee),"g"),Se=Fe;function Ae(e){var t=z(e);return t.match(De)?t:e}var ke={scheme:"mailto",parse:function(e,t){var r=e,n=r.to=r.path?r.path.split(","):[];if(r.path=void 0,r.query){for(var o=!1,i={},a=r.query.split("&"),s=0,u=a.length;s<u;++s){var c=a[s].split("=");switch(c[0]){case"to":for(var l=c[1].split(","),f=0,h=l.length;f<h;++f)n.push(l[f]);break;case"subject":r.subject=ue(c[1],t);break;case"body":r.body=ue(c[1],t);break;default:o=!0,i[ue(c[0],t)]=ue(c[1],t)}}o&&(r.headers=i)}r.query=void 0;for(var p=0,d=n.length;p<d;++p){var m=n[p].split("@");if(m[0]=ue(m[0]),t.unicodeSupport)m[1]=ue(m[1],t).toLowerCase();else try{m[1]=N.toASCII(ue(m[1],t).toLowerCase())}catch(e){r.error=r.error||"Email address's domain name can not be converted to ASCII via punycode: "+e}n[p]=m.join("@")}return r},serialize:function(e,t){var r=e,n=i(e.to);if(n){for(var a=0,s=n.length;a<s;++a){var u=String(n[a]),c=u.lastIndexOf("@"),l=u.slice(0,c).replace(we,Ae).replace(we,o).replace(xe,U),f=u.slice(c+1);try{f=t.iri?N.toUnicode(f):N.toASCII(ue(f,t).toLowerCase())}catch(e){r.error=r.error||"Email address's domain name can not be converted to "+(t.iri?"Unicode":"ASCII")+" via punycode: "+e}n[a]=l+"@"+f}r.path=n.join(",")}var h=e.headers=e.headers||{};e.subject&&(h.subject=e.subject),e.body&&(h.body=e.body);var p=[];for(var d in h)h[d]!==de[d]&&p.push(d.replace(we,Ae).replace(we,o).replace(Fe,U)+"="+h[d].replace(we,Ae).replace(we,o).replace(Se,U));return p.length&&(r.query=p.join("&")),r}},Ce=/^([^\:]+)\:(.*)/,Pe={scheme:"urn",parse:function(e,t){var r=e.path&&e.path.match(Ce),n=e;if(r){var o=t.scheme||n.scheme||"urn",i=r[1].toLowerCase(),a=r[2],s=o+":"+(t.nid||i),u=$[s];n.nid=i,n.nss=a,n.path=void 0,u&&(n=u.parse(n,t))}else n.error=n.error||"URN can not be parsed.";return n},serialize:function(e,t){var r=t.scheme||e.scheme||"urn",n=e.nid,o=r+":"+(t.nid||n),i=$[o];i&&(e=i.serialize(e,t));var a=e,s=e.nss;return a.path=(n||t.nid)+":"+s,a}},Oe=/^[0-9A-Fa-f]{8}(?:\-[0-9A-Fa-f]{4}){3}\-[0-9A-Fa-f]{12}$/,je={scheme:"urn:uuid",parse:function(e,t){var r=e;return r.uuid=r.nss,r.nss=void 0,t.tolerant||r.uuid&&r.uuid.match(Oe)||(r.error=r.error||"UUID is not valid."),r},serialize:function(e,t){var r=e;return r.nss=(e.uuid||"").toLowerCase(),r}};$[ce.scheme]=ce,$[le.scheme]=le,$[he.scheme]=he,$[pe.scheme]=pe,$[ke.scheme]=ke,$[Pe.scheme]=Pe,$[je.scheme]=je,e.SCHEMES=$,e.pctEncChar=U,e.pctDecChars=z,e.parse=K,e.removeDotSegments=te,e.serialize=re,e.resolveComponents=ne,e.resolve=oe,e.normalize=ie,e.equal=ae,e.escapeComponent=se,e.unescapeComponent=ue,Object.defineProperty(e,"__esModule",{value:!0})}(t)},3040:(e,t,r)=>{"use strict";var n=r(74870),o=r(54783);function i(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}t.parse=b,t.resolve=function(e,t){return b(e,!1,!0).resolve(t)},t.resolveObject=function(e,t){return e?b(e,!1,!0).resolveObject(t):t},t.format=function(e){o.isString(e)&&(e=b(e));return e instanceof i?e.format():i.prototype.format.call(e)},t.Url=i;var a=/^([a-z0-9.+-]+:)/i,s=/:[0-9]*$/,u=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,c=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),l=["'"].concat(c),f=["%","/","?",";","#"].concat(l),h=["/","?","#"],p=/^[+a-z0-9A-Z_-]{0,63}$/,d=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,m={javascript:!0,"javascript:":!0},g={javascript:!0,"javascript:":!0},y={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},v=r(54415);function b(e,t,r){if(e&&o.isObject(e)&&e instanceof i)return e;var n=new i;return n.parse(e,t,r),n}i.prototype.parse=function(e,t,r){if(!o.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var i=e.indexOf("?"),s=-1!==i&&i<e.indexOf("#")?"?":"#",c=e.split(s);c[0]=c[0].replace(/\\/g,"/");var b=e=c.join(s);if(b=b.trim(),!r&&1===e.split("#").length){var E=u.exec(b);if(E)return this.path=b,this.href=b,this.pathname=E[1],E[2]?(this.search=E[2],this.query=t?v.parse(this.search.substr(1)):this.search.substr(1)):t&&(this.search="",this.query={}),this}var D=a.exec(b);if(D){var w=(D=D[0]).toLowerCase();this.protocol=w,b=b.substr(D.length)}if(r||D||b.match(/^\/\/[^@\/]+@[^@\/]+/)){var x="//"===b.substr(0,2);!x||D&&g[D]||(b=b.substr(2),this.slashes=!0)}if(!g[D]&&(x||D&&!y[D])){for(var F,S,A=-1,k=0;k<h.length;k++){-1!==(C=b.indexOf(h[k]))&&(-1===A||C<A)&&(A=C)}-1!==(S=-1===A?b.lastIndexOf("@"):b.lastIndexOf("@",A))&&(F=b.slice(0,S),b=b.slice(S+1),this.auth=decodeURIComponent(F)),A=-1;for(k=0;k<f.length;k++){var C;-1!==(C=b.indexOf(f[k]))&&(-1===A||C<A)&&(A=C)}-1===A&&(A=b.length),this.host=b.slice(0,A),b=b.slice(A),this.parseHost(),this.hostname=this.hostname||"";var P="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!P)for(var O=this.hostname.split(/\./),j=(k=0,O.length);k<j;k++){var T=O[k];if(T&&!T.match(p)){for(var _="",B=0,R=T.length;B<R;B++)T.charCodeAt(B)>127?_+="x":_+=T[B];if(!_.match(p)){var I=O.slice(0,k),L=O.slice(k+1),M=T.match(d);M&&(I.push(M[1]),L.unshift(M[2])),L.length&&(b="/"+L.join(".")+b),this.hostname=I.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),P||(this.hostname=n.toASCII(this.hostname));var N=this.port?":"+this.port:"",$=this.hostname||"";this.host=$+N,this.href+=this.host,P&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==b[0]&&(b="/"+b))}if(!m[w])for(k=0,j=l.length;k<j;k++){var U=l[k];if(-1!==b.indexOf(U)){var z=encodeURIComponent(U);z===U&&(z=escape(U)),b=b.split(U).join(z)}}var H=b.indexOf("#");-1!==H&&(this.hash=b.substr(H),b=b.slice(0,H));var q=b.indexOf("?");if(-1!==q?(this.search=b.substr(q),this.query=b.substr(q+1),t&&(this.query=v.parse(this.query)),b=b.slice(0,q)):t&&(this.search="",this.query={}),b&&(this.pathname=b),y[w]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){N=this.pathname||"";var V=this.search||"";this.path=N+V}return this.href=this.format(),this},i.prototype.format=function(){var e=this.auth||"";e&&(e=(e=encodeURIComponent(e)).replace(/%3A/i,":"),e+="@");var t=this.protocol||"",r=this.pathname||"",n=this.hash||"",i=!1,a="";this.host?i=e+this.host:this.hostname&&(i=e+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(i+=":"+this.port)),this.query&&o.isObject(this.query)&&Object.keys(this.query).length&&(a=v.stringify(this.query));var s=this.search||a&&"?"+a||"";return t&&":"!==t.substr(-1)&&(t+=":"),this.slashes||(!t||y[t])&&!1!==i?(i="//"+(i||""),r&&"/"!==r.charAt(0)&&(r="/"+r)):i||(i=""),n&&"#"!==n.charAt(0)&&(n="#"+n),s&&"?"!==s.charAt(0)&&(s="?"+s),t+i+(r=r.replace(/[?#]/g,(function(e){return encodeURIComponent(e)})))+(s=s.replace("#","%23"))+n},i.prototype.resolve=function(e){return this.resolveObject(b(e,!1,!0)).format()},i.prototype.resolveObject=function(e){if(o.isString(e)){var t=new i;t.parse(e,!1,!0),e=t}for(var r=new i,n=Object.keys(this),a=0;a<n.length;a++){var s=n[a];r[s]=this[s]}if(r.hash=e.hash,""===e.href)return r.href=r.format(),r;if(e.slashes&&!e.protocol){for(var u=Object.keys(e),c=0;c<u.length;c++){var l=u[c];"protocol"!==l&&(r[l]=e[l])}return y[r.protocol]&&r.hostname&&!r.pathname&&(r.path=r.pathname="/"),r.href=r.format(),r}if(e.protocol&&e.protocol!==r.protocol){if(!y[e.protocol]){for(var f=Object.keys(e),h=0;h<f.length;h++){var p=f[h];r[p]=e[p]}return r.href=r.format(),r}if(r.protocol=e.protocol,e.host||g[e.protocol])r.pathname=e.pathname;else{for(var d=(e.pathname||"").split("/");d.length&&!(e.host=d.shift()););e.host||(e.host=""),e.hostname||(e.hostname=""),""!==d[0]&&d.unshift(""),d.length<2&&d.unshift(""),r.pathname=d.join("/")}if(r.search=e.search,r.query=e.query,r.host=e.host||"",r.auth=e.auth,r.hostname=e.hostname||e.host,r.port=e.port,r.pathname||r.search){var m=r.pathname||"",v=r.search||"";r.path=m+v}return r.slashes=r.slashes||e.slashes,r.href=r.format(),r}var b=r.pathname&&"/"===r.pathname.charAt(0),E=e.host||e.pathname&&"/"===e.pathname.charAt(0),D=E||b||r.host&&e.pathname,w=D,x=r.pathname&&r.pathname.split("/")||[],F=(d=e.pathname&&e.pathname.split("/")||[],r.protocol&&!y[r.protocol]);if(F&&(r.hostname="",r.port=null,r.host&&(""===x[0]?x[0]=r.host:x.unshift(r.host)),r.host="",e.protocol&&(e.hostname=null,e.port=null,e.host&&(""===d[0]?d[0]=e.host:d.unshift(e.host)),e.host=null),D=D&&(""===d[0]||""===x[0])),E)r.host=e.host||""===e.host?e.host:r.host,r.hostname=e.hostname||""===e.hostname?e.hostname:r.hostname,r.search=e.search,r.query=e.query,x=d;else if(d.length)x||(x=[]),x.pop(),x=x.concat(d),r.search=e.search,r.query=e.query;else if(!o.isNullOrUndefined(e.search)){if(F)r.hostname=r.host=x.shift(),(P=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@"))&&(r.auth=P.shift(),r.host=r.hostname=P.shift());return r.search=e.search,r.query=e.query,o.isNull(r.pathname)&&o.isNull(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.href=r.format(),r}if(!x.length)return r.pathname=null,r.search?r.path="/"+r.search:r.path=null,r.href=r.format(),r;for(var S=x.slice(-1)[0],A=(r.host||e.host||x.length>1)&&("."===S||".."===S)||""===S,k=0,C=x.length;C>=0;C--)"."===(S=x[C])?x.splice(C,1):".."===S?(x.splice(C,1),k++):k&&(x.splice(C,1),k--);if(!D&&!w)for(;k--;k)x.unshift("..");!D||""===x[0]||x[0]&&"/"===x[0].charAt(0)||x.unshift(""),A&&"/"!==x.join("/").substr(-1)&&x.push("");var P,O=""===x[0]||x[0]&&"/"===x[0].charAt(0);F&&(r.hostname=r.host=O?"":x.length?x.shift():"",(P=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@"))&&(r.auth=P.shift(),r.host=r.hostname=P.shift()));return(D=D||r.host&&x.length)&&!O&&x.unshift(""),x.length?r.pathname=x.join("/"):(r.pathname=null,r.path=null),o.isNull(r.pathname)&&o.isNull(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.auth=e.auth||r.auth,r.slashes=r.slashes||e.slashes,r.href=r.format(),r},i.prototype.parseHost=function(){var e=this.host,t=s.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},54783:e=>{"use strict";e.exports={isString:function(e){return"string"==typeof e},isObject:function(e){return"object"==typeof e&&null!==e},isNull:function(e){return null===e},isNullOrUndefined:function(e){return null==e}}},2439:e=>{e.exports=function(e){return e&&"object"==typeof e&&"function"==typeof e.copy&&"function"==typeof e.fill&&"function"==typeof e.readUInt8}},42406:(e,t,r)=>{"use strict";var n=r(7974),o=r(50434),i=r(3615),a=r(36466);function s(e){return e.call.bind(e)}var u="undefined"!=typeof BigInt,c="undefined"!=typeof Symbol,l=s(Object.prototype.toString),f=s(Number.prototype.valueOf),h=s(String.prototype.valueOf),p=s(Boolean.prototype.valueOf);if(u)var d=s(BigInt.prototype.valueOf);if(c)var m=s(Symbol.prototype.valueOf);function g(e,t){if("object"!=typeof e)return!1;try{return t(e),!0}catch(e){return!1}}function y(e){return"[object Map]"===l(e)}function v(e){return"[object Set]"===l(e)}function b(e){return"[object WeakMap]"===l(e)}function E(e){return"[object WeakSet]"===l(e)}function D(e){return"[object ArrayBuffer]"===l(e)}function w(e){return"undefined"!=typeof ArrayBuffer&&(D.working?D(e):e instanceof ArrayBuffer)}function x(e){return"[object DataView]"===l(e)}function F(e){return"undefined"!=typeof DataView&&(x.working?x(e):e instanceof DataView)}t.isArgumentsObject=n,t.isGeneratorFunction=o,t.isTypedArray=a,t.isPromise=function(e){return"undefined"!=typeof Promise&&e instanceof Promise||null!==e&&"object"==typeof e&&"function"==typeof e.then&&"function"==typeof e.catch},t.isArrayBufferView=function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):a(e)||F(e)},t.isUint8Array=function(e){return"Uint8Array"===i(e)},t.isUint8ClampedArray=function(e){return"Uint8ClampedArray"===i(e)},t.isUint16Array=function(e){return"Uint16Array"===i(e)},t.isUint32Array=function(e){return"Uint32Array"===i(e)},t.isInt8Array=function(e){return"Int8Array"===i(e)},t.isInt16Array=function(e){return"Int16Array"===i(e)},t.isInt32Array=function(e){return"Int32Array"===i(e)},t.isFloat32Array=function(e){return"Float32Array"===i(e)},t.isFloat64Array=function(e){return"Float64Array"===i(e)},t.isBigInt64Array=function(e){return"BigInt64Array"===i(e)},t.isBigUint64Array=function(e){return"BigUint64Array"===i(e)},y.working="undefined"!=typeof Map&&y(new Map),t.isMap=function(e){return"undefined"!=typeof Map&&(y.working?y(e):e instanceof Map)},v.working="undefined"!=typeof Set&&v(new Set),t.isSet=function(e){return"undefined"!=typeof Set&&(v.working?v(e):e instanceof Set)},b.working="undefined"!=typeof WeakMap&&b(new WeakMap),t.isWeakMap=function(e){return"undefined"!=typeof WeakMap&&(b.working?b(e):e instanceof WeakMap)},E.working="undefined"!=typeof WeakSet&&E(new WeakSet),t.isWeakSet=function(e){return E(e)},D.working="undefined"!=typeof ArrayBuffer&&D(new ArrayBuffer),t.isArrayBuffer=w,x.working="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView&&x(new DataView(new ArrayBuffer(1),0,1)),t.isDataView=F;var S="undefined"!=typeof SharedArrayBuffer?SharedArrayBuffer:void 0;function A(e){return"[object SharedArrayBuffer]"===l(e)}function k(e){return void 0!==S&&(void 0===A.working&&(A.working=A(new S)),A.working?A(e):e instanceof S)}function C(e){return g(e,f)}function P(e){return g(e,h)}function O(e){return g(e,p)}function j(e){return u&&g(e,d)}function T(e){return c&&g(e,m)}t.isSharedArrayBuffer=k,t.isAsyncFunction=function(e){return"[object AsyncFunction]"===l(e)},t.isMapIterator=function(e){return"[object Map Iterator]"===l(e)},t.isSetIterator=function(e){return"[object Set Iterator]"===l(e)},t.isGeneratorObject=function(e){return"[object Generator]"===l(e)},t.isWebAssemblyCompiledModule=function(e){return"[object WebAssembly.Module]"===l(e)},t.isNumberObject=C,t.isStringObject=P,t.isBooleanObject=O,t.isBigIntObject=j,t.isSymbolObject=T,t.isBoxedPrimitive=function(e){return C(e)||P(e)||O(e)||j(e)||T(e)},t.isAnyArrayBuffer=function(e){return"undefined"!=typeof Uint8Array&&(w(e)||k(e))},["isProxy","isExternal","isModuleNamespaceObject"].forEach((function(e){Object.defineProperty(t,e,{enumerable:!1,value:function(){throw new Error(e+" is not supported in userland")}})}))},35210:(e,t,r)=>{var n=r(44675),o=Object.getOwnPropertyDescriptors||function(e){for(var t=Object.keys(e),r={},n=0;n<t.length;n++)r[t[n]]=Object.getOwnPropertyDescriptor(e,t[n]);return r},i=/%[sdj%]/g;t.format=function(e){if(!b(e)){for(var t=[],r=0;r<arguments.length;r++)t.push(c(arguments[r]));return t.join(" ")}r=1;for(var n=arguments,o=n.length,a=String(e).replace(i,(function(e){if("%%"===e)return"%";if(r>=o)return e;switch(e){case"%s":return String(n[r++]);case"%d":return Number(n[r++]);case"%j":try{return JSON.stringify(n[r++])}catch(e){return"[Circular]"}default:return e}})),s=n[r];r<o;s=n[++r])y(s)||!w(s)?a+=" "+s:a+=" "+c(s);return a},t.deprecate=function(e,r){if(void 0!==n&&!0===n.noDeprecation)return e;if(void 0===n)return function(){return t.deprecate(e,r).apply(this,arguments)};var o=!1;return function(){if(!o){if(n.throwDeprecation)throw new Error(r);n.traceDeprecation?console.trace(r):console.error(r),o=!0}return e.apply(this,arguments)}};var a={},s=/^$/;if(n.env.NODE_DEBUG){var u=n.env.NODE_DEBUG;u=u.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),s=new RegExp("^"+u+"$","i")}function c(e,r){var n={seen:[],stylize:f};return arguments.length>=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),g(r)?n.showHidden=r:r&&t._extend(n,r),E(n.showHidden)&&(n.showHidden=!1),E(n.depth)&&(n.depth=2),E(n.colors)&&(n.colors=!1),E(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=l),h(n,e,n.depth)}function l(e,t){var r=c.styles[t];return r?"["+c.colors[r][0]+"m"+e+"["+c.colors[r][1]+"m":e}function f(e,t){return e}function h(e,r,n){if(e.customInspect&&r&&S(r.inspect)&&r.inspect!==t.inspect&&(!r.constructor||r.constructor.prototype!==r)){var o=r.inspect(n,e);return b(o)||(o=h(e,o,n)),o}var i=function(e,t){if(E(t))return e.stylize("undefined","undefined");if(b(t)){var r="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(r,"string")}if(v(t))return e.stylize(""+t,"number");if(g(t))return e.stylize(""+t,"boolean");if(y(t))return e.stylize("null","null")}(e,r);if(i)return i;var a=Object.keys(r),s=function(e){var t={};return e.forEach((function(e,r){t[e]=!0})),t}(a);if(e.showHidden&&(a=Object.getOwnPropertyNames(r)),F(r)&&(a.indexOf("message")>=0||a.indexOf("description")>=0))return p(r);if(0===a.length){if(S(r)){var u=r.name?": "+r.name:"";return e.stylize("[Function"+u+"]","special")}if(D(r))return e.stylize(RegExp.prototype.toString.call(r),"regexp");if(x(r))return e.stylize(Date.prototype.toString.call(r),"date");if(F(r))return p(r)}var c,l="",f=!1,w=["{","}"];(m(r)&&(f=!0,w=["[","]"]),S(r))&&(l=" [Function"+(r.name?": "+r.name:"")+"]");return D(r)&&(l=" "+RegExp.prototype.toString.call(r)),x(r)&&(l=" "+Date.prototype.toUTCString.call(r)),F(r)&&(l=" "+p(r)),0!==a.length||f&&0!=r.length?n<0?D(r)?e.stylize(RegExp.prototype.toString.call(r),"regexp"):e.stylize("[Object]","special"):(e.seen.push(r),c=f?function(e,t,r,n,o){for(var i=[],a=0,s=t.length;a<s;++a)P(t,String(a))?i.push(d(e,t,r,n,String(a),!0)):i.push("");return o.forEach((function(o){o.match(/^\d+$/)||i.push(d(e,t,r,n,o,!0))})),i}(e,r,n,s,a):a.map((function(t){return d(e,r,n,s,t,f)})),e.seen.pop(),function(e,t,r){var n=e.reduce((function(e,t){return t.indexOf("\n")>=0&&0,e+t.replace(/\u001b\[\d\d?m/g,"").length+1}),0);if(n>60)return r[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+r[1];return r[0]+t+" "+e.join(", ")+" "+r[1]}(c,l,w)):w[0]+l+w[1]}function p(e){return"["+Error.prototype.toString.call(e)+"]"}function d(e,t,r,n,o,i){var a,s,u;if((u=Object.getOwnPropertyDescriptor(t,o)||{value:t[o]}).get?s=u.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):u.set&&(s=e.stylize("[Setter]","special")),P(n,o)||(a="["+o+"]"),s||(e.seen.indexOf(u.value)<0?(s=y(r)?h(e,u.value,null):h(e,u.value,r-1)).indexOf("\n")>-1&&(s=i?s.split("\n").map((function(e){return" "+e})).join("\n").slice(2):"\n"+s.split("\n").map((function(e){return" "+e})).join("\n")):s=e.stylize("[Circular]","special")),E(a)){if(i&&o.match(/^\d+$/))return s;(a=JSON.stringify(""+o)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.slice(1,-1),a=e.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=e.stylize(a,"string"))}return a+": "+s}function m(e){return Array.isArray(e)}function g(e){return"boolean"==typeof e}function y(e){return null===e}function v(e){return"number"==typeof e}function b(e){return"string"==typeof e}function E(e){return void 0===e}function D(e){return w(e)&&"[object RegExp]"===A(e)}function w(e){return"object"==typeof e&&null!==e}function x(e){return w(e)&&"[object Date]"===A(e)}function F(e){return w(e)&&("[object Error]"===A(e)||e instanceof Error)}function S(e){return"function"==typeof e}function A(e){return Object.prototype.toString.call(e)}function k(e){return e<10?"0"+e.toString(10):e.toString(10)}t.debuglog=function(e){if(e=e.toUpperCase(),!a[e])if(s.test(e)){var r=n.pid;a[e]=function(){var n=t.format.apply(t,arguments);console.error("%s %d: %s",e,r,n)}}else a[e]=function(){};return a[e]},t.inspect=c,c.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},c.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},t.types=r(42406),t.isArray=m,t.isBoolean=g,t.isNull=y,t.isNullOrUndefined=function(e){return null==e},t.isNumber=v,t.isString=b,t.isSymbol=function(e){return"symbol"==typeof e},t.isUndefined=E,t.isRegExp=D,t.types.isRegExp=D,t.isObject=w,t.isDate=x,t.types.isDate=x,t.isError=F,t.types.isNativeError=F,t.isFunction=S,t.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},t.isBuffer=r(2439);var C=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function P(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.log=function(){var e,r;console.log("%s - %s",(e=new Date,r=[k(e.getHours()),k(e.getMinutes()),k(e.getSeconds())].join(":"),[e.getDate(),C[e.getMonth()],r].join(" ")),t.format.apply(t,arguments))},t.inherits=r(89118),t._extend=function(e,t){if(!t||!w(t))return e;for(var r=Object.keys(t),n=r.length;n--;)e[r[n]]=t[r[n]];return e};var O="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):void 0;function j(e,t){if(!e){var r=new Error("Promise was rejected with a falsy value");r.reason=e,e=r}return t(e)}t.promisify=function(e){if("function"!=typeof e)throw new TypeError('The "original" argument must be of type Function');if(O&&e[O]){var t;if("function"!=typeof(t=e[O]))throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(t,O,{value:t,enumerable:!1,writable:!1,configurable:!0}),t}function t(){for(var t,r,n=new Promise((function(e,n){t=e,r=n})),o=[],i=0;i<arguments.length;i++)o.push(arguments[i]);o.push((function(e,n){e?r(e):t(n)}));try{e.apply(this,o)}catch(e){r(e)}return n}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),O&&Object.defineProperty(t,O,{value:t,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(t,o(e))},t.promisify.custom=O,t.callbackify=function(e){if("function"!=typeof e)throw new TypeError('The "original" argument must be of type Function');function t(){for(var t=[],r=0;r<arguments.length;r++)t.push(arguments[r]);var o=t.pop();if("function"!=typeof o)throw new TypeError("The last argument must be of type Function");var i=this,a=function(){return o.apply(i,arguments)};e.apply(this,t).then((function(e){n.nextTick(a.bind(null,null,e))}),(function(e){n.nextTick(j.bind(null,e,a))}))}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),Object.defineProperties(t,o(e)),t}},3615:(e,t,r)=>{"use strict";var n=r(6862),o=r(14897),i=r(57372),a=r(49662),s=i("Object.prototype.toString"),u=r(3825)(),c="undefined"==typeof globalThis?r.g:globalThis,l=o(),f=i("String.prototype.slice"),h={},p=Object.getPrototypeOf;u&&a&&p&&n(l,(function(e){if("function"==typeof c[e]){var t=new c[e];if(Symbol.toStringTag in t){var r=p(t),n=a(r,Symbol.toStringTag);if(!n){var o=p(r);n=a(o,Symbol.toStringTag)}h[e]=n.get}}}));var d=r(36466);e.exports=function(e){return!!d(e)&&(u&&Symbol.toStringTag in e?function(e){var t=!1;return n(h,(function(r,n){if(!t)try{var o=r.call(e);o===n&&(t=o)}catch(e){}})),t}(e):f(s(e),8,-1))}},87363:e=>{"use strict";e.exports=React},61533:e=>{"use strict";e.exports=ReactDOM},12611:e=>{"use strict";e.exports=_},26089:()=>{},72899:(e,t,r)=>{var n=r(63981);function o(e){var t,r;function o(t,r){try{var a=e[t](r),s=a.value,u=s instanceof n;Promise.resolve(u?s.v:s).then((function(r){if(u){var n="return"===t?"return":"next";if(!s.k||r.done)return o(n,r);r=e[n](r).value}i(a.done?"return":"normal",r)}),(function(e){o("throw",e)}))}catch(e){i("throw",e)}}function i(e,n){switch(e){case"return":t.resolve({value:n,done:!0});break;case"throw":t.reject(n);break;default:t.resolve({value:n,done:!1})}(t=t.next)?o(t.key,t.arg):r=null}this._invoke=function(e,n){return new Promise((function(i,a){var s={key:e,arg:n,resolve:i,reject:a,next:null};r?r=r.next=s:(t=r=s,o(e,n))}))},"function"!=typeof e.return&&(this.return=void 0)}o.prototype["function"==typeof Symbol&&Symbol.asyncIterator||"@@asyncIterator"]=function(){return this},o.prototype.next=function(e){return this._invoke("next",e)},o.prototype.throw=function(e){return this._invoke("throw",e)},o.prototype.return=function(e){return this._invoke("return",e)},e.exports=o,e.exports.__esModule=!0,e.exports.default=e.exports},63981:e=>{e.exports=function(e,t){this.v=e,this.k=t},e.exports.__esModule=!0,e.exports.default=e.exports},89415:e=>{e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n},e.exports.__esModule=!0,e.exports.default=e.exports},22193:e=>{e.exports=function(e){if(Array.isArray(e))return e},e.exports.__esModule=!0,e.exports.default=e.exports},44220:e=>{e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e},e.exports.__esModule=!0,e.exports.default=e.exports},529:(e,t,r)=>{var n=r(63981);e.exports=function(e){var t={},r=!1;function o(t,o){return r=!0,o=new Promise((function(r){r(e[t](o))})),{done:!1,value:new n(o,1)}}return t["undefined"!=typeof Symbol&&Symbol.iterator||"@@iterator"]=function(){return this},t.next=function(e){return r?(r=!1,e):o("next",e)},"function"==typeof e.throw&&(t.throw=function(e){if(r)throw r=!1,e;return o("throw",e)}),"function"==typeof e.return&&(t.return=function(e){return r?(r=!1,e):o("return",e)}),t},e.exports.__esModule=!0,e.exports.default=e.exports},87790:e=>{function t(e,t,r,n,o,i,a){try{var s=e[i](a),u=s.value}catch(e){return void r(e)}s.done?t(u):Promise.resolve(u).then(n,o)}e.exports=function(e){return function(){var r=this,n=arguments;return new Promise((function(o,i){var a=e.apply(r,n);function s(e){t(a,o,i,s,u,"next",e)}function u(e){t(a,o,i,s,u,"throw",e)}s(void 0)}))}},e.exports.__esModule=!0,e.exports.default=e.exports},76985:(e,t,r)=>{var n=r(63981);e.exports=function(e){return new n(e,0)},e.exports.__esModule=!0,e.exports.default=e.exports},32078:e=>{e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.__esModule=!0,e.exports.default=e.exports},82357:(e,t,r)=>{var n=r(11926);function o(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,n(o.key),o)}}e.exports=function(e,t,r){return t&&o(e.prototype,t),r&&o(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e},e.exports.__esModule=!0,e.exports.default=e.exports},6322:(e,t,r)=>{var n=r(11926);e.exports=function(e,t,r){return(t=n(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e},e.exports.__esModule=!0,e.exports.default=e.exports},12982:e=>{function t(r){return e.exports=t=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},e.exports.__esModule=!0,e.exports.default=e.exports,t(r)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},33649:(e,t,r)=>{var n=r(91337);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&n(e,t)},e.exports.__esModule=!0,e.exports.default=e.exports},10424:e=>{e.exports=function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)},e.exports.__esModule=!0,e.exports.default=e.exports},24601:e=>{e.exports=function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],u=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);u=!0);}catch(e){c=!0,o=e}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}},e.exports.__esModule=!0,e.exports.default=e.exports},59560:e=>{e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports.default=e.exports},45471:e=>{e.exports=function(e){if(null==e)throw new TypeError("Cannot destructure "+e)},e.exports.__esModule=!0,e.exports.default=e.exports},34889:(e,t,r)=>{var n=r(63483);e.exports=function(e,t){if(null==e)return{};var r,o,i=n(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i},e.exports.__esModule=!0,e.exports.default=e.exports},63483:e=>{e.exports=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o},e.exports.__esModule=!0,e.exports.default=e.exports},74158:(e,t,r)=>{var n=r(64020).default,o=r(44220);e.exports=function(e,t){if(t&&("object"===n(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return o(e)},e.exports.__esModule=!0,e.exports.default=e.exports},88501:(e,t,r)=>{var n=r(64020).default;function o(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */e.exports=o=function(){return t},e.exports.__esModule=!0,e.exports.default=e.exports;var t={},r=Object.prototype,i=r.hasOwnProperty,a=Object.defineProperty||function(e,t,r){e[t]=r.value},s="function"==typeof Symbol?Symbol:{},u=s.iterator||"@@iterator",c=s.asyncIterator||"@@asyncIterator",l=s.toStringTag||"@@toStringTag";function f(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},"")}catch(e){f=function(e,t,r){return e[t]=r}}function h(e,t,r,n){var o=t&&t.prototype instanceof m?t:m,i=Object.create(o.prototype),s=new C(n||[]);return a(i,"_invoke",{value:F(e,r,s)}),i}function p(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=h;var d={};function m(){}function g(){}function y(){}var v={};f(v,u,(function(){return this}));var b=Object.getPrototypeOf,E=b&&b(b(P([])));E&&E!==r&&i.call(E,u)&&(v=E);var D=y.prototype=m.prototype=Object.create(v);function w(e){["next","throw","return"].forEach((function(t){f(e,t,(function(e){return this._invoke(t,e)}))}))}function x(e,t){function r(o,a,s,u){var c=p(e[o],e,a);if("throw"!==c.type){var l=c.arg,f=l.value;return f&&"object"==n(f)&&i.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,s,u)}),(function(e){r("throw",e,s,u)})):t.resolve(f).then((function(e){l.value=e,s(l)}),(function(e){return r("throw",e,s,u)}))}u(c.arg)}var o;a(this,"_invoke",{value:function(e,n){function i(){return new t((function(t,o){r(e,n,t,o)}))}return o=o?o.then(i,i):i()}})}function F(e,t,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return O()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var s=S(a,r);if(s){if(s===d)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var u=p(e,t,r);if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===d)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}function S(e,t){var r=t.method,n=e.iterator[r];if(void 0===n)return t.delegate=null,"throw"===r&&e.iterator.return&&(t.method="return",t.arg=void 0,S(e,t),"throw"===t.method)||"return"!==r&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+r+"' method")),d;var o=p(n,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,d;var i=o.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,d):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,d)}function A(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function k(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function C(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(A,this),this.reset(!0)}function P(e){if(e){var t=e[u];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,n=function t(){for(;++r<e.length;)if(i.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return n.next=n}}return{next:O}}function O(){return{value:void 0,done:!0}}return g.prototype=y,a(D,"constructor",{value:y,configurable:!0}),a(y,"constructor",{value:g,configurable:!0}),g.displayName=f(y,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===g||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,y):(e.__proto__=y,f(e,l,"GeneratorFunction")),e.prototype=Object.create(D),e},t.awrap=function(e){return{__await:e}},w(x.prototype),f(x.prototype,c,(function(){return this})),t.AsyncIterator=x,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new x(h(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},w(D),f(D,l,"Generator"),f(D,u,(function(){return this})),f(D,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=P,C.prototype={constructor:C,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(k),!e)for(var t in this)"t"===t.charAt(0)&&i.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(r,n){return a.type="throw",a.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n],a=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var s=i.call(o,"catchLoc"),u=i.call(o,"finallyLoc");if(s&&u){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&i.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var o=n;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=e,a.arg=t,o?(this.method="next",this.next=o.finallyLoc,d):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),d},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),k(r),d}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;k(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:P(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),d}},t}e.exports=o,e.exports.__esModule=!0,e.exports.default=e.exports},91337:e=>{function t(r,n){return e.exports=t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},e.exports.__esModule=!0,e.exports.default=e.exports,t(r,n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},45990:(e,t,r)=>{var n=r(22193),o=r(24601),i=r(70891),a=r(59560);e.exports=function(e,t){return n(e)||o(e,t)||i(e,t)||a()},e.exports.__esModule=!0,e.exports.default=e.exports},28056:e=>{e.exports=function(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))},e.exports.__esModule=!0,e.exports.default=e.exports},12147:(e,t,r)=>{var n=r(22193),o=r(10424),i=r(70891),a=r(59560);e.exports=function(e){return n(e)||o(e)||i(e)||a()},e.exports.__esModule=!0,e.exports.default=e.exports},46217:(e,t,r)=>{var n=r(64020).default;e.exports=function(e,t){if("object"!==n(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var o=r.call(e,t||"default");if("object"!==n(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)},e.exports.__esModule=!0,e.exports.default=e.exports},11926:(e,t,r)=>{var n=r(64020).default,o=r(46217);e.exports=function(e){var t=o(e,"string");return"symbol"===n(t)?t:String(t)},e.exports.__esModule=!0,e.exports.default=e.exports},64020:e=>{function t(r){return e.exports=t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,t(r)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},70891:(e,t,r)=>{var n=r(89415);e.exports=function(e,t){if(e){if("string"==typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}},e.exports.__esModule=!0,e.exports.default=e.exports},58089:(e,t,r)=>{var n=r(72899);e.exports=function(e){return function(){return new n(e.apply(this,arguments))}},e.exports.__esModule=!0,e.exports.default=e.exports},366:(e,t,r)=>{var n=r(88501)();e.exports=n;try{regeneratorRuntime=n}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=n:Function("r","regeneratorRuntime = r")(n)}},14897:(e,t,r)=>{"use strict";var n=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],o="undefined"==typeof globalThis?r.g:globalThis;e.exports=function(){for(var e=[],t=0;t<n.length;t++)"function"==typeof o[n[t]]&&(e[e.length]=n[t]);return e}},41470:(e,t,r)=>{"use strict";r.d(t,{Z:()=>o});var n=r(72320);function o(e,t,r){return(t=(0,n.Z)(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}},45675:(e,t,r)=>{"use strict";function n(){return n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},n.apply(this,arguments)}r.d(t,{Z:()=>n})},67666:(e,t,r)=>{"use strict";r.d(t,{Z:()=>i});var n=r(41470);function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?o(Object(r),!0).forEach((function(t){(0,n.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}},72320:(e,t,r)=>{"use strict";r.d(t,{Z:()=>o});var n=r(24622);function o(e){var t=function(e,t){if("object"!==(0,n.Z)(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var o=r.call(e,t||"default");if("object"!==(0,n.Z)(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===(0,n.Z)(t)?t:String(t)}},24622:(e,t,r)=>{"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}r.d(t,{Z:()=>n})},36365:(e,t,r)=>{"use strict";r.d(t,{T:()=>o});const n=document.createElement("i");function o(e){const t="&"+e+";";n.innerHTML=t;const r=n.textContent;return(59!==r.charCodeAt(r.length-1)||"semi"===e)&&(r!==t&&r)}},56065:(e,t,r)=>{"use strict";function n(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];throw Error("[Immer] minified error nr: "+e+(r.length?" "+r.map((function(e){return"'"+e+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function o(e){return!!e&&!!e[V]}function i(e){var t;return!!e&&(function(e){if(!e||"object"!=typeof e)return!1;var t=Object.getPrototypeOf(e);if(null===t)return!0;var r=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return r===Object||"function"==typeof r&&Function.toString.call(r)===G}(e)||Array.isArray(e)||!!e[q]||!!(null===(t=e.constructor)||void 0===t?void 0:t[q])||h(e)||p(e))}function a(e,t,r){void 0===r&&(r=!1),0===s(e)?(r?Object.keys:W)(e).forEach((function(n){r&&"symbol"==typeof n||t(n,e[n],e)})):e.forEach((function(r,n){return t(n,r,e)}))}function s(e){var t=e[V];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:h(e)?2:p(e)?3:0}function u(e,t){return 2===s(e)?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function c(e,t){return 2===s(e)?e.get(t):e[t]}function l(e,t,r){var n=s(e);2===n?e.set(t,r):3===n?e.add(r):e[t]=r}function f(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function h(e){return $&&e instanceof Map}function p(e){return U&&e instanceof Set}function d(e){return e.o||e.t}function m(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=Q(e);delete t[V];for(var r=W(t),n=0;n<r.length;n++){var o=r[n],i=t[o];!1===i.writable&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(t[o]={configurable:!0,writable:!0,enumerable:i.enumerable,value:e[o]})}return Object.create(Object.getPrototypeOf(e),t)}function g(e,t){return void 0===t&&(t=!1),v(e)||o(e)||!i(e)||(s(e)>1&&(e.set=e.add=e.clear=e.delete=y),Object.freeze(e),t&&a(e,(function(e,t){return g(t,!0)}),!0)),e}function y(){n(2)}function v(e){return null==e||"object"!=typeof e||Object.isFrozen(e)}function b(e){var t=K[e];return t||n(18,e),t}function E(){return M}function D(e,t){t&&(b("Patches"),e.u=[],e.s=[],e.v=t)}function w(e){x(e),e.p.forEach(S),e.p=null}function x(e){e===M&&(M=e.l)}function F(e){return M={p:[],l:M,h:e,m:!0,_:0}}function S(e){var t=e[V];0===t.i||1===t.i?t.j():t.O=!0}function A(e,t){t._=t.p.length;var r=t.p[0],o=void 0!==e&&e!==r;return t.h.g||b("ES5").S(t,e,o),o?(r[V].P&&(w(t),n(4)),i(e)&&(e=k(t,e),t.l||P(t,e)),t.u&&b("Patches").M(r[V].t,e,t.u,t.s)):e=k(t,r,[]),w(t),t.u&&t.v(t.u,t.s),e!==H?e:void 0}function k(e,t,r){if(v(t))return t;var n=t[V];if(!n)return a(t,(function(o,i){return C(e,n,t,o,i,r)}),!0),t;if(n.A!==e)return t;if(!n.P)return P(e,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var o=4===n.i||5===n.i?n.o=m(n.k):n.o,i=o,s=!1;3===n.i&&(i=new Set(o),o.clear(),s=!0),a(i,(function(t,i){return C(e,n,o,t,i,r,s)})),P(e,o,!1),r&&e.u&&b("Patches").N(n,r,e.u,e.s)}return n.o}function C(e,t,r,n,a,s,c){if(o(a)){var f=k(e,a,s&&t&&3!==t.i&&!u(t.R,n)?s.concat(n):void 0);if(l(r,n,f),!o(f))return;e.m=!1}else c&&r.add(a);if(i(a)&&!v(a)){if(!e.h.D&&e._<1)return;k(e,a),t&&t.A.l||P(e,a)}}function P(e,t,r){void 0===r&&(r=!1),!e.l&&e.h.D&&e.m&&g(t,r)}function O(e,t){var r=e[V];return(r?d(r):e)[t]}function j(e,t){if(t in e)for(var r=Object.getPrototypeOf(e);r;){var n=Object.getOwnPropertyDescriptor(r,t);if(n)return n;r=Object.getPrototypeOf(r)}}function T(e){e.P||(e.P=!0,e.l&&T(e.l))}function _(e){e.o||(e.o=m(e.t))}function B(e,t,r){var n=h(t)?b("MapSet").F(t,r):p(t)?b("MapSet").T(t,r):e.g?function(e,t){var r=Array.isArray(e),n={i:r?1:0,A:t?t.A:E(),P:!1,I:!1,R:{},l:t,t:e,k:null,o:null,j:null,C:!1},o=n,i=Y;r&&(o=[n],i=Z);var a=Proxy.revocable(o,i),s=a.revoke,u=a.proxy;return n.k=u,n.j=s,u}(t,r):b("ES5").J(t,r);return(r?r.A:E()).p.push(n),n}function R(e){return o(e)||n(22,e),function e(t){if(!i(t))return t;var r,n=t[V],o=s(t);if(n){if(!n.P&&(n.i<4||!b("ES5").K(n)))return n.t;n.I=!0,r=I(t,o),n.I=!1}else r=I(t,o);return a(r,(function(t,o){n&&c(n.t,t)===o||l(r,t,e(o))})),3===o?new Set(r):r}(e)}function I(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return m(e)}r.d(t,{Fl:()=>te,Uy:()=>ee,sc:()=>q});var L,M,N="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),$="undefined"!=typeof Map,U="undefined"!=typeof Set,z="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,H=N?Symbol.for("immer-nothing"):((L={})["immer-nothing"]=!0,L),q=N?Symbol.for("immer-draftable"):"__$immer_draftable",V=N?Symbol.for("immer-state"):"__$immer_state",G=("undefined"!=typeof Symbol&&Symbol.iterator,""+Object.prototype.constructor),W="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,Q=Object.getOwnPropertyDescriptors||function(e){var t={};return W(e).forEach((function(r){t[r]=Object.getOwnPropertyDescriptor(e,r)})),t},K={},Y={get:function(e,t){if(t===V)return e;var r=d(e);if(!u(r,t))return function(e,t,r){var n,o=j(t,r);return o?"value"in o?o.value:null===(n=o.get)||void 0===n?void 0:n.call(e.k):void 0}(e,r,t);var n=r[t];return e.I||!i(n)?n:n===O(e.t,t)?(_(e),e.o[t]=B(e.A.h,n,e)):n},has:function(e,t){return t in d(e)},ownKeys:function(e){return Reflect.ownKeys(d(e))},set:function(e,t,r){var n=j(d(e),t);if(null==n?void 0:n.set)return n.set.call(e.k,r),!0;if(!e.P){var o=O(d(e),t),i=null==o?void 0:o[V];if(i&&i.t===r)return e.o[t]=r,e.R[t]=!1,!0;if(f(r,o)&&(void 0!==r||u(e.t,t)))return!0;_(e),T(e)}return e.o[t]===r&&(void 0!==r||t in e.o)||Number.isNaN(r)&&Number.isNaN(e.o[t])||(e.o[t]=r,e.R[t]=!0),!0},deleteProperty:function(e,t){return void 0!==O(e.t,t)||t in e.t?(e.R[t]=!1,_(e),T(e)):delete e.R[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var r=d(e),n=Reflect.getOwnPropertyDescriptor(r,t);return n?{writable:!0,configurable:1!==e.i||"length"!==t,enumerable:n.enumerable,value:r[t]}:n},defineProperty:function(){n(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){n(12)}},Z={};a(Y,(function(e,t){Z[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}})),Z.deleteProperty=function(e,t){return Z.set.call(this,e,t,void 0)},Z.set=function(e,t,r){return Y.set.call(this,e[0],t,r,e[0])};var J=function(){function e(e){var t=this;this.g=z,this.D=!0,this.produce=function(e,r,o){if("function"==typeof e&&"function"!=typeof r){var a=r;r=e;var s=t;return function(e){var t=this;void 0===e&&(e=a);for(var n=arguments.length,o=Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];return s.produce(e,(function(e){var n;return(n=r).call.apply(n,[t,e].concat(o))}))}}var u;if("function"!=typeof r&&n(6),void 0!==o&&"function"!=typeof o&&n(7),i(e)){var c=F(t),l=B(t,e,void 0),f=!0;try{u=r(l),f=!1}finally{f?w(c):x(c)}return"undefined"!=typeof Promise&&u instanceof Promise?u.then((function(e){return D(c,o),A(e,c)}),(function(e){throw w(c),e})):(D(c,o),A(u,c))}if(!e||"object"!=typeof e){if(void 0===(u=r(e))&&(u=e),u===H&&(u=void 0),t.D&&g(u,!0),o){var h=[],p=[];b("Patches").M(e,u,h,p),o(h,p)}return u}n(21,e)},this.produceWithPatches=function(e,r){if("function"==typeof e)return function(r){for(var n=arguments.length,o=Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];return t.produceWithPatches(r,(function(t){return e.apply(void 0,[t].concat(o))}))};var n,o,i=t.produce(e,r,(function(e,t){n=e,o=t}));return"undefined"!=typeof Promise&&i instanceof Promise?i.then((function(e){return[e,n,o]})):[i,n,o]},"boolean"==typeof(null==e?void 0:e.useProxies)&&this.setUseProxies(e.useProxies),"boolean"==typeof(null==e?void 0:e.autoFreeze)&&this.setAutoFreeze(e.autoFreeze)}var t=e.prototype;return t.createDraft=function(e){i(e)||n(8),o(e)&&(e=R(e));var t=F(this),r=B(this,e,void 0);return r[V].C=!0,x(t),r},t.finishDraft=function(e,t){var r=(e&&e[V]).A;return D(r,t),A(void 0,r)},t.setAutoFreeze=function(e){this.D=e},t.setUseProxies=function(e){e&&!z&&n(20),this.g=e},t.applyPatches=function(e,t){var r;for(r=t.length-1;r>=0;r--){var n=t[r];if(0===n.path.length&&"replace"===n.op){e=n.value;break}}r>-1&&(t=t.slice(r+1));var i=b("Patches").$;return o(e)?i(e,t):this.produce(e,(function(e){return i(e,t)}))},e}(),X=new J,ee=X.produce,te=(X.produceWithPatches.bind(X),X.setAutoFreeze.bind(X));X.setUseProxies.bind(X),X.applyPatches.bind(X),X.createDraft.bind(X),X.finishDraft.bind(X)},79243:(e,t,r)=>{"use strict";function n(e,t,r,n){const i=r.enter("blockquote"),a=r.createTracker(n);a.move("> "),a.shift(2);const s=r.indentLines(r.containerFlow(e,a.current()),o);return i(),s}function o(e,t,r){return">"+(r?"":" ")+e}r.r(t),r.d(t,{blockquote:()=>n})},81100:(e,t,r)=>{"use strict";r.r(t),r.d(t,{heading:()=>a});var n=r(53827),o=r(50819),i=r(28989);function a(e,t,r,a){const s=Math.max(Math.min(6,e.depth||1),1),u=r.createTracker(a);if(function(e,t){let r=!1;return(0,n.Vn)(e,(e=>{if("value"in e&&/\r?\n|\r/.test(e.value)||"break"===e.type)return r=!0,o.BK})),Boolean((!e.depth||e.depth<3)&&(0,i.B)(e)&&(t.options.setext||r))}(e,r)){const t=r.enter("headingSetext"),n=r.enter("phrasing"),o=r.containerPhrasing(e,{...u.current(),before:"\n",after:"\n"});return n(),t(),o+"\n"+(1===s?"=":"-").repeat(o.length-(Math.max(o.lastIndexOf("\r"),o.lastIndexOf("\n"))+1))}const c="#".repeat(s),l=r.enter("headingAtx"),f=r.enter("phrasing");u.move(c+" ");let h=r.containerPhrasing(e,{before:"# ",after:"\n",...u.current()});return/^[\t ]/.test(h)&&(h="&#x"+h.charCodeAt(0).toString(16).toUpperCase()+";"+h.slice(1)),h=h?c+" "+h:c,r.options.closeAtx&&(h+=" "+c),f(),l(),h}},44478:(e,t,r)=>{"use strict";r.r(t),r.d(t,{image:()=>o});var n=r(99656);function o(e,t,r,o){const i=(0,n.l)(r),a='"'===i?"Quote":"Apostrophe",s=r.enter("image");let u=r.enter("label");const c=r.createTracker(o);let l=c.move("![");return l+=c.move(r.safe(e.alt,{before:l,after:"]",...c.current()})),l+=c.move("]("),u(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(u=r.enter("destinationLiteral"),l+=c.move("<"),l+=c.move(r.safe(e.url,{before:l,after:">",...c.current()})),l+=c.move(">")):(u=r.enter("destinationRaw"),l+=c.move(r.safe(e.url,{before:l,after:e.title?" ":")",...c.current()}))),u(),e.title&&(u=r.enter(`title${a}`),l+=c.move(" "+i),l+=c.move(r.safe(e.title,{before:l,after:i,...c.current()})),l+=c.move(i),u()),l+=c.move(")"),s(),l}o.peek=function(){return"!"}},48486:(e,t,r)=>{"use strict";function n(e,t,r,n){const o=r.enter("paragraph"),i=r.enter("phrasing"),a=r.containerPhrasing(e,n);return i(),o(),a}r.r(t),r.d(t,{paragraph:()=>n})},99656:(e,t,r)=>{"use strict";function n(e){const t=e.options.quote||'"';if('"'!==t&&"'"!==t)throw new Error("Cannot serialize title with `"+t+"` for `options.quote`, expected `\"`, or `'`");return t}r.d(t,{l:()=>n})},85771:(e,t,r)=>{"use strict";function n(e,t,r){const n=t.indexStack,i=e.children||[],a=t.createTracker(r),s=[];let u=-1;for(n.push(-1);++u<i.length;){const r=i[u];n[n.length-1]=u,s.push(a.move(t.handle(r,e,t,{before:"\n",after:"\n",...a.current()}))),"list"!==r.type&&(t.bulletLastUsed=void 0),u<i.length-1&&s.push(a.move(o(r,i[u+1],e,t)))}return n.pop(),s.join("")}function o(e,t,r,n){let o=n.join.length;for(;o--;){const i=n.join[o](e,t,r,n);if(!0===i||1===i)break;if("number"==typeof i)return"\n".repeat(1+i);if(!1===i)return"\n\n\x3c!----\x3e\n\n"}return"\n\n"}r.d(t,{K:()=>n})},48736:(e,t,r)=>{"use strict";function n(e,t,r){const n=t.indexStack,o=e.children||[],i=[];let a=-1,s=r.before;n.push(-1);let u=t.createTracker(r);for(;++a<o.length;){const c=o[a];let l;if(n[n.length-1]=a,a+1<o.length){let r=t.handle.handlers[o[a+1].type];r&&r.peek&&(r=r.peek),l=r?r(o[a+1],e,t,{before:"",after:"",...u.current()}).charAt(0):""}else l=r.after;i.length>0&&("\r"===s||"\n"===s)&&"html"===c.type&&(i[i.length-1]=i[i.length-1].replace(/(\r?\n|\r)$/," "),s=" ",u=t.createTracker(r),u.move(i.join(""))),i.push(u.move(t.handle(c,e,t,{...u.current(),before:s,after:l}))),s=i[i.length-1].slice(-1)}return n.pop(),i.join("")}r.d(t,{p:()=>n})},87717:(e,t,r)=>{"use strict";function n(e){const t=e||{},r=t.now||{};let n=t.lineShift||0,o=r.line||1,i=r.column||1;return{move:function(e){const t=e||"",r=t.split(/\r?\n|\r/g),a=r[r.length-1];return o+=r.length-1,i=1===r.length?i+a.length:1+a.length+n,t},current:function(){return{now:{line:o,column:i},lineShift:n}},shift:function(e){n+=e}}}r.d(t,{j:()=>n})},28989:(e,t,r)=>{"use strict";function n(e,t){const r=(t||{}).includeImageAlt;return o(e,"boolean"!=typeof r||r)}function o(e,t){return function(e){return Boolean(e&&"object"==typeof e)}(e)&&("value"in e&&e.value||t&&"alt"in e&&e.alt||"children"in e&&i(e.children,t))||Array.isArray(e)&&i(e,t)||""}function i(e,t){const r=[];let n=-1;for(;++n<e.length;)r[n]=o(e[n],t);return r.join("")}r.d(t,{B:()=>n})},3962:(e,t,r)=>{"use strict";r.r(t),r.d(t,{attention:()=>n.v,autolink:()=>o.j,blankLine:()=>i.w,blockQuote:()=>a.m,characterEscape:()=>s.L,characterReference:()=>u.u,codeFenced:()=>c._,codeIndented:()=>l.S,codeText:()=>f.h,content:()=>h.k,definition:()=>p.D,hardBreakEscape:()=>d.R,headingAtx:()=>m.Z,htmlFlow:()=>g.P,htmlText:()=>y.L,labelEnd:()=>v.Z,labelStartImage:()=>b.C,labelStartLink:()=>E.F,lineEnding:()=>D.g,list:()=>w.p,setextUnderline:()=>x.C,thematicBreak:()=>F.C});var n=r(39362),o=r(40366),i=r(58775),a=r(79230),s=r(30670),u=r(73608),c=r(60214),l=r(44322),f=r(83126),h=r(52240),p=r(22774),d=r(2669),m=r(86053),g=r(26890),y=r(9373),v=r(3369),b=r(82287),E=r(83555),D=r(47071),w=r(44084),x=r(38029),F=r(19281)},39362:(e,t,r)=>{"use strict";r.d(t,{v:()=>a});var n=r(11707),o=r(85618),i=r(79142);const a={name:"attention",tokenize:function(e,t){const r=this.parser.constructs.attentionMarkers.null,n=this.previous,i=(0,o.r)(n);let a;return function(t){return e.enter("attentionSequence"),a=t,s(t)};function s(u){if(u===a)return e.consume(u),s;const c=e.exit("attentionSequence"),l=(0,o.r)(u),f=!l||2===l&&i||r.includes(u),h=!i||2===i&&l||r.includes(n);return c._open=Boolean(42===a?f:f&&(i||!h)),c._close=Boolean(42===a?h:h&&(l||!f)),t(u)}},resolveAll:function(e,t){let r,o,a,u,c,l,f,h,p=-1;for(;++p<e.length;)if("enter"===e[p][0]&&"attentionSequence"===e[p][1].type&&e[p][1]._close)for(r=p;r--;)if("exit"===e[r][0]&&"attentionSequence"===e[r][1].type&&e[r][1]._open&&t.sliceSerialize(e[r][1]).charCodeAt(0)===t.sliceSerialize(e[p][1]).charCodeAt(0)){if((e[r][1]._close||e[p][1]._open)&&(e[p][1].end.offset-e[p][1].start.offset)%3&&!((e[r][1].end.offset-e[r][1].start.offset+e[p][1].end.offset-e[p][1].start.offset)%3))continue;l=e[r][1].end.offset-e[r][1].start.offset>1&&e[p][1].end.offset-e[p][1].start.offset>1?2:1;const d=Object.assign({},e[r][1].end),m=Object.assign({},e[p][1].start);s(d,-l),s(m,l),u={type:l>1?"strongSequence":"emphasisSequence",start:d,end:Object.assign({},e[r][1].end)},c={type:l>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[p][1].start),end:m},a={type:l>1?"strongText":"emphasisText",start:Object.assign({},e[r][1].end),end:Object.assign({},e[p][1].start)},o={type:l>1?"strong":"emphasis",start:Object.assign({},u.start),end:Object.assign({},c.end)},e[r][1].end=Object.assign({},u.start),e[p][1].start=Object.assign({},c.end),f=[],e[r][1].end.offset-e[r][1].start.offset&&(f=(0,n.V)(f,[["enter",e[r][1],t],["exit",e[r][1],t]])),f=(0,n.V)(f,[["enter",o,t],["enter",u,t],["exit",u,t],["enter",a,t]]),f=(0,n.V)(f,(0,i.C)(t.parser.constructs.insideSpan.null,e.slice(r+1,p),t)),f=(0,n.V)(f,[["exit",a,t],["enter",c,t],["exit",c,t],["exit",o,t]]),e[p][1].end.offset-e[p][1].start.offset?(h=2,f=(0,n.V)(f,[["enter",e[p][1],t],["exit",e[p][1],t]])):h=0,(0,n.d)(e,r-1,p-r+3,f),p=r+f.length-h-2;break}p=-1;for(;++p<e.length;)"attentionSequence"===e[p][1].type&&(e[p][1].type="data");return e}};function s(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}},40366:(e,t,r)=>{"use strict";r.d(t,{j:()=>o});var n=r(19967);const o={name:"autolink",tokenize:function(e,t,r){let o=1;return function(t){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(t),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),i};function i(t){return(0,n.asciiAlpha)(t)?(e.consume(t),a):(0,n.asciiAtext)(t)?c(t):r(t)}function a(e){return 43===e||45===e||46===e||(0,n.asciiAlphanumeric)(e)?s(e):c(e)}function s(t){return 58===t?(e.consume(t),u):(43===t||45===t||46===t||(0,n.asciiAlphanumeric)(t))&&o++<32?(e.consume(t),s):c(t)}function u(t){return 62===t?(e.exit("autolinkProtocol"),p(t)):null===t||32===t||60===t||(0,n.asciiControl)(t)?r(t):(e.consume(t),u)}function c(t){return 64===t?(e.consume(t),o=0,l):(0,n.asciiAtext)(t)?(e.consume(t),c):r(t)}function l(e){return(0,n.asciiAlphanumeric)(e)?f(e):r(e)}function f(t){return 46===t?(e.consume(t),o=0,l):62===t?(e.exit("autolinkProtocol").type="autolinkEmail",p(t)):h(t)}function h(t){return(45===t||(0,n.asciiAlphanumeric)(t))&&o++<63?(e.consume(t),45===t?h:f):r(t)}function p(r){return e.enter("autolinkMarker"),e.consume(r),e.exit("autolinkMarker"),e.exit("autolink"),t}}}},58775:(e,t,r)=>{"use strict";r.d(t,{w:()=>i});var n=r(46050),o=r(19967);const i={tokenize:function(e,t,r){return(0,n.factorySpace)(e,(function(e){return null===e||(0,o.markdownLineEnding)(e)?t(e):r(e)}),"linePrefix")},partial:!0}},79230:(e,t,r)=>{"use strict";r.d(t,{m:()=>i});var n=r(46050),o=r(19967);const i={name:"blockQuote",tokenize:function(e,t,r){const n=this;return function(t){if(62===t){const r=n.containerState;return r.open||(e.enter("blockQuote",{_container:!0}),r.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(t),e.exit("blockQuoteMarker"),i}return r(t)};function i(r){return(0,o.markdownSpace)(r)?(e.enter("blockQuotePrefixWhitespace"),e.consume(r),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(r))}},continuation:{tokenize:function(e,t,r){return(0,n.factorySpace)(e,e.attempt(i,t,r),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}},exit:function(e){e.exit("blockQuote")}}},30670:(e,t,r)=>{"use strict";r.d(t,{L:()=>o});var n=r(19967);const o={name:"characterEscape",tokenize:function(e,t,r){return function(t){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(t),e.exit("escapeMarker"),o};function o(o){return(0,n.asciiPunctuation)(o)?(e.enter("characterEscapeValue"),e.consume(o),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):r(o)}}}},73608:(e,t,r)=>{"use strict";r.d(t,{u:()=>i});var n=r(36365),o=r(19967);const i={name:"characterReference",tokenize:function(e,t,r){const i=this;let a,s,u=0;return function(t){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(t),e.exit("characterReferenceMarker"),c};function c(t){return 35===t?(e.enter("characterReferenceMarkerNumeric"),e.consume(t),e.exit("characterReferenceMarkerNumeric"),l):(e.enter("characterReferenceValue"),a=31,s=o.asciiAlphanumeric,f(t))}function l(t){return 88===t||120===t?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(t),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),a=6,s=o.asciiHexDigit,f):(e.enter("characterReferenceValue"),a=7,s=o.asciiDigit,f(t))}function f(c){let l;return 59===c&&u?(l=e.exit("characterReferenceValue"),s!==o.asciiAlphanumeric||(0,n.T)(i.sliceSerialize(l))?(e.enter("characterReferenceMarker"),e.consume(c),e.exit("characterReferenceMarker"),e.exit("characterReference"),t):r(c)):s(c)&&u++<a?(e.consume(c),f):r(c)}}}},60214:(e,t,r)=>{"use strict";r.d(t,{_:()=>i});var n=r(46050),o=r(19967);const i={name:"codeFenced",tokenize:function(e,t,r){const i=this,a={tokenize:function(e,t,r){let i=0;return(0,n.factorySpace)(e,a,"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function a(t){return e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),s(t)}function s(t){return t===l?(e.consume(t),i++,s):i<f?r(t):(e.exit("codeFencedFenceSequence"),(0,n.factorySpace)(e,u,"whitespace")(t))}function u(n){return null===n||(0,o.markdownLineEnding)(n)?(e.exit("codeFencedFence"),t(n)):r(n)}},partial:!0},s={tokenize:function(e,t,r){const n=this;return o;function o(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i}function i(e){return n.parser.lazy[n.now().line]?r(e):t(e)}},partial:!0},u=this.events[this.events.length-1],c=u&&"linePrefix"===u[1].type?u[2].sliceSerialize(u[1],!0).length:0;let l,f=0;return function(t){return e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),l=t,h(t)};function h(t){return t===l?(e.consume(t),f++,h):(e.exit("codeFencedFenceSequence"),f<3?r(t):(0,n.factorySpace)(e,p,"whitespace")(t))}function p(t){return null===t||(0,o.markdownLineEnding)(t)?y(t):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),d(t))}function d(t){return null===t||(0,o.markdownLineEndingOrSpace)(t)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),(0,n.factorySpace)(e,m,"whitespace")(t)):96===t&&t===l?r(t):(e.consume(t),d)}function m(t){return null===t||(0,o.markdownLineEnding)(t)?y(t):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),g(t))}function g(t){return null===t||(0,o.markdownLineEnding)(t)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),y(t)):96===t&&t===l?r(t):(e.consume(t),g)}function y(r){return e.exit("codeFencedFence"),i.interrupt?t(r):v(r)}function v(t){return null===t?E(t):(0,o.markdownLineEnding)(t)?e.attempt(s,e.attempt(a,E,c?(0,n.factorySpace)(e,v,"linePrefix",c+1):v),E)(t):(e.enter("codeFlowValue"),b(t))}function b(t){return null===t||(0,o.markdownLineEnding)(t)?(e.exit("codeFlowValue"),v(t)):(e.consume(t),b)}function E(r){return e.exit("codeFenced"),t(r)}},concrete:!0}},44322:(e,t,r)=>{"use strict";r.d(t,{S:()=>i});var n=r(46050),o=r(19967);const i={name:"codeIndented",tokenize:function(e,t,r){const i=this;return function(t){return e.enter("codeIndented"),(0,n.factorySpace)(e,s,"linePrefix",5)(t)};function s(e){const t=i.events[i.events.length-1];return t&&"linePrefix"===t[1].type&&t[2].sliceSerialize(t[1],!0).length>=4?u(e):r(e)}function u(t){return null===t?l(t):(0,o.markdownLineEnding)(t)?e.attempt(a,u,l)(t):(e.enter("codeFlowValue"),c(t))}function c(t){return null===t||(0,o.markdownLineEnding)(t)?(e.exit("codeFlowValue"),u(t)):(e.consume(t),c)}function l(r){return e.exit("codeIndented"),t(r)}}},a={tokenize:function(e,t,r){const i=this;return a;function a(t){return i.parser.lazy[i.now().line]?r(t):(0,o.markdownLineEnding)(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),a):(0,n.factorySpace)(e,s,"linePrefix",5)(t)}function s(e){const n=i.events[i.events.length-1];return n&&"linePrefix"===n[1].type&&n[2].sliceSerialize(n[1],!0).length>=4?t(e):(0,o.markdownLineEnding)(e)?a(e):r(e)}},partial:!0}},83126:(e,t,r)=>{"use strict";r.d(t,{h:()=>o});var n=r(19967);const o={name:"codeText",tokenize:function(e,t,r){let o,i,a=0;return function(t){return e.enter("codeText"),e.enter("codeTextSequence"),s(t)};function s(t){return 96===t?(e.consume(t),a++,s):(e.exit("codeTextSequence"),u(t))}function u(t){return null===t?r(t):96===t?(i=e.enter("codeTextSequence"),o=0,l(t)):32===t?(e.enter("space"),e.consume(t),e.exit("space"),u):(0,n.markdownLineEnding)(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),u):(e.enter("codeTextData"),c(t))}function c(t){return null===t||32===t||96===t||(0,n.markdownLineEnding)(t)?(e.exit("codeTextData"),u(t)):(e.consume(t),c)}function l(r){return 96===r?(e.consume(r),o++,l):o===a?(e.exit("codeTextSequence"),e.exit("codeText"),t(r)):(i.type="codeTextData",c(r))}},resolve:function(e){let t,r,n=e.length-4,o=3;if(!("lineEnding"!==e[o][1].type&&"space"!==e[o][1].type||"lineEnding"!==e[n][1].type&&"space"!==e[n][1].type))for(t=o;++t<n;)if("codeTextData"===e[t][1].type){e[o][1].type="codeTextPadding",e[n][1].type="codeTextPadding",o+=2,n-=2;break}t=o-1,n++;for(;++t<=n;)void 0===r?t!==n&&"lineEnding"!==e[t][1].type&&(r=t):t!==n&&"lineEnding"!==e[t][1].type||(e[r][1].type="codeTextData",t!==r+2&&(e[r][1].end=e[t-1][1].end,e.splice(r+2,t-r-2),n-=t-r-2,t=r+2),r=void 0);return e},previous:function(e){return 96!==e||"characterEscape"===this.events[this.events.length-1][1].type}}},52240:(e,t,r)=>{"use strict";r.d(t,{k:()=>a});var n=r(46050),o=r(19967),i=r(35197);const a={tokenize:function(e,t){let r;return function(t){return e.enter("content"),r=e.enter("chunkContent",{contentType:"content"}),n(t)};function n(t){return null===t?i(t):(0,o.markdownLineEnding)(t)?e.check(s,a,i)(t):(e.consume(t),n)}function i(r){return e.exit("chunkContent"),e.exit("content"),t(r)}function a(t){return e.consume(t),e.exit("chunkContent"),r.next=e.enter("chunkContent",{contentType:"content",previous:r}),r=r.next,n}},resolve:function(e){return(0,i._)(e),e}},s={tokenize:function(e,t,r){const i=this;return function(t){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),(0,n.factorySpace)(e,a,"linePrefix")};function a(n){if(null===n||(0,o.markdownLineEnding)(n))return r(n);const a=i.events[i.events.length-1];return!i.parser.constructs.disable.null.includes("codeIndented")&&a&&"linePrefix"===a[1].type&&a[2].sliceSerialize(a[1],!0).length>=4?t(n):e.interrupt(i.parser.constructs.flow,r,t)(n)}},partial:!0}},22774:(e,t,r)=>{"use strict";r.d(t,{D:()=>l});var n=r(20447),o=r(42874),i=r(46050),a=r(67784),s=r(48948),u=r(37618),c=r(19967);const l={name:"definition",tokenize:function(e,t,r){const a=this;let l;return function(t){return e.enter("definition"),o.factoryLabel.call(a,e,h,r,"definitionLabel","definitionLabelMarker","definitionLabelString")(t)};function h(t){return l=(0,u.normalizeIdentifier)(a.sliceSerialize(a.events[a.events.length-1][1]).slice(1,-1)),58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),(0,s.factoryWhitespace)(e,(0,n.factoryDestination)(e,e.attempt(f,(0,i.factorySpace)(e,p,"whitespace"),(0,i.factorySpace)(e,p,"whitespace")),r,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString"))):r(t)}function p(n){return null===n||(0,c.markdownLineEnding)(n)?(e.exit("definition"),a.parser.defined.includes(l)||a.parser.defined.push(l),t(n)):r(n)}}},f={tokenize:function(e,t,r){return function(t){return(0,c.markdownLineEndingOrSpace)(t)?(0,s.factoryWhitespace)(e,n)(t):r(t)};function n(t){return 34===t||39===t||40===t?(0,a.factoryTitle)(e,(0,i.factorySpace)(e,o,"whitespace"),r,"definitionTitle","definitionTitleMarker","definitionTitleString")(t):r(t)}function o(e){return null===e||(0,c.markdownLineEnding)(e)?t(e):r(e)}},partial:!0}},2669:(e,t,r)=>{"use strict";r.d(t,{R:()=>o});var n=r(19967);const o={name:"hardBreakEscape",tokenize:function(e,t,r){return function(t){return e.enter("hardBreakEscape"),e.enter("escapeMarker"),e.consume(t),o};function o(o){return(0,n.markdownLineEnding)(o)?(e.exit("escapeMarker"),e.exit("hardBreakEscape"),t(o)):r(o)}}}},86053:(e,t,r)=>{"use strict";r.d(t,{Z:()=>a});var n=r(46050),o=r(19967),i=r(11707);const a={name:"headingAtx",tokenize:function(e,t,r){const i=this;let a=0;return function(t){return e.enter("atxHeading"),e.enter("atxHeadingSequence"),s(t)};function s(n){return 35===n&&a++<6?(e.consume(n),s):null===n||(0,o.markdownLineEndingOrSpace)(n)?(e.exit("atxHeadingSequence"),i.interrupt?t(n):u(n)):r(n)}function u(r){return 35===r?(e.enter("atxHeadingSequence"),c(r)):null===r||(0,o.markdownLineEnding)(r)?(e.exit("atxHeading"),t(r)):(0,o.markdownSpace)(r)?(0,n.factorySpace)(e,u,"whitespace")(r):(e.enter("atxHeadingText"),l(r))}function c(t){return 35===t?(e.consume(t),c):(e.exit("atxHeadingSequence"),u(t))}function l(t){return null===t||35===t||(0,o.markdownLineEndingOrSpace)(t)?(e.exit("atxHeadingText"),u(t)):(e.consume(t),l)}},resolve:function(e,t){let r,n,o=e.length-2,a=3;"whitespace"===e[a][1].type&&(a+=2);o-2>a&&"whitespace"===e[o][1].type&&(o-=2);"atxHeadingSequence"===e[o][1].type&&(a===o-1||o-4>a&&"whitespace"===e[o-2][1].type)&&(o-=a+1===o?2:4);o>a&&(r={type:"atxHeadingText",start:e[a][1].start,end:e[o][1].end},n={type:"chunkText",start:e[a][1].start,end:e[o][1].end,contentType:"text"},(0,i.d)(e,a,o-a+1,[["enter",r,t],["enter",n,t],["exit",n,t],["exit",r,t]]));return e}}},26890:(e,t,r)=>{"use strict";r.d(t,{P:()=>s});var n=r(19967);const o=["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","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],i=["pre","script","style","textarea"];var a=r(58775);const s={name:"htmlFlow",tokenize:function(e,t,r){const a=this;let s,c,l,f,h;return function(t){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(t),p};function p(o){return 33===o?(e.consume(o),d):47===o?(e.consume(o),y):63===o?(e.consume(o),s=3,a.interrupt?t:M):(0,n.asciiAlpha)(o)?(e.consume(o),l=String.fromCharCode(o),c=!0,v):r(o)}function d(o){return 45===o?(e.consume(o),s=2,m):91===o?(e.consume(o),s=5,l="CDATA[",f=0,g):(0,n.asciiAlpha)(o)?(e.consume(o),s=4,a.interrupt?t:M):r(o)}function m(n){return 45===n?(e.consume(n),a.interrupt?t:M):r(n)}function g(n){return n===l.charCodeAt(f++)?(e.consume(n),f===l.length?a.interrupt?t:O:g):r(n)}function y(t){return(0,n.asciiAlpha)(t)?(e.consume(t),l=String.fromCharCode(t),v):r(t)}function v(u){return null===u||47===u||62===u||(0,n.markdownLineEndingOrSpace)(u)?47!==u&&c&&i.includes(l.toLowerCase())?(s=1,a.interrupt?t(u):O(u)):o.includes(l.toLowerCase())?(s=6,47===u?(e.consume(u),b):a.interrupt?t(u):O(u)):(s=7,a.interrupt&&!a.parser.lazy[a.now().line]?r(u):c?D(u):E(u)):45===u||(0,n.asciiAlphanumeric)(u)?(e.consume(u),l+=String.fromCharCode(u),v):r(u)}function b(n){return 62===n?(e.consume(n),a.interrupt?t:O):r(n)}function E(t){return(0,n.markdownSpace)(t)?(e.consume(t),E):C(t)}function D(t){return 47===t?(e.consume(t),C):58===t||95===t||(0,n.asciiAlpha)(t)?(e.consume(t),w):(0,n.markdownSpace)(t)?(e.consume(t),D):C(t)}function w(t){return 45===t||46===t||58===t||95===t||(0,n.asciiAlphanumeric)(t)?(e.consume(t),w):x(t)}function x(t){return 61===t?(e.consume(t),F):(0,n.markdownSpace)(t)?(e.consume(t),x):D(t)}function F(t){return null===t||60===t||61===t||62===t||96===t?r(t):34===t||39===t?(e.consume(t),h=t,S):(0,n.markdownSpace)(t)?(e.consume(t),F):(h=null,A(t))}function S(t){return null===t||(0,n.markdownLineEnding)(t)?r(t):t===h?(e.consume(t),k):(e.consume(t),S)}function A(t){return null===t||34===t||39===t||60===t||61===t||62===t||96===t||(0,n.markdownLineEndingOrSpace)(t)?x(t):(e.consume(t),A)}function k(e){return 47===e||62===e||(0,n.markdownSpace)(e)?D(e):r(e)}function C(t){return 62===t?(e.consume(t),P):r(t)}function P(t){return(0,n.markdownSpace)(t)?(e.consume(t),P):null===t||(0,n.markdownLineEnding)(t)?O(t):r(t)}function O(t){return 45===t&&2===s?(e.consume(t),B):60===t&&1===s?(e.consume(t),R):62===t&&4===s?(e.consume(t),N):63===t&&3===s?(e.consume(t),M):93===t&&5===s?(e.consume(t),L):!(0,n.markdownLineEnding)(t)||6!==s&&7!==s?null===t||(0,n.markdownLineEnding)(t)?j(t):(e.consume(t),O):e.check(u,N,j)(t)}function j(t){return e.exit("htmlFlowData"),T(t)}function T(t){return null===t?$(t):(0,n.markdownLineEnding)(t)?e.attempt({tokenize:_,partial:!0},T,$)(t):(e.enter("htmlFlowData"),O(t))}function _(e,t,r){return function(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),n};function n(e){return a.parser.lazy[a.now().line]?r(e):t(e)}}function B(t){return 45===t?(e.consume(t),M):O(t)}function R(t){return 47===t?(e.consume(t),l="",I):O(t)}function I(t){return 62===t&&i.includes(l.toLowerCase())?(e.consume(t),N):(0,n.asciiAlpha)(t)&&l.length<8?(e.consume(t),l+=String.fromCharCode(t),I):O(t)}function L(t){return 93===t?(e.consume(t),M):O(t)}function M(t){return 62===t?(e.consume(t),N):45===t&&2===s?(e.consume(t),M):O(t)}function N(t){return null===t||(0,n.markdownLineEnding)(t)?(e.exit("htmlFlowData"),$(t)):(e.consume(t),N)}function $(r){return e.exit("htmlFlow"),t(r)}},resolveTo:function(e){let t=e.length;for(;t--&&("enter"!==e[t][0]||"htmlFlow"!==e[t][1].type););t>1&&"linePrefix"===e[t-2][1].type&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2));return e},concrete:!0},u={tokenize:function(e,t,r){return function(n){return e.exit("htmlFlowData"),e.enter("lineEndingBlank"),e.consume(n),e.exit("lineEndingBlank"),e.attempt(a.w,t,r)}},partial:!0}},9373:(e,t,r)=>{"use strict";r.d(t,{L:()=>i});var n=r(46050),o=r(19967);const i={name:"htmlText",tokenize:function(e,t,r){const i=this;let a,s,u,c;return function(t){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(t),l};function l(t){return 33===t?(e.consume(t),f):47===t?(e.consume(t),F):63===t?(e.consume(t),w):(0,o.asciiAlpha)(t)?(e.consume(t),k):r(t)}function f(t){return 45===t?(e.consume(t),h):91===t?(e.consume(t),s="CDATA[",u=0,y):(0,o.asciiAlpha)(t)?(e.consume(t),D):r(t)}function h(t){return 45===t?(e.consume(t),p):r(t)}function p(t){return null===t||62===t?r(t):45===t?(e.consume(t),d):m(t)}function d(e){return null===e||62===e?r(e):m(e)}function m(t){return null===t?r(t):45===t?(e.consume(t),g):(0,o.markdownLineEnding)(t)?(c=m,R(t)):(e.consume(t),m)}function g(t){return 45===t?(e.consume(t),L):m(t)}function y(t){return t===s.charCodeAt(u++)?(e.consume(t),u===s.length?v:y):r(t)}function v(t){return null===t?r(t):93===t?(e.consume(t),b):(0,o.markdownLineEnding)(t)?(c=v,R(t)):(e.consume(t),v)}function b(t){return 93===t?(e.consume(t),E):v(t)}function E(t){return 62===t?L(t):93===t?(e.consume(t),E):v(t)}function D(t){return null===t||62===t?L(t):(0,o.markdownLineEnding)(t)?(c=D,R(t)):(e.consume(t),D)}function w(t){return null===t?r(t):63===t?(e.consume(t),x):(0,o.markdownLineEnding)(t)?(c=w,R(t)):(e.consume(t),w)}function x(e){return 62===e?L(e):w(e)}function F(t){return(0,o.asciiAlpha)(t)?(e.consume(t),S):r(t)}function S(t){return 45===t||(0,o.asciiAlphanumeric)(t)?(e.consume(t),S):A(t)}function A(t){return(0,o.markdownLineEnding)(t)?(c=A,R(t)):(0,o.markdownSpace)(t)?(e.consume(t),A):L(t)}function k(t){return 45===t||(0,o.asciiAlphanumeric)(t)?(e.consume(t),k):47===t||62===t||(0,o.markdownLineEndingOrSpace)(t)?C(t):r(t)}function C(t){return 47===t?(e.consume(t),L):58===t||95===t||(0,o.asciiAlpha)(t)?(e.consume(t),P):(0,o.markdownLineEnding)(t)?(c=C,R(t)):(0,o.markdownSpace)(t)?(e.consume(t),C):L(t)}function P(t){return 45===t||46===t||58===t||95===t||(0,o.asciiAlphanumeric)(t)?(e.consume(t),P):O(t)}function O(t){return 61===t?(e.consume(t),j):(0,o.markdownLineEnding)(t)?(c=O,R(t)):(0,o.markdownSpace)(t)?(e.consume(t),O):C(t)}function j(t){return null===t||60===t||61===t||62===t||96===t?r(t):34===t||39===t?(e.consume(t),a=t,T):(0,o.markdownLineEnding)(t)?(c=j,R(t)):(0,o.markdownSpace)(t)?(e.consume(t),j):(e.consume(t),a=void 0,B)}function T(t){return t===a?(e.consume(t),_):null===t?r(t):(0,o.markdownLineEnding)(t)?(c=T,R(t)):(e.consume(t),T)}function _(e){return 62===e||47===e||(0,o.markdownLineEndingOrSpace)(e)?C(e):r(e)}function B(t){return null===t||34===t||39===t||60===t||61===t||96===t?r(t):62===t||(0,o.markdownLineEndingOrSpace)(t)?C(t):(e.consume(t),B)}function R(t){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),(0,n.factorySpace)(e,I,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function I(t){return e.enter("htmlTextData"),c(t)}function L(n){return 62===n?(e.consume(n),e.exit("htmlTextData"),e.exit("htmlText"),t):r(n)}}}},3369:(e,t,r)=>{"use strict";r.d(t,{Z:()=>f});var n=r(20447),o=r(42874),i=r(67784),a=r(48948),s=r(19967),u=r(11707),c=r(37618),l=r(79142);const f={name:"labelEnd",tokenize:function(e,t,r){const n=this;let o,i,a=n.events.length;for(;a--;)if(("labelImage"===n.events[a][1].type||"labelLink"===n.events[a][1].type)&&!n.events[a][1]._balanced){o=n.events[a][1];break}return function(t){if(!o)return r(t);return o._inactive?u(t):(i=n.parser.defined.includes((0,c.normalizeIdentifier)(n.sliceSerialize({start:o.end,end:n.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelEnd"),s)};function s(r){return 40===r?e.attempt(h,t,i?t:u)(r):91===r?e.attempt(p,t,i?e.attempt(d,t,u):u)(r):i?t(r):u(r)}function u(e){return o._balanced=!0,r(e)}},resolveTo:function(e,t){let r,n,o,i,a=e.length,s=0;for(;a--;)if(r=e[a][1],n){if("link"===r.type||"labelLink"===r.type&&r._inactive)break;"enter"===e[a][0]&&"labelLink"===r.type&&(r._inactive=!0)}else if(o){if("enter"===e[a][0]&&("labelImage"===r.type||"labelLink"===r.type)&&!r._balanced&&(n=a,"labelLink"!==r.type)){s=2;break}}else"labelEnd"===r.type&&(o=a);const c={type:"labelLink"===e[n][1].type?"link":"image",start:Object.assign({},e[n][1].start),end:Object.assign({},e[e.length-1][1].end)},f={type:"label",start:Object.assign({},e[n][1].start),end:Object.assign({},e[o][1].end)},h={type:"labelText",start:Object.assign({},e[n+s+2][1].end),end:Object.assign({},e[o-2][1].start)};return i=[["enter",c,t],["enter",f,t]],i=(0,u.V)(i,e.slice(n+1,n+s+3)),i=(0,u.V)(i,[["enter",h,t]]),i=(0,u.V)(i,(0,l.C)(t.parser.constructs.insideSpan.null,e.slice(n+s+4,o-3),t)),i=(0,u.V)(i,[["exit",h,t],e[o-2],e[o-1],["exit",f,t]]),i=(0,u.V)(i,e.slice(o+1)),i=(0,u.V)(i,[["exit",c,t]]),(0,u.d)(e,n,e.length,i),e},resolveAll:function(e){let t,r=-1;for(;++r<e.length;)t=e[r][1],"labelImage"!==t.type&&"labelLink"!==t.type&&"labelEnd"!==t.type||(e.splice(r+1,"labelImage"===t.type?4:2),t.type="data",r++);return e}},h={tokenize:function(e,t,r){return function(t){return e.enter("resource"),e.enter("resourceMarker"),e.consume(t),e.exit("resourceMarker"),(0,a.factoryWhitespace)(e,o)};function o(t){return 41===t?l(t):(0,n.factoryDestination)(e,u,r,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(t)}function u(t){return(0,s.markdownLineEndingOrSpace)(t)?(0,a.factoryWhitespace)(e,c)(t):l(t)}function c(t){return 34===t||39===t||40===t?(0,i.factoryTitle)(e,(0,a.factoryWhitespace)(e,l),r,"resourceTitle","resourceTitleMarker","resourceTitleString")(t):l(t)}function l(n){return 41===n?(e.enter("resourceMarker"),e.consume(n),e.exit("resourceMarker"),e.exit("resource"),t):r(n)}}},p={tokenize:function(e,t,r){const n=this;return function(t){return o.factoryLabel.call(n,e,i,r,"reference","referenceMarker","referenceString")(t)};function i(e){return n.parser.defined.includes((0,c.normalizeIdentifier)(n.sliceSerialize(n.events[n.events.length-1][1]).slice(1,-1)))?t(e):r(e)}}},d={tokenize:function(e,t,r){return function(t){return e.enter("reference"),e.enter("referenceMarker"),e.consume(t),e.exit("referenceMarker"),n};function n(n){return 93===n?(e.enter("referenceMarker"),e.consume(n),e.exit("referenceMarker"),e.exit("reference"),t):r(n)}}}},82287:(e,t,r)=>{"use strict";r.d(t,{C:()=>n});const n={name:"labelStartImage",tokenize:function(e,t,r){const n=this;return function(t){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(t),e.exit("labelImageMarker"),o};function o(t){return 91===t?(e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelImage"),i):r(t)}function i(e){return 94===e&&"_hiddenFootnoteSupport"in n.parser.constructs?r(e):t(e)}},resolveAll:r(3369).Z.resolveAll}},83555:(e,t,r)=>{"use strict";r.d(t,{F:()=>n});const n={name:"labelStartLink",tokenize:function(e,t,r){const n=this;return function(t){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelLink"),o};function o(e){return 94===e&&"_hiddenFootnoteSupport"in n.parser.constructs?r(e):t(e)}},resolveAll:r(3369).Z.resolveAll}},47071:(e,t,r)=>{"use strict";r.d(t,{g:()=>o});var n=r(46050);const o={name:"lineEnding",tokenize:function(e,t){return function(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),(0,n.factorySpace)(e,t,"linePrefix")}}}},44084:(e,t,r)=>{"use strict";r.d(t,{p:()=>s});var n=r(46050),o=r(19967),i=r(58775),a=r(19281);const s={name:"list",tokenize:function(e,t,r){const n=this,s=n.events[n.events.length-1];let c=s&&"linePrefix"===s[1].type?s[2].sliceSerialize(s[1],!0).length:0,l=0;return function(t){const i=n.containerState.type||(42===t||43===t||45===t?"listUnordered":"listOrdered");if("listUnordered"===i?!n.containerState.marker||t===n.containerState.marker:(0,o.asciiDigit)(t)){if(n.containerState.type||(n.containerState.type=i,e.enter(i,{_container:!0})),"listUnordered"===i)return e.enter("listItemPrefix"),42===t||45===t?e.check(a.C,r,h)(t):h(t);if(!n.interrupt||49===t)return e.enter("listItemPrefix"),e.enter("listItemValue"),f(t)}return r(t)};function f(t){return(0,o.asciiDigit)(t)&&++l<10?(e.consume(t),f):(!n.interrupt||l<2)&&(n.containerState.marker?t===n.containerState.marker:41===t||46===t)?(e.exit("listItemValue"),h(t)):r(t)}function h(t){return e.enter("listItemMarker"),e.consume(t),e.exit("listItemMarker"),n.containerState.marker=n.containerState.marker||t,e.check(i.w,n.interrupt?r:p,e.attempt(u,m,d))}function p(e){return n.containerState.initialBlankLine=!0,c++,m(e)}function d(t){return(0,o.markdownSpace)(t)?(e.enter("listItemPrefixWhitespace"),e.consume(t),e.exit("listItemPrefixWhitespace"),m):r(t)}function m(r){return n.containerState.size=c+n.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(r)}},continuation:{tokenize:function(e,t,r){const a=this;return a.containerState._closeFlow=void 0,e.check(i.w,(function(r){return a.containerState.furtherBlankLines=a.containerState.furtherBlankLines||a.containerState.initialBlankLine,(0,n.factorySpace)(e,t,"listItemIndent",a.containerState.size+1)(r)}),(function(r){if(a.containerState.furtherBlankLines||!(0,o.markdownSpace)(r))return a.containerState.furtherBlankLines=void 0,a.containerState.initialBlankLine=void 0,u(r);return a.containerState.furtherBlankLines=void 0,a.containerState.initialBlankLine=void 0,e.attempt(c,t,u)(r)}));function u(o){return a.containerState._closeFlow=!0,a.interrupt=void 0,(0,n.factorySpace)(e,e.attempt(s,t,r),"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o)}}},exit:function(e){e.exit(this.containerState.type)}},u={tokenize:function(e,t,r){const i=this;return(0,n.factorySpace)(e,(function(e){const n=i.events[i.events.length-1];return!(0,o.markdownSpace)(e)&&n&&"listItemPrefixWhitespace"===n[1].type?t(e):r(e)}),"listItemPrefixWhitespace",i.parser.constructs.disable.null.includes("codeIndented")?void 0:5)},partial:!0},c={tokenize:function(e,t,r){const o=this;return(0,n.factorySpace)(e,(function(e){const n=o.events[o.events.length-1];return n&&"listItemIndent"===n[1].type&&n[2].sliceSerialize(n[1],!0).length===o.containerState.size?t(e):r(e)}),"listItemIndent",o.containerState.size+1)},partial:!0}},38029:(e,t,r)=>{"use strict";r.d(t,{C:()=>i});var n=r(46050),o=r(19967);const i={name:"setextUnderline",tokenize:function(e,t,r){const i=this;let a,s,u=i.events.length;for(;u--;)if("lineEnding"!==i.events[u][1].type&&"linePrefix"!==i.events[u][1].type&&"content"!==i.events[u][1].type){s="paragraph"===i.events[u][1].type;break}return function(t){if(!i.parser.lazy[i.now().line]&&(i.interrupt||s))return e.enter("setextHeadingLine"),e.enter("setextHeadingLineSequence"),a=t,c(t);return r(t)};function c(t){return t===a?(e.consume(t),c):(e.exit("setextHeadingLineSequence"),(0,n.factorySpace)(e,l,"lineSuffix")(t))}function l(n){return null===n||(0,o.markdownLineEnding)(n)?(e.exit("setextHeadingLine"),t(n)):r(n)}},resolveTo:function(e,t){let r,n,o,i=e.length;for(;i--;)if("enter"===e[i][0]){if("content"===e[i][1].type){r=i;break}"paragraph"===e[i][1].type&&(n=i)}else"content"===e[i][1].type&&e.splice(i,1),o||"definition"!==e[i][1].type||(o=i);const a={type:"setextHeading",start:Object.assign({},e[n][1].start),end:Object.assign({},e[e.length-1][1].end)};e[n][1].type="setextHeadingText",o?(e.splice(n,0,["enter",a,t]),e.splice(o+1,0,["exit",e[r][1],t]),e[r][1].end=Object.assign({},e[o][1].end)):e[r][1]=a;return e.push(["exit",a,t]),e}}},19281:(e,t,r)=>{"use strict";r.d(t,{C:()=>i});var n=r(46050),o=r(19967);const i={name:"thematicBreak",tokenize:function(e,t,r){let i,a=0;return function(t){return e.enter("thematicBreak"),i=t,s(t)};function s(c){return c===i?(e.enter("thematicBreakSequence"),u(c)):(0,o.markdownSpace)(c)?(0,n.factorySpace)(e,s,"whitespace")(c):a<3||null!==c&&!(0,o.markdownLineEnding)(c)?r(c):(e.exit("thematicBreak"),t(c))}function u(t){return t===i?(e.consume(t),a++,u):(e.exit("thematicBreakSequence"),s(t))}}}},20447:(e,t,r)=>{"use strict";r.r(t),r.d(t,{factoryDestination:()=>o});var n=r(19967);function o(e,t,r,o,i,a,s,u,c){const l=c||Number.POSITIVE_INFINITY;let f=0;return function(t){if(60===t)return e.enter(o),e.enter(i),e.enter(a),e.consume(t),e.exit(a),h;if(null===t||41===t||(0,n.asciiControl)(t))return r(t);return e.enter(o),e.enter(s),e.enter(u),e.enter("chunkString",{contentType:"string"}),m(t)};function h(r){return 62===r?(e.enter(a),e.consume(r),e.exit(a),e.exit(i),e.exit(o),t):(e.enter(u),e.enter("chunkString",{contentType:"string"}),p(r))}function p(t){return 62===t?(e.exit("chunkString"),e.exit(u),h(t)):null===t||60===t||(0,n.markdownLineEnding)(t)?r(t):(e.consume(t),92===t?d:p)}function d(t){return 60===t||62===t||92===t?(e.consume(t),p):p(t)}function m(i){return 40===i?++f>l?r(i):(e.consume(i),m):41===i?f--?(e.consume(i),m):(e.exit("chunkString"),e.exit(u),e.exit(s),e.exit(o),t(i)):null===i||(0,n.markdownLineEndingOrSpace)(i)?f?r(i):(e.exit("chunkString"),e.exit(u),e.exit(s),e.exit(o),t(i)):(0,n.asciiControl)(i)?r(i):(e.consume(i),92===i?g:m)}function g(t){return 40===t||41===t||92===t?(e.consume(t),m):m(t)}}},42874:(e,t,r)=>{"use strict";r.r(t),r.d(t,{factoryLabel:()=>o});var n=r(19967);function o(e,t,r,o,i,a){const s=this;let u,c=0;return function(t){return e.enter(o),e.enter(i),e.consume(t),e.exit(i),e.enter(a),l};function l(h){return null===h||91===h||93===h&&!u||94===h&&!c&&"_hiddenFootnoteSupport"in s.parser.constructs||c>999?r(h):93===h?(e.exit(a),e.enter(i),e.consume(h),e.exit(i),e.exit(o),t):(0,n.markdownLineEnding)(h)?(e.enter("lineEnding"),e.consume(h),e.exit("lineEnding"),l):(e.enter("chunkString",{contentType:"string"}),f(h))}function f(t){return null===t||91===t||93===t||(0,n.markdownLineEnding)(t)||c++>999?(e.exit("chunkString"),l(t)):(e.consume(t),u=u||!(0,n.markdownSpace)(t),92===t?h:f)}function h(t){return 91===t||92===t||93===t?(e.consume(t),c++,f):f(t)}}},46050:(e,t,r)=>{"use strict";r.r(t),r.d(t,{factorySpace:()=>o});var n=r(19967);function o(e,t,r,o){const i=o?o-1:Number.POSITIVE_INFINITY;let a=0;return function(o){if((0,n.markdownSpace)(o))return e.enter(r),s(o);return t(o)};function s(o){return(0,n.markdownSpace)(o)&&a++<i?(e.consume(o),s):(e.exit(r),t(o))}}},67784:(e,t,r)=>{"use strict";r.r(t),r.d(t,{factoryTitle:()=>i});var n=r(46050),o=r(19967);function i(e,t,r,i,a,s){let u;return function(t){return e.enter(i),e.enter(a),e.consume(t),e.exit(a),u=40===t?41:t,c};function c(r){return r===u?(e.enter(a),e.consume(r),e.exit(a),e.exit(i),t):(e.enter(s),l(r))}function l(t){return t===u?(e.exit(s),c(u)):null===t?r(t):(0,o.markdownLineEnding)(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),(0,n.factorySpace)(e,l,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),f(t))}function f(t){return t===u||null===t||(0,o.markdownLineEnding)(t)?(e.exit("chunkString"),l(t)):(e.consume(t),92===t?h:f)}function h(t){return t===u||92===t?(e.consume(t),f):f(t)}}},48948:(e,t,r)=>{"use strict";r.r(t),r.d(t,{factoryWhitespace:()=>i});var n=r(46050),o=r(19967);function i(e,t){let r;return function i(a){if((0,o.markdownLineEnding)(a))return e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),r=!0,i;if((0,o.markdownSpace)(a))return(0,n.factorySpace)(e,i,r?"linePrefix":"lineSuffix")(a);return t(a)}}},19967:(e,t,r)=>{"use strict";r.r(t),r.d(t,{asciiAlpha:()=>n,asciiAlphanumeric:()=>a,asciiAtext:()=>u,asciiControl:()=>c,asciiDigit:()=>o,asciiHexDigit:()=>i,asciiPunctuation:()=>s,markdownLineEnding:()=>f,markdownLineEndingOrSpace:()=>l,markdownSpace:()=>h,unicodePunctuation:()=>d,unicodeWhitespace:()=>p});const n=m(/[A-Za-z]/),o=m(/\d/),i=m(/[\dA-Fa-f]/),a=m(/[\dA-Za-z]/),s=m(/[!-/:-@[-`{-~]/),u=m(/[#-'*+\--9=?A-Z^-~]/);function c(e){return null!==e&&(e<32||127===e)}function l(e){return null!==e&&(e<0||32===e)}function f(e){return null!==e&&e<-2}function h(e){return-2===e||-1===e||32===e}const p=m(/\s/),d=m(/[!-/:-@[-`{-~\u00A1\u00A7\u00AB\u00B6\u00B7\u00BB\u00BF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]/);function m(e){return function(t){return null!==t&&e.test(String.fromCharCode(t))}}},11707:(e,t,r)=>{"use strict";function n(e,t,r,n){const o=e.length;let i,a=0;if(t=t<0?-t>o?0:o+t:t>o?o:t,r=r>0?r:0,n.length<1e4)i=Array.from(n),i.unshift(t,r),[].splice.apply(e,i);else for(r&&[].splice.apply(e,[t,r]);a<n.length;)i=n.slice(a,a+1e4),i.unshift(t,0),[].splice.apply(e,i),a+=1e4,t+=1e4}function o(e,t){return e.length>0?(n(e,e.length,0,t),e):t}r.d(t,{V:()=>o,d:()=>n})},85618:(e,t,r)=>{"use strict";r.d(t,{r:()=>o});var n=r(19967);function o(e){return null===e||(0,n.markdownLineEndingOrSpace)(e)||(0,n.unicodeWhitespace)(e)?1:(0,n.unicodePunctuation)(e)?2:void 0}},89063:(e,t,r)=>{"use strict";r.d(t,{W:()=>i});var n=r(11707);const o={}.hasOwnProperty;function i(e){const t={};let r=-1;for(;++r<e.length;)a(t,e[r]);return t}function a(e,t){let r;for(r in t){const n=(o.call(e,r)?e[r]:void 0)||(e[r]={}),i=t[r];let a;for(a in i){o.call(n,a)||(n[a]=[]);const e=i[a];s(n[a],Array.isArray(e)?e:e?[e]:[])}}}function s(e,t){let r=-1;const o=[];for(;++r<t.length;)("after"===t[r].add?e:o).push(t[r]);(0,n.d)(e,0,0,o)}},92791:(e,t,r)=>{"use strict";function n(e,t){const r=Number.parseInt(e,t);return r<9||11===r||r>13&&r<32||r>126&&r<160||r>55295&&r<57344||r>64975&&r<65008||65535==(65535&r)||65534==(65535&r)||r>1114111?"�":String.fromCharCode(r)}r.d(t,{o:()=>n})},12006:(e,t,r)=>{"use strict";r.d(t,{v:()=>a});var n=r(36365),o=r(92791);const i=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function a(e){return e.replace(i,s)}function s(e,t,r){if(t)return t;if(35===r.charCodeAt(0)){const e=r.charCodeAt(1),t=120===e||88===e;return(0,o.o)(r.slice(t?2:1),t?16:10)}return(0,n.T)(r)||e}},37618:(e,t,r)=>{"use strict";function n(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}r.r(t),r.d(t,{normalizeIdentifier:()=>n})},79142:(e,t,r)=>{"use strict";function n(e,t,r){const n=[];let o=-1;for(;++o<e.length;){const i=e[o].resolveAll;i&&!n.includes(i)&&(t=i(t,r),n.push(i))}return t}r.d(t,{C:()=>n})},35197:(e,t,r)=>{"use strict";r.d(t,{_:()=>o});var n=r(11707);function o(e){const t={};let r,o,a,s,u,c,l,f=-1;for(;++f<e.length;){for(;f in t;)f=t[f];if(r=e[f],f&&"chunkFlow"===r[1].type&&"listItemPrefix"===e[f-1][1].type&&(c=r[1]._tokenizer.events,a=0,a<c.length&&"lineEndingBlank"===c[a][1].type&&(a+=2),a<c.length&&"content"===c[a][1].type))for(;++a<c.length&&"content"!==c[a][1].type;)"chunkText"===c[a][1].type&&(c[a][1]._isInFirstContentOfListItem=!0,a++);if("enter"===r[0])r[1].contentType&&(Object.assign(t,i(e,f)),f=t[f],l=!0);else if(r[1]._container){for(a=f,o=void 0;a--&&(s=e[a],"lineEnding"===s[1].type||"lineEndingBlank"===s[1].type);)"enter"===s[0]&&(o&&(e[o][1].type="lineEndingBlank"),s[1].type="lineEnding",o=a);o&&(r[1].end=Object.assign({},e[o][1].start),u=e.slice(o,f),u.unshift(r),(0,n.d)(e,o,f-o+1,u))}}return!l}function i(e,t){const r=e[t][1],o=e[t][2];let i=t-1;const a=[],s=r._tokenizer||o.parser[r.contentType](r.start),u=s.events,c=[],l={};let f,h,p=-1,d=r,m=0,g=0;const y=[g];for(;d;){for(;e[++i][1]!==d;);a.push(i),d._tokenizer||(f=o.sliceStream(d),d.next||f.push(null),h&&s.defineSkip(d.start),d._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=!0),s.write(f),d._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=void 0)),h=d,d=d.next}for(d=r;++p<u.length;)"exit"===u[p][0]&&"enter"===u[p-1][0]&&u[p][1].type===u[p-1][1].type&&u[p][1].start.line!==u[p][1].end.line&&(g=p+1,y.push(g),d._tokenizer=void 0,d.previous=void 0,d=d.next);for(s.events=[],d?(d._tokenizer=void 0,d.previous=void 0):y.pop(),p=y.length;p--;){const t=u.slice(y[p],y[p+1]),r=a.pop();c.unshift([r,r+t.length-1]),(0,n.d)(e,r,2,t)}for(p=-1;++p<c.length;)l[m+c[p][0]]=m+c[p][1],m+=c[p][1]-c[p][0]-1;return l}},55975:(e,t,r)=>{"use strict";r.r(t),r.d(t,{codes:()=>n});const n={carriageReturn:-5,lineFeed:-4,carriageReturnLineFeed:-3,horizontalTab:-2,virtualSpace:-1,eof:null,nul:0,soh:1,stx:2,etx:3,eot:4,enq:5,ack:6,bel:7,bs:8,ht:9,lf:10,vt:11,ff:12,cr:13,so:14,si:15,dle:16,dc1:17,dc2:18,dc3:19,dc4:20,nak:21,syn:22,etb:23,can:24,em:25,sub:26,esc:27,fs:28,gs:29,rs:30,us:31,space:32,exclamationMark:33,quotationMark:34,numberSign:35,dollarSign:36,percentSign:37,ampersand:38,apostrophe:39,leftParenthesis:40,rightParenthesis:41,asterisk:42,plusSign:43,comma:44,dash:45,dot:46,slash:47,digit0:48,digit1:49,digit2:50,digit3:51,digit4:52,digit5:53,digit6:54,digit7:55,digit8:56,digit9:57,colon:58,semicolon:59,lessThan:60,equalsTo:61,greaterThan:62,questionMark:63,atSign:64,uppercaseA:65,uppercaseB:66,uppercaseC:67,uppercaseD:68,uppercaseE:69,uppercaseF:70,uppercaseG:71,uppercaseH:72,uppercaseI:73,uppercaseJ:74,uppercaseK:75,uppercaseL:76,uppercaseM:77,uppercaseN:78,uppercaseO:79,uppercaseP:80,uppercaseQ:81,uppercaseR:82,uppercaseS:83,uppercaseT:84,uppercaseU:85,uppercaseV:86,uppercaseW:87,uppercaseX:88,uppercaseY:89,uppercaseZ:90,leftSquareBracket:91,backslash:92,rightSquareBracket:93,caret:94,underscore:95,graveAccent:96,lowercaseA:97,lowercaseB:98,lowercaseC:99,lowercaseD:100,lowercaseE:101,lowercaseF:102,lowercaseG:103,lowercaseH:104,lowercaseI:105,lowercaseJ:106,lowercaseK:107,lowercaseL:108,lowercaseM:109,lowercaseN:110,lowercaseO:111,lowercaseP:112,lowercaseQ:113,lowercaseR:114,lowercaseS:115,lowercaseT:116,lowercaseU:117,lowercaseV:118,lowercaseW:119,lowercaseX:120,lowercaseY:121,lowercaseZ:122,leftCurlyBrace:123,verticalBar:124,rightCurlyBrace:125,tilde:126,del:127,byteOrderMarker:65279,replacementCharacter:65533}},8449:(e,t,r)=>{"use strict";r.r(t),r.d(t,{constants:()=>n});const n={attentionSideBefore:1,attentionSideAfter:2,atxHeadingOpeningFenceSizeMax:6,autolinkDomainSizeMax:63,autolinkSchemeSizeMax:32,cdataOpeningString:"CDATA[",characterGroupWhitespace:1,characterGroupPunctuation:2,characterReferenceDecimalSizeMax:7,characterReferenceHexadecimalSizeMax:6,characterReferenceNamedSizeMax:31,codeFencedSequenceSizeMin:3,contentTypeDocument:"document",contentTypeFlow:"flow",contentTypeContent:"content",contentTypeString:"string",contentTypeText:"text",hardBreakPrefixSizeMin:2,htmlRaw:1,htmlComment:2,htmlInstruction:3,htmlDeclaration:4,htmlCdata:5,htmlBasic:6,htmlComplete:7,htmlRawSizeMax:8,linkResourceDestinationBalanceMax:32,linkReferenceSizeMax:999,listItemValueSizeMax:10,numericBaseDecimal:10,numericBaseHexadecimal:16,tabSize:4,thematicBreakMarkerCountMin:3,v8MaxSafeChunkSize:1e4}},15472:(e,t,r)=>{"use strict";r.r(t),r.d(t,{types:()=>n});const n={data:"data",whitespace:"whitespace",lineEnding:"lineEnding",lineEndingBlank:"lineEndingBlank",linePrefix:"linePrefix",lineSuffix:"lineSuffix",atxHeading:"atxHeading",atxHeadingSequence:"atxHeadingSequence",atxHeadingText:"atxHeadingText",autolink:"autolink",autolinkEmail:"autolinkEmail",autolinkMarker:"autolinkMarker",autolinkProtocol:"autolinkProtocol",characterEscape:"characterEscape",characterEscapeValue:"characterEscapeValue",characterReference:"characterReference",characterReferenceMarker:"characterReferenceMarker",characterReferenceMarkerNumeric:"characterReferenceMarkerNumeric",characterReferenceMarkerHexadecimal:"characterReferenceMarkerHexadecimal",characterReferenceValue:"characterReferenceValue",codeFenced:"codeFenced",codeFencedFence:"codeFencedFence",codeFencedFenceSequence:"codeFencedFenceSequence",codeFencedFenceInfo:"codeFencedFenceInfo",codeFencedFenceMeta:"codeFencedFenceMeta",codeFlowValue:"codeFlowValue",codeIndented:"codeIndented",codeText:"codeText",codeTextData:"codeTextData",codeTextPadding:"codeTextPadding",codeTextSequence:"codeTextSequence",content:"content",definition:"definition",definitionDestination:"definitionDestination",definitionDestinationLiteral:"definitionDestinationLiteral",definitionDestinationLiteralMarker:"definitionDestinationLiteralMarker",definitionDestinationRaw:"definitionDestinationRaw",definitionDestinationString:"definitionDestinationString",definitionLabel:"definitionLabel",definitionLabelMarker:"definitionLabelMarker",definitionLabelString:"definitionLabelString",definitionMarker:"definitionMarker",definitionTitle:"definitionTitle",definitionTitleMarker:"definitionTitleMarker",definitionTitleString:"definitionTitleString",emphasis:"emphasis",emphasisSequence:"emphasisSequence",emphasisText:"emphasisText",escapeMarker:"escapeMarker",hardBreakEscape:"hardBreakEscape",hardBreakTrailing:"hardBreakTrailing",htmlFlow:"htmlFlow",htmlFlowData:"htmlFlowData",htmlText:"htmlText",htmlTextData:"htmlTextData",image:"image",label:"label",labelText:"labelText",labelLink:"labelLink",labelImage:"labelImage",labelMarker:"labelMarker",labelImageMarker:"labelImageMarker",labelEnd:"labelEnd",link:"link",paragraph:"paragraph",reference:"reference",referenceMarker:"referenceMarker",referenceString:"referenceString",resource:"resource",resourceDestination:"resourceDestination",resourceDestinationLiteral:"resourceDestinationLiteral",resourceDestinationLiteralMarker:"resourceDestinationLiteralMarker",resourceDestinationRaw:"resourceDestinationRaw",resourceDestinationString:"resourceDestinationString",resourceMarker:"resourceMarker",resourceTitle:"resourceTitle",resourceTitleMarker:"resourceTitleMarker",resourceTitleString:"resourceTitleString",setextHeading:"setextHeading",setextHeadingText:"setextHeadingText",setextHeadingLine:"setextHeadingLine",setextHeadingLineSequence:"setextHeadingLineSequence",strong:"strong",strongSequence:"strongSequence",strongText:"strongText",thematicBreak:"thematicBreak",thematicBreakSequence:"thematicBreakSequence",blockQuote:"blockQuote",blockQuotePrefix:"blockQuotePrefix",blockQuoteMarker:"blockQuoteMarker",blockQuotePrefixWhitespace:"blockQuotePrefixWhitespace",listOrdered:"listOrdered",listUnordered:"listUnordered",listItemIndent:"listItemIndent",listItemMarker:"listItemMarker",listItemPrefix:"listItemPrefix",listItemPrefixWhitespace:"listItemPrefixWhitespace",listItemValue:"listItemValue",chunkDocument:"chunkDocument",chunkContent:"chunkContent",chunkFlow:"chunkFlow",chunkText:"chunkText",chunkString:"chunkString"}},59463:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(53827);const o=/[\t ]*(?:\r?\n|\r)/g;function i(){return e=>{(0,n.Vn)(e,"text",((e,t,r)=>{const n=[];let i=0;o.lastIndex=0;let a=o.exec(e.value);for(;a;){const t=a.index;i!==t&&n.push({type:"text",value:e.value.slice(i,t)}),n.push({type:"break"}),i=t+a[0].length,a=o.exec(e.value)}if(n.length>0&&r&&"number"==typeof t)return i<e.value.length&&n.push({type:"text",value:e.value.slice(i)}),r.children.splice(t,1,...n),t+n.length}))}}},63038:(e,t,r)=>{"use strict";r.r(t),r.d(t,{remarkHeadingId:()=>i});var n=r(53827),o=r(55975);function i(){const e=this.data();function t(t,r){(e[t]||(e[t]=[])).push(r)}return t("micromarkExtensions",{text:{[o.codes.leftCurlyBrace]:{name:"headingIdMaybeStart",tokenize:(e,t,r)=>function(n){return e.attempt({tokenize(e,t,r){return function(t){if(t!==o.codes.leftCurlyBrace)throw new Error(`Unexpected code ${t}`);return e.enter("id"),e.enter("idMarker"),e.consume(t),n};function n(t){return t!==o.codes.numberSign?r(t):(e.consume(t),e.exit("idMarker"),e.enter("idString"),e.enter("chunkString",{contentType:"string"}),i)}function i(n){return[o.codes.carriageReturn,o.codes.lineFeed,o.codes.carriageReturnLineFeed,null,o.codes.backslash,o.codes.leftCurlyBrace].includes(n)?r(n):n===o.codes.rightCurlyBrace?(e.exit("chunkString"),e.exit("idString"),e.enter("idMarker"),e.consume(n),e.exit("idMarker"),e.exit("id"),t):(e.consume(n),i)}}},t,r)(n)}}}}),t("fromMarkdownExtensions",{enter:{idString(e){this.enter({type:"idString",value:null},e),this.buffer()}},exit:{idString(e){const t=this.resume();this.exit(e).value=t}}}),function(e){(0,n.Vn)(e,"idString",((e,t,r)=>{if(!r)throw new Error("Unexpected idString under no parent.");if("heading"!==r.type)throw new Error(`Unexpected node ${e} under ${r}`)})),(0,n.Vn)(e,"heading",(e=>{const t=e.children.filter((e=>"idString"===e.type));if(0==t.length)return;if(t.length>1)throw new Error(`Found ${t.length} ids under heading ${e}.`);const r=t[0];if(r.value&&r.value.length>0){e.data||(e.data={}),e.data.hProperties||(e.data.hProperties={}),e.data.id=e.data.hProperties.id=r.value,r.value="";const t=e.children.indexOf(r);if(t>=1){const r=e.children[t-1];"text"===r.type&&(r.value=r.value.trimEnd())}e.children.splice(t,1)}}))}}},47759:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>Z});var n=r(46050),o=r(19967),i=r(48948);function a(e,t,r,a,s,u,c,l,f,h,p,d,m,g,y){let v,b;return function(t){return e.enter(a),e.enter(s),e.consume(t),e.exit(s),E};function E(t){return 35===t?(v=c,D(t)):46===t?(v=l,D(t)):58===t||95===t||(0,o.asciiAlpha)(t)?(e.enter(u),e.enter(f),e.consume(t),F):y&&(0,o.markdownSpace)(t)?(0,n.factorySpace)(e,E,"whitespace")(t):!y&&(0,o.markdownLineEndingOrSpace)(t)?(0,i.factoryWhitespace)(e,E)(t):T(t)}function D(t){return e.enter(u),e.enter(v),e.enter(v+"Marker"),e.consume(t),e.exit(v+"Marker"),w}function w(t){return null===t||34===t||35===t||39===t||46===t||60===t||61===t||62===t||96===t||125===t||(0,o.markdownLineEndingOrSpace)(t)?r(t):(e.enter(v+"Value"),e.consume(t),x)}function x(t){return null===t||34===t||39===t||60===t||61===t||62===t||96===t?r(t):35===t||46===t||125===t||(0,o.markdownLineEndingOrSpace)(t)?(e.exit(v+"Value"),e.exit(v),e.exit(u),E(t)):(e.consume(t),x)}function F(t){return 45===t||46===t||58===t||95===t||(0,o.asciiAlphanumeric)(t)?(e.consume(t),F):(e.exit(f),y&&(0,o.markdownSpace)(t)?(0,n.factorySpace)(e,S,"whitespace")(t):!y&&(0,o.markdownLineEndingOrSpace)(t)?(0,i.factoryWhitespace)(e,S)(t):S(t))}function S(t){return 61===t?(e.enter(h),e.consume(t),e.exit(h),A):(e.exit(u),E(t))}function A(t){return null===t||60===t||61===t||62===t||96===t||125===t||y&&(0,o.markdownLineEnding)(t)?r(t):34===t||39===t?(e.enter(p),e.enter(m),e.consume(t),e.exit(m),b=t,C):y&&(0,o.markdownSpace)(t)?(0,n.factorySpace)(e,A,"whitespace")(t):!y&&(0,o.markdownLineEndingOrSpace)(t)?(0,i.factoryWhitespace)(e,A)(t):(e.enter(d),e.enter(g),e.consume(t),b=void 0,k)}function k(t){return null===t||34===t||39===t||60===t||61===t||62===t||96===t?r(t):125===t||(0,o.markdownLineEndingOrSpace)(t)?(e.exit(g),e.exit(d),e.exit(u),E(t)):(e.consume(t),k)}function C(t){return t===b?(e.enter(m),e.consume(t),e.exit(m),e.exit(p),e.exit(u),j):(e.enter(d),P(t))}function P(t){return t===b?(e.exit(d),C(t)):null===t?r(t):(0,o.markdownLineEnding)(t)?y?r(t):(0,i.factoryWhitespace)(e,P)(t):(e.enter(g),e.consume(t),O)}function O(t){return t===b||null===t||(0,o.markdownLineEnding)(t)?(e.exit(g),P(t)):(e.consume(t),O)}function j(e){return 125===e||(0,o.markdownLineEndingOrSpace)(e)?E(e):T(e)}function T(n){return 125===n?(e.enter(s),e.consume(n),e.exit(s),e.exit(a),t):r(n)}}function s(e,t,r,n,i,a,s){let u,c=0,l=0;return function(t){return e.enter(n),e.enter(i),e.consume(t),e.exit(i),f};function f(r){return 93===r?(e.enter(i),e.consume(r),e.exit(i),e.exit(n),t):(e.enter(a),h(r))}function h(t){if(93===t&&!l)return m(t);const r=e.enter("chunkText",{contentType:"text",previous:u});return u&&(u.next=r),u=r,p(t)}function p(t){return null===t||c>999||91===t&&++l>32?r(t):93!==t||l--?(0,o.markdownLineEnding)(t)?s?r(t):(e.consume(t),e.exit("chunkText"),h):(e.consume(t),92===t?d:p):(e.exit("chunkText"),m(t))}function d(t){return 91===t||92===t||93===t?(e.consume(t),c++,p):p(t)}function m(r){return e.exit(a),e.enter(i),e.consume(r),e.exit(i),e.exit(n),t}}function u(e,t,r,n){const i=this;return function(t){if((0,o.asciiAlpha)(t))return e.enter(n),e.consume(t),a;return r(t)};function a(s){return 45===s||95===s||(0,o.asciiAlphanumeric)(s)?(e.consume(s),a):(e.exit(n),45===i.previous||95===i.previous?r(s):t(s))}}const c={tokenize:function(e,t,r){const i=this,a=i.events[i.events.length-1],s=a&&"linePrefix"===a[1].type?a[2].sliceSerialize(a[1],!0).length:0;let c,p=0;return function(t){return e.enter("directiveContainer"),e.enter("directiveContainerFence"),e.enter("directiveContainerSequence"),d(t)};function d(t){return 58===t?(e.consume(t),p++,d):p<3?r(t):(e.exit("directiveContainerSequence"),u.call(i,e,m,r,"directiveContainerName")(t))}function m(t){return 91===t?e.attempt(l,g,g)(t):g(t)}function g(t){return 123===t?e.attempt(f,y,y)(t):y(t)}function y(t){return(0,n.factorySpace)(e,v,"whitespace")(t)}function v(n){return e.exit("directiveContainerFence"),null===n?b(n):(0,o.markdownLineEnding)(n)?i.interrupt?t(n):e.attempt(h,E,b)(n):r(n)}function b(r){return e.exit("directiveContainer"),t(r)}function E(r){return null===r?(e.exit("directiveContainer"),t(r)):(e.enter("directiveContainerContent"),D(r))}function D(t){return null===t?A(t):e.attempt({tokenize:k,partial:!0},A,s?(0,n.factorySpace)(e,w,"linePrefix",s+1):w)(t)}function w(t){if(null===t)return A(t);const r=e.enter("chunkDocument",{contentType:"document",previous:c});return c&&(c.next=r),c=r,x(t)}function x(t){if(null===t){const r=e.exit("chunkDocument");return i.parser.lazy[r.start.line]=!1,A(t)}return(0,o.markdownLineEnding)(t)?e.check(h,F,S)(t):(e.consume(t),x)}function F(t){e.consume(t);const r=e.exit("chunkDocument");return i.parser.lazy[r.start.line]=!1,D}function S(t){const r=e.exit("chunkDocument");return i.parser.lazy[r.start.line]=!1,A(t)}function A(r){return e.exit("directiveContainerContent"),e.exit("directiveContainer"),t(r)}function k(e,t,r){let i=0;return(0,n.factorySpace)(e,(function(t){return e.enter("directiveContainerFence"),e.enter("directiveContainerSequence"),a(t)}),"linePrefix",4);function a(t){return 58===t?(e.consume(t),i++,a):i<p?r(t):(e.exit("directiveContainerSequence"),(0,n.factorySpace)(e,s,"whitespace")(t))}function s(n){return null===n||(0,o.markdownLineEnding)(n)?(e.exit("directiveContainerFence"),t(n)):r(n)}}},concrete:!0},l={tokenize:function(e,t,r){return s(e,t,r,"directiveContainerLabel","directiveContainerLabelMarker","directiveContainerLabelString",!0)},partial:!0},f={tokenize:function(e,t,r){return a(e,t,r,"directiveContainerAttributes","directiveContainerAttributesMarker","directiveContainerAttribute","directiveContainerAttributeId","directiveContainerAttributeClass","directiveContainerAttributeName","directiveContainerAttributeInitializerMarker","directiveContainerAttributeValueLiteral","directiveContainerAttributeValue","directiveContainerAttributeValueMarker","directiveContainerAttributeValueData",!0)},partial:!0},h={tokenize:function(e,t,r){const n=this;return function(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),o};function o(e){return n.parser.lazy[n.now().line]?r(e):t(e)}},partial:!0};const p={tokenize:function(e,t,r){const i=this;return function(t){return e.enter("directiveLeaf"),e.enter("directiveLeafSequence"),e.consume(t),a};function a(t){return 58===t?(e.consume(t),e.exit("directiveLeafSequence"),u.call(i,e,s,r,"directiveLeafName")):r(t)}function s(t){return 91===t?e.attempt(d,c,c)(t):c(t)}function c(t){return 123===t?e.attempt(m,l,l)(t):l(t)}function l(t){return(0,n.factorySpace)(e,f,"whitespace")(t)}function f(n){return null===n||(0,o.markdownLineEnding)(n)?(e.exit("directiveLeaf"),t(n)):r(n)}}},d={tokenize:function(e,t,r){return s(e,t,r,"directiveLeafLabel","directiveLeafLabelMarker","directiveLeafLabelString",!0)},partial:!0},m={tokenize:function(e,t,r){return a(e,t,r,"directiveLeafAttributes","directiveLeafAttributesMarker","directiveLeafAttribute","directiveLeafAttributeId","directiveLeafAttributeClass","directiveLeafAttributeName","directiveLeafAttributeInitializerMarker","directiveLeafAttributeValueLiteral","directiveLeafAttributeValue","directiveLeafAttributeValueMarker","directiveLeafAttributeValueData",!0)},partial:!0};const g={tokenize:function(e,t,r){const n=this;return function(t){return e.enter("directiveText"),e.enter("directiveTextMarker"),e.consume(t),e.exit("directiveTextMarker"),u.call(n,e,o,r,"directiveTextName")};function o(t){return 58===t?r(t):91===t?e.attempt(y,i,i)(t):i(t)}function i(t){return 123===t?e.attempt(v,a,a)(t):a(t)}function a(r){return e.exit("directiveText"),t(r)}},previous:function(e){return 58!==e||"characterEscape"===this.events[this.events.length-1][1].type}},y={tokenize:function(e,t,r){return s(e,t,r,"directiveTextLabel","directiveTextLabelMarker","directiveTextLabelString")},partial:!0},v={tokenize:function(e,t,r){return a(e,t,r,"directiveTextAttributes","directiveTextAttributesMarker","directiveTextAttribute","directiveTextAttributeId","directiveTextAttributeClass","directiveTextAttributeName","directiveTextAttributeInitializerMarker","directiveTextAttributeValueLiteral","directiveTextAttributeValue","directiveTextAttributeValueMarker","directiveTextAttributeValueData")},partial:!0};const b=["AElig","AMP","Aacute","Acirc","Agrave","Aring","Atilde","Auml","COPY","Ccedil","ETH","Eacute","Ecirc","Egrave","Euml","GT","Iacute","Icirc","Igrave","Iuml","LT","Ntilde","Oacute","Ocirc","Ograve","Oslash","Otilde","Ouml","QUOT","REG","THORN","Uacute","Ucirc","Ugrave","Uuml","Yacute","aacute","acirc","acute","aelig","agrave","amp","aring","atilde","auml","brvbar","ccedil","cedil","cent","copy","curren","deg","divide","eacute","ecirc","egrave","eth","euml","frac12","frac14","frac34","gt","iacute","icirc","iexcl","igrave","iquest","iuml","laquo","lt","macr","micro","middot","nbsp","not","ntilde","oacute","ocirc","ograve","ordf","ordm","oslash","otilde","ouml","para","plusmn","pound","quot","raquo","reg","sect","shy","sup1","sup2","sup3","szlig","thorn","times","uacute","ucirc","ugrave","uml","uuml","yacute","yen","yuml"],E={0:"�",128:"€",130:"‚",131:"ƒ",132:"„",133:"…",134:"†",135:"‡",136:"ˆ",137:"‰",138:"Š",139:"‹",140:"Œ",142:"Ž",145:"‘",146:"’",147:"“",148:"”",149:"•",150:"–",151:"—",152:"˜",153:"™",154:"š",155:"›",156:"œ",158:"ž",159:"Ÿ"};function D(e){const t="string"==typeof e?e.charCodeAt(0):e;return t>=48&&t<=57}function w(e){const t="string"==typeof e?e.charCodeAt(0):e;return t>=97&&t<=102||t>=65&&t<=70||t>=48&&t<=57}function x(e){return function(e){const t="string"==typeof e?e.charCodeAt(0):e;return t>=97&&t<=122||t>=65&&t<=90}(e)||D(e)}var F=r(36365);const S=String.fromCharCode,A=["","Named character references must be terminated by a semicolon","Numeric character references must be terminated by a semicolon","Named character references cannot be empty","Numeric character references cannot be empty","Named character references must be known","Numeric character references cannot be disallowed","Numeric character references cannot be outside the permissible Unicode range"];function k(e,t={}){const r="string"==typeof t.additional?t.additional.charCodeAt(0):t.additional,n=[];let o,i,a=0,s=-1,u="";t.position&&("start"in t.position||"indent"in t.position?(i=t.position.indent,o=t.position.start):o=t.position);let c,l=(o?o.line:0)||1,f=(o?o.column:0)||1,h=d();for(a--;++a<=e.length;)if(10===c&&(f=(i?i[s]:0)||1),c=e.charCodeAt(a),38===c){const o=e.charCodeAt(a+1);if(9===o||10===o||12===o||32===o||38===o||60===o||Number.isNaN(o)||r&&o===r){u+=S(c),f++;continue}const i=a+1;let s,l=i,y=i;if(35===o){y=++l;const t=e.charCodeAt(y);88===t||120===t?(s="hexadecimal",y=++l):s="decimal"}else s="named";let v="",A="",k="";const P="named"===s?x:"decimal"===s?D:w;for(y--;++y<=e.length;){const t=e.charCodeAt(y);if(!P(t))break;k+=S(t),"named"===s&&b.includes(k)&&(v=k,A=(0,F.T)(k))}let O=59===e.charCodeAt(y);if(O){y++;const e="named"===s&&(0,F.T)(k);e&&(v=k,A=e)}let j=1+y-i,T="";if(O||!1!==t.nonTerminated)if(k)if("named"===s){if(O&&!A)m(5,1);else if(v!==k&&(y=l+v.length,j=1+y-l,O=!1),!O){const r=v?1:3;if(t.attribute){const t=e.charCodeAt(y);61===t?(m(r,j),A=""):x(t)?A="":m(r,j)}else m(r,j)}T=A}else{O||m(2,j);let e=Number.parseInt(k,"hexadecimal"===s?16:10);if((p=e)>=55296&&p<=57343||p>1114111)m(7,j),T=S(65533);else if(e in E)m(6,j),T=E[e];else{let t="";C(e)&&m(6,j),e>65535&&(e-=65536,t+=S(e>>>10|55296),e=56320|1023&e),T=t+S(e)}}else"named"!==s&&m(4,j);else;if(T){g(),h=d(),a=y-1,f+=y-i+1,n.push(T);const r=d();r.offset++,t.reference&&t.reference.call(t.referenceContext,T,{start:h,end:r},e.slice(i-1,y)),h=r}else k=e.slice(i-1,y),u+=k,f+=k.length,a=y-1}else 10===c&&(l++,s++,f=0),Number.isNaN(c)?g():(u+=S(c),f++);var p;return n.join("");function d(){return{line:l,column:f,offset:a+((o?o.offset:0)||0)}}function m(e,r){let n;t.warning&&(n=d(),n.column+=r,n.offset+=r,t.warning.call(t.warningContext,A[e],n,e))}function g(){u&&(n.push(u),t.text&&t.text.call(t.textContext,u,{start:h,end:d()}),u="")}}function C(e){return e>=1&&e<=8||11===e||e>=13&&e<=31||e>=127&&e<=159||e>=64976&&e<=65007||65535==(65535&e)||65534==(65535&e)}function P(e,t){return e=e.replace(t.subset?function(e){const t=[];let r=-1;for(;++r<e.length;)t.push(e[r].replace(/[|\\{}()[\]^$+*?.]/g,"\\$&"));return new RegExp("(?:"+t.join("|")+")","g")}(t.subset):/["&'<>`]/g,r),t.subset||t.escapeOnly?e:e.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,(function(e,r,n){return t.format(1024*(e.charCodeAt(0)-55296)+e.charCodeAt(1)-56320+65536,n.charCodeAt(r+2),t)})).replace(/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,r);function r(e,r,n){return t.format(e.charCodeAt(0),n.charCodeAt(r+1),t)}}function O(e){return"&#x"+e.toString(16).toUpperCase()+";"}var j=r(50819),T=r(85771),_=r(48736),B=r(99656),R=r(87717);const I={}.hasOwnProperty,L=/^[^\t\n\r "#'.<=>`}]+$/;K.peek=function(){return":"};const M={canContainEols:["textDirective"],enter:{directiveContainer:function(e){$.call(this,"containerDirective",e)},directiveContainerAttributes:z,directiveContainerLabel:function(e){this.enter({type:"paragraph",data:{directiveLabel:!0},children:[]},e)},directiveLeaf:function(e){$.call(this,"leafDirective",e)},directiveLeafAttributes:z,directiveText:function(e){$.call(this,"textDirective",e)},directiveTextAttributes:z},exit:{directiveContainer:Q,directiveContainerAttributeClassValue:q,directiveContainerAttributeIdValue:H,directiveContainerAttributeName:G,directiveContainerAttributeValue:V,directiveContainerAttributes:W,directiveContainerLabel:function(e){this.exit(e)},directiveContainerName:U,directiveLeaf:Q,directiveLeafAttributeClassValue:q,directiveLeafAttributeIdValue:H,directiveLeafAttributeName:G,directiveLeafAttributeValue:V,directiveLeafAttributes:W,directiveLeafName:U,directiveText:Q,directiveTextAttributeClassValue:q,directiveTextAttributeIdValue:H,directiveTextAttributeName:G,directiveTextAttributeValue:V,directiveTextAttributes:W,directiveTextName:U}},N={unsafe:[{character:"\r",inConstruct:["leafDirectiveLabel","containerDirectiveLabel"]},{character:"\n",inConstruct:["leafDirectiveLabel","containerDirectiveLabel"]},{before:"[^:]",character:":",after:"[A-Za-z]",inConstruct:["phrasing"]},{atBreak:!0,character:":",after:":"}],handlers:{containerDirective:K,leafDirective:K,textDirective:K}};function $(e,t){this.enter({type:e,name:"",attributes:{},children:[]},t)}function U(e){this.stack[this.stack.length-1].name=this.sliceSerialize(e)}function z(){this.setData("directiveAttributes",[]),this.buffer()}function H(e){this.getData("directiveAttributes").push(["id",k(this.sliceSerialize(e),{attribute:!0})])}function q(e){this.getData("directiveAttributes").push(["class",k(this.sliceSerialize(e),{attribute:!0})])}function V(e){const t=this.getData("directiveAttributes");t[t.length-1][1]=k(this.sliceSerialize(e),{attribute:!0})}function G(e){this.getData("directiveAttributes").push([this.sliceSerialize(e),""])}function W(){const e=this.getData("directiveAttributes"),t={};let r=-1;for(;++r<e.length;){const n=e[r];"class"===n[0]&&t.class?t.class+=" "+n[1]:t[n[0]]=n[1]}this.setData("directiveAttributes"),this.resume();this.stack[this.stack.length-1].attributes=t}function Q(e){this.exit(e)}function K(e,t,r,n){const o=(0,R.j)(n),i=function(e){let t=0;"containerDirective"===e.type?((0,j.S4)(e,(function(e,r){if("containerDirective"===e.type){let e=r.length,n=0;for(;e--;)"containerDirective"===r[e].type&&n++;n>t&&(t=n)}})),t+=3):t="leafDirective"===e.type?2:1;return":".repeat(t)}(e),a=r.enter(e.type);let s,u=o.move(i+(e.name||""));if("containerDirective"===e.type){const t=(e.children||[])[0];s=Y(t)?t:void 0}else s=e;if(s&&s.children&&s.children.length>0){const t=r.enter("label"),n=`${e.type}Label`,i=r.enter(n);u+=o.move("["),u+=o.move((0,_.p)(s,r,{...o.current(),before:u,after:"]"})),u+=o.move("]"),i(),t()}if(u+=o.move(function(e,t){const r=(0,B.l)(t),n="textDirective"===e.type?[r]:[r,"\n","\r"],o=e.attributes||{},i=[];let a,s,u,c;for(c in o)if(I.call(o,c)&&void 0!==o[c]&&null!==o[c]){const e=String(o[c]);if("id"===c)u=L.test(e)?"#"+e:l("id",e);else if("class"===c){const t=e.split(/[\t\n\r ]+/g),r=[],n=[];let o=-1;for(;++o<t.length;)(L.test(t[o])?n:r).push(t[o]);a=r.length>0?l("class",r.join(" ")):"",s=n.length>0?"."+n.join("."):""}else i.push(l(c,e))}a&&i.unshift(a);s&&i.unshift(s);u&&i.unshift(u);return i.length>0?"{"+i.join(" ")+"}":"";function l(e,t){return e+(t?"="+r+function(e,t){return P(e,Object.assign({format:O},t))}(t,{subset:n})+r:"")}}(e,r)),"containerDirective"===e.type){let t=e;Y((e.children||[])[0])&&(t=Object.assign({},e,{children:e.children.slice(1)})),t&&t.children&&t.children.length>0&&(u+=o.move("\n"),u+=o.move((0,T.K)(t,r,o.current()))),u+=o.move("\n"+i)}return a(),u}function Y(e){return Boolean(e&&"paragraph"===e.type&&e.data&&e.data.directiveLabel)}function Z(){const e=this.data();function t(t,r){(e[t]?e[t]:e[t]=[]).push(r)}t("micromarkExtensions",{text:{58:g},flow:{58:[c,p]}}),t("fromMarkdownExtensions",M),t("toMarkdownExtensions",N)}},42363:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>E});var n=r(19967),o=r(98544);const i=Object.assign(a(Error),{eval:a(EvalError),range:a(RangeError),reference:a(ReferenceError),syntax:a(SyntaxError),type:a(TypeError),uri:a(URIError)});function a(e){return t.displayName=e.displayName||e.name,t;function t(t,...r){const n=t?o(t,...r):t;return new e(n)}}const s={}.hasOwnProperty,u={yaml:"-",toml:"+"};function c(e="yaml"){const t=[];let r=-1;for(Array.isArray(e)||(e=[e]);++r<e.length;)t[r]=l(e[r]);return t}function l(e){let t=e;if("string"==typeof t){if(!s.call(u,t))throw i("Missing matter definition for `%s`",t);t={type:t,marker:u[t]}}else if("object"!=typeof t)throw i("Expected matter to be an object, not `%j`",t);if(!s.call(t,"type"))throw i("Missing `type` in matter `%j`",t);if(!s.call(t,"fence")&&!s.call(t,"marker"))throw i("Missing `marker` or `fence` in matter `%j`",t);return t}function f(e){const t=e.type,r=e.anywhere,o=t+"Value",i=t+"Fence",a=i+"Sequence",s={tokenize:function(e,t,r){let o=0;return function(t){if(t===u.charCodeAt(o))return e.enter(i),e.enter(a),s(t);return r(t)};function s(t){return o===u.length?(e.exit(a),(0,n.markdownSpace)(t)?(e.enter("whitespace"),c(t)):l(t)):t===u.charCodeAt(o++)?(e.consume(t),s):r(t)}function c(t){return(0,n.markdownSpace)(t)?(e.consume(t),c):(e.exit("whitespace"),l(t))}function l(o){return null===o||(0,n.markdownLineEnding)(o)?(e.exit(i),t(o)):r(o)}},partial:!0};let u;return{tokenize:function(i,a,c){const l=this;return function(n){const o=l.now();if(1!==o.column||!r&&1!==o.line)return c(n);return i.enter(t),u=h(e,"open"),i.attempt(s,f,c)(n)};function f(t){return u=h(e,"close"),m(t)}function p(e){return null===e||(0,n.markdownLineEnding)(e)?m(e):(i.enter(o),d(e))}function d(e){return null===e||(0,n.markdownLineEnding)(e)?(i.exit(o),m(e)):(i.consume(e),d)}function m(e){return null===e?c(e):(i.enter("lineEnding"),i.consume(e),i.exit("lineEnding"),i.attempt(s,g,p))}function g(e){return i.exit(t),a(e)}},concrete:!0}}function h(e,t){return e.marker?p(e.marker,t).repeat(3):p(e.fence,t)}function p(e,t){return"string"==typeof e?e:e[t]}function d(e){return function(t){this.enter({type:e.type,value:""},t),this.buffer()}}function m(e){const t=this.resume();this.exit(e).value=t.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,"")}function g(e){this.config.enter.data.call(this,e),this.config.exit.data.call(this,e)}function y(e){const t=v(e,"open"),r=v(e,"close");return function(e){return t+(e.value?"\n"+e.value:"")+"\n"+r}}function v(e,t){return e.marker?b(e.marker,t).repeat(3):b(e.fence,t)}function b(e,t){return"string"==typeof e?e:e[t]}function E(e="yaml"){const t=this.data();function r(e,r){(t[e]?t[e]:t[e]=[]).push(r)}r("micromarkExtensions",function(e){const t=c(e),r={};let n=-1;for(;++n<t.length;){const e=t[n],o=h(e,"open").charCodeAt(0);o in r?r[o].push(f(e)):r[o]=[f(e)]}return{flow:r}}(e)),r("fromMarkdownExtensions",function(e){const t=c(e),r={},n={};let o=-1;for(;++o<t.length;){const e=t[o];r[e.type]=d(e),n[e.type]=m,n[e.type+"Value"]=g}return{enter:r,exit:n}}(e)),r("toMarkdownExtensions",function(e){const t=[],r={},n=c(e);let o=-1;for(;++o<n.length;){const e=n[o];r[e.type]=y(e),t.push({atBreak:!0,character:v(e,"open").charAt(0)})}return{unsafe:t,handlers:r}}(e))}},52795:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>ze});var n=r(89063),o=r(19967);const i={tokenize:function(e,t,r){return function(t){return e.consume(t),n};function n(t){return 87===t||119===t?(e.consume(t),i):r(t)}function i(t){return 87===t||119===t?(e.consume(t),a):r(t)}function a(t){return 46===t?(e.consume(t),s):r(t)}function s(e){return null===e||(0,o.markdownLineEnding)(e)?r(e):t(e)}},partial:!0},a={tokenize:function(e,t,r){let n,i;return a;function a(t){return 38===t?e.check(c,l,s)(t):46===t||95===t?e.check(u,l,s)(t):null===t||(0,o.asciiControl)(t)||(0,o.unicodeWhitespace)(t)||45!==t&&(0,o.unicodePunctuation)(t)?l(t):(e.consume(t),a)}function s(t){return 46===t?(i=n,n=void 0,e.consume(t),a):(95===t&&(n=!0),e.consume(t),a)}function l(e){return i||n?r(e):t(e)}},partial:!0},s={tokenize:function(e,t){let r=0;return n;function n(a){return 38===a?e.check(c,t,o)(a):(40===a&&r++,41===a?e.check(u,i,o)(a):y(a)?t(a):g(a)?e.check(u,t,o)(a):(e.consume(a),n))}function o(t){return e.consume(t),n}function i(e){return r--,r<0?t(e):o(e)}},partial:!0},u={tokenize:function(e,t,r){return function(t){return e.consume(t),n};function n(o){return g(o)?(e.consume(o),n):y(o)?t(o):r(o)}},partial:!0},c={tokenize:function(e,t,r){return function(t){return e.consume(t),n};function n(t){return(0,o.asciiAlpha)(t)?(e.consume(t),n):59===t?(e.consume(t),i):r(t)}function i(e){return y(e)?t(e):r(e)}},partial:!0},l={tokenize:function(e,t,r){const n=this;return function(t){if(87!==t&&119!==t||!b(n.previous)||w(n.events))return r(t);return e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(i,e.attempt(a,e.attempt(s,o),r),r)(t)};function o(r){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(r)}},previous:b},f={tokenize:function(e,t,r){const n=this;return function(t){if(72!==t&&104!==t||!E(n.previous)||w(n.events))return r(t);return e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),e.consume(t),i};function i(t){return 84===t||116===t?(e.consume(t),u):r(t)}function u(t){return 84===t||116===t?(e.consume(t),c):r(t)}function c(t){return 80===t||112===t?(e.consume(t),l):r(t)}function l(t){return 83===t||115===t?(e.consume(t),f):f(t)}function f(t){return 58===t?(e.consume(t),h):r(t)}function h(t){return 47===t?(e.consume(t),p):r(t)}function p(t){return 47===t?(e.consume(t),d):r(t)}function d(t){return null===t||(0,o.asciiControl)(t)||(0,o.unicodeWhitespace)(t)||(0,o.unicodePunctuation)(t)?r(t):e.attempt(a,e.attempt(s,m),r)(t)}function m(r){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(r)}},previous:E},h={tokenize:function(e,t,r){const n=this;let i,a;return function(t){if(!v(t)||!D(n.previous)||w(n.events))return r(t);return e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),s(t)};function s(t){return v(t)?(e.consume(t),s):64===t?(e.consume(t),c):r(t)}function c(t){return 46===t?e.check(u,p,l)(t):45===t||95===t?e.check(u,r,f)(t):(0,o.asciiAlphanumeric)(t)?(!a&&(0,o.asciiDigit)(t)&&(a=!0),e.consume(t),c):p(t)}function l(t){return e.consume(t),i=!0,a=void 0,c}function f(t){return e.consume(t),h}function h(t){return 46===t?e.check(u,r,l)(t):c(t)}function p(n){return i&&!a?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(n)):r(n)}},previous:D},p={},d={text:p};let m=48;for(;m<123;)p[m]=h,m++,58===m?m=65:91===m&&(m=97);function g(e){return 33===e||34===e||39===e||41===e||42===e||44===e||46===e||58===e||59===e||60===e||63===e||95===e||126===e}function y(e){return null===e||60===e||(0,o.markdownLineEndingOrSpace)(e)}function v(e){return 43===e||45===e||46===e||95===e||(0,o.asciiAlphanumeric)(e)}function b(e){return null===e||40===e||42===e||95===e||126===e||(0,o.markdownLineEndingOrSpace)(e)}function E(e){return null===e||!(0,o.asciiAlpha)(e)}function D(e){return 47!==e&&E(e)}function w(e){let t=e.length,r=!1;for(;t--;){const n=e[t][1];if(("labelLink"===n.type||"labelImage"===n.type)&&!n._balanced){r=!0;break}if(n._gfmAutolinkLiteralWalkedInto){r=!1;break}}return e.length>0&&!r&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),r}p[43]=h,p[45]=h,p[46]=h,p[95]=h,p[72]=[h,f],p[104]=[h,f],p[87]=[h,l],p[119]=[h,l];var x=r(58775),F=r(46050),S=r(37618);const A={tokenize:function(e,t,r){const n=this;return(0,F.factorySpace)(e,(function(e){const o=n.events[n.events.length-1];return o&&"gfmFootnoteDefinitionIndent"===o[1].type&&4===o[2].sliceSerialize(o[1],!0).length?t(e):r(e)}),"gfmFootnoteDefinitionIndent",5)},partial:!0};function k(e,t,r){const n=this;let o=n.events.length;const i=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]);let a;for(;o--;){const e=n.events[o][1];if("labelImage"===e.type){a=e;break}if("gfmFootnoteCall"===e.type||"labelLink"===e.type||"label"===e.type||"image"===e.type||"link"===e.type)break}return function(o){if(!a||!a._balanced)return r(o);const s=(0,S.normalizeIdentifier)(n.sliceSerialize({start:a.end,end:n.now()}));if(94!==s.charCodeAt(0)||!i.includes(s.slice(1)))return r(o);return e.enter("gfmFootnoteCallLabelMarker"),e.consume(o),e.exit("gfmFootnoteCallLabelMarker"),t(o)}}function C(e,t){let r,n=e.length;for(;n--;)if("labelImage"===e[n][1].type&&"enter"===e[n][0]){r=e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";const o={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},i={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};i.end.column++,i.end.offset++,i.end._bufferIndex++;const a={type:"gfmFootnoteCallString",start:Object.assign({},i.end),end:Object.assign({},e[e.length-1][1].start)},s={type:"chunkString",contentType:"string",start:Object.assign({},a.start),end:Object.assign({},a.end)},u=[e[n+1],e[n+2],["enter",o,t],e[n+3],e[n+4],["enter",i,t],["exit",i,t],["enter",a,t],["enter",s,t],["exit",s,t],["exit",a,t],e[e.length-2],e[e.length-1],["exit",o,t]];return e.splice(n,e.length-n+1,...u),e}function P(e,t,r){const n=this,i=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]);let a,s=0;return function(t){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(t),e.exit("gfmFootnoteCallLabelMarker"),u};function u(t){return 94!==t?r(t):(e.enter("gfmFootnoteCallMarker"),e.consume(t),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",c)}function c(u){let f;return null===u||91===u||s++>999?r(u):93===u?a?(e.exit("chunkString"),f=e.exit("gfmFootnoteCallString"),i.includes((0,S.normalizeIdentifier)(n.sliceSerialize(f)))?function(r){return e.enter("gfmFootnoteCallLabelMarker"),e.consume(r),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t}(u):r(u)):r(u):(e.consume(u),(0,o.markdownLineEndingOrSpace)(u)||(a=!0),92===u?l:c)}function l(t){return 91===t||92===t||93===t?(e.consume(t),s++,c):c(t)}}function O(e,t,r){const n=this,i=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]);let a,s,u=0;return function(t){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),c};function c(t){return 94===t?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),l):r(t)}function l(t){let i;return null===t||91===t||u>999?r(t):93===t?s?(i=e.exit("gfmFootnoteDefinitionLabelString"),a=(0,S.normalizeIdentifier)(n.sliceSerialize(i)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),p):r(t):(0,o.markdownLineEnding)(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),u++,l):(e.enter("chunkString").contentType="string",f(t))}function f(t){return null===t||(0,o.markdownLineEnding)(t)||91===t||93===t||u>999?(e.exit("chunkString"),l(t)):((0,o.markdownLineEndingOrSpace)(t)||(s=!0),u++,e.consume(t),92===t?h:f)}function h(t){return 91===t||92===t||93===t?(e.consume(t),u++,f):f(t)}function p(t){return 58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),(0,F.factorySpace)(e,d,"gfmFootnoteDefinitionWhitespace")):r(t)}function d(e){return i.includes(a)||i.push(a),t(e)}}function j(e,t,r){return e.check(x.w,t,e.attempt(A,t,r))}function T(e){e.exit("gfmFootnoteDefinition")}var _=r(11707),B=r(85618),R=r(79142);function I(e={}){let t=e.singleTilde;const r={tokenize:function(e,r,n){const o=this.previous,i=this.events;let a=0;return function(t){if(126===o&&"characterEscape"!==i[i.length-1][1].type)return n(t);return e.enter("strikethroughSequenceTemporary"),s(t)};function s(i){const u=(0,B.r)(o);if(126===i)return a>1?n(i):(e.consume(i),a++,s);if(a<2&&!t)return n(i);const c=e.exit("strikethroughSequenceTemporary"),l=(0,B.r)(i);return c._open=!l||2===l&&Boolean(u),c._close=!u||2===u&&Boolean(l),r(i)}},resolveAll:function(e,t){let r=-1;for(;++r<e.length;)if("enter"===e[r][0]&&"strikethroughSequenceTemporary"===e[r][1].type&&e[r][1]._close){let n=r;for(;n--;)if("exit"===e[n][0]&&"strikethroughSequenceTemporary"===e[n][1].type&&e[n][1]._open&&e[r][1].end.offset-e[r][1].start.offset==e[n][1].end.offset-e[n][1].start.offset){e[r][1].type="strikethroughSequence",e[n][1].type="strikethroughSequence";const o={type:"strikethrough",start:Object.assign({},e[n][1].start),end:Object.assign({},e[r][1].end)},i={type:"strikethroughText",start:Object.assign({},e[n][1].end),end:Object.assign({},e[r][1].start)},a=[["enter",o,t],["enter",e[n][1],t],["exit",e[n][1],t],["enter",i,t]];(0,_.d)(a,a.length,0,(0,R.C)(t.parser.constructs.insideSpan.null,e.slice(n+1,r),t)),(0,_.d)(a,a.length,0,[["exit",i,t],["enter",e[r][1],t],["exit",e[r][1],t],["exit",o,t]]),(0,_.d)(e,n-1,r-n+3,a),r=n+a.length-2;break}}r=-1;for(;++r<e.length;)"strikethroughSequenceTemporary"===e[r][1].type&&(e[r][1].type="data");return e}};return null==t&&(t=!0),{text:{126:r},insideSpan:{null:[r]},attentionMarkers:{null:[126]}}}const L={flow:{null:{tokenize:function(e,t,r){const n=this,i=[];let a,s,u=0;return function(t){if(e.enter("table")._align=i,e.enter("tableHead"),e.enter("tableRow"),124===t)return c(t);return u++,e.enter("temporaryTableCellContent"),h(t)};function c(t){return e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),a=!0,l}function l(t){return null===t||(0,o.markdownLineEnding)(t)?function(t){if(null===t)return r(t);e.exit("tableRow"),e.exit("tableHead");const o=n.interrupt;return n.interrupt=!0,e.attempt({tokenize:O,partial:!0},(function(t){return n.interrupt=o,e.enter("tableDelimiterRow"),d(t)}),(function(e){return n.interrupt=o,r(e)}))(t)}(t):(0,o.markdownSpace)(t)?(e.enter("whitespace"),e.consume(t),f):(a&&(a=void 0,u++),124===t?c(t):(e.enter("temporaryTableCellContent"),h(t)))}function f(t){return(0,o.markdownSpace)(t)?(e.consume(t),f):(e.exit("whitespace"),l(t))}function h(t){return null===t||124===t||(0,o.markdownLineEndingOrSpace)(t)?(e.exit("temporaryTableCellContent"),l(t)):(e.consume(t),92===t?p:h)}function p(t){return 92===t||124===t?(e.consume(t),h):h(t)}function d(t){return null===t||(0,o.markdownLineEnding)(t)?b(t):(0,o.markdownSpace)(t)?(e.enter("whitespace"),e.consume(t),m):45===t?(e.enter("tableDelimiterFiller"),e.consume(t),s=!0,i.push("none"),g):58===t?(e.enter("tableDelimiterAlignment"),e.consume(t),e.exit("tableDelimiterAlignment"),i.push("left"),y):124===t?(e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),d):r(t)}function m(t){return(0,o.markdownSpace)(t)?(e.consume(t),m):(e.exit("whitespace"),d(t))}function g(t){return 45===t?(e.consume(t),g):(e.exit("tableDelimiterFiller"),58===t?(e.enter("tableDelimiterAlignment"),e.consume(t),e.exit("tableDelimiterAlignment"),i[i.length-1]="left"===i[i.length-1]?"center":"right",v):d(t))}function y(t){return 45===t?(e.enter("tableDelimiterFiller"),e.consume(t),s=!0,g):r(t)}function v(t){return null===t||(0,o.markdownLineEnding)(t)?b(t):(0,o.markdownSpace)(t)?(e.enter("whitespace"),e.consume(t),m):124===t?(e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),d):r(t)}function b(t){return e.exit("tableDelimiterRow"),s&&u===i.length?null===t?E(t):e.check(M,E,e.attempt({tokenize:O,partial:!0},(0,F.factorySpace)(e,D,"linePrefix",4),E))(t):r(t)}function E(r){return e.exit("table"),t(r)}function D(t){return e.enter("tableBody"),w(t)}function w(t){return e.enter("tableRow"),124===t?x(t):(e.enter("temporaryTableCellContent"),k(t))}function x(t){return e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),S}function S(t){return null===t||(0,o.markdownLineEnding)(t)?function(t){if(e.exit("tableRow"),null===t)return P(t);return e.check(M,P,e.attempt({tokenize:O,partial:!0},(0,F.factorySpace)(e,w,"linePrefix",4),P))(t)}(t):(0,o.markdownSpace)(t)?(e.enter("whitespace"),e.consume(t),A):124===t?x(t):(e.enter("temporaryTableCellContent"),k(t))}function A(t){return(0,o.markdownSpace)(t)?(e.consume(t),A):(e.exit("whitespace"),S(t))}function k(t){return null===t||124===t||(0,o.markdownLineEndingOrSpace)(t)?(e.exit("temporaryTableCellContent"),S(t)):(e.consume(t),92===t?C:k)}function C(t){return 92===t||124===t?(e.consume(t),k):k(t)}function P(t){return e.exit("tableBody"),E(t)}function O(e,t,r){return function(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),(0,F.factorySpace)(e,i,"linePrefix")};function i(i){if(n.parser.lazy[n.now().line]||null===i||(0,o.markdownLineEnding)(i))return r(i);const a=n.events[n.events.length-1];return!n.parser.constructs.disable.null.includes("codeIndented")&&a&&"linePrefix"===a[1].type&&a[2].sliceSerialize(a[1],!0).length>=4?r(i):(n._gfmTableDynamicInterruptHack=!0,e.check(n.parser.constructs.flow,(function(e){return n._gfmTableDynamicInterruptHack=!1,r(e)}),(function(e){return n._gfmTableDynamicInterruptHack=!1,t(e)}))(i))}}},resolve:function(e,t){let r,n,o,i,a,s,u,c=-1;for(;++c<e.length;){const l=e[c][1];if(o&&("temporaryTableCellContent"===l.type&&(i=i||c,a=c),("tableCellDivider"===l.type||"tableRow"===l.type)&&a)){const r={type:"tableContent",start:e[i][1].start,end:e[a][1].end},n={type:"chunkText",start:r.start,end:r.end,contentType:"text"};e.splice(i,a-i+1,["enter",r,t],["enter",n,t],["exit",n,t],["exit",r,t]),c-=a-i-3,i=void 0,a=void 0}if("exit"===e[c][0]&&void 0!==s&&s+(u?0:1)<c&&("tableCellDivider"===l.type||"tableRow"===l.type&&(s+3<c||"whitespace"!==e[s][1].type))){const o={type:n?"tableDelimiter":r?"tableHeader":"tableData",start:e[s][1].start,end:e[c][1].end};e.splice(c+("tableCellDivider"===l.type?1:0),0,["exit",o,t]),e.splice(s,0,["enter",o,t]),c+=2,s=c+1,u=!0}"tableRow"===l.type&&(o="enter"===e[c][0],o&&(s=c+1,u=!1)),"tableDelimiterRow"===l.type&&(n="enter"===e[c][0],n&&(s=c+1,u=!1)),"tableHead"===l.type&&(r="enter"===e[c][0])}return e}}}},M={tokenize:function(e,t,r){let n=0;return function(t){return e.enter("check"),e.consume(t),i};function i(a){return-1===a||32===a?(e.consume(a),n++,4===n?t:i):null===a||(0,o.markdownLineEndingOrSpace)(a)?t(a):r(a)}},partial:!0};const N={tokenize:function(e,t,r){const n=this;return function(t){if(null!==n.previous||!n._gfmTasklistFirstContentOfListItem)return r(t);return e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),i};function i(t){return(0,o.markdownLineEndingOrSpace)(t)?(e.enter("taskListCheckValueUnchecked"),e.consume(t),e.exit("taskListCheckValueUnchecked"),a):88===t||120===t?(e.enter("taskListCheckValueChecked"),e.consume(t),e.exit("taskListCheckValueChecked"),a):r(t)}function a(n){return 93===n?(e.enter("taskListCheckMarker"),e.consume(n),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),e.check({tokenize:U},t,r)):r(n)}}},$={text:{91:N}};function U(e,t,r){const n=this;return(0,F.factorySpace)(e,(function(e){const i=n.events[n.events.length-1];return(i&&"whitespace"===i[1].type||(0,o.markdownLineEnding)(e))&&null!==e?t(e):r(e)}),"whitespace")}function z(e,t){const r=String(e);if("string"!=typeof t)throw new TypeError("Expected character");let n=0,o=r.indexOf(t);for(;-1!==o;)n++,o=r.indexOf(t,o+t.length);return n}var H=r(50819),q=r(44516);const V={}.hasOwnProperty,G=function(e,t,r,n){let o,i;"string"==typeof t||t instanceof RegExp?(i=[[t,r]],o=n):(i=t,o=r),o||(o={});const a=(0,q.O)(o.ignore||[]),s=function(e){const t=[];if("object"!=typeof e)throw new TypeError("Expected array or object as schema");if(Array.isArray(e)){let r=-1;for(;++r<e.length;)t.push([W(e[r][0]),Q(e[r][1])])}else{let r;for(r in e)V.call(e,r)&&t.push([W(r),Q(e[r])])}return t}(i);let u=-1;for(;++u<s.length;)(0,H.S4)(e,"text",c);return e;function c(e,t){let r,n=-1;for(;++n<t.length;){const e=t[n];if(a(e,r?r.children.indexOf(e):void 0,r))return;r=e}if(r)return function(e,t){const r=t[t.length-1],n=s[u][0],o=s[u][1];let i=0;const a=r.children.indexOf(e);let c=!1,l=[];n.lastIndex=0;let f=n.exec(e.value);for(;f;){const r=f.index,a={index:f.index,input:f.input,stack:[...t,e]};let s=o(...f,a);if("string"==typeof s&&(s=s.length>0?{type:"text",value:s}:void 0),!1!==s&&(i!==r&&l.push({type:"text",value:e.value.slice(i,r)}),Array.isArray(s)?l.push(...s):s&&l.push(s),i=r+f[0].length,c=!0),!n.global)break;f=n.exec(e.value)}c?(i<e.value.length&&l.push({type:"text",value:e.value.slice(i)}),r.children.splice(a,1,...l)):l=[e];return a+l.length}(e,t)}};function W(e){return"string"==typeof e?new RegExp(function(e){if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}(e),"g"):e}function Q(e){return"function"==typeof e?e:()=>e}const K="phrasing",Y=["autolink","link","image","label"],Z={transforms:[function(e){G(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,ee],[/([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/g,te]],{ignore:["link","linkReference"]})}],enter:{literalAutolink:function(e){this.enter({type:"link",title:null,url:"",children:[]},e)},literalAutolinkEmail:X,literalAutolinkHttp:X,literalAutolinkWww:X},exit:{literalAutolink:function(e){this.exit(e)},literalAutolinkEmail:function(e){this.config.exit.autolinkEmail.call(this,e)},literalAutolinkHttp:function(e){this.config.exit.autolinkProtocol.call(this,e)},literalAutolinkWww:function(e){this.config.exit.data.call(this,e);this.stack[this.stack.length-1].url="http://"+this.sliceSerialize(e)}}},J={unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:K,notInConstruct:Y},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:K,notInConstruct:Y},{character:":",before:"[ps]",after:"\\/",inConstruct:K,notInConstruct:Y}]};function X(e){this.config.enter.autolinkProtocol.call(this,e)}function ee(e,t,r,n,o){let i="";if(!re(o))return!1;if(/^w/i.test(t)&&(r=t+r,t="",i="http://"),!function(e){const t=e.split(".");if(t.length<2||t[t.length-1]&&(/_/.test(t[t.length-1])||!/[a-zA-Z\d]/.test(t[t.length-1]))||t[t.length-2]&&(/_/.test(t[t.length-2])||!/[a-zA-Z\d]/.test(t[t.length-2])))return!1;return!0}(r))return!1;const a=function(e){const t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let r=t[0],n=r.indexOf(")");const o=z(e,"(");let i=z(e,")");for(;-1!==n&&o>i;)e+=r.slice(0,n+1),r=r.slice(n+1),n=r.indexOf(")"),i++;return[e,r]}(r+n);if(!a[0])return!1;const s={type:"link",title:null,url:i+t+a[0],children:[{type:"text",value:t+a[0]}]};return a[1]?[s,{type:"text",value:a[1]}]:s}function te(e,t,r,n){return!(!re(n,!0)||/[-\d_]$/.test(r))&&{type:"link",title:null,url:"mailto:"+t+"@"+r,children:[{type:"text",value:t+"@"+r}]}}function re(e,t){const r=e.input.charCodeAt(e.index-1);return(0===e.index||(0,o.unicodeWhitespace)(r)||(0,o.unicodePunctuation)(r))&&(!t||47!==r)}var ne=r(12006);function oe(e){return e.label||!e.identifier?e.label||"":(0,ne.v)(e.identifier)}var ie=r(85771);const ae=/\r?\n|\r/g;function se(e){if(!e._compiled){const t=(e.atBreak?"[\\r\\n][\\t ]*":"")+(e.before?"(?:"+e.before+")":"");e._compiled=new RegExp((t?"("+t+")":"")+(/[|\\{}()[\]^$+*?.-]/.test(e.character)?"\\":"")+e.character+(e.after?"(?:"+e.after+")":""),"g")}return e._compiled}function ue(e,t){return ce(e,t.inConstruct,!0)&&!ce(e,t.notInConstruct,!1)}function ce(e,t,r){if("string"==typeof t&&(t=[t]),!t||0===t.length)return r;let n=-1;for(;++n<t.length;)if(e.includes(t[n]))return!0;return!1}function le(e,t,r){const n=(r.before||"")+(t||"")+(r.after||""),o=[],i=[],a={};let s=-1;for(;++s<e.unsafe.length;){const t=e.unsafe[s];if(!ue(e.stack,t))continue;const r=se(t);let i;for(;i=r.exec(n);){const e="before"in t||Boolean(t.atBreak),r="after"in t,n=i.index+(e?i[1].length:0);o.includes(n)?(a[n].before&&!e&&(a[n].before=!1),a[n].after&&!r&&(a[n].after=!1)):(o.push(n),a[n]={before:e,after:r})}}o.sort(fe);let u=r.before?r.before.length:0;const c=n.length-(r.after?r.after.length:0);for(s=-1;++s<o.length;){const e=o[s];e<u||e>=c||(e+1<c&&o[s+1]===e+1&&a[e].after&&!a[e+1].before&&!a[e+1].after||o[s-1]===e-1&&a[e].before&&!a[e-1].before&&!a[e-1].after||(u!==e&&i.push(he(n.slice(u,e),"\\")),u=e,!/[!-/:-@[-`{-~]/.test(n.charAt(e))||r.encode&&r.encode.includes(n.charAt(e))?(i.push("&#x"+n.charCodeAt(e).toString(16).toUpperCase()+";"),u++):i.push("\\")))}return i.push(he(n.slice(u,c),r.after)),i.join("")}function fe(e,t){return e-t}function he(e,t){const r=/\\(?=[!-/:-@[-`{-~])/g,n=[],o=[],i=e+t;let a,s=-1,u=0;for(;a=r.exec(i);)n.push(a.index);for(;++s<n.length;)u!==n[s]&&o.push(e.slice(u,n[s])),o.push("\\"),u=n[s];return o.push(e.slice(u)),o.join("")}var pe=r(87717);function de(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function me(){this.buffer()}function ge(e){const t=this.resume(),r=this.stack[this.stack.length-1];r.label=t,r.identifier=(0,S.normalizeIdentifier)(this.sliceSerialize(e)).toLowerCase()}function ye(e){this.exit(e)}function ve(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function be(){this.buffer()}function Ee(e){const t=this.resume(),r=this.stack[this.stack.length-1];r.label=t,r.identifier=(0,S.normalizeIdentifier)(this.sliceSerialize(e)).toLowerCase()}function De(e){this.exit(e)}function we(e,t,r,n){const o=(0,pe.j)(n);let i=o.move("[^");const a=r.enter("footnoteReference"),s=r.enter("reference");return i+=o.move(le(r,oe(e),{...o.current(),before:i,after:"]"})),s(),a(),i+=o.move("]"),i}function xe(e,t,r,n){const o=(0,pe.j)(n);let i=o.move("[^");const a=r.enter("footnoteDefinition"),s=r.enter("label");return i+=o.move(le(r,oe(e),{...o.current(),before:i,after:"]"})),s(),i+=o.move("]:"+(e.children&&e.children.length>0?" ":"")),o.shift(4),i+=o.move(function(e,t){const r=[];let n,o=0,i=0;for(;n=ae.exec(e);)a(e.slice(o,n.index)),r.push(n[0]),o=n.index+n[0].length,i++;return a(e.slice(o)),r.join("");function a(e){r.push(t(e,i,!e))}}((0,ie.K)(e,r,o.current()),Fe)),a(),i}function Fe(e,t,r){return 0===t?e:(r?"":" ")+e}we.peek=function(){return"["};var Se=r(48736);Ce.peek=function(){return"~"};const Ae={canContainEols:["delete"],enter:{strikethrough:function(e){this.enter({type:"delete",children:[]},e)}},exit:{strikethrough:function(e){this.exit(e)}}},ke={unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"]}],handlers:{delete:Ce}};function Ce(e,t,r,n){const o=(0,pe.j)(n),i=r.enter("strikethrough");let a=o.move("~~");return a+=(0,Se.p)(e,r,{...o.current(),before:a,after:"~"}),a+=o.move("~~"),i(),a}function Pe(e,t,r){let n=e.value||"",o="`",i=-1;for(;new RegExp("(^|[^`])"+o+"([^`]|$)").test(n);)o+="`";for(/[^ \r\n]/.test(n)&&(/^[ \r\n]/.test(n)&&/[ \r\n]$/.test(n)||/^`|`$/.test(n))&&(n=" "+n+" ");++i<r.unsafe.length;){const e=r.unsafe[i],t=se(e);let o;if(e.atBreak)for(;o=t.exec(n);){let e=o.index;10===n.charCodeAt(e)&&13===n.charCodeAt(e-1)&&e--,n=n.slice(0,e)+" "+n.slice(o.index+1)}}return o+n+o}function Oe(e){return null==e?"":String(e)}function je(e){return e.length}function Te(e){const t="string"==typeof e?e.codePointAt(0):0;return 67===t||99===t?99:76===t||108===t?108:82===t||114===t?114:0}Pe.peek=function(){return"`"};const _e={enter:{table:function(e){const t=e._align;this.enter({type:"table",align:t.map((e=>"none"===e?null:e)),children:[]},e),this.setData("inTable",!0)},tableData:Re,tableHeader:Re,tableRow:function(e){this.enter({type:"tableRow",children:[]},e)}},exit:{codeText:function(e){let t=this.resume();this.getData("inTable")&&(t=t.replace(/\\([\\|])/g,Ie));this.stack[this.stack.length-1].value=t,this.exit(e)},table:function(e){this.exit(e),this.setData("inTable")},tableData:Be,tableHeader:Be,tableRow:Be}};function Be(e){this.exit(e)}function Re(e){this.enter({type:"tableCell",children:[]},e)}function Ie(e,t){return"|"===t?t:e}function Le(e){const t=e||{},r=t.tableCellPadding,n=t.tablePipeAlign,o=t.stringLength,i=r?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:"\n",inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[\t :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{table:function(e,t,r,n){return s(function(e,t,r){const n=e.children;let o=-1;const i=[],a=t.enter("table");for(;++o<n.length;)i[o]=u(n[o],t,r);return a(),i}(e,r,n),e.align)},tableRow:function(e,t,r,n){const o=s([u(e,r,n)]);return o.slice(0,o.indexOf("\n"))},tableCell:a,inlineCode:function(e,t,r){let n=Pe(e,0,r);r.stack.includes("tableCell")&&(n=n.replace(/\|/g,"\\$&"));return n}}};function a(e,t,r,n){const o=r.enter("tableCell"),a=r.enter("phrasing"),s=(0,Se.p)(e,r,{...n,before:i,after:i});return a(),o(),s}function s(e,t){return function(e,t={}){const r=(t.align||[]).concat(),n=t.stringLength||je,o=[],i=[],a=[],s=[];let u=0,c=-1;for(;++c<e.length;){const r=[],o=[];let l=-1;for(e[c].length>u&&(u=e[c].length);++l<e[c].length;){const i=Oe(e[c][l]);if(!1!==t.alignDelimiters){const e=n(i);o[l]=e,(void 0===s[l]||e>s[l])&&(s[l]=e)}r.push(i)}i[c]=r,a[c]=o}let l=-1;if("object"==typeof r&&"length"in r)for(;++l<u;)o[l]=Te(r[l]);else{const e=Te(r);for(;++l<u;)o[l]=e}l=-1;const f=[],h=[];for(;++l<u;){const e=o[l];let r="",n="";99===e?(r=":",n=":"):108===e?r=":":114===e&&(n=":");let i=!1===t.alignDelimiters?1:Math.max(1,s[l]-r.length-n.length);const a=r+"-".repeat(i)+n;!1!==t.alignDelimiters&&(i=r.length+i+n.length,i>s[l]&&(s[l]=i),h[l]=i),f[l]=a}i.splice(1,0,f),a.splice(1,0,h),c=-1;const p=[];for(;++c<i.length;){const e=i[c],r=a[c];l=-1;const n=[];for(;++l<u;){const i=e[l]||"";let a="",c="";if(!1!==t.alignDelimiters){const e=s[l]-(r[l]||0),t=o[l];114===t?a=" ".repeat(e):99===t?e%2?(a=" ".repeat(e/2+.5),c=" ".repeat(e/2-.5)):(a=" ".repeat(e/2),c=a):c=" ".repeat(e)}!1===t.delimiterStart||l||n.push("|"),!1===t.padding||!1===t.alignDelimiters&&""===i||!1===t.delimiterStart&&!l||n.push(" "),!1!==t.alignDelimiters&&n.push(a),n.push(i),!1!==t.alignDelimiters&&n.push(c),!1!==t.padding&&n.push(" "),!1===t.delimiterEnd&&l===u-1||n.push("|")}p.push(!1===t.delimiterEnd?n.join("").replace(/ +$/,""):n.join(""))}return p.join("\n")}(e,{align:t,alignDelimiters:n,padding:r,stringLength:o})}function u(e,t,r){const n=e.children;let o=-1;const i=[],s=t.enter("tableRow");for(;++o<n.length;)i[o]=a(n[o],0,t,r);return s(),i}}function Me(e,t,r,n){const o=function(e){const t=e.options.listItemIndent||"tab";if(1===t||"1"===t)return"one";if("tab"!==t&&"one"!==t&&"mixed"!==t)throw new Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return t}(r);let i=r.bulletCurrent||function(e){const t=e.options.bullet||"*";if("*"!==t&&"+"!==t&&"-"!==t)throw new Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}(r);t&&"list"===t.type&&t.ordered&&(i=("number"==typeof t.start&&t.start>-1?t.start:1)+(!1===r.options.incrementListMarker?0:t.children.indexOf(e))+i);let a=i.length+1;("tab"===o||"mixed"===o&&(t&&"list"===t.type&&t.spread||e.spread))&&(a=4*Math.ceil(a/4));const s=r.createTracker(n);s.move(i+" ".repeat(a-i.length)),s.shift(a);const u=r.enter("listItem"),c=r.indentLines(r.containerFlow(e,s.current()),(function(e,t,r){if(t)return(r?"":" ".repeat(a))+e;return(r?i:i+" ".repeat(a-i.length))+e}));return u(),c}const Ne={exit:{taskListCheckValueChecked:Ue,taskListCheckValueUnchecked:Ue,paragraph:function(e){const t=this.stack[this.stack.length-2];if(t&&"listItem"===t.type&&"boolean"==typeof t.checked){const e=this.stack[this.stack.length-1],r=e.children[0];if(r&&"text"===r.type){const n=t.children;let o,i=-1;for(;++i<n.length;){const e=n[i];if("paragraph"===e.type){o=e;break}}o===e&&(r.value=r.value.slice(1),0===r.value.length?e.children.shift():e.position&&r.position&&"number"==typeof r.position.start.offset&&(r.position.start.column++,r.position.start.offset++,e.position.start=Object.assign({},r.position.start)))}}this.exit(e)}}},$e={unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:function(e,t,r,n){const o=e.children[0],i="boolean"==typeof e.checked&&o&&"paragraph"===o.type,a="["+(e.checked?"x":" ")+"] ",s=(0,pe.j)(n);i&&s.move(a);let u=Me(e,t,r,{...n,...s.current()});i&&(u=u.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,(function(e){return e+a})));return u}}};function Ue(e){this.stack[this.stack.length-2].checked="taskListCheckValueChecked"===e.type}function ze(e={}){const t=this.data();function r(e,r){(t[e]?t[e]:t[e]=[]).push(r)}r("micromarkExtensions",function(e){return(0,n.W)([d,{document:{91:{tokenize:O,continuation:{tokenize:j},exit:T}},text:{91:{tokenize:P},93:{add:"after",tokenize:k,resolveTo:C}}},I(e),L,$])}(e)),r("fromMarkdownExtensions",[Z,{enter:{gfmFootnoteDefinition:de,gfmFootnoteDefinitionLabelString:me,gfmFootnoteCall:ve,gfmFootnoteCallString:be},exit:{gfmFootnoteDefinition:ye,gfmFootnoteDefinitionLabelString:ge,gfmFootnoteCall:De,gfmFootnoteCallString:Ee}},Ae,_e,Ne]),r("toMarkdownExtensions",function(e){return{extensions:[J,{unsafe:[{character:"[",inConstruct:["phrasing","label","reference"]}],handlers:{footnoteDefinition:xe,footnoteReference:we}},ke,Le(e),$e]}}(e))}},24851:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>fe});var n={};r.r(n),r.d(n,{attentionMarkers:()=>Y,contentInitial:()=>q,disable:()=>Z,document:()=>H,flow:()=>G,flowInitial:()=>V,insideSpan:()=>K,string:()=>W,text:()=>Q});var o=r(28989),i=r(89063),a=r(46050),s=r(19967);const u={tokenize:function(e){const t=e.attempt(this.parser.constructs.contentInitial,(function(r){if(null===r)return void e.consume(r);return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),(0,a.factorySpace)(e,t,"linePrefix")}),(function(t){return e.enter("paragraph"),n(t)}));let r;return t;function n(t){const n=e.enter("chunkText",{contentType:"text",previous:r});return r&&(r.next=n),r=n,o(t)}function o(t){return null===t?(e.exit("chunkText"),e.exit("paragraph"),void e.consume(t)):(0,s.markdownLineEnding)(t)?(e.consume(t),e.exit("chunkText"),n):(e.consume(t),o)}}};var c=r(11707);const l={tokenize:function(e){const t=this,r=[];let n,o,i,a=0;return u;function u(n){if(a<r.length){const o=r[a];return t.containerState=o[1],e.attempt(o[0].continuation,l,h)(n)}return h(n)}function l(e){if(a++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,n&&D();const r=t.events.length;let o,i=r;for(;i--;)if("exit"===t.events[i][0]&&"chunkFlow"===t.events[i][1].type){o=t.events[i][1].end;break}E(a);let s=r;for(;s<t.events.length;)t.events[s][1].end=Object.assign({},o),s++;return(0,c.d)(t.events,i+1,0,t.events.slice(r)),t.events.length=s,h(e)}return u(e)}function h(o){if(a===r.length){if(!n)return m(o);if(n.currentConstruct&&n.currentConstruct.concrete)return y(o);t.interrupt=Boolean(n.currentConstruct&&!n._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(f,p,d)(o)}function p(e){return n&&D(),E(a),m(e)}function d(e){return t.parser.lazy[t.now().line]=a!==r.length,i=t.now().offset,y(e)}function m(r){return t.containerState={},e.attempt(f,g,y)(r)}function g(e){return a++,r.push([t.currentConstruct,t.containerState]),m(e)}function y(r){return null===r?(n&&D(),E(0),void e.consume(r)):(n=n||t.parser.flow(t.now()),e.enter("chunkFlow",{contentType:"flow",previous:o,_tokenizer:n}),v(r))}function v(r){return null===r?(b(e.exit("chunkFlow"),!0),E(0),void e.consume(r)):(0,s.markdownLineEnding)(r)?(e.consume(r),b(e.exit("chunkFlow")),a=0,t.interrupt=void 0,u):(e.consume(r),v)}function b(e,r){const s=t.sliceStream(e);if(r&&s.push(null),e.previous=o,o&&(o.next=e),o=e,n.defineSkip(e.start),n.write(s),t.parser.lazy[e.start.line]){let e=n.events.length;for(;e--;)if(n.events[e][1].start.offset<i&&(!n.events[e][1].end||n.events[e][1].end.offset>i))return;const r=t.events.length;let o,s,u=r;for(;u--;)if("exit"===t.events[u][0]&&"chunkFlow"===t.events[u][1].type){if(o){s=t.events[u][1].end;break}o=!0}for(E(a),e=r;e<t.events.length;)t.events[e][1].end=Object.assign({},s),e++;(0,c.d)(t.events,u+1,0,t.events.slice(r)),t.events.length=e}}function E(n){let o=r.length;for(;o-- >n;){const n=r[o];t.containerState=n[1],n[0].exit.call(t,e)}r.length=n}function D(){n.write([null]),o=void 0,n=void 0,t.containerState._closeFlow=void 0}}},f={tokenize:function(e,t,r){return(0,a.factorySpace)(e,e.attempt(this.parser.constructs.document,t,r),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}};var h=r(58775),p=r(52240);const d={tokenize:function(e){const t=this,r=e.attempt(h.w,(function(n){if(null===n)return void e.consume(n);return e.enter("lineEndingBlank"),e.consume(n),e.exit("lineEndingBlank"),t.currentConstruct=void 0,r}),e.attempt(this.parser.constructs.flowInitial,n,(0,a.factorySpace)(e,e.attempt(this.parser.constructs.flow,n,e.attempt(p.k,n)),"linePrefix")));return r;function n(n){if(null!==n)return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),t.currentConstruct=void 0,r;e.consume(n)}}};const m={resolveAll:b()},g=v("string"),y=v("text");function v(e){return{tokenize:function(t){const r=this,n=this.parser.constructs[e],o=t.attempt(n,i,a);return i;function i(e){return u(e)?o(e):a(e)}function a(e){if(null!==e)return t.enter("data"),t.consume(e),s;t.consume(e)}function s(e){return u(e)?(t.exit("data"),o(e)):(t.consume(e),s)}function u(e){if(null===e)return!0;const t=n[e];let o=-1;if(t)for(;++o<t.length;){const e=t[o];if(!e.previous||e.previous.call(r,r.previous))return!0}return!1}},resolveAll:b("text"===e?E:void 0)}}function b(e){return function(t,r){let n,o=-1;for(;++o<=t.length;)void 0===n?t[o]&&"data"===t[o][1].type&&(n=o,o++):t[o]&&"data"===t[o][1].type||(o!==n+2&&(t[n][1].end=t[o-1][1].end,t.splice(n+2,o-n-2),o=n+2),n=void 0);return e?e(t,r):t}}function E(e,t){let r=0;for(;++r<=e.length;)if((r===e.length||"lineEnding"===e[r][1].type)&&"data"===e[r-1][1].type){const n=e[r-1][1],o=t.sliceStream(n);let i,a=o.length,s=-1,u=0;for(;a--;){const e=o[a];if("string"==typeof e){for(s=e.length;32===e.charCodeAt(s-1);)u++,s--;if(s)break;s=-1}else if(-2===e)i=!0,u++;else if(-1!==e){a++;break}}if(u){const o={type:r===e.length||i||u<2?"lineSuffix":"hardBreakTrailing",start:{line:n.end.line,column:n.end.column-u,offset:n.end.offset-u,_index:n.start._index+a,_bufferIndex:a?s:n.start._bufferIndex+s},end:Object.assign({},n.end)};n.end=Object.assign({},o.start),n.start.offset===n.end.offset?Object.assign(n,o):(e.splice(r,0,["enter",o,t],["exit",o,t]),r+=2)}r++}return e}var D=r(79142);function w(e,t,r){let n=Object.assign(r?Object.assign({},r):{line:1,column:1,offset:0},{_index:0,_bufferIndex:-1});const o={},i=[];let a=[],u=[],l=!0;const f={consume:function(e){(0,s.markdownLineEnding)(e)?(n.line++,n.column=1,n.offset+=-3===e?2:1,x()):-1!==e&&(n.column++,n.offset++);n._bufferIndex<0?n._index++:(n._bufferIndex++,n._bufferIndex===a[n._index].length&&(n._bufferIndex=-1,n._index++));h.previous=e,l=!0},enter:function(e,t){const r=t||{};return r.type=e,r.start=g(),h.events.push(["enter",r,h]),u.push(r),r},exit:function(e){const t=u.pop();return t.end=g(),h.events.push(["exit",t,h]),t},attempt:E((function(e,t){w(e,t.from)})),check:E(b),interrupt:E(b,{interrupt:!0})},h={previous:null,code:null,containerState:{},events:[],parser:e,sliceStream:m,sliceSerialize:function(e,t){return function(e,t){let r=-1;const n=[];let o;for(;++r<e.length;){const i=e[r];let a;if("string"==typeof i)a=i;else switch(i){case-5:a="\r";break;case-4:a="\n";break;case-3:a="\r\n";break;case-2:a=t?" ":"\t";break;case-1:if(!t&&o)continue;a=" ";break;default:a=String.fromCharCode(i)}o=-2===i,n.push(a)}return n.join("")}(m(e),t)},now:g,defineSkip:function(e){o[e.line]=e.column,x()},write:function(e){if(a=(0,c.V)(a,e),y(),null!==a[a.length-1])return[];return w(t,0),h.events=(0,D.C)(i,h.events,h),h.events}};let p,d=t.tokenize.call(h,f);return t.resolveAll&&i.push(t),h;function m(e){return function(e,t){const r=t.start._index,n=t.start._bufferIndex,o=t.end._index,i=t.end._bufferIndex;let a;r===o?a=[e[r].slice(n,i)]:(a=e.slice(r,o),n>-1&&(a[0]=a[0].slice(n)),i>0&&a.push(e[o].slice(0,i)));return a}(a,e)}function g(){return Object.assign({},n)}function y(){let e;for(;n._index<a.length;){const t=a[n._index];if("string"==typeof t)for(e=n._index,n._bufferIndex<0&&(n._bufferIndex=0);n._index===e&&n._bufferIndex<t.length;)v(t.charCodeAt(n._bufferIndex));else v(t)}}function v(e){l=void 0,p=e,d=d(e)}function b(e,t){t.restore()}function E(e,t){return function(r,o,i){let a,s,c,p;return Array.isArray(r)?d(r):"tokenize"in r?d([r]):function(e){return t;function t(t){const r=null!==t&&e[t],n=null!==t&&e.null;return d([...Array.isArray(r)?r:r?[r]:[],...Array.isArray(n)?n:n?[n]:[]])(t)}}(r);function d(e){return a=e,s=0,0===e.length?i:m(e[s])}function m(e){return function(r){p=function(){const e=g(),t=h.previous,r=h.currentConstruct,o=h.events.length,i=Array.from(u);return{restore:a,from:o};function a(){n=e,h.previous=t,h.currentConstruct=r,h.events.length=o,u=i,x()}}(),c=e,e.partial||(h.currentConstruct=e);if(e.name&&h.parser.constructs.disable.null.includes(e.name))return v(r);return e.tokenize.call(t?Object.assign(Object.create(h),t):h,f,y,v)(r)}}function y(t){return l=!0,e(c,p),o}function v(e){return l=!0,p.restore(),++s<a.length?m(a[s]):i}}}function w(e,t){e.resolveAll&&!i.includes(e)&&i.push(e),e.resolve&&(0,c.d)(h.events,t,h.events.length-t,e.resolve(h.events.slice(t),h)),e.resolveTo&&(h.events=e.resolveTo(h.events,h))}function x(){n.line in o&&n.column<2&&(n.column=o[n.line],n.offset+=o[n.line]-1)}}var x=r(44084),F=r(79230),S=r(22774),A=r(44322),k=r(86053),C=r(19281),P=r(38029),O=r(26890),j=r(60214),T=r(73608),_=r(30670),B=r(47071),R=r(82287),I=r(39362),L=r(40366),M=r(9373),N=r(83555),$=r(2669),U=r(3369),z=r(83126);const H={42:x.p,43:x.p,45:x.p,48:x.p,49:x.p,50:x.p,51:x.p,52:x.p,53:x.p,54:x.p,55:x.p,56:x.p,57:x.p,62:F.m},q={91:S.D},V={[-2]:A.S,[-1]:A.S,32:A.S},G={35:k.Z,42:C.C,45:[P.C,C.C],60:O.P,61:P.C,95:C.C,96:j._,126:j._},W={38:T.u,92:_.L},Q={[-5]:B.g,[-4]:B.g,[-3]:B.g,33:R.C,38:T.u,42:I.v,60:[L.j,M.L],91:N.F,92:[$.R,_.L],93:U.Z,95:I.v,96:z.h},K={null:[I.v,m]},Y={null:[42,95]},Z={null:[]};const J=/[\0\t\n\r]/g;var X=r(35197);var ee=r(92791),te=r(12006),re=r(37618),ne=r(36365),oe=r(56077);const ie={}.hasOwnProperty,ae=function(e,t,r){return"string"!=typeof t&&(r=t,t=void 0),function(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:u(he),autolinkProtocol:C,autolinkEmail:C,atxHeading:u(X),blockQuote:u(Q),characterEscape:C,characterReference:C,codeFenced:u(K),codeFencedFenceInfo:c,codeFencedFenceMeta:c,codeIndented:u(K,c),codeText:u(Y,c),codeTextData:C,data:C,codeFlowValue:C,definition:u(Z),definitionDestinationString:c,definitionLabelString:c,definitionTitleString:c,emphasis:u(J),hardBreakEscape:u(ae),hardBreakTrailing:u(ae),htmlFlow:u(ce,c),htmlFlowData:C,htmlText:u(ce,c),htmlTextData:C,image:u(fe),label:c,link:u(he),listItem:u(de),listItemValue:m,listOrdered:u(pe,d),listUnordered:u(pe),paragraph:u(me),reference:z,referenceString:c,resourceDestinationString:c,resourceTitleString:c,setextHeading:u(X),strong:u(ge),thematicBreak:u(ve)},exit:{atxHeading:f(),atxHeadingSequence:F,autolink:f(),autolinkEmail:W,autolinkProtocol:G,blockQuote:f(),characterEscapeValue:P,characterReferenceMarkerHexadecimal:q,characterReferenceMarkerNumeric:q,characterReferenceValue:V,codeFenced:f(b),codeFencedFence:v,codeFencedFenceInfo:g,codeFencedFenceMeta:y,codeFlowValue:P,codeIndented:f(E),codeText:f(B),codeTextData:P,data:P,definition:f(),definitionDestinationString:x,definitionLabelString:D,definitionTitleString:w,emphasis:f(),hardBreakEscape:f(j),hardBreakTrailing:f(j),htmlFlow:f(T),htmlFlowData:P,htmlText:f(_),htmlTextData:P,image:f(I),label:M,labelText:L,lineEnding:O,link:f(R),listItem:f(),listOrdered:f(),listUnordered:f(),paragraph:f(),referenceString:H,resourceDestinationString:N,resourceTitleString:$,resource:U,setextHeading:f(k),setextHeadingLineSequence:A,setextHeadingText:S,strong:f(),thematicBreak:f()}};ue(t,(e||{}).mdastExtensions||[]);const r={};return n;function n(e){let r={type:"root",children:[]};const n={stack:[r],tokenStack:[],config:t,enter:l,exit:h,buffer:c,resume:p,setData:a,getData:s},o=[];let u=-1;for(;++u<e.length;)if("listOrdered"===e[u][1].type||"listUnordered"===e[u][1].type)if("enter"===e[u][0])o.push(u);else{u=i(e,o.pop(),u)}for(u=-1;++u<e.length;){const r=t[e[u][0]];ie.call(r,e[u][1].type)&&r[e[u][1].type].call(Object.assign({sliceSerialize:e[u][2].sliceSerialize},n),e[u][1])}if(n.tokenStack.length>0){const e=n.tokenStack[n.tokenStack.length-1];(e[1]||le).call(n,void 0,e[0])}for(r.position={start:se(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:se(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},u=-1;++u<t.transforms.length;)r=t.transforms[u](r)||r;return r}function i(e,t,r){let n,o,i,a,s=t-1,u=-1,c=!1;for(;++s<=r;){const t=e[s];if("listUnordered"===t[1].type||"listOrdered"===t[1].type||"blockQuote"===t[1].type?("enter"===t[0]?u++:u--,a=void 0):"lineEndingBlank"===t[1].type?"enter"===t[0]&&(!n||a||u||i||(i=s),a=void 0):"linePrefix"===t[1].type||"listItemValue"===t[1].type||"listItemMarker"===t[1].type||"listItemPrefix"===t[1].type||"listItemPrefixWhitespace"===t[1].type||(a=void 0),!u&&"enter"===t[0]&&"listItemPrefix"===t[1].type||-1===u&&"exit"===t[0]&&("listUnordered"===t[1].type||"listOrdered"===t[1].type)){if(n){let a=s;for(o=void 0;a--;){const t=e[a];if("lineEnding"===t[1].type||"lineEndingBlank"===t[1].type){if("exit"===t[0])continue;o&&(e[o][1].type="lineEndingBlank",c=!0),t[1].type="lineEnding",o=a}else if("linePrefix"!==t[1].type&&"blockQuotePrefix"!==t[1].type&&"blockQuotePrefixWhitespace"!==t[1].type&&"blockQuoteMarker"!==t[1].type&&"listItemIndent"!==t[1].type)break}i&&(!o||i<o)&&(n._spread=!0),n.end=Object.assign({},o?e[o][1].start:t[1].end),e.splice(o||s,0,["exit",n,t[2]]),s++,r++}"listItemPrefix"===t[1].type&&(n={type:"listItem",_spread:!1,start:Object.assign({},t[1].start)},e.splice(s,0,["enter",n,t[2]]),s++,r++,i=void 0,a=!0)}}return e[t][1]._spread=c,r}function a(e,t){r[e]=t}function s(e){return r[e]}function u(e,t){return r;function r(r){l.call(this,e(r),r),t&&t.call(this,r)}}function c(){this.stack.push({type:"fragment",children:[]})}function l(e,t,r){return this.stack[this.stack.length-1].children.push(e),this.stack.push(e),this.tokenStack.push([t,r]),e.position={start:se(t.start)},e}function f(e){return t;function t(t){e&&e.call(this,t),h.call(this,t)}}function h(e,t){const r=this.stack.pop(),n=this.tokenStack.pop();if(!n)throw new Error("Cannot close `"+e.type+"` ("+(0,oe.y)({start:e.start,end:e.end})+"): it’s not open");if(n[0].type!==e.type)if(t)t.call(this,e,n[0]);else{(n[1]||le).call(this,e,n[0])}return r.position.end=se(e.end),r}function p(){return(0,o.B)(this.stack.pop())}function d(){a("expectingFirstListItemValue",!0)}function m(e){if(s("expectingFirstListItemValue")){this.stack[this.stack.length-2].start=Number.parseInt(this.sliceSerialize(e),10),a("expectingFirstListItemValue")}}function g(){const e=this.resume();this.stack[this.stack.length-1].lang=e}function y(){const e=this.resume();this.stack[this.stack.length-1].meta=e}function v(){s("flowCodeInside")||(this.buffer(),a("flowCodeInside",!0))}function b(){const e=this.resume();this.stack[this.stack.length-1].value=e.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),a("flowCodeInside")}function E(){const e=this.resume();this.stack[this.stack.length-1].value=e.replace(/(\r?\n|\r)$/g,"")}function D(e){const t=this.resume(),r=this.stack[this.stack.length-1];r.label=t,r.identifier=(0,re.normalizeIdentifier)(this.sliceSerialize(e)).toLowerCase()}function w(){const e=this.resume();this.stack[this.stack.length-1].title=e}function x(){const e=this.resume();this.stack[this.stack.length-1].url=e}function F(e){const t=this.stack[this.stack.length-1];if(!t.depth){const r=this.sliceSerialize(e).length;t.depth=r}}function S(){a("setextHeadingSlurpLineEnding",!0)}function A(e){this.stack[this.stack.length-1].depth=61===this.sliceSerialize(e).charCodeAt(0)?1:2}function k(){a("setextHeadingSlurpLineEnding")}function C(e){const t=this.stack[this.stack.length-1];let r=t.children[t.children.length-1];r&&"text"===r.type||(r=ye(),r.position={start:se(e.start)},t.children.push(r)),this.stack.push(r)}function P(e){const t=this.stack.pop();t.value+=this.sliceSerialize(e),t.position.end=se(e.end)}function O(e){const r=this.stack[this.stack.length-1];if(s("atHardBreak")){return r.children[r.children.length-1].position.end=se(e.end),void a("atHardBreak")}!s("setextHeadingSlurpLineEnding")&&t.canContainEols.includes(r.type)&&(C.call(this,e),P.call(this,e))}function j(){a("atHardBreak",!0)}function T(){const e=this.resume();this.stack[this.stack.length-1].value=e}function _(){const e=this.resume();this.stack[this.stack.length-1].value=e}function B(){const e=this.resume();this.stack[this.stack.length-1].value=e}function R(){const e=this.stack[this.stack.length-1];if(s("inReference")){const t=s("referenceType")||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;a("referenceType")}function I(){const e=this.stack[this.stack.length-1];if(s("inReference")){const t=s("referenceType")||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;a("referenceType")}function L(e){const t=this.sliceSerialize(e),r=this.stack[this.stack.length-2];r.label=(0,te.v)(t),r.identifier=(0,re.normalizeIdentifier)(t).toLowerCase()}function M(){const e=this.stack[this.stack.length-1],t=this.resume(),r=this.stack[this.stack.length-1];if(a("inReference",!0),"link"===r.type){const t=e.children;r.children=t}else r.alt=t}function N(){const e=this.resume();this.stack[this.stack.length-1].url=e}function $(){const e=this.resume();this.stack[this.stack.length-1].title=e}function U(){a("inReference")}function z(){a("referenceType","collapsed")}function H(e){const t=this.resume(),r=this.stack[this.stack.length-1];r.label=t,r.identifier=(0,re.normalizeIdentifier)(this.sliceSerialize(e)).toLowerCase(),a("referenceType","full")}function q(e){a("characterReferenceType",e.type)}function V(e){const t=this.sliceSerialize(e),r=s("characterReferenceType");let n;if(r)n=(0,ee.o)(t,"characterReferenceMarkerNumeric"===r?10:16),a("characterReferenceType");else{n=(0,ne.T)(t)}const o=this.stack.pop();o.value+=n,o.position.end=se(e.end)}function G(e){P.call(this,e);this.stack[this.stack.length-1].url=this.sliceSerialize(e)}function W(e){P.call(this,e);this.stack[this.stack.length-1].url="mailto:"+this.sliceSerialize(e)}function Q(){return{type:"blockquote",children:[]}}function K(){return{type:"code",lang:null,meta:null,value:""}}function Y(){return{type:"inlineCode",value:""}}function Z(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function J(){return{type:"emphasis",children:[]}}function X(){return{type:"heading",depth:void 0,children:[]}}function ae(){return{type:"break"}}function ce(){return{type:"html",value:""}}function fe(){return{type:"image",title:null,url:"",alt:null}}function he(){return{type:"link",title:null,url:"",children:[]}}function pe(e){return{type:"list",ordered:"listOrdered"===e.type,start:null,spread:e._spread,children:[]}}function de(e){return{type:"listItem",spread:e._spread,checked:null,children:[]}}function me(){return{type:"paragraph",children:[]}}function ge(){return{type:"strong",children:[]}}function ye(){return{type:"text",value:""}}function ve(){return{type:"thematicBreak"}}}(r)(function(e){for(;!(0,X._)(e););return e}(function(e={}){const t={defined:[],lazy:{},constructs:(0,i.W)([n].concat(e.extensions||[])),content:r(u),document:r(l),flow:r(d),string:r(g),text:r(y)};return t;function r(e){return function(r){return w(t,e,r)}}}(r).document().write(function(){let e,t=1,r="",n=!0;return function(o,i,a){const s=[];let u,c,l,f,h;for(o=r+o.toString(i),l=0,r="",n&&(65279===o.charCodeAt(0)&&l++,n=void 0);l<o.length;){if(J.lastIndex=l,u=J.exec(o),f=u&&void 0!==u.index?u.index:o.length,h=o.charCodeAt(f),!u){r=o.slice(l);break}if(10===h&&l===f&&e)s.push(-3),e=void 0;else switch(e&&(s.push(-5),e=void 0),l<f&&(s.push(o.slice(l,f)),t+=f-l),h){case 0:s.push(65533),t++;break;case 9:for(c=4*Math.ceil(t/4),s.push(-2);t++<c;)s.push(-1);break;case 10:s.push(-4),t=1;break;default:e=!0,t=1}l=f+1}return a&&(e&&s.push(-5),r&&s.push(r),s.push(null)),s}}()(e,t,!0))))};function se(e){return{line:e.line,column:e.column,offset:e.offset}}function ue(e,t){let r=-1;for(;++r<t.length;){const n=t[r];Array.isArray(n)?ue(e,n):ce(e,n)}}function ce(e,t){let r;for(r in t)if(ie.call(t,r))if("canContainEols"===r){const n=t[r];n&&e[r].push(...n)}else if("transforms"===r){const n=t[r];n&&e[r].push(...n)}else if("enter"===r||"exit"===r){const n=t[r];n&&Object.assign(e[r],n)}}function le(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+(0,oe.y)({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+(0,oe.y)({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+(0,oe.y)({start:t.start,end:t.end})+") is still open")}const fe=function(e){Object.assign(this,{Parser:t=>{const r=this.data("settings");return ae(t,Object.assign({},r,e,{extensions:this.data("micromarkExtensions")||[],mdastExtensions:this.data("fromMarkdownExtensions")||[]}))}})}},29477:(e,t,r)=>{"use strict";function n(e){if(e)throw e}r.r(t),r.d(t,{unified:()=>E});var o=r(38165),i=r(24740);function a(e){if("object"!=typeof e||null===e)return!1;const t=Object.getPrototypeOf(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)}function s(){const e=[],t={run:function(...t){let r=-1;const n=t.pop();if("function"!=typeof n)throw new TypeError("Expected function as last argument, not "+n);!function o(i,...a){const s=e[++r];let u=-1;if(i)n(i);else{for(;++u<t.length;)null!==a[u]&&void 0!==a[u]||(a[u]=t[u]);t=a,s?function(e,t){let r;return n;function n(...t){const n=e.length>t.length;let a;n&&t.push(o);try{a=e.apply(this,t)}catch(e){if(n&&r)throw e;return o(e)}n||(a instanceof Promise?a.then(i,o):a instanceof Error?o(a):i(a))}function o(e,...n){r||(r=!0,t(e,...n))}function i(e){o(null,e)}}(s,o)(...a):n(null,...a)}}(null,...t)},use:function(r){if("function"!=typeof r)throw new TypeError("Expected `middelware` to be a function, not "+r);return e.push(r),t}};return t}var u=r(56077);class c extends Error{constructor(e,t,r){const n=[null,null];let o={start:{line:null,column:null},end:{line:null,column:null}};if(super(),"string"==typeof t&&(r=t,t=void 0),"string"==typeof r){const e=r.indexOf(":");-1===e?n[1]=r:(n[0]=r.slice(0,e),n[1]=r.slice(e+1))}t&&("type"in t||"position"in t?t.position&&(o=t.position):"start"in t||"end"in t?o=t:("line"in t||"column"in t)&&(o.start=t)),this.name=(0,u.y)(t)||"1:1",this.message="object"==typeof e?e.message:e,this.stack="","object"==typeof e&&e.stack&&(this.stack=e.stack),this.reason=this.message,this.fatal,this.line=o.start.line,this.column=o.start.column,this.position=o,this.source=n[0],this.ruleId=n[1],this.file,this.actual,this.expected,this.url,this.note}}c.prototype.file="",c.prototype.name="",c.prototype.reason="",c.prototype.message="",c.prototype.stack="",c.prototype.fatal=null,c.prototype.column=null,c.prototype.line=null,c.prototype.source=null,c.prototype.ruleId=null,c.prototype.position=null;const l={basename:function(e,t){if(void 0!==t&&"string"!=typeof t)throw new TypeError('"ext" argument must be a string');f(e);let r,n=0,o=-1,i=e.length;if(void 0===t||0===t.length||t.length>e.length){for(;i--;)if(47===e.charCodeAt(i)){if(r){n=i+1;break}}else o<0&&(r=!0,o=i+1);return o<0?"":e.slice(n,o)}if(t===e)return"";let a=-1,s=t.length-1;for(;i--;)if(47===e.charCodeAt(i)){if(r){n=i+1;break}}else a<0&&(r=!0,a=i+1),s>-1&&(e.charCodeAt(i)===t.charCodeAt(s--)?s<0&&(o=i):(s=-1,o=a));n===o?o=a:o<0&&(o=e.length);return e.slice(n,o)},dirname:function(e){if(f(e),0===e.length)return".";let t,r=-1,n=e.length;for(;--n;)if(47===e.charCodeAt(n)){if(t){r=n;break}}else t||(t=!0);return r<0?47===e.charCodeAt(0)?"/":".":1===r&&47===e.charCodeAt(0)?"//":e.slice(0,r)},extname:function(e){f(e);let t,r=e.length,n=-1,o=0,i=-1,a=0;for(;r--;){const s=e.charCodeAt(r);if(47!==s)n<0&&(t=!0,n=r+1),46===s?i<0?i=r:1!==a&&(a=1):i>-1&&(a=-1);else if(t){o=r+1;break}}if(i<0||n<0||0===a||1===a&&i===n-1&&i===o+1)return"";return e.slice(i,n)},join:function(...e){let t,r=-1;for(;++r<e.length;)f(e[r]),e[r]&&(t=void 0===t?e[r]:t+"/"+e[r]);return void 0===t?".":function(e){f(e);const t=47===e.charCodeAt(0);let r=function(e,t){let r,n,o="",i=0,a=-1,s=0,u=-1;for(;++u<=e.length;){if(u<e.length)r=e.charCodeAt(u);else{if(47===r)break;r=47}if(47===r){if(a===u-1||1===s);else if(a!==u-1&&2===s){if(o.length<2||2!==i||46!==o.charCodeAt(o.length-1)||46!==o.charCodeAt(o.length-2))if(o.length>2){if(n=o.lastIndexOf("/"),n!==o.length-1){n<0?(o="",i=0):(o=o.slice(0,n),i=o.length-1-o.lastIndexOf("/")),a=u,s=0;continue}}else if(o.length>0){o="",i=0,a=u,s=0;continue}t&&(o=o.length>0?o+"/..":"..",i=2)}else o.length>0?o+="/"+e.slice(a+1,u):o=e.slice(a+1,u),i=u-a-1;a=u,s=0}else 46===r&&s>-1?s++:s=-1}return o}(e,!t);0!==r.length||t||(r=".");r.length>0&&47===e.charCodeAt(e.length-1)&&(r+="/");return t?"/"+r:r}(t)},sep:"/"};function f(e){if("string"!=typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const h={cwd:function(){return"/"}};function p(e){return null!==e&&"object"==typeof e&&e.href&&e.origin}function d(e){if("string"==typeof e)e=new URL(e);else if(!p(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if("file:"!==e.protocol){const e=new TypeError("The URL must be of scheme file");throw e.code="ERR_INVALID_URL_SCHEME",e}return function(e){if(""!==e.hostname){const e=new TypeError('File URL host must be "localhost" or empty on darwin');throw e.code="ERR_INVALID_FILE_URL_HOST",e}const t=e.pathname;let r=-1;for(;++r<t.length;)if(37===t.charCodeAt(r)&&50===t.charCodeAt(r+1)){const e=t.charCodeAt(r+2);if(70===e||102===e){const e=new TypeError("File URL path must not include encoded / characters");throw e.code="ERR_INVALID_FILE_URL_PATH",e}}return decodeURIComponent(t)}(e)}const m=["history","path","basename","stem","extname","dirname"];class g{constructor(e){let t;t=e?"string"==typeof e||function(e){return o(e)}(e)?{value:e}:p(e)?{path:e}:e:{},this.data={},this.messages=[],this.history=[],this.cwd=h.cwd(),this.value,this.stored,this.result,this.map;let r,n=-1;for(;++n<m.length;){const e=m[n];e in t&&void 0!==t[e]&&null!==t[e]&&(this[e]="history"===e?[...t[e]]:t[e])}for(r in t)m.includes(r)||(this[r]=t[r])}get path(){return this.history[this.history.length-1]}set path(e){p(e)&&(e=d(e)),v(e,"path"),this.path!==e&&this.history.push(e)}get dirname(){return"string"==typeof this.path?l.dirname(this.path):void 0}set dirname(e){b(this.basename,"dirname"),this.path=l.join(e||"",this.basename)}get basename(){return"string"==typeof this.path?l.basename(this.path):void 0}set basename(e){v(e,"basename"),y(e,"basename"),this.path=l.join(this.dirname||"",e)}get extname(){return"string"==typeof this.path?l.extname(this.path):void 0}set extname(e){if(y(e,"extname"),b(this.dirname,"extname"),e){if(46!==e.charCodeAt(0))throw new Error("`extname` must start with `.`");if(e.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=l.join(this.dirname,this.stem+(e||""))}get stem(){return"string"==typeof this.path?l.basename(this.path,this.extname):void 0}set stem(e){v(e,"stem"),y(e,"stem"),this.path=l.join(this.dirname||"",e+(this.extname||""))}toString(e){return(this.value||"").toString(e||void 0)}message(e,t,r){const n=new c(e,t,r);return this.path&&(n.name=this.path+":"+n.name,n.file=this.path),n.fatal=!1,this.messages.push(n),n}info(e,t,r){const n=this.message(e,t,r);return n.fatal=null,n}fail(e,t,r){const n=this.message(e,t,r);throw n.fatal=!0,n}}function y(e,t){if(e&&e.includes(l.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+l.sep+"`")}function v(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function b(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}const E=function e(){const t=s(),r=[];let u,c={},l=-1;return f.data=function(e,t){if("string"==typeof e)return 2===arguments.length?(S("data",u),c[e]=t,f):D.call(c,e)&&c[e]||null;if(e)return S("data",u),c=e,f;return c},f.Parser=void 0,f.Compiler=void 0,f.freeze=function(){if(u)return f;for(;++l<r.length;){const[e,...n]=r[l];if(!1===n[0])continue;!0===n[0]&&(n[0]=void 0);const o=e.call(f,...n);"function"==typeof o&&t.use(o)}return u=!0,l=Number.POSITIVE_INFINITY,f},f.attachers=r,f.use=function(e,...t){let n;if(S("use",u),null==e);else if("function"==typeof e)h(e,...t);else{if("object"!=typeof e)throw new TypeError("Expected usable value, not `"+e+"`");Array.isArray(e)?l(e):s(e)}n&&(c.settings=Object.assign(c.settings||{},n));return f;function o(e){if("function"==typeof e)h(e);else{if("object"!=typeof e)throw new TypeError("Expected usable value, not `"+e+"`");if(Array.isArray(e)){const[t,...r]=e;h(t,...r)}else s(e)}}function s(e){l(e.plugins),e.settings&&(n=Object.assign(n||{},e.settings))}function l(e){let t=-1;if(null==e);else{if(!Array.isArray(e))throw new TypeError("Expected a list of plugins, not `"+e+"`");for(;++t<e.length;){o(e[t])}}}function h(e,t){let n,o=-1;for(;++o<r.length;)if(r[o][0]===e){n=r[o];break}n?(a(n[1])&&a(t)&&(t=i(!0,n[1],t)),n[1]=t):r.push([...arguments])}},f.parse=function(e){f.freeze();const t=C(e),r=f.Parser;if(x("parse",r),w(r,"parse"))return new r(String(t),t).parse();return r(String(t),t)},f.stringify=function(e,t){f.freeze();const r=C(t),n=f.Compiler;if(F("stringify",n),A(e),w(n,"compile"))return new n(e,r).compile();return n(e,r)},f.run=function(e,r,n){A(e),f.freeze(),n||"function"!=typeof r||(n=r,r=void 0);if(!n)return new Promise(o);function o(o,i){function a(t,r,a){r=r||e,t?i(t):o?o(r):n(null,r,a)}t.run(e,C(r),a)}o(null,n)},f.runSync=function(e,t){let r,o;return f.run(e,t,i),k("runSync","run",o),r;function i(e,t){n(e),r=t,o=!0}},f.process=function(e,t){if(f.freeze(),x("process",f.Parser),F("process",f.Compiler),!t)return new Promise(r);function r(r,n){const i=C(e);function a(e,o){e||!o?n(e):r?r(o):t(null,o)}f.run(f.parse(i),i,((e,t,r)=>{if(!e&&t&&r){const n=f.stringify(t,r);null==n||(!function(e){return"string"==typeof e||o(e)}(n)?r.result=n:r.value=n),a(e,r)}else a(e)}))}r(null,t)},f.processSync=function(e){let t;f.freeze(),x("processSync",f.Parser),F("processSync",f.Compiler);const r=C(e);return f.process(r,o),k("processSync","process",t),r;function o(e){t=!0,n(e)}},f;function f(){const t=e();let n=-1;for(;++n<r.length;)t.use(...r[n]);return t.data(i(!0,{},c)),t}}().freeze(),D={}.hasOwnProperty;function w(e,t){return"function"==typeof e&&e.prototype&&(function(e){let t;for(t in e)if(D.call(e,t))return!0;return!1}(e.prototype)||t in e.prototype)}function x(e,t){if("function"!=typeof t)throw new TypeError("Cannot `"+e+"` without `Parser`")}function F(e,t){if("function"!=typeof t)throw new TypeError("Cannot `"+e+"` without `Compiler`")}function S(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function A(e){if(!a(e)||"string"!=typeof e.type)throw new TypeError("Expected node, got `"+e+"`")}function k(e,t,r){if(!r)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function C(e){return function(e){return Boolean(e&&"object"==typeof e&&"message"in e&&"messages"in e)}(e)?e:new g(e)}},49522:(e,t,r)=>{"use strict";r.r(t),r.d(t,{convert:()=>n.O,is:()=>n.is});var n=r(44516)},44516:(e,t,r)=>{"use strict";r.d(t,{O:()=>o,is:()=>n});const n=function e(t,r,n,i,a){const s=o(r);if(null!=n&&("number"!=typeof n||n<0||n===Number.POSITIVE_INFINITY))throw new Error("Expected positive finite index");if(!(null==i||e(i)&&i.children))throw new Error("Expected parent node");if(null==i!=(null==n))throw new Error("Expected both parent and index");return!(!t||!t.type||"string"!=typeof t.type)&&Boolean(s.call(a,t,n,i))},o=function(e){if(null==e)return a;if("string"==typeof e)return function(e){return i(t);function t(t){return t&&t.type===e}}(e);if("object"==typeof e)return Array.isArray(e)?function(e){const t=[];let r=-1;for(;++r<e.length;)t[r]=o(e[r]);return i(n);function n(...e){let r=-1;for(;++r<t.length;)if(t[r].call(this,...e))return!0;return!1}}(e):function(e){return i(t);function t(t){let r;for(r in e)if(t[r]!==e[r])return!1;return!0}}(e);if("function"==typeof e)return i(e);throw new Error("Expected function, string, or object as test")};function i(e){return function(t,...r){return Boolean(t&&"object"==typeof t&&"type"in t&&Boolean(e.call(this,t,...r)))}}function a(){return!0}},93227:(e,t,r)=>{"use strict";r.r(t),r.d(t,{matches:()=>re,select:()=>ne,selectAll:()=>oe});const n={},o={};function i(e,t){let r=t;for(let t=0;t<e.length;t++){const n=t===e.length-1,o=e.charAt(t),i=r[o]||(r[o]={chars:{}});n&&(i.self=e),r=i.chars}}function a(e){if(0===e.length)return n;const t={};for(const r of e)i(r,t);return t}function s(e){if(0===e.length)return o;const t={};for(const r of e)t[r]=!0;return t}const u={},c={type:"String",optional:!0};function l(e){const t={optional:!1};function r(e){if(t.type&&t.type!==e)throw new Error(`Conflicting pseudo-class argument type: "${t.type}" vs "${e}".`);t.type=e}for(const n of e)"NoArgument"===n&&(t.optional=!0),"Formula"===n&&r("Formula"),"FormulaOfSelector"===n&&(r("Formula"),t.ofSelector=!0),"String"===n&&r("String"),"Selector"===n&&r("Selector");return t}function f(e){const t=function(e){const t={};for(const r of Object.keys(e)){const n=e[r];if(n)for(const e of n)(t[e]||(t[e]=[])).push(r)}return t}(e),r={};for(const e of Object.keys(t)){const n=t[e];n&&(r[e]=l(n))}return r}const h={},p={wildcard:!0};function d(e){return e?"boolean"==typeof e?p:e:h}function m(e,t){const r={...e};if("tag"in t)if(t.tag){r.tag={...d(e.tag)};const n=d(t.tag);"wildcard"in n&&(r.tag.wildcard=n.wildcard)}else r.tag=void 0;if("ids"in t&&(r.ids=t.ids),"classNames"in t&&(r.classNames=t.classNames),"namespace"in t)if(t.namespace){r.namespace={...d(e.namespace)};const n=d(t.namespace);"wildcard"in n&&(r.namespace.wildcard=n.wildcard)}else r.namespace=void 0;if("combinators"in t&&(t.combinators?r.combinators=r.combinators?r.combinators.concat(t.combinators):t.combinators:r.combinators=void 0),"attributes"in t&&(t.attributes?(r.attributes={...e.attributes},"unknownCaseSensitivityModifiers"in t.attributes&&(r.attributes.unknownCaseSensitivityModifiers=t.attributes.unknownCaseSensitivityModifiers),"operators"in t.attributes&&(r.attributes.operators=t.attributes.operators?r.attributes.operators?r.attributes.operators.concat(t.attributes.operators):t.attributes.operators:void 0),"caseSensitivityModifiers"in t.attributes&&(r.attributes.caseSensitivityModifiers=t.attributes.caseSensitivityModifiers?r.attributes.caseSensitivityModifiers?r.attributes.caseSensitivityModifiers.concat(t.attributes.caseSensitivityModifiers):t.attributes.caseSensitivityModifiers:void 0)):r.attributes=void 0),"pseudoElements"in t&&(t.pseudoElements?(r.pseudoElements={...e.pseudoElements},"unknown"in t.pseudoElements&&(r.pseudoElements.unknown=t.pseudoElements.unknown),"notation"in t.pseudoElements&&(r.pseudoElements.notation=t.pseudoElements.notation),"definitions"in t.pseudoElements&&(r.pseudoElements.definitions=t.pseudoElements.definitions?r.pseudoElements.definitions?r.pseudoElements.definitions.concat(t.pseudoElements.definitions):t.pseudoElements.definitions:void 0)):r.pseudoElements=void 0),"pseudoClasses"in t)if(t.pseudoClasses){if(r.pseudoClasses={...e.pseudoClasses},"unknown"in t.pseudoClasses&&(r.pseudoClasses.unknown=t.pseudoClasses.unknown),"definitions"in t.pseudoClasses){const e=t.pseudoClasses.definitions;if(e){r.pseudoClasses.definitions={...r.pseudoClasses.definitions};const t=r.pseudoClasses.definitions;for(const r of Object.keys(e)){const n=e[r],o=t[r];t[r]=n?o?o.concat(n):n:void 0}}else r.pseudoClasses.definitions=void 0}}else r.pseudoClasses=void 0;return r}const g={tag:{},ids:!0,classNames:!0,combinators:[],pseudoElements:{unknown:"reject",notation:"singleColon",definitions:["first-letter","first-line"]},pseudoClasses:{unknown:"reject",definitions:{NoArgument:["link","visited","active"]}}},y=m(g,{tag:{wildcard:!0},combinators:[">","+"],attributes:{unknownCaseSensitivityModifiers:"reject",operators:["=","~=","|="]},pseudoElements:{definitions:["before","after"]},pseudoClasses:{unknown:"reject",definitions:{NoArgument:["hover","focus","first-child"],String:["lang"]}}}),v=m(y,{namespace:{wildcard:!0},combinators:["~"],attributes:{operators:["^=","$=","*="]},pseudoElements:{notation:"both"},pseudoClasses:{definitions:{NoArgument:["root","last-child","first-of-type","last-of-type","only-child","only-of-type","empty","target","enabled","disabled","checked","indeterminate"],Formula:["nth-child","nth-last-child","nth-of-type","nth-last-of-type"],Selector:["not"]}}}),b=m(v,{combinators:["||"],attributes:{caseSensitivityModifiers:["i","I","s","S"]},pseudoClasses:{definitions:{NoArgument:["any-link","local-link","target-within","scope","current","past","future","focus-within","focus-visible","read-write","read-only","placeholder-shown","default","valid","invalid","in-range","out-of-range","required","optional","blank","user-invalid"],Formula:["nth-col","nth-last-col"],String:["dir"],FormulaOfSelector:["nth-child","nth-last-child"],Selector:["current","is","where","has"]}}}),E={css1:g,css2:y,css3:v,"selectors-3":v,"selectors-4":b,latest:b,progressive:m(b,{pseudoElements:{unknown:"accept"},pseudoClasses:{unknown:"accept"},attributes:{unknownCaseSensitivityModifiers:"accept"}})};function D(e){return e>="a"&&e<="z"||e>="A"&&e<="Z"||"-"===e||"_"===e}function w(e){return e>="a"&&e<="f"||e>="A"&&e<="F"||e>="0"&&e<="9"}const x={n:"\n",r:"\r",t:"\t",f:"\f","\\":"\\"},F={" ":!0,"\t":!0,"\n":!0,"\r":!0,"\f":!0},S={'"':!0,"'":!0},A={0:!0,1:!0,2:!0,3:!0,4:!0,5:!0,6:!0,7:!0,8:!0,9:!0};const k="css-selector-parser parse error: ";function C(e){return(t,r)=>({[t]:t=>({type:e,...t}),[r]:t=>"object"==typeof t&&null!==t&&t.type===e})}C("Selector")("selector","isSelector"),C("Rule")("rule","isRule"),C("TagName")("tagName","isTagName"),C("WildcardTag")("wildcardTag","isWildcardTag"),C("NamespaceName")("namespaceName","isNamespaceName"),C("WildcardNamespace")("wildcardNamespace","isWildcardNamespace"),C("NoNamespace")("noNamespace","isNoNamespace"),C("Attribute")("attribute","isAttribute"),C("PseudoClass")("pseudoClass","isPseudoClass"),C("String")("string","isString"),C("Formula")("formula","isFormula"),C("FormulaOfSelector")("formulaOfSelector","isFormulaOfSelector"),C("Substitution")("substitution","isSubstitution");const P=function(e={}){const{syntax:t="latest",substitutes:r,strict:i=!0}=e;let l="string"==typeof t?E[t]:t;l.baseSyntax&&(l=m(E[l.baseSyntax],l));const[h,p]=l.tag?[!0,Boolean(d(l.tag).wildcard)]:[!1,!1],g=Boolean(l.ids),y=Boolean(l.classNames),v=Boolean(l.namespace),b=l.namespace&&(!0===l.namespace||!0===l.namespace.wildcard);if(v&&!h)throw new Error(`${k}Namespaces cannot be enabled while tags are disabled.`);const C=Boolean(r),P=l.combinators?a(l.combinators):n,[O,j,T,_]=l.attributes?[!0,l.attributes.operators?a(l.attributes.operators):n,l.attributes.caseSensitivityModifiers?s(l.attributes.caseSensitivityModifiers):o,"accept"===l.attributes.unknownCaseSensitivityModifiers]:[!1,n,o,!1],B=_||Object.keys(T).length>0,[R,I,L]=l.pseudoClasses?[!0,l.pseudoClasses.definitions?f(l.pseudoClasses.definitions):u,"accept"===l.pseudoClasses.unknown]:[!1,u,!1],[M,N,$,U,z]=l.pseudoElements?[!0,"singleColon"===l.pseudoElements.notation||"both"===l.pseudoElements.notation,!l.pseudoElements.notation||"doubleColon"===l.pseudoElements.notation||"both"===l.pseudoElements.notation,l.pseudoElements.definitions?s(l.pseudoElements.definitions):o,"accept"===l.pseudoElements.unknown]:[!1,!1,!1,o,!1];let H="",q=H.length,V=0,G="";const W=e=>G===e,Q=()=>W("*")||D(G)||W("\\"),K=e=>{V=e,G=H.charAt(V)},Y=()=>{V++,G=H.charAt(V)},Z=()=>{const e=G;return V++,G=H.charAt(V),e};function J(e){const t=Math.min(q-1,V),r=new Error(`${k}${e} Pos: ${t}.`);throw r.position=t,r.name="ParserError",r}function X(e,t){if(!e)return J(t)}const ee=()=>{X(V<q,"Unexpected end of input.")},te=()=>V>=q,re=e=>{X(V<q,`Expected "${e}" but end of input reached.`),X(G===e,`Expected "${e}" but "${G}" found.`),V++,G=H.charAt(V)};function ne(e){const t=oe(e,V);if(t)return V+=t.length,G=H.charAt(V),t}function oe(e,t){const r=e[H.charAt(t)];if(r){const e=oe(r.chars,t+1);if(e)return e;if(r.self)return r.self}}function ie(){let e=Z();for(;w(G);)e+=Z();return W(" ")&&Y(),String.fromCharCode(parseInt(e,16))}function ae(e){let t="";for(re(e);V<q;){if(W(e))return Y(),t;if(W("\\")){let r;if(Y(),W(e))t+=e;else if(void 0!==(r=x[G]))t+=r;else{if(w(G)){t+=ie();continue}t+=G}}else t+=G;Y()}return t}function se(){let e="";for(;V<q;)if((t=G)>="a"&&t<="z"||t>="A"&&t<="Z"||t>="0"&&t<="9"||"-"===t||"_"===t)e+=Z();else{if(!W("\\"))return e;Y(),ee(),w(G)?e+=ie():e+=Z()}var t;return e}function ue(){let e="";for(;V<q&&!W(")");)if(W("\\")){if(Y(),te()&&!i)return(e+"\\").trim();ee(),w(G)?e+=ie():e+=Z()}else e+=Z();return e.trim()}function ce(){for(;F[G];)Y()}function le(e=!1){ce();const t=[ye(e)];for(;W(",");)Y(),ce(),t.push(ye(e));return{type:"Selector",rules:t}}function fe(){let e;if(re("["),ce(),W("|"))X(v,"Namespaces are not enabled."),Y(),e={type:"Attribute",name:se(),namespace:{type:"NoNamespace"}};else if(W("*"))X(v,"Namespaces are not enabled."),X(b,"Wildcard namespace is not enabled."),Y(),re("|"),e={type:"Attribute",name:se(),namespace:{type:"WildcardNamespace"}};else{const t=se();if(e={type:"Attribute",name:t},W("|")){const r=V;Y(),D(G)||W("\\")?(X(v,"Namespaces are not enabled."),e={type:"Attribute",name:se(),namespace:{type:"NamespaceName",name:t}}):K(r)}}if(X(e.name,"Expected attribute name."),ce(),te()&&!i)return e;if(W("]"))Y();else{if(e.operator=ne(j),X(e.operator,"Expected a valid attribute selector operator."),ce(),ee(),S[G]?e.value={type:"String",value:ae(G)}:C&&W("$")?(Y(),e.value={type:"Substitution",name:se()},X(e.value.name,"Expected substitute name.")):(e.value={type:"String",value:se()},X(e.value.value,"Expected attribute value.")),ce(),te()&&!i)return e;if(!W("]")&&(e.caseSensitivityModifier=se(),X(e.caseSensitivityModifier,"Expected end of attribute selector."),X(B,"Attribute case sensitivity modifiers are not enabled."),X(_||T[e.caseSensitivityModifier],"Unknown attribute case sensitivity modifier."),ce(),te()&&!i))return e;re("]")}return e}function he(){let e="";for(;A[G];)e+=Z();return X(""!==e,"Formula parse error."),parseInt(e)}const pe=()=>W("-")||W("+")||A[G];function de(e){const t={type:"PseudoClass",name:e};let r=I[e];if(!r&&L&&(r=c),X(r,`Unknown pseudo-class: "${e}".`),W("(")){if(Y(),ce(),C&&W("$"))Y(),t.argument={type:"Substitution",name:se()},X(t.argument.name,"Expected substitute name.");else if("String"===r.type)t.argument={type:"String",value:ue()},X(t.argument.value,"Expected pseudo-class argument value.");else if("Selector"===r.type)t.argument=le(!0);else{if("Formula"!==r.type)return J("Invalid pseudo-class signature.");{const[e,n]=function(){if(W("e")||W("o")){const e=se();if("even"===e)return ce(),[2,0];if("odd"===e)return ce(),[2,1]}let e,t=null,r=1;if(W("-")&&(Y(),r=-1),pe()&&(W("+")&&Y(),t=he(),!W("\\")&&!W("n")))return[0,t*r];if(null===t&&(t=1),t*=r,W("\\")?(Y(),e=w(G)?ie():Z()):e=Z(),X("n"===e,'Formula parse error: expected "n".'),ce(),W("+")||W("-")){const e=W("+")?1:-1;return Y(),ce(),[t,e*he()]}return[t,0]}();if(t.argument={type:"Formula",a:e,b:n},r.ofSelector&&(ce(),W("o")||W("\\"))){X("of"===se(),"Formula of selector parse error."),ce(),t.argument={type:"FormulaOfSelector",a:e,b:n,selector:ye()}}}}if(ce(),te()&&!i)return t;re(")")}else X(r.optional,`Argument is required for pseudo-class "${e}".`);return t}function me(){return W("*")?(X(p,"Wildcard tag name is not enabled."),Y(),{type:"WildcardTag"}):D(G)||W("\\")?(X(h,"Tag names are not enabled."),{type:"TagName",name:se()}):J("Expected tag name.")}function ge(){if(W("*")){const e=V;if(Y(),!W("|"))return K(e),me();if(Y(),!Q())return K(e),me();X(v,"Namespaces are not enabled."),X(b,"Wildcard namespace is not enabled.");const t=me();return t.namespace={type:"WildcardNamespace"},t}if(W("|")){X(v,"Namespaces are not enabled."),Y();const e=me();return e.namespace={type:"NoNamespace"},e}if(D(G)||W("\\")){const e=se();if(!W("|"))return X(h,"Tag names are not enabled."),{type:"TagName",name:e};const t=V;if(Y(),!Q())return K(t),{type:"TagName",name:e};X(v,"Namespaces are not enabled.");const r=me();return r.namespace={type:"NamespaceName",name:e},r}return J("Expected tag name.")}function ye(e=!1){const t={};let r=!0;if(e){const e=ne(P);e&&(t.combinator=e,ce())}for(;V<q;){if(Q())X(r,"Unexpected tag/namespace start."),t.tag=ge();else if(W("|")){const e=V;if(Y(),!Q()){K(e);break}X(r,"Unexpected tag/namespace start."),K(e),t.tag=ge()}else if(W(".")){X(y,"Class names are not enabled."),Y();const e=se();X(e,"Expected class name."),(t.classNames=t.classNames||[]).push(e)}else if(W("#")){X(g,"IDs are not enabled."),Y();const e=se();X(e,"Expected ID name."),(t.ids=t.ids||[]).push(e)}else if(W("["))X(O,"Attributes are not enabled."),(t.attributes=t.attributes||[]).push(fe());else{if(!W(":"))break;{let e=!1,r=!1;Y(),W(":")&&(X(M,"Pseudo elements are not enabled."),X($,"Pseudo elements double colon notation is not enabled."),e=!0,Y());const n=se();if(X(e||n,"Expected pseudo-class name."),X(!e||n,"Expected pseudo-element name."),X(!e||z||U[n],`Unknown pseudo-element "${n}".`),r=M&&(e||!e&&N&&U[n]),r){if(t.pseudoElement=n,!(F[G]||W(",")||W(")")||te()))return J("Pseudo-element should be the last component of a CSS selector rule.")}else X(R,"Pseudo classes are not enabled."),(t.pseudoClasses=t.pseudoClasses||[]).push(de(n))}}r=!1}if(r)return te()?J("Expected rule but end of input reached."):J(`Expected rule but "${G}" found.`);if(t.type="Rule",ce(),!te()&&!W(",")&&!W(")")){const e=ne(P);ce(),t.nestedRule=ye(),t.nestedRule.combinator=e}return t}return e=>{if("string"!=typeof e)throw new Error(`${k}Expected string input.`);return H=e,q=H.length,V=0,G=H.charAt(0),le()}}({syntax:"selectors-4"});function O(e){if("string"!=typeof e)throw new TypeError("Expected `string` as selector, not `"+e+"`");return P(e)}function j(e){return Array.isArray(e.children)}const T={}.hasOwnProperty;function _(e,t){const r=t||{};function n(t,...r){let o=n.invalid;const i=n.handlers;if(t&&T.call(t,e)){const r=String(t[e]);o=T.call(i,r)?i[r]:n.unknown}if(o)return o.call(this,t,...r)}return n.handlers=r.handlers||{},n.invalid=r.invalid,n.unknown=r.unknown,n}const B=_("operator",{unknown:function(e){throw new Error("Unknown operator `"+e.operator+"`")},invalid:R,handlers:{"=":function(e,t){const r=I(e);return R(e,t)&&String(t[e.name])===r},"^=":function(e,t){const r=t[e.name],n=I(e);return Boolean(e.value&&"string"==typeof r&&r.slice(0,n.length)===n)},"$=":function(e,t){const r=t[e.name],n=I(e);return Boolean(e.value&&"string"==typeof r&&r.slice(-n.length)===n)},"*=":function(e,t){const r=t[e.name],n=I(e);return Boolean("string"==typeof r&&n&&r.includes(n))},"~=":function(e,t){const r=t[e.name];if(null==r)return!1;const n=I(e);if(Array.isArray(r)&&r.includes(n))return!0;return String(r)===n}}});function R(e,t){return null!==t[e.name]&&void 0!==t[e.name]}function I(e){const t=e.value;return t.type,t.value}const L=new Set([9,10,12,13,32]),M="0".charCodeAt(0),N="9".charCodeAt(0);var $=r(96501);function U(e){return function(e){const t=e[0],r=e[1]-1;if(r<0&&t<=0)return $.falseFunc;if(-1===t)return e=>e<=r;if(0===t)return e=>e===r;if(1===t)return r<0?$.trueFunc:e=>e>=r;const n=Math.abs(t),o=(r%n+n)%n;return t>1?e=>e>=r&&e%n===o:e=>e<=r&&e%n===o}(function(e){if("even"===(e=e.trim().toLowerCase()))return[2,0];if("odd"===e)return[2,1];let t=0,r=0,n=i(),o=a();if(t<e.length&&"n"===e.charAt(t)&&(t++,r=n*(null!=o?o:1),s(),t<e.length?(n=i(),s(),o=a()):n=o=0),null===o||t<e.length)throw new Error(`n-th rule couldn't be parsed ('${e}')`);return[r,n*o];function i(){return"-"===e.charAt(t)?(t++,-1):("+"===e.charAt(t)&&t++,1)}function a(){const r=t;let n=0;for(;t<e.length&&e.charCodeAt(t)>=M&&e.charCodeAt(t)<=N;)n=10*n+(e.charCodeAt(t)-M),t++;return t===r?null:n}function s(){for(;t<e.length&&L.has(e.charCodeAt(t));)t++}}(e))}const z=U.default||U,H=_("name",{unknown:function(e){throw new Error("Unknown pseudo-selector `"+e.name+"`")},invalid:function(){throw new Error("Invalid pseudo-selector")},handlers:{is:G,blank:V,empty:V,"first-child":function(e,t,r,n,o){return W(o,e),0===o.nodeIndex},"first-of-type":function(e,t,r,n,o){return W(o,e),0===o.typeIndex},has:function(e,t,r,n,o){const i=e.argument;!i||i.type;const a={type:"root",children:j(t)?t.children:[]},s={...o,found:!1,shallow:!1,one:!0,scopeNodes:[t],results:[],rootQuery:i};return Z(s,a),s.results.length>0},"last-child":function(e,t,r,n,o){return W(o,e),"number"==typeof o.nodeCount&&o.nodeIndex===o.nodeCount-1},"last-of-type":function(e,t,r,n,o){return W(o,e),"number"==typeof o.typeCount&&o.typeIndex===o.typeCount-1},not:function(e,t,r,n,o){return!G(e,t,r,n,o)},"nth-child":function(e,t,r,n,o){const i=Q(e);return W(o,e),"number"==typeof o.nodeIndex&&i(o.nodeIndex)},"nth-last-child":function(e,t,r,n,o){const i=Q(e);return W(o,e),"number"==typeof o.nodeCount&&"number"==typeof o.nodeIndex&&i(o.nodeCount-o.nodeIndex-1)},"nth-of-type":function(e,t,r,n,o){const i=Q(e);return W(o,e),"number"==typeof o.typeIndex&&i(o.typeIndex)},"nth-last-of-type":function(e,t,r,n,o){const i=Q(e);return W(o,e),"number"==typeof o.typeIndex&&"number"==typeof o.typeCount&&i(o.typeCount-1-o.typeIndex)},"only-child":function(e,t,r,n,o){return W(o,e),1===o.nodeCount},"only-of-type":function(e,t,r,n,o){return W(o,e),1===o.typeCount},root:function(e,t,r,n){return t&&!n},scope:function(e,t,r,n,o){return t&&o.scopeNodes.includes(t)}}});function q(e,t,r,n,o){let i=-1;if(e.pseudoClasses)for(;++i<e.pseudoClasses.length;)if(!H(e.pseudoClasses[i],t,r,n,o))return!1;return!0}function V(e,t){return j(t)?0===t.children.length:!("value"in t)}function G(e,t,r,n,o){const i=e.argument;!i||i.type;const a={...o,found:!1,shallow:!1,one:!0,scopeNodes:[t],results:[],rootQuery:i};return Z(a,t),a.results[0]===t}function W(e,t){if(e.shallow)throw new Error("Cannot use `:"+t.name+"` without parent")}function Q(e){let t=e._cachedFn;if(!t){const r=e.argument;!r||r.type,t=z(r.a+"n+"+r.b),e._cachedFn=t}return t}function K(e,t,r,n,o){if(e.ids)throw new Error("Invalid selector: id");if(e.classNames)throw new Error("Invalid selector: class");if(e.pseudoElement)throw new Error("Invalid selector: `::"+e.pseudoElement+"`");return Boolean(t&&(!e.tag||"WildcardTag"===e.tag.type||e.tag.name===t.type)&&(!e.attributes||function(e,t){let r=-1;if(e.attributes)for(;++r<e.attributes.length;)if(!B(e.attributes[r],t))return!1;return!0}(e,t))&&(!e.pseudoClasses||q(e,t,r,n,o)))}q.needsIndex=["any","first-child","first-of-type","last-child","last-of-type","is","not","nth-child","nth-last-child","nth-of-type","nth-last-of-type","only-child","only-of-type"];const Y=[];function Z(e,t){t&&J(e,[],t,void 0,void 0,t)}function J(e,t,r,n,o,i){let a={directChild:void 0,descendant:void 0,adjacentSibling:void 0,generalSibling:void 0},s=e.rootQuery.rules;return o&&o!==i&&(s=e.rootQuery.rules.filter((e=>void 0===e.combinator||">"===e.combinator&&o===i))),a=function(e,t,r,n,o){const i={directChild:void 0,descendant:void 0,adjacentSibling:void 0,generalSibling:void 0};let a=-1;for(;++a<t.length;){const s=t[a];if(e.one&&e.found)break;if(e.shallow&&s.nestedRule)throw new Error("Expected selector without nesting");if(K(s,r,n,o,e)){const t=s.nestedRule;if(t){ee(i,"+"===t.combinator?"adjacentSibling":"~"===t.combinator?"generalSibling":">"===t.combinator?"directChild":"descendant",t)}else e.found=!0,e.results.includes(r)||e.results.push(r)}void 0===s.combinator?ee(i,"descendant",s):"~"===s.combinator&&ee(i,"generalSibling",s)}return i}(e,X(t,s),r,n,o),!j(r)||e.shallow||e.one&&e.found||function(e,t,r,n){const o=X(t.descendant,t.directChild);let i,a=-1;const s={count:0,types:new Map},u={count:0,types:new Map};for(;++a<r.children.length;)te(s,r.children[a]);a=-1;for(;++a<r.children.length;){const t=r.children[a].type.toUpperCase();e.nodeIndex=u.count,e.typeIndex=u.types.get(t)||0,e.nodeCount=s.count,e.typeCount=s.types.get(t);const c=J(e,X(o,i),r.children[a],a,r,n);if(i=X(c.generalSibling,c.adjacentSibling),e.one&&e.found)break;te(u,r.children[a])}}(e,a,r,i),a}function X(e,t){return e&&t&&e.length>0&&t.length>0?[...e,...t]:e&&e.length>0?e:t&&t.length>0?t:Y}function ee(e,t,r){const n=e[t];n?n.push(r):e[t]=[r]}function te(e,t){const r=t.type.toUpperCase(),n=(e.types.get(r)||0)+1;e.count++,e.types.set(r,n)}function re(e,t){const r=ie(e,t);return r.one=!0,r.shallow=!0,Z(r,t||void 0),r.results.length>0}function ne(e,t){const r=ie(e,t);return r.one=!0,Z(r,t||void 0),r.results[0]}function oe(e,t){const r=ie(e,t);return Z(r,t||void 0),r.results}function ie(e,t){return{rootQuery:O(e),results:[],scopeNodes:t?!j(t)||"RootNode"!==t.type&&"root"!==t.type?[t]:t.children:[],one:!1,shallow:!1,found:!1,typeIndex:void 0,nodeIndex:void 0,typeCount:void 0,nodeCount:void 0}}},56077:(e,t,r)=>{"use strict";function n(e){return e&&"object"==typeof e?"position"in e||"type"in e?i(e.position):"start"in e||"end"in e?i(e):"line"in e||"column"in e?o(e):"":""}function o(e){return a(e&&e.line)+":"+a(e&&e.column)}function i(e){return o(e&&e.start)+"-"+o(e&&e.end)}function a(e){return e&&"number"==typeof e?e:1}r.d(t,{y:()=>n})},50819:(e,t,r)=>{"use strict";r.d(t,{dR:()=>o,BK:()=>i,AM:()=>a,S4:()=>s});var n=r(44516);const o=!0,i=!1,a="skip",s=function(e,t,r,s){"function"==typeof t&&"function"!=typeof r&&(s=r,r=t,t=null);const u=(0,n.O)(t),c=s?-1:1;!function e(n,l,f){const h=n&&"object"==typeof n?n:{};if("string"==typeof h.type){const e="string"==typeof h.tagName?h.tagName:"string"==typeof h.name?h.name:void 0;Object.defineProperty(p,"name",{value:"node ("+n.type+(e?"<"+e+">":"")+")"})}return p;function p(){let h,p,d,m=[];if((!t||u(n,l,f[f.length-1]||null))&&(m=function(e){if(Array.isArray(e))return e;if("number"==typeof e)return[o,e];return[e]}(r(n,f)),m[0]===i))return m;if(n.children&&m[0]!==a)for(p=(s?n.children.length:-1)+c,d=f.concat(n);p>-1&&p<n.children.length;){if(h=e(n.children[p],p,d)(),h[0]===i)return h;p="number"==typeof h[1]?h[1]:p+c}return m}}(e,void 0,[])()}},18213:(e,t,r)=>{"use strict";r.r(t),r.d(t,{CONTINUE:()=>n.dR,EXIT:()=>n.BK,SKIP:()=>n.AM,visit:()=>o.Vn});var n=r(50819),o=r(53827)},53827:(e,t,r)=>{"use strict";r.d(t,{Vn:()=>o});var n=r(50819);const o=function(e,t,r,o){"function"==typeof t&&"function"!=typeof r&&(o=r,r=t,t=null),(0,n.S4)(e,t,(function(e,t){const n=t[t.length-1];return r(e,n?n.children.indexOf(e):null,n)}),o)}},84862:e=>{"use strict";e.exports=JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","$id":"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#","description":"Meta-schema for $data reference (JSON Schema extension proposal)","type":"object","required":["$data"],"properties":{"$data":{"type":"string","anyOf":[{"format":"relative-json-pointer"},{"format":"json-pointer"}]}},"additionalProperties":false}')},74502:e=>{"use strict";e.exports=JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","$id":"http://json-schema.org/draft-07/schema#","title":"Core schema meta-schema","definitions":{"schemaArray":{"type":"array","minItems":1,"items":{"$ref":"#"}},"nonNegativeInteger":{"type":"integer","minimum":0},"nonNegativeIntegerDefault0":{"allOf":[{"$ref":"#/definitions/nonNegativeInteger"},{"default":0}]},"simpleTypes":{"enum":["array","boolean","integer","null","number","object","string"]},"stringArray":{"type":"array","items":{"type":"string"},"uniqueItems":true,"default":[]}},"type":["object","boolean"],"properties":{"$id":{"type":"string","format":"uri-reference"},"$schema":{"type":"string","format":"uri"},"$ref":{"type":"string","format":"uri-reference"},"$comment":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"default":true,"readOnly":{"type":"boolean","default":false},"examples":{"type":"array","items":true},"multipleOf":{"type":"number","exclusiveMinimum":0},"maximum":{"type":"number"},"exclusiveMaximum":{"type":"number"},"minimum":{"type":"number"},"exclusiveMinimum":{"type":"number"},"maxLength":{"$ref":"#/definitions/nonNegativeInteger"},"minLength":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"pattern":{"type":"string","format":"regex"},"additionalItems":{"$ref":"#"},"items":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/schemaArray"}],"default":true},"maxItems":{"$ref":"#/definitions/nonNegativeInteger"},"minItems":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"uniqueItems":{"type":"boolean","default":false},"contains":{"$ref":"#"},"maxProperties":{"$ref":"#/definitions/nonNegativeInteger"},"minProperties":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"required":{"$ref":"#/definitions/stringArray"},"additionalProperties":{"$ref":"#"},"definitions":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"properties":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"patternProperties":{"type":"object","additionalProperties":{"$ref":"#"},"propertyNames":{"format":"regex"},"default":{}},"dependencies":{"type":"object","additionalProperties":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/stringArray"}]}},"propertyNames":{"$ref":"#"},"const":true,"enum":{"type":"array","items":true,"minItems":1,"uniqueItems":true},"type":{"anyOf":[{"$ref":"#/definitions/simpleTypes"},{"type":"array","items":{"$ref":"#/definitions/simpleTypes"},"minItems":1,"uniqueItems":true}]},"format":{"type":"string"},"contentMediaType":{"type":"string"},"contentEncoding":{"type":"string"},"if":{"$ref":"#"},"then":{"$ref":"#"},"else":{"$ref":"#"},"allOf":{"$ref":"#/definitions/schemaArray"},"anyOf":{"$ref":"#/definitions/schemaArray"},"oneOf":{"$ref":"#/definitions/schemaArray"},"not":{"$ref":"#"}},"default":true}')},6614:e=>{"use strict";e.exports=JSON.parse('["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","link","main","map","mark","math","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rb","rp","rt","rtc","ruby","s","samp","script","section","select","slot","small","source","span","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr"]')},4147:e=>{"use strict";e.exports=JSON.parse('{"name":"@topwrite/reader","version":"1.0.73-alpha.4+b05526b","author":"yunwuxin <tzzhangyajun@qq.com> (https://github.com/yunwuxin)","license":"ISC","types":"types/index.d.ts","main":"dist/index.js","files":["dist","types"],"scripts":{"prebuild":"rimraf dist types","build":"webpack --progress","build:dev":"npm run build --env dev","serve":"webpack serve --env dev","extract":"formatjs extract src/**/*.{ts,tsx} --out-file src/lang/zh-CN.json --ignore src/global.d.ts --id-interpolation-pattern [sha512:contenthash:base64:6] --additional-function-names $t --format simple","prepack":"npm run build"},"dependencies":{"@topwrite/common":"^1.0.59-alpha.4+b05526b","@types/color":"^3.0.3","@types/lodash":"^4.14.168","@types/node":"^16.4.13","@types/react":"^18","@types/react-dom":"^18","color":"^4.2.3","dayjs":"^1.10.4","history":"^5.0.0","immer":"^9.0.6"},"devDependencies":{"@docsearch/css":"^3.2.1","@formatjs/cli":"^5.0.2","@topthink/webpack-config-plugin":"^1.0.16","crypto-browserify":"^3.12.0","path-browserify":"^1.0.1","process":"^0.11.10","query-string":"^7.1.1","rc-tooltip":"^5.1.1","react-loading-bar":"^0.0.7","rimraf":"^3.0.2","stream-browserify":"^3.0.0","typescript":"^4.3.5","webpack":"^5.36.2","webpack-cli":"^4.7.0","webpack-dev-server":"^4.7.3"},"gitHead":"b05526b2d416d3826512df22150ad55867cca17f"}')}},i={};function a(e){var t=i[e];if(void 0!==t)return t.exports;var r=i[e]={id:e,loaded:!1,exports:{}};return o[e].call(r.exports,r,r.exports,a),r.loaded=!0,r.exports}a.m=o,a.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return a.d(t,{a:t}),t},t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,a.t=function(r,n){if(1&n&&(r=this(r)),8&n)return r;if("object"==typeof r&&r){if(4&n&&r.__esModule)return r;if(16&n&&"function"==typeof r.then)return r}var o=Object.create(null);a.r(o);var i={};e=e||[null,t({}),t([]),t(t)];for(var s=2&n&&r;"object"==typeof s&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((e=>i[e]=()=>r[e]));return i.default=()=>r,a.d(o,i),o},a.d=(e,t)=>{for(var r in t)a.o(t,r)&&!a.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},a.f={},a.e=e=>Promise.all(Object.keys(a.f).reduce(((t,r)=>(a.f[r](e,t),t)),[])),a.u=e=>e+"-"+{7:"aa176f",267:"960f60",331:"dbe0b3",347:"fe3bab",449:"c4532e",454:"b0e4b2",659:"e7416c",769:"14f39b"}[e]+".js",a.miniCssF=e=>e+".css",a.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r={},n="@topwrite/reader:",a.l=(e,t,o,i)=>{if(r[e])r[e].push(t);else{var s,u;if(void 0!==o)for(var c=document.getElementsByTagName("script"),l=0;l<c.length;l++){var f=c[l];if(f.getAttribute("src")==e||f.getAttribute("data-webpack")==n+o){s=f;break}}s||(u=!0,(s=document.createElement("script")).charset="utf-8",s.timeout=120,a.nc&&s.setAttribute("nonce",a.nc),s.setAttribute("data-webpack",n+o),s.src=e),r[e]=[t];var h=(t,n)=>{s.onerror=s.onload=null,clearTimeout(p);var o=r[e];if(delete r[e],s.parentNode&&s.parentNode.removeChild(s),o&&o.forEach((e=>e(n))),t)return t(n)},p=setTimeout(h.bind(null,void 0,{type:"timeout",target:s}),12e4);s.onerror=h.bind(null,s.onerror),s.onload=h.bind(null,s.onload),u&&document.head.appendChild(s)}},a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{var e;a.g.importScripts&&(e=a.g.location+"");var t=a.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var r=t.getElementsByTagName("script");r.length&&(e=r[r.length-1].src)}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),a.p=e})(),(()=>{if("undefined"!=typeof document){var e=e=>new Promise(((t,r)=>{var n=a.miniCssF(e),o=a.p+n;if(((e,t)=>{for(var r=document.getElementsByTagName("link"),n=0;n<r.length;n++){var o=(a=r[n]).getAttribute("data-href")||a.getAttribute("href");if("stylesheet"===a.rel&&(o===e||o===t))return a}var i=document.getElementsByTagName("style");for(n=0;n<i.length;n++){var a;if((o=(a=i[n]).getAttribute("data-href"))===e||o===t)return a}})(n,o))return t();((e,t,r,n,o)=>{var i=document.createElement("link");i.rel="stylesheet",i.type="text/css",i.onerror=i.onload=r=>{if(i.onerror=i.onload=null,"load"===r.type)n();else{var a=r&&("load"===r.type?"missing":r.type),s=r&&r.target&&r.target.href||t,u=new Error("Loading CSS chunk "+e+" failed.\n("+s+")");u.code="CSS_CHUNK_LOAD_FAILED",u.type=a,u.request=s,i.parentNode&&i.parentNode.removeChild(i),o(u)}},i.href=t,r?r.parentNode.insertBefore(i,r.nextSibling):document.head.appendChild(i)})(e,o,null,t,r)})),t={826:0};a.f.miniCss=(r,n)=>{t[r]?n.push(t[r]):0!==t[r]&&{449:1,454:1,659:1}[r]&&n.push(t[r]=e(r).then((()=>{t[r]=0}),(e=>{throw delete t[r],e})))}}})(),(()=>{var e={826:0};a.f.j=(t,r)=>{var n=a.o(e,t)?e[t]:void 0;if(0!==n)if(n)r.push(n[2]);else{var o=new Promise(((r,o)=>n=e[t]=[r,o]));r.push(n[2]=o);var i=a.p+a.u(t),s=new Error;a.l(i,(r=>{if(a.o(e,t)&&(0!==(n=e[t])&&(e[t]=void 0),n)){var o=r&&("load"===r.type?"missing":r.type),i=r&&r.target&&r.target.src;s.message="Loading chunk "+t+" failed.\n("+o+": "+i+")",s.name="ChunkLoadError",s.type=o,s.request=i,n[1](s)}}),"chunk-"+t,t)}};var t=(t,r)=>{var n,o,[i,s,u]=r,c=0;if(i.some((t=>0!==e[t]))){for(n in s)a.o(s,n)&&(a.m[n]=s[n]);if(u)u(a)}for(t&&t(r);c<i.length;c++)o=i[c],a.o(e,o)&&e[o]&&e[o][0](),e[o]=0},r=self.webpackChunk_topwrite_reader=self.webpackChunk_topwrite_reader||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})(),a.nc=void 0;var s={};(()=>{"use strict";a.r(s),a.d(s,{Anchor:()=>Ke.Z,Article:()=>Pt,BaseConfig:()=>t.l_,Book:()=>t.fy,Breadcrumb:()=>zt,Catalog:()=>$t,CatalogItems:()=>Lt,CompositionInput:()=>t.D7,Config:()=>t.De,File:()=>t.$B,Helmet:()=>t.ql,InjectedComponent:()=>t.cu,InjectedComponentSet:()=>t.IA,IntlContext:()=>t.fH,LetterAvatar:()=>t.$q,Level:()=>t.aC,Link:()=>Ne.Z,LoadingBar:()=>Qe,LocalizeProvider:()=>t.Wp,Logo:()=>Me,Markdown:()=>wt,Model:()=>t.Hn,NavLink:()=>ze,PageLoader:()=>re,Plugin:()=>t.Sy,PoweredBy:()=>Le,Search:()=>Ge,Summary:()=>t.ER,SummaryArticle:()=>t.oI,SummaryPart:()=>t.Lj,ThemeProvider:()=>t.f6,ToFirstArticle:()=>Ht,VERSION:()=>t.q4,aes:()=>t.rK,base64:()=>t.US,bootstrap:()=>ke,createApplication:()=>t.W3,createComponentDescriptor:()=>t.nC,createGlobalStyle:()=>t.vJ,createStorageSlot:()=>t.WA,css:()=>t.iv,date:()=>Oe,defineMessage:()=>t.Em,defineMessages:()=>t.vU,getPayload:()=>t.He,getPublicPath:()=>t.Ak,history:()=>d.m8,isEncryptedData:()=>t.oe,isMac:()=>t.V5,isRequestError:()=>t.N0,isUrl:()=>t.CB,keyframes:()=>t.F4,listStorageKeys:()=>t._f,loadjs:()=>t.j0,markdown:()=>t.JH,md5:()=>t.FB,pluginCenter:()=>t.YB,request:()=>t.WY,styled:()=>t.zo,useActions:()=>t.ol,useArticle:()=>de.ZP,useAsset:()=>Te,useAssetUrl:()=>je,useAsync:()=>t.r5,useAsyncCallback:()=>t.UK,useAsyncEffect:()=>t.bd,useAsyncFetchMore:()=>t.r3,useBook:()=>t.CQ,useDebounce:()=>t.Nr,useDocumentTitle:()=>t.jr,useEvent:()=>t.zX,useEventTarget:()=>t.Rs,useFile:()=>ie.Z,useHotkeys:()=>t.y1,useInPreview:()=>Ie,useIntl:()=>t.cw,useIntlContext:()=>t.mP,useLocalStorageState:()=>t.Rr,useLockBodyScroll:()=>Re,useLogo:()=>ye,useModel:()=>t.tT,useNextArticle:()=>de.VI,useOptions:()=>t.D2,usePrevArticle:()=>de.ir,usePrevious:()=>t.D9,useSelector:()=>t.v9,useStateWithCallback:()=>t.CM,useThemeConfig:()=>t.LU,useThemeContext:()=>t.TC,useThrottle:()=>t.fB,useTitle:()=>pe,useWindowScroll:()=>Be.Z,useWindowSize:()=>_e.Z,windowSizes:()=>_e.D});var e={};a.r(e),a.d(e,{ask:()=>Y,book:()=>A,page:()=>U,search:()=>V});var t=a(61091),r=a(35250),n=a(56065);t.$B.prototype[n.sc]=!0;var o=a(45990),i=a.n(o),u=a(87790),c=a.n(u),l=a(366),f=a.n(l),h=(a(81044),a(93344),a(63583),a(65251),a(38664),a(57930),a(75591),a(7395),a(96853),a(68546),a(87363)),p=a.n(h),d=a(8192),m=(a(16585),a(11333),a(82357)),g=a.n(m),y=a(32078),v=a.n(y),b=a(33649),E=a.n(b),D=a(74158),w=a.n(D),x=a(12982),F=a.n(x);function S(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=F()(e);if(t){var o=F()(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return w()(this,r)}}var A=new(function(e){E()(r,e);var t=S(r);function r(){return v()(this,r),t.apply(this,arguments)}return g()(r)}(t.Hn)),k=a(44220),C=a.n(k),P=a(6322),O=a.n(P),j=a(58089),T=a.n(j),_=a(76985),B=a.n(_),R=a(529),I=a.n(R);a(82814),a(60337),a(72336),a(49778),a(27313),a(7190),a(61228),a(70776);function L(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=F()(e);if(t){var o=F()(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return w()(this,r)}}function M(e){var t,r,n,o=2;for("undefined"!=typeof Symbol&&(r=Symbol.asyncIterator,n=Symbol.iterator);o--;){if(r&&null!=(t=e[r]))return t.call(e);if(n&&null!=(t=e[n]))return new N(t.call(e));r="@@asyncIterator",n="@@iterator"}throw new TypeError("Object is not async iterable")}function N(e){function t(e){if(Object(e)!==e)return Promise.reject(new TypeError(e+" is not an object."));var t=e.done;return Promise.resolve(e.value).then((function(e){return{value:e,done:t}}))}return N=function(e){this.s=e,this.n=e.next},N.prototype={s:null,n:null,next:function(){return t(this.n.apply(this.s,arguments))},return:function(e){var r=this.s.return;return void 0===r?Promise.resolve({value:e,done:!0}):t(r.apply(this.s,arguments))},throw:function(e){var r=this.s.return;return void 0===r?Promise.reject(e):t(r.apply(this.s,arguments))}},new N(e)}var $=function(e){E()(n,e);var r=L(n);function n(){var e;v()(this,n);for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];return e=r.call.apply(r,[this].concat(i)),O()(C()(e),"initialState",{loading:!1,request:t.WY.create(),config:{}}),e}return g()(n,[{key:"subscription",value:function(e){var t=e.fetch,r=d.m8.location;d.m8.listen((function(e){var n=e.location;r.pathname!==n.pathname&&(t(n.pathname),requestAnimationFrame((function(){window.scrollTo(0,0)}))),r=n}))}},{key:"fetch",value:function(e){var r=this;return T()(f().mark((function n(){var o,i,a,s,u,l,h,p,d,m,g,y;return f().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,r.setState((function(e){e.loading=!0}));case 2:return n.delegateYield(I()(M(r.getState("book")),B()),"t0",3);case 3:return o=n.t0,n.delegateYield(I()(M(r.getState("page")),B()),"t1",5);case 5:if(i=n.t1,a=i.request,s=i.config,n.prev=8,l=decodeURI(e),h=function(){var e=c()(f().mark((function e(){var r,n;return f().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,a.get(l,s);case 2:return r=e.sent,n=r.data,e.abrupt("return","string"==typeof n?(0,t.He)(n):n);case 5:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),!o.sha||!("caches"in window)){n.next=30;break}return n.next=14,B()(caches.open("book-".concat(o.id,"-").concat(o.sha)));case 14:return p=n.sent,n.next=17,B()(p.match(l));case 17:if(!(d=n.sent)){n.next=22;break}return n.next=21,B()(d.json());case 21:u=n.sent;case 22:if(u){n.next=28;break}return n.next=25,B()(h());case 25:return u=n.sent,n.next=28,B()(p.put(l,new Response(JSON.stringify(u),{headers:{"Content-Type":"application/json"}})));case 28:n.next=33;break;case 30:return n.next=32,B()(h());case 32:u=n.sent;case 33:return g=(m=u).file,y=m.lfs,n.next=36,r.setState((function(e){e.file=new t.$B(g),e.lfs=y}));case 36:n.next=42;break;case 38:return n.prev=38,n.t2=n.catch(8),n.next=42,r.setState((function(e){e.error=n.t2}));case 42:return n.prev=42,n.next=45,r.setState((function(e){e.loading=!1}));case 45:return n.finish(42);case 46:case"end":return n.stop()}}),n,null,[[8,38,42,46]])})))()}},{key:"intercept",value:f().mark((function e(t){var r,n;return f().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.delegateYield(this.getState("page"),"t0",1);case 1:r=e.t0,n=r.request,t(n.interceptors);case 4:case"end":return e.stop()}}),e,this)}))},{key:"updateConfig",value:f().mark((function e(t){return f().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.setState((function(e){t(e.config)}));case 2:case"end":return e.stop()}}),e,this)}))}]),n}(t.Hn),U=new $;a(33394),a(62443),a(82122),a(25013);function z(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=F()(e);if(t){var o=F()(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return w()(this,r)}}function H(e){var t,r,n,o=2;for("undefined"!=typeof Symbol&&(r=Symbol.asyncIterator,n=Symbol.iterator);o--;){if(r&&null!=(t=e[r]))return t.call(e);if(n&&null!=(t=e[n]))return new q(t.call(e));r="@@asyncIterator",n="@@iterator"}throw new TypeError("Object is not async iterable")}function q(e){function t(e){if(Object(e)!==e)return Promise.reject(new TypeError(e+" is not an object."));var t=e.done;return Promise.resolve(e.value).then((function(e){return{value:e,done:t}}))}return q=function(e){this.s=e,this.n=e.next},q.prototype={s:null,n:null,next:function(){return t(this.n.apply(this.s,arguments))},return:function(e){var r=this.s.return;return void 0===r?Promise.resolve({value:e,done:!0}):t(r.apply(this.s,arguments))},throw:function(e){var r=this.s.return;return void 0===r?Promise.reject(e):t(r.apply(this.s,arguments))}},new q(e)}var V=new(function(e){E()(r,e);var t=z(r);function r(){var e;v()(this,r);for(var n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];return e=t.call.apply(t,[this].concat(o)),O()(C()(e),"initialState",{status:"idle",results:[],query:""}),e}return g()(r,[{key:"fetch",value:function(e){var t=this;return T()(f().mark((function r(){var n,o,i,a,s,u;return f().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(!(e=e.trim())){r.next=27;break}return r.next=4,t.setState((function(t){t.query=e,t.status="loading"}));case 4:return r.delegateYield(I()(H(t.getState("search")),B()),"t0",5);case 5:if(n=r.t0,o=n.handler,i=n.part,o){r.next=13;break}return r.delegateYield(I()(H(t.getState("book")),B()),"t1",10);case 10:a=r.t1,s=a.summary,o=function(){var t=[];return s.getArticle((function(r){var n=r.getPath();return r.title.includes(e)&&n&&t.push({title:r.title,path:n}),!1}),(function(e){return!i||e.level.toString()===i})),t};case 13:return r.prev=13,r.next=16,B()(o(e,i));case 16:return u=r.sent,r.next=19,t.setState((function(e){e.results=u,e.status="idle"}));case 19:r.next=25;break;case 21:return r.prev=21,r.t2=r.catch(13),r.next=25,t.setState((function(e){e.results=[],e.status="error"}));case 25:r.next=29;break;case 27:return r.next=29,t.setState((function(t){t.query=e,t.status="idle",t.results=[]}));case 29:case"end":return r.stop()}}),r,null,[[13,21]])})))()}},{key:"setPart",value:f().mark((function e(t){return f().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.setState((function(e){t!==e.part&&(e.query="",e.status="idle",e.results=[],e.part=t)}));case 2:case"end":return e.stop()}}),e,this)}))},{key:"setHandler",value:f().mark((function e(t){return f().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.setState((function(e){e.handler=t}));case 2:case"end":return e.stop()}}),e,this)}))}]),r}(t.Hn));function G(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=F()(e);if(t){var o=F()(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return w()(this,r)}}function W(e){var t,r,n,o=2;for("undefined"!=typeof Symbol&&(r=Symbol.asyncIterator,n=Symbol.iterator);o--;){if(r&&null!=(t=e[r]))return t.call(e);if(n&&null!=(t=e[n]))return new Q(t.call(e));r="@@asyncIterator",n="@@iterator"}throw new TypeError("Object is not async iterable")}function Q(e){function t(e){if(Object(e)!==e)return Promise.reject(new TypeError(e+" is not an object."));var t=e.done;return Promise.resolve(e.value).then((function(e){return{value:e,done:t}}))}return Q=function(e){this.s=e,this.n=e.next},Q.prototype={s:null,n:null,next:function(){return t(this.n.apply(this.s,arguments))},return:function(e){var r=this.s.return;return void 0===r?Promise.resolve({value:e,done:!0}):t(r.apply(this.s,arguments))},throw:function(e){var r=this.s.return;return void 0===r?Promise.reject(e):t(r.apply(this.s,arguments))}},new Q(e)}var K,Y=new(function(e){E()(r,e);var t=G(r);function r(){var e;v()(this,r);for(var n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];return e=t.call.apply(t,[this].concat(o)),O()(C()(e),"initialState",{enable:!1,status:"idle",query:"",answer:""}),e}return g()(r,[{key:"fetch",value:function(e){var t=this;return T()(f().mark((function r(){var n,o,i,a,s;return f().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(!(e=e.trim())){r.next=31;break}return r.delegateYield(I()(W(t.getState("ask")),B()),"t0",3);case 3:if(n=r.t0,o=n.handler,i=n.part,!o){r.next=31;break}return r.prev=7,r.next=10,t.setState((function(t){t.query=e,t.status="loading",t.answer=""}));case 10:return r.next=12,B()(o(e,i));case 12:return a=r.sent,r.next=15,t.setState((function(e){e.status="stalled"}));case 15:s=f().mark((function e(){var r,n,o;return f().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,B()(a.read());case 2:if(r=e.sent,n=r.done,o=r.value,!n){e.next=7;break}return e.abrupt("return","break");case 7:return e.next=9,t.setState((function(e){e.answer+=o}));case 9:case"end":return e.stop()}}),e)}));case 16:return r.delegateYield(s(),"t1",18);case 18:if("break"!==r.t1){r.next=21;break}return r.abrupt("break",23);case 21:r.next=16;break;case 23:return r.next=25,t.setState((function(e){e.status="idle"}));case 25:r.next=31;break;case 27:return r.prev=27,r.t2=r.catch(7),r.next=31,t.setState((function(e){e.answer="",e.status="error"}));case 31:case"end":return r.stop()}}),r,null,[[7,27]])})))()}},{key:"setPart",value:f().mark((function e(t){return f().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.setState((function(e){t!==e.part&&(e.query="",e.answer="",e.status="idle",e.part=t)}));case 2:case"end":return e.stop()}}),e,this)}))},{key:"setHandler",value:f().mark((function e(t){return f().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.setState((function(e){e.handler=t,e.enable=!!t}));case 2:case"end":return e.stop()}}),e,this)}))}]),r}(t.Hn)),Z=a(52815),J=a(28056),X=a.n(J);const ee=t.zo.div(K||(K=X()(["\n @keyframes spinner-border {\n to {\n transform: rotate(360deg)\n }\n }\n\n display: inline-block;\n width: 2rem;\n height: 2rem;\n vertical-align: -0.125em;\n border: 0.25em solid #3c60ff;\n border-right-color: transparent;\n border-radius: 50%;\n animation: 0.75s linear infinite spinner-border;\n"])));var te;function re(){return(0,r.jsx)(oe,{children:(0,r.jsx)(ee,{})})}var ne,oe=t.zo.div(te||(te=X()(["\n position: fixed;\n top: 0;\n left: 0;\n height: 100vh;\n width: 100vw;\n display: flex;\n align-items: center;\n justify-content: center;\n"]))),ie=a(50892),ae=a(47851),se=a.n(ae),ue=(0,h.createContext)(void 0);function ce(e){var n=e.children,o=(0,ie.Z)(),i=(0,t.LU)(),a=(0,t.r5)(c()(f().mark((function e(){var r,n;return f().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,t.WY)(o.relative(t.fy.style));case 2:return r=e.sent,n=r.data,e.abrupt("return",n);case 5:case"end":return e.stop()}}),e)}))),[]),s=a.result,u=a.loading,l=(0,h.useMemo)((function(){return{primaryColor:new(se())(i.primaryColor)}}),[i]);return u?null:(0,r.jsx)(ue.Provider,{value:s,children:(0,r.jsxs)(t.f6,{theme:l,children:[(0,r.jsx)(le,{}),n]})})}var le=(0,t.vJ)(ne||(ne=X()(["\n :root {\n --ttw-primary-color: ",";\n }\n"])),(function(e){return e.theme.primaryColor.toString()}));var fe=a(12147),he=a.n(fe);a(43934),a(17915);function pe(){var e=(0,t.cw)();return(0,t.CQ)().config.getValue("title",e.formatMessage({id:"n24ytq",defaultMessage:[{type:0,value:"未命名文档"}]}))}var de=a(54718),me=(a(66164),a(7525),(0,h.createContext)(void 0));function ge(e){var n=e.children,o=(0,h.useState)((function(){return"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII="})),a=i()(o,2),s=a[0],u=a[1],c=(0,ie.Z)();return(0,h.useEffect)((function(){var e=c.relative(t.fy.logo),r=new Image;r.addEventListener("load",(function(){var e=document.createElement("canvas");e.height=this.height,e.width=this.width;var t=e.getContext("2d");t&&(t.drawImage(this,0,0),e.toBlob((function(e){e&&u(window.URL.createObjectURL(e))})))})),r.src=e}),[]),(0,r.jsx)(me.Provider,{value:s,children:n})}function ye(){return(0,h.useContext)(me)}var ve=a(22827),be=p().lazy((function(){return Promise.all([a.e(347),a.e(659)]).then(a.bind(a,10659))}));function Ee(){var e=(0,t.CQ)().summary,n=pe(),o=(0,ie.Z)(),i=(0,h.useMemo)((function(){return e.getArticle((function(e){return e.getPath()===o.path}))}),[e,o]);(0,h.useEffect)((function(){window.parent!==window&&(window.addEventListener("message",(function(e){try{var t=he()(e.data),r=t[0],n=t[1],o=t.slice(2);if("history"===r)switch(n){case"replace":d.m8.replace(o[0]);break;case"push":d.m8.push(o[0])}}catch(e){}})),d.m8.listen((function(e){var t="".concat(window.location.origin).concat((0,ve.Ep)(e.location));window.parent.postMessage(["history",e.action.toLowerCase(),t],"*")})),window.parent.postMessage(["bootstrapped"],"*")),window.dispatchEvent(new Event("bootstrapped"))}),[]);var a=ye();return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(t.ql,{children:[(0,r.jsx)("title",{children:"".concat(i?"".concat(i.title," - "):"").concat(n)}),(0,r.jsx)("link",{rel:"shortcut icon",href:a,type:"image/png"})]}),(0,r.jsxs)(de.Q3.Provider,{value:i,children:[(0,r.jsx)(t.cu,{role:"app"}),(0,r.jsx)(t.cu,{role:"page"}),(0,r.jsx)(p().Suspense,{fallback:null,children:(0,r.jsx)(t.cu,{role:"page:menu",component:be})})]})]})}var De=a(47354),we=a.n(De);function xe(e){return Fe.apply(this,arguments)}function Fe(){return(Fe=c()(f().mark((function e(t){return f().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:e.t0=t,e.next="en"===e.t0?3:4;break;case 3:return e.abrupt("return",a.e(7).then(a.t.bind(a,82007,19)));case 4:return e.next=6,a.e(769).then(a.t.bind(a,87769,23));case 6:return we().locale("zh-cn"),e.abrupt("return",a.e(267).then(a.t.bind(a,53267,19)));case 8:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Se(){var n=(0,h.useState)(),o=i()(n,2),a=o[0],s=o[1];return(0,t.bd)(c()(f().mark((function n(){var o,i,a,u,c,l,h,p,m,g,y,v,b,E,D,w,x,F,S,A;return f().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(n.prev=0,o=(0,d.fi)(),i=o.location,a=(0,t.He)()){n.next=8;break}return n.next=6,t.WY.get(i.toString());case 6:u=n.sent,a=u.data;case 8:return l=(c=a).id,h=c.sha,p=c.summary,m=c.file,g=c.config,y=void 0===g?{}:g,v=c.options,b=void 0===v?{}:v,E=c.lfs,D=c.pluginsCenter,y=t.De.createFromObject(y),p=t.ER.create(p),w=new t.fy(l,y,p,h),x={page:{config:{params:Z.parse(i.search)},file:new t.$B(m),lfs:E},options:b},n.next=15,(0,t.W3)("reader",w,e,x,xe,D);case 15:F=n.sent,S=(0,r.jsx)(F,{children:(0,r.jsx)(ge,{children:(0,r.jsx)(ce,{children:(0,r.jsx)(Ee,{})})})}),s(S),n.next=24;break;case 20:n.prev=20,n.t0=n.catch(0),console.error(n.t0),t.WY.isAxiosError(n.t0)?s((null===(A=n.t0.response)||void 0===A?void 0:A.data)||n.t0.message):s(n.t0.message);case 24:case"end":return n.stop()}}),n,null,[[0,20]])}))),[]),a||(0,r.jsx)(re,{})}var Ae=a(61533);const ke=function(){var e=document.getElementById("root");e&&(0,Ae.createRoot)(e).render((0,r.jsx)(Se,{}))};a(80532),a(83473),a(51913),a(43050),a(98006);var Ce=a(82386),Pe=a.n(Ce);Date.prototype.format=function(e){var t={"M+":this.getMonth()+1,"d+":this.getDate(),"h+":this.getHours(),"m+":this.getMinutes(),"s+":this.getSeconds(),"q+":Math.floor((this.getMonth()+3)/3),S:this.getMilliseconds()};for(var r in/(y+)/.test(e)&&(e=e.replace(RegExp.$1,(this.getFullYear()+"").substr(4-RegExp.$1.length))),t)new RegExp("("+r+")").test(e)&&(e=e.replace(RegExp.$1,1==RegExp.$1.length?t[r]:("00"+t[r]).substr((""+t[r]).length)));return e},we().extend(Pe());const Oe=we();function je(e){var r=(0,t.v9)("page"),n=r.lfs,o=r.file;if(n){var i=n.url,a=n.files[e];if(a)return i.replace("{oid}",a)}return o.relative(e)}function Te(){var e=(0,t.v9)("page"),r=e.lfs,n=e.file;return{getUrl:function(e){if((0,t.CB)(e))return e;if(r){var o=r.url,i=r.files[e];if(i)return o.replace("{oid}",i)}return n.relative(e)},upload:function(e,t){throw new Error("upload not support in reader context")}}}var _e=a(4286),Be=a(77852);function Re(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];(0,h.useEffect)((function(){if(e)return document.body.style.overflow="hidden",t&&window.scrollTo(0,0),function(){document.body.style.overflow="visible"}}),[e])}function Ie(){var e=(0,t.v9)("options").preview;return void 0!==e&&e}a(53915),a(23740);function Le(e){var n=e.className,o=(0,t.cw)(),i=(0,t.v9)("options").poweredBy;return i?(0,r.jsx)("div",{className:n,children:o.formatMessage({id:"YMZgTe",defaultMessage:[{type:0,value:"由 "},{type:1,value:"link"},{type:0,value:" 强力驱动"}]},{link:(0,r.jsx)("a",{href:i.link,target:"_blank",children:i.name})})}):null}function Me(e){var t=e.size,n=void 0===t?60:t,o=e.className,i=ye();return(0,r.jsx)("img",{className:o,src:i,width:n,height:n,alt:"logo"})}var Ne=a(91223),$e=(a(69017),a(18887)),Ue=a.n($e);function ze(e){var n=e.url,o=e.title,i=e.className,a=(0,t.CQ)().summary;if(!n.startsWith("http")&&".md"===Ue().extname(n)){var s=a.getArticle((function(e){return e.ref===n}));if(s)return(0,r.jsx)(Ne.Z,{className:i,to:s,children:o})}return(0,r.jsx)("a",{className:i,href:n,target:"_blank",children:o})}a(25444),a(44703),a(19855),a(77389),a(37607),a(55126),a(87462),a(5148);function He(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function qe(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?He(Object(r),!0).forEach((function(t){O()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):He(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Ve=(0,h.lazy)((function(){return a.e(454).then(a.bind(a,55454))}));function Ge(e){return(0,r.jsx)(h.Suspense,{fallback:null,children:(0,r.jsx)(Ve,qe({},e))})}var We=(0,h.lazy)((function(){return Promise.all([a.e(331),a.e(449)]).then(a.bind(a,97449))}));function Qe(){return(0,r.jsx)(h.Suspense,{fallback:null,children:(0,r.jsx)(We,{})})}var Ke=a(92159),Ye=a(64020),Ze=a.n(Ye),Je=a(34889),Xe=a.n(Je),et=["element","src"];function tt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function rt(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?tt(Object(r),!0).forEach((function(t){O()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):tt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function nt(e){var n=e.element,o=e.src,i=Xe()(e,et),a=(0,t.v9)("page"),s=a.lfs,u=a.file;if(o&&s&&!(0,t.CB)(o)&&u){var c=s.url,l=s.files[u.resolve(decodeURIComponent(o))];l&&(o=c.replace("{oid}",l))}return(0,r.jsx)(t.cu,{role:"page:asset",props:rt({src:o},i),component:n})}function ot(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function it(e){return(0,r.jsx)(nt,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ot(Object(r),!0).forEach((function(t){O()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ot(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({element:"img"},e))}function at(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function st(e){return(0,r.jsx)(nt,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?at(Object(r),!0).forEach((function(t){O()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):at(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({element:"t-attachment"},e))}function ut(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ct(e){return(0,r.jsx)(nt,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ut(Object(r),!0).forEach((function(t){O()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ut(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({element:"video"},e))}function lt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ft(e){return(0,r.jsx)(nt,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?lt(Object(r),!0).forEach((function(t){O()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):lt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({element:"audio"},e))}function ht(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function pt(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ht(Object(r),!0).forEach((function(t){O()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ht(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function dt(e){var t=(0,de.ZP)();return(0,r.jsx)(Ke.Z,pt(pt({},e),{},{base:t}))}var mt,gt,yt,vt,bt=["children","components"];function Et(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Dt(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Et(Object(r),!0).forEach((function(t){O()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Et(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function wt(e){var n=e.children,o=e.components,i=Xe()(e,bt),a=(0,h.useContext)(ue);return(0,r.jsx)(t.UG,Dt(Dt({},i),{},{css:a,loader:(0,r.jsx)(ee,{}),components:(0,h.useMemo)((function(){return Dt({a:dt,img:it,attachment:st,video:ct,audio:ft},o)}),[o]),children:n}))}var xt=["depth","id","children"],Ft=["className","header","footer","offset","aside"];function St(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function At(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?St(Object(r),!0).forEach((function(t){O()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):St(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var kt={heading:function(e){var t=e.depth,n=e.id,o=e.children,i=Xe()(e,xt);return n&&(o=(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(Ot,{tabIndex:-1,id:n}),o]})),(0,h.createElement)("h".concat(t),i,o)}},Ct=function(e){if(e){var t=document.getElementById(decodeURIComponent(e).substr(1));t&&window.scrollTo(0,t.offsetTop)}};function Pt(e){var n=e.className,o=e.header,i=e.footer,a=e.offset,s=e.aside,u=void 0===s||s,c=Xe()(e,Ft),l=(0,ie.Z)(),f=(0,de.ZP)();(0,h.useEffect)((function(){Ct(d.m8.location.hash);var e=d.m8.listen((function(e){Ct(e.location.hash)}));return function(){e()}}),[l.path]),void 0===o&&f&&(o=(0,r.jsx)(Tt,{children:f.title})),o=(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(t.IA,{role:"page:article:before"}),o,(0,r.jsx)(t.IA,{role:"page:article:content:before"})]}),i=(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(t.IA,{role:"page:article:content:after"}),i,(0,r.jsx)(t.IA,{role:"page:article:after"})]}),u&&(u={header:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(t.IA,{role:"page:article:aside:before"}),"object"===Ze()(u)&&u.header]}),footer:(0,r.jsxs)(r.Fragment,{children:["object"===Ze()(u)&&u.footer,(0,r.jsx)(t.IA,{role:"page:article:aside:after"})]})});var p=(0,r.jsx)(t.cu,{role:"page:article:markdown",component:wt,props:At({header:o,footer:i,aside:u,children:l.content,components:kt},c)});return(0,r.jsx)(jt,{className:n,offset:a,children:p},l.path)}var Ot=t.zo.a(mt||(mt=X()(["\n display: block;\n position: relative;\n top: -.5em;\n"]))),jt=t.zo.div(gt||(gt=X()(["\n ","\n"])),(function(e){return e.offset&&(0,t.iv)(yt||(yt=X()(["\n "," {\n top: calc(-.5em - ","px);\n }\n "])),Ot,e.offset)})),Tt=t.zo.h1(vt||(vt=X()(["\n border-bottom: 1px solid #eee;\n font-size: 2em;\n line-height: 1.2;\n padding: 0 0 .5em;\n margin: 0 0 1em;\n font-weight: 400;\n"]))),_t=a(45471),Bt=a.n(_t),Rt=(a(8213),a(94332),function(e){var n=e.item,o=e.itemComponent,a=e.itemsComponent,s=(0,ie.Z)().path,u=(0,de.ZP)(),c=(0,t.LU)(),l=(0,h.useMemo)((function(){return Boolean(u&&n.getLevel().isDescendant(u.getLevel()))}),[n,u]),f=s===n.getPath(),p=(0,h.useState)((function(){return-1===c.expandLevel||c.expandLevel>=n.level.getDepth()||(l||f)})),d=i()(p,2),m=d[0],g=d[1];(0,h.useEffect)((function(){!m&&f&&g(!0)}),[f]),(0,h.useEffect)((function(){!m&&l&&g(!0)}),[l]);var y=n.children.length>0,v=!n.getPath(),b=y?(0,r.jsx)(Lt,{itemsComponent:a,itemComponent:o,items:n.children}):null;return(0,r.jsx)(t.cu,{role:"catalog:item",props:{item:n,open:m,setOpen:g,active:f,disabled:v,activeDescendant:l,children:b},component:o})}),It=function(e){var t=e.children;return(0,r.jsx)("ul",{children:t})},Lt=function(e){var n=e.items,o=e.part,i=e.itemsComponent,a=void 0===i?It:i,s=e.itemComponent,u=(0,r.jsx)(r.Fragment,{children:n.map((function(e){return(0,r.jsx)(Rt,{itemsComponent:a,itemComponent:s,item:e},e.level.toString())}))});return(0,r.jsx)(t.cu,{role:"catalog:items",props:{part:o,children:u},component:a})},Mt=function(e){var n=e.part,o=e.component,i=e.itemsComponent,a=e.itemComponent,s=(0,r.jsx)(Lt,{itemsComponent:i,itemComponent:a,items:n.articles,part:n});return(0,r.jsx)(t.cu,{role:"catalog:part",props:{part:n,children:s},component:o})},Nt=function(e){var t=e.summary,n=e.partComponent,o=e.itemsComponent,i=e.itemComponent;return t.isSinglePart()?(0,r.jsx)(Lt,{itemsComponent:o,itemComponent:i,items:t.getLastPart().getArticles()}):(0,r.jsx)(r.Fragment,{children:t.parts.map((function(e){return(0,r.jsx)(Mt,{component:n,itemsComponent:o,itemComponent:i,part:e},e.level.toString())}))})};function $t(e){var n=Object.assign({},(Bt()(e),e)),o=(0,t.v9)("book").summary,i=n.renderItem,a=n.renderPart;i&&(console.warn("renderItem deprecated"),n.itemComponent=i),a&&(console.warn("renderPart deprecated"),n.partComponent=a);var s=n.partComponent,u=n.itemsComponent,c=n.itemComponent;return(0,r.jsx)(Nt,{summary:o,partComponent:s,itemsComponent:u,itemComponent:c})}a(75041);var Ut=function(e){return e instanceof t.oI?(0,r.jsx)(Ne.Z,{to:e}):e.title};function zt(e){var n=e.className,o=e.renderItem,i=void 0===o?Ut:o,a=(0,t.CQ)().summary,s=(0,de.ZP)(),u=(0,t.cw)().formatMessage({id:"4R5GEq",defaultMessage:[{type:0,value:"首页"}]}),c=[(0,r.jsx)("li",{children:(0,r.jsx)(Ne.Z,{to:".",children:u})},"0")];if(s){var l=s.getLevel();l.data.reduce((function(e,n){e.push(n);var o,s=new t.aC(e),u=a.getByLevel(s);u&&(o=s.eq(l)?u.title:i(u),c.push((0,r.jsx)("li",{children:o},s.toString())));return e}),[])}return(0,r.jsx)("ol",{className:n,children:c})}function Ht(e){var r=e.children,n=(0,t.CQ)().summary,o=(0,de.ZP)(),i=(0,ie.Z)();return(0,h.useEffect)((function(){if(!o){var e=n.getFirstArticle();e&&d.m8.replace(i.relative(e.path))}}),[o]),o?r:null}!function(){console.log("%cWelcome to TopWrite!%c\n","padding-top: 0.5em; font-size: 2em;","padding-bottom: 0.5em;");var e=a(4147);console.log("[ua:version] ".concat(navigator.userAgent)),console.log("[client:version] v".concat(e.version))}()})(),window.TopWrite=s})();
360
+ !function(e){"use strict";function t(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];if(t.length>1){t[0]=t[0].slice(0,-1);for(var n=t.length-1,o=1;o<n;++o)t[o]=t[o].slice(1,-1);return t[n]=t[n].slice(1),t.join("")}return t[0]}function r(e){return"(?:"+e+")"}function n(e){return void 0===e?"undefined":null===e?"null":Object.prototype.toString.call(e).split(" ").pop().split("]").shift().toLowerCase()}function o(e){return e.toUpperCase()}function i(e){return null!=e?e instanceof Array?e:"number"!=typeof e.length||e.split||e.setInterval||e.call?[e]:Array.prototype.slice.call(e):[]}function a(e,t){var r=e;if(t)for(var n in t)r[n]=t[n];return r}function s(e){var n="[A-Za-z]",o="[0-9]",i=t(o,"[A-Fa-f]"),a=r(r("%[EFef]"+i+"%"+i+i+"%"+i+i)+"|"+r("%[89A-Fa-f]"+i+"%"+i+i)+"|"+r("%"+i+i)),s="[\\!\\$\\&\\'\\(\\)\\*\\+\\,\\;\\=]",u=t("[\\:\\/\\?\\#\\[\\]\\@]",s),c=e?"[\\uE000-\\uF8FF]":"[]",l=t(n,o,"[\\-\\.\\_\\~]",e?"[\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]":"[]"),f=r(n+t(n,o,"[\\+\\-\\.]")+"*"),h=r(r(a+"|"+t(l,s,"[\\:]"))+"*"),p=(r(r("25[0-5]")+"|"+r("2[0-4]"+o)+"|"+r("1"+o+o)+"|"+r("[1-9]"+o)+"|"+o),r(r("25[0-5]")+"|"+r("2[0-4]"+o)+"|"+r("1"+o+o)+"|"+r("0?[1-9]"+o)+"|0?0?"+o)),d=r(p+"\\."+p+"\\."+p+"\\."+p),m=r(i+"{1,4}"),g=r(r(m+"\\:"+m)+"|"+d),y=r(r(m+"\\:")+"{6}"+g),v=r("\\:\\:"+r(m+"\\:")+"{5}"+g),b=r(r(m)+"?\\:\\:"+r(m+"\\:")+"{4}"+g),E=r(r(r(m+"\\:")+"{0,1}"+m)+"?\\:\\:"+r(m+"\\:")+"{3}"+g),D=r(r(r(m+"\\:")+"{0,2}"+m)+"?\\:\\:"+r(m+"\\:")+"{2}"+g),w=r(r(r(m+"\\:")+"{0,3}"+m)+"?\\:\\:"+m+"\\:"+g),x=r(r(r(m+"\\:")+"{0,4}"+m)+"?\\:\\:"+g),F=r(r(r(m+"\\:")+"{0,5}"+m)+"?\\:\\:"+m),S=r(r(r(m+"\\:")+"{0,6}"+m)+"?\\:\\:"),A=r([y,v,b,E,D,w,x,F,S].join("|")),k=r(r(l+"|"+a)+"+"),C=(r(A+"\\%25"+k),r(A+r("\\%25|\\%(?!"+i+"{2})")+k)),P=r("[vV]"+i+"+\\."+t(l,s,"[\\:]")+"+"),O=r("\\["+r(C+"|"+A+"|"+P)+"\\]"),j=r(r(a+"|"+t(l,s))+"*"),T=r(O+"|"+d+"(?!"+j+")|"+j),_=r(o+"*"),B=r(r(h+"@")+"?"+T+r("\\:"+_)+"?"),R=r(a+"|"+t(l,s,"[\\:\\@]")),I=r(R+"*"),L=r(R+"+"),M=r(r(a+"|"+t(l,s,"[\\@]"))+"+"),N=r(r("\\/"+I)+"*"),$=r("\\/"+r(L+N)+"?"),U=r(M+N),z=r(L+N),H="(?!"+R+")",q=(r(N+"|"+$+"|"+U+"|"+z+"|"+H),r(r(R+"|"+t("[\\/\\?]",c))+"*")),V=r(r(R+"|[\\/\\?]")+"*"),G=r(r("\\/\\/"+B+N)+"|"+$+"|"+z+"|"+H),W=r(f+"\\:"+G+r("\\?"+q)+"?"+r("\\#"+V)+"?"),Q=r(r("\\/\\/"+B+N)+"|"+$+"|"+U+"|"+H),K=r(Q+r("\\?"+q)+"?"+r("\\#"+V)+"?");return r(W+"|"+K),r(f+"\\:"+G+r("\\?"+q)+"?"),r(r("\\/\\/("+r("("+h+")@")+"?("+T+")"+r("\\:("+_+")")+"?)")+"?("+N+"|"+$+"|"+z+"|"+H+")"),r("\\?("+q+")"),r("\\#("+V+")"),r(r("\\/\\/("+r("("+h+")@")+"?("+T+")"+r("\\:("+_+")")+"?)")+"?("+N+"|"+$+"|"+U+"|"+H+")"),r("\\?("+q+")"),r("\\#("+V+")"),r(r("\\/\\/("+r("("+h+")@")+"?("+T+")"+r("\\:("+_+")")+"?)")+"?("+N+"|"+$+"|"+z+"|"+H+")"),r("\\?("+q+")"),r("\\#("+V+")"),r("("+h+")@"),r("\\:("+_+")"),{NOT_SCHEME:new RegExp(t("[^]",n,o,"[\\+\\-\\.]"),"g"),NOT_USERINFO:new RegExp(t("[^\\%\\:]",l,s),"g"),NOT_HOST:new RegExp(t("[^\\%\\[\\]\\:]",l,s),"g"),NOT_PATH:new RegExp(t("[^\\%\\/\\:\\@]",l,s),"g"),NOT_PATH_NOSCHEME:new RegExp(t("[^\\%\\/\\@]",l,s),"g"),NOT_QUERY:new RegExp(t("[^\\%]",l,s,"[\\:\\@\\/\\?]",c),"g"),NOT_FRAGMENT:new RegExp(t("[^\\%]",l,s,"[\\:\\@\\/\\?]"),"g"),ESCAPE:new RegExp(t("[^]",l,s),"g"),UNRESERVED:new RegExp(l,"g"),OTHER_CHARS:new RegExp(t("[^\\%]",l,u),"g"),PCT_ENCODED:new RegExp(a,"g"),IPV4ADDRESS:new RegExp("^("+d+")$"),IPV6ADDRESS:new RegExp("^\\[?("+A+")"+r(r("\\%25|\\%(?!"+i+"{2})")+"("+k+")")+"?\\]?$")}}var u=s(!1),c=s(!0),l=function(){function e(e,t){var r=[],n=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(n=(a=s.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(e){o=!0,i=e}finally{try{!n&&s.return&&s.return()}finally{if(o)throw i}}return r}return function(t,r){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,r);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),f=function(e){if(Array.isArray(e)){for(var t=0,r=Array(e.length);t<e.length;t++)r[t]=e[t];return r}return Array.from(e)},h=2147483647,p=36,d=1,m=26,g=38,y=700,v=72,b=128,E="-",D=/^xn--/,w=/[^\0-\x7E]/,x=/[\x2E\u3002\uFF0E\uFF61]/g,F={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},S=p-d,A=Math.floor,k=String.fromCharCode;function C(e){throw new RangeError(F[e])}function P(e,t){for(var r=[],n=e.length;n--;)r[n]=t(e[n]);return r}function O(e,t){var r=e.split("@"),n="";return r.length>1&&(n=r[0]+"@",e=r[1]),n+P((e=e.replace(x,".")).split("."),t).join(".")}function j(e){for(var t=[],r=0,n=e.length;r<n;){var o=e.charCodeAt(r++);if(o>=55296&&o<=56319&&r<n){var i=e.charCodeAt(r++);56320==(64512&i)?t.push(((1023&o)<<10)+(1023&i)+65536):(t.push(o),r--)}else t.push(o)}return t}var T=function(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:p},_=function(e,t){return e+22+75*(e<26)-((0!=t)<<5)},B=function(e,t,r){var n=0;for(e=r?A(e/y):e>>1,e+=A(e/t);e>S*m>>1;n+=p)e=A(e/S);return A(n+(S+1)*e/(e+g))},R=function(e){var t=[],r=e.length,n=0,o=b,i=v,a=e.lastIndexOf(E);a<0&&(a=0);for(var s=0;s<a;++s)e.charCodeAt(s)>=128&&C("not-basic"),t.push(e.charCodeAt(s));for(var u=a>0?a+1:0;u<r;){for(var c=n,l=1,f=p;;f+=p){u>=r&&C("invalid-input");var g=T(e.charCodeAt(u++));(g>=p||g>A((h-n)/l))&&C("overflow"),n+=g*l;var y=f<=i?d:f>=i+m?m:f-i;if(g<y)break;var D=p-y;l>A(h/D)&&C("overflow"),l*=D}var w=t.length+1;i=B(n-c,w,0==c),A(n/w)>h-o&&C("overflow"),o+=A(n/w),n%=w,t.splice(n++,0,o)}return String.fromCodePoint.apply(String,t)},I=function(e){var t=[],r=(e=j(e)).length,n=b,o=0,i=v,a=!0,s=!1,u=void 0;try{for(var c,l=e[Symbol.iterator]();!(a=(c=l.next()).done);a=!0){var f=c.value;f<128&&t.push(k(f))}}catch(e){s=!0,u=e}finally{try{!a&&l.return&&l.return()}finally{if(s)throw u}}var g=t.length,y=g;for(g&&t.push(E);y<r;){var D=h,w=!0,x=!1,F=void 0;try{for(var S,P=e[Symbol.iterator]();!(w=(S=P.next()).done);w=!0){var O=S.value;O>=n&&O<D&&(D=O)}}catch(e){x=!0,F=e}finally{try{!w&&P.return&&P.return()}finally{if(x)throw F}}var T=y+1;D-n>A((h-o)/T)&&C("overflow"),o+=(D-n)*T,n=D;var R=!0,I=!1,L=void 0;try{for(var M,N=e[Symbol.iterator]();!(R=(M=N.next()).done);R=!0){var $=M.value;if($<n&&++o>h&&C("overflow"),$==n){for(var U=o,z=p;;z+=p){var H=z<=i?d:z>=i+m?m:z-i;if(U<H)break;var q=U-H,V=p-H;t.push(k(_(H+q%V,0))),U=A(q/V)}t.push(k(_(U,0))),i=B(o,T,y==g),o=0,++y}}}catch(e){I=!0,L=e}finally{try{!R&&N.return&&N.return()}finally{if(I)throw L}}++o,++n}return t.join("")},L=function(e){return O(e,(function(e){return D.test(e)?R(e.slice(4).toLowerCase()):e}))},M=function(e){return O(e,(function(e){return w.test(e)?"xn--"+I(e):e}))},N={version:"2.1.0",ucs2:{decode:j,encode:function(e){return String.fromCodePoint.apply(String,f(e))}},decode:R,encode:I,toASCII:M,toUnicode:L},$={};function U(e){var t=e.charCodeAt(0);return t<16?"%0"+t.toString(16).toUpperCase():t<128?"%"+t.toString(16).toUpperCase():t<2048?"%"+(t>>6|192).toString(16).toUpperCase()+"%"+(63&t|128).toString(16).toUpperCase():"%"+(t>>12|224).toString(16).toUpperCase()+"%"+(t>>6&63|128).toString(16).toUpperCase()+"%"+(63&t|128).toString(16).toUpperCase()}function z(e){for(var t="",r=0,n=e.length;r<n;){var o=parseInt(e.substr(r+1,2),16);if(o<128)t+=String.fromCharCode(o),r+=3;else if(o>=194&&o<224){if(n-r>=6){var i=parseInt(e.substr(r+4,2),16);t+=String.fromCharCode((31&o)<<6|63&i)}else t+=e.substr(r,6);r+=6}else if(o>=224){if(n-r>=9){var a=parseInt(e.substr(r+4,2),16),s=parseInt(e.substr(r+7,2),16);t+=String.fromCharCode((15&o)<<12|(63&a)<<6|63&s)}else t+=e.substr(r,9);r+=9}else t+=e.substr(r,3),r+=3}return t}function H(e,t){function r(e){var r=z(e);return r.match(t.UNRESERVED)?r:e}return e.scheme&&(e.scheme=String(e.scheme).replace(t.PCT_ENCODED,r).toLowerCase().replace(t.NOT_SCHEME,"")),void 0!==e.userinfo&&(e.userinfo=String(e.userinfo).replace(t.PCT_ENCODED,r).replace(t.NOT_USERINFO,U).replace(t.PCT_ENCODED,o)),void 0!==e.host&&(e.host=String(e.host).replace(t.PCT_ENCODED,r).toLowerCase().replace(t.NOT_HOST,U).replace(t.PCT_ENCODED,o)),void 0!==e.path&&(e.path=String(e.path).replace(t.PCT_ENCODED,r).replace(e.scheme?t.NOT_PATH:t.NOT_PATH_NOSCHEME,U).replace(t.PCT_ENCODED,o)),void 0!==e.query&&(e.query=String(e.query).replace(t.PCT_ENCODED,r).replace(t.NOT_QUERY,U).replace(t.PCT_ENCODED,o)),void 0!==e.fragment&&(e.fragment=String(e.fragment).replace(t.PCT_ENCODED,r).replace(t.NOT_FRAGMENT,U).replace(t.PCT_ENCODED,o)),e}function q(e){return e.replace(/^0*(.*)/,"$1")||"0"}function V(e,t){var r=e.match(t.IPV4ADDRESS)||[],n=l(r,2)[1];return n?n.split(".").map(q).join("."):e}function G(e,t){var r=e.match(t.IPV6ADDRESS)||[],n=l(r,3),o=n[1],i=n[2];if(o){for(var a=o.toLowerCase().split("::").reverse(),s=l(a,2),u=s[0],c=s[1],f=c?c.split(":").map(q):[],h=u.split(":").map(q),p=t.IPV4ADDRESS.test(h[h.length-1]),d=p?7:8,m=h.length-d,g=Array(d),y=0;y<d;++y)g[y]=f[y]||h[m+y]||"";p&&(g[d-1]=V(g[d-1],t));var v=g.reduce((function(e,t,r){if(!t||"0"===t){var n=e[e.length-1];n&&n.index+n.length===r?n.length++:e.push({index:r,length:1})}return e}),[]).sort((function(e,t){return t.length-e.length}))[0],b=void 0;if(v&&v.length>1){var E=g.slice(0,v.index),D=g.slice(v.index+v.length);b=E.join(":")+"::"+D.join(":")}else b=g.join(":");return i&&(b+="%"+i),b}return e}var W=/^(?:([^:\/?#]+):)?(?:\/\/((?:([^\/?#@]*)@)?(\[[^\/?#\]]+\]|[^\/?#:]*)(?:\:(\d*))?))?([^?#]*)(?:\?([^#]*))?(?:#((?:.|\n|\r)*))?/i,Q=void 0==="".match(/(){0}/)[1];function K(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r={},n=!1!==t.iri?c:u;"suffix"===t.reference&&(e=(t.scheme?t.scheme+":":"")+"//"+e);var o=e.match(W);if(o){Q?(r.scheme=o[1],r.userinfo=o[3],r.host=o[4],r.port=parseInt(o[5],10),r.path=o[6]||"",r.query=o[7],r.fragment=o[8],isNaN(r.port)&&(r.port=o[5])):(r.scheme=o[1]||void 0,r.userinfo=-1!==e.indexOf("@")?o[3]:void 0,r.host=-1!==e.indexOf("//")?o[4]:void 0,r.port=parseInt(o[5],10),r.path=o[6]||"",r.query=-1!==e.indexOf("?")?o[7]:void 0,r.fragment=-1!==e.indexOf("#")?o[8]:void 0,isNaN(r.port)&&(r.port=e.match(/\/\/(?:.|\n)*\:(?:\/|\?|\#|$)/)?o[4]:void 0)),r.host&&(r.host=G(V(r.host,n),n)),void 0!==r.scheme||void 0!==r.userinfo||void 0!==r.host||void 0!==r.port||r.path||void 0!==r.query?void 0===r.scheme?r.reference="relative":void 0===r.fragment?r.reference="absolute":r.reference="uri":r.reference="same-document",t.reference&&"suffix"!==t.reference&&t.reference!==r.reference&&(r.error=r.error||"URI is not a "+t.reference+" reference.");var i=$[(t.scheme||r.scheme||"").toLowerCase()];if(t.unicodeSupport||i&&i.unicodeSupport)H(r,n);else{if(r.host&&(t.domainHost||i&&i.domainHost))try{r.host=N.toASCII(r.host.replace(n.PCT_ENCODED,z).toLowerCase())}catch(e){r.error=r.error||"Host's domain name can not be converted to ASCII via punycode: "+e}H(r,u)}i&&i.parse&&i.parse(r,t)}else r.error=r.error||"URI can not be parsed.";return r}function Y(e,t){var r=!1!==t.iri?c:u,n=[];return void 0!==e.userinfo&&(n.push(e.userinfo),n.push("@")),void 0!==e.host&&n.push(G(V(String(e.host),r),r).replace(r.IPV6ADDRESS,(function(e,t,r){return"["+t+(r?"%25"+r:"")+"]"}))),"number"!=typeof e.port&&"string"!=typeof e.port||(n.push(":"),n.push(String(e.port))),n.length?n.join(""):void 0}var Z=/^\.\.?\//,J=/^\/\.(\/|$)/,X=/^\/\.\.(\/|$)/,ee=/^\/?(?:.|\n)*?(?=\/|$)/;function te(e){for(var t=[];e.length;)if(e.match(Z))e=e.replace(Z,"");else if(e.match(J))e=e.replace(J,"/");else if(e.match(X))e=e.replace(X,"/"),t.pop();else if("."===e||".."===e)e="";else{var r=e.match(ee);if(!r)throw new Error("Unexpected dot segment condition");var n=r[0];e=e.slice(n.length),t.push(n)}return t.join("")}function re(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.iri?c:u,n=[],o=$[(t.scheme||e.scheme||"").toLowerCase()];if(o&&o.serialize&&o.serialize(e,t),e.host)if(r.IPV6ADDRESS.test(e.host));else if(t.domainHost||o&&o.domainHost)try{e.host=t.iri?N.toUnicode(e.host):N.toASCII(e.host.replace(r.PCT_ENCODED,z).toLowerCase())}catch(r){e.error=e.error||"Host's domain name can not be converted to "+(t.iri?"Unicode":"ASCII")+" via punycode: "+r}H(e,r),"suffix"!==t.reference&&e.scheme&&(n.push(e.scheme),n.push(":"));var i=Y(e,t);if(void 0!==i&&("suffix"!==t.reference&&n.push("//"),n.push(i),e.path&&"/"!==e.path.charAt(0)&&n.push("/")),void 0!==e.path){var a=e.path;t.absolutePath||o&&o.absolutePath||(a=te(a)),void 0===i&&(a=a.replace(/^\/\//,"/%2F")),n.push(a)}return void 0!==e.query&&(n.push("?"),n.push(e.query)),void 0!==e.fragment&&(n.push("#"),n.push(e.fragment)),n.join("")}function ne(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n={};return arguments[3]||(e=K(re(e,r),r),t=K(re(t,r),r)),!(r=r||{}).tolerant&&t.scheme?(n.scheme=t.scheme,n.userinfo=t.userinfo,n.host=t.host,n.port=t.port,n.path=te(t.path||""),n.query=t.query):(void 0!==t.userinfo||void 0!==t.host||void 0!==t.port?(n.userinfo=t.userinfo,n.host=t.host,n.port=t.port,n.path=te(t.path||""),n.query=t.query):(t.path?("/"===t.path.charAt(0)?n.path=te(t.path):(void 0===e.userinfo&&void 0===e.host&&void 0===e.port||e.path?e.path?n.path=e.path.slice(0,e.path.lastIndexOf("/")+1)+t.path:n.path=t.path:n.path="/"+t.path,n.path=te(n.path)),n.query=t.query):(n.path=e.path,void 0!==t.query?n.query=t.query:n.query=e.query),n.userinfo=e.userinfo,n.host=e.host,n.port=e.port),n.scheme=e.scheme),n.fragment=t.fragment,n}function oe(e,t,r){var n=a({scheme:"null"},r);return re(ne(K(e,n),K(t,n),n,!0),n)}function ie(e,t){return"string"==typeof e?e=re(K(e,t),t):"object"===n(e)&&(e=K(re(e,t),t)),e}function ae(e,t,r){return"string"==typeof e?e=re(K(e,r),r):"object"===n(e)&&(e=re(e,r)),"string"==typeof t?t=re(K(t,r),r):"object"===n(t)&&(t=re(t,r)),e===t}function se(e,t){return e&&e.toString().replace(t&&t.iri?c.ESCAPE:u.ESCAPE,U)}function ue(e,t){return e&&e.toString().replace(t&&t.iri?c.PCT_ENCODED:u.PCT_ENCODED,z)}var ce={scheme:"http",domainHost:!0,parse:function(e,t){return e.host||(e.error=e.error||"HTTP URIs must have a host."),e},serialize:function(e,t){var r="https"===String(e.scheme).toLowerCase();return e.port!==(r?443:80)&&""!==e.port||(e.port=void 0),e.path||(e.path="/"),e}},le={scheme:"https",domainHost:ce.domainHost,parse:ce.parse,serialize:ce.serialize};function fe(e){return"boolean"==typeof e.secure?e.secure:"wss"===String(e.scheme).toLowerCase()}var he={scheme:"ws",domainHost:!0,parse:function(e,t){var r=e;return r.secure=fe(r),r.resourceName=(r.path||"/")+(r.query?"?"+r.query:""),r.path=void 0,r.query=void 0,r},serialize:function(e,t){if(e.port!==(fe(e)?443:80)&&""!==e.port||(e.port=void 0),"boolean"==typeof e.secure&&(e.scheme=e.secure?"wss":"ws",e.secure=void 0),e.resourceName){var r=e.resourceName.split("?"),n=l(r,2),o=n[0],i=n[1];e.path=o&&"/"!==o?o:void 0,e.query=i,e.resourceName=void 0}return e.fragment=void 0,e}},pe={scheme:"wss",domainHost:he.domainHost,parse:he.parse,serialize:he.serialize},de={},me="[A-Za-z0-9\\-\\.\\_\\~\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]",ge="[0-9A-Fa-f]",ye=r(r("%[EFef]"+ge+"%"+ge+ge+"%"+ge+ge)+"|"+r("%[89A-Fa-f]"+ge+"%"+ge+ge)+"|"+r("%"+ge+ge)),ve="[A-Za-z0-9\\!\\$\\%\\'\\*\\+\\-\\^\\_\\`\\{\\|\\}\\~]",be=t("[\\!\\$\\%\\'\\(\\)\\*\\+\\,\\-\\.0-9\\<\\>A-Z\\x5E-\\x7E]",'[\\"\\\\]'),Ee="[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]",De=new RegExp(me,"g"),we=new RegExp(ye,"g"),xe=new RegExp(t("[^]",ve,"[\\.]",'[\\"]',be),"g"),Fe=new RegExp(t("[^]",me,Ee),"g"),Se=Fe;function Ae(e){var t=z(e);return t.match(De)?t:e}var ke={scheme:"mailto",parse:function(e,t){var r=e,n=r.to=r.path?r.path.split(","):[];if(r.path=void 0,r.query){for(var o=!1,i={},a=r.query.split("&"),s=0,u=a.length;s<u;++s){var c=a[s].split("=");switch(c[0]){case"to":for(var l=c[1].split(","),f=0,h=l.length;f<h;++f)n.push(l[f]);break;case"subject":r.subject=ue(c[1],t);break;case"body":r.body=ue(c[1],t);break;default:o=!0,i[ue(c[0],t)]=ue(c[1],t)}}o&&(r.headers=i)}r.query=void 0;for(var p=0,d=n.length;p<d;++p){var m=n[p].split("@");if(m[0]=ue(m[0]),t.unicodeSupport)m[1]=ue(m[1],t).toLowerCase();else try{m[1]=N.toASCII(ue(m[1],t).toLowerCase())}catch(e){r.error=r.error||"Email address's domain name can not be converted to ASCII via punycode: "+e}n[p]=m.join("@")}return r},serialize:function(e,t){var r=e,n=i(e.to);if(n){for(var a=0,s=n.length;a<s;++a){var u=String(n[a]),c=u.lastIndexOf("@"),l=u.slice(0,c).replace(we,Ae).replace(we,o).replace(xe,U),f=u.slice(c+1);try{f=t.iri?N.toUnicode(f):N.toASCII(ue(f,t).toLowerCase())}catch(e){r.error=r.error||"Email address's domain name can not be converted to "+(t.iri?"Unicode":"ASCII")+" via punycode: "+e}n[a]=l+"@"+f}r.path=n.join(",")}var h=e.headers=e.headers||{};e.subject&&(h.subject=e.subject),e.body&&(h.body=e.body);var p=[];for(var d in h)h[d]!==de[d]&&p.push(d.replace(we,Ae).replace(we,o).replace(Fe,U)+"="+h[d].replace(we,Ae).replace(we,o).replace(Se,U));return p.length&&(r.query=p.join("&")),r}},Ce=/^([^\:]+)\:(.*)/,Pe={scheme:"urn",parse:function(e,t){var r=e.path&&e.path.match(Ce),n=e;if(r){var o=t.scheme||n.scheme||"urn",i=r[1].toLowerCase(),a=r[2],s=o+":"+(t.nid||i),u=$[s];n.nid=i,n.nss=a,n.path=void 0,u&&(n=u.parse(n,t))}else n.error=n.error||"URN can not be parsed.";return n},serialize:function(e,t){var r=t.scheme||e.scheme||"urn",n=e.nid,o=r+":"+(t.nid||n),i=$[o];i&&(e=i.serialize(e,t));var a=e,s=e.nss;return a.path=(n||t.nid)+":"+s,a}},Oe=/^[0-9A-Fa-f]{8}(?:\-[0-9A-Fa-f]{4}){3}\-[0-9A-Fa-f]{12}$/,je={scheme:"urn:uuid",parse:function(e,t){var r=e;return r.uuid=r.nss,r.nss=void 0,t.tolerant||r.uuid&&r.uuid.match(Oe)||(r.error=r.error||"UUID is not valid."),r},serialize:function(e,t){var r=e;return r.nss=(e.uuid||"").toLowerCase(),r}};$[ce.scheme]=ce,$[le.scheme]=le,$[he.scheme]=he,$[pe.scheme]=pe,$[ke.scheme]=ke,$[Pe.scheme]=Pe,$[je.scheme]=je,e.SCHEMES=$,e.pctEncChar=U,e.pctDecChars=z,e.parse=K,e.removeDotSegments=te,e.serialize=re,e.resolveComponents=ne,e.resolve=oe,e.normalize=ie,e.equal=ae,e.escapeComponent=se,e.unescapeComponent=ue,Object.defineProperty(e,"__esModule",{value:!0})}(t)},3040:(e,t,r)=>{"use strict";var n=r(74870),o=r(54783);function i(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}t.parse=b,t.resolve=function(e,t){return b(e,!1,!0).resolve(t)},t.resolveObject=function(e,t){return e?b(e,!1,!0).resolveObject(t):t},t.format=function(e){o.isString(e)&&(e=b(e));return e instanceof i?e.format():i.prototype.format.call(e)},t.Url=i;var a=/^([a-z0-9.+-]+:)/i,s=/:[0-9]*$/,u=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,c=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),l=["'"].concat(c),f=["%","/","?",";","#"].concat(l),h=["/","?","#"],p=/^[+a-z0-9A-Z_-]{0,63}$/,d=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,m={javascript:!0,"javascript:":!0},g={javascript:!0,"javascript:":!0},y={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},v=r(54415);function b(e,t,r){if(e&&o.isObject(e)&&e instanceof i)return e;var n=new i;return n.parse(e,t,r),n}i.prototype.parse=function(e,t,r){if(!o.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var i=e.indexOf("?"),s=-1!==i&&i<e.indexOf("#")?"?":"#",c=e.split(s);c[0]=c[0].replace(/\\/g,"/");var b=e=c.join(s);if(b=b.trim(),!r&&1===e.split("#").length){var E=u.exec(b);if(E)return this.path=b,this.href=b,this.pathname=E[1],E[2]?(this.search=E[2],this.query=t?v.parse(this.search.substr(1)):this.search.substr(1)):t&&(this.search="",this.query={}),this}var D=a.exec(b);if(D){var w=(D=D[0]).toLowerCase();this.protocol=w,b=b.substr(D.length)}if(r||D||b.match(/^\/\/[^@\/]+@[^@\/]+/)){var x="//"===b.substr(0,2);!x||D&&g[D]||(b=b.substr(2),this.slashes=!0)}if(!g[D]&&(x||D&&!y[D])){for(var F,S,A=-1,k=0;k<h.length;k++){-1!==(C=b.indexOf(h[k]))&&(-1===A||C<A)&&(A=C)}-1!==(S=-1===A?b.lastIndexOf("@"):b.lastIndexOf("@",A))&&(F=b.slice(0,S),b=b.slice(S+1),this.auth=decodeURIComponent(F)),A=-1;for(k=0;k<f.length;k++){var C;-1!==(C=b.indexOf(f[k]))&&(-1===A||C<A)&&(A=C)}-1===A&&(A=b.length),this.host=b.slice(0,A),b=b.slice(A),this.parseHost(),this.hostname=this.hostname||"";var P="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!P)for(var O=this.hostname.split(/\./),j=(k=0,O.length);k<j;k++){var T=O[k];if(T&&!T.match(p)){for(var _="",B=0,R=T.length;B<R;B++)T.charCodeAt(B)>127?_+="x":_+=T[B];if(!_.match(p)){var I=O.slice(0,k),L=O.slice(k+1),M=T.match(d);M&&(I.push(M[1]),L.unshift(M[2])),L.length&&(b="/"+L.join(".")+b),this.hostname=I.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),P||(this.hostname=n.toASCII(this.hostname));var N=this.port?":"+this.port:"",$=this.hostname||"";this.host=$+N,this.href+=this.host,P&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==b[0]&&(b="/"+b))}if(!m[w])for(k=0,j=l.length;k<j;k++){var U=l[k];if(-1!==b.indexOf(U)){var z=encodeURIComponent(U);z===U&&(z=escape(U)),b=b.split(U).join(z)}}var H=b.indexOf("#");-1!==H&&(this.hash=b.substr(H),b=b.slice(0,H));var q=b.indexOf("?");if(-1!==q?(this.search=b.substr(q),this.query=b.substr(q+1),t&&(this.query=v.parse(this.query)),b=b.slice(0,q)):t&&(this.search="",this.query={}),b&&(this.pathname=b),y[w]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){N=this.pathname||"";var V=this.search||"";this.path=N+V}return this.href=this.format(),this},i.prototype.format=function(){var e=this.auth||"";e&&(e=(e=encodeURIComponent(e)).replace(/%3A/i,":"),e+="@");var t=this.protocol||"",r=this.pathname||"",n=this.hash||"",i=!1,a="";this.host?i=e+this.host:this.hostname&&(i=e+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(i+=":"+this.port)),this.query&&o.isObject(this.query)&&Object.keys(this.query).length&&(a=v.stringify(this.query));var s=this.search||a&&"?"+a||"";return t&&":"!==t.substr(-1)&&(t+=":"),this.slashes||(!t||y[t])&&!1!==i?(i="//"+(i||""),r&&"/"!==r.charAt(0)&&(r="/"+r)):i||(i=""),n&&"#"!==n.charAt(0)&&(n="#"+n),s&&"?"!==s.charAt(0)&&(s="?"+s),t+i+(r=r.replace(/[?#]/g,(function(e){return encodeURIComponent(e)})))+(s=s.replace("#","%23"))+n},i.prototype.resolve=function(e){return this.resolveObject(b(e,!1,!0)).format()},i.prototype.resolveObject=function(e){if(o.isString(e)){var t=new i;t.parse(e,!1,!0),e=t}for(var r=new i,n=Object.keys(this),a=0;a<n.length;a++){var s=n[a];r[s]=this[s]}if(r.hash=e.hash,""===e.href)return r.href=r.format(),r;if(e.slashes&&!e.protocol){for(var u=Object.keys(e),c=0;c<u.length;c++){var l=u[c];"protocol"!==l&&(r[l]=e[l])}return y[r.protocol]&&r.hostname&&!r.pathname&&(r.path=r.pathname="/"),r.href=r.format(),r}if(e.protocol&&e.protocol!==r.protocol){if(!y[e.protocol]){for(var f=Object.keys(e),h=0;h<f.length;h++){var p=f[h];r[p]=e[p]}return r.href=r.format(),r}if(r.protocol=e.protocol,e.host||g[e.protocol])r.pathname=e.pathname;else{for(var d=(e.pathname||"").split("/");d.length&&!(e.host=d.shift()););e.host||(e.host=""),e.hostname||(e.hostname=""),""!==d[0]&&d.unshift(""),d.length<2&&d.unshift(""),r.pathname=d.join("/")}if(r.search=e.search,r.query=e.query,r.host=e.host||"",r.auth=e.auth,r.hostname=e.hostname||e.host,r.port=e.port,r.pathname||r.search){var m=r.pathname||"",v=r.search||"";r.path=m+v}return r.slashes=r.slashes||e.slashes,r.href=r.format(),r}var b=r.pathname&&"/"===r.pathname.charAt(0),E=e.host||e.pathname&&"/"===e.pathname.charAt(0),D=E||b||r.host&&e.pathname,w=D,x=r.pathname&&r.pathname.split("/")||[],F=(d=e.pathname&&e.pathname.split("/")||[],r.protocol&&!y[r.protocol]);if(F&&(r.hostname="",r.port=null,r.host&&(""===x[0]?x[0]=r.host:x.unshift(r.host)),r.host="",e.protocol&&(e.hostname=null,e.port=null,e.host&&(""===d[0]?d[0]=e.host:d.unshift(e.host)),e.host=null),D=D&&(""===d[0]||""===x[0])),E)r.host=e.host||""===e.host?e.host:r.host,r.hostname=e.hostname||""===e.hostname?e.hostname:r.hostname,r.search=e.search,r.query=e.query,x=d;else if(d.length)x||(x=[]),x.pop(),x=x.concat(d),r.search=e.search,r.query=e.query;else if(!o.isNullOrUndefined(e.search)){if(F)r.hostname=r.host=x.shift(),(P=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@"))&&(r.auth=P.shift(),r.host=r.hostname=P.shift());return r.search=e.search,r.query=e.query,o.isNull(r.pathname)&&o.isNull(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.href=r.format(),r}if(!x.length)return r.pathname=null,r.search?r.path="/"+r.search:r.path=null,r.href=r.format(),r;for(var S=x.slice(-1)[0],A=(r.host||e.host||x.length>1)&&("."===S||".."===S)||""===S,k=0,C=x.length;C>=0;C--)"."===(S=x[C])?x.splice(C,1):".."===S?(x.splice(C,1),k++):k&&(x.splice(C,1),k--);if(!D&&!w)for(;k--;k)x.unshift("..");!D||""===x[0]||x[0]&&"/"===x[0].charAt(0)||x.unshift(""),A&&"/"!==x.join("/").substr(-1)&&x.push("");var P,O=""===x[0]||x[0]&&"/"===x[0].charAt(0);F&&(r.hostname=r.host=O?"":x.length?x.shift():"",(P=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@"))&&(r.auth=P.shift(),r.host=r.hostname=P.shift()));return(D=D||r.host&&x.length)&&!O&&x.unshift(""),x.length?r.pathname=x.join("/"):(r.pathname=null,r.path=null),o.isNull(r.pathname)&&o.isNull(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.auth=e.auth||r.auth,r.slashes=r.slashes||e.slashes,r.href=r.format(),r},i.prototype.parseHost=function(){var e=this.host,t=s.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},54783:e=>{"use strict";e.exports={isString:function(e){return"string"==typeof e},isObject:function(e){return"object"==typeof e&&null!==e},isNull:function(e){return null===e},isNullOrUndefined:function(e){return null==e}}},2439:e=>{e.exports=function(e){return e&&"object"==typeof e&&"function"==typeof e.copy&&"function"==typeof e.fill&&"function"==typeof e.readUInt8}},42406:(e,t,r)=>{"use strict";var n=r(7974),o=r(50434),i=r(3615),a=r(36466);function s(e){return e.call.bind(e)}var u="undefined"!=typeof BigInt,c="undefined"!=typeof Symbol,l=s(Object.prototype.toString),f=s(Number.prototype.valueOf),h=s(String.prototype.valueOf),p=s(Boolean.prototype.valueOf);if(u)var d=s(BigInt.prototype.valueOf);if(c)var m=s(Symbol.prototype.valueOf);function g(e,t){if("object"!=typeof e)return!1;try{return t(e),!0}catch(e){return!1}}function y(e){return"[object Map]"===l(e)}function v(e){return"[object Set]"===l(e)}function b(e){return"[object WeakMap]"===l(e)}function E(e){return"[object WeakSet]"===l(e)}function D(e){return"[object ArrayBuffer]"===l(e)}function w(e){return"undefined"!=typeof ArrayBuffer&&(D.working?D(e):e instanceof ArrayBuffer)}function x(e){return"[object DataView]"===l(e)}function F(e){return"undefined"!=typeof DataView&&(x.working?x(e):e instanceof DataView)}t.isArgumentsObject=n,t.isGeneratorFunction=o,t.isTypedArray=a,t.isPromise=function(e){return"undefined"!=typeof Promise&&e instanceof Promise||null!==e&&"object"==typeof e&&"function"==typeof e.then&&"function"==typeof e.catch},t.isArrayBufferView=function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):a(e)||F(e)},t.isUint8Array=function(e){return"Uint8Array"===i(e)},t.isUint8ClampedArray=function(e){return"Uint8ClampedArray"===i(e)},t.isUint16Array=function(e){return"Uint16Array"===i(e)},t.isUint32Array=function(e){return"Uint32Array"===i(e)},t.isInt8Array=function(e){return"Int8Array"===i(e)},t.isInt16Array=function(e){return"Int16Array"===i(e)},t.isInt32Array=function(e){return"Int32Array"===i(e)},t.isFloat32Array=function(e){return"Float32Array"===i(e)},t.isFloat64Array=function(e){return"Float64Array"===i(e)},t.isBigInt64Array=function(e){return"BigInt64Array"===i(e)},t.isBigUint64Array=function(e){return"BigUint64Array"===i(e)},y.working="undefined"!=typeof Map&&y(new Map),t.isMap=function(e){return"undefined"!=typeof Map&&(y.working?y(e):e instanceof Map)},v.working="undefined"!=typeof Set&&v(new Set),t.isSet=function(e){return"undefined"!=typeof Set&&(v.working?v(e):e instanceof Set)},b.working="undefined"!=typeof WeakMap&&b(new WeakMap),t.isWeakMap=function(e){return"undefined"!=typeof WeakMap&&(b.working?b(e):e instanceof WeakMap)},E.working="undefined"!=typeof WeakSet&&E(new WeakSet),t.isWeakSet=function(e){return E(e)},D.working="undefined"!=typeof ArrayBuffer&&D(new ArrayBuffer),t.isArrayBuffer=w,x.working="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView&&x(new DataView(new ArrayBuffer(1),0,1)),t.isDataView=F;var S="undefined"!=typeof SharedArrayBuffer?SharedArrayBuffer:void 0;function A(e){return"[object SharedArrayBuffer]"===l(e)}function k(e){return void 0!==S&&(void 0===A.working&&(A.working=A(new S)),A.working?A(e):e instanceof S)}function C(e){return g(e,f)}function P(e){return g(e,h)}function O(e){return g(e,p)}function j(e){return u&&g(e,d)}function T(e){return c&&g(e,m)}t.isSharedArrayBuffer=k,t.isAsyncFunction=function(e){return"[object AsyncFunction]"===l(e)},t.isMapIterator=function(e){return"[object Map Iterator]"===l(e)},t.isSetIterator=function(e){return"[object Set Iterator]"===l(e)},t.isGeneratorObject=function(e){return"[object Generator]"===l(e)},t.isWebAssemblyCompiledModule=function(e){return"[object WebAssembly.Module]"===l(e)},t.isNumberObject=C,t.isStringObject=P,t.isBooleanObject=O,t.isBigIntObject=j,t.isSymbolObject=T,t.isBoxedPrimitive=function(e){return C(e)||P(e)||O(e)||j(e)||T(e)},t.isAnyArrayBuffer=function(e){return"undefined"!=typeof Uint8Array&&(w(e)||k(e))},["isProxy","isExternal","isModuleNamespaceObject"].forEach((function(e){Object.defineProperty(t,e,{enumerable:!1,value:function(){throw new Error(e+" is not supported in userland")}})}))},35210:(e,t,r)=>{var n=r(44675),o=Object.getOwnPropertyDescriptors||function(e){for(var t=Object.keys(e),r={},n=0;n<t.length;n++)r[t[n]]=Object.getOwnPropertyDescriptor(e,t[n]);return r},i=/%[sdj%]/g;t.format=function(e){if(!b(e)){for(var t=[],r=0;r<arguments.length;r++)t.push(c(arguments[r]));return t.join(" ")}r=1;for(var n=arguments,o=n.length,a=String(e).replace(i,(function(e){if("%%"===e)return"%";if(r>=o)return e;switch(e){case"%s":return String(n[r++]);case"%d":return Number(n[r++]);case"%j":try{return JSON.stringify(n[r++])}catch(e){return"[Circular]"}default:return e}})),s=n[r];r<o;s=n[++r])y(s)||!w(s)?a+=" "+s:a+=" "+c(s);return a},t.deprecate=function(e,r){if(void 0!==n&&!0===n.noDeprecation)return e;if(void 0===n)return function(){return t.deprecate(e,r).apply(this,arguments)};var o=!1;return function(){if(!o){if(n.throwDeprecation)throw new Error(r);n.traceDeprecation?console.trace(r):console.error(r),o=!0}return e.apply(this,arguments)}};var a={},s=/^$/;if(n.env.NODE_DEBUG){var u=n.env.NODE_DEBUG;u=u.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),s=new RegExp("^"+u+"$","i")}function c(e,r){var n={seen:[],stylize:f};return arguments.length>=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),g(r)?n.showHidden=r:r&&t._extend(n,r),E(n.showHidden)&&(n.showHidden=!1),E(n.depth)&&(n.depth=2),E(n.colors)&&(n.colors=!1),E(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=l),h(n,e,n.depth)}function l(e,t){var r=c.styles[t];return r?"["+c.colors[r][0]+"m"+e+"["+c.colors[r][1]+"m":e}function f(e,t){return e}function h(e,r,n){if(e.customInspect&&r&&S(r.inspect)&&r.inspect!==t.inspect&&(!r.constructor||r.constructor.prototype!==r)){var o=r.inspect(n,e);return b(o)||(o=h(e,o,n)),o}var i=function(e,t){if(E(t))return e.stylize("undefined","undefined");if(b(t)){var r="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(r,"string")}if(v(t))return e.stylize(""+t,"number");if(g(t))return e.stylize(""+t,"boolean");if(y(t))return e.stylize("null","null")}(e,r);if(i)return i;var a=Object.keys(r),s=function(e){var t={};return e.forEach((function(e,r){t[e]=!0})),t}(a);if(e.showHidden&&(a=Object.getOwnPropertyNames(r)),F(r)&&(a.indexOf("message")>=0||a.indexOf("description")>=0))return p(r);if(0===a.length){if(S(r)){var u=r.name?": "+r.name:"";return e.stylize("[Function"+u+"]","special")}if(D(r))return e.stylize(RegExp.prototype.toString.call(r),"regexp");if(x(r))return e.stylize(Date.prototype.toString.call(r),"date");if(F(r))return p(r)}var c,l="",f=!1,w=["{","}"];(m(r)&&(f=!0,w=["[","]"]),S(r))&&(l=" [Function"+(r.name?": "+r.name:"")+"]");return D(r)&&(l=" "+RegExp.prototype.toString.call(r)),x(r)&&(l=" "+Date.prototype.toUTCString.call(r)),F(r)&&(l=" "+p(r)),0!==a.length||f&&0!=r.length?n<0?D(r)?e.stylize(RegExp.prototype.toString.call(r),"regexp"):e.stylize("[Object]","special"):(e.seen.push(r),c=f?function(e,t,r,n,o){for(var i=[],a=0,s=t.length;a<s;++a)P(t,String(a))?i.push(d(e,t,r,n,String(a),!0)):i.push("");return o.forEach((function(o){o.match(/^\d+$/)||i.push(d(e,t,r,n,o,!0))})),i}(e,r,n,s,a):a.map((function(t){return d(e,r,n,s,t,f)})),e.seen.pop(),function(e,t,r){var n=e.reduce((function(e,t){return t.indexOf("\n")>=0&&0,e+t.replace(/\u001b\[\d\d?m/g,"").length+1}),0);if(n>60)return r[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+r[1];return r[0]+t+" "+e.join(", ")+" "+r[1]}(c,l,w)):w[0]+l+w[1]}function p(e){return"["+Error.prototype.toString.call(e)+"]"}function d(e,t,r,n,o,i){var a,s,u;if((u=Object.getOwnPropertyDescriptor(t,o)||{value:t[o]}).get?s=u.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):u.set&&(s=e.stylize("[Setter]","special")),P(n,o)||(a="["+o+"]"),s||(e.seen.indexOf(u.value)<0?(s=y(r)?h(e,u.value,null):h(e,u.value,r-1)).indexOf("\n")>-1&&(s=i?s.split("\n").map((function(e){return" "+e})).join("\n").slice(2):"\n"+s.split("\n").map((function(e){return" "+e})).join("\n")):s=e.stylize("[Circular]","special")),E(a)){if(i&&o.match(/^\d+$/))return s;(a=JSON.stringify(""+o)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.slice(1,-1),a=e.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=e.stylize(a,"string"))}return a+": "+s}function m(e){return Array.isArray(e)}function g(e){return"boolean"==typeof e}function y(e){return null===e}function v(e){return"number"==typeof e}function b(e){return"string"==typeof e}function E(e){return void 0===e}function D(e){return w(e)&&"[object RegExp]"===A(e)}function w(e){return"object"==typeof e&&null!==e}function x(e){return w(e)&&"[object Date]"===A(e)}function F(e){return w(e)&&("[object Error]"===A(e)||e instanceof Error)}function S(e){return"function"==typeof e}function A(e){return Object.prototype.toString.call(e)}function k(e){return e<10?"0"+e.toString(10):e.toString(10)}t.debuglog=function(e){if(e=e.toUpperCase(),!a[e])if(s.test(e)){var r=n.pid;a[e]=function(){var n=t.format.apply(t,arguments);console.error("%s %d: %s",e,r,n)}}else a[e]=function(){};return a[e]},t.inspect=c,c.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},c.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},t.types=r(42406),t.isArray=m,t.isBoolean=g,t.isNull=y,t.isNullOrUndefined=function(e){return null==e},t.isNumber=v,t.isString=b,t.isSymbol=function(e){return"symbol"==typeof e},t.isUndefined=E,t.isRegExp=D,t.types.isRegExp=D,t.isObject=w,t.isDate=x,t.types.isDate=x,t.isError=F,t.types.isNativeError=F,t.isFunction=S,t.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},t.isBuffer=r(2439);var C=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function P(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.log=function(){var e,r;console.log("%s - %s",(e=new Date,r=[k(e.getHours()),k(e.getMinutes()),k(e.getSeconds())].join(":"),[e.getDate(),C[e.getMonth()],r].join(" ")),t.format.apply(t,arguments))},t.inherits=r(89118),t._extend=function(e,t){if(!t||!w(t))return e;for(var r=Object.keys(t),n=r.length;n--;)e[r[n]]=t[r[n]];return e};var O="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):void 0;function j(e,t){if(!e){var r=new Error("Promise was rejected with a falsy value");r.reason=e,e=r}return t(e)}t.promisify=function(e){if("function"!=typeof e)throw new TypeError('The "original" argument must be of type Function');if(O&&e[O]){var t;if("function"!=typeof(t=e[O]))throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(t,O,{value:t,enumerable:!1,writable:!1,configurable:!0}),t}function t(){for(var t,r,n=new Promise((function(e,n){t=e,r=n})),o=[],i=0;i<arguments.length;i++)o.push(arguments[i]);o.push((function(e,n){e?r(e):t(n)}));try{e.apply(this,o)}catch(e){r(e)}return n}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),O&&Object.defineProperty(t,O,{value:t,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(t,o(e))},t.promisify.custom=O,t.callbackify=function(e){if("function"!=typeof e)throw new TypeError('The "original" argument must be of type Function');function t(){for(var t=[],r=0;r<arguments.length;r++)t.push(arguments[r]);var o=t.pop();if("function"!=typeof o)throw new TypeError("The last argument must be of type Function");var i=this,a=function(){return o.apply(i,arguments)};e.apply(this,t).then((function(e){n.nextTick(a.bind(null,null,e))}),(function(e){n.nextTick(j.bind(null,e,a))}))}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),Object.defineProperties(t,o(e)),t}},3615:(e,t,r)=>{"use strict";var n=r(6862),o=r(14897),i=r(57372),a=r(49662),s=i("Object.prototype.toString"),u=r(3825)(),c="undefined"==typeof globalThis?r.g:globalThis,l=o(),f=i("String.prototype.slice"),h={},p=Object.getPrototypeOf;u&&a&&p&&n(l,(function(e){if("function"==typeof c[e]){var t=new c[e];if(Symbol.toStringTag in t){var r=p(t),n=a(r,Symbol.toStringTag);if(!n){var o=p(r);n=a(o,Symbol.toStringTag)}h[e]=n.get}}}));var d=r(36466);e.exports=function(e){return!!d(e)&&(u&&Symbol.toStringTag in e?function(e){var t=!1;return n(h,(function(r,n){if(!t)try{var o=r.call(e);o===n&&(t=o)}catch(e){}})),t}(e):f(s(e),8,-1))}},87363:e=>{"use strict";e.exports=React},61533:e=>{"use strict";e.exports=ReactDOM},12611:e=>{"use strict";e.exports=_},26089:()=>{},72899:(e,t,r)=>{var n=r(63981);function o(e){var t,r;function o(t,r){try{var a=e[t](r),s=a.value,u=s instanceof n;Promise.resolve(u?s.v:s).then((function(r){if(u){var n="return"===t?"return":"next";if(!s.k||r.done)return o(n,r);r=e[n](r).value}i(a.done?"return":"normal",r)}),(function(e){o("throw",e)}))}catch(e){i("throw",e)}}function i(e,n){switch(e){case"return":t.resolve({value:n,done:!0});break;case"throw":t.reject(n);break;default:t.resolve({value:n,done:!1})}(t=t.next)?o(t.key,t.arg):r=null}this._invoke=function(e,n){return new Promise((function(i,a){var s={key:e,arg:n,resolve:i,reject:a,next:null};r?r=r.next=s:(t=r=s,o(e,n))}))},"function"!=typeof e.return&&(this.return=void 0)}o.prototype["function"==typeof Symbol&&Symbol.asyncIterator||"@@asyncIterator"]=function(){return this},o.prototype.next=function(e){return this._invoke("next",e)},o.prototype.throw=function(e){return this._invoke("throw",e)},o.prototype.return=function(e){return this._invoke("return",e)},e.exports=o,e.exports.__esModule=!0,e.exports.default=e.exports},63981:e=>{e.exports=function(e,t){this.v=e,this.k=t},e.exports.__esModule=!0,e.exports.default=e.exports},89415:e=>{e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n},e.exports.__esModule=!0,e.exports.default=e.exports},22193:e=>{e.exports=function(e){if(Array.isArray(e))return e},e.exports.__esModule=!0,e.exports.default=e.exports},44220:e=>{e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e},e.exports.__esModule=!0,e.exports.default=e.exports},529:(e,t,r)=>{var n=r(63981);e.exports=function(e){var t={},r=!1;function o(t,o){return r=!0,o=new Promise((function(r){r(e[t](o))})),{done:!1,value:new n(o,1)}}return t["undefined"!=typeof Symbol&&Symbol.iterator||"@@iterator"]=function(){return this},t.next=function(e){return r?(r=!1,e):o("next",e)},"function"==typeof e.throw&&(t.throw=function(e){if(r)throw r=!1,e;return o("throw",e)}),"function"==typeof e.return&&(t.return=function(e){return r?(r=!1,e):o("return",e)}),t},e.exports.__esModule=!0,e.exports.default=e.exports},87790:e=>{function t(e,t,r,n,o,i,a){try{var s=e[i](a),u=s.value}catch(e){return void r(e)}s.done?t(u):Promise.resolve(u).then(n,o)}e.exports=function(e){return function(){var r=this,n=arguments;return new Promise((function(o,i){var a=e.apply(r,n);function s(e){t(a,o,i,s,u,"next",e)}function u(e){t(a,o,i,s,u,"throw",e)}s(void 0)}))}},e.exports.__esModule=!0,e.exports.default=e.exports},76985:(e,t,r)=>{var n=r(63981);e.exports=function(e){return new n(e,0)},e.exports.__esModule=!0,e.exports.default=e.exports},32078:e=>{e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.__esModule=!0,e.exports.default=e.exports},82357:(e,t,r)=>{var n=r(11926);function o(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,n(o.key),o)}}e.exports=function(e,t,r){return t&&o(e.prototype,t),r&&o(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e},e.exports.__esModule=!0,e.exports.default=e.exports},6322:(e,t,r)=>{var n=r(11926);e.exports=function(e,t,r){return(t=n(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e},e.exports.__esModule=!0,e.exports.default=e.exports},12982:e=>{function t(r){return e.exports=t=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},e.exports.__esModule=!0,e.exports.default=e.exports,t(r)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},33649:(e,t,r)=>{var n=r(91337);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&n(e,t)},e.exports.__esModule=!0,e.exports.default=e.exports},10424:e=>{e.exports=function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)},e.exports.__esModule=!0,e.exports.default=e.exports},24601:e=>{e.exports=function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],u=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);u=!0);}catch(e){c=!0,o=e}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}},e.exports.__esModule=!0,e.exports.default=e.exports},59560:e=>{e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports.default=e.exports},45471:e=>{e.exports=function(e){if(null==e)throw new TypeError("Cannot destructure "+e)},e.exports.__esModule=!0,e.exports.default=e.exports},34889:(e,t,r)=>{var n=r(63483);e.exports=function(e,t){if(null==e)return{};var r,o,i=n(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i},e.exports.__esModule=!0,e.exports.default=e.exports},63483:e=>{e.exports=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o},e.exports.__esModule=!0,e.exports.default=e.exports},74158:(e,t,r)=>{var n=r(64020).default,o=r(44220);e.exports=function(e,t){if(t&&("object"===n(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return o(e)},e.exports.__esModule=!0,e.exports.default=e.exports},88501:(e,t,r)=>{var n=r(64020).default;function o(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */e.exports=o=function(){return t},e.exports.__esModule=!0,e.exports.default=e.exports;var t={},r=Object.prototype,i=r.hasOwnProperty,a=Object.defineProperty||function(e,t,r){e[t]=r.value},s="function"==typeof Symbol?Symbol:{},u=s.iterator||"@@iterator",c=s.asyncIterator||"@@asyncIterator",l=s.toStringTag||"@@toStringTag";function f(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},"")}catch(e){f=function(e,t,r){return e[t]=r}}function h(e,t,r,n){var o=t&&t.prototype instanceof m?t:m,i=Object.create(o.prototype),s=new C(n||[]);return a(i,"_invoke",{value:F(e,r,s)}),i}function p(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=h;var d={};function m(){}function g(){}function y(){}var v={};f(v,u,(function(){return this}));var b=Object.getPrototypeOf,E=b&&b(b(P([])));E&&E!==r&&i.call(E,u)&&(v=E);var D=y.prototype=m.prototype=Object.create(v);function w(e){["next","throw","return"].forEach((function(t){f(e,t,(function(e){return this._invoke(t,e)}))}))}function x(e,t){function r(o,a,s,u){var c=p(e[o],e,a);if("throw"!==c.type){var l=c.arg,f=l.value;return f&&"object"==n(f)&&i.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,s,u)}),(function(e){r("throw",e,s,u)})):t.resolve(f).then((function(e){l.value=e,s(l)}),(function(e){return r("throw",e,s,u)}))}u(c.arg)}var o;a(this,"_invoke",{value:function(e,n){function i(){return new t((function(t,o){r(e,n,t,o)}))}return o=o?o.then(i,i):i()}})}function F(e,t,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return O()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var s=S(a,r);if(s){if(s===d)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var u=p(e,t,r);if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===d)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}function S(e,t){var r=t.method,n=e.iterator[r];if(void 0===n)return t.delegate=null,"throw"===r&&e.iterator.return&&(t.method="return",t.arg=void 0,S(e,t),"throw"===t.method)||"return"!==r&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+r+"' method")),d;var o=p(n,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,d;var i=o.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,d):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,d)}function A(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function k(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function C(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(A,this),this.reset(!0)}function P(e){if(e){var t=e[u];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,n=function t(){for(;++r<e.length;)if(i.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return n.next=n}}return{next:O}}function O(){return{value:void 0,done:!0}}return g.prototype=y,a(D,"constructor",{value:y,configurable:!0}),a(y,"constructor",{value:g,configurable:!0}),g.displayName=f(y,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===g||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,y):(e.__proto__=y,f(e,l,"GeneratorFunction")),e.prototype=Object.create(D),e},t.awrap=function(e){return{__await:e}},w(x.prototype),f(x.prototype,c,(function(){return this})),t.AsyncIterator=x,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new x(h(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},w(D),f(D,l,"Generator"),f(D,u,(function(){return this})),f(D,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=P,C.prototype={constructor:C,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(k),!e)for(var t in this)"t"===t.charAt(0)&&i.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(r,n){return a.type="throw",a.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n],a=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var s=i.call(o,"catchLoc"),u=i.call(o,"finallyLoc");if(s&&u){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&i.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var o=n;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=e,a.arg=t,o?(this.method="next",this.next=o.finallyLoc,d):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),d},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),k(r),d}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;k(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:P(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),d}},t}e.exports=o,e.exports.__esModule=!0,e.exports.default=e.exports},91337:e=>{function t(r,n){return e.exports=t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},e.exports.__esModule=!0,e.exports.default=e.exports,t(r,n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},45990:(e,t,r)=>{var n=r(22193),o=r(24601),i=r(70891),a=r(59560);e.exports=function(e,t){return n(e)||o(e,t)||i(e,t)||a()},e.exports.__esModule=!0,e.exports.default=e.exports},28056:e=>{e.exports=function(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))},e.exports.__esModule=!0,e.exports.default=e.exports},12147:(e,t,r)=>{var n=r(22193),o=r(10424),i=r(70891),a=r(59560);e.exports=function(e){return n(e)||o(e)||i(e)||a()},e.exports.__esModule=!0,e.exports.default=e.exports},46217:(e,t,r)=>{var n=r(64020).default;e.exports=function(e,t){if("object"!==n(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var o=r.call(e,t||"default");if("object"!==n(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)},e.exports.__esModule=!0,e.exports.default=e.exports},11926:(e,t,r)=>{var n=r(64020).default,o=r(46217);e.exports=function(e){var t=o(e,"string");return"symbol"===n(t)?t:String(t)},e.exports.__esModule=!0,e.exports.default=e.exports},64020:e=>{function t(r){return e.exports=t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,t(r)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},70891:(e,t,r)=>{var n=r(89415);e.exports=function(e,t){if(e){if("string"==typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}},e.exports.__esModule=!0,e.exports.default=e.exports},58089:(e,t,r)=>{var n=r(72899);e.exports=function(e){return function(){return new n(e.apply(this,arguments))}},e.exports.__esModule=!0,e.exports.default=e.exports},366:(e,t,r)=>{var n=r(88501)();e.exports=n;try{regeneratorRuntime=n}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=n:Function("r","regeneratorRuntime = r")(n)}},14897:(e,t,r)=>{"use strict";var n=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],o="undefined"==typeof globalThis?r.g:globalThis;e.exports=function(){for(var e=[],t=0;t<n.length;t++)"function"==typeof o[n[t]]&&(e[e.length]=n[t]);return e}},41470:(e,t,r)=>{"use strict";r.d(t,{Z:()=>o});var n=r(72320);function o(e,t,r){return(t=(0,n.Z)(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}},45675:(e,t,r)=>{"use strict";function n(){return n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},n.apply(this,arguments)}r.d(t,{Z:()=>n})},67666:(e,t,r)=>{"use strict";r.d(t,{Z:()=>i});var n=r(41470);function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?o(Object(r),!0).forEach((function(t){(0,n.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}},72320:(e,t,r)=>{"use strict";r.d(t,{Z:()=>o});var n=r(24622);function o(e){var t=function(e,t){if("object"!==(0,n.Z)(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var o=r.call(e,t||"default");if("object"!==(0,n.Z)(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===(0,n.Z)(t)?t:String(t)}},24622:(e,t,r)=>{"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}r.d(t,{Z:()=>n})},36365:(e,t,r)=>{"use strict";r.d(t,{T:()=>o});const n=document.createElement("i");function o(e){const t="&"+e+";";n.innerHTML=t;const r=n.textContent;return(59!==r.charCodeAt(r.length-1)||"semi"===e)&&(r!==t&&r)}},56065:(e,t,r)=>{"use strict";function n(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];throw Error("[Immer] minified error nr: "+e+(r.length?" "+r.map((function(e){return"'"+e+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function o(e){return!!e&&!!e[V]}function i(e){var t;return!!e&&(function(e){if(!e||"object"!=typeof e)return!1;var t=Object.getPrototypeOf(e);if(null===t)return!0;var r=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return r===Object||"function"==typeof r&&Function.toString.call(r)===G}(e)||Array.isArray(e)||!!e[q]||!!(null===(t=e.constructor)||void 0===t?void 0:t[q])||h(e)||p(e))}function a(e,t,r){void 0===r&&(r=!1),0===s(e)?(r?Object.keys:W)(e).forEach((function(n){r&&"symbol"==typeof n||t(n,e[n],e)})):e.forEach((function(r,n){return t(n,r,e)}))}function s(e){var t=e[V];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:h(e)?2:p(e)?3:0}function u(e,t){return 2===s(e)?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function c(e,t){return 2===s(e)?e.get(t):e[t]}function l(e,t,r){var n=s(e);2===n?e.set(t,r):3===n?e.add(r):e[t]=r}function f(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function h(e){return $&&e instanceof Map}function p(e){return U&&e instanceof Set}function d(e){return e.o||e.t}function m(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=Q(e);delete t[V];for(var r=W(t),n=0;n<r.length;n++){var o=r[n],i=t[o];!1===i.writable&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(t[o]={configurable:!0,writable:!0,enumerable:i.enumerable,value:e[o]})}return Object.create(Object.getPrototypeOf(e),t)}function g(e,t){return void 0===t&&(t=!1),v(e)||o(e)||!i(e)||(s(e)>1&&(e.set=e.add=e.clear=e.delete=y),Object.freeze(e),t&&a(e,(function(e,t){return g(t,!0)}),!0)),e}function y(){n(2)}function v(e){return null==e||"object"!=typeof e||Object.isFrozen(e)}function b(e){var t=K[e];return t||n(18,e),t}function E(){return M}function D(e,t){t&&(b("Patches"),e.u=[],e.s=[],e.v=t)}function w(e){x(e),e.p.forEach(S),e.p=null}function x(e){e===M&&(M=e.l)}function F(e){return M={p:[],l:M,h:e,m:!0,_:0}}function S(e){var t=e[V];0===t.i||1===t.i?t.j():t.O=!0}function A(e,t){t._=t.p.length;var r=t.p[0],o=void 0!==e&&e!==r;return t.h.g||b("ES5").S(t,e,o),o?(r[V].P&&(w(t),n(4)),i(e)&&(e=k(t,e),t.l||P(t,e)),t.u&&b("Patches").M(r[V].t,e,t.u,t.s)):e=k(t,r,[]),w(t),t.u&&t.v(t.u,t.s),e!==H?e:void 0}function k(e,t,r){if(v(t))return t;var n=t[V];if(!n)return a(t,(function(o,i){return C(e,n,t,o,i,r)}),!0),t;if(n.A!==e)return t;if(!n.P)return P(e,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var o=4===n.i||5===n.i?n.o=m(n.k):n.o,i=o,s=!1;3===n.i&&(i=new Set(o),o.clear(),s=!0),a(i,(function(t,i){return C(e,n,o,t,i,r,s)})),P(e,o,!1),r&&e.u&&b("Patches").N(n,r,e.u,e.s)}return n.o}function C(e,t,r,n,a,s,c){if(o(a)){var f=k(e,a,s&&t&&3!==t.i&&!u(t.R,n)?s.concat(n):void 0);if(l(r,n,f),!o(f))return;e.m=!1}else c&&r.add(a);if(i(a)&&!v(a)){if(!e.h.D&&e._<1)return;k(e,a),t&&t.A.l||P(e,a)}}function P(e,t,r){void 0===r&&(r=!1),!e.l&&e.h.D&&e.m&&g(t,r)}function O(e,t){var r=e[V];return(r?d(r):e)[t]}function j(e,t){if(t in e)for(var r=Object.getPrototypeOf(e);r;){var n=Object.getOwnPropertyDescriptor(r,t);if(n)return n;r=Object.getPrototypeOf(r)}}function T(e){e.P||(e.P=!0,e.l&&T(e.l))}function _(e){e.o||(e.o=m(e.t))}function B(e,t,r){var n=h(t)?b("MapSet").F(t,r):p(t)?b("MapSet").T(t,r):e.g?function(e,t){var r=Array.isArray(e),n={i:r?1:0,A:t?t.A:E(),P:!1,I:!1,R:{},l:t,t:e,k:null,o:null,j:null,C:!1},o=n,i=Y;r&&(o=[n],i=Z);var a=Proxy.revocable(o,i),s=a.revoke,u=a.proxy;return n.k=u,n.j=s,u}(t,r):b("ES5").J(t,r);return(r?r.A:E()).p.push(n),n}function R(e){return o(e)||n(22,e),function e(t){if(!i(t))return t;var r,n=t[V],o=s(t);if(n){if(!n.P&&(n.i<4||!b("ES5").K(n)))return n.t;n.I=!0,r=I(t,o),n.I=!1}else r=I(t,o);return a(r,(function(t,o){n&&c(n.t,t)===o||l(r,t,e(o))})),3===o?new Set(r):r}(e)}function I(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return m(e)}r.d(t,{Fl:()=>te,Uy:()=>ee,sc:()=>q});var L,M,N="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),$="undefined"!=typeof Map,U="undefined"!=typeof Set,z="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,H=N?Symbol.for("immer-nothing"):((L={})["immer-nothing"]=!0,L),q=N?Symbol.for("immer-draftable"):"__$immer_draftable",V=N?Symbol.for("immer-state"):"__$immer_state",G=("undefined"!=typeof Symbol&&Symbol.iterator,""+Object.prototype.constructor),W="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,Q=Object.getOwnPropertyDescriptors||function(e){var t={};return W(e).forEach((function(r){t[r]=Object.getOwnPropertyDescriptor(e,r)})),t},K={},Y={get:function(e,t){if(t===V)return e;var r=d(e);if(!u(r,t))return function(e,t,r){var n,o=j(t,r);return o?"value"in o?o.value:null===(n=o.get)||void 0===n?void 0:n.call(e.k):void 0}(e,r,t);var n=r[t];return e.I||!i(n)?n:n===O(e.t,t)?(_(e),e.o[t]=B(e.A.h,n,e)):n},has:function(e,t){return t in d(e)},ownKeys:function(e){return Reflect.ownKeys(d(e))},set:function(e,t,r){var n=j(d(e),t);if(null==n?void 0:n.set)return n.set.call(e.k,r),!0;if(!e.P){var o=O(d(e),t),i=null==o?void 0:o[V];if(i&&i.t===r)return e.o[t]=r,e.R[t]=!1,!0;if(f(r,o)&&(void 0!==r||u(e.t,t)))return!0;_(e),T(e)}return e.o[t]===r&&(void 0!==r||t in e.o)||Number.isNaN(r)&&Number.isNaN(e.o[t])||(e.o[t]=r,e.R[t]=!0),!0},deleteProperty:function(e,t){return void 0!==O(e.t,t)||t in e.t?(e.R[t]=!1,_(e),T(e)):delete e.R[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var r=d(e),n=Reflect.getOwnPropertyDescriptor(r,t);return n?{writable:!0,configurable:1!==e.i||"length"!==t,enumerable:n.enumerable,value:r[t]}:n},defineProperty:function(){n(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){n(12)}},Z={};a(Y,(function(e,t){Z[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}})),Z.deleteProperty=function(e,t){return Z.set.call(this,e,t,void 0)},Z.set=function(e,t,r){return Y.set.call(this,e[0],t,r,e[0])};var J=function(){function e(e){var t=this;this.g=z,this.D=!0,this.produce=function(e,r,o){if("function"==typeof e&&"function"!=typeof r){var a=r;r=e;var s=t;return function(e){var t=this;void 0===e&&(e=a);for(var n=arguments.length,o=Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];return s.produce(e,(function(e){var n;return(n=r).call.apply(n,[t,e].concat(o))}))}}var u;if("function"!=typeof r&&n(6),void 0!==o&&"function"!=typeof o&&n(7),i(e)){var c=F(t),l=B(t,e,void 0),f=!0;try{u=r(l),f=!1}finally{f?w(c):x(c)}return"undefined"!=typeof Promise&&u instanceof Promise?u.then((function(e){return D(c,o),A(e,c)}),(function(e){throw w(c),e})):(D(c,o),A(u,c))}if(!e||"object"!=typeof e){if(void 0===(u=r(e))&&(u=e),u===H&&(u=void 0),t.D&&g(u,!0),o){var h=[],p=[];b("Patches").M(e,u,h,p),o(h,p)}return u}n(21,e)},this.produceWithPatches=function(e,r){if("function"==typeof e)return function(r){for(var n=arguments.length,o=Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];return t.produceWithPatches(r,(function(t){return e.apply(void 0,[t].concat(o))}))};var n,o,i=t.produce(e,r,(function(e,t){n=e,o=t}));return"undefined"!=typeof Promise&&i instanceof Promise?i.then((function(e){return[e,n,o]})):[i,n,o]},"boolean"==typeof(null==e?void 0:e.useProxies)&&this.setUseProxies(e.useProxies),"boolean"==typeof(null==e?void 0:e.autoFreeze)&&this.setAutoFreeze(e.autoFreeze)}var t=e.prototype;return t.createDraft=function(e){i(e)||n(8),o(e)&&(e=R(e));var t=F(this),r=B(this,e,void 0);return r[V].C=!0,x(t),r},t.finishDraft=function(e,t){var r=(e&&e[V]).A;return D(r,t),A(void 0,r)},t.setAutoFreeze=function(e){this.D=e},t.setUseProxies=function(e){e&&!z&&n(20),this.g=e},t.applyPatches=function(e,t){var r;for(r=t.length-1;r>=0;r--){var n=t[r];if(0===n.path.length&&"replace"===n.op){e=n.value;break}}r>-1&&(t=t.slice(r+1));var i=b("Patches").$;return o(e)?i(e,t):this.produce(e,(function(e){return i(e,t)}))},e}(),X=new J,ee=X.produce,te=(X.produceWithPatches.bind(X),X.setAutoFreeze.bind(X));X.setUseProxies.bind(X),X.applyPatches.bind(X),X.createDraft.bind(X),X.finishDraft.bind(X)},79243:(e,t,r)=>{"use strict";function n(e,t,r,n){const i=r.enter("blockquote"),a=r.createTracker(n);a.move("> "),a.shift(2);const s=r.indentLines(r.containerFlow(e,a.current()),o);return i(),s}function o(e,t,r){return">"+(r?"":" ")+e}r.r(t),r.d(t,{blockquote:()=>n})},81100:(e,t,r)=>{"use strict";r.r(t),r.d(t,{heading:()=>a});var n=r(53827),o=r(50819),i=r(28989);function a(e,t,r,a){const s=Math.max(Math.min(6,e.depth||1),1),u=r.createTracker(a);if(function(e,t){let r=!1;return(0,n.Vn)(e,(e=>{if("value"in e&&/\r?\n|\r/.test(e.value)||"break"===e.type)return r=!0,o.BK})),Boolean((!e.depth||e.depth<3)&&(0,i.B)(e)&&(t.options.setext||r))}(e,r)){const t=r.enter("headingSetext"),n=r.enter("phrasing"),o=r.containerPhrasing(e,{...u.current(),before:"\n",after:"\n"});return n(),t(),o+"\n"+(1===s?"=":"-").repeat(o.length-(Math.max(o.lastIndexOf("\r"),o.lastIndexOf("\n"))+1))}const c="#".repeat(s),l=r.enter("headingAtx"),f=r.enter("phrasing");u.move(c+" ");let h=r.containerPhrasing(e,{before:"# ",after:"\n",...u.current()});return/^[\t ]/.test(h)&&(h="&#x"+h.charCodeAt(0).toString(16).toUpperCase()+";"+h.slice(1)),h=h?c+" "+h:c,r.options.closeAtx&&(h+=" "+c),f(),l(),h}},44478:(e,t,r)=>{"use strict";r.r(t),r.d(t,{image:()=>o});var n=r(99656);function o(e,t,r,o){const i=(0,n.l)(r),a='"'===i?"Quote":"Apostrophe",s=r.enter("image");let u=r.enter("label");const c=r.createTracker(o);let l=c.move("![");return l+=c.move(r.safe(e.alt,{before:l,after:"]",...c.current()})),l+=c.move("]("),u(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(u=r.enter("destinationLiteral"),l+=c.move("<"),l+=c.move(r.safe(e.url,{before:l,after:">",...c.current()})),l+=c.move(">")):(u=r.enter("destinationRaw"),l+=c.move(r.safe(e.url,{before:l,after:e.title?" ":")",...c.current()}))),u(),e.title&&(u=r.enter(`title${a}`),l+=c.move(" "+i),l+=c.move(r.safe(e.title,{before:l,after:i,...c.current()})),l+=c.move(i),u()),l+=c.move(")"),s(),l}o.peek=function(){return"!"}},48486:(e,t,r)=>{"use strict";function n(e,t,r,n){const o=r.enter("paragraph"),i=r.enter("phrasing"),a=r.containerPhrasing(e,n);return i(),o(),a}r.r(t),r.d(t,{paragraph:()=>n})},99656:(e,t,r)=>{"use strict";function n(e){const t=e.options.quote||'"';if('"'!==t&&"'"!==t)throw new Error("Cannot serialize title with `"+t+"` for `options.quote`, expected `\"`, or `'`");return t}r.d(t,{l:()=>n})},85771:(e,t,r)=>{"use strict";function n(e,t,r){const n=t.indexStack,i=e.children||[],a=t.createTracker(r),s=[];let u=-1;for(n.push(-1);++u<i.length;){const r=i[u];n[n.length-1]=u,s.push(a.move(t.handle(r,e,t,{before:"\n",after:"\n",...a.current()}))),"list"!==r.type&&(t.bulletLastUsed=void 0),u<i.length-1&&s.push(a.move(o(r,i[u+1],e,t)))}return n.pop(),s.join("")}function o(e,t,r,n){let o=n.join.length;for(;o--;){const i=n.join[o](e,t,r,n);if(!0===i||1===i)break;if("number"==typeof i)return"\n".repeat(1+i);if(!1===i)return"\n\n\x3c!----\x3e\n\n"}return"\n\n"}r.d(t,{K:()=>n})},48736:(e,t,r)=>{"use strict";function n(e,t,r){const n=t.indexStack,o=e.children||[],i=[];let a=-1,s=r.before;n.push(-1);let u=t.createTracker(r);for(;++a<o.length;){const c=o[a];let l;if(n[n.length-1]=a,a+1<o.length){let r=t.handle.handlers[o[a+1].type];r&&r.peek&&(r=r.peek),l=r?r(o[a+1],e,t,{before:"",after:"",...u.current()}).charAt(0):""}else l=r.after;i.length>0&&("\r"===s||"\n"===s)&&"html"===c.type&&(i[i.length-1]=i[i.length-1].replace(/(\r?\n|\r)$/," "),s=" ",u=t.createTracker(r),u.move(i.join(""))),i.push(u.move(t.handle(c,e,t,{...u.current(),before:s,after:l}))),s=i[i.length-1].slice(-1)}return n.pop(),i.join("")}r.d(t,{p:()=>n})},87717:(e,t,r)=>{"use strict";function n(e){const t=e||{},r=t.now||{};let n=t.lineShift||0,o=r.line||1,i=r.column||1;return{move:function(e){const t=e||"",r=t.split(/\r?\n|\r/g),a=r[r.length-1];return o+=r.length-1,i=1===r.length?i+a.length:1+a.length+n,t},current:function(){return{now:{line:o,column:i},lineShift:n}},shift:function(e){n+=e}}}r.d(t,{j:()=>n})},28989:(e,t,r)=>{"use strict";function n(e,t){const r=(t||{}).includeImageAlt;return o(e,"boolean"!=typeof r||r)}function o(e,t){return function(e){return Boolean(e&&"object"==typeof e)}(e)&&("value"in e&&e.value||t&&"alt"in e&&e.alt||"children"in e&&i(e.children,t))||Array.isArray(e)&&i(e,t)||""}function i(e,t){const r=[];let n=-1;for(;++n<e.length;)r[n]=o(e[n],t);return r.join("")}r.d(t,{B:()=>n})},3962:(e,t,r)=>{"use strict";r.r(t),r.d(t,{attention:()=>n.v,autolink:()=>o.j,blankLine:()=>i.w,blockQuote:()=>a.m,characterEscape:()=>s.L,characterReference:()=>u.u,codeFenced:()=>c._,codeIndented:()=>l.S,codeText:()=>f.h,content:()=>h.k,definition:()=>p.D,hardBreakEscape:()=>d.R,headingAtx:()=>m.Z,htmlFlow:()=>g.P,htmlText:()=>y.L,labelEnd:()=>v.Z,labelStartImage:()=>b.C,labelStartLink:()=>E.F,lineEnding:()=>D.g,list:()=>w.p,setextUnderline:()=>x.C,thematicBreak:()=>F.C});var n=r(39362),o=r(40366),i=r(58775),a=r(79230),s=r(30670),u=r(73608),c=r(60214),l=r(44322),f=r(83126),h=r(52240),p=r(22774),d=r(2669),m=r(86053),g=r(26890),y=r(9373),v=r(3369),b=r(82287),E=r(83555),D=r(47071),w=r(44084),x=r(38029),F=r(19281)},39362:(e,t,r)=>{"use strict";r.d(t,{v:()=>a});var n=r(11707),o=r(85618),i=r(79142);const a={name:"attention",tokenize:function(e,t){const r=this.parser.constructs.attentionMarkers.null,n=this.previous,i=(0,o.r)(n);let a;return function(t){return e.enter("attentionSequence"),a=t,s(t)};function s(u){if(u===a)return e.consume(u),s;const c=e.exit("attentionSequence"),l=(0,o.r)(u),f=!l||2===l&&i||r.includes(u),h=!i||2===i&&l||r.includes(n);return c._open=Boolean(42===a?f:f&&(i||!h)),c._close=Boolean(42===a?h:h&&(l||!f)),t(u)}},resolveAll:function(e,t){let r,o,a,u,c,l,f,h,p=-1;for(;++p<e.length;)if("enter"===e[p][0]&&"attentionSequence"===e[p][1].type&&e[p][1]._close)for(r=p;r--;)if("exit"===e[r][0]&&"attentionSequence"===e[r][1].type&&e[r][1]._open&&t.sliceSerialize(e[r][1]).charCodeAt(0)===t.sliceSerialize(e[p][1]).charCodeAt(0)){if((e[r][1]._close||e[p][1]._open)&&(e[p][1].end.offset-e[p][1].start.offset)%3&&!((e[r][1].end.offset-e[r][1].start.offset+e[p][1].end.offset-e[p][1].start.offset)%3))continue;l=e[r][1].end.offset-e[r][1].start.offset>1&&e[p][1].end.offset-e[p][1].start.offset>1?2:1;const d=Object.assign({},e[r][1].end),m=Object.assign({},e[p][1].start);s(d,-l),s(m,l),u={type:l>1?"strongSequence":"emphasisSequence",start:d,end:Object.assign({},e[r][1].end)},c={type:l>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[p][1].start),end:m},a={type:l>1?"strongText":"emphasisText",start:Object.assign({},e[r][1].end),end:Object.assign({},e[p][1].start)},o={type:l>1?"strong":"emphasis",start:Object.assign({},u.start),end:Object.assign({},c.end)},e[r][1].end=Object.assign({},u.start),e[p][1].start=Object.assign({},c.end),f=[],e[r][1].end.offset-e[r][1].start.offset&&(f=(0,n.V)(f,[["enter",e[r][1],t],["exit",e[r][1],t]])),f=(0,n.V)(f,[["enter",o,t],["enter",u,t],["exit",u,t],["enter",a,t]]),f=(0,n.V)(f,(0,i.C)(t.parser.constructs.insideSpan.null,e.slice(r+1,p),t)),f=(0,n.V)(f,[["exit",a,t],["enter",c,t],["exit",c,t],["exit",o,t]]),e[p][1].end.offset-e[p][1].start.offset?(h=2,f=(0,n.V)(f,[["enter",e[p][1],t],["exit",e[p][1],t]])):h=0,(0,n.d)(e,r-1,p-r+3,f),p=r+f.length-h-2;break}p=-1;for(;++p<e.length;)"attentionSequence"===e[p][1].type&&(e[p][1].type="data");return e}};function s(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}},40366:(e,t,r)=>{"use strict";r.d(t,{j:()=>o});var n=r(19967);const o={name:"autolink",tokenize:function(e,t,r){let o=1;return function(t){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(t),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),i};function i(t){return(0,n.asciiAlpha)(t)?(e.consume(t),a):(0,n.asciiAtext)(t)?c(t):r(t)}function a(e){return 43===e||45===e||46===e||(0,n.asciiAlphanumeric)(e)?s(e):c(e)}function s(t){return 58===t?(e.consume(t),u):(43===t||45===t||46===t||(0,n.asciiAlphanumeric)(t))&&o++<32?(e.consume(t),s):c(t)}function u(t){return 62===t?(e.exit("autolinkProtocol"),p(t)):null===t||32===t||60===t||(0,n.asciiControl)(t)?r(t):(e.consume(t),u)}function c(t){return 64===t?(e.consume(t),o=0,l):(0,n.asciiAtext)(t)?(e.consume(t),c):r(t)}function l(e){return(0,n.asciiAlphanumeric)(e)?f(e):r(e)}function f(t){return 46===t?(e.consume(t),o=0,l):62===t?(e.exit("autolinkProtocol").type="autolinkEmail",p(t)):h(t)}function h(t){return(45===t||(0,n.asciiAlphanumeric)(t))&&o++<63?(e.consume(t),45===t?h:f):r(t)}function p(r){return e.enter("autolinkMarker"),e.consume(r),e.exit("autolinkMarker"),e.exit("autolink"),t}}}},58775:(e,t,r)=>{"use strict";r.d(t,{w:()=>i});var n=r(46050),o=r(19967);const i={tokenize:function(e,t,r){return(0,n.factorySpace)(e,(function(e){return null===e||(0,o.markdownLineEnding)(e)?t(e):r(e)}),"linePrefix")},partial:!0}},79230:(e,t,r)=>{"use strict";r.d(t,{m:()=>i});var n=r(46050),o=r(19967);const i={name:"blockQuote",tokenize:function(e,t,r){const n=this;return function(t){if(62===t){const r=n.containerState;return r.open||(e.enter("blockQuote",{_container:!0}),r.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(t),e.exit("blockQuoteMarker"),i}return r(t)};function i(r){return(0,o.markdownSpace)(r)?(e.enter("blockQuotePrefixWhitespace"),e.consume(r),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(r))}},continuation:{tokenize:function(e,t,r){return(0,n.factorySpace)(e,e.attempt(i,t,r),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}},exit:function(e){e.exit("blockQuote")}}},30670:(e,t,r)=>{"use strict";r.d(t,{L:()=>o});var n=r(19967);const o={name:"characterEscape",tokenize:function(e,t,r){return function(t){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(t),e.exit("escapeMarker"),o};function o(o){return(0,n.asciiPunctuation)(o)?(e.enter("characterEscapeValue"),e.consume(o),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):r(o)}}}},73608:(e,t,r)=>{"use strict";r.d(t,{u:()=>i});var n=r(36365),o=r(19967);const i={name:"characterReference",tokenize:function(e,t,r){const i=this;let a,s,u=0;return function(t){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(t),e.exit("characterReferenceMarker"),c};function c(t){return 35===t?(e.enter("characterReferenceMarkerNumeric"),e.consume(t),e.exit("characterReferenceMarkerNumeric"),l):(e.enter("characterReferenceValue"),a=31,s=o.asciiAlphanumeric,f(t))}function l(t){return 88===t||120===t?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(t),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),a=6,s=o.asciiHexDigit,f):(e.enter("characterReferenceValue"),a=7,s=o.asciiDigit,f(t))}function f(c){let l;return 59===c&&u?(l=e.exit("characterReferenceValue"),s!==o.asciiAlphanumeric||(0,n.T)(i.sliceSerialize(l))?(e.enter("characterReferenceMarker"),e.consume(c),e.exit("characterReferenceMarker"),e.exit("characterReference"),t):r(c)):s(c)&&u++<a?(e.consume(c),f):r(c)}}}},60214:(e,t,r)=>{"use strict";r.d(t,{_:()=>i});var n=r(46050),o=r(19967);const i={name:"codeFenced",tokenize:function(e,t,r){const i=this,a={tokenize:function(e,t,r){let i=0;return(0,n.factorySpace)(e,a,"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function a(t){return e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),s(t)}function s(t){return t===l?(e.consume(t),i++,s):i<f?r(t):(e.exit("codeFencedFenceSequence"),(0,n.factorySpace)(e,u,"whitespace")(t))}function u(n){return null===n||(0,o.markdownLineEnding)(n)?(e.exit("codeFencedFence"),t(n)):r(n)}},partial:!0},s={tokenize:function(e,t,r){const n=this;return o;function o(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i}function i(e){return n.parser.lazy[n.now().line]?r(e):t(e)}},partial:!0},u=this.events[this.events.length-1],c=u&&"linePrefix"===u[1].type?u[2].sliceSerialize(u[1],!0).length:0;let l,f=0;return function(t){return e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),l=t,h(t)};function h(t){return t===l?(e.consume(t),f++,h):(e.exit("codeFencedFenceSequence"),f<3?r(t):(0,n.factorySpace)(e,p,"whitespace")(t))}function p(t){return null===t||(0,o.markdownLineEnding)(t)?y(t):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),d(t))}function d(t){return null===t||(0,o.markdownLineEndingOrSpace)(t)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),(0,n.factorySpace)(e,m,"whitespace")(t)):96===t&&t===l?r(t):(e.consume(t),d)}function m(t){return null===t||(0,o.markdownLineEnding)(t)?y(t):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),g(t))}function g(t){return null===t||(0,o.markdownLineEnding)(t)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),y(t)):96===t&&t===l?r(t):(e.consume(t),g)}function y(r){return e.exit("codeFencedFence"),i.interrupt?t(r):v(r)}function v(t){return null===t?E(t):(0,o.markdownLineEnding)(t)?e.attempt(s,e.attempt(a,E,c?(0,n.factorySpace)(e,v,"linePrefix",c+1):v),E)(t):(e.enter("codeFlowValue"),b(t))}function b(t){return null===t||(0,o.markdownLineEnding)(t)?(e.exit("codeFlowValue"),v(t)):(e.consume(t),b)}function E(r){return e.exit("codeFenced"),t(r)}},concrete:!0}},44322:(e,t,r)=>{"use strict";r.d(t,{S:()=>i});var n=r(46050),o=r(19967);const i={name:"codeIndented",tokenize:function(e,t,r){const i=this;return function(t){return e.enter("codeIndented"),(0,n.factorySpace)(e,s,"linePrefix",5)(t)};function s(e){const t=i.events[i.events.length-1];return t&&"linePrefix"===t[1].type&&t[2].sliceSerialize(t[1],!0).length>=4?u(e):r(e)}function u(t){return null===t?l(t):(0,o.markdownLineEnding)(t)?e.attempt(a,u,l)(t):(e.enter("codeFlowValue"),c(t))}function c(t){return null===t||(0,o.markdownLineEnding)(t)?(e.exit("codeFlowValue"),u(t)):(e.consume(t),c)}function l(r){return e.exit("codeIndented"),t(r)}}},a={tokenize:function(e,t,r){const i=this;return a;function a(t){return i.parser.lazy[i.now().line]?r(t):(0,o.markdownLineEnding)(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),a):(0,n.factorySpace)(e,s,"linePrefix",5)(t)}function s(e){const n=i.events[i.events.length-1];return n&&"linePrefix"===n[1].type&&n[2].sliceSerialize(n[1],!0).length>=4?t(e):(0,o.markdownLineEnding)(e)?a(e):r(e)}},partial:!0}},83126:(e,t,r)=>{"use strict";r.d(t,{h:()=>o});var n=r(19967);const o={name:"codeText",tokenize:function(e,t,r){let o,i,a=0;return function(t){return e.enter("codeText"),e.enter("codeTextSequence"),s(t)};function s(t){return 96===t?(e.consume(t),a++,s):(e.exit("codeTextSequence"),u(t))}function u(t){return null===t?r(t):96===t?(i=e.enter("codeTextSequence"),o=0,l(t)):32===t?(e.enter("space"),e.consume(t),e.exit("space"),u):(0,n.markdownLineEnding)(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),u):(e.enter("codeTextData"),c(t))}function c(t){return null===t||32===t||96===t||(0,n.markdownLineEnding)(t)?(e.exit("codeTextData"),u(t)):(e.consume(t),c)}function l(r){return 96===r?(e.consume(r),o++,l):o===a?(e.exit("codeTextSequence"),e.exit("codeText"),t(r)):(i.type="codeTextData",c(r))}},resolve:function(e){let t,r,n=e.length-4,o=3;if(!("lineEnding"!==e[o][1].type&&"space"!==e[o][1].type||"lineEnding"!==e[n][1].type&&"space"!==e[n][1].type))for(t=o;++t<n;)if("codeTextData"===e[t][1].type){e[o][1].type="codeTextPadding",e[n][1].type="codeTextPadding",o+=2,n-=2;break}t=o-1,n++;for(;++t<=n;)void 0===r?t!==n&&"lineEnding"!==e[t][1].type&&(r=t):t!==n&&"lineEnding"!==e[t][1].type||(e[r][1].type="codeTextData",t!==r+2&&(e[r][1].end=e[t-1][1].end,e.splice(r+2,t-r-2),n-=t-r-2,t=r+2),r=void 0);return e},previous:function(e){return 96!==e||"characterEscape"===this.events[this.events.length-1][1].type}}},52240:(e,t,r)=>{"use strict";r.d(t,{k:()=>a});var n=r(46050),o=r(19967),i=r(35197);const a={tokenize:function(e,t){let r;return function(t){return e.enter("content"),r=e.enter("chunkContent",{contentType:"content"}),n(t)};function n(t){return null===t?i(t):(0,o.markdownLineEnding)(t)?e.check(s,a,i)(t):(e.consume(t),n)}function i(r){return e.exit("chunkContent"),e.exit("content"),t(r)}function a(t){return e.consume(t),e.exit("chunkContent"),r.next=e.enter("chunkContent",{contentType:"content",previous:r}),r=r.next,n}},resolve:function(e){return(0,i._)(e),e}},s={tokenize:function(e,t,r){const i=this;return function(t){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),(0,n.factorySpace)(e,a,"linePrefix")};function a(n){if(null===n||(0,o.markdownLineEnding)(n))return r(n);const a=i.events[i.events.length-1];return!i.parser.constructs.disable.null.includes("codeIndented")&&a&&"linePrefix"===a[1].type&&a[2].sliceSerialize(a[1],!0).length>=4?t(n):e.interrupt(i.parser.constructs.flow,r,t)(n)}},partial:!0}},22774:(e,t,r)=>{"use strict";r.d(t,{D:()=>l});var n=r(20447),o=r(42874),i=r(46050),a=r(67784),s=r(48948),u=r(37618),c=r(19967);const l={name:"definition",tokenize:function(e,t,r){const a=this;let l;return function(t){return e.enter("definition"),o.factoryLabel.call(a,e,h,r,"definitionLabel","definitionLabelMarker","definitionLabelString")(t)};function h(t){return l=(0,u.normalizeIdentifier)(a.sliceSerialize(a.events[a.events.length-1][1]).slice(1,-1)),58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),(0,s.factoryWhitespace)(e,(0,n.factoryDestination)(e,e.attempt(f,(0,i.factorySpace)(e,p,"whitespace"),(0,i.factorySpace)(e,p,"whitespace")),r,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString"))):r(t)}function p(n){return null===n||(0,c.markdownLineEnding)(n)?(e.exit("definition"),a.parser.defined.includes(l)||a.parser.defined.push(l),t(n)):r(n)}}},f={tokenize:function(e,t,r){return function(t){return(0,c.markdownLineEndingOrSpace)(t)?(0,s.factoryWhitespace)(e,n)(t):r(t)};function n(t){return 34===t||39===t||40===t?(0,a.factoryTitle)(e,(0,i.factorySpace)(e,o,"whitespace"),r,"definitionTitle","definitionTitleMarker","definitionTitleString")(t):r(t)}function o(e){return null===e||(0,c.markdownLineEnding)(e)?t(e):r(e)}},partial:!0}},2669:(e,t,r)=>{"use strict";r.d(t,{R:()=>o});var n=r(19967);const o={name:"hardBreakEscape",tokenize:function(e,t,r){return function(t){return e.enter("hardBreakEscape"),e.enter("escapeMarker"),e.consume(t),o};function o(o){return(0,n.markdownLineEnding)(o)?(e.exit("escapeMarker"),e.exit("hardBreakEscape"),t(o)):r(o)}}}},86053:(e,t,r)=>{"use strict";r.d(t,{Z:()=>a});var n=r(46050),o=r(19967),i=r(11707);const a={name:"headingAtx",tokenize:function(e,t,r){const i=this;let a=0;return function(t){return e.enter("atxHeading"),e.enter("atxHeadingSequence"),s(t)};function s(n){return 35===n&&a++<6?(e.consume(n),s):null===n||(0,o.markdownLineEndingOrSpace)(n)?(e.exit("atxHeadingSequence"),i.interrupt?t(n):u(n)):r(n)}function u(r){return 35===r?(e.enter("atxHeadingSequence"),c(r)):null===r||(0,o.markdownLineEnding)(r)?(e.exit("atxHeading"),t(r)):(0,o.markdownSpace)(r)?(0,n.factorySpace)(e,u,"whitespace")(r):(e.enter("atxHeadingText"),l(r))}function c(t){return 35===t?(e.consume(t),c):(e.exit("atxHeadingSequence"),u(t))}function l(t){return null===t||35===t||(0,o.markdownLineEndingOrSpace)(t)?(e.exit("atxHeadingText"),u(t)):(e.consume(t),l)}},resolve:function(e,t){let r,n,o=e.length-2,a=3;"whitespace"===e[a][1].type&&(a+=2);o-2>a&&"whitespace"===e[o][1].type&&(o-=2);"atxHeadingSequence"===e[o][1].type&&(a===o-1||o-4>a&&"whitespace"===e[o-2][1].type)&&(o-=a+1===o?2:4);o>a&&(r={type:"atxHeadingText",start:e[a][1].start,end:e[o][1].end},n={type:"chunkText",start:e[a][1].start,end:e[o][1].end,contentType:"text"},(0,i.d)(e,a,o-a+1,[["enter",r,t],["enter",n,t],["exit",n,t],["exit",r,t]]));return e}}},26890:(e,t,r)=>{"use strict";r.d(t,{P:()=>s});var n=r(19967);const o=["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","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],i=["pre","script","style","textarea"];var a=r(58775);const s={name:"htmlFlow",tokenize:function(e,t,r){const a=this;let s,c,l,f,h;return function(t){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(t),p};function p(o){return 33===o?(e.consume(o),d):47===o?(e.consume(o),y):63===o?(e.consume(o),s=3,a.interrupt?t:M):(0,n.asciiAlpha)(o)?(e.consume(o),l=String.fromCharCode(o),c=!0,v):r(o)}function d(o){return 45===o?(e.consume(o),s=2,m):91===o?(e.consume(o),s=5,l="CDATA[",f=0,g):(0,n.asciiAlpha)(o)?(e.consume(o),s=4,a.interrupt?t:M):r(o)}function m(n){return 45===n?(e.consume(n),a.interrupt?t:M):r(n)}function g(n){return n===l.charCodeAt(f++)?(e.consume(n),f===l.length?a.interrupt?t:O:g):r(n)}function y(t){return(0,n.asciiAlpha)(t)?(e.consume(t),l=String.fromCharCode(t),v):r(t)}function v(u){return null===u||47===u||62===u||(0,n.markdownLineEndingOrSpace)(u)?47!==u&&c&&i.includes(l.toLowerCase())?(s=1,a.interrupt?t(u):O(u)):o.includes(l.toLowerCase())?(s=6,47===u?(e.consume(u),b):a.interrupt?t(u):O(u)):(s=7,a.interrupt&&!a.parser.lazy[a.now().line]?r(u):c?D(u):E(u)):45===u||(0,n.asciiAlphanumeric)(u)?(e.consume(u),l+=String.fromCharCode(u),v):r(u)}function b(n){return 62===n?(e.consume(n),a.interrupt?t:O):r(n)}function E(t){return(0,n.markdownSpace)(t)?(e.consume(t),E):C(t)}function D(t){return 47===t?(e.consume(t),C):58===t||95===t||(0,n.asciiAlpha)(t)?(e.consume(t),w):(0,n.markdownSpace)(t)?(e.consume(t),D):C(t)}function w(t){return 45===t||46===t||58===t||95===t||(0,n.asciiAlphanumeric)(t)?(e.consume(t),w):x(t)}function x(t){return 61===t?(e.consume(t),F):(0,n.markdownSpace)(t)?(e.consume(t),x):D(t)}function F(t){return null===t||60===t||61===t||62===t||96===t?r(t):34===t||39===t?(e.consume(t),h=t,S):(0,n.markdownSpace)(t)?(e.consume(t),F):(h=null,A(t))}function S(t){return null===t||(0,n.markdownLineEnding)(t)?r(t):t===h?(e.consume(t),k):(e.consume(t),S)}function A(t){return null===t||34===t||39===t||60===t||61===t||62===t||96===t||(0,n.markdownLineEndingOrSpace)(t)?x(t):(e.consume(t),A)}function k(e){return 47===e||62===e||(0,n.markdownSpace)(e)?D(e):r(e)}function C(t){return 62===t?(e.consume(t),P):r(t)}function P(t){return(0,n.markdownSpace)(t)?(e.consume(t),P):null===t||(0,n.markdownLineEnding)(t)?O(t):r(t)}function O(t){return 45===t&&2===s?(e.consume(t),B):60===t&&1===s?(e.consume(t),R):62===t&&4===s?(e.consume(t),N):63===t&&3===s?(e.consume(t),M):93===t&&5===s?(e.consume(t),L):!(0,n.markdownLineEnding)(t)||6!==s&&7!==s?null===t||(0,n.markdownLineEnding)(t)?j(t):(e.consume(t),O):e.check(u,N,j)(t)}function j(t){return e.exit("htmlFlowData"),T(t)}function T(t){return null===t?$(t):(0,n.markdownLineEnding)(t)?e.attempt({tokenize:_,partial:!0},T,$)(t):(e.enter("htmlFlowData"),O(t))}function _(e,t,r){return function(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),n};function n(e){return a.parser.lazy[a.now().line]?r(e):t(e)}}function B(t){return 45===t?(e.consume(t),M):O(t)}function R(t){return 47===t?(e.consume(t),l="",I):O(t)}function I(t){return 62===t&&i.includes(l.toLowerCase())?(e.consume(t),N):(0,n.asciiAlpha)(t)&&l.length<8?(e.consume(t),l+=String.fromCharCode(t),I):O(t)}function L(t){return 93===t?(e.consume(t),M):O(t)}function M(t){return 62===t?(e.consume(t),N):45===t&&2===s?(e.consume(t),M):O(t)}function N(t){return null===t||(0,n.markdownLineEnding)(t)?(e.exit("htmlFlowData"),$(t)):(e.consume(t),N)}function $(r){return e.exit("htmlFlow"),t(r)}},resolveTo:function(e){let t=e.length;for(;t--&&("enter"!==e[t][0]||"htmlFlow"!==e[t][1].type););t>1&&"linePrefix"===e[t-2][1].type&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2));return e},concrete:!0},u={tokenize:function(e,t,r){return function(n){return e.exit("htmlFlowData"),e.enter("lineEndingBlank"),e.consume(n),e.exit("lineEndingBlank"),e.attempt(a.w,t,r)}},partial:!0}},9373:(e,t,r)=>{"use strict";r.d(t,{L:()=>i});var n=r(46050),o=r(19967);const i={name:"htmlText",tokenize:function(e,t,r){const i=this;let a,s,u,c;return function(t){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(t),l};function l(t){return 33===t?(e.consume(t),f):47===t?(e.consume(t),F):63===t?(e.consume(t),w):(0,o.asciiAlpha)(t)?(e.consume(t),k):r(t)}function f(t){return 45===t?(e.consume(t),h):91===t?(e.consume(t),s="CDATA[",u=0,y):(0,o.asciiAlpha)(t)?(e.consume(t),D):r(t)}function h(t){return 45===t?(e.consume(t),p):r(t)}function p(t){return null===t||62===t?r(t):45===t?(e.consume(t),d):m(t)}function d(e){return null===e||62===e?r(e):m(e)}function m(t){return null===t?r(t):45===t?(e.consume(t),g):(0,o.markdownLineEnding)(t)?(c=m,R(t)):(e.consume(t),m)}function g(t){return 45===t?(e.consume(t),L):m(t)}function y(t){return t===s.charCodeAt(u++)?(e.consume(t),u===s.length?v:y):r(t)}function v(t){return null===t?r(t):93===t?(e.consume(t),b):(0,o.markdownLineEnding)(t)?(c=v,R(t)):(e.consume(t),v)}function b(t){return 93===t?(e.consume(t),E):v(t)}function E(t){return 62===t?L(t):93===t?(e.consume(t),E):v(t)}function D(t){return null===t||62===t?L(t):(0,o.markdownLineEnding)(t)?(c=D,R(t)):(e.consume(t),D)}function w(t){return null===t?r(t):63===t?(e.consume(t),x):(0,o.markdownLineEnding)(t)?(c=w,R(t)):(e.consume(t),w)}function x(e){return 62===e?L(e):w(e)}function F(t){return(0,o.asciiAlpha)(t)?(e.consume(t),S):r(t)}function S(t){return 45===t||(0,o.asciiAlphanumeric)(t)?(e.consume(t),S):A(t)}function A(t){return(0,o.markdownLineEnding)(t)?(c=A,R(t)):(0,o.markdownSpace)(t)?(e.consume(t),A):L(t)}function k(t){return 45===t||(0,o.asciiAlphanumeric)(t)?(e.consume(t),k):47===t||62===t||(0,o.markdownLineEndingOrSpace)(t)?C(t):r(t)}function C(t){return 47===t?(e.consume(t),L):58===t||95===t||(0,o.asciiAlpha)(t)?(e.consume(t),P):(0,o.markdownLineEnding)(t)?(c=C,R(t)):(0,o.markdownSpace)(t)?(e.consume(t),C):L(t)}function P(t){return 45===t||46===t||58===t||95===t||(0,o.asciiAlphanumeric)(t)?(e.consume(t),P):O(t)}function O(t){return 61===t?(e.consume(t),j):(0,o.markdownLineEnding)(t)?(c=O,R(t)):(0,o.markdownSpace)(t)?(e.consume(t),O):C(t)}function j(t){return null===t||60===t||61===t||62===t||96===t?r(t):34===t||39===t?(e.consume(t),a=t,T):(0,o.markdownLineEnding)(t)?(c=j,R(t)):(0,o.markdownSpace)(t)?(e.consume(t),j):(e.consume(t),a=void 0,B)}function T(t){return t===a?(e.consume(t),_):null===t?r(t):(0,o.markdownLineEnding)(t)?(c=T,R(t)):(e.consume(t),T)}function _(e){return 62===e||47===e||(0,o.markdownLineEndingOrSpace)(e)?C(e):r(e)}function B(t){return null===t||34===t||39===t||60===t||61===t||96===t?r(t):62===t||(0,o.markdownLineEndingOrSpace)(t)?C(t):(e.consume(t),B)}function R(t){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),(0,n.factorySpace)(e,I,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function I(t){return e.enter("htmlTextData"),c(t)}function L(n){return 62===n?(e.consume(n),e.exit("htmlTextData"),e.exit("htmlText"),t):r(n)}}}},3369:(e,t,r)=>{"use strict";r.d(t,{Z:()=>f});var n=r(20447),o=r(42874),i=r(67784),a=r(48948),s=r(19967),u=r(11707),c=r(37618),l=r(79142);const f={name:"labelEnd",tokenize:function(e,t,r){const n=this;let o,i,a=n.events.length;for(;a--;)if(("labelImage"===n.events[a][1].type||"labelLink"===n.events[a][1].type)&&!n.events[a][1]._balanced){o=n.events[a][1];break}return function(t){if(!o)return r(t);return o._inactive?u(t):(i=n.parser.defined.includes((0,c.normalizeIdentifier)(n.sliceSerialize({start:o.end,end:n.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelEnd"),s)};function s(r){return 40===r?e.attempt(h,t,i?t:u)(r):91===r?e.attempt(p,t,i?e.attempt(d,t,u):u)(r):i?t(r):u(r)}function u(e){return o._balanced=!0,r(e)}},resolveTo:function(e,t){let r,n,o,i,a=e.length,s=0;for(;a--;)if(r=e[a][1],n){if("link"===r.type||"labelLink"===r.type&&r._inactive)break;"enter"===e[a][0]&&"labelLink"===r.type&&(r._inactive=!0)}else if(o){if("enter"===e[a][0]&&("labelImage"===r.type||"labelLink"===r.type)&&!r._balanced&&(n=a,"labelLink"!==r.type)){s=2;break}}else"labelEnd"===r.type&&(o=a);const c={type:"labelLink"===e[n][1].type?"link":"image",start:Object.assign({},e[n][1].start),end:Object.assign({},e[e.length-1][1].end)},f={type:"label",start:Object.assign({},e[n][1].start),end:Object.assign({},e[o][1].end)},h={type:"labelText",start:Object.assign({},e[n+s+2][1].end),end:Object.assign({},e[o-2][1].start)};return i=[["enter",c,t],["enter",f,t]],i=(0,u.V)(i,e.slice(n+1,n+s+3)),i=(0,u.V)(i,[["enter",h,t]]),i=(0,u.V)(i,(0,l.C)(t.parser.constructs.insideSpan.null,e.slice(n+s+4,o-3),t)),i=(0,u.V)(i,[["exit",h,t],e[o-2],e[o-1],["exit",f,t]]),i=(0,u.V)(i,e.slice(o+1)),i=(0,u.V)(i,[["exit",c,t]]),(0,u.d)(e,n,e.length,i),e},resolveAll:function(e){let t,r=-1;for(;++r<e.length;)t=e[r][1],"labelImage"!==t.type&&"labelLink"!==t.type&&"labelEnd"!==t.type||(e.splice(r+1,"labelImage"===t.type?4:2),t.type="data",r++);return e}},h={tokenize:function(e,t,r){return function(t){return e.enter("resource"),e.enter("resourceMarker"),e.consume(t),e.exit("resourceMarker"),(0,a.factoryWhitespace)(e,o)};function o(t){return 41===t?l(t):(0,n.factoryDestination)(e,u,r,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(t)}function u(t){return(0,s.markdownLineEndingOrSpace)(t)?(0,a.factoryWhitespace)(e,c)(t):l(t)}function c(t){return 34===t||39===t||40===t?(0,i.factoryTitle)(e,(0,a.factoryWhitespace)(e,l),r,"resourceTitle","resourceTitleMarker","resourceTitleString")(t):l(t)}function l(n){return 41===n?(e.enter("resourceMarker"),e.consume(n),e.exit("resourceMarker"),e.exit("resource"),t):r(n)}}},p={tokenize:function(e,t,r){const n=this;return function(t){return o.factoryLabel.call(n,e,i,r,"reference","referenceMarker","referenceString")(t)};function i(e){return n.parser.defined.includes((0,c.normalizeIdentifier)(n.sliceSerialize(n.events[n.events.length-1][1]).slice(1,-1)))?t(e):r(e)}}},d={tokenize:function(e,t,r){return function(t){return e.enter("reference"),e.enter("referenceMarker"),e.consume(t),e.exit("referenceMarker"),n};function n(n){return 93===n?(e.enter("referenceMarker"),e.consume(n),e.exit("referenceMarker"),e.exit("reference"),t):r(n)}}}},82287:(e,t,r)=>{"use strict";r.d(t,{C:()=>n});const n={name:"labelStartImage",tokenize:function(e,t,r){const n=this;return function(t){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(t),e.exit("labelImageMarker"),o};function o(t){return 91===t?(e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelImage"),i):r(t)}function i(e){return 94===e&&"_hiddenFootnoteSupport"in n.parser.constructs?r(e):t(e)}},resolveAll:r(3369).Z.resolveAll}},83555:(e,t,r)=>{"use strict";r.d(t,{F:()=>n});const n={name:"labelStartLink",tokenize:function(e,t,r){const n=this;return function(t){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelLink"),o};function o(e){return 94===e&&"_hiddenFootnoteSupport"in n.parser.constructs?r(e):t(e)}},resolveAll:r(3369).Z.resolveAll}},47071:(e,t,r)=>{"use strict";r.d(t,{g:()=>o});var n=r(46050);const o={name:"lineEnding",tokenize:function(e,t){return function(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),(0,n.factorySpace)(e,t,"linePrefix")}}}},44084:(e,t,r)=>{"use strict";r.d(t,{p:()=>s});var n=r(46050),o=r(19967),i=r(58775),a=r(19281);const s={name:"list",tokenize:function(e,t,r){const n=this,s=n.events[n.events.length-1];let c=s&&"linePrefix"===s[1].type?s[2].sliceSerialize(s[1],!0).length:0,l=0;return function(t){const i=n.containerState.type||(42===t||43===t||45===t?"listUnordered":"listOrdered");if("listUnordered"===i?!n.containerState.marker||t===n.containerState.marker:(0,o.asciiDigit)(t)){if(n.containerState.type||(n.containerState.type=i,e.enter(i,{_container:!0})),"listUnordered"===i)return e.enter("listItemPrefix"),42===t||45===t?e.check(a.C,r,h)(t):h(t);if(!n.interrupt||49===t)return e.enter("listItemPrefix"),e.enter("listItemValue"),f(t)}return r(t)};function f(t){return(0,o.asciiDigit)(t)&&++l<10?(e.consume(t),f):(!n.interrupt||l<2)&&(n.containerState.marker?t===n.containerState.marker:41===t||46===t)?(e.exit("listItemValue"),h(t)):r(t)}function h(t){return e.enter("listItemMarker"),e.consume(t),e.exit("listItemMarker"),n.containerState.marker=n.containerState.marker||t,e.check(i.w,n.interrupt?r:p,e.attempt(u,m,d))}function p(e){return n.containerState.initialBlankLine=!0,c++,m(e)}function d(t){return(0,o.markdownSpace)(t)?(e.enter("listItemPrefixWhitespace"),e.consume(t),e.exit("listItemPrefixWhitespace"),m):r(t)}function m(r){return n.containerState.size=c+n.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(r)}},continuation:{tokenize:function(e,t,r){const a=this;return a.containerState._closeFlow=void 0,e.check(i.w,(function(r){return a.containerState.furtherBlankLines=a.containerState.furtherBlankLines||a.containerState.initialBlankLine,(0,n.factorySpace)(e,t,"listItemIndent",a.containerState.size+1)(r)}),(function(r){if(a.containerState.furtherBlankLines||!(0,o.markdownSpace)(r))return a.containerState.furtherBlankLines=void 0,a.containerState.initialBlankLine=void 0,u(r);return a.containerState.furtherBlankLines=void 0,a.containerState.initialBlankLine=void 0,e.attempt(c,t,u)(r)}));function u(o){return a.containerState._closeFlow=!0,a.interrupt=void 0,(0,n.factorySpace)(e,e.attempt(s,t,r),"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o)}}},exit:function(e){e.exit(this.containerState.type)}},u={tokenize:function(e,t,r){const i=this;return(0,n.factorySpace)(e,(function(e){const n=i.events[i.events.length-1];return!(0,o.markdownSpace)(e)&&n&&"listItemPrefixWhitespace"===n[1].type?t(e):r(e)}),"listItemPrefixWhitespace",i.parser.constructs.disable.null.includes("codeIndented")?void 0:5)},partial:!0},c={tokenize:function(e,t,r){const o=this;return(0,n.factorySpace)(e,(function(e){const n=o.events[o.events.length-1];return n&&"listItemIndent"===n[1].type&&n[2].sliceSerialize(n[1],!0).length===o.containerState.size?t(e):r(e)}),"listItemIndent",o.containerState.size+1)},partial:!0}},38029:(e,t,r)=>{"use strict";r.d(t,{C:()=>i});var n=r(46050),o=r(19967);const i={name:"setextUnderline",tokenize:function(e,t,r){const i=this;let a,s,u=i.events.length;for(;u--;)if("lineEnding"!==i.events[u][1].type&&"linePrefix"!==i.events[u][1].type&&"content"!==i.events[u][1].type){s="paragraph"===i.events[u][1].type;break}return function(t){if(!i.parser.lazy[i.now().line]&&(i.interrupt||s))return e.enter("setextHeadingLine"),e.enter("setextHeadingLineSequence"),a=t,c(t);return r(t)};function c(t){return t===a?(e.consume(t),c):(e.exit("setextHeadingLineSequence"),(0,n.factorySpace)(e,l,"lineSuffix")(t))}function l(n){return null===n||(0,o.markdownLineEnding)(n)?(e.exit("setextHeadingLine"),t(n)):r(n)}},resolveTo:function(e,t){let r,n,o,i=e.length;for(;i--;)if("enter"===e[i][0]){if("content"===e[i][1].type){r=i;break}"paragraph"===e[i][1].type&&(n=i)}else"content"===e[i][1].type&&e.splice(i,1),o||"definition"!==e[i][1].type||(o=i);const a={type:"setextHeading",start:Object.assign({},e[n][1].start),end:Object.assign({},e[e.length-1][1].end)};e[n][1].type="setextHeadingText",o?(e.splice(n,0,["enter",a,t]),e.splice(o+1,0,["exit",e[r][1],t]),e[r][1].end=Object.assign({},e[o][1].end)):e[r][1]=a;return e.push(["exit",a,t]),e}}},19281:(e,t,r)=>{"use strict";r.d(t,{C:()=>i});var n=r(46050),o=r(19967);const i={name:"thematicBreak",tokenize:function(e,t,r){let i,a=0;return function(t){return e.enter("thematicBreak"),i=t,s(t)};function s(c){return c===i?(e.enter("thematicBreakSequence"),u(c)):(0,o.markdownSpace)(c)?(0,n.factorySpace)(e,s,"whitespace")(c):a<3||null!==c&&!(0,o.markdownLineEnding)(c)?r(c):(e.exit("thematicBreak"),t(c))}function u(t){return t===i?(e.consume(t),a++,u):(e.exit("thematicBreakSequence"),s(t))}}}},20447:(e,t,r)=>{"use strict";r.r(t),r.d(t,{factoryDestination:()=>o});var n=r(19967);function o(e,t,r,o,i,a,s,u,c){const l=c||Number.POSITIVE_INFINITY;let f=0;return function(t){if(60===t)return e.enter(o),e.enter(i),e.enter(a),e.consume(t),e.exit(a),h;if(null===t||41===t||(0,n.asciiControl)(t))return r(t);return e.enter(o),e.enter(s),e.enter(u),e.enter("chunkString",{contentType:"string"}),m(t)};function h(r){return 62===r?(e.enter(a),e.consume(r),e.exit(a),e.exit(i),e.exit(o),t):(e.enter(u),e.enter("chunkString",{contentType:"string"}),p(r))}function p(t){return 62===t?(e.exit("chunkString"),e.exit(u),h(t)):null===t||60===t||(0,n.markdownLineEnding)(t)?r(t):(e.consume(t),92===t?d:p)}function d(t){return 60===t||62===t||92===t?(e.consume(t),p):p(t)}function m(i){return 40===i?++f>l?r(i):(e.consume(i),m):41===i?f--?(e.consume(i),m):(e.exit("chunkString"),e.exit(u),e.exit(s),e.exit(o),t(i)):null===i||(0,n.markdownLineEndingOrSpace)(i)?f?r(i):(e.exit("chunkString"),e.exit(u),e.exit(s),e.exit(o),t(i)):(0,n.asciiControl)(i)?r(i):(e.consume(i),92===i?g:m)}function g(t){return 40===t||41===t||92===t?(e.consume(t),m):m(t)}}},42874:(e,t,r)=>{"use strict";r.r(t),r.d(t,{factoryLabel:()=>o});var n=r(19967);function o(e,t,r,o,i,a){const s=this;let u,c=0;return function(t){return e.enter(o),e.enter(i),e.consume(t),e.exit(i),e.enter(a),l};function l(h){return null===h||91===h||93===h&&!u||94===h&&!c&&"_hiddenFootnoteSupport"in s.parser.constructs||c>999?r(h):93===h?(e.exit(a),e.enter(i),e.consume(h),e.exit(i),e.exit(o),t):(0,n.markdownLineEnding)(h)?(e.enter("lineEnding"),e.consume(h),e.exit("lineEnding"),l):(e.enter("chunkString",{contentType:"string"}),f(h))}function f(t){return null===t||91===t||93===t||(0,n.markdownLineEnding)(t)||c++>999?(e.exit("chunkString"),l(t)):(e.consume(t),u=u||!(0,n.markdownSpace)(t),92===t?h:f)}function h(t){return 91===t||92===t||93===t?(e.consume(t),c++,f):f(t)}}},46050:(e,t,r)=>{"use strict";r.r(t),r.d(t,{factorySpace:()=>o});var n=r(19967);function o(e,t,r,o){const i=o?o-1:Number.POSITIVE_INFINITY;let a=0;return function(o){if((0,n.markdownSpace)(o))return e.enter(r),s(o);return t(o)};function s(o){return(0,n.markdownSpace)(o)&&a++<i?(e.consume(o),s):(e.exit(r),t(o))}}},67784:(e,t,r)=>{"use strict";r.r(t),r.d(t,{factoryTitle:()=>i});var n=r(46050),o=r(19967);function i(e,t,r,i,a,s){let u;return function(t){return e.enter(i),e.enter(a),e.consume(t),e.exit(a),u=40===t?41:t,c};function c(r){return r===u?(e.enter(a),e.consume(r),e.exit(a),e.exit(i),t):(e.enter(s),l(r))}function l(t){return t===u?(e.exit(s),c(u)):null===t?r(t):(0,o.markdownLineEnding)(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),(0,n.factorySpace)(e,l,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),f(t))}function f(t){return t===u||null===t||(0,o.markdownLineEnding)(t)?(e.exit("chunkString"),l(t)):(e.consume(t),92===t?h:f)}function h(t){return t===u||92===t?(e.consume(t),f):f(t)}}},48948:(e,t,r)=>{"use strict";r.r(t),r.d(t,{factoryWhitespace:()=>i});var n=r(46050),o=r(19967);function i(e,t){let r;return function i(a){if((0,o.markdownLineEnding)(a))return e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),r=!0,i;if((0,o.markdownSpace)(a))return(0,n.factorySpace)(e,i,r?"linePrefix":"lineSuffix")(a);return t(a)}}},19967:(e,t,r)=>{"use strict";r.r(t),r.d(t,{asciiAlpha:()=>n,asciiAlphanumeric:()=>a,asciiAtext:()=>u,asciiControl:()=>c,asciiDigit:()=>o,asciiHexDigit:()=>i,asciiPunctuation:()=>s,markdownLineEnding:()=>f,markdownLineEndingOrSpace:()=>l,markdownSpace:()=>h,unicodePunctuation:()=>d,unicodeWhitespace:()=>p});const n=m(/[A-Za-z]/),o=m(/\d/),i=m(/[\dA-Fa-f]/),a=m(/[\dA-Za-z]/),s=m(/[!-/:-@[-`{-~]/),u=m(/[#-'*+\--9=?A-Z^-~]/);function c(e){return null!==e&&(e<32||127===e)}function l(e){return null!==e&&(e<0||32===e)}function f(e){return null!==e&&e<-2}function h(e){return-2===e||-1===e||32===e}const p=m(/\s/),d=m(/[!-/:-@[-`{-~\u00A1\u00A7\u00AB\u00B6\u00B7\u00BB\u00BF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]/);function m(e){return function(t){return null!==t&&e.test(String.fromCharCode(t))}}},11707:(e,t,r)=>{"use strict";function n(e,t,r,n){const o=e.length;let i,a=0;if(t=t<0?-t>o?0:o+t:t>o?o:t,r=r>0?r:0,n.length<1e4)i=Array.from(n),i.unshift(t,r),[].splice.apply(e,i);else for(r&&[].splice.apply(e,[t,r]);a<n.length;)i=n.slice(a,a+1e4),i.unshift(t,0),[].splice.apply(e,i),a+=1e4,t+=1e4}function o(e,t){return e.length>0?(n(e,e.length,0,t),e):t}r.d(t,{V:()=>o,d:()=>n})},85618:(e,t,r)=>{"use strict";r.d(t,{r:()=>o});var n=r(19967);function o(e){return null===e||(0,n.markdownLineEndingOrSpace)(e)||(0,n.unicodeWhitespace)(e)?1:(0,n.unicodePunctuation)(e)?2:void 0}},89063:(e,t,r)=>{"use strict";r.d(t,{W:()=>i});var n=r(11707);const o={}.hasOwnProperty;function i(e){const t={};let r=-1;for(;++r<e.length;)a(t,e[r]);return t}function a(e,t){let r;for(r in t){const n=(o.call(e,r)?e[r]:void 0)||(e[r]={}),i=t[r];let a;for(a in i){o.call(n,a)||(n[a]=[]);const e=i[a];s(n[a],Array.isArray(e)?e:e?[e]:[])}}}function s(e,t){let r=-1;const o=[];for(;++r<t.length;)("after"===t[r].add?e:o).push(t[r]);(0,n.d)(e,0,0,o)}},92791:(e,t,r)=>{"use strict";function n(e,t){const r=Number.parseInt(e,t);return r<9||11===r||r>13&&r<32||r>126&&r<160||r>55295&&r<57344||r>64975&&r<65008||65535==(65535&r)||65534==(65535&r)||r>1114111?"�":String.fromCharCode(r)}r.d(t,{o:()=>n})},12006:(e,t,r)=>{"use strict";r.d(t,{v:()=>a});var n=r(36365),o=r(92791);const i=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function a(e){return e.replace(i,s)}function s(e,t,r){if(t)return t;if(35===r.charCodeAt(0)){const e=r.charCodeAt(1),t=120===e||88===e;return(0,o.o)(r.slice(t?2:1),t?16:10)}return(0,n.T)(r)||e}},37618:(e,t,r)=>{"use strict";function n(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}r.r(t),r.d(t,{normalizeIdentifier:()=>n})},79142:(e,t,r)=>{"use strict";function n(e,t,r){const n=[];let o=-1;for(;++o<e.length;){const i=e[o].resolveAll;i&&!n.includes(i)&&(t=i(t,r),n.push(i))}return t}r.d(t,{C:()=>n})},35197:(e,t,r)=>{"use strict";r.d(t,{_:()=>o});var n=r(11707);function o(e){const t={};let r,o,a,s,u,c,l,f=-1;for(;++f<e.length;){for(;f in t;)f=t[f];if(r=e[f],f&&"chunkFlow"===r[1].type&&"listItemPrefix"===e[f-1][1].type&&(c=r[1]._tokenizer.events,a=0,a<c.length&&"lineEndingBlank"===c[a][1].type&&(a+=2),a<c.length&&"content"===c[a][1].type))for(;++a<c.length&&"content"!==c[a][1].type;)"chunkText"===c[a][1].type&&(c[a][1]._isInFirstContentOfListItem=!0,a++);if("enter"===r[0])r[1].contentType&&(Object.assign(t,i(e,f)),f=t[f],l=!0);else if(r[1]._container){for(a=f,o=void 0;a--&&(s=e[a],"lineEnding"===s[1].type||"lineEndingBlank"===s[1].type);)"enter"===s[0]&&(o&&(e[o][1].type="lineEndingBlank"),s[1].type="lineEnding",o=a);o&&(r[1].end=Object.assign({},e[o][1].start),u=e.slice(o,f),u.unshift(r),(0,n.d)(e,o,f-o+1,u))}}return!l}function i(e,t){const r=e[t][1],o=e[t][2];let i=t-1;const a=[],s=r._tokenizer||o.parser[r.contentType](r.start),u=s.events,c=[],l={};let f,h,p=-1,d=r,m=0,g=0;const y=[g];for(;d;){for(;e[++i][1]!==d;);a.push(i),d._tokenizer||(f=o.sliceStream(d),d.next||f.push(null),h&&s.defineSkip(d.start),d._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=!0),s.write(f),d._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=void 0)),h=d,d=d.next}for(d=r;++p<u.length;)"exit"===u[p][0]&&"enter"===u[p-1][0]&&u[p][1].type===u[p-1][1].type&&u[p][1].start.line!==u[p][1].end.line&&(g=p+1,y.push(g),d._tokenizer=void 0,d.previous=void 0,d=d.next);for(s.events=[],d?(d._tokenizer=void 0,d.previous=void 0):y.pop(),p=y.length;p--;){const t=u.slice(y[p],y[p+1]),r=a.pop();c.unshift([r,r+t.length-1]),(0,n.d)(e,r,2,t)}for(p=-1;++p<c.length;)l[m+c[p][0]]=m+c[p][1],m+=c[p][1]-c[p][0]-1;return l}},55975:(e,t,r)=>{"use strict";r.r(t),r.d(t,{codes:()=>n});const n={carriageReturn:-5,lineFeed:-4,carriageReturnLineFeed:-3,horizontalTab:-2,virtualSpace:-1,eof:null,nul:0,soh:1,stx:2,etx:3,eot:4,enq:5,ack:6,bel:7,bs:8,ht:9,lf:10,vt:11,ff:12,cr:13,so:14,si:15,dle:16,dc1:17,dc2:18,dc3:19,dc4:20,nak:21,syn:22,etb:23,can:24,em:25,sub:26,esc:27,fs:28,gs:29,rs:30,us:31,space:32,exclamationMark:33,quotationMark:34,numberSign:35,dollarSign:36,percentSign:37,ampersand:38,apostrophe:39,leftParenthesis:40,rightParenthesis:41,asterisk:42,plusSign:43,comma:44,dash:45,dot:46,slash:47,digit0:48,digit1:49,digit2:50,digit3:51,digit4:52,digit5:53,digit6:54,digit7:55,digit8:56,digit9:57,colon:58,semicolon:59,lessThan:60,equalsTo:61,greaterThan:62,questionMark:63,atSign:64,uppercaseA:65,uppercaseB:66,uppercaseC:67,uppercaseD:68,uppercaseE:69,uppercaseF:70,uppercaseG:71,uppercaseH:72,uppercaseI:73,uppercaseJ:74,uppercaseK:75,uppercaseL:76,uppercaseM:77,uppercaseN:78,uppercaseO:79,uppercaseP:80,uppercaseQ:81,uppercaseR:82,uppercaseS:83,uppercaseT:84,uppercaseU:85,uppercaseV:86,uppercaseW:87,uppercaseX:88,uppercaseY:89,uppercaseZ:90,leftSquareBracket:91,backslash:92,rightSquareBracket:93,caret:94,underscore:95,graveAccent:96,lowercaseA:97,lowercaseB:98,lowercaseC:99,lowercaseD:100,lowercaseE:101,lowercaseF:102,lowercaseG:103,lowercaseH:104,lowercaseI:105,lowercaseJ:106,lowercaseK:107,lowercaseL:108,lowercaseM:109,lowercaseN:110,lowercaseO:111,lowercaseP:112,lowercaseQ:113,lowercaseR:114,lowercaseS:115,lowercaseT:116,lowercaseU:117,lowercaseV:118,lowercaseW:119,lowercaseX:120,lowercaseY:121,lowercaseZ:122,leftCurlyBrace:123,verticalBar:124,rightCurlyBrace:125,tilde:126,del:127,byteOrderMarker:65279,replacementCharacter:65533}},8449:(e,t,r)=>{"use strict";r.r(t),r.d(t,{constants:()=>n});const n={attentionSideBefore:1,attentionSideAfter:2,atxHeadingOpeningFenceSizeMax:6,autolinkDomainSizeMax:63,autolinkSchemeSizeMax:32,cdataOpeningString:"CDATA[",characterGroupWhitespace:1,characterGroupPunctuation:2,characterReferenceDecimalSizeMax:7,characterReferenceHexadecimalSizeMax:6,characterReferenceNamedSizeMax:31,codeFencedSequenceSizeMin:3,contentTypeDocument:"document",contentTypeFlow:"flow",contentTypeContent:"content",contentTypeString:"string",contentTypeText:"text",hardBreakPrefixSizeMin:2,htmlRaw:1,htmlComment:2,htmlInstruction:3,htmlDeclaration:4,htmlCdata:5,htmlBasic:6,htmlComplete:7,htmlRawSizeMax:8,linkResourceDestinationBalanceMax:32,linkReferenceSizeMax:999,listItemValueSizeMax:10,numericBaseDecimal:10,numericBaseHexadecimal:16,tabSize:4,thematicBreakMarkerCountMin:3,v8MaxSafeChunkSize:1e4}},15472:(e,t,r)=>{"use strict";r.r(t),r.d(t,{types:()=>n});const n={data:"data",whitespace:"whitespace",lineEnding:"lineEnding",lineEndingBlank:"lineEndingBlank",linePrefix:"linePrefix",lineSuffix:"lineSuffix",atxHeading:"atxHeading",atxHeadingSequence:"atxHeadingSequence",atxHeadingText:"atxHeadingText",autolink:"autolink",autolinkEmail:"autolinkEmail",autolinkMarker:"autolinkMarker",autolinkProtocol:"autolinkProtocol",characterEscape:"characterEscape",characterEscapeValue:"characterEscapeValue",characterReference:"characterReference",characterReferenceMarker:"characterReferenceMarker",characterReferenceMarkerNumeric:"characterReferenceMarkerNumeric",characterReferenceMarkerHexadecimal:"characterReferenceMarkerHexadecimal",characterReferenceValue:"characterReferenceValue",codeFenced:"codeFenced",codeFencedFence:"codeFencedFence",codeFencedFenceSequence:"codeFencedFenceSequence",codeFencedFenceInfo:"codeFencedFenceInfo",codeFencedFenceMeta:"codeFencedFenceMeta",codeFlowValue:"codeFlowValue",codeIndented:"codeIndented",codeText:"codeText",codeTextData:"codeTextData",codeTextPadding:"codeTextPadding",codeTextSequence:"codeTextSequence",content:"content",definition:"definition",definitionDestination:"definitionDestination",definitionDestinationLiteral:"definitionDestinationLiteral",definitionDestinationLiteralMarker:"definitionDestinationLiteralMarker",definitionDestinationRaw:"definitionDestinationRaw",definitionDestinationString:"definitionDestinationString",definitionLabel:"definitionLabel",definitionLabelMarker:"definitionLabelMarker",definitionLabelString:"definitionLabelString",definitionMarker:"definitionMarker",definitionTitle:"definitionTitle",definitionTitleMarker:"definitionTitleMarker",definitionTitleString:"definitionTitleString",emphasis:"emphasis",emphasisSequence:"emphasisSequence",emphasisText:"emphasisText",escapeMarker:"escapeMarker",hardBreakEscape:"hardBreakEscape",hardBreakTrailing:"hardBreakTrailing",htmlFlow:"htmlFlow",htmlFlowData:"htmlFlowData",htmlText:"htmlText",htmlTextData:"htmlTextData",image:"image",label:"label",labelText:"labelText",labelLink:"labelLink",labelImage:"labelImage",labelMarker:"labelMarker",labelImageMarker:"labelImageMarker",labelEnd:"labelEnd",link:"link",paragraph:"paragraph",reference:"reference",referenceMarker:"referenceMarker",referenceString:"referenceString",resource:"resource",resourceDestination:"resourceDestination",resourceDestinationLiteral:"resourceDestinationLiteral",resourceDestinationLiteralMarker:"resourceDestinationLiteralMarker",resourceDestinationRaw:"resourceDestinationRaw",resourceDestinationString:"resourceDestinationString",resourceMarker:"resourceMarker",resourceTitle:"resourceTitle",resourceTitleMarker:"resourceTitleMarker",resourceTitleString:"resourceTitleString",setextHeading:"setextHeading",setextHeadingText:"setextHeadingText",setextHeadingLine:"setextHeadingLine",setextHeadingLineSequence:"setextHeadingLineSequence",strong:"strong",strongSequence:"strongSequence",strongText:"strongText",thematicBreak:"thematicBreak",thematicBreakSequence:"thematicBreakSequence",blockQuote:"blockQuote",blockQuotePrefix:"blockQuotePrefix",blockQuoteMarker:"blockQuoteMarker",blockQuotePrefixWhitespace:"blockQuotePrefixWhitespace",listOrdered:"listOrdered",listUnordered:"listUnordered",listItemIndent:"listItemIndent",listItemMarker:"listItemMarker",listItemPrefix:"listItemPrefix",listItemPrefixWhitespace:"listItemPrefixWhitespace",listItemValue:"listItemValue",chunkDocument:"chunkDocument",chunkContent:"chunkContent",chunkFlow:"chunkFlow",chunkText:"chunkText",chunkString:"chunkString"}},59463:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(53827);const o=/[\t ]*(?:\r?\n|\r)/g;function i(){return e=>{(0,n.Vn)(e,"text",((e,t,r)=>{const n=[];let i=0;o.lastIndex=0;let a=o.exec(e.value);for(;a;){const t=a.index;i!==t&&n.push({type:"text",value:e.value.slice(i,t)}),n.push({type:"break"}),i=t+a[0].length,a=o.exec(e.value)}if(n.length>0&&r&&"number"==typeof t)return i<e.value.length&&n.push({type:"text",value:e.value.slice(i)}),r.children.splice(t,1,...n),t+n.length}))}}},63038:(e,t,r)=>{"use strict";r.r(t),r.d(t,{remarkHeadingId:()=>i});var n=r(53827),o=r(55975);function i(){const e=this.data();function t(t,r){(e[t]||(e[t]=[])).push(r)}return t("micromarkExtensions",{text:{[o.codes.leftCurlyBrace]:{name:"headingIdMaybeStart",tokenize:(e,t,r)=>function(n){return e.attempt({tokenize(e,t,r){return function(t){if(t!==o.codes.leftCurlyBrace)throw new Error(`Unexpected code ${t}`);return e.enter("id"),e.enter("idMarker"),e.consume(t),n};function n(t){return t!==o.codes.numberSign?r(t):(e.consume(t),e.exit("idMarker"),e.enter("idString"),e.enter("chunkString",{contentType:"string"}),i)}function i(n){return[o.codes.carriageReturn,o.codes.lineFeed,o.codes.carriageReturnLineFeed,null,o.codes.backslash,o.codes.leftCurlyBrace].includes(n)?r(n):n===o.codes.rightCurlyBrace?(e.exit("chunkString"),e.exit("idString"),e.enter("idMarker"),e.consume(n),e.exit("idMarker"),e.exit("id"),t):(e.consume(n),i)}}},t,r)(n)}}}}),t("fromMarkdownExtensions",{enter:{idString(e){this.enter({type:"idString",value:null},e),this.buffer()}},exit:{idString(e){const t=this.resume();this.exit(e).value=t}}}),function(e){(0,n.Vn)(e,"idString",((e,t,r)=>{if(!r)throw new Error("Unexpected idString under no parent.");if("heading"!==r.type)throw new Error(`Unexpected node ${e} under ${r}`)})),(0,n.Vn)(e,"heading",(e=>{const t=e.children.filter((e=>"idString"===e.type));if(0==t.length)return;if(t.length>1)throw new Error(`Found ${t.length} ids under heading ${e}.`);const r=t[0];if(r.value&&r.value.length>0){e.data||(e.data={}),e.data.hProperties||(e.data.hProperties={}),e.data.id=e.data.hProperties.id=r.value,r.value="";const t=e.children.indexOf(r);if(t>=1){const r=e.children[t-1];"text"===r.type&&(r.value=r.value.trimEnd())}e.children.splice(t,1)}}))}}},47759:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>Z});var n=r(46050),o=r(19967),i=r(48948);function a(e,t,r,a,s,u,c,l,f,h,p,d,m,g,y){let v,b;return function(t){return e.enter(a),e.enter(s),e.consume(t),e.exit(s),E};function E(t){return 35===t?(v=c,D(t)):46===t?(v=l,D(t)):58===t||95===t||(0,o.asciiAlpha)(t)?(e.enter(u),e.enter(f),e.consume(t),F):y&&(0,o.markdownSpace)(t)?(0,n.factorySpace)(e,E,"whitespace")(t):!y&&(0,o.markdownLineEndingOrSpace)(t)?(0,i.factoryWhitespace)(e,E)(t):T(t)}function D(t){return e.enter(u),e.enter(v),e.enter(v+"Marker"),e.consume(t),e.exit(v+"Marker"),w}function w(t){return null===t||34===t||35===t||39===t||46===t||60===t||61===t||62===t||96===t||125===t||(0,o.markdownLineEndingOrSpace)(t)?r(t):(e.enter(v+"Value"),e.consume(t),x)}function x(t){return null===t||34===t||39===t||60===t||61===t||62===t||96===t?r(t):35===t||46===t||125===t||(0,o.markdownLineEndingOrSpace)(t)?(e.exit(v+"Value"),e.exit(v),e.exit(u),E(t)):(e.consume(t),x)}function F(t){return 45===t||46===t||58===t||95===t||(0,o.asciiAlphanumeric)(t)?(e.consume(t),F):(e.exit(f),y&&(0,o.markdownSpace)(t)?(0,n.factorySpace)(e,S,"whitespace")(t):!y&&(0,o.markdownLineEndingOrSpace)(t)?(0,i.factoryWhitespace)(e,S)(t):S(t))}function S(t){return 61===t?(e.enter(h),e.consume(t),e.exit(h),A):(e.exit(u),E(t))}function A(t){return null===t||60===t||61===t||62===t||96===t||125===t||y&&(0,o.markdownLineEnding)(t)?r(t):34===t||39===t?(e.enter(p),e.enter(m),e.consume(t),e.exit(m),b=t,C):y&&(0,o.markdownSpace)(t)?(0,n.factorySpace)(e,A,"whitespace")(t):!y&&(0,o.markdownLineEndingOrSpace)(t)?(0,i.factoryWhitespace)(e,A)(t):(e.enter(d),e.enter(g),e.consume(t),b=void 0,k)}function k(t){return null===t||34===t||39===t||60===t||61===t||62===t||96===t?r(t):125===t||(0,o.markdownLineEndingOrSpace)(t)?(e.exit(g),e.exit(d),e.exit(u),E(t)):(e.consume(t),k)}function C(t){return t===b?(e.enter(m),e.consume(t),e.exit(m),e.exit(p),e.exit(u),j):(e.enter(d),P(t))}function P(t){return t===b?(e.exit(d),C(t)):null===t?r(t):(0,o.markdownLineEnding)(t)?y?r(t):(0,i.factoryWhitespace)(e,P)(t):(e.enter(g),e.consume(t),O)}function O(t){return t===b||null===t||(0,o.markdownLineEnding)(t)?(e.exit(g),P(t)):(e.consume(t),O)}function j(e){return 125===e||(0,o.markdownLineEndingOrSpace)(e)?E(e):T(e)}function T(n){return 125===n?(e.enter(s),e.consume(n),e.exit(s),e.exit(a),t):r(n)}}function s(e,t,r,n,i,a,s){let u,c=0,l=0;return function(t){return e.enter(n),e.enter(i),e.consume(t),e.exit(i),f};function f(r){return 93===r?(e.enter(i),e.consume(r),e.exit(i),e.exit(n),t):(e.enter(a),h(r))}function h(t){if(93===t&&!l)return m(t);const r=e.enter("chunkText",{contentType:"text",previous:u});return u&&(u.next=r),u=r,p(t)}function p(t){return null===t||c>999||91===t&&++l>32?r(t):93!==t||l--?(0,o.markdownLineEnding)(t)?s?r(t):(e.consume(t),e.exit("chunkText"),h):(e.consume(t),92===t?d:p):(e.exit("chunkText"),m(t))}function d(t){return 91===t||92===t||93===t?(e.consume(t),c++,p):p(t)}function m(r){return e.exit(a),e.enter(i),e.consume(r),e.exit(i),e.exit(n),t}}function u(e,t,r,n){const i=this;return function(t){if((0,o.asciiAlpha)(t))return e.enter(n),e.consume(t),a;return r(t)};function a(s){return 45===s||95===s||(0,o.asciiAlphanumeric)(s)?(e.consume(s),a):(e.exit(n),45===i.previous||95===i.previous?r(s):t(s))}}const c={tokenize:function(e,t,r){const i=this,a=i.events[i.events.length-1],s=a&&"linePrefix"===a[1].type?a[2].sliceSerialize(a[1],!0).length:0;let c,p=0;return function(t){return e.enter("directiveContainer"),e.enter("directiveContainerFence"),e.enter("directiveContainerSequence"),d(t)};function d(t){return 58===t?(e.consume(t),p++,d):p<3?r(t):(e.exit("directiveContainerSequence"),u.call(i,e,m,r,"directiveContainerName")(t))}function m(t){return 91===t?e.attempt(l,g,g)(t):g(t)}function g(t){return 123===t?e.attempt(f,y,y)(t):y(t)}function y(t){return(0,n.factorySpace)(e,v,"whitespace")(t)}function v(n){return e.exit("directiveContainerFence"),null===n?b(n):(0,o.markdownLineEnding)(n)?i.interrupt?t(n):e.attempt(h,E,b)(n):r(n)}function b(r){return e.exit("directiveContainer"),t(r)}function E(r){return null===r?(e.exit("directiveContainer"),t(r)):(e.enter("directiveContainerContent"),D(r))}function D(t){return null===t?A(t):e.attempt({tokenize:k,partial:!0},A,s?(0,n.factorySpace)(e,w,"linePrefix",s+1):w)(t)}function w(t){if(null===t)return A(t);const r=e.enter("chunkDocument",{contentType:"document",previous:c});return c&&(c.next=r),c=r,x(t)}function x(t){if(null===t){const r=e.exit("chunkDocument");return i.parser.lazy[r.start.line]=!1,A(t)}return(0,o.markdownLineEnding)(t)?e.check(h,F,S)(t):(e.consume(t),x)}function F(t){e.consume(t);const r=e.exit("chunkDocument");return i.parser.lazy[r.start.line]=!1,D}function S(t){const r=e.exit("chunkDocument");return i.parser.lazy[r.start.line]=!1,A(t)}function A(r){return e.exit("directiveContainerContent"),e.exit("directiveContainer"),t(r)}function k(e,t,r){let i=0;return(0,n.factorySpace)(e,(function(t){return e.enter("directiveContainerFence"),e.enter("directiveContainerSequence"),a(t)}),"linePrefix",4);function a(t){return 58===t?(e.consume(t),i++,a):i<p?r(t):(e.exit("directiveContainerSequence"),(0,n.factorySpace)(e,s,"whitespace")(t))}function s(n){return null===n||(0,o.markdownLineEnding)(n)?(e.exit("directiveContainerFence"),t(n)):r(n)}}},concrete:!0},l={tokenize:function(e,t,r){return s(e,t,r,"directiveContainerLabel","directiveContainerLabelMarker","directiveContainerLabelString",!0)},partial:!0},f={tokenize:function(e,t,r){return a(e,t,r,"directiveContainerAttributes","directiveContainerAttributesMarker","directiveContainerAttribute","directiveContainerAttributeId","directiveContainerAttributeClass","directiveContainerAttributeName","directiveContainerAttributeInitializerMarker","directiveContainerAttributeValueLiteral","directiveContainerAttributeValue","directiveContainerAttributeValueMarker","directiveContainerAttributeValueData",!0)},partial:!0},h={tokenize:function(e,t,r){const n=this;return function(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),o};function o(e){return n.parser.lazy[n.now().line]?r(e):t(e)}},partial:!0};const p={tokenize:function(e,t,r){const i=this;return function(t){return e.enter("directiveLeaf"),e.enter("directiveLeafSequence"),e.consume(t),a};function a(t){return 58===t?(e.consume(t),e.exit("directiveLeafSequence"),u.call(i,e,s,r,"directiveLeafName")):r(t)}function s(t){return 91===t?e.attempt(d,c,c)(t):c(t)}function c(t){return 123===t?e.attempt(m,l,l)(t):l(t)}function l(t){return(0,n.factorySpace)(e,f,"whitespace")(t)}function f(n){return null===n||(0,o.markdownLineEnding)(n)?(e.exit("directiveLeaf"),t(n)):r(n)}}},d={tokenize:function(e,t,r){return s(e,t,r,"directiveLeafLabel","directiveLeafLabelMarker","directiveLeafLabelString",!0)},partial:!0},m={tokenize:function(e,t,r){return a(e,t,r,"directiveLeafAttributes","directiveLeafAttributesMarker","directiveLeafAttribute","directiveLeafAttributeId","directiveLeafAttributeClass","directiveLeafAttributeName","directiveLeafAttributeInitializerMarker","directiveLeafAttributeValueLiteral","directiveLeafAttributeValue","directiveLeafAttributeValueMarker","directiveLeafAttributeValueData",!0)},partial:!0};const g={tokenize:function(e,t,r){const n=this;return function(t){return e.enter("directiveText"),e.enter("directiveTextMarker"),e.consume(t),e.exit("directiveTextMarker"),u.call(n,e,o,r,"directiveTextName")};function o(t){return 58===t?r(t):91===t?e.attempt(y,i,i)(t):i(t)}function i(t){return 123===t?e.attempt(v,a,a)(t):a(t)}function a(r){return e.exit("directiveText"),t(r)}},previous:function(e){return 58!==e||"characterEscape"===this.events[this.events.length-1][1].type}},y={tokenize:function(e,t,r){return s(e,t,r,"directiveTextLabel","directiveTextLabelMarker","directiveTextLabelString")},partial:!0},v={tokenize:function(e,t,r){return a(e,t,r,"directiveTextAttributes","directiveTextAttributesMarker","directiveTextAttribute","directiveTextAttributeId","directiveTextAttributeClass","directiveTextAttributeName","directiveTextAttributeInitializerMarker","directiveTextAttributeValueLiteral","directiveTextAttributeValue","directiveTextAttributeValueMarker","directiveTextAttributeValueData")},partial:!0};const b=["AElig","AMP","Aacute","Acirc","Agrave","Aring","Atilde","Auml","COPY","Ccedil","ETH","Eacute","Ecirc","Egrave","Euml","GT","Iacute","Icirc","Igrave","Iuml","LT","Ntilde","Oacute","Ocirc","Ograve","Oslash","Otilde","Ouml","QUOT","REG","THORN","Uacute","Ucirc","Ugrave","Uuml","Yacute","aacute","acirc","acute","aelig","agrave","amp","aring","atilde","auml","brvbar","ccedil","cedil","cent","copy","curren","deg","divide","eacute","ecirc","egrave","eth","euml","frac12","frac14","frac34","gt","iacute","icirc","iexcl","igrave","iquest","iuml","laquo","lt","macr","micro","middot","nbsp","not","ntilde","oacute","ocirc","ograve","ordf","ordm","oslash","otilde","ouml","para","plusmn","pound","quot","raquo","reg","sect","shy","sup1","sup2","sup3","szlig","thorn","times","uacute","ucirc","ugrave","uml","uuml","yacute","yen","yuml"],E={0:"�",128:"€",130:"‚",131:"ƒ",132:"„",133:"…",134:"†",135:"‡",136:"ˆ",137:"‰",138:"Š",139:"‹",140:"Œ",142:"Ž",145:"‘",146:"’",147:"“",148:"”",149:"•",150:"–",151:"—",152:"˜",153:"™",154:"š",155:"›",156:"œ",158:"ž",159:"Ÿ"};function D(e){const t="string"==typeof e?e.charCodeAt(0):e;return t>=48&&t<=57}function w(e){const t="string"==typeof e?e.charCodeAt(0):e;return t>=97&&t<=102||t>=65&&t<=70||t>=48&&t<=57}function x(e){return function(e){const t="string"==typeof e?e.charCodeAt(0):e;return t>=97&&t<=122||t>=65&&t<=90}(e)||D(e)}var F=r(36365);const S=String.fromCharCode,A=["","Named character references must be terminated by a semicolon","Numeric character references must be terminated by a semicolon","Named character references cannot be empty","Numeric character references cannot be empty","Named character references must be known","Numeric character references cannot be disallowed","Numeric character references cannot be outside the permissible Unicode range"];function k(e,t={}){const r="string"==typeof t.additional?t.additional.charCodeAt(0):t.additional,n=[];let o,i,a=0,s=-1,u="";t.position&&("start"in t.position||"indent"in t.position?(i=t.position.indent,o=t.position.start):o=t.position);let c,l=(o?o.line:0)||1,f=(o?o.column:0)||1,h=d();for(a--;++a<=e.length;)if(10===c&&(f=(i?i[s]:0)||1),c=e.charCodeAt(a),38===c){const o=e.charCodeAt(a+1);if(9===o||10===o||12===o||32===o||38===o||60===o||Number.isNaN(o)||r&&o===r){u+=S(c),f++;continue}const i=a+1;let s,l=i,y=i;if(35===o){y=++l;const t=e.charCodeAt(y);88===t||120===t?(s="hexadecimal",y=++l):s="decimal"}else s="named";let v="",A="",k="";const P="named"===s?x:"decimal"===s?D:w;for(y--;++y<=e.length;){const t=e.charCodeAt(y);if(!P(t))break;k+=S(t),"named"===s&&b.includes(k)&&(v=k,A=(0,F.T)(k))}let O=59===e.charCodeAt(y);if(O){y++;const e="named"===s&&(0,F.T)(k);e&&(v=k,A=e)}let j=1+y-i,T="";if(O||!1!==t.nonTerminated)if(k)if("named"===s){if(O&&!A)m(5,1);else if(v!==k&&(y=l+v.length,j=1+y-l,O=!1),!O){const r=v?1:3;if(t.attribute){const t=e.charCodeAt(y);61===t?(m(r,j),A=""):x(t)?A="":m(r,j)}else m(r,j)}T=A}else{O||m(2,j);let e=Number.parseInt(k,"hexadecimal"===s?16:10);if((p=e)>=55296&&p<=57343||p>1114111)m(7,j),T=S(65533);else if(e in E)m(6,j),T=E[e];else{let t="";C(e)&&m(6,j),e>65535&&(e-=65536,t+=S(e>>>10|55296),e=56320|1023&e),T=t+S(e)}}else"named"!==s&&m(4,j);else;if(T){g(),h=d(),a=y-1,f+=y-i+1,n.push(T);const r=d();r.offset++,t.reference&&t.reference.call(t.referenceContext,T,{start:h,end:r},e.slice(i-1,y)),h=r}else k=e.slice(i-1,y),u+=k,f+=k.length,a=y-1}else 10===c&&(l++,s++,f=0),Number.isNaN(c)?g():(u+=S(c),f++);var p;return n.join("");function d(){return{line:l,column:f,offset:a+((o?o.offset:0)||0)}}function m(e,r){let n;t.warning&&(n=d(),n.column+=r,n.offset+=r,t.warning.call(t.warningContext,A[e],n,e))}function g(){u&&(n.push(u),t.text&&t.text.call(t.textContext,u,{start:h,end:d()}),u="")}}function C(e){return e>=1&&e<=8||11===e||e>=13&&e<=31||e>=127&&e<=159||e>=64976&&e<=65007||65535==(65535&e)||65534==(65535&e)}function P(e,t){return e=e.replace(t.subset?function(e){const t=[];let r=-1;for(;++r<e.length;)t.push(e[r].replace(/[|\\{}()[\]^$+*?.]/g,"\\$&"));return new RegExp("(?:"+t.join("|")+")","g")}(t.subset):/["&'<>`]/g,r),t.subset||t.escapeOnly?e:e.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,(function(e,r,n){return t.format(1024*(e.charCodeAt(0)-55296)+e.charCodeAt(1)-56320+65536,n.charCodeAt(r+2),t)})).replace(/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,r);function r(e,r,n){return t.format(e.charCodeAt(0),n.charCodeAt(r+1),t)}}function O(e){return"&#x"+e.toString(16).toUpperCase()+";"}var j=r(50819),T=r(85771),_=r(48736),B=r(99656),R=r(87717);const I={}.hasOwnProperty,L=/^[^\t\n\r "#'.<=>`}]+$/;K.peek=function(){return":"};const M={canContainEols:["textDirective"],enter:{directiveContainer:function(e){$.call(this,"containerDirective",e)},directiveContainerAttributes:z,directiveContainerLabel:function(e){this.enter({type:"paragraph",data:{directiveLabel:!0},children:[]},e)},directiveLeaf:function(e){$.call(this,"leafDirective",e)},directiveLeafAttributes:z,directiveText:function(e){$.call(this,"textDirective",e)},directiveTextAttributes:z},exit:{directiveContainer:Q,directiveContainerAttributeClassValue:q,directiveContainerAttributeIdValue:H,directiveContainerAttributeName:G,directiveContainerAttributeValue:V,directiveContainerAttributes:W,directiveContainerLabel:function(e){this.exit(e)},directiveContainerName:U,directiveLeaf:Q,directiveLeafAttributeClassValue:q,directiveLeafAttributeIdValue:H,directiveLeafAttributeName:G,directiveLeafAttributeValue:V,directiveLeafAttributes:W,directiveLeafName:U,directiveText:Q,directiveTextAttributeClassValue:q,directiveTextAttributeIdValue:H,directiveTextAttributeName:G,directiveTextAttributeValue:V,directiveTextAttributes:W,directiveTextName:U}},N={unsafe:[{character:"\r",inConstruct:["leafDirectiveLabel","containerDirectiveLabel"]},{character:"\n",inConstruct:["leafDirectiveLabel","containerDirectiveLabel"]},{before:"[^:]",character:":",after:"[A-Za-z]",inConstruct:["phrasing"]},{atBreak:!0,character:":",after:":"}],handlers:{containerDirective:K,leafDirective:K,textDirective:K}};function $(e,t){this.enter({type:e,name:"",attributes:{},children:[]},t)}function U(e){this.stack[this.stack.length-1].name=this.sliceSerialize(e)}function z(){this.setData("directiveAttributes",[]),this.buffer()}function H(e){this.getData("directiveAttributes").push(["id",k(this.sliceSerialize(e),{attribute:!0})])}function q(e){this.getData("directiveAttributes").push(["class",k(this.sliceSerialize(e),{attribute:!0})])}function V(e){const t=this.getData("directiveAttributes");t[t.length-1][1]=k(this.sliceSerialize(e),{attribute:!0})}function G(e){this.getData("directiveAttributes").push([this.sliceSerialize(e),""])}function W(){const e=this.getData("directiveAttributes"),t={};let r=-1;for(;++r<e.length;){const n=e[r];"class"===n[0]&&t.class?t.class+=" "+n[1]:t[n[0]]=n[1]}this.setData("directiveAttributes"),this.resume();this.stack[this.stack.length-1].attributes=t}function Q(e){this.exit(e)}function K(e,t,r,n){const o=(0,R.j)(n),i=function(e){let t=0;"containerDirective"===e.type?((0,j.S4)(e,(function(e,r){if("containerDirective"===e.type){let e=r.length,n=0;for(;e--;)"containerDirective"===r[e].type&&n++;n>t&&(t=n)}})),t+=3):t="leafDirective"===e.type?2:1;return":".repeat(t)}(e),a=r.enter(e.type);let s,u=o.move(i+(e.name||""));if("containerDirective"===e.type){const t=(e.children||[])[0];s=Y(t)?t:void 0}else s=e;if(s&&s.children&&s.children.length>0){const t=r.enter("label"),n=`${e.type}Label`,i=r.enter(n);u+=o.move("["),u+=o.move((0,_.p)(s,r,{...o.current(),before:u,after:"]"})),u+=o.move("]"),i(),t()}if(u+=o.move(function(e,t){const r=(0,B.l)(t),n="textDirective"===e.type?[r]:[r,"\n","\r"],o=e.attributes||{},i=[];let a,s,u,c;for(c in o)if(I.call(o,c)&&void 0!==o[c]&&null!==o[c]){const e=String(o[c]);if("id"===c)u=L.test(e)?"#"+e:l("id",e);else if("class"===c){const t=e.split(/[\t\n\r ]+/g),r=[],n=[];let o=-1;for(;++o<t.length;)(L.test(t[o])?n:r).push(t[o]);a=r.length>0?l("class",r.join(" ")):"",s=n.length>0?"."+n.join("."):""}else i.push(l(c,e))}a&&i.unshift(a);s&&i.unshift(s);u&&i.unshift(u);return i.length>0?"{"+i.join(" ")+"}":"";function l(e,t){return e+(t?"="+r+function(e,t){return P(e,Object.assign({format:O},t))}(t,{subset:n})+r:"")}}(e,r)),"containerDirective"===e.type){let t=e;Y((e.children||[])[0])&&(t=Object.assign({},e,{children:e.children.slice(1)})),t&&t.children&&t.children.length>0&&(u+=o.move("\n"),u+=o.move((0,T.K)(t,r,o.current()))),u+=o.move("\n"+i)}return a(),u}function Y(e){return Boolean(e&&"paragraph"===e.type&&e.data&&e.data.directiveLabel)}function Z(){const e=this.data();function t(t,r){(e[t]?e[t]:e[t]=[]).push(r)}t("micromarkExtensions",{text:{58:g},flow:{58:[c,p]}}),t("fromMarkdownExtensions",M),t("toMarkdownExtensions",N)}},42363:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>E});var n=r(19967),o=r(98544);const i=Object.assign(a(Error),{eval:a(EvalError),range:a(RangeError),reference:a(ReferenceError),syntax:a(SyntaxError),type:a(TypeError),uri:a(URIError)});function a(e){return t.displayName=e.displayName||e.name,t;function t(t,...r){const n=t?o(t,...r):t;return new e(n)}}const s={}.hasOwnProperty,u={yaml:"-",toml:"+"};function c(e="yaml"){const t=[];let r=-1;for(Array.isArray(e)||(e=[e]);++r<e.length;)t[r]=l(e[r]);return t}function l(e){let t=e;if("string"==typeof t){if(!s.call(u,t))throw i("Missing matter definition for `%s`",t);t={type:t,marker:u[t]}}else if("object"!=typeof t)throw i("Expected matter to be an object, not `%j`",t);if(!s.call(t,"type"))throw i("Missing `type` in matter `%j`",t);if(!s.call(t,"fence")&&!s.call(t,"marker"))throw i("Missing `marker` or `fence` in matter `%j`",t);return t}function f(e){const t=e.type,r=e.anywhere,o=t+"Value",i=t+"Fence",a=i+"Sequence",s={tokenize:function(e,t,r){let o=0;return function(t){if(t===u.charCodeAt(o))return e.enter(i),e.enter(a),s(t);return r(t)};function s(t){return o===u.length?(e.exit(a),(0,n.markdownSpace)(t)?(e.enter("whitespace"),c(t)):l(t)):t===u.charCodeAt(o++)?(e.consume(t),s):r(t)}function c(t){return(0,n.markdownSpace)(t)?(e.consume(t),c):(e.exit("whitespace"),l(t))}function l(o){return null===o||(0,n.markdownLineEnding)(o)?(e.exit(i),t(o)):r(o)}},partial:!0};let u;return{tokenize:function(i,a,c){const l=this;return function(n){const o=l.now();if(1!==o.column||!r&&1!==o.line)return c(n);return i.enter(t),u=h(e,"open"),i.attempt(s,f,c)(n)};function f(t){return u=h(e,"close"),m(t)}function p(e){return null===e||(0,n.markdownLineEnding)(e)?m(e):(i.enter(o),d(e))}function d(e){return null===e||(0,n.markdownLineEnding)(e)?(i.exit(o),m(e)):(i.consume(e),d)}function m(e){return null===e?c(e):(i.enter("lineEnding"),i.consume(e),i.exit("lineEnding"),i.attempt(s,g,p))}function g(e){return i.exit(t),a(e)}},concrete:!0}}function h(e,t){return e.marker?p(e.marker,t).repeat(3):p(e.fence,t)}function p(e,t){return"string"==typeof e?e:e[t]}function d(e){return function(t){this.enter({type:e.type,value:""},t),this.buffer()}}function m(e){const t=this.resume();this.exit(e).value=t.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,"")}function g(e){this.config.enter.data.call(this,e),this.config.exit.data.call(this,e)}function y(e){const t=v(e,"open"),r=v(e,"close");return function(e){return t+(e.value?"\n"+e.value:"")+"\n"+r}}function v(e,t){return e.marker?b(e.marker,t).repeat(3):b(e.fence,t)}function b(e,t){return"string"==typeof e?e:e[t]}function E(e="yaml"){const t=this.data();function r(e,r){(t[e]?t[e]:t[e]=[]).push(r)}r("micromarkExtensions",function(e){const t=c(e),r={};let n=-1;for(;++n<t.length;){const e=t[n],o=h(e,"open").charCodeAt(0);o in r?r[o].push(f(e)):r[o]=[f(e)]}return{flow:r}}(e)),r("fromMarkdownExtensions",function(e){const t=c(e),r={},n={};let o=-1;for(;++o<t.length;){const e=t[o];r[e.type]=d(e),n[e.type]=m,n[e.type+"Value"]=g}return{enter:r,exit:n}}(e)),r("toMarkdownExtensions",function(e){const t=[],r={},n=c(e);let o=-1;for(;++o<n.length;){const e=n[o];r[e.type]=y(e),t.push({atBreak:!0,character:v(e,"open").charAt(0)})}return{unsafe:t,handlers:r}}(e))}},52795:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>ze});var n=r(89063),o=r(19967);const i={tokenize:function(e,t,r){return function(t){return e.consume(t),n};function n(t){return 87===t||119===t?(e.consume(t),i):r(t)}function i(t){return 87===t||119===t?(e.consume(t),a):r(t)}function a(t){return 46===t?(e.consume(t),s):r(t)}function s(e){return null===e||(0,o.markdownLineEnding)(e)?r(e):t(e)}},partial:!0},a={tokenize:function(e,t,r){let n,i;return a;function a(t){return 38===t?e.check(c,l,s)(t):46===t||95===t?e.check(u,l,s)(t):null===t||(0,o.asciiControl)(t)||(0,o.unicodeWhitespace)(t)||45!==t&&(0,o.unicodePunctuation)(t)?l(t):(e.consume(t),a)}function s(t){return 46===t?(i=n,n=void 0,e.consume(t),a):(95===t&&(n=!0),e.consume(t),a)}function l(e){return i||n?r(e):t(e)}},partial:!0},s={tokenize:function(e,t){let r=0;return n;function n(a){return 38===a?e.check(c,t,o)(a):(40===a&&r++,41===a?e.check(u,i,o)(a):y(a)?t(a):g(a)?e.check(u,t,o)(a):(e.consume(a),n))}function o(t){return e.consume(t),n}function i(e){return r--,r<0?t(e):o(e)}},partial:!0},u={tokenize:function(e,t,r){return function(t){return e.consume(t),n};function n(o){return g(o)?(e.consume(o),n):y(o)?t(o):r(o)}},partial:!0},c={tokenize:function(e,t,r){return function(t){return e.consume(t),n};function n(t){return(0,o.asciiAlpha)(t)?(e.consume(t),n):59===t?(e.consume(t),i):r(t)}function i(e){return y(e)?t(e):r(e)}},partial:!0},l={tokenize:function(e,t,r){const n=this;return function(t){if(87!==t&&119!==t||!b(n.previous)||w(n.events))return r(t);return e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(i,e.attempt(a,e.attempt(s,o),r),r)(t)};function o(r){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(r)}},previous:b},f={tokenize:function(e,t,r){const n=this;return function(t){if(72!==t&&104!==t||!E(n.previous)||w(n.events))return r(t);return e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),e.consume(t),i};function i(t){return 84===t||116===t?(e.consume(t),u):r(t)}function u(t){return 84===t||116===t?(e.consume(t),c):r(t)}function c(t){return 80===t||112===t?(e.consume(t),l):r(t)}function l(t){return 83===t||115===t?(e.consume(t),f):f(t)}function f(t){return 58===t?(e.consume(t),h):r(t)}function h(t){return 47===t?(e.consume(t),p):r(t)}function p(t){return 47===t?(e.consume(t),d):r(t)}function d(t){return null===t||(0,o.asciiControl)(t)||(0,o.unicodeWhitespace)(t)||(0,o.unicodePunctuation)(t)?r(t):e.attempt(a,e.attempt(s,m),r)(t)}function m(r){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(r)}},previous:E},h={tokenize:function(e,t,r){const n=this;let i,a;return function(t){if(!v(t)||!D(n.previous)||w(n.events))return r(t);return e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),s(t)};function s(t){return v(t)?(e.consume(t),s):64===t?(e.consume(t),c):r(t)}function c(t){return 46===t?e.check(u,p,l)(t):45===t||95===t?e.check(u,r,f)(t):(0,o.asciiAlphanumeric)(t)?(!a&&(0,o.asciiDigit)(t)&&(a=!0),e.consume(t),c):p(t)}function l(t){return e.consume(t),i=!0,a=void 0,c}function f(t){return e.consume(t),h}function h(t){return 46===t?e.check(u,r,l)(t):c(t)}function p(n){return i&&!a?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(n)):r(n)}},previous:D},p={},d={text:p};let m=48;for(;m<123;)p[m]=h,m++,58===m?m=65:91===m&&(m=97);function g(e){return 33===e||34===e||39===e||41===e||42===e||44===e||46===e||58===e||59===e||60===e||63===e||95===e||126===e}function y(e){return null===e||60===e||(0,o.markdownLineEndingOrSpace)(e)}function v(e){return 43===e||45===e||46===e||95===e||(0,o.asciiAlphanumeric)(e)}function b(e){return null===e||40===e||42===e||95===e||126===e||(0,o.markdownLineEndingOrSpace)(e)}function E(e){return null===e||!(0,o.asciiAlpha)(e)}function D(e){return 47!==e&&E(e)}function w(e){let t=e.length,r=!1;for(;t--;){const n=e[t][1];if(("labelLink"===n.type||"labelImage"===n.type)&&!n._balanced){r=!0;break}if(n._gfmAutolinkLiteralWalkedInto){r=!1;break}}return e.length>0&&!r&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),r}p[43]=h,p[45]=h,p[46]=h,p[95]=h,p[72]=[h,f],p[104]=[h,f],p[87]=[h,l],p[119]=[h,l];var x=r(58775),F=r(46050),S=r(37618);const A={tokenize:function(e,t,r){const n=this;return(0,F.factorySpace)(e,(function(e){const o=n.events[n.events.length-1];return o&&"gfmFootnoteDefinitionIndent"===o[1].type&&4===o[2].sliceSerialize(o[1],!0).length?t(e):r(e)}),"gfmFootnoteDefinitionIndent",5)},partial:!0};function k(e,t,r){const n=this;let o=n.events.length;const i=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]);let a;for(;o--;){const e=n.events[o][1];if("labelImage"===e.type){a=e;break}if("gfmFootnoteCall"===e.type||"labelLink"===e.type||"label"===e.type||"image"===e.type||"link"===e.type)break}return function(o){if(!a||!a._balanced)return r(o);const s=(0,S.normalizeIdentifier)(n.sliceSerialize({start:a.end,end:n.now()}));if(94!==s.charCodeAt(0)||!i.includes(s.slice(1)))return r(o);return e.enter("gfmFootnoteCallLabelMarker"),e.consume(o),e.exit("gfmFootnoteCallLabelMarker"),t(o)}}function C(e,t){let r,n=e.length;for(;n--;)if("labelImage"===e[n][1].type&&"enter"===e[n][0]){r=e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";const o={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},i={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};i.end.column++,i.end.offset++,i.end._bufferIndex++;const a={type:"gfmFootnoteCallString",start:Object.assign({},i.end),end:Object.assign({},e[e.length-1][1].start)},s={type:"chunkString",contentType:"string",start:Object.assign({},a.start),end:Object.assign({},a.end)},u=[e[n+1],e[n+2],["enter",o,t],e[n+3],e[n+4],["enter",i,t],["exit",i,t],["enter",a,t],["enter",s,t],["exit",s,t],["exit",a,t],e[e.length-2],e[e.length-1],["exit",o,t]];return e.splice(n,e.length-n+1,...u),e}function P(e,t,r){const n=this,i=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]);let a,s=0;return function(t){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(t),e.exit("gfmFootnoteCallLabelMarker"),u};function u(t){return 94!==t?r(t):(e.enter("gfmFootnoteCallMarker"),e.consume(t),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",c)}function c(u){let f;return null===u||91===u||s++>999?r(u):93===u?a?(e.exit("chunkString"),f=e.exit("gfmFootnoteCallString"),i.includes((0,S.normalizeIdentifier)(n.sliceSerialize(f)))?function(r){return e.enter("gfmFootnoteCallLabelMarker"),e.consume(r),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t}(u):r(u)):r(u):(e.consume(u),(0,o.markdownLineEndingOrSpace)(u)||(a=!0),92===u?l:c)}function l(t){return 91===t||92===t||93===t?(e.consume(t),s++,c):c(t)}}function O(e,t,r){const n=this,i=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]);let a,s,u=0;return function(t){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),c};function c(t){return 94===t?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),l):r(t)}function l(t){let i;return null===t||91===t||u>999?r(t):93===t?s?(i=e.exit("gfmFootnoteDefinitionLabelString"),a=(0,S.normalizeIdentifier)(n.sliceSerialize(i)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),p):r(t):(0,o.markdownLineEnding)(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),u++,l):(e.enter("chunkString").contentType="string",f(t))}function f(t){return null===t||(0,o.markdownLineEnding)(t)||91===t||93===t||u>999?(e.exit("chunkString"),l(t)):((0,o.markdownLineEndingOrSpace)(t)||(s=!0),u++,e.consume(t),92===t?h:f)}function h(t){return 91===t||92===t||93===t?(e.consume(t),u++,f):f(t)}function p(t){return 58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),(0,F.factorySpace)(e,d,"gfmFootnoteDefinitionWhitespace")):r(t)}function d(e){return i.includes(a)||i.push(a),t(e)}}function j(e,t,r){return e.check(x.w,t,e.attempt(A,t,r))}function T(e){e.exit("gfmFootnoteDefinition")}var _=r(11707),B=r(85618),R=r(79142);function I(e={}){let t=e.singleTilde;const r={tokenize:function(e,r,n){const o=this.previous,i=this.events;let a=0;return function(t){if(126===o&&"characterEscape"!==i[i.length-1][1].type)return n(t);return e.enter("strikethroughSequenceTemporary"),s(t)};function s(i){const u=(0,B.r)(o);if(126===i)return a>1?n(i):(e.consume(i),a++,s);if(a<2&&!t)return n(i);const c=e.exit("strikethroughSequenceTemporary"),l=(0,B.r)(i);return c._open=!l||2===l&&Boolean(u),c._close=!u||2===u&&Boolean(l),r(i)}},resolveAll:function(e,t){let r=-1;for(;++r<e.length;)if("enter"===e[r][0]&&"strikethroughSequenceTemporary"===e[r][1].type&&e[r][1]._close){let n=r;for(;n--;)if("exit"===e[n][0]&&"strikethroughSequenceTemporary"===e[n][1].type&&e[n][1]._open&&e[r][1].end.offset-e[r][1].start.offset==e[n][1].end.offset-e[n][1].start.offset){e[r][1].type="strikethroughSequence",e[n][1].type="strikethroughSequence";const o={type:"strikethrough",start:Object.assign({},e[n][1].start),end:Object.assign({},e[r][1].end)},i={type:"strikethroughText",start:Object.assign({},e[n][1].end),end:Object.assign({},e[r][1].start)},a=[["enter",o,t],["enter",e[n][1],t],["exit",e[n][1],t],["enter",i,t]];(0,_.d)(a,a.length,0,(0,R.C)(t.parser.constructs.insideSpan.null,e.slice(n+1,r),t)),(0,_.d)(a,a.length,0,[["exit",i,t],["enter",e[r][1],t],["exit",e[r][1],t],["exit",o,t]]),(0,_.d)(e,n-1,r-n+3,a),r=n+a.length-2;break}}r=-1;for(;++r<e.length;)"strikethroughSequenceTemporary"===e[r][1].type&&(e[r][1].type="data");return e}};return null==t&&(t=!0),{text:{126:r},insideSpan:{null:[r]},attentionMarkers:{null:[126]}}}const L={flow:{null:{tokenize:function(e,t,r){const n=this,i=[];let a,s,u=0;return function(t){if(e.enter("table")._align=i,e.enter("tableHead"),e.enter("tableRow"),124===t)return c(t);return u++,e.enter("temporaryTableCellContent"),h(t)};function c(t){return e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),a=!0,l}function l(t){return null===t||(0,o.markdownLineEnding)(t)?function(t){if(null===t)return r(t);e.exit("tableRow"),e.exit("tableHead");const o=n.interrupt;return n.interrupt=!0,e.attempt({tokenize:O,partial:!0},(function(t){return n.interrupt=o,e.enter("tableDelimiterRow"),d(t)}),(function(e){return n.interrupt=o,r(e)}))(t)}(t):(0,o.markdownSpace)(t)?(e.enter("whitespace"),e.consume(t),f):(a&&(a=void 0,u++),124===t?c(t):(e.enter("temporaryTableCellContent"),h(t)))}function f(t){return(0,o.markdownSpace)(t)?(e.consume(t),f):(e.exit("whitespace"),l(t))}function h(t){return null===t||124===t||(0,o.markdownLineEndingOrSpace)(t)?(e.exit("temporaryTableCellContent"),l(t)):(e.consume(t),92===t?p:h)}function p(t){return 92===t||124===t?(e.consume(t),h):h(t)}function d(t){return null===t||(0,o.markdownLineEnding)(t)?b(t):(0,o.markdownSpace)(t)?(e.enter("whitespace"),e.consume(t),m):45===t?(e.enter("tableDelimiterFiller"),e.consume(t),s=!0,i.push("none"),g):58===t?(e.enter("tableDelimiterAlignment"),e.consume(t),e.exit("tableDelimiterAlignment"),i.push("left"),y):124===t?(e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),d):r(t)}function m(t){return(0,o.markdownSpace)(t)?(e.consume(t),m):(e.exit("whitespace"),d(t))}function g(t){return 45===t?(e.consume(t),g):(e.exit("tableDelimiterFiller"),58===t?(e.enter("tableDelimiterAlignment"),e.consume(t),e.exit("tableDelimiterAlignment"),i[i.length-1]="left"===i[i.length-1]?"center":"right",v):d(t))}function y(t){return 45===t?(e.enter("tableDelimiterFiller"),e.consume(t),s=!0,g):r(t)}function v(t){return null===t||(0,o.markdownLineEnding)(t)?b(t):(0,o.markdownSpace)(t)?(e.enter("whitespace"),e.consume(t),m):124===t?(e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),d):r(t)}function b(t){return e.exit("tableDelimiterRow"),s&&u===i.length?null===t?E(t):e.check(M,E,e.attempt({tokenize:O,partial:!0},(0,F.factorySpace)(e,D,"linePrefix",4),E))(t):r(t)}function E(r){return e.exit("table"),t(r)}function D(t){return e.enter("tableBody"),w(t)}function w(t){return e.enter("tableRow"),124===t?x(t):(e.enter("temporaryTableCellContent"),k(t))}function x(t){return e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),S}function S(t){return null===t||(0,o.markdownLineEnding)(t)?function(t){if(e.exit("tableRow"),null===t)return P(t);return e.check(M,P,e.attempt({tokenize:O,partial:!0},(0,F.factorySpace)(e,w,"linePrefix",4),P))(t)}(t):(0,o.markdownSpace)(t)?(e.enter("whitespace"),e.consume(t),A):124===t?x(t):(e.enter("temporaryTableCellContent"),k(t))}function A(t){return(0,o.markdownSpace)(t)?(e.consume(t),A):(e.exit("whitespace"),S(t))}function k(t){return null===t||124===t||(0,o.markdownLineEndingOrSpace)(t)?(e.exit("temporaryTableCellContent"),S(t)):(e.consume(t),92===t?C:k)}function C(t){return 92===t||124===t?(e.consume(t),k):k(t)}function P(t){return e.exit("tableBody"),E(t)}function O(e,t,r){return function(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),(0,F.factorySpace)(e,i,"linePrefix")};function i(i){if(n.parser.lazy[n.now().line]||null===i||(0,o.markdownLineEnding)(i))return r(i);const a=n.events[n.events.length-1];return!n.parser.constructs.disable.null.includes("codeIndented")&&a&&"linePrefix"===a[1].type&&a[2].sliceSerialize(a[1],!0).length>=4?r(i):(n._gfmTableDynamicInterruptHack=!0,e.check(n.parser.constructs.flow,(function(e){return n._gfmTableDynamicInterruptHack=!1,r(e)}),(function(e){return n._gfmTableDynamicInterruptHack=!1,t(e)}))(i))}}},resolve:function(e,t){let r,n,o,i,a,s,u,c=-1;for(;++c<e.length;){const l=e[c][1];if(o&&("temporaryTableCellContent"===l.type&&(i=i||c,a=c),("tableCellDivider"===l.type||"tableRow"===l.type)&&a)){const r={type:"tableContent",start:e[i][1].start,end:e[a][1].end},n={type:"chunkText",start:r.start,end:r.end,contentType:"text"};e.splice(i,a-i+1,["enter",r,t],["enter",n,t],["exit",n,t],["exit",r,t]),c-=a-i-3,i=void 0,a=void 0}if("exit"===e[c][0]&&void 0!==s&&s+(u?0:1)<c&&("tableCellDivider"===l.type||"tableRow"===l.type&&(s+3<c||"whitespace"!==e[s][1].type))){const o={type:n?"tableDelimiter":r?"tableHeader":"tableData",start:e[s][1].start,end:e[c][1].end};e.splice(c+("tableCellDivider"===l.type?1:0),0,["exit",o,t]),e.splice(s,0,["enter",o,t]),c+=2,s=c+1,u=!0}"tableRow"===l.type&&(o="enter"===e[c][0],o&&(s=c+1,u=!1)),"tableDelimiterRow"===l.type&&(n="enter"===e[c][0],n&&(s=c+1,u=!1)),"tableHead"===l.type&&(r="enter"===e[c][0])}return e}}}},M={tokenize:function(e,t,r){let n=0;return function(t){return e.enter("check"),e.consume(t),i};function i(a){return-1===a||32===a?(e.consume(a),n++,4===n?t:i):null===a||(0,o.markdownLineEndingOrSpace)(a)?t(a):r(a)}},partial:!0};const N={tokenize:function(e,t,r){const n=this;return function(t){if(null!==n.previous||!n._gfmTasklistFirstContentOfListItem)return r(t);return e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),i};function i(t){return(0,o.markdownLineEndingOrSpace)(t)?(e.enter("taskListCheckValueUnchecked"),e.consume(t),e.exit("taskListCheckValueUnchecked"),a):88===t||120===t?(e.enter("taskListCheckValueChecked"),e.consume(t),e.exit("taskListCheckValueChecked"),a):r(t)}function a(n){return 93===n?(e.enter("taskListCheckMarker"),e.consume(n),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),e.check({tokenize:U},t,r)):r(n)}}},$={text:{91:N}};function U(e,t,r){const n=this;return(0,F.factorySpace)(e,(function(e){const i=n.events[n.events.length-1];return(i&&"whitespace"===i[1].type||(0,o.markdownLineEnding)(e))&&null!==e?t(e):r(e)}),"whitespace")}function z(e,t){const r=String(e);if("string"!=typeof t)throw new TypeError("Expected character");let n=0,o=r.indexOf(t);for(;-1!==o;)n++,o=r.indexOf(t,o+t.length);return n}var H=r(50819),q=r(44516);const V={}.hasOwnProperty,G=function(e,t,r,n){let o,i;"string"==typeof t||t instanceof RegExp?(i=[[t,r]],o=n):(i=t,o=r),o||(o={});const a=(0,q.O)(o.ignore||[]),s=function(e){const t=[];if("object"!=typeof e)throw new TypeError("Expected array or object as schema");if(Array.isArray(e)){let r=-1;for(;++r<e.length;)t.push([W(e[r][0]),Q(e[r][1])])}else{let r;for(r in e)V.call(e,r)&&t.push([W(r),Q(e[r])])}return t}(i);let u=-1;for(;++u<s.length;)(0,H.S4)(e,"text",c);return e;function c(e,t){let r,n=-1;for(;++n<t.length;){const e=t[n];if(a(e,r?r.children.indexOf(e):void 0,r))return;r=e}if(r)return function(e,t){const r=t[t.length-1],n=s[u][0],o=s[u][1];let i=0;const a=r.children.indexOf(e);let c=!1,l=[];n.lastIndex=0;let f=n.exec(e.value);for(;f;){const r=f.index,a={index:f.index,input:f.input,stack:[...t,e]};let s=o(...f,a);if("string"==typeof s&&(s=s.length>0?{type:"text",value:s}:void 0),!1!==s&&(i!==r&&l.push({type:"text",value:e.value.slice(i,r)}),Array.isArray(s)?l.push(...s):s&&l.push(s),i=r+f[0].length,c=!0),!n.global)break;f=n.exec(e.value)}c?(i<e.value.length&&l.push({type:"text",value:e.value.slice(i)}),r.children.splice(a,1,...l)):l=[e];return a+l.length}(e,t)}};function W(e){return"string"==typeof e?new RegExp(function(e){if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}(e),"g"):e}function Q(e){return"function"==typeof e?e:()=>e}const K="phrasing",Y=["autolink","link","image","label"],Z={transforms:[function(e){G(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,ee],[/([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/g,te]],{ignore:["link","linkReference"]})}],enter:{literalAutolink:function(e){this.enter({type:"link",title:null,url:"",children:[]},e)},literalAutolinkEmail:X,literalAutolinkHttp:X,literalAutolinkWww:X},exit:{literalAutolink:function(e){this.exit(e)},literalAutolinkEmail:function(e){this.config.exit.autolinkEmail.call(this,e)},literalAutolinkHttp:function(e){this.config.exit.autolinkProtocol.call(this,e)},literalAutolinkWww:function(e){this.config.exit.data.call(this,e);this.stack[this.stack.length-1].url="http://"+this.sliceSerialize(e)}}},J={unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:K,notInConstruct:Y},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:K,notInConstruct:Y},{character:":",before:"[ps]",after:"\\/",inConstruct:K,notInConstruct:Y}]};function X(e){this.config.enter.autolinkProtocol.call(this,e)}function ee(e,t,r,n,o){let i="";if(!re(o))return!1;if(/^w/i.test(t)&&(r=t+r,t="",i="http://"),!function(e){const t=e.split(".");if(t.length<2||t[t.length-1]&&(/_/.test(t[t.length-1])||!/[a-zA-Z\d]/.test(t[t.length-1]))||t[t.length-2]&&(/_/.test(t[t.length-2])||!/[a-zA-Z\d]/.test(t[t.length-2])))return!1;return!0}(r))return!1;const a=function(e){const t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let r=t[0],n=r.indexOf(")");const o=z(e,"(");let i=z(e,")");for(;-1!==n&&o>i;)e+=r.slice(0,n+1),r=r.slice(n+1),n=r.indexOf(")"),i++;return[e,r]}(r+n);if(!a[0])return!1;const s={type:"link",title:null,url:i+t+a[0],children:[{type:"text",value:t+a[0]}]};return a[1]?[s,{type:"text",value:a[1]}]:s}function te(e,t,r,n){return!(!re(n,!0)||/[-\d_]$/.test(r))&&{type:"link",title:null,url:"mailto:"+t+"@"+r,children:[{type:"text",value:t+"@"+r}]}}function re(e,t){const r=e.input.charCodeAt(e.index-1);return(0===e.index||(0,o.unicodeWhitespace)(r)||(0,o.unicodePunctuation)(r))&&(!t||47!==r)}var ne=r(12006);function oe(e){return e.label||!e.identifier?e.label||"":(0,ne.v)(e.identifier)}var ie=r(85771);const ae=/\r?\n|\r/g;function se(e){if(!e._compiled){const t=(e.atBreak?"[\\r\\n][\\t ]*":"")+(e.before?"(?:"+e.before+")":"");e._compiled=new RegExp((t?"("+t+")":"")+(/[|\\{}()[\]^$+*?.-]/.test(e.character)?"\\":"")+e.character+(e.after?"(?:"+e.after+")":""),"g")}return e._compiled}function ue(e,t){return ce(e,t.inConstruct,!0)&&!ce(e,t.notInConstruct,!1)}function ce(e,t,r){if("string"==typeof t&&(t=[t]),!t||0===t.length)return r;let n=-1;for(;++n<t.length;)if(e.includes(t[n]))return!0;return!1}function le(e,t,r){const n=(r.before||"")+(t||"")+(r.after||""),o=[],i=[],a={};let s=-1;for(;++s<e.unsafe.length;){const t=e.unsafe[s];if(!ue(e.stack,t))continue;const r=se(t);let i;for(;i=r.exec(n);){const e="before"in t||Boolean(t.atBreak),r="after"in t,n=i.index+(e?i[1].length:0);o.includes(n)?(a[n].before&&!e&&(a[n].before=!1),a[n].after&&!r&&(a[n].after=!1)):(o.push(n),a[n]={before:e,after:r})}}o.sort(fe);let u=r.before?r.before.length:0;const c=n.length-(r.after?r.after.length:0);for(s=-1;++s<o.length;){const e=o[s];e<u||e>=c||(e+1<c&&o[s+1]===e+1&&a[e].after&&!a[e+1].before&&!a[e+1].after||o[s-1]===e-1&&a[e].before&&!a[e-1].before&&!a[e-1].after||(u!==e&&i.push(he(n.slice(u,e),"\\")),u=e,!/[!-/:-@[-`{-~]/.test(n.charAt(e))||r.encode&&r.encode.includes(n.charAt(e))?(i.push("&#x"+n.charCodeAt(e).toString(16).toUpperCase()+";"),u++):i.push("\\")))}return i.push(he(n.slice(u,c),r.after)),i.join("")}function fe(e,t){return e-t}function he(e,t){const r=/\\(?=[!-/:-@[-`{-~])/g,n=[],o=[],i=e+t;let a,s=-1,u=0;for(;a=r.exec(i);)n.push(a.index);for(;++s<n.length;)u!==n[s]&&o.push(e.slice(u,n[s])),o.push("\\"),u=n[s];return o.push(e.slice(u)),o.join("")}var pe=r(87717);function de(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function me(){this.buffer()}function ge(e){const t=this.resume(),r=this.stack[this.stack.length-1];r.label=t,r.identifier=(0,S.normalizeIdentifier)(this.sliceSerialize(e)).toLowerCase()}function ye(e){this.exit(e)}function ve(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function be(){this.buffer()}function Ee(e){const t=this.resume(),r=this.stack[this.stack.length-1];r.label=t,r.identifier=(0,S.normalizeIdentifier)(this.sliceSerialize(e)).toLowerCase()}function De(e){this.exit(e)}function we(e,t,r,n){const o=(0,pe.j)(n);let i=o.move("[^");const a=r.enter("footnoteReference"),s=r.enter("reference");return i+=o.move(le(r,oe(e),{...o.current(),before:i,after:"]"})),s(),a(),i+=o.move("]"),i}function xe(e,t,r,n){const o=(0,pe.j)(n);let i=o.move("[^");const a=r.enter("footnoteDefinition"),s=r.enter("label");return i+=o.move(le(r,oe(e),{...o.current(),before:i,after:"]"})),s(),i+=o.move("]:"+(e.children&&e.children.length>0?" ":"")),o.shift(4),i+=o.move(function(e,t){const r=[];let n,o=0,i=0;for(;n=ae.exec(e);)a(e.slice(o,n.index)),r.push(n[0]),o=n.index+n[0].length,i++;return a(e.slice(o)),r.join("");function a(e){r.push(t(e,i,!e))}}((0,ie.K)(e,r,o.current()),Fe)),a(),i}function Fe(e,t,r){return 0===t?e:(r?"":" ")+e}we.peek=function(){return"["};var Se=r(48736);Ce.peek=function(){return"~"};const Ae={canContainEols:["delete"],enter:{strikethrough:function(e){this.enter({type:"delete",children:[]},e)}},exit:{strikethrough:function(e){this.exit(e)}}},ke={unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"]}],handlers:{delete:Ce}};function Ce(e,t,r,n){const o=(0,pe.j)(n),i=r.enter("strikethrough");let a=o.move("~~");return a+=(0,Se.p)(e,r,{...o.current(),before:a,after:"~"}),a+=o.move("~~"),i(),a}function Pe(e,t,r){let n=e.value||"",o="`",i=-1;for(;new RegExp("(^|[^`])"+o+"([^`]|$)").test(n);)o+="`";for(/[^ \r\n]/.test(n)&&(/^[ \r\n]/.test(n)&&/[ \r\n]$/.test(n)||/^`|`$/.test(n))&&(n=" "+n+" ");++i<r.unsafe.length;){const e=r.unsafe[i],t=se(e);let o;if(e.atBreak)for(;o=t.exec(n);){let e=o.index;10===n.charCodeAt(e)&&13===n.charCodeAt(e-1)&&e--,n=n.slice(0,e)+" "+n.slice(o.index+1)}}return o+n+o}function Oe(e){return null==e?"":String(e)}function je(e){return e.length}function Te(e){const t="string"==typeof e?e.codePointAt(0):0;return 67===t||99===t?99:76===t||108===t?108:82===t||114===t?114:0}Pe.peek=function(){return"`"};const _e={enter:{table:function(e){const t=e._align;this.enter({type:"table",align:t.map((e=>"none"===e?null:e)),children:[]},e),this.setData("inTable",!0)},tableData:Re,tableHeader:Re,tableRow:function(e){this.enter({type:"tableRow",children:[]},e)}},exit:{codeText:function(e){let t=this.resume();this.getData("inTable")&&(t=t.replace(/\\([\\|])/g,Ie));this.stack[this.stack.length-1].value=t,this.exit(e)},table:function(e){this.exit(e),this.setData("inTable")},tableData:Be,tableHeader:Be,tableRow:Be}};function Be(e){this.exit(e)}function Re(e){this.enter({type:"tableCell",children:[]},e)}function Ie(e,t){return"|"===t?t:e}function Le(e){const t=e||{},r=t.tableCellPadding,n=t.tablePipeAlign,o=t.stringLength,i=r?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:"\n",inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[\t :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{table:function(e,t,r,n){return s(function(e,t,r){const n=e.children;let o=-1;const i=[],a=t.enter("table");for(;++o<n.length;)i[o]=u(n[o],t,r);return a(),i}(e,r,n),e.align)},tableRow:function(e,t,r,n){const o=s([u(e,r,n)]);return o.slice(0,o.indexOf("\n"))},tableCell:a,inlineCode:function(e,t,r){let n=Pe(e,0,r);r.stack.includes("tableCell")&&(n=n.replace(/\|/g,"\\$&"));return n}}};function a(e,t,r,n){const o=r.enter("tableCell"),a=r.enter("phrasing"),s=(0,Se.p)(e,r,{...n,before:i,after:i});return a(),o(),s}function s(e,t){return function(e,t={}){const r=(t.align||[]).concat(),n=t.stringLength||je,o=[],i=[],a=[],s=[];let u=0,c=-1;for(;++c<e.length;){const r=[],o=[];let l=-1;for(e[c].length>u&&(u=e[c].length);++l<e[c].length;){const i=Oe(e[c][l]);if(!1!==t.alignDelimiters){const e=n(i);o[l]=e,(void 0===s[l]||e>s[l])&&(s[l]=e)}r.push(i)}i[c]=r,a[c]=o}let l=-1;if("object"==typeof r&&"length"in r)for(;++l<u;)o[l]=Te(r[l]);else{const e=Te(r);for(;++l<u;)o[l]=e}l=-1;const f=[],h=[];for(;++l<u;){const e=o[l];let r="",n="";99===e?(r=":",n=":"):108===e?r=":":114===e&&(n=":");let i=!1===t.alignDelimiters?1:Math.max(1,s[l]-r.length-n.length);const a=r+"-".repeat(i)+n;!1!==t.alignDelimiters&&(i=r.length+i+n.length,i>s[l]&&(s[l]=i),h[l]=i),f[l]=a}i.splice(1,0,f),a.splice(1,0,h),c=-1;const p=[];for(;++c<i.length;){const e=i[c],r=a[c];l=-1;const n=[];for(;++l<u;){const i=e[l]||"";let a="",c="";if(!1!==t.alignDelimiters){const e=s[l]-(r[l]||0),t=o[l];114===t?a=" ".repeat(e):99===t?e%2?(a=" ".repeat(e/2+.5),c=" ".repeat(e/2-.5)):(a=" ".repeat(e/2),c=a):c=" ".repeat(e)}!1===t.delimiterStart||l||n.push("|"),!1===t.padding||!1===t.alignDelimiters&&""===i||!1===t.delimiterStart&&!l||n.push(" "),!1!==t.alignDelimiters&&n.push(a),n.push(i),!1!==t.alignDelimiters&&n.push(c),!1!==t.padding&&n.push(" "),!1===t.delimiterEnd&&l===u-1||n.push("|")}p.push(!1===t.delimiterEnd?n.join("").replace(/ +$/,""):n.join(""))}return p.join("\n")}(e,{align:t,alignDelimiters:n,padding:r,stringLength:o})}function u(e,t,r){const n=e.children;let o=-1;const i=[],s=t.enter("tableRow");for(;++o<n.length;)i[o]=a(n[o],0,t,r);return s(),i}}function Me(e,t,r,n){const o=function(e){const t=e.options.listItemIndent||"tab";if(1===t||"1"===t)return"one";if("tab"!==t&&"one"!==t&&"mixed"!==t)throw new Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return t}(r);let i=r.bulletCurrent||function(e){const t=e.options.bullet||"*";if("*"!==t&&"+"!==t&&"-"!==t)throw new Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}(r);t&&"list"===t.type&&t.ordered&&(i=("number"==typeof t.start&&t.start>-1?t.start:1)+(!1===r.options.incrementListMarker?0:t.children.indexOf(e))+i);let a=i.length+1;("tab"===o||"mixed"===o&&(t&&"list"===t.type&&t.spread||e.spread))&&(a=4*Math.ceil(a/4));const s=r.createTracker(n);s.move(i+" ".repeat(a-i.length)),s.shift(a);const u=r.enter("listItem"),c=r.indentLines(r.containerFlow(e,s.current()),(function(e,t,r){if(t)return(r?"":" ".repeat(a))+e;return(r?i:i+" ".repeat(a-i.length))+e}));return u(),c}const Ne={exit:{taskListCheckValueChecked:Ue,taskListCheckValueUnchecked:Ue,paragraph:function(e){const t=this.stack[this.stack.length-2];if(t&&"listItem"===t.type&&"boolean"==typeof t.checked){const e=this.stack[this.stack.length-1],r=e.children[0];if(r&&"text"===r.type){const n=t.children;let o,i=-1;for(;++i<n.length;){const e=n[i];if("paragraph"===e.type){o=e;break}}o===e&&(r.value=r.value.slice(1),0===r.value.length?e.children.shift():e.position&&r.position&&"number"==typeof r.position.start.offset&&(r.position.start.column++,r.position.start.offset++,e.position.start=Object.assign({},r.position.start)))}}this.exit(e)}}},$e={unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:function(e,t,r,n){const o=e.children[0],i="boolean"==typeof e.checked&&o&&"paragraph"===o.type,a="["+(e.checked?"x":" ")+"] ",s=(0,pe.j)(n);i&&s.move(a);let u=Me(e,t,r,{...n,...s.current()});i&&(u=u.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,(function(e){return e+a})));return u}}};function Ue(e){this.stack[this.stack.length-2].checked="taskListCheckValueChecked"===e.type}function ze(e={}){const t=this.data();function r(e,r){(t[e]?t[e]:t[e]=[]).push(r)}r("micromarkExtensions",function(e){return(0,n.W)([d,{document:{91:{tokenize:O,continuation:{tokenize:j},exit:T}},text:{91:{tokenize:P},93:{add:"after",tokenize:k,resolveTo:C}}},I(e),L,$])}(e)),r("fromMarkdownExtensions",[Z,{enter:{gfmFootnoteDefinition:de,gfmFootnoteDefinitionLabelString:me,gfmFootnoteCall:ve,gfmFootnoteCallString:be},exit:{gfmFootnoteDefinition:ye,gfmFootnoteDefinitionLabelString:ge,gfmFootnoteCall:De,gfmFootnoteCallString:Ee}},Ae,_e,Ne]),r("toMarkdownExtensions",function(e){return{extensions:[J,{unsafe:[{character:"[",inConstruct:["phrasing","label","reference"]}],handlers:{footnoteDefinition:xe,footnoteReference:we}},ke,Le(e),$e]}}(e))}},24851:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>fe});var n={};r.r(n),r.d(n,{attentionMarkers:()=>Y,contentInitial:()=>q,disable:()=>Z,document:()=>H,flow:()=>G,flowInitial:()=>V,insideSpan:()=>K,string:()=>W,text:()=>Q});var o=r(28989),i=r(89063),a=r(46050),s=r(19967);const u={tokenize:function(e){const t=e.attempt(this.parser.constructs.contentInitial,(function(r){if(null===r)return void e.consume(r);return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),(0,a.factorySpace)(e,t,"linePrefix")}),(function(t){return e.enter("paragraph"),n(t)}));let r;return t;function n(t){const n=e.enter("chunkText",{contentType:"text",previous:r});return r&&(r.next=n),r=n,o(t)}function o(t){return null===t?(e.exit("chunkText"),e.exit("paragraph"),void e.consume(t)):(0,s.markdownLineEnding)(t)?(e.consume(t),e.exit("chunkText"),n):(e.consume(t),o)}}};var c=r(11707);const l={tokenize:function(e){const t=this,r=[];let n,o,i,a=0;return u;function u(n){if(a<r.length){const o=r[a];return t.containerState=o[1],e.attempt(o[0].continuation,l,h)(n)}return h(n)}function l(e){if(a++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,n&&D();const r=t.events.length;let o,i=r;for(;i--;)if("exit"===t.events[i][0]&&"chunkFlow"===t.events[i][1].type){o=t.events[i][1].end;break}E(a);let s=r;for(;s<t.events.length;)t.events[s][1].end=Object.assign({},o),s++;return(0,c.d)(t.events,i+1,0,t.events.slice(r)),t.events.length=s,h(e)}return u(e)}function h(o){if(a===r.length){if(!n)return m(o);if(n.currentConstruct&&n.currentConstruct.concrete)return y(o);t.interrupt=Boolean(n.currentConstruct&&!n._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(f,p,d)(o)}function p(e){return n&&D(),E(a),m(e)}function d(e){return t.parser.lazy[t.now().line]=a!==r.length,i=t.now().offset,y(e)}function m(r){return t.containerState={},e.attempt(f,g,y)(r)}function g(e){return a++,r.push([t.currentConstruct,t.containerState]),m(e)}function y(r){return null===r?(n&&D(),E(0),void e.consume(r)):(n=n||t.parser.flow(t.now()),e.enter("chunkFlow",{contentType:"flow",previous:o,_tokenizer:n}),v(r))}function v(r){return null===r?(b(e.exit("chunkFlow"),!0),E(0),void e.consume(r)):(0,s.markdownLineEnding)(r)?(e.consume(r),b(e.exit("chunkFlow")),a=0,t.interrupt=void 0,u):(e.consume(r),v)}function b(e,r){const s=t.sliceStream(e);if(r&&s.push(null),e.previous=o,o&&(o.next=e),o=e,n.defineSkip(e.start),n.write(s),t.parser.lazy[e.start.line]){let e=n.events.length;for(;e--;)if(n.events[e][1].start.offset<i&&(!n.events[e][1].end||n.events[e][1].end.offset>i))return;const r=t.events.length;let o,s,u=r;for(;u--;)if("exit"===t.events[u][0]&&"chunkFlow"===t.events[u][1].type){if(o){s=t.events[u][1].end;break}o=!0}for(E(a),e=r;e<t.events.length;)t.events[e][1].end=Object.assign({},s),e++;(0,c.d)(t.events,u+1,0,t.events.slice(r)),t.events.length=e}}function E(n){let o=r.length;for(;o-- >n;){const n=r[o];t.containerState=n[1],n[0].exit.call(t,e)}r.length=n}function D(){n.write([null]),o=void 0,n=void 0,t.containerState._closeFlow=void 0}}},f={tokenize:function(e,t,r){return(0,a.factorySpace)(e,e.attempt(this.parser.constructs.document,t,r),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}};var h=r(58775),p=r(52240);const d={tokenize:function(e){const t=this,r=e.attempt(h.w,(function(n){if(null===n)return void e.consume(n);return e.enter("lineEndingBlank"),e.consume(n),e.exit("lineEndingBlank"),t.currentConstruct=void 0,r}),e.attempt(this.parser.constructs.flowInitial,n,(0,a.factorySpace)(e,e.attempt(this.parser.constructs.flow,n,e.attempt(p.k,n)),"linePrefix")));return r;function n(n){if(null!==n)return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),t.currentConstruct=void 0,r;e.consume(n)}}};const m={resolveAll:b()},g=v("string"),y=v("text");function v(e){return{tokenize:function(t){const r=this,n=this.parser.constructs[e],o=t.attempt(n,i,a);return i;function i(e){return u(e)?o(e):a(e)}function a(e){if(null!==e)return t.enter("data"),t.consume(e),s;t.consume(e)}function s(e){return u(e)?(t.exit("data"),o(e)):(t.consume(e),s)}function u(e){if(null===e)return!0;const t=n[e];let o=-1;if(t)for(;++o<t.length;){const e=t[o];if(!e.previous||e.previous.call(r,r.previous))return!0}return!1}},resolveAll:b("text"===e?E:void 0)}}function b(e){return function(t,r){let n,o=-1;for(;++o<=t.length;)void 0===n?t[o]&&"data"===t[o][1].type&&(n=o,o++):t[o]&&"data"===t[o][1].type||(o!==n+2&&(t[n][1].end=t[o-1][1].end,t.splice(n+2,o-n-2),o=n+2),n=void 0);return e?e(t,r):t}}function E(e,t){let r=0;for(;++r<=e.length;)if((r===e.length||"lineEnding"===e[r][1].type)&&"data"===e[r-1][1].type){const n=e[r-1][1],o=t.sliceStream(n);let i,a=o.length,s=-1,u=0;for(;a--;){const e=o[a];if("string"==typeof e){for(s=e.length;32===e.charCodeAt(s-1);)u++,s--;if(s)break;s=-1}else if(-2===e)i=!0,u++;else if(-1!==e){a++;break}}if(u){const o={type:r===e.length||i||u<2?"lineSuffix":"hardBreakTrailing",start:{line:n.end.line,column:n.end.column-u,offset:n.end.offset-u,_index:n.start._index+a,_bufferIndex:a?s:n.start._bufferIndex+s},end:Object.assign({},n.end)};n.end=Object.assign({},o.start),n.start.offset===n.end.offset?Object.assign(n,o):(e.splice(r,0,["enter",o,t],["exit",o,t]),r+=2)}r++}return e}var D=r(79142);function w(e,t,r){let n=Object.assign(r?Object.assign({},r):{line:1,column:1,offset:0},{_index:0,_bufferIndex:-1});const o={},i=[];let a=[],u=[],l=!0;const f={consume:function(e){(0,s.markdownLineEnding)(e)?(n.line++,n.column=1,n.offset+=-3===e?2:1,x()):-1!==e&&(n.column++,n.offset++);n._bufferIndex<0?n._index++:(n._bufferIndex++,n._bufferIndex===a[n._index].length&&(n._bufferIndex=-1,n._index++));h.previous=e,l=!0},enter:function(e,t){const r=t||{};return r.type=e,r.start=g(),h.events.push(["enter",r,h]),u.push(r),r},exit:function(e){const t=u.pop();return t.end=g(),h.events.push(["exit",t,h]),t},attempt:E((function(e,t){w(e,t.from)})),check:E(b),interrupt:E(b,{interrupt:!0})},h={previous:null,code:null,containerState:{},events:[],parser:e,sliceStream:m,sliceSerialize:function(e,t){return function(e,t){let r=-1;const n=[];let o;for(;++r<e.length;){const i=e[r];let a;if("string"==typeof i)a=i;else switch(i){case-5:a="\r";break;case-4:a="\n";break;case-3:a="\r\n";break;case-2:a=t?" ":"\t";break;case-1:if(!t&&o)continue;a=" ";break;default:a=String.fromCharCode(i)}o=-2===i,n.push(a)}return n.join("")}(m(e),t)},now:g,defineSkip:function(e){o[e.line]=e.column,x()},write:function(e){if(a=(0,c.V)(a,e),y(),null!==a[a.length-1])return[];return w(t,0),h.events=(0,D.C)(i,h.events,h),h.events}};let p,d=t.tokenize.call(h,f);return t.resolveAll&&i.push(t),h;function m(e){return function(e,t){const r=t.start._index,n=t.start._bufferIndex,o=t.end._index,i=t.end._bufferIndex;let a;r===o?a=[e[r].slice(n,i)]:(a=e.slice(r,o),n>-1&&(a[0]=a[0].slice(n)),i>0&&a.push(e[o].slice(0,i)));return a}(a,e)}function g(){return Object.assign({},n)}function y(){let e;for(;n._index<a.length;){const t=a[n._index];if("string"==typeof t)for(e=n._index,n._bufferIndex<0&&(n._bufferIndex=0);n._index===e&&n._bufferIndex<t.length;)v(t.charCodeAt(n._bufferIndex));else v(t)}}function v(e){l=void 0,p=e,d=d(e)}function b(e,t){t.restore()}function E(e,t){return function(r,o,i){let a,s,c,p;return Array.isArray(r)?d(r):"tokenize"in r?d([r]):function(e){return t;function t(t){const r=null!==t&&e[t],n=null!==t&&e.null;return d([...Array.isArray(r)?r:r?[r]:[],...Array.isArray(n)?n:n?[n]:[]])(t)}}(r);function d(e){return a=e,s=0,0===e.length?i:m(e[s])}function m(e){return function(r){p=function(){const e=g(),t=h.previous,r=h.currentConstruct,o=h.events.length,i=Array.from(u);return{restore:a,from:o};function a(){n=e,h.previous=t,h.currentConstruct=r,h.events.length=o,u=i,x()}}(),c=e,e.partial||(h.currentConstruct=e);if(e.name&&h.parser.constructs.disable.null.includes(e.name))return v(r);return e.tokenize.call(t?Object.assign(Object.create(h),t):h,f,y,v)(r)}}function y(t){return l=!0,e(c,p),o}function v(e){return l=!0,p.restore(),++s<a.length?m(a[s]):i}}}function w(e,t){e.resolveAll&&!i.includes(e)&&i.push(e),e.resolve&&(0,c.d)(h.events,t,h.events.length-t,e.resolve(h.events.slice(t),h)),e.resolveTo&&(h.events=e.resolveTo(h.events,h))}function x(){n.line in o&&n.column<2&&(n.column=o[n.line],n.offset+=o[n.line]-1)}}var x=r(44084),F=r(79230),S=r(22774),A=r(44322),k=r(86053),C=r(19281),P=r(38029),O=r(26890),j=r(60214),T=r(73608),_=r(30670),B=r(47071),R=r(82287),I=r(39362),L=r(40366),M=r(9373),N=r(83555),$=r(2669),U=r(3369),z=r(83126);const H={42:x.p,43:x.p,45:x.p,48:x.p,49:x.p,50:x.p,51:x.p,52:x.p,53:x.p,54:x.p,55:x.p,56:x.p,57:x.p,62:F.m},q={91:S.D},V={[-2]:A.S,[-1]:A.S,32:A.S},G={35:k.Z,42:C.C,45:[P.C,C.C],60:O.P,61:P.C,95:C.C,96:j._,126:j._},W={38:T.u,92:_.L},Q={[-5]:B.g,[-4]:B.g,[-3]:B.g,33:R.C,38:T.u,42:I.v,60:[L.j,M.L],91:N.F,92:[$.R,_.L],93:U.Z,95:I.v,96:z.h},K={null:[I.v,m]},Y={null:[42,95]},Z={null:[]};const J=/[\0\t\n\r]/g;var X=r(35197);var ee=r(92791),te=r(12006),re=r(37618),ne=r(36365),oe=r(56077);const ie={}.hasOwnProperty,ae=function(e,t,r){return"string"!=typeof t&&(r=t,t=void 0),function(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:u(he),autolinkProtocol:C,autolinkEmail:C,atxHeading:u(X),blockQuote:u(Q),characterEscape:C,characterReference:C,codeFenced:u(K),codeFencedFenceInfo:c,codeFencedFenceMeta:c,codeIndented:u(K,c),codeText:u(Y,c),codeTextData:C,data:C,codeFlowValue:C,definition:u(Z),definitionDestinationString:c,definitionLabelString:c,definitionTitleString:c,emphasis:u(J),hardBreakEscape:u(ae),hardBreakTrailing:u(ae),htmlFlow:u(ce,c),htmlFlowData:C,htmlText:u(ce,c),htmlTextData:C,image:u(fe),label:c,link:u(he),listItem:u(de),listItemValue:m,listOrdered:u(pe,d),listUnordered:u(pe),paragraph:u(me),reference:z,referenceString:c,resourceDestinationString:c,resourceTitleString:c,setextHeading:u(X),strong:u(ge),thematicBreak:u(ve)},exit:{atxHeading:f(),atxHeadingSequence:F,autolink:f(),autolinkEmail:W,autolinkProtocol:G,blockQuote:f(),characterEscapeValue:P,characterReferenceMarkerHexadecimal:q,characterReferenceMarkerNumeric:q,characterReferenceValue:V,codeFenced:f(b),codeFencedFence:v,codeFencedFenceInfo:g,codeFencedFenceMeta:y,codeFlowValue:P,codeIndented:f(E),codeText:f(B),codeTextData:P,data:P,definition:f(),definitionDestinationString:x,definitionLabelString:D,definitionTitleString:w,emphasis:f(),hardBreakEscape:f(j),hardBreakTrailing:f(j),htmlFlow:f(T),htmlFlowData:P,htmlText:f(_),htmlTextData:P,image:f(I),label:M,labelText:L,lineEnding:O,link:f(R),listItem:f(),listOrdered:f(),listUnordered:f(),paragraph:f(),referenceString:H,resourceDestinationString:N,resourceTitleString:$,resource:U,setextHeading:f(k),setextHeadingLineSequence:A,setextHeadingText:S,strong:f(),thematicBreak:f()}};ue(t,(e||{}).mdastExtensions||[]);const r={};return n;function n(e){let r={type:"root",children:[]};const n={stack:[r],tokenStack:[],config:t,enter:l,exit:h,buffer:c,resume:p,setData:a,getData:s},o=[];let u=-1;for(;++u<e.length;)if("listOrdered"===e[u][1].type||"listUnordered"===e[u][1].type)if("enter"===e[u][0])o.push(u);else{u=i(e,o.pop(),u)}for(u=-1;++u<e.length;){const r=t[e[u][0]];ie.call(r,e[u][1].type)&&r[e[u][1].type].call(Object.assign({sliceSerialize:e[u][2].sliceSerialize},n),e[u][1])}if(n.tokenStack.length>0){const e=n.tokenStack[n.tokenStack.length-1];(e[1]||le).call(n,void 0,e[0])}for(r.position={start:se(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:se(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},u=-1;++u<t.transforms.length;)r=t.transforms[u](r)||r;return r}function i(e,t,r){let n,o,i,a,s=t-1,u=-1,c=!1;for(;++s<=r;){const t=e[s];if("listUnordered"===t[1].type||"listOrdered"===t[1].type||"blockQuote"===t[1].type?("enter"===t[0]?u++:u--,a=void 0):"lineEndingBlank"===t[1].type?"enter"===t[0]&&(!n||a||u||i||(i=s),a=void 0):"linePrefix"===t[1].type||"listItemValue"===t[1].type||"listItemMarker"===t[1].type||"listItemPrefix"===t[1].type||"listItemPrefixWhitespace"===t[1].type||(a=void 0),!u&&"enter"===t[0]&&"listItemPrefix"===t[1].type||-1===u&&"exit"===t[0]&&("listUnordered"===t[1].type||"listOrdered"===t[1].type)){if(n){let a=s;for(o=void 0;a--;){const t=e[a];if("lineEnding"===t[1].type||"lineEndingBlank"===t[1].type){if("exit"===t[0])continue;o&&(e[o][1].type="lineEndingBlank",c=!0),t[1].type="lineEnding",o=a}else if("linePrefix"!==t[1].type&&"blockQuotePrefix"!==t[1].type&&"blockQuotePrefixWhitespace"!==t[1].type&&"blockQuoteMarker"!==t[1].type&&"listItemIndent"!==t[1].type)break}i&&(!o||i<o)&&(n._spread=!0),n.end=Object.assign({},o?e[o][1].start:t[1].end),e.splice(o||s,0,["exit",n,t[2]]),s++,r++}"listItemPrefix"===t[1].type&&(n={type:"listItem",_spread:!1,start:Object.assign({},t[1].start)},e.splice(s,0,["enter",n,t[2]]),s++,r++,i=void 0,a=!0)}}return e[t][1]._spread=c,r}function a(e,t){r[e]=t}function s(e){return r[e]}function u(e,t){return r;function r(r){l.call(this,e(r),r),t&&t.call(this,r)}}function c(){this.stack.push({type:"fragment",children:[]})}function l(e,t,r){return this.stack[this.stack.length-1].children.push(e),this.stack.push(e),this.tokenStack.push([t,r]),e.position={start:se(t.start)},e}function f(e){return t;function t(t){e&&e.call(this,t),h.call(this,t)}}function h(e,t){const r=this.stack.pop(),n=this.tokenStack.pop();if(!n)throw new Error("Cannot close `"+e.type+"` ("+(0,oe.y)({start:e.start,end:e.end})+"): it’s not open");if(n[0].type!==e.type)if(t)t.call(this,e,n[0]);else{(n[1]||le).call(this,e,n[0])}return r.position.end=se(e.end),r}function p(){return(0,o.B)(this.stack.pop())}function d(){a("expectingFirstListItemValue",!0)}function m(e){if(s("expectingFirstListItemValue")){this.stack[this.stack.length-2].start=Number.parseInt(this.sliceSerialize(e),10),a("expectingFirstListItemValue")}}function g(){const e=this.resume();this.stack[this.stack.length-1].lang=e}function y(){const e=this.resume();this.stack[this.stack.length-1].meta=e}function v(){s("flowCodeInside")||(this.buffer(),a("flowCodeInside",!0))}function b(){const e=this.resume();this.stack[this.stack.length-1].value=e.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),a("flowCodeInside")}function E(){const e=this.resume();this.stack[this.stack.length-1].value=e.replace(/(\r?\n|\r)$/g,"")}function D(e){const t=this.resume(),r=this.stack[this.stack.length-1];r.label=t,r.identifier=(0,re.normalizeIdentifier)(this.sliceSerialize(e)).toLowerCase()}function w(){const e=this.resume();this.stack[this.stack.length-1].title=e}function x(){const e=this.resume();this.stack[this.stack.length-1].url=e}function F(e){const t=this.stack[this.stack.length-1];if(!t.depth){const r=this.sliceSerialize(e).length;t.depth=r}}function S(){a("setextHeadingSlurpLineEnding",!0)}function A(e){this.stack[this.stack.length-1].depth=61===this.sliceSerialize(e).charCodeAt(0)?1:2}function k(){a("setextHeadingSlurpLineEnding")}function C(e){const t=this.stack[this.stack.length-1];let r=t.children[t.children.length-1];r&&"text"===r.type||(r=ye(),r.position={start:se(e.start)},t.children.push(r)),this.stack.push(r)}function P(e){const t=this.stack.pop();t.value+=this.sliceSerialize(e),t.position.end=se(e.end)}function O(e){const r=this.stack[this.stack.length-1];if(s("atHardBreak")){return r.children[r.children.length-1].position.end=se(e.end),void a("atHardBreak")}!s("setextHeadingSlurpLineEnding")&&t.canContainEols.includes(r.type)&&(C.call(this,e),P.call(this,e))}function j(){a("atHardBreak",!0)}function T(){const e=this.resume();this.stack[this.stack.length-1].value=e}function _(){const e=this.resume();this.stack[this.stack.length-1].value=e}function B(){const e=this.resume();this.stack[this.stack.length-1].value=e}function R(){const e=this.stack[this.stack.length-1];if(s("inReference")){const t=s("referenceType")||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;a("referenceType")}function I(){const e=this.stack[this.stack.length-1];if(s("inReference")){const t=s("referenceType")||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;a("referenceType")}function L(e){const t=this.sliceSerialize(e),r=this.stack[this.stack.length-2];r.label=(0,te.v)(t),r.identifier=(0,re.normalizeIdentifier)(t).toLowerCase()}function M(){const e=this.stack[this.stack.length-1],t=this.resume(),r=this.stack[this.stack.length-1];if(a("inReference",!0),"link"===r.type){const t=e.children;r.children=t}else r.alt=t}function N(){const e=this.resume();this.stack[this.stack.length-1].url=e}function $(){const e=this.resume();this.stack[this.stack.length-1].title=e}function U(){a("inReference")}function z(){a("referenceType","collapsed")}function H(e){const t=this.resume(),r=this.stack[this.stack.length-1];r.label=t,r.identifier=(0,re.normalizeIdentifier)(this.sliceSerialize(e)).toLowerCase(),a("referenceType","full")}function q(e){a("characterReferenceType",e.type)}function V(e){const t=this.sliceSerialize(e),r=s("characterReferenceType");let n;if(r)n=(0,ee.o)(t,"characterReferenceMarkerNumeric"===r?10:16),a("characterReferenceType");else{n=(0,ne.T)(t)}const o=this.stack.pop();o.value+=n,o.position.end=se(e.end)}function G(e){P.call(this,e);this.stack[this.stack.length-1].url=this.sliceSerialize(e)}function W(e){P.call(this,e);this.stack[this.stack.length-1].url="mailto:"+this.sliceSerialize(e)}function Q(){return{type:"blockquote",children:[]}}function K(){return{type:"code",lang:null,meta:null,value:""}}function Y(){return{type:"inlineCode",value:""}}function Z(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function J(){return{type:"emphasis",children:[]}}function X(){return{type:"heading",depth:void 0,children:[]}}function ae(){return{type:"break"}}function ce(){return{type:"html",value:""}}function fe(){return{type:"image",title:null,url:"",alt:null}}function he(){return{type:"link",title:null,url:"",children:[]}}function pe(e){return{type:"list",ordered:"listOrdered"===e.type,start:null,spread:e._spread,children:[]}}function de(e){return{type:"listItem",spread:e._spread,checked:null,children:[]}}function me(){return{type:"paragraph",children:[]}}function ge(){return{type:"strong",children:[]}}function ye(){return{type:"text",value:""}}function ve(){return{type:"thematicBreak"}}}(r)(function(e){for(;!(0,X._)(e););return e}(function(e={}){const t={defined:[],lazy:{},constructs:(0,i.W)([n].concat(e.extensions||[])),content:r(u),document:r(l),flow:r(d),string:r(g),text:r(y)};return t;function r(e){return function(r){return w(t,e,r)}}}(r).document().write(function(){let e,t=1,r="",n=!0;return function(o,i,a){const s=[];let u,c,l,f,h;for(o=r+o.toString(i),l=0,r="",n&&(65279===o.charCodeAt(0)&&l++,n=void 0);l<o.length;){if(J.lastIndex=l,u=J.exec(o),f=u&&void 0!==u.index?u.index:o.length,h=o.charCodeAt(f),!u){r=o.slice(l);break}if(10===h&&l===f&&e)s.push(-3),e=void 0;else switch(e&&(s.push(-5),e=void 0),l<f&&(s.push(o.slice(l,f)),t+=f-l),h){case 0:s.push(65533),t++;break;case 9:for(c=4*Math.ceil(t/4),s.push(-2);t++<c;)s.push(-1);break;case 10:s.push(-4),t=1;break;default:e=!0,t=1}l=f+1}return a&&(e&&s.push(-5),r&&s.push(r),s.push(null)),s}}()(e,t,!0))))};function se(e){return{line:e.line,column:e.column,offset:e.offset}}function ue(e,t){let r=-1;for(;++r<t.length;){const n=t[r];Array.isArray(n)?ue(e,n):ce(e,n)}}function ce(e,t){let r;for(r in t)if(ie.call(t,r))if("canContainEols"===r){const n=t[r];n&&e[r].push(...n)}else if("transforms"===r){const n=t[r];n&&e[r].push(...n)}else if("enter"===r||"exit"===r){const n=t[r];n&&Object.assign(e[r],n)}}function le(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+(0,oe.y)({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+(0,oe.y)({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+(0,oe.y)({start:t.start,end:t.end})+") is still open")}const fe=function(e){Object.assign(this,{Parser:t=>{const r=this.data("settings");return ae(t,Object.assign({},r,e,{extensions:this.data("micromarkExtensions")||[],mdastExtensions:this.data("fromMarkdownExtensions")||[]}))}})}},29477:(e,t,r)=>{"use strict";function n(e){if(e)throw e}r.r(t),r.d(t,{unified:()=>E});var o=r(38165),i=r(24740);function a(e){if("object"!=typeof e||null===e)return!1;const t=Object.getPrototypeOf(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)}function s(){const e=[],t={run:function(...t){let r=-1;const n=t.pop();if("function"!=typeof n)throw new TypeError("Expected function as last argument, not "+n);!function o(i,...a){const s=e[++r];let u=-1;if(i)n(i);else{for(;++u<t.length;)null!==a[u]&&void 0!==a[u]||(a[u]=t[u]);t=a,s?function(e,t){let r;return n;function n(...t){const n=e.length>t.length;let a;n&&t.push(o);try{a=e.apply(this,t)}catch(e){if(n&&r)throw e;return o(e)}n||(a instanceof Promise?a.then(i,o):a instanceof Error?o(a):i(a))}function o(e,...n){r||(r=!0,t(e,...n))}function i(e){o(null,e)}}(s,o)(...a):n(null,...a)}}(null,...t)},use:function(r){if("function"!=typeof r)throw new TypeError("Expected `middelware` to be a function, not "+r);return e.push(r),t}};return t}var u=r(56077);class c extends Error{constructor(e,t,r){const n=[null,null];let o={start:{line:null,column:null},end:{line:null,column:null}};if(super(),"string"==typeof t&&(r=t,t=void 0),"string"==typeof r){const e=r.indexOf(":");-1===e?n[1]=r:(n[0]=r.slice(0,e),n[1]=r.slice(e+1))}t&&("type"in t||"position"in t?t.position&&(o=t.position):"start"in t||"end"in t?o=t:("line"in t||"column"in t)&&(o.start=t)),this.name=(0,u.y)(t)||"1:1",this.message="object"==typeof e?e.message:e,this.stack="","object"==typeof e&&e.stack&&(this.stack=e.stack),this.reason=this.message,this.fatal,this.line=o.start.line,this.column=o.start.column,this.position=o,this.source=n[0],this.ruleId=n[1],this.file,this.actual,this.expected,this.url,this.note}}c.prototype.file="",c.prototype.name="",c.prototype.reason="",c.prototype.message="",c.prototype.stack="",c.prototype.fatal=null,c.prototype.column=null,c.prototype.line=null,c.prototype.source=null,c.prototype.ruleId=null,c.prototype.position=null;const l={basename:function(e,t){if(void 0!==t&&"string"!=typeof t)throw new TypeError('"ext" argument must be a string');f(e);let r,n=0,o=-1,i=e.length;if(void 0===t||0===t.length||t.length>e.length){for(;i--;)if(47===e.charCodeAt(i)){if(r){n=i+1;break}}else o<0&&(r=!0,o=i+1);return o<0?"":e.slice(n,o)}if(t===e)return"";let a=-1,s=t.length-1;for(;i--;)if(47===e.charCodeAt(i)){if(r){n=i+1;break}}else a<0&&(r=!0,a=i+1),s>-1&&(e.charCodeAt(i)===t.charCodeAt(s--)?s<0&&(o=i):(s=-1,o=a));n===o?o=a:o<0&&(o=e.length);return e.slice(n,o)},dirname:function(e){if(f(e),0===e.length)return".";let t,r=-1,n=e.length;for(;--n;)if(47===e.charCodeAt(n)){if(t){r=n;break}}else t||(t=!0);return r<0?47===e.charCodeAt(0)?"/":".":1===r&&47===e.charCodeAt(0)?"//":e.slice(0,r)},extname:function(e){f(e);let t,r=e.length,n=-1,o=0,i=-1,a=0;for(;r--;){const s=e.charCodeAt(r);if(47!==s)n<0&&(t=!0,n=r+1),46===s?i<0?i=r:1!==a&&(a=1):i>-1&&(a=-1);else if(t){o=r+1;break}}if(i<0||n<0||0===a||1===a&&i===n-1&&i===o+1)return"";return e.slice(i,n)},join:function(...e){let t,r=-1;for(;++r<e.length;)f(e[r]),e[r]&&(t=void 0===t?e[r]:t+"/"+e[r]);return void 0===t?".":function(e){f(e);const t=47===e.charCodeAt(0);let r=function(e,t){let r,n,o="",i=0,a=-1,s=0,u=-1;for(;++u<=e.length;){if(u<e.length)r=e.charCodeAt(u);else{if(47===r)break;r=47}if(47===r){if(a===u-1||1===s);else if(a!==u-1&&2===s){if(o.length<2||2!==i||46!==o.charCodeAt(o.length-1)||46!==o.charCodeAt(o.length-2))if(o.length>2){if(n=o.lastIndexOf("/"),n!==o.length-1){n<0?(o="",i=0):(o=o.slice(0,n),i=o.length-1-o.lastIndexOf("/")),a=u,s=0;continue}}else if(o.length>0){o="",i=0,a=u,s=0;continue}t&&(o=o.length>0?o+"/..":"..",i=2)}else o.length>0?o+="/"+e.slice(a+1,u):o=e.slice(a+1,u),i=u-a-1;a=u,s=0}else 46===r&&s>-1?s++:s=-1}return o}(e,!t);0!==r.length||t||(r=".");r.length>0&&47===e.charCodeAt(e.length-1)&&(r+="/");return t?"/"+r:r}(t)},sep:"/"};function f(e){if("string"!=typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const h={cwd:function(){return"/"}};function p(e){return null!==e&&"object"==typeof e&&e.href&&e.origin}function d(e){if("string"==typeof e)e=new URL(e);else if(!p(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if("file:"!==e.protocol){const e=new TypeError("The URL must be of scheme file");throw e.code="ERR_INVALID_URL_SCHEME",e}return function(e){if(""!==e.hostname){const e=new TypeError('File URL host must be "localhost" or empty on darwin');throw e.code="ERR_INVALID_FILE_URL_HOST",e}const t=e.pathname;let r=-1;for(;++r<t.length;)if(37===t.charCodeAt(r)&&50===t.charCodeAt(r+1)){const e=t.charCodeAt(r+2);if(70===e||102===e){const e=new TypeError("File URL path must not include encoded / characters");throw e.code="ERR_INVALID_FILE_URL_PATH",e}}return decodeURIComponent(t)}(e)}const m=["history","path","basename","stem","extname","dirname"];class g{constructor(e){let t;t=e?"string"==typeof e||function(e){return o(e)}(e)?{value:e}:p(e)?{path:e}:e:{},this.data={},this.messages=[],this.history=[],this.cwd=h.cwd(),this.value,this.stored,this.result,this.map;let r,n=-1;for(;++n<m.length;){const e=m[n];e in t&&void 0!==t[e]&&null!==t[e]&&(this[e]="history"===e?[...t[e]]:t[e])}for(r in t)m.includes(r)||(this[r]=t[r])}get path(){return this.history[this.history.length-1]}set path(e){p(e)&&(e=d(e)),v(e,"path"),this.path!==e&&this.history.push(e)}get dirname(){return"string"==typeof this.path?l.dirname(this.path):void 0}set dirname(e){b(this.basename,"dirname"),this.path=l.join(e||"",this.basename)}get basename(){return"string"==typeof this.path?l.basename(this.path):void 0}set basename(e){v(e,"basename"),y(e,"basename"),this.path=l.join(this.dirname||"",e)}get extname(){return"string"==typeof this.path?l.extname(this.path):void 0}set extname(e){if(y(e,"extname"),b(this.dirname,"extname"),e){if(46!==e.charCodeAt(0))throw new Error("`extname` must start with `.`");if(e.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=l.join(this.dirname,this.stem+(e||""))}get stem(){return"string"==typeof this.path?l.basename(this.path,this.extname):void 0}set stem(e){v(e,"stem"),y(e,"stem"),this.path=l.join(this.dirname||"",e+(this.extname||""))}toString(e){return(this.value||"").toString(e||void 0)}message(e,t,r){const n=new c(e,t,r);return this.path&&(n.name=this.path+":"+n.name,n.file=this.path),n.fatal=!1,this.messages.push(n),n}info(e,t,r){const n=this.message(e,t,r);return n.fatal=null,n}fail(e,t,r){const n=this.message(e,t,r);throw n.fatal=!0,n}}function y(e,t){if(e&&e.includes(l.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+l.sep+"`")}function v(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function b(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}const E=function e(){const t=s(),r=[];let u,c={},l=-1;return f.data=function(e,t){if("string"==typeof e)return 2===arguments.length?(S("data",u),c[e]=t,f):D.call(c,e)&&c[e]||null;if(e)return S("data",u),c=e,f;return c},f.Parser=void 0,f.Compiler=void 0,f.freeze=function(){if(u)return f;for(;++l<r.length;){const[e,...n]=r[l];if(!1===n[0])continue;!0===n[0]&&(n[0]=void 0);const o=e.call(f,...n);"function"==typeof o&&t.use(o)}return u=!0,l=Number.POSITIVE_INFINITY,f},f.attachers=r,f.use=function(e,...t){let n;if(S("use",u),null==e);else if("function"==typeof e)h(e,...t);else{if("object"!=typeof e)throw new TypeError("Expected usable value, not `"+e+"`");Array.isArray(e)?l(e):s(e)}n&&(c.settings=Object.assign(c.settings||{},n));return f;function o(e){if("function"==typeof e)h(e);else{if("object"!=typeof e)throw new TypeError("Expected usable value, not `"+e+"`");if(Array.isArray(e)){const[t,...r]=e;h(t,...r)}else s(e)}}function s(e){l(e.plugins),e.settings&&(n=Object.assign(n||{},e.settings))}function l(e){let t=-1;if(null==e);else{if(!Array.isArray(e))throw new TypeError("Expected a list of plugins, not `"+e+"`");for(;++t<e.length;){o(e[t])}}}function h(e,t){let n,o=-1;for(;++o<r.length;)if(r[o][0]===e){n=r[o];break}n?(a(n[1])&&a(t)&&(t=i(!0,n[1],t)),n[1]=t):r.push([...arguments])}},f.parse=function(e){f.freeze();const t=C(e),r=f.Parser;if(x("parse",r),w(r,"parse"))return new r(String(t),t).parse();return r(String(t),t)},f.stringify=function(e,t){f.freeze();const r=C(t),n=f.Compiler;if(F("stringify",n),A(e),w(n,"compile"))return new n(e,r).compile();return n(e,r)},f.run=function(e,r,n){A(e),f.freeze(),n||"function"!=typeof r||(n=r,r=void 0);if(!n)return new Promise(o);function o(o,i){function a(t,r,a){r=r||e,t?i(t):o?o(r):n(null,r,a)}t.run(e,C(r),a)}o(null,n)},f.runSync=function(e,t){let r,o;return f.run(e,t,i),k("runSync","run",o),r;function i(e,t){n(e),r=t,o=!0}},f.process=function(e,t){if(f.freeze(),x("process",f.Parser),F("process",f.Compiler),!t)return new Promise(r);function r(r,n){const i=C(e);function a(e,o){e||!o?n(e):r?r(o):t(null,o)}f.run(f.parse(i),i,((e,t,r)=>{if(!e&&t&&r){const n=f.stringify(t,r);null==n||(!function(e){return"string"==typeof e||o(e)}(n)?r.result=n:r.value=n),a(e,r)}else a(e)}))}r(null,t)},f.processSync=function(e){let t;f.freeze(),x("processSync",f.Parser),F("processSync",f.Compiler);const r=C(e);return f.process(r,o),k("processSync","process",t),r;function o(e){t=!0,n(e)}},f;function f(){const t=e();let n=-1;for(;++n<r.length;)t.use(...r[n]);return t.data(i(!0,{},c)),t}}().freeze(),D={}.hasOwnProperty;function w(e,t){return"function"==typeof e&&e.prototype&&(function(e){let t;for(t in e)if(D.call(e,t))return!0;return!1}(e.prototype)||t in e.prototype)}function x(e,t){if("function"!=typeof t)throw new TypeError("Cannot `"+e+"` without `Parser`")}function F(e,t){if("function"!=typeof t)throw new TypeError("Cannot `"+e+"` without `Compiler`")}function S(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function A(e){if(!a(e)||"string"!=typeof e.type)throw new TypeError("Expected node, got `"+e+"`")}function k(e,t,r){if(!r)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function C(e){return function(e){return Boolean(e&&"object"==typeof e&&"message"in e&&"messages"in e)}(e)?e:new g(e)}},49522:(e,t,r)=>{"use strict";r.r(t),r.d(t,{convert:()=>n.O,is:()=>n.is});var n=r(44516)},44516:(e,t,r)=>{"use strict";r.d(t,{O:()=>o,is:()=>n});const n=function e(t,r,n,i,a){const s=o(r);if(null!=n&&("number"!=typeof n||n<0||n===Number.POSITIVE_INFINITY))throw new Error("Expected positive finite index");if(!(null==i||e(i)&&i.children))throw new Error("Expected parent node");if(null==i!=(null==n))throw new Error("Expected both parent and index");return!(!t||!t.type||"string"!=typeof t.type)&&Boolean(s.call(a,t,n,i))},o=function(e){if(null==e)return a;if("string"==typeof e)return function(e){return i(t);function t(t){return t&&t.type===e}}(e);if("object"==typeof e)return Array.isArray(e)?function(e){const t=[];let r=-1;for(;++r<e.length;)t[r]=o(e[r]);return i(n);function n(...e){let r=-1;for(;++r<t.length;)if(t[r].call(this,...e))return!0;return!1}}(e):function(e){return i(t);function t(t){let r;for(r in e)if(t[r]!==e[r])return!1;return!0}}(e);if("function"==typeof e)return i(e);throw new Error("Expected function, string, or object as test")};function i(e){return function(t,...r){return Boolean(t&&"object"==typeof t&&"type"in t&&Boolean(e.call(this,t,...r)))}}function a(){return!0}},93227:(e,t,r)=>{"use strict";r.r(t),r.d(t,{matches:()=>re,select:()=>ne,selectAll:()=>oe});const n={},o={};function i(e,t){let r=t;for(let t=0;t<e.length;t++){const n=t===e.length-1,o=e.charAt(t),i=r[o]||(r[o]={chars:{}});n&&(i.self=e),r=i.chars}}function a(e){if(0===e.length)return n;const t={};for(const r of e)i(r,t);return t}function s(e){if(0===e.length)return o;const t={};for(const r of e)t[r]=!0;return t}const u={},c={type:"String",optional:!0};function l(e){const t={optional:!1};function r(e){if(t.type&&t.type!==e)throw new Error(`Conflicting pseudo-class argument type: "${t.type}" vs "${e}".`);t.type=e}for(const n of e)"NoArgument"===n&&(t.optional=!0),"Formula"===n&&r("Formula"),"FormulaOfSelector"===n&&(r("Formula"),t.ofSelector=!0),"String"===n&&r("String"),"Selector"===n&&r("Selector");return t}function f(e){const t=function(e){const t={};for(const r of Object.keys(e)){const n=e[r];if(n)for(const e of n)(t[e]||(t[e]=[])).push(r)}return t}(e),r={};for(const e of Object.keys(t)){const n=t[e];n&&(r[e]=l(n))}return r}const h={},p={wildcard:!0};function d(e){return e?"boolean"==typeof e?p:e:h}function m(e,t){const r={...e};if("tag"in t)if(t.tag){r.tag={...d(e.tag)};const n=d(t.tag);"wildcard"in n&&(r.tag.wildcard=n.wildcard)}else r.tag=void 0;if("ids"in t&&(r.ids=t.ids),"classNames"in t&&(r.classNames=t.classNames),"namespace"in t)if(t.namespace){r.namespace={...d(e.namespace)};const n=d(t.namespace);"wildcard"in n&&(r.namespace.wildcard=n.wildcard)}else r.namespace=void 0;if("combinators"in t&&(t.combinators?r.combinators=r.combinators?r.combinators.concat(t.combinators):t.combinators:r.combinators=void 0),"attributes"in t&&(t.attributes?(r.attributes={...e.attributes},"unknownCaseSensitivityModifiers"in t.attributes&&(r.attributes.unknownCaseSensitivityModifiers=t.attributes.unknownCaseSensitivityModifiers),"operators"in t.attributes&&(r.attributes.operators=t.attributes.operators?r.attributes.operators?r.attributes.operators.concat(t.attributes.operators):t.attributes.operators:void 0),"caseSensitivityModifiers"in t.attributes&&(r.attributes.caseSensitivityModifiers=t.attributes.caseSensitivityModifiers?r.attributes.caseSensitivityModifiers?r.attributes.caseSensitivityModifiers.concat(t.attributes.caseSensitivityModifiers):t.attributes.caseSensitivityModifiers:void 0)):r.attributes=void 0),"pseudoElements"in t&&(t.pseudoElements?(r.pseudoElements={...e.pseudoElements},"unknown"in t.pseudoElements&&(r.pseudoElements.unknown=t.pseudoElements.unknown),"notation"in t.pseudoElements&&(r.pseudoElements.notation=t.pseudoElements.notation),"definitions"in t.pseudoElements&&(r.pseudoElements.definitions=t.pseudoElements.definitions?r.pseudoElements.definitions?r.pseudoElements.definitions.concat(t.pseudoElements.definitions):t.pseudoElements.definitions:void 0)):r.pseudoElements=void 0),"pseudoClasses"in t)if(t.pseudoClasses){if(r.pseudoClasses={...e.pseudoClasses},"unknown"in t.pseudoClasses&&(r.pseudoClasses.unknown=t.pseudoClasses.unknown),"definitions"in t.pseudoClasses){const e=t.pseudoClasses.definitions;if(e){r.pseudoClasses.definitions={...r.pseudoClasses.definitions};const t=r.pseudoClasses.definitions;for(const r of Object.keys(e)){const n=e[r],o=t[r];t[r]=n?o?o.concat(n):n:void 0}}else r.pseudoClasses.definitions=void 0}}else r.pseudoClasses=void 0;return r}const g={tag:{},ids:!0,classNames:!0,combinators:[],pseudoElements:{unknown:"reject",notation:"singleColon",definitions:["first-letter","first-line"]},pseudoClasses:{unknown:"reject",definitions:{NoArgument:["link","visited","active"]}}},y=m(g,{tag:{wildcard:!0},combinators:[">","+"],attributes:{unknownCaseSensitivityModifiers:"reject",operators:["=","~=","|="]},pseudoElements:{definitions:["before","after"]},pseudoClasses:{unknown:"reject",definitions:{NoArgument:["hover","focus","first-child"],String:["lang"]}}}),v=m(y,{namespace:{wildcard:!0},combinators:["~"],attributes:{operators:["^=","$=","*="]},pseudoElements:{notation:"both"},pseudoClasses:{definitions:{NoArgument:["root","last-child","first-of-type","last-of-type","only-child","only-of-type","empty","target","enabled","disabled","checked","indeterminate"],Formula:["nth-child","nth-last-child","nth-of-type","nth-last-of-type"],Selector:["not"]}}}),b=m(v,{combinators:["||"],attributes:{caseSensitivityModifiers:["i","I","s","S"]},pseudoClasses:{definitions:{NoArgument:["any-link","local-link","target-within","scope","current","past","future","focus-within","focus-visible","read-write","read-only","placeholder-shown","default","valid","invalid","in-range","out-of-range","required","optional","blank","user-invalid"],Formula:["nth-col","nth-last-col"],String:["dir"],FormulaOfSelector:["nth-child","nth-last-child"],Selector:["current","is","where","has"]}}}),E={css1:g,css2:y,css3:v,"selectors-3":v,"selectors-4":b,latest:b,progressive:m(b,{pseudoElements:{unknown:"accept"},pseudoClasses:{unknown:"accept"},attributes:{unknownCaseSensitivityModifiers:"accept"}})};function D(e){return e>="a"&&e<="z"||e>="A"&&e<="Z"||"-"===e||"_"===e}function w(e){return e>="a"&&e<="f"||e>="A"&&e<="F"||e>="0"&&e<="9"}const x={n:"\n",r:"\r",t:"\t",f:"\f","\\":"\\"},F={" ":!0,"\t":!0,"\n":!0,"\r":!0,"\f":!0},S={'"':!0,"'":!0},A={0:!0,1:!0,2:!0,3:!0,4:!0,5:!0,6:!0,7:!0,8:!0,9:!0};const k="css-selector-parser parse error: ";function C(e){return(t,r)=>({[t]:t=>({type:e,...t}),[r]:t=>"object"==typeof t&&null!==t&&t.type===e})}C("Selector")("selector","isSelector"),C("Rule")("rule","isRule"),C("TagName")("tagName","isTagName"),C("WildcardTag")("wildcardTag","isWildcardTag"),C("NamespaceName")("namespaceName","isNamespaceName"),C("WildcardNamespace")("wildcardNamespace","isWildcardNamespace"),C("NoNamespace")("noNamespace","isNoNamespace"),C("Attribute")("attribute","isAttribute"),C("PseudoClass")("pseudoClass","isPseudoClass"),C("String")("string","isString"),C("Formula")("formula","isFormula"),C("FormulaOfSelector")("formulaOfSelector","isFormulaOfSelector"),C("Substitution")("substitution","isSubstitution");const P=function(e={}){const{syntax:t="latest",substitutes:r,strict:i=!0}=e;let l="string"==typeof t?E[t]:t;l.baseSyntax&&(l=m(E[l.baseSyntax],l));const[h,p]=l.tag?[!0,Boolean(d(l.tag).wildcard)]:[!1,!1],g=Boolean(l.ids),y=Boolean(l.classNames),v=Boolean(l.namespace),b=l.namespace&&(!0===l.namespace||!0===l.namespace.wildcard);if(v&&!h)throw new Error(`${k}Namespaces cannot be enabled while tags are disabled.`);const C=Boolean(r),P=l.combinators?a(l.combinators):n,[O,j,T,_]=l.attributes?[!0,l.attributes.operators?a(l.attributes.operators):n,l.attributes.caseSensitivityModifiers?s(l.attributes.caseSensitivityModifiers):o,"accept"===l.attributes.unknownCaseSensitivityModifiers]:[!1,n,o,!1],B=_||Object.keys(T).length>0,[R,I,L]=l.pseudoClasses?[!0,l.pseudoClasses.definitions?f(l.pseudoClasses.definitions):u,"accept"===l.pseudoClasses.unknown]:[!1,u,!1],[M,N,$,U,z]=l.pseudoElements?[!0,"singleColon"===l.pseudoElements.notation||"both"===l.pseudoElements.notation,!l.pseudoElements.notation||"doubleColon"===l.pseudoElements.notation||"both"===l.pseudoElements.notation,l.pseudoElements.definitions?s(l.pseudoElements.definitions):o,"accept"===l.pseudoElements.unknown]:[!1,!1,!1,o,!1];let H="",q=H.length,V=0,G="";const W=e=>G===e,Q=()=>W("*")||D(G)||W("\\"),K=e=>{V=e,G=H.charAt(V)},Y=()=>{V++,G=H.charAt(V)},Z=()=>{const e=G;return V++,G=H.charAt(V),e};function J(e){const t=Math.min(q-1,V),r=new Error(`${k}${e} Pos: ${t}.`);throw r.position=t,r.name="ParserError",r}function X(e,t){if(!e)return J(t)}const ee=()=>{X(V<q,"Unexpected end of input.")},te=()=>V>=q,re=e=>{X(V<q,`Expected "${e}" but end of input reached.`),X(G===e,`Expected "${e}" but "${G}" found.`),V++,G=H.charAt(V)};function ne(e){const t=oe(e,V);if(t)return V+=t.length,G=H.charAt(V),t}function oe(e,t){const r=e[H.charAt(t)];if(r){const e=oe(r.chars,t+1);if(e)return e;if(r.self)return r.self}}function ie(){let e=Z();for(;w(G);)e+=Z();return W(" ")&&Y(),String.fromCharCode(parseInt(e,16))}function ae(e){let t="";for(re(e);V<q;){if(W(e))return Y(),t;if(W("\\")){let r;if(Y(),W(e))t+=e;else if(void 0!==(r=x[G]))t+=r;else{if(w(G)){t+=ie();continue}t+=G}}else t+=G;Y()}return t}function se(){let e="";for(;V<q;)if((t=G)>="a"&&t<="z"||t>="A"&&t<="Z"||t>="0"&&t<="9"||"-"===t||"_"===t)e+=Z();else{if(!W("\\"))return e;Y(),ee(),w(G)?e+=ie():e+=Z()}var t;return e}function ue(){let e="";for(;V<q&&!W(")");)if(W("\\")){if(Y(),te()&&!i)return(e+"\\").trim();ee(),w(G)?e+=ie():e+=Z()}else e+=Z();return e.trim()}function ce(){for(;F[G];)Y()}function le(e=!1){ce();const t=[ye(e)];for(;W(",");)Y(),ce(),t.push(ye(e));return{type:"Selector",rules:t}}function fe(){let e;if(re("["),ce(),W("|"))X(v,"Namespaces are not enabled."),Y(),e={type:"Attribute",name:se(),namespace:{type:"NoNamespace"}};else if(W("*"))X(v,"Namespaces are not enabled."),X(b,"Wildcard namespace is not enabled."),Y(),re("|"),e={type:"Attribute",name:se(),namespace:{type:"WildcardNamespace"}};else{const t=se();if(e={type:"Attribute",name:t},W("|")){const r=V;Y(),D(G)||W("\\")?(X(v,"Namespaces are not enabled."),e={type:"Attribute",name:se(),namespace:{type:"NamespaceName",name:t}}):K(r)}}if(X(e.name,"Expected attribute name."),ce(),te()&&!i)return e;if(W("]"))Y();else{if(e.operator=ne(j),X(e.operator,"Expected a valid attribute selector operator."),ce(),ee(),S[G]?e.value={type:"String",value:ae(G)}:C&&W("$")?(Y(),e.value={type:"Substitution",name:se()},X(e.value.name,"Expected substitute name.")):(e.value={type:"String",value:se()},X(e.value.value,"Expected attribute value.")),ce(),te()&&!i)return e;if(!W("]")&&(e.caseSensitivityModifier=se(),X(e.caseSensitivityModifier,"Expected end of attribute selector."),X(B,"Attribute case sensitivity modifiers are not enabled."),X(_||T[e.caseSensitivityModifier],"Unknown attribute case sensitivity modifier."),ce(),te()&&!i))return e;re("]")}return e}function he(){let e="";for(;A[G];)e+=Z();return X(""!==e,"Formula parse error."),parseInt(e)}const pe=()=>W("-")||W("+")||A[G];function de(e){const t={type:"PseudoClass",name:e};let r=I[e];if(!r&&L&&(r=c),X(r,`Unknown pseudo-class: "${e}".`),W("(")){if(Y(),ce(),C&&W("$"))Y(),t.argument={type:"Substitution",name:se()},X(t.argument.name,"Expected substitute name.");else if("String"===r.type)t.argument={type:"String",value:ue()},X(t.argument.value,"Expected pseudo-class argument value.");else if("Selector"===r.type)t.argument=le(!0);else{if("Formula"!==r.type)return J("Invalid pseudo-class signature.");{const[e,n]=function(){if(W("e")||W("o")){const e=se();if("even"===e)return ce(),[2,0];if("odd"===e)return ce(),[2,1]}let e,t=null,r=1;if(W("-")&&(Y(),r=-1),pe()&&(W("+")&&Y(),t=he(),!W("\\")&&!W("n")))return[0,t*r];if(null===t&&(t=1),t*=r,W("\\")?(Y(),e=w(G)?ie():Z()):e=Z(),X("n"===e,'Formula parse error: expected "n".'),ce(),W("+")||W("-")){const e=W("+")?1:-1;return Y(),ce(),[t,e*he()]}return[t,0]}();if(t.argument={type:"Formula",a:e,b:n},r.ofSelector&&(ce(),W("o")||W("\\"))){X("of"===se(),"Formula of selector parse error."),ce(),t.argument={type:"FormulaOfSelector",a:e,b:n,selector:ye()}}}}if(ce(),te()&&!i)return t;re(")")}else X(r.optional,`Argument is required for pseudo-class "${e}".`);return t}function me(){return W("*")?(X(p,"Wildcard tag name is not enabled."),Y(),{type:"WildcardTag"}):D(G)||W("\\")?(X(h,"Tag names are not enabled."),{type:"TagName",name:se()}):J("Expected tag name.")}function ge(){if(W("*")){const e=V;if(Y(),!W("|"))return K(e),me();if(Y(),!Q())return K(e),me();X(v,"Namespaces are not enabled."),X(b,"Wildcard namespace is not enabled.");const t=me();return t.namespace={type:"WildcardNamespace"},t}if(W("|")){X(v,"Namespaces are not enabled."),Y();const e=me();return e.namespace={type:"NoNamespace"},e}if(D(G)||W("\\")){const e=se();if(!W("|"))return X(h,"Tag names are not enabled."),{type:"TagName",name:e};const t=V;if(Y(),!Q())return K(t),{type:"TagName",name:e};X(v,"Namespaces are not enabled.");const r=me();return r.namespace={type:"NamespaceName",name:e},r}return J("Expected tag name.")}function ye(e=!1){const t={};let r=!0;if(e){const e=ne(P);e&&(t.combinator=e,ce())}for(;V<q;){if(Q())X(r,"Unexpected tag/namespace start."),t.tag=ge();else if(W("|")){const e=V;if(Y(),!Q()){K(e);break}X(r,"Unexpected tag/namespace start."),K(e),t.tag=ge()}else if(W(".")){X(y,"Class names are not enabled."),Y();const e=se();X(e,"Expected class name."),(t.classNames=t.classNames||[]).push(e)}else if(W("#")){X(g,"IDs are not enabled."),Y();const e=se();X(e,"Expected ID name."),(t.ids=t.ids||[]).push(e)}else if(W("["))X(O,"Attributes are not enabled."),(t.attributes=t.attributes||[]).push(fe());else{if(!W(":"))break;{let e=!1,r=!1;Y(),W(":")&&(X(M,"Pseudo elements are not enabled."),X($,"Pseudo elements double colon notation is not enabled."),e=!0,Y());const n=se();if(X(e||n,"Expected pseudo-class name."),X(!e||n,"Expected pseudo-element name."),X(!e||z||U[n],`Unknown pseudo-element "${n}".`),r=M&&(e||!e&&N&&U[n]),r){if(t.pseudoElement=n,!(F[G]||W(",")||W(")")||te()))return J("Pseudo-element should be the last component of a CSS selector rule.")}else X(R,"Pseudo classes are not enabled."),(t.pseudoClasses=t.pseudoClasses||[]).push(de(n))}}r=!1}if(r)return te()?J("Expected rule but end of input reached."):J(`Expected rule but "${G}" found.`);if(t.type="Rule",ce(),!te()&&!W(",")&&!W(")")){const e=ne(P);ce(),t.nestedRule=ye(),t.nestedRule.combinator=e}return t}return e=>{if("string"!=typeof e)throw new Error(`${k}Expected string input.`);return H=e,q=H.length,V=0,G=H.charAt(0),le()}}({syntax:"selectors-4"});function O(e){if("string"!=typeof e)throw new TypeError("Expected `string` as selector, not `"+e+"`");return P(e)}function j(e){return Array.isArray(e.children)}const T={}.hasOwnProperty;function _(e,t){const r=t||{};function n(t,...r){let o=n.invalid;const i=n.handlers;if(t&&T.call(t,e)){const r=String(t[e]);o=T.call(i,r)?i[r]:n.unknown}if(o)return o.call(this,t,...r)}return n.handlers=r.handlers||{},n.invalid=r.invalid,n.unknown=r.unknown,n}const B=_("operator",{unknown:function(e){throw new Error("Unknown operator `"+e.operator+"`")},invalid:R,handlers:{"=":function(e,t){const r=I(e);return R(e,t)&&String(t[e.name])===r},"^=":function(e,t){const r=t[e.name],n=I(e);return Boolean(e.value&&"string"==typeof r&&r.slice(0,n.length)===n)},"$=":function(e,t){const r=t[e.name],n=I(e);return Boolean(e.value&&"string"==typeof r&&r.slice(-n.length)===n)},"*=":function(e,t){const r=t[e.name],n=I(e);return Boolean("string"==typeof r&&n&&r.includes(n))},"~=":function(e,t){const r=t[e.name];if(null==r)return!1;const n=I(e);if(Array.isArray(r)&&r.includes(n))return!0;return String(r)===n}}});function R(e,t){return null!==t[e.name]&&void 0!==t[e.name]}function I(e){const t=e.value;return t.type,t.value}const L=new Set([9,10,12,13,32]),M="0".charCodeAt(0),N="9".charCodeAt(0);var $=r(96501);function U(e){return function(e){const t=e[0],r=e[1]-1;if(r<0&&t<=0)return $.falseFunc;if(-1===t)return e=>e<=r;if(0===t)return e=>e===r;if(1===t)return r<0?$.trueFunc:e=>e>=r;const n=Math.abs(t),o=(r%n+n)%n;return t>1?e=>e>=r&&e%n===o:e=>e<=r&&e%n===o}(function(e){if("even"===(e=e.trim().toLowerCase()))return[2,0];if("odd"===e)return[2,1];let t=0,r=0,n=i(),o=a();if(t<e.length&&"n"===e.charAt(t)&&(t++,r=n*(null!=o?o:1),s(),t<e.length?(n=i(),s(),o=a()):n=o=0),null===o||t<e.length)throw new Error(`n-th rule couldn't be parsed ('${e}')`);return[r,n*o];function i(){return"-"===e.charAt(t)?(t++,-1):("+"===e.charAt(t)&&t++,1)}function a(){const r=t;let n=0;for(;t<e.length&&e.charCodeAt(t)>=M&&e.charCodeAt(t)<=N;)n=10*n+(e.charCodeAt(t)-M),t++;return t===r?null:n}function s(){for(;t<e.length&&L.has(e.charCodeAt(t));)t++}}(e))}const z=U.default||U,H=_("name",{unknown:function(e){throw new Error("Unknown pseudo-selector `"+e.name+"`")},invalid:function(){throw new Error("Invalid pseudo-selector")},handlers:{is:G,blank:V,empty:V,"first-child":function(e,t,r,n,o){return W(o,e),0===o.nodeIndex},"first-of-type":function(e,t,r,n,o){return W(o,e),0===o.typeIndex},has:function(e,t,r,n,o){const i=e.argument;!i||i.type;const a={type:"root",children:j(t)?t.children:[]},s={...o,found:!1,shallow:!1,one:!0,scopeNodes:[t],results:[],rootQuery:i};return Z(s,a),s.results.length>0},"last-child":function(e,t,r,n,o){return W(o,e),"number"==typeof o.nodeCount&&o.nodeIndex===o.nodeCount-1},"last-of-type":function(e,t,r,n,o){return W(o,e),"number"==typeof o.typeCount&&o.typeIndex===o.typeCount-1},not:function(e,t,r,n,o){return!G(e,t,r,n,o)},"nth-child":function(e,t,r,n,o){const i=Q(e);return W(o,e),"number"==typeof o.nodeIndex&&i(o.nodeIndex)},"nth-last-child":function(e,t,r,n,o){const i=Q(e);return W(o,e),"number"==typeof o.nodeCount&&"number"==typeof o.nodeIndex&&i(o.nodeCount-o.nodeIndex-1)},"nth-of-type":function(e,t,r,n,o){const i=Q(e);return W(o,e),"number"==typeof o.typeIndex&&i(o.typeIndex)},"nth-last-of-type":function(e,t,r,n,o){const i=Q(e);return W(o,e),"number"==typeof o.typeIndex&&"number"==typeof o.typeCount&&i(o.typeCount-1-o.typeIndex)},"only-child":function(e,t,r,n,o){return W(o,e),1===o.nodeCount},"only-of-type":function(e,t,r,n,o){return W(o,e),1===o.typeCount},root:function(e,t,r,n){return t&&!n},scope:function(e,t,r,n,o){return t&&o.scopeNodes.includes(t)}}});function q(e,t,r,n,o){let i=-1;if(e.pseudoClasses)for(;++i<e.pseudoClasses.length;)if(!H(e.pseudoClasses[i],t,r,n,o))return!1;return!0}function V(e,t){return j(t)?0===t.children.length:!("value"in t)}function G(e,t,r,n,o){const i=e.argument;!i||i.type;const a={...o,found:!1,shallow:!1,one:!0,scopeNodes:[t],results:[],rootQuery:i};return Z(a,t),a.results[0]===t}function W(e,t){if(e.shallow)throw new Error("Cannot use `:"+t.name+"` without parent")}function Q(e){let t=e._cachedFn;if(!t){const r=e.argument;!r||r.type,t=z(r.a+"n+"+r.b),e._cachedFn=t}return t}function K(e,t,r,n,o){if(e.ids)throw new Error("Invalid selector: id");if(e.classNames)throw new Error("Invalid selector: class");if(e.pseudoElement)throw new Error("Invalid selector: `::"+e.pseudoElement+"`");return Boolean(t&&(!e.tag||"WildcardTag"===e.tag.type||e.tag.name===t.type)&&(!e.attributes||function(e,t){let r=-1;if(e.attributes)for(;++r<e.attributes.length;)if(!B(e.attributes[r],t))return!1;return!0}(e,t))&&(!e.pseudoClasses||q(e,t,r,n,o)))}q.needsIndex=["any","first-child","first-of-type","last-child","last-of-type","is","not","nth-child","nth-last-child","nth-of-type","nth-last-of-type","only-child","only-of-type"];const Y=[];function Z(e,t){t&&J(e,[],t,void 0,void 0,t)}function J(e,t,r,n,o,i){let a={directChild:void 0,descendant:void 0,adjacentSibling:void 0,generalSibling:void 0},s=e.rootQuery.rules;return o&&o!==i&&(s=e.rootQuery.rules.filter((e=>void 0===e.combinator||">"===e.combinator&&o===i))),a=function(e,t,r,n,o){const i={directChild:void 0,descendant:void 0,adjacentSibling:void 0,generalSibling:void 0};let a=-1;for(;++a<t.length;){const s=t[a];if(e.one&&e.found)break;if(e.shallow&&s.nestedRule)throw new Error("Expected selector without nesting");if(K(s,r,n,o,e)){const t=s.nestedRule;if(t){ee(i,"+"===t.combinator?"adjacentSibling":"~"===t.combinator?"generalSibling":">"===t.combinator?"directChild":"descendant",t)}else e.found=!0,e.results.includes(r)||e.results.push(r)}void 0===s.combinator?ee(i,"descendant",s):"~"===s.combinator&&ee(i,"generalSibling",s)}return i}(e,X(t,s),r,n,o),!j(r)||e.shallow||e.one&&e.found||function(e,t,r,n){const o=X(t.descendant,t.directChild);let i,a=-1;const s={count:0,types:new Map},u={count:0,types:new Map};for(;++a<r.children.length;)te(s,r.children[a]);a=-1;for(;++a<r.children.length;){const t=r.children[a].type.toUpperCase();e.nodeIndex=u.count,e.typeIndex=u.types.get(t)||0,e.nodeCount=s.count,e.typeCount=s.types.get(t);const c=J(e,X(o,i),r.children[a],a,r,n);if(i=X(c.generalSibling,c.adjacentSibling),e.one&&e.found)break;te(u,r.children[a])}}(e,a,r,i),a}function X(e,t){return e&&t&&e.length>0&&t.length>0?[...e,...t]:e&&e.length>0?e:t&&t.length>0?t:Y}function ee(e,t,r){const n=e[t];n?n.push(r):e[t]=[r]}function te(e,t){const r=t.type.toUpperCase(),n=(e.types.get(r)||0)+1;e.count++,e.types.set(r,n)}function re(e,t){const r=ie(e,t);return r.one=!0,r.shallow=!0,Z(r,t||void 0),r.results.length>0}function ne(e,t){const r=ie(e,t);return r.one=!0,Z(r,t||void 0),r.results[0]}function oe(e,t){const r=ie(e,t);return Z(r,t||void 0),r.results}function ie(e,t){return{rootQuery:O(e),results:[],scopeNodes:t?!j(t)||"RootNode"!==t.type&&"root"!==t.type?[t]:t.children:[],one:!1,shallow:!1,found:!1,typeIndex:void 0,nodeIndex:void 0,typeCount:void 0,nodeCount:void 0}}},56077:(e,t,r)=>{"use strict";function n(e){return e&&"object"==typeof e?"position"in e||"type"in e?i(e.position):"start"in e||"end"in e?i(e):"line"in e||"column"in e?o(e):"":""}function o(e){return a(e&&e.line)+":"+a(e&&e.column)}function i(e){return o(e&&e.start)+"-"+o(e&&e.end)}function a(e){return e&&"number"==typeof e?e:1}r.d(t,{y:()=>n})},50819:(e,t,r)=>{"use strict";r.d(t,{dR:()=>o,BK:()=>i,AM:()=>a,S4:()=>s});var n=r(44516);const o=!0,i=!1,a="skip",s=function(e,t,r,s){"function"==typeof t&&"function"!=typeof r&&(s=r,r=t,t=null);const u=(0,n.O)(t),c=s?-1:1;!function e(n,l,f){const h=n&&"object"==typeof n?n:{};if("string"==typeof h.type){const e="string"==typeof h.tagName?h.tagName:"string"==typeof h.name?h.name:void 0;Object.defineProperty(p,"name",{value:"node ("+n.type+(e?"<"+e+">":"")+")"})}return p;function p(){let h,p,d,m=[];if((!t||u(n,l,f[f.length-1]||null))&&(m=function(e){if(Array.isArray(e))return e;if("number"==typeof e)return[o,e];return[e]}(r(n,f)),m[0]===i))return m;if(n.children&&m[0]!==a)for(p=(s?n.children.length:-1)+c,d=f.concat(n);p>-1&&p<n.children.length;){if(h=e(n.children[p],p,d)(),h[0]===i)return h;p="number"==typeof h[1]?h[1]:p+c}return m}}(e,void 0,[])()}},18213:(e,t,r)=>{"use strict";r.r(t),r.d(t,{CONTINUE:()=>n.dR,EXIT:()=>n.BK,SKIP:()=>n.AM,visit:()=>o.Vn});var n=r(50819),o=r(53827)},53827:(e,t,r)=>{"use strict";r.d(t,{Vn:()=>o});var n=r(50819);const o=function(e,t,r,o){"function"==typeof t&&"function"!=typeof r&&(o=r,r=t,t=null),(0,n.S4)(e,t,(function(e,t){const n=t[t.length-1];return r(e,n?n.children.indexOf(e):null,n)}),o)}},84862:e=>{"use strict";e.exports=JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","$id":"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#","description":"Meta-schema for $data reference (JSON Schema extension proposal)","type":"object","required":["$data"],"properties":{"$data":{"type":"string","anyOf":[{"format":"relative-json-pointer"},{"format":"json-pointer"}]}},"additionalProperties":false}')},74502:e=>{"use strict";e.exports=JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","$id":"http://json-schema.org/draft-07/schema#","title":"Core schema meta-schema","definitions":{"schemaArray":{"type":"array","minItems":1,"items":{"$ref":"#"}},"nonNegativeInteger":{"type":"integer","minimum":0},"nonNegativeIntegerDefault0":{"allOf":[{"$ref":"#/definitions/nonNegativeInteger"},{"default":0}]},"simpleTypes":{"enum":["array","boolean","integer","null","number","object","string"]},"stringArray":{"type":"array","items":{"type":"string"},"uniqueItems":true,"default":[]}},"type":["object","boolean"],"properties":{"$id":{"type":"string","format":"uri-reference"},"$schema":{"type":"string","format":"uri"},"$ref":{"type":"string","format":"uri-reference"},"$comment":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"default":true,"readOnly":{"type":"boolean","default":false},"examples":{"type":"array","items":true},"multipleOf":{"type":"number","exclusiveMinimum":0},"maximum":{"type":"number"},"exclusiveMaximum":{"type":"number"},"minimum":{"type":"number"},"exclusiveMinimum":{"type":"number"},"maxLength":{"$ref":"#/definitions/nonNegativeInteger"},"minLength":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"pattern":{"type":"string","format":"regex"},"additionalItems":{"$ref":"#"},"items":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/schemaArray"}],"default":true},"maxItems":{"$ref":"#/definitions/nonNegativeInteger"},"minItems":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"uniqueItems":{"type":"boolean","default":false},"contains":{"$ref":"#"},"maxProperties":{"$ref":"#/definitions/nonNegativeInteger"},"minProperties":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"required":{"$ref":"#/definitions/stringArray"},"additionalProperties":{"$ref":"#"},"definitions":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"properties":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"patternProperties":{"type":"object","additionalProperties":{"$ref":"#"},"propertyNames":{"format":"regex"},"default":{}},"dependencies":{"type":"object","additionalProperties":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/stringArray"}]}},"propertyNames":{"$ref":"#"},"const":true,"enum":{"type":"array","items":true,"minItems":1,"uniqueItems":true},"type":{"anyOf":[{"$ref":"#/definitions/simpleTypes"},{"type":"array","items":{"$ref":"#/definitions/simpleTypes"},"minItems":1,"uniqueItems":true}]},"format":{"type":"string"},"contentMediaType":{"type":"string"},"contentEncoding":{"type":"string"},"if":{"$ref":"#"},"then":{"$ref":"#"},"else":{"$ref":"#"},"allOf":{"$ref":"#/definitions/schemaArray"},"anyOf":{"$ref":"#/definitions/schemaArray"},"oneOf":{"$ref":"#/definitions/schemaArray"},"not":{"$ref":"#"}},"default":true}')},6614:e=>{"use strict";e.exports=JSON.parse('["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","link","main","map","mark","math","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rb","rp","rt","rtc","ruby","s","samp","script","section","select","slot","small","source","span","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr"]')},4147:e=>{"use strict";e.exports=JSON.parse('{"name":"@topwrite/reader","version":"1.0.74-alpha.0+2fd4d7a","author":"yunwuxin <tzzhangyajun@qq.com> (https://github.com/yunwuxin)","license":"ISC","types":"types/index.d.ts","main":"dist/index.js","files":["dist","types"],"scripts":{"prebuild":"rimraf dist types","build":"webpack --progress","build:dev":"npm run build --env dev","serve":"webpack serve --env dev","extract":"formatjs extract src/**/*.{ts,tsx} --out-file src/lang/zh-CN.json --ignore src/global.d.ts --id-interpolation-pattern [sha512:contenthash:base64:6] --additional-function-names $t --format simple","prepack":"npm run build"},"dependencies":{"@topwrite/common":"^1.0.60-alpha.0+2fd4d7a","@types/color":"^3.0.3","@types/lodash":"^4.14.168","@types/node":"^16.4.13","@types/react":"^18","@types/react-dom":"^18","color":"^4.2.3","dayjs":"^1.10.4","history":"^5.0.0","immer":"^9.0.6"},"devDependencies":{"@docsearch/css":"^3.2.1","@formatjs/cli":"^5.0.2","@topthink/webpack-config-plugin":"^1.0.16","crypto-browserify":"^3.12.0","path-browserify":"^1.0.1","process":"^0.11.10","query-string":"^7.1.1","rc-tooltip":"^5.1.1","react-loading-bar":"^0.0.7","rimraf":"^3.0.2","stream-browserify":"^3.0.0","typescript":"^4.3.5","webpack":"^5.36.2","webpack-cli":"^4.7.0","webpack-dev-server":"^4.7.3"},"gitHead":"2fd4d7a78dfbf17957be2c51dd6e1ad394db5cd1"}')}},i={};function a(e){var t=i[e];if(void 0!==t)return t.exports;var r=i[e]={id:e,loaded:!1,exports:{}};return o[e].call(r.exports,r,r.exports,a),r.loaded=!0,r.exports}a.m=o,a.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return a.d(t,{a:t}),t},t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,a.t=function(r,n){if(1&n&&(r=this(r)),8&n)return r;if("object"==typeof r&&r){if(4&n&&r.__esModule)return r;if(16&n&&"function"==typeof r.then)return r}var o=Object.create(null);a.r(o);var i={};e=e||[null,t({}),t([]),t(t)];for(var s=2&n&&r;"object"==typeof s&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((e=>i[e]=()=>r[e]));return i.default=()=>r,a.d(o,i),o},a.d=(e,t)=>{for(var r in t)a.o(t,r)&&!a.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},a.f={},a.e=e=>Promise.all(Object.keys(a.f).reduce(((t,r)=>(a.f[r](e,t),t)),[])),a.u=e=>e+"-"+{7:"aa176f",267:"960f60",331:"dbe0b3",347:"fe3bab",449:"c4532e",454:"b0e4b2",659:"e7416c",769:"14f39b"}[e]+".js",a.miniCssF=e=>e+".css",a.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r={},n="@topwrite/reader:",a.l=(e,t,o,i)=>{if(r[e])r[e].push(t);else{var s,u;if(void 0!==o)for(var c=document.getElementsByTagName("script"),l=0;l<c.length;l++){var f=c[l];if(f.getAttribute("src")==e||f.getAttribute("data-webpack")==n+o){s=f;break}}s||(u=!0,(s=document.createElement("script")).charset="utf-8",s.timeout=120,a.nc&&s.setAttribute("nonce",a.nc),s.setAttribute("data-webpack",n+o),s.src=e),r[e]=[t];var h=(t,n)=>{s.onerror=s.onload=null,clearTimeout(p);var o=r[e];if(delete r[e],s.parentNode&&s.parentNode.removeChild(s),o&&o.forEach((e=>e(n))),t)return t(n)},p=setTimeout(h.bind(null,void 0,{type:"timeout",target:s}),12e4);s.onerror=h.bind(null,s.onerror),s.onload=h.bind(null,s.onload),u&&document.head.appendChild(s)}},a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{var e;a.g.importScripts&&(e=a.g.location+"");var t=a.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var r=t.getElementsByTagName("script");r.length&&(e=r[r.length-1].src)}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),a.p=e})(),(()=>{if("undefined"!=typeof document){var e=e=>new Promise(((t,r)=>{var n=a.miniCssF(e),o=a.p+n;if(((e,t)=>{for(var r=document.getElementsByTagName("link"),n=0;n<r.length;n++){var o=(a=r[n]).getAttribute("data-href")||a.getAttribute("href");if("stylesheet"===a.rel&&(o===e||o===t))return a}var i=document.getElementsByTagName("style");for(n=0;n<i.length;n++){var a;if((o=(a=i[n]).getAttribute("data-href"))===e||o===t)return a}})(n,o))return t();((e,t,r,n,o)=>{var i=document.createElement("link");i.rel="stylesheet",i.type="text/css",i.onerror=i.onload=r=>{if(i.onerror=i.onload=null,"load"===r.type)n();else{var a=r&&("load"===r.type?"missing":r.type),s=r&&r.target&&r.target.href||t,u=new Error("Loading CSS chunk "+e+" failed.\n("+s+")");u.code="CSS_CHUNK_LOAD_FAILED",u.type=a,u.request=s,i.parentNode&&i.parentNode.removeChild(i),o(u)}},i.href=t,r?r.parentNode.insertBefore(i,r.nextSibling):document.head.appendChild(i)})(e,o,null,t,r)})),t={826:0};a.f.miniCss=(r,n)=>{t[r]?n.push(t[r]):0!==t[r]&&{449:1,454:1,659:1}[r]&&n.push(t[r]=e(r).then((()=>{t[r]=0}),(e=>{throw delete t[r],e})))}}})(),(()=>{var e={826:0};a.f.j=(t,r)=>{var n=a.o(e,t)?e[t]:void 0;if(0!==n)if(n)r.push(n[2]);else{var o=new Promise(((r,o)=>n=e[t]=[r,o]));r.push(n[2]=o);var i=a.p+a.u(t),s=new Error;a.l(i,(r=>{if(a.o(e,t)&&(0!==(n=e[t])&&(e[t]=void 0),n)){var o=r&&("load"===r.type?"missing":r.type),i=r&&r.target&&r.target.src;s.message="Loading chunk "+t+" failed.\n("+o+": "+i+")",s.name="ChunkLoadError",s.type=o,s.request=i,n[1](s)}}),"chunk-"+t,t)}};var t=(t,r)=>{var n,o,[i,s,u]=r,c=0;if(i.some((t=>0!==e[t]))){for(n in s)a.o(s,n)&&(a.m[n]=s[n]);if(u)u(a)}for(t&&t(r);c<i.length;c++)o=i[c],a.o(e,o)&&e[o]&&e[o][0](),e[o]=0},r=self.webpackChunk_topwrite_reader=self.webpackChunk_topwrite_reader||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})(),a.nc=void 0;var s={};(()=>{"use strict";a.r(s),a.d(s,{Anchor:()=>We.Z,Article:()=>kt,BaseConfig:()=>t.l_,Book:()=>t.fy,Breadcrumb:()=>$t,Catalog:()=>Mt,CatalogItems:()=>Rt,CompositionInput:()=>t.D7,Config:()=>t.De,File:()=>t.$B,Helmet:()=>t.ql,InjectedComponent:()=>t.cu,InjectedComponentSet:()=>t.IA,IntlContext:()=>t.fH,LetterAvatar:()=>t.$q,Level:()=>t.aC,Link:()=>Le.Z,LoadingBar:()=>Ge,LocalizeProvider:()=>t.Wp,Logo:()=>Ie,Markdown:()=>Et,Model:()=>t.Hn,NavLink:()=>$e,PageLoader:()=>re,Plugin:()=>t.Sy,PoweredBy:()=>Re,Search:()=>qe,Summary:()=>t.ER,SummaryArticle:()=>t.oI,SummaryPart:()=>t.Lj,ThemeProvider:()=>t.f6,ToFirstArticle:()=>Ut,VERSION:()=>t.q4,aes:()=>t.rK,base64:()=>t.US,bootstrap:()=>Se,createApplication:()=>t.W3,createComponentDescriptor:()=>t.nC,createGlobalStyle:()=>t.vJ,createStorageSlot:()=>t.WA,css:()=>t.iv,date:()=>Ce,defineMessage:()=>t.Em,defineMessages:()=>t.vU,getPayload:()=>t.He,getPublicPath:()=>t.Ak,history:()=>d.m8,isEncryptedData:()=>t.oe,isMac:()=>t.V5,isRequestError:()=>t.N0,isUrl:()=>t.CB,keyframes:()=>t.F4,listStorageKeys:()=>t._f,loadjs:()=>t.j0,markdown:()=>t.JH,md5:()=>t.FB,pluginCenter:()=>t.YB,request:()=>t.WY,styled:()=>t.zo,useActions:()=>t.ol,useArticle:()=>de.ZP,useAsset:()=>Oe,useAssetUrl:()=>Pe,useAsync:()=>t.r5,useAsyncCallback:()=>t.UK,useAsyncEffect:()=>t.bd,useAsyncFetchMore:()=>t.r3,useBook:()=>t.CQ,useDebounce:()=>t.Nr,useDocumentTitle:()=>t.jr,useEvent:()=>t.zX,useEventTarget:()=>t.Rs,useFile:()=>ie.Z,useHotkeys:()=>t.y1,useInPreview:()=>Be,useIntl:()=>t.cw,useIntlContext:()=>t.mP,useLocalStorageState:()=>t.Rr,useLockBodyScroll:()=>_e,useLogo:()=>ye,useModel:()=>t.tT,useNextArticle:()=>de.VI,useOptions:()=>t.D2,usePrevArticle:()=>de.ir,usePrevious:()=>t.D9,useSelector:()=>t.v9,useStateWithCallback:()=>t.CM,useThemeConfig:()=>t.LU,useThemeContext:()=>t.TC,useThrottle:()=>t.fB,useTitle:()=>pe,useWindowScroll:()=>Te.Z,useWindowSize:()=>je.Z,windowSizes:()=>je.D});var e={};a.r(e),a.d(e,{ask:()=>Y,book:()=>A,page:()=>U,search:()=>V});var t=a(61091),r=a(35250),n=a(56065);t.$B.prototype[n.sc]=!0;var o=a(87790),i=a.n(o),u=a(45990),c=a.n(u),l=a(366),f=a.n(l),h=(a(81044),a(93344),a(63583),a(65251),a(38664),a(57930),a(69017),a(75591),a(7395),a(96853),a(68546),a(87363)),p=a.n(h),d=a(8192),m=(a(16585),a(11333),a(82357)),g=a.n(m),y=a(32078),v=a.n(y),b=a(33649),E=a.n(b),D=a(74158),w=a.n(D),x=a(12982),F=a.n(x);function S(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=F()(e);if(t){var o=F()(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return w()(this,r)}}var A=new(function(e){E()(r,e);var t=S(r);function r(){return v()(this,r),t.apply(this,arguments)}return g()(r)}(t.Hn)),k=a(44220),C=a.n(k),P=a(6322),O=a.n(P),j=a(58089),T=a.n(j),_=a(76985),B=a.n(_),R=a(529),I=a.n(R);a(82814),a(60337),a(72336),a(49778),a(27313),a(7190),a(61228),a(70776);function L(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=F()(e);if(t){var o=F()(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return w()(this,r)}}function M(e){var t,r,n,o=2;for("undefined"!=typeof Symbol&&(r=Symbol.asyncIterator,n=Symbol.iterator);o--;){if(r&&null!=(t=e[r]))return t.call(e);if(n&&null!=(t=e[n]))return new N(t.call(e));r="@@asyncIterator",n="@@iterator"}throw new TypeError("Object is not async iterable")}function N(e){function t(e){if(Object(e)!==e)return Promise.reject(new TypeError(e+" is not an object."));var t=e.done;return Promise.resolve(e.value).then((function(e){return{value:e,done:t}}))}return N=function(e){this.s=e,this.n=e.next},N.prototype={s:null,n:null,next:function(){return t(this.n.apply(this.s,arguments))},return:function(e){var r=this.s.return;return void 0===r?Promise.resolve({value:e,done:!0}):t(r.apply(this.s,arguments))},throw:function(e){var r=this.s.return;return void 0===r?Promise.reject(e):t(r.apply(this.s,arguments))}},new N(e)}var $=function(e){E()(n,e);var r=L(n);function n(){var e;v()(this,n);for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];return e=r.call.apply(r,[this].concat(i)),O()(C()(e),"initialState",{loading:!1,request:t.WY.create(),config:{}}),e}return g()(n,[{key:"subscription",value:function(e){var t=e.fetch,r=d.m8.location;d.m8.listen((function(e){var n=e.location;r.pathname!==n.pathname&&(t(n.pathname),requestAnimationFrame((function(){window.scrollTo(0,0)}))),r=n}))}},{key:"fetch",value:function(e){var r=this;return T()(f().mark((function n(){var o,a,s,u,c,l,h,p,d,m,g,y;return f().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,r.setState((function(e){e.loading=!0}));case 2:return n.delegateYield(I()(M(r.getState("book")),B()),"t0",3);case 3:return o=n.t0,n.delegateYield(I()(M(r.getState("page")),B()),"t1",5);case 5:if(a=n.t1,s=a.request,u=a.config,n.prev=8,l=decodeURI(e),h=function(){var e=i()(f().mark((function e(){var r,n;return f().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,s.get(l,u);case 2:return r=e.sent,n=r.data,e.abrupt("return","string"==typeof n?(0,t.He)(n):n);case 5:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),!o.sha||!("caches"in window)){n.next=30;break}return n.next=14,B()(caches.open("book-".concat(o.id,"-").concat(o.sha)));case 14:return p=n.sent,n.next=17,B()(p.match(l));case 17:if(!(d=n.sent)){n.next=22;break}return n.next=21,B()(d.json());case 21:c=n.sent;case 22:if(c){n.next=28;break}return n.next=25,B()(h());case 25:return c=n.sent,n.next=28,B()(p.put(l,new Response(JSON.stringify(c),{headers:{"Content-Type":"application/json"}})));case 28:n.next=33;break;case 30:return n.next=32,B()(h());case 32:c=n.sent;case 33:return g=(m=c).file,y=m.lfs,n.next=36,r.setState((function(e){e.file=new t.$B(g),e.lfs=y}));case 36:n.next=42;break;case 38:return n.prev=38,n.t2=n.catch(8),n.next=42,r.setState((function(e){e.error=n.t2}));case 42:return n.prev=42,n.next=45,r.setState((function(e){e.loading=!1}));case 45:return n.finish(42);case 46:case"end":return n.stop()}}),n,null,[[8,38,42,46]])})))()}},{key:"intercept",value:f().mark((function e(t){var r,n;return f().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.delegateYield(this.getState("page"),"t0",1);case 1:r=e.t0,n=r.request,t(n.interceptors);case 4:case"end":return e.stop()}}),e,this)}))},{key:"updateConfig",value:f().mark((function e(t){return f().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.setState((function(e){t(e.config)}));case 2:case"end":return e.stop()}}),e,this)}))}]),n}(t.Hn),U=new $;a(33394),a(62443),a(82122),a(25013);function z(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=F()(e);if(t){var o=F()(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return w()(this,r)}}function H(e){var t,r,n,o=2;for("undefined"!=typeof Symbol&&(r=Symbol.asyncIterator,n=Symbol.iterator);o--;){if(r&&null!=(t=e[r]))return t.call(e);if(n&&null!=(t=e[n]))return new q(t.call(e));r="@@asyncIterator",n="@@iterator"}throw new TypeError("Object is not async iterable")}function q(e){function t(e){if(Object(e)!==e)return Promise.reject(new TypeError(e+" is not an object."));var t=e.done;return Promise.resolve(e.value).then((function(e){return{value:e,done:t}}))}return q=function(e){this.s=e,this.n=e.next},q.prototype={s:null,n:null,next:function(){return t(this.n.apply(this.s,arguments))},return:function(e){var r=this.s.return;return void 0===r?Promise.resolve({value:e,done:!0}):t(r.apply(this.s,arguments))},throw:function(e){var r=this.s.return;return void 0===r?Promise.reject(e):t(r.apply(this.s,arguments))}},new q(e)}var V=new(function(e){E()(r,e);var t=z(r);function r(){var e;v()(this,r);for(var n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];return e=t.call.apply(t,[this].concat(o)),O()(C()(e),"initialState",{status:"idle",results:[],query:""}),e}return g()(r,[{key:"fetch",value:function(e){var t=this;return T()(f().mark((function r(){var n,o,i,a,s,u;return f().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(!(e=e.trim())){r.next=27;break}return r.next=4,t.setState((function(t){t.query=e,t.status="loading"}));case 4:return r.delegateYield(I()(H(t.getState("search")),B()),"t0",5);case 5:if(n=r.t0,o=n.handler,i=n.part,o){r.next=13;break}return r.delegateYield(I()(H(t.getState("book")),B()),"t1",10);case 10:a=r.t1,s=a.summary,o=function(){var t=[];return s.getArticle((function(r){var n=r.getPath();return r.title.includes(e)&&n&&t.push({title:r.title,path:n}),!1}),(function(e){return!i||e.level.toString()===i})),t};case 13:return r.prev=13,r.next=16,B()(o(e,i));case 16:return u=r.sent,r.next=19,t.setState((function(e){e.results=u,e.status="idle"}));case 19:r.next=25;break;case 21:return r.prev=21,r.t2=r.catch(13),r.next=25,t.setState((function(e){e.results=[],e.status="error"}));case 25:r.next=29;break;case 27:return r.next=29,t.setState((function(t){t.query=e,t.status="idle",t.results=[]}));case 29:case"end":return r.stop()}}),r,null,[[13,21]])})))()}},{key:"setPart",value:f().mark((function e(t){return f().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.setState((function(e){t!==e.part&&(e.query="",e.status="idle",e.results=[],e.part=t)}));case 2:case"end":return e.stop()}}),e,this)}))},{key:"setHandler",value:f().mark((function e(t){return f().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.setState((function(e){e.handler=t}));case 2:case"end":return e.stop()}}),e,this)}))}]),r}(t.Hn));function G(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=F()(e);if(t){var o=F()(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return w()(this,r)}}function W(e){var t,r,n,o=2;for("undefined"!=typeof Symbol&&(r=Symbol.asyncIterator,n=Symbol.iterator);o--;){if(r&&null!=(t=e[r]))return t.call(e);if(n&&null!=(t=e[n]))return new Q(t.call(e));r="@@asyncIterator",n="@@iterator"}throw new TypeError("Object is not async iterable")}function Q(e){function t(e){if(Object(e)!==e)return Promise.reject(new TypeError(e+" is not an object."));var t=e.done;return Promise.resolve(e.value).then((function(e){return{value:e,done:t}}))}return Q=function(e){this.s=e,this.n=e.next},Q.prototype={s:null,n:null,next:function(){return t(this.n.apply(this.s,arguments))},return:function(e){var r=this.s.return;return void 0===r?Promise.resolve({value:e,done:!0}):t(r.apply(this.s,arguments))},throw:function(e){var r=this.s.return;return void 0===r?Promise.reject(e):t(r.apply(this.s,arguments))}},new Q(e)}var K,Y=new(function(e){E()(r,e);var t=G(r);function r(){var e;v()(this,r);for(var n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];return e=t.call.apply(t,[this].concat(o)),O()(C()(e),"initialState",{enable:!1,status:"idle",query:"",answer:""}),e}return g()(r,[{key:"fetch",value:function(e){var t=this;return T()(f().mark((function r(){var n,o,i,a,s;return f().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(!(e=e.trim())){r.next=31;break}return r.delegateYield(I()(W(t.getState("ask")),B()),"t0",3);case 3:if(n=r.t0,o=n.handler,i=n.part,!o){r.next=31;break}return r.prev=7,r.next=10,t.setState((function(t){t.query=e,t.status="loading",t.answer=""}));case 10:return r.next=12,B()(o(e,i));case 12:return a=r.sent,r.next=15,t.setState((function(e){e.status="stalled"}));case 15:s=f().mark((function e(){var r,n,o;return f().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,B()(a.read());case 2:if(r=e.sent,n=r.done,o=r.value,!n){e.next=7;break}return e.abrupt("return","break");case 7:return e.next=9,t.setState((function(e){e.answer+=o}));case 9:case"end":return e.stop()}}),e)}));case 16:return r.delegateYield(s(),"t1",18);case 18:if("break"!==r.t1){r.next=21;break}return r.abrupt("break",23);case 21:r.next=16;break;case 23:return r.next=25,t.setState((function(e){e.status="idle"}));case 25:r.next=31;break;case 27:return r.prev=27,r.t2=r.catch(7),r.next=31,t.setState((function(e){e.answer="",e.status="error"}));case 31:case"end":return r.stop()}}),r,null,[[7,27]])})))()}},{key:"setPart",value:f().mark((function e(t){return f().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.setState((function(e){t!==e.part&&(e.query="",e.answer="",e.status="idle",e.part=t)}));case 2:case"end":return e.stop()}}),e,this)}))},{key:"setHandler",value:f().mark((function e(t){return f().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.setState((function(e){e.handler=t,e.enable=!!t}));case 2:case"end":return e.stop()}}),e,this)}))}]),r}(t.Hn)),Z=a(52815),J=a(28056),X=a.n(J);const ee=t.zo.div(K||(K=X()(["\n @keyframes spinner-border {\n to {\n transform: rotate(360deg)\n }\n }\n\n display: inline-block;\n width: 2rem;\n height: 2rem;\n vertical-align: -0.125em;\n border: 0.25em solid #3c60ff;\n border-right-color: transparent;\n border-radius: 50%;\n animation: 0.75s linear infinite spinner-border;\n"])));var te;function re(){return(0,r.jsx)(oe,{children:(0,r.jsx)(ee,{})})}var ne,oe=t.zo.div(te||(te=X()(["\n position: fixed;\n top: 0;\n left: 0;\n height: 100vh;\n width: 100vw;\n display: flex;\n align-items: center;\n justify-content: center;\n"]))),ie=a(50892),ae=a(47851),se=a.n(ae),ue=(0,h.createContext)(void 0);function ce(e){var n=e.children,o=(0,ie.Z)(),a=(0,t.LU)(),s=(0,t.r5)(i()(f().mark((function e(){var r,n;return f().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,t.WY)(o.relative(t.fy.style));case 2:return r=e.sent,n=r.data,e.abrupt("return",n);case 5:case"end":return e.stop()}}),e)}))),[]),u=s.result,c=s.loading,l=(0,h.useMemo)((function(){return{primaryColor:new(se())(a.primaryColor)}}),[a]);return c?null:(0,r.jsx)(ue.Provider,{value:u,children:(0,r.jsxs)(t.f6,{theme:l,children:[(0,r.jsx)(le,{}),n]})})}var le=(0,t.vJ)(ne||(ne=X()(["\n :root {\n --ttw-primary-color: ",";\n }\n"])),(function(e){return e.theme.primaryColor.toString()}));var fe=a(12147),he=a.n(fe);a(43934),a(17915);function pe(){var e=(0,t.cw)();return(0,t.CQ)().config.getValue("title",e.formatMessage({id:"n24ytq",defaultMessage:[{type:0,value:"未命名文档"}]}))}var de=a(54718),me=(a(66164),a(7525),(0,h.createContext)(void 0));function ge(e){var n=e.children,o=(0,h.useState)((function(){return"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII="})),i=c()(o,2),a=i[0],s=i[1],u=(0,ie.Z)();return(0,h.useEffect)((function(){var e=u.relative(t.fy.logo),r=new Image;r.addEventListener("load",(function(){var e=document.createElement("canvas");e.height=this.height,e.width=this.width;var t=e.getContext("2d");t&&(t.drawImage(this,0,0),e.toBlob((function(e){e&&s(window.URL.createObjectURL(e))})))})),r.src=e}),[]),(0,r.jsx)(me.Provider,{value:a,children:n})}function ye(){return(0,h.useContext)(me)}var ve=a(22827),be=p().lazy((function(){return Promise.all([a.e(347),a.e(659)]).then(a.bind(a,10659))}));function Ee(){var e=(0,t.CQ)().summary,n=pe(),o=(0,ie.Z)(),i=(0,h.useMemo)((function(){return e.getArticle((function(e){return e.getPath()===o.path}))}),[e,o]);(0,h.useEffect)((function(){window.parent!==window&&(window.addEventListener("message",(function(e){try{var t=he()(e.data),r=t[0],n=t[1],o=t.slice(2);if("history"===r)switch(n){case"replace":d.m8.replace(o[0]);break;case"push":d.m8.push(o[0])}}catch(e){}})),d.m8.listen((function(e){var t="".concat(window.location.origin).concat((0,ve.Ep)(e.location));window.parent.postMessage(["history",e.action.toLowerCase(),t],"*")})),window.parent.postMessage(["bootstrapped"],"*")),window.dispatchEvent(new Event("bootstrapped"))}),[]);var a=ye();return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(t.ql,{children:[(0,r.jsx)("title",{children:"".concat(i?"".concat(i.title," - "):"").concat(n)}),(0,r.jsx)("link",{rel:"shortcut icon",href:a,type:"image/png"})]}),(0,r.jsxs)(de.Q3.Provider,{value:i,children:[(0,r.jsx)(t.cu,{role:"app"}),(0,r.jsx)(t.cu,{role:"page"}),(0,r.jsx)(p().Suspense,{fallback:null,children:(0,r.jsx)(t.cu,{role:"page:menu",component:be})})]})]})}var De=a(47354),we=a.n(De);function xe(){var n=(0,h.useState)(),o=c()(n,2),s=o[0],u=o[1];return(0,t.bd)(i()(f().mark((function n(){var o,s,c,l,h,p,m,g,y,v,b,E,D,w,x,F,S,A,k,C;return f().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(n.prev=0,o=(0,d.fi)(),s=o.location,c=(0,t.He)()){n.next=8;break}return n.next=6,t.WY.get(s.toString());case 6:l=n.sent,c=l.data;case 8:return p=(h=c).id,m=h.sha,g=h.summary,y=h.file,v=h.config,b=void 0===v?{}:v,E=h.options,D=void 0===E?{}:E,w=h.lfs,x=h.pluginCenter,b=t.De.createFromObject(b),g=t.ER.create(g),F=new t.fy(p,b,g,m),S={page:{config:{params:Z.parse(s.search)},file:new t.$B(y),lfs:w},options:D},n.next=15,(0,t.W3)({name:"reader",book:F,models:e,initialState:S,locale:b.getValue("language","zh-CN"),localize:function(){var e=i()(f().mark((function e(t){return f().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t.startsWith("zh")){e.next=7;break}return e.next=3,a.e(769).then(a.t.bind(a,87769,23));case 3:return we().locale("zh-cn"),e.abrupt("return",a.e(267).then(a.t.bind(a,53267,19)));case 7:return e.abrupt("return",a.e(7).then(a.t.bind(a,82007,19)));case 8:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),pluginCenter:x});case 15:A=n.sent,k=(0,r.jsx)(A,{children:(0,r.jsx)(ge,{children:(0,r.jsx)(ce,{children:(0,r.jsx)(Ee,{})})})}),u(k),n.next=24;break;case 20:n.prev=20,n.t0=n.catch(0),console.error(n.t0),t.WY.isAxiosError(n.t0)?u((null===(C=n.t0.response)||void 0===C?void 0:C.data)||n.t0.message):u(n.t0.message);case 24:case"end":return n.stop()}}),n,null,[[0,20]])}))),[]),s||(0,r.jsx)(re,{})}var Fe=a(61533);const Se=function(){var e=document.getElementById("root");e&&(0,Fe.createRoot)(e).render((0,r.jsx)(xe,{}))};a(80532),a(83473),a(51913),a(43050),a(98006);var Ae=a(82386),ke=a.n(Ae);Date.prototype.format=function(e){var t={"M+":this.getMonth()+1,"d+":this.getDate(),"h+":this.getHours(),"m+":this.getMinutes(),"s+":this.getSeconds(),"q+":Math.floor((this.getMonth()+3)/3),S:this.getMilliseconds()};for(var r in/(y+)/.test(e)&&(e=e.replace(RegExp.$1,(this.getFullYear()+"").substr(4-RegExp.$1.length))),t)new RegExp("("+r+")").test(e)&&(e=e.replace(RegExp.$1,1==RegExp.$1.length?t[r]:("00"+t[r]).substr((""+t[r]).length)));return e},we().extend(ke());const Ce=we();function Pe(e){var r=(0,t.v9)("page"),n=r.lfs,o=r.file;if(n){var i=n.url,a=n.files[e];if(a)return i.replace("{oid}",a)}return o.relative(e)}function Oe(){var e=(0,t.v9)("page"),r=e.lfs,n=e.file;return{getUrl:function(e){if((0,t.CB)(e))return e;if(r){var o=r.url,i=r.files[e];if(i)return o.replace("{oid}",i)}return n.relative(e)},upload:function(e,t){throw new Error("upload not support in reader context")}}}var je=a(4286),Te=a(77852);function _e(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];(0,h.useEffect)((function(){if(e)return document.body.style.overflow="hidden",t&&window.scrollTo(0,0),function(){document.body.style.overflow="visible"}}),[e])}function Be(){var e=(0,t.v9)("options").preview;return void 0!==e&&e}a(53915),a(23740);function Re(e){var n=e.className,o=(0,t.cw)(),i=(0,t.v9)("options").poweredBy;return i?(0,r.jsx)("div",{className:n,children:o.formatMessage({id:"YMZgTe",defaultMessage:[{type:0,value:"由 "},{type:1,value:"link"},{type:0,value:" 强力驱动"}]},{link:(0,r.jsx)("a",{href:i.link,target:"_blank",children:i.name})})}):null}function Ie(e){var t=e.size,n=void 0===t?60:t,o=e.className,i=ye();return(0,r.jsx)("img",{className:o,src:i,width:n,height:n,alt:"logo"})}var Le=a(91223),Me=a(18887),Ne=a.n(Me);function $e(e){var n=e.url,o=e.title,i=e.className,a=(0,t.CQ)().summary;if(!n.startsWith("http")&&".md"===Ne().extname(n)){var s=a.getArticle((function(e){return e.ref===n}));if(s)return(0,r.jsx)(Le.Z,{className:i,to:s,children:o})}return(0,r.jsx)("a",{className:i,href:n,target:"_blank",children:o})}a(25444),a(44703),a(19855),a(77389),a(37607),a(55126),a(87462),a(5148);function Ue(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ze(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ue(Object(r),!0).forEach((function(t){O()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ue(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var He=(0,h.lazy)((function(){return a.e(454).then(a.bind(a,55454))}));function qe(e){return(0,r.jsx)(h.Suspense,{fallback:null,children:(0,r.jsx)(He,ze({},e))})}var Ve=(0,h.lazy)((function(){return Promise.all([a.e(331),a.e(449)]).then(a.bind(a,97449))}));function Ge(){return(0,r.jsx)(h.Suspense,{fallback:null,children:(0,r.jsx)(Ve,{})})}var We=a(92159),Qe=a(64020),Ke=a.n(Qe),Ye=a(34889),Ze=a.n(Ye),Je=["element","src"];function Xe(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function et(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Xe(Object(r),!0).forEach((function(t){O()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Xe(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function tt(e){var n=e.element,o=e.src,i=Ze()(e,Je),a=(0,t.v9)("page"),s=a.lfs,u=a.file;if(o&&s&&!(0,t.CB)(o)&&u){var c=s.url,l=s.files[u.resolve(decodeURIComponent(o))];l&&(o=c.replace("{oid}",l))}return(0,r.jsx)(t.cu,{role:"page:asset",props:et({src:o},i),component:n})}function rt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function nt(e){return(0,r.jsx)(tt,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?rt(Object(r),!0).forEach((function(t){O()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):rt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({element:"img"},e))}function ot(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function it(e){return(0,r.jsx)(tt,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ot(Object(r),!0).forEach((function(t){O()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ot(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({element:"t-attachment"},e))}function at(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function st(e){return(0,r.jsx)(tt,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?at(Object(r),!0).forEach((function(t){O()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):at(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({element:"video"},e))}function ut(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ct(e){return(0,r.jsx)(tt,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ut(Object(r),!0).forEach((function(t){O()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ut(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({element:"audio"},e))}function lt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ft(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?lt(Object(r),!0).forEach((function(t){O()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):lt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function ht(e){var t=(0,de.ZP)();return(0,r.jsx)(We.Z,ft(ft({},e),{},{base:t}))}var pt,dt,mt,gt,yt=["children","components"];function vt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function bt(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?vt(Object(r),!0).forEach((function(t){O()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):vt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Et(e){var n=e.children,o=e.components,i=Ze()(e,yt),a=(0,h.useContext)(ue);return(0,r.jsx)(t.UG,bt(bt({},i),{},{css:a,loader:(0,r.jsx)(ee,{}),components:(0,h.useMemo)((function(){return bt({a:ht,img:nt,attachment:it,video:st,audio:ct},o)}),[o]),children:n}))}var Dt=["depth","id","children"],wt=["className","header","footer","offset","aside"];function xt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ft(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?xt(Object(r),!0).forEach((function(t){O()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):xt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var St={heading:function(e){var t=e.depth,n=e.id,o=e.children,i=Ze()(e,Dt);return n&&(o=(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(Ct,{tabIndex:-1,id:n}),o]})),(0,h.createElement)("h".concat(t),i,o)}},At=function(e){if(e){var t=document.getElementById(decodeURIComponent(e).substr(1));t&&window.scrollTo(0,t.offsetTop)}};function kt(e){var n=e.className,o=e.header,i=e.footer,a=e.offset,s=e.aside,u=void 0===s||s,c=Ze()(e,wt),l=(0,ie.Z)(),f=(0,de.ZP)();(0,h.useEffect)((function(){At(d.m8.location.hash);var e=d.m8.listen((function(e){At(e.location.hash)}));return function(){e()}}),[l.path]),void 0===o&&f&&(o=(0,r.jsx)(Ot,{children:f.title})),o=(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(t.IA,{role:"page:article:before"}),o,(0,r.jsx)(t.IA,{role:"page:article:content:before"})]}),i=(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(t.IA,{role:"page:article:content:after"}),i,(0,r.jsx)(t.IA,{role:"page:article:after"})]}),u&&(u={header:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(t.IA,{role:"page:article:aside:before"}),"object"===Ke()(u)&&u.header]}),footer:(0,r.jsxs)(r.Fragment,{children:["object"===Ke()(u)&&u.footer,(0,r.jsx)(t.IA,{role:"page:article:aside:after"})]})});var p=(0,r.jsx)(t.cu,{role:"page:article:markdown",component:Et,props:Ft({header:o,footer:i,aside:u,children:l.content,components:St},c)});return(0,r.jsx)(Pt,{className:n,offset:a,children:p},l.path)}var Ct=t.zo.a(pt||(pt=X()(["\n display: block;\n position: relative;\n top: -.5em;\n"]))),Pt=t.zo.div(dt||(dt=X()(["\n ","\n"])),(function(e){return e.offset&&(0,t.iv)(mt||(mt=X()(["\n "," {\n top: calc(-.5em - ","px);\n }\n "])),Ct,e.offset)})),Ot=t.zo.h1(gt||(gt=X()(["\n border-bottom: 1px solid #eee;\n font-size: 2em;\n line-height: 1.2;\n padding: 0 0 .5em;\n margin: 0 0 1em;\n font-weight: 400;\n"]))),jt=a(45471),Tt=a.n(jt),_t=(a(8213),a(94332),function(e){var n=e.item,o=e.itemComponent,i=e.itemsComponent,a=(0,ie.Z)().path,s=(0,de.ZP)(),u=(0,t.LU)(),l=(0,h.useMemo)((function(){return Boolean(s&&n.getLevel().isDescendant(s.getLevel()))}),[n,s]),f=a===n.getPath(),p=(0,h.useState)((function(){return-1===u.expandLevel||u.expandLevel>=n.level.getDepth()||(l||f)})),d=c()(p,2),m=d[0],g=d[1];(0,h.useEffect)((function(){!m&&f&&g(!0)}),[f]),(0,h.useEffect)((function(){!m&&l&&g(!0)}),[l]);var y=n.children.length>0,v=!n.getPath(),b=y?(0,r.jsx)(Rt,{itemsComponent:i,itemComponent:o,items:n.children}):null;return(0,r.jsx)(t.cu,{role:"catalog:item",props:{item:n,open:m,setOpen:g,active:f,disabled:v,activeDescendant:l,children:b},component:o})}),Bt=function(e){var t=e.children;return(0,r.jsx)("ul",{children:t})},Rt=function(e){var n=e.items,o=e.part,i=e.itemsComponent,a=void 0===i?Bt:i,s=e.itemComponent,u=(0,r.jsx)(r.Fragment,{children:n.map((function(e){return(0,r.jsx)(_t,{itemsComponent:a,itemComponent:s,item:e},e.level.toString())}))});return(0,r.jsx)(t.cu,{role:"catalog:items",props:{part:o,children:u},component:a})},It=function(e){var n=e.part,o=e.component,i=e.itemsComponent,a=e.itemComponent,s=(0,r.jsx)(Rt,{itemsComponent:i,itemComponent:a,items:n.articles,part:n});return(0,r.jsx)(t.cu,{role:"catalog:part",props:{part:n,children:s},component:o})},Lt=function(e){var t=e.summary,n=e.partComponent,o=e.itemsComponent,i=e.itemComponent;return t.isSinglePart()?(0,r.jsx)(Rt,{itemsComponent:o,itemComponent:i,items:t.getLastPart().getArticles()}):(0,r.jsx)(r.Fragment,{children:t.parts.map((function(e){return(0,r.jsx)(It,{component:n,itemsComponent:o,itemComponent:i,part:e},e.level.toString())}))})};function Mt(e){var n=Object.assign({},(Tt()(e),e)),o=(0,t.v9)("book").summary,i=n.renderItem,a=n.renderPart;i&&(console.warn("renderItem deprecated"),n.itemComponent=i),a&&(console.warn("renderPart deprecated"),n.partComponent=a);var s=n.partComponent,u=n.itemsComponent,c=n.itemComponent;return(0,r.jsx)(Lt,{summary:o,partComponent:s,itemsComponent:u,itemComponent:c})}a(75041);var Nt=function(e){return e instanceof t.oI?(0,r.jsx)(Le.Z,{to:e}):e.title};function $t(e){var n=e.className,o=e.renderItem,i=void 0===o?Nt:o,a=(0,t.CQ)().summary,s=(0,de.ZP)(),u=(0,t.cw)().formatMessage({id:"4R5GEq",defaultMessage:[{type:0,value:"首页"}]}),c=[(0,r.jsx)("li",{children:(0,r.jsx)(Le.Z,{to:".",children:u})},"0")];if(s){var l=s.getLevel();l.data.reduce((function(e,n){e.push(n);var o,s=new t.aC(e),u=a.getByLevel(s);u&&(o=s.eq(l)?u.title:i(u),c.push((0,r.jsx)("li",{children:o},s.toString())));return e}),[])}return(0,r.jsx)("ol",{className:n,children:c})}function Ut(e){var r=e.children,n=(0,t.CQ)().summary,o=(0,de.ZP)(),i=(0,ie.Z)();return(0,h.useEffect)((function(){if(!o){var e=n.getFirstArticle();e&&d.m8.replace(i.relative(e.path))}}),[o]),o?r:null}!function(){console.log("%cWelcome to TopWrite!%c\n","padding-top: 0.5em; font-size: 2em;","padding-bottom: 0.5em;");var e=a(4147);console.log("[ua:version] ".concat(navigator.userAgent)),console.log("[client:version] v".concat(e.version))}()})(),window.TopWrite=s})();
361
361
  //# sourceMappingURL=index.js.map