diff --git a/index.html b/index.html index b8135fc..42f3b77 100644 --- a/index.html +++ b/index.html @@ -1 +1 @@ -微信 Markdown 编辑器
\ No newline at end of file +微信 Markdown 编辑器
\ No newline at end of file diff --git a/static/js/index.d2c94724.js b/static/js/index.d2c94724.js deleted file mode 100644 index 5ec48a1..0000000 --- a/static/js/index.d2c94724.js +++ /dev/null @@ -1 +0,0 @@ -(function(e){function n(n){for(var o,a,c=n[0],l=n[1],s=n[2],d=0,g=[];d['.concat(e[0],"]: ").concat(e[1],"
"):'['.concat(e[0],"] ").concat(e[1],": ").concat(e[2],"
")}));return"

引用链接

").concat(e.join("\n"),"

")},this.buildAddition=function(){return"\n \n "},this.setOptions=function(e){t.opts=d(t.opts,e)},this.hasFootnotes=function(){return 0!==a.length},this.getRenderer=function(e){a=[],c=0,l=t.buildTheme(t.opts.theme);var n=new i.default.Renderer;return n.heading=function(e,n){switch(n){case 1:return"

").concat(e,"

");case 2:return"

").concat(e,"

");case 3:return"

").concat(e,"

");default:return"

").concat(e,"

")}},n.paragraph=function(e){return-1!=e.indexOf("").concat(e,"

")},n.blockquote=function(e){return e=e.replace(//g,"

")),"

").concat(e,"
")},n.code=function(e,n){e=e.replace(//g,">");var t=e.split("\n").map((function(e){return''.concat(e||"
","
")})),o="github";return'\n
\n
\n                        ').concat(t.join(""),"\n                    
\n
\n ")},n.codespan=function(e,n){return"").concat(e,"")},n.listitem=function(e){return"<%s/>').concat(e,"")},n.list=function(e,n,t){e=e.replace(/<\/*p.*?>/g,"");var o=e.split("<%s/>");if(!n)return e=o.join("•"),"

").concat(e,"

");e=o[0];for(var r=1;r").concat(e,"

")},n.image=function(e,n,t){var r="";t&&(r="
").concat(t,"
"));var i=u("figure"),a=u(o?"image":"image_org");return"
').concat(t,'').concat(r,"
")},n.link=function(n,t,o){if(n.startsWith("https://mp.weixin.qq.com"))return'").concat(o,"");if(n===o||!e)return o;var r=g(t||o,n);return"").concat(o,"[").concat(r,"]")},n.strong=function(e){return"").concat(e,"")},n.em=function(e){return''.concat(e,"")},n.table=function(e,n){return'
").concat(e,"").concat(n,"
")},n.tablecell=function(e,n){return"").concat(e,"")},n.hr=function(){return'
'},n}},c=a;n.default=c},bcaf:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o={BASE:{"text-align":"left",color:"#3f3f3f","line-height":"1.75"},BASE_BLOCK:{margin:"1em 8px"},block:{h1:{"font-size":"1.2em","text-align":"center","font-weight":"bold",display:"table",margin:"2em auto 1em",padding:"0 1em","border-bottom":"2px solid rgba(0, 152, 116, 0.9)"},h2:{"font-size":"1.2em","text-align":"center","font-weight":"bold",display:"table",margin:"4em auto 2em",padding:"0 0.2em",background:"rgba(0, 152, 116, 0.9)",color:"#fff"},h3:{"font-weight":"bold","font-size":"1.1em",margin:"2em 8px 0.75em 0","line-height":"1.2","padding-left":"8px","border-left":"3px solid rgba(0, 152, 116, 0.9)"},h4:{"font-weight":"bold","font-size":"1em",margin:"2em 8px 0.5em",color:"rgba(66, 185, 131, 0.9)"},p:{margin:"1.5em 8px","letter-spacing":"0.1em"},blockquote:{"font-style":"normal","border-left":"none",padding:"1em","border-radius":"4px",color:"#FEEEED",background:"rgba(27,31,35,.05)",margin:"2em 8px"},blockquote_p:{"letter-spacing":"0.1em",color:"rgb(80, 80, 80)","font-size":"1em",display:"block"},code:{"font-size":"80%",overflow:"auto",color:"#333","white-space":"pre",background:"rgb(247, 247, 247)","border-radius":"2px",padding:"10px","line-height":"1.5",border:"1px solid rgb(236,236,236)",margin:"20px 0"},image:{"border-radius":"4px",display:"block",margin:"0.1em auto 0.5em",width:"100% !important"},image_org:{"border-radius":"4px",display:"block"},ol:{"margin-left":"0","padding-left":"1em"},ul:{"margin-left":"0","padding-left":"1em","list-style":"circle"},footnotes:{margin:"0.5em 8px","font-size":"80%"},figure:{margin:"1.5em 8px"}},inline:{listitem:{"text-indent":"-1em",display:"block",margin:"0.2em 8px"},codespan:{"font-size":"90%","white-space":"pre",color:"#d14",background:"rgba(27,31,35,.05)",padding:"3px 5px","border-radius":"4px"},link:{color:"#576b95"},wx_link:{color:"#576b95","text-decoration":"none"},strong:{color:"rgba(15, 76, 129, 0.9)","font-weight":"bold"},table:{"border-collapse":"collapse","text-align":"center",margin:"1em 8px"},thead:{background:"rgba(0, 0, 0, 0.05)","font-weight":"bold"},td:{border:"1px solid #dfdfdf",padding:"0.25em 0.5em"},footnote:{"font-size":"12px"},figcaption:{"text-align":"center",color:"#888","font-size":"0.8em"}}};n.default=o},c1da:function(e,n,t){var o=t("4bad");n=o(!1),n.push([e.i,"/* 每个页面公共css */\n/*\n\n Name: Base16 Default Light\n Author: Chris Kempson (http://chriskempson.com)\n\n CodeMirror template by Jan T. Sott (https://github.com/idleberg/base16-codemirror)\n Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16)\n\n*/.cm-s-style-mirror.CodeMirror{color:#444;font-size:16px;line-height:25px}.cm-s-style-mirror .CodeMirror-scroll{padding:20px;width:100%;box-sizing:border-box;overflow-x:hidden!important;overflow-y:scroll!important}.cm-s-style-mirror div.CodeMirror-selected{background:#e0e0e0}.cm-s-style-mirror .CodeMirror-line::selection,\n.cm-s-style-mirror .CodeMirror-line > span::selection,\n.cm-s-style-mirror .CodeMirror-line > span > span::selection{background:#e0e0e0}.cm-s-style-mirror .CodeMirror-line::-moz-selection,\n.cm-s-style-mirror .CodeMirror-line > span::-moz-selection,\n.cm-s-style-mirror .CodeMirror-line > span > span::-moz-selection{background:#e0e0e0}.cm-s-style-mirror .CodeMirror-gutters{background:#f5f5f5;border-right:0}.cm-s-style-mirror .CodeMirror-guttermarker{color:#ac4142}.cm-s-style-mirror .CodeMirror-guttermarker-subtle{color:#b0b0b0}.cm-s-style-mirror .CodeMirror-linenumber{color:#b0b0b0}.cm-s-style-mirror .CodeMirror-cursor{border-left:1px solid #505050}.cm-s-style-mirror span.cm-comment{color:green}.cm-s-style-mirror span.cm-atom{color:#aa759f}.cm-s-style-mirror span.cm-number{color:#aa759f}.cm-s-style-mirror span.cm-property,\n.cm-s-style-mirror span.cm-attribute{color:#90a959}.cm-s-style-mirror span.cm-keyword{color:#023a52}.cm-s-style-mirror span.cm-string{color:#e46918}.cm-s-style-mirror span.cm-variable{color:#90a959}.cm-s-style-mirror span.cm-variable-2{color:#00695f}.cm-s-style-mirror span.cm-variable-3{color:#2e6e8a}.cm-s-style-mirror span.cm-def{color:#d28445}.cm-s-style-mirror span.cm-bracket{color:#202020}.cm-s-style-mirror span.cm-tag{color:#000}.cm-s-style-mirror span.cm-link{color:#b26a00}.cm-s-style-mirror span.cm-error{\n /* background: #ac4142;\n color: #f5f5f5; */text-decoration:underline;-webkit-text-decoration-style:wavy;text-decoration-style:wavy;-webkit-text-decoration-color:#df8d8e;text-decoration-color:#df8d8e}.cm-s-style-mirror .CodeMirror-activeline-background{background:#dddcdc}.cm-s-style-mirror .CodeMirror-matchingbracket{color:#202020!important;background-color:rgba(0,0,0,.1)!important}.container_night{background-color:#333}.container_night .el-main{background-color:#333}.container_night .CodeMirror{caret-color:grey;color:grey;background-color:#1e1e1e;box-shadow:inset 0 0 0 1px rgba(100,37,37,.102)}.container_night .output_night .preview{background-color:#1e1e1e;box-shadow:0 0 70px rgba(0,0,0,.3)}.container_night .output_night .preview-wrapper{background-color:#1e1e1e;box-shadow:inset 0 0 0 1px hsla(0,4.3%,91%,.102)}.container_night .output_night .code-snippet__fix{background-color:#eee}.container_night .cm-s-style-mirror .CodeMirror-matchingbracket{color:#f0f0f0!important;background:#1e1e1e!important}.container_night .cm-s-xq-light span.cm-variable-2,\n.container_night .cm-s-style-mirror span.cm-tag{color:grey}.container_night .cm-s-xq-light .CodeMirror-activeline-background{background-color:initial}.container_night .cm-s-xq-light span.cm-string{color:#8e9eb9}.container_night .cm-s-xq-light span.cm-link{color:#84868b}.container_night .editor__header{background-color:#3c3c3c}.container_night .el-button{color:#f0f0f0;background-color:#1e1e1e;border:1px solid transparent}.container_night .el-button.is-plain:focus,\n.container_night .el-button.is-plain:hover{background:#1e1e1e;color:#f0f0f0;border:1px solid #f0f0f0}.container_night .el-button.is-plain:focus i,\n.container_night .el-button.is-plain:hover i{color:#f0f0f0}.container_night .insert__dialog .el-dialog,\n.container_night .about__dialog .el-dialog,\n.container_night .reset__dialog .el-dialog,\n.container_night .upload__dialog .el-dialog{background-color:#333}.container_night .insert__dialog .el-dialog__body,\n.container_night .about__dialog .el-dialog__body,\n.container_night .reset__dialog .el-dialog__body,\n.container_night .upload__dialog .el-dialog__body{color:#f0f0f0}.container_night .insert__dialog .el-dialog__title,\n.container_night .about__dialog .el-dialog__title,\n.container_night .reset__dialog .el-dialog__title,\n.container_night .upload__dialog .el-dialog__title,\n.container_night .insert__dialog .el-form-item__label,\n.container_night .about__dialog .el-form-item__label,\n.container_night .reset__dialog .el-form-item__label,\n.container_night .upload__dialog .el-form-item__label{color:#f0f0f0}.container_night .insert__dialog .el-tabs__item,\n.container_night .about__dialog .el-tabs__item,\n.container_night .reset__dialog .el-tabs__item,\n.container_night .upload__dialog .el-tabs__item{color:grey}.container_night .insert__dialog .el-tabs__nav-wrap::after,\n.container_night .about__dialog .el-tabs__nav-wrap::after,\n.container_night .reset__dialog .el-tabs__nav-wrap::after,\n.container_night .upload__dialog .el-tabs__nav-wrap::after{background-color:#84868b}.container_night .insert__dialog .is-active,\n.container_night .about__dialog .is-active,\n.container_night .reset__dialog .is-active,\n.container_night .upload__dialog .is-active{color:#f0f0f0}.container_night .insert__dialog .el-upload-dragger,\n.container_night .about__dialog .el-upload-dragger,\n.container_night .reset__dialog .el-upload-dragger,\n.container_night .upload__dialog .el-upload-dragger{background-color:#1e1e1e}.container_night .el-icon-upload,\n.container_night .el-icon-download,\n.container_night .el-icon-refresh,\n.container_night .el-icon-s-grid{color:#f0f0f0}.container_night ::-webkit-scrollbar{background-color:#1e1e1e}.CodeMirror{padding-bottom:0;height:100%!important;box-shadow:inset 0 0 0 1px rgba(0,0,0,.1);font-size:14px;font-family:PingFang SC,BlinkMacSystemFont,Roboto,Helvetica Neue,sans-serif!important}.CodeMirror-vscrollbar:focus{outline:none}.CodeMirror-scroll{padding:20px;padding-bottom:0;overflow-x:hidden!important;overflow-y:scroll!important}.CodeMirror-vscrollbar{width:0;height:0}.codeMirror-wrapper{height:100%!important}::-webkit-scrollbar{width:6px;height:6px;background-color:#fff}::-webkit-scrollbar-track{border-radius:6px;background-color:hsla(0,0%,78.4%,.3)}::-webkit-scrollbar-thumb{border-radius:6px;background-color:rgba(144,146,152,.5);-webkit-transition:background-color .3s;transition:background-color .3s}::-webkit-scrollbar-thumb:hover{background-color:rgba(144,146,152,.5)}\n/* CSS-hints */.CodeMirror-hints{position:absolute;z-index:10;overflow:hidden;list-style:none;margin:0;padding:2px;border-radius:4px;background-color:#fff;box-shadow:0 4px 8px 0 rgba(0,0,0,.12),0 2px 4px 0 rgba(0,0,0,.08);min-width:200px;font-size:12px;font-family:monospace;max-height:20em;overflow-y:auto;color:#333}.CodeMirror-hint{margin:0;margin-top:10px;padding:4px 6px;border-radius:2px;white-space:pre;color:#000;cursor:pointer}.CodeMirror-hint:first-of-type{margin-top:0}.CodeMirror-hint:hover{background:#f0f0f0}",""]),e.exports=n},dea5:function(e,n,t){"use strict";var o=t("4ea4");t("99af"),t("4de4"),t("4160"),t("c975"),t("a15b"),t("d81d"),t("fb6a"),t("b64b"),t("d3b7"),t("ac1f"),t("3ca3"),t("1276"),t("498a"),t("159b"),t("ddb0"),t("2b3d"),Object.defineProperty(n,"__esModule",{value:!0}),n.setColorWithTemplate=l,n.setFontSizeWithTemplate=d,n.customCssWithTemplate=p,n.css2json=f,n.saveEditorContent=m,n.formatDoc=b,n.formatCss=h,n.fixCodeWhiteSpace=_,n.downloadMD=v,n.createTable=x,n.checkImage=k,n.toBase64=n.setFontSize=n.setColor=n.setColorWithCustomTemplate=void 0;var r=o(t("bcaf")),i=o(t("325b")),a=o(t("4fc3")),c=o(t("d238"));function l(e){return function(n){var t=JSON.parse(JSON.stringify(e));return t.block.h1["border-bottom"]="2px solid ".concat(n),t.block.h2["background"]=n,t.block.h3["border-left"]="3px solid ".concat(n),t.block.h4["color"]=n,t.inline.strong["color"]=n,t}}var s=function(e,n){var t=JSON.parse(JSON.stringify(e));return t.block.h1["border-bottom"]="2px solid ".concat(n),t.block.h2["background"]=n,t.block.h3["border-left"]="3px solid ".concat(n),t.block.h4["color"]=n,t.inline.strong["color"]=n,t};function d(e){return function(n){var t=JSON.parse(JSON.stringify(e));return t.block.h1["font-size"]="".concat(1.14*n,"px"),t.block.h2["font-size"]="".concat(1.1*n,"px"),t.block.h3["font-size"]="".concat(n,"px"),t.block.h4["font-size"]="".concat(n,"px"),t}}n.setColorWithCustomTemplate=s;var u=l(r.default);n.setColor=u;var g=d(r.default);function p(e,n,t){var o=JSON.parse(JSON.stringify(t));return o.block.h1["border-bottom"]="2px solid ".concat(n),o.block.h2["background"]=n,o.block.h3["border-left"]="3px solid ".concat(n),o.block.h4["color"]=n,o.inline.strong["color"]=n,o.block.h1=Object.assign(o.block.h1,e.h1),o.block.h2=Object.assign(o.block.h2,e.h2),o.block.h3=Object.assign(o.block.h3,e.h3),o.block.h4=Object.assign(o.block.h4,e.h4),o.block.p=Object.assign(o.block.p,e.p),o.block.blockquote=Object.assign(o.block.blockquote,e.blockquote),o.block.blockquote_p=Object.assign(o.block.blockquote_p,e.blockquote_p),o.block.image=Object.assign(o.block.image,e.image),o.inline.strong=Object.assign(o.inline.strong,e.strong),o.inline.codespan=Object.assign(o.inline.codespan,e.codespan),o.inline.link=Object.assign(o.inline.link,e.link),o.inline.wx_link=Object.assign(o.inline.wx_link,e.wx_link),o}function f(e){var n,t;while(-1!==(n=e.indexOf("/*"))&&-1!==(t=e.indexOf("*/")))e=e.substring(0,n)+e.substring(t+2);var o={},r=function(){var n=e.indexOf("{"),t=e.indexOf("}");function r(e){var n={};return e.forEach((function(e){var t=e.indexOf(":"),o=e.substring(0,t).trim(),r=e.substring(t+1).trim();n[o]=r})),n}var i=e.substring(n+1,t).split(";").map((function(e){return e.trim()})).filter((function(e){return e.length>0}));i=r(i);var a=e.substring(0,n).split(",").map((function(e){return e.trim()}));a.forEach((function(e){o[e]||(o[e]={}),Object.keys(i).forEach((function(n){o[e][n]=i[n]}))})),e=e.slice(t+1).trim()};while(e.length>0&&-1!==e.indexOf("{")&&-1!==e.indexOf("}"))r();return o}function m(e,n){var t=e.getValue(0);t?localStorage.setItem(n,t):localStorage.removeItem(n)}function b(e){var n=i.default.format(e,{parser:"markdown",plugins:[a.default]});return n}function h(e){var n=i.default.format(e,{parser:"css",plugins:[c.default]});return n}function _(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"pre",n=document.getElementsByClassName("code__pre");n.length>0&&n.forEach((function(n){n.style.whiteSpace=e}))}function v(e){var n=document.createElement("a");n.download="content.md",n.style.display="none";var t=new Blob([e]);n.href=URL.createObjectURL(t),document.body.appendChild(n),n.click(),document.body.removeChild(n)}function x(e){for(var n=e.data,t=e.rows,o=e.cols,r="",i=[],a=0;a1?a-1:a;1===a?i.push("---\t"):i.push(n["k_".concat(l,"_").concat(c)]||"")}r+=i.join("\t|\t"),r+="\t|\n"}return r}n.setFontSize=g;var y=function(e){return new Promise((function(n,t){var o=new FileReader;o.readAsDataURL(e),o.onload=function(){return n(o.result.split(",").pop())},o.onerror=function(e){return t(e)}}))};function k(e){var n=/\.(gif|jpg|jpeg|png|GIF|JPG|PNG)$/.test(e.name);if(!n)return{ok:!1,msg:"请上传 JPG/PNG/GIF 格式的图片"};var t=5,o=e.size/1024/1024<=t;return o?{ok:!0}:{ok:!1,msg:"由于公众号限制,图片大小不能超过 ".concat(t,"M")}}n.toBase64=y}}); \ No newline at end of file diff --git a/static/js/index.ebfe75d8.js b/static/js/index.ebfe75d8.js new file mode 100644 index 0000000..99bfb6c --- /dev/null +++ b/static/js/index.ebfe75d8.js @@ -0,0 +1 @@ +(function(e){function o(o){for(var n,a,c=o[0],l=o[1],s=o[2],d=0,p=[];d['.concat(e[0],"]: ").concat(e[1],"
"):'['.concat(e[0],"] ").concat(e[1],": ").concat(e[2],"
")}));return"

引用链接

").concat(e.join("\n"),"

")},this.buildAddition=function(){return"\n \n "},this.setOptions=function(e){t.opts=d(t.opts,e)},this.hasFootnotes=function(){return 0!==a.length},this.getRenderer=function(e){a=[],c=0,l=t.buildTheme(t.opts.theme);var o=new i.default.Renderer;return o.heading=function(e,o){switch(o){case 1:return"

").concat(e,"

");case 2:return"

").concat(e,"

");case 3:return"

").concat(e,"

");default:return"

").concat(e,"

")}},o.paragraph=function(e){return-1!=e.indexOf("").concat(e,"

")},o.blockquote=function(e){return e=e.replace(//g,"

")),"

").concat(e,"
")},o.code=function(e,o){e=e.replace(//g,">");var t=e.split("\n").map((function(e){return''.concat(e||"
","
")})),n="github";return'\n
\n
\n                        ').concat(t.join(""),"\n                    
\n
\n ")},o.codespan=function(e,o){return"").concat(e,"")},o.listitem=function(e){return"<%s/>').concat(e,"")},o.list=function(e,o,t){e=e.replace(/<\/*p.*?>/g,"");var n=e.split("<%s/>");if(!o)return e=n.join("•"),"

").concat(e,"

");e=n[0];for(var r=1;r").concat(e,"

")},o.image=function(e,o,t){var r="";t&&(r="
").concat(t,"
"));var i=u("figure"),a=u(n?"image":"image_org");return"
').concat(t,'').concat(r,"
")},o.link=function(o,t,n){if(o.startsWith("https://mp.weixin.qq.com"))return'").concat(n,"");if(o===n||!e)return n;var r=p(t||n,o);return"").concat(n,"[").concat(r,"]")},o.strong=function(e){return"").concat(e,"")},o.em=function(e){return''.concat(e,"")},o.table=function(e,o){return'
").concat(e,"").concat(o,"
")},o.tablecell=function(e,o){return"").concat(e,"")},o.hr=function(){return'
'},o}},c=a;o.default=c},bcaf:function(e,o,t){"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.default=void 0;var n={BASE:{"text-align":"left",color:"#3f3f3f","line-height":"1.75"},BASE_BLOCK:{margin:"1em 8px"},block:{h1:{"font-size":"1.2em","text-align":"center","font-weight":"bold",display:"table",margin:"2em auto 1em",padding:"0 1em","border-bottom":"2px solid rgba(0, 152, 116, 0.9)"},h2:{"font-size":"1.2em","text-align":"center","font-weight":"bold",display:"table",margin:"4em auto 2em",padding:"0 0.2em",background:"rgba(0, 152, 116, 0.9)",color:"#fff"},h3:{"font-weight":"bold","font-size":"1.1em",margin:"2em 8px 0.75em 0","line-height":"1.2","padding-left":"8px","border-left":"3px solid rgba(0, 152, 116, 0.9)"},h4:{"font-weight":"bold","font-size":"1em",margin:"2em 8px 0.5em",color:"rgba(66, 185, 131, 0.9)"},p:{margin:"1.5em 8px","letter-spacing":"0.1em"},blockquote:{"font-style":"normal","border-left":"none",padding:"1em","border-radius":"4px",color:"#FEEEED",background:"rgba(27,31,35,.05)",margin:"2em 8px"},blockquote_p:{"letter-spacing":"0.1em",color:"rgb(80, 80, 80)","font-size":"1em",display:"block"},code:{"font-size":"80%",overflow:"auto",color:"#333","white-space":"pre",background:"rgb(247, 247, 247)","border-radius":"2px",padding:"10px","line-height":"1.5",border:"1px solid rgb(236,236,236)",margin:"20px 0"},image:{"border-radius":"4px",display:"block",margin:"0.1em auto 0.5em",width:"100% !important"},image_org:{"border-radius":"4px",display:"block"},ol:{"margin-left":"0","padding-left":"1em"},ul:{"margin-left":"0","padding-left":"1em","list-style":"circle"},footnotes:{margin:"0.5em 8px","font-size":"80%"},figure:{margin:"1.5em 8px"}},inline:{listitem:{"text-indent":"-1em",display:"block",margin:"0.2em 8px"},codespan:{"font-size":"90%","white-space":"pre",color:"#d14",background:"rgba(27,31,35,.05)",padding:"3px 5px","border-radius":"4px"},link:{color:"#576b95"},wx_link:{color:"#576b95","text-decoration":"none"},strong:{color:"rgba(15, 76, 129, 0.9)","font-weight":"bold"},table:{"border-collapse":"collapse","text-align":"center",margin:"1em 8px"},thead:{background:"rgba(0, 0, 0, 0.05)","font-weight":"bold"},td:{border:"1px solid #dfdfdf",padding:"0.25em 0.5em"},footnote:{"font-size":"12px"},figcaption:{"text-align":"center",color:"#888","font-size":"0.8em"}}};o.default=n},c1da:function(e,o,t){var n=t("4bad");o=n(!1),o.push([e.i,"/* 每个页面公共css */\n/*\n\n Name: Base16 Default Light\n Author: Chris Kempson (http://chriskempson.com)\n\n CodeMirror template by Jan T. Sott (https://github.com/idleberg/base16-codemirror)\n Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16)\n\n*/.cm-s-style-mirror.CodeMirror{color:#444;font-size:16px;line-height:25px}.cm-s-style-mirror .CodeMirror-scroll{padding:20px;width:100%;box-sizing:border-box;overflow-x:hidden!important;overflow-y:scroll!important}.cm-s-style-mirror div.CodeMirror-selected{background:#e0e0e0}.cm-s-style-mirror .CodeMirror-line::selection,\n.cm-s-style-mirror .CodeMirror-line > span::selection,\n.cm-s-style-mirror .CodeMirror-line > span > span::selection{background:#e0e0e0}.cm-s-style-mirror .CodeMirror-line::-moz-selection,\n.cm-s-style-mirror .CodeMirror-line > span::-moz-selection,\n.cm-s-style-mirror .CodeMirror-line > span > span::-moz-selection{background:#e0e0e0}.cm-s-style-mirror .CodeMirror-gutters{background:#f5f5f5;border-right:0}.cm-s-style-mirror .CodeMirror-guttermarker{color:#ac4142}.cm-s-style-mirror .CodeMirror-guttermarker-subtle{color:#b0b0b0}.cm-s-style-mirror .CodeMirror-linenumber{color:#b0b0b0}.cm-s-style-mirror .CodeMirror-cursor{border-left:1px solid #505050}.cm-s-style-mirror span.cm-comment{color:green}.cm-s-style-mirror span.cm-atom{color:#aa759f}.cm-s-style-mirror span.cm-number{color:#aa759f}.cm-s-style-mirror span.cm-property,\n.cm-s-style-mirror span.cm-attribute{color:#90a959}.cm-s-style-mirror span.cm-keyword{color:#023a52}.cm-s-style-mirror span.cm-string{color:#e46918}.cm-s-style-mirror span.cm-variable{color:#90a959}.cm-s-style-mirror span.cm-variable-2{color:#00695f}.cm-s-style-mirror span.cm-variable-3{color:#2e6e8a}.cm-s-style-mirror span.cm-def{color:#d28445}.cm-s-style-mirror span.cm-bracket{color:#202020}.cm-s-style-mirror span.cm-tag{color:#000}.cm-s-style-mirror span.cm-link{color:#b26a00}.cm-s-style-mirror span.cm-error{\n /* background: #ac4142;\n color: #f5f5f5; */text-decoration:underline;-webkit-text-decoration-style:wavy;text-decoration-style:wavy;-webkit-text-decoration-color:#df8d8e;text-decoration-color:#df8d8e}.cm-s-style-mirror .CodeMirror-activeline-background{background:#dddcdc}.cm-s-style-mirror .CodeMirror-matchingbracket{color:#202020!important;background-color:rgba(0,0,0,.1)!important}\n/*! Color themes for Google Code Prettify | MIT License | github.com/jmblog/color-themes-for-google-code-prettify */.prettyprint{font-family:Menlo,Bitstream Vera Sans Mono,DejaVu Sans Mono,Monaco,Consolas,monospace;border:0!important}.pln{color:#333}ol.linenums{margin-top:0;margin-bottom:0;color:#ccc}li.L0,\nli.L1,\nli.L2,\nli.L3,\nli.L4,\nli.L5,\nli.L6,\nli.L7,\nli.L8,\nli.L9{padding-left:1em;background-color:#fff;list-style-type:decimal}@media screen{.str{color:#183691}.kwd{color:#a71d5d}.com{color:#969896}.typ{color:#0086b3}.lit{color:#0086b3}.pun{color:#333}.opn{color:#333}.clo{color:#333}.tag{color:navy}.atn{color:#795da3}.atv{color:#183691}.dec{color:#333}.var{color:teal}.fun{color:#900}}.container_night{background-color:#333}.container_night .el-main{background-color:#333}.container_night .CodeMirror{caret-color:grey;color:grey;background-color:#1e1e1e;box-shadow:inset 0 0 0 1px rgba(100,37,37,.102)}.container_night .output_night .preview{background-color:#1e1e1e;box-shadow:0 0 70px rgba(0,0,0,.3)}.container_night .output_night .preview-wrapper{background-color:#1e1e1e;box-shadow:inset 0 0 0 1px hsla(0,4.3%,91%,.102)}.container_night .output_night .code-snippet__fix{background-color:#eee}.container_night .cm-s-style-mirror .CodeMirror-matchingbracket{color:#f0f0f0!important;background:#1e1e1e!important}.container_night .cm-s-xq-light span.cm-variable-2,\n.container_night .cm-s-style-mirror span.cm-tag{color:grey}.container_night .cm-s-xq-light .CodeMirror-activeline-background{background-color:initial}.container_night .cm-s-xq-light span.cm-string{color:#8e9eb9}.container_night .cm-s-xq-light span.cm-link{color:#84868b}.container_night .editor__header{background-color:#3c3c3c}.container_night .el-button{color:#f0f0f0;background-color:#1e1e1e;border:1px solid transparent}.container_night .el-button.is-plain:focus,\n.container_night .el-button.is-plain:hover{background:#1e1e1e;color:#f0f0f0;border:1px solid #f0f0f0}.container_night .el-button.is-plain:focus i,\n.container_night .el-button.is-plain:hover i{color:#f0f0f0}.container_night .insert__dialog .el-dialog,\n.container_night .about__dialog .el-dialog,\n.container_night .reset__dialog .el-dialog,\n.container_night .upload__dialog .el-dialog{background-color:#333}.container_night .insert__dialog .el-dialog__body,\n.container_night .about__dialog .el-dialog__body,\n.container_night .reset__dialog .el-dialog__body,\n.container_night .upload__dialog .el-dialog__body{color:#f0f0f0}.container_night .insert__dialog .el-dialog__title,\n.container_night .about__dialog .el-dialog__title,\n.container_night .reset__dialog .el-dialog__title,\n.container_night .upload__dialog .el-dialog__title,\n.container_night .insert__dialog .el-form-item__label,\n.container_night .about__dialog .el-form-item__label,\n.container_night .reset__dialog .el-form-item__label,\n.container_night .upload__dialog .el-form-item__label{color:#f0f0f0}.container_night .insert__dialog .el-tabs__item,\n.container_night .about__dialog .el-tabs__item,\n.container_night .reset__dialog .el-tabs__item,\n.container_night .upload__dialog .el-tabs__item{color:grey}.container_night .insert__dialog .el-tabs__nav-wrap::after,\n.container_night .about__dialog .el-tabs__nav-wrap::after,\n.container_night .reset__dialog .el-tabs__nav-wrap::after,\n.container_night .upload__dialog .el-tabs__nav-wrap::after{background-color:#84868b}.container_night .insert__dialog .is-active,\n.container_night .about__dialog .is-active,\n.container_night .reset__dialog .is-active,\n.container_night .upload__dialog .is-active{color:#f0f0f0}.container_night .insert__dialog .el-upload-dragger,\n.container_night .about__dialog .el-upload-dragger,\n.container_night .reset__dialog .el-upload-dragger,\n.container_night .upload__dialog .el-upload-dragger{background-color:#1e1e1e}.container_night .el-icon-upload,\n.container_night .el-icon-download,\n.container_night .el-icon-refresh,\n.container_night .el-icon-s-grid{color:#f0f0f0}.container_night ::-webkit-scrollbar{background-color:#1e1e1e}.CodeMirror{padding-bottom:0;height:100%!important;box-shadow:inset 0 0 0 1px rgba(0,0,0,.1);font-size:14px;font-family:PingFang SC,BlinkMacSystemFont,Roboto,Helvetica Neue,sans-serif!important}.CodeMirror-vscrollbar:focus{outline:none}.CodeMirror-scroll{padding:20px;padding-bottom:0;overflow-x:hidden!important;overflow-y:scroll!important}.CodeMirror-vscrollbar{width:0;height:0}.codeMirror-wrapper{height:100%!important}\n/*wechat code block*/.rich_media_content .code-snippet *,\n.rich_media_content .code-snippet__wechat *{max-width:1000%!important}.code-snippet__wechat{word-wrap:break-word!important;font-size:14px;margin:10px 8px;color:#333;position:relative;background-color:rgba(27,31,35,.05);border:1px solid #f0f0f0;border-radius:2px;display:-webkit-box;display:-webkit-flex;display:flex;line-height:24px}.code-snippet__wechat .code-snippet__line-index{counter-reset:line;-webkit-flex-shrink:0;flex-shrink:0;height:100%;padding:1em;list-style-type:none}.code-snippet__wechat .code-snippet__line-index li{list-style-type:none;text-align:right}.code-snippet__wechat .code-snippet__line-index li::before{min-width:1.5em;text-align:right;left:-2.5em;counter-increment:line;content:counter(line);display:inline;color:rgba(0,0,0,.15)}.code-snippet__wechat pre{overflow-x:auto;padding:1em 1em 1em 1em;white-space:normal;-webkit-box-flex:1;-webkit-flex:1;flex:1;-webkit-overflow-scrolling:touch}.code-snippet__wechat code{text-align:left;font-size:14px;white-space:pre;display:-webkit-box;display:-webkit-flex;display:flex;position:relative;font-family:Consolas,Liberation Mono,Menlo,Courier,monospace}.code-snippet__wechat ul li{list-style:none}\n/*github code block*/.code-snippet__github{display:-webkit-box;display:-webkit-flex;display:flex;font-size:12px;margin:10px 8px;position:relative;height:auto;background-color:rgba(27,31,35,.05)}.code-snippet__github .code-snippet__line-index{display:none}.code-snippet__github .code__pre{display:grid;position:relative;counter-reset:line;overflow-x:auto;padding:1em;white-space:normal;-webkit-box-flex:1;-webkit-flex:1;flex:1;line-height:20px;font-family:Operator Mono,Consolas,Monaco,Menlo,monospace;-webkit-overflow-scrolling:touch}.code-snippet__github pre{display:inline-block;font-size:12px}.code-snippet__github code{display:-webkit-box;display:-webkit-flex;display:flex;position:relative;padding-right:8px;text-align:left;white-space:pre;font-family:Consolas,Liberation Mono,Menlo,Courier,monospace}.code-snippet__github code::before{display:none}.code-snippet__github ul li{list-style:none}::-webkit-scrollbar{width:6px;height:6px;background-color:#fff}::-webkit-scrollbar-track{border-radius:6px;background-color:hsla(0,0%,78.4%,.3)}::-webkit-scrollbar-thumb{border-radius:6px;background-color:rgba(144,146,152,.5);-webkit-transition:background-color .3s;transition:background-color .3s}::-webkit-scrollbar-thumb:hover{background-color:rgba(144,146,152,.5)}\n/* CSS-hints */.CodeMirror-hints{position:absolute;z-index:10;overflow:hidden;list-style:none;margin:0;padding:2px;border-radius:4px;background-color:#fff;box-shadow:0 4px 8px 0 rgba(0,0,0,.12),0 2px 4px 0 rgba(0,0,0,.08);min-width:200px;font-size:12px;font-family:monospace;max-height:20em;overflow-y:auto;color:#333}.CodeMirror-hint{margin:0;margin-top:10px;padding:4px 6px;border-radius:2px;white-space:pre;color:#000;cursor:pointer}.CodeMirror-hint:first-of-type{margin-top:0}.CodeMirror-hint:hover{background:#f0f0f0}",""]),e.exports=o},dea5:function(e,o,t){"use strict";var n=t("4ea4");t("99af"),t("4de4"),t("4160"),t("c975"),t("a15b"),t("d81d"),t("fb6a"),t("b64b"),t("d3b7"),t("ac1f"),t("3ca3"),t("1276"),t("498a"),t("159b"),t("ddb0"),t("2b3d"),Object.defineProperty(o,"__esModule",{value:!0}),o.setColorWithTemplate=l,o.setFontSizeWithTemplate=d,o.customCssWithTemplate=g,o.css2json=f,o.saveEditorContent=m,o.formatDoc=b,o.formatCss=h,o.fixCodeWhiteSpace=_,o.downloadMD=x,o.createTable=v,o.checkImage=k,o.toBase64=o.setFontSize=o.setColor=o.setColorWithCustomTemplate=void 0;var r=n(t("bcaf")),i=n(t("325b")),a=n(t("4fc3")),c=n(t("d238"));function l(e){return function(o){var t=JSON.parse(JSON.stringify(e));return t.block.h1["border-bottom"]="2px solid ".concat(o),t.block.h2["background"]=o,t.block.h3["border-left"]="3px solid ".concat(o),t.block.h4["color"]=o,t.inline.strong["color"]=o,t}}var s=function(e,o){var t=JSON.parse(JSON.stringify(e));return t.block.h1["border-bottom"]="2px solid ".concat(o),t.block.h2["background"]=o,t.block.h3["border-left"]="3px solid ".concat(o),t.block.h4["color"]=o,t.inline.strong["color"]=o,t};function d(e){return function(o){var t=JSON.parse(JSON.stringify(e));return t.block.h1["font-size"]="".concat(1.14*o,"px"),t.block.h2["font-size"]="".concat(1.1*o,"px"),t.block.h3["font-size"]="".concat(o,"px"),t.block.h4["font-size"]="".concat(o,"px"),t}}o.setColorWithCustomTemplate=s;var u=l(r.default);o.setColor=u;var p=d(r.default);function g(e,o,t){var n=JSON.parse(JSON.stringify(t));return n.block.h1["border-bottom"]="2px solid ".concat(o),n.block.h2["background"]=o,n.block.h3["border-left"]="3px solid ".concat(o),n.block.h4["color"]=o,n.inline.strong["color"]=o,n.block.h1=Object.assign(n.block.h1,e.h1),n.block.h2=Object.assign(n.block.h2,e.h2),n.block.h3=Object.assign(n.block.h3,e.h3),n.block.h4=Object.assign(n.block.h4,e.h4),n.block.p=Object.assign(n.block.p,e.p),n.block.blockquote=Object.assign(n.block.blockquote,e.blockquote),n.block.blockquote_p=Object.assign(n.block.blockquote_p,e.blockquote_p),n.block.image=Object.assign(n.block.image,e.image),n.inline.strong=Object.assign(n.inline.strong,e.strong),n.inline.codespan=Object.assign(n.inline.codespan,e.codespan),n.inline.link=Object.assign(n.inline.link,e.link),n.inline.wx_link=Object.assign(n.inline.wx_link,e.wx_link),n}function f(e){var o,t;while(-1!==(o=e.indexOf("/*"))&&-1!==(t=e.indexOf("*/")))e=e.substring(0,o)+e.substring(t+2);var n={},r=function(){var o=e.indexOf("{"),t=e.indexOf("}");function r(e){var o={};return e.forEach((function(e){var t=e.indexOf(":"),n=e.substring(0,t).trim(),r=e.substring(t+1).trim();o[n]=r})),o}var i=e.substring(o+1,t).split(";").map((function(e){return e.trim()})).filter((function(e){return e.length>0}));i=r(i);var a=e.substring(0,o).split(",").map((function(e){return e.trim()}));a.forEach((function(e){n[e]||(n[e]={}),Object.keys(i).forEach((function(o){n[e][o]=i[o]}))})),e=e.slice(t+1).trim()};while(e.length>0&&-1!==e.indexOf("{")&&-1!==e.indexOf("}"))r();return n}function m(e,o){var t=e.getValue(0);t?localStorage.setItem(o,t):localStorage.removeItem(o)}function b(e){var o=i.default.format(e,{parser:"markdown",plugins:[a.default]});return o}function h(e){var o=i.default.format(e,{parser:"css",plugins:[c.default]});return o}function _(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"pre",o=document.getElementsByClassName("code__pre");o.length>0&&o.forEach((function(o){o.style.whiteSpace=e}))}function x(e){var o=document.createElement("a");o.download="content.md",o.style.display="none";var t=new Blob([e]);o.href=URL.createObjectURL(t),document.body.appendChild(o),o.click(),document.body.removeChild(o)}function v(e){for(var o=e.data,t=e.rows,n=e.cols,r="",i=[],a=0;a1?a-1:a;1===a?i.push("---\t"):i.push(o["k_".concat(l,"_").concat(c)]||"")}r+=i.join("\t|\t"),r+="\t|\n"}return r}o.setFontSize=p;var y=function(e){return new Promise((function(o,t){var n=new FileReader;n.readAsDataURL(e),n.onload=function(){return o(n.result.split(",").pop())},n.onerror=function(e){return t(e)}}))};function k(e){var o=/\.(gif|jpg|jpeg|png|GIF|JPG|PNG)$/.test(e.name);if(!o)return{ok:!1,msg:"请上传 JPG/PNG/GIF 格式的图片"};var t=5,n=e.size/1024/1024<=t;return n?{ok:!0}:{ok:!1,msg:"由于公众号限制,图片大小不能超过 ".concat(t,"M")}}o.toBase64=y}}); \ No newline at end of file diff --git a/static/js/pages-index-index.c0984933.js b/static/js/pages-index-index.3c28e8a3.js similarity index 89% rename from static/js/pages-index-index.c0984933.js rename to static/js/pages-index-index.3c28e8a3.js index 30696aa..8218764 100644 --- a/static/js/pages-index-index.c0984933.js +++ b/static/js/pages-index-index.3c28e8a3.js @@ -73,4 +73,4 @@ t.exports=function(e){return null!=e&&(n(e)||i(e)||!!e._isBuffer)}},{}],309:[fun * derived from CryptoJS.mode.CTR * Jan Hruby jhruby.web@gmail.com */ -return e.mode.CTRGladman=function(){var t=e.lib.BlockCipherMode.extend();function r(e){if(255===(e>>24&255)){var t=e>>16&255,r=e>>8&255,n=255&e;255===t?(t=0,255===r?(r=0,255===n?n=0:++n):++r):++t,e=0,e+=t<<16,e+=r<<8,e+=n}else e+=1<<24;return e}function n(e){return 0===(e[0]=r(e[0]))&&(e[1]=r(e[1])),e}var i=t.Encryptor=t.extend({processBlock:function(e,t){var r=this._cipher,i=r.blockSize,o=this._iv,a=this._counter;o&&(a=this._counter=o.slice(0),this._iv=void 0),n(a);var s=a.slice(0);r.encryptBlock(s,0);for(var c=0;cr-d-2)throw new Error("message too long");var h=f.alloc(r-n-d-2),p=r-l-1,m=i(l),b=s(f.concat([u,h,f.alloc(1,1),t],p),a(m,p)),g=s(m,a(b,l));return new c(f.concat([f.alloc(1),g,b],r))}function h(e,t,r){var n,i=t.length,o=e.modulus.byteLength();if(i>o-11)throw new Error("message too long");return n=r?f.alloc(o-i-3,255):p(o-i-3),new c(f.concat([f.from([0,r?1:2]),n,f.alloc(1),t],o))}function p(e){var t,r=f.allocUnsafe(e),n=0,o=i(2*e),a=0;while(n=0)throw new Error("data too long for modulus")}return r?l(o,a):u(o,a)}},ad71:function(e,t,r){"use strict";(function(t,n){var i=r("966d");e.exports=E;var o,a=r("e3db");E.ReadableState=w;r("faa1").EventEmitter;var s=function(e,t){return e.listeners(t).length},c=r("429b"),u=r("8707").Buffer,l=t.Uint8Array||function(){};function f(e){return u.from(e)}function d(e){return u.isBuffer(e)||e instanceof l}var h=Object.create(r("3a7c"));h.inherits=r("3fb5");var p=r(1),m=void 0;m=p&&p.debuglog?p.debuglog("stream"):function(){};var b,g=r("5e1a"),y=r("4681");h.inherits(E,c);var v=["error","close","destroy","pause","resume"];function _(e,t,r){if("function"===typeof e.prependListener)return e.prependListener(t,r);e._events&&e._events[t]?a(e._events[t])?e._events[t].unshift(r):e._events[t]=[r,e._events[t]]:e.on(t,r)}function w(e,t){o=o||r("b19a"),e=e||{};var n=t instanceof o;this.objectMode=!!e.objectMode,n&&(this.objectMode=this.objectMode||!!e.readableObjectMode);var i=e.highWaterMark,a=e.readableHighWaterMark,s=this.objectMode?16:16384;this.highWaterMark=i||0===i?i:n&&(a||0===a)?a:s,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new g,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(b||(b=r("7d72").StringDecoder),this.decoder=new b(e.encoding),this.encoding=e.encoding)}function E(e){if(o=o||r("b19a"),!(this instanceof E))return new E(e);this._readableState=new w(e,this),this.readable=!0,e&&("function"===typeof e.read&&(this._read=e.read),"function"===typeof e.destroy&&(this._destroy=e.destroy)),c.call(this)}function T(e,t,r,n,i){var o,a=e._readableState;null===t?(a.reading=!1,N(e,a)):(i||(o=x(a,t)),o?e.emit("error",o):a.objectMode||t&&t.length>0?("string"===typeof t||a.objectMode||Object.getPrototypeOf(t)===u.prototype||(t=f(t)),n?a.endEmitted?e.emit("error",new Error("stream.unshift() after end event")):S(e,a,t,!0):a.ended?e.emit("error",new Error("stream.push() after EOF")):(a.reading=!1,a.decoder&&!r?(t=a.decoder.write(t),a.objectMode||0!==t.length?S(e,a,t,!1):R(e,a)):S(e,a,t,!1))):n||(a.reading=!1));return A(a)}function S(e,t,r,n){t.flowing&&0===t.length&&!t.sync?(e.emit("data",r),e.read(0)):(t.length+=t.objectMode?1:r.length,n?t.buffer.unshift(r):t.buffer.push(r),t.needReadable&&M(e)),R(e,t)}function x(e,t){var r;return d(t)||"string"===typeof t||void 0===t||e.objectMode||(r=new TypeError("Invalid non-string/buffer chunk")),r}function A(e){return!e.ended&&(e.needReadable||e.length=k?e=k:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}function O(e,t){return e<=0||0===t.length&&t.ended?0:t.objectMode?1:e!==e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=C(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function N(e,t){if(!t.ended){if(t.decoder){var r=t.decoder.end();r&&r.length&&(t.buffer.push(r),t.length+=t.objectMode?1:r.length)}t.ended=!0,M(e)}}function M(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(m("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?i.nextTick(I,e):I(e))}function I(e){m("emit readable"),e.emit("readable"),U(e)}function R(e,t){t.readingMore||(t.readingMore=!0,i.nextTick(j,e,t))}function j(e,t){var r=t.length;while(!t.reading&&!t.flowing&&!t.ended&&t.length=t.length?(r=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.head.data:t.buffer.concat(t.length),t.buffer.clear()):r=F(e,t.buffer,t.decoder),r);var r}function F(e,t,r){var n;return eo.length?o.length:e;if(a===o.length?i+=o:i+=o.slice(0,e),e-=a,0===e){a===o.length?(++n,r.next?t.head=r.next:t.head=t.tail=null):(t.head=r,r.data=o.slice(a));break}++n}return t.length-=n,i}function G(e,t){var r=u.allocUnsafe(e),n=t.head,i=1;n.data.copy(r),e-=n.data.length;while(n=n.next){var o=n.data,a=e>o.length?o.length:e;if(o.copy(r,r.length-e,0,a),e-=a,0===e){a===o.length?(++i,n.next?t.head=n.next:t.head=t.tail=null):(t.head=n,n.data=o.slice(a));break}++i}return t.length-=i,r}function z(e){var t=e._readableState;if(t.length>0)throw new Error('"endReadable()" called on non-empty stream');t.endEmitted||(t.ended=!0,i.nextTick(K,t,e))}function K(e,t){e.endEmitted||0!==e.length||(e.endEmitted=!0,t.readable=!1,t.emit("end"))}function V(e,t){for(var r=0,n=e.length;r=t.highWaterMark||t.ended))return m("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?z(this):M(this),null;if(e=O(e,t),0===e&&t.ended)return 0===t.length&&z(this),null;var n,i=t.needReadable;return m("need readable",i),(0===t.length||t.length-e0?H(e,t):null,null===n?(t.needReadable=!0,e=0):t.length-=e,0===t.length&&(t.ended||(t.needReadable=!0),r!==e&&t.ended&&z(this)),null!==n&&this.emit("data",n),n},E.prototype._read=function(e){this.emit("error",new Error("_read() is not implemented"))},E.prototype.pipe=function(e,t){var r=this,o=this._readableState;switch(o.pipesCount){case 0:o.pipes=e;break;case 1:o.pipes=[o.pipes,e];break;default:o.pipes.push(e);break}o.pipesCount+=1,m("pipe count=%d opts=%j",o.pipesCount,t);var a=(!t||!1!==t.end)&&e!==n.stdout&&e!==n.stderr,c=a?l:w;function u(e,t){m("onunpipe"),e===r&&t&&!1===t.hasUnpiped&&(t.hasUnpiped=!0,h())}function l(){m("onend"),e.end()}o.endEmitted?i.nextTick(c):r.once("end",c),e.on("unpipe",u);var f=P(r);e.on("drain",f);var d=!1;function h(){m("cleanup"),e.removeListener("close",y),e.removeListener("finish",v),e.removeListener("drain",f),e.removeListener("error",g),e.removeListener("unpipe",u),r.removeListener("end",l),r.removeListener("end",w),r.removeListener("data",b),d=!0,!o.awaitDrain||e._writableState&&!e._writableState.needDrain||f()}var p=!1;function b(t){m("ondata"),p=!1;var n=e.write(t);!1!==n||p||((1===o.pipesCount&&o.pipes===e||o.pipesCount>1&&-1!==V(o.pipes,e))&&!d&&(m("false write response, pause",r._readableState.awaitDrain),r._readableState.awaitDrain++,p=!0),r.pause())}function g(t){m("onerror",t),w(),e.removeListener("error",g),0===s(e,"error")&&e.emit("error",t)}function y(){e.removeListener("finish",v),w()}function v(){m("onfinish"),e.removeListener("close",y),w()}function w(){m("unpipe"),r.unpipe(e)}return r.on("data",b),_(e,"error",g),e.once("close",y),e.once("finish",v),e.emit("pipe",r),o.flowing||(m("pipe resume"),r.resume()),e},E.prototype.unpipe=function(e){var t=this._readableState,r={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,r)),this;if(!e){var n=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var o=0;o0||o>0){var l=new i;l.update(u),l.update(e),t&&l.update(t),u=l.digest();var f=0;if(a>0){var d=s.length-a;f=Math.min(a,u.length),u.copy(s,d,0,f),a-=f}if(f0){var h=c.length-o,p=Math.min(o,u.length-f);u.copy(c,h,f,f+p),o-=p}}return u.fill(0),{key:s,iv:c}}e.exports=o},b184:function(e,t,r){"use strict";var n=r("24d1"),i=r.n(n);i.a},b19a:function(e,t,r){"use strict";var n=r("966d"),i=Object.keys||function(e){var t=[];for(var r in e)t.push(r);return t};e.exports=f;var o=Object.create(r("3a7c"));o.inherits=r("3fb5");var a=r("ad71"),s=r("dc14");o.inherits(f,a);for(var c=i(s.prototype),u=0;u>>32-t}function m(e,t,r,n,i,o,a,s){return p(e+(t^r^n)+o+a|0,s)+i|0}function b(e,t,r,n,i,o,a,s){return p(e+(t&r|~t&n)+o+a|0,s)+i|0}function g(e,t,r,n,i,o,a,s){return p(e+((t|~r)^n)+o+a|0,s)+i|0}function y(e,t,r,n,i,o,a,s){return p(e+(t&n|r&~n)+o+a|0,s)+i|0}function v(e,t,r,n,i,o,a,s){return p(e+(t^(r|~n))+o+a|0,s)+i|0}i(h,o),h.prototype._update=function(){for(var e=a,t=0;t<16;++t)e[t]=this._block.readInt32LE(4*t);for(var r=0|this._a,n=0|this._b,i=0|this._c,o=0|this._d,h=0|this._e,_=0|this._a,w=0|this._b,E=0|this._c,T=0|this._d,S=0|this._e,x=0;x<80;x+=1){var A,k;x<16?(A=m(r,n,i,o,h,e[s[x]],f[0],u[x]),k=v(_,w,E,T,S,e[c[x]],d[0],l[x])):x<32?(A=b(r,n,i,o,h,e[s[x]],f[1],u[x]),k=y(_,w,E,T,S,e[c[x]],d[1],l[x])):x<48?(A=g(r,n,i,o,h,e[s[x]],f[2],u[x]),k=g(_,w,E,T,S,e[c[x]],d[2],l[x])):x<64?(A=y(r,n,i,o,h,e[s[x]],f[3],u[x]),k=b(_,w,E,T,S,e[c[x]],d[3],l[x])):(A=v(r,n,i,o,h,e[s[x]],f[4],u[x]),k=m(_,w,E,T,S,e[c[x]],d[4],l[x])),r=h,h=o,o=p(i,10),i=n,n=A,_=S,S=T,T=p(E,10),E=w,w=k}var C=this._b+i+T|0;this._b=this._c+o+S|0,this._c=this._d+h+_|0,this._d=this._e+r+w|0,this._e=this._a+n+E|0,this._a=C},h.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var e=n.alloc?n.alloc(20):new n(20);return e.writeInt32LE(this._a,0),e.writeInt32LE(this._b,4),e.writeInt32LE(this._c,8),e.writeInt32LE(this._d,12),e.writeInt32LE(this._e,16),e},e.exports=h},b65f:function(e,t,r){var n=r("23e7"),i=Math.ceil,o=Math.floor;n({target:"Math",stat:!0},{trunc:function(e){return(e>0?o:i)(e)}})},b672:function(e,t,r){var n=r("8707").Buffer;function i(e,t){this._block=n.alloc(e),this._finalSize=t,this._blockSize=e,this._len=0}i.prototype.update=function(e,t){"string"===typeof e&&(t=t||"utf8",e=n.from(e,t));for(var r=this._block,i=this._blockSize,o=e.length,a=this._len,s=0;s=this._finalSize&&(this._update(this._block),this._block.fill(0));var r=8*this._len;if(r<=4294967295)this._block.writeUInt32BE(r,this._blockSize-4);else{var n=(4294967295&r)>>>0,i=(r-n)/4294967296;this._block.writeUInt32BE(i,this._blockSize-8),this._block.writeUInt32BE(n,this._blockSize-4)}this._update(this._block);var o=this._hash();return e?o.toString(e):o},i.prototype._update=function(){throw new Error("_update must be implemented by subclass")},e.exports=i},b692:function(e,t,r){var n=r("8707").Buffer,i=r("98e6"),o=r("e372"),a=r("3fb5"),s=r("6fe7"),c=r("980c"),u=r("b4e8");function l(e){o.Writable.call(this);var t=u[e];if(!t)throw new Error("Unknown message digest");this._hashType=t.hash,this._hash=i(t.hash),this._tag=t.id,this._signType=t.sign}function f(e){o.Writable.call(this);var t=u[e];if(!t)throw new Error("Unknown message digest");this._hash=i(t.hash),this._tag=t.id,this._signType=t.sign}function d(e){return new l(e)}function h(e){return new f(e)}Object.keys(u).forEach((function(e){u[e].id=n.from(u[e].id,"hex"),u[e.toLowerCase()]=u[e]})),a(l,o.Writable),l.prototype._write=function(e,t,r){this._hash.update(e),r()},l.prototype.update=function(e,t){return"string"===typeof e&&(e=n.from(e,t)),this._hash.update(e),this},l.prototype.sign=function(e,t){this.end();var r=this._hash.digest(),n=s(r,e,this._hashType,this._signType,this._tag);return t?n.toString(t):n},a(f,o.Writable),f.prototype._write=function(e,t,r){this._hash.update(e),r()},f.prototype.update=function(e,t){return"string"===typeof e&&(e=n.from(e,t)),this._hash.update(e),this},f.prototype.verify=function(e,t,r){"string"===typeof t&&(t=n.from(t,r)),this.end();var i=this._hash.digest();return c(t,i,e,this._signType,this._tag)},e.exports={Sign:d,Verify:h,createSign:d,createVerify:h}},b73f:function(e,t,r){"use strict";var n=r("399f"),i=r("f3a3"),o=i.assert;function a(e,t){if(e instanceof a)return e;this._importDER(e,t)||(o(e.r&&e.s,"Signature without r or s"),this.r=new n(e.r,16),this.s=new n(e.s,16),void 0===e.recoveryParam?this.recoveryParam=null:this.recoveryParam=e.recoveryParam)}function s(){this.place=0}function c(e,t){var r=e[t.place++];if(!(128&r))return r;var n=15&r;if(0===n||n>4)return!1;for(var i=0,o=0,a=t.place;o>>=0;return!(i<=127)&&(t.place=a,i)}function u(e){var t=0,r=e.length-1;while(!e[t]&&!(128&e[t+1])&&t>>3);e.push(128|r);while(--r)e.push(t>>>(r<<3)&255);e.push(t)}}e.exports=a,a.prototype._importDER=function(e,t){e=i.toArray(e,t);var r=new s;if(48!==e[r.place++])return!1;var o=c(e,r);if(!1===o)return!1;if(o+r.place!==e.length)return!1;if(2!==e[r.place++])return!1;var a=c(e,r);if(!1===a)return!1;var u=e.slice(r.place,a+r.place);if(r.place+=a,2!==e[r.place++])return!1;var l=c(e,r);if(!1===l)return!1;if(e.length!==l+r.place)return!1;var f=e.slice(r.place,l+r.place);if(0===u[0]){if(!(128&u[1]))return!1;u=u.slice(1)}if(0===f[0]){if(!(128&f[1]))return!1;f=f.slice(1)}return this.r=new n(u),this.s=new n(f),this.recoveryParam=null,!0},a.prototype.toDER=function(e){var t=this.r.toArray(),r=this.s.toArray();128&t[0]&&(t=[0].concat(t)),128&r[0]&&(r=[0].concat(r)),t=u(t),r=u(r);while(!r[0]&&!(128&r[1]))r=r.slice(1);var n=[2];l(n,t.length),n=n.concat(t),n.push(2),l(n,r.length);var o=n.concat(r),a=[48];return l(a,o.length),a=a.concat(o),i.encode(a,e)}},b7d1:function(e,t,r){(function(t){function r(e,t){if(n("noDeprecation"))return e;var r=!1;function i(){if(!r){if(n("throwDeprecation"))throw new Error(t);n("traceDeprecation")?console.trace(t):console.warn(t),r=!0}return e.apply(this,arguments)}return i}function n(e){try{if(!t.localStorage)return!1}catch(n){return!1}var r=t.localStorage[e];return null!=r&&"true"===String(r).toLowerCase()}e.exports=r}).call(this,r("c8ba"))},b837:function(e,t,r){var n=r("3fb5"),i=r("4fd1"),o=r("b672"),a=r("8707").Buffer,s=new Array(160);function c(){this.init(),this._w=s,o.call(this,128,112)}n(c,i),c.prototype.init=function(){return this._ah=3418070365,this._bh=1654270250,this._ch=2438529370,this._dh=355462360,this._eh=1731405415,this._fh=2394180231,this._gh=3675008525,this._hh=1203062813,this._al=3238371032,this._bl=914150663,this._cl=812702999,this._dl=4144912697,this._el=4290775857,this._fl=1750603025,this._gl=1694076839,this._hl=3204075428,this},c.prototype._hash=function(){var e=a.allocUnsafe(48);function t(t,r,n){e.writeInt32BE(t,n),e.writeInt32BE(r,n+4)}return t(this._ah,this._al,0),t(this._bh,this._bl,8),t(this._ch,this._cl,16),t(this._dh,this._dl,24),t(this._eh,this._el,32),t(this._fh,this._fl,40),e},e.exports=c},b86b:function(e,t,r){(function(t,n,i){e.exports=n(r("21bf"),r("3252"),r("d6e6"))})(0,(function(e){return function(){var t=e,r=t.x64,n=r.Word,i=r.WordArray,o=t.algo,a=o.SHA512,s=o.SHA384=a.extend({_doReset:function(){this._hash=new i.init([new n.init(3418070365,3238371032),new n.init(1654270250,914150663),new n.init(2438529370,812702999),new n.init(355462360,4144912697),new n.init(1731405415,4290775857),new n.init(2394180231,1750603025),new n.init(3675008525,1694076839),new n.init(1203062813,3204075428)])},_doFinalize:function(){var e=a._doFinalize.call(this);return e.sigBytes-=16,e}});t.SHA384=a._createHelper(s),t.HmacSHA384=a._createHmacHelper(s)}(),e.SHA384}))},b86c:function(e,t,r){(function(t,n,i){e.exports=n(r("21bf"),r("38ba"))})(0,(function(e){return e.pad.NoPadding={pad:function(){},unpad:function(){}},e.pad.NoPadding}))},b960:function(e){e.exports=JSON.parse('{"Aacute":"Á","aacute":"á","Acirc":"Â","acirc":"â","acute":"´","AElig":"Æ","aelig":"æ","Agrave":"À","agrave":"à","amp":"&","AMP":"&","Aring":"Å","aring":"å","Atilde":"Ã","atilde":"ã","Auml":"Ä","auml":"ä","brvbar":"¦","Ccedil":"Ç","ccedil":"ç","cedil":"¸","cent":"¢","copy":"©","COPY":"©","curren":"¤","deg":"°","divide":"÷","Eacute":"É","eacute":"é","Ecirc":"Ê","ecirc":"ê","Egrave":"È","egrave":"è","ETH":"Ð","eth":"ð","Euml":"Ë","euml":"ë","frac12":"½","frac14":"¼","frac34":"¾","gt":">","GT":">","Iacute":"Í","iacute":"í","Icirc":"Î","icirc":"î","iexcl":"¡","Igrave":"Ì","igrave":"ì","iquest":"¿","Iuml":"Ï","iuml":"ï","laquo":"«","lt":"<","LT":"<","macr":"¯","micro":"µ","middot":"·","nbsp":" ","not":"¬","Ntilde":"Ñ","ntilde":"ñ","Oacute":"Ó","oacute":"ó","Ocirc":"Ô","ocirc":"ô","Ograve":"Ò","ograve":"ò","ordf":"ª","ordm":"º","Oslash":"Ø","oslash":"ø","Otilde":"Õ","otilde":"õ","Ouml":"Ö","ouml":"ö","para":"¶","plusmn":"±","pound":"£","quot":"\\"","QUOT":"\\"","raquo":"»","reg":"®","REG":"®","sect":"§","shy":"­","sup1":"¹","sup2":"²","sup3":"³","szlig":"ß","THORN":"Þ","thorn":"þ","times":"×","Uacute":"Ú","uacute":"ú","Ucirc":"Û","ucirc":"û","Ugrave":"Ù","ugrave":"ù","uml":"¨","Uuml":"Ü","uuml":"ü","Yacute":"Ý","yacute":"ý","yen":"¥","yuml":"ÿ"}')},b9a8:function(e,t,r){"use strict";var n=r("399f"),i=r("6aa2"),o=r("f3a3"),a=r("0cbb"),s=r("fdac"),c=o.assert,u=r("bb34"),l=r("b73f");function f(e){if(!(this instanceof f))return new f(e);"string"===typeof e&&(c(Object.prototype.hasOwnProperty.call(a,e),"Unknown curve "+e),e=a[e]),e instanceof a.PresetCurve&&(e={curve:e}),this.curve=e.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=e.curve.g,this.g.precompute(e.curve.n.bitLength()+1),this.hash=e.hash||e.curve.hash}e.exports=f,f.prototype.keyPair=function(e){return new u(this,e)},f.prototype.keyFromPrivate=function(e,t){return u.fromPrivate(this,e,t)},f.prototype.keyFromPublic=function(e,t){return u.fromPublic(this,e,t)},f.prototype.genKeyPair=function(e){e||(e={});for(var t=new i({hash:this.hash,pers:e.pers,persEnc:e.persEnc||"utf8",entropy:e.entropy||s(this.hash.hmacStrength),entropyEnc:e.entropy&&e.entropyEnc||"utf8",nonce:this.n.toArray()}),r=this.n.byteLength(),o=this.n.sub(new n(2));;){var a=new n(t.generate(r));if(!(a.cmp(o)>0))return a.iaddn(1),this.keyFromPrivate(a)}},f.prototype._truncateToN=function(e,t){var r=8*e.byteLength()-this.n.bitLength();return r>0&&(e=e.ushrn(r)),!t&&e.cmp(this.n)>=0?e.sub(this.n):e},f.prototype.sign=function(e,t,r,o){"object"===typeof r&&(o=r,r=null),o||(o={}),t=this.keyFromPrivate(t,r),e=this._truncateToN(new n(e,16));for(var a=this.n.byteLength(),s=t.getPrivate().toArray("be",a),c=e.toArray("be",a),u=new i({hash:this.hash,entropy:s,nonce:c,pers:o.pers,persEnc:o.persEnc||"utf8"}),f=this.n.sub(new n(1)),d=0;;d++){var h=o.k?o.k(d):new n(u.generate(this.n.byteLength()));if(h=this._truncateToN(h,!0),!(h.cmpn(1)<=0||h.cmp(f)>=0)){var p=this.g.mul(h);if(!p.isInfinity()){var m=p.getX(),b=m.umod(this.n);if(0!==b.cmpn(0)){var g=h.invm(this.n).mul(b.mul(t.getPrivate()).iadd(e));if(g=g.umod(this.n),0!==g.cmpn(0)){var y=(p.getY().isOdd()?1:0)|(0!==m.cmp(b)?2:0);return o.canonical&&g.cmp(this.nh)>0&&(g=this.n.sub(g),y^=1),new l({r:b,s:g,recoveryParam:y})}}}}}},f.prototype.verify=function(e,t,r,i){e=this._truncateToN(new n(e,16)),r=this.keyFromPublic(r,i),t=new l(t,"hex");var o=t.r,a=t.s;if(o.cmpn(1)<0||o.cmp(this.n)>=0)return!1;if(a.cmpn(1)<0||a.cmp(this.n)>=0)return!1;var s,c=a.invm(this.n),u=c.mul(e).umod(this.n),f=c.mul(o).umod(this.n);return this.curve._maxwellTrick?(s=this.g.jmulAdd(u,r.getPublic(),f),!s.isInfinity()&&s.eqXToP(o)):(s=this.g.mulAdd(u,r.getPublic(),f),!s.isInfinity()&&0===s.getX().umod(this.n).cmp(o))},f.prototype.recoverPubKey=function(e,t,r,i){c((3&r)===r,"The recovery param is more than two bits"),t=new l(t,i);var o=this.n,a=new n(e),s=t.r,u=t.s,f=1&r,d=r>>1;if(s.cmp(this.curve.p.umod(this.curve.n))>=0&&d)throw new Error("Unable to find sencond key candinate");s=d?this.curve.pointFromX(s.add(this.curve.n),f):this.curve.pointFromX(s,f);var h=t.r.invm(o),p=o.sub(a).mul(h).umod(o),m=u.mul(h).umod(o);return this.g.mulAdd(p,s,m)},f.prototype.getKeyRecoveryParam=function(e,t,r,n){if(t=new l(t,n),null!==t.recoveryParam)return t.recoveryParam;for(var i=0;i<4;i++){var o;try{o=this.recoverPubKey(e,t,i)}catch(e){continue}if(o.eq(r))return i}throw new Error("Unable to find valid recovery factor")}},ba75:function(e,t,r){"use strict";var n=r("3e0a"),i=r.n(n);i.a},bac2:function(e,t,r){var n={ECB:r("0145"),CBC:r("c119"),CFB:r("3505"),CFB8:r("62c9"),CFB1:r("5239"),OFB:r("5165"),CTR:r("6ade"),GCM:r("6ade")},i=r("e85f");for(var o in i)i[o].module=n[i[o].mode];e.exports=i},bb2f:function(e,t,r){var n=r("d039");e.exports=!n((function(){return Object.isExtensible(Object.preventExtensions({}))}))},bb34:function(e,t,r){"use strict";var n=r("399f"),i=r("f3a3"),o=i.assert;function a(e,t){this.ec=e,this.priv=null,this.pub=null,t.priv&&this._importPrivate(t.priv,t.privEnc),t.pub&&this._importPublic(t.pub,t.pubEnc)}e.exports=a,a.fromPublic=function(e,t,r){return t instanceof a?t:new a(e,{pub:t,pubEnc:r})},a.fromPrivate=function(e,t,r){return t instanceof a?t:new a(e,{priv:t,privEnc:r})},a.prototype.validate=function(){var e=this.getPublic();return e.isInfinity()?{result:!1,reason:"Invalid public key"}:e.validate()?e.mul(this.ec.curve.n).isInfinity()?{result:!0,reason:null}:{result:!1,reason:"Public key * N != O"}:{result:!1,reason:"Public key is not a point"}},a.prototype.getPublic=function(e,t){return"string"===typeof e&&(t=e,e=null),this.pub||(this.pub=this.ec.g.mul(this.priv)),t?this.pub.encode(t,e):this.pub},a.prototype.getPrivate=function(e){return"hex"===e?this.priv.toString(16,2):this.priv},a.prototype._importPrivate=function(e,t){this.priv=new n(e,t||16),this.priv=this.priv.umod(this.ec.curve.n)},a.prototype._importPublic=function(e,t){if(e.x||e.y)return"mont"===this.ec.curve.type?o(e.x,"Need x coordinate"):"short"!==this.ec.curve.type&&"edwards"!==this.ec.curve.type||o(e.x&&e.y,"Need both x and y coordinate"),void(this.pub=this.ec.curve.point(e.x,e.y));this.pub=this.ec.curve.decodePoint(e,t)},a.prototype.derive=function(e){return e.validate()||o(e.validate(),"public point not validated"),e.mul(this.priv).getX()},a.prototype.sign=function(e,t,r){return this.ec.sign(e,this,t,r)},a.prototype.verify=function(e,t){return this.ec.verify(e,t,this)},a.prototype.inspect=function(){return""}},bb44:function(e,t,r){"use strict";var n=r("c3c0"),i=r("edc9"),o=n.rotl32,a=n.sum32,s=n.sum32_3,c=n.sum32_4,u=i.BlockHash;function l(){if(!(this instanceof l))return new l;u.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.endian="little"}function f(e,t,r,n){return e<=15?t^r^n:e<=31?t&r|~t&n:e<=47?(t|~r)^n:e<=63?t&n|r&~n:t^(r|~n)}function d(e){return e<=15?0:e<=31?1518500249:e<=47?1859775393:e<=63?2400959708:2840853838}function h(e){return e<=15?1352829926:e<=31?1548603684:e<=47?1836072691:e<=63?2053994217:0}n.inherits(l,u),t.ripemd160=l,l.blockSize=512,l.outSize=160,l.hmacStrength=192,l.padLength=64,l.prototype._update=function(e,t){for(var r=this.h[0],n=this.h[1],i=this.h[2],u=this.h[3],l=this.h[4],y=r,v=n,_=i,w=u,E=l,T=0;T<80;T++){var S=a(o(c(r,f(T,n,i,u),e[p[T]+t],d(T)),b[T]),l);r=l,l=u,u=o(i,10),i=n,n=S,S=a(o(c(y,f(79-T,v,_,w),e[m[T]+t],h(T)),g[T]),E),y=E,E=w,w=o(_,10),_=v,v=S}S=s(this.h[1],i,w),this.h[1]=s(this.h[2],u,E),this.h[2]=s(this.h[3],l,y),this.h[3]=s(this.h[4],r,v),this.h[4]=s(this.h[0],n,_),this.h[0]=S},l.prototype._digest=function(e){return"hex"===e?n.toHex32(this.h,"little"):n.split32(this.h,"little")};var p=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],m=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],b=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],g=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]},bc3a:function(e,t,r){e.exports=r("cee4")},bd25:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),i(r("68b4"),t),i(r("26f9"),t),i(r("7a39"),t),i(r("733c"),t),i(r("9f20"),t),i(r("f67e"),t),i(r("312c"),t)},bd9d:function(e,t){function r(e){var t,r=e.length;while(r--){if(t=e.readUInt8(r),255!==t){t++,e.writeUInt8(t,r);break}e.writeUInt8(0,r)}}e.exports=r},be28:function(e,t,r){"use strict";r.r(t);var n=r("7cc8"),i=r.n(n);for(var o in n)["default"].indexOf(o)<0&&function(e){r.d(t,e,(function(){return n[e]}))}(o);t["default"]=i.a},bff2:function(e,t,r){"use strict";var n;r.d(t,"b",(function(){return i})),r.d(t,"c",(function(){return o})),r.d(t,"a",(function(){return n}));var i=function(){var e=this,t=e.$createElement,r=e._self._c||t;return e.loading?r("transition",{attrs:{name:"fade"}},[r("loading")],1):r("codemirror-editor")},o=[]},c119:function(e,t,r){var n=r("8c8a");t.encrypt=function(e,t){var r=n(t,e._prev);return e._prev=e._cipher.encryptBlock(r),e._prev},t.decrypt=function(e,t){var r=e._prev;e._prev=t;var i=e._cipher.decryptBlock(t);return n(i,r)}},c198:function(e,t,r){(function(t,n,i){e.exports=n(r("21bf"),r("1132"),r("72fe"),r("2b79"),r("38ba"))})(0,(function(e){return function(){var t=e,r=t.lib,n=r.BlockCipher,i=t.algo,o=[],a=[],s=[],c=[],u=[],l=[],f=[],d=[],h=[],p=[];(function(){for(var e=[],t=0;t<256;t++)e[t]=t<128?t<<1:t<<1^283;var r=0,n=0;for(t=0;t<256;t++){var i=n^n<<1^n<<2^n<<3^n<<4;i=i>>>8^255&i^99,o[r]=i,a[i]=r;var m=e[r],b=e[m],g=e[b],y=257*e[i]^16843008*i;s[r]=y<<24|y>>>8,c[r]=y<<16|y>>>16,u[r]=y<<8|y>>>24,l[r]=y;y=16843009*g^65537*b^257*m^16843008*r;f[i]=y<<24|y>>>8,d[i]=y<<16|y>>>16,h[i]=y<<8|y>>>24,p[i]=y,r?(r=m^e[e[e[g^m]]],n^=e[e[n]]):r=n=1}})();var m=[0,1,2,4,8,16,32,64,128,27,54],b=i.AES=n.extend({_doReset:function(){if(!this._nRounds||this._keyPriorReset!==this._key){for(var e=this._keyPriorReset=this._key,t=e.words,r=e.sigBytes/4,n=this._nRounds=r+6,i=4*(n+1),a=this._keySchedule=[],s=0;s6&&s%r==4&&(l=o[l>>>24]<<24|o[l>>>16&255]<<16|o[l>>>8&255]<<8|o[255&l]):(l=l<<8|l>>>24,l=o[l>>>24]<<24|o[l>>>16&255]<<16|o[l>>>8&255]<<8|o[255&l],l^=m[s/r|0]<<24),a[s]=a[s-r]^l);for(var c=this._invKeySchedule=[],u=0;u>>24]]^d[o[l>>>16&255]]^h[o[l>>>8&255]]^p[o[255&l]]}}},encryptBlock:function(e,t){this._doCryptBlock(e,t,this._keySchedule,s,c,u,l,o)},decryptBlock:function(e,t){var r=e[t+1];e[t+1]=e[t+3],e[t+3]=r,this._doCryptBlock(e,t,this._invKeySchedule,f,d,h,p,a);r=e[t+1];e[t+1]=e[t+3],e[t+3]=r},_doCryptBlock:function(e,t,r,n,i,o,a,s){for(var c=this._nRounds,u=e[t]^r[0],l=e[t+1]^r[1],f=e[t+2]^r[2],d=e[t+3]^r[3],h=4,p=1;p>>24]^i[l>>>16&255]^o[f>>>8&255]^a[255&d]^r[h++],b=n[l>>>24]^i[f>>>16&255]^o[d>>>8&255]^a[255&u]^r[h++],g=n[f>>>24]^i[d>>>16&255]^o[u>>>8&255]^a[255&l]^r[h++],y=n[d>>>24]^i[u>>>16&255]^o[l>>>8&255]^a[255&f]^r[h++];u=m,l=b,f=g,d=y}m=(s[u>>>24]<<24|s[l>>>16&255]<<16|s[f>>>8&255]<<8|s[255&d])^r[h++],b=(s[l>>>24]<<24|s[f>>>16&255]<<16|s[d>>>8&255]<<8|s[255&u])^r[h++],g=(s[f>>>24]<<24|s[d>>>16&255]<<16|s[u>>>8&255]<<8|s[255&l])^r[h++],y=(s[d>>>24]<<24|s[u>>>16&255]<<16|s[l>>>8&255]<<8|s[255&f])^r[h++];e[t]=m,e[t+1]=b,e[t+2]=g,e[t+3]=y},keySize:8});t.AES=n._createHelper(b)}(),e.AES}))},c1a2:function(e,t,r){"use strict";var n;r.d(t,"b",(function(){return i})),r.d(t,"c",(function(){return o})),r.d(t,"a",(function(){return n}));var i=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("el-dialog",{staticClass:"about__dialog",attrs:{title:"关于",visible:e.value,width:"30%",center:!0},on:{close:function(t){arguments[0]=t=e.$handleEvent(t),e.$emit("input",!1)}}},[r("div",{staticStyle:{"text-align":"center"}},[r("h3",[e._v("一款高度简洁的微信 Markdown 编辑器")])]),r("div",{staticStyle:{"text-align":"center","margin-top":"10px"}},[r("p",[e._v("扫码关注我的公众号,原创技术文章第一时间推送!")]),r("img",{staticStyle:{width:"40%",display:"block",margin:"20px auto 10px"},attrs:{src:"https://gitee.com/yanglbme/resource/raw/master/doocs-md/qrcode.png"}})]),r("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[r("el-button",{attrs:{type:"primary",plain:!0},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.onRedirect("https://github.com/doocs/md")}}},[e._v("GitHub 仓库")]),r("el-button",{attrs:{type:"primary",plain:!0},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.onRedirect("https://gitee.com/doocs/md")}}},[e._v("Gitee 仓库")])],1)])},o=[]},c24d:function(e){e.exports=JSON.parse('{"modp1":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a63a3620ffffffffffffffff"},"modp2":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece65381ffffffffffffffff"},"modp5":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca237327ffffffffffffffff"},"modp14":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aacaa68ffffffffffffffff"},"modp15":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a93ad2caffffffffffffffff"},"modp16":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c934063199ffffffffffffffff"},"modp17":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dcc4024ffffffffffffffff"},"modp18":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dbe115974a3926f12fee5e438777cb6a932df8cd8bec4d073b931ba3bc832b68d9dd300741fa7bf8afc47ed2576f6936ba424663aab639c5ae4f5683423b4742bf1c978238f16cbe39d652de3fdb8befc848ad922222e04a4037c0713eb57a81a23f0c73473fc646cea306b4bcbc8862f8385ddfa9d4b7fa2c087e879683303ed5bdd3a062b3cf5b3a278a66d2a13f83f44f82ddf310ee074ab6a364597e899a0255dc164f31cc50846851df9ab48195ded7ea1b1d510bd7ee74d73faf36bc31ecfa268359046f4eb879f924009438b481c6cd7889a002ed5ee382bc9190da6fc026e479558e4475677e9aa9e3050e2765694dfc81f56e880b96e7160c980dd98edd3dfffffffffffffffff"}}')},c251:function(e,t,r){"use strict";r.r(t);var n=r("77cb"),i=r("be28");for(var o in i)["default"].indexOf(o)<0&&function(e){r.d(t,e,(function(){return i[e]}))}(o);r("cfc5");var a,s=r("f0c5"),c=Object(s["a"])(i["default"],n["b"],n["c"],!1,null,"517611a9",null,!1,n["a"],a);t["default"]=c.exports},c2ac:function(e,t,r){"use strict";var n=r("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(r("5530")),o=r("2f62"),a={props:{showResetConfirm:{type:Boolean,default:!1}},computed:(0,i.default)({btnType:function(){return this.nightMode?"default":"primary"}},(0,o.mapState)({nightMode:function(e){return e.nightMode}}))};t.default=a},c2ae:function(e,t,r){e.exports=r("e372").PassThrough},c345:function(e,t,r){"use strict";var n=r("c532"),i=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,r,o,a={};return e?(n.forEach(e.split("\n"),(function(e){if(o=e.indexOf(":"),t=n.trim(e.substr(0,o)).toLowerCase(),r=n.trim(e.substr(o+1)),t){if(a[t]&&i.indexOf(t)>=0)return;a[t]="set-cookie"===t?(a[t]?a[t]:[]).concat([r]):a[t]?a[t]+", "+r:r}})),a):a}},c3b6:function(e,t,r){(function(t,n,i){e.exports=n(r("21bf"),r("1132"),r("72fe"),r("2b79"),r("38ba"))})(0,(function(e){return function(){var t=e,r=t.lib,n=r.StreamCipher,i=t.algo,o=i.RC4=n.extend({_doReset:function(){for(var e=this._key,t=e.words,r=e.sigBytes,n=this._S=[],i=0;i<256;i++)n[i]=i;i=0;for(var o=0;i<256;i++){var a=i%r,s=t[a>>>2]>>>24-a%4*8&255;o=(o+n[i]+s)%256;var c=n[i];n[i]=n[o],n[o]=c}this._i=this._j=0},_doProcessBlock:function(e,t){e[t]^=a.call(this)},keySize:8,ivSize:0});function a(){for(var e=this._S,t=this._i,r=this._j,n=0,i=0;i<4;i++){t=(t+1)%256,r=(r+e[t])%256;var o=e[t];e[t]=e[r],e[r]=o,n|=e[(e[t]+e[r])%256]<<24-8*i}return this._i=t,this._j=r,n}t.RC4=n._createHelper(o);var s=i.RC4Drop=o.extend({cfg:o.cfg.extend({drop:192}),_doReset:function(){o._doReset.call(this);for(var e=this.cfg.drop;e>0;e--)a.call(this)}});t.RC4Drop=n._createHelper(s)}(),e.RC4}))},c3c0:function(e,t,r){"use strict";var n=r("da3e"),i=r("3fb5");function o(e,t){return 55296===(64512&e.charCodeAt(t))&&(!(t<0||t+1>=e.length)&&56320===(64512&e.charCodeAt(t+1)))}function a(e,t){if(Array.isArray(e))return e.slice();if(!e)return[];var r=[];if("string"===typeof e)if(t){if("hex"===t)for(e=e.replace(/[^a-z0-9]+/gi,""),e.length%2!==0&&(e="0"+e),i=0;i>6|192,r[n++]=63&a|128):o(e,i)?(a=65536+((1023&a)<<10)+(1023&e.charCodeAt(++i)),r[n++]=a>>18|240,r[n++]=a>>12&63|128,r[n++]=a>>6&63|128,r[n++]=63&a|128):(r[n++]=a>>12|224,r[n++]=a>>6&63|128,r[n++]=63&a|128)}else for(i=0;i>>24|e>>>8&65280|e<<8&16711680|(255&e)<<24;return t>>>0}function u(e,t){for(var r="",n=0;n>>0}return a}function h(e,t){for(var r=new Array(4*e.length),n=0,i=0;n>>24,r[i+1]=o>>>16&255,r[i+2]=o>>>8&255,r[i+3]=255&o):(r[i+3]=o>>>24,r[i+2]=o>>>16&255,r[i+1]=o>>>8&255,r[i]=255&o)}return r}function p(e,t){return e>>>t|e<<32-t}function m(e,t){return e<>>32-t}function b(e,t){return e+t>>>0}function g(e,t,r){return e+t+r>>>0}function y(e,t,r,n){return e+t+r+n>>>0}function v(e,t,r,n,i){return e+t+r+n+i>>>0}function _(e,t,r,n){var i=e[t],o=e[t+1],a=n+o>>>0,s=(a>>0,e[t+1]=a}function w(e,t,r,n){var i=t+n>>>0,o=(i>>0}function E(e,t,r,n){var i=t+n;return i>>>0}function T(e,t,r,n,i,o,a,s){var c=0,u=t;u=u+n>>>0,c+=u>>0,c+=u>>0,c+=u>>0}function S(e,t,r,n,i,o,a,s){var c=t+n+o+s;return c>>>0}function x(e,t,r,n,i,o,a,s,c,u){var l=0,f=t;f=f+n>>>0,l+=f>>0,l+=f>>0,l+=f>>0,l+=f>>0}function A(e,t,r,n,i,o,a,s,c,u){var l=t+n+o+s+u;return l>>>0}function k(e,t,r){var n=t<<32-r|e>>>r;return n>>>0}function C(e,t,r){var n=e<<32-r|t>>>r;return n>>>0}function O(e,t,r){return e>>>r}function N(e,t,r){var n=e<<32-r|t>>>r;return n>>>0}t.inherits=i,t.toArray=a,t.toHex=s,t.htonl=c,t.toHex32=u,t.zero2=l,t.zero8=f,t.join32=d,t.split32=h,t.rotr32=p,t.rotl32=m,t.sum32=b,t.sum32_3=g,t.sum32_4=y,t.sum32_5=v,t.sum64=_,t.sum64_hi=w,t.sum64_lo=E,t.sum64_4_hi=T,t.sum64_4_lo=S,t.sum64_5_hi=x,t.sum64_5_lo=A,t.rotr64_hi=k,t.rotr64_lo=C,t.shr64_hi=O,t.shr64_lo=N},c401:function(e,t,r){"use strict";var n=r("c532");e.exports=function(e,t,r){return n.forEach(r,(function(r){e=r(e,t)})),e}},c415:function(e,t,r){var n=!1,i=!1,o=r("115b")("lex");function a(e){var t,r,a="",s=0,c=-1,u=0,l=1,f="before-selector",d=[f],h={},p=[],m=["media","keyframes",{name:"-webkit-keyframes",type:"keyframes",prefix:"-webkit-"},{name:"-moz-keyframes",type:"keyframes",prefix:"-moz-"},{name:"-ms-keyframes",type:"keyframes",prefix:"-ms-"},{name:"-o-keyframes",type:"keyframes",prefix:"-o-"},"font-face",{name:"import",state:"before-at-value"},{name:"charset",state:"before-at-value"},"supports","viewport",{name:"namespace",state:"before-at-value"},"document",{name:"-moz-document",type:"document",prefix:"-moz-"},"page"];function b(){return x(),e[c]}function g(e){return e?d[d.length-1-e]:f}function y(t){var r=c+1;return t===e.slice(r,r+t.length)}function v(t){var r=e.slice(c).indexOf(t);return r>0&&r}function _(e){return e===w(1)}function w(t){return e[c+(t||1)]}function E(){var e=d.pop();return f=d[d.length-1],e}function T(e){return f=e,d.push(f),d.length}function S(e){var t=f;return d[d.length-1]=f=e,t}function x(t){if(1==(t||1))"\n"==e[c]?(l++,s=1):s++,c++;else{var r=e.slice(c,c+t).split("\n");r.length>1&&(l+=r.length-1,s=1),s+=r[r.length-1].length,c+=t}}function A(){h.end={line:l,col:s},n&&o("addToken:",JSON.stringify(h,null,2)),p.push(h),a="",h={}}function k(e){h={type:e,start:{line:l,col:s}}}i&&(t=Date.now());while(r=b())switch(n&&o(r,g()),r){case" ":switch(g()){case"selector":case"value":case"value-paren":case"at-group":case"at-value":case"comment":case"double-string":case"single-string":a+=r;break}break;case"\n":case"\t":case"\r":case"\f":switch(g()){case"value":case"value-paren":case"at-group":case"comment":case"single-string":case"double-string":case"selector":a+=r;break;case"at-value":"\n"===r&&(h.value=a.trim(),A(),E());break}break;case":":switch(g()){case"name":h.name=a.trim(),a="",S("before-value");break;case"before-selector":a+=r,k("selector"),T("selector");break;case"before-value":S("value"),a+=r;break;default:a+=r;break}break;case";":switch(g()){case"name":case"before-value":case"value":a.trim().length>0&&(h.value=a.trim(),A()),S("before-name");break;case"value-paren":a+=r;break;case"at-value":h.value=a.trim(),A(),E();break;case"before-name":break;default:a+=r;break}break;case"{":switch(g()){case"selector":if("\\"===w(-1)){a+=r;break}h.text=a.trim(),A(),S("before-name"),u+=1;break;case"at-group":switch(h.name=a.trim(),h.type){case"font-face":case"viewport":case"page":T("before-name");break;default:T("before-selector")}A(),u+=1;break;case"name":case"at-rule":h.name=a.trim(),A(),T("before-name"),u+=1;break;case"comment":case"double-string":case"single-string":a+=r;break;case"before-value":S("value"),a+=r;break}break;case"}":switch(g()){case"before-name":case"name":case"before-value":case"value":a&&(h.value=a.trim()),h.name&&h.value&&A(),k("end"),A(),E(),"at-group"===g()&&(k("at-group-end"),A(),E()),u>0&&(u-=1);break;case"at-group":case"before-selector":case"selector":if("\\"===w(-1)){a+=r;break}u>0&&"at-group"===g(1)&&(k("at-group-end"),A()),u>1&&E(),u>0&&(u-=1);break;case"double-string":case"single-string":case"comment":a+=r;break}break;case'"':case"'":switch(g()){case"double-string":'"'===r&&"\\"!==w(-1)&&E();break;case"single-string":"'"===r&&"\\"!==w(-1)&&E();break;case"before-at-value":S("at-value"),T('"'===r?"double-string":"single-string");break;case"before-value":S("value"),T('"'===r?"double-string":"single-string");break;case"comment":break;default:"\\"!==w(-1)&&T('"'===r?"double-string":"single-string")}a+=r;break;case"/":switch(g()){case"comment":case"double-string":case"single-string":a+=r;break;case"before-value":case"selector":case"name":case"value":if(_("*")){var C=v("*/");C&&x(C+1)}else"before-value"==g()&&S("value"),a+=r;break;default:_("*")?(k("comment"),T("comment"),x()):a+=r;break}break;case"*":switch(g()){case"comment":_("/")?(h.text=a,x(),A(),E()):a+=r;break;case"before-selector":a+=r,k("selector"),T("selector");break;case"before-value":S("value"),a+=r;break;default:a+=r}break;case"@":switch(g()){case"comment":case"double-string":case"single-string":a+=r;break;case"before-value":S("value"),a+=r;break;default:for(var O,N,M=!1,I=0,R=m.length;!M&&I","GT":">","Gt":"≫","gtdot":"⋗","gtlPar":"⦕","gtquest":"⩼","gtrapprox":"⪆","gtrarr":"⥸","gtrdot":"⋗","gtreqless":"⋛","gtreqqless":"⪌","gtrless":"≷","gtrsim":"≳","gvertneqq":"≩︀","gvnE":"≩︀","Hacek":"ˇ","hairsp":" ","half":"½","hamilt":"ℋ","HARDcy":"Ъ","hardcy":"ъ","harrcir":"⥈","harr":"↔","hArr":"⇔","harrw":"↭","Hat":"^","hbar":"ℏ","Hcirc":"Ĥ","hcirc":"ĥ","hearts":"♥","heartsuit":"♥","hellip":"…","hercon":"⊹","hfr":"𝔥","Hfr":"ℌ","HilbertSpace":"ℋ","hksearow":"⤥","hkswarow":"⤦","hoarr":"⇿","homtht":"∻","hookleftarrow":"↩","hookrightarrow":"↪","hopf":"𝕙","Hopf":"ℍ","horbar":"―","HorizontalLine":"─","hscr":"𝒽","Hscr":"ℋ","hslash":"ℏ","Hstrok":"Ħ","hstrok":"ħ","HumpDownHump":"≎","HumpEqual":"≏","hybull":"⁃","hyphen":"‐","Iacute":"Í","iacute":"í","ic":"⁣","Icirc":"Î","icirc":"î","Icy":"И","icy":"и","Idot":"İ","IEcy":"Е","iecy":"е","iexcl":"¡","iff":"⇔","ifr":"𝔦","Ifr":"ℑ","Igrave":"Ì","igrave":"ì","ii":"ⅈ","iiiint":"⨌","iiint":"∭","iinfin":"⧜","iiota":"℩","IJlig":"IJ","ijlig":"ij","Imacr":"Ī","imacr":"ī","image":"ℑ","ImaginaryI":"ⅈ","imagline":"ℐ","imagpart":"ℑ","imath":"ı","Im":"ℑ","imof":"⊷","imped":"Ƶ","Implies":"⇒","incare":"℅","in":"∈","infin":"∞","infintie":"⧝","inodot":"ı","intcal":"⊺","int":"∫","Int":"∬","integers":"ℤ","Integral":"∫","intercal":"⊺","Intersection":"⋂","intlarhk":"⨗","intprod":"⨼","InvisibleComma":"⁣","InvisibleTimes":"⁢","IOcy":"Ё","iocy":"ё","Iogon":"Į","iogon":"į","Iopf":"𝕀","iopf":"𝕚","Iota":"Ι","iota":"ι","iprod":"⨼","iquest":"¿","iscr":"𝒾","Iscr":"ℐ","isin":"∈","isindot":"⋵","isinE":"⋹","isins":"⋴","isinsv":"⋳","isinv":"∈","it":"⁢","Itilde":"Ĩ","itilde":"ĩ","Iukcy":"І","iukcy":"і","Iuml":"Ï","iuml":"ï","Jcirc":"Ĵ","jcirc":"ĵ","Jcy":"Й","jcy":"й","Jfr":"𝔍","jfr":"𝔧","jmath":"ȷ","Jopf":"𝕁","jopf":"𝕛","Jscr":"𝒥","jscr":"𝒿","Jsercy":"Ј","jsercy":"ј","Jukcy":"Є","jukcy":"є","Kappa":"Κ","kappa":"κ","kappav":"ϰ","Kcedil":"Ķ","kcedil":"ķ","Kcy":"К","kcy":"к","Kfr":"𝔎","kfr":"𝔨","kgreen":"ĸ","KHcy":"Х","khcy":"х","KJcy":"Ќ","kjcy":"ќ","Kopf":"𝕂","kopf":"𝕜","Kscr":"𝒦","kscr":"𝓀","lAarr":"⇚","Lacute":"Ĺ","lacute":"ĺ","laemptyv":"⦴","lagran":"ℒ","Lambda":"Λ","lambda":"λ","lang":"⟨","Lang":"⟪","langd":"⦑","langle":"⟨","lap":"⪅","Laplacetrf":"ℒ","laquo":"«","larrb":"⇤","larrbfs":"⤟","larr":"←","Larr":"↞","lArr":"⇐","larrfs":"⤝","larrhk":"↩","larrlp":"↫","larrpl":"⤹","larrsim":"⥳","larrtl":"↢","latail":"⤙","lAtail":"⤛","lat":"⪫","late":"⪭","lates":"⪭︀","lbarr":"⤌","lBarr":"⤎","lbbrk":"❲","lbrace":"{","lbrack":"[","lbrke":"⦋","lbrksld":"⦏","lbrkslu":"⦍","Lcaron":"Ľ","lcaron":"ľ","Lcedil":"Ļ","lcedil":"ļ","lceil":"⌈","lcub":"{","Lcy":"Л","lcy":"л","ldca":"⤶","ldquo":"“","ldquor":"„","ldrdhar":"⥧","ldrushar":"⥋","ldsh":"↲","le":"≤","lE":"≦","LeftAngleBracket":"⟨","LeftArrowBar":"⇤","leftarrow":"←","LeftArrow":"←","Leftarrow":"⇐","LeftArrowRightArrow":"⇆","leftarrowtail":"↢","LeftCeiling":"⌈","LeftDoubleBracket":"⟦","LeftDownTeeVector":"⥡","LeftDownVectorBar":"⥙","LeftDownVector":"⇃","LeftFloor":"⌊","leftharpoondown":"↽","leftharpoonup":"↼","leftleftarrows":"⇇","leftrightarrow":"↔","LeftRightArrow":"↔","Leftrightarrow":"⇔","leftrightarrows":"⇆","leftrightharpoons":"⇋","leftrightsquigarrow":"↭","LeftRightVector":"⥎","LeftTeeArrow":"↤","LeftTee":"⊣","LeftTeeVector":"⥚","leftthreetimes":"⋋","LeftTriangleBar":"⧏","LeftTriangle":"⊲","LeftTriangleEqual":"⊴","LeftUpDownVector":"⥑","LeftUpTeeVector":"⥠","LeftUpVectorBar":"⥘","LeftUpVector":"↿","LeftVectorBar":"⥒","LeftVector":"↼","lEg":"⪋","leg":"⋚","leq":"≤","leqq":"≦","leqslant":"⩽","lescc":"⪨","les":"⩽","lesdot":"⩿","lesdoto":"⪁","lesdotor":"⪃","lesg":"⋚︀","lesges":"⪓","lessapprox":"⪅","lessdot":"⋖","lesseqgtr":"⋚","lesseqqgtr":"⪋","LessEqualGreater":"⋚","LessFullEqual":"≦","LessGreater":"≶","lessgtr":"≶","LessLess":"⪡","lesssim":"≲","LessSlantEqual":"⩽","LessTilde":"≲","lfisht":"⥼","lfloor":"⌊","Lfr":"𝔏","lfr":"𝔩","lg":"≶","lgE":"⪑","lHar":"⥢","lhard":"↽","lharu":"↼","lharul":"⥪","lhblk":"▄","LJcy":"Љ","ljcy":"љ","llarr":"⇇","ll":"≪","Ll":"⋘","llcorner":"⌞","Lleftarrow":"⇚","llhard":"⥫","lltri":"◺","Lmidot":"Ŀ","lmidot":"ŀ","lmoustache":"⎰","lmoust":"⎰","lnap":"⪉","lnapprox":"⪉","lne":"⪇","lnE":"≨","lneq":"⪇","lneqq":"≨","lnsim":"⋦","loang":"⟬","loarr":"⇽","lobrk":"⟦","longleftarrow":"⟵","LongLeftArrow":"⟵","Longleftarrow":"⟸","longleftrightarrow":"⟷","LongLeftRightArrow":"⟷","Longleftrightarrow":"⟺","longmapsto":"⟼","longrightarrow":"⟶","LongRightArrow":"⟶","Longrightarrow":"⟹","looparrowleft":"↫","looparrowright":"↬","lopar":"⦅","Lopf":"𝕃","lopf":"𝕝","loplus":"⨭","lotimes":"⨴","lowast":"∗","lowbar":"_","LowerLeftArrow":"↙","LowerRightArrow":"↘","loz":"◊","lozenge":"◊","lozf":"⧫","lpar":"(","lparlt":"⦓","lrarr":"⇆","lrcorner":"⌟","lrhar":"⇋","lrhard":"⥭","lrm":"‎","lrtri":"⊿","lsaquo":"‹","lscr":"𝓁","Lscr":"ℒ","lsh":"↰","Lsh":"↰","lsim":"≲","lsime":"⪍","lsimg":"⪏","lsqb":"[","lsquo":"‘","lsquor":"‚","Lstrok":"Ł","lstrok":"ł","ltcc":"⪦","ltcir":"⩹","lt":"<","LT":"<","Lt":"≪","ltdot":"⋖","lthree":"⋋","ltimes":"⋉","ltlarr":"⥶","ltquest":"⩻","ltri":"◃","ltrie":"⊴","ltrif":"◂","ltrPar":"⦖","lurdshar":"⥊","luruhar":"⥦","lvertneqq":"≨︀","lvnE":"≨︀","macr":"¯","male":"♂","malt":"✠","maltese":"✠","Map":"⤅","map":"↦","mapsto":"↦","mapstodown":"↧","mapstoleft":"↤","mapstoup":"↥","marker":"▮","mcomma":"⨩","Mcy":"М","mcy":"м","mdash":"—","mDDot":"∺","measuredangle":"∡","MediumSpace":" ","Mellintrf":"ℳ","Mfr":"𝔐","mfr":"𝔪","mho":"℧","micro":"µ","midast":"*","midcir":"⫰","mid":"∣","middot":"·","minusb":"⊟","minus":"−","minusd":"∸","minusdu":"⨪","MinusPlus":"∓","mlcp":"⫛","mldr":"…","mnplus":"∓","models":"⊧","Mopf":"𝕄","mopf":"𝕞","mp":"∓","mscr":"𝓂","Mscr":"ℳ","mstpos":"∾","Mu":"Μ","mu":"μ","multimap":"⊸","mumap":"⊸","nabla":"∇","Nacute":"Ń","nacute":"ń","nang":"∠⃒","nap":"≉","napE":"⩰̸","napid":"≋̸","napos":"ʼn","napprox":"≉","natural":"♮","naturals":"ℕ","natur":"♮","nbsp":" ","nbump":"≎̸","nbumpe":"≏̸","ncap":"⩃","Ncaron":"Ň","ncaron":"ň","Ncedil":"Ņ","ncedil":"ņ","ncong":"≇","ncongdot":"⩭̸","ncup":"⩂","Ncy":"Н","ncy":"н","ndash":"–","nearhk":"⤤","nearr":"↗","neArr":"⇗","nearrow":"↗","ne":"≠","nedot":"≐̸","NegativeMediumSpace":"​","NegativeThickSpace":"​","NegativeThinSpace":"​","NegativeVeryThinSpace":"​","nequiv":"≢","nesear":"⤨","nesim":"≂̸","NestedGreaterGreater":"≫","NestedLessLess":"≪","NewLine":"\\n","nexist":"∄","nexists":"∄","Nfr":"𝔑","nfr":"𝔫","ngE":"≧̸","nge":"≱","ngeq":"≱","ngeqq":"≧̸","ngeqslant":"⩾̸","nges":"⩾̸","nGg":"⋙̸","ngsim":"≵","nGt":"≫⃒","ngt":"≯","ngtr":"≯","nGtv":"≫̸","nharr":"↮","nhArr":"⇎","nhpar":"⫲","ni":"∋","nis":"⋼","nisd":"⋺","niv":"∋","NJcy":"Њ","njcy":"њ","nlarr":"↚","nlArr":"⇍","nldr":"‥","nlE":"≦̸","nle":"≰","nleftarrow":"↚","nLeftarrow":"⇍","nleftrightarrow":"↮","nLeftrightarrow":"⇎","nleq":"≰","nleqq":"≦̸","nleqslant":"⩽̸","nles":"⩽̸","nless":"≮","nLl":"⋘̸","nlsim":"≴","nLt":"≪⃒","nlt":"≮","nltri":"⋪","nltrie":"⋬","nLtv":"≪̸","nmid":"∤","NoBreak":"⁠","NonBreakingSpace":" ","nopf":"𝕟","Nopf":"ℕ","Not":"⫬","not":"¬","NotCongruent":"≢","NotCupCap":"≭","NotDoubleVerticalBar":"∦","NotElement":"∉","NotEqual":"≠","NotEqualTilde":"≂̸","NotExists":"∄","NotGreater":"≯","NotGreaterEqual":"≱","NotGreaterFullEqual":"≧̸","NotGreaterGreater":"≫̸","NotGreaterLess":"≹","NotGreaterSlantEqual":"⩾̸","NotGreaterTilde":"≵","NotHumpDownHump":"≎̸","NotHumpEqual":"≏̸","notin":"∉","notindot":"⋵̸","notinE":"⋹̸","notinva":"∉","notinvb":"⋷","notinvc":"⋶","NotLeftTriangleBar":"⧏̸","NotLeftTriangle":"⋪","NotLeftTriangleEqual":"⋬","NotLess":"≮","NotLessEqual":"≰","NotLessGreater":"≸","NotLessLess":"≪̸","NotLessSlantEqual":"⩽̸","NotLessTilde":"≴","NotNestedGreaterGreater":"⪢̸","NotNestedLessLess":"⪡̸","notni":"∌","notniva":"∌","notnivb":"⋾","notnivc":"⋽","NotPrecedes":"⊀","NotPrecedesEqual":"⪯̸","NotPrecedesSlantEqual":"⋠","NotReverseElement":"∌","NotRightTriangleBar":"⧐̸","NotRightTriangle":"⋫","NotRightTriangleEqual":"⋭","NotSquareSubset":"⊏̸","NotSquareSubsetEqual":"⋢","NotSquareSuperset":"⊐̸","NotSquareSupersetEqual":"⋣","NotSubset":"⊂⃒","NotSubsetEqual":"⊈","NotSucceeds":"⊁","NotSucceedsEqual":"⪰̸","NotSucceedsSlantEqual":"⋡","NotSucceedsTilde":"≿̸","NotSuperset":"⊃⃒","NotSupersetEqual":"⊉","NotTilde":"≁","NotTildeEqual":"≄","NotTildeFullEqual":"≇","NotTildeTilde":"≉","NotVerticalBar":"∤","nparallel":"∦","npar":"∦","nparsl":"⫽⃥","npart":"∂̸","npolint":"⨔","npr":"⊀","nprcue":"⋠","nprec":"⊀","npreceq":"⪯̸","npre":"⪯̸","nrarrc":"⤳̸","nrarr":"↛","nrArr":"⇏","nrarrw":"↝̸","nrightarrow":"↛","nRightarrow":"⇏","nrtri":"⋫","nrtrie":"⋭","nsc":"⊁","nsccue":"⋡","nsce":"⪰̸","Nscr":"𝒩","nscr":"𝓃","nshortmid":"∤","nshortparallel":"∦","nsim":"≁","nsime":"≄","nsimeq":"≄","nsmid":"∤","nspar":"∦","nsqsube":"⋢","nsqsupe":"⋣","nsub":"⊄","nsubE":"⫅̸","nsube":"⊈","nsubset":"⊂⃒","nsubseteq":"⊈","nsubseteqq":"⫅̸","nsucc":"⊁","nsucceq":"⪰̸","nsup":"⊅","nsupE":"⫆̸","nsupe":"⊉","nsupset":"⊃⃒","nsupseteq":"⊉","nsupseteqq":"⫆̸","ntgl":"≹","Ntilde":"Ñ","ntilde":"ñ","ntlg":"≸","ntriangleleft":"⋪","ntrianglelefteq":"⋬","ntriangleright":"⋫","ntrianglerighteq":"⋭","Nu":"Ν","nu":"ν","num":"#","numero":"№","numsp":" ","nvap":"≍⃒","nvdash":"⊬","nvDash":"⊭","nVdash":"⊮","nVDash":"⊯","nvge":"≥⃒","nvgt":">⃒","nvHarr":"⤄","nvinfin":"⧞","nvlArr":"⤂","nvle":"≤⃒","nvlt":"<⃒","nvltrie":"⊴⃒","nvrArr":"⤃","nvrtrie":"⊵⃒","nvsim":"∼⃒","nwarhk":"⤣","nwarr":"↖","nwArr":"⇖","nwarrow":"↖","nwnear":"⤧","Oacute":"Ó","oacute":"ó","oast":"⊛","Ocirc":"Ô","ocirc":"ô","ocir":"⊚","Ocy":"О","ocy":"о","odash":"⊝","Odblac":"Ő","odblac":"ő","odiv":"⨸","odot":"⊙","odsold":"⦼","OElig":"Œ","oelig":"œ","ofcir":"⦿","Ofr":"𝔒","ofr":"𝔬","ogon":"˛","Ograve":"Ò","ograve":"ò","ogt":"⧁","ohbar":"⦵","ohm":"Ω","oint":"∮","olarr":"↺","olcir":"⦾","olcross":"⦻","oline":"‾","olt":"⧀","Omacr":"Ō","omacr":"ō","Omega":"Ω","omega":"ω","Omicron":"Ο","omicron":"ο","omid":"⦶","ominus":"⊖","Oopf":"𝕆","oopf":"𝕠","opar":"⦷","OpenCurlyDoubleQuote":"“","OpenCurlyQuote":"‘","operp":"⦹","oplus":"⊕","orarr":"↻","Or":"⩔","or":"∨","ord":"⩝","order":"ℴ","orderof":"ℴ","ordf":"ª","ordm":"º","origof":"⊶","oror":"⩖","orslope":"⩗","orv":"⩛","oS":"Ⓢ","Oscr":"𝒪","oscr":"ℴ","Oslash":"Ø","oslash":"ø","osol":"⊘","Otilde":"Õ","otilde":"õ","otimesas":"⨶","Otimes":"⨷","otimes":"⊗","Ouml":"Ö","ouml":"ö","ovbar":"⌽","OverBar":"‾","OverBrace":"⏞","OverBracket":"⎴","OverParenthesis":"⏜","para":"¶","parallel":"∥","par":"∥","parsim":"⫳","parsl":"⫽","part":"∂","PartialD":"∂","Pcy":"П","pcy":"п","percnt":"%","period":".","permil":"‰","perp":"⊥","pertenk":"‱","Pfr":"𝔓","pfr":"𝔭","Phi":"Φ","phi":"φ","phiv":"ϕ","phmmat":"ℳ","phone":"☎","Pi":"Π","pi":"π","pitchfork":"⋔","piv":"ϖ","planck":"ℏ","planckh":"ℎ","plankv":"ℏ","plusacir":"⨣","plusb":"⊞","pluscir":"⨢","plus":"+","plusdo":"∔","plusdu":"⨥","pluse":"⩲","PlusMinus":"±","plusmn":"±","plussim":"⨦","plustwo":"⨧","pm":"±","Poincareplane":"ℌ","pointint":"⨕","popf":"𝕡","Popf":"ℙ","pound":"£","prap":"⪷","Pr":"⪻","pr":"≺","prcue":"≼","precapprox":"⪷","prec":"≺","preccurlyeq":"≼","Precedes":"≺","PrecedesEqual":"⪯","PrecedesSlantEqual":"≼","PrecedesTilde":"≾","preceq":"⪯","precnapprox":"⪹","precneqq":"⪵","precnsim":"⋨","pre":"⪯","prE":"⪳","precsim":"≾","prime":"′","Prime":"″","primes":"ℙ","prnap":"⪹","prnE":"⪵","prnsim":"⋨","prod":"∏","Product":"∏","profalar":"⌮","profline":"⌒","profsurf":"⌓","prop":"∝","Proportional":"∝","Proportion":"∷","propto":"∝","prsim":"≾","prurel":"⊰","Pscr":"𝒫","pscr":"𝓅","Psi":"Ψ","psi":"ψ","puncsp":" ","Qfr":"𝔔","qfr":"𝔮","qint":"⨌","qopf":"𝕢","Qopf":"ℚ","qprime":"⁗","Qscr":"𝒬","qscr":"𝓆","quaternions":"ℍ","quatint":"⨖","quest":"?","questeq":"≟","quot":"\\"","QUOT":"\\"","rAarr":"⇛","race":"∽̱","Racute":"Ŕ","racute":"ŕ","radic":"√","raemptyv":"⦳","rang":"⟩","Rang":"⟫","rangd":"⦒","range":"⦥","rangle":"⟩","raquo":"»","rarrap":"⥵","rarrb":"⇥","rarrbfs":"⤠","rarrc":"⤳","rarr":"→","Rarr":"↠","rArr":"⇒","rarrfs":"⤞","rarrhk":"↪","rarrlp":"↬","rarrpl":"⥅","rarrsim":"⥴","Rarrtl":"⤖","rarrtl":"↣","rarrw":"↝","ratail":"⤚","rAtail":"⤜","ratio":"∶","rationals":"ℚ","rbarr":"⤍","rBarr":"⤏","RBarr":"⤐","rbbrk":"❳","rbrace":"}","rbrack":"]","rbrke":"⦌","rbrksld":"⦎","rbrkslu":"⦐","Rcaron":"Ř","rcaron":"ř","Rcedil":"Ŗ","rcedil":"ŗ","rceil":"⌉","rcub":"}","Rcy":"Р","rcy":"р","rdca":"⤷","rdldhar":"⥩","rdquo":"”","rdquor":"”","rdsh":"↳","real":"ℜ","realine":"ℛ","realpart":"ℜ","reals":"ℝ","Re":"ℜ","rect":"▭","reg":"®","REG":"®","ReverseElement":"∋","ReverseEquilibrium":"⇋","ReverseUpEquilibrium":"⥯","rfisht":"⥽","rfloor":"⌋","rfr":"𝔯","Rfr":"ℜ","rHar":"⥤","rhard":"⇁","rharu":"⇀","rharul":"⥬","Rho":"Ρ","rho":"ρ","rhov":"ϱ","RightAngleBracket":"⟩","RightArrowBar":"⇥","rightarrow":"→","RightArrow":"→","Rightarrow":"⇒","RightArrowLeftArrow":"⇄","rightarrowtail":"↣","RightCeiling":"⌉","RightDoubleBracket":"⟧","RightDownTeeVector":"⥝","RightDownVectorBar":"⥕","RightDownVector":"⇂","RightFloor":"⌋","rightharpoondown":"⇁","rightharpoonup":"⇀","rightleftarrows":"⇄","rightleftharpoons":"⇌","rightrightarrows":"⇉","rightsquigarrow":"↝","RightTeeArrow":"↦","RightTee":"⊢","RightTeeVector":"⥛","rightthreetimes":"⋌","RightTriangleBar":"⧐","RightTriangle":"⊳","RightTriangleEqual":"⊵","RightUpDownVector":"⥏","RightUpTeeVector":"⥜","RightUpVectorBar":"⥔","RightUpVector":"↾","RightVectorBar":"⥓","RightVector":"⇀","ring":"˚","risingdotseq":"≓","rlarr":"⇄","rlhar":"⇌","rlm":"‏","rmoustache":"⎱","rmoust":"⎱","rnmid":"⫮","roang":"⟭","roarr":"⇾","robrk":"⟧","ropar":"⦆","ropf":"𝕣","Ropf":"ℝ","roplus":"⨮","rotimes":"⨵","RoundImplies":"⥰","rpar":")","rpargt":"⦔","rppolint":"⨒","rrarr":"⇉","Rrightarrow":"⇛","rsaquo":"›","rscr":"𝓇","Rscr":"ℛ","rsh":"↱","Rsh":"↱","rsqb":"]","rsquo":"’","rsquor":"’","rthree":"⋌","rtimes":"⋊","rtri":"▹","rtrie":"⊵","rtrif":"▸","rtriltri":"⧎","RuleDelayed":"⧴","ruluhar":"⥨","rx":"℞","Sacute":"Ś","sacute":"ś","sbquo":"‚","scap":"⪸","Scaron":"Š","scaron":"š","Sc":"⪼","sc":"≻","sccue":"≽","sce":"⪰","scE":"⪴","Scedil":"Ş","scedil":"ş","Scirc":"Ŝ","scirc":"ŝ","scnap":"⪺","scnE":"⪶","scnsim":"⋩","scpolint":"⨓","scsim":"≿","Scy":"С","scy":"с","sdotb":"⊡","sdot":"⋅","sdote":"⩦","searhk":"⤥","searr":"↘","seArr":"⇘","searrow":"↘","sect":"§","semi":";","seswar":"⤩","setminus":"∖","setmn":"∖","sext":"✶","Sfr":"𝔖","sfr":"𝔰","sfrown":"⌢","sharp":"♯","SHCHcy":"Щ","shchcy":"щ","SHcy":"Ш","shcy":"ш","ShortDownArrow":"↓","ShortLeftArrow":"←","shortmid":"∣","shortparallel":"∥","ShortRightArrow":"→","ShortUpArrow":"↑","shy":"­","Sigma":"Σ","sigma":"σ","sigmaf":"ς","sigmav":"ς","sim":"∼","simdot":"⩪","sime":"≃","simeq":"≃","simg":"⪞","simgE":"⪠","siml":"⪝","simlE":"⪟","simne":"≆","simplus":"⨤","simrarr":"⥲","slarr":"←","SmallCircle":"∘","smallsetminus":"∖","smashp":"⨳","smeparsl":"⧤","smid":"∣","smile":"⌣","smt":"⪪","smte":"⪬","smtes":"⪬︀","SOFTcy":"Ь","softcy":"ь","solbar":"⌿","solb":"⧄","sol":"/","Sopf":"𝕊","sopf":"𝕤","spades":"♠","spadesuit":"♠","spar":"∥","sqcap":"⊓","sqcaps":"⊓︀","sqcup":"⊔","sqcups":"⊔︀","Sqrt":"√","sqsub":"⊏","sqsube":"⊑","sqsubset":"⊏","sqsubseteq":"⊑","sqsup":"⊐","sqsupe":"⊒","sqsupset":"⊐","sqsupseteq":"⊒","square":"□","Square":"□","SquareIntersection":"⊓","SquareSubset":"⊏","SquareSubsetEqual":"⊑","SquareSuperset":"⊐","SquareSupersetEqual":"⊒","SquareUnion":"⊔","squarf":"▪","squ":"□","squf":"▪","srarr":"→","Sscr":"𝒮","sscr":"𝓈","ssetmn":"∖","ssmile":"⌣","sstarf":"⋆","Star":"⋆","star":"☆","starf":"★","straightepsilon":"ϵ","straightphi":"ϕ","strns":"¯","sub":"⊂","Sub":"⋐","subdot":"⪽","subE":"⫅","sube":"⊆","subedot":"⫃","submult":"⫁","subnE":"⫋","subne":"⊊","subplus":"⪿","subrarr":"⥹","subset":"⊂","Subset":"⋐","subseteq":"⊆","subseteqq":"⫅","SubsetEqual":"⊆","subsetneq":"⊊","subsetneqq":"⫋","subsim":"⫇","subsub":"⫕","subsup":"⫓","succapprox":"⪸","succ":"≻","succcurlyeq":"≽","Succeeds":"≻","SucceedsEqual":"⪰","SucceedsSlantEqual":"≽","SucceedsTilde":"≿","succeq":"⪰","succnapprox":"⪺","succneqq":"⪶","succnsim":"⋩","succsim":"≿","SuchThat":"∋","sum":"∑","Sum":"∑","sung":"♪","sup1":"¹","sup2":"²","sup3":"³","sup":"⊃","Sup":"⋑","supdot":"⪾","supdsub":"⫘","supE":"⫆","supe":"⊇","supedot":"⫄","Superset":"⊃","SupersetEqual":"⊇","suphsol":"⟉","suphsub":"⫗","suplarr":"⥻","supmult":"⫂","supnE":"⫌","supne":"⊋","supplus":"⫀","supset":"⊃","Supset":"⋑","supseteq":"⊇","supseteqq":"⫆","supsetneq":"⊋","supsetneqq":"⫌","supsim":"⫈","supsub":"⫔","supsup":"⫖","swarhk":"⤦","swarr":"↙","swArr":"⇙","swarrow":"↙","swnwar":"⤪","szlig":"ß","Tab":"\\t","target":"⌖","Tau":"Τ","tau":"τ","tbrk":"⎴","Tcaron":"Ť","tcaron":"ť","Tcedil":"Ţ","tcedil":"ţ","Tcy":"Т","tcy":"т","tdot":"⃛","telrec":"⌕","Tfr":"𝔗","tfr":"𝔱","there4":"∴","therefore":"∴","Therefore":"∴","Theta":"Θ","theta":"θ","thetasym":"ϑ","thetav":"ϑ","thickapprox":"≈","thicksim":"∼","ThickSpace":"  ","ThinSpace":" ","thinsp":" ","thkap":"≈","thksim":"∼","THORN":"Þ","thorn":"þ","tilde":"˜","Tilde":"∼","TildeEqual":"≃","TildeFullEqual":"≅","TildeTilde":"≈","timesbar":"⨱","timesb":"⊠","times":"×","timesd":"⨰","tint":"∭","toea":"⤨","topbot":"⌶","topcir":"⫱","top":"⊤","Topf":"𝕋","topf":"𝕥","topfork":"⫚","tosa":"⤩","tprime":"‴","trade":"™","TRADE":"™","triangle":"▵","triangledown":"▿","triangleleft":"◃","trianglelefteq":"⊴","triangleq":"≜","triangleright":"▹","trianglerighteq":"⊵","tridot":"◬","trie":"≜","triminus":"⨺","TripleDot":"⃛","triplus":"⨹","trisb":"⧍","tritime":"⨻","trpezium":"⏢","Tscr":"𝒯","tscr":"𝓉","TScy":"Ц","tscy":"ц","TSHcy":"Ћ","tshcy":"ћ","Tstrok":"Ŧ","tstrok":"ŧ","twixt":"≬","twoheadleftarrow":"↞","twoheadrightarrow":"↠","Uacute":"Ú","uacute":"ú","uarr":"↑","Uarr":"↟","uArr":"⇑","Uarrocir":"⥉","Ubrcy":"Ў","ubrcy":"ў","Ubreve":"Ŭ","ubreve":"ŭ","Ucirc":"Û","ucirc":"û","Ucy":"У","ucy":"у","udarr":"⇅","Udblac":"Ű","udblac":"ű","udhar":"⥮","ufisht":"⥾","Ufr":"𝔘","ufr":"𝔲","Ugrave":"Ù","ugrave":"ù","uHar":"⥣","uharl":"↿","uharr":"↾","uhblk":"▀","ulcorn":"⌜","ulcorner":"⌜","ulcrop":"⌏","ultri":"◸","Umacr":"Ū","umacr":"ū","uml":"¨","UnderBar":"_","UnderBrace":"⏟","UnderBracket":"⎵","UnderParenthesis":"⏝","Union":"⋃","UnionPlus":"⊎","Uogon":"Ų","uogon":"ų","Uopf":"𝕌","uopf":"𝕦","UpArrowBar":"⤒","uparrow":"↑","UpArrow":"↑","Uparrow":"⇑","UpArrowDownArrow":"⇅","updownarrow":"↕","UpDownArrow":"↕","Updownarrow":"⇕","UpEquilibrium":"⥮","upharpoonleft":"↿","upharpoonright":"↾","uplus":"⊎","UpperLeftArrow":"↖","UpperRightArrow":"↗","upsi":"υ","Upsi":"ϒ","upsih":"ϒ","Upsilon":"Υ","upsilon":"υ","UpTeeArrow":"↥","UpTee":"⊥","upuparrows":"⇈","urcorn":"⌝","urcorner":"⌝","urcrop":"⌎","Uring":"Ů","uring":"ů","urtri":"◹","Uscr":"𝒰","uscr":"𝓊","utdot":"⋰","Utilde":"Ũ","utilde":"ũ","utri":"▵","utrif":"▴","uuarr":"⇈","Uuml":"Ü","uuml":"ü","uwangle":"⦧","vangrt":"⦜","varepsilon":"ϵ","varkappa":"ϰ","varnothing":"∅","varphi":"ϕ","varpi":"ϖ","varpropto":"∝","varr":"↕","vArr":"⇕","varrho":"ϱ","varsigma":"ς","varsubsetneq":"⊊︀","varsubsetneqq":"⫋︀","varsupsetneq":"⊋︀","varsupsetneqq":"⫌︀","vartheta":"ϑ","vartriangleleft":"⊲","vartriangleright":"⊳","vBar":"⫨","Vbar":"⫫","vBarv":"⫩","Vcy":"В","vcy":"в","vdash":"⊢","vDash":"⊨","Vdash":"⊩","VDash":"⊫","Vdashl":"⫦","veebar":"⊻","vee":"∨","Vee":"⋁","veeeq":"≚","vellip":"⋮","verbar":"|","Verbar":"‖","vert":"|","Vert":"‖","VerticalBar":"∣","VerticalLine":"|","VerticalSeparator":"❘","VerticalTilde":"≀","VeryThinSpace":" ","Vfr":"𝔙","vfr":"𝔳","vltri":"⊲","vnsub":"⊂⃒","vnsup":"⊃⃒","Vopf":"𝕍","vopf":"𝕧","vprop":"∝","vrtri":"⊳","Vscr":"𝒱","vscr":"𝓋","vsubnE":"⫋︀","vsubne":"⊊︀","vsupnE":"⫌︀","vsupne":"⊋︀","Vvdash":"⊪","vzigzag":"⦚","Wcirc":"Ŵ","wcirc":"ŵ","wedbar":"⩟","wedge":"∧","Wedge":"⋀","wedgeq":"≙","weierp":"℘","Wfr":"𝔚","wfr":"𝔴","Wopf":"𝕎","wopf":"𝕨","wp":"℘","wr":"≀","wreath":"≀","Wscr":"𝒲","wscr":"𝓌","xcap":"⋂","xcirc":"◯","xcup":"⋃","xdtri":"▽","Xfr":"𝔛","xfr":"𝔵","xharr":"⟷","xhArr":"⟺","Xi":"Ξ","xi":"ξ","xlarr":"⟵","xlArr":"⟸","xmap":"⟼","xnis":"⋻","xodot":"⨀","Xopf":"𝕏","xopf":"𝕩","xoplus":"⨁","xotime":"⨂","xrarr":"⟶","xrArr":"⟹","Xscr":"𝒳","xscr":"𝓍","xsqcup":"⨆","xuplus":"⨄","xutri":"△","xvee":"⋁","xwedge":"⋀","Yacute":"Ý","yacute":"ý","YAcy":"Я","yacy":"я","Ycirc":"Ŷ","ycirc":"ŷ","Ycy":"Ы","ycy":"ы","yen":"¥","Yfr":"𝔜","yfr":"𝔶","YIcy":"Ї","yicy":"ї","Yopf":"𝕐","yopf":"𝕪","Yscr":"𝒴","yscr":"𝓎","YUcy":"Ю","yucy":"ю","yuml":"ÿ","Yuml":"Ÿ","Zacute":"Ź","zacute":"ź","Zcaron":"Ž","zcaron":"ž","Zcy":"З","zcy":"з","Zdot":"Ż","zdot":"ż","zeetrf":"ℨ","ZeroWidthSpace":"​","Zeta":"Ζ","zeta":"ζ","zfr":"𝔷","Zfr":"ℨ","ZHcy":"Ж","zhcy":"ж","zigrarr":"⇝","zopf":"𝕫","Zopf":"ℤ","Zscr":"𝒵","zscr":"𝓏","zwj":"‍","zwnj":"‌"}')},c591:function(e,t,r){"use strict";(function(t){var n,i=r("b639"),o=i.Buffer,a={};for(n in i)i.hasOwnProperty(n)&&"SlowBuffer"!==n&&"Buffer"!==n&&(a[n]=i[n]);var s=a.Buffer={};for(n in o)o.hasOwnProperty(n)&&"allocUnsafe"!==n&&"allocUnsafeSlow"!==n&&(s[n]=o[n]);if(a.Buffer.prototype=o.prototype,s.from&&s.from!==Uint8Array.from||(s.from=function(e,t,r){if("number"===typeof e)throw new TypeError('The "value" argument must not be of type number. Received type '+typeof e);if(e&&"undefined"===typeof e.length)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);return o(e,t,r)}),s.alloc||(s.alloc=function(e,t,r){if("number"!==typeof e)throw new TypeError('The "size" argument must be of type number. Received type '+typeof e);if(e<0||e>=2*(1<<30))throw new RangeError('The value "'+e+'" is invalid for option "size"');var n=o(e);return t&&0!==t.length?"string"===typeof r?n.fill(t,r):n.fill(t):n.fill(0),n}),!a.kStringMaxLength)try{a.kStringMaxLength=t.binding("buffer").kStringMaxLength}catch(c){}a.constants||(a.constants={MAX_LENGTH:a.kMaxLength},a.kStringMaxLength&&(a.constants.MAX_STRING_LENGTH=a.kStringMaxLength)),e.exports=a}).call(this,r("4362"))},c60a:function(e,t,r){var n=r("4bad");t=n(!1),t.push([e.i,".menu[data-v-28c0c481]{position:absolute;border-radius:4px;background-color:#fff;box-shadow:0 4px 8px 0 rgba(0,0,0,.12),0 2px 4px 0 rgba(0,0,0,.08);z-index:9999}.menu_item[data-v-28c0c481]{margin-top:10px;min-width:200px;font-size:12px;line-height:20px;color:#333;cursor:pointer}.menu_item[data-v-28c0c481]:first-of-type{margin-top:0}.menu_item[data-v-28c0c481]:hover{background:#f0f0f0}.menu_item span[data-v-28c0c481],\n.menu_item .btn-upload[data-v-28c0c481]{display:inline-block;padding:4px 0;padding-left:24px;width:100%}.menu_item .btn-upload[data-v-28c0c481]{margin:0;border:none;outline:none;background:transparent}.menu_item .btn-upload[data-v-28c0c481]:hover{background:#aaa}.menu_item[data-v-28c0c481] .el-upload{width:100%}.menu__group[data-v-28c0c481]{padding-top:6px;padding-bottom:6px;border-bottom:1px solid #eee}.menu__group[data-v-28c0c481]:last-of-type{border-bottom:none}li[data-v-28c0c481]:hover{background-color:#1790ff}li[data-v-28c0c481]{font-size:15px;list-style:none}",""]),e.exports=t},c6f6:function(e,t,r){"use strict";var n;r.d(t,"b",(function(){return i})),r.d(t,"c",(function(){return o})),r.d(t,"a",(function(){return n}));var i=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"container",class:{container_night:e.nightMode}},[r("el-container",[r("el-header",{staticClass:"editor__header"},[r("editor-header",{ref:"header",on:{refresh:function(t){arguments[0]=t=e.$handleEvent(t),e.onEditorRefresh.apply(void 0,arguments)},cssChanged:function(t){arguments[0]=t=e.$handleEvent(t),e.cssChanged.apply(void 0,arguments)},download:function(t){arguments[0]=t=e.$handleEvent(t),e.downloadEditorContent.apply(void 0,arguments)},showCssEditor:function(t){arguments[0]=t=e.$handleEvent(t),e.showCssEditor=!e.showCssEditor},"show-about-dialog":function(t){arguments[0]=t=e.$handleEvent(t),e.aboutDialogVisible=!0},"show-dialog-form":function(t){arguments[0]=t=e.$handleEvent(t),e.dialogFormVisible=!0},"show-dialog-upload-img":function(t){arguments[0]=t=e.$handleEvent(t),e.dialogUploadImgVisible=!0},startCopy:function(t){arguments[0]=t=e.$handleEvent(t),e.isCoping=!0,e.backLight=!0},endCopy:function(t){arguments[0]=t=e.$handleEvent(t),e.endCopy.apply(void 0,arguments)}}})],1),r("el-main",{staticClass:"main-body"},[r("el-row",{staticClass:"main-section"},[r("el-col",{staticClass:"codeMirror-wrapper",attrs:{span:12},nativeOn:{contextmenu:function(t){return t.preventDefault(),e.openMenu(t)}}},[r("v-uni-textarea",{attrs:{id:"editor",type:"textarea",placeholder:"Your markdown text here."},model:{value:e.source,callback:function(t){e.source=t},expression:"source"}})],1),r("el-col",{ref:"preview",staticClass:"preview-wrapper",class:{"preview-wrapper_night":e.nightMode&&e.isCoping},attrs:{span:12,id:"preview"}},[r("section",{class:{output_night:e.nightMode&&!e.backLight},attrs:{id:"output-wrapper"}},[r("div",{staticClass:"preview"},[r("section",{attrs:{id:"output"},domProps:{innerHTML:e._s(e.output)}}),e.nightMode&&e.isCoping?r("div",{staticClass:"loading-mask"},[r("div",{staticClass:"loading__img"}),r("span",[e._v("正在生成")])]):e._e()])])]),r("transition",{attrs:{name:"custom-classes-transition","enter-active-class":"bounceInRight"}},[r("el-col",{directives:[{name:"show",rawName:"v-show",value:e.showCssEditor,expression:"showCssEditor"}],staticClass:"cssEditor-wrapper",attrs:{id:"cssBox",span:12}},[r("v-uni-textarea",{attrs:{id:"cssEditor",type:"textarea",placeholder:"Your custom css here."}})],1)],1)],1)],1)],1),r("upload-img-dialog",{on:{close:function(t){arguments[0]=t=e.$handleEvent(t),e.dialogUploadImgVisible=!1},beforeUpload:function(t){arguments[0]=t=e.$handleEvent(t),e.beforeUpload.apply(void 0,arguments)},uploadImage:function(t){arguments[0]=t=e.$handleEvent(t),e.uploadImage.apply(void 0,arguments)},uploaded:function(t){arguments[0]=t=e.$handleEvent(t),e.uploaded.apply(void 0,arguments)}},model:{value:e.dialogUploadImgVisible,callback:function(t){e.dialogUploadImgVisible=t},expression:"dialogUploadImgVisible"}}),r("about-dialog",{model:{value:e.aboutDialogVisible,callback:function(t){e.aboutDialogVisible=t},expression:"aboutDialogVisible"}}),r("insert-form-dialog",{model:{value:e.dialogFormVisible,callback:function(t){e.dialogFormVisible=t},expression:"dialogFormVisible"}}),r("right-click-menu",{attrs:{left:e.mouseLeft,top:e.mouseTop},on:{menuTick:function(t){arguments[0]=t=e.$handleEvent(t),e.onMenuEvent.apply(void 0,arguments)},closeMenu:function(t){arguments[0]=t=e.$handleEvent(t),e.closeRightClickMenu.apply(void 0,arguments)}},model:{value:e.rightClickMenuVisible,callback:function(t){e.rightClickMenuVisible=t},expression:"rightClickMenuVisible"}})],1)},o=[]},c7bd:function(e,t,r){"use strict";r.r(t);var n=r("c6f6"),i=r("715e");for(var o in i)["default"].indexOf(o)<0&&function(e){r.d(t,e,(function(){return i[e]}))}(o);r("11fd"),r("638b");var a,s=r("f0c5"),c=Object(s["a"])(i["default"],n["b"],n["c"],!1,null,"0d9d43e4",null,!1,n["a"],a);t["default"]=c.exports},c84e:function(e,t){t.default={xml:!1,decodeEntities:!0};var r={_useHtmlParser2:!0,xmlMode:!0};t.flatten=function(e){return e&&e.xml?"boolean"===typeof e.xml?r:Object.assign({},r,e.xml):e}},c8af:function(e,t,r){"use strict";var n=r("c532");e.exports=function(e,t){n.forEach(e,(function(r,n){n!==t&&n.toUpperCase()===t.toUpperCase()&&(e[t]=r,delete e[n])}))}},cb57:function(e,t,r){"use strict";r.r(t);var n=r("a6a2"),i=r.n(n);for(var o in n)["default"].indexOf(o)<0&&function(e){r.d(t,e,(function(){return n[e]}))}(o);t["default"]=i.a},cd23:function(e,t,r){"use strict";var n=r("ce90"),i=r("0557"),o=r("56b3b"),a=r("79e5"),s=r("e190"),c=r("f58c"),u=r("7c10"),l=r("0ac8"),f=r("a514"),d=r("5305"),h=d.TAG_NAMES,p=d.NAMESPACES,m=d.ATTRS,b={locationInfo:!1,treeAdapter:s},g="hidden",y=8,v=3,_="INITIAL_MODE",w="BEFORE_HTML_MODE",E="BEFORE_HEAD_MODE",T="IN_HEAD_MODE",S="AFTER_HEAD_MODE",x="IN_BODY_MODE",A="TEXT_MODE",k="IN_TABLE_MODE",C="IN_TABLE_TEXT_MODE",O="IN_CAPTION_MODE",N="IN_COLUMN_GROUP_MODE",M="IN_TABLE_BODY_MODE",I="IN_ROW_MODE",R="IN_CELL_MODE",j="IN_SELECT_MODE",P="IN_SELECT_IN_TABLE_MODE",D="IN_TEMPLATE_MODE",L="AFTER_BODY_MODE",B="IN_FRAMESET_MODE",U="AFTER_FRAMESET_MODE",H="AFTER_AFTER_BODY_MODE",F="AFTER_AFTER_FRAMESET_MODE",q=Object.create(null);q[h.TR]=I,q[h.TBODY]=q[h.THEAD]=q[h.TFOOT]=M,q[h.CAPTION]=O,q[h.COLGROUP]=N,q[h.TABLE]=k,q[h.BODY]=x,q[h.FRAMESET]=B;var G=Object.create(null);G[h.CAPTION]=G[h.COLGROUP]=G[h.TBODY]=G[h.TFOOT]=G[h.THEAD]=k,G[h.COL]=N,G[h.TR]=M,G[h.TD]=G[h.TH]=I;var z=Object.create(null);z[_]=Object.create(null),z[_][n.CHARACTER_TOKEN]=z[_][n.NULL_CHARACTER_TOKEN]=ae,z[_][n.WHITESPACE_CHARACTER_TOKEN]=Z,z[_][n.COMMENT_TOKEN]=ee,z[_][n.DOCTYPE_TOKEN]=oe,z[_][n.START_TAG_TOKEN]=z[_][n.END_TAG_TOKEN]=z[_][n.EOF_TOKEN]=ae,z[w]=Object.create(null),z[w][n.CHARACTER_TOKEN]=z[w][n.NULL_CHARACTER_TOKEN]=ue,z[w][n.WHITESPACE_CHARACTER_TOKEN]=Z,z[w][n.COMMENT_TOKEN]=ee,z[w][n.DOCTYPE_TOKEN]=Z,z[w][n.START_TAG_TOKEN]=se,z[w][n.END_TAG_TOKEN]=ce,z[w][n.EOF_TOKEN]=ue,z[E]=Object.create(null),z[E][n.CHARACTER_TOKEN]=z[E][n.NULL_CHARACTER_TOKEN]=de,z[E][n.WHITESPACE_CHARACTER_TOKEN]=Z,z[E][n.COMMENT_TOKEN]=ee,z[E][n.DOCTYPE_TOKEN]=Z,z[E][n.START_TAG_TOKEN]=le,z[E][n.END_TAG_TOKEN]=fe,z[E][n.EOF_TOKEN]=de,z[T]=Object.create(null),z[T][n.CHARACTER_TOKEN]=z[T][n.NULL_CHARACTER_TOKEN]=me,z[T][n.WHITESPACE_CHARACTER_TOKEN]=ne,z[T][n.COMMENT_TOKEN]=ee,z[T][n.DOCTYPE_TOKEN]=Z,z[T][n.START_TAG_TOKEN]=he,z[T][n.END_TAG_TOKEN]=pe,z[T][n.EOF_TOKEN]=me,z[S]=Object.create(null),z[S][n.CHARACTER_TOKEN]=z[S][n.NULL_CHARACTER_TOKEN]=ye,z[S][n.WHITESPACE_CHARACTER_TOKEN]=ne,z[S][n.COMMENT_TOKEN]=ee,z[S][n.DOCTYPE_TOKEN]=Z,z[S][n.START_TAG_TOKEN]=be,z[S][n.END_TAG_TOKEN]=ge,z[S][n.EOF_TOKEN]=ye,z[x]=Object.create(null),z[x][n.CHARACTER_TOKEN]=_e,z[x][n.NULL_CHARACTER_TOKEN]=Z,z[x][n.WHITESPACE_CHARACTER_TOKEN]=ve,z[x][n.COMMENT_TOKEN]=ee,z[x][n.DOCTYPE_TOKEN]=Z,z[x][n.START_TAG_TOKEN]=et,z[x][n.END_TAG_TOKEN]=dt,z[x][n.EOF_TOKEN]=ht,z[A]=Object.create(null),z[A][n.CHARACTER_TOKEN]=z[A][n.NULL_CHARACTER_TOKEN]=z[A][n.WHITESPACE_CHARACTER_TOKEN]=ne,z[A][n.COMMENT_TOKEN]=z[A][n.DOCTYPE_TOKEN]=z[A][n.START_TAG_TOKEN]=Z,z[A][n.END_TAG_TOKEN]=pt,z[A][n.EOF_TOKEN]=mt,z[k]=Object.create(null),z[k][n.CHARACTER_TOKEN]=z[k][n.NULL_CHARACTER_TOKEN]=z[k][n.WHITESPACE_CHARACTER_TOKEN]=bt,z[k][n.COMMENT_TOKEN]=ee,z[k][n.DOCTYPE_TOKEN]=Z,z[k][n.START_TAG_TOKEN]=xt,z[k][n.END_TAG_TOKEN]=At,z[k][n.EOF_TOKEN]=ht,z[C]=Object.create(null),z[C][n.CHARACTER_TOKEN]=Ot,z[C][n.NULL_CHARACTER_TOKEN]=Z,z[C][n.WHITESPACE_CHARACTER_TOKEN]=Ct,z[C][n.COMMENT_TOKEN]=z[C][n.DOCTYPE_TOKEN]=z[C][n.START_TAG_TOKEN]=z[C][n.END_TAG_TOKEN]=z[C][n.EOF_TOKEN]=Nt,z[O]=Object.create(null),z[O][n.CHARACTER_TOKEN]=_e,z[O][n.NULL_CHARACTER_TOKEN]=Z,z[O][n.WHITESPACE_CHARACTER_TOKEN]=ve,z[O][n.COMMENT_TOKEN]=ee,z[O][n.DOCTYPE_TOKEN]=Z,z[O][n.START_TAG_TOKEN]=Mt,z[O][n.END_TAG_TOKEN]=It,z[O][n.EOF_TOKEN]=ht,z[N]=Object.create(null),z[N][n.CHARACTER_TOKEN]=z[N][n.NULL_CHARACTER_TOKEN]=Pt,z[N][n.WHITESPACE_CHARACTER_TOKEN]=ne,z[N][n.COMMENT_TOKEN]=ee,z[N][n.DOCTYPE_TOKEN]=Z,z[N][n.START_TAG_TOKEN]=Rt,z[N][n.END_TAG_TOKEN]=jt,z[N][n.EOF_TOKEN]=ht,z[M]=Object.create(null),z[M][n.CHARACTER_TOKEN]=z[M][n.NULL_CHARACTER_TOKEN]=z[M][n.WHITESPACE_CHARACTER_TOKEN]=bt,z[M][n.COMMENT_TOKEN]=ee,z[M][n.DOCTYPE_TOKEN]=Z,z[M][n.START_TAG_TOKEN]=Dt,z[M][n.END_TAG_TOKEN]=Lt,z[M][n.EOF_TOKEN]=ht,z[I]=Object.create(null),z[I][n.CHARACTER_TOKEN]=z[I][n.NULL_CHARACTER_TOKEN]=z[I][n.WHITESPACE_CHARACTER_TOKEN]=bt,z[I][n.COMMENT_TOKEN]=ee,z[I][n.DOCTYPE_TOKEN]=Z,z[I][n.START_TAG_TOKEN]=Bt,z[I][n.END_TAG_TOKEN]=Ut,z[I][n.EOF_TOKEN]=ht,z[R]=Object.create(null),z[R][n.CHARACTER_TOKEN]=_e,z[R][n.NULL_CHARACTER_TOKEN]=Z,z[R][n.WHITESPACE_CHARACTER_TOKEN]=ve,z[R][n.COMMENT_TOKEN]=ee,z[R][n.DOCTYPE_TOKEN]=Z,z[R][n.START_TAG_TOKEN]=Ht,z[R][n.END_TAG_TOKEN]=Ft,z[R][n.EOF_TOKEN]=ht,z[j]=Object.create(null),z[j][n.CHARACTER_TOKEN]=ne,z[j][n.NULL_CHARACTER_TOKEN]=Z,z[j][n.WHITESPACE_CHARACTER_TOKEN]=ne,z[j][n.COMMENT_TOKEN]=ee,z[j][n.DOCTYPE_TOKEN]=Z,z[j][n.START_TAG_TOKEN]=qt,z[j][n.END_TAG_TOKEN]=Gt,z[j][n.EOF_TOKEN]=ht,z[P]=Object.create(null),z[P][n.CHARACTER_TOKEN]=ne,z[P][n.NULL_CHARACTER_TOKEN]=Z,z[P][n.WHITESPACE_CHARACTER_TOKEN]=ne,z[P][n.COMMENT_TOKEN]=ee,z[P][n.DOCTYPE_TOKEN]=Z,z[P][n.START_TAG_TOKEN]=zt,z[P][n.END_TAG_TOKEN]=Kt,z[P][n.EOF_TOKEN]=ht,z[D]=Object.create(null),z[D][n.CHARACTER_TOKEN]=_e,z[D][n.NULL_CHARACTER_TOKEN]=Z,z[D][n.WHITESPACE_CHARACTER_TOKEN]=ve,z[D][n.COMMENT_TOKEN]=ee,z[D][n.DOCTYPE_TOKEN]=Z,z[D][n.START_TAG_TOKEN]=Vt,z[D][n.END_TAG_TOKEN]=Wt,z[D][n.EOF_TOKEN]=Xt,z[L]=Object.create(null),z[L][n.CHARACTER_TOKEN]=z[L][n.NULL_CHARACTER_TOKEN]=$t,z[L][n.WHITESPACE_CHARACTER_TOKEN]=ve,z[L][n.COMMENT_TOKEN]=te,z[L][n.DOCTYPE_TOKEN]=Z,z[L][n.START_TAG_TOKEN]=Yt,z[L][n.END_TAG_TOKEN]=Qt,z[L][n.EOF_TOKEN]=ie,z[B]=Object.create(null),z[B][n.CHARACTER_TOKEN]=z[B][n.NULL_CHARACTER_TOKEN]=Z,z[B][n.WHITESPACE_CHARACTER_TOKEN]=ne,z[B][n.COMMENT_TOKEN]=ee,z[B][n.DOCTYPE_TOKEN]=Z,z[B][n.START_TAG_TOKEN]=Jt,z[B][n.END_TAG_TOKEN]=Zt,z[B][n.EOF_TOKEN]=ie,z[U]=Object.create(null),z[U][n.CHARACTER_TOKEN]=z[U][n.NULL_CHARACTER_TOKEN]=Z,z[U][n.WHITESPACE_CHARACTER_TOKEN]=ne,z[U][n.COMMENT_TOKEN]=ee,z[U][n.DOCTYPE_TOKEN]=Z,z[U][n.START_TAG_TOKEN]=er,z[U][n.END_TAG_TOKEN]=tr,z[U][n.EOF_TOKEN]=ie,z[H]=Object.create(null),z[H][n.CHARACTER_TOKEN]=nr,z[H][n.NULL_CHARACTER_TOKEN]=nr,z[H][n.WHITESPACE_CHARACTER_TOKEN]=ve,z[H][n.COMMENT_TOKEN]=re,z[H][n.DOCTYPE_TOKEN]=Z,z[H][n.START_TAG_TOKEN]=rr,z[H][n.END_TAG_TOKEN]=nr,z[H][n.EOF_TOKEN]=ie,z[F]=Object.create(null),z[F][n.CHARACTER_TOKEN]=z[F][n.NULL_CHARACTER_TOKEN]=Z,z[F][n.WHITESPACE_CHARACTER_TOKEN]=ve,z[F][n.COMMENT_TOKEN]=re,z[F][n.DOCTYPE_TOKEN]=Z,z[F][n.START_TAG_TOKEN]=ir,z[F][n.END_TAG_TOKEN]=Z,z[F][n.EOF_TOKEN]=ie;var K=e.exports=function(e){this.options=c(b,e),this.treeAdapter=this.options.treeAdapter,this.pendingScript=null,this.options.locationInfo&&new a(this)};function V(e,t){var r=e.activeFormattingElements.getElementEntryInScopeWithTagName(t.tagName);return r?e.openElements.contains(r.element)?e.openElements.hasInScope(t.tagName)||(r=null):(e.activeFormattingElements.removeEntry(r),r=null):ft(e,t),r}function W(e,t){for(var r=null,n=e.openElements.stackTop;n>=0;n--){var i=e.openElements.items[n];if(i===t.element)break;e._isSpecialElement(i)&&(r=i)}return r||(e.openElements.popUntilElementPopped(t.element),e.activeFormattingElements.removeEntry(t)),r}function X(e,t,r){for(var n=t,i=e.openElements.getCommonAncestor(t),o=0,a=i;a!==r;o++,a=i){i=e.openElements.getCommonAncestor(a);var s=e.activeFormattingElements.getElementEntry(a),c=s&&o>=v,u=!s||c;u?(c&&e.activeFormattingElements.removeEntry(s),e.openElements.remove(a)):(a=Y(e,s),n===t&&(e.activeFormattingElements.bookmark=s),e.treeAdapter.detachNode(n),e.treeAdapter.appendChild(a,n),n=a)}return n}function Y(e,t){var r=e.treeAdapter.getNamespaceURI(t.element),n=e.treeAdapter.createElement(t.token.tagName,r,t.token.attrs);return e.openElements.replace(t.element,n),t.element=n,n}function Q(e,t,r){if(e._isElementCausesFosterParenting(t))e._fosterParentElement(r);else{var n=e.treeAdapter.getTagName(t),i=e.treeAdapter.getNamespaceURI(t);n===h.TEMPLATE&&i===p.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,r)}}function $(e,t,r){var n=e.treeAdapter.getNamespaceURI(r.element),i=r.token,o=e.treeAdapter.createElement(i.tagName,n,i.attrs);e._adoptNodes(t,o),e.treeAdapter.appendChild(t,o),e.activeFormattingElements.insertElementAfterBookmark(o,r.token),e.activeFormattingElements.removeEntry(r),e.openElements.remove(r.element),e.openElements.insertAfter(t,o)}function J(e,t){for(var r,n=0;n0&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(h.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e._popTmplInsertionMode(),e._resetInsertionMode())}function me(e,t){e.openElements.pop(),e.insertionMode=S,e._processToken(t)}function be(e,t){var r=t.tagName;r===h.HTML?et(e,t):r===h.BODY?(e._insertElement(t,p.HTML),e.framesetOk=!1,e.insertionMode=x):r===h.FRAMESET?(e._insertElement(t,p.HTML),e.insertionMode=B):r===h.BASE||r===h.BASEFONT||r===h.BGSOUND||r===h.LINK||r===h.META||r===h.NOFRAMES||r===h.SCRIPT||r===h.STYLE||r===h.TEMPLATE||r===h.TITLE?(e.openElements.push(e.headElement),he(e,t),e.openElements.remove(e.headElement)):r!==h.HEAD&&ye(e,t)}function ge(e,t){var r=t.tagName;r===h.BODY||r===h.HTML||r===h.BR?ye(e,t):r===h.TEMPLATE&&pe(e,t)}function ye(e,t){e._insertFakeElement(h.BODY),e.insertionMode=x,e._processToken(t)}function ve(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function _e(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function we(e,t){0===e.openElements.tmplCount&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs)}function Ee(e,t){var r=e.openElements.tryPeekProperlyNestedBodyElement();r&&0===e.openElements.tmplCount&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(r,t.attrs))}function Te(e,t){var r=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&r&&(e.treeAdapter.detachNode(r),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,p.HTML),e.insertionMode=B)}function Se(e,t){e.openElements.hasInButtonScope(h.P)&&e._closePElement(),e._insertElement(t,p.HTML)}function xe(e,t){e.openElements.hasInButtonScope(h.P)&&e._closePElement();var r=e.openElements.currentTagName;r!==h.H1&&r!==h.H2&&r!==h.H3&&r!==h.H4&&r!==h.H5&&r!==h.H6||e.openElements.pop(),e._insertElement(t,p.HTML)}function Ae(e,t){e.openElements.hasInButtonScope(h.P)&&e._closePElement(),e._insertElement(t,p.HTML),e.skipNextNewLine=!0,e.framesetOk=!1}function ke(e,t){var r=e.openElements.tmplCount>0;e.formElement&&!r||(e.openElements.hasInButtonScope(h.P)&&e._closePElement(),e._insertElement(t,p.HTML),r||(e.formElement=e.openElements.current))}function Ce(e,t){e.framesetOk=!1;for(var r=t.tagName,n=e.openElements.stackTop;n>=0;n--){var i=e.openElements.items[n],o=e.treeAdapter.getTagName(i),a=null;if(r===h.LI&&o===h.LI?a=h.LI:r!==h.DD&&r!==h.DT||o!==h.DD&&o!==h.DT||(a=o),a){e.openElements.generateImpliedEndTagsWithExclusion(a),e.openElements.popUntilTagNamePopped(a);break}if(o!==h.ADDRESS&&o!==h.DIV&&o!==h.P&&e._isSpecialElement(i))break}e.openElements.hasInButtonScope(h.P)&&e._closePElement(),e._insertElement(t,p.HTML)}function Oe(e,t){e.openElements.hasInButtonScope(h.P)&&e._closePElement(),e._insertElement(t,p.HTML),e.tokenizer.state=n.MODE.PLAINTEXT}function Ne(e,t){e.openElements.hasInScope(h.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(h.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,p.HTML),e.framesetOk=!1}function Me(e,t){var r=e.activeFormattingElements.getElementEntryInScopeWithTagName(h.A);r&&(J(e,t),e.openElements.remove(r.element),e.activeFormattingElements.removeEntry(r)),e._reconstructActiveFormattingElements(),e._insertElement(t,p.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function Ie(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,p.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function Re(e,t){e._reconstructActiveFormattingElements(),e.openElements.hasInScope(h.NOBR)&&(J(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,p.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function je(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,p.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1}function Pe(e,t){e.treeAdapter.getDocumentMode(e.document)!==d.DOCUMENT_MODE.QUIRKS&&e.openElements.hasInButtonScope(h.P)&&e._closePElement(),e._insertElement(t,p.HTML),e.framesetOk=!1,e.insertionMode=k}function De(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,p.HTML),e.framesetOk=!1}function Le(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,p.HTML);var r=n.getTokenAttr(t,m.TYPE);r&&r.toLowerCase()===g||(e.framesetOk=!1)}function Be(e,t){e._appendElement(t,p.HTML)}function Ue(e,t){e.openElements.hasInButtonScope(h.P)&&e._closePElement(),e.openElements.currentTagName===h.MENUITEM&&e.openElements.pop(),e._appendElement(t,p.HTML),e.framesetOk=!1}function He(e,t){t.tagName=h.IMG,De(e,t)}function Fe(e,t){e._insertElement(t,p.HTML),e.skipNextNewLine=!0,e.tokenizer.state=n.MODE.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=A}function qe(e,t){e.openElements.hasInButtonScope(h.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,n.MODE.RAWTEXT)}function Ge(e,t){e.framesetOk=!1,e._switchToTextParsing(t,n.MODE.RAWTEXT)}function ze(e,t){e._switchToTextParsing(t,n.MODE.RAWTEXT)}function Ke(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,p.HTML),e.framesetOk=!1,e.insertionMode===k||e.insertionMode===O||e.insertionMode===M||e.insertionMode===I||e.insertionMode===R?e.insertionMode=P:e.insertionMode=j}function Ve(e,t){e.openElements.currentTagName===h.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,p.HTML)}function We(e,t){e.openElements.hasInScope(h.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,p.HTML)}function Xe(e,t){e.openElements.hasInScope(h.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(h.RTC),e._insertElement(t,p.HTML)}function Ye(e,t){e.openElements.currentTagName===h.MENUITEM&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,p.HTML)}function Qe(e,t){e.openElements.hasInButtonScope(h.P)&&e._closePElement(),e.openElements.currentTagName===h.MENUITEM&&e.openElements.pop(),e._insertElement(t,p.HTML)}function $e(e,t){e._reconstructActiveFormattingElements(),l.adjustTokenMathMLAttrs(t),l.adjustTokenXMLAttrs(t),t.selfClosing?e._appendElement(t,p.MATHML):e._insertElement(t,p.MATHML)}function Je(e,t){e._reconstructActiveFormattingElements(),l.adjustTokenSVGAttrs(t),l.adjustTokenXMLAttrs(t),t.selfClosing?e._appendElement(t,p.SVG):e._insertElement(t,p.SVG)}function Ze(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,p.HTML)}function et(e,t){var r=t.tagName;switch(r.length){case 1:r===h.I||r===h.S||r===h.B||r===h.U?Ie(e,t):r===h.P?Se(e,t):r===h.A?Me(e,t):Ze(e,t);break;case 2:r===h.DL||r===h.OL||r===h.UL?Se(e,t):r===h.H1||r===h.H2||r===h.H3||r===h.H4||r===h.H5||r===h.H6?xe(e,t):r===h.LI||r===h.DD||r===h.DT?Ce(e,t):r===h.EM||r===h.TT?Ie(e,t):r===h.BR?De(e,t):r===h.HR?Ue(e,t):r===h.RB?We(e,t):r===h.RT||r===h.RP?Xe(e,t):r!==h.TH&&r!==h.TD&&r!==h.TR&&Ze(e,t);break;case 3:r===h.DIV||r===h.DIR||r===h.NAV?Se(e,t):r===h.PRE?Ae(e,t):r===h.BIG?Ie(e,t):r===h.IMG||r===h.WBR?De(e,t):r===h.XMP?qe(e,t):r===h.SVG?Je(e,t):r===h.RTC?We(e,t):r!==h.COL&&Ze(e,t);break;case 4:r===h.HTML?we(e,t):r===h.BASE||r===h.LINK||r===h.META?he(e,t):r===h.BODY?Ee(e,t):r===h.MAIN?Se(e,t):r===h.FORM?ke(e,t):r===h.CODE||r===h.FONT?Ie(e,t):r===h.NOBR?Re(e,t):r===h.AREA?De(e,t):r===h.MATH?$e(e,t):r===h.MENU?Qe(e,t):r!==h.HEAD&&Ze(e,t);break;case 5:r===h.STYLE||r===h.TITLE?he(e,t):r===h.ASIDE?Se(e,t):r===h.SMALL?Ie(e,t):r===h.TABLE?Pe(e,t):r===h.EMBED?De(e,t):r===h.INPUT?Le(e,t):r===h.PARAM||r===h.TRACK?Be(e,t):r===h.IMAGE?He(e,t):r!==h.FRAME&&r!==h.TBODY&&r!==h.TFOOT&&r!==h.THEAD&&Ze(e,t);break;case 6:r===h.SCRIPT?he(e,t):r===h.CENTER||r===h.FIGURE||r===h.FOOTER||r===h.HEADER||r===h.HGROUP?Se(e,t):r===h.BUTTON?Ne(e,t):r===h.STRIKE||r===h.STRONG?Ie(e,t):r===h.APPLET||r===h.OBJECT?je(e,t):r===h.KEYGEN?De(e,t):r===h.SOURCE?Be(e,t):r===h.IFRAME?Ge(e,t):r===h.SELECT?Ke(e,t):r===h.OPTION?Ve(e,t):Ze(e,t);break;case 7:r===h.BGSOUND?he(e,t):r===h.DETAILS||r===h.ADDRESS||r===h.ARTICLE||r===h.SECTION||r===h.SUMMARY?Se(e,t):r===h.LISTING?Ae(e,t):r===h.MARQUEE?je(e,t):r===h.NOEMBED?ze(e,t):r!==h.CAPTION&&Ze(e,t);break;case 8:r===h.BASEFONT?he(e,t):r===h.MENUITEM?Ye(e,t):r===h.FRAMESET?Te(e,t):r===h.FIELDSET?Se(e,t):r===h.TEXTAREA?Fe(e,t):r===h.TEMPLATE?he(e,t):r===h.NOSCRIPT?ze(e,t):r===h.OPTGROUP?Ve(e,t):r!==h.COLGROUP&&Ze(e,t);break;case 9:r===h.PLAINTEXT?Oe(e,t):Ze(e,t);break;case 10:r===h.BLOCKQUOTE||r===h.FIGCAPTION?Se(e,t):Ze(e,t);break;default:Ze(e,t)}}function tt(e){e.openElements.hasInScope(h.BODY)&&(e.insertionMode=L)}function rt(e,t){e.openElements.hasInScope(h.BODY)&&(e.insertionMode=L,e._processToken(t))}function nt(e,t){var r=t.tagName;e.openElements.hasInScope(r)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(r))}function it(e){var t=e.openElements.tmplCount>0,r=e.formElement;t||(e.formElement=null),(r||t)&&e.openElements.hasInScope(h.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(h.FORM):e.openElements.remove(r))}function ot(e){e.openElements.hasInButtonScope(h.P)||e._insertFakeElement(h.P),e._closePElement()}function at(e){e.openElements.hasInListItemScope(h.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(h.LI),e.openElements.popUntilTagNamePopped(h.LI))}function st(e,t){var r=t.tagName;e.openElements.hasInScope(r)&&(e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.popUntilTagNamePopped(r))}function ct(e){e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped())}function ut(e,t){var r=t.tagName;e.openElements.hasInScope(r)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(r),e.activeFormattingElements.clearToLastMarker())}function lt(e){e._reconstructActiveFormattingElements(),e._insertFakeElement(h.BR),e.openElements.pop(),e.framesetOk=!1}function ft(e,t){for(var r=t.tagName,n=e.openElements.stackTop;n>0;n--){var i=e.openElements.items[n];if(e.treeAdapter.getTagName(i)===r){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.popUntilElementPopped(i);break}if(e._isSpecialElement(i))break}}function dt(e,t){var r=t.tagName;switch(r.length){case 1:r===h.A||r===h.B||r===h.I||r===h.S||r===h.U?J(e,t):r===h.P?ot(e,t):ft(e,t);break;case 2:r===h.DL||r===h.UL||r===h.OL?nt(e,t):r===h.LI?at(e,t):r===h.DD||r===h.DT?st(e,t):r===h.H1||r===h.H2||r===h.H3||r===h.H4||r===h.H5||r===h.H6?ct(e,t):r===h.BR?lt(e,t):r===h.EM||r===h.TT?J(e,t):ft(e,t);break;case 3:r===h.BIG?J(e,t):r===h.DIR||r===h.DIV||r===h.NAV?nt(e,t):ft(e,t);break;case 4:r===h.BODY?tt(e,t):r===h.HTML?rt(e,t):r===h.FORM?it(e,t):r===h.CODE||r===h.FONT||r===h.NOBR?J(e,t):r===h.MAIN||r===h.MENU?nt(e,t):ft(e,t);break;case 5:r===h.ASIDE?nt(e,t):r===h.SMALL?J(e,t):ft(e,t);break;case 6:r===h.CENTER||r===h.FIGURE||r===h.FOOTER||r===h.HEADER||r===h.HGROUP?nt(e,t):r===h.APPLET||r===h.OBJECT?ut(e,t):r===h.STRIKE||r===h.STRONG?J(e,t):ft(e,t);break;case 7:r===h.ADDRESS||r===h.ARTICLE||r===h.DETAILS||r===h.SECTION||r===h.SUMMARY?nt(e,t):r===h.MARQUEE?ut(e,t):ft(e,t);break;case 8:r===h.FIELDSET?nt(e,t):r===h.TEMPLATE?pe(e,t):ft(e,t);break;case 10:r===h.BLOCKQUOTE||r===h.FIGCAPTION?nt(e,t):ft(e,t);break;default:ft(e,t)}}function ht(e,t){e.tmplInsertionModeStackTop>-1?Xt(e,t):e.stopped=!0}function pt(e,t){t.tagName===h.SCRIPT&&(e.pendingScript=e.openElements.current),e.openElements.pop(),e.insertionMode=e.originalInsertionMode}function mt(e,t){e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e._processToken(t)}function bt(e,t){var r=e.openElements.currentTagName;r===h.TABLE||r===h.TBODY||r===h.TFOOT||r===h.THEAD||r===h.TR?(e.pendingCharacterTokens=[],e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=C,e._processToken(t)):kt(e,t)}function gt(e,t){e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,p.HTML),e.insertionMode=O}function yt(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,p.HTML),e.insertionMode=N}function vt(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(h.COLGROUP),e.insertionMode=N,e._processToken(t)}function _t(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,p.HTML),e.insertionMode=M}function wt(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(h.TBODY),e.insertionMode=M,e._processToken(t)}function Et(e,t){e.openElements.hasInTableScope(h.TABLE)&&(e.openElements.popUntilTagNamePopped(h.TABLE),e._resetInsertionMode(),e._processToken(t))}function Tt(e,t){var r=n.getTokenAttr(t,m.TYPE);r&&r.toLowerCase()===g?e._appendElement(t,p.HTML):kt(e,t)}function St(e,t){e.formElement||0!==e.openElements.tmplCount||(e._insertElement(t,p.HTML),e.formElement=e.openElements.current,e.openElements.pop())}function xt(e,t){var r=t.tagName;switch(r.length){case 2:r===h.TD||r===h.TH||r===h.TR?wt(e,t):kt(e,t);break;case 3:r===h.COL?vt(e,t):kt(e,t);break;case 4:r===h.FORM?St(e,t):kt(e,t);break;case 5:r===h.TABLE?Et(e,t):r===h.STYLE?he(e,t):r===h.TBODY||r===h.TFOOT||r===h.THEAD?_t(e,t):r===h.INPUT?Tt(e,t):kt(e,t);break;case 6:r===h.SCRIPT?he(e,t):kt(e,t);break;case 7:r===h.CAPTION?gt(e,t):kt(e,t);break;case 8:r===h.COLGROUP?yt(e,t):r===h.TEMPLATE?he(e,t):kt(e,t);break;default:kt(e,t)}}function At(e,t){var r=t.tagName;r===h.TABLE?e.openElements.hasInTableScope(h.TABLE)&&(e.openElements.popUntilTagNamePopped(h.TABLE),e._resetInsertionMode()):r===h.TEMPLATE?pe(e,t):r!==h.BODY&&r!==h.CAPTION&&r!==h.COL&&r!==h.COLGROUP&&r!==h.HTML&&r!==h.TBODY&&r!==h.TD&&r!==h.TFOOT&&r!==h.TH&&r!==h.THEAD&&r!==h.TR&&kt(e,t)}function kt(e,t){var r=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,e._processTokenInBodyMode(t),e.fosterParentingEnabled=r}function Ct(e,t){e.pendingCharacterTokens.push(t)}function Ot(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function Nt(e,t){var r=0;if(e.hasNonWhitespacePendingCharacterToken)for(;r0?(e.openElements.popUntilTagNamePopped(h.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e._popTmplInsertionMode(),e._resetInsertionMode(),e._processToken(t)):e.stopped=!0}function Yt(e,t){t.tagName===h.HTML?et(e,t):$t(e,t)}function Qt(e,t){t.tagName===h.HTML?e.fragmentContext||(e.insertionMode=H):$t(e,t)}function $t(e,t){e.insertionMode=x,e._processToken(t)}function Jt(e,t){var r=t.tagName;r===h.HTML?et(e,t):r===h.FRAMESET?e._insertElement(t,p.HTML):r===h.FRAME?e._appendElement(t,p.HTML):r===h.NOFRAMES&&he(e,t)}function Zt(e,t){t.tagName!==h.FRAMESET||e.openElements.isRootHtmlElementCurrent()||(e.openElements.pop(),e.fragmentContext||e.openElements.currentTagName===h.FRAMESET||(e.insertionMode=U))}function er(e,t){var r=t.tagName;r===h.HTML?et(e,t):r===h.NOFRAMES&&he(e,t)}function tr(e,t){t.tagName===h.HTML&&(e.insertionMode=F)}function rr(e,t){t.tagName===h.HTML?et(e,t):nr(e,t)}function nr(e,t){e.insertionMode=x,e._processToken(t)}function ir(e,t){var r=t.tagName;r===h.HTML?et(e,t):r===h.NOFRAMES&&he(e,t)}function or(e,t){t.chars=f.REPLACEMENT_CHARACTER,e._insertCharacters(t)}function ar(e,t){e._insertCharacters(t),e.framesetOk=!1}function sr(e,t){if(l.causesExit(t)&&!e.fragmentContext){while(e.treeAdapter.getNamespaceURI(e.openElements.current)!==p.HTML&&!e._isIntegrationPoint(e.openElements.current))e.openElements.pop();e._processToken(t)}else{var r=e._getAdjustedCurrentElement(),n=e.treeAdapter.getNamespaceURI(r);n===p.MATHML?l.adjustTokenMathMLAttrs(t):n===p.SVG&&(l.adjustTokenSVGTagName(t),l.adjustTokenSVGAttrs(t)),l.adjustTokenXMLAttrs(t),t.selfClosing?e._appendElement(t,n):e._insertElement(t,n)}}function cr(e,t){for(var r=e.openElements.stackTop;r>0;r--){var n=e.openElements.items[r];if(e.treeAdapter.getNamespaceURI(n)===p.HTML){e._processToken(t);break}if(e.treeAdapter.getTagName(n).toLowerCase()===t.tagName){e.openElements.popUntilElementPopped(n);break}}}K.prototype.parse=function(e){var t=this.treeAdapter.createDocument();return this._bootstrap(t,null),this.tokenizer.write(e,!0),this._runParsingLoop(null),t},K.prototype.parseFragment=function(e,t){t||(t=this.treeAdapter.createElement(h.TEMPLATE,p.HTML,[]));var r=this.treeAdapter.createElement("documentmock",p.HTML,[]);this._bootstrap(r,t),this.treeAdapter.getTagName(t)===h.TEMPLATE&&this._pushTmplInsertionMode(D),this._initTokenizerForFragmentParsing(),this._insertFakeRootElement(),this._resetInsertionMode(),this._findFormInFragmentContext(),this.tokenizer.write(e,!0),this._runParsingLoop(null);var n=this.treeAdapter.getFirstChild(r),i=this.treeAdapter.createDocumentFragment();return this._adoptNodes(n,i),i},K.prototype._bootstrap=function(e,t){this.tokenizer=new n(this.options),this.stopped=!1,this.insertionMode=_,this.originalInsertionMode="",this.document=e,this.fragmentContext=t,this.headElement=null,this.formElement=null,this.openElements=new i(this.document,this.treeAdapter),this.activeFormattingElements=new o(this.treeAdapter),this.tmplInsertionModeStack=[],this.tmplInsertionModeStackTop=-1,this.currentTmplInsertionMode=null,this.pendingCharacterTokens=[],this.hasNonWhitespacePendingCharacterToken=!1,this.framesetOk=!0,this.skipNextNewLine=!1,this.fosterParentingEnabled=!1},K.prototype._runParsingLoop=function(e){while(!this.stopped){this._setupTokenizerCDATAMode();var t=this.tokenizer.getNextToken();if(t.type===n.HIBERNATION_TOKEN)break;if(this.skipNextNewLine&&(this.skipNextNewLine=!1,t.type===n.WHITESPACE_CHARACTER_TOKEN&&"\n"===t.chars[0])){if(1===t.chars.length)continue;t.chars=t.chars.substr(1)}if(this._processInputToken(t),e&&this.pendingScript)break}},K.prototype.runParsingLoopForCurrentChunk=function(e,t){if(this._runParsingLoop(t),t&&this.pendingScript){var r=this.pendingScript;return this.pendingScript=null,void t(r)}e&&e()},K.prototype._setupTokenizerCDATAMode=function(){var e=this._getAdjustedCurrentElement();this.tokenizer.allowCDATA=e&&e!==this.document&&this.treeAdapter.getNamespaceURI(e)!==p.HTML&&!this._isIntegrationPoint(e)},K.prototype._switchToTextParsing=function(e,t){this._insertElement(e,p.HTML),this.tokenizer.state=t,this.originalInsertionMode=this.insertionMode,this.insertionMode=A},K.prototype.switchToPlaintextParsing=function(){this.insertionMode=A,this.originalInsertionMode=x,this.tokenizer.state=n.MODE.PLAINTEXT},K.prototype._getAdjustedCurrentElement=function(){return 0===this.openElements.stackTop&&this.fragmentContext?this.fragmentContext:this.openElements.current},K.prototype._findFormInFragmentContext=function(){var e=this.fragmentContext;do{if(this.treeAdapter.getTagName(e)===h.FORM){this.formElement=e;break}e=this.treeAdapter.getParentNode(e)}while(e)},K.prototype._initTokenizerForFragmentParsing=function(){if(this.treeAdapter.getNamespaceURI(this.fragmentContext)===p.HTML){var e=this.treeAdapter.getTagName(this.fragmentContext);e===h.TITLE||e===h.TEXTAREA?this.tokenizer.state=n.MODE.RCDATA:e===h.STYLE||e===h.XMP||e===h.IFRAME||e===h.NOEMBED||e===h.NOFRAMES||e===h.NOSCRIPT?this.tokenizer.state=n.MODE.RAWTEXT:e===h.SCRIPT?this.tokenizer.state=n.MODE.SCRIPT_DATA:e===h.PLAINTEXT&&(this.tokenizer.state=n.MODE.PLAINTEXT)}},K.prototype._setDocumentType=function(e){this.treeAdapter.setDocumentType(this.document,e.name,e.publicId,e.systemId)},K.prototype._attachElementToTree=function(e){if(this._shouldFosterParentOnInsertion())this._fosterParentElement(e);else{var t=this.openElements.currentTmplContent||this.openElements.current;this.treeAdapter.appendChild(t,e)}},K.prototype._appendElement=function(e,t){var r=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(r)},K.prototype._insertElement=function(e,t){var r=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(r),this.openElements.push(r)},K.prototype._insertFakeElement=function(e){var t=this.treeAdapter.createElement(e,p.HTML,[]);this._attachElementToTree(t),this.openElements.push(t)},K.prototype._insertTemplate=function(e){var t=this.treeAdapter.createElement(e.tagName,p.HTML,e.attrs),r=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(t,r),this._attachElementToTree(t),this.openElements.push(t)},K.prototype._insertFakeRootElement=function(){var e=this.treeAdapter.createElement(h.HTML,p.HTML,[]);this.treeAdapter.appendChild(this.openElements.current,e),this.openElements.push(e)},K.prototype._appendCommentNode=function(e,t){var r=this.treeAdapter.createCommentNode(e.data);this.treeAdapter.appendChild(t,r)},K.prototype._insertCharacters=function(e){if(this._shouldFosterParentOnInsertion())this._fosterParentText(e.chars);else{var t=this.openElements.currentTmplContent||this.openElements.current;this.treeAdapter.insertText(t,e.chars)}},K.prototype._adoptNodes=function(e,t){while(1){var r=this.treeAdapter.getFirstChild(e);if(!r)break;this.treeAdapter.detachNode(r),this.treeAdapter.appendChild(t,r)}},K.prototype._shouldProcessTokenInForeignContent=function(e){var t=this._getAdjustedCurrentElement();if(!t||t===this.document)return!1;var r=this.treeAdapter.getNamespaceURI(t);if(r===p.HTML)return!1;if(this.treeAdapter.getTagName(t)===h.ANNOTATION_XML&&r===p.MATHML&&e.type===n.START_TAG_TOKEN&&e.tagName===h.SVG)return!1;var i=e.type===n.CHARACTER_TOKEN||e.type===n.NULL_CHARACTER_TOKEN||e.type===n.WHITESPACE_CHARACTER_TOKEN,o=e.type===n.START_TAG_TOKEN&&e.tagName!==h.MGLYPH&&e.tagName!==h.MALIGNMARK;return(!o&&!i||!this._isIntegrationPoint(t,p.MATHML))&&((e.type!==n.START_TAG_TOKEN&&!i||!this._isIntegrationPoint(t,p.HTML))&&e.type!==n.EOF_TOKEN)},K.prototype._processToken=function(e){z[this.insertionMode][e.type](this,e)},K.prototype._processTokenInBodyMode=function(e){z[x][e.type](this,e)},K.prototype._processTokenInForeignContent=function(e){e.type===n.CHARACTER_TOKEN?ar(this,e):e.type===n.NULL_CHARACTER_TOKEN?or(this,e):e.type===n.WHITESPACE_CHARACTER_TOKEN?ne(this,e):e.type===n.COMMENT_TOKEN?ee(this,e):e.type===n.START_TAG_TOKEN?sr(this,e):e.type===n.END_TAG_TOKEN&&cr(this,e)},K.prototype._processInputToken=function(e){this._shouldProcessTokenInForeignContent(e)?this._processTokenInForeignContent(e):this._processToken(e)},K.prototype._isIntegrationPoint=function(e,t){var r=this.treeAdapter.getTagName(e),n=this.treeAdapter.getNamespaceURI(e),i=this.treeAdapter.getAttrList(e);return l.isIntegrationPoint(r,n,i,t)},K.prototype._reconstructActiveFormattingElements=function(){var e=this.activeFormattingElements.length;if(e){var t=e,r=null;do{if(t--,r=this.activeFormattingElements.entries[t],r.type===o.MARKER_ENTRY||this.openElements.contains(r.element)){t++;break}}while(t>0);for(var n=t;n=0;e--){var r=this.openElements.items[e];0===e&&(t=!0,this.fragmentContext&&(r=this.fragmentContext));var n=this.treeAdapter.getTagName(r),i=q[n];if(i){this.insertionMode=i;break}if(!(t||n!==h.TD&&n!==h.TH)){this.insertionMode=R;break}if(!t&&n===h.HEAD){this.insertionMode=T;break}if(n===h.SELECT){this._resetInsertionModeForSelect(e);break}if(n===h.TEMPLATE){this.insertionMode=this.currentTmplInsertionMode;break}if(n===h.HTML){this.insertionMode=this.headElement?S:E;break}if(t){this.insertionMode=x;break}}},K.prototype._resetInsertionModeForSelect=function(e){if(e>0)for(var t=e-1;t>0;t--){var r=this.openElements.items[t],n=this.treeAdapter.getTagName(r);if(n===h.TEMPLATE)break;if(n===h.TABLE)return void(this.insertionMode=P)}this.insertionMode=j},K.prototype._pushTmplInsertionMode=function(e){this.tmplInsertionModeStack.push(e),this.tmplInsertionModeStackTop++,this.currentTmplInsertionMode=e},K.prototype._popTmplInsertionMode=function(){this.tmplInsertionModeStack.pop(),this.tmplInsertionModeStackTop--,this.currentTmplInsertionMode=this.tmplInsertionModeStack[this.tmplInsertionModeStackTop]},K.prototype._isElementCausesFosterParenting=function(e){var t=this.treeAdapter.getTagName(e);return t===h.TABLE||t===h.TBODY||t===h.TFOOT||t===h.THEAD||t===h.TR},K.prototype._shouldFosterParentOnInsertion=function(){return this.fosterParentingEnabled&&this._isElementCausesFosterParenting(this.openElements.current)},K.prototype._findFosterParentingLocation=function(){for(var e={parent:null,beforeElement:null},t=this.openElements.stackTop;t>=0;t--){var r=this.openElements.items[t],n=this.treeAdapter.getTagName(r),i=this.treeAdapter.getNamespaceURI(r);if(n===h.TEMPLATE&&i===p.HTML){e.parent=this.treeAdapter.getTemplateContent(r);break}if(n===h.TABLE){e.parent=this.treeAdapter.getParentNode(r),e.parent?e.beforeElement=r:e.parent=this.openElements.items[t-1];break}}return e.parent||(e.parent=this.openElements.items[0]),e},K.prototype._fosterParentElement=function(e){var t=this._findFosterParentingLocation();t.beforeElement?this.treeAdapter.insertBefore(t.parent,e,t.beforeElement):this.treeAdapter.appendChild(t.parent,e)},K.prototype._fosterParentText=function(e){var t=this._findFosterParentingLocation();t.beforeElement?this.treeAdapter.insertTextBefore(t.parent,e,t.beforeElement):this.treeAdapter.insertText(t.parent,e)},K.prototype._isSpecialElement=function(e){var t=this.treeAdapter.getTagName(e),r=this.treeAdapter.getNamespaceURI(e);return d.SPECIAL_ELEMENTS[r][t]}},cd91:function(e){e.exports=JSON.parse('{"1.3.132.0.10":"secp256k1","1.3.132.0.33":"p224","1.2.840.10045.3.1.1":"p192","1.2.840.10045.3.1.7":"p256","1.3.132.0.34":"p384","1.3.132.0.35":"p521"}')},ce8b:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parse=void 0;var n=/^([+-]?\d*n)?\s*(?:([+-]?)\s*(\d+))?$/;function i(e){if(e=e.trim().toLowerCase(),"even"===e)return[2,0];if("odd"===e)return[2,1];var t,r=e.match(n);if(!r)throw new Error("n-th rule couldn't be parsed ('"+e+"')");r[1]?(t=parseInt(r[1],10),isNaN(t)&&(t=r[1].startsWith("-")?-1:1)):t=0;var i=("-"===r[2]?-1:1)*(r[3]?parseInt(r[3],10):0);return[t,i]}t.parse=i},ce90:function(e,t,r){"use strict";var n=r("629c"),i=r("a514"),o=r("f8cf"),a=i.CODE_POINTS,s=i.CODE_POINT_SEQUENCES,c={0:65533,13:13,128:8364,129:129,130:8218,131:402,132:8222,133:8230,134:8224,135:8225,136:710,137:8240,138:352,139:8249,140:338,141:141,142:381,143:143,144:144,145:8216,146:8217,147:8220,148:8221,149:8226,150:8211,151:8212,152:732,153:8482,154:353,155:8250,156:339,157:157,158:382,159:376},u=1,l=2,f=4,d=u|l|f,h="DATA_STATE",p="CHARACTER_REFERENCE_IN_DATA_STATE",m="RCDATA_STATE",b="CHARACTER_REFERENCE_IN_RCDATA_STATE",g="RAWTEXT_STATE",y="SCRIPT_DATA_STATE",v="PLAINTEXT_STATE",_="TAG_OPEN_STATE",w="END_TAG_OPEN_STATE",E="TAG_NAME_STATE",T="RCDATA_LESS_THAN_SIGN_STATE",S="RCDATA_END_TAG_OPEN_STATE",x="RCDATA_END_TAG_NAME_STATE",A="RAWTEXT_LESS_THAN_SIGN_STATE",k="RAWTEXT_END_TAG_OPEN_STATE",C="RAWTEXT_END_TAG_NAME_STATE",O="SCRIPT_DATA_LESS_THAN_SIGN_STATE",N="SCRIPT_DATA_END_TAG_OPEN_STATE",M="SCRIPT_DATA_END_TAG_NAME_STATE",I="SCRIPT_DATA_ESCAPE_START_STATE",R="SCRIPT_DATA_ESCAPE_START_DASH_STATE",j="SCRIPT_DATA_ESCAPED_STATE",P="SCRIPT_DATA_ESCAPED_DASH_STATE",D="SCRIPT_DATA_ESCAPED_DASH_DASH_STATE",L="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN_STATE",B="SCRIPT_DATA_ESCAPED_END_TAG_OPEN_STATE",U="SCRIPT_DATA_ESCAPED_END_TAG_NAME_STATE",H="SCRIPT_DATA_DOUBLE_ESCAPE_START_STATE",F="SCRIPT_DATA_DOUBLE_ESCAPED_STATE",q="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_STATE",G="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH_STATE",z="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN_STATE",K="SCRIPT_DATA_DOUBLE_ESCAPE_END_STATE",V="BEFORE_ATTRIBUTE_NAME_STATE",W="ATTRIBUTE_NAME_STATE",X="AFTER_ATTRIBUTE_NAME_STATE",Y="BEFORE_ATTRIBUTE_VALUE_STATE",Q="ATTRIBUTE_VALUE_DOUBLE_QUOTED_STATE",$="ATTRIBUTE_VALUE_SINGLE_QUOTED_STATE",J="ATTRIBUTE_VALUE_UNQUOTED_STATE",Z="CHARACTER_REFERENCE_IN_ATTRIBUTE_VALUE_STATE",ee="AFTER_ATTRIBUTE_VALUE_QUOTED_STATE",te="SELF_CLOSING_START_TAG_STATE",re="BOGUS_COMMENT_STATE",ne="BOGUS_COMMENT_STATE_CONTINUATION",ie="MARKUP_DECLARATION_OPEN_STATE",oe="COMMENT_START_STATE",ae="COMMENT_START_DASH_STATE",se="COMMENT_STATE",ce="COMMENT_END_DASH_STATE",ue="COMMENT_END_STATE",le="COMMENT_END_BANG_STATE",fe="DOCTYPE_STATE",de="DOCTYPE_NAME_STATE",he="AFTER_DOCTYPE_NAME_STATE",pe="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER_STATE",me="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED_STATE",be="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED_STATE",ge="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS_STATE",ye="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER_STATE",ve="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED_STATE",_e="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED_STATE",we="AFTER_DOCTYPE_SYSTEM_IDENTIFIER_STATE",Ee="BOGUS_DOCTYPE_STATE",Te="CDATA_SECTION_STATE";function Se(e){return e===a.SPACE||e===a.LINE_FEED||e===a.TABULATION||e===a.FORM_FEED}function xe(e){return e>=a.DIGIT_0&&e<=a.DIGIT_9}function Ae(e){return e>=a.LATIN_CAPITAL_A&&e<=a.LATIN_CAPITAL_Z}function ke(e){return e>=a.LATIN_SMALL_A&&e<=a.LATIN_SMALL_Z}function Ce(e){return ke(e)||Ae(e)}function Oe(e){return Ce(e)||xe(e)}function Ne(e,t){return xe(e)||t&&(e>=a.LATIN_CAPITAL_A&&e<=a.LATIN_CAPITAL_F||e>=a.LATIN_SMALL_A&&e<=a.LATIN_SMALL_F)}function Me(e){return e>=55296&&e<=57343||e>1114111}function Ie(e){return e+32}function Re(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode(e>>>10&1023|55296)+String.fromCharCode(56320|1023&e))}function je(e){return String.fromCharCode(Ie(e))}function Pe(e,t){var r=o[++e],n=++e,i=n+r-1;while(n<=i){var a=n+i>>>1,s=o[a];if(st))return o[a+r];i=a-1}}return-1}var De=e.exports=function(){this.preprocessor=new n,this.tokenQueue=[],this.allowCDATA=!1,this.state=h,this.returnState="",this.tempBuff=[],this.additionalAllowedCp=void 0,this.lastStartTagName="",this.consumedAfterSnapshot=-1,this.active=!1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr=null};De.CHARACTER_TOKEN="CHARACTER_TOKEN",De.NULL_CHARACTER_TOKEN="NULL_CHARACTER_TOKEN",De.WHITESPACE_CHARACTER_TOKEN="WHITESPACE_CHARACTER_TOKEN",De.START_TAG_TOKEN="START_TAG_TOKEN",De.END_TAG_TOKEN="END_TAG_TOKEN",De.COMMENT_TOKEN="COMMENT_TOKEN",De.DOCTYPE_TOKEN="DOCTYPE_TOKEN",De.EOF_TOKEN="EOF_TOKEN",De.HIBERNATION_TOKEN="HIBERNATION_TOKEN",De.MODE={DATA:h,RCDATA:m,RAWTEXT:g,SCRIPT_DATA:y,PLAINTEXT:v},De.getTokenAttr=function(e,t){for(var r=e.attrs.length-1;r>=0;r--)if(e.attrs[r].name===t)return e.attrs[r].value;return null},De.prototype.getNextToken=function(){while(!this.tokenQueue.length&&this.active){this._hibernationSnapshot();var e=this._consume();this._ensureHibernation()||this[this.state](e)}return this.tokenQueue.shift()},De.prototype.write=function(e,t){this.active=!0,this.preprocessor.write(e,t)},De.prototype.insertHtmlAtCurrentPos=function(e){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(e)},De.prototype._hibernationSnapshot=function(){this.consumedAfterSnapshot=0},De.prototype._ensureHibernation=function(){if(this.preprocessor.endOfChunkHit){for(;this.consumedAfterSnapshot>0;this.consumedAfterSnapshot--)this.preprocessor.retreat();return this.active=!1,this.tokenQueue.push({type:De.HIBERNATION_TOKEN}),!0}return!1},De.prototype._consume=function(){return this.consumedAfterSnapshot++,this.preprocessor.advance()},De.prototype._unconsume=function(){this.consumedAfterSnapshot--,this.preprocessor.retreat()},De.prototype._unconsumeSeveral=function(e){while(e--)this._unconsume()},De.prototype._reconsumeInState=function(e){this.state=e,this._unconsume()},De.prototype._consumeSubsequentIfMatch=function(e,t,r){for(var n=0,i=!0,o=e.length,s=0,c=t,u=void 0;s0&&(c=this._consume(),n++),c===a.EOF){i=!1;break}if(u=e[s],c!==u&&(r||c!==Ie(u))){i=!1;break}}return i||this._unconsumeSeveral(n),i},De.prototype._lookahead=function(){var e=this._consume();return this._unconsume(),e},De.prototype.isTempBufferEqualToScriptString=function(){if(this.tempBuff.length!==s.SCRIPT_STRING.length)return!1;for(var e=0;e-1;){var h=o[c],p=h")):e===a.NULL?(this.state=j,this._emitChar(i.REPLACEMENT_CHARACTER)):e===a.EOF?this._reconsumeInState(h):(this.state=j,this._emitCodePoint(e))},Le[L]=function(e){e===a.SOLIDUS?(this.tempBuff=[],this.state=B):Ce(e)?(this.tempBuff=[],this._emitChar("<"),this._reconsumeInState(H)):(this._emitChar("<"),this._reconsumeInState(j))},Le[B]=function(e){Ce(e)?(this._createEndTagToken(),this._reconsumeInState(U)):(this._emitChar("<"),this._emitChar("/"),this._reconsumeInState(j))},Le[U]=function(e){if(Ae(e))this.currentToken.tagName+=je(e),this.tempBuff.push(e);else if(ke(e))this.currentToken.tagName+=Re(e),this.tempBuff.push(e);else{if(this._isAppropriateEndTagToken()){if(Se(e))return void(this.state=V);if(e===a.SOLIDUS)return void(this.state=te);if(e===a.GREATER_THAN_SIGN)return this._emitCurrentToken(),void(this.state=h)}this._emitChar("<"),this._emitChar("/"),this._emitSeveralCodePoints(this.tempBuff),this._reconsumeInState(j)}},Le[H]=function(e){Se(e)||e===a.SOLIDUS||e===a.GREATER_THAN_SIGN?(this.state=this.isTempBufferEqualToScriptString()?F:j,this._emitCodePoint(e)):Ae(e)?(this.tempBuff.push(Ie(e)),this._emitCodePoint(e)):ke(e)?(this.tempBuff.push(e),this._emitCodePoint(e)):this._reconsumeInState(j)},Le[F]=function(e){e===a.HYPHEN_MINUS?(this.state=q,this._emitChar("-")):e===a.LESS_THAN_SIGN?(this.state=z,this._emitChar("<")):e===a.NULL?this._emitChar(i.REPLACEMENT_CHARACTER):e===a.EOF?this._reconsumeInState(h):this._emitCodePoint(e)},Le[q]=function(e){e===a.HYPHEN_MINUS?(this.state=G,this._emitChar("-")):e===a.LESS_THAN_SIGN?(this.state=z,this._emitChar("<")):e===a.NULL?(this.state=F,this._emitChar(i.REPLACEMENT_CHARACTER)):e===a.EOF?this._reconsumeInState(h):(this.state=F,this._emitCodePoint(e))},Le[G]=function(e){e===a.HYPHEN_MINUS?this._emitChar("-"):e===a.LESS_THAN_SIGN?(this.state=z,this._emitChar("<")):e===a.GREATER_THAN_SIGN?(this.state=y,this._emitChar(">")):e===a.NULL?(this.state=F,this._emitChar(i.REPLACEMENT_CHARACTER)):e===a.EOF?this._reconsumeInState(h):(this.state=F,this._emitCodePoint(e))},Le[z]=function(e){e===a.SOLIDUS?(this.tempBuff=[],this.state=K,this._emitChar("/")):this._reconsumeInState(F)},Le[K]=function(e){Se(e)||e===a.SOLIDUS||e===a.GREATER_THAN_SIGN?(this.state=this.isTempBufferEqualToScriptString()?j:F,this._emitCodePoint(e)):Ae(e)?(this.tempBuff.push(Ie(e)),this._emitCodePoint(e)):ke(e)?(this.tempBuff.push(e),this._emitCodePoint(e)):this._reconsumeInState(F)},Le[V]=function(e){Se(e)||(e===a.SOLIDUS||e===a.GREATER_THAN_SIGN||e===a.EOF?this._reconsumeInState(X):e===a.EQUALS_SIGN?(this._createAttr("="),this.state=W):(this._createAttr(""),this._reconsumeInState(W)))},Le[W]=function(e){Se(e)||e===a.SOLIDUS||e===a.GREATER_THAN_SIGN||e===a.EOF?(this._leaveAttrName(X),this._unconsume()):e===a.EQUALS_SIGN?this._leaveAttrName(Y):Ae(e)?this.currentAttr.name+=je(e):e===a.QUOTATION_MARK||e===a.APOSTROPHE||e===a.LESS_THAN_SIGN?this.currentAttr.name+=Re(e):e===a.NULL?this.currentAttr.name+=i.REPLACEMENT_CHARACTER:this.currentAttr.name+=Re(e)},Le[X]=function(e){Se(e)||(e===a.SOLIDUS?this.state=te:e===a.EQUALS_SIGN?this.state=Y:e===a.GREATER_THAN_SIGN?(this.state=h,this._emitCurrentToken()):e===a.EOF?this._reconsumeInState(h):(this._createAttr(""),this._reconsumeInState(W)))},Le[Y]=function(e){Se(e)||(e===a.QUOTATION_MARK?this.state=Q:e===a.APOSTROPHE?this.state=$:this._reconsumeInState(J))},Le[Q]=function(e){e===a.QUOTATION_MARK?this.state=ee:e===a.AMPERSAND?(this.additionalAllowedCp=a.QUOTATION_MARK,this.returnState=this.state,this.state=Z):e===a.NULL?this.currentAttr.value+=i.REPLACEMENT_CHARACTER:e===a.EOF?this._reconsumeInState(h):this.currentAttr.value+=Re(e)},Le[$]=function(e){e===a.APOSTROPHE?this.state=ee:e===a.AMPERSAND?(this.additionalAllowedCp=a.APOSTROPHE,this.returnState=this.state,this.state=Z):e===a.NULL?this.currentAttr.value+=i.REPLACEMENT_CHARACTER:e===a.EOF?this._reconsumeInState(h):this.currentAttr.value+=Re(e)},Le[J]=function(e){Se(e)?this._leaveAttrValue(V):e===a.AMPERSAND?(this.additionalAllowedCp=a.GREATER_THAN_SIGN,this.returnState=this.state,this.state=Z):e===a.GREATER_THAN_SIGN?(this._leaveAttrValue(h),this._emitCurrentToken()):e===a.NULL?this.currentAttr.value+=i.REPLACEMENT_CHARACTER:e===a.QUOTATION_MARK||e===a.APOSTROPHE||e===a.LESS_THAN_SIGN||e===a.EQUALS_SIGN||e===a.GRAVE_ACCENT?this.currentAttr.value+=Re(e):e===a.EOF?this._reconsumeInState(h):this.currentAttr.value+=Re(e)},Le[Z]=function(e){var t=this._consumeCharacterReference(e,!0);if(!this._ensureHibernation()){if(t)for(var r=0;r>6],i=0===(32&r);if(31===(31&r)){let n=r;r=0;while(128===(128&n)){if(n=e.readUInt8(t),e.isError(n))return n;r<<=7,r|=127&n}}else r&=31;const o=s.tag[r];return{cls:n,primitive:i,tag:r,tagStr:o}}function f(e,t,r){let n=e.readUInt8(r);if(e.isError(n))return n;if(!t&&128===n)return null;if(0===(128&n))return n;const i=127&n;if(i>4)return e.error("length octect is too long");n=0;for(let o=0;os?t=e(t):t.length65535){e-=65536;var t=55296+(e>>10),r=56320+(1023&e);return String.fromCharCode(t,r)}return String.fromCharCode(e)}function a(e){var t=e.slice(1,-1);return t in r?r[t]:"#"===t.charAt(0)?o(parseInt(t.substr(1).replace("x","0x"))):(i.error("entity not found:"+e),e)}function s(t){if(t>_){var r=e.substring(_,t).replace(/&#?\w+;/g,a);d&&c(_),n.characters(r,0,t-_),_=t}}function c(t,r){while(t>=l&&(r=f.exec(e)))u=r.index,l=u+r[0].length,d.lineNumber++;d.columnNumber=t-u+1}var u=0,l=0,f=/.*(?:\r\n?|\n)|.*$/g,d=n.locator,h=[{currentNSMap:t}],p={},_=0;while(1){try{var S=e.indexOf("<",_);if(S<0){if(!e.substr(_).match(/^\s*$/)){var x=n.doc,A=x.createTextNode(e.substr(_));x.appendChild(A),n.currentElement=A}return}switch(S>_&&s(S),e.charAt(S+1)){case"/":var k=e.indexOf(">",S+3),C=e.substring(S+2,k),O=h.pop();k<0?(C=e.substring(S+2).replace(/[\s<].*/,""),i.error("end tag name: "+C+" is not complete:"+O.tagName),k=S+1+C.length):C.match(/\s_?_=k:s(Math.max(S,_)+1)}}function m(e,t){return t.lineNumber=e.lineNumber,t.columnNumber=e.columnNumber,t}function b(e,t,r,n,i,h){var p,m=++t,b=o;while(1){var g=e.charAt(m);switch(g){case"=":if(b===a)p=e.slice(t,m),b=c;else{if(b!==s)throw new Error("attribute equal must after attrName");b=c}break;case"'":case'"':if(b===c||b===a){if(b===a&&(h.warning('attribute value must after "="'),p=e.slice(t,m)),t=m+1,m=e.indexOf(g,t),!(m>0))throw new Error("attribute value no end '"+g+"' match");y=e.slice(t,m).replace(/&#?\w+;/g,i),r.add(p,y,t-1),b=l}else{if(b!=u)throw new Error('attribute value must after "="');y=e.slice(t,m).replace(/&#?\w+;/g,i),r.add(p,y,t),h.warning('attribute "'+p+'" missed start quot('+g+")!!"),t=m+1,b=l}break;case"/":switch(b){case o:r.setTagName(e.slice(t,m));case l:case f:case d:b=d,r.closed=!0;case u:case a:case s:break;default:throw new Error("attribute invalid close char('/')")}break;case"":return h.error("unexpected end of input"),b==o&&r.setTagName(e.slice(t,m)),m;case">":switch(b){case o:r.setTagName(e.slice(t,m));case l:case f:case d:break;case u:case a:y=e.slice(t,m),"/"===y.slice(-1)&&(r.closed=!0,y=y.slice(0,-1));case s:b===s&&(y=p),b==u?(h.warning('attribute "'+y+'" missed quot(")!!'),r.add(p,y.replace(/&#?\w+;/g,i),t)):("http://www.w3.org/1999/xhtml"===n[""]&&y.match(/^(?:disabled|checked|selected)$/i)||h.warning('attribute "'+y+'" missed value!! "'+y+'" instead!!'),r.add(y,y,t));break;case c:throw new Error("attribute value missed!!")}return m;case"€":g=" ";default:if(g<=" ")switch(b){case o:r.setTagName(e.slice(t,m)),b=f;break;case a:p=e.slice(t,m),b=s;break;case u:var y=e.slice(t,m).replace(/&#?\w+;/g,i);h.warning('attribute "'+y+'" missed quot(")!!'),r.add(p,y,t);case l:b=f;break}else switch(b){case s:r.tagName;"http://www.w3.org/1999/xhtml"===n[""]&&p.match(/^(?:disabled|checked|selected)$/i)||h.warning('attribute "'+p+'" missed value!! "'+p+'" instead2!!'),r.add(p,p,t),t=m,b=a;break;case l:h.warning('attribute space is required"'+p+'"!!');case f:b=a,t=m;break;case c:b=u,t=m;break;case d:throw new Error("elements closed character '/' and '>' must be connected to")}}m++}}function g(e,t,r){var n=e.tagName,i=null,o=e.length;while(o--){var a=e[o],s=a.qName,c=a.value,u=s.indexOf(":");if(u>0)var l=a.prefix=s.slice(0,u),f=s.slice(u+1),d="xmlns"===l&&f;else f=s,l=null,d="xmlns"===s&&"";a.localName=f,!1!==d&&(null==i&&(i={},_(r,r={})),r[d]=i[d]=c,a.uri="http://www.w3.org/2000/xmlns/",t.startPrefixMapping(d,c))}o=e.length;while(o--){a=e[o];l=a.prefix;l&&("xml"===l&&(a.uri="http://www.w3.org/XML/1998/namespace"),"xmlns"!==l&&(a.uri=r[l||""]))}u=n.indexOf(":");u>0?(l=e.prefix=n.slice(0,u),f=e.localName=n.slice(u+1)):(l=null,f=e.localName=n);var h=e.uri=r[l||""];if(t.startElement(h,f,n,e),!e.closed)return e.currentNSMap=r,e.localNSMap=i,!0;if(t.endElement(h,f,n),i)for(l in i)t.endPrefixMapping(l)}function y(e,t,r,n,i){if(/^(?:script|textarea)$/i.test(r)){var o=e.indexOf("",t),a=e.substring(t+1,o);if(/[&<]/.test(a))return/^script$/i.test(r)?(i.characters(a,0,a.length),o):(a=a.replace(/&#?\w+;/g,n),i.characters(a,0,a.length),o)}return t+1}function v(e,t,r,n){var i=n[r];return null==i&&(i=e.lastIndexOf(""),it?(r.comment(e,t+4,o-t-4),o+3):(n.error("Unclosed comment"),-1)}return-1;default:if("CDATA["==e.substr(t+3,6)){o=e.indexOf("]]>",t+9);return r.startCDATA(),r.characters(e,t+9,o-t-9),r.endCDATA(),o+3}var a=x(e,t),s=a.length;if(s>1&&/!doctype/i.test(a[0][0])){var c=a[1][0],u=s>3&&/^public$/i.test(a[2][0])&&a[3][0],l=s>4&&a[4][0],f=a[s-1];return r.startDTD(c,u&&u.replace(/^(['"])(.*?)\1$/,"$2"),l&&l.replace(/^(['"])(.*?)\1$/,"$2")),r.endDTD(),f.index+f[0].length}}return-1}function E(e,t,r){var n=e.indexOf("?>",t);if(n){var i=e.substring(t,n).match(/^<\?(\S*)\s*([\s\S]*?)\s*$/);if(i){i[0].length;return r.processingInstruction(i[1],i[2]),n+2}return-1}return-1}function T(e){}function S(e,t){return e.__proto__=t,e}function x(e,t){var r,n=[],i=/'[^']+'|"[^"]+"|[^\s<>\/=]+=?|(\/?\s*>|<)/g;i.lastIndex=t,i.exec(e);while(r=i.exec(e))if(n.push(r),r[1])return n}h.prototype={parse:function(e,t,r){var n=this.domBuilder;n.startDocument(),_(t,t={}),p(e,t,r,n,this.errorHandler),n.endDocument()}},T.prototype={setTagName:function(e){if(!i.test(e))throw new Error("invalid tagName:"+e);this.tagName=e},add:function(e,t,r){if(!i.test(e))throw new Error("invalid attribute:"+e);this[this.length++]={qName:e,value:t,offset:r}},length:0,getLocalName:function(e){return this[e].localName},getLocator:function(e){return this[e].locator},getQName:function(e){return this[e].qName},getURI:function(e){return this[e].uri},getValue:function(e){return this[e].value}},S({},S.prototype)instanceof S||(S=function(e,t){function r(){}for(t in r.prototype=t,r=new r,e)r[t]=e[t];return r}),t.XMLReader=h},d6e6:function(e,t,r){(function(t,n,i){e.exports=n(r("21bf"),r("3252"))})(0,(function(e){return function(){var t=e,r=t.lib,n=r.Hasher,i=t.x64,o=i.Word,a=i.WordArray,s=t.algo;function c(){return o.create.apply(o,arguments)}var u=[c(1116352408,3609767458),c(1899447441,602891725),c(3049323471,3964484399),c(3921009573,2173295548),c(961987163,4081628472),c(1508970993,3053834265),c(2453635748,2937671579),c(2870763221,3664609560),c(3624381080,2734883394),c(310598401,1164996542),c(607225278,1323610764),c(1426881987,3590304994),c(1925078388,4068182383),c(2162078206,991336113),c(2614888103,633803317),c(3248222580,3479774868),c(3835390401,2666613458),c(4022224774,944711139),c(264347078,2341262773),c(604807628,2007800933),c(770255983,1495990901),c(1249150122,1856431235),c(1555081692,3175218132),c(1996064986,2198950837),c(2554220882,3999719339),c(2821834349,766784016),c(2952996808,2566594879),c(3210313671,3203337956),c(3336571891,1034457026),c(3584528711,2466948901),c(113926993,3758326383),c(338241895,168717936),c(666307205,1188179964),c(773529912,1546045734),c(1294757372,1522805485),c(1396182291,2643833823),c(1695183700,2343527390),c(1986661051,1014477480),c(2177026350,1206759142),c(2456956037,344077627),c(2730485921,1290863460),c(2820302411,3158454273),c(3259730800,3505952657),c(3345764771,106217008),c(3516065817,3606008344),c(3600352804,1432725776),c(4094571909,1467031594),c(275423344,851169720),c(430227734,3100823752),c(506948616,1363258195),c(659060556,3750685593),c(883997877,3785050280),c(958139571,3318307427),c(1322822218,3812723403),c(1537002063,2003034995),c(1747873779,3602036899),c(1955562222,1575990012),c(2024104815,1125592928),c(2227730452,2716904306),c(2361852424,442776044),c(2428436474,593698344),c(2756734187,3733110249),c(3204031479,2999351573),c(3329325298,3815920427),c(3391569614,3928383900),c(3515267271,566280711),c(3940187606,3454069534),c(4118630271,4000239992),c(116418474,1914138554),c(174292421,2731055270),c(289380356,3203993006),c(460393269,320620315),c(685471733,587496836),c(852142971,1086792851),c(1017036298,365543100),c(1126000580,2618297676),c(1288033470,3409855158),c(1501505948,4234509866),c(1607167915,987167468),c(1816402316,1246189591)],l=[];(function(){for(var e=0;e<80;e++)l[e]=c()})();var f=s.SHA512=n.extend({_doReset:function(){this._hash=new a.init([new o.init(1779033703,4089235720),new o.init(3144134277,2227873595),new o.init(1013904242,4271175723),new o.init(2773480762,1595750129),new o.init(1359893119,2917565137),new o.init(2600822924,725511199),new o.init(528734635,4215389547),new o.init(1541459225,327033209)])},_doProcessBlock:function(e,t){for(var r=this._hash.words,n=r[0],i=r[1],o=r[2],a=r[3],s=r[4],c=r[5],f=r[6],d=r[7],h=n.high,p=n.low,m=i.high,b=i.low,g=o.high,y=o.low,v=a.high,_=a.low,w=s.high,E=s.low,T=c.high,S=c.low,x=f.high,A=f.low,k=d.high,C=d.low,O=h,N=p,M=m,I=b,R=g,j=y,P=v,D=_,L=w,B=E,U=T,H=S,F=x,q=A,G=k,z=C,K=0;K<80;K++){var V,W,X=l[K];if(K<16)W=X.high=0|e[t+2*K],V=X.low=0|e[t+2*K+1];else{var Y=l[K-15],Q=Y.high,$=Y.low,J=(Q>>>1|$<<31)^(Q>>>8|$<<24)^Q>>>7,Z=($>>>1|Q<<31)^($>>>8|Q<<24)^($>>>7|Q<<25),ee=l[K-2],te=ee.high,re=ee.low,ne=(te>>>19|re<<13)^(te<<3|re>>>29)^te>>>6,ie=(re>>>19|te<<13)^(re<<3|te>>>29)^(re>>>6|te<<26),oe=l[K-7],ae=oe.high,se=oe.low,ce=l[K-16],ue=ce.high,le=ce.low;V=Z+se,W=J+ae+(V>>>0>>0?1:0),V+=ie,W=W+ne+(V>>>0>>0?1:0),V+=le,W=W+ue+(V>>>0>>0?1:0),X.high=W,X.low=V}var fe=L&U^~L&F,de=B&H^~B&q,he=O&M^O&R^M&R,pe=N&I^N&j^I&j,me=(O>>>28|N<<4)^(O<<30|N>>>2)^(O<<25|N>>>7),be=(N>>>28|O<<4)^(N<<30|O>>>2)^(N<<25|O>>>7),ge=(L>>>14|B<<18)^(L>>>18|B<<14)^(L<<23|B>>>9),ye=(B>>>14|L<<18)^(B>>>18|L<<14)^(B<<23|L>>>9),ve=u[K],_e=ve.high,we=ve.low,Ee=z+ye,Te=G+ge+(Ee>>>0>>0?1:0),Se=(Ee=Ee+de,Te=Te+fe+(Ee>>>0>>0?1:0),Ee=Ee+we,Te=Te+_e+(Ee>>>0>>0?1:0),Ee=Ee+V,Te=Te+W+(Ee>>>0>>0?1:0),be+pe),xe=me+he+(Se>>>0>>0?1:0);G=F,z=q,F=U,q=H,U=L,H=B,B=D+Ee|0,L=P+Te+(B>>>0>>0?1:0)|0,P=R,D=j,R=M,j=I,M=O,I=N,N=Ee+Se|0,O=Te+xe+(N>>>0>>0?1:0)|0}p=n.low=p+N,n.high=h+O+(p>>>0>>0?1:0),b=i.low=b+I,i.high=m+M+(b>>>0>>0?1:0),y=o.low=y+j,o.high=g+R+(y>>>0>>0?1:0),_=a.low=_+D,a.high=v+P+(_>>>0>>0?1:0),E=s.low=E+B,s.high=w+L+(E>>>0>>0?1:0),S=c.low=S+H,c.high=T+U+(S>>>0>>0?1:0),A=f.low=A+q,f.high=x+F+(A>>>0>>0?1:0),C=d.low=C+z,d.high=k+G+(C>>>0>>0?1:0)},_doFinalize:function(){var e=this._data,t=e.words,r=8*this._nDataBytes,n=8*e.sigBytes;t[n>>>5]|=128<<24-n%32,t[30+(n+128>>>10<<5)]=Math.floor(r/4294967296),t[31+(n+128>>>10<<5)]=r,e.sigBytes=4*t.length,this._process();var i=this._hash.toX32();return i},clone:function(){var e=n.clone.call(this);return e._hash=this._hash.clone(),e},blockSize:32});t.SHA512=n._createHelper(f),t.HmacSHA512=n._createHmacHelper(f)}(),e.SHA512}))},d6ea:function(e,t,r){var n=r("4bad");t=n(!1),t.push([e.i,"[data-v-1cf7a8f7] .el-dialog{width:55%;min-height:375px;min-width:440px}.tb-options[data-v-1cf7a8f7]{margin-bottom:20px}.input-table[data-v-1cf7a8f7] .el-input__inner{border-radius:0}.head-style[data-v-1cf7a8f7] .el-input__inner{background-color:#f2f2f2}",""]),e.exports=t},d70e:function(e){e.exports=JSON.parse('{"2.16.840.1.101.3.4.1.1":"aes-128-ecb","2.16.840.1.101.3.4.1.2":"aes-128-cbc","2.16.840.1.101.3.4.1.3":"aes-128-ofb","2.16.840.1.101.3.4.1.4":"aes-128-cfb","2.16.840.1.101.3.4.1.21":"aes-192-ecb","2.16.840.1.101.3.4.1.22":"aes-192-cbc","2.16.840.1.101.3.4.1.23":"aes-192-ofb","2.16.840.1.101.3.4.1.24":"aes-192-cfb","2.16.840.1.101.3.4.1.41":"aes-256-ecb","2.16.840.1.101.3.4.1.42":"aes-256-cbc","2.16.840.1.101.3.4.1.43":"aes-256-ofb","2.16.840.1.101.3.4.1.44":"aes-256-cfb"}')},d75a:function(e,t,r){"use strict";var n;r.d(t,"b",(function(){return i})),r.d(t,"c",(function(){return o})),r.d(t,"a",(function(){return n}));var i=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("el-container",{staticClass:"top is-dark"},[r("div",{staticClass:"left-side"},[r("el-tooltip",{attrs:{effect:e.effect,content:"上传图片",placement:"bottom-start"}},[r("i",{staticClass:"el-icon-upload",attrs:{size:"medium"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.$emit("show-dialog-upload-img")}}})]),r("el-tooltip",{staticClass:"header__item",attrs:{effect:e.effect,content:"下载 Markdown 文档",placement:"bottom-start"}},[r("i",{staticClass:"el-icon-download",attrs:{size:"medium"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.$emit("download")}}})]),r("el-tooltip",{staticClass:"header__item",attrs:{effect:e.effect,content:"重置页面",placement:"bottom-start"}},[r("i",{staticClass:"el-icon-refresh",attrs:{size:"medium"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.showResetConfirm=!0}}})]),r("el-tooltip",{staticClass:"header__item header__item_last",attrs:{effect:e.effect,content:"插入表格",placement:"bottom-start"}},[r("i",{staticClass:"el-icon-s-grid",attrs:{size:"medium"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.$emit("show-dialog-form")}}})]),r("el-select",{attrs:{size:"mini",placeholder:"选择字体",clearable:!0},on:{change:function(t){arguments[0]=t=e.$handleEvent(t),e.fontChanged.apply(void 0,arguments)}},model:{value:e.selectFont,callback:function(t){e.selectFont=t},expression:"selectFont"}},e._l(e.config.builtinFonts,(function(t){return r("el-option",{key:t.value,style:{fontFamily:t.value},attrs:{label:t.label,value:t.value}},[r("span",{staticClass:"select-item-left"},[e._v(e._s(t.label))]),r("span",{staticClass:"select-item-right"},[e._v("Abc")])])})),1),r("el-select",{attrs:{size:"mini",placeholder:"选择段落字号",clearable:!0},on:{change:function(t){arguments[0]=t=e.$handleEvent(t),e.sizeChanged.apply(void 0,arguments)}},model:{value:e.selectSize,callback:function(t){e.selectSize=t},expression:"selectSize"}},e._l(e.config.sizeOption,(function(t){return r("el-option",{key:t.value,attrs:{label:t.label,value:t.value}},[r("span",{staticClass:"select-item-left"},[e._v(e._s(t.label))]),r("span",{staticClass:"select-item-right"},[e._v(e._s(t.desc))])])})),1),r("el-select",{attrs:{size:"mini",placeholder:"选择颜色",clearable:!0},on:{change:function(t){arguments[0]=t=e.$handleEvent(t),e.colorChanged.apply(void 0,arguments)}},model:{value:e.selectColor,callback:function(t){e.selectColor=t},expression:"selectColor"}},e._l(e.config.colorOption,(function(t){return r("el-option",{key:t.value,attrs:{label:t.label,value:t.value}},[r("span",{staticClass:"select-item-left"},[e._v(e._s(t.label))]),r("span",{staticClass:"select-item-right"},[e._v(e._s(t.desc))])])})),1),r("el-tooltip",{attrs:{content:"自定义颜色",effect:e.effect,placement:"top"}},[r("el-color-picker",{attrs:{size:"mini","show-alpha":!0},on:{change:function(t){arguments[0]=t=e.$handleEvent(t),e.colorChanged.apply(void 0,arguments)}},model:{value:e.selectColor,callback:function(t){e.selectColor=t},expression:"selectColor"}})],1),r("el-tooltip",{attrs:{content:"微信外链自动转为文末引用",effect:e.effect,placement:"top"}},[r("el-switch",{staticClass:"header__switch",attrs:{"active-color":"#67c23a","inactive-color":"#dcdfe6"},on:{change:function(t){arguments[0]=t=e.$handleEvent(t),e.statusChanged.apply(void 0,arguments)}},model:{value:e.citeStatus,callback:function(t){e.citeStatus=t},expression:"citeStatus"}})],1)],1),r("div",{staticClass:"right-side"},[r("el-tooltip",{staticClass:"item",attrs:{effect:e.effect,content:"自定义CSS样式",placement:"left"}},[r("el-button",{attrs:{type:e.btnType,plain:!0,size:"medium",icon:"el-icon-setting"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.customStyle.apply(void 0,arguments)}}})],1),r("el-button",{attrs:{type:e.btnType,plain:!0,size:"medium",placement:"bottom-start"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.copy.apply(void 0,arguments)}}},[e._v("复制")]),r("el-button",{staticClass:"about",attrs:{type:e.btnType,plain:!0,size:"medium"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.$emit("show-about-dialog")}}},[e._v("关于")]),r("el-tooltip",{attrs:{content:e.btnContent,effect:e.effect,placement:"bottom-start"}},[e.nightMode?r("div",{staticClass:"mode__switch mode__switch_black",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.themeChanged.apply(void 0,arguments)}}}):r("div",{staticClass:"mode__switch",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.themeChanged.apply(void 0,arguments)}}})])],1),r("resetDialog",{attrs:{showResetConfirm:e.showResetConfirm},on:{confirm:function(t){arguments[0]=t=e.$handleEvent(t),e.confirmReset.apply(void 0,arguments)},close:function(t){arguments[0]=t=e.$handleEvent(t),e.cancelReset.apply(void 0,arguments)}}})],1)},o=[]},d779:function(e,t,r){var n=n||function(e,t){var r={},n=r.lib={},i=function(){},o=n.Base={extend:function(e){i.prototype=this;var t=new i;return e&&t.mixIn(e),t.hasOwnProperty("init")||(t.init=function(){t.$super.init.apply(this,arguments)}),t.init.prototype=t,t.$super=this,t},create:function(){var e=this.extend();return e.init.apply(e,arguments),e},init:function(){},mixIn:function(e){for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t]);e.hasOwnProperty("toString")&&(this.toString=e.toString)},clone:function(){return this.init.prototype.extend(this)}},a=n.WordArray=o.extend({init:function(e,r){e=this.words=e||[],this.sigBytes=r!=t?r:4*e.length},toString:function(e){return(e||c).stringify(this)},concat:function(e){var t=this.words,r=e.words,n=this.sigBytes;if(e=e.sigBytes,this.clamp(),n%4)for(var i=0;i>>2]|=(r[i>>>2]>>>24-i%4*8&255)<<24-(n+i)%4*8;else if(65535>>2]=r[i>>>2];else t.push.apply(t,r);return this.sigBytes+=e,this},clamp:function(){var t=this.words,r=this.sigBytes;t[r>>>2]&=4294967295<<32-r%4*8,t.length=e.ceil(r/4)},clone:function(){var e=o.clone.call(this);return e.words=this.words.slice(0),e},random:function(t){for(var r=[],n=0;n>>2]>>>24-n%4*8&255;r.push((i>>>4).toString(16)),r.push((15&i).toString(16))}return r.join("")},parse:function(e){for(var t=e.length,r=[],n=0;n>>3]|=parseInt(e.substr(n,2),16)<<24-n%8*4;return new a.init(r,t/2)}},u=s.Latin1={stringify:function(e){var t=e.words;e=e.sigBytes;for(var r=[],n=0;n>>2]>>>24-n%4*8&255));return r.join("")},parse:function(e){for(var t=e.length,r=[],n=0;n>>2]|=(255&e.charCodeAt(n))<<24-n%4*8;return new a.init(r,t)}},l=s.Utf8={stringify:function(e){try{return decodeURIComponent(escape(u.stringify(e)))}catch(t){throw Error("Malformed UTF-8 data")}},parse:function(e){return u.parse(unescape(encodeURIComponent(e)))}},f=n.BufferedBlockAlgorithm=o.extend({reset:function(){this._data=new a.init,this._nDataBytes=0},_append:function(e){"string"==typeof e&&(e=l.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(t){var r=this._data,n=r.words,i=r.sigBytes,o=this.blockSize,s=i/(4*o);s=t?e.ceil(s):e.max((0|s)-this._minBufferSize,0);if(t=s*o,i=e.min(4*t,i),t){for(var c=0;cu;u++){if(16>u)o[u]=0|e[t+u];else{var l=o[u-3]^o[u-8]^o[u-14]^o[u-16];o[u]=l<<1|l>>>31}l=(n<<5|n>>>27)+c+o[u],l=20>u?l+(1518500249+(i&a|~i&s)):40>u?l+(1859775393+(i^a^s)):60>u?l+((i&a|i&s|a&s)-1894007588):l+((i^a^s)-899497514),c=s,s=a,a=i<<30|i>>>2,i=n,n=l}r[0]=r[0]+n|0,r[1]=r[1]+i|0,r[2]=r[2]+a|0,r[3]=r[3]+s|0,r[4]=r[4]+c|0},_doFinalize:function(){var e=this._data,t=e.words,r=8*this._nDataBytes,n=8*e.sigBytes;return t[n>>>5]|=128<<24-n%32,t[14+(n+64>>>9<<4)]=Math.floor(r/4294967296),t[15+(n+64>>>9<<4)]=r,e.sigBytes=4*t.length,this._process(),this._hash},clone:function(){var e=i.clone.call(this);return e._hash=this._hash.clone(),e}});e.SHA1=i._createHelper(t),e.HmacSHA1=i._createHmacHelper(t)})(),function(){var e=n,t=e.enc.Utf8;e.algo.HMAC=e.lib.Base.extend({init:function(e,r){e=this._hasher=new e.init,"string"==typeof r&&(r=t.parse(r));var n=e.blockSize,i=4*n;r.sigBytes>i&&(r=e.finalize(r)),r.clamp();for(var o=this._oKey=r.clone(),a=this._iKey=r.clone(),s=o.words,c=a.words,u=0;u>>2]>>>24-o%4*8&255,s=t[o+1>>>2]>>>24-(o+1)%4*8&255,c=t[o+2>>>2]>>>24-(o+2)%4*8&255,u=a<<16|s<<8|c,l=0;l<4&&o+.75*l>>6*(3-l)&63));var f=n.charAt(64);if(f)while(i.length%4)i.push(f);return i.join("")},parse:function(e){var t=e.length,n=this._map,i=n.charAt(64);if(i){var o=e.indexOf(i);-1!=o&&(t=o)}for(var a=[],s=0,c=0;c>>6-c%4*2;a[s>>>2]|=(u|l)<<24-s%4*8,s++}return r.create(a,s)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}}(),e.exports=n},d77b:function(e,t,r){var n=r("0cd5");"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var i=r("4f06").default;i("3f108d5c",n,!0,{sourceMap:!1,shadowMode:!1})},d925:function(e,t,r){"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},d9b2:function(e,t,r){"use strict";e.exports=i;var n=r("44d1");function i(e,t,r,n,i){this.prop=e,this.value=t,this.selector=r,this.priority=n||0,this.additionalPriority=i||[]}i.prototype.compareFunc=function(e){var t=[];t.push.apply(t,this.selector.specificity()),t.push.apply(t,this.additionalPriority),t[0]+=this.priority;var r=[];return r.push.apply(r,e.selector.specificity()),r.push.apply(r,e.additionalPriority),r[0]+=e.priority,n.compareFunc(t,r)},i.prototype.compare=function(e){var t=this.compareFunc(e);return 1===t?this:e},i.prototype.toString=function(){return this.prop+": "+this.value.replace(/['"]+/g,"")+";"}},da3e:function(e,t){function r(e,t){if(!e)throw new Error(t||"Assertion failed")}e.exports=r,r.equal=function(e,t,r){if(e!=t)throw new Error(r||"Assertion failed: "+e+" != "+t)}},da71:function(e,t,r){"use strict";r("a630"),r("3ca3"),Object.defineProperty(t,"__esModule",{value:!0}),t.giteeConfig=t.githubConfig=void 0;var n={username:"filess",repoList:Array.from([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19],(function(e){return"img".concat(e)})),branch:"main",accessTokenList:["7715d7ca67b5d3837cfdoocsmde8c38421815aa423510af","c411415bf95dbe39625doocsmd5047ba9b7a2a6c9642abe","2821cd8819fa345c053doocsmdca86ac653f8bc20db1f1b","445f0dae46ef1f2a4d6doocsmdc797301e94797b4750a4c","cc1d0c1426d0fd0902bdoocsmdd2d7184b14da61b86ec46","b67e9d15cb6f910492fdoocsmdac6b44d379c953bb19eff","618c4dc2244ccbbc088doocsmd125d17fd31b7d06a50cf3","a4b581732e1c1507458doocsmdc5b223b27dae5e2e16a55","77904db41aee57ad79bdoocsmd760f848201dac9c96fd5e","02f251cb14ac62ab100doocsmdddbfc8527d773f1f04ce1","eb321079a95ba7028d9doocsmde2e84c502dac70de7cf08","22f74fcfb071a961fa2doocsmde28dabc746f0503a15e5d","85124c2bfe7abba0938doocsmd0af7f67918b99d085a5fd","0a561b4d4bbecb2de7edoocsmdd9ba3833d11dbc5e430f5","e8a01491188d8d5a097doocsmd03ede0aad1fe9e3af24e9","36e1f420d7e5bdebd67doocsmd65463562f5f25b20b8377"]};t.githubConfig=n;var i={username:"filesss",repoList:Array.from([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19],(function(e){return"img".concat(e)})),branch:"main",accessTokenList:["ed5fc9866bd6c2fdoocsmddd433f806fd2f399c","5448ffebbbf1151doocsmdc4e337cf814fc8a62","25b05efd2557ca2doocsmd75b5c0835e3395911","11628c7a5aef015doocsmd2eeff9fb9566f0458","cb2f5145ed938dedoocsmdbd063b4ed244eecf8","d8c0b57500672c1doocsmd55f48b866b5ebcd98","78c56eadb88e453doocsmd43ddd95753351771a","03e1a688003948fdoocsmda16fcf41e6f03f1f0","c49121cf4d191fbdoocsmdd6a7877ed537e474a","adfeb2fadcdc4aadoocsmdfe1ee869ac9c968ff","116c94549ca4a0ddoocsmd192653af5c0694616","ecf30ed7f2eb184doocsmd51ea4ec8300371d9e","5837cf2bd5afd93doocsmd73904bed31934949e","b5b7e1c7d57e01fdoocsmd5266f552574297d78","684d55564ffbd0bdoocsmd7d747e5cc23aed6d6","3fc04a9d272ab71doocsmd010c56cb57d88d2ba"]};t.giteeConfig=i},dbba:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.compile=t.parse=void 0;var n=r("ce8b");Object.defineProperty(t,"parse",{enumerable:!0,get:function(){return n.parse}});var i=r("ffe9");function o(e){return i.compile(n.parse(e))}Object.defineProperty(t,"compile",{enumerable:!0,get:function(){return i.compile}}),t.default=o},dbce:function(e,t,r){r("e439"),r("d3b7"),r("3ca3"),r("10d1"),r("ddb0");var n=r("7037");function i(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return i=function(){return e},e}function o(e){if(e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var t=i();if(t&&t.has(e))return t.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(r,a,s):r[a]=e[a]}return r["default"]=e,t&&t.set(e,r),r}e.exports=o},dc14:function(e,t,r){"use strict";(function(t,n){var i=r("966d");function o(e){var t=this;this.next=null,this.entry=null,this.finish=function(){D(t,e)}}e.exports=v;var a,s=!t.browser&&["v0.10","v0.9."].indexOf(t.version.slice(0,5))>-1?setImmediate:i.nextTick;v.WritableState=y;var c=Object.create(r("3a7c"));c.inherits=r("3fb5");var u={deprecate:r("b7d1")},l=r("429b"),f=r("8707").Buffer,d=n.Uint8Array||function(){};function h(e){return f.from(e)}function p(e){return f.isBuffer(e)||e instanceof d}var m,b=r("4681");function g(){}function y(e,t){a=a||r("b19a"),e=e||{};var n=t instanceof a;this.objectMode=!!e.objectMode,n&&(this.objectMode=this.objectMode||!!e.writableObjectMode);var i=e.highWaterMark,s=e.writableHighWaterMark,c=this.objectMode?16:16384;this.highWaterMark=i||0===i?i:n&&(s||0===s)?s:c,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var u=!1===e.decodeStrings;this.decodeStrings=!u,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){k(t,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new o(this)}function v(e){if(a=a||r("b19a"),!m.call(v,this)&&!(this instanceof a))return new v(e);this._writableState=new y(e,this),this.writable=!0,e&&("function"===typeof e.write&&(this._write=e.write),"function"===typeof e.writev&&(this._writev=e.writev),"function"===typeof e.destroy&&(this._destroy=e.destroy),"function"===typeof e.final&&(this._final=e.final)),l.call(this)}function _(e,t){var r=new Error("write after end");e.emit("error",r),i.nextTick(t,r)}function w(e,t,r,n){var o=!0,a=!1;return null===r?a=new TypeError("May not write null values to stream"):"string"===typeof r||void 0===r||t.objectMode||(a=new TypeError("Invalid non-string/buffer chunk")),a&&(e.emit("error",a),i.nextTick(n,a),o=!1),o}function E(e,t,r){return e.objectMode||!1===e.decodeStrings||"string"!==typeof t||(t=f.from(t,r)),t}function T(e,t,r,n,i,o){if(!r){var a=E(t,n,i);n!==a&&(r=!0,i="buffer",n=a)}var s=t.objectMode?1:n.length;t.length+=s;var c=t.length-1))throw new TypeError("Unknown encoding: "+e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(v.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),v.prototype._write=function(e,t,r){r(new Error("_write() is not implemented"))},v.prototype._writev=null,v.prototype.end=function(e,t,r){var n=this._writableState;"function"===typeof e?(r=e,e=null,t=null):"function"===typeof t&&(r=t,t=null),null!==e&&void 0!==e&&this.write(e,t),n.corked&&(n.corked=1,this.uncork()),n.ending||n.finished||P(this,n,r)},Object.defineProperty(v.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),v.prototype.destroy=b.destroy,v.prototype._undestroy=b.undestroy,v.prototype._destroy=function(e,t){this.end(),t(e)}}).call(this,r("4362"),r("c8ba"))},de15:function(e,t,r){"use strict";var n=r("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.solveWeChatImage=o,t.solveHtml=a;var i=n(r("466b"));function o(){for(var e=document.getElementById("output"),t=e.getElementsByTagName("img"),r=0;r=0?r+1:1/0:0;case"lt":return isFinite(r)?r>=0?r:1/0:0;case"gt":return isFinite(r)?1/0:0;default:return 1/0}}Object.defineProperty(t,"__esModule",{value:!0}),t.getLimit=t.isFilter=t.filterNames=void 0,t.filterNames=new Set(["first","last","eq","gt","nth","lt","even","odd"]),t.isFilter=n,t.getLimit=i},df2f:function(e,t,r){(function(t,n){e.exports=n(r("21bf"))})(0,(function(e){return function(){var t=e,r=t.lib,n=r.WordArray,i=r.Hasher,o=t.algo,a=[],s=o.SHA1=i.extend({_doReset:function(){this._hash=new n.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(var r=this._hash.words,n=r[0],i=r[1],o=r[2],s=r[3],c=r[4],u=0;u<80;u++){if(u<16)a[u]=0|e[t+u];else{var l=a[u-3]^a[u-8]^a[u-14]^a[u-16];a[u]=l<<1|l>>>31}var f=(n<<5|n>>>27)+c+a[u];f+=u<20?1518500249+(i&o|~i&s):u<40?1859775393+(i^o^s):u<60?(i&o|i&s|o&s)-1894007588:(i^o^s)-899497514,c=s,s=o,o=i<<30|i>>>2,i=n,n=f}r[0]=r[0]+n|0,r[1]=r[1]+i|0,r[2]=r[2]+o|0,r[3]=r[3]+s|0,r[4]=r[4]+c|0},_doFinalize:function(){var e=this._data,t=e.words,r=8*this._nDataBytes,n=8*e.sigBytes;return t[n>>>5]|=128<<24-n%32,t[14+(n+64>>>9<<4)]=Math.floor(r/4294967296),t[15+(n+64>>>9<<4)]=r,e.sigBytes=4*t.length,this._process(),this._hash},clone:function(){var e=i.clone.call(this);return e._hash=this._hash.clone(),e}});t.SHA1=i._createHelper(s),t.HmacSHA1=i._createHmacHelper(s)}(),e.SHA1}))},e07b:function(e,t,r){var n=r("5a76"),i=r("b5ca"),o=r("69f2"),a=r("8707").Buffer,s=r("7d2a"),c=r("9f9d"),u=r("8be6"),l=a.alloc(128),f={md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,rmd160:20,ripemd160:20};function d(e,t,r){var n=h(e),i="sha512"===e||"sha384"===e?128:64;t.length>i?t=n(t):t.length1&&void 0!==arguments[1]?arguments[1]:0,r=(u[e[t+0]]+u[e[t+1]]+u[e[t+2]]+u[e[t+3]]+"-"+u[e[t+4]]+u[e[t+5]]+"-"+u[e[t+6]]+u[e[t+7]]+"-"+u[e[t+8]]+u[e[t+9]]+"-"+u[e[t+10]]+u[e[t+11]]+u[e[t+12]]+u[e[t+13]]+u[e[t+14]]+u[e[t+15]]).toLowerCase();if(!c(r))throw TypeError("Stringified UUID is invalid");return r}var d,h,p=f,m=0,b=0;function g(e,t,r){var n=t&&r||0,i=t||new Array(16);e=e||{};var a=e.node||d,s=void 0!==e.clockseq?e.clockseq:h;if(null==a||null==s){var c=e.random||(e.rng||o)();null==a&&(a=d=[1|c[0],c[1],c[2],c[3],c[4],c[5]]),null==s&&(s=h=16383&(c[6]<<8|c[7]))}var u=void 0!==e.msecs?e.msecs:Date.now(),l=void 0!==e.nsecs?e.nsecs:b+1,f=u-m+(l-b)/1e4;if(f<0&&void 0===e.clockseq&&(s=s+1&16383),(f<0||u>m)&&void 0===e.nsecs&&(l=0),l>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");m=u,b=l,h=s,u+=122192928e5;var g=(1e4*(268435455&u)+l)%4294967296;i[n++]=g>>>24&255,i[n++]=g>>>16&255,i[n++]=g>>>8&255,i[n++]=255&g;var y=u/4294967296*1e4&268435455;i[n++]=y>>>8&255,i[n++]=255&y,i[n++]=y>>>24&15|16,i[n++]=y>>>16&255,i[n++]=s>>>8|128,i[n++]=255&s;for(var v=0;v<6;++v)i[n+v]=a[v];return t||p(i)}var y=g;function v(e){if(!c(e))throw TypeError("Invalid UUID");var t,r=new Uint8Array(16);return r[0]=(t=parseInt(e.slice(0,8),16))>>>24,r[1]=t>>>16&255,r[2]=t>>>8&255,r[3]=255&t,r[4]=(t=parseInt(e.slice(9,13),16))>>>8,r[5]=255&t,r[6]=(t=parseInt(e.slice(14,18),16))>>>8,r[7]=255&t,r[8]=(t=parseInt(e.slice(19,23),16))>>>8,r[9]=255&t,r[10]=(t=parseInt(e.slice(24,36),16))/1099511627776&255,r[11]=t/4294967296&255,r[12]=t>>>24&255,r[13]=t>>>16&255,r[14]=t>>>8&255,r[15]=255&t,r}var _=v;function w(e){e=unescape(encodeURIComponent(e));for(var t=[],r=0;r>5]>>>i%32&255,a=parseInt(n.charAt(o>>>4&15)+n.charAt(15&o),16);t.push(a)}return t}function k(e){return 14+(e+64>>>9<<4)+1}function C(e,t){e[t>>5]|=128<>5]|=(255&e[n/8])<>16)+(t>>16)+(r>>16);return n<<16|65535&r}function M(e,t){return e<>>32-t}function I(e,t,r,n,i,o){return N(M(N(N(t,e),N(n,o)),i),r)}function R(e,t,r,n,i,o,a){return I(t&r|~t&n,e,t,i,o,a)}function j(e,t,r,n,i,o,a){return I(t&n|r&~n,e,t,i,o,a)}function P(e,t,r,n,i,o,a){return I(t^r^n,e,t,i,o,a)}function D(e,t,r,n,i,o,a){return I(r^(t|~n),e,t,i,o,a)}var L=x,B=S("v3",48,L),U=B;function H(e,t,r){e=e||{};var n=e.random||(e.rng||o)();if(n[6]=15&n[6]|64,n[8]=63&n[8]|128,t){r=r||0;for(var i=0;i<16;++i)t[r+i]=n[i];return t}return p(n)}var F=H;function q(e,t,r,n){switch(e){case 0:return t&r^~t&n;case 1:return t^r^n;case 2:return t&r^t&n^r&n;case 3:return t^r^n}}function G(e,t){return e<>>32-t}function z(e){var t=[1518500249,1859775393,2400959708,3395469782],r=[1732584193,4023233417,2562383102,271733878,3285377520];if("string"===typeof e){var n=unescape(encodeURIComponent(e));e=[];for(var i=0;i>>0;v=y,y=g,g=G(b,30)>>>0,b=m,m=E}r[0]=r[0]+m>>>0,r[1]=r[1]+b>>>0,r[2]=r[2]+g>>>0,r[3]=r[3]+y>>>0,r[4]=r[4]+v>>>0}return[r[0]>>24&255,r[0]>>16&255,r[0]>>8&255,255&r[0],r[1]>>24&255,r[1]>>16&255,r[1]>>8&255,255&r[1],r[2]>>24&255,r[2]>>16&255,r[2]>>8&255,255&r[2],r[3]>>24&255,r[3]>>16&255,r[3]>>8&255,255&r[3],r[4]>>24&255,r[4]>>16&255,r[4]>>8&255,255&r[4]]}var K=z,V=S("v5",80,K),W=V,X="00000000-0000-0000-0000-000000000000";function Y(e){if(!c(e))throw TypeError("Invalid UUID");return parseInt(e.substr(14,1),16)}var Q=Y},e164:function(e,t,r){"use strict";var n=this&&this.__assign||function(){return n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r0&&(i+=h(e.children,t)),!t.xmlMode&&d.has(e.name)||(i+="")),i}function y(e){return"<"+e.data+">"}function v(e,t){var r=e.data||"";return!t.decodeEntities||e.parent&&l.has(e.parent.name)||(r=c.encodeXML(r)),r}function _(e){return""}function w(e){return"\x3c!--"+e.data+"--\x3e"}},e190:function(e,t,r){"use strict";var n=r("5305").DOCUMENT_MODE;t.createDocument=function(){return{nodeName:"#document",mode:n.NO_QUIRKS,childNodes:[]}},t.createDocumentFragment=function(){return{nodeName:"#document-fragment",childNodes:[]}},t.createElement=function(e,t,r){return{nodeName:e,tagName:e,attrs:r,namespaceURI:t,childNodes:[],parentNode:null}},t.createCommentNode=function(e){return{nodeName:"#comment",data:e,parentNode:null}};var i=function(e){return{nodeName:"#text",value:e,parentNode:null}},o=t.appendChild=function(e,t){e.childNodes.push(t),t.parentNode=e},a=t.insertBefore=function(e,t,r){var n=e.childNodes.indexOf(r);e.childNodes.splice(n,0,t),t.parentNode=e};t.setTemplateContent=function(e,t){e.content=t},t.getTemplateContent=function(e){return e.content},t.setDocumentType=function(e,t,r,n){for(var i=null,a=0;ae.options.UploadQueueSize;){var i="waiting"===t[n].state||"checking"===t[n].state||"uploading"===t[n].state;t[n]&&i?n++:(r[t[n].id]&&delete r[t[n].id],t.splice(n,1),s--)}u()}},f=function(){if(!(a>=e.options.FileParallelLimit)){while(t[s]&&"waiting"!==t[s].state)s++;if(!(s>=t.length)){var r=t[s];s++,a++,r.state="checking",r.params.onTaskStart&&r.params.onTaskStart(c(r)),!r.params.UploadData&&(r.params.UploadData={});var n=i.formatParams(r.api,r.params);o[r.api].call(e,n,(function(t,n){e._isRunningTask(r.id)&&("checking"!==r.state&&"uploading"!==r.state||(r.state=t?"error":"success",t&&(r.error=t),a--,u(),f(),r.callback&&r.callback(t,n),"success"===r.state&&(r.params&&(delete r.params.UploadData,delete r.params.Body,delete r.params),delete r.callback)),l())})),u(),setTimeout(f)}}},d=function(t,i){var o=r[t];if(o){var s=o&&"waiting"===o.state,c=o&&("checking"===o.state||"uploading"===o.state);if("canceled"===i&&"canceled"!==o.state||"paused"===i&&s||"paused"===i&&c){if("paused"===i&&o.params.Body&&"function"===typeof o.params.Body.pipe)return void console.error("stream not support pause");o.state=i,e.emit("inner-kill-task",{TaskId:t,toState:i});try{var d=o&&o.params&&o.params.UploadData.UploadId}catch(h){}"canceled"===i&&d&&n.removeUsing(d),u(),c&&(a--,f()),"canceled"===i&&(o.params&&(delete o.params.UploadData,delete o.params.Body,delete o.params),delete o.callback)}l()}};e._addTasks=function(t){i.each(t,(function(t){e._addTask(t.api,t.params,t.callback,!0)})),u()};var h=!0;e._addTask=function(n,o,a,s){o=i.formatParams(n,o);var c=i.uuid();o.TaskId=c,o.onTaskReady&&o.onTaskReady(c),o.TaskReady&&(o.TaskReady(c),h&&console.warn('warning: Param "TaskReady" has been deprecated. Please use "onTaskReady" instead.'),h=!1);var d={params:o,callback:a,api:n,index:t.length,id:c,Bucket:o.Bucket,Region:o.Region,Key:o.Key,FilePath:o.FilePath||"",state:"waiting",loaded:0,size:0,speed:0,percent:0,hashPercent:0,error:null,_custom:o._custom},p=o.onHashProgress;o.onHashProgress=function(t){e._isRunningTask(d.id)&&(d.hashPercent=t.percent,p&&p(t),u())};var m=o.onProgress;return o.onProgress=function(t){e._isRunningTask(d.id)&&("checking"===d.state&&(d.state="uploading"),d.loaded=t.loaded,d.speed=t.speed,d.percent=t.percent,m&&m(t),u())},i.getFileSize(n,o,(function(e,n){if(e)return a(i.error(e));r[c]=d,t.push(d),d.size=n,!s&&u(),f(),l()})),c},e._isRunningTask=function(e){var t=r[e];return!(!t||"checking"!==t.state&&"uploading"!==t.state)},e.getTaskList=function(){return i.map(t,c)},e.cancelTask=function(e){d(e,"canceled")},e.pauseTask=function(e){d(e,"paused")},e.restartTask=function(e){var t=r[e];!t||"paused"!==t.state&&"error"!==t.state||(t.state="waiting",u(),s=Math.min(s,t.index),f())},e.isUploadRunning=function(){return a||s>>24)|4278255360&(o<<24|o>>>8),a=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8);var s=r[i];s.high^=a,s.low^=o}for(var c=0;c<24;c++){for(var h=0;h<5;h++){for(var p=0,m=0,b=0;b<5;b++){s=r[h+5*b];p^=s.high,m^=s.low}var g=d[h];g.high=p,g.low=m}for(h=0;h<5;h++){var y=d[(h+4)%5],v=d[(h+1)%5],_=v.high,w=v.low;for(p=y.high^(_<<1|w>>>31),m=y.low^(w<<1|_>>>31),b=0;b<5;b++){s=r[h+5*b];s.high^=p,s.low^=m}}for(var E=1;E<25;E++){s=r[E];var T=s.high,S=s.low,x=u[E];x<32?(p=T<>>32-x,m=S<>>32-x):(p=S<>>64-x,m=T<>>64-x);var A=d[l[E]];A.high=p,A.low=m}var k=d[0],C=r[0];k.high=C.high,k.low=C.low;for(h=0;h<5;h++)for(b=0;b<5;b++){E=h+5*b,s=r[E];var O=d[E],N=d[(h+1)%5+5*b],M=d[(h+2)%5+5*b];s.high=O.high^~N.high&M.high,s.low=O.low^~N.low&M.low}s=r[0];var I=f[c];s.high^=I.high,s.low^=I.low}},_doFinalize:function(){var e=this._data,r=e.words,n=(this._nDataBytes,8*e.sigBytes),o=32*this.blockSize;r[n>>>5]|=1<<24-n%32,r[(t.ceil((n+1)/o)*o>>>5)-1]|=128,e.sigBytes=4*r.length,this._process();for(var a=this._state,s=this.cfg.outputLength/8,c=s/8,u=[],l=0;l>>24)|4278255360&(d<<24|d>>>8),h=16711935&(h<<8|h>>>24)|4278255360&(h<<24|h>>>8),u.push(h),u.push(d)}return new i.init(u,s)},clone:function(){for(var e=o.clone.call(this),t=e._state=this._state.slice(0),r=0;r<25;r++)t[r]=t[r].clone();return e}});r.SHA3=o._createHelper(h),r.HmacSHA3=o._createHmacHelper(h)}(Math),e.SHA3}))},e683:function(e,t,r){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},e6b4:function(e,t,r){"use strict";var n;r.d(t,"b",(function(){return i})),r.d(t,"c",(function(){return o})),r.d(t,"a",(function(){return n}));var i=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("el-dialog",{staticClass:"insert__dialog",attrs:{title:"插入表格",visible:e.value,border:!0},on:{close:function(t){arguments[0]=t=e.$handleEvent(t),e.$emit("input",!1)}}},[r("el-row",{staticClass:"tb-options",attrs:{type:"flex",align:"middle",gutter:10}},[r("el-col",[e._v("行数:"),r("el-input-number",{attrs:{"controls-position":"right",min:1,max:100,size:"small"},model:{value:e.rowNum,callback:function(t){e.rowNum=t},expression:"rowNum"}})],1),r("el-col",[e._v("列数:"),r("el-input-number",{attrs:{"controls-position":"right",min:1,max:100,size:"small"},model:{value:e.colNum,callback:function(t){e.colNum=t},expression:"colNum"}})],1)],1),r("table",{staticClass:"input-table",staticStyle:{"border-collapse":"collapse"}},e._l(e.rowNum+1,(function(t){return r("tr",{key:t,class:{"head-style":1===t}},e._l(e.colNum,(function(n){return r("td",{key:n},[r("el-input",{attrs:{align:"center",placeholder:1===t?"表头":""},model:{value:e.tableData["k_"+(t-1)+"_"+(n-1)],callback:function(r){e.$set(e.tableData,"k_"+(t-1)+"_"+(n-1),r)},expression:"tableData[`k_${row - 1}_${col - 1}`]"}})],1)})),0)})),0),r("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[r("el-button",{attrs:{type:e.btnType,plain:!0},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.$emit("input",!1)}}},[e._v("取 消")]),r("el-button",{attrs:{type:e.btnType,plain:!0},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.insertTable.apply(void 0,arguments)}}},[e._v("确 定")])],1)],1)},o=[]},e753:function(e,t,r){"use strict";var n=r("fe3f"),i=r.n(n);i.a},e85f:function(e){e.exports=JSON.parse('{"aes-128-ecb":{"cipher":"AES","key":128,"iv":0,"mode":"ECB","type":"block"},"aes-192-ecb":{"cipher":"AES","key":192,"iv":0,"mode":"ECB","type":"block"},"aes-256-ecb":{"cipher":"AES","key":256,"iv":0,"mode":"ECB","type":"block"},"aes-128-cbc":{"cipher":"AES","key":128,"iv":16,"mode":"CBC","type":"block"},"aes-192-cbc":{"cipher":"AES","key":192,"iv":16,"mode":"CBC","type":"block"},"aes-256-cbc":{"cipher":"AES","key":256,"iv":16,"mode":"CBC","type":"block"},"aes128":{"cipher":"AES","key":128,"iv":16,"mode":"CBC","type":"block"},"aes192":{"cipher":"AES","key":192,"iv":16,"mode":"CBC","type":"block"},"aes256":{"cipher":"AES","key":256,"iv":16,"mode":"CBC","type":"block"},"aes-128-cfb":{"cipher":"AES","key":128,"iv":16,"mode":"CFB","type":"stream"},"aes-192-cfb":{"cipher":"AES","key":192,"iv":16,"mode":"CFB","type":"stream"},"aes-256-cfb":{"cipher":"AES","key":256,"iv":16,"mode":"CFB","type":"stream"},"aes-128-cfb8":{"cipher":"AES","key":128,"iv":16,"mode":"CFB8","type":"stream"},"aes-192-cfb8":{"cipher":"AES","key":192,"iv":16,"mode":"CFB8","type":"stream"},"aes-256-cfb8":{"cipher":"AES","key":256,"iv":16,"mode":"CFB8","type":"stream"},"aes-128-cfb1":{"cipher":"AES","key":128,"iv":16,"mode":"CFB1","type":"stream"},"aes-192-cfb1":{"cipher":"AES","key":192,"iv":16,"mode":"CFB1","type":"stream"},"aes-256-cfb1":{"cipher":"AES","key":256,"iv":16,"mode":"CFB1","type":"stream"},"aes-128-ofb":{"cipher":"AES","key":128,"iv":16,"mode":"OFB","type":"stream"},"aes-192-ofb":{"cipher":"AES","key":192,"iv":16,"mode":"OFB","type":"stream"},"aes-256-ofb":{"cipher":"AES","key":256,"iv":16,"mode":"OFB","type":"stream"},"aes-128-ctr":{"cipher":"AES","key":128,"iv":16,"mode":"CTR","type":"stream"},"aes-192-ctr":{"cipher":"AES","key":192,"iv":16,"mode":"CTR","type":"stream"},"aes-256-ctr":{"cipher":"AES","key":256,"iv":16,"mode":"CTR","type":"stream"},"aes-128-gcm":{"cipher":"AES","key":128,"iv":12,"mode":"GCM","type":"auth"},"aes-192-gcm":{"cipher":"AES","key":192,"iv":12,"mode":"GCM","type":"auth"},"aes-256-gcm":{"cipher":"AES","key":256,"iv":12,"mode":"GCM","type":"auth"}}')},ea3d:function(e,t,r){"use strict";var n=r("ce90"),i=r("0ac8"),o=r("a514"),a=r("5305"),s=a.TAG_NAMES,c=a.NAMESPACES,u=e.exports=function(e){this.tokenizer=e,this.namespaceStack=[],this.namespaceStackTop=-1,this._enterNamespace(c.HTML)};u.prototype.getNextToken=function(){var e=this.tokenizer.getNextToken();if(e.type===n.START_TAG_TOKEN)this._handleStartTagToken(e);else if(e.type===n.END_TAG_TOKEN)this._handleEndTagToken(e);else if(e.type===n.NULL_CHARACTER_TOKEN&&this.inForeignContent)e.type=n.CHARACTER_TOKEN,e.chars=o.REPLACEMENT_CHARACTER;else if(this.skipNextNewLine&&(e.type!==n.HIBERNATION_TOKEN&&(this.skipNextNewLine=!1),e.type===n.WHITESPACE_CHARACTER_TOKEN&&"\n"===e.chars[0])){if(1===e.chars.length)return this.getNextToken();e.chars=e.chars.substr(1)}return e},u.prototype._enterNamespace=function(e){this.namespaceStackTop++,this.namespaceStack.push(e),this.inForeignContent=e!==c.HTML,this.currentNamespace=e,this.tokenizer.allowCDATA=this.inForeignContent},u.prototype._leaveCurrentNamespace=function(){this.namespaceStackTop--,this.namespaceStack.pop(),this.currentNamespace=this.namespaceStack[this.namespaceStackTop],this.inForeignContent=this.currentNamespace!==c.HTML,this.tokenizer.allowCDATA=this.inForeignContent},u.prototype._ensureTokenizerMode=function(e){e===s.TEXTAREA||e===s.TITLE?this.tokenizer.state=n.MODE.RCDATA:e===s.PLAINTEXT?this.tokenizer.state=n.MODE.PLAINTEXT:e===s.SCRIPT?this.tokenizer.state=n.MODE.SCRIPT_DATA:e!==s.STYLE&&e!==s.IFRAME&&e!==s.XMP&&e!==s.NOEMBED&&e!==s.NOFRAMES&&e!==s.NOSCRIPT||(this.tokenizer.state=n.MODE.RAWTEXT)},u.prototype._handleStartTagToken=function(e){var t=e.tagName;if(t===s.SVG?this._enterNamespace(c.SVG):t===s.MATH&&this._enterNamespace(c.MATHML),this.inForeignContent){if(i.causesExit(e))return void this._leaveCurrentNamespace();var r=this.currentNamespace;r===c.MATHML?i.adjustTokenMathMLAttrs(e):r===c.SVG&&(i.adjustTokenSVGTagName(e),i.adjustTokenSVGAttrs(e)),i.adjustTokenXMLAttrs(e),t=e.tagName,!e.selfClosing&&i.isIntegrationPoint(t,r,e.attrs)&&this._enterNamespace(c.HTML)}else t===s.PRE||t===s.TEXTAREA||t===s.LISTING?this.skipNextNewLine=!0:t===s.IMAGE&&(e.tagName=s.IMG),this._ensureTokenizerMode(t)},u.prototype._handleEndTagToken=function(e){var t=e.tagName;if(this.inForeignContent)(t===s.SVG&&this.currentNamespace===c.SVG||t===s.MATH&&this.currentNamespace===c.MATHML)&&this._leaveCurrentNamespace();else{var r=this.namespaceStack[this.namespaceStackTop-1];r===c.SVG&&i.SVG_TAG_NAMES_ADJUSTMENT_MAP[t]&&(t=i.SVG_TAG_NAMES_ADJUSTMENT_MAP[t]),i.isIntegrationPoint(t,r,e.attrs)&&this._leaveCurrentNamespace()}this.currentNamespace===c.SVG&&i.adjustTokenSVGTagName(e)}},ea53:function(e,t,r){"use strict";var n=r("399f"),i=r("f3a3"),o=i.getNAF,a=i.getJSF,s=i.assert;function c(e,t){this.type=e,this.p=new n(t.p,16),this.red=t.prime?n.red(t.prime):n.mont(this.p),this.zero=new n(0).toRed(this.red),this.one=new n(1).toRed(this.red),this.two=new n(2).toRed(this.red),this.n=t.n&&new n(t.n,16),this.g=t.g&&this.pointFromJSON(t.g,t.gRed),this._wnafT1=new Array(4),this._wnafT2=new Array(4),this._wnafT3=new Array(4),this._wnafT4=new Array(4),this._bitLength=this.n?this.n.bitLength():0;var r=this.n&&this.p.div(this.n);!r||r.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}function u(e,t){this.curve=e,this.type=t,this.precomputed=null}e.exports=c,c.prototype.point=function(){throw new Error("Not implemented")},c.prototype.validate=function(){throw new Error("Not implemented")},c.prototype._fixedNafMul=function(e,t){s(e.precomputed);var r=e._getDoubles(),n=o(t,1,this._bitLength),i=(1<=a;l--)c=(c<<1)+n[l];u.push(c)}for(var f=this.jpoint(null,null,null),d=this.jpoint(null,null,null),h=i;h>0;h--){for(a=0;a=0;u--){for(var l=0;u>=0&&0===a[u];u--)l++;if(u>=0&&l++,c=c.dblp(l),u<0)break;var f=a[u];s(0!==f),c="affine"===e.type?f>0?c.mixedAdd(i[f-1>>1]):c.mixedAdd(i[-f-1>>1].neg()):f>0?c.add(i[f-1>>1]):c.add(i[-f-1>>1].neg())}return"affine"===e.type?c.toP():c},c.prototype._wnafMulAdd=function(e,t,r,n,i){var s,c,u,l=this._wnafT1,f=this._wnafT2,d=this._wnafT3,h=0;for(s=0;s=1;s-=2){var m=s-1,b=s;if(1===l[m]&&1===l[b]){var g=[t[m],null,null,t[b]];0===t[m].y.cmp(t[b].y)?(g[1]=t[m].add(t[b]),g[2]=t[m].toJ().mixedAdd(t[b].neg())):0===t[m].y.cmp(t[b].y.redNeg())?(g[1]=t[m].toJ().mixedAdd(t[b]),g[2]=t[m].add(t[b].neg())):(g[1]=t[m].toJ().mixedAdd(t[b]),g[2]=t[m].toJ().mixedAdd(t[b].neg()));var y=[-3,-1,-5,-7,0,7,5,1,3],v=a(r[m],r[b]);for(h=Math.max(v[0].length,h),d[m]=new Array(h),d[b]=new Array(h),c=0;c=0;s--){var S=0;while(s>=0){var x=!0;for(c=0;c=0&&S++,E=E.dblp(S),s<0)break;for(c=0;c0?u=f[c][A-1>>1]:A<0&&(u=f[c][-A-1>>1].neg()),E="affine"===u.type?E.mixedAdd(u):E.add(u))}}for(s=0;s=Math.ceil((e.bitLength()+1)/t.step)},u.prototype._getDoubles=function(e,t){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var r=[this],n=this,i=0;i=this._delta8){e=this.pending;var r=e.length%this._delta8;this.pending=e.slice(e.length-r,e.length),0===this.pending.length&&(this.pending=null),e=n.join32(e,0,e.length-r,this.endian);for(var i=0;i>>24&255,n[i++]=e>>>16&255,n[i++]=e>>>8&255,n[i++]=255&e}else for(n[i++]=255&e,n[i++]=e>>>8&255,n[i++]=e>>>16&255,n[i++]=e>>>24&255,n[i++]=0,n[i++]=0,n[i++]=0,n[i++]=0,o=8;o(i>>1)-1?(i>>1)-c:c,o.isubn(s)):s=0,n[a]=s,o.iushrn(1)}return n}function c(e,t){var r=[[],[]];e=e.clone(),t=t.clone();var n,i=0,o=0;while(e.cmpn(-i)>0||t.cmpn(-o)>0){var a,s,c=e.andln(3)+i&3,u=t.andln(3)+o&3;3===c&&(c=-1),3===u&&(u=-1),0===(1&c)?a=0:(n=e.andln(7)+i&7,a=3!==n&&5!==n||2!==u?c:-c),r[0].push(a),0===(1&u)?s=0:(n=t.andln(7)+o&7,s=3!==n&&5!==n||2!==c?u:-u),r[1].push(s),2*i===a+1&&(i=1-i),2*o===s+1&&(o=1-o),e.iushrn(1),t.iushrn(1)}return r}function u(e,t,r){var n="_"+t;e.prototype[t]=function(){return void 0!==this[n]?this[n]:this[n]=r.call(this)}}function l(e){return"string"===typeof e?n.toArray(e,"hex"):e}function f(e){return new i(e,"hex","le")}n.assert=o,n.toArray=a.toArray,n.zero2=a.zero2,n.toHex=a.toHex,n.encode=a.encode,n.getNAF=s,n.getJSF=c,n.cachedProperty=u,n.parseBytes=l,n.intFromLE=f},f460:function(e,t,r){var n=r("98e6"),i=r("8707").Buffer;function o(e){var t=i.allocUnsafe(4);return t.writeUInt32BE(e,0),t}e.exports=function(e,t){var r,a=i.alloc(0),s=0;while(a.length>>32-t}function u(e,t,r,n,i,o,a){return c(e+(t&r|~t&n)+i+o|0,a)+t|0}function l(e,t,r,n,i,o,a){return c(e+(t&n|r&~n)+i+o|0,a)+t|0}function f(e,t,r,n,i,o,a){return c(e+(t^r^n)+i+o|0,a)+t|0}function d(e,t,r,n,i,o,a){return c(e+(r^(t|~n))+i+o|0,a)+t|0}n(s,i),s.prototype._update=function(){for(var e=a,t=0;t<16;++t)e[t]=this._block.readInt32LE(4*t);var r=this._a,n=this._b,i=this._c,o=this._d;r=u(r,n,i,o,e[0],3614090360,7),o=u(o,r,n,i,e[1],3905402710,12),i=u(i,o,r,n,e[2],606105819,17),n=u(n,i,o,r,e[3],3250441966,22),r=u(r,n,i,o,e[4],4118548399,7),o=u(o,r,n,i,e[5],1200080426,12),i=u(i,o,r,n,e[6],2821735955,17),n=u(n,i,o,r,e[7],4249261313,22),r=u(r,n,i,o,e[8],1770035416,7),o=u(o,r,n,i,e[9],2336552879,12),i=u(i,o,r,n,e[10],4294925233,17),n=u(n,i,o,r,e[11],2304563134,22),r=u(r,n,i,o,e[12],1804603682,7),o=u(o,r,n,i,e[13],4254626195,12),i=u(i,o,r,n,e[14],2792965006,17),n=u(n,i,o,r,e[15],1236535329,22),r=l(r,n,i,o,e[1],4129170786,5),o=l(o,r,n,i,e[6],3225465664,9),i=l(i,o,r,n,e[11],643717713,14),n=l(n,i,o,r,e[0],3921069994,20),r=l(r,n,i,o,e[5],3593408605,5),o=l(o,r,n,i,e[10],38016083,9),i=l(i,o,r,n,e[15],3634488961,14),n=l(n,i,o,r,e[4],3889429448,20),r=l(r,n,i,o,e[9],568446438,5),o=l(o,r,n,i,e[14],3275163606,9),i=l(i,o,r,n,e[3],4107603335,14),n=l(n,i,o,r,e[8],1163531501,20),r=l(r,n,i,o,e[13],2850285829,5),o=l(o,r,n,i,e[2],4243563512,9),i=l(i,o,r,n,e[7],1735328473,14),n=l(n,i,o,r,e[12],2368359562,20),r=f(r,n,i,o,e[5],4294588738,4),o=f(o,r,n,i,e[8],2272392833,11),i=f(i,o,r,n,e[11],1839030562,16),n=f(n,i,o,r,e[14],4259657740,23),r=f(r,n,i,o,e[1],2763975236,4),o=f(o,r,n,i,e[4],1272893353,11),i=f(i,o,r,n,e[7],4139469664,16),n=f(n,i,o,r,e[10],3200236656,23),r=f(r,n,i,o,e[13],681279174,4),o=f(o,r,n,i,e[0],3936430074,11),i=f(i,o,r,n,e[3],3572445317,16),n=f(n,i,o,r,e[6],76029189,23),r=f(r,n,i,o,e[9],3654602809,4),o=f(o,r,n,i,e[12],3873151461,11),i=f(i,o,r,n,e[15],530742520,16),n=f(n,i,o,r,e[2],3299628645,23),r=d(r,n,i,o,e[0],4096336452,6),o=d(o,r,n,i,e[7],1126891415,10),i=d(i,o,r,n,e[14],2878612391,15),n=d(n,i,o,r,e[5],4237533241,21),r=d(r,n,i,o,e[12],1700485571,6),o=d(o,r,n,i,e[3],2399980690,10),i=d(i,o,r,n,e[10],4293915773,15),n=d(n,i,o,r,e[1],2240044497,21),r=d(r,n,i,o,e[8],1873313359,6),o=d(o,r,n,i,e[15],4264355552,10),i=d(i,o,r,n,e[6],2734768916,15),n=d(n,i,o,r,e[13],1309151649,21),r=d(r,n,i,o,e[4],4149444226,6),o=d(o,r,n,i,e[11],3174756917,10),i=d(i,o,r,n,e[2],718787259,15),n=d(n,i,o,r,e[9],3951481745,21),this._a=this._a+r|0,this._b=this._b+n|0,this._c=this._c+i|0,this._d=this._d+o|0},s.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var e=o.allocUnsafe(16);return e.writeInt32LE(this._a,0),e.writeInt32LE(this._b,4),e.writeInt32LE(this._c,8),e.writeInt32LE(this._d,12),e},e.exports=s},f58c:function(e,t,r){"use strict";e.exports=function(e,t){return t=t||Object.create(null),[e,t].reduce((function(e,t){return Object.keys(t).forEach((function(r){e[r]=t[r]})),e}),Object.create(null))}},f5a0:function(e,t,r){"use strict";r.r(t);var n=r("8536"),i=r("9a9b");for(var o in i)["default"].indexOf(o)<0&&function(e){r.d(t,e,(function(){return i[e]}))}(o);r("3a4b");var a,s=r("f0c5"),c=Object(s["a"])(i["default"],n["b"],n["c"],!1,null,"bed265de",null,!1,n["a"],a);t["default"]=c.exports},f5f2:function(e){e.exports=JSON.parse('{"amp":"&","apos":"\'","gt":">","lt":"<","quot":"\\""}')},f67e:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.uniqueSort=t.compareDocumentPosition=t.removeSubsets=void 0;var n=r("312c");function i(e){var t=e.length;while(--t>=0){var r=e[t];if(t>0&&e.lastIndexOf(r,t-1)>=0)e.splice(t,1);else for(var n=r.parent;n;n=n.parent)if(e.includes(n)){e.splice(t,1);break}}return e}function o(e,t){var r=[],i=[];if(e===t)return 0;var o=n.hasChildren(e)?e:e.parent;while(o)r.unshift(o),o=o.parent;o=n.hasChildren(t)?t:t.parent;while(o)i.unshift(o),o=o.parent;var a=Math.min(r.length,i.length),s=0;while(su.indexOf(f)?c===t?20:4:c===e?10:2}function a(e){return e=e.filter((function(e,t,r){return!r.includes(e,t+1)})),e.sort((function(e,t){var r=o(e,t);return 2&r?-1:4&r?1:0})),e}t.removeSubsets=i,t.compareDocumentPosition=o,t.uniqueSort=a},f6ae:function(e,t,r){"use strict";var n=r("d485").Writable,i=r("3022").inherits,o=r("cd23"),a=e.exports=function(e){n.call(this),this.parser=new o(e),this.lastChunkWritten=!1,this.writeCallback=null,this.pausedByScript=!1,this.document=this.parser.treeAdapter.createDocument(),this.pendingHtmlInsertions=[],this._resume=this._resume.bind(this),this._documentWrite=this._documentWrite.bind(this),this._scriptHandler=this._scriptHandler.bind(this),this.parser._bootstrap(this.document,null)};i(a,n),a.prototype._write=function(e,t,r){this.writeCallback=r,this.parser.tokenizer.write(e.toString("utf8"),this.lastChunkWritten),this._runParsingLoop()},a.prototype.end=function(e,t,r){this.lastChunkWritten=!0,n.prototype.end.call(this,e||"",t,r)},a.prototype._runParsingLoop=function(){this.parser.runParsingLoopForCurrentChunk(this.writeCallback,this._scriptHandler)},a.prototype._resume=function(){if(!this.pausedByScript)throw new Error("Parser was already resumed");while(this.pendingHtmlInsertions.length){var e=this.pendingHtmlInsertions.pop();this.parser.tokenizer.insertHtmlAtCurrentPos(e)}this.pausedByScript=!1,this.parser.tokenizer.active&&this._runParsingLoop()},a.prototype._documentWrite=function(e){this.parser.stopped||this.pendingHtmlInsertions.push(e)},a.prototype._scriptHandler=function(e){this.listeners("script").length?(this.pausedByScript=!0,this.emit("script",e,this._documentWrite,this._resume)):this._runParsingLoop()}},f6b4:function(e,t,r){"use strict";var n=r("c532");function i(){this.handlers=[]}i.prototype.use=function(e,t){return this.handlers.push({fulfilled:e,rejected:t}),this.handlers.length-1},i.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},i.prototype.forEach=function(e){n.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=i},f6bd:function(e,t,r){"use strict";var n=r("d485").Writable,i=r("3022"),o=e.exports=function(){n.call(this)};i.inherits(o,n),o.prototype._write=function(e,t,r){r()}},f744:function(e,t,r){"use strict";r.r(t),r.d(t,"getHeadersForMkFile",(function(){return S})),r.d(t,"getHeadersForChunkUpload",(function(){return T})),r.d(t,"urlSafeBase64Encode",(function(){return c})),r.d(t,"urlSafeBase64Decode",(function(){return u})),r.d(t,"deleteUploadedChunks",(function(){return Y})),r.d(t,"getUploadUrl",(function(){return z})),r.d(t,"imageMogr2",(function(){return Be})),r.d(t,"watermark",(function(){return Ue})),r.d(t,"imageInfo",(function(){return He})),r.d(t,"exif",(function(){return Fe})),r.d(t,"pipeline",(function(){return qe})),r.d(t,"region",(function(){return B})),r.d(t,"upload",(function(){return ze})),r.d(t,"compressImage",(function(){return Pe}));var n=r("69a0"),i=r.n(n);function o(e){if(null===e||"undefined"===typeof e)return"";var t,r,n=e+"",i="",o=0;t=r=0,o=n.length;for(var a=0;a127&&s<2048)c=String.fromCharCode(s>>6|192,63&s|128);else if((63488&s^55296)>0)c=String.fromCharCode(s>>12|224,s>>6&63|128,63&s|128);else{if((64512&s^55296)>0)throw new RangeError("Unmatched trail surrogate at "+a);var u=n.charCodeAt(++a);if((64512&u^56320)>0)throw new RangeError("Unmatched lead surrogate at "+(a-1));s=((1023&s)<<10)+(1023&u)+65536,c=String.fromCharCode(s>>18|240,s>>12&63|128,s>>6&63|128,63&s|128)}null!==c&&(r>t&&(i+=n.slice(t,r)),i+=c,t=r=a+1)}return r>t&&(i+=n.slice(t,o)),i}function a(e){var t,r,n,i,a,s,c,u,l="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",f=0,d=0,h="",p=[];if(!e)return e;e=o(e+"");do{t=e.charCodeAt(f++),r=e.charCodeAt(f++),n=e.charCodeAt(f++),u=t<<16|r<<8|n,i=u>>18&63,a=u>>12&63,s=u>>6&63,c=63&u,p[d++]=l.charAt(i)+l.charAt(a)+l.charAt(s)+l.charAt(c)}while(f>16&255,r=c>>8&255,n=255&c,h[f++]=64===a?String.fromCharCode(t):64===s?String.fromCharCode(t,r):String.fromCharCode(t,r,n)}while(l0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]e.size)r=e.size;else while(e.size>1e4*r)r*=2;for(var n=[],i=Math.ceil(e.size/r),o=0;o3?t[1]:t[0],n=JSON.parse(u(t[t.length-1]));return{ak:r,bucket:n.scope.split(":")[0]}}function I(e){var t=window.URL||window.webkitURL||window.mozURL;return t.createObjectURL(e)}function R(e,t){var r=e.width,n=e.height;switch(t){case 1:return{width:r,height:n,matrix:[1,0,0,1,0,0]};case 2:return{width:r,height:n,matrix:[-1,0,0,1,r,0]};case 3:return{width:r,height:n,matrix:[-1,0,0,-1,r,n]};case 4:return{width:r,height:n,matrix:[1,0,0,-1,0,n]};case 5:return{width:n,height:r,matrix:[0,1,1,0,0,0]};case 6:return{width:n,height:r,matrix:[0,1,-1,0,n,0]};case 7:return{width:n,height:r,matrix:[0,-1,-1,0,n,r]};case 8:return{width:n,height:r,matrix:[0,-1,1,0,0,r]};default:throw new Error("orientation "+t+" is unavailable")}}var j,P=function(){function e(){}return e.prototype.log=function(e,t){var r=Object.values(e).join(",");this.send(r,t,0)},e.prototype.send=function(e,t,r){var n=this,i=x();i.open("POST","https://uplog.qbox.me/log/3"),i.setRequestHeader("Content-type","application/x-www-form-urlencoded"),i.setRequestHeader("Authorization","UpToken "+t),i.onreadystatechange=function(){4===i.readyState&&200!==i.status&&++r<=3&&n.send(e,t,r)},i.send(e)},e}(),D=P,L=function(){function e(e,t){this.runTask=e,this.limit=t,this.queue=[],this.processing=[]}return e.prototype.enqueue=function(e){var t=this;return new Promise((function(r,n){t.queue.push({task:e,resolve:r,reject:n}),t.check()}))},e.prototype.run=function(e){var t=this;this.queue=this.queue.filter((function(t){return t!==e})),this.processing.push(e),this.runTask(e.task).then((function(){t.processing=t.processing.filter((function(t){return t!==e})),e.resolve(),t.check()}),(function(t){return e.reject(t)}))},e.prototype.check=function(){var e=this,t=this.processing.length,r=this.limit-t;this.queue.slice(0,r).forEach((function(t){e.run(t)}))},e}(),B={z0:"z0",z1:"z1",z2:"z2",na0:"na0",as0:"as0"},U=(j={},j[B.z0]={srcUphost:"up.qiniup.com",cdnUphost:"upload.qiniup.com"},j[B.z1]={srcUphost:"up-z1.qiniup.com",cdnUphost:"upload-z1.qiniup.com"},j[B.z2]={srcUphost:"up-z2.qiniup.com",cdnUphost:"upload-z2.qiniup.com"},j[B.na0]={srcUphost:"up-na0.qiniup.com",cdnUphost:"upload-na0.qiniup.com"},j[B.as0]={srcUphost:"up-as0.qiniup.com",cdnUphost:"upload-as0.qiniup.com"},j),H=function(){return H=Object.assign||function(e){for(var t,r=1,n=arguments.length;r0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]1e4*ee)throw e=new Error("file size exceed maximum value 10000G"),this.onError(e),e;if(this.putExtra.customVars&&!b(this.putExtra.customVars))throw e=new Error("customVars key should start width x:"),this.onError(e),e;if(this.putExtra.metadata&&!m(this.putExtra.metadata))throw e=new Error("metadata key should start with x-qn-meta-"),this.onError(e),e;c.label=1;case 1:return c.trys.push([1,4,,5]),t=this,[4,z(this.config,this.token)];case 2:return t.uploadUrl=c.sent(),this.uploadAt=(new Date).getTime(),[4,this.run()];case 3:return r=c.sent(),this.onComplete(r.data),this.config.disableStatisticsReport||this.sendLog(r.reqId,200),[2,r];case 4:if(n=c.sent(),this.clear(),n.isRequestError&&!this.config.disableStatisticsReport&&(i=this.aborted?"":n.reqId,o=this.aborted?-2:n.code,this.sendLog(i,o)),a=n.isRequestError&&0===n.code&&!this.aborted,s=++this.retryCount<=this.config.retryCount,a&&s||612===n.code)return[2,this.putFile()];throw this.onError(n),n;case 5:return[2]}}))}))},e.prototype.clear=function(){this.xhrList.forEach((function(e){return e.abort()})),this.xhrList=[]},e.prototype.stop=function(){this.clear(),this.aborted=!0},e.prototype.addXhr=function(e){this.xhrList.push(e)},e.prototype.sendLog=function(e,t){this.statisticsLogger.log({code:t,reqId:e,host:N(this.uploadUrl),remoteIp:"",port:O(this.uploadUrl),duration:((new Date).getTime()-this.uploadAt)/1e3,time:Math.floor(this.uploadAt/1e3),bytesSent:this.progress?this.progress.total.loaded:0,upType:"jssdk-h5",size:this.file.size},this.token)},e.prototype.getProgressInfoItem=function(e,t){return{loaded:e,size:t,percent:e/t*100}},e}(),re=te,ne=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},e(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),ie=function(){return ie=Object.assign||function(e){for(var t,r=1,n=arguments.length;r0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]1024)throw new Error("chunkSize maximum value is 1024");return[4,this.initBeforeUploadChunks()];case 1:return i.sent(),e=new L((function(e){return n.uploadChunk(e)}),this.config.concurrentRequestLimit),t=this.chunks.map((function(t,r){return e.enqueue({chunk:t,index:r})})),r=Promise.all(t).then((function(){return n.mkFileReq()})),r.then((function(){_(n.getLocalKey())}),(function(e){612!==e.code&&400!==e.code||_(n.getLocalKey())})),[2,r]}}))}))},t.prototype.uploadChunk=function(e){return oe(this,void 0,void 0,(function(){var t,r,n,i,o,a,s,c,u,l=this;return ae(this,(function(f){switch(f.label){case 0:return t=e.index,r=e.chunk,n=this.uploadedList[t],i=this.config.checkByMD5,o=function(){l.updateChunkProgress(r.size,t)},n&&!i?(o(),[2]):[4,A(r)];case 1:return a=f.sent(),n&&a===n.md5?(o(),[2]):(s=function(e){l.updateChunkProgress(e.loaded,t)},c={body:r,onProgress:s,onCreate:function(e){return l.addXhr(e)}},[4,W(this.token,this.key,e.index+1,this.getUploadInfo(),c)]);case 2:return u=f.sent(),s({loaded:r.size,total:r.size}),this.uploadedList[t]={etag:u.data.etag,md5:u.data.md5,size:r.size},y(this.getLocalKey(),{id:this.uploadId,data:this.uploadedList}),[2]}}))}))},t.prototype.mkFileReq=function(){return oe(this,void 0,void 0,(function(){var e,t,r=this;return ae(this,(function(n){switch(n.label){case 0:return e=ie(ie(ie({parts:this.uploadedList.map((function(e,t){return{etag:e.etag,partNumber:t+1}})),fname:this.putExtra.fname},this.putExtra.mimeType&&{mimeType:this.putExtra.mimeType}),this.putExtra.customVars&&{customVars:this.putExtra.customVars}),this.putExtra.metadata&&{metadata:this.putExtra.metadata}),[4,X(this.token,this.key,this.getUploadInfo(),{onCreate:function(e){return r.addXhr(e)},body:JSON.stringify(e)})];case 1:return t=n.sent(),this.updateMkFileProgress(1),[2,t]}}))}))},t.prototype.initBeforeUploadChunks=function(){return oe(this,void 0,void 0,(function(){var e,t;return ae(this,(function(r){switch(r.label){case 0:return e=w(this.getLocalKey()),e?[3,2]:(_(this.getLocalKey()),[4,V(this.token,this.bucket,this.key,this.uploadUrl)]);case 1:return t=r.sent(),this.uploadId=t.data.uploadId,this.uploadedList=[],[3,3];case 2:this.uploadId=e.id,this.uploadedList=e.data,r.label=3;case 3:return this.chunks=p(this.file,this.config.chunkSize),this.loaded={mkFileProgress:0,chunks:this.chunks.map((function(e){return 0}))},this.notifyResumeProgress(),[2]}}))}))},t.prototype.getUploadInfo=function(){return{id:this.uploadId,url:this.uploadUrl}},t.prototype.getLocalKey=function(){return v(this.file.name,this.key,this.file.size)},t.prototype.updateChunkProgress=function(e,t){this.loaded.chunks[t]=e,this.notifyResumeProgress()},t.prototype.updateMkFileProgress=function(e){this.loaded.mkFileProgress=e,this.notifyResumeProgress()},t.prototype.notifyResumeProgress=function(){var e=this;this.progress={total:this.getProgressInfoItem(g(this.loaded.chunks)+this.loaded.mkFileProgress,this.file.size+1),chunks:this.chunks.map((function(t,r){return e.getProgressInfoItem(e.loaded.chunks[r],t.size)})),uploadInfo:{id:this.uploadId,url:this.uploadUrl}},this.onData(this.progress)},t}(re),ue=ce,le=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},e(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),fe=function(e,t,r,n){function i(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,o){function a(e){try{c(n.next(e))}catch(t){o(t)}}function s(e){try{c(n["throw"](e))}catch(t){o(t)}}function c(e){e.done?r(e.value):i(e.value).then(a,s)}c((n=n.apply(e,t||[])).next())}))},de=function(e,t){var r,n,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(e){return function(t){return c([e,t])}}function c(o){if(r)throw new TypeError("Generator is already executing.");while(a)try{if(r=1,n&&(i=2&o[0]?n["return"]:o[0]?n["throw"]||((i=n["return"])&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(i=a.trys,!(i=i.length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]4*h?new ue(e,t,r):new pe(e,t,r)}var be=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},e(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),ge=function(){return ge=Object.assign||function(e){for(var t,r=1,n=arguments.length;r0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0)&&!(n=o.next()).done)a.push(n.value)}catch(s){i={error:s}}finally{try{n&&!n.done&&(r=o["return"])&&r.call(o)}finally{if(i)throw i.error}}return a},Ae=function(){for(var e=[],t=0;tthis.file.size&&this.config.noCompressIfLarger?[2,{dist:this.file,width:e.width,height:e.height}]:[2,{dist:o,width:i.width,height:i.height}]}}))}))},e.prototype.clear=function(e,t,r){this.outputType===Me?(e.fillStyle="#fff",e.fillRect(0,0,t,r)):e.clearRect(0,0,t,r)},e.prototype.getOriginImage=function(){var e=this;return new Promise((function(t,r){var n=I(e.file),i=new Image;i.onload=function(){t(i)},i.onerror=function(){r("image load error")},i.src=n}))},e.prototype.getCanvas=function(e){var t=this;return new Promise((function(r,n){we["EXIF"].getData(e,(function(){var i=we["EXIF"].getTag(e,"Orientation")||1,o=R(e,i),a=o.width,s=o.height,c=o.matrix,u=document.createElement("canvas"),l=u.getContext("2d");u.width=a,u.height=s,l?(t.clear(l,a,s),l.transform.apply(l,Ae(c)),l.drawImage(e,0,0),r(u)):n(new Error("context is null"))}))}))},e.prototype.doScale=function(e,t){return Te(this,void 0,void 0,(function(){var r,n,i,o,a,s,c,u,l,f,d,h,p,m,b,g;return Se(this,(function(y){if(1===t)return[2,e];if(r=e.getContext("2d"),n=Math.min(Ce,Math.ceil(1/t/Oe)),i=Math.pow(t,1/n),o=document.createElement("canvas"),a=o.getContext("2d"),s=e.width,c=e.height,u=s,l=c,o.width=s,o.height=c,!a||!r)throw new Error("mctx or sctx can't be null");for(h=0;h0}))},t.first=function(){return this.length>1?this._make(this[0]):this},t.last=function(){return this.length>1?this._make(this[this.length-1]):this},t.eq=function(e){return e=+e,0===e&&this.length<=1?this:(e<0&&(e=this.length+e),this[e]?this._make(this[e]):this._make([]))},t.get=function(e){return null==e?Array.prototype.slice.call(this):this[e<0?this.length+e:e]},t.index=function(e){var t,r;return 0===arguments.length?(t=this.parent().children(),r=this[0]):"string"===typeof e?(t=this._make(e),r=this[0]):(t=this,r=e.cheerio?e[0]:e),t.get().indexOf(r)},t.slice=function(){return this._make([].slice.apply(this,arguments))},t.end=function(){return this.prevObject||this._make([])},t.add=function(e,t){for(var r=this._make(e,t),n=a(r.get().concat(this.get())),i=0;i!?|~^@]/,h=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/;function p(e){var t,r=!1,n=!1;while(null!=(t=e.next())){if(!r){if("/"==t&&!n)return;"["==t?n=!0:n&&"]"==t&&(n=!1)}r=!r&&"\\"==t}}function m(e,t,r){return n=e,i=r,t}function b(e,t){var r=e.next();if('"'==r||"'"==r)return t.tokenize=g(r),t.tokenize(e,t);if("."==r&&e.match(/^\d[\d_]*(?:[eE][+\-]?[\d_]+)?/))return m("number","number");if("."==r&&e.match(".."))return m("spread","meta");if(/[\[\]{}\(\),;\:\.]/.test(r))return m(r);if("="==r&&e.eat(">"))return m("=>","operator");if("0"==r&&e.match(/^(?:x[\dA-Fa-f_]+|o[0-7_]+|b[01_]+)n?/))return m("number","number");if(/\d/.test(r))return e.match(/^[\d_]*(?:n|(?:\.[\d_]*)?(?:[eE][+\-]?[\d_]+)?)?/),m("number","number");if("/"==r)return e.eat("*")?(t.tokenize=y,y(e,t)):e.eat("/")?(e.skipToEnd(),m("comment","comment")):tt(e,t,1)?(p(e),e.match(/^\b(([gimyus])(?![gimyus]*\2))+\b/),m("regexp","string-2")):(e.eat("="),m("operator","operator",e.current()));if("`"==r)return t.tokenize=v,v(e,t);if("#"==r&&"!"==e.peek())return e.skipToEnd(),m("meta","meta");if("#"==r&&e.eatWhile(l))return m("variable","property");if("<"==r&&e.match("!--")||"-"==r&&e.match("->")&&!/\S/.test(e.string.slice(0,e.start)))return e.skipToEnd(),m("comment","comment");if(d.test(r))return">"==r&&t.lexical&&">"==t.lexical.type||(e.eat("=")?"!"!=r&&"="!=r||e.eat("="):/[<>*+\-|&?]/.test(r)&&(e.eat(r),">"==r&&e.eat(r))),"?"==r&&e.eat(".")?m("."):m("operator","operator",e.current());if(l.test(r)){e.eatWhile(l);var n=e.current();if("."!=t.lastType){if(f.propertyIsEnumerable(n)){var i=f[n];return m(i.type,i.style,n)}if("async"==n&&e.match(/^(\s|\/\*([^*]|\*(?!\/))*?\*\/)*[\[\(\w]/,!1))return m("async","keyword",n)}return m("variable","variable",n)}}function g(e){return function(t,r){var n,i=!1;if(s&&"@"==t.peek()&&t.match(h))return r.tokenize=b,m("jsonld-keyword","meta");while(null!=(n=t.next())){if(n==e&&!i)break;i=!i&&"\\"==n}return i||(r.tokenize=b),m("string","string")}}function y(e,t){var r,n=!1;while(r=e.next()){if("/"==r&&n){t.tokenize=b;break}n="*"==r}return m("comment","comment")}function v(e,t){var r,n=!1;while(null!=(r=e.next())){if(!n&&("`"==r||"$"==r&&e.eat("{"))){t.tokenize=b;break}n=!n&&"\\"==r}return m("quasi","string-2",e.current())}var _="([{}])";function w(e,t){t.fatArrowAt&&(t.fatArrowAt=null);var r=e.string.indexOf("=>",e.start);if(!(r<0)){if(u){var n=/:\s*(?:\w+(?:<[^>]*>|\[\])?|\{[^}]*\})\s*$/.exec(e.string.slice(e.start,r));n&&(r=n.index)}for(var i=0,o=!1,a=r-1;a>=0;--a){var s=e.string.charAt(a),c=_.indexOf(s);if(c>=0&&c<3){if(!i){++a;break}if(0==--i){"("==s&&(o=!0);break}}else if(c>=3&&c<6)++i;else if(l.test(s))o=!0;else if(/["'\/`]/.test(s))for(;;--a){if(0==a)return;var f=e.string.charAt(a-1);if(f==s&&"\\"!=e.string.charAt(a-2)){a--;break}}else if(o&&!i){++a;break}}o&&!i&&(t.fatArrowAt=a)}}var E={atom:!0,number:!0,variable:!0,string:!0,regexp:!0,this:!0,"jsonld-keyword":!0};function T(e,t,r,n,i,o){this.indented=e,this.column=t,this.type=r,this.prev=i,this.info=o,null!=n&&(this.align=n)}function S(e,t){for(var r=e.localVars;r;r=r.next)if(r.name==t)return!0;for(var n=e.context;n;n=n.prev)for(r=n.vars;r;r=r.next)if(r.name==t)return!0}function x(e,t,r,n,i){var o=e.cc;A.state=e,A.stream=i,A.marked=null,A.cc=o,A.style=t,e.lexical.hasOwnProperty("align")||(e.lexical.align=!0);while(1){var a=o.length?o.pop():c?z:q;if(a(r,n)){while(o.length&&o[o.length-1].lex)o.pop()();return A.marked?A.marked:"variable"==r&&S(e,n)?"variable-2":t}}}var A={state:null,column:null,marked:null,cc:null};function k(){for(var e=arguments.length-1;e>=0;e--)A.cc.push(arguments[e])}function C(){return k.apply(null,arguments),!0}function O(e,t){for(var r=t;r;r=r.next)if(r.name==e)return!0;return!1}function N(e){var t=A.state;if(A.marked="def",t.context)if("var"==t.lexical.info&&t.context&&t.context.block){var n=M(e,t.context);if(null!=n)return void(t.context=n)}else if(!O(e,t.localVars))return void(t.localVars=new j(e,t.localVars));r.globalVars&&!O(e,t.globalVars)&&(t.globalVars=new j(e,t.globalVars))}function M(e,t){if(t){if(t.block){var r=M(e,t.prev);return r?r==t.prev?t:new R(r,t.vars,!0):null}return O(e,t.vars)?t:new R(t.prev,new j(e,t.vars),!1)}return null}function I(e){return"public"==e||"private"==e||"protected"==e||"abstract"==e||"readonly"==e}function R(e,t,r){this.prev=e,this.vars=t,this.block=r}function j(e,t){this.name=e,this.next=t}var P=new j("this",new j("arguments",null));function D(){A.state.context=new R(A.state.context,A.state.localVars,!1),A.state.localVars=P}function L(){A.state.context=new R(A.state.context,A.state.localVars,!0),A.state.localVars=null}function B(){A.state.localVars=A.state.context.vars,A.state.context=A.state.context.prev}function U(e,t){var r=function(){var r=A.state,n=r.indented;if("stat"==r.lexical.type)n=r.lexical.indented;else for(var i=r.lexical;i&&")"==i.type&&i.align;i=i.prev)n=i.indented;r.lexical=new T(n,A.stream.column(),e,null,r.lexical,t)};return r.lex=!0,r}function H(){var e=A.state;e.lexical.prev&&(")"==e.lexical.type&&(e.indented=e.lexical.indented),e.lexical=e.lexical.prev)}function F(e){function t(r){return r==e?C():";"==e||"}"==r||")"==r||"]"==r?k():C(t)}return t}function q(e,t){return"var"==e?C(U("vardef",t),xe,F(";"),H):"keyword a"==e?C(U("form"),V,q,H):"keyword b"==e?C(U("form"),q,H):"keyword d"==e?A.stream.match(/^\s*$/,!1)?C():C(U("stat"),X,F(";"),H):"debugger"==e?C(F(";")):"{"==e?C(U("}"),L,fe,H,B):";"==e?C():"if"==e?("else"==A.state.lexical.info&&A.state.cc[A.state.cc.length-1]==H&&A.state.cc.pop()(),C(U("form"),V,q,H,Me)):"function"==e?C(Pe):"for"==e?C(U("form"),Ie,q,H):"class"==e||u&&"interface"==t?(A.marked="keyword",C(U("form","class"==e?e:t),He,H)):"variable"==e?u&&"declare"==t?(A.marked="keyword",C(q)):u&&("module"==t||"enum"==t||"type"==t)&&A.stream.match(/^\s*\w/,!1)?(A.marked="keyword","enum"==t?C(Je):"type"==t?C(Le,F("operator"),be,F(";")):C(U("form"),Ae,F("{"),U("}"),fe,H,H)):u&&"namespace"==t?(A.marked="keyword",C(U("form"),z,q,H)):u&&"abstract"==t?(A.marked="keyword",C(q)):C(U("stat"),ie):"switch"==e?C(U("form"),V,F("{"),U("}","switch"),L,fe,H,H,B):"case"==e?C(z,F(":")):"default"==e?C(F(":")):"catch"==e?C(U("form"),D,G,q,H,B):"export"==e?C(U("stat"),ze,H):"import"==e?C(U("stat"),Ve,H):"async"==e?C(q):"@"==t?C(z,q):k(U("stat"),z,F(";"),H)}function G(e){if("("==e)return C(Be,F(")"))}function z(e,t){return W(e,t,!1)}function K(e,t){return W(e,t,!0)}function V(e){return"("!=e?k():C(U(")"),X,F(")"),H)}function W(e,t,r){if(A.state.fatArrowAt==A.stream.start){var n=r?ee:Z;if("("==e)return C(D,U(")"),ue(Be,")"),H,F("=>"),n,B);if("variable"==e)return k(D,Ae,F("=>"),n,B)}var i=r?Q:Y;return E.hasOwnProperty(e)?C(i):"function"==e?C(Pe,i):"class"==e||u&&"interface"==t?(A.marked="keyword",C(U("form"),Ue,H)):"keyword c"==e||"async"==e?C(r?K:z):"("==e?C(U(")"),X,F(")"),H,i):"operator"==e||"spread"==e?C(r?K:z):"["==e?C(U("]"),$e,H,i):"{"==e?le(ae,"}",null,i):"quasi"==e?k($,i):"new"==e?C(te(r)):"import"==e?C(z):C()}function X(e){return e.match(/[;\}\)\],]/)?k():k(z)}function Y(e,t){return","==e?C(X):Q(e,t,!1)}function Q(e,t,r){var n=0==r?Y:Q,i=0==r?z:K;return"=>"==e?C(D,r?ee:Z,B):"operator"==e?/\+\+|--/.test(t)||u&&"!"==t?C(n):u&&"<"==t&&A.stream.match(/^([^<>]|<[^<>]*>)*>\s*\(/,!1)?C(U(">"),ue(be,">"),H,n):"?"==t?C(z,F(":"),i):C(i):"quasi"==e?k($,n):";"!=e?"("==e?le(K,")","call",n):"."==e?C(oe,n):"["==e?C(U("]"),X,F("]"),H,n):u&&"as"==t?(A.marked="keyword",C(be,n)):"regexp"==e?(A.state.lastType=A.marked="operator",A.stream.backUp(A.stream.pos-A.stream.start-1),C(i)):void 0:void 0}function $(e,t){return"quasi"!=e?k():"${"!=t.slice(t.length-2)?C($):C(z,J)}function J(e){if("}"==e)return A.marked="string-2",A.state.tokenize=v,C($)}function Z(e){return w(A.stream,A.state),k("{"==e?q:z)}function ee(e){return w(A.stream,A.state),k("{"==e?q:K)}function te(e){return function(t){return"."==t?C(e?ne:re):"variable"==t&&u?C(Ee,e?Q:Y):k(e?K:z)}}function re(e,t){if("target"==t)return A.marked="keyword",C(Y)}function ne(e,t){if("target"==t)return A.marked="keyword",C(Q)}function ie(e){return":"==e?C(H,q):k(Y,F(";"),H)}function oe(e){if("variable"==e)return A.marked="property",C()}function ae(e,t){return"async"==e?(A.marked="property",C(ae)):"variable"==e||"keyword"==A.style?(A.marked="property","get"==t||"set"==t?C(se):(u&&A.state.fatArrowAt==A.stream.start&&(r=A.stream.match(/^\s*:\s*/,!1))&&(A.state.fatArrowAt=A.stream.pos+r[0].length),C(ce))):"number"==e||"string"==e?(A.marked=s?"property":A.style+" property",C(ce)):"jsonld-keyword"==e?C(ce):u&&I(t)?(A.marked="keyword",C(ae)):"["==e?C(z,de,F("]"),ce):"spread"==e?C(K,ce):"*"==t?(A.marked="keyword",C(ae)):":"==e?k(ce):void 0;var r}function se(e){return"variable"!=e?k(ce):(A.marked="property",C(Pe))}function ce(e){return":"==e?C(K):"("==e?k(Pe):void 0}function ue(e,t,r){function n(i,o){if(r?r.indexOf(i)>-1:","==i){var a=A.state.lexical;return"call"==a.info&&(a.pos=(a.pos||0)+1),C((function(r,n){return r==t||n==t?k():k(e)}),n)}return i==t||o==t?C():r&&r.indexOf(";")>-1?k(e):C(F(t))}return function(r,i){return r==t||i==t?C():k(e,n)}}function le(e,t,r){for(var n=3;n"),be):void 0}function ge(e){if("=>"==e)return C(be)}function ye(e){return e.match(/[\}\)\]]/)?C():","==e||";"==e?C(ye):k(ve,ye)}function ve(e,t){return"variable"==e||"keyword"==A.style?(A.marked="property",C(ve)):"?"==t||"number"==e||"string"==e?C(ve):":"==e?C(be):"["==e?C(F("variable"),he,F("]"),ve):"("==e?k(De,ve):e.match(/[;\}\)\],]/)?void 0:C()}function _e(e,t){return"variable"==e&&A.stream.match(/^\s*[?:]/,!1)||"?"==t?C(_e):":"==e?C(be):"spread"==e?C(_e):k(be)}function we(e,t){return"<"==t?C(U(">"),ue(be,">"),H,we):"|"==t||"."==e||"&"==t?C(be):"["==e?C(be,F("]"),we):"extends"==t||"implements"==t?(A.marked="keyword",C(be)):"?"==t?C(be,F(":"),be):void 0}function Ee(e,t){if("<"==t)return C(U(">"),ue(be,">"),H,we)}function Te(){return k(be,Se)}function Se(e,t){if("="==t)return C(be)}function xe(e,t){return"enum"==t?(A.marked="keyword",C(Je)):k(Ae,de,Oe,Ne)}function Ae(e,t){return u&&I(t)?(A.marked="keyword",C(Ae)):"variable"==e?(N(t),C()):"spread"==e?C(Ae):"["==e?le(Ce,"]"):"{"==e?le(ke,"}"):void 0}function ke(e,t){return"variable"!=e||A.stream.match(/^\s*:/,!1)?("variable"==e&&(A.marked="property"),"spread"==e?C(Ae):"}"==e?k():"["==e?C(z,F("]"),F(":"),ke):C(F(":"),Ae,Oe)):(N(t),C(Oe))}function Ce(){return k(Ae,Oe)}function Oe(e,t){if("="==t)return C(K)}function Ne(e){if(","==e)return C(xe)}function Me(e,t){if("keyword b"==e&&"else"==t)return C(U("form","else"),q,H)}function Ie(e,t){return"await"==t?C(Ie):"("==e?C(U(")"),Re,H):void 0}function Re(e){return"var"==e?C(xe,je):"variable"==e?C(je):k(je)}function je(e,t){return")"==e?C():";"==e?C(je):"in"==t||"of"==t?(A.marked="keyword",C(z,je)):k(z,je)}function Pe(e,t){return"*"==t?(A.marked="keyword",C(Pe)):"variable"==e?(N(t),C(Pe)):"("==e?C(D,U(")"),ue(Be,")"),H,pe,q,B):u&&"<"==t?C(U(">"),ue(Te,">"),H,Pe):void 0}function De(e,t){return"*"==t?(A.marked="keyword",C(De)):"variable"==e?(N(t),C(De)):"("==e?C(D,U(")"),ue(Be,")"),H,pe,B):u&&"<"==t?C(U(">"),ue(Te,">"),H,De):void 0}function Le(e,t){return"keyword"==e||"variable"==e?(A.marked="type",C(Le)):"<"==t?C(U(">"),ue(Te,">"),H):void 0}function Be(e,t){return"@"==t&&C(z,Be),"spread"==e?C(Be):u&&I(t)?(A.marked="keyword",C(Be)):u&&"this"==e?C(de,Oe):k(Ae,de,Oe)}function Ue(e,t){return"variable"==e?He(e,t):Fe(e,t)}function He(e,t){if("variable"==e)return N(t),C(Fe)}function Fe(e,t){return"<"==t?C(U(">"),ue(Te,">"),H,Fe):"extends"==t||"implements"==t||u&&","==e?("implements"==t&&(A.marked="keyword"),C(u?be:z,Fe)):"{"==e?C(U("}"),qe,H):void 0}function qe(e,t){return"async"==e||"variable"==e&&("static"==t||"get"==t||"set"==t||u&&I(t))&&A.stream.match(/^\s+[\w$\xa1-\uffff]/,!1)?(A.marked="keyword",C(qe)):"variable"==e||"keyword"==A.style?(A.marked="property",C(Ge,qe)):"number"==e||"string"==e?C(Ge,qe):"["==e?C(z,de,F("]"),Ge,qe):"*"==t?(A.marked="keyword",C(qe)):u&&"("==e?k(De,qe):";"==e||","==e?C(qe):"}"==e?C():"@"==t?C(z,qe):void 0}function Ge(e,t){if("?"==t)return C(Ge);if(":"==e)return C(be,Oe);if("="==t)return C(K);var r=A.state.lexical.prev,n=r&&"interface"==r.info;return k(n?De:Pe)}function ze(e,t){return"*"==t?(A.marked="keyword",C(Qe,F(";"))):"default"==t?(A.marked="keyword",C(z,F(";"))):"{"==e?C(ue(Ke,"}"),Qe,F(";")):k(q)}function Ke(e,t){return"as"==t?(A.marked="keyword",C(F("variable"))):"variable"==e?k(K,Ke):void 0}function Ve(e){return"string"==e?C():"("==e?k(z):k(We,Xe,Qe)}function We(e,t){return"{"==e?le(We,"}"):("variable"==e&&N(t),"*"==t&&(A.marked="keyword"),C(Ye))}function Xe(e){if(","==e)return C(We,Xe)}function Ye(e,t){if("as"==t)return A.marked="keyword",C(We)}function Qe(e,t){if("from"==t)return A.marked="keyword",C(z)}function $e(e){return"]"==e?C():k(ue(K,"]"))}function Je(){return k(U("form"),Ae,F("{"),U("}"),ue(Ze,"}"),H,H)}function Ze(){return k(Ae,Oe)}function et(e,t){return"operator"==e.lastType||","==e.lastType||d.test(t.charAt(0))||/[,.]/.test(t.charAt(0))}function tt(e,t,r){return t.tokenize==b&&/^(?:operator|sof|keyword [bcd]|case|new|export|default|spread|[\[{}\(,;:]|=>)$/.test(t.lastType)||"quasi"==t.lastType&&/\{\s*$/.test(e.string.slice(0,e.pos-(r||0)))}return B.lex=!0,H.lex=!0,{startState:function(e){var t={tokenize:b,lastType:"sof",cc:[],lexical:new T((e||0)-o,0,"block",!1),localVars:r.localVars,context:r.localVars&&new R(null,null,!1),indented:e||0};return r.globalVars&&"object"==typeof r.globalVars&&(t.globalVars=r.globalVars),t},token:function(e,t){if(e.sol()&&(t.lexical.hasOwnProperty("align")||(t.lexical.align=!1),t.indented=e.indentation(),w(e,t)),t.tokenize!=y&&e.eatSpace())return null;var r=t.tokenize(e,t);return"comment"==n?r:(t.lastType="operator"!=n||"++"!=i&&"--"!=i?n:"incdec",x(t,r,n,i,e))},indent:function(t,n){if(t.tokenize==y||t.tokenize==v)return e.Pass;if(t.tokenize!=b)return 0;var i,s=n&&n.charAt(0),c=t.lexical;if(!/^\s*else\b/.test(n))for(var u=t.cc.length-1;u>=0;--u){var l=t.cc[u];if(l==H)c=c.prev;else if(l!=Me)break}while(("stat"==c.type||"form"==c.type)&&("}"==s||(i=t.cc[t.cc.length-1])&&(i==Y||i==Q)&&!/^[,\.=+\-*:?[\(]/.test(n)))c=c.prev;a&&")"==c.type&&"stat"==c.prev.type&&(c=c.prev);var f=c.type,d=s==f;return"vardef"==f?c.indented+("operator"==t.lastType||","==t.lastType?c.info.length+1:0):"form"==f&&"{"==s?c.indented:"form"==f?c.indented+o:"stat"==f?c.indented+(et(t,n)?a||o:0):"switch"!=c.info||d||0==r.doubleIndentSwitch?c.align?c.column+(d?0:1):c.indented+(d?0:o):c.indented+(/^(?:case|default)\b/.test(n)?o:2*o)},electricInput:/^\s*(?:case .*?:|default:|\{|\})$/,blockCommentStart:c?null:"/*",blockCommentEnd:c?null:"*/",blockCommentContinue:c?null:" * ",lineComment:c?null:"//",fold:"brace",closeBrackets:"()[]{}''\"\"``",helperType:c?"json":"javascript",jsonldMode:s,jsonMode:c,expressionAllowed:tt,skipExpression:function(e){var t=e.cc[e.cc.length-1];t!=z&&t!=K||e.cc.pop()}}})),e.registerHelper("wordChars","javascript",/[\w$]/),e.defineMIME("text/javascript","javascript"),e.defineMIME("text/ecmascript","javascript"),e.defineMIME("application/javascript","javascript"),e.defineMIME("application/x-javascript","javascript"),e.defineMIME("application/ecmascript","javascript"),e.defineMIME("application/json",{name:"javascript",json:!0}),e.defineMIME("application/x-json",{name:"javascript",json:!0}),e.defineMIME("application/manifest+json",{name:"javascript",json:!0}),e.defineMIME("application/ld+json",{name:"javascript",jsonld:!0}),e.defineMIME("text/typescript",{name:"javascript",typescript:!0}),e.defineMIME("application/typescript",{name:"javascript",typescript:!0})}))},faa1:function(e,t,r){"use strict";var n,i="object"===typeof Reflect?Reflect:null,o=i&&"function"===typeof i.apply?i.apply:function(e,t,r){return Function.prototype.apply.call(e,t,r)};function a(e){console&&console.warn&&console.warn(e)}n=i&&"function"===typeof i.ownKeys?i.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var s=Number.isNaN||function(e){return e!==e};function c(){c.init.call(this)}e.exports=c,e.exports.once=_,c.EventEmitter=c,c.prototype._events=void 0,c.prototype._eventsCount=0,c.prototype._maxListeners=void 0;var u=10;function l(e){if("function"!==typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function f(e){return void 0===e._maxListeners?c.defaultMaxListeners:e._maxListeners}function d(e,t,r,n){var i,o,s;if(l(r),o=e._events,void 0===o?(o=e._events=Object.create(null),e._eventsCount=0):(void 0!==o.newListener&&(e.emit("newListener",t,r.listener?r.listener:r),o=e._events),s=o[t]),void 0===s)s=o[t]=r,++e._eventsCount;else if("function"===typeof s?s=o[t]=n?[r,s]:[s,r]:n?s.unshift(r):s.push(r),i=f(e),i>0&&s.length>i&&!s.warned){s.warned=!0;var c=new Error("Possible EventEmitter memory leak detected. "+s.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");c.name="MaxListenersExceededWarning",c.emitter=e,c.type=t,c.count=s.length,a(c)}return e}function h(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function p(e,t,r){var n={fired:!1,wrapFn:void 0,target:e,type:t,listener:r},i=h.bind(n);return i.listener=r,n.wrapFn=i,i}function m(e,t,r){var n=e._events;if(void 0===n)return[];var i=n[t];return void 0===i?[]:"function"===typeof i?r?[i.listener||i]:[i]:r?v(i):g(i,i.length)}function b(e){var t=this._events;if(void 0!==t){var r=t[e];if("function"===typeof r)return 1;if(void 0!==r)return r.length}return 0}function g(e,t){for(var r=new Array(t),n=0;n0&&(a=t[0]),a instanceof Error)throw a;var s=new Error("Unhandled error."+(a?" ("+a.message+")":""));throw s.context=a,s}var c=i[e];if(void 0===c)return!1;if("function"===typeof c)o(c,this,t);else{var u=c.length,l=g(c,u);for(r=0;r=0;o--)if(r[o]===t||r[o].listener===t){a=r[o].listener,i=o;break}if(i<0)return this;0===i?r.shift():y(r,i),1===r.length&&(n[e]=r[0]),void 0!==n.removeListener&&this.emit("removeListener",e,a||t)}return this},c.prototype.off=c.prototype.removeListener,c.prototype.removeAllListeners=function(e){var t,r,n;if(r=this._events,void 0===r)return this;if(void 0===r.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==r[e]&&(0===--this._eventsCount?this._events=Object.create(null):delete r[e]),this;if(0===arguments.length){var i,o=Object.keys(r);for(n=0;n=0;n--)this.removeListener(e,t[n]);return this},c.prototype.listeners=function(e){return m(this,e,!0)},c.prototype.rawListeners=function(e){return m(this,e,!1)},c.listenerCount=function(e,t){return"function"===typeof e.listenerCount?e.listenerCount(t):b.call(e,t)},c.prototype.listenerCount=b,c.prototype.eventNames=function(){return this._eventsCount>0?n(this._events):[]}},fce4:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.compileGeneralSelector=void 0;var n=r("55da"),i=r("2e99");function o(e,t,r,o,a){var s=r.adapter,c=r.equals;switch(t.type){case"pseudo-element":throw new Error("Pseudo-elements are not supported by css-select");case"attribute":if(r.strict&&(t.ignoreCase||"not"===t.action))throw new Error("Unsupported attribute selector");return n.attributeRules[t.action](e,t,r);case"pseudo":return i.compilePseudoSelector(e,t,r,o,a);case"tag":return function(r){return s.getName(r)===t.name&&e(r)};case"descendant":if(!1===r.cacheResults||"undefined"===typeof WeakSet)return function(t){var r=t;while(r=s.getParent(r))if(s.isTag(r)&&e(r))return!0;return!1};var u=new WeakSet;return function(t){var r=t;while(r=s.getParent(r))if(!u.has(r)){if(s.isTag(r)&&e(r))return!0;u.add(r)}return!1};case"_flexibleDescendant":return function(t){var r=t;do{if(s.isTag(r)&&e(r))return!0}while(r=s.getParent(r));return!1};case"parent":if(r.strict)throw new Error("Parent selector isn't part of CSS3");return function(t){return s.getChildren(t).some((function(t){return s.isTag(t)&&e(t)}))};case"child":return function(t){var r=s.getParent(t);return!!r&&s.isTag(r)&&e(r)};case"sibling":return function(t){for(var r=s.getSiblings(t),n=0;n=r};var i=Math.abs(t),o=(r%i+i)%i;return t>1?function(e){return e>=r&&e%i===o}:function(e){return e<=r&&e%i===o}}t.compile=i}}]); \ No newline at end of file +return e.mode.CTRGladman=function(){var t=e.lib.BlockCipherMode.extend();function r(e){if(255===(e>>24&255)){var t=e>>16&255,r=e>>8&255,n=255&e;255===t?(t=0,255===r?(r=0,255===n?n=0:++n):++r):++t,e=0,e+=t<<16,e+=r<<8,e+=n}else e+=1<<24;return e}function n(e){return 0===(e[0]=r(e[0]))&&(e[1]=r(e[1])),e}var i=t.Encryptor=t.extend({processBlock:function(e,t){var r=this._cipher,i=r.blockSize,o=this._iv,a=this._counter;o&&(a=this._counter=o.slice(0),this._iv=void 0),n(a);var s=a.slice(0);r.encryptBlock(s,0);for(var c=0;cr-d-2)throw new Error("message too long");var h=f.alloc(r-n-d-2),p=r-l-1,m=i(l),b=s(f.concat([u,h,f.alloc(1,1),t],p),a(m,p)),g=s(m,a(b,l));return new c(f.concat([f.alloc(1),g,b],r))}function h(e,t,r){var n,i=t.length,o=e.modulus.byteLength();if(i>o-11)throw new Error("message too long");return n=r?f.alloc(o-i-3,255):p(o-i-3),new c(f.concat([f.from([0,r?1:2]),n,f.alloc(1),t],o))}function p(e){var t,r=f.allocUnsafe(e),n=0,o=i(2*e),a=0;while(n=0)throw new Error("data too long for modulus")}return r?l(o,a):u(o,a)}},ad71:function(e,t,r){"use strict";(function(t,n){var i=r("966d");e.exports=E;var o,a=r("e3db");E.ReadableState=w;r("faa1").EventEmitter;var s=function(e,t){return e.listeners(t).length},c=r("429b"),u=r("8707").Buffer,l=t.Uint8Array||function(){};function f(e){return u.from(e)}function d(e){return u.isBuffer(e)||e instanceof l}var h=Object.create(r("3a7c"));h.inherits=r("3fb5");var p=r(1),m=void 0;m=p&&p.debuglog?p.debuglog("stream"):function(){};var b,g=r("5e1a"),y=r("4681");h.inherits(E,c);var v=["error","close","destroy","pause","resume"];function _(e,t,r){if("function"===typeof e.prependListener)return e.prependListener(t,r);e._events&&e._events[t]?a(e._events[t])?e._events[t].unshift(r):e._events[t]=[r,e._events[t]]:e.on(t,r)}function w(e,t){o=o||r("b19a"),e=e||{};var n=t instanceof o;this.objectMode=!!e.objectMode,n&&(this.objectMode=this.objectMode||!!e.readableObjectMode);var i=e.highWaterMark,a=e.readableHighWaterMark,s=this.objectMode?16:16384;this.highWaterMark=i||0===i?i:n&&(a||0===a)?a:s,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new g,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(b||(b=r("7d72").StringDecoder),this.decoder=new b(e.encoding),this.encoding=e.encoding)}function E(e){if(o=o||r("b19a"),!(this instanceof E))return new E(e);this._readableState=new w(e,this),this.readable=!0,e&&("function"===typeof e.read&&(this._read=e.read),"function"===typeof e.destroy&&(this._destroy=e.destroy)),c.call(this)}function T(e,t,r,n,i){var o,a=e._readableState;null===t?(a.reading=!1,N(e,a)):(i||(o=x(a,t)),o?e.emit("error",o):a.objectMode||t&&t.length>0?("string"===typeof t||a.objectMode||Object.getPrototypeOf(t)===u.prototype||(t=f(t)),n?a.endEmitted?e.emit("error",new Error("stream.unshift() after end event")):S(e,a,t,!0):a.ended?e.emit("error",new Error("stream.push() after EOF")):(a.reading=!1,a.decoder&&!r?(t=a.decoder.write(t),a.objectMode||0!==t.length?S(e,a,t,!1):R(e,a)):S(e,a,t,!1))):n||(a.reading=!1));return A(a)}function S(e,t,r,n){t.flowing&&0===t.length&&!t.sync?(e.emit("data",r),e.read(0)):(t.length+=t.objectMode?1:r.length,n?t.buffer.unshift(r):t.buffer.push(r),t.needReadable&&M(e)),R(e,t)}function x(e,t){var r;return d(t)||"string"===typeof t||void 0===t||e.objectMode||(r=new TypeError("Invalid non-string/buffer chunk")),r}function A(e){return!e.ended&&(e.needReadable||e.length=k?e=k:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}function O(e,t){return e<=0||0===t.length&&t.ended?0:t.objectMode?1:e!==e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=C(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function N(e,t){if(!t.ended){if(t.decoder){var r=t.decoder.end();r&&r.length&&(t.buffer.push(r),t.length+=t.objectMode?1:r.length)}t.ended=!0,M(e)}}function M(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(m("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?i.nextTick(I,e):I(e))}function I(e){m("emit readable"),e.emit("readable"),U(e)}function R(e,t){t.readingMore||(t.readingMore=!0,i.nextTick(j,e,t))}function j(e,t){var r=t.length;while(!t.reading&&!t.flowing&&!t.ended&&t.length=t.length?(r=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.head.data:t.buffer.concat(t.length),t.buffer.clear()):r=F(e,t.buffer,t.decoder),r);var r}function F(e,t,r){var n;return eo.length?o.length:e;if(a===o.length?i+=o:i+=o.slice(0,e),e-=a,0===e){a===o.length?(++n,r.next?t.head=r.next:t.head=t.tail=null):(t.head=r,r.data=o.slice(a));break}++n}return t.length-=n,i}function G(e,t){var r=u.allocUnsafe(e),n=t.head,i=1;n.data.copy(r),e-=n.data.length;while(n=n.next){var o=n.data,a=e>o.length?o.length:e;if(o.copy(r,r.length-e,0,a),e-=a,0===e){a===o.length?(++i,n.next?t.head=n.next:t.head=t.tail=null):(t.head=n,n.data=o.slice(a));break}++i}return t.length-=i,r}function z(e){var t=e._readableState;if(t.length>0)throw new Error('"endReadable()" called on non-empty stream');t.endEmitted||(t.ended=!0,i.nextTick(K,t,e))}function K(e,t){e.endEmitted||0!==e.length||(e.endEmitted=!0,t.readable=!1,t.emit("end"))}function V(e,t){for(var r=0,n=e.length;r=t.highWaterMark||t.ended))return m("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?z(this):M(this),null;if(e=O(e,t),0===e&&t.ended)return 0===t.length&&z(this),null;var n,i=t.needReadable;return m("need readable",i),(0===t.length||t.length-e0?H(e,t):null,null===n?(t.needReadable=!0,e=0):t.length-=e,0===t.length&&(t.ended||(t.needReadable=!0),r!==e&&t.ended&&z(this)),null!==n&&this.emit("data",n),n},E.prototype._read=function(e){this.emit("error",new Error("_read() is not implemented"))},E.prototype.pipe=function(e,t){var r=this,o=this._readableState;switch(o.pipesCount){case 0:o.pipes=e;break;case 1:o.pipes=[o.pipes,e];break;default:o.pipes.push(e);break}o.pipesCount+=1,m("pipe count=%d opts=%j",o.pipesCount,t);var a=(!t||!1!==t.end)&&e!==n.stdout&&e!==n.stderr,c=a?l:w;function u(e,t){m("onunpipe"),e===r&&t&&!1===t.hasUnpiped&&(t.hasUnpiped=!0,h())}function l(){m("onend"),e.end()}o.endEmitted?i.nextTick(c):r.once("end",c),e.on("unpipe",u);var f=P(r);e.on("drain",f);var d=!1;function h(){m("cleanup"),e.removeListener("close",y),e.removeListener("finish",v),e.removeListener("drain",f),e.removeListener("error",g),e.removeListener("unpipe",u),r.removeListener("end",l),r.removeListener("end",w),r.removeListener("data",b),d=!0,!o.awaitDrain||e._writableState&&!e._writableState.needDrain||f()}var p=!1;function b(t){m("ondata"),p=!1;var n=e.write(t);!1!==n||p||((1===o.pipesCount&&o.pipes===e||o.pipesCount>1&&-1!==V(o.pipes,e))&&!d&&(m("false write response, pause",r._readableState.awaitDrain),r._readableState.awaitDrain++,p=!0),r.pause())}function g(t){m("onerror",t),w(),e.removeListener("error",g),0===s(e,"error")&&e.emit("error",t)}function y(){e.removeListener("finish",v),w()}function v(){m("onfinish"),e.removeListener("close",y),w()}function w(){m("unpipe"),r.unpipe(e)}return r.on("data",b),_(e,"error",g),e.once("close",y),e.once("finish",v),e.emit("pipe",r),o.flowing||(m("pipe resume"),r.resume()),e},E.prototype.unpipe=function(e){var t=this._readableState,r={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,r)),this;if(!e){var n=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var o=0;o0||o>0){var l=new i;l.update(u),l.update(e),t&&l.update(t),u=l.digest();var f=0;if(a>0){var d=s.length-a;f=Math.min(a,u.length),u.copy(s,d,0,f),a-=f}if(f0){var h=c.length-o,p=Math.min(o,u.length-f);u.copy(c,h,f,f+p),o-=p}}return u.fill(0),{key:s,iv:c}}e.exports=o},b184:function(e,t,r){"use strict";var n=r("24d1"),i=r.n(n);i.a},b19a:function(e,t,r){"use strict";var n=r("966d"),i=Object.keys||function(e){var t=[];for(var r in e)t.push(r);return t};e.exports=f;var o=Object.create(r("3a7c"));o.inherits=r("3fb5");var a=r("ad71"),s=r("dc14");o.inherits(f,a);for(var c=i(s.prototype),u=0;u>>32-t}function m(e,t,r,n,i,o,a,s){return p(e+(t^r^n)+o+a|0,s)+i|0}function b(e,t,r,n,i,o,a,s){return p(e+(t&r|~t&n)+o+a|0,s)+i|0}function g(e,t,r,n,i,o,a,s){return p(e+((t|~r)^n)+o+a|0,s)+i|0}function y(e,t,r,n,i,o,a,s){return p(e+(t&n|r&~n)+o+a|0,s)+i|0}function v(e,t,r,n,i,o,a,s){return p(e+(t^(r|~n))+o+a|0,s)+i|0}i(h,o),h.prototype._update=function(){for(var e=a,t=0;t<16;++t)e[t]=this._block.readInt32LE(4*t);for(var r=0|this._a,n=0|this._b,i=0|this._c,o=0|this._d,h=0|this._e,_=0|this._a,w=0|this._b,E=0|this._c,T=0|this._d,S=0|this._e,x=0;x<80;x+=1){var A,k;x<16?(A=m(r,n,i,o,h,e[s[x]],f[0],u[x]),k=v(_,w,E,T,S,e[c[x]],d[0],l[x])):x<32?(A=b(r,n,i,o,h,e[s[x]],f[1],u[x]),k=y(_,w,E,T,S,e[c[x]],d[1],l[x])):x<48?(A=g(r,n,i,o,h,e[s[x]],f[2],u[x]),k=g(_,w,E,T,S,e[c[x]],d[2],l[x])):x<64?(A=y(r,n,i,o,h,e[s[x]],f[3],u[x]),k=b(_,w,E,T,S,e[c[x]],d[3],l[x])):(A=v(r,n,i,o,h,e[s[x]],f[4],u[x]),k=m(_,w,E,T,S,e[c[x]],d[4],l[x])),r=h,h=o,o=p(i,10),i=n,n=A,_=S,S=T,T=p(E,10),E=w,w=k}var C=this._b+i+T|0;this._b=this._c+o+S|0,this._c=this._d+h+_|0,this._d=this._e+r+w|0,this._e=this._a+n+E|0,this._a=C},h.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var e=n.alloc?n.alloc(20):new n(20);return e.writeInt32LE(this._a,0),e.writeInt32LE(this._b,4),e.writeInt32LE(this._c,8),e.writeInt32LE(this._d,12),e.writeInt32LE(this._e,16),e},e.exports=h},b65f:function(e,t,r){var n=r("23e7"),i=Math.ceil,o=Math.floor;n({target:"Math",stat:!0},{trunc:function(e){return(e>0?o:i)(e)}})},b672:function(e,t,r){var n=r("8707").Buffer;function i(e,t){this._block=n.alloc(e),this._finalSize=t,this._blockSize=e,this._len=0}i.prototype.update=function(e,t){"string"===typeof e&&(t=t||"utf8",e=n.from(e,t));for(var r=this._block,i=this._blockSize,o=e.length,a=this._len,s=0;s=this._finalSize&&(this._update(this._block),this._block.fill(0));var r=8*this._len;if(r<=4294967295)this._block.writeUInt32BE(r,this._blockSize-4);else{var n=(4294967295&r)>>>0,i=(r-n)/4294967296;this._block.writeUInt32BE(i,this._blockSize-8),this._block.writeUInt32BE(n,this._blockSize-4)}this._update(this._block);var o=this._hash();return e?o.toString(e):o},i.prototype._update=function(){throw new Error("_update must be implemented by subclass")},e.exports=i},b692:function(e,t,r){var n=r("8707").Buffer,i=r("98e6"),o=r("e372"),a=r("3fb5"),s=r("6fe7"),c=r("980c"),u=r("b4e8");function l(e){o.Writable.call(this);var t=u[e];if(!t)throw new Error("Unknown message digest");this._hashType=t.hash,this._hash=i(t.hash),this._tag=t.id,this._signType=t.sign}function f(e){o.Writable.call(this);var t=u[e];if(!t)throw new Error("Unknown message digest");this._hash=i(t.hash),this._tag=t.id,this._signType=t.sign}function d(e){return new l(e)}function h(e){return new f(e)}Object.keys(u).forEach((function(e){u[e].id=n.from(u[e].id,"hex"),u[e.toLowerCase()]=u[e]})),a(l,o.Writable),l.prototype._write=function(e,t,r){this._hash.update(e),r()},l.prototype.update=function(e,t){return"string"===typeof e&&(e=n.from(e,t)),this._hash.update(e),this},l.prototype.sign=function(e,t){this.end();var r=this._hash.digest(),n=s(r,e,this._hashType,this._signType,this._tag);return t?n.toString(t):n},a(f,o.Writable),f.prototype._write=function(e,t,r){this._hash.update(e),r()},f.prototype.update=function(e,t){return"string"===typeof e&&(e=n.from(e,t)),this._hash.update(e),this},f.prototype.verify=function(e,t,r){"string"===typeof t&&(t=n.from(t,r)),this.end();var i=this._hash.digest();return c(t,i,e,this._signType,this._tag)},e.exports={Sign:d,Verify:h,createSign:d,createVerify:h}},b73f:function(e,t,r){"use strict";var n=r("399f"),i=r("f3a3"),o=i.assert;function a(e,t){if(e instanceof a)return e;this._importDER(e,t)||(o(e.r&&e.s,"Signature without r or s"),this.r=new n(e.r,16),this.s=new n(e.s,16),void 0===e.recoveryParam?this.recoveryParam=null:this.recoveryParam=e.recoveryParam)}function s(){this.place=0}function c(e,t){var r=e[t.place++];if(!(128&r))return r;var n=15&r;if(0===n||n>4)return!1;for(var i=0,o=0,a=t.place;o>>=0;return!(i<=127)&&(t.place=a,i)}function u(e){var t=0,r=e.length-1;while(!e[t]&&!(128&e[t+1])&&t>>3);e.push(128|r);while(--r)e.push(t>>>(r<<3)&255);e.push(t)}}e.exports=a,a.prototype._importDER=function(e,t){e=i.toArray(e,t);var r=new s;if(48!==e[r.place++])return!1;var o=c(e,r);if(!1===o)return!1;if(o+r.place!==e.length)return!1;if(2!==e[r.place++])return!1;var a=c(e,r);if(!1===a)return!1;var u=e.slice(r.place,a+r.place);if(r.place+=a,2!==e[r.place++])return!1;var l=c(e,r);if(!1===l)return!1;if(e.length!==l+r.place)return!1;var f=e.slice(r.place,l+r.place);if(0===u[0]){if(!(128&u[1]))return!1;u=u.slice(1)}if(0===f[0]){if(!(128&f[1]))return!1;f=f.slice(1)}return this.r=new n(u),this.s=new n(f),this.recoveryParam=null,!0},a.prototype.toDER=function(e){var t=this.r.toArray(),r=this.s.toArray();128&t[0]&&(t=[0].concat(t)),128&r[0]&&(r=[0].concat(r)),t=u(t),r=u(r);while(!r[0]&&!(128&r[1]))r=r.slice(1);var n=[2];l(n,t.length),n=n.concat(t),n.push(2),l(n,r.length);var o=n.concat(r),a=[48];return l(a,o.length),a=a.concat(o),i.encode(a,e)}},b7d1:function(e,t,r){(function(t){function r(e,t){if(n("noDeprecation"))return e;var r=!1;function i(){if(!r){if(n("throwDeprecation"))throw new Error(t);n("traceDeprecation")?console.trace(t):console.warn(t),r=!0}return e.apply(this,arguments)}return i}function n(e){try{if(!t.localStorage)return!1}catch(n){return!1}var r=t.localStorage[e];return null!=r&&"true"===String(r).toLowerCase()}e.exports=r}).call(this,r("c8ba"))},b837:function(e,t,r){var n=r("3fb5"),i=r("4fd1"),o=r("b672"),a=r("8707").Buffer,s=new Array(160);function c(){this.init(),this._w=s,o.call(this,128,112)}n(c,i),c.prototype.init=function(){return this._ah=3418070365,this._bh=1654270250,this._ch=2438529370,this._dh=355462360,this._eh=1731405415,this._fh=2394180231,this._gh=3675008525,this._hh=1203062813,this._al=3238371032,this._bl=914150663,this._cl=812702999,this._dl=4144912697,this._el=4290775857,this._fl=1750603025,this._gl=1694076839,this._hl=3204075428,this},c.prototype._hash=function(){var e=a.allocUnsafe(48);function t(t,r,n){e.writeInt32BE(t,n),e.writeInt32BE(r,n+4)}return t(this._ah,this._al,0),t(this._bh,this._bl,8),t(this._ch,this._cl,16),t(this._dh,this._dl,24),t(this._eh,this._el,32),t(this._fh,this._fl,40),e},e.exports=c},b86b:function(e,t,r){(function(t,n,i){e.exports=n(r("21bf"),r("3252"),r("d6e6"))})(0,(function(e){return function(){var t=e,r=t.x64,n=r.Word,i=r.WordArray,o=t.algo,a=o.SHA512,s=o.SHA384=a.extend({_doReset:function(){this._hash=new i.init([new n.init(3418070365,3238371032),new n.init(1654270250,914150663),new n.init(2438529370,812702999),new n.init(355462360,4144912697),new n.init(1731405415,4290775857),new n.init(2394180231,1750603025),new n.init(3675008525,1694076839),new n.init(1203062813,3204075428)])},_doFinalize:function(){var e=a._doFinalize.call(this);return e.sigBytes-=16,e}});t.SHA384=a._createHelper(s),t.HmacSHA384=a._createHmacHelper(s)}(),e.SHA384}))},b86c:function(e,t,r){(function(t,n,i){e.exports=n(r("21bf"),r("38ba"))})(0,(function(e){return e.pad.NoPadding={pad:function(){},unpad:function(){}},e.pad.NoPadding}))},b960:function(e){e.exports=JSON.parse('{"Aacute":"Á","aacute":"á","Acirc":"Â","acirc":"â","acute":"´","AElig":"Æ","aelig":"æ","Agrave":"À","agrave":"à","amp":"&","AMP":"&","Aring":"Å","aring":"å","Atilde":"Ã","atilde":"ã","Auml":"Ä","auml":"ä","brvbar":"¦","Ccedil":"Ç","ccedil":"ç","cedil":"¸","cent":"¢","copy":"©","COPY":"©","curren":"¤","deg":"°","divide":"÷","Eacute":"É","eacute":"é","Ecirc":"Ê","ecirc":"ê","Egrave":"È","egrave":"è","ETH":"Ð","eth":"ð","Euml":"Ë","euml":"ë","frac12":"½","frac14":"¼","frac34":"¾","gt":">","GT":">","Iacute":"Í","iacute":"í","Icirc":"Î","icirc":"î","iexcl":"¡","Igrave":"Ì","igrave":"ì","iquest":"¿","Iuml":"Ï","iuml":"ï","laquo":"«","lt":"<","LT":"<","macr":"¯","micro":"µ","middot":"·","nbsp":" ","not":"¬","Ntilde":"Ñ","ntilde":"ñ","Oacute":"Ó","oacute":"ó","Ocirc":"Ô","ocirc":"ô","Ograve":"Ò","ograve":"ò","ordf":"ª","ordm":"º","Oslash":"Ø","oslash":"ø","Otilde":"Õ","otilde":"õ","Ouml":"Ö","ouml":"ö","para":"¶","plusmn":"±","pound":"£","quot":"\\"","QUOT":"\\"","raquo":"»","reg":"®","REG":"®","sect":"§","shy":"­","sup1":"¹","sup2":"²","sup3":"³","szlig":"ß","THORN":"Þ","thorn":"þ","times":"×","Uacute":"Ú","uacute":"ú","Ucirc":"Û","ucirc":"û","Ugrave":"Ù","ugrave":"ù","uml":"¨","Uuml":"Ü","uuml":"ü","Yacute":"Ý","yacute":"ý","yen":"¥","yuml":"ÿ"}')},b9a8:function(e,t,r){"use strict";var n=r("399f"),i=r("6aa2"),o=r("f3a3"),a=r("0cbb"),s=r("fdac"),c=o.assert,u=r("bb34"),l=r("b73f");function f(e){if(!(this instanceof f))return new f(e);"string"===typeof e&&(c(Object.prototype.hasOwnProperty.call(a,e),"Unknown curve "+e),e=a[e]),e instanceof a.PresetCurve&&(e={curve:e}),this.curve=e.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=e.curve.g,this.g.precompute(e.curve.n.bitLength()+1),this.hash=e.hash||e.curve.hash}e.exports=f,f.prototype.keyPair=function(e){return new u(this,e)},f.prototype.keyFromPrivate=function(e,t){return u.fromPrivate(this,e,t)},f.prototype.keyFromPublic=function(e,t){return u.fromPublic(this,e,t)},f.prototype.genKeyPair=function(e){e||(e={});for(var t=new i({hash:this.hash,pers:e.pers,persEnc:e.persEnc||"utf8",entropy:e.entropy||s(this.hash.hmacStrength),entropyEnc:e.entropy&&e.entropyEnc||"utf8",nonce:this.n.toArray()}),r=this.n.byteLength(),o=this.n.sub(new n(2));;){var a=new n(t.generate(r));if(!(a.cmp(o)>0))return a.iaddn(1),this.keyFromPrivate(a)}},f.prototype._truncateToN=function(e,t){var r=8*e.byteLength()-this.n.bitLength();return r>0&&(e=e.ushrn(r)),!t&&e.cmp(this.n)>=0?e.sub(this.n):e},f.prototype.sign=function(e,t,r,o){"object"===typeof r&&(o=r,r=null),o||(o={}),t=this.keyFromPrivate(t,r),e=this._truncateToN(new n(e,16));for(var a=this.n.byteLength(),s=t.getPrivate().toArray("be",a),c=e.toArray("be",a),u=new i({hash:this.hash,entropy:s,nonce:c,pers:o.pers,persEnc:o.persEnc||"utf8"}),f=this.n.sub(new n(1)),d=0;;d++){var h=o.k?o.k(d):new n(u.generate(this.n.byteLength()));if(h=this._truncateToN(h,!0),!(h.cmpn(1)<=0||h.cmp(f)>=0)){var p=this.g.mul(h);if(!p.isInfinity()){var m=p.getX(),b=m.umod(this.n);if(0!==b.cmpn(0)){var g=h.invm(this.n).mul(b.mul(t.getPrivate()).iadd(e));if(g=g.umod(this.n),0!==g.cmpn(0)){var y=(p.getY().isOdd()?1:0)|(0!==m.cmp(b)?2:0);return o.canonical&&g.cmp(this.nh)>0&&(g=this.n.sub(g),y^=1),new l({r:b,s:g,recoveryParam:y})}}}}}},f.prototype.verify=function(e,t,r,i){e=this._truncateToN(new n(e,16)),r=this.keyFromPublic(r,i),t=new l(t,"hex");var o=t.r,a=t.s;if(o.cmpn(1)<0||o.cmp(this.n)>=0)return!1;if(a.cmpn(1)<0||a.cmp(this.n)>=0)return!1;var s,c=a.invm(this.n),u=c.mul(e).umod(this.n),f=c.mul(o).umod(this.n);return this.curve._maxwellTrick?(s=this.g.jmulAdd(u,r.getPublic(),f),!s.isInfinity()&&s.eqXToP(o)):(s=this.g.mulAdd(u,r.getPublic(),f),!s.isInfinity()&&0===s.getX().umod(this.n).cmp(o))},f.prototype.recoverPubKey=function(e,t,r,i){c((3&r)===r,"The recovery param is more than two bits"),t=new l(t,i);var o=this.n,a=new n(e),s=t.r,u=t.s,f=1&r,d=r>>1;if(s.cmp(this.curve.p.umod(this.curve.n))>=0&&d)throw new Error("Unable to find sencond key candinate");s=d?this.curve.pointFromX(s.add(this.curve.n),f):this.curve.pointFromX(s,f);var h=t.r.invm(o),p=o.sub(a).mul(h).umod(o),m=u.mul(h).umod(o);return this.g.mulAdd(p,s,m)},f.prototype.getKeyRecoveryParam=function(e,t,r,n){if(t=new l(t,n),null!==t.recoveryParam)return t.recoveryParam;for(var i=0;i<4;i++){var o;try{o=this.recoverPubKey(e,t,i)}catch(e){continue}if(o.eq(r))return i}throw new Error("Unable to find valid recovery factor")}},ba75:function(e,t,r){"use strict";var n=r("3e0a"),i=r.n(n);i.a},bac2:function(e,t,r){var n={ECB:r("0145"),CBC:r("c119"),CFB:r("3505"),CFB8:r("62c9"),CFB1:r("5239"),OFB:r("5165"),CTR:r("6ade"),GCM:r("6ade")},i=r("e85f");for(var o in i)i[o].module=n[i[o].mode];e.exports=i},bb2f:function(e,t,r){var n=r("d039");e.exports=!n((function(){return Object.isExtensible(Object.preventExtensions({}))}))},bb34:function(e,t,r){"use strict";var n=r("399f"),i=r("f3a3"),o=i.assert;function a(e,t){this.ec=e,this.priv=null,this.pub=null,t.priv&&this._importPrivate(t.priv,t.privEnc),t.pub&&this._importPublic(t.pub,t.pubEnc)}e.exports=a,a.fromPublic=function(e,t,r){return t instanceof a?t:new a(e,{pub:t,pubEnc:r})},a.fromPrivate=function(e,t,r){return t instanceof a?t:new a(e,{priv:t,privEnc:r})},a.prototype.validate=function(){var e=this.getPublic();return e.isInfinity()?{result:!1,reason:"Invalid public key"}:e.validate()?e.mul(this.ec.curve.n).isInfinity()?{result:!0,reason:null}:{result:!1,reason:"Public key * N != O"}:{result:!1,reason:"Public key is not a point"}},a.prototype.getPublic=function(e,t){return"string"===typeof e&&(t=e,e=null),this.pub||(this.pub=this.ec.g.mul(this.priv)),t?this.pub.encode(t,e):this.pub},a.prototype.getPrivate=function(e){return"hex"===e?this.priv.toString(16,2):this.priv},a.prototype._importPrivate=function(e,t){this.priv=new n(e,t||16),this.priv=this.priv.umod(this.ec.curve.n)},a.prototype._importPublic=function(e,t){if(e.x||e.y)return"mont"===this.ec.curve.type?o(e.x,"Need x coordinate"):"short"!==this.ec.curve.type&&"edwards"!==this.ec.curve.type||o(e.x&&e.y,"Need both x and y coordinate"),void(this.pub=this.ec.curve.point(e.x,e.y));this.pub=this.ec.curve.decodePoint(e,t)},a.prototype.derive=function(e){return e.validate()||o(e.validate(),"public point not validated"),e.mul(this.priv).getX()},a.prototype.sign=function(e,t,r){return this.ec.sign(e,this,t,r)},a.prototype.verify=function(e,t){return this.ec.verify(e,t,this)},a.prototype.inspect=function(){return""}},bb44:function(e,t,r){"use strict";var n=r("c3c0"),i=r("edc9"),o=n.rotl32,a=n.sum32,s=n.sum32_3,c=n.sum32_4,u=i.BlockHash;function l(){if(!(this instanceof l))return new l;u.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.endian="little"}function f(e,t,r,n){return e<=15?t^r^n:e<=31?t&r|~t&n:e<=47?(t|~r)^n:e<=63?t&n|r&~n:t^(r|~n)}function d(e){return e<=15?0:e<=31?1518500249:e<=47?1859775393:e<=63?2400959708:2840853838}function h(e){return e<=15?1352829926:e<=31?1548603684:e<=47?1836072691:e<=63?2053994217:0}n.inherits(l,u),t.ripemd160=l,l.blockSize=512,l.outSize=160,l.hmacStrength=192,l.padLength=64,l.prototype._update=function(e,t){for(var r=this.h[0],n=this.h[1],i=this.h[2],u=this.h[3],l=this.h[4],y=r,v=n,_=i,w=u,E=l,T=0;T<80;T++){var S=a(o(c(r,f(T,n,i,u),e[p[T]+t],d(T)),b[T]),l);r=l,l=u,u=o(i,10),i=n,n=S,S=a(o(c(y,f(79-T,v,_,w),e[m[T]+t],h(T)),g[T]),E),y=E,E=w,w=o(_,10),_=v,v=S}S=s(this.h[1],i,w),this.h[1]=s(this.h[2],u,E),this.h[2]=s(this.h[3],l,y),this.h[3]=s(this.h[4],r,v),this.h[4]=s(this.h[0],n,_),this.h[0]=S},l.prototype._digest=function(e){return"hex"===e?n.toHex32(this.h,"little"):n.split32(this.h,"little")};var p=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],m=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],b=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],g=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]},bc3a:function(e,t,r){e.exports=r("cee4")},bd25:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),i(r("68b4"),t),i(r("26f9"),t),i(r("7a39"),t),i(r("733c"),t),i(r("9f20"),t),i(r("f67e"),t),i(r("312c"),t)},bd9d:function(e,t){function r(e){var t,r=e.length;while(r--){if(t=e.readUInt8(r),255!==t){t++,e.writeUInt8(t,r);break}e.writeUInt8(0,r)}}e.exports=r},be28:function(e,t,r){"use strict";r.r(t);var n=r("7cc8"),i=r.n(n);for(var o in n)["default"].indexOf(o)<0&&function(e){r.d(t,e,(function(){return n[e]}))}(o);t["default"]=i.a},bff2:function(e,t,r){"use strict";var n;r.d(t,"b",(function(){return i})),r.d(t,"c",(function(){return o})),r.d(t,"a",(function(){return n}));var i=function(){var e=this,t=e.$createElement,r=e._self._c||t;return e.loading?r("transition",{attrs:{name:"fade"}},[r("loading")],1):r("codemirror-editor")},o=[]},c119:function(e,t,r){var n=r("8c8a");t.encrypt=function(e,t){var r=n(t,e._prev);return e._prev=e._cipher.encryptBlock(r),e._prev},t.decrypt=function(e,t){var r=e._prev;e._prev=t;var i=e._cipher.decryptBlock(t);return n(i,r)}},c198:function(e,t,r){(function(t,n,i){e.exports=n(r("21bf"),r("1132"),r("72fe"),r("2b79"),r("38ba"))})(0,(function(e){return function(){var t=e,r=t.lib,n=r.BlockCipher,i=t.algo,o=[],a=[],s=[],c=[],u=[],l=[],f=[],d=[],h=[],p=[];(function(){for(var e=[],t=0;t<256;t++)e[t]=t<128?t<<1:t<<1^283;var r=0,n=0;for(t=0;t<256;t++){var i=n^n<<1^n<<2^n<<3^n<<4;i=i>>>8^255&i^99,o[r]=i,a[i]=r;var m=e[r],b=e[m],g=e[b],y=257*e[i]^16843008*i;s[r]=y<<24|y>>>8,c[r]=y<<16|y>>>16,u[r]=y<<8|y>>>24,l[r]=y;y=16843009*g^65537*b^257*m^16843008*r;f[i]=y<<24|y>>>8,d[i]=y<<16|y>>>16,h[i]=y<<8|y>>>24,p[i]=y,r?(r=m^e[e[e[g^m]]],n^=e[e[n]]):r=n=1}})();var m=[0,1,2,4,8,16,32,64,128,27,54],b=i.AES=n.extend({_doReset:function(){if(!this._nRounds||this._keyPriorReset!==this._key){for(var e=this._keyPriorReset=this._key,t=e.words,r=e.sigBytes/4,n=this._nRounds=r+6,i=4*(n+1),a=this._keySchedule=[],s=0;s6&&s%r==4&&(l=o[l>>>24]<<24|o[l>>>16&255]<<16|o[l>>>8&255]<<8|o[255&l]):(l=l<<8|l>>>24,l=o[l>>>24]<<24|o[l>>>16&255]<<16|o[l>>>8&255]<<8|o[255&l],l^=m[s/r|0]<<24),a[s]=a[s-r]^l);for(var c=this._invKeySchedule=[],u=0;u>>24]]^d[o[l>>>16&255]]^h[o[l>>>8&255]]^p[o[255&l]]}}},encryptBlock:function(e,t){this._doCryptBlock(e,t,this._keySchedule,s,c,u,l,o)},decryptBlock:function(e,t){var r=e[t+1];e[t+1]=e[t+3],e[t+3]=r,this._doCryptBlock(e,t,this._invKeySchedule,f,d,h,p,a);r=e[t+1];e[t+1]=e[t+3],e[t+3]=r},_doCryptBlock:function(e,t,r,n,i,o,a,s){for(var c=this._nRounds,u=e[t]^r[0],l=e[t+1]^r[1],f=e[t+2]^r[2],d=e[t+3]^r[3],h=4,p=1;p>>24]^i[l>>>16&255]^o[f>>>8&255]^a[255&d]^r[h++],b=n[l>>>24]^i[f>>>16&255]^o[d>>>8&255]^a[255&u]^r[h++],g=n[f>>>24]^i[d>>>16&255]^o[u>>>8&255]^a[255&l]^r[h++],y=n[d>>>24]^i[u>>>16&255]^o[l>>>8&255]^a[255&f]^r[h++];u=m,l=b,f=g,d=y}m=(s[u>>>24]<<24|s[l>>>16&255]<<16|s[f>>>8&255]<<8|s[255&d])^r[h++],b=(s[l>>>24]<<24|s[f>>>16&255]<<16|s[d>>>8&255]<<8|s[255&u])^r[h++],g=(s[f>>>24]<<24|s[d>>>16&255]<<16|s[u>>>8&255]<<8|s[255&l])^r[h++],y=(s[d>>>24]<<24|s[u>>>16&255]<<16|s[l>>>8&255]<<8|s[255&f])^r[h++];e[t]=m,e[t+1]=b,e[t+2]=g,e[t+3]=y},keySize:8});t.AES=n._createHelper(b)}(),e.AES}))},c1a2:function(e,t,r){"use strict";var n;r.d(t,"b",(function(){return i})),r.d(t,"c",(function(){return o})),r.d(t,"a",(function(){return n}));var i=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("el-dialog",{staticClass:"about__dialog",attrs:{title:"关于",visible:e.value,width:"30%",center:!0},on:{close:function(t){arguments[0]=t=e.$handleEvent(t),e.$emit("input",!1)}}},[r("div",{staticStyle:{"text-align":"center"}},[r("h3",[e._v("一款高度简洁的微信 Markdown 编辑器")])]),r("div",{staticStyle:{"text-align":"center","margin-top":"10px"}},[r("p",[e._v("扫码关注我的公众号,原创技术文章第一时间推送!")]),r("img",{staticStyle:{width:"40%",display:"block",margin:"20px auto 10px"},attrs:{src:"https://gitee.com/yanglbme/resource/raw/master/doocs-md/qrcode.png"}})]),r("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[r("el-button",{attrs:{type:"primary",plain:!0},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.onRedirect("https://github.com/doocs/md")}}},[e._v("GitHub 仓库")]),r("el-button",{attrs:{type:"primary",plain:!0},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.onRedirect("https://gitee.com/doocs/md")}}},[e._v("Gitee 仓库")])],1)])},o=[]},c24d:function(e){e.exports=JSON.parse('{"modp1":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a63a3620ffffffffffffffff"},"modp2":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece65381ffffffffffffffff"},"modp5":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca237327ffffffffffffffff"},"modp14":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aacaa68ffffffffffffffff"},"modp15":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a93ad2caffffffffffffffff"},"modp16":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c934063199ffffffffffffffff"},"modp17":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dcc4024ffffffffffffffff"},"modp18":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dbe115974a3926f12fee5e438777cb6a932df8cd8bec4d073b931ba3bc832b68d9dd300741fa7bf8afc47ed2576f6936ba424663aab639c5ae4f5683423b4742bf1c978238f16cbe39d652de3fdb8befc848ad922222e04a4037c0713eb57a81a23f0c73473fc646cea306b4bcbc8862f8385ddfa9d4b7fa2c087e879683303ed5bdd3a062b3cf5b3a278a66d2a13f83f44f82ddf310ee074ab6a364597e899a0255dc164f31cc50846851df9ab48195ded7ea1b1d510bd7ee74d73faf36bc31ecfa268359046f4eb879f924009438b481c6cd7889a002ed5ee382bc9190da6fc026e479558e4475677e9aa9e3050e2765694dfc81f56e880b96e7160c980dd98edd3dfffffffffffffffff"}}')},c251:function(e,t,r){"use strict";r.r(t);var n=r("77cb"),i=r("be28");for(var o in i)["default"].indexOf(o)<0&&function(e){r.d(t,e,(function(){return i[e]}))}(o);r("cfc5");var a,s=r("f0c5"),c=Object(s["a"])(i["default"],n["b"],n["c"],!1,null,"517611a9",null,!1,n["a"],a);t["default"]=c.exports},c2ac:function(e,t,r){"use strict";var n=r("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(r("5530")),o=r("2f62"),a={props:{showResetConfirm:{type:Boolean,default:!1}},computed:(0,i.default)({btnType:function(){return this.nightMode?"default":"primary"}},(0,o.mapState)({nightMode:function(e){return e.nightMode}}))};t.default=a},c2ae:function(e,t,r){e.exports=r("e372").PassThrough},c345:function(e,t,r){"use strict";var n=r("c532"),i=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,r,o,a={};return e?(n.forEach(e.split("\n"),(function(e){if(o=e.indexOf(":"),t=n.trim(e.substr(0,o)).toLowerCase(),r=n.trim(e.substr(o+1)),t){if(a[t]&&i.indexOf(t)>=0)return;a[t]="set-cookie"===t?(a[t]?a[t]:[]).concat([r]):a[t]?a[t]+", "+r:r}})),a):a}},c3b6:function(e,t,r){(function(t,n,i){e.exports=n(r("21bf"),r("1132"),r("72fe"),r("2b79"),r("38ba"))})(0,(function(e){return function(){var t=e,r=t.lib,n=r.StreamCipher,i=t.algo,o=i.RC4=n.extend({_doReset:function(){for(var e=this._key,t=e.words,r=e.sigBytes,n=this._S=[],i=0;i<256;i++)n[i]=i;i=0;for(var o=0;i<256;i++){var a=i%r,s=t[a>>>2]>>>24-a%4*8&255;o=(o+n[i]+s)%256;var c=n[i];n[i]=n[o],n[o]=c}this._i=this._j=0},_doProcessBlock:function(e,t){e[t]^=a.call(this)},keySize:8,ivSize:0});function a(){for(var e=this._S,t=this._i,r=this._j,n=0,i=0;i<4;i++){t=(t+1)%256,r=(r+e[t])%256;var o=e[t];e[t]=e[r],e[r]=o,n|=e[(e[t]+e[r])%256]<<24-8*i}return this._i=t,this._j=r,n}t.RC4=n._createHelper(o);var s=i.RC4Drop=o.extend({cfg:o.cfg.extend({drop:192}),_doReset:function(){o._doReset.call(this);for(var e=this.cfg.drop;e>0;e--)a.call(this)}});t.RC4Drop=n._createHelper(s)}(),e.RC4}))},c3c0:function(e,t,r){"use strict";var n=r("da3e"),i=r("3fb5");function o(e,t){return 55296===(64512&e.charCodeAt(t))&&(!(t<0||t+1>=e.length)&&56320===(64512&e.charCodeAt(t+1)))}function a(e,t){if(Array.isArray(e))return e.slice();if(!e)return[];var r=[];if("string"===typeof e)if(t){if("hex"===t)for(e=e.replace(/[^a-z0-9]+/gi,""),e.length%2!==0&&(e="0"+e),i=0;i>6|192,r[n++]=63&a|128):o(e,i)?(a=65536+((1023&a)<<10)+(1023&e.charCodeAt(++i)),r[n++]=a>>18|240,r[n++]=a>>12&63|128,r[n++]=a>>6&63|128,r[n++]=63&a|128):(r[n++]=a>>12|224,r[n++]=a>>6&63|128,r[n++]=63&a|128)}else for(i=0;i>>24|e>>>8&65280|e<<8&16711680|(255&e)<<24;return t>>>0}function u(e,t){for(var r="",n=0;n>>0}return a}function h(e,t){for(var r=new Array(4*e.length),n=0,i=0;n>>24,r[i+1]=o>>>16&255,r[i+2]=o>>>8&255,r[i+3]=255&o):(r[i+3]=o>>>24,r[i+2]=o>>>16&255,r[i+1]=o>>>8&255,r[i]=255&o)}return r}function p(e,t){return e>>>t|e<<32-t}function m(e,t){return e<>>32-t}function b(e,t){return e+t>>>0}function g(e,t,r){return e+t+r>>>0}function y(e,t,r,n){return e+t+r+n>>>0}function v(e,t,r,n,i){return e+t+r+n+i>>>0}function _(e,t,r,n){var i=e[t],o=e[t+1],a=n+o>>>0,s=(a>>0,e[t+1]=a}function w(e,t,r,n){var i=t+n>>>0,o=(i>>0}function E(e,t,r,n){var i=t+n;return i>>>0}function T(e,t,r,n,i,o,a,s){var c=0,u=t;u=u+n>>>0,c+=u>>0,c+=u>>0,c+=u>>0}function S(e,t,r,n,i,o,a,s){var c=t+n+o+s;return c>>>0}function x(e,t,r,n,i,o,a,s,c,u){var l=0,f=t;f=f+n>>>0,l+=f>>0,l+=f>>0,l+=f>>0,l+=f>>0}function A(e,t,r,n,i,o,a,s,c,u){var l=t+n+o+s+u;return l>>>0}function k(e,t,r){var n=t<<32-r|e>>>r;return n>>>0}function C(e,t,r){var n=e<<32-r|t>>>r;return n>>>0}function O(e,t,r){return e>>>r}function N(e,t,r){var n=e<<32-r|t>>>r;return n>>>0}t.inherits=i,t.toArray=a,t.toHex=s,t.htonl=c,t.toHex32=u,t.zero2=l,t.zero8=f,t.join32=d,t.split32=h,t.rotr32=p,t.rotl32=m,t.sum32=b,t.sum32_3=g,t.sum32_4=y,t.sum32_5=v,t.sum64=_,t.sum64_hi=w,t.sum64_lo=E,t.sum64_4_hi=T,t.sum64_4_lo=S,t.sum64_5_hi=x,t.sum64_5_lo=A,t.rotr64_hi=k,t.rotr64_lo=C,t.shr64_hi=O,t.shr64_lo=N},c401:function(e,t,r){"use strict";var n=r("c532");e.exports=function(e,t,r){return n.forEach(r,(function(r){e=r(e,t)})),e}},c415:function(e,t,r){var n=!1,i=!1,o=r("115b")("lex");function a(e){var t,r,a="",s=0,c=-1,u=0,l=1,f="before-selector",d=[f],h={},p=[],m=["media","keyframes",{name:"-webkit-keyframes",type:"keyframes",prefix:"-webkit-"},{name:"-moz-keyframes",type:"keyframes",prefix:"-moz-"},{name:"-ms-keyframes",type:"keyframes",prefix:"-ms-"},{name:"-o-keyframes",type:"keyframes",prefix:"-o-"},"font-face",{name:"import",state:"before-at-value"},{name:"charset",state:"before-at-value"},"supports","viewport",{name:"namespace",state:"before-at-value"},"document",{name:"-moz-document",type:"document",prefix:"-moz-"},"page"];function b(){return x(),e[c]}function g(e){return e?d[d.length-1-e]:f}function y(t){var r=c+1;return t===e.slice(r,r+t.length)}function v(t){var r=e.slice(c).indexOf(t);return r>0&&r}function _(e){return e===w(1)}function w(t){return e[c+(t||1)]}function E(){var e=d.pop();return f=d[d.length-1],e}function T(e){return f=e,d.push(f),d.length}function S(e){var t=f;return d[d.length-1]=f=e,t}function x(t){if(1==(t||1))"\n"==e[c]?(l++,s=1):s++,c++;else{var r=e.slice(c,c+t).split("\n");r.length>1&&(l+=r.length-1,s=1),s+=r[r.length-1].length,c+=t}}function A(){h.end={line:l,col:s},n&&o("addToken:",JSON.stringify(h,null,2)),p.push(h),a="",h={}}function k(e){h={type:e,start:{line:l,col:s}}}i&&(t=Date.now());while(r=b())switch(n&&o(r,g()),r){case" ":switch(g()){case"selector":case"value":case"value-paren":case"at-group":case"at-value":case"comment":case"double-string":case"single-string":a+=r;break}break;case"\n":case"\t":case"\r":case"\f":switch(g()){case"value":case"value-paren":case"at-group":case"comment":case"single-string":case"double-string":case"selector":a+=r;break;case"at-value":"\n"===r&&(h.value=a.trim(),A(),E());break}break;case":":switch(g()){case"name":h.name=a.trim(),a="",S("before-value");break;case"before-selector":a+=r,k("selector"),T("selector");break;case"before-value":S("value"),a+=r;break;default:a+=r;break}break;case";":switch(g()){case"name":case"before-value":case"value":a.trim().length>0&&(h.value=a.trim(),A()),S("before-name");break;case"value-paren":a+=r;break;case"at-value":h.value=a.trim(),A(),E();break;case"before-name":break;default:a+=r;break}break;case"{":switch(g()){case"selector":if("\\"===w(-1)){a+=r;break}h.text=a.trim(),A(),S("before-name"),u+=1;break;case"at-group":switch(h.name=a.trim(),h.type){case"font-face":case"viewport":case"page":T("before-name");break;default:T("before-selector")}A(),u+=1;break;case"name":case"at-rule":h.name=a.trim(),A(),T("before-name"),u+=1;break;case"comment":case"double-string":case"single-string":a+=r;break;case"before-value":S("value"),a+=r;break}break;case"}":switch(g()){case"before-name":case"name":case"before-value":case"value":a&&(h.value=a.trim()),h.name&&h.value&&A(),k("end"),A(),E(),"at-group"===g()&&(k("at-group-end"),A(),E()),u>0&&(u-=1);break;case"at-group":case"before-selector":case"selector":if("\\"===w(-1)){a+=r;break}u>0&&"at-group"===g(1)&&(k("at-group-end"),A()),u>1&&E(),u>0&&(u-=1);break;case"double-string":case"single-string":case"comment":a+=r;break}break;case'"':case"'":switch(g()){case"double-string":'"'===r&&"\\"!==w(-1)&&E();break;case"single-string":"'"===r&&"\\"!==w(-1)&&E();break;case"before-at-value":S("at-value"),T('"'===r?"double-string":"single-string");break;case"before-value":S("value"),T('"'===r?"double-string":"single-string");break;case"comment":break;default:"\\"!==w(-1)&&T('"'===r?"double-string":"single-string")}a+=r;break;case"/":switch(g()){case"comment":case"double-string":case"single-string":a+=r;break;case"before-value":case"selector":case"name":case"value":if(_("*")){var C=v("*/");C&&x(C+1)}else"before-value"==g()&&S("value"),a+=r;break;default:_("*")?(k("comment"),T("comment"),x()):a+=r;break}break;case"*":switch(g()){case"comment":_("/")?(h.text=a,x(),A(),E()):a+=r;break;case"before-selector":a+=r,k("selector"),T("selector");break;case"before-value":S("value"),a+=r;break;default:a+=r}break;case"@":switch(g()){case"comment":case"double-string":case"single-string":a+=r;break;case"before-value":S("value"),a+=r;break;default:for(var O,N,M=!1,I=0,R=m.length;!M&&I","GT":">","Gt":"≫","gtdot":"⋗","gtlPar":"⦕","gtquest":"⩼","gtrapprox":"⪆","gtrarr":"⥸","gtrdot":"⋗","gtreqless":"⋛","gtreqqless":"⪌","gtrless":"≷","gtrsim":"≳","gvertneqq":"≩︀","gvnE":"≩︀","Hacek":"ˇ","hairsp":" ","half":"½","hamilt":"ℋ","HARDcy":"Ъ","hardcy":"ъ","harrcir":"⥈","harr":"↔","hArr":"⇔","harrw":"↭","Hat":"^","hbar":"ℏ","Hcirc":"Ĥ","hcirc":"ĥ","hearts":"♥","heartsuit":"♥","hellip":"…","hercon":"⊹","hfr":"𝔥","Hfr":"ℌ","HilbertSpace":"ℋ","hksearow":"⤥","hkswarow":"⤦","hoarr":"⇿","homtht":"∻","hookleftarrow":"↩","hookrightarrow":"↪","hopf":"𝕙","Hopf":"ℍ","horbar":"―","HorizontalLine":"─","hscr":"𝒽","Hscr":"ℋ","hslash":"ℏ","Hstrok":"Ħ","hstrok":"ħ","HumpDownHump":"≎","HumpEqual":"≏","hybull":"⁃","hyphen":"‐","Iacute":"Í","iacute":"í","ic":"⁣","Icirc":"Î","icirc":"î","Icy":"И","icy":"и","Idot":"İ","IEcy":"Е","iecy":"е","iexcl":"¡","iff":"⇔","ifr":"𝔦","Ifr":"ℑ","Igrave":"Ì","igrave":"ì","ii":"ⅈ","iiiint":"⨌","iiint":"∭","iinfin":"⧜","iiota":"℩","IJlig":"IJ","ijlig":"ij","Imacr":"Ī","imacr":"ī","image":"ℑ","ImaginaryI":"ⅈ","imagline":"ℐ","imagpart":"ℑ","imath":"ı","Im":"ℑ","imof":"⊷","imped":"Ƶ","Implies":"⇒","incare":"℅","in":"∈","infin":"∞","infintie":"⧝","inodot":"ı","intcal":"⊺","int":"∫","Int":"∬","integers":"ℤ","Integral":"∫","intercal":"⊺","Intersection":"⋂","intlarhk":"⨗","intprod":"⨼","InvisibleComma":"⁣","InvisibleTimes":"⁢","IOcy":"Ё","iocy":"ё","Iogon":"Į","iogon":"į","Iopf":"𝕀","iopf":"𝕚","Iota":"Ι","iota":"ι","iprod":"⨼","iquest":"¿","iscr":"𝒾","Iscr":"ℐ","isin":"∈","isindot":"⋵","isinE":"⋹","isins":"⋴","isinsv":"⋳","isinv":"∈","it":"⁢","Itilde":"Ĩ","itilde":"ĩ","Iukcy":"І","iukcy":"і","Iuml":"Ï","iuml":"ï","Jcirc":"Ĵ","jcirc":"ĵ","Jcy":"Й","jcy":"й","Jfr":"𝔍","jfr":"𝔧","jmath":"ȷ","Jopf":"𝕁","jopf":"𝕛","Jscr":"𝒥","jscr":"𝒿","Jsercy":"Ј","jsercy":"ј","Jukcy":"Є","jukcy":"є","Kappa":"Κ","kappa":"κ","kappav":"ϰ","Kcedil":"Ķ","kcedil":"ķ","Kcy":"К","kcy":"к","Kfr":"𝔎","kfr":"𝔨","kgreen":"ĸ","KHcy":"Х","khcy":"х","KJcy":"Ќ","kjcy":"ќ","Kopf":"𝕂","kopf":"𝕜","Kscr":"𝒦","kscr":"𝓀","lAarr":"⇚","Lacute":"Ĺ","lacute":"ĺ","laemptyv":"⦴","lagran":"ℒ","Lambda":"Λ","lambda":"λ","lang":"⟨","Lang":"⟪","langd":"⦑","langle":"⟨","lap":"⪅","Laplacetrf":"ℒ","laquo":"«","larrb":"⇤","larrbfs":"⤟","larr":"←","Larr":"↞","lArr":"⇐","larrfs":"⤝","larrhk":"↩","larrlp":"↫","larrpl":"⤹","larrsim":"⥳","larrtl":"↢","latail":"⤙","lAtail":"⤛","lat":"⪫","late":"⪭","lates":"⪭︀","lbarr":"⤌","lBarr":"⤎","lbbrk":"❲","lbrace":"{","lbrack":"[","lbrke":"⦋","lbrksld":"⦏","lbrkslu":"⦍","Lcaron":"Ľ","lcaron":"ľ","Lcedil":"Ļ","lcedil":"ļ","lceil":"⌈","lcub":"{","Lcy":"Л","lcy":"л","ldca":"⤶","ldquo":"“","ldquor":"„","ldrdhar":"⥧","ldrushar":"⥋","ldsh":"↲","le":"≤","lE":"≦","LeftAngleBracket":"⟨","LeftArrowBar":"⇤","leftarrow":"←","LeftArrow":"←","Leftarrow":"⇐","LeftArrowRightArrow":"⇆","leftarrowtail":"↢","LeftCeiling":"⌈","LeftDoubleBracket":"⟦","LeftDownTeeVector":"⥡","LeftDownVectorBar":"⥙","LeftDownVector":"⇃","LeftFloor":"⌊","leftharpoondown":"↽","leftharpoonup":"↼","leftleftarrows":"⇇","leftrightarrow":"↔","LeftRightArrow":"↔","Leftrightarrow":"⇔","leftrightarrows":"⇆","leftrightharpoons":"⇋","leftrightsquigarrow":"↭","LeftRightVector":"⥎","LeftTeeArrow":"↤","LeftTee":"⊣","LeftTeeVector":"⥚","leftthreetimes":"⋋","LeftTriangleBar":"⧏","LeftTriangle":"⊲","LeftTriangleEqual":"⊴","LeftUpDownVector":"⥑","LeftUpTeeVector":"⥠","LeftUpVectorBar":"⥘","LeftUpVector":"↿","LeftVectorBar":"⥒","LeftVector":"↼","lEg":"⪋","leg":"⋚","leq":"≤","leqq":"≦","leqslant":"⩽","lescc":"⪨","les":"⩽","lesdot":"⩿","lesdoto":"⪁","lesdotor":"⪃","lesg":"⋚︀","lesges":"⪓","lessapprox":"⪅","lessdot":"⋖","lesseqgtr":"⋚","lesseqqgtr":"⪋","LessEqualGreater":"⋚","LessFullEqual":"≦","LessGreater":"≶","lessgtr":"≶","LessLess":"⪡","lesssim":"≲","LessSlantEqual":"⩽","LessTilde":"≲","lfisht":"⥼","lfloor":"⌊","Lfr":"𝔏","lfr":"𝔩","lg":"≶","lgE":"⪑","lHar":"⥢","lhard":"↽","lharu":"↼","lharul":"⥪","lhblk":"▄","LJcy":"Љ","ljcy":"љ","llarr":"⇇","ll":"≪","Ll":"⋘","llcorner":"⌞","Lleftarrow":"⇚","llhard":"⥫","lltri":"◺","Lmidot":"Ŀ","lmidot":"ŀ","lmoustache":"⎰","lmoust":"⎰","lnap":"⪉","lnapprox":"⪉","lne":"⪇","lnE":"≨","lneq":"⪇","lneqq":"≨","lnsim":"⋦","loang":"⟬","loarr":"⇽","lobrk":"⟦","longleftarrow":"⟵","LongLeftArrow":"⟵","Longleftarrow":"⟸","longleftrightarrow":"⟷","LongLeftRightArrow":"⟷","Longleftrightarrow":"⟺","longmapsto":"⟼","longrightarrow":"⟶","LongRightArrow":"⟶","Longrightarrow":"⟹","looparrowleft":"↫","looparrowright":"↬","lopar":"⦅","Lopf":"𝕃","lopf":"𝕝","loplus":"⨭","lotimes":"⨴","lowast":"∗","lowbar":"_","LowerLeftArrow":"↙","LowerRightArrow":"↘","loz":"◊","lozenge":"◊","lozf":"⧫","lpar":"(","lparlt":"⦓","lrarr":"⇆","lrcorner":"⌟","lrhar":"⇋","lrhard":"⥭","lrm":"‎","lrtri":"⊿","lsaquo":"‹","lscr":"𝓁","Lscr":"ℒ","lsh":"↰","Lsh":"↰","lsim":"≲","lsime":"⪍","lsimg":"⪏","lsqb":"[","lsquo":"‘","lsquor":"‚","Lstrok":"Ł","lstrok":"ł","ltcc":"⪦","ltcir":"⩹","lt":"<","LT":"<","Lt":"≪","ltdot":"⋖","lthree":"⋋","ltimes":"⋉","ltlarr":"⥶","ltquest":"⩻","ltri":"◃","ltrie":"⊴","ltrif":"◂","ltrPar":"⦖","lurdshar":"⥊","luruhar":"⥦","lvertneqq":"≨︀","lvnE":"≨︀","macr":"¯","male":"♂","malt":"✠","maltese":"✠","Map":"⤅","map":"↦","mapsto":"↦","mapstodown":"↧","mapstoleft":"↤","mapstoup":"↥","marker":"▮","mcomma":"⨩","Mcy":"М","mcy":"м","mdash":"—","mDDot":"∺","measuredangle":"∡","MediumSpace":" ","Mellintrf":"ℳ","Mfr":"𝔐","mfr":"𝔪","mho":"℧","micro":"µ","midast":"*","midcir":"⫰","mid":"∣","middot":"·","minusb":"⊟","minus":"−","minusd":"∸","minusdu":"⨪","MinusPlus":"∓","mlcp":"⫛","mldr":"…","mnplus":"∓","models":"⊧","Mopf":"𝕄","mopf":"𝕞","mp":"∓","mscr":"𝓂","Mscr":"ℳ","mstpos":"∾","Mu":"Μ","mu":"μ","multimap":"⊸","mumap":"⊸","nabla":"∇","Nacute":"Ń","nacute":"ń","nang":"∠⃒","nap":"≉","napE":"⩰̸","napid":"≋̸","napos":"ʼn","napprox":"≉","natural":"♮","naturals":"ℕ","natur":"♮","nbsp":" ","nbump":"≎̸","nbumpe":"≏̸","ncap":"⩃","Ncaron":"Ň","ncaron":"ň","Ncedil":"Ņ","ncedil":"ņ","ncong":"≇","ncongdot":"⩭̸","ncup":"⩂","Ncy":"Н","ncy":"н","ndash":"–","nearhk":"⤤","nearr":"↗","neArr":"⇗","nearrow":"↗","ne":"≠","nedot":"≐̸","NegativeMediumSpace":"​","NegativeThickSpace":"​","NegativeThinSpace":"​","NegativeVeryThinSpace":"​","nequiv":"≢","nesear":"⤨","nesim":"≂̸","NestedGreaterGreater":"≫","NestedLessLess":"≪","NewLine":"\\n","nexist":"∄","nexists":"∄","Nfr":"𝔑","nfr":"𝔫","ngE":"≧̸","nge":"≱","ngeq":"≱","ngeqq":"≧̸","ngeqslant":"⩾̸","nges":"⩾̸","nGg":"⋙̸","ngsim":"≵","nGt":"≫⃒","ngt":"≯","ngtr":"≯","nGtv":"≫̸","nharr":"↮","nhArr":"⇎","nhpar":"⫲","ni":"∋","nis":"⋼","nisd":"⋺","niv":"∋","NJcy":"Њ","njcy":"њ","nlarr":"↚","nlArr":"⇍","nldr":"‥","nlE":"≦̸","nle":"≰","nleftarrow":"↚","nLeftarrow":"⇍","nleftrightarrow":"↮","nLeftrightarrow":"⇎","nleq":"≰","nleqq":"≦̸","nleqslant":"⩽̸","nles":"⩽̸","nless":"≮","nLl":"⋘̸","nlsim":"≴","nLt":"≪⃒","nlt":"≮","nltri":"⋪","nltrie":"⋬","nLtv":"≪̸","nmid":"∤","NoBreak":"⁠","NonBreakingSpace":" ","nopf":"𝕟","Nopf":"ℕ","Not":"⫬","not":"¬","NotCongruent":"≢","NotCupCap":"≭","NotDoubleVerticalBar":"∦","NotElement":"∉","NotEqual":"≠","NotEqualTilde":"≂̸","NotExists":"∄","NotGreater":"≯","NotGreaterEqual":"≱","NotGreaterFullEqual":"≧̸","NotGreaterGreater":"≫̸","NotGreaterLess":"≹","NotGreaterSlantEqual":"⩾̸","NotGreaterTilde":"≵","NotHumpDownHump":"≎̸","NotHumpEqual":"≏̸","notin":"∉","notindot":"⋵̸","notinE":"⋹̸","notinva":"∉","notinvb":"⋷","notinvc":"⋶","NotLeftTriangleBar":"⧏̸","NotLeftTriangle":"⋪","NotLeftTriangleEqual":"⋬","NotLess":"≮","NotLessEqual":"≰","NotLessGreater":"≸","NotLessLess":"≪̸","NotLessSlantEqual":"⩽̸","NotLessTilde":"≴","NotNestedGreaterGreater":"⪢̸","NotNestedLessLess":"⪡̸","notni":"∌","notniva":"∌","notnivb":"⋾","notnivc":"⋽","NotPrecedes":"⊀","NotPrecedesEqual":"⪯̸","NotPrecedesSlantEqual":"⋠","NotReverseElement":"∌","NotRightTriangleBar":"⧐̸","NotRightTriangle":"⋫","NotRightTriangleEqual":"⋭","NotSquareSubset":"⊏̸","NotSquareSubsetEqual":"⋢","NotSquareSuperset":"⊐̸","NotSquareSupersetEqual":"⋣","NotSubset":"⊂⃒","NotSubsetEqual":"⊈","NotSucceeds":"⊁","NotSucceedsEqual":"⪰̸","NotSucceedsSlantEqual":"⋡","NotSucceedsTilde":"≿̸","NotSuperset":"⊃⃒","NotSupersetEqual":"⊉","NotTilde":"≁","NotTildeEqual":"≄","NotTildeFullEqual":"≇","NotTildeTilde":"≉","NotVerticalBar":"∤","nparallel":"∦","npar":"∦","nparsl":"⫽⃥","npart":"∂̸","npolint":"⨔","npr":"⊀","nprcue":"⋠","nprec":"⊀","npreceq":"⪯̸","npre":"⪯̸","nrarrc":"⤳̸","nrarr":"↛","nrArr":"⇏","nrarrw":"↝̸","nrightarrow":"↛","nRightarrow":"⇏","nrtri":"⋫","nrtrie":"⋭","nsc":"⊁","nsccue":"⋡","nsce":"⪰̸","Nscr":"𝒩","nscr":"𝓃","nshortmid":"∤","nshortparallel":"∦","nsim":"≁","nsime":"≄","nsimeq":"≄","nsmid":"∤","nspar":"∦","nsqsube":"⋢","nsqsupe":"⋣","nsub":"⊄","nsubE":"⫅̸","nsube":"⊈","nsubset":"⊂⃒","nsubseteq":"⊈","nsubseteqq":"⫅̸","nsucc":"⊁","nsucceq":"⪰̸","nsup":"⊅","nsupE":"⫆̸","nsupe":"⊉","nsupset":"⊃⃒","nsupseteq":"⊉","nsupseteqq":"⫆̸","ntgl":"≹","Ntilde":"Ñ","ntilde":"ñ","ntlg":"≸","ntriangleleft":"⋪","ntrianglelefteq":"⋬","ntriangleright":"⋫","ntrianglerighteq":"⋭","Nu":"Ν","nu":"ν","num":"#","numero":"№","numsp":" ","nvap":"≍⃒","nvdash":"⊬","nvDash":"⊭","nVdash":"⊮","nVDash":"⊯","nvge":"≥⃒","nvgt":">⃒","nvHarr":"⤄","nvinfin":"⧞","nvlArr":"⤂","nvle":"≤⃒","nvlt":"<⃒","nvltrie":"⊴⃒","nvrArr":"⤃","nvrtrie":"⊵⃒","nvsim":"∼⃒","nwarhk":"⤣","nwarr":"↖","nwArr":"⇖","nwarrow":"↖","nwnear":"⤧","Oacute":"Ó","oacute":"ó","oast":"⊛","Ocirc":"Ô","ocirc":"ô","ocir":"⊚","Ocy":"О","ocy":"о","odash":"⊝","Odblac":"Ő","odblac":"ő","odiv":"⨸","odot":"⊙","odsold":"⦼","OElig":"Œ","oelig":"œ","ofcir":"⦿","Ofr":"𝔒","ofr":"𝔬","ogon":"˛","Ograve":"Ò","ograve":"ò","ogt":"⧁","ohbar":"⦵","ohm":"Ω","oint":"∮","olarr":"↺","olcir":"⦾","olcross":"⦻","oline":"‾","olt":"⧀","Omacr":"Ō","omacr":"ō","Omega":"Ω","omega":"ω","Omicron":"Ο","omicron":"ο","omid":"⦶","ominus":"⊖","Oopf":"𝕆","oopf":"𝕠","opar":"⦷","OpenCurlyDoubleQuote":"“","OpenCurlyQuote":"‘","operp":"⦹","oplus":"⊕","orarr":"↻","Or":"⩔","or":"∨","ord":"⩝","order":"ℴ","orderof":"ℴ","ordf":"ª","ordm":"º","origof":"⊶","oror":"⩖","orslope":"⩗","orv":"⩛","oS":"Ⓢ","Oscr":"𝒪","oscr":"ℴ","Oslash":"Ø","oslash":"ø","osol":"⊘","Otilde":"Õ","otilde":"õ","otimesas":"⨶","Otimes":"⨷","otimes":"⊗","Ouml":"Ö","ouml":"ö","ovbar":"⌽","OverBar":"‾","OverBrace":"⏞","OverBracket":"⎴","OverParenthesis":"⏜","para":"¶","parallel":"∥","par":"∥","parsim":"⫳","parsl":"⫽","part":"∂","PartialD":"∂","Pcy":"П","pcy":"п","percnt":"%","period":".","permil":"‰","perp":"⊥","pertenk":"‱","Pfr":"𝔓","pfr":"𝔭","Phi":"Φ","phi":"φ","phiv":"ϕ","phmmat":"ℳ","phone":"☎","Pi":"Π","pi":"π","pitchfork":"⋔","piv":"ϖ","planck":"ℏ","planckh":"ℎ","plankv":"ℏ","plusacir":"⨣","plusb":"⊞","pluscir":"⨢","plus":"+","plusdo":"∔","plusdu":"⨥","pluse":"⩲","PlusMinus":"±","plusmn":"±","plussim":"⨦","plustwo":"⨧","pm":"±","Poincareplane":"ℌ","pointint":"⨕","popf":"𝕡","Popf":"ℙ","pound":"£","prap":"⪷","Pr":"⪻","pr":"≺","prcue":"≼","precapprox":"⪷","prec":"≺","preccurlyeq":"≼","Precedes":"≺","PrecedesEqual":"⪯","PrecedesSlantEqual":"≼","PrecedesTilde":"≾","preceq":"⪯","precnapprox":"⪹","precneqq":"⪵","precnsim":"⋨","pre":"⪯","prE":"⪳","precsim":"≾","prime":"′","Prime":"″","primes":"ℙ","prnap":"⪹","prnE":"⪵","prnsim":"⋨","prod":"∏","Product":"∏","profalar":"⌮","profline":"⌒","profsurf":"⌓","prop":"∝","Proportional":"∝","Proportion":"∷","propto":"∝","prsim":"≾","prurel":"⊰","Pscr":"𝒫","pscr":"𝓅","Psi":"Ψ","psi":"ψ","puncsp":" ","Qfr":"𝔔","qfr":"𝔮","qint":"⨌","qopf":"𝕢","Qopf":"ℚ","qprime":"⁗","Qscr":"𝒬","qscr":"𝓆","quaternions":"ℍ","quatint":"⨖","quest":"?","questeq":"≟","quot":"\\"","QUOT":"\\"","rAarr":"⇛","race":"∽̱","Racute":"Ŕ","racute":"ŕ","radic":"√","raemptyv":"⦳","rang":"⟩","Rang":"⟫","rangd":"⦒","range":"⦥","rangle":"⟩","raquo":"»","rarrap":"⥵","rarrb":"⇥","rarrbfs":"⤠","rarrc":"⤳","rarr":"→","Rarr":"↠","rArr":"⇒","rarrfs":"⤞","rarrhk":"↪","rarrlp":"↬","rarrpl":"⥅","rarrsim":"⥴","Rarrtl":"⤖","rarrtl":"↣","rarrw":"↝","ratail":"⤚","rAtail":"⤜","ratio":"∶","rationals":"ℚ","rbarr":"⤍","rBarr":"⤏","RBarr":"⤐","rbbrk":"❳","rbrace":"}","rbrack":"]","rbrke":"⦌","rbrksld":"⦎","rbrkslu":"⦐","Rcaron":"Ř","rcaron":"ř","Rcedil":"Ŗ","rcedil":"ŗ","rceil":"⌉","rcub":"}","Rcy":"Р","rcy":"р","rdca":"⤷","rdldhar":"⥩","rdquo":"”","rdquor":"”","rdsh":"↳","real":"ℜ","realine":"ℛ","realpart":"ℜ","reals":"ℝ","Re":"ℜ","rect":"▭","reg":"®","REG":"®","ReverseElement":"∋","ReverseEquilibrium":"⇋","ReverseUpEquilibrium":"⥯","rfisht":"⥽","rfloor":"⌋","rfr":"𝔯","Rfr":"ℜ","rHar":"⥤","rhard":"⇁","rharu":"⇀","rharul":"⥬","Rho":"Ρ","rho":"ρ","rhov":"ϱ","RightAngleBracket":"⟩","RightArrowBar":"⇥","rightarrow":"→","RightArrow":"→","Rightarrow":"⇒","RightArrowLeftArrow":"⇄","rightarrowtail":"↣","RightCeiling":"⌉","RightDoubleBracket":"⟧","RightDownTeeVector":"⥝","RightDownVectorBar":"⥕","RightDownVector":"⇂","RightFloor":"⌋","rightharpoondown":"⇁","rightharpoonup":"⇀","rightleftarrows":"⇄","rightleftharpoons":"⇌","rightrightarrows":"⇉","rightsquigarrow":"↝","RightTeeArrow":"↦","RightTee":"⊢","RightTeeVector":"⥛","rightthreetimes":"⋌","RightTriangleBar":"⧐","RightTriangle":"⊳","RightTriangleEqual":"⊵","RightUpDownVector":"⥏","RightUpTeeVector":"⥜","RightUpVectorBar":"⥔","RightUpVector":"↾","RightVectorBar":"⥓","RightVector":"⇀","ring":"˚","risingdotseq":"≓","rlarr":"⇄","rlhar":"⇌","rlm":"‏","rmoustache":"⎱","rmoust":"⎱","rnmid":"⫮","roang":"⟭","roarr":"⇾","robrk":"⟧","ropar":"⦆","ropf":"𝕣","Ropf":"ℝ","roplus":"⨮","rotimes":"⨵","RoundImplies":"⥰","rpar":")","rpargt":"⦔","rppolint":"⨒","rrarr":"⇉","Rrightarrow":"⇛","rsaquo":"›","rscr":"𝓇","Rscr":"ℛ","rsh":"↱","Rsh":"↱","rsqb":"]","rsquo":"’","rsquor":"’","rthree":"⋌","rtimes":"⋊","rtri":"▹","rtrie":"⊵","rtrif":"▸","rtriltri":"⧎","RuleDelayed":"⧴","ruluhar":"⥨","rx":"℞","Sacute":"Ś","sacute":"ś","sbquo":"‚","scap":"⪸","Scaron":"Š","scaron":"š","Sc":"⪼","sc":"≻","sccue":"≽","sce":"⪰","scE":"⪴","Scedil":"Ş","scedil":"ş","Scirc":"Ŝ","scirc":"ŝ","scnap":"⪺","scnE":"⪶","scnsim":"⋩","scpolint":"⨓","scsim":"≿","Scy":"С","scy":"с","sdotb":"⊡","sdot":"⋅","sdote":"⩦","searhk":"⤥","searr":"↘","seArr":"⇘","searrow":"↘","sect":"§","semi":";","seswar":"⤩","setminus":"∖","setmn":"∖","sext":"✶","Sfr":"𝔖","sfr":"𝔰","sfrown":"⌢","sharp":"♯","SHCHcy":"Щ","shchcy":"щ","SHcy":"Ш","shcy":"ш","ShortDownArrow":"↓","ShortLeftArrow":"←","shortmid":"∣","shortparallel":"∥","ShortRightArrow":"→","ShortUpArrow":"↑","shy":"­","Sigma":"Σ","sigma":"σ","sigmaf":"ς","sigmav":"ς","sim":"∼","simdot":"⩪","sime":"≃","simeq":"≃","simg":"⪞","simgE":"⪠","siml":"⪝","simlE":"⪟","simne":"≆","simplus":"⨤","simrarr":"⥲","slarr":"←","SmallCircle":"∘","smallsetminus":"∖","smashp":"⨳","smeparsl":"⧤","smid":"∣","smile":"⌣","smt":"⪪","smte":"⪬","smtes":"⪬︀","SOFTcy":"Ь","softcy":"ь","solbar":"⌿","solb":"⧄","sol":"/","Sopf":"𝕊","sopf":"𝕤","spades":"♠","spadesuit":"♠","spar":"∥","sqcap":"⊓","sqcaps":"⊓︀","sqcup":"⊔","sqcups":"⊔︀","Sqrt":"√","sqsub":"⊏","sqsube":"⊑","sqsubset":"⊏","sqsubseteq":"⊑","sqsup":"⊐","sqsupe":"⊒","sqsupset":"⊐","sqsupseteq":"⊒","square":"□","Square":"□","SquareIntersection":"⊓","SquareSubset":"⊏","SquareSubsetEqual":"⊑","SquareSuperset":"⊐","SquareSupersetEqual":"⊒","SquareUnion":"⊔","squarf":"▪","squ":"□","squf":"▪","srarr":"→","Sscr":"𝒮","sscr":"𝓈","ssetmn":"∖","ssmile":"⌣","sstarf":"⋆","Star":"⋆","star":"☆","starf":"★","straightepsilon":"ϵ","straightphi":"ϕ","strns":"¯","sub":"⊂","Sub":"⋐","subdot":"⪽","subE":"⫅","sube":"⊆","subedot":"⫃","submult":"⫁","subnE":"⫋","subne":"⊊","subplus":"⪿","subrarr":"⥹","subset":"⊂","Subset":"⋐","subseteq":"⊆","subseteqq":"⫅","SubsetEqual":"⊆","subsetneq":"⊊","subsetneqq":"⫋","subsim":"⫇","subsub":"⫕","subsup":"⫓","succapprox":"⪸","succ":"≻","succcurlyeq":"≽","Succeeds":"≻","SucceedsEqual":"⪰","SucceedsSlantEqual":"≽","SucceedsTilde":"≿","succeq":"⪰","succnapprox":"⪺","succneqq":"⪶","succnsim":"⋩","succsim":"≿","SuchThat":"∋","sum":"∑","Sum":"∑","sung":"♪","sup1":"¹","sup2":"²","sup3":"³","sup":"⊃","Sup":"⋑","supdot":"⪾","supdsub":"⫘","supE":"⫆","supe":"⊇","supedot":"⫄","Superset":"⊃","SupersetEqual":"⊇","suphsol":"⟉","suphsub":"⫗","suplarr":"⥻","supmult":"⫂","supnE":"⫌","supne":"⊋","supplus":"⫀","supset":"⊃","Supset":"⋑","supseteq":"⊇","supseteqq":"⫆","supsetneq":"⊋","supsetneqq":"⫌","supsim":"⫈","supsub":"⫔","supsup":"⫖","swarhk":"⤦","swarr":"↙","swArr":"⇙","swarrow":"↙","swnwar":"⤪","szlig":"ß","Tab":"\\t","target":"⌖","Tau":"Τ","tau":"τ","tbrk":"⎴","Tcaron":"Ť","tcaron":"ť","Tcedil":"Ţ","tcedil":"ţ","Tcy":"Т","tcy":"т","tdot":"⃛","telrec":"⌕","Tfr":"𝔗","tfr":"𝔱","there4":"∴","therefore":"∴","Therefore":"∴","Theta":"Θ","theta":"θ","thetasym":"ϑ","thetav":"ϑ","thickapprox":"≈","thicksim":"∼","ThickSpace":"  ","ThinSpace":" ","thinsp":" ","thkap":"≈","thksim":"∼","THORN":"Þ","thorn":"þ","tilde":"˜","Tilde":"∼","TildeEqual":"≃","TildeFullEqual":"≅","TildeTilde":"≈","timesbar":"⨱","timesb":"⊠","times":"×","timesd":"⨰","tint":"∭","toea":"⤨","topbot":"⌶","topcir":"⫱","top":"⊤","Topf":"𝕋","topf":"𝕥","topfork":"⫚","tosa":"⤩","tprime":"‴","trade":"™","TRADE":"™","triangle":"▵","triangledown":"▿","triangleleft":"◃","trianglelefteq":"⊴","triangleq":"≜","triangleright":"▹","trianglerighteq":"⊵","tridot":"◬","trie":"≜","triminus":"⨺","TripleDot":"⃛","triplus":"⨹","trisb":"⧍","tritime":"⨻","trpezium":"⏢","Tscr":"𝒯","tscr":"𝓉","TScy":"Ц","tscy":"ц","TSHcy":"Ћ","tshcy":"ћ","Tstrok":"Ŧ","tstrok":"ŧ","twixt":"≬","twoheadleftarrow":"↞","twoheadrightarrow":"↠","Uacute":"Ú","uacute":"ú","uarr":"↑","Uarr":"↟","uArr":"⇑","Uarrocir":"⥉","Ubrcy":"Ў","ubrcy":"ў","Ubreve":"Ŭ","ubreve":"ŭ","Ucirc":"Û","ucirc":"û","Ucy":"У","ucy":"у","udarr":"⇅","Udblac":"Ű","udblac":"ű","udhar":"⥮","ufisht":"⥾","Ufr":"𝔘","ufr":"𝔲","Ugrave":"Ù","ugrave":"ù","uHar":"⥣","uharl":"↿","uharr":"↾","uhblk":"▀","ulcorn":"⌜","ulcorner":"⌜","ulcrop":"⌏","ultri":"◸","Umacr":"Ū","umacr":"ū","uml":"¨","UnderBar":"_","UnderBrace":"⏟","UnderBracket":"⎵","UnderParenthesis":"⏝","Union":"⋃","UnionPlus":"⊎","Uogon":"Ų","uogon":"ų","Uopf":"𝕌","uopf":"𝕦","UpArrowBar":"⤒","uparrow":"↑","UpArrow":"↑","Uparrow":"⇑","UpArrowDownArrow":"⇅","updownarrow":"↕","UpDownArrow":"↕","Updownarrow":"⇕","UpEquilibrium":"⥮","upharpoonleft":"↿","upharpoonright":"↾","uplus":"⊎","UpperLeftArrow":"↖","UpperRightArrow":"↗","upsi":"υ","Upsi":"ϒ","upsih":"ϒ","Upsilon":"Υ","upsilon":"υ","UpTeeArrow":"↥","UpTee":"⊥","upuparrows":"⇈","urcorn":"⌝","urcorner":"⌝","urcrop":"⌎","Uring":"Ů","uring":"ů","urtri":"◹","Uscr":"𝒰","uscr":"𝓊","utdot":"⋰","Utilde":"Ũ","utilde":"ũ","utri":"▵","utrif":"▴","uuarr":"⇈","Uuml":"Ü","uuml":"ü","uwangle":"⦧","vangrt":"⦜","varepsilon":"ϵ","varkappa":"ϰ","varnothing":"∅","varphi":"ϕ","varpi":"ϖ","varpropto":"∝","varr":"↕","vArr":"⇕","varrho":"ϱ","varsigma":"ς","varsubsetneq":"⊊︀","varsubsetneqq":"⫋︀","varsupsetneq":"⊋︀","varsupsetneqq":"⫌︀","vartheta":"ϑ","vartriangleleft":"⊲","vartriangleright":"⊳","vBar":"⫨","Vbar":"⫫","vBarv":"⫩","Vcy":"В","vcy":"в","vdash":"⊢","vDash":"⊨","Vdash":"⊩","VDash":"⊫","Vdashl":"⫦","veebar":"⊻","vee":"∨","Vee":"⋁","veeeq":"≚","vellip":"⋮","verbar":"|","Verbar":"‖","vert":"|","Vert":"‖","VerticalBar":"∣","VerticalLine":"|","VerticalSeparator":"❘","VerticalTilde":"≀","VeryThinSpace":" ","Vfr":"𝔙","vfr":"𝔳","vltri":"⊲","vnsub":"⊂⃒","vnsup":"⊃⃒","Vopf":"𝕍","vopf":"𝕧","vprop":"∝","vrtri":"⊳","Vscr":"𝒱","vscr":"𝓋","vsubnE":"⫋︀","vsubne":"⊊︀","vsupnE":"⫌︀","vsupne":"⊋︀","Vvdash":"⊪","vzigzag":"⦚","Wcirc":"Ŵ","wcirc":"ŵ","wedbar":"⩟","wedge":"∧","Wedge":"⋀","wedgeq":"≙","weierp":"℘","Wfr":"𝔚","wfr":"𝔴","Wopf":"𝕎","wopf":"𝕨","wp":"℘","wr":"≀","wreath":"≀","Wscr":"𝒲","wscr":"𝓌","xcap":"⋂","xcirc":"◯","xcup":"⋃","xdtri":"▽","Xfr":"𝔛","xfr":"𝔵","xharr":"⟷","xhArr":"⟺","Xi":"Ξ","xi":"ξ","xlarr":"⟵","xlArr":"⟸","xmap":"⟼","xnis":"⋻","xodot":"⨀","Xopf":"𝕏","xopf":"𝕩","xoplus":"⨁","xotime":"⨂","xrarr":"⟶","xrArr":"⟹","Xscr":"𝒳","xscr":"𝓍","xsqcup":"⨆","xuplus":"⨄","xutri":"△","xvee":"⋁","xwedge":"⋀","Yacute":"Ý","yacute":"ý","YAcy":"Я","yacy":"я","Ycirc":"Ŷ","ycirc":"ŷ","Ycy":"Ы","ycy":"ы","yen":"¥","Yfr":"𝔜","yfr":"𝔶","YIcy":"Ї","yicy":"ї","Yopf":"𝕐","yopf":"𝕪","Yscr":"𝒴","yscr":"𝓎","YUcy":"Ю","yucy":"ю","yuml":"ÿ","Yuml":"Ÿ","Zacute":"Ź","zacute":"ź","Zcaron":"Ž","zcaron":"ž","Zcy":"З","zcy":"з","Zdot":"Ż","zdot":"ż","zeetrf":"ℨ","ZeroWidthSpace":"​","Zeta":"Ζ","zeta":"ζ","zfr":"𝔷","Zfr":"ℨ","ZHcy":"Ж","zhcy":"ж","zigrarr":"⇝","zopf":"𝕫","Zopf":"ℤ","Zscr":"𝒵","zscr":"𝓏","zwj":"‍","zwnj":"‌"}')},c591:function(e,t,r){"use strict";(function(t){var n,i=r("b639"),o=i.Buffer,a={};for(n in i)i.hasOwnProperty(n)&&"SlowBuffer"!==n&&"Buffer"!==n&&(a[n]=i[n]);var s=a.Buffer={};for(n in o)o.hasOwnProperty(n)&&"allocUnsafe"!==n&&"allocUnsafeSlow"!==n&&(s[n]=o[n]);if(a.Buffer.prototype=o.prototype,s.from&&s.from!==Uint8Array.from||(s.from=function(e,t,r){if("number"===typeof e)throw new TypeError('The "value" argument must not be of type number. Received type '+typeof e);if(e&&"undefined"===typeof e.length)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);return o(e,t,r)}),s.alloc||(s.alloc=function(e,t,r){if("number"!==typeof e)throw new TypeError('The "size" argument must be of type number. Received type '+typeof e);if(e<0||e>=2*(1<<30))throw new RangeError('The value "'+e+'" is invalid for option "size"');var n=o(e);return t&&0!==t.length?"string"===typeof r?n.fill(t,r):n.fill(t):n.fill(0),n}),!a.kStringMaxLength)try{a.kStringMaxLength=t.binding("buffer").kStringMaxLength}catch(c){}a.constants||(a.constants={MAX_LENGTH:a.kMaxLength},a.kStringMaxLength&&(a.constants.MAX_STRING_LENGTH=a.kStringMaxLength)),e.exports=a}).call(this,r("4362"))},c60a:function(e,t,r){var n=r("4bad");t=n(!1),t.push([e.i,".menu[data-v-28c0c481]{position:absolute;border-radius:4px;background-color:#fff;box-shadow:0 4px 8px 0 rgba(0,0,0,.12),0 2px 4px 0 rgba(0,0,0,.08);z-index:9999}.menu_item[data-v-28c0c481]{margin-top:10px;min-width:200px;font-size:12px;line-height:20px;color:#333;cursor:pointer}.menu_item[data-v-28c0c481]:first-of-type{margin-top:0}.menu_item[data-v-28c0c481]:hover{background:#f0f0f0}.menu_item span[data-v-28c0c481],\n.menu_item .btn-upload[data-v-28c0c481]{display:inline-block;padding:4px 0;padding-left:24px;width:100%}.menu_item .btn-upload[data-v-28c0c481]{margin:0;border:none;outline:none;background:transparent}.menu_item .btn-upload[data-v-28c0c481]:hover{background:#aaa}.menu_item[data-v-28c0c481] .el-upload{width:100%}.menu__group[data-v-28c0c481]{padding-top:6px;padding-bottom:6px;border-bottom:1px solid #eee}.menu__group[data-v-28c0c481]:last-of-type{border-bottom:none}li[data-v-28c0c481]:hover{background-color:#1790ff}li[data-v-28c0c481]{font-size:15px;list-style:none}",""]),e.exports=t},c6f6:function(e,t,r){"use strict";var n;r.d(t,"b",(function(){return i})),r.d(t,"c",(function(){return o})),r.d(t,"a",(function(){return n}));var i=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"container",class:{container_night:e.nightMode}},[r("el-container",[r("el-header",{staticClass:"editor__header"},[r("editor-header",{ref:"header",on:{refresh:function(t){arguments[0]=t=e.$handleEvent(t),e.onEditorRefresh.apply(void 0,arguments)},cssChanged:function(t){arguments[0]=t=e.$handleEvent(t),e.cssChanged.apply(void 0,arguments)},download:function(t){arguments[0]=t=e.$handleEvent(t),e.downloadEditorContent.apply(void 0,arguments)},showCssEditor:function(t){arguments[0]=t=e.$handleEvent(t),e.showCssEditor=!e.showCssEditor},"show-about-dialog":function(t){arguments[0]=t=e.$handleEvent(t),e.aboutDialogVisible=!0},"show-dialog-form":function(t){arguments[0]=t=e.$handleEvent(t),e.dialogFormVisible=!0},"show-dialog-upload-img":function(t){arguments[0]=t=e.$handleEvent(t),e.dialogUploadImgVisible=!0},startCopy:function(t){arguments[0]=t=e.$handleEvent(t),e.isCoping=!0,e.backLight=!0},endCopy:function(t){arguments[0]=t=e.$handleEvent(t),e.endCopy.apply(void 0,arguments)}}})],1),r("el-main",{staticClass:"main-body"},[r("el-row",{staticClass:"main-section"},[r("el-col",{staticClass:"codeMirror-wrapper",attrs:{span:12},nativeOn:{contextmenu:function(t){return t.preventDefault(),e.openMenu(t)}}},[r("v-uni-textarea",{attrs:{id:"editor",type:"textarea",placeholder:"Your markdown text here."},model:{value:e.source,callback:function(t){e.source=t},expression:"source"}})],1),r("el-col",{ref:"preview",staticClass:"preview-wrapper",class:{"preview-wrapper_night":e.nightMode&&e.isCoping},attrs:{span:12,id:"preview"}},[r("section",{class:{output_night:e.nightMode&&!e.backLight},attrs:{id:"output-wrapper"}},[r("div",{staticClass:"preview"},[r("section",{attrs:{id:"output"},domProps:{innerHTML:e._s(e.output)}}),e.nightMode&&e.isCoping?r("div",{staticClass:"loading-mask"},[r("div",{staticClass:"loading__img"}),r("span",[e._v("正在生成")])]):e._e()])])]),r("transition",{attrs:{name:"custom-classes-transition","enter-active-class":"bounceInRight"}},[r("el-col",{directives:[{name:"show",rawName:"v-show",value:e.showCssEditor,expression:"showCssEditor"}],staticClass:"cssEditor-wrapper",attrs:{id:"cssBox",span:12}},[r("v-uni-textarea",{attrs:{id:"cssEditor",type:"textarea",placeholder:"Your custom css here."}})],1)],1)],1)],1)],1),r("upload-img-dialog",{on:{close:function(t){arguments[0]=t=e.$handleEvent(t),e.dialogUploadImgVisible=!1},beforeUpload:function(t){arguments[0]=t=e.$handleEvent(t),e.beforeUpload.apply(void 0,arguments)},uploadImage:function(t){arguments[0]=t=e.$handleEvent(t),e.uploadImage.apply(void 0,arguments)},uploaded:function(t){arguments[0]=t=e.$handleEvent(t),e.uploaded.apply(void 0,arguments)}},model:{value:e.dialogUploadImgVisible,callback:function(t){e.dialogUploadImgVisible=t},expression:"dialogUploadImgVisible"}}),r("about-dialog",{model:{value:e.aboutDialogVisible,callback:function(t){e.aboutDialogVisible=t},expression:"aboutDialogVisible"}}),r("insert-form-dialog",{model:{value:e.dialogFormVisible,callback:function(t){e.dialogFormVisible=t},expression:"dialogFormVisible"}}),r("right-click-menu",{attrs:{left:e.mouseLeft,top:e.mouseTop},on:{menuTick:function(t){arguments[0]=t=e.$handleEvent(t),e.onMenuEvent.apply(void 0,arguments)},closeMenu:function(t){arguments[0]=t=e.$handleEvent(t),e.closeRightClickMenu.apply(void 0,arguments)}},model:{value:e.rightClickMenuVisible,callback:function(t){e.rightClickMenuVisible=t},expression:"rightClickMenuVisible"}})],1)},o=[]},c7bd:function(e,t,r){"use strict";r.r(t);var n=r("c6f6"),i=r("715e");for(var o in i)["default"].indexOf(o)<0&&function(e){r.d(t,e,(function(){return i[e]}))}(o);r("11fd"),r("638b");var a,s=r("f0c5"),c=Object(s["a"])(i["default"],n["b"],n["c"],!1,null,"0d9d43e4",null,!1,n["a"],a);t["default"]=c.exports},c84e:function(e,t){t.default={xml:!1,decodeEntities:!0};var r={_useHtmlParser2:!0,xmlMode:!0};t.flatten=function(e){return e&&e.xml?"boolean"===typeof e.xml?r:Object.assign({},r,e.xml):e}},c8af:function(e,t,r){"use strict";var n=r("c532");e.exports=function(e,t){n.forEach(e,(function(r,n){n!==t&&n.toUpperCase()===t.toUpperCase()&&(e[t]=r,delete e[n])}))}},cb57:function(e,t,r){"use strict";r.r(t);var n=r("a6a2"),i=r.n(n);for(var o in n)["default"].indexOf(o)<0&&function(e){r.d(t,e,(function(){return n[e]}))}(o);t["default"]=i.a},cd23:function(e,t,r){"use strict";var n=r("ce90"),i=r("0557"),o=r("56b3b"),a=r("79e5"),s=r("e190"),c=r("f58c"),u=r("7c10"),l=r("0ac8"),f=r("a514"),d=r("5305"),h=d.TAG_NAMES,p=d.NAMESPACES,m=d.ATTRS,b={locationInfo:!1,treeAdapter:s},g="hidden",y=8,v=3,_="INITIAL_MODE",w="BEFORE_HTML_MODE",E="BEFORE_HEAD_MODE",T="IN_HEAD_MODE",S="AFTER_HEAD_MODE",x="IN_BODY_MODE",A="TEXT_MODE",k="IN_TABLE_MODE",C="IN_TABLE_TEXT_MODE",O="IN_CAPTION_MODE",N="IN_COLUMN_GROUP_MODE",M="IN_TABLE_BODY_MODE",I="IN_ROW_MODE",R="IN_CELL_MODE",j="IN_SELECT_MODE",P="IN_SELECT_IN_TABLE_MODE",D="IN_TEMPLATE_MODE",L="AFTER_BODY_MODE",B="IN_FRAMESET_MODE",U="AFTER_FRAMESET_MODE",H="AFTER_AFTER_BODY_MODE",F="AFTER_AFTER_FRAMESET_MODE",q=Object.create(null);q[h.TR]=I,q[h.TBODY]=q[h.THEAD]=q[h.TFOOT]=M,q[h.CAPTION]=O,q[h.COLGROUP]=N,q[h.TABLE]=k,q[h.BODY]=x,q[h.FRAMESET]=B;var G=Object.create(null);G[h.CAPTION]=G[h.COLGROUP]=G[h.TBODY]=G[h.TFOOT]=G[h.THEAD]=k,G[h.COL]=N,G[h.TR]=M,G[h.TD]=G[h.TH]=I;var z=Object.create(null);z[_]=Object.create(null),z[_][n.CHARACTER_TOKEN]=z[_][n.NULL_CHARACTER_TOKEN]=ae,z[_][n.WHITESPACE_CHARACTER_TOKEN]=Z,z[_][n.COMMENT_TOKEN]=ee,z[_][n.DOCTYPE_TOKEN]=oe,z[_][n.START_TAG_TOKEN]=z[_][n.END_TAG_TOKEN]=z[_][n.EOF_TOKEN]=ae,z[w]=Object.create(null),z[w][n.CHARACTER_TOKEN]=z[w][n.NULL_CHARACTER_TOKEN]=ue,z[w][n.WHITESPACE_CHARACTER_TOKEN]=Z,z[w][n.COMMENT_TOKEN]=ee,z[w][n.DOCTYPE_TOKEN]=Z,z[w][n.START_TAG_TOKEN]=se,z[w][n.END_TAG_TOKEN]=ce,z[w][n.EOF_TOKEN]=ue,z[E]=Object.create(null),z[E][n.CHARACTER_TOKEN]=z[E][n.NULL_CHARACTER_TOKEN]=de,z[E][n.WHITESPACE_CHARACTER_TOKEN]=Z,z[E][n.COMMENT_TOKEN]=ee,z[E][n.DOCTYPE_TOKEN]=Z,z[E][n.START_TAG_TOKEN]=le,z[E][n.END_TAG_TOKEN]=fe,z[E][n.EOF_TOKEN]=de,z[T]=Object.create(null),z[T][n.CHARACTER_TOKEN]=z[T][n.NULL_CHARACTER_TOKEN]=me,z[T][n.WHITESPACE_CHARACTER_TOKEN]=ne,z[T][n.COMMENT_TOKEN]=ee,z[T][n.DOCTYPE_TOKEN]=Z,z[T][n.START_TAG_TOKEN]=he,z[T][n.END_TAG_TOKEN]=pe,z[T][n.EOF_TOKEN]=me,z[S]=Object.create(null),z[S][n.CHARACTER_TOKEN]=z[S][n.NULL_CHARACTER_TOKEN]=ye,z[S][n.WHITESPACE_CHARACTER_TOKEN]=ne,z[S][n.COMMENT_TOKEN]=ee,z[S][n.DOCTYPE_TOKEN]=Z,z[S][n.START_TAG_TOKEN]=be,z[S][n.END_TAG_TOKEN]=ge,z[S][n.EOF_TOKEN]=ye,z[x]=Object.create(null),z[x][n.CHARACTER_TOKEN]=_e,z[x][n.NULL_CHARACTER_TOKEN]=Z,z[x][n.WHITESPACE_CHARACTER_TOKEN]=ve,z[x][n.COMMENT_TOKEN]=ee,z[x][n.DOCTYPE_TOKEN]=Z,z[x][n.START_TAG_TOKEN]=et,z[x][n.END_TAG_TOKEN]=dt,z[x][n.EOF_TOKEN]=ht,z[A]=Object.create(null),z[A][n.CHARACTER_TOKEN]=z[A][n.NULL_CHARACTER_TOKEN]=z[A][n.WHITESPACE_CHARACTER_TOKEN]=ne,z[A][n.COMMENT_TOKEN]=z[A][n.DOCTYPE_TOKEN]=z[A][n.START_TAG_TOKEN]=Z,z[A][n.END_TAG_TOKEN]=pt,z[A][n.EOF_TOKEN]=mt,z[k]=Object.create(null),z[k][n.CHARACTER_TOKEN]=z[k][n.NULL_CHARACTER_TOKEN]=z[k][n.WHITESPACE_CHARACTER_TOKEN]=bt,z[k][n.COMMENT_TOKEN]=ee,z[k][n.DOCTYPE_TOKEN]=Z,z[k][n.START_TAG_TOKEN]=xt,z[k][n.END_TAG_TOKEN]=At,z[k][n.EOF_TOKEN]=ht,z[C]=Object.create(null),z[C][n.CHARACTER_TOKEN]=Ot,z[C][n.NULL_CHARACTER_TOKEN]=Z,z[C][n.WHITESPACE_CHARACTER_TOKEN]=Ct,z[C][n.COMMENT_TOKEN]=z[C][n.DOCTYPE_TOKEN]=z[C][n.START_TAG_TOKEN]=z[C][n.END_TAG_TOKEN]=z[C][n.EOF_TOKEN]=Nt,z[O]=Object.create(null),z[O][n.CHARACTER_TOKEN]=_e,z[O][n.NULL_CHARACTER_TOKEN]=Z,z[O][n.WHITESPACE_CHARACTER_TOKEN]=ve,z[O][n.COMMENT_TOKEN]=ee,z[O][n.DOCTYPE_TOKEN]=Z,z[O][n.START_TAG_TOKEN]=Mt,z[O][n.END_TAG_TOKEN]=It,z[O][n.EOF_TOKEN]=ht,z[N]=Object.create(null),z[N][n.CHARACTER_TOKEN]=z[N][n.NULL_CHARACTER_TOKEN]=Pt,z[N][n.WHITESPACE_CHARACTER_TOKEN]=ne,z[N][n.COMMENT_TOKEN]=ee,z[N][n.DOCTYPE_TOKEN]=Z,z[N][n.START_TAG_TOKEN]=Rt,z[N][n.END_TAG_TOKEN]=jt,z[N][n.EOF_TOKEN]=ht,z[M]=Object.create(null),z[M][n.CHARACTER_TOKEN]=z[M][n.NULL_CHARACTER_TOKEN]=z[M][n.WHITESPACE_CHARACTER_TOKEN]=bt,z[M][n.COMMENT_TOKEN]=ee,z[M][n.DOCTYPE_TOKEN]=Z,z[M][n.START_TAG_TOKEN]=Dt,z[M][n.END_TAG_TOKEN]=Lt,z[M][n.EOF_TOKEN]=ht,z[I]=Object.create(null),z[I][n.CHARACTER_TOKEN]=z[I][n.NULL_CHARACTER_TOKEN]=z[I][n.WHITESPACE_CHARACTER_TOKEN]=bt,z[I][n.COMMENT_TOKEN]=ee,z[I][n.DOCTYPE_TOKEN]=Z,z[I][n.START_TAG_TOKEN]=Bt,z[I][n.END_TAG_TOKEN]=Ut,z[I][n.EOF_TOKEN]=ht,z[R]=Object.create(null),z[R][n.CHARACTER_TOKEN]=_e,z[R][n.NULL_CHARACTER_TOKEN]=Z,z[R][n.WHITESPACE_CHARACTER_TOKEN]=ve,z[R][n.COMMENT_TOKEN]=ee,z[R][n.DOCTYPE_TOKEN]=Z,z[R][n.START_TAG_TOKEN]=Ht,z[R][n.END_TAG_TOKEN]=Ft,z[R][n.EOF_TOKEN]=ht,z[j]=Object.create(null),z[j][n.CHARACTER_TOKEN]=ne,z[j][n.NULL_CHARACTER_TOKEN]=Z,z[j][n.WHITESPACE_CHARACTER_TOKEN]=ne,z[j][n.COMMENT_TOKEN]=ee,z[j][n.DOCTYPE_TOKEN]=Z,z[j][n.START_TAG_TOKEN]=qt,z[j][n.END_TAG_TOKEN]=Gt,z[j][n.EOF_TOKEN]=ht,z[P]=Object.create(null),z[P][n.CHARACTER_TOKEN]=ne,z[P][n.NULL_CHARACTER_TOKEN]=Z,z[P][n.WHITESPACE_CHARACTER_TOKEN]=ne,z[P][n.COMMENT_TOKEN]=ee,z[P][n.DOCTYPE_TOKEN]=Z,z[P][n.START_TAG_TOKEN]=zt,z[P][n.END_TAG_TOKEN]=Kt,z[P][n.EOF_TOKEN]=ht,z[D]=Object.create(null),z[D][n.CHARACTER_TOKEN]=_e,z[D][n.NULL_CHARACTER_TOKEN]=Z,z[D][n.WHITESPACE_CHARACTER_TOKEN]=ve,z[D][n.COMMENT_TOKEN]=ee,z[D][n.DOCTYPE_TOKEN]=Z,z[D][n.START_TAG_TOKEN]=Vt,z[D][n.END_TAG_TOKEN]=Wt,z[D][n.EOF_TOKEN]=Xt,z[L]=Object.create(null),z[L][n.CHARACTER_TOKEN]=z[L][n.NULL_CHARACTER_TOKEN]=$t,z[L][n.WHITESPACE_CHARACTER_TOKEN]=ve,z[L][n.COMMENT_TOKEN]=te,z[L][n.DOCTYPE_TOKEN]=Z,z[L][n.START_TAG_TOKEN]=Yt,z[L][n.END_TAG_TOKEN]=Qt,z[L][n.EOF_TOKEN]=ie,z[B]=Object.create(null),z[B][n.CHARACTER_TOKEN]=z[B][n.NULL_CHARACTER_TOKEN]=Z,z[B][n.WHITESPACE_CHARACTER_TOKEN]=ne,z[B][n.COMMENT_TOKEN]=ee,z[B][n.DOCTYPE_TOKEN]=Z,z[B][n.START_TAG_TOKEN]=Jt,z[B][n.END_TAG_TOKEN]=Zt,z[B][n.EOF_TOKEN]=ie,z[U]=Object.create(null),z[U][n.CHARACTER_TOKEN]=z[U][n.NULL_CHARACTER_TOKEN]=Z,z[U][n.WHITESPACE_CHARACTER_TOKEN]=ne,z[U][n.COMMENT_TOKEN]=ee,z[U][n.DOCTYPE_TOKEN]=Z,z[U][n.START_TAG_TOKEN]=er,z[U][n.END_TAG_TOKEN]=tr,z[U][n.EOF_TOKEN]=ie,z[H]=Object.create(null),z[H][n.CHARACTER_TOKEN]=nr,z[H][n.NULL_CHARACTER_TOKEN]=nr,z[H][n.WHITESPACE_CHARACTER_TOKEN]=ve,z[H][n.COMMENT_TOKEN]=re,z[H][n.DOCTYPE_TOKEN]=Z,z[H][n.START_TAG_TOKEN]=rr,z[H][n.END_TAG_TOKEN]=nr,z[H][n.EOF_TOKEN]=ie,z[F]=Object.create(null),z[F][n.CHARACTER_TOKEN]=z[F][n.NULL_CHARACTER_TOKEN]=Z,z[F][n.WHITESPACE_CHARACTER_TOKEN]=ve,z[F][n.COMMENT_TOKEN]=re,z[F][n.DOCTYPE_TOKEN]=Z,z[F][n.START_TAG_TOKEN]=ir,z[F][n.END_TAG_TOKEN]=Z,z[F][n.EOF_TOKEN]=ie;var K=e.exports=function(e){this.options=c(b,e),this.treeAdapter=this.options.treeAdapter,this.pendingScript=null,this.options.locationInfo&&new a(this)};function V(e,t){var r=e.activeFormattingElements.getElementEntryInScopeWithTagName(t.tagName);return r?e.openElements.contains(r.element)?e.openElements.hasInScope(t.tagName)||(r=null):(e.activeFormattingElements.removeEntry(r),r=null):ft(e,t),r}function W(e,t){for(var r=null,n=e.openElements.stackTop;n>=0;n--){var i=e.openElements.items[n];if(i===t.element)break;e._isSpecialElement(i)&&(r=i)}return r||(e.openElements.popUntilElementPopped(t.element),e.activeFormattingElements.removeEntry(t)),r}function X(e,t,r){for(var n=t,i=e.openElements.getCommonAncestor(t),o=0,a=i;a!==r;o++,a=i){i=e.openElements.getCommonAncestor(a);var s=e.activeFormattingElements.getElementEntry(a),c=s&&o>=v,u=!s||c;u?(c&&e.activeFormattingElements.removeEntry(s),e.openElements.remove(a)):(a=Y(e,s),n===t&&(e.activeFormattingElements.bookmark=s),e.treeAdapter.detachNode(n),e.treeAdapter.appendChild(a,n),n=a)}return n}function Y(e,t){var r=e.treeAdapter.getNamespaceURI(t.element),n=e.treeAdapter.createElement(t.token.tagName,r,t.token.attrs);return e.openElements.replace(t.element,n),t.element=n,n}function Q(e,t,r){if(e._isElementCausesFosterParenting(t))e._fosterParentElement(r);else{var n=e.treeAdapter.getTagName(t),i=e.treeAdapter.getNamespaceURI(t);n===h.TEMPLATE&&i===p.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,r)}}function $(e,t,r){var n=e.treeAdapter.getNamespaceURI(r.element),i=r.token,o=e.treeAdapter.createElement(i.tagName,n,i.attrs);e._adoptNodes(t,o),e.treeAdapter.appendChild(t,o),e.activeFormattingElements.insertElementAfterBookmark(o,r.token),e.activeFormattingElements.removeEntry(r),e.openElements.remove(r.element),e.openElements.insertAfter(t,o)}function J(e,t){for(var r,n=0;n0&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(h.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e._popTmplInsertionMode(),e._resetInsertionMode())}function me(e,t){e.openElements.pop(),e.insertionMode=S,e._processToken(t)}function be(e,t){var r=t.tagName;r===h.HTML?et(e,t):r===h.BODY?(e._insertElement(t,p.HTML),e.framesetOk=!1,e.insertionMode=x):r===h.FRAMESET?(e._insertElement(t,p.HTML),e.insertionMode=B):r===h.BASE||r===h.BASEFONT||r===h.BGSOUND||r===h.LINK||r===h.META||r===h.NOFRAMES||r===h.SCRIPT||r===h.STYLE||r===h.TEMPLATE||r===h.TITLE?(e.openElements.push(e.headElement),he(e,t),e.openElements.remove(e.headElement)):r!==h.HEAD&&ye(e,t)}function ge(e,t){var r=t.tagName;r===h.BODY||r===h.HTML||r===h.BR?ye(e,t):r===h.TEMPLATE&&pe(e,t)}function ye(e,t){e._insertFakeElement(h.BODY),e.insertionMode=x,e._processToken(t)}function ve(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function _e(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function we(e,t){0===e.openElements.tmplCount&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs)}function Ee(e,t){var r=e.openElements.tryPeekProperlyNestedBodyElement();r&&0===e.openElements.tmplCount&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(r,t.attrs))}function Te(e,t){var r=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&r&&(e.treeAdapter.detachNode(r),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,p.HTML),e.insertionMode=B)}function Se(e,t){e.openElements.hasInButtonScope(h.P)&&e._closePElement(),e._insertElement(t,p.HTML)}function xe(e,t){e.openElements.hasInButtonScope(h.P)&&e._closePElement();var r=e.openElements.currentTagName;r!==h.H1&&r!==h.H2&&r!==h.H3&&r!==h.H4&&r!==h.H5&&r!==h.H6||e.openElements.pop(),e._insertElement(t,p.HTML)}function Ae(e,t){e.openElements.hasInButtonScope(h.P)&&e._closePElement(),e._insertElement(t,p.HTML),e.skipNextNewLine=!0,e.framesetOk=!1}function ke(e,t){var r=e.openElements.tmplCount>0;e.formElement&&!r||(e.openElements.hasInButtonScope(h.P)&&e._closePElement(),e._insertElement(t,p.HTML),r||(e.formElement=e.openElements.current))}function Ce(e,t){e.framesetOk=!1;for(var r=t.tagName,n=e.openElements.stackTop;n>=0;n--){var i=e.openElements.items[n],o=e.treeAdapter.getTagName(i),a=null;if(r===h.LI&&o===h.LI?a=h.LI:r!==h.DD&&r!==h.DT||o!==h.DD&&o!==h.DT||(a=o),a){e.openElements.generateImpliedEndTagsWithExclusion(a),e.openElements.popUntilTagNamePopped(a);break}if(o!==h.ADDRESS&&o!==h.DIV&&o!==h.P&&e._isSpecialElement(i))break}e.openElements.hasInButtonScope(h.P)&&e._closePElement(),e._insertElement(t,p.HTML)}function Oe(e,t){e.openElements.hasInButtonScope(h.P)&&e._closePElement(),e._insertElement(t,p.HTML),e.tokenizer.state=n.MODE.PLAINTEXT}function Ne(e,t){e.openElements.hasInScope(h.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(h.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,p.HTML),e.framesetOk=!1}function Me(e,t){var r=e.activeFormattingElements.getElementEntryInScopeWithTagName(h.A);r&&(J(e,t),e.openElements.remove(r.element),e.activeFormattingElements.removeEntry(r)),e._reconstructActiveFormattingElements(),e._insertElement(t,p.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function Ie(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,p.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function Re(e,t){e._reconstructActiveFormattingElements(),e.openElements.hasInScope(h.NOBR)&&(J(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,p.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function je(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,p.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1}function Pe(e,t){e.treeAdapter.getDocumentMode(e.document)!==d.DOCUMENT_MODE.QUIRKS&&e.openElements.hasInButtonScope(h.P)&&e._closePElement(),e._insertElement(t,p.HTML),e.framesetOk=!1,e.insertionMode=k}function De(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,p.HTML),e.framesetOk=!1}function Le(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,p.HTML);var r=n.getTokenAttr(t,m.TYPE);r&&r.toLowerCase()===g||(e.framesetOk=!1)}function Be(e,t){e._appendElement(t,p.HTML)}function Ue(e,t){e.openElements.hasInButtonScope(h.P)&&e._closePElement(),e.openElements.currentTagName===h.MENUITEM&&e.openElements.pop(),e._appendElement(t,p.HTML),e.framesetOk=!1}function He(e,t){t.tagName=h.IMG,De(e,t)}function Fe(e,t){e._insertElement(t,p.HTML),e.skipNextNewLine=!0,e.tokenizer.state=n.MODE.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=A}function qe(e,t){e.openElements.hasInButtonScope(h.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,n.MODE.RAWTEXT)}function Ge(e,t){e.framesetOk=!1,e._switchToTextParsing(t,n.MODE.RAWTEXT)}function ze(e,t){e._switchToTextParsing(t,n.MODE.RAWTEXT)}function Ke(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,p.HTML),e.framesetOk=!1,e.insertionMode===k||e.insertionMode===O||e.insertionMode===M||e.insertionMode===I||e.insertionMode===R?e.insertionMode=P:e.insertionMode=j}function Ve(e,t){e.openElements.currentTagName===h.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,p.HTML)}function We(e,t){e.openElements.hasInScope(h.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,p.HTML)}function Xe(e,t){e.openElements.hasInScope(h.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(h.RTC),e._insertElement(t,p.HTML)}function Ye(e,t){e.openElements.currentTagName===h.MENUITEM&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,p.HTML)}function Qe(e,t){e.openElements.hasInButtonScope(h.P)&&e._closePElement(),e.openElements.currentTagName===h.MENUITEM&&e.openElements.pop(),e._insertElement(t,p.HTML)}function $e(e,t){e._reconstructActiveFormattingElements(),l.adjustTokenMathMLAttrs(t),l.adjustTokenXMLAttrs(t),t.selfClosing?e._appendElement(t,p.MATHML):e._insertElement(t,p.MATHML)}function Je(e,t){e._reconstructActiveFormattingElements(),l.adjustTokenSVGAttrs(t),l.adjustTokenXMLAttrs(t),t.selfClosing?e._appendElement(t,p.SVG):e._insertElement(t,p.SVG)}function Ze(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,p.HTML)}function et(e,t){var r=t.tagName;switch(r.length){case 1:r===h.I||r===h.S||r===h.B||r===h.U?Ie(e,t):r===h.P?Se(e,t):r===h.A?Me(e,t):Ze(e,t);break;case 2:r===h.DL||r===h.OL||r===h.UL?Se(e,t):r===h.H1||r===h.H2||r===h.H3||r===h.H4||r===h.H5||r===h.H6?xe(e,t):r===h.LI||r===h.DD||r===h.DT?Ce(e,t):r===h.EM||r===h.TT?Ie(e,t):r===h.BR?De(e,t):r===h.HR?Ue(e,t):r===h.RB?We(e,t):r===h.RT||r===h.RP?Xe(e,t):r!==h.TH&&r!==h.TD&&r!==h.TR&&Ze(e,t);break;case 3:r===h.DIV||r===h.DIR||r===h.NAV?Se(e,t):r===h.PRE?Ae(e,t):r===h.BIG?Ie(e,t):r===h.IMG||r===h.WBR?De(e,t):r===h.XMP?qe(e,t):r===h.SVG?Je(e,t):r===h.RTC?We(e,t):r!==h.COL&&Ze(e,t);break;case 4:r===h.HTML?we(e,t):r===h.BASE||r===h.LINK||r===h.META?he(e,t):r===h.BODY?Ee(e,t):r===h.MAIN?Se(e,t):r===h.FORM?ke(e,t):r===h.CODE||r===h.FONT?Ie(e,t):r===h.NOBR?Re(e,t):r===h.AREA?De(e,t):r===h.MATH?$e(e,t):r===h.MENU?Qe(e,t):r!==h.HEAD&&Ze(e,t);break;case 5:r===h.STYLE||r===h.TITLE?he(e,t):r===h.ASIDE?Se(e,t):r===h.SMALL?Ie(e,t):r===h.TABLE?Pe(e,t):r===h.EMBED?De(e,t):r===h.INPUT?Le(e,t):r===h.PARAM||r===h.TRACK?Be(e,t):r===h.IMAGE?He(e,t):r!==h.FRAME&&r!==h.TBODY&&r!==h.TFOOT&&r!==h.THEAD&&Ze(e,t);break;case 6:r===h.SCRIPT?he(e,t):r===h.CENTER||r===h.FIGURE||r===h.FOOTER||r===h.HEADER||r===h.HGROUP?Se(e,t):r===h.BUTTON?Ne(e,t):r===h.STRIKE||r===h.STRONG?Ie(e,t):r===h.APPLET||r===h.OBJECT?je(e,t):r===h.KEYGEN?De(e,t):r===h.SOURCE?Be(e,t):r===h.IFRAME?Ge(e,t):r===h.SELECT?Ke(e,t):r===h.OPTION?Ve(e,t):Ze(e,t);break;case 7:r===h.BGSOUND?he(e,t):r===h.DETAILS||r===h.ADDRESS||r===h.ARTICLE||r===h.SECTION||r===h.SUMMARY?Se(e,t):r===h.LISTING?Ae(e,t):r===h.MARQUEE?je(e,t):r===h.NOEMBED?ze(e,t):r!==h.CAPTION&&Ze(e,t);break;case 8:r===h.BASEFONT?he(e,t):r===h.MENUITEM?Ye(e,t):r===h.FRAMESET?Te(e,t):r===h.FIELDSET?Se(e,t):r===h.TEXTAREA?Fe(e,t):r===h.TEMPLATE?he(e,t):r===h.NOSCRIPT?ze(e,t):r===h.OPTGROUP?Ve(e,t):r!==h.COLGROUP&&Ze(e,t);break;case 9:r===h.PLAINTEXT?Oe(e,t):Ze(e,t);break;case 10:r===h.BLOCKQUOTE||r===h.FIGCAPTION?Se(e,t):Ze(e,t);break;default:Ze(e,t)}}function tt(e){e.openElements.hasInScope(h.BODY)&&(e.insertionMode=L)}function rt(e,t){e.openElements.hasInScope(h.BODY)&&(e.insertionMode=L,e._processToken(t))}function nt(e,t){var r=t.tagName;e.openElements.hasInScope(r)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(r))}function it(e){var t=e.openElements.tmplCount>0,r=e.formElement;t||(e.formElement=null),(r||t)&&e.openElements.hasInScope(h.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(h.FORM):e.openElements.remove(r))}function ot(e){e.openElements.hasInButtonScope(h.P)||e._insertFakeElement(h.P),e._closePElement()}function at(e){e.openElements.hasInListItemScope(h.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(h.LI),e.openElements.popUntilTagNamePopped(h.LI))}function st(e,t){var r=t.tagName;e.openElements.hasInScope(r)&&(e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.popUntilTagNamePopped(r))}function ct(e){e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped())}function ut(e,t){var r=t.tagName;e.openElements.hasInScope(r)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(r),e.activeFormattingElements.clearToLastMarker())}function lt(e){e._reconstructActiveFormattingElements(),e._insertFakeElement(h.BR),e.openElements.pop(),e.framesetOk=!1}function ft(e,t){for(var r=t.tagName,n=e.openElements.stackTop;n>0;n--){var i=e.openElements.items[n];if(e.treeAdapter.getTagName(i)===r){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.popUntilElementPopped(i);break}if(e._isSpecialElement(i))break}}function dt(e,t){var r=t.tagName;switch(r.length){case 1:r===h.A||r===h.B||r===h.I||r===h.S||r===h.U?J(e,t):r===h.P?ot(e,t):ft(e,t);break;case 2:r===h.DL||r===h.UL||r===h.OL?nt(e,t):r===h.LI?at(e,t):r===h.DD||r===h.DT?st(e,t):r===h.H1||r===h.H2||r===h.H3||r===h.H4||r===h.H5||r===h.H6?ct(e,t):r===h.BR?lt(e,t):r===h.EM||r===h.TT?J(e,t):ft(e,t);break;case 3:r===h.BIG?J(e,t):r===h.DIR||r===h.DIV||r===h.NAV?nt(e,t):ft(e,t);break;case 4:r===h.BODY?tt(e,t):r===h.HTML?rt(e,t):r===h.FORM?it(e,t):r===h.CODE||r===h.FONT||r===h.NOBR?J(e,t):r===h.MAIN||r===h.MENU?nt(e,t):ft(e,t);break;case 5:r===h.ASIDE?nt(e,t):r===h.SMALL?J(e,t):ft(e,t);break;case 6:r===h.CENTER||r===h.FIGURE||r===h.FOOTER||r===h.HEADER||r===h.HGROUP?nt(e,t):r===h.APPLET||r===h.OBJECT?ut(e,t):r===h.STRIKE||r===h.STRONG?J(e,t):ft(e,t);break;case 7:r===h.ADDRESS||r===h.ARTICLE||r===h.DETAILS||r===h.SECTION||r===h.SUMMARY?nt(e,t):r===h.MARQUEE?ut(e,t):ft(e,t);break;case 8:r===h.FIELDSET?nt(e,t):r===h.TEMPLATE?pe(e,t):ft(e,t);break;case 10:r===h.BLOCKQUOTE||r===h.FIGCAPTION?nt(e,t):ft(e,t);break;default:ft(e,t)}}function ht(e,t){e.tmplInsertionModeStackTop>-1?Xt(e,t):e.stopped=!0}function pt(e,t){t.tagName===h.SCRIPT&&(e.pendingScript=e.openElements.current),e.openElements.pop(),e.insertionMode=e.originalInsertionMode}function mt(e,t){e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e._processToken(t)}function bt(e,t){var r=e.openElements.currentTagName;r===h.TABLE||r===h.TBODY||r===h.TFOOT||r===h.THEAD||r===h.TR?(e.pendingCharacterTokens=[],e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=C,e._processToken(t)):kt(e,t)}function gt(e,t){e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,p.HTML),e.insertionMode=O}function yt(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,p.HTML),e.insertionMode=N}function vt(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(h.COLGROUP),e.insertionMode=N,e._processToken(t)}function _t(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,p.HTML),e.insertionMode=M}function wt(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(h.TBODY),e.insertionMode=M,e._processToken(t)}function Et(e,t){e.openElements.hasInTableScope(h.TABLE)&&(e.openElements.popUntilTagNamePopped(h.TABLE),e._resetInsertionMode(),e._processToken(t))}function Tt(e,t){var r=n.getTokenAttr(t,m.TYPE);r&&r.toLowerCase()===g?e._appendElement(t,p.HTML):kt(e,t)}function St(e,t){e.formElement||0!==e.openElements.tmplCount||(e._insertElement(t,p.HTML),e.formElement=e.openElements.current,e.openElements.pop())}function xt(e,t){var r=t.tagName;switch(r.length){case 2:r===h.TD||r===h.TH||r===h.TR?wt(e,t):kt(e,t);break;case 3:r===h.COL?vt(e,t):kt(e,t);break;case 4:r===h.FORM?St(e,t):kt(e,t);break;case 5:r===h.TABLE?Et(e,t):r===h.STYLE?he(e,t):r===h.TBODY||r===h.TFOOT||r===h.THEAD?_t(e,t):r===h.INPUT?Tt(e,t):kt(e,t);break;case 6:r===h.SCRIPT?he(e,t):kt(e,t);break;case 7:r===h.CAPTION?gt(e,t):kt(e,t);break;case 8:r===h.COLGROUP?yt(e,t):r===h.TEMPLATE?he(e,t):kt(e,t);break;default:kt(e,t)}}function At(e,t){var r=t.tagName;r===h.TABLE?e.openElements.hasInTableScope(h.TABLE)&&(e.openElements.popUntilTagNamePopped(h.TABLE),e._resetInsertionMode()):r===h.TEMPLATE?pe(e,t):r!==h.BODY&&r!==h.CAPTION&&r!==h.COL&&r!==h.COLGROUP&&r!==h.HTML&&r!==h.TBODY&&r!==h.TD&&r!==h.TFOOT&&r!==h.TH&&r!==h.THEAD&&r!==h.TR&&kt(e,t)}function kt(e,t){var r=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,e._processTokenInBodyMode(t),e.fosterParentingEnabled=r}function Ct(e,t){e.pendingCharacterTokens.push(t)}function Ot(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function Nt(e,t){var r=0;if(e.hasNonWhitespacePendingCharacterToken)for(;r0?(e.openElements.popUntilTagNamePopped(h.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e._popTmplInsertionMode(),e._resetInsertionMode(),e._processToken(t)):e.stopped=!0}function Yt(e,t){t.tagName===h.HTML?et(e,t):$t(e,t)}function Qt(e,t){t.tagName===h.HTML?e.fragmentContext||(e.insertionMode=H):$t(e,t)}function $t(e,t){e.insertionMode=x,e._processToken(t)}function Jt(e,t){var r=t.tagName;r===h.HTML?et(e,t):r===h.FRAMESET?e._insertElement(t,p.HTML):r===h.FRAME?e._appendElement(t,p.HTML):r===h.NOFRAMES&&he(e,t)}function Zt(e,t){t.tagName!==h.FRAMESET||e.openElements.isRootHtmlElementCurrent()||(e.openElements.pop(),e.fragmentContext||e.openElements.currentTagName===h.FRAMESET||(e.insertionMode=U))}function er(e,t){var r=t.tagName;r===h.HTML?et(e,t):r===h.NOFRAMES&&he(e,t)}function tr(e,t){t.tagName===h.HTML&&(e.insertionMode=F)}function rr(e,t){t.tagName===h.HTML?et(e,t):nr(e,t)}function nr(e,t){e.insertionMode=x,e._processToken(t)}function ir(e,t){var r=t.tagName;r===h.HTML?et(e,t):r===h.NOFRAMES&&he(e,t)}function or(e,t){t.chars=f.REPLACEMENT_CHARACTER,e._insertCharacters(t)}function ar(e,t){e._insertCharacters(t),e.framesetOk=!1}function sr(e,t){if(l.causesExit(t)&&!e.fragmentContext){while(e.treeAdapter.getNamespaceURI(e.openElements.current)!==p.HTML&&!e._isIntegrationPoint(e.openElements.current))e.openElements.pop();e._processToken(t)}else{var r=e._getAdjustedCurrentElement(),n=e.treeAdapter.getNamespaceURI(r);n===p.MATHML?l.adjustTokenMathMLAttrs(t):n===p.SVG&&(l.adjustTokenSVGTagName(t),l.adjustTokenSVGAttrs(t)),l.adjustTokenXMLAttrs(t),t.selfClosing?e._appendElement(t,n):e._insertElement(t,n)}}function cr(e,t){for(var r=e.openElements.stackTop;r>0;r--){var n=e.openElements.items[r];if(e.treeAdapter.getNamespaceURI(n)===p.HTML){e._processToken(t);break}if(e.treeAdapter.getTagName(n).toLowerCase()===t.tagName){e.openElements.popUntilElementPopped(n);break}}}K.prototype.parse=function(e){var t=this.treeAdapter.createDocument();return this._bootstrap(t,null),this.tokenizer.write(e,!0),this._runParsingLoop(null),t},K.prototype.parseFragment=function(e,t){t||(t=this.treeAdapter.createElement(h.TEMPLATE,p.HTML,[]));var r=this.treeAdapter.createElement("documentmock",p.HTML,[]);this._bootstrap(r,t),this.treeAdapter.getTagName(t)===h.TEMPLATE&&this._pushTmplInsertionMode(D),this._initTokenizerForFragmentParsing(),this._insertFakeRootElement(),this._resetInsertionMode(),this._findFormInFragmentContext(),this.tokenizer.write(e,!0),this._runParsingLoop(null);var n=this.treeAdapter.getFirstChild(r),i=this.treeAdapter.createDocumentFragment();return this._adoptNodes(n,i),i},K.prototype._bootstrap=function(e,t){this.tokenizer=new n(this.options),this.stopped=!1,this.insertionMode=_,this.originalInsertionMode="",this.document=e,this.fragmentContext=t,this.headElement=null,this.formElement=null,this.openElements=new i(this.document,this.treeAdapter),this.activeFormattingElements=new o(this.treeAdapter),this.tmplInsertionModeStack=[],this.tmplInsertionModeStackTop=-1,this.currentTmplInsertionMode=null,this.pendingCharacterTokens=[],this.hasNonWhitespacePendingCharacterToken=!1,this.framesetOk=!0,this.skipNextNewLine=!1,this.fosterParentingEnabled=!1},K.prototype._runParsingLoop=function(e){while(!this.stopped){this._setupTokenizerCDATAMode();var t=this.tokenizer.getNextToken();if(t.type===n.HIBERNATION_TOKEN)break;if(this.skipNextNewLine&&(this.skipNextNewLine=!1,t.type===n.WHITESPACE_CHARACTER_TOKEN&&"\n"===t.chars[0])){if(1===t.chars.length)continue;t.chars=t.chars.substr(1)}if(this._processInputToken(t),e&&this.pendingScript)break}},K.prototype.runParsingLoopForCurrentChunk=function(e,t){if(this._runParsingLoop(t),t&&this.pendingScript){var r=this.pendingScript;return this.pendingScript=null,void t(r)}e&&e()},K.prototype._setupTokenizerCDATAMode=function(){var e=this._getAdjustedCurrentElement();this.tokenizer.allowCDATA=e&&e!==this.document&&this.treeAdapter.getNamespaceURI(e)!==p.HTML&&!this._isIntegrationPoint(e)},K.prototype._switchToTextParsing=function(e,t){this._insertElement(e,p.HTML),this.tokenizer.state=t,this.originalInsertionMode=this.insertionMode,this.insertionMode=A},K.prototype.switchToPlaintextParsing=function(){this.insertionMode=A,this.originalInsertionMode=x,this.tokenizer.state=n.MODE.PLAINTEXT},K.prototype._getAdjustedCurrentElement=function(){return 0===this.openElements.stackTop&&this.fragmentContext?this.fragmentContext:this.openElements.current},K.prototype._findFormInFragmentContext=function(){var e=this.fragmentContext;do{if(this.treeAdapter.getTagName(e)===h.FORM){this.formElement=e;break}e=this.treeAdapter.getParentNode(e)}while(e)},K.prototype._initTokenizerForFragmentParsing=function(){if(this.treeAdapter.getNamespaceURI(this.fragmentContext)===p.HTML){var e=this.treeAdapter.getTagName(this.fragmentContext);e===h.TITLE||e===h.TEXTAREA?this.tokenizer.state=n.MODE.RCDATA:e===h.STYLE||e===h.XMP||e===h.IFRAME||e===h.NOEMBED||e===h.NOFRAMES||e===h.NOSCRIPT?this.tokenizer.state=n.MODE.RAWTEXT:e===h.SCRIPT?this.tokenizer.state=n.MODE.SCRIPT_DATA:e===h.PLAINTEXT&&(this.tokenizer.state=n.MODE.PLAINTEXT)}},K.prototype._setDocumentType=function(e){this.treeAdapter.setDocumentType(this.document,e.name,e.publicId,e.systemId)},K.prototype._attachElementToTree=function(e){if(this._shouldFosterParentOnInsertion())this._fosterParentElement(e);else{var t=this.openElements.currentTmplContent||this.openElements.current;this.treeAdapter.appendChild(t,e)}},K.prototype._appendElement=function(e,t){var r=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(r)},K.prototype._insertElement=function(e,t){var r=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(r),this.openElements.push(r)},K.prototype._insertFakeElement=function(e){var t=this.treeAdapter.createElement(e,p.HTML,[]);this._attachElementToTree(t),this.openElements.push(t)},K.prototype._insertTemplate=function(e){var t=this.treeAdapter.createElement(e.tagName,p.HTML,e.attrs),r=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(t,r),this._attachElementToTree(t),this.openElements.push(t)},K.prototype._insertFakeRootElement=function(){var e=this.treeAdapter.createElement(h.HTML,p.HTML,[]);this.treeAdapter.appendChild(this.openElements.current,e),this.openElements.push(e)},K.prototype._appendCommentNode=function(e,t){var r=this.treeAdapter.createCommentNode(e.data);this.treeAdapter.appendChild(t,r)},K.prototype._insertCharacters=function(e){if(this._shouldFosterParentOnInsertion())this._fosterParentText(e.chars);else{var t=this.openElements.currentTmplContent||this.openElements.current;this.treeAdapter.insertText(t,e.chars)}},K.prototype._adoptNodes=function(e,t){while(1){var r=this.treeAdapter.getFirstChild(e);if(!r)break;this.treeAdapter.detachNode(r),this.treeAdapter.appendChild(t,r)}},K.prototype._shouldProcessTokenInForeignContent=function(e){var t=this._getAdjustedCurrentElement();if(!t||t===this.document)return!1;var r=this.treeAdapter.getNamespaceURI(t);if(r===p.HTML)return!1;if(this.treeAdapter.getTagName(t)===h.ANNOTATION_XML&&r===p.MATHML&&e.type===n.START_TAG_TOKEN&&e.tagName===h.SVG)return!1;var i=e.type===n.CHARACTER_TOKEN||e.type===n.NULL_CHARACTER_TOKEN||e.type===n.WHITESPACE_CHARACTER_TOKEN,o=e.type===n.START_TAG_TOKEN&&e.tagName!==h.MGLYPH&&e.tagName!==h.MALIGNMARK;return(!o&&!i||!this._isIntegrationPoint(t,p.MATHML))&&((e.type!==n.START_TAG_TOKEN&&!i||!this._isIntegrationPoint(t,p.HTML))&&e.type!==n.EOF_TOKEN)},K.prototype._processToken=function(e){z[this.insertionMode][e.type](this,e)},K.prototype._processTokenInBodyMode=function(e){z[x][e.type](this,e)},K.prototype._processTokenInForeignContent=function(e){e.type===n.CHARACTER_TOKEN?ar(this,e):e.type===n.NULL_CHARACTER_TOKEN?or(this,e):e.type===n.WHITESPACE_CHARACTER_TOKEN?ne(this,e):e.type===n.COMMENT_TOKEN?ee(this,e):e.type===n.START_TAG_TOKEN?sr(this,e):e.type===n.END_TAG_TOKEN&&cr(this,e)},K.prototype._processInputToken=function(e){this._shouldProcessTokenInForeignContent(e)?this._processTokenInForeignContent(e):this._processToken(e)},K.prototype._isIntegrationPoint=function(e,t){var r=this.treeAdapter.getTagName(e),n=this.treeAdapter.getNamespaceURI(e),i=this.treeAdapter.getAttrList(e);return l.isIntegrationPoint(r,n,i,t)},K.prototype._reconstructActiveFormattingElements=function(){var e=this.activeFormattingElements.length;if(e){var t=e,r=null;do{if(t--,r=this.activeFormattingElements.entries[t],r.type===o.MARKER_ENTRY||this.openElements.contains(r.element)){t++;break}}while(t>0);for(var n=t;n=0;e--){var r=this.openElements.items[e];0===e&&(t=!0,this.fragmentContext&&(r=this.fragmentContext));var n=this.treeAdapter.getTagName(r),i=q[n];if(i){this.insertionMode=i;break}if(!(t||n!==h.TD&&n!==h.TH)){this.insertionMode=R;break}if(!t&&n===h.HEAD){this.insertionMode=T;break}if(n===h.SELECT){this._resetInsertionModeForSelect(e);break}if(n===h.TEMPLATE){this.insertionMode=this.currentTmplInsertionMode;break}if(n===h.HTML){this.insertionMode=this.headElement?S:E;break}if(t){this.insertionMode=x;break}}},K.prototype._resetInsertionModeForSelect=function(e){if(e>0)for(var t=e-1;t>0;t--){var r=this.openElements.items[t],n=this.treeAdapter.getTagName(r);if(n===h.TEMPLATE)break;if(n===h.TABLE)return void(this.insertionMode=P)}this.insertionMode=j},K.prototype._pushTmplInsertionMode=function(e){this.tmplInsertionModeStack.push(e),this.tmplInsertionModeStackTop++,this.currentTmplInsertionMode=e},K.prototype._popTmplInsertionMode=function(){this.tmplInsertionModeStack.pop(),this.tmplInsertionModeStackTop--,this.currentTmplInsertionMode=this.tmplInsertionModeStack[this.tmplInsertionModeStackTop]},K.prototype._isElementCausesFosterParenting=function(e){var t=this.treeAdapter.getTagName(e);return t===h.TABLE||t===h.TBODY||t===h.TFOOT||t===h.THEAD||t===h.TR},K.prototype._shouldFosterParentOnInsertion=function(){return this.fosterParentingEnabled&&this._isElementCausesFosterParenting(this.openElements.current)},K.prototype._findFosterParentingLocation=function(){for(var e={parent:null,beforeElement:null},t=this.openElements.stackTop;t>=0;t--){var r=this.openElements.items[t],n=this.treeAdapter.getTagName(r),i=this.treeAdapter.getNamespaceURI(r);if(n===h.TEMPLATE&&i===p.HTML){e.parent=this.treeAdapter.getTemplateContent(r);break}if(n===h.TABLE){e.parent=this.treeAdapter.getParentNode(r),e.parent?e.beforeElement=r:e.parent=this.openElements.items[t-1];break}}return e.parent||(e.parent=this.openElements.items[0]),e},K.prototype._fosterParentElement=function(e){var t=this._findFosterParentingLocation();t.beforeElement?this.treeAdapter.insertBefore(t.parent,e,t.beforeElement):this.treeAdapter.appendChild(t.parent,e)},K.prototype._fosterParentText=function(e){var t=this._findFosterParentingLocation();t.beforeElement?this.treeAdapter.insertTextBefore(t.parent,e,t.beforeElement):this.treeAdapter.insertText(t.parent,e)},K.prototype._isSpecialElement=function(e){var t=this.treeAdapter.getTagName(e),r=this.treeAdapter.getNamespaceURI(e);return d.SPECIAL_ELEMENTS[r][t]}},cd91:function(e){e.exports=JSON.parse('{"1.3.132.0.10":"secp256k1","1.3.132.0.33":"p224","1.2.840.10045.3.1.1":"p192","1.2.840.10045.3.1.7":"p256","1.3.132.0.34":"p384","1.3.132.0.35":"p521"}')},ce8b:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parse=void 0;var n=/^([+-]?\d*n)?\s*(?:([+-]?)\s*(\d+))?$/;function i(e){if(e=e.trim().toLowerCase(),"even"===e)return[2,0];if("odd"===e)return[2,1];var t,r=e.match(n);if(!r)throw new Error("n-th rule couldn't be parsed ('"+e+"')");r[1]?(t=parseInt(r[1],10),isNaN(t)&&(t=r[1].startsWith("-")?-1:1)):t=0;var i=("-"===r[2]?-1:1)*(r[3]?parseInt(r[3],10):0);return[t,i]}t.parse=i},ce90:function(e,t,r){"use strict";var n=r("629c"),i=r("a514"),o=r("f8cf"),a=i.CODE_POINTS,s=i.CODE_POINT_SEQUENCES,c={0:65533,13:13,128:8364,129:129,130:8218,131:402,132:8222,133:8230,134:8224,135:8225,136:710,137:8240,138:352,139:8249,140:338,141:141,142:381,143:143,144:144,145:8216,146:8217,147:8220,148:8221,149:8226,150:8211,151:8212,152:732,153:8482,154:353,155:8250,156:339,157:157,158:382,159:376},u=1,l=2,f=4,d=u|l|f,h="DATA_STATE",p="CHARACTER_REFERENCE_IN_DATA_STATE",m="RCDATA_STATE",b="CHARACTER_REFERENCE_IN_RCDATA_STATE",g="RAWTEXT_STATE",y="SCRIPT_DATA_STATE",v="PLAINTEXT_STATE",_="TAG_OPEN_STATE",w="END_TAG_OPEN_STATE",E="TAG_NAME_STATE",T="RCDATA_LESS_THAN_SIGN_STATE",S="RCDATA_END_TAG_OPEN_STATE",x="RCDATA_END_TAG_NAME_STATE",A="RAWTEXT_LESS_THAN_SIGN_STATE",k="RAWTEXT_END_TAG_OPEN_STATE",C="RAWTEXT_END_TAG_NAME_STATE",O="SCRIPT_DATA_LESS_THAN_SIGN_STATE",N="SCRIPT_DATA_END_TAG_OPEN_STATE",M="SCRIPT_DATA_END_TAG_NAME_STATE",I="SCRIPT_DATA_ESCAPE_START_STATE",R="SCRIPT_DATA_ESCAPE_START_DASH_STATE",j="SCRIPT_DATA_ESCAPED_STATE",P="SCRIPT_DATA_ESCAPED_DASH_STATE",D="SCRIPT_DATA_ESCAPED_DASH_DASH_STATE",L="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN_STATE",B="SCRIPT_DATA_ESCAPED_END_TAG_OPEN_STATE",U="SCRIPT_DATA_ESCAPED_END_TAG_NAME_STATE",H="SCRIPT_DATA_DOUBLE_ESCAPE_START_STATE",F="SCRIPT_DATA_DOUBLE_ESCAPED_STATE",q="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_STATE",G="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH_STATE",z="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN_STATE",K="SCRIPT_DATA_DOUBLE_ESCAPE_END_STATE",V="BEFORE_ATTRIBUTE_NAME_STATE",W="ATTRIBUTE_NAME_STATE",X="AFTER_ATTRIBUTE_NAME_STATE",Y="BEFORE_ATTRIBUTE_VALUE_STATE",Q="ATTRIBUTE_VALUE_DOUBLE_QUOTED_STATE",$="ATTRIBUTE_VALUE_SINGLE_QUOTED_STATE",J="ATTRIBUTE_VALUE_UNQUOTED_STATE",Z="CHARACTER_REFERENCE_IN_ATTRIBUTE_VALUE_STATE",ee="AFTER_ATTRIBUTE_VALUE_QUOTED_STATE",te="SELF_CLOSING_START_TAG_STATE",re="BOGUS_COMMENT_STATE",ne="BOGUS_COMMENT_STATE_CONTINUATION",ie="MARKUP_DECLARATION_OPEN_STATE",oe="COMMENT_START_STATE",ae="COMMENT_START_DASH_STATE",se="COMMENT_STATE",ce="COMMENT_END_DASH_STATE",ue="COMMENT_END_STATE",le="COMMENT_END_BANG_STATE",fe="DOCTYPE_STATE",de="DOCTYPE_NAME_STATE",he="AFTER_DOCTYPE_NAME_STATE",pe="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER_STATE",me="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED_STATE",be="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED_STATE",ge="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS_STATE",ye="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER_STATE",ve="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED_STATE",_e="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED_STATE",we="AFTER_DOCTYPE_SYSTEM_IDENTIFIER_STATE",Ee="BOGUS_DOCTYPE_STATE",Te="CDATA_SECTION_STATE";function Se(e){return e===a.SPACE||e===a.LINE_FEED||e===a.TABULATION||e===a.FORM_FEED}function xe(e){return e>=a.DIGIT_0&&e<=a.DIGIT_9}function Ae(e){return e>=a.LATIN_CAPITAL_A&&e<=a.LATIN_CAPITAL_Z}function ke(e){return e>=a.LATIN_SMALL_A&&e<=a.LATIN_SMALL_Z}function Ce(e){return ke(e)||Ae(e)}function Oe(e){return Ce(e)||xe(e)}function Ne(e,t){return xe(e)||t&&(e>=a.LATIN_CAPITAL_A&&e<=a.LATIN_CAPITAL_F||e>=a.LATIN_SMALL_A&&e<=a.LATIN_SMALL_F)}function Me(e){return e>=55296&&e<=57343||e>1114111}function Ie(e){return e+32}function Re(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode(e>>>10&1023|55296)+String.fromCharCode(56320|1023&e))}function je(e){return String.fromCharCode(Ie(e))}function Pe(e,t){var r=o[++e],n=++e,i=n+r-1;while(n<=i){var a=n+i>>>1,s=o[a];if(st))return o[a+r];i=a-1}}return-1}var De=e.exports=function(){this.preprocessor=new n,this.tokenQueue=[],this.allowCDATA=!1,this.state=h,this.returnState="",this.tempBuff=[],this.additionalAllowedCp=void 0,this.lastStartTagName="",this.consumedAfterSnapshot=-1,this.active=!1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr=null};De.CHARACTER_TOKEN="CHARACTER_TOKEN",De.NULL_CHARACTER_TOKEN="NULL_CHARACTER_TOKEN",De.WHITESPACE_CHARACTER_TOKEN="WHITESPACE_CHARACTER_TOKEN",De.START_TAG_TOKEN="START_TAG_TOKEN",De.END_TAG_TOKEN="END_TAG_TOKEN",De.COMMENT_TOKEN="COMMENT_TOKEN",De.DOCTYPE_TOKEN="DOCTYPE_TOKEN",De.EOF_TOKEN="EOF_TOKEN",De.HIBERNATION_TOKEN="HIBERNATION_TOKEN",De.MODE={DATA:h,RCDATA:m,RAWTEXT:g,SCRIPT_DATA:y,PLAINTEXT:v},De.getTokenAttr=function(e,t){for(var r=e.attrs.length-1;r>=0;r--)if(e.attrs[r].name===t)return e.attrs[r].value;return null},De.prototype.getNextToken=function(){while(!this.tokenQueue.length&&this.active){this._hibernationSnapshot();var e=this._consume();this._ensureHibernation()||this[this.state](e)}return this.tokenQueue.shift()},De.prototype.write=function(e,t){this.active=!0,this.preprocessor.write(e,t)},De.prototype.insertHtmlAtCurrentPos=function(e){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(e)},De.prototype._hibernationSnapshot=function(){this.consumedAfterSnapshot=0},De.prototype._ensureHibernation=function(){if(this.preprocessor.endOfChunkHit){for(;this.consumedAfterSnapshot>0;this.consumedAfterSnapshot--)this.preprocessor.retreat();return this.active=!1,this.tokenQueue.push({type:De.HIBERNATION_TOKEN}),!0}return!1},De.prototype._consume=function(){return this.consumedAfterSnapshot++,this.preprocessor.advance()},De.prototype._unconsume=function(){this.consumedAfterSnapshot--,this.preprocessor.retreat()},De.prototype._unconsumeSeveral=function(e){while(e--)this._unconsume()},De.prototype._reconsumeInState=function(e){this.state=e,this._unconsume()},De.prototype._consumeSubsequentIfMatch=function(e,t,r){for(var n=0,i=!0,o=e.length,s=0,c=t,u=void 0;s0&&(c=this._consume(),n++),c===a.EOF){i=!1;break}if(u=e[s],c!==u&&(r||c!==Ie(u))){i=!1;break}}return i||this._unconsumeSeveral(n),i},De.prototype._lookahead=function(){var e=this._consume();return this._unconsume(),e},De.prototype.isTempBufferEqualToScriptString=function(){if(this.tempBuff.length!==s.SCRIPT_STRING.length)return!1;for(var e=0;e-1;){var h=o[c],p=h")):e===a.NULL?(this.state=j,this._emitChar(i.REPLACEMENT_CHARACTER)):e===a.EOF?this._reconsumeInState(h):(this.state=j,this._emitCodePoint(e))},Le[L]=function(e){e===a.SOLIDUS?(this.tempBuff=[],this.state=B):Ce(e)?(this.tempBuff=[],this._emitChar("<"),this._reconsumeInState(H)):(this._emitChar("<"),this._reconsumeInState(j))},Le[B]=function(e){Ce(e)?(this._createEndTagToken(),this._reconsumeInState(U)):(this._emitChar("<"),this._emitChar("/"),this._reconsumeInState(j))},Le[U]=function(e){if(Ae(e))this.currentToken.tagName+=je(e),this.tempBuff.push(e);else if(ke(e))this.currentToken.tagName+=Re(e),this.tempBuff.push(e);else{if(this._isAppropriateEndTagToken()){if(Se(e))return void(this.state=V);if(e===a.SOLIDUS)return void(this.state=te);if(e===a.GREATER_THAN_SIGN)return this._emitCurrentToken(),void(this.state=h)}this._emitChar("<"),this._emitChar("/"),this._emitSeveralCodePoints(this.tempBuff),this._reconsumeInState(j)}},Le[H]=function(e){Se(e)||e===a.SOLIDUS||e===a.GREATER_THAN_SIGN?(this.state=this.isTempBufferEqualToScriptString()?F:j,this._emitCodePoint(e)):Ae(e)?(this.tempBuff.push(Ie(e)),this._emitCodePoint(e)):ke(e)?(this.tempBuff.push(e),this._emitCodePoint(e)):this._reconsumeInState(j)},Le[F]=function(e){e===a.HYPHEN_MINUS?(this.state=q,this._emitChar("-")):e===a.LESS_THAN_SIGN?(this.state=z,this._emitChar("<")):e===a.NULL?this._emitChar(i.REPLACEMENT_CHARACTER):e===a.EOF?this._reconsumeInState(h):this._emitCodePoint(e)},Le[q]=function(e){e===a.HYPHEN_MINUS?(this.state=G,this._emitChar("-")):e===a.LESS_THAN_SIGN?(this.state=z,this._emitChar("<")):e===a.NULL?(this.state=F,this._emitChar(i.REPLACEMENT_CHARACTER)):e===a.EOF?this._reconsumeInState(h):(this.state=F,this._emitCodePoint(e))},Le[G]=function(e){e===a.HYPHEN_MINUS?this._emitChar("-"):e===a.LESS_THAN_SIGN?(this.state=z,this._emitChar("<")):e===a.GREATER_THAN_SIGN?(this.state=y,this._emitChar(">")):e===a.NULL?(this.state=F,this._emitChar(i.REPLACEMENT_CHARACTER)):e===a.EOF?this._reconsumeInState(h):(this.state=F,this._emitCodePoint(e))},Le[z]=function(e){e===a.SOLIDUS?(this.tempBuff=[],this.state=K,this._emitChar("/")):this._reconsumeInState(F)},Le[K]=function(e){Se(e)||e===a.SOLIDUS||e===a.GREATER_THAN_SIGN?(this.state=this.isTempBufferEqualToScriptString()?j:F,this._emitCodePoint(e)):Ae(e)?(this.tempBuff.push(Ie(e)),this._emitCodePoint(e)):ke(e)?(this.tempBuff.push(e),this._emitCodePoint(e)):this._reconsumeInState(F)},Le[V]=function(e){Se(e)||(e===a.SOLIDUS||e===a.GREATER_THAN_SIGN||e===a.EOF?this._reconsumeInState(X):e===a.EQUALS_SIGN?(this._createAttr("="),this.state=W):(this._createAttr(""),this._reconsumeInState(W)))},Le[W]=function(e){Se(e)||e===a.SOLIDUS||e===a.GREATER_THAN_SIGN||e===a.EOF?(this._leaveAttrName(X),this._unconsume()):e===a.EQUALS_SIGN?this._leaveAttrName(Y):Ae(e)?this.currentAttr.name+=je(e):e===a.QUOTATION_MARK||e===a.APOSTROPHE||e===a.LESS_THAN_SIGN?this.currentAttr.name+=Re(e):e===a.NULL?this.currentAttr.name+=i.REPLACEMENT_CHARACTER:this.currentAttr.name+=Re(e)},Le[X]=function(e){Se(e)||(e===a.SOLIDUS?this.state=te:e===a.EQUALS_SIGN?this.state=Y:e===a.GREATER_THAN_SIGN?(this.state=h,this._emitCurrentToken()):e===a.EOF?this._reconsumeInState(h):(this._createAttr(""),this._reconsumeInState(W)))},Le[Y]=function(e){Se(e)||(e===a.QUOTATION_MARK?this.state=Q:e===a.APOSTROPHE?this.state=$:this._reconsumeInState(J))},Le[Q]=function(e){e===a.QUOTATION_MARK?this.state=ee:e===a.AMPERSAND?(this.additionalAllowedCp=a.QUOTATION_MARK,this.returnState=this.state,this.state=Z):e===a.NULL?this.currentAttr.value+=i.REPLACEMENT_CHARACTER:e===a.EOF?this._reconsumeInState(h):this.currentAttr.value+=Re(e)},Le[$]=function(e){e===a.APOSTROPHE?this.state=ee:e===a.AMPERSAND?(this.additionalAllowedCp=a.APOSTROPHE,this.returnState=this.state,this.state=Z):e===a.NULL?this.currentAttr.value+=i.REPLACEMENT_CHARACTER:e===a.EOF?this._reconsumeInState(h):this.currentAttr.value+=Re(e)},Le[J]=function(e){Se(e)?this._leaveAttrValue(V):e===a.AMPERSAND?(this.additionalAllowedCp=a.GREATER_THAN_SIGN,this.returnState=this.state,this.state=Z):e===a.GREATER_THAN_SIGN?(this._leaveAttrValue(h),this._emitCurrentToken()):e===a.NULL?this.currentAttr.value+=i.REPLACEMENT_CHARACTER:e===a.QUOTATION_MARK||e===a.APOSTROPHE||e===a.LESS_THAN_SIGN||e===a.EQUALS_SIGN||e===a.GRAVE_ACCENT?this.currentAttr.value+=Re(e):e===a.EOF?this._reconsumeInState(h):this.currentAttr.value+=Re(e)},Le[Z]=function(e){var t=this._consumeCharacterReference(e,!0);if(!this._ensureHibernation()){if(t)for(var r=0;r>6],i=0===(32&r);if(31===(31&r)){let n=r;r=0;while(128===(128&n)){if(n=e.readUInt8(t),e.isError(n))return n;r<<=7,r|=127&n}}else r&=31;const o=s.tag[r];return{cls:n,primitive:i,tag:r,tagStr:o}}function f(e,t,r){let n=e.readUInt8(r);if(e.isError(n))return n;if(!t&&128===n)return null;if(0===(128&n))return n;const i=127&n;if(i>4)return e.error("length octect is too long");n=0;for(let o=0;os?t=e(t):t.length65535){e-=65536;var t=55296+(e>>10),r=56320+(1023&e);return String.fromCharCode(t,r)}return String.fromCharCode(e)}function a(e){var t=e.slice(1,-1);return t in r?r[t]:"#"===t.charAt(0)?o(parseInt(t.substr(1).replace("x","0x"))):(i.error("entity not found:"+e),e)}function s(t){if(t>_){var r=e.substring(_,t).replace(/&#?\w+;/g,a);d&&c(_),n.characters(r,0,t-_),_=t}}function c(t,r){while(t>=l&&(r=f.exec(e)))u=r.index,l=u+r[0].length,d.lineNumber++;d.columnNumber=t-u+1}var u=0,l=0,f=/.*(?:\r\n?|\n)|.*$/g,d=n.locator,h=[{currentNSMap:t}],p={},_=0;while(1){try{var S=e.indexOf("<",_);if(S<0){if(!e.substr(_).match(/^\s*$/)){var x=n.doc,A=x.createTextNode(e.substr(_));x.appendChild(A),n.currentElement=A}return}switch(S>_&&s(S),e.charAt(S+1)){case"/":var k=e.indexOf(">",S+3),C=e.substring(S+2,k),O=h.pop();k<0?(C=e.substring(S+2).replace(/[\s<].*/,""),i.error("end tag name: "+C+" is not complete:"+O.tagName),k=S+1+C.length):C.match(/\s_?_=k:s(Math.max(S,_)+1)}}function m(e,t){return t.lineNumber=e.lineNumber,t.columnNumber=e.columnNumber,t}function b(e,t,r,n,i,h){var p,m=++t,b=o;while(1){var g=e.charAt(m);switch(g){case"=":if(b===a)p=e.slice(t,m),b=c;else{if(b!==s)throw new Error("attribute equal must after attrName");b=c}break;case"'":case'"':if(b===c||b===a){if(b===a&&(h.warning('attribute value must after "="'),p=e.slice(t,m)),t=m+1,m=e.indexOf(g,t),!(m>0))throw new Error("attribute value no end '"+g+"' match");y=e.slice(t,m).replace(/&#?\w+;/g,i),r.add(p,y,t-1),b=l}else{if(b!=u)throw new Error('attribute value must after "="');y=e.slice(t,m).replace(/&#?\w+;/g,i),r.add(p,y,t),h.warning('attribute "'+p+'" missed start quot('+g+")!!"),t=m+1,b=l}break;case"/":switch(b){case o:r.setTagName(e.slice(t,m));case l:case f:case d:b=d,r.closed=!0;case u:case a:case s:break;default:throw new Error("attribute invalid close char('/')")}break;case"":return h.error("unexpected end of input"),b==o&&r.setTagName(e.slice(t,m)),m;case">":switch(b){case o:r.setTagName(e.slice(t,m));case l:case f:case d:break;case u:case a:y=e.slice(t,m),"/"===y.slice(-1)&&(r.closed=!0,y=y.slice(0,-1));case s:b===s&&(y=p),b==u?(h.warning('attribute "'+y+'" missed quot(")!!'),r.add(p,y.replace(/&#?\w+;/g,i),t)):("http://www.w3.org/1999/xhtml"===n[""]&&y.match(/^(?:disabled|checked|selected)$/i)||h.warning('attribute "'+y+'" missed value!! "'+y+'" instead!!'),r.add(y,y,t));break;case c:throw new Error("attribute value missed!!")}return m;case"€":g=" ";default:if(g<=" ")switch(b){case o:r.setTagName(e.slice(t,m)),b=f;break;case a:p=e.slice(t,m),b=s;break;case u:var y=e.slice(t,m).replace(/&#?\w+;/g,i);h.warning('attribute "'+y+'" missed quot(")!!'),r.add(p,y,t);case l:b=f;break}else switch(b){case s:r.tagName;"http://www.w3.org/1999/xhtml"===n[""]&&p.match(/^(?:disabled|checked|selected)$/i)||h.warning('attribute "'+p+'" missed value!! "'+p+'" instead2!!'),r.add(p,p,t),t=m,b=a;break;case l:h.warning('attribute space is required"'+p+'"!!');case f:b=a,t=m;break;case c:b=u,t=m;break;case d:throw new Error("elements closed character '/' and '>' must be connected to")}}m++}}function g(e,t,r){var n=e.tagName,i=null,o=e.length;while(o--){var a=e[o],s=a.qName,c=a.value,u=s.indexOf(":");if(u>0)var l=a.prefix=s.slice(0,u),f=s.slice(u+1),d="xmlns"===l&&f;else f=s,l=null,d="xmlns"===s&&"";a.localName=f,!1!==d&&(null==i&&(i={},_(r,r={})),r[d]=i[d]=c,a.uri="http://www.w3.org/2000/xmlns/",t.startPrefixMapping(d,c))}o=e.length;while(o--){a=e[o];l=a.prefix;l&&("xml"===l&&(a.uri="http://www.w3.org/XML/1998/namespace"),"xmlns"!==l&&(a.uri=r[l||""]))}u=n.indexOf(":");u>0?(l=e.prefix=n.slice(0,u),f=e.localName=n.slice(u+1)):(l=null,f=e.localName=n);var h=e.uri=r[l||""];if(t.startElement(h,f,n,e),!e.closed)return e.currentNSMap=r,e.localNSMap=i,!0;if(t.endElement(h,f,n),i)for(l in i)t.endPrefixMapping(l)}function y(e,t,r,n,i){if(/^(?:script|textarea)$/i.test(r)){var o=e.indexOf("",t),a=e.substring(t+1,o);if(/[&<]/.test(a))return/^script$/i.test(r)?(i.characters(a,0,a.length),o):(a=a.replace(/&#?\w+;/g,n),i.characters(a,0,a.length),o)}return t+1}function v(e,t,r,n){var i=n[r];return null==i&&(i=e.lastIndexOf(""),it?(r.comment(e,t+4,o-t-4),o+3):(n.error("Unclosed comment"),-1)}return-1;default:if("CDATA["==e.substr(t+3,6)){o=e.indexOf("]]>",t+9);return r.startCDATA(),r.characters(e,t+9,o-t-9),r.endCDATA(),o+3}var a=x(e,t),s=a.length;if(s>1&&/!doctype/i.test(a[0][0])){var c=a[1][0],u=s>3&&/^public$/i.test(a[2][0])&&a[3][0],l=s>4&&a[4][0],f=a[s-1];return r.startDTD(c,u&&u.replace(/^(['"])(.*?)\1$/,"$2"),l&&l.replace(/^(['"])(.*?)\1$/,"$2")),r.endDTD(),f.index+f[0].length}}return-1}function E(e,t,r){var n=e.indexOf("?>",t);if(n){var i=e.substring(t,n).match(/^<\?(\S*)\s*([\s\S]*?)\s*$/);if(i){i[0].length;return r.processingInstruction(i[1],i[2]),n+2}return-1}return-1}function T(e){}function S(e,t){return e.__proto__=t,e}function x(e,t){var r,n=[],i=/'[^']+'|"[^"]+"|[^\s<>\/=]+=?|(\/?\s*>|<)/g;i.lastIndex=t,i.exec(e);while(r=i.exec(e))if(n.push(r),r[1])return n}h.prototype={parse:function(e,t,r){var n=this.domBuilder;n.startDocument(),_(t,t={}),p(e,t,r,n,this.errorHandler),n.endDocument()}},T.prototype={setTagName:function(e){if(!i.test(e))throw new Error("invalid tagName:"+e);this.tagName=e},add:function(e,t,r){if(!i.test(e))throw new Error("invalid attribute:"+e);this[this.length++]={qName:e,value:t,offset:r}},length:0,getLocalName:function(e){return this[e].localName},getLocator:function(e){return this[e].locator},getQName:function(e){return this[e].qName},getURI:function(e){return this[e].uri},getValue:function(e){return this[e].value}},S({},S.prototype)instanceof S||(S=function(e,t){function r(){}for(t in r.prototype=t,r=new r,e)r[t]=e[t];return r}),t.XMLReader=h},d6e6:function(e,t,r){(function(t,n,i){e.exports=n(r("21bf"),r("3252"))})(0,(function(e){return function(){var t=e,r=t.lib,n=r.Hasher,i=t.x64,o=i.Word,a=i.WordArray,s=t.algo;function c(){return o.create.apply(o,arguments)}var u=[c(1116352408,3609767458),c(1899447441,602891725),c(3049323471,3964484399),c(3921009573,2173295548),c(961987163,4081628472),c(1508970993,3053834265),c(2453635748,2937671579),c(2870763221,3664609560),c(3624381080,2734883394),c(310598401,1164996542),c(607225278,1323610764),c(1426881987,3590304994),c(1925078388,4068182383),c(2162078206,991336113),c(2614888103,633803317),c(3248222580,3479774868),c(3835390401,2666613458),c(4022224774,944711139),c(264347078,2341262773),c(604807628,2007800933),c(770255983,1495990901),c(1249150122,1856431235),c(1555081692,3175218132),c(1996064986,2198950837),c(2554220882,3999719339),c(2821834349,766784016),c(2952996808,2566594879),c(3210313671,3203337956),c(3336571891,1034457026),c(3584528711,2466948901),c(113926993,3758326383),c(338241895,168717936),c(666307205,1188179964),c(773529912,1546045734),c(1294757372,1522805485),c(1396182291,2643833823),c(1695183700,2343527390),c(1986661051,1014477480),c(2177026350,1206759142),c(2456956037,344077627),c(2730485921,1290863460),c(2820302411,3158454273),c(3259730800,3505952657),c(3345764771,106217008),c(3516065817,3606008344),c(3600352804,1432725776),c(4094571909,1467031594),c(275423344,851169720),c(430227734,3100823752),c(506948616,1363258195),c(659060556,3750685593),c(883997877,3785050280),c(958139571,3318307427),c(1322822218,3812723403),c(1537002063,2003034995),c(1747873779,3602036899),c(1955562222,1575990012),c(2024104815,1125592928),c(2227730452,2716904306),c(2361852424,442776044),c(2428436474,593698344),c(2756734187,3733110249),c(3204031479,2999351573),c(3329325298,3815920427),c(3391569614,3928383900),c(3515267271,566280711),c(3940187606,3454069534),c(4118630271,4000239992),c(116418474,1914138554),c(174292421,2731055270),c(289380356,3203993006),c(460393269,320620315),c(685471733,587496836),c(852142971,1086792851),c(1017036298,365543100),c(1126000580,2618297676),c(1288033470,3409855158),c(1501505948,4234509866),c(1607167915,987167468),c(1816402316,1246189591)],l=[];(function(){for(var e=0;e<80;e++)l[e]=c()})();var f=s.SHA512=n.extend({_doReset:function(){this._hash=new a.init([new o.init(1779033703,4089235720),new o.init(3144134277,2227873595),new o.init(1013904242,4271175723),new o.init(2773480762,1595750129),new o.init(1359893119,2917565137),new o.init(2600822924,725511199),new o.init(528734635,4215389547),new o.init(1541459225,327033209)])},_doProcessBlock:function(e,t){for(var r=this._hash.words,n=r[0],i=r[1],o=r[2],a=r[3],s=r[4],c=r[5],f=r[6],d=r[7],h=n.high,p=n.low,m=i.high,b=i.low,g=o.high,y=o.low,v=a.high,_=a.low,w=s.high,E=s.low,T=c.high,S=c.low,x=f.high,A=f.low,k=d.high,C=d.low,O=h,N=p,M=m,I=b,R=g,j=y,P=v,D=_,L=w,B=E,U=T,H=S,F=x,q=A,G=k,z=C,K=0;K<80;K++){var V,W,X=l[K];if(K<16)W=X.high=0|e[t+2*K],V=X.low=0|e[t+2*K+1];else{var Y=l[K-15],Q=Y.high,$=Y.low,J=(Q>>>1|$<<31)^(Q>>>8|$<<24)^Q>>>7,Z=($>>>1|Q<<31)^($>>>8|Q<<24)^($>>>7|Q<<25),ee=l[K-2],te=ee.high,re=ee.low,ne=(te>>>19|re<<13)^(te<<3|re>>>29)^te>>>6,ie=(re>>>19|te<<13)^(re<<3|te>>>29)^(re>>>6|te<<26),oe=l[K-7],ae=oe.high,se=oe.low,ce=l[K-16],ue=ce.high,le=ce.low;V=Z+se,W=J+ae+(V>>>0>>0?1:0),V+=ie,W=W+ne+(V>>>0>>0?1:0),V+=le,W=W+ue+(V>>>0>>0?1:0),X.high=W,X.low=V}var fe=L&U^~L&F,de=B&H^~B&q,he=O&M^O&R^M&R,pe=N&I^N&j^I&j,me=(O>>>28|N<<4)^(O<<30|N>>>2)^(O<<25|N>>>7),be=(N>>>28|O<<4)^(N<<30|O>>>2)^(N<<25|O>>>7),ge=(L>>>14|B<<18)^(L>>>18|B<<14)^(L<<23|B>>>9),ye=(B>>>14|L<<18)^(B>>>18|L<<14)^(B<<23|L>>>9),ve=u[K],_e=ve.high,we=ve.low,Ee=z+ye,Te=G+ge+(Ee>>>0>>0?1:0),Se=(Ee=Ee+de,Te=Te+fe+(Ee>>>0>>0?1:0),Ee=Ee+we,Te=Te+_e+(Ee>>>0>>0?1:0),Ee=Ee+V,Te=Te+W+(Ee>>>0>>0?1:0),be+pe),xe=me+he+(Se>>>0>>0?1:0);G=F,z=q,F=U,q=H,U=L,H=B,B=D+Ee|0,L=P+Te+(B>>>0>>0?1:0)|0,P=R,D=j,R=M,j=I,M=O,I=N,N=Ee+Se|0,O=Te+xe+(N>>>0>>0?1:0)|0}p=n.low=p+N,n.high=h+O+(p>>>0>>0?1:0),b=i.low=b+I,i.high=m+M+(b>>>0>>0?1:0),y=o.low=y+j,o.high=g+R+(y>>>0>>0?1:0),_=a.low=_+D,a.high=v+P+(_>>>0>>0?1:0),E=s.low=E+B,s.high=w+L+(E>>>0>>0?1:0),S=c.low=S+H,c.high=T+U+(S>>>0>>0?1:0),A=f.low=A+q,f.high=x+F+(A>>>0>>0?1:0),C=d.low=C+z,d.high=k+G+(C>>>0>>0?1:0)},_doFinalize:function(){var e=this._data,t=e.words,r=8*this._nDataBytes,n=8*e.sigBytes;t[n>>>5]|=128<<24-n%32,t[30+(n+128>>>10<<5)]=Math.floor(r/4294967296),t[31+(n+128>>>10<<5)]=r,e.sigBytes=4*t.length,this._process();var i=this._hash.toX32();return i},clone:function(){var e=n.clone.call(this);return e._hash=this._hash.clone(),e},blockSize:32});t.SHA512=n._createHelper(f),t.HmacSHA512=n._createHmacHelper(f)}(),e.SHA512}))},d6ea:function(e,t,r){var n=r("4bad");t=n(!1),t.push([e.i,"[data-v-1cf7a8f7] .el-dialog{width:55%;min-height:375px;min-width:440px}.tb-options[data-v-1cf7a8f7]{margin-bottom:20px}.input-table[data-v-1cf7a8f7] .el-input__inner{border-radius:0}.head-style[data-v-1cf7a8f7] .el-input__inner{background-color:#f2f2f2}",""]),e.exports=t},d70e:function(e){e.exports=JSON.parse('{"2.16.840.1.101.3.4.1.1":"aes-128-ecb","2.16.840.1.101.3.4.1.2":"aes-128-cbc","2.16.840.1.101.3.4.1.3":"aes-128-ofb","2.16.840.1.101.3.4.1.4":"aes-128-cfb","2.16.840.1.101.3.4.1.21":"aes-192-ecb","2.16.840.1.101.3.4.1.22":"aes-192-cbc","2.16.840.1.101.3.4.1.23":"aes-192-ofb","2.16.840.1.101.3.4.1.24":"aes-192-cfb","2.16.840.1.101.3.4.1.41":"aes-256-ecb","2.16.840.1.101.3.4.1.42":"aes-256-cbc","2.16.840.1.101.3.4.1.43":"aes-256-ofb","2.16.840.1.101.3.4.1.44":"aes-256-cfb"}')},d75a:function(e,t,r){"use strict";var n;r.d(t,"b",(function(){return i})),r.d(t,"c",(function(){return o})),r.d(t,"a",(function(){return n}));var i=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("el-container",{staticClass:"top is-dark"},[r("div",{staticClass:"left-side"},[r("el-tooltip",{attrs:{effect:e.effect,content:"上传图片",placement:"bottom-start"}},[r("i",{staticClass:"el-icon-upload",attrs:{size:"medium"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.$emit("show-dialog-upload-img")}}})]),r("el-tooltip",{staticClass:"header__item",attrs:{effect:e.effect,content:"下载 Markdown 文档",placement:"bottom-start"}},[r("i",{staticClass:"el-icon-download",attrs:{size:"medium"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.$emit("download")}}})]),r("el-tooltip",{staticClass:"header__item",attrs:{effect:e.effect,content:"重置页面",placement:"bottom-start"}},[r("i",{staticClass:"el-icon-refresh",attrs:{size:"medium"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.showResetConfirm=!0}}})]),r("el-tooltip",{staticClass:"header__item header__item_last",attrs:{effect:e.effect,content:"插入表格",placement:"bottom-start"}},[r("i",{staticClass:"el-icon-s-grid",attrs:{size:"medium"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.$emit("show-dialog-form")}}})]),r("el-select",{attrs:{size:"mini",placeholder:"选择字体",clearable:!0},on:{change:function(t){arguments[0]=t=e.$handleEvent(t),e.fontChanged.apply(void 0,arguments)}},model:{value:e.selectFont,callback:function(t){e.selectFont=t},expression:"selectFont"}},e._l(e.config.builtinFonts,(function(t){return r("el-option",{key:t.value,style:{fontFamily:t.value},attrs:{label:t.label,value:t.value}},[r("span",{staticClass:"select-item-left"},[e._v(e._s(t.label))]),r("span",{staticClass:"select-item-right"},[e._v("Abc")])])})),1),r("el-select",{attrs:{size:"mini",placeholder:"选择段落字号",clearable:!0},on:{change:function(t){arguments[0]=t=e.$handleEvent(t),e.sizeChanged.apply(void 0,arguments)}},model:{value:e.selectSize,callback:function(t){e.selectSize=t},expression:"selectSize"}},e._l(e.config.sizeOption,(function(t){return r("el-option",{key:t.value,attrs:{label:t.label,value:t.value}},[r("span",{staticClass:"select-item-left"},[e._v(e._s(t.label))]),r("span",{staticClass:"select-item-right"},[e._v(e._s(t.desc))])])})),1),r("el-select",{attrs:{size:"mini",placeholder:"选择颜色",clearable:!0},on:{change:function(t){arguments[0]=t=e.$handleEvent(t),e.colorChanged.apply(void 0,arguments)}},model:{value:e.selectColor,callback:function(t){e.selectColor=t},expression:"selectColor"}},e._l(e.config.colorOption,(function(t){return r("el-option",{key:t.value,attrs:{label:t.label,value:t.value}},[r("span",{staticClass:"select-item-left"},[e._v(e._s(t.label))]),r("span",{staticClass:"select-item-right"},[e._v(e._s(t.desc))])])})),1),r("el-tooltip",{attrs:{content:"自定义颜色",effect:e.effect,placement:"top"}},[r("el-color-picker",{attrs:{size:"mini","show-alpha":!0},on:{change:function(t){arguments[0]=t=e.$handleEvent(t),e.colorChanged.apply(void 0,arguments)}},model:{value:e.selectColor,callback:function(t){e.selectColor=t},expression:"selectColor"}})],1),r("el-tooltip",{attrs:{content:"微信外链自动转为文末引用",effect:e.effect,placement:"top"}},[r("el-switch",{staticClass:"header__switch",attrs:{"active-color":"#67c23a","inactive-color":"#dcdfe6"},on:{change:function(t){arguments[0]=t=e.$handleEvent(t),e.statusChanged.apply(void 0,arguments)}},model:{value:e.citeStatus,callback:function(t){e.citeStatus=t},expression:"citeStatus"}})],1)],1),r("div",{staticClass:"right-side"},[r("el-tooltip",{staticClass:"item",attrs:{effect:e.effect,content:"自定义CSS样式",placement:"left"}},[r("el-button",{attrs:{type:e.btnType,plain:!0,size:"medium",icon:"el-icon-setting"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.customStyle.apply(void 0,arguments)}}})],1),r("el-button",{attrs:{type:e.btnType,plain:!0,size:"medium",placement:"bottom-start"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.copy.apply(void 0,arguments)}}},[e._v("复制")]),r("el-button",{staticClass:"about",attrs:{type:e.btnType,plain:!0,size:"medium"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.$emit("show-about-dialog")}}},[e._v("关于")]),r("el-tooltip",{attrs:{content:e.btnContent,effect:e.effect,placement:"bottom-start"}},[e.nightMode?r("div",{staticClass:"mode__switch mode__switch_black",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.themeChanged.apply(void 0,arguments)}}}):r("div",{staticClass:"mode__switch",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.themeChanged.apply(void 0,arguments)}}})])],1),r("resetDialog",{attrs:{showResetConfirm:e.showResetConfirm},on:{confirm:function(t){arguments[0]=t=e.$handleEvent(t),e.confirmReset.apply(void 0,arguments)},close:function(t){arguments[0]=t=e.$handleEvent(t),e.cancelReset.apply(void 0,arguments)}}})],1)},o=[]},d779:function(e,t,r){var n=n||function(e,t){var r={},n=r.lib={},i=function(){},o=n.Base={extend:function(e){i.prototype=this;var t=new i;return e&&t.mixIn(e),t.hasOwnProperty("init")||(t.init=function(){t.$super.init.apply(this,arguments)}),t.init.prototype=t,t.$super=this,t},create:function(){var e=this.extend();return e.init.apply(e,arguments),e},init:function(){},mixIn:function(e){for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t]);e.hasOwnProperty("toString")&&(this.toString=e.toString)},clone:function(){return this.init.prototype.extend(this)}},a=n.WordArray=o.extend({init:function(e,r){e=this.words=e||[],this.sigBytes=r!=t?r:4*e.length},toString:function(e){return(e||c).stringify(this)},concat:function(e){var t=this.words,r=e.words,n=this.sigBytes;if(e=e.sigBytes,this.clamp(),n%4)for(var i=0;i>>2]|=(r[i>>>2]>>>24-i%4*8&255)<<24-(n+i)%4*8;else if(65535>>2]=r[i>>>2];else t.push.apply(t,r);return this.sigBytes+=e,this},clamp:function(){var t=this.words,r=this.sigBytes;t[r>>>2]&=4294967295<<32-r%4*8,t.length=e.ceil(r/4)},clone:function(){var e=o.clone.call(this);return e.words=this.words.slice(0),e},random:function(t){for(var r=[],n=0;n>>2]>>>24-n%4*8&255;r.push((i>>>4).toString(16)),r.push((15&i).toString(16))}return r.join("")},parse:function(e){for(var t=e.length,r=[],n=0;n>>3]|=parseInt(e.substr(n,2),16)<<24-n%8*4;return new a.init(r,t/2)}},u=s.Latin1={stringify:function(e){var t=e.words;e=e.sigBytes;for(var r=[],n=0;n>>2]>>>24-n%4*8&255));return r.join("")},parse:function(e){for(var t=e.length,r=[],n=0;n>>2]|=(255&e.charCodeAt(n))<<24-n%4*8;return new a.init(r,t)}},l=s.Utf8={stringify:function(e){try{return decodeURIComponent(escape(u.stringify(e)))}catch(t){throw Error("Malformed UTF-8 data")}},parse:function(e){return u.parse(unescape(encodeURIComponent(e)))}},f=n.BufferedBlockAlgorithm=o.extend({reset:function(){this._data=new a.init,this._nDataBytes=0},_append:function(e){"string"==typeof e&&(e=l.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(t){var r=this._data,n=r.words,i=r.sigBytes,o=this.blockSize,s=i/(4*o);s=t?e.ceil(s):e.max((0|s)-this._minBufferSize,0);if(t=s*o,i=e.min(4*t,i),t){for(var c=0;cu;u++){if(16>u)o[u]=0|e[t+u];else{var l=o[u-3]^o[u-8]^o[u-14]^o[u-16];o[u]=l<<1|l>>>31}l=(n<<5|n>>>27)+c+o[u],l=20>u?l+(1518500249+(i&a|~i&s)):40>u?l+(1859775393+(i^a^s)):60>u?l+((i&a|i&s|a&s)-1894007588):l+((i^a^s)-899497514),c=s,s=a,a=i<<30|i>>>2,i=n,n=l}r[0]=r[0]+n|0,r[1]=r[1]+i|0,r[2]=r[2]+a|0,r[3]=r[3]+s|0,r[4]=r[4]+c|0},_doFinalize:function(){var e=this._data,t=e.words,r=8*this._nDataBytes,n=8*e.sigBytes;return t[n>>>5]|=128<<24-n%32,t[14+(n+64>>>9<<4)]=Math.floor(r/4294967296),t[15+(n+64>>>9<<4)]=r,e.sigBytes=4*t.length,this._process(),this._hash},clone:function(){var e=i.clone.call(this);return e._hash=this._hash.clone(),e}});e.SHA1=i._createHelper(t),e.HmacSHA1=i._createHmacHelper(t)})(),function(){var e=n,t=e.enc.Utf8;e.algo.HMAC=e.lib.Base.extend({init:function(e,r){e=this._hasher=new e.init,"string"==typeof r&&(r=t.parse(r));var n=e.blockSize,i=4*n;r.sigBytes>i&&(r=e.finalize(r)),r.clamp();for(var o=this._oKey=r.clone(),a=this._iKey=r.clone(),s=o.words,c=a.words,u=0;u>>2]>>>24-o%4*8&255,s=t[o+1>>>2]>>>24-(o+1)%4*8&255,c=t[o+2>>>2]>>>24-(o+2)%4*8&255,u=a<<16|s<<8|c,l=0;l<4&&o+.75*l>>6*(3-l)&63));var f=n.charAt(64);if(f)while(i.length%4)i.push(f);return i.join("")},parse:function(e){var t=e.length,n=this._map,i=n.charAt(64);if(i){var o=e.indexOf(i);-1!=o&&(t=o)}for(var a=[],s=0,c=0;c>>6-c%4*2;a[s>>>2]|=(u|l)<<24-s%4*8,s++}return r.create(a,s)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}}(),e.exports=n},d77b:function(e,t,r){var n=r("0cd5");"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var i=r("4f06").default;i("3f108d5c",n,!0,{sourceMap:!1,shadowMode:!1})},d925:function(e,t,r){"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},d9b2:function(e,t,r){"use strict";e.exports=i;var n=r("44d1");function i(e,t,r,n,i){this.prop=e,this.value=t,this.selector=r,this.priority=n||0,this.additionalPriority=i||[]}i.prototype.compareFunc=function(e){var t=[];t.push.apply(t,this.selector.specificity()),t.push.apply(t,this.additionalPriority),t[0]+=this.priority;var r=[];return r.push.apply(r,e.selector.specificity()),r.push.apply(r,e.additionalPriority),r[0]+=e.priority,n.compareFunc(t,r)},i.prototype.compare=function(e){var t=this.compareFunc(e);return 1===t?this:e},i.prototype.toString=function(){return this.prop+": "+this.value.replace(/['"]+/g,"")+";"}},da3e:function(e,t){function r(e,t){if(!e)throw new Error(t||"Assertion failed")}e.exports=r,r.equal=function(e,t,r){if(e!=t)throw new Error(r||"Assertion failed: "+e+" != "+t)}},da71:function(e,t,r){"use strict";r("a630"),r("3ca3"),Object.defineProperty(t,"__esModule",{value:!0}),t.giteeConfig=t.githubConfig=void 0;var n={username:"filess",repoList:Array.from([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19],(function(e){return"img".concat(e)})),branch:"main",accessTokenList:["7715d7ca67b5d3837cfdoocsmde8c38421815aa423510af","c411415bf95dbe39625doocsmd5047ba9b7a2a6c9642abe","2821cd8819fa345c053doocsmdca86ac653f8bc20db1f1b","445f0dae46ef1f2a4d6doocsmdc797301e94797b4750a4c","cc1d0c1426d0fd0902bdoocsmdd2d7184b14da61b86ec46","b67e9d15cb6f910492fdoocsmdac6b44d379c953bb19eff","618c4dc2244ccbbc088doocsmd125d17fd31b7d06a50cf3","a4b581732e1c1507458doocsmdc5b223b27dae5e2e16a55","77904db41aee57ad79bdoocsmd760f848201dac9c96fd5e","02f251cb14ac62ab100doocsmdddbfc8527d773f1f04ce1","eb321079a95ba7028d9doocsmde2e84c502dac70de7cf08","22f74fcfb071a961fa2doocsmde28dabc746f0503a15e5d","85124c2bfe7abba0938doocsmd0af7f67918b99d085a5fd","0a561b4d4bbecb2de7edoocsmdd9ba3833d11dbc5e430f5","e8a01491188d8d5a097doocsmd03ede0aad1fe9e3af24e9","36e1f420d7e5bdebd67doocsmd65463562f5f25b20b8377"]};t.githubConfig=n;var i={username:"filesss",repoList:Array.from([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19],(function(e){return"img".concat(e)})),branch:"main",accessTokenList:["ed5fc9866bd6c2fdoocsmddd433f806fd2f399c","5448ffebbbf1151doocsmdc4e337cf814fc8a62","25b05efd2557ca2doocsmd75b5c0835e3395911","11628c7a5aef015doocsmd2eeff9fb9566f0458","cb2f5145ed938dedoocsmdbd063b4ed244eecf8","d8c0b57500672c1doocsmd55f48b866b5ebcd98","78c56eadb88e453doocsmd43ddd95753351771a","03e1a688003948fdoocsmda16fcf41e6f03f1f0","c49121cf4d191fbdoocsmdd6a7877ed537e474a","adfeb2fadcdc4aadoocsmdfe1ee869ac9c968ff","116c94549ca4a0ddoocsmd192653af5c0694616","ecf30ed7f2eb184doocsmd51ea4ec8300371d9e","5837cf2bd5afd93doocsmd73904bed31934949e","b5b7e1c7d57e01fdoocsmd5266f552574297d78","684d55564ffbd0bdoocsmd7d747e5cc23aed6d6","3fc04a9d272ab71doocsmd010c56cb57d88d2ba"]};t.giteeConfig=i},dbba:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.compile=t.parse=void 0;var n=r("ce8b");Object.defineProperty(t,"parse",{enumerable:!0,get:function(){return n.parse}});var i=r("ffe9");function o(e){return i.compile(n.parse(e))}Object.defineProperty(t,"compile",{enumerable:!0,get:function(){return i.compile}}),t.default=o},dbce:function(e,t,r){r("e439"),r("d3b7"),r("3ca3"),r("10d1"),r("ddb0");var n=r("7037");function i(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return i=function(){return e},e}function o(e){if(e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var t=i();if(t&&t.has(e))return t.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(r,a,s):r[a]=e[a]}return r["default"]=e,t&&t.set(e,r),r}e.exports=o},dc14:function(e,t,r){"use strict";(function(t,n){var i=r("966d");function o(e){var t=this;this.next=null,this.entry=null,this.finish=function(){D(t,e)}}e.exports=v;var a,s=!t.browser&&["v0.10","v0.9."].indexOf(t.version.slice(0,5))>-1?setImmediate:i.nextTick;v.WritableState=y;var c=Object.create(r("3a7c"));c.inherits=r("3fb5");var u={deprecate:r("b7d1")},l=r("429b"),f=r("8707").Buffer,d=n.Uint8Array||function(){};function h(e){return f.from(e)}function p(e){return f.isBuffer(e)||e instanceof d}var m,b=r("4681");function g(){}function y(e,t){a=a||r("b19a"),e=e||{};var n=t instanceof a;this.objectMode=!!e.objectMode,n&&(this.objectMode=this.objectMode||!!e.writableObjectMode);var i=e.highWaterMark,s=e.writableHighWaterMark,c=this.objectMode?16:16384;this.highWaterMark=i||0===i?i:n&&(s||0===s)?s:c,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var u=!1===e.decodeStrings;this.decodeStrings=!u,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){k(t,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new o(this)}function v(e){if(a=a||r("b19a"),!m.call(v,this)&&!(this instanceof a))return new v(e);this._writableState=new y(e,this),this.writable=!0,e&&("function"===typeof e.write&&(this._write=e.write),"function"===typeof e.writev&&(this._writev=e.writev),"function"===typeof e.destroy&&(this._destroy=e.destroy),"function"===typeof e.final&&(this._final=e.final)),l.call(this)}function _(e,t){var r=new Error("write after end");e.emit("error",r),i.nextTick(t,r)}function w(e,t,r,n){var o=!0,a=!1;return null===r?a=new TypeError("May not write null values to stream"):"string"===typeof r||void 0===r||t.objectMode||(a=new TypeError("Invalid non-string/buffer chunk")),a&&(e.emit("error",a),i.nextTick(n,a),o=!1),o}function E(e,t,r){return e.objectMode||!1===e.decodeStrings||"string"!==typeof t||(t=f.from(t,r)),t}function T(e,t,r,n,i,o){if(!r){var a=E(t,n,i);n!==a&&(r=!0,i="buffer",n=a)}var s=t.objectMode?1:n.length;t.length+=s;var c=t.length-1))throw new TypeError("Unknown encoding: "+e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(v.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),v.prototype._write=function(e,t,r){r(new Error("_write() is not implemented"))},v.prototype._writev=null,v.prototype.end=function(e,t,r){var n=this._writableState;"function"===typeof e?(r=e,e=null,t=null):"function"===typeof t&&(r=t,t=null),null!==e&&void 0!==e&&this.write(e,t),n.corked&&(n.corked=1,this.uncork()),n.ending||n.finished||P(this,n,r)},Object.defineProperty(v.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),v.prototype.destroy=b.destroy,v.prototype._undestroy=b.undestroy,v.prototype._destroy=function(e,t){this.end(),t(e)}}).call(this,r("4362"),r("c8ba"))},de15:function(e,t,r){"use strict";var n=r("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.solveWeChatImage=o,t.solveHtml=a;var i=n(r("466b"));function o(){for(var e=document.getElementById("output"),t=e.getElementsByTagName("img"),r=0;r=0?r+1:1/0:0;case"lt":return isFinite(r)?r>=0?r:1/0:0;case"gt":return isFinite(r)?1/0:0;default:return 1/0}}Object.defineProperty(t,"__esModule",{value:!0}),t.getLimit=t.isFilter=t.filterNames=void 0,t.filterNames=new Set(["first","last","eq","gt","nth","lt","even","odd"]),t.isFilter=n,t.getLimit=i},df2f:function(e,t,r){(function(t,n){e.exports=n(r("21bf"))})(0,(function(e){return function(){var t=e,r=t.lib,n=r.WordArray,i=r.Hasher,o=t.algo,a=[],s=o.SHA1=i.extend({_doReset:function(){this._hash=new n.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(var r=this._hash.words,n=r[0],i=r[1],o=r[2],s=r[3],c=r[4],u=0;u<80;u++){if(u<16)a[u]=0|e[t+u];else{var l=a[u-3]^a[u-8]^a[u-14]^a[u-16];a[u]=l<<1|l>>>31}var f=(n<<5|n>>>27)+c+a[u];f+=u<20?1518500249+(i&o|~i&s):u<40?1859775393+(i^o^s):u<60?(i&o|i&s|o&s)-1894007588:(i^o^s)-899497514,c=s,s=o,o=i<<30|i>>>2,i=n,n=f}r[0]=r[0]+n|0,r[1]=r[1]+i|0,r[2]=r[2]+o|0,r[3]=r[3]+s|0,r[4]=r[4]+c|0},_doFinalize:function(){var e=this._data,t=e.words,r=8*this._nDataBytes,n=8*e.sigBytes;return t[n>>>5]|=128<<24-n%32,t[14+(n+64>>>9<<4)]=Math.floor(r/4294967296),t[15+(n+64>>>9<<4)]=r,e.sigBytes=4*t.length,this._process(),this._hash},clone:function(){var e=i.clone.call(this);return e._hash=this._hash.clone(),e}});t.SHA1=i._createHelper(s),t.HmacSHA1=i._createHmacHelper(s)}(),e.SHA1}))},e07b:function(e,t,r){var n=r("5a76"),i=r("b5ca"),o=r("69f2"),a=r("8707").Buffer,s=r("7d2a"),c=r("9f9d"),u=r("8be6"),l=a.alloc(128),f={md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,rmd160:20,ripemd160:20};function d(e,t,r){var n=h(e),i="sha512"===e||"sha384"===e?128:64;t.length>i?t=n(t):t.length1&&void 0!==arguments[1]?arguments[1]:0,r=(u[e[t+0]]+u[e[t+1]]+u[e[t+2]]+u[e[t+3]]+"-"+u[e[t+4]]+u[e[t+5]]+"-"+u[e[t+6]]+u[e[t+7]]+"-"+u[e[t+8]]+u[e[t+9]]+"-"+u[e[t+10]]+u[e[t+11]]+u[e[t+12]]+u[e[t+13]]+u[e[t+14]]+u[e[t+15]]).toLowerCase();if(!c(r))throw TypeError("Stringified UUID is invalid");return r}var d,h,p=f,m=0,b=0;function g(e,t,r){var n=t&&r||0,i=t||new Array(16);e=e||{};var a=e.node||d,s=void 0!==e.clockseq?e.clockseq:h;if(null==a||null==s){var c=e.random||(e.rng||o)();null==a&&(a=d=[1|c[0],c[1],c[2],c[3],c[4],c[5]]),null==s&&(s=h=16383&(c[6]<<8|c[7]))}var u=void 0!==e.msecs?e.msecs:Date.now(),l=void 0!==e.nsecs?e.nsecs:b+1,f=u-m+(l-b)/1e4;if(f<0&&void 0===e.clockseq&&(s=s+1&16383),(f<0||u>m)&&void 0===e.nsecs&&(l=0),l>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");m=u,b=l,h=s,u+=122192928e5;var g=(1e4*(268435455&u)+l)%4294967296;i[n++]=g>>>24&255,i[n++]=g>>>16&255,i[n++]=g>>>8&255,i[n++]=255&g;var y=u/4294967296*1e4&268435455;i[n++]=y>>>8&255,i[n++]=255&y,i[n++]=y>>>24&15|16,i[n++]=y>>>16&255,i[n++]=s>>>8|128,i[n++]=255&s;for(var v=0;v<6;++v)i[n+v]=a[v];return t||p(i)}var y=g;function v(e){if(!c(e))throw TypeError("Invalid UUID");var t,r=new Uint8Array(16);return r[0]=(t=parseInt(e.slice(0,8),16))>>>24,r[1]=t>>>16&255,r[2]=t>>>8&255,r[3]=255&t,r[4]=(t=parseInt(e.slice(9,13),16))>>>8,r[5]=255&t,r[6]=(t=parseInt(e.slice(14,18),16))>>>8,r[7]=255&t,r[8]=(t=parseInt(e.slice(19,23),16))>>>8,r[9]=255&t,r[10]=(t=parseInt(e.slice(24,36),16))/1099511627776&255,r[11]=t/4294967296&255,r[12]=t>>>24&255,r[13]=t>>>16&255,r[14]=t>>>8&255,r[15]=255&t,r}var _=v;function w(e){e=unescape(encodeURIComponent(e));for(var t=[],r=0;r>5]>>>i%32&255,a=parseInt(n.charAt(o>>>4&15)+n.charAt(15&o),16);t.push(a)}return t}function k(e){return 14+(e+64>>>9<<4)+1}function C(e,t){e[t>>5]|=128<>5]|=(255&e[n/8])<>16)+(t>>16)+(r>>16);return n<<16|65535&r}function M(e,t){return e<>>32-t}function I(e,t,r,n,i,o){return N(M(N(N(t,e),N(n,o)),i),r)}function R(e,t,r,n,i,o,a){return I(t&r|~t&n,e,t,i,o,a)}function j(e,t,r,n,i,o,a){return I(t&n|r&~n,e,t,i,o,a)}function P(e,t,r,n,i,o,a){return I(t^r^n,e,t,i,o,a)}function D(e,t,r,n,i,o,a){return I(r^(t|~n),e,t,i,o,a)}var L=x,B=S("v3",48,L),U=B;function H(e,t,r){e=e||{};var n=e.random||(e.rng||o)();if(n[6]=15&n[6]|64,n[8]=63&n[8]|128,t){r=r||0;for(var i=0;i<16;++i)t[r+i]=n[i];return t}return p(n)}var F=H;function q(e,t,r,n){switch(e){case 0:return t&r^~t&n;case 1:return t^r^n;case 2:return t&r^t&n^r&n;case 3:return t^r^n}}function G(e,t){return e<>>32-t}function z(e){var t=[1518500249,1859775393,2400959708,3395469782],r=[1732584193,4023233417,2562383102,271733878,3285377520];if("string"===typeof e){var n=unescape(encodeURIComponent(e));e=[];for(var i=0;i>>0;v=y,y=g,g=G(b,30)>>>0,b=m,m=E}r[0]=r[0]+m>>>0,r[1]=r[1]+b>>>0,r[2]=r[2]+g>>>0,r[3]=r[3]+y>>>0,r[4]=r[4]+v>>>0}return[r[0]>>24&255,r[0]>>16&255,r[0]>>8&255,255&r[0],r[1]>>24&255,r[1]>>16&255,r[1]>>8&255,255&r[1],r[2]>>24&255,r[2]>>16&255,r[2]>>8&255,255&r[2],r[3]>>24&255,r[3]>>16&255,r[3]>>8&255,255&r[3],r[4]>>24&255,r[4]>>16&255,r[4]>>8&255,255&r[4]]}var K=z,V=S("v5",80,K),W=V,X="00000000-0000-0000-0000-000000000000";function Y(e){if(!c(e))throw TypeError("Invalid UUID");return parseInt(e.substr(14,1),16)}var Q=Y},e164:function(e,t,r){"use strict";var n=this&&this.__assign||function(){return n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r0&&(i+=h(e.children,t)),!t.xmlMode&&d.has(e.name)||(i+="")),i}function y(e){return"<"+e.data+">"}function v(e,t){var r=e.data||"";return!t.decodeEntities||e.parent&&l.has(e.parent.name)||(r=c.encodeXML(r)),r}function _(e){return""}function w(e){return"\x3c!--"+e.data+"--\x3e"}},e190:function(e,t,r){"use strict";var n=r("5305").DOCUMENT_MODE;t.createDocument=function(){return{nodeName:"#document",mode:n.NO_QUIRKS,childNodes:[]}},t.createDocumentFragment=function(){return{nodeName:"#document-fragment",childNodes:[]}},t.createElement=function(e,t,r){return{nodeName:e,tagName:e,attrs:r,namespaceURI:t,childNodes:[],parentNode:null}},t.createCommentNode=function(e){return{nodeName:"#comment",data:e,parentNode:null}};var i=function(e){return{nodeName:"#text",value:e,parentNode:null}},o=t.appendChild=function(e,t){e.childNodes.push(t),t.parentNode=e},a=t.insertBefore=function(e,t,r){var n=e.childNodes.indexOf(r);e.childNodes.splice(n,0,t),t.parentNode=e};t.setTemplateContent=function(e,t){e.content=t},t.getTemplateContent=function(e){return e.content},t.setDocumentType=function(e,t,r,n){for(var i=null,a=0;ae.options.UploadQueueSize;){var i="waiting"===t[n].state||"checking"===t[n].state||"uploading"===t[n].state;t[n]&&i?n++:(r[t[n].id]&&delete r[t[n].id],t.splice(n,1),s--)}u()}},f=function(){if(!(a>=e.options.FileParallelLimit)){while(t[s]&&"waiting"!==t[s].state)s++;if(!(s>=t.length)){var r=t[s];s++,a++,r.state="checking",r.params.onTaskStart&&r.params.onTaskStart(c(r)),!r.params.UploadData&&(r.params.UploadData={});var n=i.formatParams(r.api,r.params);o[r.api].call(e,n,(function(t,n){e._isRunningTask(r.id)&&("checking"!==r.state&&"uploading"!==r.state||(r.state=t?"error":"success",t&&(r.error=t),a--,u(),f(),r.callback&&r.callback(t,n),"success"===r.state&&(r.params&&(delete r.params.UploadData,delete r.params.Body,delete r.params),delete r.callback)),l())})),u(),setTimeout(f)}}},d=function(t,i){var o=r[t];if(o){var s=o&&"waiting"===o.state,c=o&&("checking"===o.state||"uploading"===o.state);if("canceled"===i&&"canceled"!==o.state||"paused"===i&&s||"paused"===i&&c){if("paused"===i&&o.params.Body&&"function"===typeof o.params.Body.pipe)return void console.error("stream not support pause");o.state=i,e.emit("inner-kill-task",{TaskId:t,toState:i});try{var d=o&&o.params&&o.params.UploadData.UploadId}catch(h){}"canceled"===i&&d&&n.removeUsing(d),u(),c&&(a--,f()),"canceled"===i&&(o.params&&(delete o.params.UploadData,delete o.params.Body,delete o.params),delete o.callback)}l()}};e._addTasks=function(t){i.each(t,(function(t){e._addTask(t.api,t.params,t.callback,!0)})),u()};var h=!0;e._addTask=function(n,o,a,s){o=i.formatParams(n,o);var c=i.uuid();o.TaskId=c,o.onTaskReady&&o.onTaskReady(c),o.TaskReady&&(o.TaskReady(c),h&&console.warn('warning: Param "TaskReady" has been deprecated. Please use "onTaskReady" instead.'),h=!1);var d={params:o,callback:a,api:n,index:t.length,id:c,Bucket:o.Bucket,Region:o.Region,Key:o.Key,FilePath:o.FilePath||"",state:"waiting",loaded:0,size:0,speed:0,percent:0,hashPercent:0,error:null,_custom:o._custom},p=o.onHashProgress;o.onHashProgress=function(t){e._isRunningTask(d.id)&&(d.hashPercent=t.percent,p&&p(t),u())};var m=o.onProgress;return o.onProgress=function(t){e._isRunningTask(d.id)&&("checking"===d.state&&(d.state="uploading"),d.loaded=t.loaded,d.speed=t.speed,d.percent=t.percent,m&&m(t),u())},i.getFileSize(n,o,(function(e,n){if(e)return a(i.error(e));r[c]=d,t.push(d),d.size=n,!s&&u(),f(),l()})),c},e._isRunningTask=function(e){var t=r[e];return!(!t||"checking"!==t.state&&"uploading"!==t.state)},e.getTaskList=function(){return i.map(t,c)},e.cancelTask=function(e){d(e,"canceled")},e.pauseTask=function(e){d(e,"paused")},e.restartTask=function(e){var t=r[e];!t||"paused"!==t.state&&"error"!==t.state||(t.state="waiting",u(),s=Math.min(s,t.index),f())},e.isUploadRunning=function(){return a||s>>24)|4278255360&(o<<24|o>>>8),a=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8);var s=r[i];s.high^=a,s.low^=o}for(var c=0;c<24;c++){for(var h=0;h<5;h++){for(var p=0,m=0,b=0;b<5;b++){s=r[h+5*b];p^=s.high,m^=s.low}var g=d[h];g.high=p,g.low=m}for(h=0;h<5;h++){var y=d[(h+4)%5],v=d[(h+1)%5],_=v.high,w=v.low;for(p=y.high^(_<<1|w>>>31),m=y.low^(w<<1|_>>>31),b=0;b<5;b++){s=r[h+5*b];s.high^=p,s.low^=m}}for(var E=1;E<25;E++){s=r[E];var T=s.high,S=s.low,x=u[E];x<32?(p=T<>>32-x,m=S<>>32-x):(p=S<>>64-x,m=T<>>64-x);var A=d[l[E]];A.high=p,A.low=m}var k=d[0],C=r[0];k.high=C.high,k.low=C.low;for(h=0;h<5;h++)for(b=0;b<5;b++){E=h+5*b,s=r[E];var O=d[E],N=d[(h+1)%5+5*b],M=d[(h+2)%5+5*b];s.high=O.high^~N.high&M.high,s.low=O.low^~N.low&M.low}s=r[0];var I=f[c];s.high^=I.high,s.low^=I.low}},_doFinalize:function(){var e=this._data,r=e.words,n=(this._nDataBytes,8*e.sigBytes),o=32*this.blockSize;r[n>>>5]|=1<<24-n%32,r[(t.ceil((n+1)/o)*o>>>5)-1]|=128,e.sigBytes=4*r.length,this._process();for(var a=this._state,s=this.cfg.outputLength/8,c=s/8,u=[],l=0;l>>24)|4278255360&(d<<24|d>>>8),h=16711935&(h<<8|h>>>24)|4278255360&(h<<24|h>>>8),u.push(h),u.push(d)}return new i.init(u,s)},clone:function(){for(var e=o.clone.call(this),t=e._state=this._state.slice(0),r=0;r<25;r++)t[r]=t[r].clone();return e}});r.SHA3=o._createHelper(h),r.HmacSHA3=o._createHmacHelper(h)}(Math),e.SHA3}))},e683:function(e,t,r){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},e6b4:function(e,t,r){"use strict";var n;r.d(t,"b",(function(){return i})),r.d(t,"c",(function(){return o})),r.d(t,"a",(function(){return n}));var i=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("el-dialog",{staticClass:"insert__dialog",attrs:{title:"插入表格",visible:e.value,border:!0},on:{close:function(t){arguments[0]=t=e.$handleEvent(t),e.$emit("input",!1)}}},[r("el-row",{staticClass:"tb-options",attrs:{type:"flex",align:"middle",gutter:10}},[r("el-col",[e._v("行数:"),r("el-input-number",{attrs:{"controls-position":"right",min:1,max:100,size:"small"},model:{value:e.rowNum,callback:function(t){e.rowNum=t},expression:"rowNum"}})],1),r("el-col",[e._v("列数:"),r("el-input-number",{attrs:{"controls-position":"right",min:1,max:100,size:"small"},model:{value:e.colNum,callback:function(t){e.colNum=t},expression:"colNum"}})],1)],1),r("table",{staticClass:"input-table",staticStyle:{"border-collapse":"collapse"}},e._l(e.rowNum+1,(function(t){return r("tr",{key:t,class:{"head-style":1===t}},e._l(e.colNum,(function(n){return r("td",{key:n},[r("el-input",{attrs:{align:"center",placeholder:1===t?"表头":""},model:{value:e.tableData["k_"+(t-1)+"_"+(n-1)],callback:function(r){e.$set(e.tableData,"k_"+(t-1)+"_"+(n-1),r)},expression:"tableData[`k_${row - 1}_${col - 1}`]"}})],1)})),0)})),0),r("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[r("el-button",{attrs:{type:e.btnType,plain:!0},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.$emit("input",!1)}}},[e._v("取 消")]),r("el-button",{attrs:{type:e.btnType,plain:!0},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.insertTable.apply(void 0,arguments)}}},[e._v("确 定")])],1)],1)},o=[]},e753:function(e,t,r){"use strict";var n=r("fe3f"),i=r.n(n);i.a},e85f:function(e){e.exports=JSON.parse('{"aes-128-ecb":{"cipher":"AES","key":128,"iv":0,"mode":"ECB","type":"block"},"aes-192-ecb":{"cipher":"AES","key":192,"iv":0,"mode":"ECB","type":"block"},"aes-256-ecb":{"cipher":"AES","key":256,"iv":0,"mode":"ECB","type":"block"},"aes-128-cbc":{"cipher":"AES","key":128,"iv":16,"mode":"CBC","type":"block"},"aes-192-cbc":{"cipher":"AES","key":192,"iv":16,"mode":"CBC","type":"block"},"aes-256-cbc":{"cipher":"AES","key":256,"iv":16,"mode":"CBC","type":"block"},"aes128":{"cipher":"AES","key":128,"iv":16,"mode":"CBC","type":"block"},"aes192":{"cipher":"AES","key":192,"iv":16,"mode":"CBC","type":"block"},"aes256":{"cipher":"AES","key":256,"iv":16,"mode":"CBC","type":"block"},"aes-128-cfb":{"cipher":"AES","key":128,"iv":16,"mode":"CFB","type":"stream"},"aes-192-cfb":{"cipher":"AES","key":192,"iv":16,"mode":"CFB","type":"stream"},"aes-256-cfb":{"cipher":"AES","key":256,"iv":16,"mode":"CFB","type":"stream"},"aes-128-cfb8":{"cipher":"AES","key":128,"iv":16,"mode":"CFB8","type":"stream"},"aes-192-cfb8":{"cipher":"AES","key":192,"iv":16,"mode":"CFB8","type":"stream"},"aes-256-cfb8":{"cipher":"AES","key":256,"iv":16,"mode":"CFB8","type":"stream"},"aes-128-cfb1":{"cipher":"AES","key":128,"iv":16,"mode":"CFB1","type":"stream"},"aes-192-cfb1":{"cipher":"AES","key":192,"iv":16,"mode":"CFB1","type":"stream"},"aes-256-cfb1":{"cipher":"AES","key":256,"iv":16,"mode":"CFB1","type":"stream"},"aes-128-ofb":{"cipher":"AES","key":128,"iv":16,"mode":"OFB","type":"stream"},"aes-192-ofb":{"cipher":"AES","key":192,"iv":16,"mode":"OFB","type":"stream"},"aes-256-ofb":{"cipher":"AES","key":256,"iv":16,"mode":"OFB","type":"stream"},"aes-128-ctr":{"cipher":"AES","key":128,"iv":16,"mode":"CTR","type":"stream"},"aes-192-ctr":{"cipher":"AES","key":192,"iv":16,"mode":"CTR","type":"stream"},"aes-256-ctr":{"cipher":"AES","key":256,"iv":16,"mode":"CTR","type":"stream"},"aes-128-gcm":{"cipher":"AES","key":128,"iv":12,"mode":"GCM","type":"auth"},"aes-192-gcm":{"cipher":"AES","key":192,"iv":12,"mode":"GCM","type":"auth"},"aes-256-gcm":{"cipher":"AES","key":256,"iv":12,"mode":"GCM","type":"auth"}}')},ea3d:function(e,t,r){"use strict";var n=r("ce90"),i=r("0ac8"),o=r("a514"),a=r("5305"),s=a.TAG_NAMES,c=a.NAMESPACES,u=e.exports=function(e){this.tokenizer=e,this.namespaceStack=[],this.namespaceStackTop=-1,this._enterNamespace(c.HTML)};u.prototype.getNextToken=function(){var e=this.tokenizer.getNextToken();if(e.type===n.START_TAG_TOKEN)this._handleStartTagToken(e);else if(e.type===n.END_TAG_TOKEN)this._handleEndTagToken(e);else if(e.type===n.NULL_CHARACTER_TOKEN&&this.inForeignContent)e.type=n.CHARACTER_TOKEN,e.chars=o.REPLACEMENT_CHARACTER;else if(this.skipNextNewLine&&(e.type!==n.HIBERNATION_TOKEN&&(this.skipNextNewLine=!1),e.type===n.WHITESPACE_CHARACTER_TOKEN&&"\n"===e.chars[0])){if(1===e.chars.length)return this.getNextToken();e.chars=e.chars.substr(1)}return e},u.prototype._enterNamespace=function(e){this.namespaceStackTop++,this.namespaceStack.push(e),this.inForeignContent=e!==c.HTML,this.currentNamespace=e,this.tokenizer.allowCDATA=this.inForeignContent},u.prototype._leaveCurrentNamespace=function(){this.namespaceStackTop--,this.namespaceStack.pop(),this.currentNamespace=this.namespaceStack[this.namespaceStackTop],this.inForeignContent=this.currentNamespace!==c.HTML,this.tokenizer.allowCDATA=this.inForeignContent},u.prototype._ensureTokenizerMode=function(e){e===s.TEXTAREA||e===s.TITLE?this.tokenizer.state=n.MODE.RCDATA:e===s.PLAINTEXT?this.tokenizer.state=n.MODE.PLAINTEXT:e===s.SCRIPT?this.tokenizer.state=n.MODE.SCRIPT_DATA:e!==s.STYLE&&e!==s.IFRAME&&e!==s.XMP&&e!==s.NOEMBED&&e!==s.NOFRAMES&&e!==s.NOSCRIPT||(this.tokenizer.state=n.MODE.RAWTEXT)},u.prototype._handleStartTagToken=function(e){var t=e.tagName;if(t===s.SVG?this._enterNamespace(c.SVG):t===s.MATH&&this._enterNamespace(c.MATHML),this.inForeignContent){if(i.causesExit(e))return void this._leaveCurrentNamespace();var r=this.currentNamespace;r===c.MATHML?i.adjustTokenMathMLAttrs(e):r===c.SVG&&(i.adjustTokenSVGTagName(e),i.adjustTokenSVGAttrs(e)),i.adjustTokenXMLAttrs(e),t=e.tagName,!e.selfClosing&&i.isIntegrationPoint(t,r,e.attrs)&&this._enterNamespace(c.HTML)}else t===s.PRE||t===s.TEXTAREA||t===s.LISTING?this.skipNextNewLine=!0:t===s.IMAGE&&(e.tagName=s.IMG),this._ensureTokenizerMode(t)},u.prototype._handleEndTagToken=function(e){var t=e.tagName;if(this.inForeignContent)(t===s.SVG&&this.currentNamespace===c.SVG||t===s.MATH&&this.currentNamespace===c.MATHML)&&this._leaveCurrentNamespace();else{var r=this.namespaceStack[this.namespaceStackTop-1];r===c.SVG&&i.SVG_TAG_NAMES_ADJUSTMENT_MAP[t]&&(t=i.SVG_TAG_NAMES_ADJUSTMENT_MAP[t]),i.isIntegrationPoint(t,r,e.attrs)&&this._leaveCurrentNamespace()}this.currentNamespace===c.SVG&&i.adjustTokenSVGTagName(e)}},ea53:function(e,t,r){"use strict";var n=r("399f"),i=r("f3a3"),o=i.getNAF,a=i.getJSF,s=i.assert;function c(e,t){this.type=e,this.p=new n(t.p,16),this.red=t.prime?n.red(t.prime):n.mont(this.p),this.zero=new n(0).toRed(this.red),this.one=new n(1).toRed(this.red),this.two=new n(2).toRed(this.red),this.n=t.n&&new n(t.n,16),this.g=t.g&&this.pointFromJSON(t.g,t.gRed),this._wnafT1=new Array(4),this._wnafT2=new Array(4),this._wnafT3=new Array(4),this._wnafT4=new Array(4),this._bitLength=this.n?this.n.bitLength():0;var r=this.n&&this.p.div(this.n);!r||r.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}function u(e,t){this.curve=e,this.type=t,this.precomputed=null}e.exports=c,c.prototype.point=function(){throw new Error("Not implemented")},c.prototype.validate=function(){throw new Error("Not implemented")},c.prototype._fixedNafMul=function(e,t){s(e.precomputed);var r=e._getDoubles(),n=o(t,1,this._bitLength),i=(1<=a;l--)c=(c<<1)+n[l];u.push(c)}for(var f=this.jpoint(null,null,null),d=this.jpoint(null,null,null),h=i;h>0;h--){for(a=0;a=0;u--){for(var l=0;u>=0&&0===a[u];u--)l++;if(u>=0&&l++,c=c.dblp(l),u<0)break;var f=a[u];s(0!==f),c="affine"===e.type?f>0?c.mixedAdd(i[f-1>>1]):c.mixedAdd(i[-f-1>>1].neg()):f>0?c.add(i[f-1>>1]):c.add(i[-f-1>>1].neg())}return"affine"===e.type?c.toP():c},c.prototype._wnafMulAdd=function(e,t,r,n,i){var s,c,u,l=this._wnafT1,f=this._wnafT2,d=this._wnafT3,h=0;for(s=0;s=1;s-=2){var m=s-1,b=s;if(1===l[m]&&1===l[b]){var g=[t[m],null,null,t[b]];0===t[m].y.cmp(t[b].y)?(g[1]=t[m].add(t[b]),g[2]=t[m].toJ().mixedAdd(t[b].neg())):0===t[m].y.cmp(t[b].y.redNeg())?(g[1]=t[m].toJ().mixedAdd(t[b]),g[2]=t[m].add(t[b].neg())):(g[1]=t[m].toJ().mixedAdd(t[b]),g[2]=t[m].toJ().mixedAdd(t[b].neg()));var y=[-3,-1,-5,-7,0,7,5,1,3],v=a(r[m],r[b]);for(h=Math.max(v[0].length,h),d[m]=new Array(h),d[b]=new Array(h),c=0;c=0;s--){var S=0;while(s>=0){var x=!0;for(c=0;c=0&&S++,E=E.dblp(S),s<0)break;for(c=0;c0?u=f[c][A-1>>1]:A<0&&(u=f[c][-A-1>>1].neg()),E="affine"===u.type?E.mixedAdd(u):E.add(u))}}for(s=0;s=Math.ceil((e.bitLength()+1)/t.step)},u.prototype._getDoubles=function(e,t){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var r=[this],n=this,i=0;i=this._delta8){e=this.pending;var r=e.length%this._delta8;this.pending=e.slice(e.length-r,e.length),0===this.pending.length&&(this.pending=null),e=n.join32(e,0,e.length-r,this.endian);for(var i=0;i>>24&255,n[i++]=e>>>16&255,n[i++]=e>>>8&255,n[i++]=255&e}else for(n[i++]=255&e,n[i++]=e>>>8&255,n[i++]=e>>>16&255,n[i++]=e>>>24&255,n[i++]=0,n[i++]=0,n[i++]=0,n[i++]=0,o=8;o(i>>1)-1?(i>>1)-c:c,o.isubn(s)):s=0,n[a]=s,o.iushrn(1)}return n}function c(e,t){var r=[[],[]];e=e.clone(),t=t.clone();var n,i=0,o=0;while(e.cmpn(-i)>0||t.cmpn(-o)>0){var a,s,c=e.andln(3)+i&3,u=t.andln(3)+o&3;3===c&&(c=-1),3===u&&(u=-1),0===(1&c)?a=0:(n=e.andln(7)+i&7,a=3!==n&&5!==n||2!==u?c:-c),r[0].push(a),0===(1&u)?s=0:(n=t.andln(7)+o&7,s=3!==n&&5!==n||2!==c?u:-u),r[1].push(s),2*i===a+1&&(i=1-i),2*o===s+1&&(o=1-o),e.iushrn(1),t.iushrn(1)}return r}function u(e,t,r){var n="_"+t;e.prototype[t]=function(){return void 0!==this[n]?this[n]:this[n]=r.call(this)}}function l(e){return"string"===typeof e?n.toArray(e,"hex"):e}function f(e){return new i(e,"hex","le")}n.assert=o,n.toArray=a.toArray,n.zero2=a.zero2,n.toHex=a.toHex,n.encode=a.encode,n.getNAF=s,n.getJSF=c,n.cachedProperty=u,n.parseBytes=l,n.intFromLE=f},f460:function(e,t,r){var n=r("98e6"),i=r("8707").Buffer;function o(e){var t=i.allocUnsafe(4);return t.writeUInt32BE(e,0),t}e.exports=function(e,t){var r,a=i.alloc(0),s=0;while(a.length>>32-t}function u(e,t,r,n,i,o,a){return c(e+(t&r|~t&n)+i+o|0,a)+t|0}function l(e,t,r,n,i,o,a){return c(e+(t&n|r&~n)+i+o|0,a)+t|0}function f(e,t,r,n,i,o,a){return c(e+(t^r^n)+i+o|0,a)+t|0}function d(e,t,r,n,i,o,a){return c(e+(r^(t|~n))+i+o|0,a)+t|0}n(s,i),s.prototype._update=function(){for(var e=a,t=0;t<16;++t)e[t]=this._block.readInt32LE(4*t);var r=this._a,n=this._b,i=this._c,o=this._d;r=u(r,n,i,o,e[0],3614090360,7),o=u(o,r,n,i,e[1],3905402710,12),i=u(i,o,r,n,e[2],606105819,17),n=u(n,i,o,r,e[3],3250441966,22),r=u(r,n,i,o,e[4],4118548399,7),o=u(o,r,n,i,e[5],1200080426,12),i=u(i,o,r,n,e[6],2821735955,17),n=u(n,i,o,r,e[7],4249261313,22),r=u(r,n,i,o,e[8],1770035416,7),o=u(o,r,n,i,e[9],2336552879,12),i=u(i,o,r,n,e[10],4294925233,17),n=u(n,i,o,r,e[11],2304563134,22),r=u(r,n,i,o,e[12],1804603682,7),o=u(o,r,n,i,e[13],4254626195,12),i=u(i,o,r,n,e[14],2792965006,17),n=u(n,i,o,r,e[15],1236535329,22),r=l(r,n,i,o,e[1],4129170786,5),o=l(o,r,n,i,e[6],3225465664,9),i=l(i,o,r,n,e[11],643717713,14),n=l(n,i,o,r,e[0],3921069994,20),r=l(r,n,i,o,e[5],3593408605,5),o=l(o,r,n,i,e[10],38016083,9),i=l(i,o,r,n,e[15],3634488961,14),n=l(n,i,o,r,e[4],3889429448,20),r=l(r,n,i,o,e[9],568446438,5),o=l(o,r,n,i,e[14],3275163606,9),i=l(i,o,r,n,e[3],4107603335,14),n=l(n,i,o,r,e[8],1163531501,20),r=l(r,n,i,o,e[13],2850285829,5),o=l(o,r,n,i,e[2],4243563512,9),i=l(i,o,r,n,e[7],1735328473,14),n=l(n,i,o,r,e[12],2368359562,20),r=f(r,n,i,o,e[5],4294588738,4),o=f(o,r,n,i,e[8],2272392833,11),i=f(i,o,r,n,e[11],1839030562,16),n=f(n,i,o,r,e[14],4259657740,23),r=f(r,n,i,o,e[1],2763975236,4),o=f(o,r,n,i,e[4],1272893353,11),i=f(i,o,r,n,e[7],4139469664,16),n=f(n,i,o,r,e[10],3200236656,23),r=f(r,n,i,o,e[13],681279174,4),o=f(o,r,n,i,e[0],3936430074,11),i=f(i,o,r,n,e[3],3572445317,16),n=f(n,i,o,r,e[6],76029189,23),r=f(r,n,i,o,e[9],3654602809,4),o=f(o,r,n,i,e[12],3873151461,11),i=f(i,o,r,n,e[15],530742520,16),n=f(n,i,o,r,e[2],3299628645,23),r=d(r,n,i,o,e[0],4096336452,6),o=d(o,r,n,i,e[7],1126891415,10),i=d(i,o,r,n,e[14],2878612391,15),n=d(n,i,o,r,e[5],4237533241,21),r=d(r,n,i,o,e[12],1700485571,6),o=d(o,r,n,i,e[3],2399980690,10),i=d(i,o,r,n,e[10],4293915773,15),n=d(n,i,o,r,e[1],2240044497,21),r=d(r,n,i,o,e[8],1873313359,6),o=d(o,r,n,i,e[15],4264355552,10),i=d(i,o,r,n,e[6],2734768916,15),n=d(n,i,o,r,e[13],1309151649,21),r=d(r,n,i,o,e[4],4149444226,6),o=d(o,r,n,i,e[11],3174756917,10),i=d(i,o,r,n,e[2],718787259,15),n=d(n,i,o,r,e[9],3951481745,21),this._a=this._a+r|0,this._b=this._b+n|0,this._c=this._c+i|0,this._d=this._d+o|0},s.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var e=o.allocUnsafe(16);return e.writeInt32LE(this._a,0),e.writeInt32LE(this._b,4),e.writeInt32LE(this._c,8),e.writeInt32LE(this._d,12),e},e.exports=s},f58c:function(e,t,r){"use strict";e.exports=function(e,t){return t=t||Object.create(null),[e,t].reduce((function(e,t){return Object.keys(t).forEach((function(r){e[r]=t[r]})),e}),Object.create(null))}},f5a0:function(e,t,r){"use strict";r.r(t);var n=r("8536"),i=r("9a9b");for(var o in i)["default"].indexOf(o)<0&&function(e){r.d(t,e,(function(){return i[e]}))}(o);r("3a4b");var a,s=r("f0c5"),c=Object(s["a"])(i["default"],n["b"],n["c"],!1,null,"bed265de",null,!1,n["a"],a);t["default"]=c.exports},f5f2:function(e){e.exports=JSON.parse('{"amp":"&","apos":"\'","gt":">","lt":"<","quot":"\\""}')},f67e:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.uniqueSort=t.compareDocumentPosition=t.removeSubsets=void 0;var n=r("312c");function i(e){var t=e.length;while(--t>=0){var r=e[t];if(t>0&&e.lastIndexOf(r,t-1)>=0)e.splice(t,1);else for(var n=r.parent;n;n=n.parent)if(e.includes(n)){e.splice(t,1);break}}return e}function o(e,t){var r=[],i=[];if(e===t)return 0;var o=n.hasChildren(e)?e:e.parent;while(o)r.unshift(o),o=o.parent;o=n.hasChildren(t)?t:t.parent;while(o)i.unshift(o),o=o.parent;var a=Math.min(r.length,i.length),s=0;while(su.indexOf(f)?c===t?20:4:c===e?10:2}function a(e){return e=e.filter((function(e,t,r){return!r.includes(e,t+1)})),e.sort((function(e,t){var r=o(e,t);return 2&r?-1:4&r?1:0})),e}t.removeSubsets=i,t.compareDocumentPosition=o,t.uniqueSort=a},f6ae:function(e,t,r){"use strict";var n=r("d485").Writable,i=r("3022").inherits,o=r("cd23"),a=e.exports=function(e){n.call(this),this.parser=new o(e),this.lastChunkWritten=!1,this.writeCallback=null,this.pausedByScript=!1,this.document=this.parser.treeAdapter.createDocument(),this.pendingHtmlInsertions=[],this._resume=this._resume.bind(this),this._documentWrite=this._documentWrite.bind(this),this._scriptHandler=this._scriptHandler.bind(this),this.parser._bootstrap(this.document,null)};i(a,n),a.prototype._write=function(e,t,r){this.writeCallback=r,this.parser.tokenizer.write(e.toString("utf8"),this.lastChunkWritten),this._runParsingLoop()},a.prototype.end=function(e,t,r){this.lastChunkWritten=!0,n.prototype.end.call(this,e||"",t,r)},a.prototype._runParsingLoop=function(){this.parser.runParsingLoopForCurrentChunk(this.writeCallback,this._scriptHandler)},a.prototype._resume=function(){if(!this.pausedByScript)throw new Error("Parser was already resumed");while(this.pendingHtmlInsertions.length){var e=this.pendingHtmlInsertions.pop();this.parser.tokenizer.insertHtmlAtCurrentPos(e)}this.pausedByScript=!1,this.parser.tokenizer.active&&this._runParsingLoop()},a.prototype._documentWrite=function(e){this.parser.stopped||this.pendingHtmlInsertions.push(e)},a.prototype._scriptHandler=function(e){this.listeners("script").length?(this.pausedByScript=!0,this.emit("script",e,this._documentWrite,this._resume)):this._runParsingLoop()}},f6b4:function(e,t,r){"use strict";var n=r("c532");function i(){this.handlers=[]}i.prototype.use=function(e,t){return this.handlers.push({fulfilled:e,rejected:t}),this.handlers.length-1},i.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},i.prototype.forEach=function(e){n.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=i},f6bd:function(e,t,r){"use strict";var n=r("d485").Writable,i=r("3022"),o=e.exports=function(){n.call(this)};i.inherits(o,n),o.prototype._write=function(e,t,r){r()}},f744:function(e,t,r){"use strict";r.r(t),r.d(t,"getHeadersForMkFile",(function(){return S})),r.d(t,"getHeadersForChunkUpload",(function(){return T})),r.d(t,"urlSafeBase64Encode",(function(){return c})),r.d(t,"urlSafeBase64Decode",(function(){return u})),r.d(t,"deleteUploadedChunks",(function(){return Y})),r.d(t,"getUploadUrl",(function(){return z})),r.d(t,"imageMogr2",(function(){return Be})),r.d(t,"watermark",(function(){return Ue})),r.d(t,"imageInfo",(function(){return He})),r.d(t,"exif",(function(){return Fe})),r.d(t,"pipeline",(function(){return qe})),r.d(t,"region",(function(){return B})),r.d(t,"upload",(function(){return ze})),r.d(t,"compressImage",(function(){return Pe}));var n=r("69a0"),i=r.n(n);function o(e){if(null===e||"undefined"===typeof e)return"";var t,r,n=e+"",i="",o=0;t=r=0,o=n.length;for(var a=0;a127&&s<2048)c=String.fromCharCode(s>>6|192,63&s|128);else if((63488&s^55296)>0)c=String.fromCharCode(s>>12|224,s>>6&63|128,63&s|128);else{if((64512&s^55296)>0)throw new RangeError("Unmatched trail surrogate at "+a);var u=n.charCodeAt(++a);if((64512&u^56320)>0)throw new RangeError("Unmatched lead surrogate at "+(a-1));s=((1023&s)<<10)+(1023&u)+65536,c=String.fromCharCode(s>>18|240,s>>12&63|128,s>>6&63|128,63&s|128)}null!==c&&(r>t&&(i+=n.slice(t,r)),i+=c,t=r=a+1)}return r>t&&(i+=n.slice(t,o)),i}function a(e){var t,r,n,i,a,s,c,u,l="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",f=0,d=0,h="",p=[];if(!e)return e;e=o(e+"");do{t=e.charCodeAt(f++),r=e.charCodeAt(f++),n=e.charCodeAt(f++),u=t<<16|r<<8|n,i=u>>18&63,a=u>>12&63,s=u>>6&63,c=63&u,p[d++]=l.charAt(i)+l.charAt(a)+l.charAt(s)+l.charAt(c)}while(f>16&255,r=c>>8&255,n=255&c,h[f++]=64===a?String.fromCharCode(t):64===s?String.fromCharCode(t,r):String.fromCharCode(t,r,n)}while(l0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]e.size)r=e.size;else while(e.size>1e4*r)r*=2;for(var n=[],i=Math.ceil(e.size/r),o=0;o3?t[1]:t[0],n=JSON.parse(u(t[t.length-1]));return{ak:r,bucket:n.scope.split(":")[0]}}function I(e){var t=window.URL||window.webkitURL||window.mozURL;return t.createObjectURL(e)}function R(e,t){var r=e.width,n=e.height;switch(t){case 1:return{width:r,height:n,matrix:[1,0,0,1,0,0]};case 2:return{width:r,height:n,matrix:[-1,0,0,1,r,0]};case 3:return{width:r,height:n,matrix:[-1,0,0,-1,r,n]};case 4:return{width:r,height:n,matrix:[1,0,0,-1,0,n]};case 5:return{width:n,height:r,matrix:[0,1,1,0,0,0]};case 6:return{width:n,height:r,matrix:[0,1,-1,0,n,0]};case 7:return{width:n,height:r,matrix:[0,-1,-1,0,n,r]};case 8:return{width:n,height:r,matrix:[0,-1,1,0,0,r]};default:throw new Error("orientation "+t+" is unavailable")}}var j,P=function(){function e(){}return e.prototype.log=function(e,t){var r=Object.values(e).join(",");this.send(r,t,0)},e.prototype.send=function(e,t,r){var n=this,i=x();i.open("POST","https://uplog.qbox.me/log/3"),i.setRequestHeader("Content-type","application/x-www-form-urlencoded"),i.setRequestHeader("Authorization","UpToken "+t),i.onreadystatechange=function(){4===i.readyState&&200!==i.status&&++r<=3&&n.send(e,t,r)},i.send(e)},e}(),D=P,L=function(){function e(e,t){this.runTask=e,this.limit=t,this.queue=[],this.processing=[]}return e.prototype.enqueue=function(e){var t=this;return new Promise((function(r,n){t.queue.push({task:e,resolve:r,reject:n}),t.check()}))},e.prototype.run=function(e){var t=this;this.queue=this.queue.filter((function(t){return t!==e})),this.processing.push(e),this.runTask(e.task).then((function(){t.processing=t.processing.filter((function(t){return t!==e})),e.resolve(),t.check()}),(function(t){return e.reject(t)}))},e.prototype.check=function(){var e=this,t=this.processing.length,r=this.limit-t;this.queue.slice(0,r).forEach((function(t){e.run(t)}))},e}(),B={z0:"z0",z1:"z1",z2:"z2",na0:"na0",as0:"as0"},U=(j={},j[B.z0]={srcUphost:"up.qiniup.com",cdnUphost:"upload.qiniup.com"},j[B.z1]={srcUphost:"up-z1.qiniup.com",cdnUphost:"upload-z1.qiniup.com"},j[B.z2]={srcUphost:"up-z2.qiniup.com",cdnUphost:"upload-z2.qiniup.com"},j[B.na0]={srcUphost:"up-na0.qiniup.com",cdnUphost:"upload-na0.qiniup.com"},j[B.as0]={srcUphost:"up-as0.qiniup.com",cdnUphost:"upload-as0.qiniup.com"},j),H=function(){return H=Object.assign||function(e){for(var t,r=1,n=arguments.length;r0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]1e4*ee)throw e=new Error("file size exceed maximum value 10000G"),this.onError(e),e;if(this.putExtra.customVars&&!b(this.putExtra.customVars))throw e=new Error("customVars key should start width x:"),this.onError(e),e;if(this.putExtra.metadata&&!m(this.putExtra.metadata))throw e=new Error("metadata key should start with x-qn-meta-"),this.onError(e),e;c.label=1;case 1:return c.trys.push([1,4,,5]),t=this,[4,z(this.config,this.token)];case 2:return t.uploadUrl=c.sent(),this.uploadAt=(new Date).getTime(),[4,this.run()];case 3:return r=c.sent(),this.onComplete(r.data),this.config.disableStatisticsReport||this.sendLog(r.reqId,200),[2,r];case 4:if(n=c.sent(),this.clear(),n.isRequestError&&!this.config.disableStatisticsReport&&(i=this.aborted?"":n.reqId,o=this.aborted?-2:n.code,this.sendLog(i,o)),a=n.isRequestError&&0===n.code&&!this.aborted,s=++this.retryCount<=this.config.retryCount,a&&s||612===n.code)return[2,this.putFile()];throw this.onError(n),n;case 5:return[2]}}))}))},e.prototype.clear=function(){this.xhrList.forEach((function(e){return e.abort()})),this.xhrList=[]},e.prototype.stop=function(){this.clear(),this.aborted=!0},e.prototype.addXhr=function(e){this.xhrList.push(e)},e.prototype.sendLog=function(e,t){this.statisticsLogger.log({code:t,reqId:e,host:N(this.uploadUrl),remoteIp:"",port:O(this.uploadUrl),duration:((new Date).getTime()-this.uploadAt)/1e3,time:Math.floor(this.uploadAt/1e3),bytesSent:this.progress?this.progress.total.loaded:0,upType:"jssdk-h5",size:this.file.size},this.token)},e.prototype.getProgressInfoItem=function(e,t){return{loaded:e,size:t,percent:e/t*100}},e}(),re=te,ne=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},e(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),ie=function(){return ie=Object.assign||function(e){for(var t,r=1,n=arguments.length;r0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]1024)throw new Error("chunkSize maximum value is 1024");return[4,this.initBeforeUploadChunks()];case 1:return i.sent(),e=new L((function(e){return n.uploadChunk(e)}),this.config.concurrentRequestLimit),t=this.chunks.map((function(t,r){return e.enqueue({chunk:t,index:r})})),r=Promise.all(t).then((function(){return n.mkFileReq()})),r.then((function(){_(n.getLocalKey())}),(function(e){612!==e.code&&400!==e.code||_(n.getLocalKey())})),[2,r]}}))}))},t.prototype.uploadChunk=function(e){return oe(this,void 0,void 0,(function(){var t,r,n,i,o,a,s,c,u,l=this;return ae(this,(function(f){switch(f.label){case 0:return t=e.index,r=e.chunk,n=this.uploadedList[t],i=this.config.checkByMD5,o=function(){l.updateChunkProgress(r.size,t)},n&&!i?(o(),[2]):[4,A(r)];case 1:return a=f.sent(),n&&a===n.md5?(o(),[2]):(s=function(e){l.updateChunkProgress(e.loaded,t)},c={body:r,onProgress:s,onCreate:function(e){return l.addXhr(e)}},[4,W(this.token,this.key,e.index+1,this.getUploadInfo(),c)]);case 2:return u=f.sent(),s({loaded:r.size,total:r.size}),this.uploadedList[t]={etag:u.data.etag,md5:u.data.md5,size:r.size},y(this.getLocalKey(),{id:this.uploadId,data:this.uploadedList}),[2]}}))}))},t.prototype.mkFileReq=function(){return oe(this,void 0,void 0,(function(){var e,t,r=this;return ae(this,(function(n){switch(n.label){case 0:return e=ie(ie(ie({parts:this.uploadedList.map((function(e,t){return{etag:e.etag,partNumber:t+1}})),fname:this.putExtra.fname},this.putExtra.mimeType&&{mimeType:this.putExtra.mimeType}),this.putExtra.customVars&&{customVars:this.putExtra.customVars}),this.putExtra.metadata&&{metadata:this.putExtra.metadata}),[4,X(this.token,this.key,this.getUploadInfo(),{onCreate:function(e){return r.addXhr(e)},body:JSON.stringify(e)})];case 1:return t=n.sent(),this.updateMkFileProgress(1),[2,t]}}))}))},t.prototype.initBeforeUploadChunks=function(){return oe(this,void 0,void 0,(function(){var e,t;return ae(this,(function(r){switch(r.label){case 0:return e=w(this.getLocalKey()),e?[3,2]:(_(this.getLocalKey()),[4,V(this.token,this.bucket,this.key,this.uploadUrl)]);case 1:return t=r.sent(),this.uploadId=t.data.uploadId,this.uploadedList=[],[3,3];case 2:this.uploadId=e.id,this.uploadedList=e.data,r.label=3;case 3:return this.chunks=p(this.file,this.config.chunkSize),this.loaded={mkFileProgress:0,chunks:this.chunks.map((function(e){return 0}))},this.notifyResumeProgress(),[2]}}))}))},t.prototype.getUploadInfo=function(){return{id:this.uploadId,url:this.uploadUrl}},t.prototype.getLocalKey=function(){return v(this.file.name,this.key,this.file.size)},t.prototype.updateChunkProgress=function(e,t){this.loaded.chunks[t]=e,this.notifyResumeProgress()},t.prototype.updateMkFileProgress=function(e){this.loaded.mkFileProgress=e,this.notifyResumeProgress()},t.prototype.notifyResumeProgress=function(){var e=this;this.progress={total:this.getProgressInfoItem(g(this.loaded.chunks)+this.loaded.mkFileProgress,this.file.size+1),chunks:this.chunks.map((function(t,r){return e.getProgressInfoItem(e.loaded.chunks[r],t.size)})),uploadInfo:{id:this.uploadId,url:this.uploadUrl}},this.onData(this.progress)},t}(re),ue=ce,le=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},e(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),fe=function(e,t,r,n){function i(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,o){function a(e){try{c(n.next(e))}catch(t){o(t)}}function s(e){try{c(n["throw"](e))}catch(t){o(t)}}function c(e){e.done?r(e.value):i(e.value).then(a,s)}c((n=n.apply(e,t||[])).next())}))},de=function(e,t){var r,n,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(e){return function(t){return c([e,t])}}function c(o){if(r)throw new TypeError("Generator is already executing.");while(a)try{if(r=1,n&&(i=2&o[0]?n["return"]:o[0]?n["throw"]||((i=n["return"])&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(i=a.trys,!(i=i.length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]4*h?new ue(e,t,r):new pe(e,t,r)}var be=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},e(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),ge=function(){return ge=Object.assign||function(e){for(var t,r=1,n=arguments.length;r0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0)&&!(n=o.next()).done)a.push(n.value)}catch(s){i={error:s}}finally{try{n&&!n.done&&(r=o["return"])&&r.call(o)}finally{if(i)throw i.error}}return a},Ae=function(){for(var e=[],t=0;tthis.file.size&&this.config.noCompressIfLarger?[2,{dist:this.file,width:e.width,height:e.height}]:[2,{dist:o,width:i.width,height:i.height}]}}))}))},e.prototype.clear=function(e,t,r){this.outputType===Me?(e.fillStyle="#fff",e.fillRect(0,0,t,r)):e.clearRect(0,0,t,r)},e.prototype.getOriginImage=function(){var e=this;return new Promise((function(t,r){var n=I(e.file),i=new Image;i.onload=function(){t(i)},i.onerror=function(){r("image load error")},i.src=n}))},e.prototype.getCanvas=function(e){var t=this;return new Promise((function(r,n){we["EXIF"].getData(e,(function(){var i=we["EXIF"].getTag(e,"Orientation")||1,o=R(e,i),a=o.width,s=o.height,c=o.matrix,u=document.createElement("canvas"),l=u.getContext("2d");u.width=a,u.height=s,l?(t.clear(l,a,s),l.transform.apply(l,Ae(c)),l.drawImage(e,0,0),r(u)):n(new Error("context is null"))}))}))},e.prototype.doScale=function(e,t){return Te(this,void 0,void 0,(function(){var r,n,i,o,a,s,c,u,l,f,d,h,p,m,b,g;return Se(this,(function(y){if(1===t)return[2,e];if(r=e.getContext("2d"),n=Math.min(Ce,Math.ceil(1/t/Oe)),i=Math.pow(t,1/n),o=document.createElement("canvas"),a=o.getContext("2d"),s=e.width,c=e.height,u=s,l=c,o.width=s,o.height=c,!a||!r)throw new Error("mctx or sctx can't be null");for(h=0;h0}))},t.first=function(){return this.length>1?this._make(this[0]):this},t.last=function(){return this.length>1?this._make(this[this.length-1]):this},t.eq=function(e){return e=+e,0===e&&this.length<=1?this:(e<0&&(e=this.length+e),this[e]?this._make(this[e]):this._make([]))},t.get=function(e){return null==e?Array.prototype.slice.call(this):this[e<0?this.length+e:e]},t.index=function(e){var t,r;return 0===arguments.length?(t=this.parent().children(),r=this[0]):"string"===typeof e?(t=this._make(e),r=this[0]):(t=this,r=e.cheerio?e[0]:e),t.get().indexOf(r)},t.slice=function(){return this._make([].slice.apply(this,arguments))},t.end=function(){return this.prevObject||this._make([])},t.add=function(e,t){for(var r=this._make(e,t),n=a(r.get().concat(this.get())),i=0;i!?|~^@]/,h=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/;function p(e){var t,r=!1,n=!1;while(null!=(t=e.next())){if(!r){if("/"==t&&!n)return;"["==t?n=!0:n&&"]"==t&&(n=!1)}r=!r&&"\\"==t}}function m(e,t,r){return n=e,i=r,t}function b(e,t){var r=e.next();if('"'==r||"'"==r)return t.tokenize=g(r),t.tokenize(e,t);if("."==r&&e.match(/^\d[\d_]*(?:[eE][+\-]?[\d_]+)?/))return m("number","number");if("."==r&&e.match(".."))return m("spread","meta");if(/[\[\]{}\(\),;\:\.]/.test(r))return m(r);if("="==r&&e.eat(">"))return m("=>","operator");if("0"==r&&e.match(/^(?:x[\dA-Fa-f_]+|o[0-7_]+|b[01_]+)n?/))return m("number","number");if(/\d/.test(r))return e.match(/^[\d_]*(?:n|(?:\.[\d_]*)?(?:[eE][+\-]?[\d_]+)?)?/),m("number","number");if("/"==r)return e.eat("*")?(t.tokenize=y,y(e,t)):e.eat("/")?(e.skipToEnd(),m("comment","comment")):tt(e,t,1)?(p(e),e.match(/^\b(([gimyus])(?![gimyus]*\2))+\b/),m("regexp","string-2")):(e.eat("="),m("operator","operator",e.current()));if("`"==r)return t.tokenize=v,v(e,t);if("#"==r&&"!"==e.peek())return e.skipToEnd(),m("meta","meta");if("#"==r&&e.eatWhile(l))return m("variable","property");if("<"==r&&e.match("!--")||"-"==r&&e.match("->")&&!/\S/.test(e.string.slice(0,e.start)))return e.skipToEnd(),m("comment","comment");if(d.test(r))return">"==r&&t.lexical&&">"==t.lexical.type||(e.eat("=")?"!"!=r&&"="!=r||e.eat("="):/[<>*+\-|&?]/.test(r)&&(e.eat(r),">"==r&&e.eat(r))),"?"==r&&e.eat(".")?m("."):m("operator","operator",e.current());if(l.test(r)){e.eatWhile(l);var n=e.current();if("."!=t.lastType){if(f.propertyIsEnumerable(n)){var i=f[n];return m(i.type,i.style,n)}if("async"==n&&e.match(/^(\s|\/\*([^*]|\*(?!\/))*?\*\/)*[\[\(\w]/,!1))return m("async","keyword",n)}return m("variable","variable",n)}}function g(e){return function(t,r){var n,i=!1;if(s&&"@"==t.peek()&&t.match(h))return r.tokenize=b,m("jsonld-keyword","meta");while(null!=(n=t.next())){if(n==e&&!i)break;i=!i&&"\\"==n}return i||(r.tokenize=b),m("string","string")}}function y(e,t){var r,n=!1;while(r=e.next()){if("/"==r&&n){t.tokenize=b;break}n="*"==r}return m("comment","comment")}function v(e,t){var r,n=!1;while(null!=(r=e.next())){if(!n&&("`"==r||"$"==r&&e.eat("{"))){t.tokenize=b;break}n=!n&&"\\"==r}return m("quasi","string-2",e.current())}var _="([{}])";function w(e,t){t.fatArrowAt&&(t.fatArrowAt=null);var r=e.string.indexOf("=>",e.start);if(!(r<0)){if(u){var n=/:\s*(?:\w+(?:<[^>]*>|\[\])?|\{[^}]*\})\s*$/.exec(e.string.slice(e.start,r));n&&(r=n.index)}for(var i=0,o=!1,a=r-1;a>=0;--a){var s=e.string.charAt(a),c=_.indexOf(s);if(c>=0&&c<3){if(!i){++a;break}if(0==--i){"("==s&&(o=!0);break}}else if(c>=3&&c<6)++i;else if(l.test(s))o=!0;else if(/["'\/`]/.test(s))for(;;--a){if(0==a)return;var f=e.string.charAt(a-1);if(f==s&&"\\"!=e.string.charAt(a-2)){a--;break}}else if(o&&!i){++a;break}}o&&!i&&(t.fatArrowAt=a)}}var E={atom:!0,number:!0,variable:!0,string:!0,regexp:!0,this:!0,"jsonld-keyword":!0};function T(e,t,r,n,i,o){this.indented=e,this.column=t,this.type=r,this.prev=i,this.info=o,null!=n&&(this.align=n)}function S(e,t){for(var r=e.localVars;r;r=r.next)if(r.name==t)return!0;for(var n=e.context;n;n=n.prev)for(r=n.vars;r;r=r.next)if(r.name==t)return!0}function x(e,t,r,n,i){var o=e.cc;A.state=e,A.stream=i,A.marked=null,A.cc=o,A.style=t,e.lexical.hasOwnProperty("align")||(e.lexical.align=!0);while(1){var a=o.length?o.pop():c?z:q;if(a(r,n)){while(o.length&&o[o.length-1].lex)o.pop()();return A.marked?A.marked:"variable"==r&&S(e,n)?"variable-2":t}}}var A={state:null,column:null,marked:null,cc:null};function k(){for(var e=arguments.length-1;e>=0;e--)A.cc.push(arguments[e])}function C(){return k.apply(null,arguments),!0}function O(e,t){for(var r=t;r;r=r.next)if(r.name==e)return!0;return!1}function N(e){var t=A.state;if(A.marked="def",t.context)if("var"==t.lexical.info&&t.context&&t.context.block){var n=M(e,t.context);if(null!=n)return void(t.context=n)}else if(!O(e,t.localVars))return void(t.localVars=new j(e,t.localVars));r.globalVars&&!O(e,t.globalVars)&&(t.globalVars=new j(e,t.globalVars))}function M(e,t){if(t){if(t.block){var r=M(e,t.prev);return r?r==t.prev?t:new R(r,t.vars,!0):null}return O(e,t.vars)?t:new R(t.prev,new j(e,t.vars),!1)}return null}function I(e){return"public"==e||"private"==e||"protected"==e||"abstract"==e||"readonly"==e}function R(e,t,r){this.prev=e,this.vars=t,this.block=r}function j(e,t){this.name=e,this.next=t}var P=new j("this",new j("arguments",null));function D(){A.state.context=new R(A.state.context,A.state.localVars,!1),A.state.localVars=P}function L(){A.state.context=new R(A.state.context,A.state.localVars,!0),A.state.localVars=null}function B(){A.state.localVars=A.state.context.vars,A.state.context=A.state.context.prev}function U(e,t){var r=function(){var r=A.state,n=r.indented;if("stat"==r.lexical.type)n=r.lexical.indented;else for(var i=r.lexical;i&&")"==i.type&&i.align;i=i.prev)n=i.indented;r.lexical=new T(n,A.stream.column(),e,null,r.lexical,t)};return r.lex=!0,r}function H(){var e=A.state;e.lexical.prev&&(")"==e.lexical.type&&(e.indented=e.lexical.indented),e.lexical=e.lexical.prev)}function F(e){function t(r){return r==e?C():";"==e||"}"==r||")"==r||"]"==r?k():C(t)}return t}function q(e,t){return"var"==e?C(U("vardef",t),xe,F(";"),H):"keyword a"==e?C(U("form"),V,q,H):"keyword b"==e?C(U("form"),q,H):"keyword d"==e?A.stream.match(/^\s*$/,!1)?C():C(U("stat"),X,F(";"),H):"debugger"==e?C(F(";")):"{"==e?C(U("}"),L,fe,H,B):";"==e?C():"if"==e?("else"==A.state.lexical.info&&A.state.cc[A.state.cc.length-1]==H&&A.state.cc.pop()(),C(U("form"),V,q,H,Me)):"function"==e?C(Pe):"for"==e?C(U("form"),Ie,q,H):"class"==e||u&&"interface"==t?(A.marked="keyword",C(U("form","class"==e?e:t),He,H)):"variable"==e?u&&"declare"==t?(A.marked="keyword",C(q)):u&&("module"==t||"enum"==t||"type"==t)&&A.stream.match(/^\s*\w/,!1)?(A.marked="keyword","enum"==t?C(Je):"type"==t?C(Le,F("operator"),be,F(";")):C(U("form"),Ae,F("{"),U("}"),fe,H,H)):u&&"namespace"==t?(A.marked="keyword",C(U("form"),z,q,H)):u&&"abstract"==t?(A.marked="keyword",C(q)):C(U("stat"),ie):"switch"==e?C(U("form"),V,F("{"),U("}","switch"),L,fe,H,H,B):"case"==e?C(z,F(":")):"default"==e?C(F(":")):"catch"==e?C(U("form"),D,G,q,H,B):"export"==e?C(U("stat"),ze,H):"import"==e?C(U("stat"),Ve,H):"async"==e?C(q):"@"==t?C(z,q):k(U("stat"),z,F(";"),H)}function G(e){if("("==e)return C(Be,F(")"))}function z(e,t){return W(e,t,!1)}function K(e,t){return W(e,t,!0)}function V(e){return"("!=e?k():C(U(")"),X,F(")"),H)}function W(e,t,r){if(A.state.fatArrowAt==A.stream.start){var n=r?ee:Z;if("("==e)return C(D,U(")"),ue(Be,")"),H,F("=>"),n,B);if("variable"==e)return k(D,Ae,F("=>"),n,B)}var i=r?Q:Y;return E.hasOwnProperty(e)?C(i):"function"==e?C(Pe,i):"class"==e||u&&"interface"==t?(A.marked="keyword",C(U("form"),Ue,H)):"keyword c"==e||"async"==e?C(r?K:z):"("==e?C(U(")"),X,F(")"),H,i):"operator"==e||"spread"==e?C(r?K:z):"["==e?C(U("]"),$e,H,i):"{"==e?le(ae,"}",null,i):"quasi"==e?k($,i):"new"==e?C(te(r)):"import"==e?C(z):C()}function X(e){return e.match(/[;\}\)\],]/)?k():k(z)}function Y(e,t){return","==e?C(X):Q(e,t,!1)}function Q(e,t,r){var n=0==r?Y:Q,i=0==r?z:K;return"=>"==e?C(D,r?ee:Z,B):"operator"==e?/\+\+|--/.test(t)||u&&"!"==t?C(n):u&&"<"==t&&A.stream.match(/^([^<>]|<[^<>]*>)*>\s*\(/,!1)?C(U(">"),ue(be,">"),H,n):"?"==t?C(z,F(":"),i):C(i):"quasi"==e?k($,n):";"!=e?"("==e?le(K,")","call",n):"."==e?C(oe,n):"["==e?C(U("]"),X,F("]"),H,n):u&&"as"==t?(A.marked="keyword",C(be,n)):"regexp"==e?(A.state.lastType=A.marked="operator",A.stream.backUp(A.stream.pos-A.stream.start-1),C(i)):void 0:void 0}function $(e,t){return"quasi"!=e?k():"${"!=t.slice(t.length-2)?C($):C(z,J)}function J(e){if("}"==e)return A.marked="string-2",A.state.tokenize=v,C($)}function Z(e){return w(A.stream,A.state),k("{"==e?q:z)}function ee(e){return w(A.stream,A.state),k("{"==e?q:K)}function te(e){return function(t){return"."==t?C(e?ne:re):"variable"==t&&u?C(Ee,e?Q:Y):k(e?K:z)}}function re(e,t){if("target"==t)return A.marked="keyword",C(Y)}function ne(e,t){if("target"==t)return A.marked="keyword",C(Q)}function ie(e){return":"==e?C(H,q):k(Y,F(";"),H)}function oe(e){if("variable"==e)return A.marked="property",C()}function ae(e,t){return"async"==e?(A.marked="property",C(ae)):"variable"==e||"keyword"==A.style?(A.marked="property","get"==t||"set"==t?C(se):(u&&A.state.fatArrowAt==A.stream.start&&(r=A.stream.match(/^\s*:\s*/,!1))&&(A.state.fatArrowAt=A.stream.pos+r[0].length),C(ce))):"number"==e||"string"==e?(A.marked=s?"property":A.style+" property",C(ce)):"jsonld-keyword"==e?C(ce):u&&I(t)?(A.marked="keyword",C(ae)):"["==e?C(z,de,F("]"),ce):"spread"==e?C(K,ce):"*"==t?(A.marked="keyword",C(ae)):":"==e?k(ce):void 0;var r}function se(e){return"variable"!=e?k(ce):(A.marked="property",C(Pe))}function ce(e){return":"==e?C(K):"("==e?k(Pe):void 0}function ue(e,t,r){function n(i,o){if(r?r.indexOf(i)>-1:","==i){var a=A.state.lexical;return"call"==a.info&&(a.pos=(a.pos||0)+1),C((function(r,n){return r==t||n==t?k():k(e)}),n)}return i==t||o==t?C():r&&r.indexOf(";")>-1?k(e):C(F(t))}return function(r,i){return r==t||i==t?C():k(e,n)}}function le(e,t,r){for(var n=3;n"),be):void 0}function ge(e){if("=>"==e)return C(be)}function ye(e){return e.match(/[\}\)\]]/)?C():","==e||";"==e?C(ye):k(ve,ye)}function ve(e,t){return"variable"==e||"keyword"==A.style?(A.marked="property",C(ve)):"?"==t||"number"==e||"string"==e?C(ve):":"==e?C(be):"["==e?C(F("variable"),he,F("]"),ve):"("==e?k(De,ve):e.match(/[;\}\)\],]/)?void 0:C()}function _e(e,t){return"variable"==e&&A.stream.match(/^\s*[?:]/,!1)||"?"==t?C(_e):":"==e?C(be):"spread"==e?C(_e):k(be)}function we(e,t){return"<"==t?C(U(">"),ue(be,">"),H,we):"|"==t||"."==e||"&"==t?C(be):"["==e?C(be,F("]"),we):"extends"==t||"implements"==t?(A.marked="keyword",C(be)):"?"==t?C(be,F(":"),be):void 0}function Ee(e,t){if("<"==t)return C(U(">"),ue(be,">"),H,we)}function Te(){return k(be,Se)}function Se(e,t){if("="==t)return C(be)}function xe(e,t){return"enum"==t?(A.marked="keyword",C(Je)):k(Ae,de,Oe,Ne)}function Ae(e,t){return u&&I(t)?(A.marked="keyword",C(Ae)):"variable"==e?(N(t),C()):"spread"==e?C(Ae):"["==e?le(Ce,"]"):"{"==e?le(ke,"}"):void 0}function ke(e,t){return"variable"!=e||A.stream.match(/^\s*:/,!1)?("variable"==e&&(A.marked="property"),"spread"==e?C(Ae):"}"==e?k():"["==e?C(z,F("]"),F(":"),ke):C(F(":"),Ae,Oe)):(N(t),C(Oe))}function Ce(){return k(Ae,Oe)}function Oe(e,t){if("="==t)return C(K)}function Ne(e){if(","==e)return C(xe)}function Me(e,t){if("keyword b"==e&&"else"==t)return C(U("form","else"),q,H)}function Ie(e,t){return"await"==t?C(Ie):"("==e?C(U(")"),Re,H):void 0}function Re(e){return"var"==e?C(xe,je):"variable"==e?C(je):k(je)}function je(e,t){return")"==e?C():";"==e?C(je):"in"==t||"of"==t?(A.marked="keyword",C(z,je)):k(z,je)}function Pe(e,t){return"*"==t?(A.marked="keyword",C(Pe)):"variable"==e?(N(t),C(Pe)):"("==e?C(D,U(")"),ue(Be,")"),H,pe,q,B):u&&"<"==t?C(U(">"),ue(Te,">"),H,Pe):void 0}function De(e,t){return"*"==t?(A.marked="keyword",C(De)):"variable"==e?(N(t),C(De)):"("==e?C(D,U(")"),ue(Be,")"),H,pe,B):u&&"<"==t?C(U(">"),ue(Te,">"),H,De):void 0}function Le(e,t){return"keyword"==e||"variable"==e?(A.marked="type",C(Le)):"<"==t?C(U(">"),ue(Te,">"),H):void 0}function Be(e,t){return"@"==t&&C(z,Be),"spread"==e?C(Be):u&&I(t)?(A.marked="keyword",C(Be)):u&&"this"==e?C(de,Oe):k(Ae,de,Oe)}function Ue(e,t){return"variable"==e?He(e,t):Fe(e,t)}function He(e,t){if("variable"==e)return N(t),C(Fe)}function Fe(e,t){return"<"==t?C(U(">"),ue(Te,">"),H,Fe):"extends"==t||"implements"==t||u&&","==e?("implements"==t&&(A.marked="keyword"),C(u?be:z,Fe)):"{"==e?C(U("}"),qe,H):void 0}function qe(e,t){return"async"==e||"variable"==e&&("static"==t||"get"==t||"set"==t||u&&I(t))&&A.stream.match(/^\s+[\w$\xa1-\uffff]/,!1)?(A.marked="keyword",C(qe)):"variable"==e||"keyword"==A.style?(A.marked="property",C(Ge,qe)):"number"==e||"string"==e?C(Ge,qe):"["==e?C(z,de,F("]"),Ge,qe):"*"==t?(A.marked="keyword",C(qe)):u&&"("==e?k(De,qe):";"==e||","==e?C(qe):"}"==e?C():"@"==t?C(z,qe):void 0}function Ge(e,t){if("?"==t)return C(Ge);if(":"==e)return C(be,Oe);if("="==t)return C(K);var r=A.state.lexical.prev,n=r&&"interface"==r.info;return k(n?De:Pe)}function ze(e,t){return"*"==t?(A.marked="keyword",C(Qe,F(";"))):"default"==t?(A.marked="keyword",C(z,F(";"))):"{"==e?C(ue(Ke,"}"),Qe,F(";")):k(q)}function Ke(e,t){return"as"==t?(A.marked="keyword",C(F("variable"))):"variable"==e?k(K,Ke):void 0}function Ve(e){return"string"==e?C():"("==e?k(z):k(We,Xe,Qe)}function We(e,t){return"{"==e?le(We,"}"):("variable"==e&&N(t),"*"==t&&(A.marked="keyword"),C(Ye))}function Xe(e){if(","==e)return C(We,Xe)}function Ye(e,t){if("as"==t)return A.marked="keyword",C(We)}function Qe(e,t){if("from"==t)return A.marked="keyword",C(z)}function $e(e){return"]"==e?C():k(ue(K,"]"))}function Je(){return k(U("form"),Ae,F("{"),U("}"),ue(Ze,"}"),H,H)}function Ze(){return k(Ae,Oe)}function et(e,t){return"operator"==e.lastType||","==e.lastType||d.test(t.charAt(0))||/[,.]/.test(t.charAt(0))}function tt(e,t,r){return t.tokenize==b&&/^(?:operator|sof|keyword [bcd]|case|new|export|default|spread|[\[{}\(,;:]|=>)$/.test(t.lastType)||"quasi"==t.lastType&&/\{\s*$/.test(e.string.slice(0,e.pos-(r||0)))}return B.lex=!0,H.lex=!0,{startState:function(e){var t={tokenize:b,lastType:"sof",cc:[],lexical:new T((e||0)-o,0,"block",!1),localVars:r.localVars,context:r.localVars&&new R(null,null,!1),indented:e||0};return r.globalVars&&"object"==typeof r.globalVars&&(t.globalVars=r.globalVars),t},token:function(e,t){if(e.sol()&&(t.lexical.hasOwnProperty("align")||(t.lexical.align=!1),t.indented=e.indentation(),w(e,t)),t.tokenize!=y&&e.eatSpace())return null;var r=t.tokenize(e,t);return"comment"==n?r:(t.lastType="operator"!=n||"++"!=i&&"--"!=i?n:"incdec",x(t,r,n,i,e))},indent:function(t,n){if(t.tokenize==y||t.tokenize==v)return e.Pass;if(t.tokenize!=b)return 0;var i,s=n&&n.charAt(0),c=t.lexical;if(!/^\s*else\b/.test(n))for(var u=t.cc.length-1;u>=0;--u){var l=t.cc[u];if(l==H)c=c.prev;else if(l!=Me)break}while(("stat"==c.type||"form"==c.type)&&("}"==s||(i=t.cc[t.cc.length-1])&&(i==Y||i==Q)&&!/^[,\.=+\-*:?[\(]/.test(n)))c=c.prev;a&&")"==c.type&&"stat"==c.prev.type&&(c=c.prev);var f=c.type,d=s==f;return"vardef"==f?c.indented+("operator"==t.lastType||","==t.lastType?c.info.length+1:0):"form"==f&&"{"==s?c.indented:"form"==f?c.indented+o:"stat"==f?c.indented+(et(t,n)?a||o:0):"switch"!=c.info||d||0==r.doubleIndentSwitch?c.align?c.column+(d?0:1):c.indented+(d?0:o):c.indented+(/^(?:case|default)\b/.test(n)?o:2*o)},electricInput:/^\s*(?:case .*?:|default:|\{|\})$/,blockCommentStart:c?null:"/*",blockCommentEnd:c?null:"*/",blockCommentContinue:c?null:" * ",lineComment:c?null:"//",fold:"brace",closeBrackets:"()[]{}''\"\"``",helperType:c?"json":"javascript",jsonldMode:s,jsonMode:c,expressionAllowed:tt,skipExpression:function(e){var t=e.cc[e.cc.length-1];t!=z&&t!=K||e.cc.pop()}}})),e.registerHelper("wordChars","javascript",/[\w$]/),e.defineMIME("text/javascript","javascript"),e.defineMIME("text/ecmascript","javascript"),e.defineMIME("application/javascript","javascript"),e.defineMIME("application/x-javascript","javascript"),e.defineMIME("application/ecmascript","javascript"),e.defineMIME("application/json",{name:"javascript",json:!0}),e.defineMIME("application/x-json",{name:"javascript",json:!0}),e.defineMIME("application/manifest+json",{name:"javascript",json:!0}),e.defineMIME("application/ld+json",{name:"javascript",jsonld:!0}),e.defineMIME("text/typescript",{name:"javascript",typescript:!0}),e.defineMIME("application/typescript",{name:"javascript",typescript:!0})}))},faa1:function(e,t,r){"use strict";var n,i="object"===typeof Reflect?Reflect:null,o=i&&"function"===typeof i.apply?i.apply:function(e,t,r){return Function.prototype.apply.call(e,t,r)};function a(e){console&&console.warn&&console.warn(e)}n=i&&"function"===typeof i.ownKeys?i.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var s=Number.isNaN||function(e){return e!==e};function c(){c.init.call(this)}e.exports=c,e.exports.once=_,c.EventEmitter=c,c.prototype._events=void 0,c.prototype._eventsCount=0,c.prototype._maxListeners=void 0;var u=10;function l(e){if("function"!==typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function f(e){return void 0===e._maxListeners?c.defaultMaxListeners:e._maxListeners}function d(e,t,r,n){var i,o,s;if(l(r),o=e._events,void 0===o?(o=e._events=Object.create(null),e._eventsCount=0):(void 0!==o.newListener&&(e.emit("newListener",t,r.listener?r.listener:r),o=e._events),s=o[t]),void 0===s)s=o[t]=r,++e._eventsCount;else if("function"===typeof s?s=o[t]=n?[r,s]:[s,r]:n?s.unshift(r):s.push(r),i=f(e),i>0&&s.length>i&&!s.warned){s.warned=!0;var c=new Error("Possible EventEmitter memory leak detected. "+s.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");c.name="MaxListenersExceededWarning",c.emitter=e,c.type=t,c.count=s.length,a(c)}return e}function h(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function p(e,t,r){var n={fired:!1,wrapFn:void 0,target:e,type:t,listener:r},i=h.bind(n);return i.listener=r,n.wrapFn=i,i}function m(e,t,r){var n=e._events;if(void 0===n)return[];var i=n[t];return void 0===i?[]:"function"===typeof i?r?[i.listener||i]:[i]:r?v(i):g(i,i.length)}function b(e){var t=this._events;if(void 0!==t){var r=t[e];if("function"===typeof r)return 1;if(void 0!==r)return r.length}return 0}function g(e,t){for(var r=new Array(t),n=0;n0&&(a=t[0]),a instanceof Error)throw a;var s=new Error("Unhandled error."+(a?" ("+a.message+")":""));throw s.context=a,s}var c=i[e];if(void 0===c)return!1;if("function"===typeof c)o(c,this,t);else{var u=c.length,l=g(c,u);for(r=0;r=0;o--)if(r[o]===t||r[o].listener===t){a=r[o].listener,i=o;break}if(i<0)return this;0===i?r.shift():y(r,i),1===r.length&&(n[e]=r[0]),void 0!==n.removeListener&&this.emit("removeListener",e,a||t)}return this},c.prototype.off=c.prototype.removeListener,c.prototype.removeAllListeners=function(e){var t,r,n;if(r=this._events,void 0===r)return this;if(void 0===r.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==r[e]&&(0===--this._eventsCount?this._events=Object.create(null):delete r[e]),this;if(0===arguments.length){var i,o=Object.keys(r);for(n=0;n=0;n--)this.removeListener(e,t[n]);return this},c.prototype.listeners=function(e){return m(this,e,!0)},c.prototype.rawListeners=function(e){return m(this,e,!1)},c.listenerCount=function(e,t){return"function"===typeof e.listenerCount?e.listenerCount(t):b.call(e,t)},c.prototype.listenerCount=b,c.prototype.eventNames=function(){return this._eventsCount>0?n(this._events):[]}},fce4:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.compileGeneralSelector=void 0;var n=r("55da"),i=r("2e99");function o(e,t,r,o,a){var s=r.adapter,c=r.equals;switch(t.type){case"pseudo-element":throw new Error("Pseudo-elements are not supported by css-select");case"attribute":if(r.strict&&(t.ignoreCase||"not"===t.action))throw new Error("Unsupported attribute selector");return n.attributeRules[t.action](e,t,r);case"pseudo":return i.compilePseudoSelector(e,t,r,o,a);case"tag":return function(r){return s.getName(r)===t.name&&e(r)};case"descendant":if(!1===r.cacheResults||"undefined"===typeof WeakSet)return function(t){var r=t;while(r=s.getParent(r))if(s.isTag(r)&&e(r))return!0;return!1};var u=new WeakSet;return function(t){var r=t;while(r=s.getParent(r))if(!u.has(r)){if(s.isTag(r)&&e(r))return!0;u.add(r)}return!1};case"_flexibleDescendant":return function(t){var r=t;do{if(s.isTag(r)&&e(r))return!0}while(r=s.getParent(r));return!1};case"parent":if(r.strict)throw new Error("Parent selector isn't part of CSS3");return function(t){return s.getChildren(t).some((function(t){return s.isTag(t)&&e(t)}))};case"child":return function(t){var r=s.getParent(t);return!!r&&s.isTag(r)&&e(r)};case"sibling":return function(t){for(var r=s.getSiblings(t),n=0;n=r};var i=Math.abs(t),o=(r%i+i)%i;return t>1?function(e){return e>=r&&e%i===o}:function(e){return e<=r&&e%i===o}}t.compile=i}}]); \ No newline at end of file