filecat 7.2.0 → 7.3.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "filecat",
3
- "version": "7.2.0",
3
+ "version": "7.3.1",
4
4
  "description": "File browser and server manager",
5
5
  "author": "xiaobaidadada",
6
6
  "repository": {
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkfilecat=self.webpackChunkfilecat||[]).push([[1149],{69918(e,t,n){n.d(t,{Ce:()=>d,FG:()=>i.FG,fy:()=>a,gC:()=>r});var i=n(18840),s=n(14284),c=n(53459);async function r(){try{const e=await s.XO.get("md_editor_setting/get");return{...i.FG,...e?.data??{}}}catch(e){return{...i.FG}}}async function a(e){const t=await s.XO.post("md_editor_setting/save",e);return t?.code!==c.m.Success?null:{...i.FG,...t.data??e}}function d(e,t){e&&(e.style.setProperty("--md-editor-max-width",t.content_max_width),e.style.setProperty("--md-editor-padding",t.content_padding),e.style.setProperty("--md-editor-font-size",t.font_size),e.style.setProperty("--md-editor-line-height",t.line_height))}},96763(e,t,n){n.d(t,{Kz:()=>r,P7:()=>o,_8:()=>h,_D:()=>m,bN:()=>c,sO:()=>l});var i=n(14284),s=n(53459);function c(e,t,n){const i="md-theme-style-"+e,s=document.getElementById(i);if(!t)return void s?.remove();let c=s;c||(c=document.createElement("style"),c.id=i,document.head.appendChild(c)),c.textContent=function(e,t){let n=String(e??"");return n=n.replace(/\/\*[\s\S]*?\*\//g,""),n=n.replace(/^\s*@include-when-export[^;]*;?/gim,""),n=n.replace(/^\s*@import[^;]*;?/gim,""),n.replace(/(^|})\s*([^{}@]+?)\s*\{/g,(e,n,i)=>`${n}\n${String(i).split(",").map(e=>e.trim()).filter(Boolean).map(e=>"#write"===e||"html"===e||"body"===e||":root"===e||"content"===e?t:e.startsWith("#write")?t+e.slice(6):/^(html|body)\b/.test(e)?t+e.replace(/^(html|body)/,""):`${t} ${e}`).join(", ")} {`)}(t,n)}async function r(){try{const e=await i.XO.get("md_theme/list");return e?.code===s.m.Success?e.data??[]:[]}catch(e){return[]}}const a="md-theme-change";function d(){window.dispatchEvent(new Event(a))}async function o(e){try{const t=await i.XO.get(`md_theme/get?id=${encodeURIComponent(e)}`);return t?.code===s.m.Success?t.data??"":""}catch(e){return""}}async function l(){try{const e=await i.XO.get("md_theme/active");return e?.code===s.m.Success?e.data??"":""}catch(e){return""}}async function m(e){const t=await i.XO.post("md_theme/save",e);return t?.code!==s.m.Success?null:(d(),t.data)}async function h(e){const t=await i.XO.post("md_theme/del",{id:e});return t?.code===s.m.Success&&(d(),!0)}n.d(t,["o3",0,a])},45907(e,t,n){n.d(t,{y:()=>c});var i=n(34843),s=n(82893);function c(){const[e,t]=(0,i.fp)(s.AG.confirm);return({sub_title:e,confirm_fun:n,title:i,context_div:s})=>{t({open:!0,sub_title:e,handle:()=>{n(),t({open:!1,handle:null})},title:i,context_div:s})}}},11149(e,t,n){n.r(t),n.d(t,{default:()=>w});var i=n(96540),s=n(86149),c=n(86090),r=n(85997),a=n(4412),d=n(75725),o=n(70447),l=n(61443),m=n(62042),h=n(78247),u=n(23430),p=n(87361),_=n(69918),y=n(96763),f=n(45907),x=n(34843),g=n(82893),v=n(74848);const j=[{key:"content_max_width",label:"正文最大宽度"},{key:"content_padding",label:"正文左右边距"},{key:"font_size",label:"正文字号"},{key:"line_height",label:"行高"}],k=/^\d+(\.\d+)?(px|%|rem|em|vw|vh|ch)?$/;function w(){const{t:e}=(0,s.B)(),t=(0,c.Zp)(),{check_user_auth:n}=(0,h.MH)(),w=(0,f.y)(),b=n(u.oV.md_editor_setting),[,C]=(0,x.fp)(g.AG.md_editor_setting),[,S]=(0,x.fp)(g.AG.md_theme_css),[F,G]=(0,i.useState)({}),[N,z]=(0,i.useState)(!0),[$,P]=(0,i.useState)(!1),[E,O]=(0,i.useState)([]),[A,X]=(0,i.useState)(_.FG.theme);(0,i.useEffect)(()=>{Promise.all([(0,_.gC)(),(0,y.Kz)()]).then(([e,t])=>{const n={};j.forEach(t=>n[t.key]=e[t.key]??""),G(n),X(e.theme??_.FG.theme),O(t)}).finally(()=>z(!1))},[]);const B=E.find(e=>e.id===A),I=e=>{const t=(F[e]??"").trim();return k.test(t)?t:_.FG[e]};return(0,v.jsxs)("div",{children:[(0,v.jsx)(a.aZ,{position:"right",children:(0,v.jsx)(r.rA,{icon:"arrow_back",title:e("上一页"),onClick:()=>t(-1)})}),(0,v.jsx)(d.jW,{isFull:!0,more:!0,children:(0,v.jsx)(d.NN,{children:(0,v.jsx)(d.xh,{children:(0,v.jsxs)(d.fI,{children:[(0,v.jsx)(d.VP,{widthPer:33,maxWidth:"30rem",children:(0,v.jsx)(o.Zp,{title:e("编辑器设置"),titleCom:(0,v.jsxs)(v.Fragment,{children:[(0,v.jsx)(r.C3,{text:e("恢复默认"),clickFun:()=>{const e={};j.forEach(t=>e[t.key]=_.FG[t.key]),G(e)}}),b&&(0,v.jsx)(r.$n,{text:e($?"保存中":"保存"),clickFun:()=>{$||(async()=>{for(const t of j){const n=(F[t.key]??"").trim();if(!k.test(n))return void(0,m.zN)(`${e(t.label)}: ${e("请输入合法的 CSS 值,例如 10px、3rem、80%")}`)}const t={};j.forEach(e=>t[e.key]=F[e.key].trim()),t.theme=A,P(!0);try{const n=await(0,_.fy)(t);if(n){(0,m.SK)(e("保存成功"));const t={};j.forEach(e=>t[e.key]=n[e.key]??""),G(t),X(n.theme??_.FG.theme),C({...n}),(0,y.sO)().then(S)}else(0,m.zN)(e("保存失败"))}finally{P(!1)}})()}})]}),children:N?(0,v.jsxs)("div",{className:"common-box common-box-center",children:[e("加载中"),"..."]}):(0,v.jsxs)("div",{className:"md-setting-form",children:[(0,v.jsx)(l.BC,{vertical:!0,label:e("主题"),children:(0,v.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:"0.4rem"},children:[(0,v.jsx)(l.l6,{value:A,onChange:e=>X(e),disabled:!b,options:[{title:e("不使用主题"),value:""},...E.map(e=>({title:e.id,value:e.id}))]}),(0,v.jsx)(r.rA,{icon:"add",title:e("新建主题"),onClick:()=>t(p.o.md_theme_editor_page)}),(0,v.jsx)(r.rA,{icon:"edit",title:e("编辑主题"),onClick:()=>t(`${p.o.md_theme_editor_page}?id=${encodeURIComponent(A)}`)}),B&&(0,v.jsx)(r.rA,{icon:"delete",title:e("删除主题"),onClick:()=>{return t=B,void w({sub_title:e("确认删除这个主题吗?"),confirm_fun:async()=>{await(0,y._8)(t.id)?((0,m.SK)(e("删除成功")),O(await(0,y.Kz)()),A===t.id&&X(_.FG.theme)):(0,m.zN)(e("删除失败"))}});var t}})]})}),j.map(t=>(0,v.jsx)(l.BC,{vertical:!0,label:e(t.label),children:(0,v.jsx)("input",{className:"input input--block",type:"text",spellCheck:!1,disabled:!b,placeholder:_.FG[t.key],value:F[t.key]??"",onChange:e=>G(n=>({...n,[t.key]:e.target.value}))})},t.key)),!b&&(0,v.jsx)("p",{className:"md-editor-setting-page__desc",children:e("nprmtp")})]})})}),(0,v.jsx)(d.VP,{widthPer:50,maxWidth:"60rem",children:(0,v.jsx)(o.Zp,{title:e("预览"),children:(0,v.jsx)("div",{className:"md-editor-setting-page__preview",ref:e=>(0,_.Ce)(e,{content_max_width:I("content_max_width"),content_padding:I("content_padding"),font_size:I("font_size"),line_height:I("line_height")}),children:(0,v.jsxs)("div",{className:"md-editor-setting-page__preview-sheet",children:[(0,v.jsx)("h3",{children:e("标题")}),(0,v.jsx)("p",{children:e("这是一段用于预览正文宽度、边距、字号和行高的示例文字。调整左侧数值即可看到这里的变化,与实际编辑器使用的是同一套样式变量。")}),(0,v.jsx)("p",{children:e("第二段文字,用来更清楚地看出行高。")})]})})})})]})})})})]})}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkfilecat=self.webpackChunkfilecat||[]).push([[2091],{22091(t,e,r){r.d(e,{A:()=>fr});var n={};r.r(n),r.d(n,{decode:()=>a,encode:()=>p,format:()=>f,parse:()=>x});var s={};r.r(s),r.d(s,{Any:()=>z,Cc:()=>S,Cf:()=>q,P:()=>w,S:()=>v,Z:()=>B});var o={};r.r(o),r.d(o,{arrayReplaceAt:()=>et,assign:()=>tt,escapeHtml:()=>ft,escapeRE:()=>mt,fromCodePoint:()=>nt,has:()=>K,isMdAsciiPunct:()=>Dt,isPunctChar:()=>kt,isSpace:()=>_t,isString:()=>X,isValidEntityCode:()=>rt,isWhiteSpace:()=>gt,lib:()=>yt,normalizeReference:()=>Ct,unescapeAll:()=>ct,unescapeMd:()=>ut});var i={};r.r(i),r.d(i,{parseLinkDestination:()=>At,parseLinkLabel:()=>Et,parseLinkTitle:()=>bt});const u={};function c(t,e){"string"!=typeof e&&(e=c.defaultChars);const r=function(t){let e=u[t];if(e)return e;e=u[t]=[];for(let t=0;t<128;t++){const r=String.fromCharCode(t);e.push(r)}for(let r=0;r<t.length;r++){const n=t.charCodeAt(r);e[n]="%"+("0"+n.toString(16).toUpperCase()).slice(-2)}return e}(e);return t.replace(/(%[a-f0-9]{2})+/gi,function(t){let e="";for(let n=0,s=t.length;n<s;n+=3){const o=parseInt(t.slice(n+1,n+3),16);if(o<128)e+=r[o];else{if(192==(224&o)&&n+3<s){const r=parseInt(t.slice(n+4,n+6),16);if(128==(192&r)){const t=o<<6&1984|63&r;e+=t<128?"��":String.fromCharCode(t),n+=3;continue}}if(224==(240&o)&&n+6<s){const r=parseInt(t.slice(n+4,n+6),16),s=parseInt(t.slice(n+7,n+9),16);if(128==(192&r)&&128==(192&s)){const t=o<<12&61440|r<<6&4032|63&s;e+=t<2048||t>=55296&&t<=57343?"���":String.fromCharCode(t),n+=6;continue}}if(240==(248&o)&&n+9<s){const r=parseInt(t.slice(n+4,n+6),16),s=parseInt(t.slice(n+7,n+9),16),i=parseInt(t.slice(n+10,n+12),16);if(128==(192&r)&&128==(192&s)&&128==(192&i)){let t=o<<18&1835008|r<<12&258048|s<<6&4032|63&i;t<65536||t>1114111?e+="����":(t-=65536,e+=String.fromCharCode(55296+(t>>10),56320+(1023&t))),n+=9;continue}}e+="�"}}return e})}c.defaultChars=";/?:@&=+$,#",c.componentChars="";const a=c,l={};function h(t,e,r){"string"!=typeof e&&(r=e,e=h.defaultChars),void 0===r&&(r=!0);const n=function(t){let e=l[t];if(e)return e;e=l[t]=[];for(let t=0;t<128;t++){const r=String.fromCharCode(t);/^[0-9a-z]$/i.test(r)?e.push(r):e.push("%"+("0"+t.toString(16).toUpperCase()).slice(-2))}for(let r=0;r<t.length;r++)e[t.charCodeAt(r)]=t[r];return e}(e);let s="";for(let e=0,o=t.length;e<o;e++){const i=t.charCodeAt(e);if(r&&37===i&&e+2<o&&/^[0-9a-f]{2}$/i.test(t.slice(e+1,e+3)))s+=t.slice(e,e+3),e+=2;else if(i<128)s+=n[i];else if(i>=55296&&i<=57343){if(i>=55296&&i<=56319&&e+1<o){const r=t.charCodeAt(e+1);if(r>=56320&&r<=57343){s+=encodeURIComponent(t[e]+t[e+1]),e++;continue}}s+="%EF%BF%BD"}else s+=encodeURIComponent(t[e])}return s}h.defaultChars=";/?:@&=+$,-_.!~*'()#",h.componentChars="-_.!~*'()";const p=h;function f(t){let e="";return e+=t.protocol||"",e+=t.slashes?"//":"",e+=t.auth?t.auth+"@":"",t.hostname&&-1!==t.hostname.indexOf(":")?e+="["+t.hostname+"]":e+=t.hostname||"",e+=t.port?":"+t.port:"",e+=t.pathname||"",e+=t.search||"",e+=t.hash||"",e}function d(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}const m=/^([a-z0-9.+-]+:)/i,_=/:[0-9]*$/,g=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,k=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),D=["'"].concat(k),C=["%","/","?",";","#"].concat(D),y=["/","?","#"],E=/^[+a-z0-9A-Z_-]{0,63}$/,A=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,b={javascript:!0,"javascript:":!0},F={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};d.prototype.parse=function(t,e){let r,n,s,o=t;if(o=o.trim(),!e&&1===t.split("#").length){const t=g.exec(o);if(t)return this.pathname=t[1],t[2]&&(this.search=t[2]),this}let i=m.exec(o);if(i&&(i=i[0],r=i.toLowerCase(),this.protocol=i,o=o.substr(i.length)),(e||i||o.match(/^\/\/[^@\/]+@[^@\/]+/))&&(s="//"===o.substr(0,2),!s||i&&b[i]||(o=o.substr(2),this.slashes=!0)),!b[i]&&(s||i&&!F[i])){let t,e,r=-1;for(let t=0;t<y.length;t++)n=o.indexOf(y[t]),-1!==n&&(-1===r||n<r)&&(r=n);e=-1===r?o.lastIndexOf("@"):o.lastIndexOf("@",r),-1!==e&&(t=o.slice(0,e),o=o.slice(e+1),this.auth=t),r=-1;for(let t=0;t<C.length;t++)n=o.indexOf(C[t]),-1!==n&&(-1===r||n<r)&&(r=n);-1===r&&(r=o.length),":"===o[r-1]&&r--;const s=o.slice(0,r);o=o.slice(r),this.parseHost(s),this.hostname=this.hostname||"";const i="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!i){const t=this.hostname.split(/\./);for(let e=0,r=t.length;e<r;e++){const r=t[e];if(r&&!r.match(E)){let n="";for(let t=0,e=r.length;t<e;t++)r.charCodeAt(t)>127?n+="x":n+=r[t];if(!n.match(E)){const n=t.slice(0,e),s=t.slice(e+1),i=r.match(A);i&&(n.push(i[1]),s.unshift(i[2])),s.length&&(o=s.join(".")+o),this.hostname=n.join(".");break}}}}this.hostname.length>255&&(this.hostname=""),i&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}const u=o.indexOf("#");-1!==u&&(this.hash=o.substr(u),o=o.slice(0,u));const c=o.indexOf("?");return-1!==c&&(this.search=o.substr(c),o=o.slice(0,c)),o&&(this.pathname=o),F[r]&&this.hostname&&!this.pathname&&(this.pathname=""),this},d.prototype.parseHost=function(t){let e=_.exec(t);e&&(e=e[0],":"!==e&&(this.port=e.substr(1)),t=t.substr(0,t.length-e.length)),t&&(this.hostname=t)};const x=function(t,e){if(t&&t instanceof d)return t;const r=new d;return r.parse(t,e),r},w=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDEAD\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3E]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2\uDF00-\uDF09]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDF43-\uDF4F\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A\uDFE2]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/,v=/[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u0888\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20C0\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFF\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u31EF\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBC2\uFD40-\uFD4F\uFDCF\uFDFC-\uFDFF\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD833[\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEDC-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF76\uDF7B-\uDFD9\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDE53\uDE60-\uDE6D\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC5\uDECE-\uDEDB\uDEE0-\uDEE8\uDEF0-\uDEF8\uDF00-\uDF92\uDF94-\uDFCA]/,z=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,S=/[\0-\x1F\x7F-\x9F]/,q=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u0890\u0891\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC3F]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/,B=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,L=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms„‹•˜¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegraìȹoɴ͹\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱cò׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map(t=>t.charCodeAt(0))),I=new Uint16Array("Ȁaglq\tɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map(t=>t.charCodeAt(0)));var M;const $=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),T=null!==(M=String.fromCodePoint)&&void 0!==M?M:function(t){let e="";return t>65535&&(t-=65536,e+=String.fromCharCode(t>>>10&1023|55296),t=56320|1023&t),e+=String.fromCharCode(t),e};function R(t){var e;return t>=55296&&t<=57343||t>1114111?65533:null!==(e=$.get(t))&&void 0!==e?e:t}var N;!function(t){t[t.NUM=35]="NUM",t[t.SEMI=59]="SEMI",t[t.EQUALS=61]="EQUALS",t[t.ZERO=48]="ZERO",t[t.NINE=57]="NINE",t[t.LOWER_A=97]="LOWER_A",t[t.LOWER_F=102]="LOWER_F",t[t.LOWER_X=120]="LOWER_X",t[t.LOWER_Z=122]="LOWER_Z",t[t.UPPER_A=65]="UPPER_A",t[t.UPPER_F=70]="UPPER_F",t[t.UPPER_Z=90]="UPPER_Z"}(N||(N={}));var P,O,Z;function j(t){return t>=N.ZERO&&t<=N.NINE}function U(t){return t>=N.UPPER_A&&t<=N.UPPER_F||t>=N.LOWER_A&&t<=N.LOWER_F}function H(t){return t===N.EQUALS||function(t){return t>=N.UPPER_A&&t<=N.UPPER_Z||t>=N.LOWER_A&&t<=N.LOWER_Z||j(t)}(t)}!function(t){t[t.VALUE_LENGTH=49152]="VALUE_LENGTH",t[t.BRANCH_LENGTH=16256]="BRANCH_LENGTH",t[t.JUMP_TABLE=127]="JUMP_TABLE"}(P||(P={})),function(t){t[t.EntityStart=0]="EntityStart",t[t.NumericStart=1]="NumericStart",t[t.NumericDecimal=2]="NumericDecimal",t[t.NumericHex=3]="NumericHex",t[t.NamedEntity=4]="NamedEntity"}(O||(O={})),function(t){t[t.Legacy=0]="Legacy",t[t.Strict=1]="Strict",t[t.Attribute=2]="Attribute"}(Z||(Z={}));class V{constructor(t,e,r){this.decodeTree=t,this.emitCodePoint=e,this.errors=r,this.state=O.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=Z.Strict}startEntity(t){this.decodeMode=t,this.state=O.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,e){switch(this.state){case O.EntityStart:return t.charCodeAt(e)===N.NUM?(this.state=O.NumericStart,this.consumed+=1,this.stateNumericStart(t,e+1)):(this.state=O.NamedEntity,this.stateNamedEntity(t,e));case O.NumericStart:return this.stateNumericStart(t,e);case O.NumericDecimal:return this.stateNumericDecimal(t,e);case O.NumericHex:return this.stateNumericHex(t,e);case O.NamedEntity:return this.stateNamedEntity(t,e)}}stateNumericStart(t,e){return e>=t.length?-1:(32|t.charCodeAt(e))===N.LOWER_X?(this.state=O.NumericHex,this.consumed+=1,this.stateNumericHex(t,e+1)):(this.state=O.NumericDecimal,this.stateNumericDecimal(t,e))}addToNumericResult(t,e,r,n){if(e!==r){const s=r-e;this.result=this.result*Math.pow(n,s)+parseInt(t.substr(e,s),n),this.consumed+=s}}stateNumericHex(t,e){const r=e;for(;e<t.length;){const n=t.charCodeAt(e);if(!j(n)&&!U(n))return this.addToNumericResult(t,r,e,16),this.emitNumericEntity(n,3);e+=1}return this.addToNumericResult(t,r,e,16),-1}stateNumericDecimal(t,e){const r=e;for(;e<t.length;){const n=t.charCodeAt(e);if(!j(n))return this.addToNumericResult(t,r,e,10),this.emitNumericEntity(n,2);e+=1}return this.addToNumericResult(t,r,e,10),-1}emitNumericEntity(t,e){var r;if(this.consumed<=e)return null===(r=this.errors)||void 0===r||r.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(t===N.SEMI)this.consumed+=1;else if(this.decodeMode===Z.Strict)return 0;return this.emitCodePoint(R(this.result),this.consumed),this.errors&&(t!==N.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(t,e){const{decodeTree:r}=this;let n=r[this.treeIndex],s=(n&P.VALUE_LENGTH)>>14;for(;e<t.length;e++,this.excess++){const o=t.charCodeAt(e);if(this.treeIndex=W(r,n,this.treeIndex+Math.max(1,s),o),this.treeIndex<0)return 0===this.result||this.decodeMode===Z.Attribute&&(0===s||H(o))?0:this.emitNotTerminatedNamedEntity();if(n=r[this.treeIndex],s=(n&P.VALUE_LENGTH)>>14,0!==s){if(o===N.SEMI)return this.emitNamedEntityData(this.treeIndex,s,this.consumed+this.excess);this.decodeMode!==Z.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var t;const{result:e,decodeTree:r}=this,n=(r[e]&P.VALUE_LENGTH)>>14;return this.emitNamedEntityData(e,n,this.consumed),null===(t=this.errors)||void 0===t||t.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(t,e,r){const{decodeTree:n}=this;return this.emitCodePoint(1===e?n[t]&~P.VALUE_LENGTH:n[t+1],r),3===e&&this.emitCodePoint(n[t+2],r),r}end(){var t;switch(this.state){case O.NamedEntity:return 0===this.result||this.decodeMode===Z.Attribute&&this.result!==this.treeIndex?0:this.emitNotTerminatedNamedEntity();case O.NumericDecimal:return this.emitNumericEntity(0,2);case O.NumericHex:return this.emitNumericEntity(0,3);case O.NumericStart:return null===(t=this.errors)||void 0===t||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case O.EntityStart:return 0}}}function G(t){let e="";const r=new V(t,t=>e+=T(t));return function(t,n){let s=0,o=0;for(;(o=t.indexOf("&",o))>=0;){e+=t.slice(s,o),r.startEntity(n);const i=r.write(t,o+1);if(i<0){s=o+r.end();break}s=o+i,o=0===i?s+1:s}const i=e+t.slice(s);return e="",i}}function W(t,e,r,n){const s=(e&P.BRANCH_LENGTH)>>7,o=e&P.JUMP_TABLE;if(0===s)return 0!==o&&n===o?r:-1;if(o){const e=n-o;return e<0||e>=s?-1:t[r+e]-1}let i=r,u=i+s-1;for(;i<=u;){const e=i+u>>>1,r=t[e];if(r<n)i=e+1;else{if(!(r>n))return t[e+s];u=e-1}}return-1}const J=G(L);G(I);function Q(t,e=Z.Legacy){return J(t,e)}function X(t){return"[object String]"===function(t){return Object.prototype.toString.call(t)}(t)}const Y=Object.prototype.hasOwnProperty;function K(t,e){return Y.call(t,e)}function tt(t){return Array.prototype.slice.call(arguments,1).forEach(function(e){if(e){if("object"!=typeof e)throw new TypeError(e+"must be object");Object.keys(e).forEach(function(r){t[r]=e[r]})}}),t}function et(t,e,r){return[].concat(t.slice(0,e),r,t.slice(e+1))}function rt(t){return!(t>=55296&&t<=57343)&&(!(t>=64976&&t<=65007)&&(!!(65535&~t&&65534!=(65535&t))&&(!(t>=0&&t<=8)&&(11!==t&&(!(t>=14&&t<=31)&&(!(t>=127&&t<=159)&&!(t>1114111)))))))}function nt(t){if(t>65535){const e=55296+((t-=65536)>>10),r=56320+(1023&t);return String.fromCharCode(e,r)}return String.fromCharCode(t)}const st=/\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g,ot=new RegExp(st.source+"|"+/&([a-z#][a-z0-9]{1,31});/gi.source,"gi"),it=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;function ut(t){return t.indexOf("\\")<0?t:t.replace(st,"$1")}function ct(t){return t.indexOf("\\")<0&&t.indexOf("&")<0?t:t.replace(ot,function(t,e,r){return e||function(t,e){if(35===e.charCodeAt(0)&&it.test(e)){const r="x"===e[1].toLowerCase()?parseInt(e.slice(2),16):parseInt(e.slice(1),10);return rt(r)?nt(r):t}const r=Q(t);return r!==t?r:t}(t,r)})}const at=/[&<>"]/,lt=/[&<>"]/g,ht={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;"};function pt(t){return ht[t]}function ft(t){return at.test(t)?t.replace(lt,pt):t}const dt=/[.?*+^$[\]\\(){}|-]/g;function mt(t){return t.replace(dt,"\\$&")}function _t(t){switch(t){case 9:case 32:return!0}return!1}function gt(t){if(t>=8192&&t<=8202)return!0;switch(t){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}function kt(t){return w.test(t)||v.test(t)}function Dt(t){switch(t){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function Ct(t){return t=t.trim().replace(/\s+/g," "),"Ṿ"==="ẞ".toLowerCase()&&(t=t.replace(/ẞ/g,"ß")),t.toLowerCase().toUpperCase()}const yt={mdurl:n,ucmicro:s};function Et(t,e,r){let n,s,o,i;const u=t.posMax,c=t.pos;for(t.pos=e+1,n=1;t.pos<u;){if(o=t.src.charCodeAt(t.pos),93===o&&(n--,0===n)){s=!0;break}if(i=t.pos,t.md.inline.skipToken(t),91===o)if(i===t.pos-1)n++;else if(r)return t.pos=c,-1}let a=-1;return s&&(a=t.pos),t.pos=c,a}function At(t,e,r){let n,s=e;const o={ok:!1,pos:0,str:""};if(60===t.charCodeAt(s)){for(s++;s<r;){if(n=t.charCodeAt(s),10===n)return o;if(60===n)return o;if(62===n)return o.pos=s+1,o.str=ct(t.slice(e+1,s)),o.ok=!0,o;92===n&&s+1<r?s+=2:s++}return o}let i=0;for(;s<r&&(n=t.charCodeAt(s),32!==n)&&!(n<32||127===n);)if(92===n&&s+1<r){if(32===t.charCodeAt(s+1))break;s+=2}else{if(40===n&&(i++,i>32))return o;if(41===n){if(0===i)break;i--}s++}return e===s||0!==i||(o.str=ct(t.slice(e,s)),o.pos=s,o.ok=!0),o}function bt(t,e,r,n){let s,o=e;const i={ok:!1,can_continue:!1,pos:0,str:"",marker:0};if(n)i.str=n.str,i.marker=n.marker;else{if(o>=r)return i;let n=t.charCodeAt(o);if(34!==n&&39!==n&&40!==n)return i;e++,o++,40===n&&(n=41),i.marker=n}for(;o<r;){if(s=t.charCodeAt(o),s===i.marker)return i.pos=o+1,i.str+=ct(t.slice(e,o)),i.ok=!0,i;if(40===s&&41===i.marker)return i;92===s&&o+1<r&&o++,o++}return i.can_continue=!0,i.str+=ct(t.slice(e,o)),i}const Ft={};function xt(){this.rules=tt({},Ft)}Ft.code_inline=function(t,e,r,n,s){const o=t[e];return"<code"+s.renderAttrs(o)+">"+ft(o.content)+"</code>"},Ft.code_block=function(t,e,r,n,s){const o=t[e];return"<pre"+s.renderAttrs(o)+"><code>"+ft(t[e].content)+"</code></pre>\n"},Ft.fence=function(t,e,r,n,s){const o=t[e],i=o.info?ct(o.info).trim():"";let u,c="",a="";if(i){const t=i.split(/(\s+)/g);c=t[0],a=t.slice(2).join("")}if(u=r.highlight&&r.highlight(o.content,c,a)||ft(o.content),0===u.indexOf("<pre"))return u+"\n";if(i){const t=o.attrIndex("class"),e=o.attrs?o.attrs.slice():[];t<0?e.push(["class",r.langPrefix+c]):(e[t]=e[t].slice(),e[t][1]+=" "+r.langPrefix+c);const n={attrs:e};return`<pre><code${s.renderAttrs(n)}>${u}</code></pre>\n`}return`<pre><code${s.renderAttrs(o)}>${u}</code></pre>\n`},Ft.image=function(t,e,r,n,s){const o=t[e];return o.attrs[o.attrIndex("alt")][1]=s.renderInlineAsText(o.children,r,n),s.renderToken(t,e,r)},Ft.hardbreak=function(t,e,r){return r.xhtmlOut?"<br />\n":"<br>\n"},Ft.softbreak=function(t,e,r){return r.breaks?r.xhtmlOut?"<br />\n":"<br>\n":"\n"},Ft.text=function(t,e){return ft(t[e].content)},Ft.html_block=function(t,e){return t[e].content},Ft.html_inline=function(t,e){return t[e].content},xt.prototype.renderAttrs=function(t){let e,r,n;if(!t.attrs)return"";for(n="",e=0,r=t.attrs.length;e<r;e++)n+=" "+ft(t.attrs[e][0])+'="'+ft(t.attrs[e][1])+'"';return n},xt.prototype.renderToken=function(t,e,r){const n=t[e];let s="";if(n.hidden)return"";n.block&&-1!==n.nesting&&e&&t[e-1].hidden&&(s+="\n"),s+=(-1===n.nesting?"</":"<")+n.tag,s+=this.renderAttrs(n),0===n.nesting&&r.xhtmlOut&&(s+=" /");let o=!1;if(n.block&&(o=!0,1===n.nesting&&e+1<t.length)){const r=t[e+1];("inline"===r.type||r.hidden||-1===r.nesting&&r.tag===n.tag)&&(o=!1)}return s+=o?">\n":">",s},xt.prototype.renderInline=function(t,e,r){let n="";const s=this.rules;for(let o=0,i=t.length;o<i;o++){const i=t[o].type;void 0!==s[i]?n+=s[i](t,o,e,r,this):n+=this.renderToken(t,o,e)}return n},xt.prototype.renderInlineAsText=function(t,e,r){let n="";for(let s=0,o=t.length;s<o;s++)switch(t[s].type){case"text":case"html_inline":case"html_block":n+=t[s].content;break;case"image":n+=this.renderInlineAsText(t[s].children,e,r);break;case"softbreak":case"hardbreak":n+="\n"}return n},xt.prototype.render=function(t,e,r){let n="";const s=this.rules;for(let o=0,i=t.length;o<i;o++){const i=t[o].type;"inline"===i?n+=this.renderInline(t[o].children,e,r):void 0!==s[i]?n+=s[i](t,o,e,r,this):n+=this.renderToken(t,o,e,r)}return n};const wt=xt;function vt(){this.__rules__=[],this.__cache__=null}vt.prototype.__find__=function(t){for(let e=0;e<this.__rules__.length;e++)if(this.__rules__[e].name===t)return e;return-1},vt.prototype.__compile__=function(){const t=this,e=[""];t.__rules__.forEach(function(t){t.enabled&&t.alt.forEach(function(t){e.indexOf(t)<0&&e.push(t)})}),t.__cache__={},e.forEach(function(e){t.__cache__[e]=[],t.__rules__.forEach(function(r){r.enabled&&(e&&r.alt.indexOf(e)<0||t.__cache__[e].push(r.fn))})})},vt.prototype.at=function(t,e,r){const n=this.__find__(t),s=r||{};if(-1===n)throw new Error("Parser rule not found: "+t);this.__rules__[n].fn=e,this.__rules__[n].alt=s.alt||[],this.__cache__=null},vt.prototype.before=function(t,e,r,n){const s=this.__find__(t),o=n||{};if(-1===s)throw new Error("Parser rule not found: "+t);this.__rules__.splice(s,0,{name:e,enabled:!0,fn:r,alt:o.alt||[]}),this.__cache__=null},vt.prototype.after=function(t,e,r,n){const s=this.__find__(t),o=n||{};if(-1===s)throw new Error("Parser rule not found: "+t);this.__rules__.splice(s+1,0,{name:e,enabled:!0,fn:r,alt:o.alt||[]}),this.__cache__=null},vt.prototype.push=function(t,e,r){const n=r||{};this.__rules__.push({name:t,enabled:!0,fn:e,alt:n.alt||[]}),this.__cache__=null},vt.prototype.enable=function(t,e){Array.isArray(t)||(t=[t]);const r=[];return t.forEach(function(t){const n=this.__find__(t);if(n<0){if(e)return;throw new Error("Rules manager: invalid rule name "+t)}this.__rules__[n].enabled=!0,r.push(t)},this),this.__cache__=null,r},vt.prototype.enableOnly=function(t,e){Array.isArray(t)||(t=[t]),this.__rules__.forEach(function(t){t.enabled=!1}),this.enable(t,e)},vt.prototype.disable=function(t,e){Array.isArray(t)||(t=[t]);const r=[];return t.forEach(function(t){const n=this.__find__(t);if(n<0){if(e)return;throw new Error("Rules manager: invalid rule name "+t)}this.__rules__[n].enabled=!1,r.push(t)},this),this.__cache__=null,r},vt.prototype.getRules=function(t){return null===this.__cache__&&this.__compile__(),this.__cache__[t]||[]};const zt=vt;function St(t,e,r){this.type=t,this.tag=e,this.attrs=null,this.map=null,this.nesting=r,this.level=0,this.children=null,this.content="",this.markup="",this.info="",this.meta=null,this.block=!1,this.hidden=!1}St.prototype.attrIndex=function(t){if(!this.attrs)return-1;const e=this.attrs;for(let r=0,n=e.length;r<n;r++)if(e[r][0]===t)return r;return-1},St.prototype.attrPush=function(t){this.attrs?this.attrs.push(t):this.attrs=[t]},St.prototype.attrSet=function(t,e){const r=this.attrIndex(t),n=[t,e];r<0?this.attrPush(n):this.attrs[r]=n},St.prototype.attrGet=function(t){const e=this.attrIndex(t);let r=null;return e>=0&&(r=this.attrs[e][1]),r},St.prototype.attrJoin=function(t,e){const r=this.attrIndex(t);r<0?this.attrPush([t,e]):this.attrs[r][1]=this.attrs[r][1]+" "+e};const qt=St;function Bt(t,e,r){this.src=t,this.env=r,this.tokens=[],this.inlineMode=!1,this.md=e}Bt.prototype.Token=qt;const Lt=Bt,It=/\r\n?|\n/g,Mt=/\0/g;function $t(t){return/^<a[>\s]/i.test(t)}function Tt(t){return/^<\/a\s*>/i.test(t)}const Rt=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,Nt=/\((c|tm|r)\)/i,Pt=/\((c|tm|r)\)/gi,Ot={c:"©",r:"®",tm:"™"};function Zt(t,e){return Ot[e.toLowerCase()]}function jt(t){let e=0;for(let r=t.length-1;r>=0;r--){const n=t[r];"text"!==n.type||e||(n.content=n.content.replace(Pt,Zt)),"link_open"===n.type&&"auto"===n.info&&e--,"link_close"===n.type&&"auto"===n.info&&e++}}function Ut(t){let e=0;for(let r=t.length-1;r>=0;r--){const n=t[r];"text"!==n.type||e||Rt.test(n.content)&&(n.content=n.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/gm,"$1—").replace(/(^|\s)--(?=\s|$)/gm,"$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/gm,"$1–")),"link_open"===n.type&&"auto"===n.info&&e--,"link_close"===n.type&&"auto"===n.info&&e++}}const Ht=/['"]/,Vt=/['"]/g;function Gt(t,e,r){return t.slice(0,e)+r+t.slice(e+1)}function Wt(t,e){let r;const n=[];for(let s=0;s<t.length;s++){const o=t[s],i=t[s].level;for(r=n.length-1;r>=0&&!(n[r].level<=i);r--);if(n.length=r+1,"text"!==o.type)continue;let u=o.content,c=0,a=u.length;t:for(;c<a;){Vt.lastIndex=c;const l=Vt.exec(u);if(!l)break;let h=!0,p=!0;c=l.index+1;const f="'"===l[0];let d=32;if(l.index-1>=0)d=u.charCodeAt(l.index-1);else for(r=s-1;r>=0&&("softbreak"!==t[r].type&&"hardbreak"!==t[r].type);r--)if(t[r].content){d=t[r].content.charCodeAt(t[r].content.length-1);break}let m=32;if(c<a)m=u.charCodeAt(c);else for(r=s+1;r<t.length&&("softbreak"!==t[r].type&&"hardbreak"!==t[r].type);r++)if(t[r].content){m=t[r].content.charCodeAt(0);break}const _=Dt(d)||kt(String.fromCharCode(d)),g=Dt(m)||kt(String.fromCharCode(m)),k=gt(d),D=gt(m);if(D?h=!1:g&&(k||_||(h=!1)),k?p=!1:_&&(D||g||(p=!1)),34===m&&'"'===l[0]&&d>=48&&d<=57&&(p=h=!1),h&&p&&(h=_,p=g),h||p){if(p)for(r=n.length-1;r>=0;r--){let h=n[r];if(n[r].level<i)break;if(h.single===f&&n[r].level===i){let i,p;h=n[r],f?(i=e.md.options.quotes[2],p=e.md.options.quotes[3]):(i=e.md.options.quotes[0],p=e.md.options.quotes[1]),o.content=Gt(o.content,l.index,p),t[h.token].content=Gt(t[h.token].content,h.pos,i),c+=p.length-1,h.token===s&&(c+=i.length-1),u=o.content,a=u.length,n.length=r;continue t}}h?n.push({token:s,pos:l.index,single:f,level:i}):p&&f&&(o.content=Gt(o.content,l.index,"’"))}else f&&(o.content=Gt(o.content,l.index,"’"))}}}const Jt=[["normalize",function(t){let e;e=t.src.replace(It,"\n"),e=e.replace(Mt,"�"),t.src=e}],["block",function(t){let e;t.inlineMode?(e=new t.Token("inline","",0),e.content=t.src,e.map=[0,1],e.children=[],t.tokens.push(e)):t.md.block.parse(t.src,t.md,t.env,t.tokens)}],["inline",function(t){const e=t.tokens;for(let r=0,n=e.length;r<n;r++){const n=e[r];"inline"===n.type&&t.md.inline.parse(n.content,t.md,t.env,n.children)}}],["linkify",function(t){const e=t.tokens;if(t.md.options.linkify)for(let r=0,n=e.length;r<n;r++){if("inline"!==e[r].type||!t.md.linkify.pretest(e[r].content))continue;let n=e[r].children,s=0;for(let o=n.length-1;o>=0;o--){const i=n[o];if("link_close"!==i.type){if("html_inline"===i.type&&($t(i.content)&&s>0&&s--,Tt(i.content)&&s++),!(s>0)&&"text"===i.type&&t.md.linkify.test(i.content)){const s=i.content;let u=t.md.linkify.match(s);const c=[];let a=i.level,l=0;u.length>0&&0===u[0].index&&o>0&&"text_special"===n[o-1].type&&(u=u.slice(1));for(let e=0;e<u.length;e++){const r=u[e].url,n=t.md.normalizeLink(r);if(!t.md.validateLink(n))continue;let o=u[e].text;o=u[e].schema?"mailto:"!==u[e].schema||/^mailto:/i.test(o)?t.md.normalizeLinkText(o):t.md.normalizeLinkText("mailto:"+o).replace(/^mailto:/,""):t.md.normalizeLinkText("http://"+o).replace(/^http:\/\//,"");const i=u[e].index;if(i>l){const e=new t.Token("text","",0);e.content=s.slice(l,i),e.level=a,c.push(e)}const h=new t.Token("link_open","a",1);h.attrs=[["href",n]],h.level=a++,h.markup="linkify",h.info="auto",c.push(h);const p=new t.Token("text","",0);p.content=o,p.level=a,c.push(p);const f=new t.Token("link_close","a",-1);f.level=--a,f.markup="linkify",f.info="auto",c.push(f),l=u[e].lastIndex}if(l<s.length){const e=new t.Token("text","",0);e.content=s.slice(l),e.level=a,c.push(e)}e[r].children=n=et(n,o,c)}}else for(o--;n[o].level!==i.level&&"link_open"!==n[o].type;)o--}}}],["replacements",function(t){let e;if(t.md.options.typographer)for(e=t.tokens.length-1;e>=0;e--)"inline"===t.tokens[e].type&&(Nt.test(t.tokens[e].content)&&jt(t.tokens[e].children),Rt.test(t.tokens[e].content)&&Ut(t.tokens[e].children))}],["smartquotes",function(t){if(t.md.options.typographer)for(let e=t.tokens.length-1;e>=0;e--)"inline"===t.tokens[e].type&&Ht.test(t.tokens[e].content)&&Wt(t.tokens[e].children,t)}],["text_join",function(t){let e,r;const n=t.tokens,s=n.length;for(let t=0;t<s;t++){if("inline"!==n[t].type)continue;const s=n[t].children,o=s.length;for(e=0;e<o;e++)"text_special"===s[e].type&&(s[e].type="text");for(e=r=0;e<o;e++)"text"===s[e].type&&e+1<o&&"text"===s[e+1].type?s[e+1].content=s[e].content+s[e+1].content:(e!==r&&(s[r]=s[e]),r++);e!==r&&(s.length=r)}}]];function Qt(){this.ruler=new zt;for(let t=0;t<Jt.length;t++)this.ruler.push(Jt[t][0],Jt[t][1])}Qt.prototype.process=function(t){const e=this.ruler.getRules("");for(let r=0,n=e.length;r<n;r++)e[r](t)},Qt.prototype.State=Lt;const Xt=Qt;function Yt(t,e,r,n){this.src=t,this.md=e,this.env=r,this.tokens=n,this.bMarks=[],this.eMarks=[],this.tShift=[],this.sCount=[],this.bsCount=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.ddIndent=-1,this.listIndent=-1,this.parentType="root",this.level=0;const s=this.src;for(let t=0,e=0,r=0,n=0,o=s.length,i=!1;e<o;e++){const u=s.charCodeAt(e);if(!i){if(_t(u)){r++,9===u?n+=4-n%4:n++;continue}i=!0}10!==u&&e!==o-1||(10!==u&&e++,this.bMarks.push(t),this.eMarks.push(e),this.tShift.push(r),this.sCount.push(n),this.bsCount.push(0),i=!1,r=0,n=0,t=e+1)}this.bMarks.push(s.length),this.eMarks.push(s.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}Yt.prototype.push=function(t,e,r){const n=new qt(t,e,r);return n.block=!0,r<0&&this.level--,n.level=this.level,r>0&&this.level++,this.tokens.push(n),n},Yt.prototype.isEmpty=function(t){return this.bMarks[t]+this.tShift[t]>=this.eMarks[t]},Yt.prototype.skipEmptyLines=function(t){for(let e=this.lineMax;t<e&&!(this.bMarks[t]+this.tShift[t]<this.eMarks[t]);t++);return t},Yt.prototype.skipSpaces=function(t){for(let e=this.src.length;t<e;t++){if(!_t(this.src.charCodeAt(t)))break}return t},Yt.prototype.skipSpacesBack=function(t,e){if(t<=e)return t;for(;t>e;)if(!_t(this.src.charCodeAt(--t)))return t+1;return t},Yt.prototype.skipChars=function(t,e){for(let r=this.src.length;t<r&&this.src.charCodeAt(t)===e;t++);return t},Yt.prototype.skipCharsBack=function(t,e,r){if(t<=r)return t;for(;t>r;)if(e!==this.src.charCodeAt(--t))return t+1;return t},Yt.prototype.getLines=function(t,e,r,n){if(t>=e)return"";const s=new Array(e-t);for(let o=0,i=t;i<e;i++,o++){let t=0;const u=this.bMarks[i];let c,a=u;for(c=i+1<e||n?this.eMarks[i]+1:this.eMarks[i];a<c&&t<r;){const e=this.src.charCodeAt(a);if(_t(e))9===e?t+=4-(t+this.bsCount[i])%4:t++;else{if(!(a-u<this.tShift[i]))break;t++}a++}s[o]=t>r?new Array(t-r+1).join(" ")+this.src.slice(a,c):this.src.slice(a,c)}return s.join("")},Yt.prototype.Token=qt;const Kt=Yt;function te(t,e){const r=t.bMarks[e]+t.tShift[e],n=t.eMarks[e];return t.src.slice(r,n)}function ee(t){const e=[],r=t.length;let n=0,s=t.charCodeAt(n),o=!1,i=0,u="";for(;n<r;)124===s&&(o?(u+=t.substring(i,n-1),i=n):(e.push(u+t.substring(i,n)),u="",i=n+1)),o=92===s,n++,s=t.charCodeAt(n);return e.push(u+t.substring(i)),e}function re(t,e){const r=t.eMarks[e];let n=t.bMarks[e]+t.tShift[e];const s=t.src.charCodeAt(n++);if(42!==s&&45!==s&&43!==s)return-1;if(n<r){if(!_t(t.src.charCodeAt(n)))return-1}return n}function ne(t,e){const r=t.bMarks[e]+t.tShift[e],n=t.eMarks[e];let s=r;if(s+1>=n)return-1;let o=t.src.charCodeAt(s++);if(o<48||o>57)return-1;for(;;){if(s>=n)return-1;if(o=t.src.charCodeAt(s++),!(o>=48&&o<=57)){if(41===o||46===o)break;return-1}if(s-r>=10)return-1}return s<n&&(o=t.src.charCodeAt(s),!_t(o))?-1:s}const se="<[A-Za-z][A-Za-z0-9\\-]*(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^\"'=<>`\\x00-\\x20]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",oe="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",ie=new RegExp("^(?:"+se+"|"+oe+"|\x3c!---?>|\x3c!--(?:[^-]|-[^-]|--[^>])*--\x3e|<[?][\\s\\S]*?[?]>|<![A-Za-z][^>]*>|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>)"),ue=new RegExp("^(?:"+se+"|"+oe+")"),ce=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"].join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(ue.source+"\\s*$"),/^$/,!1]];const ae=[["table",function(t,e,r,n){if(e+2>r)return!1;let s=e+1;if(t.sCount[s]<t.blkIndent)return!1;if(t.sCount[s]-t.blkIndent>=4)return!1;let o=t.bMarks[s]+t.tShift[s];if(o>=t.eMarks[s])return!1;const i=t.src.charCodeAt(o++);if(124!==i&&45!==i&&58!==i)return!1;if(o>=t.eMarks[s])return!1;const u=t.src.charCodeAt(o++);if(124!==u&&45!==u&&58!==u&&!_t(u))return!1;if(45===i&&_t(u))return!1;for(;o<t.eMarks[s];){const e=t.src.charCodeAt(o);if(124!==e&&45!==e&&58!==e&&!_t(e))return!1;o++}let c=te(t,e+1),a=c.split("|");const l=[];for(let t=0;t<a.length;t++){const e=a[t].trim();if(!e){if(0===t||t===a.length-1)continue;return!1}if(!/^:?-+:?$/.test(e))return!1;58===e.charCodeAt(e.length-1)?l.push(58===e.charCodeAt(0)?"center":"right"):58===e.charCodeAt(0)?l.push("left"):l.push("")}if(c=te(t,e).trim(),-1===c.indexOf("|"))return!1;if(t.sCount[e]-t.blkIndent>=4)return!1;a=ee(c),a.length&&""===a[0]&&a.shift(),a.length&&""===a[a.length-1]&&a.pop();const h=a.length;if(0===h||h!==l.length)return!1;if(n)return!0;const p=t.parentType;t.parentType="table";const f=t.md.block.ruler.getRules("blockquote"),d=[e,0];t.push("table_open","table",1).map=d,t.push("thead_open","thead",1).map=[e,e+1],t.push("tr_open","tr",1).map=[e,e+1];for(let e=0;e<a.length;e++){const r=t.push("th_open","th",1);l[e]&&(r.attrs=[["style","text-align:"+l[e]]]);const n=t.push("inline","",0);n.content=a[e].trim(),n.children=[],t.push("th_close","th",-1)}let m;t.push("tr_close","tr",-1),t.push("thead_close","thead",-1);let _=0;for(s=e+2;s<r&&!(t.sCount[s]<t.blkIndent);s++){let n=!1;for(let e=0,o=f.length;e<o;e++)if(f[e](t,s,r,!0)){n=!0;break}if(n)break;if(c=te(t,s).trim(),!c)break;if(t.sCount[s]-t.blkIndent>=4)break;if(a=ee(c),a.length&&""===a[0]&&a.shift(),a.length&&""===a[a.length-1]&&a.pop(),_+=h-a.length,_>65536)break;if(s===e+2){t.push("tbody_open","tbody",1).map=m=[e+2,0]}t.push("tr_open","tr",1).map=[s,s+1];for(let e=0;e<h;e++){const r=t.push("td_open","td",1);l[e]&&(r.attrs=[["style","text-align:"+l[e]]]);const n=t.push("inline","",0);n.content=a[e]?a[e].trim():"",n.children=[],t.push("td_close","td",-1)}t.push("tr_close","tr",-1)}return m&&(t.push("tbody_close","tbody",-1),m[1]=s),t.push("table_close","table",-1),d[1]=s,t.parentType=p,t.line=s,!0},["paragraph","reference"]],["code",function(t,e,r){if(t.sCount[e]-t.blkIndent<4)return!1;let n=e+1,s=n;for(;n<r;)if(t.isEmpty(n))n++;else{if(!(t.sCount[n]-t.blkIndent>=4))break;n++,s=n}t.line=s;const o=t.push("code_block","code",0);return o.content=t.getLines(e,s,4+t.blkIndent,!1)+"\n",o.map=[e,t.line],!0}],["fence",function(t,e,r,n){let s=t.bMarks[e]+t.tShift[e],o=t.eMarks[e];if(t.sCount[e]-t.blkIndent>=4)return!1;if(s+3>o)return!1;const i=t.src.charCodeAt(s);if(126!==i&&96!==i)return!1;let u=s;s=t.skipChars(s,i);let c=s-u;if(c<3)return!1;const a=t.src.slice(u,s),l=t.src.slice(s,o);if(96===i&&l.indexOf(String.fromCharCode(i))>=0)return!1;if(n)return!0;let h=e,p=!1;for(;(h++,!(h>=r))&&(s=u=t.bMarks[h]+t.tShift[h],o=t.eMarks[h],!(s<o&&t.sCount[h]<t.blkIndent));)if(t.src.charCodeAt(s)===i&&!(t.sCount[h]-t.blkIndent>=4||(s=t.skipChars(s,i),s-u<c||(s=t.skipSpaces(s),s<o)))){p=!0;break}c=t.sCount[e],t.line=h+(p?1:0);const f=t.push("fence","code",0);return f.info=l,f.content=t.getLines(e+1,h,c,!0),f.markup=a,f.map=[e,t.line],!0},["paragraph","reference","blockquote","list"]],["blockquote",function(t,e,r,n){let s=t.bMarks[e]+t.tShift[e],o=t.eMarks[e];const i=t.lineMax;if(t.sCount[e]-t.blkIndent>=4)return!1;if(62!==t.src.charCodeAt(s))return!1;if(n)return!0;const u=[],c=[],a=[],l=[],h=t.md.block.ruler.getRules("blockquote"),p=t.parentType;t.parentType="blockquote";let f,d=!1;for(f=e;f<r;f++){const e=t.sCount[f]<t.blkIndent;if(s=t.bMarks[f]+t.tShift[f],o=t.eMarks[f],s>=o)break;if(62===t.src.charCodeAt(s++)&&!e){let e,r,n=t.sCount[f]+1;32===t.src.charCodeAt(s)?(s++,n++,r=!1,e=!0):9===t.src.charCodeAt(s)?(e=!0,(t.bsCount[f]+n)%4==3?(s++,n++,r=!1):r=!0):e=!1;let i=n;for(u.push(t.bMarks[f]),t.bMarks[f]=s;s<o;){const e=t.src.charCodeAt(s);if(!_t(e))break;9===e?i+=4-(i+t.bsCount[f]+(r?1:0))%4:i++,s++}d=s>=o,c.push(t.bsCount[f]),t.bsCount[f]=t.sCount[f]+1+(e?1:0),a.push(t.sCount[f]),t.sCount[f]=i-n,l.push(t.tShift[f]),t.tShift[f]=s-t.bMarks[f];continue}if(d)break;let n=!1;for(let e=0,s=h.length;e<s;e++)if(h[e](t,f,r,!0)){n=!0;break}if(n){t.lineMax=f,0!==t.blkIndent&&(u.push(t.bMarks[f]),c.push(t.bsCount[f]),l.push(t.tShift[f]),a.push(t.sCount[f]),t.sCount[f]-=t.blkIndent);break}u.push(t.bMarks[f]),c.push(t.bsCount[f]),l.push(t.tShift[f]),a.push(t.sCount[f]),t.sCount[f]=-1}const m=t.blkIndent;t.blkIndent=0;const _=t.push("blockquote_open","blockquote",1);_.markup=">";const g=[e,0];_.map=g,t.md.block.tokenize(t,e,f),t.push("blockquote_close","blockquote",-1).markup=">",t.lineMax=i,t.parentType=p,g[1]=t.line;for(let r=0;r<l.length;r++)t.bMarks[r+e]=u[r],t.tShift[r+e]=l[r],t.sCount[r+e]=a[r],t.bsCount[r+e]=c[r];return t.blkIndent=m,!0},["paragraph","reference","blockquote","list"]],["hr",function(t,e,r,n){const s=t.eMarks[e];if(t.sCount[e]-t.blkIndent>=4)return!1;let o=t.bMarks[e]+t.tShift[e];const i=t.src.charCodeAt(o++);if(42!==i&&45!==i&&95!==i)return!1;let u=1;for(;o<s;){const e=t.src.charCodeAt(o++);if(e!==i&&!_t(e))return!1;e===i&&u++}if(u<3)return!1;if(n)return!0;t.line=e+1;const c=t.push("hr","hr",0);return c.map=[e,t.line],c.markup=Array(u+1).join(String.fromCharCode(i)),!0},["paragraph","reference","blockquote","list"]],["list",function(t,e,r,n){let s,o,i,u,c=e,a=!0;if(t.sCount[c]-t.blkIndent>=4)return!1;if(t.listIndent>=0&&t.sCount[c]-t.listIndent>=4&&t.sCount[c]<t.blkIndent)return!1;let l,h,p,f=!1;if(n&&"paragraph"===t.parentType&&t.sCount[c]>=t.blkIndent&&(f=!0),(p=ne(t,c))>=0){if(l=!0,i=t.bMarks[c]+t.tShift[c],h=Number(t.src.slice(i,p-1)),f&&1!==h)return!1}else{if(!((p=re(t,c))>=0))return!1;l=!1}if(f&&t.skipSpaces(p)>=t.eMarks[c])return!1;if(n)return!0;const d=t.src.charCodeAt(p-1),m=t.tokens.length;l?(u=t.push("ordered_list_open","ol",1),1!==h&&(u.attrs=[["start",h]])):u=t.push("bullet_list_open","ul",1);const _=[c,0];u.map=_,u.markup=String.fromCharCode(d);let g=!1;const k=t.md.block.ruler.getRules("list"),D=t.parentType;for(t.parentType="list";c<r;){o=p,s=t.eMarks[c];const e=t.sCount[c]+p-(t.bMarks[c]+t.tShift[c]);let n=e;for(;o<s;){const e=t.src.charCodeAt(o);if(9===e)n+=4-(n+t.bsCount[c])%4;else{if(32!==e)break;n++}o++}const h=o;let f;f=h>=s?1:n-e,f>4&&(f=1);const m=e+f;u=t.push("list_item_open","li",1),u.markup=String.fromCharCode(d);const _=[c,0];u.map=_,l&&(u.info=t.src.slice(i,p-1));const D=t.tight,C=t.tShift[c],y=t.sCount[c],E=t.listIndent;if(t.listIndent=t.blkIndent,t.blkIndent=m,t.tight=!0,t.tShift[c]=h-t.bMarks[c],t.sCount[c]=n,h>=s&&t.isEmpty(c+1)?t.line=Math.min(t.line+2,r):t.md.block.tokenize(t,c,r,!0),t.tight&&!g||(a=!1),g=t.line-c>1&&t.isEmpty(t.line-1),t.blkIndent=t.listIndent,t.listIndent=E,t.tShift[c]=C,t.sCount[c]=y,t.tight=D,u=t.push("list_item_close","li",-1),u.markup=String.fromCharCode(d),c=t.line,_[1]=c,c>=r)break;if(t.sCount[c]<t.blkIndent)break;if(t.sCount[c]-t.blkIndent>=4)break;let A=!1;for(let e=0,n=k.length;e<n;e++)if(k[e](t,c,r,!0)){A=!0;break}if(A)break;if(l){if(p=ne(t,c),p<0)break;i=t.bMarks[c]+t.tShift[c]}else if(p=re(t,c),p<0)break;if(d!==t.src.charCodeAt(p-1))break}return u=l?t.push("ordered_list_close","ol",-1):t.push("bullet_list_close","ul",-1),u.markup=String.fromCharCode(d),_[1]=c,t.line=c,t.parentType=D,a&&function(t,e){const r=t.level+2;for(let n=e+2,s=t.tokens.length-2;n<s;n++)t.tokens[n].level===r&&"paragraph_open"===t.tokens[n].type&&(t.tokens[n+2].hidden=!0,t.tokens[n].hidden=!0,n+=2)}(t,m),!0},["paragraph","reference","blockquote"]],["reference",function(t,e,r,n){let s=t.bMarks[e]+t.tShift[e],o=t.eMarks[e],i=e+1;if(t.sCount[e]-t.blkIndent>=4)return!1;if(91!==t.src.charCodeAt(s))return!1;function u(e){const r=t.lineMax;if(e>=r||t.isEmpty(e))return null;let n=!1;if(t.sCount[e]-t.blkIndent>3&&(n=!0),t.sCount[e]<0&&(n=!0),!n){const n=t.md.block.ruler.getRules("reference"),s=t.parentType;t.parentType="reference";let o=!1;for(let s=0,i=n.length;s<i;s++)if(n[s](t,e,r,!0)){o=!0;break}if(t.parentType=s,o)return null}const s=t.bMarks[e]+t.tShift[e],o=t.eMarks[e];return t.src.slice(s,o+1)}let c=t.src.slice(s,o+1);o=c.length;let a=-1;for(s=1;s<o;s++){const t=c.charCodeAt(s);if(91===t)return!1;if(93===t){a=s;break}if(10===t){const t=u(i);null!==t&&(c+=t,o=c.length,i++)}else if(92===t&&(s++,s<o&&10===c.charCodeAt(s))){const t=u(i);null!==t&&(c+=t,o=c.length,i++)}}if(a<0||58!==c.charCodeAt(a+1))return!1;for(s=a+2;s<o;s++){const t=c.charCodeAt(s);if(10===t){const t=u(i);null!==t&&(c+=t,o=c.length,i++)}else if(!_t(t))break}const l=t.md.helpers.parseLinkDestination(c,s,o);if(!l.ok)return!1;const h=t.md.normalizeLink(l.str);if(!t.md.validateLink(h))return!1;s=l.pos;const p=s,f=i,d=s;for(;s<o;s++){const t=c.charCodeAt(s);if(10===t){const t=u(i);null!==t&&(c+=t,o=c.length,i++)}else if(!_t(t))break}let m,_=t.md.helpers.parseLinkTitle(c,s,o);for(;_.can_continue;){const e=u(i);if(null===e)break;c+=e,s=o,o=c.length,i++,_=t.md.helpers.parseLinkTitle(c,s,o,_)}for(s<o&&d!==s&&_.ok?(m=_.str,s=_.pos):(m="",s=p,i=f);s<o;){if(!_t(c.charCodeAt(s)))break;s++}if(s<o&&10!==c.charCodeAt(s)&&m)for(m="",s=p,i=f;s<o;){if(!_t(c.charCodeAt(s)))break;s++}if(s<o&&10!==c.charCodeAt(s))return!1;const g=Ct(c.slice(1,a));return!!g&&(n||(void 0===t.env.references&&(t.env.references={}),void 0===t.env.references[g]&&(t.env.references[g]={title:m,href:h}),t.line=i),!0)}],["html_block",function(t,e,r,n){let s=t.bMarks[e]+t.tShift[e],o=t.eMarks[e];if(t.sCount[e]-t.blkIndent>=4)return!1;if(!t.md.options.html)return!1;if(60!==t.src.charCodeAt(s))return!1;let i=t.src.slice(s,o),u=0;for(;u<ce.length&&!ce[u][0].test(i);u++);if(u===ce.length)return!1;if(n)return ce[u][2];let c=e+1;if(!ce[u][1].test(i))for(;c<r&&!(t.sCount[c]<t.blkIndent);c++)if(s=t.bMarks[c]+t.tShift[c],o=t.eMarks[c],i=t.src.slice(s,o),ce[u][1].test(i)){0!==i.length&&c++;break}t.line=c;const a=t.push("html_block","",0);return a.map=[e,c],a.content=t.getLines(e,c,t.blkIndent,!0),!0},["paragraph","reference","blockquote"]],["heading",function(t,e,r,n){let s=t.bMarks[e]+t.tShift[e],o=t.eMarks[e];if(t.sCount[e]-t.blkIndent>=4)return!1;let i=t.src.charCodeAt(s);if(35!==i||s>=o)return!1;let u=1;for(i=t.src.charCodeAt(++s);35===i&&s<o&&u<=6;)u++,i=t.src.charCodeAt(++s);if(u>6||s<o&&!_t(i))return!1;if(n)return!0;o=t.skipSpacesBack(o,s);const c=t.skipCharsBack(o,35,s);c>s&&_t(t.src.charCodeAt(c-1))&&(o=c),t.line=e+1;const a=t.push("heading_open","h"+String(u),1);a.markup="########".slice(0,u),a.map=[e,t.line];const l=t.push("inline","",0);return l.content=t.src.slice(s,o).trim(),l.map=[e,t.line],l.children=[],t.push("heading_close","h"+String(u),-1).markup="########".slice(0,u),!0},["paragraph","reference","blockquote"]],["lheading",function(t,e,r){const n=t.md.block.ruler.getRules("paragraph");if(t.sCount[e]-t.blkIndent>=4)return!1;const s=t.parentType;t.parentType="paragraph";let o,i=0,u=e+1;for(;u<r&&!t.isEmpty(u);u++){if(t.sCount[u]-t.blkIndent>3)continue;if(t.sCount[u]>=t.blkIndent){let e=t.bMarks[u]+t.tShift[u];const r=t.eMarks[u];if(e<r&&(o=t.src.charCodeAt(e),(45===o||61===o)&&(e=t.skipChars(e,o),e=t.skipSpaces(e),e>=r))){i=61===o?1:2;break}}if(t.sCount[u]<0)continue;let e=!1;for(let s=0,o=n.length;s<o;s++)if(n[s](t,u,r,!0)){e=!0;break}if(e)break}if(!i)return!1;const c=t.getLines(e,u,t.blkIndent,!1).trim();t.line=u+1;const a=t.push("heading_open","h"+String(i),1);a.markup=String.fromCharCode(o),a.map=[e,t.line];const l=t.push("inline","",0);return l.content=c,l.map=[e,t.line-1],l.children=[],t.push("heading_close","h"+String(i),-1).markup=String.fromCharCode(o),t.parentType=s,!0}],["paragraph",function(t,e,r){const n=t.md.block.ruler.getRules("paragraph"),s=t.parentType;let o=e+1;for(t.parentType="paragraph";o<r&&!t.isEmpty(o);o++){if(t.sCount[o]-t.blkIndent>3)continue;if(t.sCount[o]<0)continue;let e=!1;for(let s=0,i=n.length;s<i;s++)if(n[s](t,o,r,!0)){e=!0;break}if(e)break}const i=t.getLines(e,o,t.blkIndent,!1).trim();t.line=o,t.push("paragraph_open","p",1).map=[e,t.line];const u=t.push("inline","",0);return u.content=i,u.map=[e,t.line],u.children=[],t.push("paragraph_close","p",-1),t.parentType=s,!0}]];function le(){this.ruler=new zt;for(let t=0;t<ae.length;t++)this.ruler.push(ae[t][0],ae[t][1],{alt:(ae[t][2]||[]).slice()})}le.prototype.tokenize=function(t,e,r){const n=this.ruler.getRules(""),s=n.length,o=t.md.options.maxNesting;let i=e,u=!1;for(;i<r&&(t.line=i=t.skipEmptyLines(i),!(i>=r))&&!(t.sCount[i]<t.blkIndent);){if(t.level>=o){t.line=r;break}const e=t.line;let c=!1;for(let o=0;o<s;o++)if(c=n[o](t,i,r,!1),c){if(e>=t.line)throw new Error("block rule didn't increment state.line");break}if(!c)throw new Error("none of the block rules matched");t.tight=!u,t.isEmpty(t.line-1)&&(u=!0),i=t.line,i<r&&t.isEmpty(i)&&(u=!0,i++,t.line=i)}},le.prototype.parse=function(t,e,r,n){if(!t)return;const s=new this.State(t,e,r,n);this.tokenize(s,s.line,s.lineMax)},le.prototype.State=Kt;const he=le;function pe(t,e,r,n){this.src=t,this.env=r,this.md=e,this.tokens=n,this.tokens_meta=Array(n.length),this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache={},this.delimiters=[],this._prev_delimiters=[],this.backticks={},this.backticksScanned=!1,this.linkLevel=0}pe.prototype.pushPending=function(){const t=new qt("text","",0);return t.content=this.pending,t.level=this.pendingLevel,this.tokens.push(t),this.pending="",t},pe.prototype.push=function(t,e,r){this.pending&&this.pushPending();const n=new qt(t,e,r);let s=null;return r<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()),n.level=this.level,r>0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],s={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(n),this.tokens_meta.push(s),n},pe.prototype.scanDelims=function(t,e){const r=this.posMax,n=this.src.charCodeAt(t),s=t>0?this.src.charCodeAt(t-1):32;let o=t;for(;o<r&&this.src.charCodeAt(o)===n;)o++;const i=o-t,u=o<r?this.src.charCodeAt(o):32,c=Dt(s)||kt(String.fromCharCode(s)),a=Dt(u)||kt(String.fromCharCode(u)),l=gt(s),h=gt(u),p=!h&&(!a||l||c),f=!l&&(!c||h||a);return{can_open:p&&(e||!f||c),can_close:f&&(e||!p||a),length:i}},pe.prototype.Token=qt;const fe=pe;function de(t){switch(t){case 10:case 33:case 35:case 36:case 37:case 38:case 42:case 43:case 45:case 58:case 60:case 61:case 62:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 125:case 126:return!0;default:return!1}}const me=/(?:^|[^a-z0-9.+-])([a-z][a-z0-9.+-]*)$/i;const _e=[];for(let t=0;t<256;t++)_e.push(0);function ge(t,e){let r;const n=[],s=e.length;for(let o=0;o<s;o++){const s=e[o];if(126!==s.marker)continue;if(-1===s.end)continue;const i=e[s.end];r=t.tokens[s.token],r.type="s_open",r.tag="s",r.nesting=1,r.markup="~~",r.content="",r=t.tokens[i.token],r.type="s_close",r.tag="s",r.nesting=-1,r.markup="~~",r.content="","text"===t.tokens[i.token-1].type&&"~"===t.tokens[i.token-1].content&&n.push(i.token-1)}for(;n.length;){const e=n.pop();let s=e+1;for(;s<t.tokens.length&&"s_close"===t.tokens[s].type;)s++;s--,e!==s&&(r=t.tokens[s],t.tokens[s]=t.tokens[e],t.tokens[e]=r)}}"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(t){_e[t.charCodeAt(0)]=1});const ke={tokenize:function(t,e){const r=t.pos,n=t.src.charCodeAt(r);if(e)return!1;if(126!==n)return!1;const s=t.scanDelims(t.pos,!0);let o=s.length;const i=String.fromCharCode(n);if(o<2)return!1;let u;o%2&&(u=t.push("text","",0),u.content=i,o--);for(let e=0;e<o;e+=2)u=t.push("text","",0),u.content=i+i,t.delimiters.push({marker:n,length:0,token:t.tokens.length-1,end:-1,open:s.can_open,close:s.can_close});return t.pos+=s.length,!0},postProcess:function(t){const e=t.tokens_meta,r=t.tokens_meta.length;ge(t,t.delimiters);for(let n=0;n<r;n++)e[n]&&e[n].delimiters&&ge(t,e[n].delimiters)}};function De(t,e){for(let r=e.length-1;r>=0;r--){const n=e[r];if(95!==n.marker&&42!==n.marker)continue;if(-1===n.end)continue;const s=e[n.end],o=r>0&&e[r-1].end===n.end+1&&e[r-1].marker===n.marker&&e[r-1].token===n.token-1&&e[n.end+1].token===s.token+1,i=String.fromCharCode(n.marker),u=t.tokens[n.token];u.type=o?"strong_open":"em_open",u.tag=o?"strong":"em",u.nesting=1,u.markup=o?i+i:i,u.content="";const c=t.tokens[s.token];c.type=o?"strong_close":"em_close",c.tag=o?"strong":"em",c.nesting=-1,c.markup=o?i+i:i,c.content="",o&&(t.tokens[e[r-1].token].content="",t.tokens[e[n.end+1].token].content="",r--)}}const Ce={tokenize:function(t,e){const r=t.pos,n=t.src.charCodeAt(r);if(e)return!1;if(95!==n&&42!==n)return!1;const s=t.scanDelims(t.pos,42===n);for(let e=0;e<s.length;e++){t.push("text","",0).content=String.fromCharCode(n),t.delimiters.push({marker:n,length:s.length,token:t.tokens.length-1,end:-1,open:s.can_open,close:s.can_close})}return t.pos+=s.length,!0},postProcess:function(t){const e=t.tokens_meta,r=t.tokens_meta.length;De(t,t.delimiters);for(let n=0;n<r;n++)e[n]&&e[n].delimiters&&De(t,e[n].delimiters)}};const ye=/^([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])?)*)$/,Ee=/^([a-zA-Z][a-zA-Z0-9+.-]{1,31}):([^<>\x00-\x20]*)$/;const Ae=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,be=/^&([a-z][a-z0-9]{1,31});/i;function Fe(t){const e={},r=t.length;if(!r)return;let n=0,s=-2;const o=[];for(let i=0;i<r;i++){const r=t[i];if(o.push(0),t[n].marker===r.marker&&s===r.token-1||(n=i),s=r.token,r.length=r.length||0,!r.close)continue;e.hasOwnProperty(r.marker)||(e[r.marker]=[-1,-1,-1,-1,-1,-1]);const u=e[r.marker][(r.open?3:0)+r.length%3];let c=n-o[n]-1,a=c;for(;c>u;c-=o[c]+1){const e=t[c];if(e.marker===r.marker&&(e.open&&e.end<0)){let n=!1;if((e.close||r.open)&&(e.length+r.length)%3==0&&(e.length%3==0&&r.length%3==0||(n=!0)),!n){const n=c>0&&!t[c-1].open?o[c-1]+1:0;o[i]=i-c+n,o[c]=n,r.open=!1,e.end=i,e.close=!1,a=-1,s=-2;break}}}-1!==a&&(e[r.marker][(r.open?3:0)+(r.length||0)%3]=a)}}const xe=[["text",function(t,e){let r=t.pos;for(;r<t.posMax&&!de(t.src.charCodeAt(r));)r++;return r!==t.pos&&(e||(t.pending+=t.src.slice(t.pos,r)),t.pos=r,!0)}],["linkify",function(t,e){if(!t.md.options.linkify)return!1;if(t.linkLevel>0)return!1;const r=t.pos;if(r+3>t.posMax)return!1;if(58!==t.src.charCodeAt(r))return!1;if(47!==t.src.charCodeAt(r+1))return!1;if(47!==t.src.charCodeAt(r+2))return!1;const n=t.pending.match(me);if(!n)return!1;const s=n[1],o=t.md.linkify.matchAtStart(t.src.slice(r-s.length));if(!o)return!1;let i=o.url;if(i.length<=s.length)return!1;let u=i.length;for(;u>0&&42===i.charCodeAt(u-1);)u--;u!==i.length&&(i=i.slice(0,u));const c=t.md.normalizeLink(i);if(!t.md.validateLink(c))return!1;if(!e){t.pending=t.pending.slice(0,-s.length);const e=t.push("link_open","a",1);e.attrs=[["href",c]],e.markup="linkify",e.info="auto";t.push("text","",0).content=t.md.normalizeLinkText(i);const r=t.push("link_close","a",-1);r.markup="linkify",r.info="auto"}return t.pos+=i.length-s.length,!0}],["newline",function(t,e){let r=t.pos;if(10!==t.src.charCodeAt(r))return!1;const n=t.pending.length-1,s=t.posMax;if(!e)if(n>=0&&32===t.pending.charCodeAt(n))if(n>=1&&32===t.pending.charCodeAt(n-1)){let e=n-1;for(;e>=1&&32===t.pending.charCodeAt(e-1);)e--;t.pending=t.pending.slice(0,e),t.push("hardbreak","br",0)}else t.pending=t.pending.slice(0,-1),t.push("softbreak","br",0);else t.push("softbreak","br",0);for(r++;r<s&&_t(t.src.charCodeAt(r));)r++;return t.pos=r,!0}],["escape",function(t,e){let r=t.pos;const n=t.posMax;if(92!==t.src.charCodeAt(r))return!1;if(r++,r>=n)return!1;let s=t.src.charCodeAt(r);if(10===s){for(e||t.push("hardbreak","br",0),r++;r<n&&(s=t.src.charCodeAt(r),_t(s));)r++;return t.pos=r,!0}let o=t.src[r];if(s>=55296&&s<=56319&&r+1<n){const e=t.src.charCodeAt(r+1);e>=56320&&e<=57343&&(o+=t.src[r+1],r++)}const i="\\"+o;if(!e){const e=t.push("text_special","",0);s<256&&0!==_e[s]?e.content=o:e.content=i,e.markup=i,e.info="escape"}return t.pos=r+1,!0}],["backticks",function(t,e){let r=t.pos;if(96!==t.src.charCodeAt(r))return!1;const n=r;r++;const s=t.posMax;for(;r<s&&96===t.src.charCodeAt(r);)r++;const o=t.src.slice(n,r),i=o.length;if(t.backticksScanned&&(t.backticks[i]||0)<=n)return e||(t.pending+=o),t.pos+=i,!0;let u,c=r;for(;-1!==(u=t.src.indexOf("`",c));){for(c=u+1;c<s&&96===t.src.charCodeAt(c);)c++;const n=c-u;if(n===i){if(!e){const e=t.push("code_inline","code",0);e.markup=o,e.content=t.src.slice(r,u).replace(/\n/g," ").replace(/^ (.+) $/,"$1")}return t.pos=c,!0}t.backticks[n]=u}return t.backticksScanned=!0,e||(t.pending+=o),t.pos+=i,!0}],["strikethrough",ke.tokenize],["emphasis",Ce.tokenize],["link",function(t,e){let r,n,s,o,i="",u="",c=t.pos,a=!0;if(91!==t.src.charCodeAt(t.pos))return!1;const l=t.pos,h=t.posMax,p=t.pos+1,f=t.md.helpers.parseLinkLabel(t,t.pos,!0);if(f<0)return!1;let d=f+1;if(d<h&&40===t.src.charCodeAt(d)){for(a=!1,d++;d<h&&(r=t.src.charCodeAt(d),_t(r)||10===r);d++);if(d>=h)return!1;if(c=d,s=t.md.helpers.parseLinkDestination(t.src,d,t.posMax),s.ok){for(i=t.md.normalizeLink(s.str),t.md.validateLink(i)?d=s.pos:i="",c=d;d<h&&(r=t.src.charCodeAt(d),_t(r)||10===r);d++);if(s=t.md.helpers.parseLinkTitle(t.src,d,t.posMax),d<h&&c!==d&&s.ok)for(u=s.str,d=s.pos;d<h&&(r=t.src.charCodeAt(d),_t(r)||10===r);d++);}(d>=h||41!==t.src.charCodeAt(d))&&(a=!0),d++}if(a){if(void 0===t.env.references)return!1;if(d<h&&91===t.src.charCodeAt(d)?(c=d+1,d=t.md.helpers.parseLinkLabel(t,d),d>=0?n=t.src.slice(c,d++):d=f+1):d=f+1,n||(n=t.src.slice(p,f)),o=t.env.references[Ct(n)],!o)return t.pos=l,!1;i=o.href,u=o.title}if(!e){t.pos=p,t.posMax=f;const e=[["href",i]];t.push("link_open","a",1).attrs=e,u&&e.push(["title",u]),t.linkLevel++,t.md.inline.tokenize(t),t.linkLevel--,t.push("link_close","a",-1)}return t.pos=d,t.posMax=h,!0}],["image",function(t,e){let r,n,s,o,i,u,c,a,l="";const h=t.pos,p=t.posMax;if(33!==t.src.charCodeAt(t.pos))return!1;if(91!==t.src.charCodeAt(t.pos+1))return!1;const f=t.pos+2,d=t.md.helpers.parseLinkLabel(t,t.pos+1,!1);if(d<0)return!1;if(o=d+1,o<p&&40===t.src.charCodeAt(o)){for(o++;o<p&&(r=t.src.charCodeAt(o),_t(r)||10===r);o++);if(o>=p)return!1;for(a=o,u=t.md.helpers.parseLinkDestination(t.src,o,t.posMax),u.ok&&(l=t.md.normalizeLink(u.str),t.md.validateLink(l)?o=u.pos:l=""),a=o;o<p&&(r=t.src.charCodeAt(o),_t(r)||10===r);o++);if(u=t.md.helpers.parseLinkTitle(t.src,o,t.posMax),o<p&&a!==o&&u.ok)for(c=u.str,o=u.pos;o<p&&(r=t.src.charCodeAt(o),_t(r)||10===r);o++);else c="";if(o>=p||41!==t.src.charCodeAt(o))return t.pos=h,!1;o++}else{if(void 0===t.env.references)return!1;if(o<p&&91===t.src.charCodeAt(o)?(a=o+1,o=t.md.helpers.parseLinkLabel(t,o),o>=0?s=t.src.slice(a,o++):o=d+1):o=d+1,s||(s=t.src.slice(f,d)),i=t.env.references[Ct(s)],!i)return t.pos=h,!1;l=i.href,c=i.title}if(!e){n=t.src.slice(f,d);const e=[];t.md.inline.parse(n,t.md,t.env,e);const r=t.push("image","img",0),s=[["src",l],["alt",""]];r.attrs=s,r.children=e,r.content=n,c&&s.push(["title",c])}return t.pos=o,t.posMax=p,!0}],["autolink",function(t,e){let r=t.pos;if(60!==t.src.charCodeAt(r))return!1;const n=t.pos,s=t.posMax;for(;;){if(++r>=s)return!1;const e=t.src.charCodeAt(r);if(60===e)return!1;if(62===e)break}const o=t.src.slice(n+1,r);if(Ee.test(o)){const r=t.md.normalizeLink(o);if(!t.md.validateLink(r))return!1;if(!e){const e=t.push("link_open","a",1);e.attrs=[["href",r]],e.markup="autolink",e.info="auto";t.push("text","",0).content=t.md.normalizeLinkText(o);const n=t.push("link_close","a",-1);n.markup="autolink",n.info="auto"}return t.pos+=o.length+2,!0}if(ye.test(o)){const r=t.md.normalizeLink("mailto:"+o);if(!t.md.validateLink(r))return!1;if(!e){const e=t.push("link_open","a",1);e.attrs=[["href",r]],e.markup="autolink",e.info="auto";t.push("text","",0).content=t.md.normalizeLinkText(o);const n=t.push("link_close","a",-1);n.markup="autolink",n.info="auto"}return t.pos+=o.length+2,!0}return!1}],["html_inline",function(t,e){if(!t.md.options.html)return!1;const r=t.posMax,n=t.pos;if(60!==t.src.charCodeAt(n)||n+2>=r)return!1;const s=t.src.charCodeAt(n+1);if(33!==s&&63!==s&&47!==s&&!function(t){const e=32|t;return e>=97&&e<=122}(s))return!1;const o=t.src.slice(n).match(ie);if(!o)return!1;if(!e){const e=t.push("html_inline","",0);e.content=o[0],i=e.content,/^<a[>\s]/i.test(i)&&t.linkLevel++,function(t){return/^<\/a\s*>/i.test(t)}(e.content)&&t.linkLevel--}var i;return t.pos+=o[0].length,!0}],["entity",function(t,e){const r=t.pos,n=t.posMax;if(38!==t.src.charCodeAt(r))return!1;if(r+1>=n)return!1;if(35===t.src.charCodeAt(r+1)){const n=t.src.slice(r).match(Ae);if(n){if(!e){const e="x"===n[1][0].toLowerCase()?parseInt(n[1].slice(1),16):parseInt(n[1],10),r=t.push("text_special","",0);r.content=rt(e)?nt(e):nt(65533),r.markup=n[0],r.info="entity"}return t.pos+=n[0].length,!0}}else{const n=t.src.slice(r).match(be);if(n){const r=Q(n[0]);if(r!==n[0]){if(!e){const e=t.push("text_special","",0);e.content=r,e.markup=n[0],e.info="entity"}return t.pos+=n[0].length,!0}}}return!1}]],we=[["balance_pairs",function(t){const e=t.tokens_meta,r=t.tokens_meta.length;Fe(t.delimiters);for(let t=0;t<r;t++)e[t]&&e[t].delimiters&&Fe(e[t].delimiters)}],["strikethrough",ke.postProcess],["emphasis",Ce.postProcess],["fragments_join",function(t){let e,r,n=0;const s=t.tokens,o=t.tokens.length;for(e=r=0;e<o;e++)s[e].nesting<0&&n--,s[e].level=n,s[e].nesting>0&&n++,"text"===s[e].type&&e+1<o&&"text"===s[e+1].type?s[e+1].content=s[e].content+s[e+1].content:(e!==r&&(s[r]=s[e]),r++);e!==r&&(s.length=r)}]];function ve(){this.ruler=new zt;for(let t=0;t<xe.length;t++)this.ruler.push(xe[t][0],xe[t][1]);this.ruler2=new zt;for(let t=0;t<we.length;t++)this.ruler2.push(we[t][0],we[t][1])}ve.prototype.skipToken=function(t){const e=t.pos,r=this.ruler.getRules(""),n=r.length,s=t.md.options.maxNesting,o=t.cache;if(void 0!==o[e])return void(t.pos=o[e]);let i=!1;if(t.level<s){for(let s=0;s<n;s++)if(t.level++,i=r[s](t,!0),t.level--,i){if(e>=t.pos)throw new Error("inline rule didn't increment state.pos");break}}else t.pos=t.posMax;i||t.pos++,o[e]=t.pos},ve.prototype.tokenize=function(t){const e=this.ruler.getRules(""),r=e.length,n=t.posMax,s=t.md.options.maxNesting;for(;t.pos<n;){const o=t.pos;let i=!1;if(t.level<s)for(let n=0;n<r;n++)if(i=e[n](t,!1),i){if(o>=t.pos)throw new Error("inline rule didn't increment state.pos");break}if(i){if(t.pos>=n)break}else t.pending+=t.src[t.pos++]}t.pending&&t.pushPending()},ve.prototype.parse=function(t,e,r,n){const s=new this.State(t,e,r,n);this.tokenize(s);const o=this.ruler2.getRules(""),i=o.length;for(let t=0;t<i;t++)o[t](s)},ve.prototype.State=fe;const ze=ve;function Se(t){const e={};t=t||{},e.src_Any=z.source,e.src_Cc=S.source,e.src_Z=B.source,e.src_P=w.source,e.src_ZPCc=[e.src_Z,e.src_P,e.src_Cc].join("|"),e.src_ZCc=[e.src_Z,e.src_Cc].join("|");const r="[><|]";return e.src_pseudo_letter=`(?:(?!${r}|${e.src_ZPCc})${e.src_Any})`,e.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",e.src_auth=`(?:(?:(?!${e.src_ZCc}|[@/\\[\\]()]).){1,50}@)?`,e.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",e.src_host_terminator=`(?=$|${r}|${e.src_ZPCc})(?!${t["---"]?"-(?!--)|":"-|"}_|:\\d|\\.-|\\.(?!$|${e.src_ZPCc}))`,e.src_path=`(?:[/?#](?:(?!${e.src_ZCc}|${r}|[()[\\]{}.,"'?!\\-;]).|\\[(?:(?!${e.src_ZCc}|\\]).)*\\]|\\((?:(?!${e.src_ZCc}|[)]).)*\\)|\\{(?:(?!${e.src_ZCc}|[}]).)*\\}|\\"(?:(?!${e.src_ZCc}|["]).)+\\"|\\'(?:(?!${e.src_ZCc}|[']).)+\\'|\\'(?=${e.src_pseudo_letter}|[-])|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!${e.src_ZCc}|[.]|$)|`+(t["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+`,(?!${e.src_ZCc}|$)|`+`;(?!${e.src_ZCc}|$)|`+`\\!+(?!${e.src_ZCc}|[!]|$)|`+`\\?(?!${e.src_ZCc}|[?]|$))+|\\/)?`,e.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]{0,63}',e.src_xn="xn--[a-z0-9\\-]{1,59}",e.src_domain_root="(?:"+e.src_xn+"|"+`${e.src_pseudo_letter}{1,63})`,e.src_domain="(?:"+e.src_xn+"|"+`(?:${e.src_pseudo_letter})|`+`(?:${e.src_pseudo_letter}(?:-|${e.src_pseudo_letter}){0,61}${e.src_pseudo_letter}))`,e.src_host=`(?:(?:(?:(?:${e.src_domain})\\.)*${e.src_domain}))`,e.tpl_host_fuzzy="(?:"+e.src_ip4+"|"+`(?:(?:(?:${e.src_domain})\\.)+(?:%TLDS%)))`,e.tpl_host_no_ip_fuzzy=`(?:(?:(?:${e.src_domain})\\.)+(?:%TLDS%))`,e.src_host_strict=e.src_host+e.src_host_terminator,e.tpl_host_fuzzy_strict=e.tpl_host_fuzzy+e.src_host_terminator,e.src_host_port_strict=e.src_host+e.src_port+e.src_host_terminator,e.tpl_host_port_fuzzy_strict=e.tpl_host_fuzzy+e.src_port+e.src_host_terminator,e.tpl_host_port_no_ip_fuzzy_strict=e.tpl_host_no_ip_fuzzy+e.src_port+e.src_host_terminator,e.tpl_host_fuzzy_test=`localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:${e.src_ZPCc}|>|$))`,e.tpl_email_fuzzy=`(^|${r}|"|\\(|${e.src_ZCc})(${e.src_email_name}@${e.tpl_host_fuzzy_strict})`,e.tpl_link_fuzzy=`(^|(?![.:/\\-_@])(?:[$+<=>^\`||]|${e.src_ZPCc}))((?![$+<=>^\`||])${e.tpl_host_port_fuzzy_strict}${e.src_path})`,e.tpl_link_no_ip_fuzzy=`(^|(?![.:/\\-_@])(?:[$+<=>^\`||]|${e.src_ZPCc}))((?![$+<=>^\`||])${e.tpl_host_port_no_ip_fuzzy_strict}${e.src_path})`,e}function qe(t){return Array.prototype.slice.call(arguments,1).forEach(function(e){e&&Object.keys(e).forEach(function(r){t[r]=e[r]})}),t}function Be(t){return Object.prototype.toString.call(t)}function Le(t){return"[object Function]"===Be(t)}function Ie(t){return t.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}r.dn(Se);const Me={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};const $e={"http:":{validate:function(t,e,r){const n=t.slice(e);return r.re.http||(r.re.http=new RegExp(`^\\/\\/${r.re.src_auth}${r.re.src_host_port_strict}${r.re.src_path}`,"i")),r.re.http.test(n)?n.match(r.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(t,e,r){const n=t.slice(e);return r.re.no_http||(r.re.no_http=new RegExp("^"+r.re.src_auth+`(?:localhost|(?:(?:${r.re.src_domain})\\.)+${r.re.src_domain_root})`+r.re.src_port+r.re.src_host_terminator+r.re.src_path,"i")),r.re.no_http.test(n)?e>=3&&":"===t[e-3]||e>=3&&"/"===t[e-3]?0:n.match(r.re.no_http)[0].length:0}},"mailto:":{validate:function(t,e,r){const n=t.slice(e);return r.re.mailto||(r.re.mailto=new RegExp(`^${r.re.src_email_name}@${r.re.src_host_strict}`,"i")),r.re.mailto.test(n)?n.match(r.re.mailto)[0].length:0}}},Te="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function Re(t){const e=t.re=Se(t.__opts__),r=t.__tlds__.slice();function n(t){return t.replace("%TLDS%",e.src_tlds)}t.onCompile(),t.__tlds_replaced__||r.push("a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]"),r.push(e.src_xn),e.src_tlds=r.join("|"),e.email_fuzzy=RegExp(n(e.tpl_email_fuzzy),"i"),e.email_fuzzy_global=RegExp(n(e.tpl_email_fuzzy),"ig"),e.link_fuzzy=RegExp(n(e.tpl_link_fuzzy),"i"),e.link_fuzzy_global=RegExp(n(e.tpl_link_fuzzy),"ig"),e.link_no_ip_fuzzy=RegExp(n(e.tpl_link_no_ip_fuzzy),"i"),e.link_no_ip_fuzzy_global=RegExp(n(e.tpl_link_no_ip_fuzzy),"ig"),e.host_fuzzy_test=RegExp(n(e.tpl_host_fuzzy_test),"i");const s=[];function o(t,e){throw new Error(`(LinkifyIt) Invalid schema "${t}": ${e}`)}t.__compiled__={},Object.keys(t.__schemas__).forEach(function(e){const r=t.__schemas__[e];if(null===r)return;const n={validate:null,link:null};if(t.__compiled__[e]=n,"[object Object]"===Be(r))return!function(t){return"[object RegExp]"===Be(t)}(r.validate)?Le(r.validate)?n.validate=r.validate:o(e,r):n.validate=function(t){return function(e,r){const n=e.slice(r);return t.test(n)?n.match(t)[0].length:0}}(r.validate),void(Le(r.normalize)?n.normalize=r.normalize:r.normalize?o(e,r):n.normalize=function(t,e){e.normalize(t)});!function(t){return"[object String]"===Be(t)}(r)?o(e,r):s.push(e)}),s.forEach(function(e){t.__compiled__[t.__schemas__[e]]&&(t.__compiled__[e].validate=t.__compiled__[t.__schemas__[e]].validate,t.__compiled__[e].normalize=t.__compiled__[t.__schemas__[e]].normalize)}),t.__compiled__[""]={validate:null,normalize:function(t,e){e.normalize(t)}};const i=Object.keys(t.__compiled__).filter(function(e){return e.length>0&&t.__compiled__[e]}).map(Ie).join("|");t.re.schema_test=RegExp(`(^|(?!_)(?:[><|]|${e.src_ZPCc}))(${i})`,"i"),t.re.schema_search=RegExp(`(^|(?!_)(?:[><|]|${e.src_ZPCc}))(${i})`,"ig"),t.re.schema_at_start=RegExp(`^${t.re.schema_search.source}`,"i"),t.re.pretest=RegExp(`(${t.re.schema_test.source})|(${t.re.host_fuzzy_test.source})|@`,"i")}function Ne(t,e,r,n){const s=t.slice(r,n);this.schema=e.toLowerCase(),this.index=r,this.lastIndex=n,this.raw=s,this.text=s,this.url=s}function Pe(t,e){if(!(this instanceof Pe))return new Pe(t,e);var r;e||(r=t,Object.keys(r||{}).reduce(function(t,e){return t||Me.hasOwnProperty(e)},!1)&&(e=t,t={})),this.__opts__=qe({},Me,e),this.__schemas__=qe({},$e,t),this.__compiled__={},this.__tlds__=Te,this.__tlds_replaced__=!1,this.re={},Re(this)}Pe.prototype.add=function(t,e){return this.__schemas__[t]=e,Re(this),this},Pe.prototype.set=function(t){return this.__opts__=qe(this.__opts__,t),this},Pe.prototype.test=function(t){if(!t.length)return!1;let e,r;if(this.re.schema_test.test(t))for(r=this.re.schema_search,r.lastIndex=0;null!==(e=r.exec(t));)if(this.testSchemaAt(t,e[2],r.lastIndex))return!0;return!!(this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&t.search(this.re.host_fuzzy_test)>=0&&null!==t.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))||!!(this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&t.indexOf("@")>=0&&null!==t.match(this.re.email_fuzzy))},Pe.prototype.pretest=function(t){return this.re.pretest.test(t)},Pe.prototype.testSchemaAt=function(t,e,r){return this.__compiled__[e.toLowerCase()]?this.__compiled__[e.toLowerCase()].validate(t,r,this):0},Pe.prototype.match=function(t){const e=[],r=[],n=[],s=[];let o,i,u;function c(t,e){return t?e?t.index!==e.index?t.index<e.index?t:e:t.lastIndex>=e.lastIndex?t:e:t:e}if(!t.length)return null;if(this.re.schema_test.test(t))for(u=this.re.schema_search,u.lastIndex=0;null!==(o=u.exec(t));)i=this.testSchemaAt(t,o[2],u.lastIndex),i&&r.push({schema:o[2],index:o.index+o[1].length,lastIndex:o.index+o[0].length+i});if(this.__opts__.fuzzyLink&&this.__compiled__["http:"])for(u=this.__opts__.fuzzyIP?this.re.link_fuzzy_global:this.re.link_no_ip_fuzzy_global,u.lastIndex=0;null!==(o=u.exec(t));)n.push({schema:"",index:o.index+o[1].length,lastIndex:o.index+o[0].length});if(this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"])for(u=this.re.email_fuzzy_global,u.lastIndex=0;null!==(o=u.exec(t));)s.push({schema:"mailto:",index:o.index+o[1].length,lastIndex:o.index+o[0].length});const a=[0,0,0];let l=0;for(;;){const o=[r[a[0]],s[a[1]],n[a[2]]],i=c(c(o[0],o[1]),o[2]);if(!i)break;if(i===o[0]?a[0]++:i===o[1]?a[1]++:a[2]++,i.index<l)continue;const u=new Ne(t,i.schema,i.index,i.lastIndex);this.__compiled__[u.schema].normalize(u,this),e.push(u),l=i.lastIndex}return e.length?e:null},Pe.prototype.matchAtStart=function(t){if(!t.length)return null;const e=this.re.schema_at_start.exec(t);if(!e)return null;const r=this.testSchemaAt(t,e[2],e[0].length);if(!r)return null;const n=new Ne(t,e[2],e.index+e[1].length,e.index+e[0].length+r);return this.__compiled__[n.schema].normalize(n,this),n},Pe.prototype.tlds=function(t,e){return t=Array.isArray(t)?t:[t],e?(this.__tlds__=this.__tlds__.concat(t).sort().filter(function(t,e,r){return t!==r[e-1]}).reverse(),Re(this),this):(this.__tlds__=t.slice(),this.__tlds_replaced__=!0,Re(this),this)},Pe.prototype.normalize=function(t){t.schema||(t.url=`http://${t.url}`),"mailto:"!==t.schema||/^mailto:/i.test(t.url)||(t.url=`mailto:${t.url}`)},Pe.prototype.onCompile=function(){};const Oe=Pe,Ze=2147483647,je=36,Ue=/^xn--/,He=/[^\0-\x7F]/,Ve=/[\x2E\u3002\uFF0E\uFF61]/g,Ge={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},We=Math.floor,Je=String.fromCharCode;function Qe(t){throw new RangeError(Ge[t])}function Xe(t,e){const r=t.split("@");let n="";r.length>1&&(n=r[0]+"@",t=r[1]);const s=function(t,e){const r=[];let n=t.length;for(;n--;)r[n]=e(t[n]);return r}((t=t.replace(Ve,".")).split("."),e).join(".");return n+s}function Ye(t){const e=[];let r=0;const n=t.length;for(;r<n;){const s=t.charCodeAt(r++);if(s>=55296&&s<=56319&&r<n){const n=t.charCodeAt(r++);56320==(64512&n)?e.push(((1023&s)<<10)+(1023&n)+65536):(e.push(s),r--)}else e.push(s)}return e}const Ke=function(t){return t>=48&&t<58?t-48+26:t>=65&&t<91?t-65:t>=97&&t<123?t-97:je},tr=function(t,e){return t+22+75*(t<26)-((0!=e)<<5)},er=function(t,e,r){let n=0;for(t=r?We(t/700):t>>1,t+=We(t/e);t>455;n+=je)t=We(t/35);return We(n+36*t/(t+38))},rr=function(t){const e=[],r=t.length;let n=0,s=128,o=72,i=t.lastIndexOf("-");i<0&&(i=0);for(let r=0;r<i;++r)t.charCodeAt(r)>=128&&Qe("not-basic"),e.push(t.charCodeAt(r));for(let u=i>0?i+1:0;u<r;){const i=n;for(let e=1,s=je;;s+=je){u>=r&&Qe("invalid-input");const i=Ke(t.charCodeAt(u++));i>=je&&Qe("invalid-input"),i>We((Ze-n)/e)&&Qe("overflow"),n+=i*e;const c=s<=o?1:s>=o+26?26:s-o;if(i<c)break;const a=je-c;e>We(Ze/a)&&Qe("overflow"),e*=a}const c=e.length+1;o=er(n-i,c,0==i),We(n/c)>Ze-s&&Qe("overflow"),s+=We(n/c),n%=c,e.splice(n++,0,s)}return String.fromCodePoint(...e)},nr=function(t){const e=[],r=(t=Ye(t)).length;let n=128,s=0,o=72;for(const r of t)r<128&&e.push(Je(r));const i=e.length;let u=i;for(i&&e.push("-");u<r;){let r=Ze;for(const e of t)e>=n&&e<r&&(r=e);const c=u+1;r-n>We((Ze-s)/c)&&Qe("overflow"),s+=(r-n)*c,n=r;for(const r of t)if(r<n&&++s>Ze&&Qe("overflow"),r===n){let t=s;for(let r=je;;r+=je){const n=r<=o?1:r>=o+26?26:r-o;if(t<n)break;const s=t-n,i=je-n;e.push(Je(tr(n+s%i,0))),t=We(s/i)}e.push(Je(tr(t,0))),o=er(s,c,u===i),s=0,++u}++s,++n}return e.join("")},sr={version:"2.3.1",ucs2:{decode:Ye,encode:t=>String.fromCodePoint(...t)},decode:rr,encode:nr,toASCII:function(t){return Xe(t,function(t){return He.test(t)?"xn--"+nr(t):t})},toUnicode:function(t){return Xe(t,function(t){return Ue.test(t)?rr(t.slice(4).toLowerCase()):t})}},or={default:{options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}},zero:{options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","fragments_join"]}}},commonmark:{options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","fragments_join"]}}}},ir=/^(vbscript|javascript|file|data):/,ur=/^data:image\/(gif|png|jpeg|webp);/;function cr(t){const e=t.trim().toLowerCase();return!ir.test(e)||ur.test(e)}const ar=["http:","https:","mailto:"];function lr(t){const e=x(t,!0);if(e.hostname&&(!e.protocol||ar.indexOf(e.protocol)>=0))try{e.hostname=sr.toASCII(e.hostname)}catch(t){}return p(f(e))}function hr(t){const e=x(t,!0);if(e.hostname&&(!e.protocol||ar.indexOf(e.protocol)>=0))try{e.hostname=sr.toUnicode(e.hostname)}catch(t){}return a(f(e),a.defaultChars+"%")}function pr(t,e){if(!(this instanceof pr))return new pr(t,e);e||X(t)||(e=t||{},t="default"),this.inline=new ze,this.block=new he,this.core=new Xt,this.renderer=new wt,this.linkify=new Oe,this.validateLink=cr,this.normalizeLink=lr,this.normalizeLinkText=hr,this.utils=o,this.helpers=tt({},i),this.options={},this.configure(t),e&&this.set(e)}pr.prototype.set=function(t){return tt(this.options,t),this},pr.prototype.configure=function(t){const e=this;if(X(t)){const e=t;if(!(t=or[e]))throw new Error('Wrong `markdown-it` preset "'+e+'", check name')}if(!t)throw new Error("Wrong `markdown-it` preset, can't be empty");return t.options&&e.set(t.options),t.components&&Object.keys(t.components).forEach(function(r){t.components[r].rules&&e[r].ruler.enableOnly(t.components[r].rules),t.components[r].rules2&&e[r].ruler2.enableOnly(t.components[r].rules2)}),this},pr.prototype.enable=function(t,e){let r=[];Array.isArray(t)||(t=[t]),["core","block","inline"].forEach(function(e){r=r.concat(this[e].ruler.enable(t,!0))},this),r=r.concat(this.inline.ruler2.enable(t,!0));const n=t.filter(function(t){return r.indexOf(t)<0});if(n.length&&!e)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+n);return this},pr.prototype.disable=function(t,e){let r=[];Array.isArray(t)||(t=[t]),["core","block","inline"].forEach(function(e){r=r.concat(this[e].ruler.disable(t,!0))},this),r=r.concat(this.inline.ruler2.disable(t,!0));const n=t.filter(function(t){return r.indexOf(t)<0});if(n.length&&!e)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+n);return this},pr.prototype.use=function(t){const e=[this].concat(Array.prototype.slice.call(arguments,1));return t.apply(t,e),this},pr.prototype.parse=function(t,e){if("string"!=typeof t)throw new Error("Input data should be a String");const r=new this.core.State(t,this,e);return this.core.process(r),r.tokens},pr.prototype.render=function(t,e){return e=e||{},this.renderer.render(this.parse(t,e),this.options,e)},pr.prototype.parseInline=function(t,e){const r=new this.core.State(t,this,e);return r.inlineMode=!0,this.core.process(r),r.tokens},pr.prototype.renderInline=function(t,e){return e=e||{},this.renderer.render(this.parseInline(t,e),this.options,e)};const fr=pr}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkfilecat=self.webpackChunkfilecat||[]).push([[4476,9381],{19381(e,n,t){t.r(n),t.d(n,{default:()=>l});var i=t(96540),r=t(80952),o=(t(82327),t(1766),t(24854),t(90008),t(90846),t(40975),t(44286),t(30766),t(14973),t(69687),t(1234),t(47507),t(87268),t(24522));const a=`https://gcore.jsdelivr.net/npm/ace-builds@${r.version}/src-min-noconflict/`;r.config.set("basePath",a),r.config.set("modePath",a),r.config.set("themePath",a),r.config.set("workerPath",a);var d=t(34843),s=t(82893),c=t(78247),m=t(74848);function l(e){const n=(0,i.useRef)(null),[t,a]=(0,d.fp)(s.AG.user_base_info),l=t.user_data.theme?.includes("dark")?"cloud_editor_dark":"cloud9_day";return(0,i.useEffect)(()=>{const t=r.edit(n.current,{value:c.xK.get_value_temp(e.editor_id),showPrintMargin:!1,theme:`ace/theme/${l}`,mode:e.model??o.getModeForPath(e.name??"").mode,wrap:!1,highlightActiveLine:!1,fontSize:14,...e.options});return t.setOptions({}),t.container.addEventListener("wheel",function(e){e.preventDefault()}),t.focus(),t.on("change",function(n){e.on_change&&e.on_change()}),n.current=t,t.formatCode=()=>{const e=r.require("ace/ext/beautify"),t=n.current;t&&e.beautify(t.session)},c.xK.set_editor_temp(t,e.editor_id),()=>{c.xK.delete_editor_temp(e.editor_id),t.destroy()}},[]),(0,m.jsx)("div",{ref:n,style:{height:"100%",width:"100%"}})}},96763(e,n,t){t.d(n,{Kz:()=>a,P7:()=>c,_8:()=>h,_D:()=>l,bN:()=>o,sO:()=>m});var i=t(14284),r=t(53459);function o(e,n,t){const i="md-theme-style-"+e,r=document.getElementById(i);if(!n)return void r?.remove();let o=r;o||(o=document.createElement("style"),o.id=i,document.head.appendChild(o)),o.textContent=function(e,n){let t=String(e??"");return t=t.replace(/\/\*[\s\S]*?\*\//g,""),t=t.replace(/^\s*@include-when-export[^;]*;?/gim,""),t=t.replace(/^\s*@import[^;]*;?/gim,""),t.replace(/(^|})\s*([^{}@]+?)\s*\{/g,(e,t,i)=>`${t}\n${String(i).split(",").map(e=>e.trim()).filter(Boolean).map(e=>"#write"===e||"html"===e||"body"===e||":root"===e||"content"===e?n:e.startsWith("#write")?n+e.slice(6):/^(html|body)\b/.test(e)?n+e.replace(/^(html|body)/,""):`${n} ${e}`).join(", ")} {`)}(n,t)}async function a(){try{const e=await i.XO.get("md_theme/list");return e?.code===r.m.Success?e.data??[]:[]}catch(e){return[]}}const d="md-theme-change";function s(){window.dispatchEvent(new Event(d))}async function c(e){try{const n=await i.XO.get(`md_theme/get?id=${encodeURIComponent(e)}`);return n?.code===r.m.Success?n.data??"":""}catch(e){return""}}async function m(){try{const e=await i.XO.get("md_theme/active");return e?.code===r.m.Success?e.data??"":""}catch(e){return""}}async function l(e){const n=await i.XO.post("md_theme/save",e);return n?.code!==r.m.Success?null:(s(),n.data)}async function h(e){const n=await i.XO.post("md_theme/del",{id:e});return n?.code===r.m.Success&&(s(),!0)}t.d(n,["o3",0,d])},94476(e,n,t){t.r(n),t.d(n,{default:()=>y});var i=t(96540),r=t(86149),o=t(86090),a=t(34843),d=t(22091),s=t(85997),c=t(4412),m=t(70447),l=t(75725),h=t(61443),u=t(62042),f=t(78247),g=t(23430),p=t(82893),w=t(19381),_=t(96763);const b='/* ===== md 主题 =====\n 选择器请用 #write 作为正文容器(与 Typora 主题一致),\n 保存时会自动改写到编辑器的正文容器上,不会影响后台其他界面。\n\n 下面每一组都可以直接改,不需要的整段删掉即可。\n ============================================ */\n\n/* ---------- 正文 ---------- */\n#write {\n font-family: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif; /* 字体 */\n font-size: 16px; /* 字号 */\n line-height: 1.7; /* 行高:1.7 约为字号的 1.7 倍 */\n color: #333333; /* 文字颜色 */\n background: #ffffff; /* 正文底色 */\n}\n\n/* ---------- 标题 h1 ~ h6 ---------- */\n#write h1 {\n font-size: 2em; /* 相对正文字号的倍数 */\n font-weight: 600; /* 字重:400 常规 / 600 半粗 / 700 粗 */\n color: #1a1a1a;\n margin-top: 1.4em;\n margin-bottom: 0.6em;\n padding-bottom: 0.3em;\n border-bottom: 1px solid #eaecef; /* 标题下划线,不需要就删掉这行 */\n}\n#write h2 { font-size: 1.5em; font-weight: 600; margin-top: 1.3em; margin-bottom: 0.6em; }\n#write h3 { font-size: 1.25em; font-weight: 600; margin-top: 1.2em; margin-bottom: 0.5em; }\n#write h4 { font-size: 1em; font-weight: 600; margin-top: 1.1em; margin-bottom: 0.5em; }\n#write h5 { font-size: 0.9em; font-weight: 600; margin-top: 1em; margin-bottom: 0.5em; }\n#write h6 { font-size: 0.85em; font-weight: 600; color: #6a737d; margin-top: 1em; margin-bottom: 0.5em; }\n\n/* ---------- 段落与行内元素 ---------- */\n#write p {\n margin: 0 0 1em; /* 段落间距:上 右 下 左,下边距控制段与段的距离 */\n}\n#write strong { font-weight: 600; } /* 加粗文字 */\n#write em { font-style: italic; } /* 斜体文字 */\n#write a { color: #0366d6; text-decoration: none; } /* 链接颜色;加下划线写 underline */\n#write a:hover { text-decoration: underline; } /* 鼠标悬停时的链接样式 */\n#write del { color: #999999; } /* 删除线文字 */\n\n/* ---------- 引用 ---------- */\n#write blockquote {\n margin: 0 0 1em;\n padding: 0.4em 1em;\n color: #6a737d; /* 引用文字颜色 */\n border-left: 4px solid #dfe2e5; /* 左侧竖线,这是引用最明显的特征 */\n background: #f6f8fa; /* 引用底色,不需要就删掉 */\n}\n\n/* ---------- 代码 ---------- */\n#write code {\n font-family: Consolas, Monaco, "Courier New", monospace; /* 等宽字体 */\n font-size: 0.88em;\n color: #476582; /* 行内代码文字色 */\n background: rgba(27, 31, 35, 0.05); /* 行内代码底色 */\n padding: 0.2em 0.4em;\n border-radius: 3px; /* 圆角 */\n}\n#write pre {\n padding: 1em;\n overflow: auto; /* 内容太宽时出现横向滚动条 */\n background: #f6f8fa; /* 代码块底色 */\n border-radius: 6px;\n margin: 0 0 1em;\n}\n#write pre code {\n background: transparent; /* 代码块里的 code 不要再叠一层底色 */\n padding: 0;\n}\n\n/* ---------- 列表 ---------- */\n#write ul, #write ol {\n padding-left: 2em; /* 缩进 */\n margin: 0 0 1em;\n}\n#write li { margin: 0.25em 0; } /* 列表项之间的间距 */\n\n/* ---------- 表格 ---------- */\n#write table {\n width: 100%;\n border-collapse: collapse; /* 相邻边框合并成一条线 */\n margin: 0 0 1em;\n}\n#write table th, #write table td {\n padding: 6px 13px;\n border: 1px solid #dfe2e5; /* 单元格边框 */\n}\n#write table th {\n font-weight: 600;\n background: #f6f8fa; /* 表头底色 */\n}\n\n/* ---------- 分割线 ---------- */\n#write hr {\n height: 1px; /* 线的粗细 */\n border: 0;\n background: #e1e4e8; /* 线的颜色 */\n margin: 1.6em 0;\n}\n\n/* ---------- 图片 ---------- */\n#write img {\n max-width: 100%; /* 防止大图撑破版面 */\n border-radius: 4px;\n}\n';var x=t(74848);const v=(0,d.A)({html:!0,linkify:!0,breaks:!1});function y(){const{t:e}=(0,r.B)(),n=(0,o.Zp)(),[t]=(0,o.ok)(),{check_user_auth:d}=(0,f.MH)(),y=d(g.oV.md_theme),j=t.get("id")??"",k=!j,[S,C]=(0,i.useState)(""),[N,z]=(0,i.useState)(b),[K,P]=(0,i.useState)(!0),[E,H]=(0,i.useState)(!1),M=88,[$]=(0,a.fp)(p.AG.md_editor_last_context),A=$?.trim()?$:'# 一级标题 Heading 1\n\n## 二级标题 Heading 2\n\n### 三级标题 Heading 3\n\n#### 四级标题 Heading 4\n\n##### 五级标题 Heading 5\n\n###### 六级标题 Heading 6\n\n这是一段普通正文,用来观察字体、字号、行高和文字颜色。中间可以包含 **加粗文字**、*斜体文字*、~~删除线~~、`行内代码` 以及 [一个链接](https://github.com/xiaobaidadada/filecat)。\n\n> 这是一段引用文字。\n> 引用通常用来强调摘录的内容,左侧一般会有一条竖线。\n\n- 无序列表第一项\n- 无序列表第二项\n - 嵌套的子项\n- 无序列表第三项\n\n1. 有序列表第一项\n2. 有序列表第二项\n3. 有序列表第三项\n\n```javascript\n// 代码块\nfunction greet(name) {\n console.log(`Hello, ${name}!`);\n}\ngreet("filecat");\n```\n\n| 列一 | 列二 | 列三 |\n| --- | --- | --- |\n| 内容 A | 内容 B | 内容 C |\n| 内容 D | 内容 E | 内容 F |\n\n---\n\n最后一段正文,用于观察段落之间的间距。\n',O=(0,i.useMemo)(()=>v.render(A),[A]);(0,i.useEffect)(()=>{if(!j){const e=b;return f.xK.set_value_temp(e,M),C(""),z(e),void P(!1)}Promise.all([(0,_.Kz)(),(0,_.P7)(j)]).then(([e,n])=>{const t=e.find(e=>e.id===j),i=n||b;f.xK.set_value_temp(i,M),C(t?.id??""),z(i)}).finally(()=>P(!1))},[j]),(0,i.useEffect)(()=>{if(K)return;const e=f.xK.get_editor(M);e&&(e.setValue(f.xK.get_value_temp(M)??"",-1),e.clearSelection())},[K]),(0,i.useEffect)(()=>{K||(0,_.bN)("theme_preview",N,".md-theme-preview .md-editor-sheet")},[N,K]);return(0,x.jsxs)("div",{children:[(0,x.jsx)(c.aZ,{position:"right",children:(0,x.jsx)(s.rA,{icon:"arrow_back",title:e("上一页"),onClick:()=>n(-1)})}),(0,x.jsx)(l.jW,{isFull:!0,more:!0,children:(0,x.jsx)(l.NN,{children:(0,x.jsxs)("div",{className:"md-theme-editor",children:[(0,x.jsx)("div",{className:"md-theme-editor__left",children:(0,x.jsxs)(m.Zp,{title:e(k?"新建主题":"编辑主题"),titleCom:(0,x.jsx)(x.Fragment,{children:y&&(0,x.jsx)(s.C3,{text:e(E?"保存中":"保存"),clickFun:()=>{E||(async()=>{const t=S.trim();if(t){H(!0);try{await(0,_._D)({id:k?void 0:j,name:t,css:f.xK.get_editor_value(M)??N})?((0,u.SK)(e("保存成功")),n(-1)):(0,u.zN)(e("保存失败"))}finally{H(!1)}}else(0,u.zN)(e("请输入主题名称"))})()}})}),children:[(0,x.jsx)(h.BC,{label:e("主题名称"),label_width:"6rem",children:(0,x.jsx)(h.Sm,{value:S,disabled:!y,placeholder:e("请输入主题名称"),handleInputChange:e=>C(e)})}),(0,x.jsx)("div",{className:"md-theme-editor__ace",children:(0,x.jsx)(w.default,{name:"theme.css",editor_id:M,model:"ace/mode/css",on_change:()=>{const e=f.xK.get_editor_value(M);void 0!==e&&z(e)},options:{showPrintMargin:!1,highlightActiveLine:!0,wrap:!0}})})]})}),(0,x.jsx)("div",{className:"md-theme-editor__right",children:(0,x.jsx)(m.Zp,{title:e("预览"),titleCom:(0,x.jsx)("span",{className:"md-theme-editor__tip",children:e("主题实时预览")}),children:(0,x.jsx)("div",{className:"md-theme-preview",children:(0,x.jsx)("div",{className:"md-editor-sheet",children:(0,x.jsx)("div",{className:"md-wysiwyg-content",dangerouslySetInnerHTML:{__html:O}})})})})})]})})})]})}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkfilecat=self.webpackChunkfilecat||[]).push([[4903],{64903(e,t,n){n.r(t),n.d(t,{default:()=>f});var c=n(96540),i=n(34843),l=n(82893),s=n(85997),o=n(57952),a=(n(62042),n(21499),n(40505),n(86149)),r=(n(99214),n(74848));const d=c.lazy(()=>Promise.all([n.e(2091),n.e(9878),n.e(2626),n.e(6010)]).then(()=>n(34299)));function f(e){const{t}=(0,a.B)(),[n,c]=(0,i.fp)(l.AG.markdown);if(n.context)return(0,r.jsxs)("div",{id:"md-container",children:[(0,r.jsx)(o.A,{ignore_tags:!0,left_children:[(0,r.jsx)(s.rA,{title:t("取消"),icon:"close",onClick:function(){c({context:"",filename:""}),n?.close?.()}},1),(0,r.jsx)("title",{children:n.filename},2)]}),(0,r.jsx)("div",{className:"md-context ",children:(0,r.jsx)(d,{context:n.context})})]})}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkfilecat=self.webpackChunkfilecat||[]).push([[5308],{65308(e,t,a){a.r(t),a.d(t,{default:()=>p});var o=a(96540),n=a(34843),i=a(82893),r=a(34289),d=a(14284),s=a(38240),c=a(62042),l=a(86090),m=a(74848);let f,u=!1;function p(){const[e,t]=(0,n.fp)(i.AG.image_editor),a=(0,l.Zp)();(0,l.zy)();return(0,o.useEffect)(()=>((async()=>{if(!u)try{await(0,s.J)("filerobot-image-editor.min.js"),u=!0}catch(e){return void(0,c.zN)("加载资源失败")}const o=(0,r.GG)("file",e.path),n=window.FilerobotImageEditor,{TABS:i,TOOLS:l}=n,m={defaultSavedImageName:e.name,source:d.$M.getDownloadUrl(o),onSave:async(t,a)=>{const n=t.extension,i=t.name??e.name,s=await new Promise(e=>t.imageCanvas.toBlob(e,t.mimeType));await d.$M.put(`${encodeURIComponent(`${(0,r.Yp)(o)}${i}.${n}`)}`,s,void 0),(0,c.SK)("保存成功")},annotationsCommon:{fill:"#151717",stroke:"#ec0f42",shadowColor:"#151717"},Text:{text:""},Rotate:{angle:90,componentType:"slider"},tabsIds:[Object.values(i)],defaultTabId:i.ANNOTATE,defaultToolId:l.ANNOTATE};f=new n(document.querySelector("#editor_container"),m),f.render({onClose:e=>{f.terminate(),t({}),a((0,r.vX)())}})})(),()=>{f&&f.terminate()}),[]),(0,m.jsx)("div",{id:"image-editor-container",children:(0,m.jsx)("div",{className:"image-editor-context",children:(0,m.jsx)("div",{id:"editor_container",className:"image-editor-context"})})})}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkfilecat=self.webpackChunkfilecat||[]).push([[7200],{7200(e,t,n){n.r(t),n.d(t,{default:()=>Ye});var r=n(96540),s=n(7523),o=n(34843),c=n(82893),a=n(78247),l=n(23430),i=n(85997),u=n(57952),d=n(62042),m=n(53459),h=n(14284),f=n(57889),p=n(23496),g=n(86149),_=n(42845),v=n(1575),y=n(89781),k=n(61396),w=n(46762),b=n(73337),x=n(89552),$=n(86059),M=n(58903);const S=(0,$.of)({tableGroup:"block",cellContent:"block+",cellAttributes:{}}),j={align:{default:null}},E={doc:{content:"block+"},paragraph:{content:"inline*",group:"block",attrs:j,parseDOM:[{tag:"p"}],toDOM:e=>["p",e.attrs.align?{style:`text-align:${e.attrs.align}`}:{},0]},heading:{content:"inline*",group:"block",attrs:{level:{default:1},...j},defining:!0,parseDOM:[1,2,3,4,5,6].map(e=>({tag:`h${e}`,attrs:{level:e}})),toDOM(e){const t=e.attrs.align?{style:`text-align:${e.attrs.align}`}:{};return[`h${e.attrs.level}`,t,0]}},bullet_list:{group:"block",content:"list_item+",parseDOM:[{tag:"ul"}],toDOM:()=>["ul",0]},ordered_list:{group:"block",content:"list_item+",attrs:{order:{default:1}},parseDOM:[{tag:"ol",getAttrs:e=>({order:Number(e.getAttribute("start")??1)})}],toDOM:e=>1===e.attrs.order?["ol",0]:["ol",{start:e.attrs.order},0]},list_item:{content:"paragraph block*",defining:!0,attrs:{checked:{default:null}},parseDOM:[{tag:"li",getAttrs:e=>{const t=e,n=t.querySelector("input[type=checkbox]");if(n)return{checked:n.checked};const r=t.getAttribute("data-checked");return{checked:null===r?null:"true"===r}}}],toDOM:e=>null!==e.attrs.checked?["li",{"data-checked":String(e.attrs.checked)},0]:["li",0]},blockquote:{content:"block+",group:"block",defining:!0,parseDOM:[{tag:"blockquote"}],toDOM:()=>["blockquote",0]},code_block:{content:"text*",group:"block",marks:"",defining:!0,attrs:{language:{default:""}},parseDOM:[{tag:"pre",preserveWhitespace:"full",getAttrs:e=>{const t=e.querySelector("code"),n=/language-([\w-]+)/.exec(t?.className??"");return{language:n?n[1]:""}}}],toDOM:e=>["pre",{"data-language":e.attrs.language},["code",0]]},horizontal_rule:{group:"block",parseDOM:[{tag:"hr"}],toDOM:()=>["hr"]},hard_break:{inline:!0,group:"inline",selectable:!1,parseDOM:[{tag:"br"}],toDOM:()=>["br"]},image:{inline:!0,group:"inline",draggable:!0,attrs:{src:{},alt:{default:null},title:{default:null}},parseDOM:[{tag:"img[src]",getAttrs:e=>{const t=e;return{src:t.getAttribute("src"),alt:t.getAttribute("alt"),title:t.getAttribute("title")}}}],toDOM(e){const{src:t,alt:n,title:r}=e.attrs,s={src:t};return n&&(s.alt=n),r&&(s.title=r),["img",s]}},text:{group:"inline"},...S},A={strong:{parseDOM:[{tag:"strong"},{tag:"b"},{style:"font-weight=bold"}],toDOM:()=>["strong",0]},em:{parseDOM:[{tag:"i"},{tag:"em"},{style:"font-style=italic"}],toDOM:()=>["em",0]},strike:{parseDOM:[{tag:"s"},{tag:"del"},{tag:"strike"}],toDOM:()=>["s",0]},code:{parseDOM:[{tag:"code",getAttrs:e=>"PRE"!==e.parentElement?.tagName&&null}],toDOM:()=>["code",0]},link:{attrs:{href:{},title:{default:null}},inclusive:!1,parseDOM:[{tag:"a[href]",getAttrs:e=>{const t=e;return{href:t.getAttribute("href"),title:t.getAttribute("title")}}}],toDOM(e){const{href:t,title:n}=e.attrs;return["a",{href:t,title:n,rel:"noopener noreferrer",target:"_blank"},0]}}},C=new M.Sj({nodes:E,marks:A});const O=new(n(22091).A)({html:!0,linkify:!0,breaks:!1,typographer:!1});function D(e){const t=O.render(e??""),n=document.createElement("div");return n.innerHTML=t,M.S4.fromSchema(C).parse(n)}function N(e){let t="";return e.forEach(e=>{if(e.isText){let n=e.marks.some(e=>"code"===e.type.name)?e.text??"":function(e){return e.replace(/([\\`*_[\]<>])/g,"\\$1")}(e.text??"");for(const t of e.marks)switch(t.type.name){case"code":n=`\`${e.text??""}\``;break;case"strong":n=`**${n}**`;break;case"em":n=`*${n}*`;break;case"strike":n=`~~${n}~~`;break;case"link":n=`[${n}](${t.attrs.href}${t.attrs.title?` "${t.attrs.title}"`:""})`}t+=n}else if("image"===e.type.name){const{src:n,alt:r,title:s}=e.attrs;t+=`![${r??""}](${n}${s?` "${s}"`:""})`}else"hard_break"===e.type.name&&(t+=" \n")}),t}function L(e){const t=[];if(e.forEach(e=>{const n=[],r=[];e.forEach(e=>{var t;n.push((t=e.textContent,t.replace(/\|/g,"\\|").replace(/\n/g," ")).trim()),r.push("table_header"===e.type.name)}),t.push({cells:n,header_flags:r})}),0===t.length)return"";const n=Math.max(...t.map(e=>e.cells.length)),r=t[0].header_flags.some(e=>e),s=Array.from({length:n},(e,n)=>Math.max(3,...t.map(e=>z(e.cells[n]??"")))),o=e=>`| ${Array.from({length:n},(t,n)=>{return r=e[n]??"",o=s[n],r+" ".repeat(Math.max(0,o-z(r)));var r,o}).join(" | ")} |`,c=[];if(r){c.push(o(t[0].cells)),c.push(`| ${s.map(e=>"-".repeat(e)).join(" | ")} |`);for(let e=1;e<t.length;e++)c.push(o(t[e].cells))}else{c.push(o(new Array(n).fill(""))),c.push(`| ${s.map(e=>"-".repeat(e)).join(" | ")} |`);for(const e of t)c.push(o(e.cells))}return c.join("\n")}function z(e){let t=0;for(const n of e){const e=n.codePointAt(0)??0;t+=e>=4352&&e<=4447||e>=11904&&e<=42191||e>=44032&&e<=55203||e>=63744&&e<=64255||e>=65072&&e<=65135||e>=65280&&e<=65376||e>=65504&&e<=65510?2:1}return t}function R(e,t=""){switch(e.type.name){case"paragraph":default:return t+N(e);case"heading":return`${t}${"#".repeat(e.attrs.level)} ${N(e)}`;case"blockquote":return G(e,"").split("\n").map(e=>`${t}> ${e}`).join("\n");case"code_block":{const n=e.attrs.language??"";return`${t}\`\`\`${n}\n${e.textContent}\n${t}\`\`\``}case"horizontal_rule":return`${t}---`;case"bullet_list":{const n=[];return e.forEach((e,r,s)=>{n.push(F(e,t,`${t}- `,`${t} `,s))}),n.join("\n")}case"ordered_list":{const n=[],r=e.attrs.order??1;return e.forEach((e,s,o)=>{n.push(F(e,t,`${t}${r+o}. `,`${t} `,o))}),n.join("\n")}case"table":return L(e).split("\n").map(e=>t+e).join("\n")}}function F(e,t,n,r,s){const o=e.attrs.checked,c=null===o?"":o?"[x] ":"[ ] ",a=[];e.forEach((e,t,n)=>{a.push(R(e,0===n?"":r))});const l=a.join("\n").split("\n");return n+c+l[0]+(l.length>1?"\n"+l.slice(1).join("\n"):"")}function G(e,t=""){const n=[];return e.forEach(e=>{n.push(R(e,t))}),n.join("\n\n")}function T(e){return G(e).trim()+"\n"}var P=n(74848);function I(e){const{t}=(0,g.B)(),[n,s]=(0,r.useState)(new Set),o=(0,r.useMemo)(()=>function(e){const t=[],n=[];for(const r of e){const e={...r,children:[]};for(;n.length>0&&n[n.length-1].level>=e.level;)n.pop();0===n.length?t.push(e):n[n.length-1].children.push(e),n.push(e)}return t}(e.items),[e.items]),c=(r,o)=>r.map(r=>{const a=r.children.length>0,l=n.has(r.pos),i=r.pos===e.active_pos;return(0,P.jsxs)("div",{children:[(0,P.jsxs)("div",{className:`md-outline-item md-outline-item--h${r.level}${i?" md-outline-item--active":""}`,style:{paddingLeft:.4+.75*o+"em"},title:r.text,onClick:()=>e.on_click(r),children:[(0,P.jsx)("i",{className:"material-icons md-outline-arrow"+(a?"":" md-outline-arrow--empty"),onClick:a?e=>{return t=r.pos,e.stopPropagation(),void s(e=>{const n=new Set(e);return n.has(t)?n.delete(t):n.add(t),n});var t}:void 0,children:a?l?"arrow_right":"arrow_drop_down":""}),(0,P.jsx)("span",{className:"md-outline-text",children:r.text||t("未命名标题")})]}),a&&!l&&c(r.children,o+1)]},r.pos)});return 0===e.items.length?(0,P.jsxs)("div",{className:"md-outline md-outline--empty",children:[(0,P.jsx)("div",{className:"md-outline-header",children:t("大纲")}),(0,P.jsx)("div",{className:"md-outline-tip",children:t("no_head")})]}):(0,P.jsxs)("div",{className:"md-outline",children:[(0,P.jsx)("div",{className:"md-outline-header",children:t("大纲")}),(0,P.jsx)("div",{className:"md-outline-list",children:c(o,0)})]})}var W=n(19878);const q=new _.hs("md_source_highlight");let B=!1;function V(e){B=e}function K(e,t,n){let r=t;for(const t of e){if("string"==typeof t){r+=t.length;continue}const e=r;Array.isArray(t.children)&&(r=K(t.children,r,n)),t.scope&&n.push({from:e,to:r,cls:`hljs-${t.scope}`})}return r}function X(e,t){const n=e.textContent;if(!n)return[];let r;try{r=W.A.highlight(n,{language:"markdown",ignoreIllegals:!0})}catch{return[]}const s=[],o=r._emitter?.rootNode;o?.children&&K(o.children,0,s);const c=t+1,a=[];for(const e of s){const t=Math.min(e.from,n.length),r=Math.min(e.to,n.length);t>=r||a.push(v.NZ.inline(c+t,c+r,{class:e.cls}))}return a}function H(e){const t=[];return e.descendants((e,n)=>"code_block"!==e.type.name||(t.push(...X(e,n)),!1)),v.zF.create(e,t)}var U=n(38341),J=n(3772);function Y(e,t){return new U.fV(e,(e,n,r,s)=>{const o=e.schema.marks[t],c=n[1];if(!o||!c)return null;const a=n[0].indexOf(c);if(a<0)return null;const l=r+a,i=l+c.length,u=e.tr;return u.delete(i,s),u.delete(r,l),u.addMark(r,r+c.length,o.create()),u.removeStoredMark(o),u})}function Z(){const e=C;return(0,U.sM)({rules:[(0,U.JJ)(/^(#{1,6})\s$/,e.nodes.heading,e=>({level:e[1].length})),(0,U.JJ)(/^#([1-6])\s$/,e.nodes.heading,e=>({level:Number(e[1])})),(0,U.JJ)(/^```([\w-]*)\s$/,e.nodes.code_block,e=>({language:e[1]??""})),(0,U.tG)(/^\s*>\s$/,e.nodes.blockquote),(0,U.tG)(/^\s*([-+*])\s$/,e.nodes.bullet_list),(0,U.tG)(/^(\d+)\.\s$/,e.nodes.ordered_list,e=>({order:Number(e[1])})),Y(/(?:\*\*)([^*]+)(?:\*\*)$/,"strong"),Y(/(?:__)([^_]+)(?:__)$/,"strong"),Y(/(?<![*])\*([^*]+)\*$/,"em"),Y(/(?<![_])_([^_]+)_$/,"em"),Y(/(?:~~)([^~]+)(?:~~)$/,"strike"),Y(/(?:`)([^`]+)(?:`)$/,"code"),...U.Fr,U.gO]})}const Q=(e,t)=>{const{$from:n,empty:r}=e.selection;if(!r||"paragraph"!==n.parent.type.name)return!1;const s=n.parent.textContent;if(!s.trim())return!1;const o=function(e){const t=e.trim(),n=/^#([1-6])$/.exec(t);if(n)return{type:"heading",attrs:{level:Number(n[1])}};const r=/^(#{1,6})$/.exec(t);if(r)return{type:"heading",attrs:{level:r[1].length}};const s=/^```([\w-]*)$/.exec(t);return s?{type:"code_block",attrs:{language:s[1]??""}}:/^(?:-{3,}|\*{3,}|_{3,})$/.test(t.replace(/\s+/g,""))?{type:"horizontal_rule"}:/^>\s*$/.test(t)?{type:"blockquote"}:/^[-+*]\s*$/.test(t)?{type:"bullet_list"}:/^\d+[.)]?$/.test(t)?{type:"ordered_list"}:null}(s);if(!o)return!1;if("blockquote"===o.type&&n.depth>1)return!1;const c=e.schema.nodes[o.type];if(!c)return!1;const a=n.before(n.depth),l=n.after(n.depth);if(t){const n=e.tr,r=c.createAndFill(o.attrs)??c.create(o.attrs);n.replaceWith(a,l,r),n.scrollIntoView(),t(n)}return!0};function ee(e){return(t,n)=>{const r=t.schema.marks[e];return!!r&&(0,w.wh)(r)(t,n)}}function te(e,t={}){return(n,r)=>{const s=n.schema.nodes[e];if(!s)return!1;const{$from:o,$to:c}=n.selection,a=o.blockRange(c);if(!a)return!1;const l=o.parent,i=l.type===s&&Object.entries(t).every(([e,t])=>l.attrs[e]===t),u=i?n.schema.nodes.paragraph:s,d=i?{}:t;return r&&r(n.tr.setBlockType(a.start,a.end,u,d)),!0}}const ne=(e,t)=>(0,J.Sd)(e.schema.nodes.bullet_list)(e,t),re=(e,t)=>(0,J.Sd)(e.schema.nodes.ordered_list)(e,t),se=(e,t)=>{const{blockquote:n}=e.schema.nodes,{$from:r,$to:s}=e.selection,o=r.blockRange(s);if(!o)return!1;if(o.parent.type===n&&o.depth>0){const n=r.before(o.depth),s=e.tr.doc.nodeAt(n);if(s&&1===s.childCount)return t&&t(e.tr.replaceWith(n,n+s.nodeSize,s.child(0)).scrollIntoView()),!0;if(t){const n=e.tr,s=r.parent,c=r.after(o.depth);n.delete(o.start,o.end),n.insert(c,s),t(n.scrollIntoView())}return!0}return t&&t(e.tr.wrap(o,[{type:n}]).scrollIntoView()),!0},oe={sink:(0,J.$B)(C.nodes.list_item),lift:(0,J.T2)(C.nodes.list_item),split:(0,J.wn)(C.nodes.list_item),wrap_bullet:ne,wrap_ordered:re};n(41631),n(50576),n(70432);function ce(e){return 0===e?te("paragraph"):te("heading",{level:e})}function ae(e){return!(!e.ctrlKey&&!e.metaKey)}function le(e,t){return(0,$.D8)(1)(e,t)}function ie(e){if(1!==e.childCount)return!1;const t=e.firstChild;return!!t&&"code_block"===t.type.name&&"markdown"===t.attrs.language}const ue=r.forwardRef(function(e,t){const n=(0,r.useRef)(null),s=(0,r.useRef)(null),o=(0,r.useRef)(e.on_change),c=(0,r.useRef)(e.on_save),a=(0,r.useRef)(e.on_selection_change),l=(0,r.useRef)(e.on_source_mode_change);return(0,r.useEffect)(()=>{o.current=e.on_change,c.current=e.on_save,a.current=e.on_selection_change,l.current=e.on_source_mode_change}),(0,r.useEffect)(()=>{if(!n.current)return;const r=_.$t.create({doc:D(e.value??""),plugins:[(0,y.b6)(),new _.k_({key:q,state:{init:(e,t)=>v.zF.empty,apply:(e,t,n,r)=>B?e.docChanged?H(r.doc):q.getState(r)??v.zF.empty:v.zF.empty},props:{decorations(e){if(!B)return null;const t=q.getState(e);return t&&t.find().length?t:H(e.doc)}}}),Z(),(0,k.w)({"Mod-z":y.tN,"Mod-y":y.ZS,"Mod-Shift-z":y.ZS,"Mod-b":ee("strong"),"Mod-i":ee("em"),"Mod-Shift-x":ee("strike"),"Mod-`":ee("code"),"Mod-1":(e,t)=>ce(1)(e,t),"Mod-2":(e,t)=>ce(2)(e,t),"Mod-3":(e,t)=>ce(3)(e,t),"Mod-0":(e,t)=>ce(0)(e,t),"Mod-Shift-8":ne,"Mod-Shift-9":re,"Mod-Shift-.":se,Tab:oe.sink,"Shift-Tab":oe.lift,"Mod-Enter":le,"Mod-s":()=>(c.current?.(),!0)}),(0,$.LF)({allowTableNodeSelection:!0}),(0,$.AL)(),(0,b.A)({color:"var(--primary, #1a73e8)",width:2}),(0,x.z)(),(0,k.w)({Enter:(0,w.st)(Q,w.pC,oe.split,w.Z1,w.iz,w.aw),"Shift-Enter":(e,t)=>{const{hard_break:n}=e.schema.nodes;return t&&t(e.tr.replaceSelectionWith(n.create()).scrollIntoView()),!0},"Mod-Enter":w.I$}),(0,k.w)(w.RV)]}),i=new v.Lz(n.current,{state:r,editable:()=>!1!==e.editable,handleClickOn(e,t,n,r,s){if(!ae(s))return!1;const o=function(e){if(!(e instanceof Element))return null;const t=e.closest("a[href]"),n=t?.getAttribute("href");return n||null}(s.target)??function(e,t){const n=e.doc.content.size,r=Math.max(0,Math.min(t,n));let s;try{s=e.doc.resolve(r)}catch{return null}for(const t of[1,-1]){const s=1===t?r:r-1;if(!(s<0||s>=n))try{const t=e.doc.resolve(s).marks().find(e=>"link"===e.type.name);if(t?.attrs?.href)return t.attrs.href}catch{}}try{const e=s.parent.marks.find(e=>"link"===e.type.name);if(e?.attrs?.href)return e.attrs.href}catch{}return null}(e.state,t);return!!o&&(window.open(o,"_blank","noopener,noreferrer"),!0)},handleDOMEvents:{keydown:(e,t)=>{if(ae(t)&&e.dom.classList.add("md-ctrl-down"),ie(e.state.doc)&&"Enter"===t.key&&!t.ctrlKey&&!t.metaKey&&!t.altKey){t.preventDefault();const{from:n,to:r}=e.state.selection;return e.dispatch(e.state.tr.insertText("\n",n,r).scrollIntoView()),!0}return!1},keyup:(e,t)=>(ae(t)||e.dom.classList.remove("md-ctrl-down"),!1),blur:e=>(e.dom.classList.remove("md-ctrl-down"),!1),beforeinput:(e,t)=>{if(!ie(e.state.doc))return!1;const n=t;if("insertText"!==n.inputType)return!1;const r=n.data;if(null==r)return!1;n.preventDefault();const{from:s,to:o}=e.state.selection;return e.dispatch(e.state.tr.insertText(r.replace(/\r\n?/g,"\n"),s,o).scrollIntoView()),!0}},dispatchTransaction(e){const t=i.state.apply(e);i.updateState(t);const n=ie(t.doc);V(n),n?i.dom.classList.add("md-source-mode"):i.dom.classList.remove("md-source-mode"),n!==ie(e.before)&&l.current?.(n),e.docChanged&&o.current?.(n?t.doc.textContent:T(t.doc)),(e.selectionSet||e.docChanged)&&a.current?.()},attributes:{class:"md-wysiwyg-content",spellcheck:"false"}});if(s.current=i,e.initial_source_mode&&!ie(i.state.doc)){const e=T(i.state.doc),t=i.state.schema.nodes.code_block.create({language:"markdown"},e?i.state.schema.text(e):null),n=i.state.tr;n.replaceWith(0,i.state.doc.content.size,t),n.setMeta("addToHistory",!1),i.dispatch(n)}const u={get_markdown:()=>ie(i.state.doc)?i.state.doc.textContent:T(i.state.doc),set_markdown:e=>{const t=D(e);i.dispatch(i.state.tr.replaceWith(0,i.state.doc.content.size,t.content))},focus:()=>i.focus(),get_view:()=>s.current,in_table:()=>function(e){const{$from:t}=e.selection;for(let e=t.depth;e>0;e--){if("table"===t.node(e).type.name)return!0}return!1}(i.state),active_marks:()=>(i.state.storedMarks??i.state.selection.$from.marks()).map(e=>e.type.name),active_block:()=>{const{$from:e}=i.state.selection;for(let t=e.depth;t>0;t--){const n=e.node(t);if("heading"===n.type.name)return{name:"heading",level:n.attrs.level};if("paragraph"===n.type.name)return{name:"paragraph"}}return{name:"paragraph"}},insert_table:(e=3,t=3)=>{const n=function(e,t,n){const r=(0,$.e)(e),s=r.table,o=r.row,c=r.cell,a=r.header_cell??r.cell;if(!s||!o||!c)return null;const l=e=>o.create(null,Array.from({length:t},()=>e.createAndFill())),i=l(a),u=Array.from({length:n},()=>l(c));return s.create(null,[i,...u])}(i.state.schema,e,t);if(!n)return;const{from:r}=i.state.selection,s=i.state.doc.resolve(r);let o=r;for(let e=s.depth;e>0;e--)if("table"===s.node(e).type.name){o=s.after(e);break}const c=i.state.tr;o===r?c.replaceSelectionWith(n):c.insert(o,n),i.dispatch(c.scrollIntoView());const a=i.state.doc.resolve(Math.min(o+3,i.state.doc.content.size));try{i.dispatch(i.state.tr.setSelection(i.state.selection.constructor.near(a)))}catch{}},get_headings:()=>function(e){const t=[];return e.doc.descendants((e,n)=>("heading"!==e.type.name||t.push({level:e.attrs.level,text:e.textContent,pos:n}),!0)),t}(i.state),scroll_to_pos:e=>{const t=i.state.doc.content.size,n=Math.max(0,Math.min(e,t)),r=i.state.doc.nodeAt(n);let s;try{s=r?_.U3.near(i.state.doc.resolve(n+1),1):_.U3.near(i.state.doc.resolve(n),1)}catch{s=_.U3.near(i.state.doc.resolve(0),1)}i.dispatch(i.state.tr.setSelection(s).scrollIntoView()),i.focus()},is_source_mode:()=>ie(i.state.doc),enter_source_mode:()=>{if(ie(i.state.doc))return;const e=T(i.state.doc),t=i.state.schema.nodes.code_block.create({language:"markdown"},e?i.state.schema.text(e):null),n=i.state.tr;n.replaceWith(0,i.state.doc.content.size,t),V(!0),i.dispatch(n),i.dom.classList.add("md-source-mode")},exit_source_mode:()=>{if(!ie(i.state.doc))return;const e=D(i.state.doc.textContent),t=i.state.tr;t.replaceWith(0,i.state.doc.content.size,e.content),V(!1),i.dispatch(t),i.dom.classList.remove("md-source-mode")}};return"function"==typeof t?t(u):t&&(t.current=u),e.on_ready?.(u),()=>{i.destroy(),s.current=null}},[]),(0,P.jsx)("div",{className:"md-wysiwyg",ref:n})});function de(e){const{t}=(0,g.B)(),n=(0,r.useRef)(null),[s,o]=(0,r.useState)({marks:[],block:{name:"paragraph"}}),[c,a]=(0,r.useState)(null),l=(0,r.useCallback)(()=>{const t=e.get_view();if(!t)return;const n=t.state.selection,r=t.state.storedMarks??n.$from.marks();if(o({marks:r.map(e=>e.type.name),block:me(n.$from)}),n.empty)return void a(null);const s=t.coordsAtPos(n.from),c=t.coordsAtPos(n.to),l=(Math.min(s.left,c.left)+Math.max(s.right,c.right))/2,i=Math.min(s.top,c.top),u=Math.max(s.bottom,c.bottom);a({top:i,bottom:u,left:l})},[e.get_view]);(0,r.useEffect)(()=>{l();const t=e.get_view();if(!t)return;const n=()=>l();t.dom.addEventListener("keyup",n),t.dom.addEventListener("mouseup",n),document.addEventListener("selectionchange",n);const r=t.dom.closest(".md-editor-context");return r?.addEventListener("scroll",n,{passive:!0}),window.addEventListener("resize",n),()=>{t.dom.removeEventListener("keyup",n),t.dom.removeEventListener("mouseup",n),document.removeEventListener("selectionchange",n),r?.removeEventListener("scroll",n),window.removeEventListener("resize",n)}},[l,e.get_view,e.refresh_key]);const i=t=>{const n=e.get_view();n&&(t(n.state,n.dispatch),n.focus(),l())},u=e=>s.marks.includes(e),d=e=>"heading"===s.block.name&&s.block.level===e,[m,h]=(0,r.useState)({w:0,h:36});if((0,r.useLayoutEffect)(()=>{if(!c||!n.current)return;const e=n.current.offsetWidth,t=n.current.offsetHeight;h(n=>n.w===e&&n.h===t?n:{w:e,h:t})},[c,e.refresh_key]),!c)return null;const f=(e,n,r,s,o=!1)=>(0,P.jsx)("button",{className:"mdtb__btn"+(o?" mdtb__btn--on":""),title:t(r),onMouseDown:e=>e.preventDefault(),onClick:s,children:n},e),p=m.w/2,_=p+4,v=Math.max(_,window.innerWidth-p-4),y=document.querySelector(".header")?.getBoundingClientRect().bottom??0,k=c.top-m.h-8,w=k<y+4,b={top:w?Math.min(c.bottom+8,window.innerHeight-m.h-4):k,left:Math.min(v,Math.max(_,c.left))};return(0,P.jsxs)("div",{className:"mdtb mdtb--floating"+(w?" mdtb--below":""),ref:n,style:b,children:[f("h1","H1","一级标题",()=>i(te("heading",{level:1})),d(1)),f("h2","H2","二级标题",()=>i(te("heading",{level:2})),d(2)),f("h3","H3","三级标题",()=>i(te("heading",{level:3})),d(3)),(0,P.jsx)("span",{className:"mdtb__sep"}),f("b","B","加粗",()=>i(ee("strong")),u("strong")),f("i","I","斜体",()=>i(ee("em")),u("em")),f("s","S","删除线",()=>i(ee("strike")),u("strike")),f("code","</>","行内代码",()=>i(ee("code")),u("code")),(0,P.jsx)("span",{className:"mdtb__sep"}),f("ul","≔","无序列表",()=>i(ne)),f("ol","1.","有序列表",()=>i(re)),f("quote","❝","引用",()=>i(se))]})}function me(e){for(let t=e.depth;t>0;t--){const n=e.node(t).type.name;if("heading"===n)return{name:"heading",level:e.node(t).attrs.level};if("paragraph"===n)return{name:"paragraph"}}return{name:"paragraph"}}var he=n(75725);const fe="cut",pe="copy",ge="paste",_e="strong",ve="em",ye="strike",ke="code",we="h1",be="h2",xe="h3",$e="paragraph",Me="bullet",Se="ordered",je="quote",Ee="code_block",Ae="clean",Ce="row_before",Oe="row_after",De="row_delete",Ne="col_before",Le="col_after",ze="col_delete",Re="header_toggle",Fe="cell_merge",Ge="cell_split",Te="table_delete",Pe="table_insert",Ie="select_all";function We(e){const{t}=(0,g.B)(),[n,s]=(0,r.useState)(null),o=(0,r.useRef)(e.get_view);o.current=e.get_view,(0,r.useEffect)(()=>{const e=e=>{const t=o.current();if(!t)return;const n=e.target;if(!n||!n.closest(".md-wysiwyg-content"))return;e.preventDefault();const r=t.posAtCoords({left:e.clientX,top:e.clientY});if(r){const e=t.state.selection;if(r.pos<e.from||r.pos>e.to){const{TextSelection:e}=t.state.selection.constructor;try{t.dispatch(t.state.tr.setSelection(e.near(t.state.doc.resolve(r.pos))))}catch{}}}const c=!!n.closest("td, th");s({x:e.clientX,y:e.clientY,in_table:c||(0,$.aH)(t.state)})};return document.addEventListener("contextmenu",e,!0),()=>document.removeEventListener("contextmenu",e,!0)},[]);const c=()=>s(null),a=(0,r.useCallback)(e=>{const t=o.current();t&&(e(t.state,t.dispatch),t.focus(),c())},[]),l=e=>{const t=o.current();t?.focus(),document.execCommand(e),c()};if(!n)return null;const i=n.in_table?[{r:t("上方插入行"),v:Ce},{r:t("下方插入行"),v:Oe},{r:t("左侧插入列"),v:Ne},{r:t("右侧插入列"),v:Le},{r:t("删除行"),v:De},{r:t("删除列"),v:ze},{r:t("切换表头行"),v:Re},{r:t("合并单元格"),v:Fe},{r:t("拆分单元格"),v:Ge},{r:t("删除表格"),v:Te}]:[],u=[{r:t("剪切"),v:fe},{r:t("复制"),v:pe},{r:t("粘贴"),v:ge},{r:t("格式"),v:"format",items:[{r:t("加粗"),v:_e},{r:t("斜体"),v:ve},{r:t("删除线"),v:ye},{r:t("行内代码"),v:ke}]},{r:t("段落"),v:"block",items:[{r:t("一级标题"),v:we},{r:t("二级标题"),v:be},{r:t("三级标题"),v:xe},{r:t("正文"),v:$e}]},{r:t("插入"),v:"insert",items:[{r:t("无序列表"),v:Me},{r:t("有序列表"),v:Se},{r:t("引用"),v:je},{r:t("代码块"),v:Ee},{r:t("插入表格"),v:Pe}]},...i.length?[{r:t("表格"),v:"table",items:i}]:[],{r:t("清除格式"),v:Ae},{r:t("全选"),v:Ie}];return(0,P.jsxs)(P.Fragment,{children:[(0,P.jsx)(he.rY,{click:c}),(0,P.jsx)(he.Pu,{x:n.x,y:n.y,items:u,click:t=>{switch(t){case fe:return l("cut");case pe:return l("copy");case ge:return l("paste");case _e:return a(ee("strong"));case ve:return a(ee("em"));case ye:return a(ee("strike"));case ke:return a(ee("code"));case we:return a(te("heading",{level:1}));case be:return a(te("heading",{level:2}));case xe:return a(te("heading",{level:3}));case $e:return a(te("paragraph"));case Me:return a(ne);case Se:return a(re);case je:return a(se);case Ee:return a(te("code_block"));case Pe:return c(),void e.on_insert_table?.();case Ce:return a($.JD);case Oe:return a($.gC);case Ne:return a($.RC);case Le:return a($.GU);case De:return a($.aR);case ze:return a($.gR);case Re:return a($.uC);case Fe:return a($.w7);case Ge:return a($.L0);case Te:return a($.kG);case Ae:return a((e,t)=>{const{from:n,to:r}=e.selection;let s=e.tr;return e.doc.nodesBetween(n,r,(e,t)=>{if(e.isText)for(const n of e.marks)s=s.removeMark(t,t+e.nodeSize,n.type)}),t?.(s),!0});case Ie:return a((e,t)=>{const{TextSelection:n}=e.selection.constructor;return t?.(e.tr.setSelection(n.create(e.doc,0,e.doc.content.size))),!0})}}})]})}function qe(e){const t=[];if(!e)return t;const n=e.split(/(\n)/);let r=null,s=0;for(let e=0;e<n.length;e+=2){const o=n[e],c=s;s+=o.length+(n[e+1]?.length??0);const a=o.endsWith("\r")?o.slice(0,-1):o,l=a.trimStart(),i=/^(`{3,}|~{3,})/.exec(l);if(i){const e=i[1][0];null===r?r=e:r===e&&(r=null);continue}if(null!==r)continue;const u=/^ {0,3}(#{1,6})\s+(.*)$/.exec(a);if(!u)continue;const d=u[1].length,m=u[2].replace(/\s+#+\s*$/,"").trim();t.push({level:d,text:m,pos:c})}return t}var Be=n(69918),Ve=n(96763),Ke=n(40505);function Xe(e){const{t}=(0,g.B)(),[n,s]=(0,r.useState)(!1),[a,l]=(0,r.useState)({x:0,y:0}),[u,d]=(0,r.useState)([]),[m]=(0,o.fp)(c.AG.user_base_info);(0,r.useEffect)(()=>{if(!n)return;let e=!1;return(0,Ve.Kz)().then(t=>{e||d(t)}),()=>{e=!0}},[n]);const h=(e,t)=>(0,P.jsx)("div",{style:{...(0,Ke.ok)(t===m?.user_data?.md_editor_theme)},children:e});return(0,P.jsxs)(r.Fragment,{children:[(0,P.jsx)(i.rA,{icon:"palette",title:t("主题"),onClick:e=>{l({x:e.clientX,y:e.clientY}),s(!0)}}),n&&(0,P.jsx)(he.rY,{click:()=>s(!1),children:(0,P.jsx)(he.Pu,{x:a.x,y:a.y,items:[{r:h(t("follow_sys"),""),v:""},...u.map(e=>({r:h(e.id,e.id),v:e.id}))],click:t=>{s(!1),e.on_change(t)}})})]})}var He=n(2543),Ue=n(86090),Je=n(87361);function Ye(){const{t:e}=(0,g.B)(),t=(0,Ue.Zp)(),{check_user_auth:n}=(0,a.MH)(),_=n(l.oV.md_editor_setting),[v,y]=(0,o.fp)(c.AG.md_editor),k=(0,o.fp)(c.AG.md_editor_last_context)[1],w=(0,r.useRef)(null),[b,x]=(0,r.useState)(null),[$,M]=(0,r.useState)(!1),[S,j]=(0,r.useState)(!1),[E,A]=(0,r.useState)(0),C=(0,r.useRef)(null),[O,D]=(0,r.useState)([]),[N,L]=(0,r.useState)(-1),[z,R]=(0,r.useState)(15),[F,G]=(0,r.useState)(!1),T=(0,r.useRef)(null),W=(0,r.useRef)(null),[q,B]=(0,o.fp)(c.AG.md_editor_show_outline),[V,K]=(0,o.fp)(c.AG.md_editor_mode),X=(0,r.useCallback)(()=>{const e="wysiwyg"===V?"source":"wysiwyg",t=C.current;t&&("source"===e?t.enter_source_mode():t.exit_source_mode(),K(e))},[V]),[H]=(0,o.fp)(c.AG.md_editor_setting),[U,J]=(0,o.fp)(c.AG.md_theme_css),[Y]=(0,o.fp)(c.AG.user_base_info),{initUserInfo:Z}=(0,r.useContext)(s.F),Q=(0,r.useRef)(null),ee=(0,r.useRef)(null);(0,r.useEffect)(()=>{ee.current},[Y]),(0,r.useEffect)(()=>{(0,Be.Ce)(Q.current,H)},[H]);(0,r.useEffect)(()=>{(0,Ve.bN)("editor",U,"#md-editor-container .md-editor-sheet")},[U]),(0,r.useEffect)(()=>{const e=()=>{(0,Ve.sO)().then(J)};return window.addEventListener(Ve.o3,e),()=>window.removeEventListener(Ve.o3,e)},[]);const te=(0,r.useRef)([]),ne=(0,r.useCallback)(()=>{const e=C.current;if(!e)return;const t=e.is_source_mode()?qe(e.get_markdown()):e.get_headings();te.current=t,D(t)},[]),re=(0,r.useCallback)(()=>{const e=C.current,t=e?.get_view();if(!e||!t)return;const n=e.is_source_mode()?t.state.selection.from-1:t.state.selection.from;let r=-1;for(const e of te.current){if(!(e.pos<=n))break;r=e.pos}L(r)},[]);(0,r.useEffect)(()=>{let t=!1;if(v?.url)return j(!1),M(!0),f.l.get(v.url).then(e=>{if(t)return;x(e??"")}).catch(()=>{t||((0,d.zN)(e("打开失败")),x(""))}).finally(()=>{t||M(!1)}),()=>{t=!0};x(null)},[v?.url]),(0,r.useEffect)(()=>{const e=()=>A(e=>e+1);return document.addEventListener("selectionchange",e),()=>document.removeEventListener("selectionchange",e)},[]);const se=(0,r.useRef)(X);se.current=X,(0,r.useEffect)(()=>{const e=e=>{(e.ctrlKey||e.metaKey)&&"/"===e.key&&(e.preventDefault(),e.stopPropagation(),se.current())};return document.addEventListener("keydown",e,!0),()=>document.removeEventListener("keydown",e,!0)},[]),(0,r.useEffect)(()=>{ne(),re()},[E,V,ne,re]);const oe=(0,r.useCallback)(He.throttle(e=>{if(!T.current||!W.current)return;const t=parseFloat(getComputedStyle(T.current).fontSize),n=e.clientX/t,r=window.innerWidth/t-4,s=2.25+W.current.offsetWidth/t;n<=r&&n>=s&&R(parseFloat(n.toFixed(2)))},32),[]),ce=()=>{G(!1),T.current?.removeEventListener("pointermove",oe)},ae=async()=>{if(!v?.name||!v?.path)return;const t=C.current?.get_markdown();if(void 0===t)return;const n=v.path.slice(0,v.path.length-v.name.length),r=`${encodeURIComponent(n)}${v.name}`;(await h.$M.post(`save/${r}`,{context:t})).code===m.m.Success?(j(!1),(0,d.SK)(e("保存成功"))):(0,d.zN)(e("保存失败"))},le=(0,r.useRef)(ae);le.current=ae;const ie=()=>{y({}),j(!1),x(null),C.current=null,v?.close?.()},me=(0,r.useMemo)(()=>v?.url??"md_editor",[v?.url]);return v?.name?(0,P.jsxs)("div",{id:"md-editor-container",ref:Q,children:[(0,P.jsx)(u.A,{ignore_tags:!0,left_children:[(0,P.jsx)(i.rA,{title:e("关闭"),icon:"close",onClick:ie},1),(0,P.jsx)("div",{className:"md-editor-title",children:v.name},3),...S?[(0,P.jsx)(i.rA,{title:e("保存"),icon:"save",onClick:ae},2)]:[],(0,P.jsx)(i.rA,{title:e("大纲"),icon:"list",onClick:()=>B(e=>!e),selected:q},4),(0,P.jsx)(i.rA,{title:e("wysiwyg"===V?"源码模式":"实时编辑模式"),icon:"wysiwyg"===V?"code":"edit",onClick:X},5),(0,P.jsx)(Xe,{on_change:async t=>{const n=await h.wm.post(p.s.user_save_private_attr,{is_md_theme:!0,md_editor_theme:t});n?.code===m.m.Success?(ee.current=t,await Z(),(0,d.SK)(e("保存成功"))):(0,d.zN)(e("保存失败"))}},8),(0,P.jsx)(i.rA,{title:e("导出PDF"),icon:"print",onClick:()=>{window.print()}},7),..._?[(0,P.jsx)(i.rA,{title:e("编辑器设置"),icon:"settings",onClick:()=>{ie(),t(Je.o.md_editor_setting_page)}},6)]:[]]}),(0,P.jsxs)("div",{className:"md-editor-context",ref:T,children:[$&&(0,P.jsxs)("div",{className:"common-box common-box-center",children:[e("加载中"),"..."]}),!$&&null!==b&&(0,P.jsxs)(r.Fragment,{children:[q&&(0,P.jsx)("div",{className:"md-outline-panel",style:{width:`${z}em`},children:(0,P.jsx)(I,{items:O,active_pos:N,on_click:e=>{const t=C.current;t&&(t.scroll_to_pos(t.is_source_mode()?e.pos+1:e.pos),L(e.pos))}})}),q&&(0,P.jsx)("div",{className:"md-editor-divider",ref:W,onPointerDown:()=>{G(!0),T.current?.addEventListener("pointermove",oe)},onPointerUp:ce}),F&&(0,P.jsx)("div",{className:"md-editor-drag-overlay",onPointerUp:ce}),(0,P.jsx)("div",{className:"md-editor-scroll",children:(0,P.jsxs)("div",{className:"md-editor-sheet",children:["wysiwyg"===V&&(0,P.jsx)(de,{get_view:()=>C.current?.get_view()??null,refresh_key:E}),(0,P.jsx)(ue,{value:b,ref:C,initial_source_mode:"source"===V,on_ready:e=>{const t=e.is_source_mode()?qe(e.get_markdown()):e.get_headings();te.current=t,D(t),L(-1)},on_change:()=>{S||j(!0),w.current&&clearTimeout(w.current),w.current=setTimeout(()=>{const e=C.current?.get_markdown()??"";e&&k(e)},800)},on_save:()=>le.current(),on_selection_change:()=>A(e=>e+1),on_source_mode_change:e=>{K(e?"source":"wysiwyg"),A(e=>e+1)}},me),"wysiwyg"===V&&(0,P.jsx)(We,{get_view:()=>C.current?.get_view()??null,on_insert_table:()=>{C.current?.insert_table(3,3),j(!0)}})]})})]})]})]}):null}},69918(e,t,n){n.d(t,{Ce:()=>l,FG:()=>r.FG,fy:()=>a,gC:()=>c});var r=n(18840),s=n(14284),o=n(53459);async function c(){try{const e=await s.XO.get("md_editor_setting/get");return{...r.FG,...e?.data??{}}}catch(e){return{...r.FG}}}async function a(e){const t=await s.XO.post("md_editor_setting/save",e);return t?.code!==o.m.Success?null:{...r.FG,...t.data??e}}function l(e,t){e&&(e.style.setProperty("--md-editor-max-width",t.content_max_width),e.style.setProperty("--md-editor-padding",t.content_padding),e.style.setProperty("--md-editor-font-size",t.font_size),e.style.setProperty("--md-editor-line-height",t.line_height))}},96763(e,t,n){n.d(t,{Kz:()=>c,P7:()=>i,_8:()=>m,_D:()=>d,bN:()=>o,sO:()=>u});var r=n(14284),s=n(53459);function o(e,t,n){const r="md-theme-style-"+e,s=document.getElementById(r);if(!t)return void s?.remove();let o=s;o||(o=document.createElement("style"),o.id=r,document.head.appendChild(o)),o.textContent=function(e,t){let n=String(e??"");return n=n.replace(/\/\*[\s\S]*?\*\//g,""),n=n.replace(/^\s*@include-when-export[^;]*;?/gim,""),n=n.replace(/^\s*@import[^;]*;?/gim,""),n.replace(/(^|})\s*([^{}@]+?)\s*\{/g,(e,n,r)=>`${n}\n${String(r).split(",").map(e=>e.trim()).filter(Boolean).map(e=>"#write"===e||"html"===e||"body"===e||":root"===e||"content"===e?t:e.startsWith("#write")?t+e.slice(6):/^(html|body)\b/.test(e)?t+e.replace(/^(html|body)/,""):`${t} ${e}`).join(", ")} {`)}(t,n)}async function c(){try{const e=await r.XO.get("md_theme/list");return e?.code===s.m.Success?e.data??[]:[]}catch(e){return[]}}const a="md-theme-change";function l(){window.dispatchEvent(new Event(a))}async function i(e){try{const t=await r.XO.get(`md_theme/get?id=${encodeURIComponent(e)}`);return t?.code===s.m.Success?t.data??"":""}catch(e){return""}}async function u(){try{const e=await r.XO.get("md_theme/active");return e?.code===s.m.Success?e.data??"":""}catch(e){return""}}async function d(e){const t=await r.XO.post("md_theme/save",e);return t?.code!==s.m.Success?null:(l(),t.data)}async function m(e){const t=await r.XO.post("md_theme/del",{id:e});return t?.code===s.m.Success&&(l(),!0)}n.d(t,["o3",0,a])}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkfilecat=self.webpackChunkfilecat||[]).push([[8765],{60096(e,i,t){t.d(i,{QW:()=>z,Ic:()=>b,t$:()=>F,$J:()=>$});var n=t(96540),s=t(47022),l=t(34843),o=t(82893),a=t(86090),r=t(64694),d=t(14284),c=t(34289),m=t(23430),f=t(62042),h=t(99214),p=t(85997),u=t(86149),_=t(74848);function x(e){const[i,t]=(0,l.fp)(o.AG.selectedFileList),[n,a]=(0,l.fp)(o.AG.nowFileList),[c,x]=(0,l.fp)(o.AG.confirm),[g,y]=(0,l.fp)(o.AG.user_base_info),{t:w}=(0,u.B)();return(0,_.jsxs)("div",{...e.extraAttr,onClick:()=>{!async function(i){e.click&&e.click(i,e.name)}(e.index)},className:e.mount?"item mount-item":"item",role:"button","data-type":e.isLink?"invalid_link":e.type,"data-dir":!e.type||e.type===s.Iw.folder,"data-mount":e.mount?"true":void 0,"aria-selected":null!==(0,r.kW)(i,e.index),"aria-label":e.name,style:{"--filewidth":e.itemWidth??"33%"},onDragStart:n=>{return s=e.index,void(i.find(e=>e===s)||t([...i,s]));var s},onDrop:t=>((t,l)=>{const o=t.dataTransfer;let a,r=!1;for(let e=0;e<o.items.length;e++)if("file"===o.items[e].kind){r=!0;break}if(r)return;if(g?.user_data?.file_list_pagination_mode===m.yM.pagination){if(a=n.files[l],n.files[l]?.type!==s.Iw.folder)return}else if(a=n.folders[l],n.folders.length<=l)return;(0,h.ib)(n,i).some(e=>e?.name===a?.name)?(0,f.zN)(w("mv_self")):x({open:!0,title:`确定将文件移动并覆盖到${a?.name}吗?`,handle:async()=>{await e.draggable_handle(a?.name)}})})(t,e.index),draggable:void 0!==e.draggable_handle,children:[void 0===e.icon&&(0,_.jsx)("div",{children:e.type!==s.Iw.image||null==e.path||g?.user_data?.not_pre_show_image?(0,_.jsx)(p.In,{icon:""}):(0,_.jsx)("img",{loading:"lazy",src:d.$M.getDownloadUrl(e.path,{mtime:e.mtime,cache:1}),alt:e.name})}),void 0!==e.icon&&(0,_.jsx)("div",{className:"rotating-div",children:(0,_.jsx)("span",{className:"material-icons",children:e.icon})}),(0,_.jsxs)("div",{children:[(0,_.jsxs)("p",{className:"name",children:[(0,_.jsx)("span",{children:e.name}),e.mount_readonly&&(0,_.jsx)("span",{className:"mount-readonly-tag",children:w("只读")})]}),e.size?(0,_.jsx)("p",{children:e.size}):(0,_.jsx)("p",{children:"—"}),(0,_.jsx)("p",{children:e.show_mtime})]}),e.children]})}var g=t(83529),y=t(34251);function w(e){const[i,t]=(0,l.fp)(o.AG.selectedFileList),[n,m]=(0,l.fp)(o.AG.nowFileList),[f,p]=(0,l.fp)(o.AG.confirm),[w,k]=(0,l.fp)(o.AG.file_page),[v,j]=(0,l.fp)(o.AG.enterKey),{click_file:A}=(0,h.kZ)(),{t:G}=(0,u.B)(),z=(0,a.Zp)();(0,a.zy)();const b=(0,h.A9)(),{clickDouble:F}=(0,h.xI)(),[$,C]=(0,l.fp)(o.AG.showPrompt);return(0,_.jsx)(x,{extraAttr:{onContextMenu:t=>{((t,n,l,o)=>{t.preventDefault(),t.stopPropagation();const a=new y.ik;a.path=(0,r.IO)((0,c.vX)(),n),a.filename=n,a.x=t.clientX,a.y=t.clientY,a.type=l?s.Iw.folder:(0,y.uL)(n),a.size=o,a.useSelectedList=i.includes(e.index),C({show:!0,type:g.PromptEnum.FileMenu,overlay:!1,data:a})})(t,e.name,e.type===s.Iw.folder,e.origin_size)}},draggable_handle:async e=>{const s=(0,h.ib)(n,i).map(e=>(0,h.Ok)(e.name));await d.$M.post("cut",{files:s,to:`${(0,c.GG)("file",(0,c.vX)())}/${e}`});t([]),p({open:!1,handle:null}),z((0,c.vX)())},name:e.name,index:e.index,mtime:e.mtime,size:e.size,type:e.type,isLink:e.isLink,path:e.path,icon:e.icon,show_mtime:e.show_mtime,mount:e.mount,mount_driver:e.mount_driver,mount_color:e.mount_color,mount_readonly:e.mount_readonly,click:(n,l)=>{if(F(n,()=>{e.type===s.Iw.folder?b(l):A({name:l,size:e.origin_size,opt_shell:!0,mtime:e.mtime})}))return;if(null!==(0,r.kW)(i,n))t((0,r.P1)(i,n));else if("ctrl"===v)t([...i,n]);else if("shift"===v){const{max:e,min:s}=(0,r.a7)(i),l=[];if(n>=e)for(let i=e;i<=n;i++)l.push(i);else for(let e=s;e>=n;e--)l.push(e);t(l)}else t([n])},itemWidth:e.itemWidth})}var k=t(78247),v=(t(38240),t(64405)),j=t(88815);function A(e){const[i,t]=(0,l.fp)(o.AG.selectedFileList),[n,m]=(0,l.fp)(o.AG.editorSetting),[p,g]=(0,l.fp)(o.AG.shellNowDir),[y,w]=(0,l.fp)(o.AG.sshInfo),[A,G]=(0,l.fp)(o.AG.nowFileList),[z,b]=(0,l.fp)(o.AG.enterKey),[F,$]=(0,l.fp)(o.AG.confirm),C=(0,a.Zp)(),{t:I}=(0,u.B)(),{clickDouble:W}=(0,h.xI)();return(0,_.jsx)(x,{draggable_handle:async n=>{const s=new v.x;Object.assign(s,y),s.target=(0,r.HS)(...p,n);const l=(0,h.ib)(A,i).map(e=>(0,r.HS)(...p,e.name));for(const e of l)if(s.source=e,!await d.Fg.post("move",s))return!1;t([]),$({open:!1,handle:null}),await e.fileHandler()},name:e.name,index:e.index,mtime:e.mtime,size:e.size,type:e.type,itemWidth:e.itemWidth,show_mtime:e.show_mtime,click:(n,l)=>{if(W(n,()=>{if(e.type===s.Iw.folder){const e=new v.x;return e.key=y.key,e.dir=`/${(0,c.GG)("remoteShell",(0,c.vX)())}${l}`,C((0,r.IO)((0,c.vX)(),l)),t([]),void G({files:[],folders:[]})}const i=async()=>{const i=new v.x;i.key=y.key,i.file=`/${(0,c.GG)("remoteShell",(0,c.vX)())}${l}`;const t=await d.Fg.post("get/file/text",i);let n;l.endsWith(s.Iw.workflow_act)?n="ace/mode/yaml":(l.endsWith(s.Iw.draw)||l.endsWith(s.Iw.excalidraw))&&(n="ace/mode/json"),m({model:n,open:!0,fileName:e.name,save:async e=>{i.context=e;0===(await d.Fg.post("update/file/text",i)).code&&(k.xK.set_value_temp(""),(0,f.SK)("success"))}}),k.xK.set_value_temp(t.data)};"number"==typeof e.origin_size&&e.origin_size>j.o5?$({open:!0,title:I("提示"),sub_title:"文件超过20MB了确定要打开吗?",handle:async()=>{$({open:!1,handle:null}),await i()}}):i()}))return;if(null!==(0,r.kW)(i,n))t((0,r.P1)(i,n));else if("ctrl"===z)t([...i,n]);else if("shift"===z){const{max:e,min:s}=(0,r.a7)(i),l=[];if(n>=e)for(let i=e;i<=n;i++)l.push(i);else for(let e=s;e>=n;e--)l.push(e);t(l)}else t([n])}})}function G(e){const[i,t]=(0,l.fp)(o.AG.selectedFileList),[n,a]=(0,l.fp)(o.AG.enterKey),{click_file:c}=(0,h.kZ)(),[m,f]=(0,l.fp)(o.AG.nowFileList),{t:p}=(0,u.B)(),[w,k]=(0,l.fp)(o.AG.showPrompt),v=((0,h.oT)(),(0,h.xp)()),{clickDouble:j}=(0,h.xI)();return(0,_.jsx)(x,{extraAttr:{onContextMenu:i=>{((i,t,n,l)=>{i.preventDefault(),i.stopPropagation();const o=new y.ik,a=e.item_list;for(const e of a)if(e.name===t){o.path=e.path;break}o.is_share=!0,o.filename=t,o.x=i.clientX,o.y=i.clientY,o.type=n?s.Iw.folder:(0,y.uL)(t),o.size=l,o.share_token=e.share.share_token,o.share_id=e.share.share_id,k({show:!0,type:g.PromptEnum.FileMenu,overlay:!1,data:o})})(i,e.name,e.type===s.Iw.folder,e.origin_size)}},name:e.name,index:e.index,mtime:e.mtime,size:e.size,type:e.type,itemWidth:e.itemWidth,show_mtime:e.show_mtime,click:(l,o)=>{if(j(l,()=>{e.type!==s.Iw.folder&&(v(o)||c({file_path:e.item_list[l].path,file_url:d.$M.getDownloadUrlV2(e.item_list[l].path,"share_download",{share_id:e.share.share_id,share_token:e.share.share_token}),name:o,size:e.origin_size,opt_shell:!0,mtime:e.mtime,not_type_tip:p("未知类型,请下载查看")}))}))return;if(null!==(0,r.kW)(i,l))t((0,r.P1)(i,l));else if("ctrl"===n)t([...i,l]);else if("shift"===n){const{max:e,min:n}=(0,r.a7)(i),s=[];if(l>=e)for(let i=e;i<=l;i++)s.push(i);else for(let e=n;e>=l;e--)s.push(e);t(s)}else t([l])}})}function z({handleContextMenu:e,file_list:i,clickBlank:t,share:s}){const[a,r]=(0,l.fp)(o.AG.user_base_info),d=(0,n.useRef)(null),{t:c}=(0,u.B)(),m=(0,h.OJ)(),{file_is_running:f}=(0,k.hg)();return(0,h.UK)(i,[],d),(0,_.jsx)("div",{onContextMenu:e,id:"listing",style:{paddingBottom:"10rem"},className:`mosaic file-icons ${a?.user_data?.file_list_show_type??""}`,ref:d,children:(0,_.jsx)("div",{onClick:t,children:i.map((e,t)=>(0,_.jsx)(n.Fragment,{children:(0,_.jsx)(G,{share:s,item_list:i,icon:f(e.name)?"refresh":void 0,itemWidth:m,index:t+0,...e})},t+0))})})}function b({handleContextMenu:e,file_list:i,folder_list:t,clickBlank:s,fileHandler:a}){const[r,d]=(0,l.fp)(o.AG.user_base_info),c=(0,n.useRef)(null),{t:m}=(0,u.B)(),f=(0,h.OJ)(),{file_is_running:p}=(0,k.hg)(),[x,y]=(0,l.fp)(o.AG.fileShellShow),w=(0,n.useMemo)(()=>t?.length??0,[t]);return(0,h.ei)(c,g.PromptEnum.SshUpload),(0,h.UK)(i,t,c),(0,n.useEffect)(()=>()=>{x.show&&y({show:!1,path:""})},[]),(0,_.jsxs)("div",{onContextMenu:e,id:"listing",style:{paddingBottom:"10rem"},className:`mosaic file-icons ${r?.user_data?.file_list_show_type??""}`,ref:c,children:[t&&t.length>0&&(0,_.jsx)("h2",{children:m("文件夹")}),t&&(0,_.jsx)("div",{onClick:s,children:t.map((e,i)=>(0,_.jsx)(n.Fragment,{children:(0,_.jsx)(A,{fileHandler:a,itemWidth:f,index:i,...e})},i))}),i&&i.length>0&&(0,_.jsx)("h2",{onClick:s,children:m("文件")}),i&&(0,_.jsx)("div",{onClick:s,children:i.map((e,i)=>(0,_.jsx)(n.Fragment,{children:(0,_.jsx)(A,{fileHandler:a,icon:p(e.name)?"refresh":void 0,itemWidth:f,index:i+w,...e})},i+w))})]})}function F({handleContextMenu:e,file_list:i,folder_list:t,clickBlank:s}){const[a,r]=(0,l.fp)(o.AG.user_base_info),d=(0,n.useRef)(null),{t:c}=(0,u.B)(),[m]=(0,l.fp)(o.AG.zoom_style_by_percent),f=(0,h.OJ)(),{file_is_running:p}=(0,k.hg)(),[x,y]=(0,l.fp)(o.AG.fileShellShow),v=(0,n.useMemo)(()=>t?.length??0,[t]),j=(0,h.pi)(m);return(0,h.ei)(d,g.PromptEnum.FilesUpload),(0,h.UK)(i,t,d),(0,n.useEffect)(()=>()=>{x.show&&y({show:!1,path:""})},[]),(0,_.jsxs)("div",{onContextMenu:e,id:"listing",style:{paddingBottom:"10rem",fontSize:j.fontSize},className:`mosaic file-icons ${a?.user_data?.file_list_show_type??""}`,ref:d,children:[t&&t.length>0&&(0,_.jsx)("h2",{children:c("文件夹")}),t&&(0,_.jsx)("div",{onClick:s,children:t.map((e,i)=>(0,_.jsx)(n.Fragment,{children:(0,_.jsx)(w,{itemWidth:f,index:i,...e})},i))}),i&&i.length>0&&(0,_.jsx)("h2",{onClick:s,children:c("文件")}),i&&(0,_.jsx)("div",{onClick:s,children:i.map((e,i)=>(0,_.jsx)(n.Fragment,{children:(0,_.jsx)(w,{icon:p(e.name)?"refresh":void 0,itemWidth:f,index:i+v,...e})},i+v))})]})}function $({handleContextMenu:e,list:i,clickBlank:t}){const[s,a]=(0,l.fp)(o.AG.user_base_info),r=(0,n.useRef)(null),{t:d}=(0,u.B)(),[c]=(0,l.fp)(o.AG.zoom_style_by_percent),m=(0,h.OJ)(),{file_is_running:f}=(0,k.hg)(),[p,x]=(0,l.fp)(o.AG.fileShellShow),[y,v]=(0,l.fp)(o.AG.enterKey),[j,A]=(0,l.fp)(o.AG.selectedFileList),[G,z]=(0,l.fp)(o.AG.file_page),b=(0,h.pi)(c);return(0,h.UK)(i,[],r),(0,h.ei)(r,g.PromptEnum.FilesUpload),(0,h.SQ)(r,()=>{z(e=>e.page_num<0?e:{page_size:e.page_size,page_num:e.page_num+1})},()=>{}),(0,n.useEffect)(()=>()=>{p.show&&x({show:!1,path:""})},[]),(0,_.jsx)("div",{onContextMenu:e,id:"listing",style:{paddingBottom:"10rem",fontSize:b.fontSize},className:`mosaic file-icons ${s?.user_data?.file_list_show_type??""}`,ref:r,children:i&&(0,_.jsx)("div",{onClick:t,children:i.map((e,i)=>(0,_.jsx)(n.Fragment,{children:(0,_.jsx)(w,{icon:f(e.name)?"refresh":void 0,itemWidth:m,index:i,...e})},i))})})}},6960(e,i,t){t.d(i,{s:()=>o});var n=t(72635);const s=1440,l=525600;function o(e){e=e>1e12?e:1e3*e;const i=Date.now(),t=Math.abs(i-e)/6e4;return t<1?n.Ay.t("小于一分钟"):t<60?`${t.toFixed(0)} ${n.Ay.t("分钟前")}`:t<s?`${(t/60).toFixed(0)} ${n.Ay.t("小时前")}`:t<43200?`${(t/s).toFixed(0)} ${n.Ay.t("天前")}`:t<l?`${(t/43200).toFixed(0)} ${n.Ay.t("月前")}`:`${(t/l).toFixed(0)} ${n.Ay.t("年前")}`}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkfilecat=self.webpackChunkfilecat||[]).push([[9299],{47374(e,t,i){i.d(t,{e:()=>f});var n=i(96540),s=i(86090),o=i(64694),a=i(34289),l=i(61443),r=i(75725),c=i(86149),d=i(85997),_=i(74848);function f(e){let t=(0,s.zy)();const[i,f]=(0,n.useState)([]),[p,h]=(0,n.useState)("/"),[u,m]=(0,n.useState)(void 0),{t:w,i18n:v}=(0,c.B)();n.useEffect(()=>{let t="",i=(0,a.vX)().split("/");i=i.filter(e=>e);const n=i.indexOf(e.baseRoute),s=[];if(-1!=n){t=(0,o.IO)(i.slice(0,n),e.baseRoute);const a=i.slice(n+1);for(let e=0;e<a.length;e++){const i=a[e];s.push({value:i,href:0===e?`${t}${i}/`:(0,o.IO)(s[e-1].href,i)})}h(t),f(s)}},[t]);const x=t=>{t.stopPropagation(),e.clickFun(t)};return(0,_.jsx)("div",{className:"breadcrumbs",onClick:e=>{m(void 0!==u?void 0:"")},children:(0,_.jsx)(n.Fragment,{children:void 0===u?(0,_.jsxs)(n.Fragment,{children:[(0,_.jsx)("span",{className:"chevron",children:(0,_.jsx)(s.N_,{to:p,onClick:x,children:(0,_.jsx)(d.In,{icon:"home"})})}),i.map((e,t)=>(0,_.jsxs)("span",{className:"chevron",children:[(0,_.jsx)(d.In,{icon:"keyboard_arrow_right"}),(0,_.jsx)(s.N_,{to:e.href,onClick:x,children:decodeURIComponent(e.value)})]},t))]}):(0,_.jsx)(r.QM,{click:()=>{m(void 0)},children:(0,_.jsx)(l.Sm,{width:"100%",placeholder:w("输入跳转的目录"),handlerEnter:t=>{e.input_path_enter&&e.input_path_enter(t),m(void 0)}})})})})}},77481(e,t,i){i.d(t,{S:()=>l,X:()=>a});var n=i(96540),s=i(61443),o=i(74848);function a(e){const[t,i]=n.useState([]),a=(0,n.useRef)(-1),[l,r]=(0,n.useState)(-1),[c,d]=(0,n.useState)(-1);(0,n.useEffect)(()=>{e.children?i(Array.isArray(e.children)?e.children:[e.children]):i(e.rows)},[e.rows,e.children]);const _=()=>{a.current=-1,r(-1),d(-1)};return(0,o.jsxs)("table",{children:[(0,o.jsx)("thead",{children:(0,o.jsx)("tr",{children:e.headers?.map((t,i)=>{const n=!!e.filter&&(e.filter.column??0)===i;let a=t;if(n){const i=e.filter,n=i.options.find(e=>e.value===i.value);null!=i.value&&n&&(a=`${t} (${n.label})`)}return(0,o.jsx)("th",{className:n?"table-filter-col":"",children:n?(0,o.jsx)(s.l6,{value:e.filter.value,options:e.filter.options,onChange:e.filter.onChange,bare:!0,trigger_label:a}):t},i)})})}),(0,o.jsx)("tbody",{children:t.map((t,i)=>{const n=!!e.onRowDrag;return(0,o.jsx)("tr",{className:n?(l===i?"row-dragging":"")+(c===i?" row-drop-target":""):"",draggable:n,onContextMenu:()=>{e.handleContextMenu&&e.handleContextMenu(t)},onDragStart:e=>{n&&(a.current=i,r(i),e.dataTransfer.effectAllowed="move")},onDragOver:e=>{!n||a.current<0||(e.preventDefault(),e.dataTransfer.dropEffect="move",d(i))},onDrop:t=>{n&&(t.preventDefault(),(()=>{const t=a.current,i=c;_(),t<0||i<0||t===i||e.onRowDrag?.(t,i)})())},onDragEnd:_,children:t.map((i,n)=>{const s=n===t.length-1?"small":"";return(0,o.jsx)("td",{className:s,style:{width:e.width??"auto"},children:i},n)})},i)})})]})}function l(e){return(0,o.jsx)("div",{style:{display:e.isFlex?"flex":"block"},children:e.columns.map((e,t)=>(0,o.jsx)("div",{children:e},t))})}},19299(e,t,i){i.r(t),i.d(t,{default:()=>q});var n=i(96540),s=i(47374),o=i(34843),a=i(82893),l=i(14284),r=i(86090),c=i(4412),d=i(83529),_=i(34289),f=i(53459),p=i(99214),h=i(61443),u=i(47022),m=i(62042),w=i(86149),v=i(7523),x=i(78247),g=i(88815),y=i(6960),j=i(47071),k=i(14944),G=i(92275),A=i(23430);var b=i(34251),C=i(60096),z=i(87361),M=i(76559),S=i(85997),$=i(77481),D=i(70447),P=i(74848);const F=500;function N(e){const{t}=(0,w.B)(),i=(0,r.Zp)(),[,s]=(0,o.fp)(a.AG.prompt_card),[l,c]=(0,n.useState)(""),[d,_]=(0,n.useState)(!1),[f,p]=(0,n.useState)([]),[u,m]=(0,n.useState)(0),[v,x]=(0,n.useState)(!1),g=(0,n.useMemo)(()=>new M.I(window.location.host,"file_deep_search"),[]),y=(0,n.useRef)(!1),j=decodeURIComponent(e.base_path);(0,n.useEffect)(()=>{let e=[],t=null;const i=()=>{if(t=null,y.current||!e.length)return;const i=e;e=[],m(e=>e+i.length),p(e=>e.length>=F?e:[...e,...i].slice(0,F))},n=()=>{y.current||_(!1)};return g.addMsg(G.HK.file_deep_search_data,n=>{y.current||(e.push(...n.context??[]),null===t&&(t=setTimeout(i,100)))}),g.addMsg(G.HK.file_deep_search_end,()=>{y.current||(i(),_(!1))}),g.on_message("close",n),()=>{y.current=!0,clearTimeout(t),g.sendData(G.HK.file_deep_search_cancel,{}).catch(()=>{}),g.off_message("close",n),g.close()}},[]);const k=()=>{const t=l.trim();if(!t||d)return;p([]),m(0),x(!0),_(!0);const i={param_path:e.base_path,keyword:t};g.sendData(G.HK.file_deep_search,i).catch(()=>{})},A=e=>{let t=e.is_dir?e.path:e.path.slice(0,e.path.lastIndexOf("/")+1);t.endsWith("/")||(t+="/"),s({open:!1}),i(z.o.file+t.split("/").map(encodeURIComponent).join("/"))};return(0,P.jsxs)("div",{className:"file-deep-search",children:[(0,P.jsxs)("div",{className:"file-deep-search__bar",children:[(0,P.jsx)(h.$Z,{icon:"search",value:l,placeholder:t("搜文件名"),handleInputChange:e=>c(e),handleEnterPress:k}),(0,P.jsx)("button",{className:"button button--flat",onClick:d?()=>{g.sendData(G.HK.file_deep_search_cancel,{}).catch(()=>{}),_(!1)}:k,children:t(d?"取消":"搜索")})]}),(0,P.jsxs)("div",{className:"file-deep-search__hint",children:[(0,P.jsxs)("span",{children:[t("范围"),":",j]}),u>0&&(0,P.jsx)("span",{className:"file-deep-search__count",children:u>F?`${t("已显示")} 500 / ${u}`:`${u}`})]}),(0,P.jsxs)("div",{className:"file-deep-search__body",children:[f.length>0&&(0,P.jsx)($.X,{headers:[t("名称"),t("路径"),""],rows:f.map(e=>{const i=e.path.slice(0,e.path.lastIndexOf("/")+1);return[e.is_dir?(0,P.jsx)("span",{className:"file-deep-search__dir",children:e.name}):e.name,(0,P.jsx)(D.xP,{context:i}),(0,P.jsx)(S.rA,{icon:"folder_open",title:t("打开所在目录"),onClick:()=>A(e)})]})}),d&&(0,P.jsxs)("div",{className:"file-deep-search__empty",children:[(0,P.jsx)("span",{className:"chat-session-running",title:t("搜索中")}),t("搜索中")]}),!d&&u>F&&(0,P.jsx)("div",{className:"file-deep-search__more",children:t("结果过多")}),!d&&0===f.length&&(0,P.jsx)("div",{className:"file-deep-search__empty",children:t(v?"无匹配":"输入后搜")})]})]})}var I=i(23496),E=i(12730),X=i(75725),K=i(40505);let R={};function H(){const{t:e}=(0,w.B)();let t=(0,r.zy)();const i=(0,r.Zp)(),{check_user_auth:s}=(0,x.MH)(),[c,f]=(0,o.fp)(a.AG.nowFileList),[h,g]=(0,o.fp)(a.AG.uploadFiles),[y,j]=(0,o.fp)(a.AG.showPrompt),[C,M]=(0,o.fp)(a.AG.selectedFileList),[$,F]=(0,o.fp)(a.AG.copyedFileList),[N,I]=(0,o.fp)(a.AG.cutedFileList),[K,H]=(0,o.fp)(a.AG.selectedFileList),[L,Y]=(0,o.fp)(a.AG.clickFileList),[U,Z]=(0,o.fp)(a.AG.fileShellShow),[B]=(0,o.fp)(a.AG.current_mount),[O,W]=(0,o.fp)(a.AG.file_root_list),[T,q]=(0,o.fp)(a.AG.file_root_index),[V,J]=(0,n.useState)(void 0),[Q,ee]=(0,n.useState)(""),[te,ie]=(0,o.fp)(a.AG.workflow_show),[ne,se]=(0,o.fp)(a.AG.workflow_realtime_show),[oe,ae]=(0,o.fp)(a.AG.work_flow_show),{initUserInfo:le}=(0,n.useContext)(v.F),[re,ce]=(0,o.fp)(a.AG.user_base_info),{click_file:de}=(0,p.kZ)(),[_e,fe]=(0,o.fp)(a.AG.prompt_card),pe=(0,n.useMemo)(()=>c.files.reduce((e,t)=>e+(t.type!==u.Iw.folder?1:0),0),[c]),he=(0,n.useMemo)(()=>c.files.reduce((e,t)=>e+(t.type===u.Iw.folder?1:0),0)+(c.folders?.length??0),[c]);function ue(e){(0,m.SK)(e)}(0,n.useEffect)(()=>{R={}},[t]),(0,n.useEffect)(()=>()=>{Z({show:!1,path:""})},[]);const me=(0,p.Vs)(),we=t=>{fe({open:!0,title:e("信息"),context_div:(0,P.jsxs)("div",{style:{maxWidth:"25rem"},children:[(0,P.jsx)(X.Yh,{left:e("挂载位置磁盘"),right:t?.total_size}),(0,P.jsx)(X.Yh,{left:`${e("磁盘剩余")}`,right:t?.left_size}),(0,P.jsx)(X.Yh,{left:`${e("文件系统")}`,right:t?.fs_type}),(0,P.jsx)(X.Yh,{left:`${e("文件夹数")}`,right:he}),(0,P.jsx)(X.Yh,{left:`${e("文件数")}`,right:pe}),(0,P.jsx)(X.Yh,{left:`${e("当前位置")}`,right:(0,P.jsx)(D.xP,{context:t?.now_absolute_path})})]}),cancel:()=>{k.ws.removeMsg(G.HK.file_info)}})};return(0,P.jsxs)(n.Fragment,{children:[C.length>0&&(0,P.jsx)(S.rA,{icon:"delete",title:e("删除"),onClick:()=>{j({show:!0,type:d.PromptEnum.FilesDelete,overlay:!0,data:{}})}}),C.length>0&&(0,P.jsx)(S.rA,{icon:"content_copy",title:e("复制"),onClick:function(){const e=(0,p.ib)(c,C);F(e.map(e=>(0,p.Ok)(e.name))),I([]),ue("已复制")}}),C.length>0&&(0,P.jsx)(S.rA,{icon:"content_cut",title:e("剪切"),onClick:function(){const e=(0,p.ib)(c,C);I(e.map(e=>(0,p.Ok)(e.name))),F([]),ue("已剪切")}}),($.length>0||N.length>0)&&(0,P.jsx)(S.rA,{onClick:function(){j({show:!0,type:d.PromptEnum.Confirm,overlay:!0,data:{}})},icon:"content_paste",title:e("粘贴到此处"),tip:$.length+N.length}),C.length>0&&(0,P.jsx)(S.rA,{icon:"download",title:e("下载"),onClick:function(){const e=(0,p.ib)(c,C);for(let t=0;t<e.length;t++){const i=e[t];e[t]=encodeURIComponent((0,p.Ok)(i.name))}const t=l.$M.getDownloadUrl(e);window.open(t)}}),C.length>0&&(0,P.jsx)(S.rA,{icon:"compress",title:e("压缩"),onClick:function(){const e=(0,p.ib)(c,C);for(let t=0;t<e.length;t++){const i=e[t];e[t]=(0,p.Ok)(i.name)}e&&0!==e.length?j({show:!0,type:d.PromptEnum.Compress,overlay:!0,data:{files:e}}):(0,m.zN)("没有选中")}}),1===C.length&&(0,P.jsx)(S.rA,{icon:"edit_attributes",title:e("重命名"),onClick:function(){j({show:!0,type:d.PromptEnum.FileRename,overlay:!0,data:{}})}}),oe&&(0,P.jsx)(S.rA,{icon:"api",title:"workflow",onClick:()=>{ie(!te)}}),!B&&(0,P.jsx)(S.rA,{icon:"terminal",title:"shell",onClick:function(){U.show?Z({show:!1,path:""}):Z({show:!0,path:(0,_.GG)("file",(0,_.vX)())})}}),s(A.oV.share_file)&&(0,P.jsx)(S.rA,{icon:"share",title:e("文件分享"),onClick:()=>{i(`${z.o.share_list_setting_page}`)}}),(0,P.jsx)(S.rA,{icon:"grid_view",title:e("切换样式"),onClick:me}),(0,P.jsx)(S.rA,{icon:"create_new_folder",title:e("创建文件夹"),onClick:function(){j({show:!0,type:d.PromptEnum.DirNew,overlay:!0,data:{dir:(0,_.GG)("file",(0,_.vX)())}})}}),(0,P.jsx)(S.rA,{icon:"note_add",title:e("创建文本文件"),onClick:function(){j({show:!0,type:d.PromptEnum.FileNew,overlay:!0,data:{dir:(0,_.GG)("file",(0,_.vX)())}})}}),(0,P.jsx)(S.rA,{icon:"upload_file",title:e("上传"),onClick:()=>{j({show:!0,type:d.PromptEnum.UploadFile,overlay:!0,data:{call:e=>{let t=e.currentTarget?.files;if(!t)return;let i=!!t[0].webkitRelativePath;const n=[],s=new Set;for(let e=0;e<t.length;e++){const o=t[e],a=i?o.webkitRelativePath:`${o.webkitRelativePath}${o.name}`;o.fullPath=a,i&&s.add((0,E.S)(a)),n.push(o)}const o=[];if(i)for(const e of s)o.push({isDir:!0,fullPath:e,name:e});o.push(...n),g(o),j({show:!0,type:d.PromptEnum.FilesUpload,overlay:!1,data:{}})}}})}}),(0,P.jsx)(S.rA,{icon:"info",title:e("信息"),onClick:async()=>{let e;if(!R.now_absolute_path){k.ws.addMsg(G.HK.file_info,t=>{const i=t.context;e&&(R={...R,...i},k.ws.removeMsg(G.HK.file_info),we(R))});const t=await k.ws.sendData(G.HK.file_info,{type:u.Iw.folder,path:(0,_.GG)("file",(0,_.vX)())});e=t.context,R=e,we(R)}we(R)}}),(0,P.jsx)(S.rA,{icon:"more_vert",title:e("切换目录"),onClick:t=>{const n=new b.ik;n.x=t.clientX,n.y=t.clientY,n.type=u.Iw.directory,n.items=O,n.item_pre_value=T,n.textClick=async t=>{if(-1===t)return i(`${z.o.setting_private_env_setting}`),j({data:void 0,overlay:!1,type:"",show:!1}),void(0,m.N9)(e("请配置 文件夹路径"));(async e=>{q(e),await l.$M.post("base_switch",{root_index:e}),await le(),i("/file/"),H([]),Y([])})(t),j({data:void 0,overlay:!1,type:"",show:!1})},j({show:!0,type:d.PromptEnum.FileMenu,overlay:!1,data:n})}})]})}var L=i(2543),Y=i(21499),U=i(64694),Z=i(17903);const B=n.lazy(()=>Promise.all([i.e(7856),i.e(6349),i.e(3659)]).then(()=>i(63659))),O=n.lazy(()=>Promise.all([i.e(7856),i.e(1636)]).then(()=>i(81636)));let W,T="";function q(){const[e,t]=(0,o.fp)(a.AG.editorSetting),[i,m]=(0,o.fp)(a.AG.file_preview),{t:M}=(0,w.B)();let $=(0,r.zy)();const D=(0,r.Zp)(),[F,E]=(0,o.fp)(a.AG.nowFileList),[X]=(0,o.fp)(a.AG.file_list_refresh),[R]=(0,o.fp)(a.AG.mount_enabled),[q,V]=(0,o.fp)(a.AG.current_mount),[J,Q]=(0,o.fp)(a.AG.showPrompt),[ee,te]=(0,o.fp)(a.AG.selectedFileList),[ie,ne]=(0,o.fp)(a.AG.clickFileList),[se,oe]=(0,o.fp)(a.AG.fileShellShow),[ae,le]=(0,n.useState)(""),[re,ce]=(0,o.fp)(a.AG.workflow_show),[de,_e]=(0,o.fp)(a.AG.workflow_realtime_show),[fe,pe]=(0,o.fp)(a.AG.work_flow_show),{initUserInfo:he}=(0,n.useContext)(v.F),[ue,me]=(0,o.fp)(a.AG.user_base_info),{click_file:we}=(0,p.kZ)(),[ve,xe]=(0,o.fp)(a.AG.to_running_files),[ge,ye]=(0,o.fp)(a.AG.file_page),[je]=(0,o.fp)(a.AG.blank_search_mode),[,ke]=(0,o.fp)(a.AG.prompt_card),[Ge,Ae]=(0,o.fp)(a.AG.blank_search_mode_for_temp),be=function(){const[e,t]=(0,o.fp)(a.AG.user_base_info),{t:i}=(0,w.B)(),{check_user_auth:s}=(0,x.MH)(),[c,f]=(0,o.fp)(a.AG.router_jump),h=(0,r.Zp)(),{initUserInfo:m}=(0,n.useContext)(v.F),[g,y]=(0,o.fp)(a.AG.nowFileList),[j,C]=(0,o.fp)(a.AG.showPrompt),[M,S]=(0,o.fp)(a.AG.fileShellShow),[$,D]=(0,o.fp)(a.AG.blank_search_mode);return t=>{t.preventDefault(),t.stopPropagation();const n=new b.ik;n.x=t.clientX,n.y=t.clientY,n.type=u.Iw.directory;const o=[{r:(0,P.jsx)("span",{style:(0,K.ok)(e.user_data.dir_show_type===A.t8.time_minx_max),children:i("时间逆序")}),v:A.t8.time_minx_max},{r:(0,P.jsx)("span",{style:(0,K.ok)(e.user_data.dir_show_type===A.t8.time_max_min),children:i("时间顺序")}),v:A.t8.time_max_min}],a=[{r:(0,P.jsx)("span",{style:(0,K.ok)(e.user_data.dir_show_type===A.t8.size_min_max),children:i("大小顺序")}),v:A.t8.size_min_max},{r:(0,P.jsx)("span",{style:(0,K.ok)(e.user_data.dir_show_type===A.t8.size_max_min),children:i("大小逆序")}),v:A.t8.size_max_min}],r=[{r:(0,P.jsx)("span",{style:(0,K.ok)(!e.user_data.file_list_pagination_mode||e.user_data.file_list_pagination_mode===A.yM.all),children:i("全部加载文件")}),v:A.yM.all},{r:(0,P.jsx)("span",{style:(0,K.ok)(e.user_data.file_list_pagination_mode===A.yM.pagination),children:i("scrll_l")}),v:A.yM.pagination}],c=[{r:(0,P.jsx)("span",{style:(0,K.ok)(!e.user_data.file_time_show_type||e.user_data.file_time_show_type===A.KD.current),children:i("最近时间")}),v:A.KD.current},{r:(0,P.jsx)("span",{style:(0,K.ok)(e.user_data.file_time_show_type===A.KD.time),children:i("准确时间")}),v:A.KD.time}],w=[{r:i("文件列表展示"),items:[{r:i("文件排序"),v:"",items:[{r:(0,P.jsx)("span",{style:(0,K.ok)(!e.user_data.dir_show_type),children:i("系统默认")}),v:A.t8.defualt},{r:(0,P.jsx)("span",{style:(0,K.ok)(e.user_data.dir_show_type===A.t8.name),children:i("名字")}),v:A.t8.name},{r:(0,P.jsx)("span",{style:(0,K.ok)(e.user_data.dir_show_type===A.t8.time_minx_max||e.user_data.dir_show_type===A.t8.time_max_min),children:i("修改时间")}),v:!1,items:o},{r:(0,P.jsx)("span",{style:(0,K.ok)(e.user_data.dir_show_type===A.t8.size_min_max||e.user_data.dir_show_type===A.t8.size_max_min),children:i("文件大小")}),v:!1,items:a}]},{r:i("文件加载方式"),v:"",items:r},{r:i("时间展示"),v:"",items:c},{r:i("缩放调整"),v:"zoom_adjust"},{r:(0,P.jsx)("span",{style:(0,K.ok)($),children:i("srchbln")}),v:"blank_search_mode"}]},{r:i("以配置表方式打开目录"),v:"gcfg_dir_config"}];g?.folders?.find(e=>".git"===e.name)&&w.push({r:i("查看Git提交"),v:"git_page"}),s(A.oV.code_resource)&&w.push({r:i("add_rot"),v:"code_resource"}),s(A.oV.http_proxy)&&w.push({r:i("dl_here"),v:"http_resource"}),e?.user_data?.quick_cmd&&(0,p.LL)([...e.user_data.quick_cmd],w),n.items=w,n.textClick=async e=>{if(console.log(e),!1===e)return;const t={};if("gcfg_dir_config"===e){const e=(0,_.GG)("file",(0,_.vX)());return C({data:void 0,overlay:!1,type:"",show:!1}),void h(`${z.o.gcfg_page}/${encodeURIComponent(e)}`)}if("git_page"===e){const e=(0,_.GG)("file",(0,_.vX)());return C({data:void 0,overlay:!1,type:"",show:!1}),void h(`${z.o.git_page}/${encodeURIComponent(e)}`)}if("code_resource"===e){const e=await k.ws.sendData(G.HK.file_info,{path:(0,_.GG)("file",(0,_.vX)())});return f({page_self_router_api_data:[`/api/${Date.now()}`,e.context.now_absolute_path]}),C({data:void 0,overlay:!1,type:"",show:!1}),void h("/setting/customer_router/")}if("http_resource"===e){const e=await k.ws.sendData(G.HK.file_info,{path:(0,_.GG)("file",(0,_.vX)())});return f({http_download_map_path:e.context.now_absolute_path}),C({data:void 0,overlay:!1,type:"",show:!1}),void h("/proxy/http/")}if("zoom_adjust"===e)return C({data:void 0,overlay:!1,type:"",show:!1}),void setTimeout(()=>{C({show:!0,type:d.PromptEnum.ZoomAdjust,overlay:!1,data:{}})},0);if("object"==typeof e&&"quick_cmd"===e.tag){let t=e.cmd;t&&(t.endsWith("\r")||(t+="\r",S({show:!0,path:(0,_.GG)("file",(0,_.vX)()),cmd:t})))}else{if("blank_search_mode"===e)return D(!$),void C({data:void 0,overlay:!1,type:"",show:!1});if(e===A.yM.all||e===A.yM.pagination)t.is_pagination_mode=!0;else if(e===A.KD.current||e===A.KD.time)t.is_file_show_type=!0;else{if(e!==A.t8.defualt&&e!==A.t8.name&&e!==A.t8.size_max_min&&e!==A.t8.size_min_max&&e!==A.t8.time_max_min&&e!==A.t8.time_minx_max)return;t.is_dir_list_type=!0}}await l.wm.post(I.s.user_save_private_attr,{type:e,...t}),await m(),C({data:void 0,overlay:!1,type:"",show:!1}),h((0,_.vX)())},C({show:!0,type:d.PromptEnum.FileMenu,overlay:!1,data:n})}}(),Ce=async()=>{const e=new j.Nd;e.dir_path=`${(0,_.GG)("file",(0,_.vX)())}`,k.ws.addMsg(G.HK.workflow_realtime,e=>{const t=e.context;if(e.context){for(const e of t.sucess_file_list)(0,p.Ys)(e);for(const e of t.failed_file_list)(0,p.V$)(e);xe(new Set(t.running_file_list))}}),await k.ws.sendData(G.HK.workflow_realtime,e)},ze=async e=>{let t=!1;for(const i of e.files??[])i.origin_size=i.size,i.size=(0,g.v7)(i.size),ue.user_data.file_time_show_type===A.KD.time?i.show_mtime=i.mtime?(0,Y.Yq)(i.mtime):"":i.show_mtime=i.mtime?(0,y.s)(i.mtime):"",t||!i.name.endsWith(".workflow.yml")&&!i.name.endsWith(".act")||(t=!0,Promise.resolve().then(()=>{Ce()})),i.name===j.SB&&(t=!0);for(const i of e.folders??[])ue.user_data.file_time_show_type===A.KD.time?i.show_mtime=i.mtime?(0,Y.Yq)(i.mtime):"":i.show_mtime=i.mtime?(0,y.s)(i.mtime):"",i.name===j.SB&&(t=!0);pe(t)},Me=n.useRef(null),Se=async e=>{if(!0===R){if(Me.current!==e){Me.current=e;try{const t=await l.$M.post("file/mount_info",{param_path:e});V(t?.data??null)}catch(e){V(null)}}}else V(null)},$e=async()=>{const e=(0,_.GG)("file",(0,_.vX)());if(je||Ge)return;let t;if(Se(e),ue.user_data.file_list_pagination_mode===A.yM.pagination){if(T!==e){if(T=e,1!==ge.page_num)return void ye({page_size:ge.page_size,page_num:1})}else if(ge.page_num<0)return;if(t=await l.$M.post("file_get_page",{param_path:e,page_num:ge.page_num,page_size:ge.page_size}),t.code!==f.m.Success)return;const i=t.data;return ze(i),i.files?.length?(E(e=>{const t=(0,L.cloneDeep)(1===ge.page_num?i.files:[...e?.files??[],...i.files]),n={...e,files:t};return(0,p.yC)(n,ue.user_data.dir_show_type),n}),void(W=t.data)):void ye({page_size:ge.page_size,page_num:-1})}if(t=await l.$M.get(e),t.code!==f.m.Success)return;const i=t.data;(0,p.yC)(i,ue.user_data.dir_show_type),ze(t.data),E(t.data),W=t.data};(0,n.useEffect)(()=>async()=>{xe(new Set)},[]);(0,n.useEffect)(()=>{$e(),t({open:!1}),m({open:!1}),pe(!1)},[$,ge]),(0,n.useEffect)(()=>{X>0&&$e()},[X]);const De=n.useRef(!1);(0,n.useEffect)(()=>{if(null!==R)return De.current?void(!0===R?Se((0,_.GG)("file",(0,_.vX)())):V(null)):(De.current=!0,void(!0===R&&null===q&&Se((0,_.GG)("file",(0,_.vX)()))))},[R]);const Pe=e=>{e.target===e.currentTarget&&(te([]),ne([]))};return(0,P.jsxs)(n.Fragment,{children:[(0,P.jsx)(c.aZ,{children:(0,P.jsx)(h.$Z,{handleEnterPress:async()=>{if(je||Ge){if(te([]),ne([]),!ae||!ae.trim())return void E({files:[],folders:[]});const e=(0,_.GG)("file",(0,_.vX)()),t=await l.$M.post("file_get_page",{param_path:e,page_num:1,page_size:1e4,search:ae.trim()});if(t.code!==f.m.Success)return;const i=t.data;return(0,p.yC)(i,ue.user_data.dir_show_type),ze(i),E(i),void(W=i)}if(!W)return;te([]),ne([]);const e=[],t=[];for(const t of W.files??[])t.name.includes(ae)&&e.push(t);for(const e of W.folders??[])e.name.includes(ae)&&t.push(e);E({files:e,folders:t})},placeholder:M("搜索当前目录"),icon:"search",value:"",mobile_hidden:!0,handleIconClick:()=>{const e=(0,_.GG)("file",(0,_.vX)());ke({open:!0,title:M("深搜"),context_div:(0,P.jsx)(N,{base_path:e})})},handleInputChange:e=>{le(e)},max_width:"25em"})}),(0,P.jsxs)(c.aZ,{position:"right",children:[(0,P.jsx)("div",{className:"mobile-context-btn",children:(0,P.jsx)(S.rA,{icon:"more_horiz",title:M("右键"),onClick:()=>{const e=ee[ee.length-1];if(void 0!==e){const t=[...F.folders??[],...F.files??[]][e];if(t){const i=document.querySelectorAll(".item")[e],n=i?i.getBoundingClientRect():{left:window.innerWidth/2,bottom:100},s={preventDefault:()=>{},stopPropagation:()=>{},clientX:n.left+10,clientY:n.bottom??100},o=new b.ik;o.path=(0,U.IO)((0,_.vX)(),t.name),o.filename=t.name,o.x=s.clientX,o.y=s.clientY,o.type=t.type===u.Iw.folder?u.Iw.folder:(0,b.uL)(t.name),o.size=t.origin_size,Q({show:!0,type:d.PromptEnum.FileMenu,overlay:!1,data:o})}}else{const e={preventDefault:()=>{},stopPropagation:()=>{},clientX:window.innerWidth/2,clientY:window.innerHeight/2};be(e)}}})}),(0,P.jsx)(H,{})]}),(0,P.jsx)(s.e,{baseRoute:"file",clickFun:function(){if(te([]),ne([]),ue.user_data.file_list_pagination_mode===A.yM.pagination){const e=document.getElementById("listing");e&&(e.scrollTop=0),ye({page_size:ge.page_size,page_num:1})}},input_path_enter:e=>{var t;te([]),ne([]),E({files:[],folders:[]}),!function(e){return"string"==typeof e&&0!==e.length&&(/^[a-zA-Z]:[\\\/]/.test(e)||/^\\\\[^\\/]+[\\/]/.test(e)||/^\//.test(e))}(e)?D(function(e,t){let i=function(e){let t="\\";for(const i of e)if("/"===i||"\\"===i){t=i;break}return t}(e);if("."===t)return e;if(".."===t){if(e.length>1){let t=e[e.length-1]===i?1:0;for(let n=e.length-1-t;n>=0;n--)if(e[n]===i)return e.substring(0,n+1)}return e}return e.endsWith(i)&&t.startsWith(i)?e.slice(0,-1)+t:e.endsWith(i)||t.startsWith(i)?e+t:e+i+t}((0,_.vX)(),e)):(e=e.replace(0===(t=ue.user_data).folder_item_now||void 0===t.folder_item_now?t.cwd:t.folder_items[t.folder_item_now-1].path,""),D(e))}}),q&&(0,P.jsxs)("div",{className:"mount-tip-bar",style:{borderLeftColor:q.color},children:[(0,P.jsx)("span",{className:"material-icons",style:{color:q.color},children:"cloud"}),(0,P.jsxs)("span",{children:[M("当前为挂载目录"),":",q.name]}),(0,P.jsx)("span",{className:"mount-driver-tag",children:Z.C1.find(e=>e.value===q.driver)?.title??q.driver}),q.readonly&&(0,P.jsx)("span",{className:"mount-readonly-tag",children:M("只读")})]}),ue.user_data.file_list_pagination_mode===A.yM.pagination?(0,P.jsx)(C.$J,{handleContextMenu:be,clickBlank:Pe,list:F.files}):(0,P.jsx)(C.t$,{handleContextMenu:be,file_list:F.files,folder_list:F.folders,clickBlank:Pe}),re&&(0,P.jsx)(B,{}),de.open&&(0,P.jsx)(O,{})]})}}}]);