comp-hub 0.1.13 → 0.1.14

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.
Files changed (39) hide show
  1. package/dist/index.js +1 -1
  2. package/dist/website/dist/assets/{atom-one-dark-Bkn3VP4M.js → atom-one-dark-BwmybF0s.js} +1 -1
  3. package/dist/website/dist/assets/{index-Bhvb4p31.js → index-B1ZA_Gp3.js} +1 -1
  4. package/dist/website/dist/assets/index-B64KcJZG.js +1 -0
  5. package/dist/website/dist/assets/index-BDDqCvkc.js +1 -0
  6. package/dist/website/dist/assets/{index-CB8nyH-_.js → index-Bga5l3sA.js} +1 -1
  7. package/dist/website/dist/assets/{index-DwGS0Op7.js → index-Bix0h4dT.js} +5 -5
  8. package/dist/website/dist/assets/index-C3pHoUWG.js +1 -0
  9. package/dist/website/dist/assets/{index-BW6kVljm.js → index-C6ykT5DB.js} +1 -1
  10. package/dist/website/dist/assets/{index-DzrT0VOu.js → index-C78mSqAp.js} +1 -1
  11. package/dist/website/dist/assets/index-CJS-qcNg.js +1 -0
  12. package/dist/website/dist/assets/index-CbSqrxm2.js +1 -0
  13. package/dist/website/dist/assets/{index-Dm4jFJxt.js → index-Cp2VkTzN.js} +1 -1
  14. package/dist/website/dist/assets/index-CpiNrXF0.js +1 -0
  15. package/dist/website/dist/assets/{index-CIBARELv.js → index-DZKQQB5Z.js} +1 -1
  16. package/dist/website/dist/assets/{index-B1BP0nvv.js → index-DuA_FMrx.js} +37 -27
  17. package/dist/website/dist/assets/{index-CRFpFKvC.css → index-LH-PwDzI.css} +1 -1
  18. package/dist/website/dist/assets/{index-DF7AG7ST.js → index-MmOZc86g.js} +1 -1
  19. package/dist/website/dist/assets/{index-BssohZIT.js → index-c8iDd6t4.js} +1 -1
  20. package/dist/website/dist/assets/{index-B_7h8RU-.js → index-qqhGQ9ov.js} +37 -37
  21. package/dist/website/dist/assets/{index.vue_vue_type_script_setup_true_lang-NjlsfCcn.js → index.vue_vue_type_script_setup_true_lang-BdvpltCF.js} +1 -1
  22. package/dist/website/dist/assets/{index.vue_vue_type_script_setup_true_lang-Huh-hfVs.js → index.vue_vue_type_script_setup_true_lang-Bzeh0ahZ.js} +1 -1
  23. package/dist/website/dist/assets/index.vue_vue_type_script_setup_true_lang-C4cvy6a2.js +1 -0
  24. package/dist/website/dist/assets/{index.vue_vue_type_script_setup_true_lang-DfsCnqsS.js → index.vue_vue_type_script_setup_true_lang-CDCqDNpH.js} +1 -1
  25. package/dist/website/dist/assets/{index.vue_vue_type_style_index_0_lang-DZZ_0S9A.js → index.vue_vue_type_style_index_0_lang-D1ljrTvy.js} +1 -1
  26. package/dist/website/dist/assets/{md5-Bj8dOOoI.js → md5-DgSw8kO8.js} +1 -1
  27. package/dist/website/dist/index.html +2 -1
  28. package/dist/website/dist/js/vue2-sfc-loader.js +1 -1
  29. package/dist/website/dist/js/vue3-sfc-loader.js +1 -1
  30. package/dist/website/dist/md/COMP_REPEAT.md +20 -20
  31. package/dist/website/dist/md/PUT_TREATY.md +68 -68
  32. package/package.json +1 -1
  33. package/dist/website/dist/assets/index-6cwYvCpb.js +0 -1
  34. package/dist/website/dist/assets/index-BeyuLT3y.js +0 -1
  35. package/dist/website/dist/assets/index-Bjde2iaV.js +0 -1
  36. package/dist/website/dist/assets/index-C5tOMape.js +0 -1
  37. package/dist/website/dist/assets/index-DLia3q8g.js +0 -1
  38. package/dist/website/dist/assets/index-yEA57PDq.js +0 -1
  39. package/dist/website/dist/assets/index.vue_vue_type_script_setup_true_lang-CxwyQ8cG.js +0 -1
@@ -1 +1 @@
1
- import{d as o,h as s,ao as r}from"./index-B_7h8RU-.js";const i=o({__name:"index",setup(l){const e=s(!1);function n(){e.value=!0}function a(){e.value=!1}return(t,u)=>r(t.$slots,"default",{instance:{start:n,end:a},loading:e.value})}});export{i as _};
1
+ import{d as o,h as s,ao as r}from"./index-qqhGQ9ov.js";const i=o({__name:"index",setup(l){const e=s(!1);function n(){e.value=!0}function a(){e.value=!1}return(t,u)=>r(t.$slots,"default",{instance:{start:n,end:a},loading:e.value})}});export{i as _};
@@ -1 +1 @@
1
- import{_ as g,T as A,B as L}from"./index-yEA57PDq.js";import{h as k,a0 as P,a1 as M,d as x,i as N,a2 as S,A as f,o as m,r as c,a3 as I,w as r,b as n,a4 as h,f as C,a5 as v,k as b,a6 as z,c as E,F as B,a7 as D,u as O,t as V,R as G,a8 as $,a9 as q,n as K,a as R}from"./index-B_7h8RU-.js";function T(){const _=k(!0);return P(()=>{_.value=!0}),M(()=>{_.value=!1}),_}const j=x({__name:"index",setup(_){const t=N({keyword:""}),s=v("compListStore"),l=T(),i=()=>{s.setQuery({...s.query,keyword:t.keyword})},a=()=>{t.keyword="",s.setQuery({...s.query,keyword:""})};return S(()=>s.query.keyword,(u,e)=>{u!==e&&l.value&&s.getCompList()}),(u,e)=>{const o=c("el-input"),p=c("el-form-item"),d=c("el-button"),y=c("el-form");return m(),f(y,{inline:!0,model:t,"label-width":"auto",onSubmit:e[1]||(e[1]=I(()=>{},["prevent"]))},{default:r(()=>[n(p,{label:"关键词:"},{default:r(()=>[n(o,{modelValue:t.keyword,"onUpdate:modelValue":e[0]||(e[0]=w=>t.keyword=w),modelModifiers:{trim:!0},placeholder:"组件名/组件描述",onKeyup:h(i,["enter"])},null,8,["modelValue"])]),_:1}),n(p,null,{default:r(()=>[n(d,{type:"primary",onClick:i},{default:r(()=>[...e[2]||(e[2]=[C("查询",-1)])]),_:1}),n(d,{type:"primary",onClick:a},{default:r(()=>[...e[3]||(e[3]=[C("重置",-1)])]),_:1})]),_:1})]),_:1},8,["model"])}}}),F={class:"flex justify-start mb-[5px]"},Q=x({__name:"index",setup(_){const t=v("compListStore"),s=T();function l(a){return a.value===t.selectTag}const i=a=>{t.setSelectTag(a.value)};return S(()=>t.selectTag,(a,u)=>{!a||a===u||s.value&&t.getCompList()}),b(()=>{t.selectTag&&z(t.selectTag)}),(a,u)=>{const e=c("el-button");return m(),E("div",F,[(m(!0),E(B,null,D(O(t).tagGroup,o=>(m(),f(e,{type:l(o)?"primary":"default",text:"",key:o.label,value:o.value,onClick:p=>i(o)},{default:r(()=>[C(V(o.label),1)]),_:2},1032,["type","value","onClick"]))),128))])}}}),U={class:"bg-[#fff] rounded-sm p-[10px]"},Y=x({__name:"index",setup(_){const t=v("callbacks"),s=v("compListStore"),l=k(0),i=k("");function a(){l.value=0}async function u(e){return await s.getCompDetail(e||"")}return b(()=>{const e=l.value;e&&q(e.toString())}),t.set(G.OPEN_COMP_TERMINAL,e=>{const o=Number($());l.value=Math.max(o,500),i.value=e}),(e,o)=>{const p=c("el-splitter-panel"),d=c("el-splitter");return m(),f(d,null,{default:r(()=>[n(p,{min:400,class:"h-full min-w-[400px] flex flex-col gap-[10px]"},{default:r(()=>[R("div",U,[n(j),n(Q)]),n(g,{class:"flex-1"})]),_:1}),l.value?(m(),f(p,{key:0,size:l.value,"onUpdate:size":o[0]||(o[0]=y=>l.value=y),collapsible:""},{default:r(()=>[n(L,{title:"依赖安装",onClose:a},{default:r(()=>[n(A,{compId:i.value,getCompDetail:u},null,8,["compId"])]),_:1})]),_:1},8,["size"])):K("",!0)]),_:1})}}});export{Y as _};
1
+ import{_ as g,T as A,B as L}from"./index-CbSqrxm2.js";import{h as k,a0 as P,a1 as M,d as x,i as N,a2 as S,A as f,o as m,r as c,a3 as I,w as r,b as n,a4 as h,f as C,a5 as v,k as b,a6 as z,c as E,F as B,a7 as D,u as O,t as V,R as G,a8 as $,a9 as q,n as K,a as R}from"./index-qqhGQ9ov.js";function T(){const _=k(!0);return P(()=>{_.value=!0}),M(()=>{_.value=!1}),_}const j=x({__name:"index",setup(_){const t=N({keyword:""}),s=v("compListStore"),l=T(),i=()=>{s.setQuery({...s.query,keyword:t.keyword})},a=()=>{t.keyword="",s.setQuery({...s.query,keyword:""})};return S(()=>s.query.keyword,(u,e)=>{u!==e&&l.value&&s.getCompList()}),(u,e)=>{const o=c("el-input"),p=c("el-form-item"),d=c("el-button"),y=c("el-form");return m(),f(y,{inline:!0,model:t,"label-width":"auto",onSubmit:e[1]||(e[1]=I(()=>{},["prevent"]))},{default:r(()=>[n(p,{label:"关键词:"},{default:r(()=>[n(o,{modelValue:t.keyword,"onUpdate:modelValue":e[0]||(e[0]=w=>t.keyword=w),modelModifiers:{trim:!0},placeholder:"组件名/组件描述",onKeyup:h(i,["enter"])},null,8,["modelValue"])]),_:1}),n(p,null,{default:r(()=>[n(d,{type:"primary",onClick:i},{default:r(()=>[...e[2]||(e[2]=[C("查询",-1)])]),_:1}),n(d,{type:"primary",onClick:a},{default:r(()=>[...e[3]||(e[3]=[C("重置",-1)])]),_:1})]),_:1})]),_:1},8,["model"])}}}),F={class:"flex justify-start mb-[5px]"},Q=x({__name:"index",setup(_){const t=v("compListStore"),s=T();function l(a){return a.value===t.selectTag}const i=a=>{t.setSelectTag(a.value)};return S(()=>t.selectTag,(a,u)=>{!a||a===u||s.value&&t.getCompList()}),b(()=>{t.selectTag&&z(t.selectTag)}),(a,u)=>{const e=c("el-button");return m(),E("div",F,[(m(!0),E(B,null,D(O(t).tagGroup,o=>(m(),f(e,{type:l(o)?"primary":"default",text:"",key:o.label,value:o.value,onClick:p=>i(o)},{default:r(()=>[C(V(o.label),1)]),_:2},1032,["type","value","onClick"]))),128))])}}}),U={class:"bg-[#fff] rounded-sm p-[10px]"},Y=x({__name:"index",setup(_){const t=v("callbacks"),s=v("compListStore"),l=k(0),i=k("");function a(){l.value=0}async function u(e){return await s.getCompDetail(e||"")}return b(()=>{const e=l.value;e&&q(e.toString())}),t.set(G.OPEN_COMP_TERMINAL,e=>{const o=Number($());l.value=Math.max(o,500),i.value=e}),(e,o)=>{const p=c("el-splitter-panel"),d=c("el-splitter");return m(),f(d,null,{default:r(()=>[n(p,{min:400,class:"h-full min-w-[400px] flex flex-col gap-[10px]"},{default:r(()=>[R("div",U,[n(j),n(Q)]),n(g,{class:"flex-1"})]),_:1}),l.value?(m(),f(p,{key:0,size:l.value,"onUpdate:size":o[0]||(o[0]=y=>l.value=y),collapsible:""},{default:r(()=>[n(L,{title:"依赖安装",onClose:a},{default:r(()=>[n(A,{compId:i.value,getCompDetail:u},null,8,["compId"])]),_:1})]),_:1},8,["size"])):K("",!0)]),_:1})}}});export{Y as _};
@@ -0,0 +1 @@
1
+ import{d as r,bx as c,j as p,A as u,o as m,aE as d,aT as f,u as l,by as _,aV as i}from"./index-qqhGQ9ov.js";const A=r({__name:"index",setup(x){const s=i(),t=c(),o={modal:!0,appendToBody:!0},a=p(()=>({...o,...t}));function n(e){s&&(s.exposed=e||{},s.exposeProxy=e||{})}return(e,g)=>(m(),u(d(f(l(_),{...a.value,ref:n},e.$slots))))}});export{A as _};
@@ -1,4 +1,4 @@
1
- import{h as de,j as Te,bv as ie,al as Me,bw as Oe,d as Pe,bx as Ie,k as Fe,D as He,G as We,A as Ue,o as Ne,w as $e,aa as je,by as ze,a as Ke}from"./index-B_7h8RU-.js";var Se={exports:{}},xe;function qe(){return xe||(xe=1,(function(Q,J){(function(Y,K){Q.exports=K()})(globalThis,(()=>(()=>{var Y={4567:function(d,s,o){var h=this&&this.__decorate||function(e,i,a,v){var p,m=arguments.length,u=m<3?i:v===null?v=Object.getOwnPropertyDescriptor(i,a):v;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")u=Reflect.decorate(e,i,a,v);else for(var S=e.length-1;S>=0;S--)(p=e[S])&&(u=(m<3?p(u):m>3?p(i,a,u):p(i,a))||u);return m>3&&u&&Object.defineProperty(i,a,u),u},f=this&&this.__param||function(e,i){return function(a,v){i(a,v,e)}};Object.defineProperty(s,"__esModule",{value:!0}),s.AccessibilityManager=void 0;const n=o(9042),l=o(9924),_=o(844),g=o(4725),c=o(2585),t=o(3656);let r=s.AccessibilityManager=class extends _.Disposable{constructor(e,i,a,v){super(),this._terminal=e,this._coreBrowserService=a,this._renderService=v,this._rowColumns=new WeakMap,this._liveRegionLineCount=0,this._charsToConsume=[],this._charsToAnnounce="",this._accessibilityContainer=this._coreBrowserService.mainDocument.createElement("div"),this._accessibilityContainer.classList.add("xterm-accessibility"),this._rowContainer=this._coreBrowserService.mainDocument.createElement("div"),this._rowContainer.setAttribute("role","list"),this._rowContainer.classList.add("xterm-accessibility-tree"),this._rowElements=[];for(let p=0;p<this._terminal.rows;p++)this._rowElements[p]=this._createAccessibilityTreeNode(),this._rowContainer.appendChild(this._rowElements[p]);if(this._topBoundaryFocusListener=p=>this._handleBoundaryFocus(p,0),this._bottomBoundaryFocusListener=p=>this._handleBoundaryFocus(p,1),this._rowElements[0].addEventListener("focus",this._topBoundaryFocusListener),this._rowElements[this._rowElements.length-1].addEventListener("focus",this._bottomBoundaryFocusListener),this._refreshRowsDimensions(),this._accessibilityContainer.appendChild(this._rowContainer),this._liveRegion=this._coreBrowserService.mainDocument.createElement("div"),this._liveRegion.classList.add("live-region"),this._liveRegion.setAttribute("aria-live","assertive"),this._accessibilityContainer.appendChild(this._liveRegion),this._liveRegionDebouncer=this.register(new l.TimeBasedDebouncer(this._renderRows.bind(this))),!this._terminal.element)throw new Error("Cannot enable accessibility before Terminal.open");this._terminal.element.insertAdjacentElement("afterbegin",this._accessibilityContainer),this.register(this._terminal.onResize((p=>this._handleResize(p.rows)))),this.register(this._terminal.onRender((p=>this._refreshRows(p.start,p.end)))),this.register(this._terminal.onScroll((()=>this._refreshRows()))),this.register(this._terminal.onA11yChar((p=>this._handleChar(p)))),this.register(this._terminal.onLineFeed((()=>this._handleChar(`
1
+ import{h as de,j as Te,bz as ie,al as Me,bA as Oe,d as Pe,bB as Ie,k as Fe,D as He,G as We,A as Ue,o as Ne,w as $e,aa as je,bC as ze,a as Ke}from"./index-qqhGQ9ov.js";var Se={exports:{}},xe;function qe(){return xe||(xe=1,(function(Q,J){(function(Y,K){Q.exports=K()})(globalThis,(()=>(()=>{var Y={4567:function(d,s,o){var h=this&&this.__decorate||function(e,i,a,v){var p,m=arguments.length,u=m<3?i:v===null?v=Object.getOwnPropertyDescriptor(i,a):v;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")u=Reflect.decorate(e,i,a,v);else for(var S=e.length-1;S>=0;S--)(p=e[S])&&(u=(m<3?p(u):m>3?p(i,a,u):p(i,a))||u);return m>3&&u&&Object.defineProperty(i,a,u),u},f=this&&this.__param||function(e,i){return function(a,v){i(a,v,e)}};Object.defineProperty(s,"__esModule",{value:!0}),s.AccessibilityManager=void 0;const n=o(9042),l=o(9924),_=o(844),g=o(4725),c=o(2585),t=o(3656);let r=s.AccessibilityManager=class extends _.Disposable{constructor(e,i,a,v){super(),this._terminal=e,this._coreBrowserService=a,this._renderService=v,this._rowColumns=new WeakMap,this._liveRegionLineCount=0,this._charsToConsume=[],this._charsToAnnounce="",this._accessibilityContainer=this._coreBrowserService.mainDocument.createElement("div"),this._accessibilityContainer.classList.add("xterm-accessibility"),this._rowContainer=this._coreBrowserService.mainDocument.createElement("div"),this._rowContainer.setAttribute("role","list"),this._rowContainer.classList.add("xterm-accessibility-tree"),this._rowElements=[];for(let p=0;p<this._terminal.rows;p++)this._rowElements[p]=this._createAccessibilityTreeNode(),this._rowContainer.appendChild(this._rowElements[p]);if(this._topBoundaryFocusListener=p=>this._handleBoundaryFocus(p,0),this._bottomBoundaryFocusListener=p=>this._handleBoundaryFocus(p,1),this._rowElements[0].addEventListener("focus",this._topBoundaryFocusListener),this._rowElements[this._rowElements.length-1].addEventListener("focus",this._bottomBoundaryFocusListener),this._refreshRowsDimensions(),this._accessibilityContainer.appendChild(this._rowContainer),this._liveRegion=this._coreBrowserService.mainDocument.createElement("div"),this._liveRegion.classList.add("live-region"),this._liveRegion.setAttribute("aria-live","assertive"),this._accessibilityContainer.appendChild(this._liveRegion),this._liveRegionDebouncer=this.register(new l.TimeBasedDebouncer(this._renderRows.bind(this))),!this._terminal.element)throw new Error("Cannot enable accessibility before Terminal.open");this._terminal.element.insertAdjacentElement("afterbegin",this._accessibilityContainer),this.register(this._terminal.onResize((p=>this._handleResize(p.rows)))),this.register(this._terminal.onRender((p=>this._refreshRows(p.start,p.end)))),this.register(this._terminal.onScroll((()=>this._refreshRows()))),this.register(this._terminal.onA11yChar((p=>this._handleChar(p)))),this.register(this._terminal.onLineFeed((()=>this._handleChar(`
2
2
  `)))),this.register(this._terminal.onA11yTab((p=>this._handleTab(p)))),this.register(this._terminal.onKey((p=>this._handleKey(p.key)))),this.register(this._terminal.onBlur((()=>this._clearLiveRegion()))),this.register(this._renderService.onDimensionsChange((()=>this._refreshRowsDimensions()))),this.register((0,t.addDisposableDomListener)(document,"selectionchange",(()=>this._handleSelectionChange()))),this.register(this._coreBrowserService.onDprChange((()=>this._refreshRowsDimensions()))),this._refreshRows(),this.register((0,_.toDisposable)((()=>{this._accessibilityContainer.remove(),this._rowElements.length=0})))}_handleTab(e){for(let i=0;i<e;i++)this._handleChar(" ")}_handleChar(e){this._liveRegionLineCount<21&&(this._charsToConsume.length>0?this._charsToConsume.shift()!==e&&(this._charsToAnnounce+=e):this._charsToAnnounce+=e,e===`
3
3
  `&&(this._liveRegionLineCount++,this._liveRegionLineCount===21&&(this._liveRegion.textContent+=n.tooMuchOutput)))}_clearLiveRegion(){this._liveRegion.textContent="",this._liveRegionLineCount=0}_handleKey(e){this._clearLiveRegion(),new RegExp("\\p{Control}","u").test(e)||this._charsToConsume.push(e)}_refreshRows(e,i){this._liveRegionDebouncer.refresh(e,i,this._terminal.rows)}_renderRows(e,i){const a=this._terminal.buffer,v=a.lines.length.toString();for(let p=e;p<=i;p++){const m=a.lines.get(a.ydisp+p),u=[],S=(m==null?void 0:m.translateToString(!0,void 0,void 0,u))||"",k=(a.ydisp+p+1).toString(),L=this._rowElements[p];L&&(S.length===0?(L.innerText=" ",this._rowColumns.set(L,[0,1])):(L.textContent=S,this._rowColumns.set(L,u)),L.setAttribute("aria-posinset",k),L.setAttribute("aria-setsize",v))}this._announceCharacters()}_announceCharacters(){this._charsToAnnounce.length!==0&&(this._liveRegion.textContent+=this._charsToAnnounce,this._charsToAnnounce="")}_handleBoundaryFocus(e,i){const a=e.target,v=this._rowElements[i===0?1:this._rowElements.length-2];if(a.getAttribute("aria-posinset")===(i===0?"1":`${this._terminal.buffer.lines.length}`)||e.relatedTarget!==v)return;let p,m;if(i===0?(p=a,m=this._rowElements.pop(),this._rowContainer.removeChild(m)):(p=this._rowElements.shift(),m=a,this._rowContainer.removeChild(p)),p.removeEventListener("focus",this._topBoundaryFocusListener),m.removeEventListener("focus",this._bottomBoundaryFocusListener),i===0){const u=this._createAccessibilityTreeNode();this._rowElements.unshift(u),this._rowContainer.insertAdjacentElement("afterbegin",u)}else{const u=this._createAccessibilityTreeNode();this._rowElements.push(u),this._rowContainer.appendChild(u)}this._rowElements[0].addEventListener("focus",this._topBoundaryFocusListener),this._rowElements[this._rowElements.length-1].addEventListener("focus",this._bottomBoundaryFocusListener),this._terminal.scrollLines(i===0?-1:1),this._rowElements[i===0?1:this._rowElements.length-2].focus(),e.preventDefault(),e.stopImmediatePropagation()}_handleSelectionChange(){var S;if(this._rowElements.length===0)return;const e=document.getSelection();if(!e)return;if(e.isCollapsed)return void(this._rowContainer.contains(e.anchorNode)&&this._terminal.clearSelection());if(!e.anchorNode||!e.focusNode)return void console.error("anchorNode and/or focusNode are null");let i={node:e.anchorNode,offset:e.anchorOffset},a={node:e.focusNode,offset:e.focusOffset};if((i.node.compareDocumentPosition(a.node)&Node.DOCUMENT_POSITION_PRECEDING||i.node===a.node&&i.offset>a.offset)&&([i,a]=[a,i]),i.node.compareDocumentPosition(this._rowElements[0])&(Node.DOCUMENT_POSITION_CONTAINED_BY|Node.DOCUMENT_POSITION_FOLLOWING)&&(i={node:this._rowElements[0].childNodes[0],offset:0}),!this._rowContainer.contains(i.node))return;const v=this._rowElements.slice(-1)[0];if(a.node.compareDocumentPosition(v)&(Node.DOCUMENT_POSITION_CONTAINED_BY|Node.DOCUMENT_POSITION_PRECEDING)&&(a={node:v,offset:((S=v.textContent)==null?void 0:S.length)??0}),!this._rowContainer.contains(a.node))return;const p=({node:k,offset:L})=>{const x=k instanceof Text?k.parentNode:k;let w=parseInt(x==null?void 0:x.getAttribute("aria-posinset"),10)-1;if(isNaN(w))return console.warn("row is invalid. Race condition?"),null;const B=this._rowColumns.get(x);if(!B)return console.warn("columns is null. Race condition?"),null;let M=L<B.length?B[L]:B.slice(-1)[0]+1;return M>=this._terminal.cols&&(++w,M=0),{row:w,column:M}},m=p(i),u=p(a);if(m&&u){if(m.row>u.row||m.row===u.row&&m.column>=u.column)throw new Error("invalid range");this._terminal.select(m.column,m.row,(u.row-m.row)*this._terminal.cols-m.column+u.column)}}_handleResize(e){this._rowElements[this._rowElements.length-1].removeEventListener("focus",this._bottomBoundaryFocusListener);for(let i=this._rowContainer.children.length;i<this._terminal.rows;i++)this._rowElements[i]=this._createAccessibilityTreeNode(),this._rowContainer.appendChild(this._rowElements[i]);for(;this._rowElements.length>e;)this._rowContainer.removeChild(this._rowElements.pop());this._rowElements[this._rowElements.length-1].addEventListener("focus",this._bottomBoundaryFocusListener),this._refreshRowsDimensions()}_createAccessibilityTreeNode(){const e=this._coreBrowserService.mainDocument.createElement("div");return e.setAttribute("role","listitem"),e.tabIndex=-1,this._refreshRowDimensions(e),e}_refreshRowsDimensions(){if(this._renderService.dimensions.css.cell.height){this._accessibilityContainer.style.width=`${this._renderService.dimensions.css.canvas.width}px`,this._rowElements.length!==this._terminal.rows&&this._handleResize(this._terminal.rows);for(let e=0;e<this._terminal.rows;e++)this._refreshRowDimensions(this._rowElements[e])}}_refreshRowDimensions(e){e.style.height=`${this._renderService.dimensions.css.cell.height}px`}};s.AccessibilityManager=r=h([f(1,c.IInstantiationService),f(2,g.ICoreBrowserService),f(3,g.IRenderService)],r)},3614:(d,s)=>{function o(l){return l.replace(/\r?\n/g,"\r")}function h(l,_){return _?"\x1B[200~"+l+"\x1B[201~":l}function f(l,_,g,c){l=h(l=o(l),g.decPrivateModes.bracketedPasteMode&&c.rawOptions.ignoreBracketedPasteMode!==!0),g.triggerDataEvent(l,!0),_.value=""}function n(l,_,g){const c=g.getBoundingClientRect(),t=l.clientX-c.left-10,r=l.clientY-c.top-10;_.style.width="20px",_.style.height="20px",_.style.left=`${t}px`,_.style.top=`${r}px`,_.style.zIndex="1000",_.focus()}Object.defineProperty(s,"__esModule",{value:!0}),s.rightClickHandler=s.moveTextAreaUnderMouseCursor=s.paste=s.handlePasteEvent=s.copyHandler=s.bracketTextForPaste=s.prepareTextForTerminal=void 0,s.prepareTextForTerminal=o,s.bracketTextForPaste=h,s.copyHandler=function(l,_){l.clipboardData&&l.clipboardData.setData("text/plain",_.selectionText),l.preventDefault()},s.handlePasteEvent=function(l,_,g,c){l.stopPropagation(),l.clipboardData&&f(l.clipboardData.getData("text/plain"),_,g,c)},s.paste=f,s.moveTextAreaUnderMouseCursor=n,s.rightClickHandler=function(l,_,g,c,t){n(l,_,g),t&&c.rightClickSelect(l),_.value=c.selectionText,_.select()}},7239:(d,s,o)=>{Object.defineProperty(s,"__esModule",{value:!0}),s.ColorContrastCache=void 0;const h=o(1505);s.ColorContrastCache=class{constructor(){this._color=new h.TwoKeyMap,this._css=new h.TwoKeyMap}setCss(f,n,l){this._css.set(f,n,l)}getCss(f,n){return this._css.get(f,n)}setColor(f,n,l){this._color.set(f,n,l)}getColor(f,n){return this._color.get(f,n)}clear(){this._color.clear(),this._css.clear()}}},3656:(d,s)=>{Object.defineProperty(s,"__esModule",{value:!0}),s.addDisposableDomListener=void 0,s.addDisposableDomListener=function(o,h,f,n){o.addEventListener(h,f,n);let l=!1;return{dispose:()=>{l||(l=!0,o.removeEventListener(h,f,n))}}}},3551:function(d,s,o){var h=this&&this.__decorate||function(r,e,i,a){var v,p=arguments.length,m=p<3?e:a===null?a=Object.getOwnPropertyDescriptor(e,i):a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")m=Reflect.decorate(r,e,i,a);else for(var u=r.length-1;u>=0;u--)(v=r[u])&&(m=(p<3?v(m):p>3?v(e,i,m):v(e,i))||m);return p>3&&m&&Object.defineProperty(e,i,m),m},f=this&&this.__param||function(r,e){return function(i,a){e(i,a,r)}};Object.defineProperty(s,"__esModule",{value:!0}),s.Linkifier=void 0;const n=o(3656),l=o(8460),_=o(844),g=o(2585),c=o(4725);let t=s.Linkifier=class extends _.Disposable{get currentLink(){return this._currentLink}constructor(r,e,i,a,v){super(),this._element=r,this._mouseService=e,this._renderService=i,this._bufferService=a,this._linkProviderService=v,this._linkCacheDisposables=[],this._isMouseOut=!0,this._wasResized=!1,this._activeLine=-1,this._onShowLinkUnderline=this.register(new l.EventEmitter),this.onShowLinkUnderline=this._onShowLinkUnderline.event,this._onHideLinkUnderline=this.register(new l.EventEmitter),this.onHideLinkUnderline=this._onHideLinkUnderline.event,this.register((0,_.getDisposeArrayDisposable)(this._linkCacheDisposables)),this.register((0,_.toDisposable)((()=>{var p;this._lastMouseEvent=void 0,(p=this._activeProviderReplies)==null||p.clear()}))),this.register(this._bufferService.onResize((()=>{this._clearCurrentLink(),this._wasResized=!0}))),this.register((0,n.addDisposableDomListener)(this._element,"mouseleave",(()=>{this._isMouseOut=!0,this._clearCurrentLink()}))),this.register((0,n.addDisposableDomListener)(this._element,"mousemove",this._handleMouseMove.bind(this))),this.register((0,n.addDisposableDomListener)(this._element,"mousedown",this._handleMouseDown.bind(this))),this.register((0,n.addDisposableDomListener)(this._element,"mouseup",this._handleMouseUp.bind(this)))}_handleMouseMove(r){this._lastMouseEvent=r;const e=this._positionFromMouseEvent(r,this._element,this._mouseService);if(!e)return;this._isMouseOut=!1;const i=r.composedPath();for(let a=0;a<i.length;a++){const v=i[a];if(v.classList.contains("xterm"))break;if(v.classList.contains("xterm-hover"))return}this._lastBufferCell&&e.x===this._lastBufferCell.x&&e.y===this._lastBufferCell.y||(this._handleHover(e),this._lastBufferCell=e)}_handleHover(r){if(this._activeLine!==r.y||this._wasResized)return this._clearCurrentLink(),this._askForLink(r,!1),void(this._wasResized=!1);this._currentLink&&this._linkAtPosition(this._currentLink.link,r)||(this._clearCurrentLink(),this._askForLink(r,!0))}_askForLink(r,e){var a,v;this._activeProviderReplies&&e||((a=this._activeProviderReplies)==null||a.forEach((p=>{p==null||p.forEach((m=>{m.link.dispose&&m.link.dispose()}))})),this._activeProviderReplies=new Map,this._activeLine=r.y);let i=!1;for(const[p,m]of this._linkProviderService.linkProviders.entries())e?(v=this._activeProviderReplies)!=null&&v.get(p)&&(i=this._checkLinkProviderResult(p,r,i)):m.provideLinks(r.y,(u=>{var k,L;if(this._isMouseOut)return;const S=u==null?void 0:u.map((x=>({link:x})));(k=this._activeProviderReplies)==null||k.set(p,S),i=this._checkLinkProviderResult(p,r,i),((L=this._activeProviderReplies)==null?void 0:L.size)===this._linkProviderService.linkProviders.length&&this._removeIntersectingLinks(r.y,this._activeProviderReplies)}))}_removeIntersectingLinks(r,e){const i=new Set;for(let a=0;a<e.size;a++){const v=e.get(a);if(v)for(let p=0;p<v.length;p++){const m=v[p],u=m.link.range.start.y<r?0:m.link.range.start.x,S=m.link.range.end.y>r?this._bufferService.cols:m.link.range.end.x;for(let k=u;k<=S;k++){if(i.has(k)){v.splice(p--,1);break}i.add(k)}}}}_checkLinkProviderResult(r,e,i){var p;if(!this._activeProviderReplies)return i;const a=this._activeProviderReplies.get(r);let v=!1;for(let m=0;m<r;m++)this._activeProviderReplies.has(m)&&!this._activeProviderReplies.get(m)||(v=!0);if(!v&&a){const m=a.find((u=>this._linkAtPosition(u.link,e)));m&&(i=!0,this._handleNewLink(m))}if(this._activeProviderReplies.size===this._linkProviderService.linkProviders.length&&!i)for(let m=0;m<this._activeProviderReplies.size;m++){const u=(p=this._activeProviderReplies.get(m))==null?void 0:p.find((S=>this._linkAtPosition(S.link,e)));if(u){i=!0,this._handleNewLink(u);break}}return i}_handleMouseDown(){this._mouseDownLink=this._currentLink}_handleMouseUp(r){if(!this._currentLink)return;const e=this._positionFromMouseEvent(r,this._element,this._mouseService);e&&this._mouseDownLink===this._currentLink&&this._linkAtPosition(this._currentLink.link,e)&&this._currentLink.link.activate(r,this._currentLink.link.text)}_clearCurrentLink(r,e){this._currentLink&&this._lastMouseEvent&&(!r||!e||this._currentLink.link.range.start.y>=r&&this._currentLink.link.range.end.y<=e)&&(this._linkLeave(this._element,this._currentLink.link,this._lastMouseEvent),this._currentLink=void 0,(0,_.disposeArray)(this._linkCacheDisposables))}_handleNewLink(r){if(!this._lastMouseEvent)return;const e=this._positionFromMouseEvent(this._lastMouseEvent,this._element,this._mouseService);e&&this._linkAtPosition(r.link,e)&&(this._currentLink=r,this._currentLink.state={decorations:{underline:r.link.decorations===void 0||r.link.decorations.underline,pointerCursor:r.link.decorations===void 0||r.link.decorations.pointerCursor},isHovered:!0},this._linkHover(this._element,r.link,this._lastMouseEvent),r.link.decorations={},Object.defineProperties(r.link.decorations,{pointerCursor:{get:()=>{var i,a;return(a=(i=this._currentLink)==null?void 0:i.state)==null?void 0:a.decorations.pointerCursor},set:i=>{var a;(a=this._currentLink)!=null&&a.state&&this._currentLink.state.decorations.pointerCursor!==i&&(this._currentLink.state.decorations.pointerCursor=i,this._currentLink.state.isHovered&&this._element.classList.toggle("xterm-cursor-pointer",i))}},underline:{get:()=>{var i,a;return(a=(i=this._currentLink)==null?void 0:i.state)==null?void 0:a.decorations.underline},set:i=>{var a,v,p;(a=this._currentLink)!=null&&a.state&&((p=(v=this._currentLink)==null?void 0:v.state)==null?void 0:p.decorations.underline)!==i&&(this._currentLink.state.decorations.underline=i,this._currentLink.state.isHovered&&this._fireUnderlineEvent(r.link,i))}}}),this._linkCacheDisposables.push(this._renderService.onRenderedViewportChange((i=>{if(!this._currentLink)return;const a=i.start===0?0:i.start+1+this._bufferService.buffer.ydisp,v=this._bufferService.buffer.ydisp+1+i.end;if(this._currentLink.link.range.start.y>=a&&this._currentLink.link.range.end.y<=v&&(this._clearCurrentLink(a,v),this._lastMouseEvent)){const p=this._positionFromMouseEvent(this._lastMouseEvent,this._element,this._mouseService);p&&this._askForLink(p,!1)}}))))}_linkHover(r,e,i){var a;(a=this._currentLink)!=null&&a.state&&(this._currentLink.state.isHovered=!0,this._currentLink.state.decorations.underline&&this._fireUnderlineEvent(e,!0),this._currentLink.state.decorations.pointerCursor&&r.classList.add("xterm-cursor-pointer")),e.hover&&e.hover(i,e.text)}_fireUnderlineEvent(r,e){const i=r.range,a=this._bufferService.buffer.ydisp,v=this._createLinkUnderlineEvent(i.start.x-1,i.start.y-a-1,i.end.x,i.end.y-a-1,void 0);(e?this._onShowLinkUnderline:this._onHideLinkUnderline).fire(v)}_linkLeave(r,e,i){var a;(a=this._currentLink)!=null&&a.state&&(this._currentLink.state.isHovered=!1,this._currentLink.state.decorations.underline&&this._fireUnderlineEvent(e,!1),this._currentLink.state.decorations.pointerCursor&&r.classList.remove("xterm-cursor-pointer")),e.leave&&e.leave(i,e.text)}_linkAtPosition(r,e){const i=r.range.start.y*this._bufferService.cols+r.range.start.x,a=r.range.end.y*this._bufferService.cols+r.range.end.x,v=e.y*this._bufferService.cols+e.x;return i<=v&&v<=a}_positionFromMouseEvent(r,e,i){const a=i.getCoords(r,e,this._bufferService.cols,this._bufferService.rows);if(a)return{x:a[0],y:a[1]+this._bufferService.buffer.ydisp}}_createLinkUnderlineEvent(r,e,i,a,v){return{x1:r,y1:e,x2:i,y2:a,cols:this._bufferService.cols,fg:v}}};s.Linkifier=t=h([f(1,c.IMouseService),f(2,c.IRenderService),f(3,g.IBufferService),f(4,c.ILinkProviderService)],t)},9042:(d,s)=>{Object.defineProperty(s,"__esModule",{value:!0}),s.tooMuchOutput=s.promptLabel=void 0,s.promptLabel="Terminal input",s.tooMuchOutput="Too much output to announce, navigate to rows manually to read"},3730:function(d,s,o){var h=this&&this.__decorate||function(c,t,r,e){var i,a=arguments.length,v=a<3?t:e===null?e=Object.getOwnPropertyDescriptor(t,r):e;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")v=Reflect.decorate(c,t,r,e);else for(var p=c.length-1;p>=0;p--)(i=c[p])&&(v=(a<3?i(v):a>3?i(t,r,v):i(t,r))||v);return a>3&&v&&Object.defineProperty(t,r,v),v},f=this&&this.__param||function(c,t){return function(r,e){t(r,e,c)}};Object.defineProperty(s,"__esModule",{value:!0}),s.OscLinkProvider=void 0;const n=o(511),l=o(2585);let _=s.OscLinkProvider=class{constructor(c,t,r){this._bufferService=c,this._optionsService=t,this._oscLinkService=r}provideLinks(c,t){var S;const r=this._bufferService.buffer.lines.get(c-1);if(!r)return void t(void 0);const e=[],i=this._optionsService.rawOptions.linkHandler,a=new n.CellData,v=r.getTrimmedLength();let p=-1,m=-1,u=!1;for(let k=0;k<v;k++)if(m!==-1||r.hasContent(k)){if(r.loadCell(k,a),a.hasExtendedAttrs()&&a.extended.urlId){if(m===-1){m=k,p=a.extended.urlId;continue}u=a.extended.urlId!==p}else m!==-1&&(u=!0);if(u||m!==-1&&k===v-1){const L=(S=this._oscLinkService.getLinkData(p))==null?void 0:S.uri;if(L){const x={start:{x:m+1,y:c},end:{x:k+(u||k!==v-1?0:1),y:c}};let w=!1;if(!(i!=null&&i.allowNonHttpProtocols))try{const B=new URL(L);["http:","https:"].includes(B.protocol)||(w=!0)}catch{w=!0}w||e.push({text:L,range:x,activate:(B,M)=>i?i.activate(B,M,x):g(0,M),hover:(B,M)=>{var I;return(I=i==null?void 0:i.hover)==null?void 0:I.call(i,B,M,x)},leave:(B,M)=>{var I;return(I=i==null?void 0:i.leave)==null?void 0:I.call(i,B,M,x)}})}u=!1,a.hasExtendedAttrs()&&a.extended.urlId?(m=k,p=a.extended.urlId):(m=-1,p=-1)}}t(e)}};function g(c,t){if(confirm(`Do you want to navigate to ${t}?
4
4
 
@@ -1,4 +1,4 @@
1
- var pt=Object.defineProperty;var gt=(t,e,n)=>e in t?pt(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n;var A=(t,e,n)=>gt(t,typeof e!="symbol"?e+"":e,n);import{H as Y}from"./atom-one-dark-Bkn3VP4M.js";import{d as qe,h as ae,G as Dt,a2 as ft,a0 as mt,c as Ft,o as Ue,a as oe,ao as Ze,B as bt,p as kt,K as Et,k as Ct,A as At,w as xt,ax as wt,n as yt,aw as Bt}from"./index-B_7h8RU-.js";function Ae(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}var X=Ae();function Ge(t){X=t}var te={exec:()=>null};function k(t,e=""){let n=typeof t=="string"?t:t.source,s={replace:(r,i)=>{let o=typeof i=="string"?i:i.source;return o=o.replace(B.caret,"$1"),n=n.replace(r,o),s},getRegex:()=>new RegExp(n,e)};return s}var B={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceTabs:/^\t+/,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] /,listReplaceTask:/^\[[ xX]\] +/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^<a /i,endATag:/^<\/a>/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^</,endAngleBracket:/>$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,unescapeTest:/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:t=>new RegExp(`^( {0,3}${t})((?:[ ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:t=>new RegExp(`^ {0,${Math.min(3,t-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),hrRegex:t=>new RegExp(`^ {0,${Math.min(3,t-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),fencesBeginRegex:t=>new RegExp(`^ {0,${Math.min(3,t-1)}}(?:\`\`\`|~~~)`),headingBeginRegex:t=>new RegExp(`^ {0,${Math.min(3,t-1)}}#`),htmlBeginRegex:t=>new RegExp(`^ {0,${Math.min(3,t-1)}}<(?:[a-z].*>|!--)`,"i")},St=/^(?:[ \t]*(?:\n|$))+/,Tt=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,vt=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,re=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,_t=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,xe=/(?:[*+-]|\d{1,9}[.)])/,je=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,Qe=k(je).replace(/bull/g,xe).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/\|table/g,"").getRegex(),Rt=k(je).replace(/bull/g,xe).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/table/g,/ {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(),we=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,Nt=/^[^\n]+/,ye=/(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/,$t=k(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",ye).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),Lt=k(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,xe).getRegex(),pe="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",Be=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,It=k("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))","i").replace("comment",Be).replace("tag",pe).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),Xe=k(we).replace("hr",re).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",pe).getRegex(),Ot=k(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",Xe).getRegex(),Se={blockquote:Ot,code:Tt,def:$t,fences:vt,heading:_t,hr:re,html:It,lheading:Qe,list:Lt,newline:St,paragraph:Xe,table:te,text:Nt},Ne=k("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",re).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3} )[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",pe).getRegex(),zt={...Se,lheading:Rt,table:Ne,paragraph:k(we).replace("hr",re).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",Ne).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",pe).getRegex()},Mt={...Se,html:k(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",Be).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:te,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:k(we).replace("hr",re).replace("heading",` *#{1,6} *[^
1
+ var pt=Object.defineProperty;var gt=(t,e,n)=>e in t?pt(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n;var A=(t,e,n)=>gt(t,typeof e!="symbol"?e+"":e,n);import{H as Y}from"./atom-one-dark-BwmybF0s.js";import{d as qe,h as ae,G as Dt,a2 as ft,a0 as mt,c as Ft,o as Ue,a as oe,ao as Ze,B as bt,p as kt,K as Et,k as Ct,A as At,w as xt,ax as wt,n as yt,aw as Bt}from"./index-qqhGQ9ov.js";function Ae(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}var X=Ae();function Ge(t){X=t}var te={exec:()=>null};function k(t,e=""){let n=typeof t=="string"?t:t.source,s={replace:(r,i)=>{let o=typeof i=="string"?i:i.source;return o=o.replace(B.caret,"$1"),n=n.replace(r,o),s},getRegex:()=>new RegExp(n,e)};return s}var B={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceTabs:/^\t+/,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] /,listReplaceTask:/^\[[ xX]\] +/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^<a /i,endATag:/^<\/a>/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^</,endAngleBracket:/>$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,unescapeTest:/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:t=>new RegExp(`^( {0,3}${t})((?:[ ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:t=>new RegExp(`^ {0,${Math.min(3,t-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),hrRegex:t=>new RegExp(`^ {0,${Math.min(3,t-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),fencesBeginRegex:t=>new RegExp(`^ {0,${Math.min(3,t-1)}}(?:\`\`\`|~~~)`),headingBeginRegex:t=>new RegExp(`^ {0,${Math.min(3,t-1)}}#`),htmlBeginRegex:t=>new RegExp(`^ {0,${Math.min(3,t-1)}}<(?:[a-z].*>|!--)`,"i")},St=/^(?:[ \t]*(?:\n|$))+/,Tt=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,vt=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,re=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,_t=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,xe=/(?:[*+-]|\d{1,9}[.)])/,je=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,Qe=k(je).replace(/bull/g,xe).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/\|table/g,"").getRegex(),Rt=k(je).replace(/bull/g,xe).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/table/g,/ {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(),we=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,Nt=/^[^\n]+/,ye=/(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/,$t=k(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",ye).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),Lt=k(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,xe).getRegex(),pe="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",Be=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,It=k("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))","i").replace("comment",Be).replace("tag",pe).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),Xe=k(we).replace("hr",re).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",pe).getRegex(),Ot=k(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",Xe).getRegex(),Se={blockquote:Ot,code:Tt,def:$t,fences:vt,heading:_t,hr:re,html:It,lheading:Qe,list:Lt,newline:St,paragraph:Xe,table:te,text:Nt},Ne=k("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",re).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3} )[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",pe).getRegex(),zt={...Se,lheading:Rt,table:Ne,paragraph:k(we).replace("hr",re).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",Ne).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",pe).getRegex()},Mt={...Se,html:k(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",Be).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:te,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:k(we).replace("hr",re).replace("heading",` *#{1,6} *[^
2
2
  ]`).replace("lheading",Qe).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},Pt=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,Ht=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,We=/^( {2,}|\\)\n(?!\s*$)/,qt=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,ge=/[\p{P}\p{S}]/u,Te=/[\s\p{P}\p{S}]/u,Ke=/[^\s\p{P}\p{S}]/u,Ut=k(/^((?![*_])punctSpace)/,"u").replace(/punctSpace/g,Te).getRegex(),Ve=/(?!~)[\p{P}\p{S}]/u,Zt=/(?!~)[\s\p{P}\p{S}]/u,Gt=/(?:[^\s\p{P}\p{S}]|~)/u,jt=/\[[^\[\]]*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)|`[^`]*?`|<(?! )[^<>]*?>/g,Ye=/^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/,Qt=k(Ye,"u").replace(/punct/g,ge).getRegex(),Xt=k(Ye,"u").replace(/punct/g,Ve).getRegex(),Je="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)",Wt=k(Je,"gu").replace(/notPunctSpace/g,Ke).replace(/punctSpace/g,Te).replace(/punct/g,ge).getRegex(),Kt=k(Je,"gu").replace(/notPunctSpace/g,Gt).replace(/punctSpace/g,Zt).replace(/punct/g,Ve).getRegex(),Vt=k("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,Ke).replace(/punctSpace/g,Te).replace(/punct/g,ge).getRegex(),Yt=k(/\\(punct)/,"gu").replace(/punct/g,ge).getRegex(),Jt=k(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),en=k(Be).replace("(?:-->|$)","-->").getRegex(),tn=k("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment",en).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),ce=/(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`[^`]*`|[^\[\]\\`])*?/,nn=k(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label",ce).replace("href",/<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),et=k(/^!?\[(label)\]\[(ref)\]/).replace("label",ce).replace("ref",ye).getRegex(),tt=k(/^!?\[(ref)\](?:\[\])?/).replace("ref",ye).getRegex(),rn=k("reflink|nolink(?!\\()","g").replace("reflink",et).replace("nolink",tt).getRegex(),ve={_backpedal:te,anyPunctuation:Yt,autolink:Jt,blockSkip:jt,br:We,code:Ht,del:te,emStrongLDelim:Qt,emStrongRDelimAst:Wt,emStrongRDelimUnd:Vt,escape:Pt,link:nn,nolink:tt,punctuation:Ut,reflink:et,reflinkSearch:rn,tag:tn,text:qt,url:te},sn={...ve,link:k(/^!?\[(label)\]\((.*?)\)/).replace("label",ce).getRegex(),reflink:k(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",ce).getRegex()},be={...ve,emStrongRDelimAst:Kt,emStrongLDelim:Xt,url:k(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,"i").replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])((?:\\[\s\S]|[^\\])*?(?:\\[\s\S]|[^\s~\\]))\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/},ln={...be,br:k(We).replace("{2,}","*").getRegex(),text:k(be.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()},le={normal:Se,gfm:zt,pedantic:Mt},J={normal:ve,gfm:be,breaks:ln,pedantic:sn},an={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},$e=t=>an[t];function I(t,e){if(e){if(B.escapeTest.test(t))return t.replace(B.escapeReplace,$e)}else if(B.escapeTestNoEncode.test(t))return t.replace(B.escapeReplaceNoEncode,$e);return t}function Le(t){try{t=encodeURI(t).replace(B.percentDecode,"%")}catch{return null}return t}function Ie(t,e){var i;let n=t.replace(B.findPipe,(o,a,u)=>{let l=!1,c=a;for(;--c>=0&&u[c]==="\\";)l=!l;return l?"|":" |"}),s=n.split(B.splitPipe),r=0;if(s[0].trim()||s.shift(),s.length>0&&!((i=s.at(-1))!=null&&i.trim())&&s.pop(),e)if(s.length>e)s.splice(e);else for(;s.length<e;)s.push("");for(;r<s.length;r++)s[r]=s[r].trim().replace(B.slashPipe,"|");return s}function ee(t,e,n){let s=t.length;if(s===0)return"";let r=0;for(;r<s&&t.charAt(s-r-1)===e;)r++;return t.slice(0,s-r)}function on(t,e){if(t.indexOf(e[1])===-1)return-1;let n=0;for(let s=0;s<t.length;s++)if(t[s]==="\\")s++;else if(t[s]===e[0])n++;else if(t[s]===e[1]&&(n--,n<0))return s;return n>0?-2:-1}function Oe(t,e,n,s,r){let i=e.href,o=e.title||null,a=t[1].replace(r.other.outputLinkReplace,"$1");s.state.inLink=!0;let u={type:t[0].charAt(0)==="!"?"image":"link",raw:n,href:i,title:o,text:a,tokens:s.inlineTokens(a)};return s.state.inLink=!1,u}function un(t,e,n){let s=t.match(n.other.indentCodeCompensation);if(s===null)return e;let r=s[1];return e.split(`
3
3
  `).map(i=>{let o=i.match(n.other.beginningSpace);if(o===null)return i;let[a]=o;return a.length>=r.length?i.slice(r.length):i}).join(`
4
4
  `)}var de=class{constructor(t){A(this,"options");A(this,"rules");A(this,"lexer");this.options=t||X}space(t){let e=this.rules.block.newline.exec(t);if(e&&e[0].length>0)return{type:"space",raw:e[0]}}code(t){let e=this.rules.block.code.exec(t);if(e){let n=e[0].replace(this.rules.other.codeRemoveIndent,"");return{type:"code",raw:e[0],codeBlockStyle:"indented",text:this.options.pedantic?n:ee(n,`
@@ -1,4 +1,4 @@
1
- import{aW as E,a_ as H}from"./index-B_7h8RU-.js";async function $(p,l){return E("/__remote__/api/v1/email/sendCode",{method:"POST",headers:{"Content-Type":"application/json"},data:p})}var g={exports:{}},x={exports:{}},_;function O(){return _||(_=1,(function(){var p="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",l={rotl:function(f,i){return f<<i|f>>>32-i},rotr:function(f,i){return f<<32-i|f>>>i},endian:function(f){if(f.constructor==Number)return l.rotl(f,8)&16711935|l.rotl(f,24)&4278255360;for(var i=0;i<f.length;i++)f[i]=l.endian(f[i]);return f},randomBytes:function(f){for(var i=[];f>0;f--)i.push(Math.floor(Math.random()*256));return i},bytesToWords:function(f){for(var i=[],c=0,a=0;c<f.length;c++,a+=8)i[a>>>5]|=f[c]<<24-a%32;return i},wordsToBytes:function(f){for(var i=[],c=0;c<f.length*32;c+=8)i.push(f[c>>>5]>>>24-c%32&255);return i},bytesToHex:function(f){for(var i=[],c=0;c<f.length;c++)i.push((f[c]>>>4).toString(16)),i.push((f[c]&15).toString(16));return i.join("")},hexToBytes:function(f){for(var i=[],c=0;c<f.length;c+=2)i.push(parseInt(f.substr(c,2),16));return i},bytesToBase64:function(f){for(var i=[],c=0;c<f.length;c+=3)for(var a=f[c]<<16|f[c+1]<<8|f[c+2],h=0;h<4;h++)c*8+h*6<=f.length*8?i.push(p.charAt(a>>>6*(3-h)&63)):i.push("=");return i.join("")},base64ToBytes:function(f){f=f.replace(/[^A-Z0-9+\/]/ig,"");for(var i=[],c=0,a=0;c<f.length;a=++c%4)a!=0&&i.push((p.indexOf(f.charAt(c-1))&Math.pow(2,-2*a+8)-1)<<a*2|p.indexOf(f.charAt(c))>>>6-a*2);return i}};x.exports=l})()),x.exports}var B,S;function C(){if(S)return B;S=1;var p={utf8:{stringToBytes:function(l){return p.bin.stringToBytes(unescape(encodeURIComponent(l)))},bytesToString:function(l){return decodeURIComponent(escape(p.bin.bytesToString(l)))}},bin:{stringToBytes:function(l){for(var f=[],i=0;i<l.length;i++)f.push(l.charCodeAt(i)&255);return f},bytesToString:function(l){for(var f=[],i=0;i<l.length;i++)f.push(String.fromCharCode(l[i]));return f.join("")}}};return B=p,B}/*!
1
+ import{aW as E,a_ as H}from"./index-qqhGQ9ov.js";async function $(p,l){return E("/__remote__/api/v1/email/sendCode",{method:"POST",headers:{"Content-Type":"application/json"},data:p})}var g={exports:{}},x={exports:{}},_;function O(){return _||(_=1,(function(){var p="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",l={rotl:function(f,i){return f<<i|f>>>32-i},rotr:function(f,i){return f<<32-i|f>>>i},endian:function(f){if(f.constructor==Number)return l.rotl(f,8)&16711935|l.rotl(f,24)&4278255360;for(var i=0;i<f.length;i++)f[i]=l.endian(f[i]);return f},randomBytes:function(f){for(var i=[];f>0;f--)i.push(Math.floor(Math.random()*256));return i},bytesToWords:function(f){for(var i=[],c=0,a=0;c<f.length;c++,a+=8)i[a>>>5]|=f[c]<<24-a%32;return i},wordsToBytes:function(f){for(var i=[],c=0;c<f.length*32;c+=8)i.push(f[c>>>5]>>>24-c%32&255);return i},bytesToHex:function(f){for(var i=[],c=0;c<f.length;c++)i.push((f[c]>>>4).toString(16)),i.push((f[c]&15).toString(16));return i.join("")},hexToBytes:function(f){for(var i=[],c=0;c<f.length;c+=2)i.push(parseInt(f.substr(c,2),16));return i},bytesToBase64:function(f){for(var i=[],c=0;c<f.length;c+=3)for(var a=f[c]<<16|f[c+1]<<8|f[c+2],h=0;h<4;h++)c*8+h*6<=f.length*8?i.push(p.charAt(a>>>6*(3-h)&63)):i.push("=");return i.join("")},base64ToBytes:function(f){f=f.replace(/[^A-Z0-9+\/]/ig,"");for(var i=[],c=0,a=0;c<f.length;a=++c%4)a!=0&&i.push((p.indexOf(f.charAt(c-1))&Math.pow(2,-2*a+8)-1)<<a*2|p.indexOf(f.charAt(c))>>>6-a*2);return i}};x.exports=l})()),x.exports}var B,S;function C(){if(S)return B;S=1;var p={utf8:{stringToBytes:function(l){return p.bin.stringToBytes(unescape(encodeURIComponent(l)))},bytesToString:function(l){return decodeURIComponent(escape(p.bin.bytesToString(l)))}},bin:{stringToBytes:function(l){for(var f=[],i=0;i<l.length;i++)f.push(l.charCodeAt(i)&255);return f},bytesToString:function(l){for(var f=[],i=0;i<l.length;i++)f.push(String.fromCharCode(l[i]));return f.join("")}}};return B=p,B}/*!
2
2
  * Determine if an object is a Buffer
3
3
  *
4
4
  * @author Feross Aboukhadijeh <https://feross.org>
@@ -4,12 +4,13 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
  <link rel="icon" href="/dist/favicon.ico">
7
+
7
8
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
8
9
  <script src="/dist/js/vue2-sfc-loader.js"></script>
9
10
  <script src="/dist/js/vue3-sfc-loader.js"></script>
10
11
  <script src="/dist/font/iconfont.js"></script>
11
12
 
12
- <script type="module" crossorigin src="/dist/assets/index-B_7h8RU-.js"></script>
13
+ <script type="module" crossorigin src="/dist/assets/index-qqhGQ9ov.js"></script>
13
14
  <link rel="stylesheet" crossorigin href="/dist/assets/index-Dq0blRri.css">
14
15
  </head>
15
16
 
@@ -257,5 +257,5 @@
257
257
  } catch (e) {
258
258
  return Promise.reject(e);
259
259
  }
260
- }`)}else y.get("body").unshiftContainer("body",f);return!0};var a=n(2),r=n(390);const i=a.template.statement("\n let VARIABLE_NAME =\n arguments.length > ARGUMENT_KEY && arguments[ARGUMENT_KEY] !== undefined ?\n arguments[ARGUMENT_KEY]\n :\n DEFAULT_VALUE;\n"),s=a.template.statement("\n if (ASSIGNMENT_IDENTIFIER === UNDEFINED) {\n ASSIGNMENT_IDENTIFIER = DEFAULT_VALUE;\n }\n"),o=a.template.statement("\n let ASSIGNMENT_IDENTIFIER = PARAMETER_NAME === UNDEFINED ? DEFAULT_VALUE : PARAMETER_NAME ;\n"),d=a.template.statement("\n let $0 = arguments.length > $1 ? arguments[$1] : undefined;\n")},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const{node:t,scope:n}=e;if(!function(e){const t=e.params.length;return t>0&&a.types.isRestElement(e.params[t-1])}(t))return!1;const s=e.get(`params.${t.params.length-1}.argument`);if(!s.isIdentifier()){const t=new Set;(0,r.collectShadowedParamsNames)(s,e.scope,t);let i=t.size>0;if(!i){const e={needsOuterBinding:!1,scope:n};s.traverse(r.iifeVisitor,e),i=e.needsOuterBinding}i&&(e.ensureBlock(),e.set("body",a.types.blockStatement([(0,r.buildScopeIIFE)(t,e.node.body)])))}let o=s.node;if(t.params.pop(),a.types.isPattern(o)){const r=o;o=n.generateUidIdentifier("ref");const i=a.types.variableDeclaration("let",[a.types.variableDeclarator(r,o)]);e.ensureBlock(),t.body.body.unshift(i)}else"arguments"===o.name&&n.rename(o.name);const d=a.types.identifier("arguments"),l=function(e){let t=e.params.length;return t>0&&a.types.isIdentifier(e.params[0],{name:"this"})&&(t-=1),t}(t),f={references:[],offset:l,argumentsNode:d,outerBinding:n.getBindingIdentifier(o.name),candidates:[],name:o.name,deopted:!1};if(e.traverse(c,f),!f.deopted&&!f.references.length){for(const{path:e,cause:t}of f.candidates){const n=a.types.cloneNode(d);switch(t){case"indexGetter":u(e,n,f.offset);break;case"lengthGetter":p(e,n,f.offset);break;default:e.replaceWith(n)}}return!0}f.references.push(...f.candidates.map((e=>{let{path:t}=e;return t})));const g=a.types.numericLiteral(l),h=n.generateUidIdentifier("key"),m=n.generateUidIdentifier("len");let y,R;l?(y=a.types.binaryExpression("-",a.types.cloneNode(h),a.types.cloneNode(g)),R=a.types.conditionalExpression(a.types.binaryExpression(">",a.types.cloneNode(m),a.types.cloneNode(g)),a.types.binaryExpression("-",a.types.cloneNode(m),a.types.cloneNode(g)),a.types.numericLiteral(0))):(y=a.types.identifier(h.name),R=a.types.identifier(m.name));const b=i({ARGUMENTS:d,ARRAY_KEY:y,ARRAY_LEN:R,START:g,ARRAY:o,KEY:h,LEN:m});if(f.deopted)t.body.body.unshift(b);else{let t=e.getEarliestCommonAncestorFrom(f.references).getStatementParent();t.findParent((e=>{if(!e.isLoop())return e.isFunction();t=e})),t.insertBefore(b)}return!0};var a=n(2),r=n(390);const i=a.template.statement("\n for (var LEN = ARGUMENTS.length,\n ARRAY = new Array(ARRAY_LEN),\n KEY = START;\n KEY < LEN;\n KEY++) {\n ARRAY[ARRAY_KEY] = ARGUMENTS[KEY];\n }\n"),s=a.template.expression("\n (INDEX < OFFSET || ARGUMENTS.length <= INDEX) ? undefined : ARGUMENTS[INDEX]\n"),o=a.template.expression("\n REF = INDEX, (REF < OFFSET || ARGUMENTS.length <= REF) ? undefined : ARGUMENTS[REF]\n"),d=a.template.expression("\n ARGUMENTS.length <= OFFSET ? 0 : ARGUMENTS.length - OFFSET\n");function l(e,t){return e.node.name===t.name&&e.scope.bindingIdentifierEquals(t.name,t.outerBinding)}const c={Scope(e,t){e.scope.bindingIdentifierEquals(t.name,t.outerBinding)||e.skip()},Flow(e){e.isTypeCastExpression()||e.skip()},Function(e,t){const n=t.noOptimise;t.noOptimise=!0,e.traverse(c,t),t.noOptimise=n,e.skip()},ReferencedIdentifier(e,t){const{node:n}=e;if("arguments"===n.name&&(t.deopted=!0),l(e,t))if(t.noOptimise)t.deopted=!0;else{const{parentPath:a}=e;if("params"===a.listKey&&a.key<t.offset)return;if(a.isMemberExpression({object:n})){const n=a.parentPath;if(!t.deopted&&!(n.isAssignmentExpression()&&a.node===n.node.left||n.isLVal()||n.isForXStatement()||n.isUpdateExpression()||n.isUnaryExpression({operator:"delete"})||(n.isCallExpression()||n.isNewExpression())&&a.node===n.node.callee))if(a.node.computed){if(a.get("property").isBaseType("number"))return void t.candidates.push({cause:"indexGetter",path:e})}else if("length"===a.node.property.name)return void t.candidates.push({cause:"lengthGetter",path:e})}if(0===t.offset&&a.isSpreadElement()){const n=a.parentPath;if(n.isCallExpression()&&1===n.node.arguments.length)return void t.candidates.push({cause:"argSpread",path:e})}t.references.push(e)}},BindingIdentifier(e,t){l(e,t)&&(t.deopted=!0)}};function u(e,t,n){const r=a.types.numericLiteral(n);let i;const d=e.parent;i=a.types.isNumericLiteral(d.property)?a.types.numericLiteral(d.property.value+n):0===n?d.property:a.types.binaryExpression("+",d.property,a.types.cloneNode(r));const{scope:l,parentPath:c}=e;if(l.isPure(i)){c.replaceWith(s({ARGUMENTS:t,OFFSET:r,INDEX:i}));const e=c,n=e.get("test"),a=n.get("left").evaluate();a.confident&&(!0===a.value?e.replaceWith(l.buildUndefinedNode()):n.replaceWith(n.get("right")))}else{const e=l.generateUidIdentifierBasedOnNode(i);l.push({id:e,kind:"var"}),c.replaceWith(o({ARGUMENTS:t,OFFSET:r,INDEX:i,REF:a.types.cloneNode(e)}))}}function p(e,t,n){n?e.parentPath.replaceWith(d({ARGUMENTS:t,OFFSET:a.types.numericLiteral(n)})):e.replaceWith(t)}}],t={};function n(a){var r=t[a];if(void 0!==r)return r.exports;var i=t[a]={id:a,loaded:!1,exports:{}};return e[a].call(i.exports,i,i.exports,n),i.loaded=!0,i.exports}n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var a in t)n.o(t,a)&&!n.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e};var a={};return function(){"use strict";n.r(a),n.d(a,{buildTemplateProcessor:function(){return U},loadModule:function(){return F},version:function(){return I},vueVersion:function(){return N}});var e=n(9),t=n(2),r=n(35),i=n(46),s=n(538),o=n(392),d=n(343),l=n.n(d),c=n(547),u=n(202),p=n(376),f=n.n(p),g=n(379),h=n.n(g),m=n(356);const y=T(...Object.keys(Object.assign({},{"@babel/plugin-transform-duplicate-named-capturing-groups-regex":n(393),"@babel/plugin-bugfix-firefox-class-in-computed-class-key":n(394),"@babel/plugin-bugfix-safari-class-field-initializer-scope":n(395),"@babel/plugin-transform-class-static-block":n(396),"@babel/plugin-transform-parameters":n(397)}))),R=!1,b=!0,v=!1,E="0.9.5";function S(e,t,n){return t+"\n"+e}function x(e,t,n,a,r){if(!a)return S(e,t);const s={start:{line:1,column:a}};return r&&(s.end={line:1,column:r}),S((0,i.codeFrameColumns)(n,s,{message:e}),t)}function T(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.reduce(((e,t)=>e.append(String(t))),new(l())).end()}async function P(e,t,n){let a=!1;const r={preventCache:()=>a=!0};if(void 0===e)return await n(r);const i=T(...t),s=await e.get(i);if(void 0!==s)return JSON.parse(s);const o=await n(r);return!1===a&&await e.set(i,JSON.stringify(o)),o}class w{constructor(e){this.promise=e}}const A=Object.assign({},{"@babel/plugin-transform-duplicate-named-capturing-groups-regex":n(393),"@babel/plugin-bugfix-firefox-class-in-computed-class-key":n(394),"@babel/plugin-bugfix-safari-class-field-initializer-scope":n(395),"@babel/plugin-transform-class-static-block":n(396),"@babel/plugin-transform-parameters":n(397)});async function C(e,n,a,o,d,l){let c,u,p=arguments.length>6&&void 0!==arguments[6]&&arguments[6];try{c=(0,r.parse)(e,{sourceType:"unambiguous",sourceFilename:a.toString(),plugins:[...void 0!==o?o:[]]}),u=c.program.sourceType}catch(t){throw null==l||l("error","parse script",function(e,t,n,a,r){if(!a)return S(e,t);const s={start:{line:a,column:r}};return S((0,i.codeFrameColumns)(n,s,{message:e}),t)}(t.message,a.toString(),e,t.loc.line,t.loc.column+1)),t}var f;f=c,(0,t.traverse)(f,{CallExpression(e){t.types.isImport(e.node.callee)&&e.replaceWith(t.types.callExpression(t.types.identifier("__vsfcl_import__"),e.node.arguments))}});const g=function(e){const n=[];return(0,t.traverse)(e,{ExportAllDeclaration(e){n.push(e.node.source.value)},ImportDeclaration(e){n.push(e.node.source.value)},CallExpression(e){"require"===e.node.callee.name&&1===e.node.arguments.length&&t.types.isStringLiteral(e.node.arguments[0])&&n.push(e.node.arguments[0].value)}}),n}(c),h=await(0,t.transformFromAstAsync)(c,e,{sourceMaps:v,plugins:[..."module"===u?[s.a]:[],...Object.values(A),...void 0!==d?Object.values(d):[]],babelrc:!1,configFile:!1,highlightCode:!1,compact:!p,comments:p,retainLines:p,sourceType:u});if(null===h||null==h.code){const e=`unable to transform script "${a.toString()}"`;throw null==l||l("error",e),new Error(e)}return[g,h.code]}async function _(e,t){const{moduleCache:n,loadModule:a,handleModule:r}=t,{id:i,path:s,getContent:d}=t.getResource(e,t);return i in n?n[i]instanceof w?await n[i].promise:n[i]:(n[i]=new w((async()=>{let e;if(a&&(e=await a(i,t)),void 0===e){const{getContentData:n,type:a}=await d();if(void 0!==r&&(e=await r(a,n,s,t)),void 0===e&&(e=await async function(e,t,n,a){var r,i;switch(e){case".vue":return async function(e,t,n){var a;const r=t.toString(),i={},{delimiters:s,whitespace:d,moduleCache:l,compiledCache:p,getResource:g,addStyle:v,log:E,additionalBabelParserPlugins:w=[],additionalBabelPlugins:A={},customBlockHandler:O,devMode:D=!1,createCJSModule:I,processStyles:j}=n,B=(0,c.c)({source:e,filename:r,needMap:R,compiler:u}),M=void 0!==O?await Promise.all(B.customBlocks.map((e=>O(e,t,n)))):[],L=`data-v-${T(r)}`;B.template&&B.template.lang&&await _({refPath:t,relPath:B.template.lang},n);const F=B.styles.some((e=>e.scoped));F&&Object.assign(i,{_scopeId:L});const U=B.template?{source:B.template.src?await(await g({refPath:t,relPath:B.template.src},n).getContent()).getContentData(!1):B.template.content,filename:r,compiler:u,compilerOptions:{delimiters:s,whitespace:d,outputSourceRange:!0,scopeId:F?L:null,comments:!0},isProduction:b,prettify:D}:null;if(null===(a=B.template)||void 0===a?void 0:a.lang){const e=l[B.template.lang];U.source=await P(p,[N,U.source,B.template.lang],(async t=>{let{preventCache:n}=t;return await new Promise(((t,n)=>{e.render(U.source,U.preprocessOptions,((e,a)=>{e?n(e):t(a)}))}))}))}if(B.script){const e=B.script.src?await(await g({refPath:t,relPath:B.script.src},n).getContent()).getContentData(!1):B.script.content,[a,s]=await P(p,[N,b,D,e,B.script.lang,w,Object.keys(A),y],(async t=>{let{preventCache:n}=t;var a;let i=["jsx"],s={jsx:f(),babelSugarInjectH:h()};return"ts"===(null===(a=B.script)||void 0===a?void 0:a.lang)&&(i=[...i,"typescript"],s=Object.assign(Object.assign({},s),{typescript:o.a})),await C(e,!0,r,[...i,...w],Object.assign(Object.assign({},s),A),E,D)}));await k(t,a,n),Object.assign(i,(q=I(t,s,n).exports,q&&q.__esModule?q:{default:q}).default)}var q;if(null!==B.template){const[a,o]=await P(p,[N,D,U.source,s,d,L,w,Object.keys(A),y],(async n=>{let{preventCache:a}=n;const i=(0,c.b)(U);if(i.code+="\nmodule.exports = { render: render, staticRenderFns: staticRenderFns }",i.errors.length){a();for(let e of i.errors)"object"!=typeof e&&(e={msg:e,start:void 0,end:void 0}),null==E||E("error","SFC template",x(e.msg,r,U.source.trim(),e.start,e.end))}for(let t of i.tips)"object"!=typeof t&&(t={msg:t,start:void 0,end:void 0}),null==E||E("info","SFC template",x(t.msg,r,e,t.start,t.end));return await C(i.code,!0,t,w,A,E,D)}));await k(t,a,n),Object.assign(i,I(t,o,n).exports)}for(const e of B.styles){const a=e.src?await(await g({refPath:t,relPath:e.src},n).getContent()).getContentData(!1):e.content;v(await P(p,[N,a,e.lang,L,e.scoped],(async i=>{let{preventCache:s}=i;const o=void 0!==j?await j(a,e.lang,t,n):a;void 0===o&&s();const d=Object.assign({source:o,filename:r,id:L,scoped:void 0!==e.scoped&&e.scoped,trim:!1},void 0===j?{preprocessLang:e.lang,preprocessOptions:{preprocessOptions:{customRequire:e=>l[e]}}}:{});e.lang&&void 0===m.processors[e.lang]&&(m.processors[e.lang]=await _({refPath:t,relPath:e.lang},n));const u=await(0,c.a)(d);if(u.errors.length){s();for(const e of u.errors)null==E||E("error","SFC style",S(e,r))}return u.code})),e.scoped?L:void 0,t)}return void 0!==O&&await Promise.all(M.map((e=>null==e?void 0:e(i)))),i}(await t(!1),n,a);case".js":return D(await t(!1),!1,n,a);case".mjs":return D(await t(!1),!0,n,a);case".ts":return D(await t(!1),!0,n,Object.assign(Object.assign({},a),{additionalBabelParserPlugins:["typescript",...null!==(r=a.additionalBabelParserPlugins)&&void 0!==r?r:[]],additionalBabelPlugins:Object.assign({typescript:o.a},null!==(i=a.additionalBabelPlugins)&&void 0!==i?i:{})}))}}(a,n,s,t)),void 0===e)throw new TypeError(`Unable to handle ${a} files (${s})`)}return n[i]=e})()),await n[i].promise)}function O(e,t,n){const{moduleCache:a,pathResolve:r,getResource:i}=n,s={exports:{}};return Function("exports","require","module","__filename","__dirname","__vsfcl_import__",t).call(s.exports,s.exports,(function(t){const{id:r}=i({refPath:e,relPath:t},n);if(r in a)return a[r];throw new Error(`require(${JSON.stringify(r)}) failed. module not found in moduleCache`)}),s,e,r({refPath:e,relPath:"."},n),(async function(t){return await _({refPath:e,relPath:t},n)})),s}async function D(e,t,n,a){const{compiledCache:r,additionalBabelParserPlugins:i,additionalBabelPlugins:s,createCJSModule:o,log:d}=a,[l,c]=await P(r,[E,e,n,a.devMode,i||"",s?Object.keys(s):""],(async()=>await C(e,t,n,i,s,d,a.devMode)));return await k(n,l,a),o(n,c,a).exports}async function k(e,t,n){await Promise.all(t.map((t=>_({refPath:e,relPath:t},n))))}const I="0.9.5",N="2.7.16";function j(e){throw new ReferenceError(`${e} is not defined`)}const B=e=>{const t=e.indexOf("?");return-1!==t?e.slice(0,t):e},M=(t,n)=>{let{refPath:a,relPath:r}=t;const{getPathname:i}=n;if(void 0===a)return r;const s=r.toString();return"."!==s[0]?r:e.posix.normalize(e.posix.join(e.posix.dirname(i(a.toString())),s))};function L(t,n){const{pathResolve:a,getPathname:r,getFile:i,log:s}=n,o=a(t,n),d=o.toString();return{id:d,path:o,getContent:async()=>{const t=await i(o);return"string"==typeof t||t instanceof ArrayBuffer?{type:e.posix.extname(r(d)),getContentData:async e=>(t instanceof ArrayBuffer!==e&&(null==s||s("warn",`unexpected data type. ${e?"binary":"string"} is expected for "${o}"`)),t)}:(t||null==s||s("error",`There is no file avaialable such as "${o}"`),{type:void 0!==t.type?t.type:e.posix.extname(r(d)),getContentData:t.getContentData})}}}async function F(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:j("options");var n;const{moduleCache:a=j("options.moduleCache"),getFile:r=j("options.getFile()"),addStyle:i=j("options.addStyle()"),pathResolve:s=M,getResource:o=L,createCJSModule:d=O,getPathname:l=B}=t;a instanceof Object&&Object.setPrototypeOf(a,null);const c=Object.assign({moduleCache:a,pathResolve:s,getResource:o,createCJSModule:d,getPathname:l},t);return t.devMode&&void 0===t.compiledCache&&(null===(n=t.log)||void 0===n||n.call(t,"info","options.compiledCache is not defined, performance will be affected")),await _({refPath:void 0,relPath:e},c)}function U(e){return{render:(t,n,a)=>{try{const r=e(t,n);"string"==typeof r?a(null,r):(r.then((e=>{a(null,e)})),r.catch((e=>{a(e,null)})))}catch(e){a(e,null)}}}}}(),a}()}));
260
+ }`)}else y.get("body").unshiftContainer("body",f);return!0};var a=n(2),r=n(390);const i=a.template.statement("\n let VARIABLE_NAME =\n arguments.length > ARGUMENT_KEY && arguments[ARGUMENT_KEY] !== undefined ?\n arguments[ARGUMENT_KEY]\n :\n DEFAULT_VALUE;\n"),s=a.template.statement("\n if (ASSIGNMENT_IDENTIFIER === UNDEFINED) {\n ASSIGNMENT_IDENTIFIER = DEFAULT_VALUE;\n }\n"),o=a.template.statement("\n let ASSIGNMENT_IDENTIFIER = PARAMETER_NAME === UNDEFINED ? DEFAULT_VALUE : PARAMETER_NAME ;\n"),d=a.template.statement("\n let $0 = arguments.length > $1 ? arguments[$1] : undefined;\n")},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const{node:t,scope:n}=e;if(!function(e){const t=e.params.length;return t>0&&a.types.isRestElement(e.params[t-1])}(t))return!1;const s=e.get(`params.${t.params.length-1}.argument`);if(!s.isIdentifier()){const t=new Set;(0,r.collectShadowedParamsNames)(s,e.scope,t);let i=t.size>0;if(!i){const e={needsOuterBinding:!1,scope:n};s.traverse(r.iifeVisitor,e),i=e.needsOuterBinding}i&&(e.ensureBlock(),e.set("body",a.types.blockStatement([(0,r.buildScopeIIFE)(t,e.node.body)])))}let o=s.node;if(t.params.pop(),a.types.isPattern(o)){const r=o;o=n.generateUidIdentifier("ref");const i=a.types.variableDeclaration("let",[a.types.variableDeclarator(r,o)]);e.ensureBlock(),t.body.body.unshift(i)}else"arguments"===o.name&&n.rename(o.name);const d=a.types.identifier("arguments"),l=function(e){let t=e.params.length;return t>0&&a.types.isIdentifier(e.params[0],{name:"this"})&&(t-=1),t}(t),f={references:[],offset:l,argumentsNode:d,outerBinding:n.getBindingIdentifier(o.name),candidates:[],name:o.name,deopted:!1};if(e.traverse(c,f),!f.deopted&&!f.references.length){for(const{path:e,cause:t}of f.candidates){const n=a.types.cloneNode(d);switch(t){case"indexGetter":u(e,n,f.offset);break;case"lengthGetter":p(e,n,f.offset);break;default:e.replaceWith(n)}}return!0}f.references.push(...f.candidates.map((e=>{let{path:t}=e;return t})));const g=a.types.numericLiteral(l),h=n.generateUidIdentifier("key"),m=n.generateUidIdentifier("len");let y,R;l?(y=a.types.binaryExpression("-",a.types.cloneNode(h),a.types.cloneNode(g)),R=a.types.conditionalExpression(a.types.binaryExpression(">",a.types.cloneNode(m),a.types.cloneNode(g)),a.types.binaryExpression("-",a.types.cloneNode(m),a.types.cloneNode(g)),a.types.numericLiteral(0))):(y=a.types.identifier(h.name),R=a.types.identifier(m.name));const b=i({ARGUMENTS:d,ARRAY_KEY:y,ARRAY_LEN:R,START:g,ARRAY:o,KEY:h,LEN:m});if(f.deopted)t.body.body.unshift(b);else{let t=e.getEarliestCommonAncestorFrom(f.references).getStatementParent();t.findParent((e=>{if(!e.isLoop())return e.isFunction();t=e})),t.insertBefore(b)}return!0};var a=n(2),r=n(390);const i=a.template.statement("\n for (var LEN = ARGUMENTS.length,\n ARRAY = new Array(ARRAY_LEN),\n KEY = START;\n KEY < LEN;\n KEY++) {\n ARRAY[ARRAY_KEY] = ARGUMENTS[KEY];\n }\n"),s=a.template.expression("\n (INDEX < OFFSET || ARGUMENTS.length <= INDEX) ? undefined : ARGUMENTS[INDEX]\n"),o=a.template.expression("\n REF = INDEX, (REF < OFFSET || ARGUMENTS.length <= REF) ? undefined : ARGUMENTS[REF]\n"),d=a.template.expression("\n ARGUMENTS.length <= OFFSET ? 0 : ARGUMENTS.length - OFFSET\n");function l(e,t){return e.node.name===t.name&&e.scope.bindingIdentifierEquals(t.name,t.outerBinding)}const c={Scope(e,t){e.scope.bindingIdentifierEquals(t.name,t.outerBinding)||e.skip()},Flow(e){e.isTypeCastExpression()||e.skip()},Function(e,t){const n=t.noOptimise;t.noOptimise=!0,e.traverse(c,t),t.noOptimise=n,e.skip()},ReferencedIdentifier(e,t){const{node:n}=e;if("arguments"===n.name&&(t.deopted=!0),l(e,t))if(t.noOptimise)t.deopted=!0;else{const{parentPath:a}=e;if("params"===a.listKey&&a.key<t.offset)return;if(a.isMemberExpression({object:n})){const n=a.parentPath;if(!t.deopted&&!(n.isAssignmentExpression()&&a.node===n.node.left||n.isLVal()||n.isForXStatement()||n.isUpdateExpression()||n.isUnaryExpression({operator:"delete"})||(n.isCallExpression()||n.isNewExpression())&&a.node===n.node.callee))if(a.node.computed){if(a.get("property").isBaseType("number"))return void t.candidates.push({cause:"indexGetter",path:e})}else if("length"===a.node.property.name)return void t.candidates.push({cause:"lengthGetter",path:e})}if(0===t.offset&&a.isSpreadElement()){const n=a.parentPath;if(n.isCallExpression()&&1===n.node.arguments.length)return void t.candidates.push({cause:"argSpread",path:e})}t.references.push(e)}},BindingIdentifier(e,t){l(e,t)&&(t.deopted=!0)}};function u(e,t,n){const r=a.types.numericLiteral(n);let i;const d=e.parent;i=a.types.isNumericLiteral(d.property)?a.types.numericLiteral(d.property.value+n):0===n?d.property:a.types.binaryExpression("+",d.property,a.types.cloneNode(r));const{scope:l,parentPath:c}=e;if(l.isPure(i)){c.replaceWith(s({ARGUMENTS:t,OFFSET:r,INDEX:i}));const e=c,n=e.get("test"),a=n.get("left").evaluate();a.confident&&(!0===a.value?e.replaceWith(l.buildUndefinedNode()):n.replaceWith(n.get("right")))}else{const e=l.generateUidIdentifierBasedOnNode(i);l.push({id:e,kind:"var"}),c.replaceWith(o({ARGUMENTS:t,OFFSET:r,INDEX:i,REF:a.types.cloneNode(e)}))}}function p(e,t,n){n?e.parentPath.replaceWith(d({ARGUMENTS:t,OFFSET:a.types.numericLiteral(n)})):e.replaceWith(t)}}],t={};function n(a){var r=t[a];if(void 0!==r)return r.exports;var i=t[a]={id:a,loaded:!1,exports:{}};return e[a].call(i.exports,i,i.exports,n),i.loaded=!0,i.exports}n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var a in t)n.o(t,a)&&!n.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e};var a={};return function(){"use strict";n.r(a),n.d(a,{buildTemplateProcessor:function(){return U},loadModule:function(){return F},version:function(){return I},vueVersion:function(){return N}});var e=n(9),t=n(2),r=n(35),i=n(46),s=n(538),o=n(392),d=n(343),l=n.n(d),c=n(547),u=n(202),p=n(376),f=n.n(p),g=n(379),h=n.n(g),m=n(356);const y=T(...Object.keys(Object.assign({},{"@babel/plugin-transform-duplicate-named-capturing-groups-regex":n(393),"@babel/plugin-bugfix-firefox-class-in-computed-class-key":n(394),"@babel/plugin-bugfix-safari-class-field-initializer-scope":n(395),"@babel/plugin-transform-class-static-block":n(396),"@babel/plugin-transform-parameters":n(397)}))),R=!1,b=!0,v=!1,E="0.9.5";function S(e,t,n){return t+"\n"+e}function x(e,t,n,a,r){if(!a)return S(e,t);const s={start:{line:1,column:a}};return r&&(s.end={line:1,column:r}),S((0,i.codeFrameColumns)(n,s,{message:e}),t)}function T(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.reduce(((e,t)=>e.append(String(t))),new(l())).end()}async function P(e,t,n){let a=!1;const r={preventCache:()=>a=!0};if(void 0===e)return await n(r);const i=T(...t),s=await e.get(i);if(void 0!==s)return JSON.parse(s);const o=await n(r);return!1===a&&await e.set(i,JSON.stringify(o)),o}class w{constructor(e){this.promise=e}}const A=Object.assign({},{"@babel/plugin-transform-duplicate-named-capturing-groups-regex":n(393),"@babel/plugin-bugfix-firefox-class-in-computed-class-key":n(394),"@babel/plugin-bugfix-safari-class-field-initializer-scope":n(395),"@babel/plugin-transform-class-static-block":n(396),"@babel/plugin-transform-parameters":n(397)});async function C(e,n,a,o,d,l){let c,u,p=arguments.length>6&&void 0!==arguments[6]&&arguments[6];try{c=(0,r.parse)(e,{sourceType:"unambiguous",sourceFilename:a.toString(),plugins:[...void 0!==o?o:[]]}),u=c.program.sourceType}catch(t){throw null==l||l("error","parse script",function(e,t,n,a,r){if(!a)return S(e,t);const s={start:{line:a,column:r}};return S((0,i.codeFrameColumns)(n,s,{message:e}),t)}(t.message,a.toString(),e,t.loc.line,t.loc.column+1)),t}var f;f=c,(0,t.traverse)(f,{CallExpression(e){t.types.isImport(e.node.callee)&&e.replaceWith(t.types.callExpression(t.types.identifier("__vsfcl_import__"),e.node.arguments))}});const g=function(e){const n=[];return(0,t.traverse)(e,{ExportAllDeclaration(e){n.push(e.node.source.value)},ImportDeclaration(e){n.push(e.node.source.value)},CallExpression(e){"require"===e.node.callee.name&&1===e.node.arguments.length&&t.types.isStringLiteral(e.node.arguments[0])&&n.push(e.node.arguments[0].value)}}),n}(c),h=await(0,t.transformFromAstAsync)(c,e,{sourceMaps:v,plugins:[..."module"===u?[s.a]:[],...Object.values(A),...void 0!==d?Object.values(d):[]],babelrc:!1,configFile:!1,highlightCode:!1,compact:!p,comments:p,retainLines:p,sourceType:u});if(null===h||null==h.code){const e=`unable to transform script "${a.toString()}"`;throw null==l||l("error",e),new Error(e)}return[g,h.code]}async function _(e,t){const{moduleCache:n,loadModule:a,handleModule:r}=t,{id:i,path:s,getContent:d}=t.getResource(e,t);return i in n?n[i]instanceof w?await n[i].promise:n[i]:(n[i]=new w((async()=>{let e;if(a&&(e=await a(i,t)),void 0===e){const{getContentData:n,type:a}=await d();if(void 0!==r&&(e=await r(a,n,s,t)),void 0===e&&(e=await async function(e,t,n,a){var r,i;switch(e){case".vue":return async function(e,t,n){var a;const r=t.toString(),i={},{delimiters:s,whitespace:d,moduleCache:l,compiledCache:p,getResource:g,addStyle:v,log:E,additionalBabelParserPlugins:w=[],additionalBabelPlugins:A={},customBlockHandler:O,devMode:D=!1,createCJSModule:I,processStyles:j}=n,B=(0,c.c)({source:e,filename:r,needMap:R,compiler:u}),M=void 0!==O?await Promise.all(B.customBlocks.map((e=>O(e,t,n)))):[],L=`data-v-${T(r)}`;B.template&&B.template.lang&&await _({refPath:t,relPath:B.template.lang},n);const F=B.styles.some((e=>e.scoped));F&&Object.assign(i,{_scopeId:L});const U=B.template?{source:B.template.src?await(await g({refPath:t,relPath:B.template.src},n).getContent()).getContentData(!1):B.template.content,filename:r,compiler:u,compilerOptions:{delimiters:s,whitespace:d,outputSourceRange:!0,scopeId:F?L:null,comments:!0},isProduction:b,prettify:D}:null;if(null===(a=B.template)||void 0===a?void 0:a.lang){const e=l[B.template.lang];U.source=await P(p,[N,U.source,B.template.lang],(async t=>{let{preventCache:n}=t;return await new Promise(((t,n)=>{e.render(U.source,U.preprocessOptions,((e,a)=>{e?n(e):t(a)}))}))}))}if(B.script){const e=B.script.src?await(await g({refPath:t,relPath:B.script.src},n).getContent()).getContentData(!1):B.script.content,[a,s]=await P(p,[N,b,D,e,B.script.lang,w,Object.keys(A),y],(async t=>{let{preventCache:n}=t;var a;let i=["jsx"],s={jsx:f(),babelSugarInjectH:h()};return"ts"===(null===(a=B.script)||void 0===a?void 0:a.lang)&&(i=[...i,"typescript"],s=Object.assign(Object.assign({},s),{typescript:o.a})),await C(e,!0,r,[...i,...w],Object.assign(Object.assign({},s),A),E,D)}));await k(t,a,n),Object.assign(i,(q=I(t,s,n).exports,q&&q.__esModule?q:{default:q}).default)}var q;if(null!==B.template){const[a,o]=await P(p,[N,D,U.source,s,d,L,w,Object.keys(A),y],(async n=>{let{preventCache:a}=n;const i=(0,c.b)(U);if(i.code+="\nmodule.exports = { render: render, staticRenderFns: staticRenderFns }",i.errors.length){a();for(let e of i.errors)"object"!=typeof e&&(e={msg:e,start:void 0,end:void 0}),null==E||E("error","SFC template",x(e.msg,r,U.source.trim(),e.start,e.end))}for(let t of i.tips)"object"!=typeof t&&(t={msg:t,start:void 0,end:void 0}),null==E||E("info","SFC template",x(t.msg,r,e,t.start,t.end));return await C(i.code,!0,t,w,A,E,D)}));await k(t,a,n),Object.assign(i,I(t,o,n).exports)}for(const e of B.styles){const a=e.src?await(await g({refPath:t,relPath:e.src},n).getContent()).getContentData(!1):e.content,i=await P(p,[N,a,e.lang,L,e.scoped],(async i=>{let{preventCache:s}=i;const o=void 0!==j?await j(a,e.lang,t,n):a;void 0===o&&s();const d=Object.assign({source:o,filename:r,id:L,scoped:void 0!==e.scoped&&e.scoped,trim:!1},void 0===j?{preprocessLang:e.lang,preprocessOptions:{preprocessOptions:{customRequire:e=>l[e]}}}:{});e.lang&&void 0===m.processors[e.lang]&&(m.processors[e.lang]=await _({refPath:t,relPath:e.lang},n));const u=await(0,c.a)(d);if(u.errors.length){s();for(const e of u.errors)null==E||E("error","SFC style",S(e,r))}return u.code}));await v(i,e.scoped?L:void 0,t)}return void 0!==O&&await Promise.all(M.map((e=>null==e?void 0:e(i)))),i}(await t(!1),n,a);case".js":return D(await t(!1),!1,n,a);case".mjs":return D(await t(!1),!0,n,a);case".ts":return D(await t(!1),!0,n,Object.assign(Object.assign({},a),{additionalBabelParserPlugins:["typescript",...null!==(r=a.additionalBabelParserPlugins)&&void 0!==r?r:[]],additionalBabelPlugins:Object.assign({typescript:o.a},null!==(i=a.additionalBabelPlugins)&&void 0!==i?i:{})}))}}(a,n,s,t)),void 0===e)throw new TypeError(`Unable to handle ${a} files (${s})`)}return n[i]=e})()),await n[i].promise)}function O(e,t,n){const{moduleCache:a,pathResolve:r,getResource:i}=n,s={exports:{}};return Function("exports","require","module","__filename","__dirname","__vsfcl_import__",t).call(s.exports,s.exports,(function(t){const{id:r}=i({refPath:e,relPath:t},n);if(r in a)return a[r];throw new Error(`require(${JSON.stringify(r)}) failed. module not found in moduleCache`)}),s,e,r({refPath:e,relPath:"."},n),(async function(t){return await _({refPath:e,relPath:t},n)})),s}async function D(e,t,n,a){const{compiledCache:r,additionalBabelParserPlugins:i,additionalBabelPlugins:s,createCJSModule:o,log:d}=a,[l,c]=await P(r,[E,e,n,a.devMode,i||"",s?Object.keys(s):""],(async()=>await C(e,t,n,i,s,d,a.devMode)));return await k(n,l,a),o(n,c,a).exports}async function k(e,t,n){await Promise.all(t.map((t=>_({refPath:e,relPath:t},n))))}const I="0.9.5",N="2.7.16";function j(e){throw new ReferenceError(`${e} is not defined`)}const B=e=>{const t=e.indexOf("?");return-1!==t?e.slice(0,t):e},M=(t,n)=>{let{refPath:a,relPath:r}=t;const{getPathname:i}=n;if(void 0===a)return r;const s=r.toString();return"."!==s[0]?r:e.posix.normalize(e.posix.join(e.posix.dirname(i(a.toString())),s))};function L(t,n){const{pathResolve:a,getPathname:r,getFile:i,log:s}=n,o=a(t,n),d=o.toString();return{id:d,path:o,getContent:async()=>{const t=await i(o);return"string"==typeof t||t instanceof ArrayBuffer?{type:e.posix.extname(r(d)),getContentData:async e=>(t instanceof ArrayBuffer!==e&&(null==s||s("warn",`unexpected data type. ${e?"binary":"string"} is expected for "${o}"`)),t)}:(t||null==s||s("error",`There is no file avaialable such as "${o}"`),{type:void 0!==t.type?t.type:e.posix.extname(r(d)),getContentData:t.getContentData})}}}async function F(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:j("options");var n;const{moduleCache:a=j("options.moduleCache"),getFile:r=j("options.getFile()"),addStyle:i=j("options.addStyle()"),pathResolve:s=M,getResource:o=L,createCJSModule:d=O,getPathname:l=B}=t;a instanceof Object&&Object.setPrototypeOf(a,null);const c=Object.assign({moduleCache:a,pathResolve:s,getResource:o,createCJSModule:d,getPathname:l},t);return t.devMode&&void 0===t.compiledCache&&(null===(n=t.log)||void 0===n||n.call(t,"info","options.compiledCache is not defined, performance will be affected")),await _({refPath:void 0,relPath:e},c)}function U(e){return{render:(t,n,a)=>{try{const r=e(t,n);"string"==typeof r?a(null,r):(r.then((e=>{a(null,e)})),r.catch((e=>{a(e,null)})))}catch(e){a(e,null)}}}}}(),a}()}));
261
261
  //# sourceMappingURL=vue2-sfc-loader.js.map